OLD | NEW |
1 /* Copyright (c) 2014 The Chromium Authors. All rights reserved. | 1 /* Copyright (c) 2014 The Chromium Authors. All rights reserved. |
2 * Use of this source code is governed by a BSD-style license that can be | 2 * Use of this source code is governed by a BSD-style license that can be |
3 * found in the LICENSE file. | 3 * found in the LICENSE file. |
4 */ | 4 */ |
5 | 5 |
6 /* NOTE: this is auto-generated from IDL */ | 6 /* NOTE: this is auto-generated from IDL */ |
7 #include "ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.h" | 7 #include "ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.h" |
8 | 8 |
9 #include "ppapi/c/ppb.h" | 9 #include "ppapi/c/ppb.h" |
10 #include "ppapi/c/dev/ppb_audio_input_dev.h" | 10 #include "ppapi/c/dev/ppb_audio_input_dev.h" |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
90 ++s1; | 90 ++s1; |
91 ++s2; | 91 ++s2; |
92 } | 92 } |
93 return (int)(*s1) - (int)(*s2); | 93 return (int)(*s1) - (int)(*s2); |
94 } | 94 } |
95 | 95 |
96 /* BEGIN Declarations for all Wrapper Infos */ | 96 /* BEGIN Declarations for all Wrapper Infos */ |
97 | 97 |
98 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Compositor_0_1; | 98 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Compositor_0_1; |
99 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_CompositorLayer_0_1; | 99 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_CompositorLayer_0_1; |
| 100 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_CompositorLayer_0_2; |
100 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Console_1_0; | 101 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Console_1_0; |
101 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Core_1_0; | 102 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Core_1_0; |
102 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileIO_1_0; | 103 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileIO_1_0; |
103 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileIO_1_1; | 104 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileIO_1_1; |
104 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileMapping_0_1; | 105 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileMapping_0_1; |
105 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileRef_1_0; | 106 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileRef_1_0; |
106 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileRef_1_1; | 107 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileRef_1_1; |
107 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileRef_1_2; | 108 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileRef_1_2; |
108 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileSystem_1_0; | 109 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileSystem_1_0; |
109 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Graphics2D_1_0; | 110 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Graphics2D_1_0; |
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
289 return iface->SetSourceRect(layer, rect); | 290 return iface->SetSourceRect(layer, rect); |
290 } | 291 } |
291 | 292 |
292 static int32_t Pnacl_M37_PPB_CompositorLayer_SetPremultipliedAlpha(PP_Resource l
ayer, PP_Bool premult) { | 293 static int32_t Pnacl_M37_PPB_CompositorLayer_SetPremultipliedAlpha(PP_Resource l
ayer, PP_Bool premult) { |
293 const struct PPB_CompositorLayer_0_1 *iface = Pnacl_WrapperInfo_PPB_Compositor
Layer_0_1.real_iface; | 294 const struct PPB_CompositorLayer_0_1 *iface = Pnacl_WrapperInfo_PPB_Compositor
Layer_0_1.real_iface; |
294 return iface->SetPremultipliedAlpha(layer, premult); | 295 return iface->SetPremultipliedAlpha(layer, premult); |
295 } | 296 } |
296 | 297 |
297 /* End wrapper methods for PPB_CompositorLayer_0_1 */ | 298 /* End wrapper methods for PPB_CompositorLayer_0_1 */ |
298 | 299 |
| 300 /* Begin wrapper methods for PPB_CompositorLayer_0_2 */ |
| 301 |
| 302 static PP_Bool Pnacl_M38_PPB_CompositorLayer_IsCompositorLayer(PP_Resource resou
rce) { |
| 303 const struct PPB_CompositorLayer_0_2 *iface = Pnacl_WrapperInfo_PPB_Compositor
Layer_0_2.real_iface; |
| 304 return iface->IsCompositorLayer(resource); |
| 305 } |
| 306 |
| 307 static int32_t Pnacl_M38_PPB_CompositorLayer_SetColor(PP_Resource layer, float r
ed, float green, float blue, float alpha, const struct PP_Size* size) { |
| 308 const struct PPB_CompositorLayer_0_2 *iface = Pnacl_WrapperInfo_PPB_Compositor
Layer_0_2.real_iface; |
| 309 return iface->SetColor(layer, red, green, blue, alpha, size); |
| 310 } |
| 311 |
| 312 static int32_t Pnacl_M38_PPB_CompositorLayer_SetTexture(PP_Resource layer, PP_Re
source context, uint32_t target, uint32_t texture, const struct PP_Size* size, s
truct PP_CompletionCallback* cc) { |
| 313 const struct PPB_CompositorLayer_0_2 *iface = Pnacl_WrapperInfo_PPB_Compositor
Layer_0_2.real_iface; |
| 314 return iface->SetTexture(layer, context, target, texture, size, *cc); |
| 315 } |
| 316 |
| 317 static int32_t Pnacl_M38_PPB_CompositorLayer_SetImage(PP_Resource layer, PP_Reso
urce image_data, const struct PP_Size* size, struct PP_CompletionCallback* cc) { |
| 318 const struct PPB_CompositorLayer_0_2 *iface = Pnacl_WrapperInfo_PPB_Compositor
Layer_0_2.real_iface; |
| 319 return iface->SetImage(layer, image_data, size, *cc); |
| 320 } |
| 321 |
| 322 static int32_t Pnacl_M38_PPB_CompositorLayer_SetClipRect(PP_Resource layer, cons
t struct PP_Rect* rect) { |
| 323 const struct PPB_CompositorLayer_0_2 *iface = Pnacl_WrapperInfo_PPB_Compositor
Layer_0_2.real_iface; |
| 324 return iface->SetClipRect(layer, rect); |
| 325 } |
| 326 |
| 327 static int32_t Pnacl_M38_PPB_CompositorLayer_SetTransform(PP_Resource layer, con
st float matrix[16]) { |
| 328 const struct PPB_CompositorLayer_0_2 *iface = Pnacl_WrapperInfo_PPB_Compositor
Layer_0_2.real_iface; |
| 329 return iface->SetTransform(layer, matrix); |
| 330 } |
| 331 |
| 332 static int32_t Pnacl_M38_PPB_CompositorLayer_SetOpacity(PP_Resource layer, float
opacity) { |
| 333 const struct PPB_CompositorLayer_0_2 *iface = Pnacl_WrapperInfo_PPB_Compositor
Layer_0_2.real_iface; |
| 334 return iface->SetOpacity(layer, opacity); |
| 335 } |
| 336 |
| 337 static int32_t Pnacl_M38_PPB_CompositorLayer_SetBlendMode(PP_Resource layer, PP_
BlendMode mode) { |
| 338 const struct PPB_CompositorLayer_0_2 *iface = Pnacl_WrapperInfo_PPB_Compositor
Layer_0_2.real_iface; |
| 339 return iface->SetBlendMode(layer, mode); |
| 340 } |
| 341 |
| 342 static int32_t Pnacl_M38_PPB_CompositorLayer_SetSourceRect(PP_Resource layer, co
nst struct PP_FloatRect* rect) { |
| 343 const struct PPB_CompositorLayer_0_2 *iface = Pnacl_WrapperInfo_PPB_Compositor
Layer_0_2.real_iface; |
| 344 return iface->SetSourceRect(layer, rect); |
| 345 } |
| 346 |
| 347 static int32_t Pnacl_M38_PPB_CompositorLayer_SetPremultipliedAlpha(PP_Resource l
ayer, PP_Bool premult) { |
| 348 const struct PPB_CompositorLayer_0_2 *iface = Pnacl_WrapperInfo_PPB_Compositor
Layer_0_2.real_iface; |
| 349 return iface->SetPremultipliedAlpha(layer, premult); |
| 350 } |
| 351 |
| 352 /* End wrapper methods for PPB_CompositorLayer_0_2 */ |
| 353 |
299 /* Begin wrapper methods for PPB_Console_1_0 */ | 354 /* Begin wrapper methods for PPB_Console_1_0 */ |
300 | 355 |
301 static void Pnacl_M25_PPB_Console_Log(PP_Instance instance, PP_LogLevel level, s
truct PP_Var* value) { | 356 static void Pnacl_M25_PPB_Console_Log(PP_Instance instance, PP_LogLevel level, s
truct PP_Var* value) { |
302 const struct PPB_Console_1_0 *iface = Pnacl_WrapperInfo_PPB_Console_1_0.real_i
face; | 357 const struct PPB_Console_1_0 *iface = Pnacl_WrapperInfo_PPB_Console_1_0.real_i
face; |
303 iface->Log(instance, level, *value); | 358 iface->Log(instance, level, *value); |
304 } | 359 } |
305 | 360 |
306 static void Pnacl_M25_PPB_Console_LogWithSource(PP_Instance instance, PP_LogLeve
l level, struct PP_Var* source, struct PP_Var* value) { | 361 static void Pnacl_M25_PPB_Console_LogWithSource(PP_Instance instance, PP_LogLeve
l level, struct PP_Var* source, struct PP_Var* value) { |
307 const struct PPB_Console_1_0 *iface = Pnacl_WrapperInfo_PPB_Console_1_0.real_i
face; | 362 const struct PPB_Console_1_0 *iface = Pnacl_WrapperInfo_PPB_Console_1_0.real_i
face; |
308 iface->LogWithSource(instance, level, *source, *value); | 363 iface->LogWithSource(instance, level, *source, *value); |
(...skipping 4053 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4362 .SetTexture = (int32_t (*)(PP_Resource layer, PP_Resource context, uint32_t
texture, const struct PP_Size* size, struct PP_CompletionCallback cc))&Pnacl_M37
_PPB_CompositorLayer_SetTexture, | 4417 .SetTexture = (int32_t (*)(PP_Resource layer, PP_Resource context, uint32_t
texture, const struct PP_Size* size, struct PP_CompletionCallback cc))&Pnacl_M37
_PPB_CompositorLayer_SetTexture, |
4363 .SetImage = (int32_t (*)(PP_Resource layer, PP_Resource image_data, const st
ruct PP_Size* size, struct PP_CompletionCallback cc))&Pnacl_M37_PPB_CompositorLa
yer_SetImage, | 4418 .SetImage = (int32_t (*)(PP_Resource layer, PP_Resource image_data, const st
ruct PP_Size* size, struct PP_CompletionCallback cc))&Pnacl_M37_PPB_CompositorLa
yer_SetImage, |
4364 .SetClipRect = (int32_t (*)(PP_Resource layer, const struct PP_Rect* rect))&
Pnacl_M37_PPB_CompositorLayer_SetClipRect, | 4419 .SetClipRect = (int32_t (*)(PP_Resource layer, const struct PP_Rect* rect))&
Pnacl_M37_PPB_CompositorLayer_SetClipRect, |
4365 .SetTransform = (int32_t (*)(PP_Resource layer, const float matrix[16]))&Pna
cl_M37_PPB_CompositorLayer_SetTransform, | 4420 .SetTransform = (int32_t (*)(PP_Resource layer, const float matrix[16]))&Pna
cl_M37_PPB_CompositorLayer_SetTransform, |
4366 .SetOpacity = (int32_t (*)(PP_Resource layer, float opacity))&Pnacl_M37_PPB_
CompositorLayer_SetOpacity, | 4421 .SetOpacity = (int32_t (*)(PP_Resource layer, float opacity))&Pnacl_M37_PPB_
CompositorLayer_SetOpacity, |
4367 .SetBlendMode = (int32_t (*)(PP_Resource layer, PP_BlendMode mode))&Pnacl_M3
7_PPB_CompositorLayer_SetBlendMode, | 4422 .SetBlendMode = (int32_t (*)(PP_Resource layer, PP_BlendMode mode))&Pnacl_M3
7_PPB_CompositorLayer_SetBlendMode, |
4368 .SetSourceRect = (int32_t (*)(PP_Resource layer, const struct PP_FloatRect*
rect))&Pnacl_M37_PPB_CompositorLayer_SetSourceRect, | 4423 .SetSourceRect = (int32_t (*)(PP_Resource layer, const struct PP_FloatRect*
rect))&Pnacl_M37_PPB_CompositorLayer_SetSourceRect, |
4369 .SetPremultipliedAlpha = (int32_t (*)(PP_Resource layer, PP_Bool premult))&P
nacl_M37_PPB_CompositorLayer_SetPremultipliedAlpha | 4424 .SetPremultipliedAlpha = (int32_t (*)(PP_Resource layer, PP_Bool premult))&P
nacl_M37_PPB_CompositorLayer_SetPremultipliedAlpha |
4370 }; | 4425 }; |
4371 | 4426 |
| 4427 static const struct PPB_CompositorLayer_0_2 Pnacl_Wrappers_PPB_CompositorLayer_0
_2 = { |
| 4428 .IsCompositorLayer = (PP_Bool (*)(PP_Resource resource))&Pnacl_M38_PPB_Compo
sitorLayer_IsCompositorLayer, |
| 4429 .SetColor = (int32_t (*)(PP_Resource layer, float red, float green, float bl
ue, float alpha, const struct PP_Size* size))&Pnacl_M38_PPB_CompositorLayer_SetC
olor, |
| 4430 .SetTexture = (int32_t (*)(PP_Resource layer, PP_Resource context, uint32_t
target, uint32_t texture, const struct PP_Size* size, struct PP_CompletionCallba
ck cc))&Pnacl_M38_PPB_CompositorLayer_SetTexture, |
| 4431 .SetImage = (int32_t (*)(PP_Resource layer, PP_Resource image_data, const st
ruct PP_Size* size, struct PP_CompletionCallback cc))&Pnacl_M38_PPB_CompositorLa
yer_SetImage, |
| 4432 .SetClipRect = (int32_t (*)(PP_Resource layer, const struct PP_Rect* rect))&
Pnacl_M38_PPB_CompositorLayer_SetClipRect, |
| 4433 .SetTransform = (int32_t (*)(PP_Resource layer, const float matrix[16]))&Pna
cl_M38_PPB_CompositorLayer_SetTransform, |
| 4434 .SetOpacity = (int32_t (*)(PP_Resource layer, float opacity))&Pnacl_M38_PPB_
CompositorLayer_SetOpacity, |
| 4435 .SetBlendMode = (int32_t (*)(PP_Resource layer, PP_BlendMode mode))&Pnacl_M3
8_PPB_CompositorLayer_SetBlendMode, |
| 4436 .SetSourceRect = (int32_t (*)(PP_Resource layer, const struct PP_FloatRect*
rect))&Pnacl_M38_PPB_CompositorLayer_SetSourceRect, |
| 4437 .SetPremultipliedAlpha = (int32_t (*)(PP_Resource layer, PP_Bool premult))&P
nacl_M38_PPB_CompositorLayer_SetPremultipliedAlpha |
| 4438 }; |
| 4439 |
4372 static const struct PPB_Console_1_0 Pnacl_Wrappers_PPB_Console_1_0 = { | 4440 static const struct PPB_Console_1_0 Pnacl_Wrappers_PPB_Console_1_0 = { |
4373 .Log = (void (*)(PP_Instance instance, PP_LogLevel level, struct PP_Var valu
e))&Pnacl_M25_PPB_Console_Log, | 4441 .Log = (void (*)(PP_Instance instance, PP_LogLevel level, struct PP_Var valu
e))&Pnacl_M25_PPB_Console_Log, |
4374 .LogWithSource = (void (*)(PP_Instance instance, PP_LogLevel level, struct P
P_Var source, struct PP_Var value))&Pnacl_M25_PPB_Console_LogWithSource | 4442 .LogWithSource = (void (*)(PP_Instance instance, PP_LogLevel level, struct P
P_Var source, struct PP_Var value))&Pnacl_M25_PPB_Console_LogWithSource |
4375 }; | 4443 }; |
4376 | 4444 |
4377 static const struct PPB_Core_1_0 Pnacl_Wrappers_PPB_Core_1_0 = { | 4445 static const struct PPB_Core_1_0 Pnacl_Wrappers_PPB_Core_1_0 = { |
4378 .AddRefResource = (void (*)(PP_Resource resource))&Pnacl_M14_PPB_Core_AddRef
Resource, | 4446 .AddRefResource = (void (*)(PP_Resource resource))&Pnacl_M14_PPB_Core_AddRef
Resource, |
4379 .ReleaseResource = (void (*)(PP_Resource resource))&Pnacl_M14_PPB_Core_Relea
seResource, | 4447 .ReleaseResource = (void (*)(PP_Resource resource))&Pnacl_M14_PPB_Core_Relea
seResource, |
4380 .GetTime = (PP_Time (*)(void))&Pnacl_M14_PPB_Core_GetTime, | 4448 .GetTime = (PP_Time (*)(void))&Pnacl_M14_PPB_Core_GetTime, |
4381 .GetTimeTicks = (PP_TimeTicks (*)(void))&Pnacl_M14_PPB_Core_GetTimeTicks, | 4449 .GetTimeTicks = (PP_TimeTicks (*)(void))&Pnacl_M14_PPB_Core_GetTimeTicks, |
(...skipping 1114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5496 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_Compositor_0_1, | 5564 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_Compositor_0_1, |
5497 .real_iface = NULL | 5565 .real_iface = NULL |
5498 }; | 5566 }; |
5499 | 5567 |
5500 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_CompositorLayer_0_1 = { | 5568 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_CompositorLayer_0_1 = { |
5501 .iface_macro = PPB_COMPOSITORLAYER_INTERFACE_0_1, | 5569 .iface_macro = PPB_COMPOSITORLAYER_INTERFACE_0_1, |
5502 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_CompositorLayer_0_1, | 5570 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_CompositorLayer_0_1, |
5503 .real_iface = NULL | 5571 .real_iface = NULL |
5504 }; | 5572 }; |
5505 | 5573 |
| 5574 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_CompositorLayer_0_2 = { |
| 5575 .iface_macro = PPB_COMPOSITORLAYER_INTERFACE_0_2, |
| 5576 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_CompositorLayer_0_2, |
| 5577 .real_iface = NULL |
| 5578 }; |
| 5579 |
5506 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Console_1_0 = { | 5580 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Console_1_0 = { |
5507 .iface_macro = PPB_CONSOLE_INTERFACE_1_0, | 5581 .iface_macro = PPB_CONSOLE_INTERFACE_1_0, |
5508 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_Console_1_0, | 5582 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_Console_1_0, |
5509 .real_iface = NULL | 5583 .real_iface = NULL |
5510 }; | 5584 }; |
5511 | 5585 |
5512 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Core_1_0 = { | 5586 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Core_1_0 = { |
5513 .iface_macro = PPB_CORE_INTERFACE_1_0, | 5587 .iface_macro = PPB_CORE_INTERFACE_1_0, |
5514 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_Core_1_0, | 5588 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_Core_1_0, |
5515 .real_iface = NULL | 5589 .real_iface = NULL |
(...skipping 607 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6123 | 6197 |
6124 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Instance_Private_0_1 = { | 6198 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Instance_Private_0_1 = { |
6125 .iface_macro = PPP_INSTANCE_PRIVATE_INTERFACE_0_1, | 6199 .iface_macro = PPP_INSTANCE_PRIVATE_INTERFACE_0_1, |
6126 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPP_Instance_Private_0_1, | 6200 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPP_Instance_Private_0_1, |
6127 .real_iface = NULL | 6201 .real_iface = NULL |
6128 }; | 6202 }; |
6129 | 6203 |
6130 static struct __PnaclWrapperInfo *s_ppb_wrappers[] = { | 6204 static struct __PnaclWrapperInfo *s_ppb_wrappers[] = { |
6131 &Pnacl_WrapperInfo_PPB_Compositor_0_1, | 6205 &Pnacl_WrapperInfo_PPB_Compositor_0_1, |
6132 &Pnacl_WrapperInfo_PPB_CompositorLayer_0_1, | 6206 &Pnacl_WrapperInfo_PPB_CompositorLayer_0_1, |
| 6207 &Pnacl_WrapperInfo_PPB_CompositorLayer_0_2, |
6133 &Pnacl_WrapperInfo_PPB_Console_1_0, | 6208 &Pnacl_WrapperInfo_PPB_Console_1_0, |
6134 &Pnacl_WrapperInfo_PPB_Core_1_0, | 6209 &Pnacl_WrapperInfo_PPB_Core_1_0, |
6135 &Pnacl_WrapperInfo_PPB_FileIO_1_0, | 6210 &Pnacl_WrapperInfo_PPB_FileIO_1_0, |
6136 &Pnacl_WrapperInfo_PPB_FileIO_1_1, | 6211 &Pnacl_WrapperInfo_PPB_FileIO_1_1, |
6137 &Pnacl_WrapperInfo_PPB_FileMapping_0_1, | 6212 &Pnacl_WrapperInfo_PPB_FileMapping_0_1, |
6138 &Pnacl_WrapperInfo_PPB_FileRef_1_0, | 6213 &Pnacl_WrapperInfo_PPB_FileRef_1_0, |
6139 &Pnacl_WrapperInfo_PPB_FileRef_1_1, | 6214 &Pnacl_WrapperInfo_PPB_FileRef_1_1, |
6140 &Pnacl_WrapperInfo_PPB_FileRef_1_2, | 6215 &Pnacl_WrapperInfo_PPB_FileRef_1_2, |
6141 &Pnacl_WrapperInfo_PPB_FileSystem_1_0, | 6216 &Pnacl_WrapperInfo_PPB_FileSystem_1_0, |
6142 &Pnacl_WrapperInfo_PPB_Graphics2D_1_0, | 6217 &Pnacl_WrapperInfo_PPB_Graphics2D_1_0, |
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6302 | 6377 |
6303 /* Initialize the real_iface if it hasn't been. The wrapper depends on it. */ | 6378 /* Initialize the real_iface if it hasn't been. The wrapper depends on it. */ |
6304 if (wrapper->real_iface == NULL) { | 6379 if (wrapper->real_iface == NULL) { |
6305 const void *iface = (*__real_PPPGetInterface)(name); | 6380 const void *iface = (*__real_PPPGetInterface)(name); |
6306 if (NULL == iface) return NULL; | 6381 if (NULL == iface) return NULL; |
6307 wrapper->real_iface = iface; | 6382 wrapper->real_iface = iface; |
6308 } | 6383 } |
6309 | 6384 |
6310 return wrapper->wrapped_iface; | 6385 return wrapper->wrapped_iface; |
6311 } | 6386 } |
OLD | NEW |