OLD | NEW |
1 /* Copyright (c) 2015 The Chromium Authors. All rights reserved. | 1 /* Copyright (c) 2015 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" |
11 #include "ppapi/c/dev/ppb_device_ref_dev.h" | 11 #include "ppapi/c/dev/ppb_device_ref_dev.h" |
12 #include "ppapi/c/dev/ppb_file_chooser_dev.h" | 12 #include "ppapi/c/dev/ppb_file_chooser_dev.h" |
13 #include "ppapi/c/dev/ppb_font_dev.h" | 13 #include "ppapi/c/dev/ppb_font_dev.h" |
14 #include "ppapi/c/dev/ppb_ime_input_event_dev.h" | 14 #include "ppapi/c/dev/ppb_ime_input_event_dev.h" |
15 #include "ppapi/c/dev/ppb_printing_dev.h" | 15 #include "ppapi/c/dev/ppb_printing_dev.h" |
16 #include "ppapi/c/dev/ppb_truetype_font_dev.h" | 16 #include "ppapi/c/dev/ppb_truetype_font_dev.h" |
17 #include "ppapi/c/dev/ppb_url_util_dev.h" | 17 #include "ppapi/c/dev/ppb_url_util_dev.h" |
18 #include "ppapi/c/dev/ppb_video_capture_dev.h" | 18 #include "ppapi/c/dev/ppb_video_capture_dev.h" |
19 #include "ppapi/c/dev/ppb_video_decoder_dev.h" | 19 #include "ppapi/c/dev/ppb_video_decoder_dev.h" |
| 20 #include "ppapi/c/ppb_audio_encoder.h" |
20 #include "ppapi/c/ppb_compositor.h" | 21 #include "ppapi/c/ppb_compositor.h" |
21 #include "ppapi/c/ppb_compositor_layer.h" | 22 #include "ppapi/c/ppb_compositor_layer.h" |
22 #include "ppapi/c/ppb_console.h" | 23 #include "ppapi/c/ppb_console.h" |
23 #include "ppapi/c/ppb_core.h" | 24 #include "ppapi/c/ppb_core.h" |
24 #include "ppapi/c/ppb_file_io.h" | 25 #include "ppapi/c/ppb_file_io.h" |
25 #include "ppapi/c/ppb_file_ref.h" | 26 #include "ppapi/c/ppb_file_ref.h" |
26 #include "ppapi/c/ppb_file_system.h" | 27 #include "ppapi/c/ppb_file_system.h" |
27 #include "ppapi/c/ppb_graphics_2d.h" | 28 #include "ppapi/c/ppb_graphics_2d.h" |
28 #include "ppapi/c/ppb_graphics_3d.h" | 29 #include "ppapi/c/ppb_graphics_3d.h" |
29 #include "ppapi/c/ppb_host_resolver.h" | 30 #include "ppapi/c/ppb_host_resolver.h" |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
86 if (*s2 == 0) break; | 87 if (*s2 == 0) break; |
87 if (*s1 != *s2) break; | 88 if (*s1 != *s2) break; |
88 ++s1; | 89 ++s1; |
89 ++s2; | 90 ++s2; |
90 } | 91 } |
91 return (int)(*s1) - (int)(*s2); | 92 return (int)(*s1) - (int)(*s2); |
92 } | 93 } |
93 | 94 |
94 /* BEGIN Declarations for all Wrapper Infos */ | 95 /* BEGIN Declarations for all Wrapper Infos */ |
95 | 96 |
| 97 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_AudioEncoder_0_1; |
96 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Compositor_0_1; | 98 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Compositor_0_1; |
97 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_CompositorLayer_0_1; | 99 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_CompositorLayer_0_1; |
98 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_CompositorLayer_0_2; | 100 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_CompositorLayer_0_2; |
99 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Console_1_0; | 101 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Console_1_0; |
100 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Core_1_0; | 102 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Core_1_0; |
101 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileIO_1_0; | 103 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileIO_1_0; |
102 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileIO_1_1; | 104 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileIO_1_1; |
103 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileRef_1_0; | 105 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileRef_1_0; |
104 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileRef_1_1; | 106 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileRef_1_1; |
105 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileRef_1_2; | 107 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileRef_1_2; |
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
208 /* Not generating wrapper methods for PPB_Audio_1_0 */ | 210 /* Not generating wrapper methods for PPB_Audio_1_0 */ |
209 | 211 |
210 /* Not generating wrapper methods for PPB_Audio_1_1 */ | 212 /* Not generating wrapper methods for PPB_Audio_1_1 */ |
211 | 213 |
212 /* Not generating wrapper methods for PPB_AudioBuffer_0_1 */ | 214 /* Not generating wrapper methods for PPB_AudioBuffer_0_1 */ |
213 | 215 |
214 /* Not generating wrapper methods for PPB_AudioConfig_1_0 */ | 216 /* Not generating wrapper methods for PPB_AudioConfig_1_0 */ |
215 | 217 |
216 /* Not generating wrapper methods for PPB_AudioConfig_1_1 */ | 218 /* Not generating wrapper methods for PPB_AudioConfig_1_1 */ |
217 | 219 |
| 220 /* Begin wrapper methods for PPB_AudioEncoder_0_1 */ |
| 221 |
| 222 static PP_Resource Pnacl_M44_PPB_AudioEncoder_Create(PP_Instance instance) { |
| 223 const struct PPB_AudioEncoder_0_1 *iface = Pnacl_WrapperInfo_PPB_AudioEncoder_
0_1.real_iface; |
| 224 return iface->Create(instance); |
| 225 } |
| 226 |
| 227 static PP_Bool Pnacl_M44_PPB_AudioEncoder_IsAudioEncoder(PP_Resource resource) { |
| 228 const struct PPB_AudioEncoder_0_1 *iface = Pnacl_WrapperInfo_PPB_AudioEncoder_
0_1.real_iface; |
| 229 return iface->IsAudioEncoder(resource); |
| 230 } |
| 231 |
| 232 static int32_t Pnacl_M44_PPB_AudioEncoder_GetSupportedProfiles(PP_Resource audio
_encoder, struct PP_ArrayOutput* output, struct PP_CompletionCallback* callback)
{ |
| 233 const struct PPB_AudioEncoder_0_1 *iface = Pnacl_WrapperInfo_PPB_AudioEncoder_
0_1.real_iface; |
| 234 return iface->GetSupportedProfiles(audio_encoder, *output, *callback); |
| 235 } |
| 236 |
| 237 static int32_t Pnacl_M44_PPB_AudioEncoder_Initialize(PP_Resource audio_encoder,
uint32_t channels, PP_AudioBuffer_SampleRate input_sample_rate, PP_AudioBuffer_S
ampleSize input_sample_size, PP_AudioProfile output_profile, uint32_t initial_bi
trate, PP_HardwareAcceleration acceleration, struct PP_CompletionCallback* callb
ack) { |
| 238 const struct PPB_AudioEncoder_0_1 *iface = Pnacl_WrapperInfo_PPB_AudioEncoder_
0_1.real_iface; |
| 239 return iface->Initialize(audio_encoder, channels, input_sample_rate, input_sam
ple_size, output_profile, initial_bitrate, acceleration, *callback); |
| 240 } |
| 241 |
| 242 static int32_t Pnacl_M44_PPB_AudioEncoder_GetNumberOfSamples(PP_Resource audio_e
ncoder) { |
| 243 const struct PPB_AudioEncoder_0_1 *iface = Pnacl_WrapperInfo_PPB_AudioEncoder_
0_1.real_iface; |
| 244 return iface->GetNumberOfSamples(audio_encoder); |
| 245 } |
| 246 |
| 247 static int32_t Pnacl_M44_PPB_AudioEncoder_GetBuffer(PP_Resource audio_encoder, P
P_Resource* audio_buffer, struct PP_CompletionCallback* callback) { |
| 248 const struct PPB_AudioEncoder_0_1 *iface = Pnacl_WrapperInfo_PPB_AudioEncoder_
0_1.real_iface; |
| 249 return iface->GetBuffer(audio_encoder, audio_buffer, *callback); |
| 250 } |
| 251 |
| 252 static int32_t Pnacl_M44_PPB_AudioEncoder_Encode(PP_Resource audio_encoder, PP_R
esource audio_buffer, struct PP_CompletionCallback* callback) { |
| 253 const struct PPB_AudioEncoder_0_1 *iface = Pnacl_WrapperInfo_PPB_AudioEncoder_
0_1.real_iface; |
| 254 return iface->Encode(audio_encoder, audio_buffer, *callback); |
| 255 } |
| 256 |
| 257 static int32_t Pnacl_M44_PPB_AudioEncoder_GetBitstreamBuffer(PP_Resource audio_e
ncoder, struct PP_AudioBitstreamBuffer* bitstream_buffer, struct PP_CompletionCa
llback* callback) { |
| 258 const struct PPB_AudioEncoder_0_1 *iface = Pnacl_WrapperInfo_PPB_AudioEncoder_
0_1.real_iface; |
| 259 return iface->GetBitstreamBuffer(audio_encoder, bitstream_buffer, *callback); |
| 260 } |
| 261 |
| 262 static void Pnacl_M44_PPB_AudioEncoder_RecycleBitstreamBuffer(PP_Resource audio_
encoder, const struct PP_AudioBitstreamBuffer* bitstream_buffer) { |
| 263 const struct PPB_AudioEncoder_0_1 *iface = Pnacl_WrapperInfo_PPB_AudioEncoder_
0_1.real_iface; |
| 264 iface->RecycleBitstreamBuffer(audio_encoder, bitstream_buffer); |
| 265 } |
| 266 |
| 267 static void Pnacl_M44_PPB_AudioEncoder_RequestBitrateChange(PP_Resource audio_en
coder, uint32_t bitrate) { |
| 268 const struct PPB_AudioEncoder_0_1 *iface = Pnacl_WrapperInfo_PPB_AudioEncoder_
0_1.real_iface; |
| 269 iface->RequestBitrateChange(audio_encoder, bitrate); |
| 270 } |
| 271 |
| 272 static void Pnacl_M44_PPB_AudioEncoder_Close(PP_Resource audio_encoder) { |
| 273 const struct PPB_AudioEncoder_0_1 *iface = Pnacl_WrapperInfo_PPB_AudioEncoder_
0_1.real_iface; |
| 274 iface->Close(audio_encoder); |
| 275 } |
| 276 |
| 277 /* End wrapper methods for PPB_AudioEncoder_0_1 */ |
| 278 |
218 /* Begin wrapper methods for PPB_Compositor_0_1 */ | 279 /* Begin wrapper methods for PPB_Compositor_0_1 */ |
219 | 280 |
220 static PP_Bool Pnacl_M37_PPB_Compositor_IsCompositor(PP_Resource resource) { | 281 static PP_Bool Pnacl_M37_PPB_Compositor_IsCompositor(PP_Resource resource) { |
221 const struct PPB_Compositor_0_1 *iface = Pnacl_WrapperInfo_PPB_Compositor_0_1.
real_iface; | 282 const struct PPB_Compositor_0_1 *iface = Pnacl_WrapperInfo_PPB_Compositor_0_1.
real_iface; |
222 return iface->IsCompositor(resource); | 283 return iface->IsCompositor(resource); |
223 } | 284 } |
224 | 285 |
225 static PP_Resource Pnacl_M37_PPB_Compositor_Create(PP_Instance instance) { | 286 static PP_Resource Pnacl_M37_PPB_Compositor_Create(PP_Instance instance) { |
226 const struct PPB_Compositor_0_1 *iface = Pnacl_WrapperInfo_PPB_Compositor_0_1.
real_iface; | 287 const struct PPB_Compositor_0_1 *iface = Pnacl_WrapperInfo_PPB_Compositor_0_1.
real_iface; |
227 return iface->Create(instance); | 288 return iface->Create(instance); |
(...skipping 4335 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4563 /* Not generating wrapper interface for PPB_Audio_1_0 */ | 4624 /* Not generating wrapper interface for PPB_Audio_1_0 */ |
4564 | 4625 |
4565 /* Not generating wrapper interface for PPB_Audio_1_1 */ | 4626 /* Not generating wrapper interface for PPB_Audio_1_1 */ |
4566 | 4627 |
4567 /* Not generating wrapper interface for PPB_AudioBuffer_0_1 */ | 4628 /* Not generating wrapper interface for PPB_AudioBuffer_0_1 */ |
4568 | 4629 |
4569 /* Not generating wrapper interface for PPB_AudioConfig_1_0 */ | 4630 /* Not generating wrapper interface for PPB_AudioConfig_1_0 */ |
4570 | 4631 |
4571 /* Not generating wrapper interface for PPB_AudioConfig_1_1 */ | 4632 /* Not generating wrapper interface for PPB_AudioConfig_1_1 */ |
4572 | 4633 |
| 4634 static const struct PPB_AudioEncoder_0_1 Pnacl_Wrappers_PPB_AudioEncoder_0_1 = { |
| 4635 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M44_PPB_AudioEncoder
_Create, |
| 4636 .IsAudioEncoder = (PP_Bool (*)(PP_Resource resource))&Pnacl_M44_PPB_AudioEnc
oder_IsAudioEncoder, |
| 4637 .GetSupportedProfiles = (int32_t (*)(PP_Resource audio_encoder, struct PP_Ar
rayOutput output, struct PP_CompletionCallback callback))&Pnacl_M44_PPB_AudioEnc
oder_GetSupportedProfiles, |
| 4638 .Initialize = (int32_t (*)(PP_Resource audio_encoder, uint32_t channels, PP_
AudioBuffer_SampleRate input_sample_rate, PP_AudioBuffer_SampleSize input_sample
_size, PP_AudioProfile output_profile, uint32_t initial_bitrate, PP_HardwareAcce
leration acceleration, struct PP_CompletionCallback callback))&Pnacl_M44_PPB_Aud
ioEncoder_Initialize, |
| 4639 .GetNumberOfSamples = (int32_t (*)(PP_Resource audio_encoder))&Pnacl_M44_PPB
_AudioEncoder_GetNumberOfSamples, |
| 4640 .GetBuffer = (int32_t (*)(PP_Resource audio_encoder, PP_Resource* audio_buff
er, struct PP_CompletionCallback callback))&Pnacl_M44_PPB_AudioEncoder_GetBuffer
, |
| 4641 .Encode = (int32_t (*)(PP_Resource audio_encoder, PP_Resource audio_buffer,
struct PP_CompletionCallback callback))&Pnacl_M44_PPB_AudioEncoder_Encode, |
| 4642 .GetBitstreamBuffer = (int32_t (*)(PP_Resource audio_encoder, struct PP_Audi
oBitstreamBuffer* bitstream_buffer, struct PP_CompletionCallback callback))&Pnac
l_M44_PPB_AudioEncoder_GetBitstreamBuffer, |
| 4643 .RecycleBitstreamBuffer = (void (*)(PP_Resource audio_encoder, const struct
PP_AudioBitstreamBuffer* bitstream_buffer))&Pnacl_M44_PPB_AudioEncoder_RecycleBi
tstreamBuffer, |
| 4644 .RequestBitrateChange = (void (*)(PP_Resource audio_encoder, uint32_t bitrat
e))&Pnacl_M44_PPB_AudioEncoder_RequestBitrateChange, |
| 4645 .Close = (void (*)(PP_Resource audio_encoder))&Pnacl_M44_PPB_AudioEncoder_Cl
ose |
| 4646 }; |
| 4647 |
4573 static const struct PPB_Compositor_0_1 Pnacl_Wrappers_PPB_Compositor_0_1 = { | 4648 static const struct PPB_Compositor_0_1 Pnacl_Wrappers_PPB_Compositor_0_1 = { |
4574 .IsCompositor = (PP_Bool (*)(PP_Resource resource))&Pnacl_M37_PPB_Compositor
_IsCompositor, | 4649 .IsCompositor = (PP_Bool (*)(PP_Resource resource))&Pnacl_M37_PPB_Compositor
_IsCompositor, |
4575 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M37_PPB_Compositor_C
reate, | 4650 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M37_PPB_Compositor_C
reate, |
4576 .AddLayer = (PP_Resource (*)(PP_Resource compositor))&Pnacl_M37_PPB_Composit
or_AddLayer, | 4651 .AddLayer = (PP_Resource (*)(PP_Resource compositor))&Pnacl_M37_PPB_Composit
or_AddLayer, |
4577 .CommitLayers = (int32_t (*)(PP_Resource compositor, struct PP_CompletionCal
lback cc))&Pnacl_M37_PPB_Compositor_CommitLayers, | 4652 .CommitLayers = (int32_t (*)(PP_Resource compositor, struct PP_CompletionCal
lback cc))&Pnacl_M37_PPB_Compositor_CommitLayers, |
4578 .ResetLayers = (int32_t (*)(PP_Resource compositor))&Pnacl_M37_PPB_Composito
r_ResetLayers | 4653 .ResetLayers = (int32_t (*)(PP_Resource compositor))&Pnacl_M37_PPB_Composito
r_ResetLayers |
4579 }; | 4654 }; |
4580 | 4655 |
4581 static const struct PPB_CompositorLayer_0_1 Pnacl_Wrappers_PPB_CompositorLayer_0
_1 = { | 4656 static const struct PPB_CompositorLayer_0_1 Pnacl_Wrappers_PPB_CompositorLayer_0
_1 = { |
4582 .IsCompositorLayer = (PP_Bool (*)(PP_Resource resource))&Pnacl_M37_PPB_Compo
sitorLayer_IsCompositorLayer, | 4657 .IsCompositorLayer = (PP_Bool (*)(PP_Resource resource))&Pnacl_M37_PPB_Compo
sitorLayer_IsCompositorLayer, |
(...skipping 1179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5762 /* Not generating wrapper interface for PPP_Flash_BrowserOperations_1_2 */ | 5837 /* Not generating wrapper interface for PPP_Flash_BrowserOperations_1_2 */ |
5763 | 5838 |
5764 /* Not generating wrapper interface for PPP_Flash_BrowserOperations_1_3 */ | 5839 /* Not generating wrapper interface for PPP_Flash_BrowserOperations_1_3 */ |
5765 | 5840 |
5766 static const struct PPP_Instance_Private_0_1 Pnacl_Wrappers_PPP_Instance_Private
_0_1 = { | 5841 static const struct PPP_Instance_Private_0_1 Pnacl_Wrappers_PPP_Instance_Private
_0_1 = { |
5767 .GetInstanceObject = &Pnacl_M18_PPP_Instance_Private_GetInstanceObject | 5842 .GetInstanceObject = &Pnacl_M18_PPP_Instance_Private_GetInstanceObject |
5768 }; | 5843 }; |
5769 | 5844 |
5770 /* Not generating wrapper interface for PPP_PexeStreamHandler_1_0 */ | 5845 /* Not generating wrapper interface for PPP_PexeStreamHandler_1_0 */ |
5771 | 5846 |
| 5847 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_AudioEncoder_0_1 = { |
| 5848 .iface_macro = PPB_AUDIOENCODER_INTERFACE_0_1, |
| 5849 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_AudioEncoder_0_1, |
| 5850 .real_iface = NULL |
| 5851 }; |
| 5852 |
5772 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Compositor_0_1 = { | 5853 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Compositor_0_1 = { |
5773 .iface_macro = PPB_COMPOSITOR_INTERFACE_0_1, | 5854 .iface_macro = PPB_COMPOSITOR_INTERFACE_0_1, |
5774 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_Compositor_0_1, | 5855 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_Compositor_0_1, |
5775 .real_iface = NULL | 5856 .real_iface = NULL |
5776 }; | 5857 }; |
5777 | 5858 |
5778 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_CompositorLayer_0_1 = { | 5859 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_CompositorLayer_0_1 = { |
5779 .iface_macro = PPB_COMPOSITORLAYER_INTERFACE_0_1, | 5860 .iface_macro = PPB_COMPOSITORLAYER_INTERFACE_0_1, |
5780 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_CompositorLayer_0_1, | 5861 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_CompositorLayer_0_1, |
5781 .real_iface = NULL | 5862 .real_iface = NULL |
(...skipping 641 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6423 .real_iface = NULL | 6504 .real_iface = NULL |
6424 }; | 6505 }; |
6425 | 6506 |
6426 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Instance_Private_0_1 = { | 6507 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Instance_Private_0_1 = { |
6427 .iface_macro = PPP_INSTANCE_PRIVATE_INTERFACE_0_1, | 6508 .iface_macro = PPP_INSTANCE_PRIVATE_INTERFACE_0_1, |
6428 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPP_Instance_Private_0_1, | 6509 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPP_Instance_Private_0_1, |
6429 .real_iface = NULL | 6510 .real_iface = NULL |
6430 }; | 6511 }; |
6431 | 6512 |
6432 static struct __PnaclWrapperInfo *s_ppb_wrappers[] = { | 6513 static struct __PnaclWrapperInfo *s_ppb_wrappers[] = { |
| 6514 &Pnacl_WrapperInfo_PPB_AudioEncoder_0_1, |
6433 &Pnacl_WrapperInfo_PPB_Compositor_0_1, | 6515 &Pnacl_WrapperInfo_PPB_Compositor_0_1, |
6434 &Pnacl_WrapperInfo_PPB_CompositorLayer_0_1, | 6516 &Pnacl_WrapperInfo_PPB_CompositorLayer_0_1, |
6435 &Pnacl_WrapperInfo_PPB_CompositorLayer_0_2, | 6517 &Pnacl_WrapperInfo_PPB_CompositorLayer_0_2, |
6436 &Pnacl_WrapperInfo_PPB_Console_1_0, | 6518 &Pnacl_WrapperInfo_PPB_Console_1_0, |
6437 &Pnacl_WrapperInfo_PPB_Core_1_0, | 6519 &Pnacl_WrapperInfo_PPB_Core_1_0, |
6438 &Pnacl_WrapperInfo_PPB_FileIO_1_0, | 6520 &Pnacl_WrapperInfo_PPB_FileIO_1_0, |
6439 &Pnacl_WrapperInfo_PPB_FileIO_1_1, | 6521 &Pnacl_WrapperInfo_PPB_FileIO_1_1, |
6440 &Pnacl_WrapperInfo_PPB_FileRef_1_0, | 6522 &Pnacl_WrapperInfo_PPB_FileRef_1_0, |
6441 &Pnacl_WrapperInfo_PPB_FileRef_1_1, | 6523 &Pnacl_WrapperInfo_PPB_FileRef_1_1, |
6442 &Pnacl_WrapperInfo_PPB_FileRef_1_2, | 6524 &Pnacl_WrapperInfo_PPB_FileRef_1_2, |
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6608 | 6690 |
6609 /* Initialize the real_iface if it hasn't been. The wrapper depends on it. */ | 6691 /* Initialize the real_iface if it hasn't been. The wrapper depends on it. */ |
6610 if (wrapper->real_iface == NULL) { | 6692 if (wrapper->real_iface == NULL) { |
6611 const void *iface = (*__real_PPPGetInterface)(name); | 6693 const void *iface = (*__real_PPPGetInterface)(name); |
6612 if (NULL == iface) return NULL; | 6694 if (NULL == iface) return NULL; |
6613 wrapper->real_iface = iface; | 6695 wrapper->real_iface = iface; |
6614 } | 6696 } |
6615 | 6697 |
6616 return wrapper->wrapped_iface; | 6698 return wrapper->wrapped_iface; |
6617 } | 6699 } |
OLD | NEW |