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
3 * found in the LICENSE file.
6 /* NOTE: this is auto-generated from IDL */
7 #include "ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.h"
9 #include "ppapi/c/ppb.h"
10 #include "ppapi/c/dev/ppb_audio_input_dev.h"
11 #include "ppapi/c/dev/ppb_device_ref_dev.h"
12 #include "ppapi/c/dev/ppb_file_chooser_dev.h"
13 #include "ppapi/c/dev/ppb_font_dev.h"
14 #include "ppapi/c/dev/ppb_ime_input_event_dev.h"
15 #include "ppapi/c/dev/ppb_printing_dev.h"
16 #include "ppapi/c/dev/ppb_truetype_font_dev.h"
17 #include "ppapi/c/dev/ppb_url_util_dev.h"
18 #include "ppapi/c/dev/ppb_video_capture_dev.h"
19 #include "ppapi/c/dev/ppb_video_decoder_dev.h"
20 #include "ppapi/c/dev/ppp_selection_dev.h"
21 #include "ppapi/c/ppb_compositor.h"
22 #include "ppapi/c/ppb_compositor_layer.h"
23 #include "ppapi/c/ppb_console.h"
24 #include "ppapi/c/ppb_core.h"
25 #include "ppapi/c/ppb_file_io.h"
26 #include "ppapi/c/ppb_file_mapping.h"
27 #include "ppapi/c/ppb_file_ref.h"
28 #include "ppapi/c/ppb_file_system.h"
29 #include "ppapi/c/ppb_graphics_2d.h"
30 #include "ppapi/c/ppb_graphics_3d.h"
31 #include "ppapi/c/ppb_host_resolver.h"
32 #include "ppapi/c/ppb_input_event.h"
33 #include "ppapi/c/ppb_media_stream_audio_track.h"
34 #include "ppapi/c/ppb_media_stream_video_track.h"
35 #include "ppapi/c/ppb_message_loop.h"
36 #include "ppapi/c/ppb_messaging.h"
37 #include "ppapi/c/ppb_mouse_lock.h"
38 #include "ppapi/c/ppb_net_address.h"
39 #include "ppapi/c/ppb_network_list.h"
40 #include "ppapi/c/ppb_network_monitor.h"
41 #include "ppapi/c/ppb_network_proxy.h"
42 #include "ppapi/c/ppb_tcp_socket.h"
43 #include "ppapi/c/ppb_text_input_controller.h"
44 #include "ppapi/c/ppb_udp_socket.h"
45 #include "ppapi/c/ppb_url_loader.h"
46 #include "ppapi/c/ppb_url_request_info.h"
47 #include "ppapi/c/ppb_url_response_info.h"
48 #include "ppapi/c/ppb_var.h"
49 #include "ppapi/c/ppb_var_array.h"
50 #include "ppapi/c/ppb_var_array_buffer.h"
51 #include "ppapi/c/ppb_var_dictionary.h"
52 #include "ppapi/c/ppb_video_decoder.h"
53 #include "ppapi/c/ppb_websocket.h"
54 #include "ppapi/c/ppp_messaging.h"
55 #include "ppapi/c/private/ppb_content_decryptor_private.h"
56 #include "ppapi/c/private/ppb_display_color_profile_private.h"
57 #include "ppapi/c/private/ppb_ext_crx_file_system_private.h"
58 #include "ppapi/c/private/ppb_file_io_private.h"
59 #include "ppapi/c/private/ppb_file_ref_private.h"
60 #include "ppapi/c/private/ppb_flash.h"
61 #include "ppapi/c/private/ppb_flash_clipboard.h"
62 #include "ppapi/c/private/ppb_flash_device_id.h"
63 #include "ppapi/c/private/ppb_flash_drm.h"
64 #include "ppapi/c/private/ppb_flash_menu.h"
65 #include "ppapi/c/private/ppb_host_resolver_private.h"
66 #include "ppapi/c/private/ppb_instance_private.h"
67 #include "ppapi/c/private/ppb_isolated_file_system_private.h"
68 #include "ppapi/c/private/ppb_nacl_private.h"
69 #include "ppapi/c/private/ppb_net_address_private.h"
70 #include "ppapi/c/private/ppb_output_protection_private.h"
71 #include "ppapi/c/private/ppb_platform_verification_private.h"
72 #include "ppapi/c/private/ppb_talk_private.h"
73 #include "ppapi/c/private/ppb_tcp_server_socket_private.h"
74 #include "ppapi/c/private/ppb_tcp_socket_private.h"
75 #include "ppapi/c/private/ppb_testing_private.h"
76 #include "ppapi/c/private/ppb_udp_socket_private.h"
77 #include "ppapi/c/private/ppb_uma_private.h"
78 #include "ppapi/c/private/ppb_video_destination_private.h"
79 #include "ppapi/c/private/ppb_video_source_private.h"
80 #include "ppapi/c/private/ppb_x509_certificate_private.h"
81 #include "ppapi/c/private/ppp_content_decryptor_private.h"
82 #include "ppapi/c/private/ppp_instance_private.h"
84 /* Use local strcmp to avoid dependency on libc. */
85 static int mystrcmp(const char* s1
, const char *s2
) {
89 if (*s1
!= *s2
) break;
93 return (int)(*s1
) - (int)(*s2
);
96 /* BEGIN Declarations for all Wrapper Infos */
98 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Compositor_0_1
;
99 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_CompositorLayer_0_1
;
100 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_FileIO_1_0
;
103 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_FileRef_1_0
;
106 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_FileSystem_1_0
;
109 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Graphics2D_1_0
;
110 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Graphics2D_1_1
;
111 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Graphics3D_1_0
;
112 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_HostResolver_1_0
;
113 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MouseInputEvent_1_0
;
114 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MouseInputEvent_1_1
;
115 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_WheelInputEvent_1_0
;
116 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_KeyboardInputEvent_1_0
;
117 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_KeyboardInputEvent_1_2
;
118 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TouchInputEvent_1_0
;
119 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_IMEInputEvent_1_0
;
120 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MediaStreamAudioTrack_0_1
;
121 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MediaStreamVideoTrack_0_1
;
122 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MediaStreamVideoTrack_1_0
;
123 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MessageLoop_1_0
;
124 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Messaging_1_0
;
125 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Messaging_1_1
;
126 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MouseLock_1_0
;
127 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_NetAddress_1_0
;
128 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_NetworkList_1_0
;
129 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_NetworkMonitor_1_0
;
130 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_NetworkProxy_1_0
;
131 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TCPSocket_1_0
;
132 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TCPSocket_1_1
;
133 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TextInputController_1_0
;
134 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UDPSocket_1_0
;
135 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLLoader_1_0
;
136 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLRequestInfo_1_0
;
137 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLResponseInfo_1_0
;
138 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Var_1_0
;
139 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Var_1_1
;
140 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Var_1_2
;
141 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VarArray_1_0
;
142 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VarArrayBuffer_1_0
;
143 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VarDictionary_1_0
;
144 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoDecoder_0_1
;
145 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_WebSocket_1_0
;
146 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Messaging_1_0
;
147 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_3
;
148 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_4
;
149 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_DeviceRef_Dev_0_1
;
150 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_5
;
151 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_6
;
152 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Font_Dev_0_6
;
153 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_1
;
154 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_2
;
155 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Printing_Dev_0_7
;
156 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TrueTypeFont_Dev_0_1
;
157 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_6
;
158 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_7
;
159 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_3
;
160 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoDecoder_Dev_0_16
;
161 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Selection_Dev_0_3
;
162 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_ContentDecryptor_Private_0_12
;
163 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_DisplayColorProfile_Private_0_1
;
164 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Ext_CrxFileSystem_Private_0_1
;
165 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileIO_Private_0_1
;
166 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileRefPrivate_0_1
;
167 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_12_4
;
168 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_12_5
;
169 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_12_6
;
170 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_13_0
;
171 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_Clipboard_4_0
;
172 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_Clipboard_5_0
;
173 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_Clipboard_5_1
;
174 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_DeviceID_1_0
;
175 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_DRM_1_0
;
176 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_DRM_1_1
;
177 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_Menu_0_2
;
178 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_HostResolver_Private_0_1
;
179 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Instance_Private_0_1
;
180 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_IsolatedFileSystem_Private_0_2
;
181 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_NaCl_Private_1_0
;
182 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_NetAddress_Private_0_1
;
183 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_NetAddress_Private_1_0
;
184 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_NetAddress_Private_1_1
;
185 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_OutputProtection_Private_0_1
;
186 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_PlatformVerification_Private_0_2
;
187 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Talk_Private_1_0
;
188 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Talk_Private_2_0
;
189 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TCPServerSocket_Private_0_1
;
190 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TCPServerSocket_Private_0_2
;
191 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_3
;
192 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_4
;
193 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_5
;
194 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Testing_Private_1_0
;
195 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_2
;
196 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_3
;
197 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_4
;
198 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UMA_Private_0_3
;
199 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoDestination_Private_0_1
;
200 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoSource_Private_0_1
;
201 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_X509Certificate_Private_0_1
;
202 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_ContentDecryptor_Private_0_12
;
203 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Instance_Private_0_1
;
204 /* END Declarations for all Wrapper Infos. */
206 /* Not generating wrapper methods for PPB_Audio_1_0 */
208 /* Not generating wrapper methods for PPB_Audio_1_1 */
210 /* Not generating wrapper methods for PPB_AudioBuffer_0_1 */
212 /* Not generating wrapper methods for PPB_AudioConfig_1_0 */
214 /* Not generating wrapper methods for PPB_AudioConfig_1_1 */
216 /* Begin wrapper methods for PPB_Compositor_0_1 */
218 static PP_Bool
Pnacl_M37_PPB_Compositor_IsCompositor(PP_Resource resource
) {
219 const struct PPB_Compositor_0_1
*iface
= Pnacl_WrapperInfo_PPB_Compositor_0_1
.real_iface
;
220 return iface
->IsCompositor(resource
);
223 static PP_Resource
Pnacl_M37_PPB_Compositor_Create(PP_Instance instance
) {
224 const struct PPB_Compositor_0_1
*iface
= Pnacl_WrapperInfo_PPB_Compositor_0_1
.real_iface
;
225 return iface
->Create(instance
);
228 static PP_Resource
Pnacl_M37_PPB_Compositor_AddLayer(PP_Resource compositor
) {
229 const struct PPB_Compositor_0_1
*iface
= Pnacl_WrapperInfo_PPB_Compositor_0_1
.real_iface
;
230 return iface
->AddLayer(compositor
);
233 static int32_t Pnacl_M37_PPB_Compositor_CommitLayers(PP_Resource compositor
, struct PP_CompletionCallback
* cc
) {
234 const struct PPB_Compositor_0_1
*iface
= Pnacl_WrapperInfo_PPB_Compositor_0_1
.real_iface
;
235 return iface
->CommitLayers(compositor
, *cc
);
238 static int32_t Pnacl_M37_PPB_Compositor_ResetLayers(PP_Resource compositor
) {
239 const struct PPB_Compositor_0_1
*iface
= Pnacl_WrapperInfo_PPB_Compositor_0_1
.real_iface
;
240 return iface
->ResetLayers(compositor
);
243 /* End wrapper methods for PPB_Compositor_0_1 */
245 /* Begin wrapper methods for PPB_CompositorLayer_0_1 */
247 static PP_Bool
Pnacl_M37_PPB_CompositorLayer_IsCompositorLayer(PP_Resource resource
) {
248 const struct PPB_CompositorLayer_0_1
*iface
= Pnacl_WrapperInfo_PPB_CompositorLayer_0_1
.real_iface
;
249 return iface
->IsCompositorLayer(resource
);
252 static int32_t Pnacl_M37_PPB_CompositorLayer_SetColor(PP_Resource layer
, float red
, float green
, float blue
, float alpha
, const struct PP_Size
* size
) {
253 const struct PPB_CompositorLayer_0_1
*iface
= Pnacl_WrapperInfo_PPB_CompositorLayer_0_1
.real_iface
;
254 return iface
->SetColor(layer
, red
, green
, blue
, alpha
, size
);
257 static int32_t Pnacl_M37_PPB_CompositorLayer_SetTexture(PP_Resource layer
, PP_Resource context
, uint32_t texture
, const struct PP_Size
* size
, struct PP_CompletionCallback
* cc
) {
258 const struct PPB_CompositorLayer_0_1
*iface
= Pnacl_WrapperInfo_PPB_CompositorLayer_0_1
.real_iface
;
259 return iface
->SetTexture(layer
, context
, texture
, size
, *cc
);
262 static int32_t Pnacl_M37_PPB_CompositorLayer_SetImage(PP_Resource layer
, PP_Resource image_data
, const struct PP_Size
* size
, struct PP_CompletionCallback
* cc
) {
263 const struct PPB_CompositorLayer_0_1
*iface
= Pnacl_WrapperInfo_PPB_CompositorLayer_0_1
.real_iface
;
264 return iface
->SetImage(layer
, image_data
, size
, *cc
);
267 static int32_t Pnacl_M37_PPB_CompositorLayer_SetClipRect(PP_Resource layer
, const struct PP_Rect
* rect
) {
268 const struct PPB_CompositorLayer_0_1
*iface
= Pnacl_WrapperInfo_PPB_CompositorLayer_0_1
.real_iface
;
269 return iface
->SetClipRect(layer
, rect
);
272 static int32_t Pnacl_M37_PPB_CompositorLayer_SetTransform(PP_Resource layer
, const float matrix
[16]) {
273 const struct PPB_CompositorLayer_0_1
*iface
= Pnacl_WrapperInfo_PPB_CompositorLayer_0_1
.real_iface
;
274 return iface
->SetTransform(layer
, matrix
);
277 static int32_t Pnacl_M37_PPB_CompositorLayer_SetOpacity(PP_Resource layer
, float opacity
) {
278 const struct PPB_CompositorLayer_0_1
*iface
= Pnacl_WrapperInfo_PPB_CompositorLayer_0_1
.real_iface
;
279 return iface
->SetOpacity(layer
, opacity
);
282 static int32_t Pnacl_M37_PPB_CompositorLayer_SetBlendMode(PP_Resource layer
, PP_BlendMode mode
) {
283 const struct PPB_CompositorLayer_0_1
*iface
= Pnacl_WrapperInfo_PPB_CompositorLayer_0_1
.real_iface
;
284 return iface
->SetBlendMode(layer
, mode
);
287 static int32_t Pnacl_M37_PPB_CompositorLayer_SetSourceRect(PP_Resource layer
, const struct PP_FloatRect
* rect
) {
288 const struct PPB_CompositorLayer_0_1
*iface
= Pnacl_WrapperInfo_PPB_CompositorLayer_0_1
.real_iface
;
289 return iface
->SetSourceRect(layer
, rect
);
292 static int32_t Pnacl_M37_PPB_CompositorLayer_SetPremultipliedAlpha(PP_Resource layer
, PP_Bool premult
) {
293 const struct PPB_CompositorLayer_0_1
*iface
= Pnacl_WrapperInfo_PPB_CompositorLayer_0_1
.real_iface
;
294 return iface
->SetPremultipliedAlpha(layer
, premult
);
297 /* End wrapper methods for PPB_CompositorLayer_0_1 */
299 /* Begin wrapper methods for PPB_Console_1_0 */
301 static void Pnacl_M25_PPB_Console_Log(PP_Instance instance
, PP_LogLevel level
, struct PP_Var
* value
) {
302 const struct PPB_Console_1_0
*iface
= Pnacl_WrapperInfo_PPB_Console_1_0
.real_iface
;
303 iface
->Log(instance
, level
, *value
);
306 static void Pnacl_M25_PPB_Console_LogWithSource(PP_Instance instance
, PP_LogLevel level
, struct PP_Var
* source
, struct PP_Var
* value
) {
307 const struct PPB_Console_1_0
*iface
= Pnacl_WrapperInfo_PPB_Console_1_0
.real_iface
;
308 iface
->LogWithSource(instance
, level
, *source
, *value
);
311 /* End wrapper methods for PPB_Console_1_0 */
313 /* Begin wrapper methods for PPB_Core_1_0 */
315 static void Pnacl_M14_PPB_Core_AddRefResource(PP_Resource resource
) {
316 const struct PPB_Core_1_0
*iface
= Pnacl_WrapperInfo_PPB_Core_1_0
.real_iface
;
317 iface
->AddRefResource(resource
);
320 static void Pnacl_M14_PPB_Core_ReleaseResource(PP_Resource resource
) {
321 const struct PPB_Core_1_0
*iface
= Pnacl_WrapperInfo_PPB_Core_1_0
.real_iface
;
322 iface
->ReleaseResource(resource
);
325 static PP_Time
Pnacl_M14_PPB_Core_GetTime(void) {
326 const struct PPB_Core_1_0
*iface
= Pnacl_WrapperInfo_PPB_Core_1_0
.real_iface
;
327 return iface
->GetTime();
330 static PP_TimeTicks
Pnacl_M14_PPB_Core_GetTimeTicks(void) {
331 const struct PPB_Core_1_0
*iface
= Pnacl_WrapperInfo_PPB_Core_1_0
.real_iface
;
332 return iface
->GetTimeTicks();
335 static void Pnacl_M14_PPB_Core_CallOnMainThread(int32_t delay_in_milliseconds
, struct PP_CompletionCallback
* callback
, int32_t result
) {
336 const struct PPB_Core_1_0
*iface
= Pnacl_WrapperInfo_PPB_Core_1_0
.real_iface
;
337 iface
->CallOnMainThread(delay_in_milliseconds
, *callback
, result
);
340 static PP_Bool
Pnacl_M14_PPB_Core_IsMainThread(void) {
341 const struct PPB_Core_1_0
*iface
= Pnacl_WrapperInfo_PPB_Core_1_0
.real_iface
;
342 return iface
->IsMainThread();
345 /* End wrapper methods for PPB_Core_1_0 */
347 /* Begin wrapper methods for PPB_FileIO_1_0 */
349 static PP_Resource
Pnacl_M14_PPB_FileIO_Create(PP_Instance instance
) {
350 const struct PPB_FileIO_1_0
*iface
= Pnacl_WrapperInfo_PPB_FileIO_1_0
.real_iface
;
351 return iface
->Create(instance
);
354 static PP_Bool
Pnacl_M14_PPB_FileIO_IsFileIO(PP_Resource resource
) {
355 const struct PPB_FileIO_1_0
*iface
= Pnacl_WrapperInfo_PPB_FileIO_1_0
.real_iface
;
356 return iface
->IsFileIO(resource
);
359 static int32_t Pnacl_M14_PPB_FileIO_Open(PP_Resource file_io
, PP_Resource file_ref
, int32_t open_flags
, struct PP_CompletionCallback
* callback
) {
360 const struct PPB_FileIO_1_0
*iface
= Pnacl_WrapperInfo_PPB_FileIO_1_0
.real_iface
;
361 return iface
->Open(file_io
, file_ref
, open_flags
, *callback
);
364 static int32_t Pnacl_M14_PPB_FileIO_Query(PP_Resource file_io
, struct PP_FileInfo
* info
, struct PP_CompletionCallback
* callback
) {
365 const struct PPB_FileIO_1_0
*iface
= Pnacl_WrapperInfo_PPB_FileIO_1_0
.real_iface
;
366 return iface
->Query(file_io
, info
, *callback
);
369 static int32_t Pnacl_M14_PPB_FileIO_Touch(PP_Resource file_io
, PP_Time last_access_time
, PP_Time last_modified_time
, struct PP_CompletionCallback
* callback
) {
370 const struct PPB_FileIO_1_0
*iface
= Pnacl_WrapperInfo_PPB_FileIO_1_0
.real_iface
;
371 return iface
->Touch(file_io
, last_access_time
, last_modified_time
, *callback
);
374 static int32_t Pnacl_M14_PPB_FileIO_Read(PP_Resource file_io
, int64_t offset
, char* buffer
, int32_t bytes_to_read
, struct PP_CompletionCallback
* callback
) {
375 const struct PPB_FileIO_1_0
*iface
= Pnacl_WrapperInfo_PPB_FileIO_1_0
.real_iface
;
376 return iface
->Read(file_io
, offset
, buffer
, bytes_to_read
, *callback
);
379 static int32_t Pnacl_M14_PPB_FileIO_Write(PP_Resource file_io
, int64_t offset
, const char* buffer
, int32_t bytes_to_write
, struct PP_CompletionCallback
* callback
) {
380 const struct PPB_FileIO_1_0
*iface
= Pnacl_WrapperInfo_PPB_FileIO_1_0
.real_iface
;
381 return iface
->Write(file_io
, offset
, buffer
, bytes_to_write
, *callback
);
384 static int32_t Pnacl_M14_PPB_FileIO_SetLength(PP_Resource file_io
, int64_t length
, struct PP_CompletionCallback
* callback
) {
385 const struct PPB_FileIO_1_0
*iface
= Pnacl_WrapperInfo_PPB_FileIO_1_0
.real_iface
;
386 return iface
->SetLength(file_io
, length
, *callback
);
389 static int32_t Pnacl_M14_PPB_FileIO_Flush(PP_Resource file_io
, struct PP_CompletionCallback
* callback
) {
390 const struct PPB_FileIO_1_0
*iface
= Pnacl_WrapperInfo_PPB_FileIO_1_0
.real_iface
;
391 return iface
->Flush(file_io
, *callback
);
394 static void Pnacl_M14_PPB_FileIO_Close(PP_Resource file_io
) {
395 const struct PPB_FileIO_1_0
*iface
= Pnacl_WrapperInfo_PPB_FileIO_1_0
.real_iface
;
396 iface
->Close(file_io
);
399 /* End wrapper methods for PPB_FileIO_1_0 */
401 /* Begin wrapper methods for PPB_FileIO_1_1 */
403 static PP_Resource
Pnacl_M25_PPB_FileIO_Create(PP_Instance instance
) {
404 const struct PPB_FileIO_1_1
*iface
= Pnacl_WrapperInfo_PPB_FileIO_1_1
.real_iface
;
405 return iface
->Create(instance
);
408 static PP_Bool
Pnacl_M25_PPB_FileIO_IsFileIO(PP_Resource resource
) {
409 const struct PPB_FileIO_1_1
*iface
= Pnacl_WrapperInfo_PPB_FileIO_1_1
.real_iface
;
410 return iface
->IsFileIO(resource
);
413 static int32_t Pnacl_M25_PPB_FileIO_Open(PP_Resource file_io
, PP_Resource file_ref
, int32_t open_flags
, struct PP_CompletionCallback
* callback
) {
414 const struct PPB_FileIO_1_1
*iface
= Pnacl_WrapperInfo_PPB_FileIO_1_1
.real_iface
;
415 return iface
->Open(file_io
, file_ref
, open_flags
, *callback
);
418 static int32_t Pnacl_M25_PPB_FileIO_Query(PP_Resource file_io
, struct PP_FileInfo
* info
, struct PP_CompletionCallback
* callback
) {
419 const struct PPB_FileIO_1_1
*iface
= Pnacl_WrapperInfo_PPB_FileIO_1_1
.real_iface
;
420 return iface
->Query(file_io
, info
, *callback
);
423 static int32_t Pnacl_M25_PPB_FileIO_Touch(PP_Resource file_io
, PP_Time last_access_time
, PP_Time last_modified_time
, struct PP_CompletionCallback
* callback
) {
424 const struct PPB_FileIO_1_1
*iface
= Pnacl_WrapperInfo_PPB_FileIO_1_1
.real_iface
;
425 return iface
->Touch(file_io
, last_access_time
, last_modified_time
, *callback
);
428 static int32_t Pnacl_M25_PPB_FileIO_Read(PP_Resource file_io
, int64_t offset
, char* buffer
, int32_t bytes_to_read
, struct PP_CompletionCallback
* callback
) {
429 const struct PPB_FileIO_1_1
*iface
= Pnacl_WrapperInfo_PPB_FileIO_1_1
.real_iface
;
430 return iface
->Read(file_io
, offset
, buffer
, bytes_to_read
, *callback
);
433 static int32_t Pnacl_M25_PPB_FileIO_Write(PP_Resource file_io
, int64_t offset
, const char* buffer
, int32_t bytes_to_write
, struct PP_CompletionCallback
* callback
) {
434 const struct PPB_FileIO_1_1
*iface
= Pnacl_WrapperInfo_PPB_FileIO_1_1
.real_iface
;
435 return iface
->Write(file_io
, offset
, buffer
, bytes_to_write
, *callback
);
438 static int32_t Pnacl_M25_PPB_FileIO_SetLength(PP_Resource file_io
, int64_t length
, struct PP_CompletionCallback
* callback
) {
439 const struct PPB_FileIO_1_1
*iface
= Pnacl_WrapperInfo_PPB_FileIO_1_1
.real_iface
;
440 return iface
->SetLength(file_io
, length
, *callback
);
443 static int32_t Pnacl_M25_PPB_FileIO_Flush(PP_Resource file_io
, struct PP_CompletionCallback
* callback
) {
444 const struct PPB_FileIO_1_1
*iface
= Pnacl_WrapperInfo_PPB_FileIO_1_1
.real_iface
;
445 return iface
->Flush(file_io
, *callback
);
448 static void Pnacl_M25_PPB_FileIO_Close(PP_Resource file_io
) {
449 const struct PPB_FileIO_1_1
*iface
= Pnacl_WrapperInfo_PPB_FileIO_1_1
.real_iface
;
450 iface
->Close(file_io
);
453 static int32_t Pnacl_M25_PPB_FileIO_ReadToArray(PP_Resource file_io
, int64_t offset
, int32_t max_read_length
, struct PP_ArrayOutput
* output
, struct PP_CompletionCallback
* callback
) {
454 const struct PPB_FileIO_1_1
*iface
= Pnacl_WrapperInfo_PPB_FileIO_1_1
.real_iface
;
455 return iface
->ReadToArray(file_io
, offset
, max_read_length
, output
, *callback
);
458 /* End wrapper methods for PPB_FileIO_1_1 */
460 /* Begin wrapper methods for PPB_FileMapping_0_1 */
462 static int32_t Pnacl_M34_PPB_FileMapping_Map(PP_Instance instance
, PP_Resource file_io
, int64_t length
, uint32_t map_protection
, uint32_t map_flags
, int64_t offset
, void** address
, struct PP_CompletionCallback
* callback
) {
463 const struct PPB_FileMapping_0_1
*iface
= Pnacl_WrapperInfo_PPB_FileMapping_0_1
.real_iface
;
464 return iface
->Map(instance
, file_io
, length
, map_protection
, map_flags
, offset
, address
, *callback
);
467 static int32_t Pnacl_M34_PPB_FileMapping_Unmap(PP_Instance instance
, const void* address
, int64_t length
, struct PP_CompletionCallback
* callback
) {
468 const struct PPB_FileMapping_0_1
*iface
= Pnacl_WrapperInfo_PPB_FileMapping_0_1
.real_iface
;
469 return iface
->Unmap(instance
, address
, length
, *callback
);
472 static int64_t Pnacl_M34_PPB_FileMapping_GetMapPageSize(PP_Instance instance
) {
473 const struct PPB_FileMapping_0_1
*iface
= Pnacl_WrapperInfo_PPB_FileMapping_0_1
.real_iface
;
474 return iface
->GetMapPageSize(instance
);
477 /* End wrapper methods for PPB_FileMapping_0_1 */
479 /* Begin wrapper methods for PPB_FileRef_1_0 */
481 static PP_Resource
Pnacl_M14_PPB_FileRef_Create(PP_Resource file_system
, const char* path
) {
482 const struct PPB_FileRef_1_0
*iface
= Pnacl_WrapperInfo_PPB_FileRef_1_0
.real_iface
;
483 return iface
->Create(file_system
, path
);
486 static PP_Bool
Pnacl_M14_PPB_FileRef_IsFileRef(PP_Resource resource
) {
487 const struct PPB_FileRef_1_0
*iface
= Pnacl_WrapperInfo_PPB_FileRef_1_0
.real_iface
;
488 return iface
->IsFileRef(resource
);
491 static PP_FileSystemType
Pnacl_M14_PPB_FileRef_GetFileSystemType(PP_Resource file_ref
) {
492 const struct PPB_FileRef_1_0
*iface
= Pnacl_WrapperInfo_PPB_FileRef_1_0
.real_iface
;
493 return iface
->GetFileSystemType(file_ref
);
496 static void Pnacl_M14_PPB_FileRef_GetName(struct PP_Var
* _struct_result
, PP_Resource file_ref
) {
497 const struct PPB_FileRef_1_0
*iface
= Pnacl_WrapperInfo_PPB_FileRef_1_0
.real_iface
;
498 *_struct_result
= iface
->GetName(file_ref
);
501 static void Pnacl_M14_PPB_FileRef_GetPath(struct PP_Var
* _struct_result
, PP_Resource file_ref
) {
502 const struct PPB_FileRef_1_0
*iface
= Pnacl_WrapperInfo_PPB_FileRef_1_0
.real_iface
;
503 *_struct_result
= iface
->GetPath(file_ref
);
506 static PP_Resource
Pnacl_M14_PPB_FileRef_GetParent(PP_Resource file_ref
) {
507 const struct PPB_FileRef_1_0
*iface
= Pnacl_WrapperInfo_PPB_FileRef_1_0
.real_iface
;
508 return iface
->GetParent(file_ref
);
511 static int32_t Pnacl_M14_PPB_FileRef_MakeDirectory(PP_Resource directory_ref
, PP_Bool make_ancestors
, struct PP_CompletionCallback
* callback
) {
512 const struct PPB_FileRef_1_0
*iface
= Pnacl_WrapperInfo_PPB_FileRef_1_0
.real_iface
;
513 return iface
->MakeDirectory(directory_ref
, make_ancestors
, *callback
);
516 static int32_t Pnacl_M14_PPB_FileRef_Touch(PP_Resource file_ref
, PP_Time last_access_time
, PP_Time last_modified_time
, struct PP_CompletionCallback
* callback
) {
517 const struct PPB_FileRef_1_0
*iface
= Pnacl_WrapperInfo_PPB_FileRef_1_0
.real_iface
;
518 return iface
->Touch(file_ref
, last_access_time
, last_modified_time
, *callback
);
521 static int32_t Pnacl_M14_PPB_FileRef_Delete(PP_Resource file_ref
, struct PP_CompletionCallback
* callback
) {
522 const struct PPB_FileRef_1_0
*iface
= Pnacl_WrapperInfo_PPB_FileRef_1_0
.real_iface
;
523 return iface
->Delete(file_ref
, *callback
);
526 static int32_t Pnacl_M14_PPB_FileRef_Rename(PP_Resource file_ref
, PP_Resource new_file_ref
, struct PP_CompletionCallback
* callback
) {
527 const struct PPB_FileRef_1_0
*iface
= Pnacl_WrapperInfo_PPB_FileRef_1_0
.real_iface
;
528 return iface
->Rename(file_ref
, new_file_ref
, *callback
);
531 /* End wrapper methods for PPB_FileRef_1_0 */
533 /* Begin wrapper methods for PPB_FileRef_1_1 */
535 static PP_Resource
Pnacl_M28_PPB_FileRef_Create(PP_Resource file_system
, const char* path
) {
536 const struct PPB_FileRef_1_1
*iface
= Pnacl_WrapperInfo_PPB_FileRef_1_1
.real_iface
;
537 return iface
->Create(file_system
, path
);
540 static PP_Bool
Pnacl_M28_PPB_FileRef_IsFileRef(PP_Resource resource
) {
541 const struct PPB_FileRef_1_1
*iface
= Pnacl_WrapperInfo_PPB_FileRef_1_1
.real_iface
;
542 return iface
->IsFileRef(resource
);
545 static PP_FileSystemType
Pnacl_M28_PPB_FileRef_GetFileSystemType(PP_Resource file_ref
) {
546 const struct PPB_FileRef_1_1
*iface
= Pnacl_WrapperInfo_PPB_FileRef_1_1
.real_iface
;
547 return iface
->GetFileSystemType(file_ref
);
550 static void Pnacl_M28_PPB_FileRef_GetName(struct PP_Var
* _struct_result
, PP_Resource file_ref
) {
551 const struct PPB_FileRef_1_1
*iface
= Pnacl_WrapperInfo_PPB_FileRef_1_1
.real_iface
;
552 *_struct_result
= iface
->GetName(file_ref
);
555 static void Pnacl_M28_PPB_FileRef_GetPath(struct PP_Var
* _struct_result
, PP_Resource file_ref
) {
556 const struct PPB_FileRef_1_1
*iface
= Pnacl_WrapperInfo_PPB_FileRef_1_1
.real_iface
;
557 *_struct_result
= iface
->GetPath(file_ref
);
560 static PP_Resource
Pnacl_M28_PPB_FileRef_GetParent(PP_Resource file_ref
) {
561 const struct PPB_FileRef_1_1
*iface
= Pnacl_WrapperInfo_PPB_FileRef_1_1
.real_iface
;
562 return iface
->GetParent(file_ref
);
565 static int32_t Pnacl_M28_PPB_FileRef_MakeDirectory(PP_Resource directory_ref
, PP_Bool make_ancestors
, struct PP_CompletionCallback
* callback
) {
566 const struct PPB_FileRef_1_1
*iface
= Pnacl_WrapperInfo_PPB_FileRef_1_1
.real_iface
;
567 return iface
->MakeDirectory(directory_ref
, make_ancestors
, *callback
);
570 static int32_t Pnacl_M28_PPB_FileRef_Touch(PP_Resource file_ref
, PP_Time last_access_time
, PP_Time last_modified_time
, struct PP_CompletionCallback
* callback
) {
571 const struct PPB_FileRef_1_1
*iface
= Pnacl_WrapperInfo_PPB_FileRef_1_1
.real_iface
;
572 return iface
->Touch(file_ref
, last_access_time
, last_modified_time
, *callback
);
575 static int32_t Pnacl_M28_PPB_FileRef_Delete(PP_Resource file_ref
, struct PP_CompletionCallback
* callback
) {
576 const struct PPB_FileRef_1_1
*iface
= Pnacl_WrapperInfo_PPB_FileRef_1_1
.real_iface
;
577 return iface
->Delete(file_ref
, *callback
);
580 static int32_t Pnacl_M28_PPB_FileRef_Rename(PP_Resource file_ref
, PP_Resource new_file_ref
, struct PP_CompletionCallback
* callback
) {
581 const struct PPB_FileRef_1_1
*iface
= Pnacl_WrapperInfo_PPB_FileRef_1_1
.real_iface
;
582 return iface
->Rename(file_ref
, new_file_ref
, *callback
);
585 static int32_t Pnacl_M28_PPB_FileRef_Query(PP_Resource file_ref
, struct PP_FileInfo
* info
, struct PP_CompletionCallback
* callback
) {
586 const struct PPB_FileRef_1_1
*iface
= Pnacl_WrapperInfo_PPB_FileRef_1_1
.real_iface
;
587 return iface
->Query(file_ref
, info
, *callback
);
590 static int32_t Pnacl_M28_PPB_FileRef_ReadDirectoryEntries(PP_Resource file_ref
, struct PP_ArrayOutput
* output
, struct PP_CompletionCallback
* callback
) {
591 const struct PPB_FileRef_1_1
*iface
= Pnacl_WrapperInfo_PPB_FileRef_1_1
.real_iface
;
592 return iface
->ReadDirectoryEntries(file_ref
, *output
, *callback
);
595 /* End wrapper methods for PPB_FileRef_1_1 */
597 /* Begin wrapper methods for PPB_FileRef_1_2 */
599 static PP_Resource
Pnacl_M34_PPB_FileRef_Create(PP_Resource file_system
, const char* path
) {
600 const struct PPB_FileRef_1_2
*iface
= Pnacl_WrapperInfo_PPB_FileRef_1_2
.real_iface
;
601 return iface
->Create(file_system
, path
);
604 static PP_Bool
Pnacl_M34_PPB_FileRef_IsFileRef(PP_Resource resource
) {
605 const struct PPB_FileRef_1_2
*iface
= Pnacl_WrapperInfo_PPB_FileRef_1_2
.real_iface
;
606 return iface
->IsFileRef(resource
);
609 static PP_FileSystemType
Pnacl_M34_PPB_FileRef_GetFileSystemType(PP_Resource file_ref
) {
610 const struct PPB_FileRef_1_2
*iface
= Pnacl_WrapperInfo_PPB_FileRef_1_2
.real_iface
;
611 return iface
->GetFileSystemType(file_ref
);
614 static void Pnacl_M34_PPB_FileRef_GetName(struct PP_Var
* _struct_result
, PP_Resource file_ref
) {
615 const struct PPB_FileRef_1_2
*iface
= Pnacl_WrapperInfo_PPB_FileRef_1_2
.real_iface
;
616 *_struct_result
= iface
->GetName(file_ref
);
619 static void Pnacl_M34_PPB_FileRef_GetPath(struct PP_Var
* _struct_result
, PP_Resource file_ref
) {
620 const struct PPB_FileRef_1_2
*iface
= Pnacl_WrapperInfo_PPB_FileRef_1_2
.real_iface
;
621 *_struct_result
= iface
->GetPath(file_ref
);
624 static PP_Resource
Pnacl_M34_PPB_FileRef_GetParent(PP_Resource file_ref
) {
625 const struct PPB_FileRef_1_2
*iface
= Pnacl_WrapperInfo_PPB_FileRef_1_2
.real_iface
;
626 return iface
->GetParent(file_ref
);
629 static int32_t Pnacl_M34_PPB_FileRef_MakeDirectory(PP_Resource directory_ref
, int32_t make_directory_flags
, struct PP_CompletionCallback
* callback
) {
630 const struct PPB_FileRef_1_2
*iface
= Pnacl_WrapperInfo_PPB_FileRef_1_2
.real_iface
;
631 return iface
->MakeDirectory(directory_ref
, make_directory_flags
, *callback
);
634 static int32_t Pnacl_M34_PPB_FileRef_Touch(PP_Resource file_ref
, PP_Time last_access_time
, PP_Time last_modified_time
, struct PP_CompletionCallback
* callback
) {
635 const struct PPB_FileRef_1_2
*iface
= Pnacl_WrapperInfo_PPB_FileRef_1_2
.real_iface
;
636 return iface
->Touch(file_ref
, last_access_time
, last_modified_time
, *callback
);
639 static int32_t Pnacl_M34_PPB_FileRef_Delete(PP_Resource file_ref
, struct PP_CompletionCallback
* callback
) {
640 const struct PPB_FileRef_1_2
*iface
= Pnacl_WrapperInfo_PPB_FileRef_1_2
.real_iface
;
641 return iface
->Delete(file_ref
, *callback
);
644 static int32_t Pnacl_M34_PPB_FileRef_Rename(PP_Resource file_ref
, PP_Resource new_file_ref
, struct PP_CompletionCallback
* callback
) {
645 const struct PPB_FileRef_1_2
*iface
= Pnacl_WrapperInfo_PPB_FileRef_1_2
.real_iface
;
646 return iface
->Rename(file_ref
, new_file_ref
, *callback
);
649 static int32_t Pnacl_M34_PPB_FileRef_Query(PP_Resource file_ref
, struct PP_FileInfo
* info
, struct PP_CompletionCallback
* callback
) {
650 const struct PPB_FileRef_1_2
*iface
= Pnacl_WrapperInfo_PPB_FileRef_1_2
.real_iface
;
651 return iface
->Query(file_ref
, info
, *callback
);
654 static int32_t Pnacl_M34_PPB_FileRef_ReadDirectoryEntries(PP_Resource file_ref
, struct PP_ArrayOutput
* output
, struct PP_CompletionCallback
* callback
) {
655 const struct PPB_FileRef_1_2
*iface
= Pnacl_WrapperInfo_PPB_FileRef_1_2
.real_iface
;
656 return iface
->ReadDirectoryEntries(file_ref
, *output
, *callback
);
659 /* End wrapper methods for PPB_FileRef_1_2 */
661 /* Begin wrapper methods for PPB_FileSystem_1_0 */
663 static PP_Resource
Pnacl_M14_PPB_FileSystem_Create(PP_Instance instance
, PP_FileSystemType type
) {
664 const struct PPB_FileSystem_1_0
*iface
= Pnacl_WrapperInfo_PPB_FileSystem_1_0
.real_iface
;
665 return iface
->Create(instance
, type
);
668 static PP_Bool
Pnacl_M14_PPB_FileSystem_IsFileSystem(PP_Resource resource
) {
669 const struct PPB_FileSystem_1_0
*iface
= Pnacl_WrapperInfo_PPB_FileSystem_1_0
.real_iface
;
670 return iface
->IsFileSystem(resource
);
673 static int32_t Pnacl_M14_PPB_FileSystem_Open(PP_Resource file_system
, int64_t expected_size
, struct PP_CompletionCallback
* callback
) {
674 const struct PPB_FileSystem_1_0
*iface
= Pnacl_WrapperInfo_PPB_FileSystem_1_0
.real_iface
;
675 return iface
->Open(file_system
, expected_size
, *callback
);
678 static PP_FileSystemType
Pnacl_M14_PPB_FileSystem_GetType(PP_Resource file_system
) {
679 const struct PPB_FileSystem_1_0
*iface
= Pnacl_WrapperInfo_PPB_FileSystem_1_0
.real_iface
;
680 return iface
->GetType(file_system
);
683 /* End wrapper methods for PPB_FileSystem_1_0 */
685 /* Not generating wrapper methods for PPB_Fullscreen_1_0 */
687 /* Not generating wrapper methods for PPB_Gamepad_1_0 */
689 /* Begin wrapper methods for PPB_Graphics2D_1_0 */
691 static PP_Resource
Pnacl_M14_PPB_Graphics2D_Create(PP_Instance instance
, const struct PP_Size
* size
, PP_Bool is_always_opaque
) {
692 const struct PPB_Graphics2D_1_0
*iface
= Pnacl_WrapperInfo_PPB_Graphics2D_1_0
.real_iface
;
693 return iface
->Create(instance
, size
, is_always_opaque
);
696 static PP_Bool
Pnacl_M14_PPB_Graphics2D_IsGraphics2D(PP_Resource resource
) {
697 const struct PPB_Graphics2D_1_0
*iface
= Pnacl_WrapperInfo_PPB_Graphics2D_1_0
.real_iface
;
698 return iface
->IsGraphics2D(resource
);
701 static PP_Bool
Pnacl_M14_PPB_Graphics2D_Describe(PP_Resource graphics_2d
, struct PP_Size
* size
, PP_Bool
* is_always_opaque
) {
702 const struct PPB_Graphics2D_1_0
*iface
= Pnacl_WrapperInfo_PPB_Graphics2D_1_0
.real_iface
;
703 return iface
->Describe(graphics_2d
, size
, is_always_opaque
);
706 static void Pnacl_M14_PPB_Graphics2D_PaintImageData(PP_Resource graphics_2d
, PP_Resource image_data
, const struct PP_Point
* top_left
, const struct PP_Rect
* src_rect
) {
707 const struct PPB_Graphics2D_1_0
*iface
= Pnacl_WrapperInfo_PPB_Graphics2D_1_0
.real_iface
;
708 iface
->PaintImageData(graphics_2d
, image_data
, top_left
, src_rect
);
711 static void Pnacl_M14_PPB_Graphics2D_Scroll(PP_Resource graphics_2d
, const struct PP_Rect
* clip_rect
, const struct PP_Point
* amount
) {
712 const struct PPB_Graphics2D_1_0
*iface
= Pnacl_WrapperInfo_PPB_Graphics2D_1_0
.real_iface
;
713 iface
->Scroll(graphics_2d
, clip_rect
, amount
);
716 static void Pnacl_M14_PPB_Graphics2D_ReplaceContents(PP_Resource graphics_2d
, PP_Resource image_data
) {
717 const struct PPB_Graphics2D_1_0
*iface
= Pnacl_WrapperInfo_PPB_Graphics2D_1_0
.real_iface
;
718 iface
->ReplaceContents(graphics_2d
, image_data
);
721 static int32_t Pnacl_M14_PPB_Graphics2D_Flush(PP_Resource graphics_2d
, struct PP_CompletionCallback
* callback
) {
722 const struct PPB_Graphics2D_1_0
*iface
= Pnacl_WrapperInfo_PPB_Graphics2D_1_0
.real_iface
;
723 return iface
->Flush(graphics_2d
, *callback
);
726 /* End wrapper methods for PPB_Graphics2D_1_0 */
728 /* Begin wrapper methods for PPB_Graphics2D_1_1 */
730 static PP_Resource
Pnacl_M27_PPB_Graphics2D_Create(PP_Instance instance
, const struct PP_Size
* size
, PP_Bool is_always_opaque
) {
731 const struct PPB_Graphics2D_1_1
*iface
= Pnacl_WrapperInfo_PPB_Graphics2D_1_1
.real_iface
;
732 return iface
->Create(instance
, size
, is_always_opaque
);
735 static PP_Bool
Pnacl_M27_PPB_Graphics2D_IsGraphics2D(PP_Resource resource
) {
736 const struct PPB_Graphics2D_1_1
*iface
= Pnacl_WrapperInfo_PPB_Graphics2D_1_1
.real_iface
;
737 return iface
->IsGraphics2D(resource
);
740 static PP_Bool
Pnacl_M27_PPB_Graphics2D_Describe(PP_Resource graphics_2d
, struct PP_Size
* size
, PP_Bool
* is_always_opaque
) {
741 const struct PPB_Graphics2D_1_1
*iface
= Pnacl_WrapperInfo_PPB_Graphics2D_1_1
.real_iface
;
742 return iface
->Describe(graphics_2d
, size
, is_always_opaque
);
745 static void Pnacl_M27_PPB_Graphics2D_PaintImageData(PP_Resource graphics_2d
, PP_Resource image_data
, const struct PP_Point
* top_left
, const struct PP_Rect
* src_rect
) {
746 const struct PPB_Graphics2D_1_1
*iface
= Pnacl_WrapperInfo_PPB_Graphics2D_1_1
.real_iface
;
747 iface
->PaintImageData(graphics_2d
, image_data
, top_left
, src_rect
);
750 static void Pnacl_M27_PPB_Graphics2D_Scroll(PP_Resource graphics_2d
, const struct PP_Rect
* clip_rect
, const struct PP_Point
* amount
) {
751 const struct PPB_Graphics2D_1_1
*iface
= Pnacl_WrapperInfo_PPB_Graphics2D_1_1
.real_iface
;
752 iface
->Scroll(graphics_2d
, clip_rect
, amount
);
755 static void Pnacl_M27_PPB_Graphics2D_ReplaceContents(PP_Resource graphics_2d
, PP_Resource image_data
) {
756 const struct PPB_Graphics2D_1_1
*iface
= Pnacl_WrapperInfo_PPB_Graphics2D_1_1
.real_iface
;
757 iface
->ReplaceContents(graphics_2d
, image_data
);
760 static int32_t Pnacl_M27_PPB_Graphics2D_Flush(PP_Resource graphics_2d
, struct PP_CompletionCallback
* callback
) {
761 const struct PPB_Graphics2D_1_1
*iface
= Pnacl_WrapperInfo_PPB_Graphics2D_1_1
.real_iface
;
762 return iface
->Flush(graphics_2d
, *callback
);
765 static PP_Bool
Pnacl_M27_PPB_Graphics2D_SetScale(PP_Resource resource
, float scale
) {
766 const struct PPB_Graphics2D_1_1
*iface
= Pnacl_WrapperInfo_PPB_Graphics2D_1_1
.real_iface
;
767 return iface
->SetScale(resource
, scale
);
770 static float Pnacl_M27_PPB_Graphics2D_GetScale(PP_Resource resource
) {
771 const struct PPB_Graphics2D_1_1
*iface
= Pnacl_WrapperInfo_PPB_Graphics2D_1_1
.real_iface
;
772 return iface
->GetScale(resource
);
775 /* End wrapper methods for PPB_Graphics2D_1_1 */
777 /* Begin wrapper methods for PPB_Graphics3D_1_0 */
779 static int32_t Pnacl_M15_PPB_Graphics3D_GetAttribMaxValue(PP_Resource instance
, int32_t attribute
, int32_t* value
) {
780 const struct PPB_Graphics3D_1_0
*iface
= Pnacl_WrapperInfo_PPB_Graphics3D_1_0
.real_iface
;
781 return iface
->GetAttribMaxValue(instance
, attribute
, value
);
784 static PP_Resource
Pnacl_M15_PPB_Graphics3D_Create(PP_Instance instance
, PP_Resource share_context
, const int32_t attrib_list
[]) {
785 const struct PPB_Graphics3D_1_0
*iface
= Pnacl_WrapperInfo_PPB_Graphics3D_1_0
.real_iface
;
786 return iface
->Create(instance
, share_context
, attrib_list
);
789 static PP_Bool
Pnacl_M15_PPB_Graphics3D_IsGraphics3D(PP_Resource resource
) {
790 const struct PPB_Graphics3D_1_0
*iface
= Pnacl_WrapperInfo_PPB_Graphics3D_1_0
.real_iface
;
791 return iface
->IsGraphics3D(resource
);
794 static int32_t Pnacl_M15_PPB_Graphics3D_GetAttribs(PP_Resource context
, int32_t attrib_list
[]) {
795 const struct PPB_Graphics3D_1_0
*iface
= Pnacl_WrapperInfo_PPB_Graphics3D_1_0
.real_iface
;
796 return iface
->GetAttribs(context
, attrib_list
);
799 static int32_t Pnacl_M15_PPB_Graphics3D_SetAttribs(PP_Resource context
, const int32_t attrib_list
[]) {
800 const struct PPB_Graphics3D_1_0
*iface
= Pnacl_WrapperInfo_PPB_Graphics3D_1_0
.real_iface
;
801 return iface
->SetAttribs(context
, attrib_list
);
804 static int32_t Pnacl_M15_PPB_Graphics3D_GetError(PP_Resource context
) {
805 const struct PPB_Graphics3D_1_0
*iface
= Pnacl_WrapperInfo_PPB_Graphics3D_1_0
.real_iface
;
806 return iface
->GetError(context
);
809 static int32_t Pnacl_M15_PPB_Graphics3D_ResizeBuffers(PP_Resource context
, int32_t width
, int32_t height
) {
810 const struct PPB_Graphics3D_1_0
*iface
= Pnacl_WrapperInfo_PPB_Graphics3D_1_0
.real_iface
;
811 return iface
->ResizeBuffers(context
, width
, height
);
814 static int32_t Pnacl_M15_PPB_Graphics3D_SwapBuffers(PP_Resource context
, struct PP_CompletionCallback
* callback
) {
815 const struct PPB_Graphics3D_1_0
*iface
= Pnacl_WrapperInfo_PPB_Graphics3D_1_0
.real_iface
;
816 return iface
->SwapBuffers(context
, *callback
);
819 /* End wrapper methods for PPB_Graphics3D_1_0 */
821 /* Begin wrapper methods for PPB_HostResolver_1_0 */
823 static PP_Resource
Pnacl_M29_PPB_HostResolver_Create(PP_Instance instance
) {
824 const struct PPB_HostResolver_1_0
*iface
= Pnacl_WrapperInfo_PPB_HostResolver_1_0
.real_iface
;
825 return iface
->Create(instance
);
828 static PP_Bool
Pnacl_M29_PPB_HostResolver_IsHostResolver(PP_Resource resource
) {
829 const struct PPB_HostResolver_1_0
*iface
= Pnacl_WrapperInfo_PPB_HostResolver_1_0
.real_iface
;
830 return iface
->IsHostResolver(resource
);
833 static int32_t Pnacl_M29_PPB_HostResolver_Resolve(PP_Resource host_resolver
, const char* host
, uint16_t port
, const struct PP_HostResolver_Hint
* hint
, struct PP_CompletionCallback
* callback
) {
834 const struct PPB_HostResolver_1_0
*iface
= Pnacl_WrapperInfo_PPB_HostResolver_1_0
.real_iface
;
835 return iface
->Resolve(host_resolver
, host
, port
, hint
, *callback
);
838 static void Pnacl_M29_PPB_HostResolver_GetCanonicalName(struct PP_Var
* _struct_result
, PP_Resource host_resolver
) {
839 const struct PPB_HostResolver_1_0
*iface
= Pnacl_WrapperInfo_PPB_HostResolver_1_0
.real_iface
;
840 *_struct_result
= iface
->GetCanonicalName(host_resolver
);
843 static uint32_t Pnacl_M29_PPB_HostResolver_GetNetAddressCount(PP_Resource host_resolver
) {
844 const struct PPB_HostResolver_1_0
*iface
= Pnacl_WrapperInfo_PPB_HostResolver_1_0
.real_iface
;
845 return iface
->GetNetAddressCount(host_resolver
);
848 static PP_Resource
Pnacl_M29_PPB_HostResolver_GetNetAddress(PP_Resource host_resolver
, uint32_t index
) {
849 const struct PPB_HostResolver_1_0
*iface
= Pnacl_WrapperInfo_PPB_HostResolver_1_0
.real_iface
;
850 return iface
->GetNetAddress(host_resolver
, index
);
853 /* End wrapper methods for PPB_HostResolver_1_0 */
855 /* Not generating wrapper methods for PPB_ImageData_1_0 */
857 /* Not generating wrapper methods for PPB_InputEvent_1_0 */
859 /* Begin wrapper methods for PPB_MouseInputEvent_1_0 */
861 static PP_Resource
Pnacl_M13_PPB_MouseInputEvent_Create(PP_Instance instance
, PP_InputEvent_Type type
, PP_TimeTicks time_stamp
, uint32_t modifiers
, PP_InputEvent_MouseButton mouse_button
, const struct PP_Point
* mouse_position
, int32_t click_count
) {
862 const struct PPB_MouseInputEvent_1_0
*iface
= Pnacl_WrapperInfo_PPB_MouseInputEvent_1_0
.real_iface
;
863 return iface
->Create(instance
, type
, time_stamp
, modifiers
, mouse_button
, mouse_position
, click_count
);
866 static PP_Bool
Pnacl_M13_PPB_MouseInputEvent_IsMouseInputEvent(PP_Resource resource
) {
867 const struct PPB_MouseInputEvent_1_0
*iface
= Pnacl_WrapperInfo_PPB_MouseInputEvent_1_0
.real_iface
;
868 return iface
->IsMouseInputEvent(resource
);
871 static PP_InputEvent_MouseButton
Pnacl_M13_PPB_MouseInputEvent_GetButton(PP_Resource mouse_event
) {
872 const struct PPB_MouseInputEvent_1_0
*iface
= Pnacl_WrapperInfo_PPB_MouseInputEvent_1_0
.real_iface
;
873 return iface
->GetButton(mouse_event
);
876 static void Pnacl_M13_PPB_MouseInputEvent_GetPosition(struct PP_Point
* _struct_result
, PP_Resource mouse_event
) {
877 const struct PPB_MouseInputEvent_1_0
*iface
= Pnacl_WrapperInfo_PPB_MouseInputEvent_1_0
.real_iface
;
878 *_struct_result
= iface
->GetPosition(mouse_event
);
881 static int32_t Pnacl_M13_PPB_MouseInputEvent_GetClickCount(PP_Resource mouse_event
) {
882 const struct PPB_MouseInputEvent_1_0
*iface
= Pnacl_WrapperInfo_PPB_MouseInputEvent_1_0
.real_iface
;
883 return iface
->GetClickCount(mouse_event
);
886 /* End wrapper methods for PPB_MouseInputEvent_1_0 */
888 /* Begin wrapper methods for PPB_MouseInputEvent_1_1 */
890 static PP_Resource
Pnacl_M14_PPB_MouseInputEvent_Create(PP_Instance instance
, PP_InputEvent_Type type
, PP_TimeTicks time_stamp
, uint32_t modifiers
, PP_InputEvent_MouseButton mouse_button
, const struct PP_Point
* mouse_position
, int32_t click_count
, const struct PP_Point
* mouse_movement
) {
891 const struct PPB_MouseInputEvent_1_1
*iface
= Pnacl_WrapperInfo_PPB_MouseInputEvent_1_1
.real_iface
;
892 return iface
->Create(instance
, type
, time_stamp
, modifiers
, mouse_button
, mouse_position
, click_count
, mouse_movement
);
895 static PP_Bool
Pnacl_M14_PPB_MouseInputEvent_IsMouseInputEvent(PP_Resource resource
) {
896 const struct PPB_MouseInputEvent_1_1
*iface
= Pnacl_WrapperInfo_PPB_MouseInputEvent_1_1
.real_iface
;
897 return iface
->IsMouseInputEvent(resource
);
900 static PP_InputEvent_MouseButton
Pnacl_M14_PPB_MouseInputEvent_GetButton(PP_Resource mouse_event
) {
901 const struct PPB_MouseInputEvent_1_1
*iface
= Pnacl_WrapperInfo_PPB_MouseInputEvent_1_1
.real_iface
;
902 return iface
->GetButton(mouse_event
);
905 static void Pnacl_M14_PPB_MouseInputEvent_GetPosition(struct PP_Point
* _struct_result
, PP_Resource mouse_event
) {
906 const struct PPB_MouseInputEvent_1_1
*iface
= Pnacl_WrapperInfo_PPB_MouseInputEvent_1_1
.real_iface
;
907 *_struct_result
= iface
->GetPosition(mouse_event
);
910 static int32_t Pnacl_M14_PPB_MouseInputEvent_GetClickCount(PP_Resource mouse_event
) {
911 const struct PPB_MouseInputEvent_1_1
*iface
= Pnacl_WrapperInfo_PPB_MouseInputEvent_1_1
.real_iface
;
912 return iface
->GetClickCount(mouse_event
);
915 static void Pnacl_M14_PPB_MouseInputEvent_GetMovement(struct PP_Point
* _struct_result
, PP_Resource mouse_event
) {
916 const struct PPB_MouseInputEvent_1_1
*iface
= Pnacl_WrapperInfo_PPB_MouseInputEvent_1_1
.real_iface
;
917 *_struct_result
= iface
->GetMovement(mouse_event
);
920 /* End wrapper methods for PPB_MouseInputEvent_1_1 */
922 /* Begin wrapper methods for PPB_WheelInputEvent_1_0 */
924 static PP_Resource
Pnacl_M13_PPB_WheelInputEvent_Create(PP_Instance instance
, PP_TimeTicks time_stamp
, uint32_t modifiers
, const struct PP_FloatPoint
* wheel_delta
, const struct PP_FloatPoint
* wheel_ticks
, PP_Bool scroll_by_page
) {
925 const struct PPB_WheelInputEvent_1_0
*iface
= Pnacl_WrapperInfo_PPB_WheelInputEvent_1_0
.real_iface
;
926 return iface
->Create(instance
, time_stamp
, modifiers
, wheel_delta
, wheel_ticks
, scroll_by_page
);
929 static PP_Bool
Pnacl_M13_PPB_WheelInputEvent_IsWheelInputEvent(PP_Resource resource
) {
930 const struct PPB_WheelInputEvent_1_0
*iface
= Pnacl_WrapperInfo_PPB_WheelInputEvent_1_0
.real_iface
;
931 return iface
->IsWheelInputEvent(resource
);
934 static void Pnacl_M13_PPB_WheelInputEvent_GetDelta(struct PP_FloatPoint
* _struct_result
, PP_Resource wheel_event
) {
935 const struct PPB_WheelInputEvent_1_0
*iface
= Pnacl_WrapperInfo_PPB_WheelInputEvent_1_0
.real_iface
;
936 *_struct_result
= iface
->GetDelta(wheel_event
);
939 static void Pnacl_M13_PPB_WheelInputEvent_GetTicks(struct PP_FloatPoint
* _struct_result
, PP_Resource wheel_event
) {
940 const struct PPB_WheelInputEvent_1_0
*iface
= Pnacl_WrapperInfo_PPB_WheelInputEvent_1_0
.real_iface
;
941 *_struct_result
= iface
->GetTicks(wheel_event
);
944 static PP_Bool
Pnacl_M13_PPB_WheelInputEvent_GetScrollByPage(PP_Resource wheel_event
) {
945 const struct PPB_WheelInputEvent_1_0
*iface
= Pnacl_WrapperInfo_PPB_WheelInputEvent_1_0
.real_iface
;
946 return iface
->GetScrollByPage(wheel_event
);
949 /* End wrapper methods for PPB_WheelInputEvent_1_0 */
951 /* Begin wrapper methods for PPB_KeyboardInputEvent_1_0 */
953 static PP_Resource
Pnacl_M13_PPB_KeyboardInputEvent_Create(PP_Instance instance
, PP_InputEvent_Type type
, PP_TimeTicks time_stamp
, uint32_t modifiers
, uint32_t key_code
, struct PP_Var
* character_text
) {
954 const struct PPB_KeyboardInputEvent_1_0
*iface
= Pnacl_WrapperInfo_PPB_KeyboardInputEvent_1_0
.real_iface
;
955 return iface
->Create(instance
, type
, time_stamp
, modifiers
, key_code
, *character_text
);
958 static PP_Bool
Pnacl_M13_PPB_KeyboardInputEvent_IsKeyboardInputEvent(PP_Resource resource
) {
959 const struct PPB_KeyboardInputEvent_1_0
*iface
= Pnacl_WrapperInfo_PPB_KeyboardInputEvent_1_0
.real_iface
;
960 return iface
->IsKeyboardInputEvent(resource
);
963 static uint32_t Pnacl_M13_PPB_KeyboardInputEvent_GetKeyCode(PP_Resource key_event
) {
964 const struct PPB_KeyboardInputEvent_1_0
*iface
= Pnacl_WrapperInfo_PPB_KeyboardInputEvent_1_0
.real_iface
;
965 return iface
->GetKeyCode(key_event
);
968 static void Pnacl_M13_PPB_KeyboardInputEvent_GetCharacterText(struct PP_Var
* _struct_result
, PP_Resource character_event
) {
969 const struct PPB_KeyboardInputEvent_1_0
*iface
= Pnacl_WrapperInfo_PPB_KeyboardInputEvent_1_0
.real_iface
;
970 *_struct_result
= iface
->GetCharacterText(character_event
);
973 /* End wrapper methods for PPB_KeyboardInputEvent_1_0 */
975 /* Begin wrapper methods for PPB_KeyboardInputEvent_1_2 */
977 static PP_Resource
Pnacl_M34_PPB_KeyboardInputEvent_Create(PP_Instance instance
, PP_InputEvent_Type type
, PP_TimeTicks time_stamp
, uint32_t modifiers
, uint32_t key_code
, struct PP_Var
* character_text
, struct PP_Var
* code
) {
978 const struct PPB_KeyboardInputEvent_1_2
*iface
= Pnacl_WrapperInfo_PPB_KeyboardInputEvent_1_2
.real_iface
;
979 return iface
->Create(instance
, type
, time_stamp
, modifiers
, key_code
, *character_text
, *code
);
982 static PP_Bool
Pnacl_M34_PPB_KeyboardInputEvent_IsKeyboardInputEvent(PP_Resource resource
) {
983 const struct PPB_KeyboardInputEvent_1_2
*iface
= Pnacl_WrapperInfo_PPB_KeyboardInputEvent_1_2
.real_iface
;
984 return iface
->IsKeyboardInputEvent(resource
);
987 static uint32_t Pnacl_M34_PPB_KeyboardInputEvent_GetKeyCode(PP_Resource key_event
) {
988 const struct PPB_KeyboardInputEvent_1_2
*iface
= Pnacl_WrapperInfo_PPB_KeyboardInputEvent_1_2
.real_iface
;
989 return iface
->GetKeyCode(key_event
);
992 static void Pnacl_M34_PPB_KeyboardInputEvent_GetCharacterText(struct PP_Var
* _struct_result
, PP_Resource character_event
) {
993 const struct PPB_KeyboardInputEvent_1_2
*iface
= Pnacl_WrapperInfo_PPB_KeyboardInputEvent_1_2
.real_iface
;
994 *_struct_result
= iface
->GetCharacterText(character_event
);
997 static void Pnacl_M34_PPB_KeyboardInputEvent_GetCode(struct PP_Var
* _struct_result
, PP_Resource key_event
) {
998 const struct PPB_KeyboardInputEvent_1_2
*iface
= Pnacl_WrapperInfo_PPB_KeyboardInputEvent_1_2
.real_iface
;
999 *_struct_result
= iface
->GetCode(key_event
);
1002 /* End wrapper methods for PPB_KeyboardInputEvent_1_2 */
1004 /* Begin wrapper methods for PPB_TouchInputEvent_1_0 */
1006 static PP_Resource
Pnacl_M13_PPB_TouchInputEvent_Create(PP_Instance instance
, PP_InputEvent_Type type
, PP_TimeTicks time_stamp
, uint32_t modifiers
) {
1007 const struct PPB_TouchInputEvent_1_0
*iface
= Pnacl_WrapperInfo_PPB_TouchInputEvent_1_0
.real_iface
;
1008 return iface
->Create(instance
, type
, time_stamp
, modifiers
);
1011 static void Pnacl_M13_PPB_TouchInputEvent_AddTouchPoint(PP_Resource touch_event
, PP_TouchListType list
, const struct PP_TouchPoint
* point
) {
1012 const struct PPB_TouchInputEvent_1_0
*iface
= Pnacl_WrapperInfo_PPB_TouchInputEvent_1_0
.real_iface
;
1013 iface
->AddTouchPoint(touch_event
, list
, point
);
1016 static PP_Bool
Pnacl_M13_PPB_TouchInputEvent_IsTouchInputEvent(PP_Resource resource
) {
1017 const struct PPB_TouchInputEvent_1_0
*iface
= Pnacl_WrapperInfo_PPB_TouchInputEvent_1_0
.real_iface
;
1018 return iface
->IsTouchInputEvent(resource
);
1021 static uint32_t Pnacl_M13_PPB_TouchInputEvent_GetTouchCount(PP_Resource resource
, PP_TouchListType list
) {
1022 const struct PPB_TouchInputEvent_1_0
*iface
= Pnacl_WrapperInfo_PPB_TouchInputEvent_1_0
.real_iface
;
1023 return iface
->GetTouchCount(resource
, list
);
1026 static void Pnacl_M13_PPB_TouchInputEvent_GetTouchByIndex(struct PP_TouchPoint
* _struct_result
, PP_Resource resource
, PP_TouchListType list
, uint32_t index
) {
1027 const struct PPB_TouchInputEvent_1_0
*iface
= Pnacl_WrapperInfo_PPB_TouchInputEvent_1_0
.real_iface
;
1028 *_struct_result
= iface
->GetTouchByIndex(resource
, list
, index
);
1031 static void Pnacl_M13_PPB_TouchInputEvent_GetTouchById(struct PP_TouchPoint
* _struct_result
, PP_Resource resource
, PP_TouchListType list
, uint32_t touch_id
) {
1032 const struct PPB_TouchInputEvent_1_0
*iface
= Pnacl_WrapperInfo_PPB_TouchInputEvent_1_0
.real_iface
;
1033 *_struct_result
= iface
->GetTouchById(resource
, list
, touch_id
);
1036 /* End wrapper methods for PPB_TouchInputEvent_1_0 */
1038 /* Begin wrapper methods for PPB_IMEInputEvent_1_0 */
1040 static PP_Resource
Pnacl_M13_PPB_IMEInputEvent_Create(PP_Instance instance
, PP_InputEvent_Type type
, PP_TimeTicks time_stamp
, struct PP_Var
* text
, uint32_t segment_number
, const uint32_t segment_offsets
[], int32_t target_segment
, uint32_t selection_start
, uint32_t selection_end
) {
1041 const struct PPB_IMEInputEvent_1_0
*iface
= Pnacl_WrapperInfo_PPB_IMEInputEvent_1_0
.real_iface
;
1042 return iface
->Create(instance
, type
, time_stamp
, *text
, segment_number
, segment_offsets
, target_segment
, selection_start
, selection_end
);
1045 static PP_Bool
Pnacl_M13_PPB_IMEInputEvent_IsIMEInputEvent(PP_Resource resource
) {
1046 const struct PPB_IMEInputEvent_1_0
*iface
= Pnacl_WrapperInfo_PPB_IMEInputEvent_1_0
.real_iface
;
1047 return iface
->IsIMEInputEvent(resource
);
1050 static void Pnacl_M13_PPB_IMEInputEvent_GetText(struct PP_Var
* _struct_result
, PP_Resource ime_event
) {
1051 const struct PPB_IMEInputEvent_1_0
*iface
= Pnacl_WrapperInfo_PPB_IMEInputEvent_1_0
.real_iface
;
1052 *_struct_result
= iface
->GetText(ime_event
);
1055 static uint32_t Pnacl_M13_PPB_IMEInputEvent_GetSegmentNumber(PP_Resource ime_event
) {
1056 const struct PPB_IMEInputEvent_1_0
*iface
= Pnacl_WrapperInfo_PPB_IMEInputEvent_1_0
.real_iface
;
1057 return iface
->GetSegmentNumber(ime_event
);
1060 static uint32_t Pnacl_M13_PPB_IMEInputEvent_GetSegmentOffset(PP_Resource ime_event
, uint32_t index
) {
1061 const struct PPB_IMEInputEvent_1_0
*iface
= Pnacl_WrapperInfo_PPB_IMEInputEvent_1_0
.real_iface
;
1062 return iface
->GetSegmentOffset(ime_event
, index
);
1065 static int32_t Pnacl_M13_PPB_IMEInputEvent_GetTargetSegment(PP_Resource ime_event
) {
1066 const struct PPB_IMEInputEvent_1_0
*iface
= Pnacl_WrapperInfo_PPB_IMEInputEvent_1_0
.real_iface
;
1067 return iface
->GetTargetSegment(ime_event
);
1070 static void Pnacl_M13_PPB_IMEInputEvent_GetSelection(PP_Resource ime_event
, uint32_t* start
, uint32_t* end
) {
1071 const struct PPB_IMEInputEvent_1_0
*iface
= Pnacl_WrapperInfo_PPB_IMEInputEvent_1_0
.real_iface
;
1072 iface
->GetSelection(ime_event
, start
, end
);
1075 /* End wrapper methods for PPB_IMEInputEvent_1_0 */
1077 /* Not generating wrapper methods for PPB_Instance_1_0 */
1079 /* Begin wrapper methods for PPB_MediaStreamAudioTrack_0_1 */
1081 static PP_Bool
Pnacl_M35_PPB_MediaStreamAudioTrack_IsMediaStreamAudioTrack(PP_Resource resource
) {
1082 const struct PPB_MediaStreamAudioTrack_0_1
*iface
= Pnacl_WrapperInfo_PPB_MediaStreamAudioTrack_0_1
.real_iface
;
1083 return iface
->IsMediaStreamAudioTrack(resource
);
1086 static int32_t Pnacl_M35_PPB_MediaStreamAudioTrack_Configure(PP_Resource audio_track
, const int32_t attrib_list
[], struct PP_CompletionCallback
* callback
) {
1087 const struct PPB_MediaStreamAudioTrack_0_1
*iface
= Pnacl_WrapperInfo_PPB_MediaStreamAudioTrack_0_1
.real_iface
;
1088 return iface
->Configure(audio_track
, attrib_list
, *callback
);
1091 static int32_t Pnacl_M35_PPB_MediaStreamAudioTrack_GetAttrib(PP_Resource audio_track
, PP_MediaStreamAudioTrack_Attrib attrib
, int32_t* value
) {
1092 const struct PPB_MediaStreamAudioTrack_0_1
*iface
= Pnacl_WrapperInfo_PPB_MediaStreamAudioTrack_0_1
.real_iface
;
1093 return iface
->GetAttrib(audio_track
, attrib
, value
);
1096 static void Pnacl_M35_PPB_MediaStreamAudioTrack_GetId(struct PP_Var
* _struct_result
, PP_Resource audio_track
) {
1097 const struct PPB_MediaStreamAudioTrack_0_1
*iface
= Pnacl_WrapperInfo_PPB_MediaStreamAudioTrack_0_1
.real_iface
;
1098 *_struct_result
= iface
->GetId(audio_track
);
1101 static PP_Bool
Pnacl_M35_PPB_MediaStreamAudioTrack_HasEnded(PP_Resource audio_track
) {
1102 const struct PPB_MediaStreamAudioTrack_0_1
*iface
= Pnacl_WrapperInfo_PPB_MediaStreamAudioTrack_0_1
.real_iface
;
1103 return iface
->HasEnded(audio_track
);
1106 static int32_t Pnacl_M35_PPB_MediaStreamAudioTrack_GetBuffer(PP_Resource audio_track
, PP_Resource
* buffer
, struct PP_CompletionCallback
* callback
) {
1107 const struct PPB_MediaStreamAudioTrack_0_1
*iface
= Pnacl_WrapperInfo_PPB_MediaStreamAudioTrack_0_1
.real_iface
;
1108 return iface
->GetBuffer(audio_track
, buffer
, *callback
);
1111 static int32_t Pnacl_M35_PPB_MediaStreamAudioTrack_RecycleBuffer(PP_Resource audio_track
, PP_Resource buffer
) {
1112 const struct PPB_MediaStreamAudioTrack_0_1
*iface
= Pnacl_WrapperInfo_PPB_MediaStreamAudioTrack_0_1
.real_iface
;
1113 return iface
->RecycleBuffer(audio_track
, buffer
);
1116 static void Pnacl_M35_PPB_MediaStreamAudioTrack_Close(PP_Resource audio_track
) {
1117 const struct PPB_MediaStreamAudioTrack_0_1
*iface
= Pnacl_WrapperInfo_PPB_MediaStreamAudioTrack_0_1
.real_iface
;
1118 iface
->Close(audio_track
);
1121 /* End wrapper methods for PPB_MediaStreamAudioTrack_0_1 */
1123 /* Begin wrapper methods for PPB_MediaStreamVideoTrack_0_1 */
1125 static PP_Bool
Pnacl_M35_PPB_MediaStreamVideoTrack_IsMediaStreamVideoTrack(PP_Resource resource
) {
1126 const struct PPB_MediaStreamVideoTrack_0_1
*iface
= Pnacl_WrapperInfo_PPB_MediaStreamVideoTrack_0_1
.real_iface
;
1127 return iface
->IsMediaStreamVideoTrack(resource
);
1130 static int32_t Pnacl_M35_PPB_MediaStreamVideoTrack_Configure(PP_Resource video_track
, const int32_t attrib_list
[], struct PP_CompletionCallback
* callback
) {
1131 const struct PPB_MediaStreamVideoTrack_0_1
*iface
= Pnacl_WrapperInfo_PPB_MediaStreamVideoTrack_0_1
.real_iface
;
1132 return iface
->Configure(video_track
, attrib_list
, *callback
);
1135 static int32_t Pnacl_M35_PPB_MediaStreamVideoTrack_GetAttrib(PP_Resource video_track
, PP_MediaStreamVideoTrack_Attrib attrib
, int32_t* value
) {
1136 const struct PPB_MediaStreamVideoTrack_0_1
*iface
= Pnacl_WrapperInfo_PPB_MediaStreamVideoTrack_0_1
.real_iface
;
1137 return iface
->GetAttrib(video_track
, attrib
, value
);
1140 static void Pnacl_M35_PPB_MediaStreamVideoTrack_GetId(struct PP_Var
* _struct_result
, PP_Resource video_track
) {
1141 const struct PPB_MediaStreamVideoTrack_0_1
*iface
= Pnacl_WrapperInfo_PPB_MediaStreamVideoTrack_0_1
.real_iface
;
1142 *_struct_result
= iface
->GetId(video_track
);
1145 static PP_Bool
Pnacl_M35_PPB_MediaStreamVideoTrack_HasEnded(PP_Resource video_track
) {
1146 const struct PPB_MediaStreamVideoTrack_0_1
*iface
= Pnacl_WrapperInfo_PPB_MediaStreamVideoTrack_0_1
.real_iface
;
1147 return iface
->HasEnded(video_track
);
1150 static int32_t Pnacl_M35_PPB_MediaStreamVideoTrack_GetFrame(PP_Resource video_track
, PP_Resource
* frame
, struct PP_CompletionCallback
* callback
) {
1151 const struct PPB_MediaStreamVideoTrack_0_1
*iface
= Pnacl_WrapperInfo_PPB_MediaStreamVideoTrack_0_1
.real_iface
;
1152 return iface
->GetFrame(video_track
, frame
, *callback
);
1155 static int32_t Pnacl_M35_PPB_MediaStreamVideoTrack_RecycleFrame(PP_Resource video_track
, PP_Resource frame
) {
1156 const struct PPB_MediaStreamVideoTrack_0_1
*iface
= Pnacl_WrapperInfo_PPB_MediaStreamVideoTrack_0_1
.real_iface
;
1157 return iface
->RecycleFrame(video_track
, frame
);
1160 static void Pnacl_M35_PPB_MediaStreamVideoTrack_Close(PP_Resource video_track
) {
1161 const struct PPB_MediaStreamVideoTrack_0_1
*iface
= Pnacl_WrapperInfo_PPB_MediaStreamVideoTrack_0_1
.real_iface
;
1162 iface
->Close(video_track
);
1165 /* End wrapper methods for PPB_MediaStreamVideoTrack_0_1 */
1167 /* Begin wrapper methods for PPB_MediaStreamVideoTrack_1_0 */
1169 static PP_Resource
Pnacl_M36_PPB_MediaStreamVideoTrack_Create(PP_Instance instance
) {
1170 const struct PPB_MediaStreamVideoTrack_1_0
*iface
= Pnacl_WrapperInfo_PPB_MediaStreamVideoTrack_1_0
.real_iface
;
1171 return iface
->Create(instance
);
1174 static PP_Bool
Pnacl_M36_PPB_MediaStreamVideoTrack_IsMediaStreamVideoTrack(PP_Resource resource
) {
1175 const struct PPB_MediaStreamVideoTrack_1_0
*iface
= Pnacl_WrapperInfo_PPB_MediaStreamVideoTrack_1_0
.real_iface
;
1176 return iface
->IsMediaStreamVideoTrack(resource
);
1179 static int32_t Pnacl_M36_PPB_MediaStreamVideoTrack_Configure(PP_Resource video_track
, const int32_t attrib_list
[], struct PP_CompletionCallback
* callback
) {
1180 const struct PPB_MediaStreamVideoTrack_1_0
*iface
= Pnacl_WrapperInfo_PPB_MediaStreamVideoTrack_1_0
.real_iface
;
1181 return iface
->Configure(video_track
, attrib_list
, *callback
);
1184 static int32_t Pnacl_M36_PPB_MediaStreamVideoTrack_GetAttrib(PP_Resource video_track
, PP_MediaStreamVideoTrack_Attrib attrib
, int32_t* value
) {
1185 const struct PPB_MediaStreamVideoTrack_1_0
*iface
= Pnacl_WrapperInfo_PPB_MediaStreamVideoTrack_1_0
.real_iface
;
1186 return iface
->GetAttrib(video_track
, attrib
, value
);
1189 static void Pnacl_M36_PPB_MediaStreamVideoTrack_GetId(struct PP_Var
* _struct_result
, PP_Resource video_track
) {
1190 const struct PPB_MediaStreamVideoTrack_1_0
*iface
= Pnacl_WrapperInfo_PPB_MediaStreamVideoTrack_1_0
.real_iface
;
1191 *_struct_result
= iface
->GetId(video_track
);
1194 static PP_Bool
Pnacl_M36_PPB_MediaStreamVideoTrack_HasEnded(PP_Resource video_track
) {
1195 const struct PPB_MediaStreamVideoTrack_1_0
*iface
= Pnacl_WrapperInfo_PPB_MediaStreamVideoTrack_1_0
.real_iface
;
1196 return iface
->HasEnded(video_track
);
1199 static int32_t Pnacl_M36_PPB_MediaStreamVideoTrack_GetFrame(PP_Resource video_track
, PP_Resource
* frame
, struct PP_CompletionCallback
* callback
) {
1200 const struct PPB_MediaStreamVideoTrack_1_0
*iface
= Pnacl_WrapperInfo_PPB_MediaStreamVideoTrack_1_0
.real_iface
;
1201 return iface
->GetFrame(video_track
, frame
, *callback
);
1204 static int32_t Pnacl_M36_PPB_MediaStreamVideoTrack_RecycleFrame(PP_Resource video_track
, PP_Resource frame
) {
1205 const struct PPB_MediaStreamVideoTrack_1_0
*iface
= Pnacl_WrapperInfo_PPB_MediaStreamVideoTrack_1_0
.real_iface
;
1206 return iface
->RecycleFrame(video_track
, frame
);
1209 static void Pnacl_M36_PPB_MediaStreamVideoTrack_Close(PP_Resource video_track
) {
1210 const struct PPB_MediaStreamVideoTrack_1_0
*iface
= Pnacl_WrapperInfo_PPB_MediaStreamVideoTrack_1_0
.real_iface
;
1211 iface
->Close(video_track
);
1214 static int32_t Pnacl_M36_PPB_MediaStreamVideoTrack_GetEmptyFrame(PP_Resource video_track
, PP_Resource
* frame
, struct PP_CompletionCallback
* callback
) {
1215 const struct PPB_MediaStreamVideoTrack_1_0
*iface
= Pnacl_WrapperInfo_PPB_MediaStreamVideoTrack_1_0
.real_iface
;
1216 return iface
->GetEmptyFrame(video_track
, frame
, *callback
);
1219 static int32_t Pnacl_M36_PPB_MediaStreamVideoTrack_PutFrame(PP_Resource video_track
, PP_Resource frame
) {
1220 const struct PPB_MediaStreamVideoTrack_1_0
*iface
= Pnacl_WrapperInfo_PPB_MediaStreamVideoTrack_1_0
.real_iface
;
1221 return iface
->PutFrame(video_track
, frame
);
1224 /* End wrapper methods for PPB_MediaStreamVideoTrack_1_0 */
1226 /* Begin wrapper methods for PPB_MessageLoop_1_0 */
1228 static PP_Resource
Pnacl_M25_PPB_MessageLoop_Create(PP_Instance instance
) {
1229 const struct PPB_MessageLoop_1_0
*iface
= Pnacl_WrapperInfo_PPB_MessageLoop_1_0
.real_iface
;
1230 return iface
->Create(instance
);
1233 static PP_Resource
Pnacl_M25_PPB_MessageLoop_GetForMainThread(void) {
1234 const struct PPB_MessageLoop_1_0
*iface
= Pnacl_WrapperInfo_PPB_MessageLoop_1_0
.real_iface
;
1235 return iface
->GetForMainThread();
1238 static PP_Resource
Pnacl_M25_PPB_MessageLoop_GetCurrent(void) {
1239 const struct PPB_MessageLoop_1_0
*iface
= Pnacl_WrapperInfo_PPB_MessageLoop_1_0
.real_iface
;
1240 return iface
->GetCurrent();
1243 static int32_t Pnacl_M25_PPB_MessageLoop_AttachToCurrentThread(PP_Resource message_loop
) {
1244 const struct PPB_MessageLoop_1_0
*iface
= Pnacl_WrapperInfo_PPB_MessageLoop_1_0
.real_iface
;
1245 return iface
->AttachToCurrentThread(message_loop
);
1248 static int32_t Pnacl_M25_PPB_MessageLoop_Run(PP_Resource message_loop
) {
1249 const struct PPB_MessageLoop_1_0
*iface
= Pnacl_WrapperInfo_PPB_MessageLoop_1_0
.real_iface
;
1250 return iface
->Run(message_loop
);
1253 static int32_t Pnacl_M25_PPB_MessageLoop_PostWork(PP_Resource message_loop
, struct PP_CompletionCallback
* callback
, int64_t delay_ms
) {
1254 const struct PPB_MessageLoop_1_0
*iface
= Pnacl_WrapperInfo_PPB_MessageLoop_1_0
.real_iface
;
1255 return iface
->PostWork(message_loop
, *callback
, delay_ms
);
1258 static int32_t Pnacl_M25_PPB_MessageLoop_PostQuit(PP_Resource message_loop
, PP_Bool should_destroy
) {
1259 const struct PPB_MessageLoop_1_0
*iface
= Pnacl_WrapperInfo_PPB_MessageLoop_1_0
.real_iface
;
1260 return iface
->PostQuit(message_loop
, should_destroy
);
1263 /* End wrapper methods for PPB_MessageLoop_1_0 */
1265 /* Begin wrapper methods for PPB_Messaging_1_0 */
1267 static void Pnacl_M14_PPB_Messaging_PostMessage(PP_Instance instance
, struct PP_Var
* message
) {
1268 const struct PPB_Messaging_1_0
*iface
= Pnacl_WrapperInfo_PPB_Messaging_1_0
.real_iface
;
1269 iface
->PostMessage(instance
, *message
);
1272 /* End wrapper methods for PPB_Messaging_1_0 */
1274 /* Begin wrapper methods for PPB_Messaging_1_1 */
1276 static void Pnacl_M37_PPB_Messaging_PostMessage(PP_Instance instance
, struct PP_Var
* message
) {
1277 const struct PPB_Messaging_1_1
*iface
= Pnacl_WrapperInfo_PPB_Messaging_1_1
.real_iface
;
1278 iface
->PostMessage(instance
, *message
);
1281 static int32_t Pnacl_M37_PPB_Messaging_RegisterMessageHandler(PP_Instance instance
, void* user_data
, const struct PPP_MessageHandler_0_1
* handler
, PP_Resource message_loop
) {
1282 const struct PPB_Messaging_1_1
*iface
= Pnacl_WrapperInfo_PPB_Messaging_1_1
.real_iface
;
1283 return iface
->RegisterMessageHandler(instance
, user_data
, handler
, message_loop
);
1286 static void Pnacl_M37_PPB_Messaging_UnregisterMessageHandler(PP_Instance instance
) {
1287 const struct PPB_Messaging_1_1
*iface
= Pnacl_WrapperInfo_PPB_Messaging_1_1
.real_iface
;
1288 iface
->UnregisterMessageHandler(instance
);
1291 /* End wrapper methods for PPB_Messaging_1_1 */
1293 /* Not generating wrapper methods for PPB_MouseCursor_1_0 */
1295 /* Begin wrapper methods for PPB_MouseLock_1_0 */
1297 static int32_t Pnacl_M16_PPB_MouseLock_LockMouse(PP_Instance instance
, struct PP_CompletionCallback
* callback
) {
1298 const struct PPB_MouseLock_1_0
*iface
= Pnacl_WrapperInfo_PPB_MouseLock_1_0
.real_iface
;
1299 return iface
->LockMouse(instance
, *callback
);
1302 static void Pnacl_M16_PPB_MouseLock_UnlockMouse(PP_Instance instance
) {
1303 const struct PPB_MouseLock_1_0
*iface
= Pnacl_WrapperInfo_PPB_MouseLock_1_0
.real_iface
;
1304 iface
->UnlockMouse(instance
);
1307 /* End wrapper methods for PPB_MouseLock_1_0 */
1309 /* Begin wrapper methods for PPB_NetAddress_1_0 */
1311 static PP_Resource
Pnacl_M29_PPB_NetAddress_CreateFromIPv4Address(PP_Instance instance
, const struct PP_NetAddress_IPv4
* ipv4_addr
) {
1312 const struct PPB_NetAddress_1_0
*iface
= Pnacl_WrapperInfo_PPB_NetAddress_1_0
.real_iface
;
1313 return iface
->CreateFromIPv4Address(instance
, ipv4_addr
);
1316 static PP_Resource
Pnacl_M29_PPB_NetAddress_CreateFromIPv6Address(PP_Instance instance
, const struct PP_NetAddress_IPv6
* ipv6_addr
) {
1317 const struct PPB_NetAddress_1_0
*iface
= Pnacl_WrapperInfo_PPB_NetAddress_1_0
.real_iface
;
1318 return iface
->CreateFromIPv6Address(instance
, ipv6_addr
);
1321 static PP_Bool
Pnacl_M29_PPB_NetAddress_IsNetAddress(PP_Resource resource
) {
1322 const struct PPB_NetAddress_1_0
*iface
= Pnacl_WrapperInfo_PPB_NetAddress_1_0
.real_iface
;
1323 return iface
->IsNetAddress(resource
);
1326 static PP_NetAddress_Family
Pnacl_M29_PPB_NetAddress_GetFamily(PP_Resource addr
) {
1327 const struct PPB_NetAddress_1_0
*iface
= Pnacl_WrapperInfo_PPB_NetAddress_1_0
.real_iface
;
1328 return iface
->GetFamily(addr
);
1331 static void Pnacl_M29_PPB_NetAddress_DescribeAsString(struct PP_Var
* _struct_result
, PP_Resource addr
, PP_Bool include_port
) {
1332 const struct PPB_NetAddress_1_0
*iface
= Pnacl_WrapperInfo_PPB_NetAddress_1_0
.real_iface
;
1333 *_struct_result
= iface
->DescribeAsString(addr
, include_port
);
1336 static PP_Bool
Pnacl_M29_PPB_NetAddress_DescribeAsIPv4Address(PP_Resource addr
, struct PP_NetAddress_IPv4
* ipv4_addr
) {
1337 const struct PPB_NetAddress_1_0
*iface
= Pnacl_WrapperInfo_PPB_NetAddress_1_0
.real_iface
;
1338 return iface
->DescribeAsIPv4Address(addr
, ipv4_addr
);
1341 static PP_Bool
Pnacl_M29_PPB_NetAddress_DescribeAsIPv6Address(PP_Resource addr
, struct PP_NetAddress_IPv6
* ipv6_addr
) {
1342 const struct PPB_NetAddress_1_0
*iface
= Pnacl_WrapperInfo_PPB_NetAddress_1_0
.real_iface
;
1343 return iface
->DescribeAsIPv6Address(addr
, ipv6_addr
);
1346 /* End wrapper methods for PPB_NetAddress_1_0 */
1348 /* Begin wrapper methods for PPB_NetworkList_1_0 */
1350 static PP_Bool
Pnacl_M31_PPB_NetworkList_IsNetworkList(PP_Resource resource
) {
1351 const struct PPB_NetworkList_1_0
*iface
= Pnacl_WrapperInfo_PPB_NetworkList_1_0
.real_iface
;
1352 return iface
->IsNetworkList(resource
);
1355 static uint32_t Pnacl_M31_PPB_NetworkList_GetCount(PP_Resource resource
) {
1356 const struct PPB_NetworkList_1_0
*iface
= Pnacl_WrapperInfo_PPB_NetworkList_1_0
.real_iface
;
1357 return iface
->GetCount(resource
);
1360 static void Pnacl_M31_PPB_NetworkList_GetName(struct PP_Var
* _struct_result
, PP_Resource resource
, uint32_t index
) {
1361 const struct PPB_NetworkList_1_0
*iface
= Pnacl_WrapperInfo_PPB_NetworkList_1_0
.real_iface
;
1362 *_struct_result
= iface
->GetName(resource
, index
);
1365 static PP_NetworkList_Type
Pnacl_M31_PPB_NetworkList_GetType(PP_Resource resource
, uint32_t index
) {
1366 const struct PPB_NetworkList_1_0
*iface
= Pnacl_WrapperInfo_PPB_NetworkList_1_0
.real_iface
;
1367 return iface
->GetType(resource
, index
);
1370 static PP_NetworkList_State
Pnacl_M31_PPB_NetworkList_GetState(PP_Resource resource
, uint32_t index
) {
1371 const struct PPB_NetworkList_1_0
*iface
= Pnacl_WrapperInfo_PPB_NetworkList_1_0
.real_iface
;
1372 return iface
->GetState(resource
, index
);
1375 static int32_t Pnacl_M31_PPB_NetworkList_GetIpAddresses(PP_Resource resource
, uint32_t index
, struct PP_ArrayOutput
* output
) {
1376 const struct PPB_NetworkList_1_0
*iface
= Pnacl_WrapperInfo_PPB_NetworkList_1_0
.real_iface
;
1377 return iface
->GetIpAddresses(resource
, index
, *output
);
1380 static void Pnacl_M31_PPB_NetworkList_GetDisplayName(struct PP_Var
* _struct_result
, PP_Resource resource
, uint32_t index
) {
1381 const struct PPB_NetworkList_1_0
*iface
= Pnacl_WrapperInfo_PPB_NetworkList_1_0
.real_iface
;
1382 *_struct_result
= iface
->GetDisplayName(resource
, index
);
1385 static uint32_t Pnacl_M31_PPB_NetworkList_GetMTU(PP_Resource resource
, uint32_t index
) {
1386 const struct PPB_NetworkList_1_0
*iface
= Pnacl_WrapperInfo_PPB_NetworkList_1_0
.real_iface
;
1387 return iface
->GetMTU(resource
, index
);
1390 /* End wrapper methods for PPB_NetworkList_1_0 */
1392 /* Begin wrapper methods for PPB_NetworkMonitor_1_0 */
1394 static PP_Resource
Pnacl_M31_PPB_NetworkMonitor_Create(PP_Instance instance
) {
1395 const struct PPB_NetworkMonitor_1_0
*iface
= Pnacl_WrapperInfo_PPB_NetworkMonitor_1_0
.real_iface
;
1396 return iface
->Create(instance
);
1399 static int32_t Pnacl_M31_PPB_NetworkMonitor_UpdateNetworkList(PP_Resource network_monitor
, PP_Resource
* network_list
, struct PP_CompletionCallback
* callback
) {
1400 const struct PPB_NetworkMonitor_1_0
*iface
= Pnacl_WrapperInfo_PPB_NetworkMonitor_1_0
.real_iface
;
1401 return iface
->UpdateNetworkList(network_monitor
, network_list
, *callback
);
1404 static PP_Bool
Pnacl_M31_PPB_NetworkMonitor_IsNetworkMonitor(PP_Resource resource
) {
1405 const struct PPB_NetworkMonitor_1_0
*iface
= Pnacl_WrapperInfo_PPB_NetworkMonitor_1_0
.real_iface
;
1406 return iface
->IsNetworkMonitor(resource
);
1409 /* End wrapper methods for PPB_NetworkMonitor_1_0 */
1411 /* Begin wrapper methods for PPB_NetworkProxy_1_0 */
1413 static int32_t Pnacl_M29_PPB_NetworkProxy_GetProxyForURL(PP_Instance instance
, struct PP_Var
* url
, struct PP_Var
* proxy_string
, struct PP_CompletionCallback
* callback
) {
1414 const struct PPB_NetworkProxy_1_0
*iface
= Pnacl_WrapperInfo_PPB_NetworkProxy_1_0
.real_iface
;
1415 return iface
->GetProxyForURL(instance
, *url
, proxy_string
, *callback
);
1418 /* End wrapper methods for PPB_NetworkProxy_1_0 */
1420 /* Begin wrapper methods for PPB_TCPSocket_1_0 */
1422 static PP_Resource
Pnacl_M29_PPB_TCPSocket_Create(PP_Instance instance
) {
1423 const struct PPB_TCPSocket_1_0
*iface
= Pnacl_WrapperInfo_PPB_TCPSocket_1_0
.real_iface
;
1424 return iface
->Create(instance
);
1427 static PP_Bool
Pnacl_M29_PPB_TCPSocket_IsTCPSocket(PP_Resource resource
) {
1428 const struct PPB_TCPSocket_1_0
*iface
= Pnacl_WrapperInfo_PPB_TCPSocket_1_0
.real_iface
;
1429 return iface
->IsTCPSocket(resource
);
1432 static int32_t Pnacl_M29_PPB_TCPSocket_Connect(PP_Resource tcp_socket
, PP_Resource addr
, struct PP_CompletionCallback
* callback
) {
1433 const struct PPB_TCPSocket_1_0
*iface
= Pnacl_WrapperInfo_PPB_TCPSocket_1_0
.real_iface
;
1434 return iface
->Connect(tcp_socket
, addr
, *callback
);
1437 static PP_Resource
Pnacl_M29_PPB_TCPSocket_GetLocalAddress(PP_Resource tcp_socket
) {
1438 const struct PPB_TCPSocket_1_0
*iface
= Pnacl_WrapperInfo_PPB_TCPSocket_1_0
.real_iface
;
1439 return iface
->GetLocalAddress(tcp_socket
);
1442 static PP_Resource
Pnacl_M29_PPB_TCPSocket_GetRemoteAddress(PP_Resource tcp_socket
) {
1443 const struct PPB_TCPSocket_1_0
*iface
= Pnacl_WrapperInfo_PPB_TCPSocket_1_0
.real_iface
;
1444 return iface
->GetRemoteAddress(tcp_socket
);
1447 static int32_t Pnacl_M29_PPB_TCPSocket_Read(PP_Resource tcp_socket
, char* buffer
, int32_t bytes_to_read
, struct PP_CompletionCallback
* callback
) {
1448 const struct PPB_TCPSocket_1_0
*iface
= Pnacl_WrapperInfo_PPB_TCPSocket_1_0
.real_iface
;
1449 return iface
->Read(tcp_socket
, buffer
, bytes_to_read
, *callback
);
1452 static int32_t Pnacl_M29_PPB_TCPSocket_Write(PP_Resource tcp_socket
, const char* buffer
, int32_t bytes_to_write
, struct PP_CompletionCallback
* callback
) {
1453 const struct PPB_TCPSocket_1_0
*iface
= Pnacl_WrapperInfo_PPB_TCPSocket_1_0
.real_iface
;
1454 return iface
->Write(tcp_socket
, buffer
, bytes_to_write
, *callback
);
1457 static void Pnacl_M29_PPB_TCPSocket_Close(PP_Resource tcp_socket
) {
1458 const struct PPB_TCPSocket_1_0
*iface
= Pnacl_WrapperInfo_PPB_TCPSocket_1_0
.real_iface
;
1459 iface
->Close(tcp_socket
);
1462 static int32_t Pnacl_M29_PPB_TCPSocket_SetOption(PP_Resource tcp_socket
, PP_TCPSocket_Option name
, struct PP_Var
* value
, struct PP_CompletionCallback
* callback
) {
1463 const struct PPB_TCPSocket_1_0
*iface
= Pnacl_WrapperInfo_PPB_TCPSocket_1_0
.real_iface
;
1464 return iface
->SetOption(tcp_socket
, name
, *value
, *callback
);
1467 /* End wrapper methods for PPB_TCPSocket_1_0 */
1469 /* Begin wrapper methods for PPB_TCPSocket_1_1 */
1471 static PP_Resource
Pnacl_M31_PPB_TCPSocket_Create(PP_Instance instance
) {
1472 const struct PPB_TCPSocket_1_1
*iface
= Pnacl_WrapperInfo_PPB_TCPSocket_1_1
.real_iface
;
1473 return iface
->Create(instance
);
1476 static PP_Bool
Pnacl_M31_PPB_TCPSocket_IsTCPSocket(PP_Resource resource
) {
1477 const struct PPB_TCPSocket_1_1
*iface
= Pnacl_WrapperInfo_PPB_TCPSocket_1_1
.real_iface
;
1478 return iface
->IsTCPSocket(resource
);
1481 static int32_t Pnacl_M31_PPB_TCPSocket_Bind(PP_Resource tcp_socket
, PP_Resource addr
, struct PP_CompletionCallback
* callback
) {
1482 const struct PPB_TCPSocket_1_1
*iface
= Pnacl_WrapperInfo_PPB_TCPSocket_1_1
.real_iface
;
1483 return iface
->Bind(tcp_socket
, addr
, *callback
);
1486 static int32_t Pnacl_M31_PPB_TCPSocket_Connect(PP_Resource tcp_socket
, PP_Resource addr
, struct PP_CompletionCallback
* callback
) {
1487 const struct PPB_TCPSocket_1_1
*iface
= Pnacl_WrapperInfo_PPB_TCPSocket_1_1
.real_iface
;
1488 return iface
->Connect(tcp_socket
, addr
, *callback
);
1491 static PP_Resource
Pnacl_M31_PPB_TCPSocket_GetLocalAddress(PP_Resource tcp_socket
) {
1492 const struct PPB_TCPSocket_1_1
*iface
= Pnacl_WrapperInfo_PPB_TCPSocket_1_1
.real_iface
;
1493 return iface
->GetLocalAddress(tcp_socket
);
1496 static PP_Resource
Pnacl_M31_PPB_TCPSocket_GetRemoteAddress(PP_Resource tcp_socket
) {
1497 const struct PPB_TCPSocket_1_1
*iface
= Pnacl_WrapperInfo_PPB_TCPSocket_1_1
.real_iface
;
1498 return iface
->GetRemoteAddress(tcp_socket
);
1501 static int32_t Pnacl_M31_PPB_TCPSocket_Read(PP_Resource tcp_socket
, char* buffer
, int32_t bytes_to_read
, struct PP_CompletionCallback
* callback
) {
1502 const struct PPB_TCPSocket_1_1
*iface
= Pnacl_WrapperInfo_PPB_TCPSocket_1_1
.real_iface
;
1503 return iface
->Read(tcp_socket
, buffer
, bytes_to_read
, *callback
);
1506 static int32_t Pnacl_M31_PPB_TCPSocket_Write(PP_Resource tcp_socket
, const char* buffer
, int32_t bytes_to_write
, struct PP_CompletionCallback
* callback
) {
1507 const struct PPB_TCPSocket_1_1
*iface
= Pnacl_WrapperInfo_PPB_TCPSocket_1_1
.real_iface
;
1508 return iface
->Write(tcp_socket
, buffer
, bytes_to_write
, *callback
);
1511 static int32_t Pnacl_M31_PPB_TCPSocket_Listen(PP_Resource tcp_socket
, int32_t backlog
, struct PP_CompletionCallback
* callback
) {
1512 const struct PPB_TCPSocket_1_1
*iface
= Pnacl_WrapperInfo_PPB_TCPSocket_1_1
.real_iface
;
1513 return iface
->Listen(tcp_socket
, backlog
, *callback
);
1516 static int32_t Pnacl_M31_PPB_TCPSocket_Accept(PP_Resource tcp_socket
, PP_Resource
* accepted_tcp_socket
, struct PP_CompletionCallback
* callback
) {
1517 const struct PPB_TCPSocket_1_1
*iface
= Pnacl_WrapperInfo_PPB_TCPSocket_1_1
.real_iface
;
1518 return iface
->Accept(tcp_socket
, accepted_tcp_socket
, *callback
);
1521 static void Pnacl_M31_PPB_TCPSocket_Close(PP_Resource tcp_socket
) {
1522 const struct PPB_TCPSocket_1_1
*iface
= Pnacl_WrapperInfo_PPB_TCPSocket_1_1
.real_iface
;
1523 iface
->Close(tcp_socket
);
1526 static int32_t Pnacl_M31_PPB_TCPSocket_SetOption(PP_Resource tcp_socket
, PP_TCPSocket_Option name
, struct PP_Var
* value
, struct PP_CompletionCallback
* callback
) {
1527 const struct PPB_TCPSocket_1_1
*iface
= Pnacl_WrapperInfo_PPB_TCPSocket_1_1
.real_iface
;
1528 return iface
->SetOption(tcp_socket
, name
, *value
, *callback
);
1531 /* End wrapper methods for PPB_TCPSocket_1_1 */
1533 /* Begin wrapper methods for PPB_TextInputController_1_0 */
1535 static void Pnacl_M30_PPB_TextInputController_SetTextInputType(PP_Instance instance
, PP_TextInput_Type type
) {
1536 const struct PPB_TextInputController_1_0
*iface
= Pnacl_WrapperInfo_PPB_TextInputController_1_0
.real_iface
;
1537 iface
->SetTextInputType(instance
, type
);
1540 static void Pnacl_M30_PPB_TextInputController_UpdateCaretPosition(PP_Instance instance
, const struct PP_Rect
* caret
) {
1541 const struct PPB_TextInputController_1_0
*iface
= Pnacl_WrapperInfo_PPB_TextInputController_1_0
.real_iface
;
1542 iface
->UpdateCaretPosition(instance
, caret
);
1545 static void Pnacl_M30_PPB_TextInputController_CancelCompositionText(PP_Instance instance
) {
1546 const struct PPB_TextInputController_1_0
*iface
= Pnacl_WrapperInfo_PPB_TextInputController_1_0
.real_iface
;
1547 iface
->CancelCompositionText(instance
);
1550 static void Pnacl_M30_PPB_TextInputController_UpdateSurroundingText(PP_Instance instance
, struct PP_Var
* text
, uint32_t caret
, uint32_t anchor
) {
1551 const struct PPB_TextInputController_1_0
*iface
= Pnacl_WrapperInfo_PPB_TextInputController_1_0
.real_iface
;
1552 iface
->UpdateSurroundingText(instance
, *text
, caret
, anchor
);
1555 /* End wrapper methods for PPB_TextInputController_1_0 */
1557 /* Begin wrapper methods for PPB_UDPSocket_1_0 */
1559 static PP_Resource
Pnacl_M29_PPB_UDPSocket_Create(PP_Instance instance
) {
1560 const struct PPB_UDPSocket_1_0
*iface
= Pnacl_WrapperInfo_PPB_UDPSocket_1_0
.real_iface
;
1561 return iface
->Create(instance
);
1564 static PP_Bool
Pnacl_M29_PPB_UDPSocket_IsUDPSocket(PP_Resource resource
) {
1565 const struct PPB_UDPSocket_1_0
*iface
= Pnacl_WrapperInfo_PPB_UDPSocket_1_0
.real_iface
;
1566 return iface
->IsUDPSocket(resource
);
1569 static int32_t Pnacl_M29_PPB_UDPSocket_Bind(PP_Resource udp_socket
, PP_Resource addr
, struct PP_CompletionCallback
* callback
) {
1570 const struct PPB_UDPSocket_1_0
*iface
= Pnacl_WrapperInfo_PPB_UDPSocket_1_0
.real_iface
;
1571 return iface
->Bind(udp_socket
, addr
, *callback
);
1574 static PP_Resource
Pnacl_M29_PPB_UDPSocket_GetBoundAddress(PP_Resource udp_socket
) {
1575 const struct PPB_UDPSocket_1_0
*iface
= Pnacl_WrapperInfo_PPB_UDPSocket_1_0
.real_iface
;
1576 return iface
->GetBoundAddress(udp_socket
);
1579 static int32_t Pnacl_M29_PPB_UDPSocket_RecvFrom(PP_Resource udp_socket
, char* buffer
, int32_t num_bytes
, PP_Resource
* addr
, struct PP_CompletionCallback
* callback
) {
1580 const struct PPB_UDPSocket_1_0
*iface
= Pnacl_WrapperInfo_PPB_UDPSocket_1_0
.real_iface
;
1581 return iface
->RecvFrom(udp_socket
, buffer
, num_bytes
, addr
, *callback
);
1584 static int32_t Pnacl_M29_PPB_UDPSocket_SendTo(PP_Resource udp_socket
, const char* buffer
, int32_t num_bytes
, PP_Resource addr
, struct PP_CompletionCallback
* callback
) {
1585 const struct PPB_UDPSocket_1_0
*iface
= Pnacl_WrapperInfo_PPB_UDPSocket_1_0
.real_iface
;
1586 return iface
->SendTo(udp_socket
, buffer
, num_bytes
, addr
, *callback
);
1589 static void Pnacl_M29_PPB_UDPSocket_Close(PP_Resource udp_socket
) {
1590 const struct PPB_UDPSocket_1_0
*iface
= Pnacl_WrapperInfo_PPB_UDPSocket_1_0
.real_iface
;
1591 iface
->Close(udp_socket
);
1594 static int32_t Pnacl_M29_PPB_UDPSocket_SetOption(PP_Resource udp_socket
, PP_UDPSocket_Option name
, struct PP_Var
* value
, struct PP_CompletionCallback
* callback
) {
1595 const struct PPB_UDPSocket_1_0
*iface
= Pnacl_WrapperInfo_PPB_UDPSocket_1_0
.real_iface
;
1596 return iface
->SetOption(udp_socket
, name
, *value
, *callback
);
1599 /* End wrapper methods for PPB_UDPSocket_1_0 */
1601 /* Begin wrapper methods for PPB_URLLoader_1_0 */
1603 static PP_Resource
Pnacl_M14_PPB_URLLoader_Create(PP_Instance instance
) {
1604 const struct PPB_URLLoader_1_0
*iface
= Pnacl_WrapperInfo_PPB_URLLoader_1_0
.real_iface
;
1605 return iface
->Create(instance
);
1608 static PP_Bool
Pnacl_M14_PPB_URLLoader_IsURLLoader(PP_Resource resource
) {
1609 const struct PPB_URLLoader_1_0
*iface
= Pnacl_WrapperInfo_PPB_URLLoader_1_0
.real_iface
;
1610 return iface
->IsURLLoader(resource
);
1613 static int32_t Pnacl_M14_PPB_URLLoader_Open(PP_Resource loader
, PP_Resource request_info
, struct PP_CompletionCallback
* callback
) {
1614 const struct PPB_URLLoader_1_0
*iface
= Pnacl_WrapperInfo_PPB_URLLoader_1_0
.real_iface
;
1615 return iface
->Open(loader
, request_info
, *callback
);
1618 static int32_t Pnacl_M14_PPB_URLLoader_FollowRedirect(PP_Resource loader
, struct PP_CompletionCallback
* callback
) {
1619 const struct PPB_URLLoader_1_0
*iface
= Pnacl_WrapperInfo_PPB_URLLoader_1_0
.real_iface
;
1620 return iface
->FollowRedirect(loader
, *callback
);
1623 static PP_Bool
Pnacl_M14_PPB_URLLoader_GetUploadProgress(PP_Resource loader
, int64_t* bytes_sent
, int64_t* total_bytes_to_be_sent
) {
1624 const struct PPB_URLLoader_1_0
*iface
= Pnacl_WrapperInfo_PPB_URLLoader_1_0
.real_iface
;
1625 return iface
->GetUploadProgress(loader
, bytes_sent
, total_bytes_to_be_sent
);
1628 static PP_Bool
Pnacl_M14_PPB_URLLoader_GetDownloadProgress(PP_Resource loader
, int64_t* bytes_received
, int64_t* total_bytes_to_be_received
) {
1629 const struct PPB_URLLoader_1_0
*iface
= Pnacl_WrapperInfo_PPB_URLLoader_1_0
.real_iface
;
1630 return iface
->GetDownloadProgress(loader
, bytes_received
, total_bytes_to_be_received
);
1633 static PP_Resource
Pnacl_M14_PPB_URLLoader_GetResponseInfo(PP_Resource loader
) {
1634 const struct PPB_URLLoader_1_0
*iface
= Pnacl_WrapperInfo_PPB_URLLoader_1_0
.real_iface
;
1635 return iface
->GetResponseInfo(loader
);
1638 static int32_t Pnacl_M14_PPB_URLLoader_ReadResponseBody(PP_Resource loader
, void* buffer
, int32_t bytes_to_read
, struct PP_CompletionCallback
* callback
) {
1639 const struct PPB_URLLoader_1_0
*iface
= Pnacl_WrapperInfo_PPB_URLLoader_1_0
.real_iface
;
1640 return iface
->ReadResponseBody(loader
, buffer
, bytes_to_read
, *callback
);
1643 static int32_t Pnacl_M14_PPB_URLLoader_FinishStreamingToFile(PP_Resource loader
, struct PP_CompletionCallback
* callback
) {
1644 const struct PPB_URLLoader_1_0
*iface
= Pnacl_WrapperInfo_PPB_URLLoader_1_0
.real_iface
;
1645 return iface
->FinishStreamingToFile(loader
, *callback
);
1648 static void Pnacl_M14_PPB_URLLoader_Close(PP_Resource loader
) {
1649 const struct PPB_URLLoader_1_0
*iface
= Pnacl_WrapperInfo_PPB_URLLoader_1_0
.real_iface
;
1650 iface
->Close(loader
);
1653 /* End wrapper methods for PPB_URLLoader_1_0 */
1655 /* Begin wrapper methods for PPB_URLRequestInfo_1_0 */
1657 static PP_Resource
Pnacl_M14_PPB_URLRequestInfo_Create(PP_Instance instance
) {
1658 const struct PPB_URLRequestInfo_1_0
*iface
= Pnacl_WrapperInfo_PPB_URLRequestInfo_1_0
.real_iface
;
1659 return iface
->Create(instance
);
1662 static PP_Bool
Pnacl_M14_PPB_URLRequestInfo_IsURLRequestInfo(PP_Resource resource
) {
1663 const struct PPB_URLRequestInfo_1_0
*iface
= Pnacl_WrapperInfo_PPB_URLRequestInfo_1_0
.real_iface
;
1664 return iface
->IsURLRequestInfo(resource
);
1667 static PP_Bool
Pnacl_M14_PPB_URLRequestInfo_SetProperty(PP_Resource request
, PP_URLRequestProperty property
, struct PP_Var
* value
) {
1668 const struct PPB_URLRequestInfo_1_0
*iface
= Pnacl_WrapperInfo_PPB_URLRequestInfo_1_0
.real_iface
;
1669 return iface
->SetProperty(request
, property
, *value
);
1672 static PP_Bool
Pnacl_M14_PPB_URLRequestInfo_AppendDataToBody(PP_Resource request
, const void* data
, uint32_t len
) {
1673 const struct PPB_URLRequestInfo_1_0
*iface
= Pnacl_WrapperInfo_PPB_URLRequestInfo_1_0
.real_iface
;
1674 return iface
->AppendDataToBody(request
, data
, len
);
1677 static PP_Bool
Pnacl_M14_PPB_URLRequestInfo_AppendFileToBody(PP_Resource request
, PP_Resource file_ref
, int64_t start_offset
, int64_t number_of_bytes
, PP_Time expected_last_modified_time
) {
1678 const struct PPB_URLRequestInfo_1_0
*iface
= Pnacl_WrapperInfo_PPB_URLRequestInfo_1_0
.real_iface
;
1679 return iface
->AppendFileToBody(request
, file_ref
, start_offset
, number_of_bytes
, expected_last_modified_time
);
1682 /* End wrapper methods for PPB_URLRequestInfo_1_0 */
1684 /* Begin wrapper methods for PPB_URLResponseInfo_1_0 */
1686 static PP_Bool
Pnacl_M14_PPB_URLResponseInfo_IsURLResponseInfo(PP_Resource resource
) {
1687 const struct PPB_URLResponseInfo_1_0
*iface
= Pnacl_WrapperInfo_PPB_URLResponseInfo_1_0
.real_iface
;
1688 return iface
->IsURLResponseInfo(resource
);
1691 static void Pnacl_M14_PPB_URLResponseInfo_GetProperty(struct PP_Var
* _struct_result
, PP_Resource response
, PP_URLResponseProperty property
) {
1692 const struct PPB_URLResponseInfo_1_0
*iface
= Pnacl_WrapperInfo_PPB_URLResponseInfo_1_0
.real_iface
;
1693 *_struct_result
= iface
->GetProperty(response
, property
);
1696 static PP_Resource
Pnacl_M14_PPB_URLResponseInfo_GetBodyAsFileRef(PP_Resource response
) {
1697 const struct PPB_URLResponseInfo_1_0
*iface
= Pnacl_WrapperInfo_PPB_URLResponseInfo_1_0
.real_iface
;
1698 return iface
->GetBodyAsFileRef(response
);
1701 /* End wrapper methods for PPB_URLResponseInfo_1_0 */
1703 /* Begin wrapper methods for PPB_Var_1_0 */
1705 static void Pnacl_M14_PPB_Var_AddRef(struct PP_Var
* var
) {
1706 const struct PPB_Var_1_0
*iface
= Pnacl_WrapperInfo_PPB_Var_1_0
.real_iface
;
1707 iface
->AddRef(*var
);
1710 static void Pnacl_M14_PPB_Var_Release(struct PP_Var
* var
) {
1711 const struct PPB_Var_1_0
*iface
= Pnacl_WrapperInfo_PPB_Var_1_0
.real_iface
;
1712 iface
->Release(*var
);
1715 static void Pnacl_M14_PPB_Var_VarFromUtf8(struct PP_Var
* _struct_result
, PP_Module module
, const char* data
, uint32_t len
) {
1716 const struct PPB_Var_1_0
*iface
= Pnacl_WrapperInfo_PPB_Var_1_0
.real_iface
;
1717 *_struct_result
= iface
->VarFromUtf8(module
, data
, len
);
1720 static const char* Pnacl_M14_PPB_Var_VarToUtf8(struct PP_Var
* var
, uint32_t* len
) {
1721 const struct PPB_Var_1_0
*iface
= Pnacl_WrapperInfo_PPB_Var_1_0
.real_iface
;
1722 return iface
->VarToUtf8(*var
, len
);
1725 /* End wrapper methods for PPB_Var_1_0 */
1727 /* Begin wrapper methods for PPB_Var_1_1 */
1729 static void Pnacl_M18_PPB_Var_AddRef(struct PP_Var
* var
) {
1730 const struct PPB_Var_1_1
*iface
= Pnacl_WrapperInfo_PPB_Var_1_1
.real_iface
;
1731 iface
->AddRef(*var
);
1734 static void Pnacl_M18_PPB_Var_Release(struct PP_Var
* var
) {
1735 const struct PPB_Var_1_1
*iface
= Pnacl_WrapperInfo_PPB_Var_1_1
.real_iface
;
1736 iface
->Release(*var
);
1739 static void Pnacl_M18_PPB_Var_VarFromUtf8(struct PP_Var
* _struct_result
, const char* data
, uint32_t len
) {
1740 const struct PPB_Var_1_1
*iface
= Pnacl_WrapperInfo_PPB_Var_1_1
.real_iface
;
1741 *_struct_result
= iface
->VarFromUtf8(data
, len
);
1744 static const char* Pnacl_M18_PPB_Var_VarToUtf8(struct PP_Var
* var
, uint32_t* len
) {
1745 const struct PPB_Var_1_1
*iface
= Pnacl_WrapperInfo_PPB_Var_1_1
.real_iface
;
1746 return iface
->VarToUtf8(*var
, len
);
1749 /* End wrapper methods for PPB_Var_1_1 */
1751 /* Begin wrapper methods for PPB_Var_1_2 */
1753 static void Pnacl_M34_PPB_Var_AddRef(struct PP_Var
* var
) {
1754 const struct PPB_Var_1_2
*iface
= Pnacl_WrapperInfo_PPB_Var_1_2
.real_iface
;
1755 iface
->AddRef(*var
);
1758 static void Pnacl_M34_PPB_Var_Release(struct PP_Var
* var
) {
1759 const struct PPB_Var_1_2
*iface
= Pnacl_WrapperInfo_PPB_Var_1_2
.real_iface
;
1760 iface
->Release(*var
);
1763 static void Pnacl_M34_PPB_Var_VarFromUtf8(struct PP_Var
* _struct_result
, const char* data
, uint32_t len
) {
1764 const struct PPB_Var_1_2
*iface
= Pnacl_WrapperInfo_PPB_Var_1_2
.real_iface
;
1765 *_struct_result
= iface
->VarFromUtf8(data
, len
);
1768 static const char* Pnacl_M34_PPB_Var_VarToUtf8(struct PP_Var
* var
, uint32_t* len
) {
1769 const struct PPB_Var_1_2
*iface
= Pnacl_WrapperInfo_PPB_Var_1_2
.real_iface
;
1770 return iface
->VarToUtf8(*var
, len
);
1773 static PP_Resource
Pnacl_M34_PPB_Var_VarToResource(struct PP_Var
* var
) {
1774 const struct PPB_Var_1_2
*iface
= Pnacl_WrapperInfo_PPB_Var_1_2
.real_iface
;
1775 return iface
->VarToResource(*var
);
1778 static void Pnacl_M34_PPB_Var_VarFromResource(struct PP_Var
* _struct_result
, PP_Resource resource
) {
1779 const struct PPB_Var_1_2
*iface
= Pnacl_WrapperInfo_PPB_Var_1_2
.real_iface
;
1780 *_struct_result
= iface
->VarFromResource(resource
);
1783 /* End wrapper methods for PPB_Var_1_2 */
1785 /* Begin wrapper methods for PPB_VarArray_1_0 */
1787 static void Pnacl_M29_PPB_VarArray_Create(struct PP_Var
* _struct_result
) {
1788 const struct PPB_VarArray_1_0
*iface
= Pnacl_WrapperInfo_PPB_VarArray_1_0
.real_iface
;
1789 *_struct_result
= iface
->Create();
1792 static void Pnacl_M29_PPB_VarArray_Get(struct PP_Var
* _struct_result
, struct PP_Var
* array
, uint32_t index
) {
1793 const struct PPB_VarArray_1_0
*iface
= Pnacl_WrapperInfo_PPB_VarArray_1_0
.real_iface
;
1794 *_struct_result
= iface
->Get(*array
, index
);
1797 static PP_Bool
Pnacl_M29_PPB_VarArray_Set(struct PP_Var
* array
, uint32_t index
, struct PP_Var
* value
) {
1798 const struct PPB_VarArray_1_0
*iface
= Pnacl_WrapperInfo_PPB_VarArray_1_0
.real_iface
;
1799 return iface
->Set(*array
, index
, *value
);
1802 static uint32_t Pnacl_M29_PPB_VarArray_GetLength(struct PP_Var
* array
) {
1803 const struct PPB_VarArray_1_0
*iface
= Pnacl_WrapperInfo_PPB_VarArray_1_0
.real_iface
;
1804 return iface
->GetLength(*array
);
1807 static PP_Bool
Pnacl_M29_PPB_VarArray_SetLength(struct PP_Var
* array
, uint32_t length
) {
1808 const struct PPB_VarArray_1_0
*iface
= Pnacl_WrapperInfo_PPB_VarArray_1_0
.real_iface
;
1809 return iface
->SetLength(*array
, length
);
1812 /* End wrapper methods for PPB_VarArray_1_0 */
1814 /* Begin wrapper methods for PPB_VarArrayBuffer_1_0 */
1816 static void Pnacl_M18_PPB_VarArrayBuffer_Create(struct PP_Var
* _struct_result
, uint32_t size_in_bytes
) {
1817 const struct PPB_VarArrayBuffer_1_0
*iface
= Pnacl_WrapperInfo_PPB_VarArrayBuffer_1_0
.real_iface
;
1818 *_struct_result
= iface
->Create(size_in_bytes
);
1821 static PP_Bool
Pnacl_M18_PPB_VarArrayBuffer_ByteLength(struct PP_Var
* array
, uint32_t* byte_length
) {
1822 const struct PPB_VarArrayBuffer_1_0
*iface
= Pnacl_WrapperInfo_PPB_VarArrayBuffer_1_0
.real_iface
;
1823 return iface
->ByteLength(*array
, byte_length
);
1826 static void* Pnacl_M18_PPB_VarArrayBuffer_Map(struct PP_Var
* array
) {
1827 const struct PPB_VarArrayBuffer_1_0
*iface
= Pnacl_WrapperInfo_PPB_VarArrayBuffer_1_0
.real_iface
;
1828 return iface
->Map(*array
);
1831 static void Pnacl_M18_PPB_VarArrayBuffer_Unmap(struct PP_Var
* array
) {
1832 const struct PPB_VarArrayBuffer_1_0
*iface
= Pnacl_WrapperInfo_PPB_VarArrayBuffer_1_0
.real_iface
;
1833 iface
->Unmap(*array
);
1836 /* End wrapper methods for PPB_VarArrayBuffer_1_0 */
1838 /* Begin wrapper methods for PPB_VarDictionary_1_0 */
1840 static void Pnacl_M29_PPB_VarDictionary_Create(struct PP_Var
* _struct_result
) {
1841 const struct PPB_VarDictionary_1_0
*iface
= Pnacl_WrapperInfo_PPB_VarDictionary_1_0
.real_iface
;
1842 *_struct_result
= iface
->Create();
1845 static void Pnacl_M29_PPB_VarDictionary_Get(struct PP_Var
* _struct_result
, struct PP_Var
* dict
, struct PP_Var
* key
) {
1846 const struct PPB_VarDictionary_1_0
*iface
= Pnacl_WrapperInfo_PPB_VarDictionary_1_0
.real_iface
;
1847 *_struct_result
= iface
->Get(*dict
, *key
);
1850 static PP_Bool
Pnacl_M29_PPB_VarDictionary_Set(struct PP_Var
* dict
, struct PP_Var
* key
, struct PP_Var
* value
) {
1851 const struct PPB_VarDictionary_1_0
*iface
= Pnacl_WrapperInfo_PPB_VarDictionary_1_0
.real_iface
;
1852 return iface
->Set(*dict
, *key
, *value
);
1855 static void Pnacl_M29_PPB_VarDictionary_Delete(struct PP_Var
* dict
, struct PP_Var
* key
) {
1856 const struct PPB_VarDictionary_1_0
*iface
= Pnacl_WrapperInfo_PPB_VarDictionary_1_0
.real_iface
;
1857 iface
->Delete(*dict
, *key
);
1860 static PP_Bool
Pnacl_M29_PPB_VarDictionary_HasKey(struct PP_Var
* dict
, struct PP_Var
* key
) {
1861 const struct PPB_VarDictionary_1_0
*iface
= Pnacl_WrapperInfo_PPB_VarDictionary_1_0
.real_iface
;
1862 return iface
->HasKey(*dict
, *key
);
1865 static void Pnacl_M29_PPB_VarDictionary_GetKeys(struct PP_Var
* _struct_result
, struct PP_Var
* dict
) {
1866 const struct PPB_VarDictionary_1_0
*iface
= Pnacl_WrapperInfo_PPB_VarDictionary_1_0
.real_iface
;
1867 *_struct_result
= iface
->GetKeys(*dict
);
1870 /* End wrapper methods for PPB_VarDictionary_1_0 */
1872 /* Begin wrapper methods for PPB_VideoDecoder_0_1 */
1874 static PP_Resource
Pnacl_M36_PPB_VideoDecoder_Create(PP_Instance instance
) {
1875 const struct PPB_VideoDecoder_0_1
*iface
= Pnacl_WrapperInfo_PPB_VideoDecoder_0_1
.real_iface
;
1876 return iface
->Create(instance
);
1879 static PP_Bool
Pnacl_M36_PPB_VideoDecoder_IsVideoDecoder(PP_Resource resource
) {
1880 const struct PPB_VideoDecoder_0_1
*iface
= Pnacl_WrapperInfo_PPB_VideoDecoder_0_1
.real_iface
;
1881 return iface
->IsVideoDecoder(resource
);
1884 static int32_t Pnacl_M36_PPB_VideoDecoder_Initialize(PP_Resource video_decoder
, PP_Resource graphics3d_context
, PP_VideoProfile profile
, PP_Bool allow_software_fallback
, struct PP_CompletionCallback
* callback
) {
1885 const struct PPB_VideoDecoder_0_1
*iface
= Pnacl_WrapperInfo_PPB_VideoDecoder_0_1
.real_iface
;
1886 return iface
->Initialize(video_decoder
, graphics3d_context
, profile
, allow_software_fallback
, *callback
);
1889 static int32_t Pnacl_M36_PPB_VideoDecoder_Decode(PP_Resource video_decoder
, uint32_t decode_id
, uint32_t size
, const void* buffer
, struct PP_CompletionCallback
* callback
) {
1890 const struct PPB_VideoDecoder_0_1
*iface
= Pnacl_WrapperInfo_PPB_VideoDecoder_0_1
.real_iface
;
1891 return iface
->Decode(video_decoder
, decode_id
, size
, buffer
, *callback
);
1894 static int32_t Pnacl_M36_PPB_VideoDecoder_GetPicture(PP_Resource video_decoder
, struct PP_VideoPicture
* picture
, struct PP_CompletionCallback
* callback
) {
1895 const struct PPB_VideoDecoder_0_1
*iface
= Pnacl_WrapperInfo_PPB_VideoDecoder_0_1
.real_iface
;
1896 return iface
->GetPicture(video_decoder
, picture
, *callback
);
1899 static void Pnacl_M36_PPB_VideoDecoder_RecyclePicture(PP_Resource video_decoder
, const struct PP_VideoPicture
* picture
) {
1900 const struct PPB_VideoDecoder_0_1
*iface
= Pnacl_WrapperInfo_PPB_VideoDecoder_0_1
.real_iface
;
1901 iface
->RecyclePicture(video_decoder
, picture
);
1904 static int32_t Pnacl_M36_PPB_VideoDecoder_Flush(PP_Resource video_decoder
, struct PP_CompletionCallback
* callback
) {
1905 const struct PPB_VideoDecoder_0_1
*iface
= Pnacl_WrapperInfo_PPB_VideoDecoder_0_1
.real_iface
;
1906 return iface
->Flush(video_decoder
, *callback
);
1909 static int32_t Pnacl_M36_PPB_VideoDecoder_Reset(PP_Resource video_decoder
, struct PP_CompletionCallback
* callback
) {
1910 const struct PPB_VideoDecoder_0_1
*iface
= Pnacl_WrapperInfo_PPB_VideoDecoder_0_1
.real_iface
;
1911 return iface
->Reset(video_decoder
, *callback
);
1914 /* End wrapper methods for PPB_VideoDecoder_0_1 */
1916 /* Not generating wrapper methods for PPB_VideoFrame_0_1 */
1918 /* Not generating wrapper methods for PPB_View_1_0 */
1920 /* Not generating wrapper methods for PPB_View_1_1 */
1922 /* Not generating wrapper methods for PPB_View_1_2 */
1924 /* Begin wrapper methods for PPB_WebSocket_1_0 */
1926 static PP_Resource
Pnacl_M18_PPB_WebSocket_Create(PP_Instance instance
) {
1927 const struct PPB_WebSocket_1_0
*iface
= Pnacl_WrapperInfo_PPB_WebSocket_1_0
.real_iface
;
1928 return iface
->Create(instance
);
1931 static PP_Bool
Pnacl_M18_PPB_WebSocket_IsWebSocket(PP_Resource resource
) {
1932 const struct PPB_WebSocket_1_0
*iface
= Pnacl_WrapperInfo_PPB_WebSocket_1_0
.real_iface
;
1933 return iface
->IsWebSocket(resource
);
1936 static int32_t Pnacl_M18_PPB_WebSocket_Connect(PP_Resource web_socket
, struct PP_Var
* url
, const struct PP_Var protocols
[], uint32_t protocol_count
, struct PP_CompletionCallback
* callback
) {
1937 const struct PPB_WebSocket_1_0
*iface
= Pnacl_WrapperInfo_PPB_WebSocket_1_0
.real_iface
;
1938 return iface
->Connect(web_socket
, *url
, protocols
, protocol_count
, *callback
);
1941 static int32_t Pnacl_M18_PPB_WebSocket_Close(PP_Resource web_socket
, uint16_t code
, struct PP_Var
* reason
, struct PP_CompletionCallback
* callback
) {
1942 const struct PPB_WebSocket_1_0
*iface
= Pnacl_WrapperInfo_PPB_WebSocket_1_0
.real_iface
;
1943 return iface
->Close(web_socket
, code
, *reason
, *callback
);
1946 static int32_t Pnacl_M18_PPB_WebSocket_ReceiveMessage(PP_Resource web_socket
, struct PP_Var
* message
, struct PP_CompletionCallback
* callback
) {
1947 const struct PPB_WebSocket_1_0
*iface
= Pnacl_WrapperInfo_PPB_WebSocket_1_0
.real_iface
;
1948 return iface
->ReceiveMessage(web_socket
, message
, *callback
);
1951 static int32_t Pnacl_M18_PPB_WebSocket_SendMessage(PP_Resource web_socket
, struct PP_Var
* message
) {
1952 const struct PPB_WebSocket_1_0
*iface
= Pnacl_WrapperInfo_PPB_WebSocket_1_0
.real_iface
;
1953 return iface
->SendMessage(web_socket
, *message
);
1956 static uint64_t Pnacl_M18_PPB_WebSocket_GetBufferedAmount(PP_Resource web_socket
) {
1957 const struct PPB_WebSocket_1_0
*iface
= Pnacl_WrapperInfo_PPB_WebSocket_1_0
.real_iface
;
1958 return iface
->GetBufferedAmount(web_socket
);
1961 static uint16_t Pnacl_M18_PPB_WebSocket_GetCloseCode(PP_Resource web_socket
) {
1962 const struct PPB_WebSocket_1_0
*iface
= Pnacl_WrapperInfo_PPB_WebSocket_1_0
.real_iface
;
1963 return iface
->GetCloseCode(web_socket
);
1966 static void Pnacl_M18_PPB_WebSocket_GetCloseReason(struct PP_Var
* _struct_result
, PP_Resource web_socket
) {
1967 const struct PPB_WebSocket_1_0
*iface
= Pnacl_WrapperInfo_PPB_WebSocket_1_0
.real_iface
;
1968 *_struct_result
= iface
->GetCloseReason(web_socket
);
1971 static PP_Bool
Pnacl_M18_PPB_WebSocket_GetCloseWasClean(PP_Resource web_socket
) {
1972 const struct PPB_WebSocket_1_0
*iface
= Pnacl_WrapperInfo_PPB_WebSocket_1_0
.real_iface
;
1973 return iface
->GetCloseWasClean(web_socket
);
1976 static void Pnacl_M18_PPB_WebSocket_GetExtensions(struct PP_Var
* _struct_result
, PP_Resource web_socket
) {
1977 const struct PPB_WebSocket_1_0
*iface
= Pnacl_WrapperInfo_PPB_WebSocket_1_0
.real_iface
;
1978 *_struct_result
= iface
->GetExtensions(web_socket
);
1981 static void Pnacl_M18_PPB_WebSocket_GetProtocol(struct PP_Var
* _struct_result
, PP_Resource web_socket
) {
1982 const struct PPB_WebSocket_1_0
*iface
= Pnacl_WrapperInfo_PPB_WebSocket_1_0
.real_iface
;
1983 *_struct_result
= iface
->GetProtocol(web_socket
);
1986 static PP_WebSocketReadyState
Pnacl_M18_PPB_WebSocket_GetReadyState(PP_Resource web_socket
) {
1987 const struct PPB_WebSocket_1_0
*iface
= Pnacl_WrapperInfo_PPB_WebSocket_1_0
.real_iface
;
1988 return iface
->GetReadyState(web_socket
);
1991 static void Pnacl_M18_PPB_WebSocket_GetURL(struct PP_Var
* _struct_result
, PP_Resource web_socket
) {
1992 const struct PPB_WebSocket_1_0
*iface
= Pnacl_WrapperInfo_PPB_WebSocket_1_0
.real_iface
;
1993 *_struct_result
= iface
->GetURL(web_socket
);
1996 /* End wrapper methods for PPB_WebSocket_1_0 */
1998 /* Not generating wrapper methods for PPP_Graphics3D_1_0 */
2000 /* Not generating wrapper methods for PPP_InputEvent_0_1 */
2002 /* Not generating wrapper methods for PPP_Instance_1_0 */
2004 /* Not generating wrapper methods for PPP_Instance_1_1 */
2006 /* Not generating wrapper methods for PPP_MessageHandler_0_1 */
2008 /* Begin wrapper methods for PPP_Messaging_1_0 */
2010 static void Pnacl_M14_PPP_Messaging_HandleMessage(PP_Instance instance
, struct PP_Var message
) {
2011 const struct PPP_Messaging_1_0
*iface
= Pnacl_WrapperInfo_PPP_Messaging_1_0
.real_iface
;
2012 void (*temp_fp
)(PP_Instance instance
, struct PP_Var
* message
) =
2013 ((void (*)(PP_Instance instance
, struct PP_Var
* message
))iface
->HandleMessage
);
2014 temp_fp(instance
, &message
);
2017 /* End wrapper methods for PPP_Messaging_1_0 */
2019 /* Not generating wrapper methods for PPP_MouseLock_1_0 */
2021 /* Not generating wrapper methods for PPB_BrokerTrusted_0_2 */
2023 /* Not generating wrapper methods for PPB_BrokerTrusted_0_3 */
2025 /* Not generating wrapper methods for PPB_BrowserFont_Trusted_1_0 */
2027 /* Not generating wrapper methods for PPB_CharSet_Trusted_1_0 */
2029 /* Not generating wrapper methods for PPB_FileChooserTrusted_0_5 */
2031 /* Not generating wrapper methods for PPB_FileChooserTrusted_0_6 */
2033 /* Not generating wrapper methods for PPB_URLLoaderTrusted_0_3 */
2035 /* Begin wrapper methods for PPB_AudioInput_Dev_0_3 */
2037 static PP_Resource
Pnacl_M25_PPB_AudioInput_Dev_Create(PP_Instance instance
) {
2038 const struct PPB_AudioInput_Dev_0_3
*iface
= Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_3
.real_iface
;
2039 return iface
->Create(instance
);
2042 static PP_Bool
Pnacl_M25_PPB_AudioInput_Dev_IsAudioInput(PP_Resource resource
) {
2043 const struct PPB_AudioInput_Dev_0_3
*iface
= Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_3
.real_iface
;
2044 return iface
->IsAudioInput(resource
);
2047 static int32_t Pnacl_M25_PPB_AudioInput_Dev_EnumerateDevices(PP_Resource audio_input
, struct PP_ArrayOutput
* output
, struct PP_CompletionCallback
* callback
) {
2048 const struct PPB_AudioInput_Dev_0_3
*iface
= Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_3
.real_iface
;
2049 return iface
->EnumerateDevices(audio_input
, *output
, *callback
);
2052 static int32_t Pnacl_M25_PPB_AudioInput_Dev_MonitorDeviceChange(PP_Resource audio_input
, PP_MonitorDeviceChangeCallback callback
, void* user_data
) {
2053 const struct PPB_AudioInput_Dev_0_3
*iface
= Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_3
.real_iface
;
2054 return iface
->MonitorDeviceChange(audio_input
, callback
, user_data
);
2057 static int32_t Pnacl_M25_PPB_AudioInput_Dev_Open(PP_Resource audio_input
, PP_Resource device_ref
, PP_Resource config
, PPB_AudioInput_Callback_0_3 audio_input_callback
, void* user_data
, struct PP_CompletionCallback
* callback
) {
2058 const struct PPB_AudioInput_Dev_0_3
*iface
= Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_3
.real_iface
;
2059 return iface
->Open(audio_input
, device_ref
, config
, audio_input_callback
, user_data
, *callback
);
2062 static PP_Resource
Pnacl_M25_PPB_AudioInput_Dev_GetCurrentConfig(PP_Resource audio_input
) {
2063 const struct PPB_AudioInput_Dev_0_3
*iface
= Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_3
.real_iface
;
2064 return iface
->GetCurrentConfig(audio_input
);
2067 static PP_Bool
Pnacl_M25_PPB_AudioInput_Dev_StartCapture(PP_Resource audio_input
) {
2068 const struct PPB_AudioInput_Dev_0_3
*iface
= Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_3
.real_iface
;
2069 return iface
->StartCapture(audio_input
);
2072 static PP_Bool
Pnacl_M25_PPB_AudioInput_Dev_StopCapture(PP_Resource audio_input
) {
2073 const struct PPB_AudioInput_Dev_0_3
*iface
= Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_3
.real_iface
;
2074 return iface
->StopCapture(audio_input
);
2077 static void Pnacl_M25_PPB_AudioInput_Dev_Close(PP_Resource audio_input
) {
2078 const struct PPB_AudioInput_Dev_0_3
*iface
= Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_3
.real_iface
;
2079 iface
->Close(audio_input
);
2082 /* End wrapper methods for PPB_AudioInput_Dev_0_3 */
2084 /* Begin wrapper methods for PPB_AudioInput_Dev_0_4 */
2086 static PP_Resource
Pnacl_M30_PPB_AudioInput_Dev_Create(PP_Instance instance
) {
2087 const struct PPB_AudioInput_Dev_0_4
*iface
= Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_4
.real_iface
;
2088 return iface
->Create(instance
);
2091 static PP_Bool
Pnacl_M30_PPB_AudioInput_Dev_IsAudioInput(PP_Resource resource
) {
2092 const struct PPB_AudioInput_Dev_0_4
*iface
= Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_4
.real_iface
;
2093 return iface
->IsAudioInput(resource
);
2096 static int32_t Pnacl_M30_PPB_AudioInput_Dev_EnumerateDevices(PP_Resource audio_input
, struct PP_ArrayOutput
* output
, struct PP_CompletionCallback
* callback
) {
2097 const struct PPB_AudioInput_Dev_0_4
*iface
= Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_4
.real_iface
;
2098 return iface
->EnumerateDevices(audio_input
, *output
, *callback
);
2101 static int32_t Pnacl_M30_PPB_AudioInput_Dev_MonitorDeviceChange(PP_Resource audio_input
, PP_MonitorDeviceChangeCallback callback
, void* user_data
) {
2102 const struct PPB_AudioInput_Dev_0_4
*iface
= Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_4
.real_iface
;
2103 return iface
->MonitorDeviceChange(audio_input
, callback
, user_data
);
2106 static int32_t Pnacl_M30_PPB_AudioInput_Dev_Open(PP_Resource audio_input
, PP_Resource device_ref
, PP_Resource config
, PPB_AudioInput_Callback audio_input_callback
, void* user_data
, struct PP_CompletionCallback
* callback
) {
2107 const struct PPB_AudioInput_Dev_0_4
*iface
= Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_4
.real_iface
;
2108 return iface
->Open(audio_input
, device_ref
, config
, audio_input_callback
, user_data
, *callback
);
2111 static PP_Resource
Pnacl_M30_PPB_AudioInput_Dev_GetCurrentConfig(PP_Resource audio_input
) {
2112 const struct PPB_AudioInput_Dev_0_4
*iface
= Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_4
.real_iface
;
2113 return iface
->GetCurrentConfig(audio_input
);
2116 static PP_Bool
Pnacl_M30_PPB_AudioInput_Dev_StartCapture(PP_Resource audio_input
) {
2117 const struct PPB_AudioInput_Dev_0_4
*iface
= Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_4
.real_iface
;
2118 return iface
->StartCapture(audio_input
);
2121 static PP_Bool
Pnacl_M30_PPB_AudioInput_Dev_StopCapture(PP_Resource audio_input
) {
2122 const struct PPB_AudioInput_Dev_0_4
*iface
= Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_4
.real_iface
;
2123 return iface
->StopCapture(audio_input
);
2126 static void Pnacl_M30_PPB_AudioInput_Dev_Close(PP_Resource audio_input
) {
2127 const struct PPB_AudioInput_Dev_0_4
*iface
= Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_4
.real_iface
;
2128 iface
->Close(audio_input
);
2131 /* End wrapper methods for PPB_AudioInput_Dev_0_4 */
2133 /* Not generating wrapper methods for PPB_Buffer_Dev_0_4 */
2135 /* Not generating wrapper methods for PPB_Crypto_Dev_0_1 */
2137 /* Not generating wrapper methods for PPB_CursorControl_Dev_0_4 */
2139 /* Begin wrapper methods for PPB_DeviceRef_Dev_0_1 */
2141 static PP_Bool
Pnacl_M18_PPB_DeviceRef_Dev_IsDeviceRef(PP_Resource resource
) {
2142 const struct PPB_DeviceRef_Dev_0_1
*iface
= Pnacl_WrapperInfo_PPB_DeviceRef_Dev_0_1
.real_iface
;
2143 return iface
->IsDeviceRef(resource
);
2146 static PP_DeviceType_Dev
Pnacl_M18_PPB_DeviceRef_Dev_GetType(PP_Resource device_ref
) {
2147 const struct PPB_DeviceRef_Dev_0_1
*iface
= Pnacl_WrapperInfo_PPB_DeviceRef_Dev_0_1
.real_iface
;
2148 return iface
->GetType(device_ref
);
2151 static void Pnacl_M18_PPB_DeviceRef_Dev_GetName(struct PP_Var
* _struct_result
, PP_Resource device_ref
) {
2152 const struct PPB_DeviceRef_Dev_0_1
*iface
= Pnacl_WrapperInfo_PPB_DeviceRef_Dev_0_1
.real_iface
;
2153 *_struct_result
= iface
->GetName(device_ref
);
2156 /* End wrapper methods for PPB_DeviceRef_Dev_0_1 */
2158 /* Begin wrapper methods for PPB_FileChooser_Dev_0_5 */
2160 static PP_Resource
Pnacl_M16_PPB_FileChooser_Dev_Create(PP_Instance instance
, PP_FileChooserMode_Dev mode
, struct PP_Var
* accept_types
) {
2161 const struct PPB_FileChooser_Dev_0_5
*iface
= Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_5
.real_iface
;
2162 return iface
->Create(instance
, mode
, *accept_types
);
2165 static PP_Bool
Pnacl_M16_PPB_FileChooser_Dev_IsFileChooser(PP_Resource resource
) {
2166 const struct PPB_FileChooser_Dev_0_5
*iface
= Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_5
.real_iface
;
2167 return iface
->IsFileChooser(resource
);
2170 static int32_t Pnacl_M16_PPB_FileChooser_Dev_Show(PP_Resource chooser
, struct PP_CompletionCallback
* callback
) {
2171 const struct PPB_FileChooser_Dev_0_5
*iface
= Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_5
.real_iface
;
2172 return iface
->Show(chooser
, *callback
);
2175 static PP_Resource
Pnacl_M16_PPB_FileChooser_Dev_GetNextChosenFile(PP_Resource chooser
) {
2176 const struct PPB_FileChooser_Dev_0_5
*iface
= Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_5
.real_iface
;
2177 return iface
->GetNextChosenFile(chooser
);
2180 /* End wrapper methods for PPB_FileChooser_Dev_0_5 */
2182 /* Begin wrapper methods for PPB_FileChooser_Dev_0_6 */
2184 static PP_Resource
Pnacl_M19_PPB_FileChooser_Dev_Create(PP_Instance instance
, PP_FileChooserMode_Dev mode
, struct PP_Var
* accept_types
) {
2185 const struct PPB_FileChooser_Dev_0_6
*iface
= Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_6
.real_iface
;
2186 return iface
->Create(instance
, mode
, *accept_types
);
2189 static PP_Bool
Pnacl_M19_PPB_FileChooser_Dev_IsFileChooser(PP_Resource resource
) {
2190 const struct PPB_FileChooser_Dev_0_6
*iface
= Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_6
.real_iface
;
2191 return iface
->IsFileChooser(resource
);
2194 static int32_t Pnacl_M19_PPB_FileChooser_Dev_Show(PP_Resource chooser
, struct PP_ArrayOutput
* output
, struct PP_CompletionCallback
* callback
) {
2195 const struct PPB_FileChooser_Dev_0_6
*iface
= Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_6
.real_iface
;
2196 return iface
->Show(chooser
, *output
, *callback
);
2199 /* End wrapper methods for PPB_FileChooser_Dev_0_6 */
2201 /* Begin wrapper methods for PPB_Font_Dev_0_6 */
2203 static void Pnacl_M14_PPB_Font_Dev_GetFontFamilies(struct PP_Var
* _struct_result
, PP_Instance instance
) {
2204 const struct PPB_Font_Dev_0_6
*iface
= Pnacl_WrapperInfo_PPB_Font_Dev_0_6
.real_iface
;
2205 *_struct_result
= iface
->GetFontFamilies(instance
);
2208 static PP_Resource
Pnacl_M14_PPB_Font_Dev_Create(PP_Instance instance
, const struct PP_FontDescription_Dev
* description
) {
2209 const struct PPB_Font_Dev_0_6
*iface
= Pnacl_WrapperInfo_PPB_Font_Dev_0_6
.real_iface
;
2210 return iface
->Create(instance
, description
);
2213 static PP_Bool
Pnacl_M14_PPB_Font_Dev_IsFont(PP_Resource resource
) {
2214 const struct PPB_Font_Dev_0_6
*iface
= Pnacl_WrapperInfo_PPB_Font_Dev_0_6
.real_iface
;
2215 return iface
->IsFont(resource
);
2218 static PP_Bool
Pnacl_M14_PPB_Font_Dev_Describe(PP_Resource font
, struct PP_FontDescription_Dev
* description
, struct PP_FontMetrics_Dev
* metrics
) {
2219 const struct PPB_Font_Dev_0_6
*iface
= Pnacl_WrapperInfo_PPB_Font_Dev_0_6
.real_iface
;
2220 return iface
->Describe(font
, description
, metrics
);
2223 static PP_Bool
Pnacl_M14_PPB_Font_Dev_DrawTextAt(PP_Resource font
, PP_Resource image_data
, const struct PP_TextRun_Dev
* text
, const struct PP_Point
* position
, uint32_t color
, const struct PP_Rect
* clip
, PP_Bool image_data_is_opaque
) {
2224 const struct PPB_Font_Dev_0_6
*iface
= Pnacl_WrapperInfo_PPB_Font_Dev_0_6
.real_iface
;
2225 return iface
->DrawTextAt(font
, image_data
, text
, position
, color
, clip
, image_data_is_opaque
);
2228 static int32_t Pnacl_M14_PPB_Font_Dev_MeasureText(PP_Resource font
, const struct PP_TextRun_Dev
* text
) {
2229 const struct PPB_Font_Dev_0_6
*iface
= Pnacl_WrapperInfo_PPB_Font_Dev_0_6
.real_iface
;
2230 return iface
->MeasureText(font
, text
);
2233 static uint32_t Pnacl_M14_PPB_Font_Dev_CharacterOffsetForPixel(PP_Resource font
, const struct PP_TextRun_Dev
* text
, int32_t pixel_position
) {
2234 const struct PPB_Font_Dev_0_6
*iface
= Pnacl_WrapperInfo_PPB_Font_Dev_0_6
.real_iface
;
2235 return iface
->CharacterOffsetForPixel(font
, text
, pixel_position
);
2238 static int32_t Pnacl_M14_PPB_Font_Dev_PixelOffsetForCharacter(PP_Resource font
, const struct PP_TextRun_Dev
* text
, uint32_t char_offset
) {
2239 const struct PPB_Font_Dev_0_6
*iface
= Pnacl_WrapperInfo_PPB_Font_Dev_0_6
.real_iface
;
2240 return iface
->PixelOffsetForCharacter(font
, text
, char_offset
);
2243 /* End wrapper methods for PPB_Font_Dev_0_6 */
2245 /* Begin wrapper methods for PPB_IMEInputEvent_Dev_0_1 */
2247 static PP_Bool
Pnacl_M16_PPB_IMEInputEvent_Dev_IsIMEInputEvent(PP_Resource resource
) {
2248 const struct PPB_IMEInputEvent_Dev_0_1
*iface
= Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_1
.real_iface
;
2249 return iface
->IsIMEInputEvent(resource
);
2252 static void Pnacl_M16_PPB_IMEInputEvent_Dev_GetText(struct PP_Var
* _struct_result
, PP_Resource ime_event
) {
2253 const struct PPB_IMEInputEvent_Dev_0_1
*iface
= Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_1
.real_iface
;
2254 *_struct_result
= iface
->GetText(ime_event
);
2257 static uint32_t Pnacl_M16_PPB_IMEInputEvent_Dev_GetSegmentNumber(PP_Resource ime_event
) {
2258 const struct PPB_IMEInputEvent_Dev_0_1
*iface
= Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_1
.real_iface
;
2259 return iface
->GetSegmentNumber(ime_event
);
2262 static uint32_t Pnacl_M16_PPB_IMEInputEvent_Dev_GetSegmentOffset(PP_Resource ime_event
, uint32_t index
) {
2263 const struct PPB_IMEInputEvent_Dev_0_1
*iface
= Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_1
.real_iface
;
2264 return iface
->GetSegmentOffset(ime_event
, index
);
2267 static int32_t Pnacl_M16_PPB_IMEInputEvent_Dev_GetTargetSegment(PP_Resource ime_event
) {
2268 const struct PPB_IMEInputEvent_Dev_0_1
*iface
= Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_1
.real_iface
;
2269 return iface
->GetTargetSegment(ime_event
);
2272 static void Pnacl_M16_PPB_IMEInputEvent_Dev_GetSelection(PP_Resource ime_event
, uint32_t* start
, uint32_t* end
) {
2273 const struct PPB_IMEInputEvent_Dev_0_1
*iface
= Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_1
.real_iface
;
2274 iface
->GetSelection(ime_event
, start
, end
);
2277 /* End wrapper methods for PPB_IMEInputEvent_Dev_0_1 */
2279 /* Begin wrapper methods for PPB_IMEInputEvent_Dev_0_2 */
2281 static PP_Resource
Pnacl_M21_PPB_IMEInputEvent_Dev_Create(PP_Instance instance
, PP_InputEvent_Type type
, PP_TimeTicks time_stamp
, struct PP_Var
* text
, uint32_t segment_number
, const uint32_t segment_offsets
[], int32_t target_segment
, uint32_t selection_start
, uint32_t selection_end
) {
2282 const struct PPB_IMEInputEvent_Dev_0_2
*iface
= Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_2
.real_iface
;
2283 return iface
->Create(instance
, type
, time_stamp
, *text
, segment_number
, segment_offsets
, target_segment
, selection_start
, selection_end
);
2286 static PP_Bool
Pnacl_M21_PPB_IMEInputEvent_Dev_IsIMEInputEvent(PP_Resource resource
) {
2287 const struct PPB_IMEInputEvent_Dev_0_2
*iface
= Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_2
.real_iface
;
2288 return iface
->IsIMEInputEvent(resource
);
2291 static void Pnacl_M21_PPB_IMEInputEvent_Dev_GetText(struct PP_Var
* _struct_result
, PP_Resource ime_event
) {
2292 const struct PPB_IMEInputEvent_Dev_0_2
*iface
= Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_2
.real_iface
;
2293 *_struct_result
= iface
->GetText(ime_event
);
2296 static uint32_t Pnacl_M21_PPB_IMEInputEvent_Dev_GetSegmentNumber(PP_Resource ime_event
) {
2297 const struct PPB_IMEInputEvent_Dev_0_2
*iface
= Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_2
.real_iface
;
2298 return iface
->GetSegmentNumber(ime_event
);
2301 static uint32_t Pnacl_M21_PPB_IMEInputEvent_Dev_GetSegmentOffset(PP_Resource ime_event
, uint32_t index
) {
2302 const struct PPB_IMEInputEvent_Dev_0_2
*iface
= Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_2
.real_iface
;
2303 return iface
->GetSegmentOffset(ime_event
, index
);
2306 static int32_t Pnacl_M21_PPB_IMEInputEvent_Dev_GetTargetSegment(PP_Resource ime_event
) {
2307 const struct PPB_IMEInputEvent_Dev_0_2
*iface
= Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_2
.real_iface
;
2308 return iface
->GetTargetSegment(ime_event
);
2311 static void Pnacl_M21_PPB_IMEInputEvent_Dev_GetSelection(PP_Resource ime_event
, uint32_t* start
, uint32_t* end
) {
2312 const struct PPB_IMEInputEvent_Dev_0_2
*iface
= Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_2
.real_iface
;
2313 iface
->GetSelection(ime_event
, start
, end
);
2316 /* End wrapper methods for PPB_IMEInputEvent_Dev_0_2 */
2318 /* Not generating wrapper methods for PPB_Memory_Dev_0_1 */
2320 /* Begin wrapper methods for PPB_Printing_Dev_0_7 */
2322 static PP_Resource
Pnacl_M23_PPB_Printing_Dev_Create(PP_Instance instance
) {
2323 const struct PPB_Printing_Dev_0_7
*iface
= Pnacl_WrapperInfo_PPB_Printing_Dev_0_7
.real_iface
;
2324 return iface
->Create(instance
);
2327 static int32_t Pnacl_M23_PPB_Printing_Dev_GetDefaultPrintSettings(PP_Resource resource
, struct PP_PrintSettings_Dev
* print_settings
, struct PP_CompletionCallback
* callback
) {
2328 const struct PPB_Printing_Dev_0_7
*iface
= Pnacl_WrapperInfo_PPB_Printing_Dev_0_7
.real_iface
;
2329 return iface
->GetDefaultPrintSettings(resource
, print_settings
, *callback
);
2332 /* End wrapper methods for PPB_Printing_Dev_0_7 */
2334 /* Not generating wrapper methods for PPB_Scrollbar_Dev_0_5 */
2336 /* Not generating wrapper methods for PPB_TextInput_Dev_0_1 */
2338 /* Not generating wrapper methods for PPB_TextInput_Dev_0_2 */
2340 /* Not generating wrapper methods for PPB_Trace_Event_Dev_0_1 */
2342 /* Not generating wrapper methods for PPB_Trace_Event_Dev_0_2 */
2344 /* Begin wrapper methods for PPB_TrueTypeFont_Dev_0_1 */
2346 static int32_t Pnacl_M26_PPB_TrueTypeFont_Dev_GetFontFamilies(PP_Instance instance
, struct PP_ArrayOutput
* output
, struct PP_CompletionCallback
* callback
) {
2347 const struct PPB_TrueTypeFont_Dev_0_1
*iface
= Pnacl_WrapperInfo_PPB_TrueTypeFont_Dev_0_1
.real_iface
;
2348 return iface
->GetFontFamilies(instance
, *output
, *callback
);
2351 static int32_t Pnacl_M26_PPB_TrueTypeFont_Dev_GetFontsInFamily(PP_Instance instance
, struct PP_Var
* family
, struct PP_ArrayOutput
* output
, struct PP_CompletionCallback
* callback
) {
2352 const struct PPB_TrueTypeFont_Dev_0_1
*iface
= Pnacl_WrapperInfo_PPB_TrueTypeFont_Dev_0_1
.real_iface
;
2353 return iface
->GetFontsInFamily(instance
, *family
, *output
, *callback
);
2356 static PP_Resource
Pnacl_M26_PPB_TrueTypeFont_Dev_Create(PP_Instance instance
, const struct PP_TrueTypeFontDesc_Dev
* desc
) {
2357 const struct PPB_TrueTypeFont_Dev_0_1
*iface
= Pnacl_WrapperInfo_PPB_TrueTypeFont_Dev_0_1
.real_iface
;
2358 return iface
->Create(instance
, desc
);
2361 static PP_Bool
Pnacl_M26_PPB_TrueTypeFont_Dev_IsTrueTypeFont(PP_Resource resource
) {
2362 const struct PPB_TrueTypeFont_Dev_0_1
*iface
= Pnacl_WrapperInfo_PPB_TrueTypeFont_Dev_0_1
.real_iface
;
2363 return iface
->IsTrueTypeFont(resource
);
2366 static int32_t Pnacl_M26_PPB_TrueTypeFont_Dev_Describe(PP_Resource font
, struct PP_TrueTypeFontDesc_Dev
* desc
, struct PP_CompletionCallback
* callback
) {
2367 const struct PPB_TrueTypeFont_Dev_0_1
*iface
= Pnacl_WrapperInfo_PPB_TrueTypeFont_Dev_0_1
.real_iface
;
2368 return iface
->Describe(font
, desc
, *callback
);
2371 static int32_t Pnacl_M26_PPB_TrueTypeFont_Dev_GetTableTags(PP_Resource font
, struct PP_ArrayOutput
* output
, struct PP_CompletionCallback
* callback
) {
2372 const struct PPB_TrueTypeFont_Dev_0_1
*iface
= Pnacl_WrapperInfo_PPB_TrueTypeFont_Dev_0_1
.real_iface
;
2373 return iface
->GetTableTags(font
, *output
, *callback
);
2376 static int32_t Pnacl_M26_PPB_TrueTypeFont_Dev_GetTable(PP_Resource font
, uint32_t table
, int32_t offset
, int32_t max_data_length
, struct PP_ArrayOutput
* output
, struct PP_CompletionCallback
* callback
) {
2377 const struct PPB_TrueTypeFont_Dev_0_1
*iface
= Pnacl_WrapperInfo_PPB_TrueTypeFont_Dev_0_1
.real_iface
;
2378 return iface
->GetTable(font
, table
, offset
, max_data_length
, *output
, *callback
);
2381 /* End wrapper methods for PPB_TrueTypeFont_Dev_0_1 */
2383 /* Begin wrapper methods for PPB_URLUtil_Dev_0_6 */
2385 static void Pnacl_M17_PPB_URLUtil_Dev_Canonicalize(struct PP_Var
* _struct_result
, struct PP_Var
* url
, struct PP_URLComponents_Dev
* components
) {
2386 const struct PPB_URLUtil_Dev_0_6
*iface
= Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_6
.real_iface
;
2387 *_struct_result
= iface
->Canonicalize(*url
, components
);
2390 static void Pnacl_M17_PPB_URLUtil_Dev_ResolveRelativeToURL(struct PP_Var
* _struct_result
, struct PP_Var
* base_url
, struct PP_Var
* relative_string
, struct PP_URLComponents_Dev
* components
) {
2391 const struct PPB_URLUtil_Dev_0_6
*iface
= Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_6
.real_iface
;
2392 *_struct_result
= iface
->ResolveRelativeToURL(*base_url
, *relative_string
, components
);
2395 static void Pnacl_M17_PPB_URLUtil_Dev_ResolveRelativeToDocument(struct PP_Var
* _struct_result
, PP_Instance instance
, struct PP_Var
* relative_string
, struct PP_URLComponents_Dev
* components
) {
2396 const struct PPB_URLUtil_Dev_0_6
*iface
= Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_6
.real_iface
;
2397 *_struct_result
= iface
->ResolveRelativeToDocument(instance
, *relative_string
, components
);
2400 static PP_Bool
Pnacl_M17_PPB_URLUtil_Dev_IsSameSecurityOrigin(struct PP_Var
* url_a
, struct PP_Var
* url_b
) {
2401 const struct PPB_URLUtil_Dev_0_6
*iface
= Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_6
.real_iface
;
2402 return iface
->IsSameSecurityOrigin(*url_a
, *url_b
);
2405 static PP_Bool
Pnacl_M17_PPB_URLUtil_Dev_DocumentCanRequest(PP_Instance instance
, struct PP_Var
* url
) {
2406 const struct PPB_URLUtil_Dev_0_6
*iface
= Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_6
.real_iface
;
2407 return iface
->DocumentCanRequest(instance
, *url
);
2410 static PP_Bool
Pnacl_M17_PPB_URLUtil_Dev_DocumentCanAccessDocument(PP_Instance active
, PP_Instance target
) {
2411 const struct PPB_URLUtil_Dev_0_6
*iface
= Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_6
.real_iface
;
2412 return iface
->DocumentCanAccessDocument(active
, target
);
2415 static void Pnacl_M17_PPB_URLUtil_Dev_GetDocumentURL(struct PP_Var
* _struct_result
, PP_Instance instance
, struct PP_URLComponents_Dev
* components
) {
2416 const struct PPB_URLUtil_Dev_0_6
*iface
= Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_6
.real_iface
;
2417 *_struct_result
= iface
->GetDocumentURL(instance
, components
);
2420 static void Pnacl_M17_PPB_URLUtil_Dev_GetPluginInstanceURL(struct PP_Var
* _struct_result
, PP_Instance instance
, struct PP_URLComponents_Dev
* components
) {
2421 const struct PPB_URLUtil_Dev_0_6
*iface
= Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_6
.real_iface
;
2422 *_struct_result
= iface
->GetPluginInstanceURL(instance
, components
);
2425 /* End wrapper methods for PPB_URLUtil_Dev_0_6 */
2427 /* Begin wrapper methods for PPB_URLUtil_Dev_0_7 */
2429 static void Pnacl_M31_PPB_URLUtil_Dev_Canonicalize(struct PP_Var
* _struct_result
, struct PP_Var
* url
, struct PP_URLComponents_Dev
* components
) {
2430 const struct PPB_URLUtil_Dev_0_7
*iface
= Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_7
.real_iface
;
2431 *_struct_result
= iface
->Canonicalize(*url
, components
);
2434 static void Pnacl_M31_PPB_URLUtil_Dev_ResolveRelativeToURL(struct PP_Var
* _struct_result
, struct PP_Var
* base_url
, struct PP_Var
* relative_string
, struct PP_URLComponents_Dev
* components
) {
2435 const struct PPB_URLUtil_Dev_0_7
*iface
= Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_7
.real_iface
;
2436 *_struct_result
= iface
->ResolveRelativeToURL(*base_url
, *relative_string
, components
);
2439 static void Pnacl_M31_PPB_URLUtil_Dev_ResolveRelativeToDocument(struct PP_Var
* _struct_result
, PP_Instance instance
, struct PP_Var
* relative_string
, struct PP_URLComponents_Dev
* components
) {
2440 const struct PPB_URLUtil_Dev_0_7
*iface
= Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_7
.real_iface
;
2441 *_struct_result
= iface
->ResolveRelativeToDocument(instance
, *relative_string
, components
);
2444 static PP_Bool
Pnacl_M31_PPB_URLUtil_Dev_IsSameSecurityOrigin(struct PP_Var
* url_a
, struct PP_Var
* url_b
) {
2445 const struct PPB_URLUtil_Dev_0_7
*iface
= Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_7
.real_iface
;
2446 return iface
->IsSameSecurityOrigin(*url_a
, *url_b
);
2449 static PP_Bool
Pnacl_M31_PPB_URLUtil_Dev_DocumentCanRequest(PP_Instance instance
, struct PP_Var
* url
) {
2450 const struct PPB_URLUtil_Dev_0_7
*iface
= Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_7
.real_iface
;
2451 return iface
->DocumentCanRequest(instance
, *url
);
2454 static PP_Bool
Pnacl_M31_PPB_URLUtil_Dev_DocumentCanAccessDocument(PP_Instance active
, PP_Instance target
) {
2455 const struct PPB_URLUtil_Dev_0_7
*iface
= Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_7
.real_iface
;
2456 return iface
->DocumentCanAccessDocument(active
, target
);
2459 static void Pnacl_M31_PPB_URLUtil_Dev_GetDocumentURL(struct PP_Var
* _struct_result
, PP_Instance instance
, struct PP_URLComponents_Dev
* components
) {
2460 const struct PPB_URLUtil_Dev_0_7
*iface
= Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_7
.real_iface
;
2461 *_struct_result
= iface
->GetDocumentURL(instance
, components
);
2464 static void Pnacl_M31_PPB_URLUtil_Dev_GetPluginInstanceURL(struct PP_Var
* _struct_result
, PP_Instance instance
, struct PP_URLComponents_Dev
* components
) {
2465 const struct PPB_URLUtil_Dev_0_7
*iface
= Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_7
.real_iface
;
2466 *_struct_result
= iface
->GetPluginInstanceURL(instance
, components
);
2469 static void Pnacl_M31_PPB_URLUtil_Dev_GetPluginReferrerURL(struct PP_Var
* _struct_result
, PP_Instance instance
, struct PP_URLComponents_Dev
* components
) {
2470 const struct PPB_URLUtil_Dev_0_7
*iface
= Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_7
.real_iface
;
2471 *_struct_result
= iface
->GetPluginReferrerURL(instance
, components
);
2474 /* End wrapper methods for PPB_URLUtil_Dev_0_7 */
2476 /* Begin wrapper methods for PPB_VideoCapture_Dev_0_3 */
2478 static PP_Resource
Pnacl_M25_PPB_VideoCapture_Dev_Create(PP_Instance instance
) {
2479 const struct PPB_VideoCapture_Dev_0_3
*iface
= Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_3
.real_iface
;
2480 return iface
->Create(instance
);
2483 static PP_Bool
Pnacl_M25_PPB_VideoCapture_Dev_IsVideoCapture(PP_Resource video_capture
) {
2484 const struct PPB_VideoCapture_Dev_0_3
*iface
= Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_3
.real_iface
;
2485 return iface
->IsVideoCapture(video_capture
);
2488 static int32_t Pnacl_M25_PPB_VideoCapture_Dev_EnumerateDevices(PP_Resource video_capture
, struct PP_ArrayOutput
* output
, struct PP_CompletionCallback
* callback
) {
2489 const struct PPB_VideoCapture_Dev_0_3
*iface
= Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_3
.real_iface
;
2490 return iface
->EnumerateDevices(video_capture
, *output
, *callback
);
2493 static int32_t Pnacl_M25_PPB_VideoCapture_Dev_MonitorDeviceChange(PP_Resource video_capture
, PP_MonitorDeviceChangeCallback callback
, void* user_data
) {
2494 const struct PPB_VideoCapture_Dev_0_3
*iface
= Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_3
.real_iface
;
2495 return iface
->MonitorDeviceChange(video_capture
, callback
, user_data
);
2498 static int32_t Pnacl_M25_PPB_VideoCapture_Dev_Open(PP_Resource video_capture
, PP_Resource device_ref
, const struct PP_VideoCaptureDeviceInfo_Dev
* requested_info
, uint32_t buffer_count
, struct PP_CompletionCallback
* callback
) {
2499 const struct PPB_VideoCapture_Dev_0_3
*iface
= Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_3
.real_iface
;
2500 return iface
->Open(video_capture
, device_ref
, requested_info
, buffer_count
, *callback
);
2503 static int32_t Pnacl_M25_PPB_VideoCapture_Dev_StartCapture(PP_Resource video_capture
) {
2504 const struct PPB_VideoCapture_Dev_0_3
*iface
= Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_3
.real_iface
;
2505 return iface
->StartCapture(video_capture
);
2508 static int32_t Pnacl_M25_PPB_VideoCapture_Dev_ReuseBuffer(PP_Resource video_capture
, uint32_t buffer
) {
2509 const struct PPB_VideoCapture_Dev_0_3
*iface
= Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_3
.real_iface
;
2510 return iface
->ReuseBuffer(video_capture
, buffer
);
2513 static int32_t Pnacl_M25_PPB_VideoCapture_Dev_StopCapture(PP_Resource video_capture
) {
2514 const struct PPB_VideoCapture_Dev_0_3
*iface
= Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_3
.real_iface
;
2515 return iface
->StopCapture(video_capture
);
2518 static void Pnacl_M25_PPB_VideoCapture_Dev_Close(PP_Resource video_capture
) {
2519 const struct PPB_VideoCapture_Dev_0_3
*iface
= Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_3
.real_iface
;
2520 iface
->Close(video_capture
);
2523 /* End wrapper methods for PPB_VideoCapture_Dev_0_3 */
2525 /* Begin wrapper methods for PPB_VideoDecoder_Dev_0_16 */
2527 static PP_Resource
Pnacl_M14_PPB_VideoDecoder_Dev_Create(PP_Instance instance
, PP_Resource context
, PP_VideoDecoder_Profile profile
) {
2528 const struct PPB_VideoDecoder_Dev_0_16
*iface
= Pnacl_WrapperInfo_PPB_VideoDecoder_Dev_0_16
.real_iface
;
2529 return iface
->Create(instance
, context
, profile
);
2532 static PP_Bool
Pnacl_M14_PPB_VideoDecoder_Dev_IsVideoDecoder(PP_Resource resource
) {
2533 const struct PPB_VideoDecoder_Dev_0_16
*iface
= Pnacl_WrapperInfo_PPB_VideoDecoder_Dev_0_16
.real_iface
;
2534 return iface
->IsVideoDecoder(resource
);
2537 static int32_t Pnacl_M14_PPB_VideoDecoder_Dev_Decode(PP_Resource video_decoder
, const struct PP_VideoBitstreamBuffer_Dev
* bitstream_buffer
, struct PP_CompletionCallback
* callback
) {
2538 const struct PPB_VideoDecoder_Dev_0_16
*iface
= Pnacl_WrapperInfo_PPB_VideoDecoder_Dev_0_16
.real_iface
;
2539 return iface
->Decode(video_decoder
, bitstream_buffer
, *callback
);
2542 static void Pnacl_M14_PPB_VideoDecoder_Dev_AssignPictureBuffers(PP_Resource video_decoder
, uint32_t no_of_buffers
, const struct PP_PictureBuffer_Dev buffers
[]) {
2543 const struct PPB_VideoDecoder_Dev_0_16
*iface
= Pnacl_WrapperInfo_PPB_VideoDecoder_Dev_0_16
.real_iface
;
2544 iface
->AssignPictureBuffers(video_decoder
, no_of_buffers
, buffers
);
2547 static void Pnacl_M14_PPB_VideoDecoder_Dev_ReusePictureBuffer(PP_Resource video_decoder
, int32_t picture_buffer_id
) {
2548 const struct PPB_VideoDecoder_Dev_0_16
*iface
= Pnacl_WrapperInfo_PPB_VideoDecoder_Dev_0_16
.real_iface
;
2549 iface
->ReusePictureBuffer(video_decoder
, picture_buffer_id
);
2552 static int32_t Pnacl_M14_PPB_VideoDecoder_Dev_Flush(PP_Resource video_decoder
, struct PP_CompletionCallback
* callback
) {
2553 const struct PPB_VideoDecoder_Dev_0_16
*iface
= Pnacl_WrapperInfo_PPB_VideoDecoder_Dev_0_16
.real_iface
;
2554 return iface
->Flush(video_decoder
, *callback
);
2557 static int32_t Pnacl_M14_PPB_VideoDecoder_Dev_Reset(PP_Resource video_decoder
, struct PP_CompletionCallback
* callback
) {
2558 const struct PPB_VideoDecoder_Dev_0_16
*iface
= Pnacl_WrapperInfo_PPB_VideoDecoder_Dev_0_16
.real_iface
;
2559 return iface
->Reset(video_decoder
, *callback
);
2562 static void Pnacl_M14_PPB_VideoDecoder_Dev_Destroy(PP_Resource video_decoder
) {
2563 const struct PPB_VideoDecoder_Dev_0_16
*iface
= Pnacl_WrapperInfo_PPB_VideoDecoder_Dev_0_16
.real_iface
;
2564 iface
->Destroy(video_decoder
);
2567 /* End wrapper methods for PPB_VideoDecoder_Dev_0_16 */
2569 /* Not generating wrapper methods for PPB_View_Dev_0_1 */
2571 /* Not generating wrapper methods for PPB_Widget_Dev_0_3 */
2573 /* Not generating wrapper methods for PPB_Widget_Dev_0_4 */
2575 /* Not generating wrapper methods for PPB_Zoom_Dev_0_2 */
2577 /* Not generating wrapper methods for PPP_NetworkState_Dev_0_1 */
2579 /* Not generating wrapper methods for PPP_Printing_Dev_0_6 */
2581 /* Not generating wrapper methods for PPP_Scrollbar_Dev_0_2 */
2583 /* Not generating wrapper methods for PPP_Scrollbar_Dev_0_3 */
2585 /* Begin wrapper methods for PPP_Selection_Dev_0_3 */
2587 static struct PP_Var
Pnacl_M13_PPP_Selection_Dev_GetSelectedText(PP_Instance instance
, PP_Bool html
) {
2588 const struct PPP_Selection_Dev_0_3
*iface
= Pnacl_WrapperInfo_PPP_Selection_Dev_0_3
.real_iface
;
2589 void (*temp_fp
)(struct PP_Var
* _struct_result
, PP_Instance instance
, PP_Bool html
) =
2590 ((void (*)(struct PP_Var
* _struct_result
, PP_Instance instance
, PP_Bool html
))iface
->GetSelectedText
);
2591 struct PP_Var _struct_result
;
2592 temp_fp(&_struct_result
, instance
, html
);
2593 return _struct_result
;
2596 /* End wrapper methods for PPP_Selection_Dev_0_3 */
2598 /* Not generating wrapper methods for PPP_TextInput_Dev_0_1 */
2600 /* Not generating wrapper methods for PPP_VideoCapture_Dev_0_1 */
2602 /* Not generating wrapper methods for PPP_VideoDecoder_Dev_0_11 */
2604 /* Not generating wrapper methods for PPP_Widget_Dev_0_2 */
2606 /* Not generating wrapper methods for PPP_Zoom_Dev_0_3 */
2608 /* Begin wrapper methods for PPB_ContentDecryptor_Private_0_12 */
2610 static void Pnacl_M36_PPB_ContentDecryptor_Private_PromiseResolved(PP_Instance instance
, uint32_t promise_id
) {
2611 const struct PPB_ContentDecryptor_Private_0_12
*iface
= Pnacl_WrapperInfo_PPB_ContentDecryptor_Private_0_12
.real_iface
;
2612 iface
->PromiseResolved(instance
, promise_id
);
2615 static void Pnacl_M36_PPB_ContentDecryptor_Private_PromiseResolvedWithSession(PP_Instance instance
, uint32_t promise_id
, struct PP_Var
* web_session_id
) {
2616 const struct PPB_ContentDecryptor_Private_0_12
*iface
= Pnacl_WrapperInfo_PPB_ContentDecryptor_Private_0_12
.real_iface
;
2617 iface
->PromiseResolvedWithSession(instance
, promise_id
, *web_session_id
);
2620 static void Pnacl_M36_PPB_ContentDecryptor_Private_PromiseRejected(PP_Instance instance
, uint32_t promise_id
, PP_CdmExceptionCode exception_code
, uint32_t system_code
, struct PP_Var
* error_description
) {
2621 const struct PPB_ContentDecryptor_Private_0_12
*iface
= Pnacl_WrapperInfo_PPB_ContentDecryptor_Private_0_12
.real_iface
;
2622 iface
->PromiseRejected(instance
, promise_id
, exception_code
, system_code
, *error_description
);
2625 static void Pnacl_M36_PPB_ContentDecryptor_Private_SessionMessage(PP_Instance instance
, struct PP_Var
* web_session_id
, struct PP_Var
* message
, struct PP_Var
* destination_url
) {
2626 const struct PPB_ContentDecryptor_Private_0_12
*iface
= Pnacl_WrapperInfo_PPB_ContentDecryptor_Private_0_12
.real_iface
;
2627 iface
->SessionMessage(instance
, *web_session_id
, *message
, *destination_url
);
2630 static void Pnacl_M36_PPB_ContentDecryptor_Private_SessionReady(PP_Instance instance
, struct PP_Var
* web_session_id
) {
2631 const struct PPB_ContentDecryptor_Private_0_12
*iface
= Pnacl_WrapperInfo_PPB_ContentDecryptor_Private_0_12
.real_iface
;
2632 iface
->SessionReady(instance
, *web_session_id
);
2635 static void Pnacl_M36_PPB_ContentDecryptor_Private_SessionClosed(PP_Instance instance
, struct PP_Var
* web_session_id
) {
2636 const struct PPB_ContentDecryptor_Private_0_12
*iface
= Pnacl_WrapperInfo_PPB_ContentDecryptor_Private_0_12
.real_iface
;
2637 iface
->SessionClosed(instance
, *web_session_id
);
2640 static void Pnacl_M36_PPB_ContentDecryptor_Private_SessionError(PP_Instance instance
, struct PP_Var
* web_session_id
, PP_CdmExceptionCode exception_code
, uint32_t system_code
, struct PP_Var
* error_description
) {
2641 const struct PPB_ContentDecryptor_Private_0_12
*iface
= Pnacl_WrapperInfo_PPB_ContentDecryptor_Private_0_12
.real_iface
;
2642 iface
->SessionError(instance
, *web_session_id
, exception_code
, system_code
, *error_description
);
2645 static void Pnacl_M36_PPB_ContentDecryptor_Private_DeliverBlock(PP_Instance instance
, PP_Resource decrypted_block
, const struct PP_DecryptedBlockInfo
* decrypted_block_info
) {
2646 const struct PPB_ContentDecryptor_Private_0_12
*iface
= Pnacl_WrapperInfo_PPB_ContentDecryptor_Private_0_12
.real_iface
;
2647 iface
->DeliverBlock(instance
, decrypted_block
, decrypted_block_info
);
2650 static void Pnacl_M36_PPB_ContentDecryptor_Private_DecoderInitializeDone(PP_Instance instance
, PP_DecryptorStreamType decoder_type
, uint32_t request_id
, PP_Bool success
) {
2651 const struct PPB_ContentDecryptor_Private_0_12
*iface
= Pnacl_WrapperInfo_PPB_ContentDecryptor_Private_0_12
.real_iface
;
2652 iface
->DecoderInitializeDone(instance
, decoder_type
, request_id
, success
);
2655 static void Pnacl_M36_PPB_ContentDecryptor_Private_DecoderDeinitializeDone(PP_Instance instance
, PP_DecryptorStreamType decoder_type
, uint32_t request_id
) {
2656 const struct PPB_ContentDecryptor_Private_0_12
*iface
= Pnacl_WrapperInfo_PPB_ContentDecryptor_Private_0_12
.real_iface
;
2657 iface
->DecoderDeinitializeDone(instance
, decoder_type
, request_id
);
2660 static void Pnacl_M36_PPB_ContentDecryptor_Private_DecoderResetDone(PP_Instance instance
, PP_DecryptorStreamType decoder_type
, uint32_t request_id
) {
2661 const struct PPB_ContentDecryptor_Private_0_12
*iface
= Pnacl_WrapperInfo_PPB_ContentDecryptor_Private_0_12
.real_iface
;
2662 iface
->DecoderResetDone(instance
, decoder_type
, request_id
);
2665 static void Pnacl_M36_PPB_ContentDecryptor_Private_DeliverFrame(PP_Instance instance
, PP_Resource decrypted_frame
, const struct PP_DecryptedFrameInfo
* decrypted_frame_info
) {
2666 const struct PPB_ContentDecryptor_Private_0_12
*iface
= Pnacl_WrapperInfo_PPB_ContentDecryptor_Private_0_12
.real_iface
;
2667 iface
->DeliverFrame(instance
, decrypted_frame
, decrypted_frame_info
);
2670 static void Pnacl_M36_PPB_ContentDecryptor_Private_DeliverSamples(PP_Instance instance
, PP_Resource audio_frames
, const struct PP_DecryptedSampleInfo
* decrypted_sample_info
) {
2671 const struct PPB_ContentDecryptor_Private_0_12
*iface
= Pnacl_WrapperInfo_PPB_ContentDecryptor_Private_0_12
.real_iface
;
2672 iface
->DeliverSamples(instance
, audio_frames
, decrypted_sample_info
);
2675 /* End wrapper methods for PPB_ContentDecryptor_Private_0_12 */
2677 /* Begin wrapper methods for PPB_DisplayColorProfile_Private_0_1 */
2679 static PP_Resource
Pnacl_M33_PPB_DisplayColorProfile_Private_Create(PP_Instance instance
) {
2680 const struct PPB_DisplayColorProfile_Private_0_1
*iface
= Pnacl_WrapperInfo_PPB_DisplayColorProfile_Private_0_1
.real_iface
;
2681 return iface
->Create(instance
);
2684 static PP_Bool
Pnacl_M33_PPB_DisplayColorProfile_Private_IsDisplayColorProfile(PP_Resource resource
) {
2685 const struct PPB_DisplayColorProfile_Private_0_1
*iface
= Pnacl_WrapperInfo_PPB_DisplayColorProfile_Private_0_1
.real_iface
;
2686 return iface
->IsDisplayColorProfile(resource
);
2689 static int32_t Pnacl_M33_PPB_DisplayColorProfile_Private_GetColorProfile(PP_Resource display_color_profile_res
, struct PP_ArrayOutput
* color_profile
, struct PP_CompletionCallback
* callback
) {
2690 const struct PPB_DisplayColorProfile_Private_0_1
*iface
= Pnacl_WrapperInfo_PPB_DisplayColorProfile_Private_0_1
.real_iface
;
2691 return iface
->GetColorProfile(display_color_profile_res
, *color_profile
, *callback
);
2694 static int32_t Pnacl_M33_PPB_DisplayColorProfile_Private_RegisterColorProfileChangeCallback(PP_Resource display_color_profile_res
, struct PP_CompletionCallback
* callback
) {
2695 const struct PPB_DisplayColorProfile_Private_0_1
*iface
= Pnacl_WrapperInfo_PPB_DisplayColorProfile_Private_0_1
.real_iface
;
2696 return iface
->RegisterColorProfileChangeCallback(display_color_profile_res
, *callback
);
2699 /* End wrapper methods for PPB_DisplayColorProfile_Private_0_1 */
2701 /* Begin wrapper methods for PPB_Ext_CrxFileSystem_Private_0_1 */
2703 static int32_t Pnacl_M28_PPB_Ext_CrxFileSystem_Private_Open(PP_Instance instance
, PP_Resource
* file_system
, struct PP_CompletionCallback
* callback
) {
2704 const struct PPB_Ext_CrxFileSystem_Private_0_1
*iface
= Pnacl_WrapperInfo_PPB_Ext_CrxFileSystem_Private_0_1
.real_iface
;
2705 return iface
->Open(instance
, file_system
, *callback
);
2708 /* End wrapper methods for PPB_Ext_CrxFileSystem_Private_0_1 */
2710 /* Begin wrapper methods for PPB_FileIO_Private_0_1 */
2712 static int32_t Pnacl_M28_PPB_FileIO_Private_RequestOSFileHandle(PP_Resource file_io
, PP_FileHandle
* handle
, struct PP_CompletionCallback
* callback
) {
2713 const struct PPB_FileIO_Private_0_1
*iface
= Pnacl_WrapperInfo_PPB_FileIO_Private_0_1
.real_iface
;
2714 return iface
->RequestOSFileHandle(file_io
, handle
, *callback
);
2717 /* End wrapper methods for PPB_FileIO_Private_0_1 */
2719 /* Begin wrapper methods for PPB_FileRefPrivate_0_1 */
2721 static void Pnacl_M15_PPB_FileRefPrivate_GetAbsolutePath(struct PP_Var
* _struct_result
, PP_Resource file_ref
) {
2722 const struct PPB_FileRefPrivate_0_1
*iface
= Pnacl_WrapperInfo_PPB_FileRefPrivate_0_1
.real_iface
;
2723 *_struct_result
= iface
->GetAbsolutePath(file_ref
);
2726 /* End wrapper methods for PPB_FileRefPrivate_0_1 */
2728 /* Not generating wrapper methods for PPB_Find_Private_0_3 */
2730 /* Begin wrapper methods for PPB_Flash_12_4 */
2732 static void Pnacl_M21_PPB_Flash_SetInstanceAlwaysOnTop(PP_Instance instance
, PP_Bool on_top
) {
2733 const struct PPB_Flash_12_4
*iface
= Pnacl_WrapperInfo_PPB_Flash_12_4
.real_iface
;
2734 iface
->SetInstanceAlwaysOnTop(instance
, on_top
);
2737 static PP_Bool
Pnacl_M21_PPB_Flash_DrawGlyphs(PP_Instance instance
, PP_Resource pp_image_data
, const struct PP_BrowserFont_Trusted_Description
* font_desc
, uint32_t color
, const struct PP_Point
* position
, const struct PP_Rect
* clip
, const float transformation
[3][3], PP_Bool allow_subpixel_aa
, uint32_t glyph_count
, const uint16_t glyph_indices
[], const struct PP_Point glyph_advances
[]) {
2738 const struct PPB_Flash_12_4
*iface
= Pnacl_WrapperInfo_PPB_Flash_12_4
.real_iface
;
2739 return iface
->DrawGlyphs(instance
, pp_image_data
, font_desc
, color
, position
, clip
, transformation
, allow_subpixel_aa
, glyph_count
, glyph_indices
, glyph_advances
);
2742 static void Pnacl_M21_PPB_Flash_GetProxyForURL(struct PP_Var
* _struct_result
, PP_Instance instance
, const char* url
) {
2743 const struct PPB_Flash_12_4
*iface
= Pnacl_WrapperInfo_PPB_Flash_12_4
.real_iface
;
2744 *_struct_result
= iface
->GetProxyForURL(instance
, url
);
2747 static int32_t Pnacl_M21_PPB_Flash_Navigate(PP_Resource request_info
, const char* target
, PP_Bool from_user_action
) {
2748 const struct PPB_Flash_12_4
*iface
= Pnacl_WrapperInfo_PPB_Flash_12_4
.real_iface
;
2749 return iface
->Navigate(request_info
, target
, from_user_action
);
2752 static void Pnacl_M21_PPB_Flash_RunMessageLoop(PP_Instance instance
) {
2753 const struct PPB_Flash_12_4
*iface
= Pnacl_WrapperInfo_PPB_Flash_12_4
.real_iface
;
2754 iface
->RunMessageLoop(instance
);
2757 static void Pnacl_M21_PPB_Flash_QuitMessageLoop(PP_Instance instance
) {
2758 const struct PPB_Flash_12_4
*iface
= Pnacl_WrapperInfo_PPB_Flash_12_4
.real_iface
;
2759 iface
->QuitMessageLoop(instance
);
2762 static double Pnacl_M21_PPB_Flash_GetLocalTimeZoneOffset(PP_Instance instance
, PP_Time t
) {
2763 const struct PPB_Flash_12_4
*iface
= Pnacl_WrapperInfo_PPB_Flash_12_4
.real_iface
;
2764 return iface
->GetLocalTimeZoneOffset(instance
, t
);
2767 static void Pnacl_M21_PPB_Flash_GetCommandLineArgs(struct PP_Var
* _struct_result
, PP_Module module
) {
2768 const struct PPB_Flash_12_4
*iface
= Pnacl_WrapperInfo_PPB_Flash_12_4
.real_iface
;
2769 *_struct_result
= iface
->GetCommandLineArgs(module
);
2772 static void Pnacl_M21_PPB_Flash_PreloadFontWin(const void* logfontw
) {
2773 const struct PPB_Flash_12_4
*iface
= Pnacl_WrapperInfo_PPB_Flash_12_4
.real_iface
;
2774 iface
->PreloadFontWin(logfontw
);
2777 static PP_Bool
Pnacl_M21_PPB_Flash_IsRectTopmost(PP_Instance instance
, const struct PP_Rect
* rect
) {
2778 const struct PPB_Flash_12_4
*iface
= Pnacl_WrapperInfo_PPB_Flash_12_4
.real_iface
;
2779 return iface
->IsRectTopmost(instance
, rect
);
2782 static int32_t Pnacl_M21_PPB_Flash_InvokePrinting(PP_Instance instance
) {
2783 const struct PPB_Flash_12_4
*iface
= Pnacl_WrapperInfo_PPB_Flash_12_4
.real_iface
;
2784 return iface
->InvokePrinting(instance
);
2787 static void Pnacl_M21_PPB_Flash_UpdateActivity(PP_Instance instance
) {
2788 const struct PPB_Flash_12_4
*iface
= Pnacl_WrapperInfo_PPB_Flash_12_4
.real_iface
;
2789 iface
->UpdateActivity(instance
);
2792 static void Pnacl_M21_PPB_Flash_GetDeviceID(struct PP_Var
* _struct_result
, PP_Instance instance
) {
2793 const struct PPB_Flash_12_4
*iface
= Pnacl_WrapperInfo_PPB_Flash_12_4
.real_iface
;
2794 *_struct_result
= iface
->GetDeviceID(instance
);
2797 static int32_t Pnacl_M21_PPB_Flash_GetSettingInt(PP_Instance instance
, PP_FlashSetting setting
) {
2798 const struct PPB_Flash_12_4
*iface
= Pnacl_WrapperInfo_PPB_Flash_12_4
.real_iface
;
2799 return iface
->GetSettingInt(instance
, setting
);
2802 static void Pnacl_M21_PPB_Flash_GetSetting(struct PP_Var
* _struct_result
, PP_Instance instance
, PP_FlashSetting setting
) {
2803 const struct PPB_Flash_12_4
*iface
= Pnacl_WrapperInfo_PPB_Flash_12_4
.real_iface
;
2804 *_struct_result
= iface
->GetSetting(instance
, setting
);
2807 /* End wrapper methods for PPB_Flash_12_4 */
2809 /* Begin wrapper methods for PPB_Flash_12_5 */
2811 static void Pnacl_M22_PPB_Flash_SetInstanceAlwaysOnTop(PP_Instance instance
, PP_Bool on_top
) {
2812 const struct PPB_Flash_12_5
*iface
= Pnacl_WrapperInfo_PPB_Flash_12_5
.real_iface
;
2813 iface
->SetInstanceAlwaysOnTop(instance
, on_top
);
2816 static PP_Bool
Pnacl_M22_PPB_Flash_DrawGlyphs(PP_Instance instance
, PP_Resource pp_image_data
, const struct PP_BrowserFont_Trusted_Description
* font_desc
, uint32_t color
, const struct PP_Point
* position
, const struct PP_Rect
* clip
, const float transformation
[3][3], PP_Bool allow_subpixel_aa
, uint32_t glyph_count
, const uint16_t glyph_indices
[], const struct PP_Point glyph_advances
[]) {
2817 const struct PPB_Flash_12_5
*iface
= Pnacl_WrapperInfo_PPB_Flash_12_5
.real_iface
;
2818 return iface
->DrawGlyphs(instance
, pp_image_data
, font_desc
, color
, position
, clip
, transformation
, allow_subpixel_aa
, glyph_count
, glyph_indices
, glyph_advances
);
2821 static void Pnacl_M22_PPB_Flash_GetProxyForURL(struct PP_Var
* _struct_result
, PP_Instance instance
, const char* url
) {
2822 const struct PPB_Flash_12_5
*iface
= Pnacl_WrapperInfo_PPB_Flash_12_5
.real_iface
;
2823 *_struct_result
= iface
->GetProxyForURL(instance
, url
);
2826 static int32_t Pnacl_M22_PPB_Flash_Navigate(PP_Resource request_info
, const char* target
, PP_Bool from_user_action
) {
2827 const struct PPB_Flash_12_5
*iface
= Pnacl_WrapperInfo_PPB_Flash_12_5
.real_iface
;
2828 return iface
->Navigate(request_info
, target
, from_user_action
);
2831 static void Pnacl_M22_PPB_Flash_RunMessageLoop(PP_Instance instance
) {
2832 const struct PPB_Flash_12_5
*iface
= Pnacl_WrapperInfo_PPB_Flash_12_5
.real_iface
;
2833 iface
->RunMessageLoop(instance
);
2836 static void Pnacl_M22_PPB_Flash_QuitMessageLoop(PP_Instance instance
) {
2837 const struct PPB_Flash_12_5
*iface
= Pnacl_WrapperInfo_PPB_Flash_12_5
.real_iface
;
2838 iface
->QuitMessageLoop(instance
);
2841 static double Pnacl_M22_PPB_Flash_GetLocalTimeZoneOffset(PP_Instance instance
, PP_Time t
) {
2842 const struct PPB_Flash_12_5
*iface
= Pnacl_WrapperInfo_PPB_Flash_12_5
.real_iface
;
2843 return iface
->GetLocalTimeZoneOffset(instance
, t
);
2846 static void Pnacl_M22_PPB_Flash_GetCommandLineArgs(struct PP_Var
* _struct_result
, PP_Module module
) {
2847 const struct PPB_Flash_12_5
*iface
= Pnacl_WrapperInfo_PPB_Flash_12_5
.real_iface
;
2848 *_struct_result
= iface
->GetCommandLineArgs(module
);
2851 static void Pnacl_M22_PPB_Flash_PreloadFontWin(const void* logfontw
) {
2852 const struct PPB_Flash_12_5
*iface
= Pnacl_WrapperInfo_PPB_Flash_12_5
.real_iface
;
2853 iface
->PreloadFontWin(logfontw
);
2856 static PP_Bool
Pnacl_M22_PPB_Flash_IsRectTopmost(PP_Instance instance
, const struct PP_Rect
* rect
) {
2857 const struct PPB_Flash_12_5
*iface
= Pnacl_WrapperInfo_PPB_Flash_12_5
.real_iface
;
2858 return iface
->IsRectTopmost(instance
, rect
);
2861 static int32_t Pnacl_M22_PPB_Flash_InvokePrinting(PP_Instance instance
) {
2862 const struct PPB_Flash_12_5
*iface
= Pnacl_WrapperInfo_PPB_Flash_12_5
.real_iface
;
2863 return iface
->InvokePrinting(instance
);
2866 static void Pnacl_M22_PPB_Flash_UpdateActivity(PP_Instance instance
) {
2867 const struct PPB_Flash_12_5
*iface
= Pnacl_WrapperInfo_PPB_Flash_12_5
.real_iface
;
2868 iface
->UpdateActivity(instance
);
2871 static void Pnacl_M22_PPB_Flash_GetDeviceID(struct PP_Var
* _struct_result
, PP_Instance instance
) {
2872 const struct PPB_Flash_12_5
*iface
= Pnacl_WrapperInfo_PPB_Flash_12_5
.real_iface
;
2873 *_struct_result
= iface
->GetDeviceID(instance
);
2876 static int32_t Pnacl_M22_PPB_Flash_GetSettingInt(PP_Instance instance
, PP_FlashSetting setting
) {
2877 const struct PPB_Flash_12_5
*iface
= Pnacl_WrapperInfo_PPB_Flash_12_5
.real_iface
;
2878 return iface
->GetSettingInt(instance
, setting
);
2881 static void Pnacl_M22_PPB_Flash_GetSetting(struct PP_Var
* _struct_result
, PP_Instance instance
, PP_FlashSetting setting
) {
2882 const struct PPB_Flash_12_5
*iface
= Pnacl_WrapperInfo_PPB_Flash_12_5
.real_iface
;
2883 *_struct_result
= iface
->GetSetting(instance
, setting
);
2886 static PP_Bool
Pnacl_M22_PPB_Flash_SetCrashData(PP_Instance instance
, PP_FlashCrashKey key
, struct PP_Var
* value
) {
2887 const struct PPB_Flash_12_5
*iface
= Pnacl_WrapperInfo_PPB_Flash_12_5
.real_iface
;
2888 return iface
->SetCrashData(instance
, key
, *value
);
2891 /* End wrapper methods for PPB_Flash_12_5 */
2893 /* Begin wrapper methods for PPB_Flash_12_6 */
2895 static void Pnacl_M24_0_PPB_Flash_SetInstanceAlwaysOnTop(PP_Instance instance
, PP_Bool on_top
) {
2896 const struct PPB_Flash_12_6
*iface
= Pnacl_WrapperInfo_PPB_Flash_12_6
.real_iface
;
2897 iface
->SetInstanceAlwaysOnTop(instance
, on_top
);
2900 static PP_Bool
Pnacl_M24_0_PPB_Flash_DrawGlyphs(PP_Instance instance
, PP_Resource pp_image_data
, const struct PP_BrowserFont_Trusted_Description
* font_desc
, uint32_t color
, const struct PP_Point
* position
, const struct PP_Rect
* clip
, const float transformation
[3][3], PP_Bool allow_subpixel_aa
, uint32_t glyph_count
, const uint16_t glyph_indices
[], const struct PP_Point glyph_advances
[]) {
2901 const struct PPB_Flash_12_6
*iface
= Pnacl_WrapperInfo_PPB_Flash_12_6
.real_iface
;
2902 return iface
->DrawGlyphs(instance
, pp_image_data
, font_desc
, color
, position
, clip
, transformation
, allow_subpixel_aa
, glyph_count
, glyph_indices
, glyph_advances
);
2905 static void Pnacl_M24_0_PPB_Flash_GetProxyForURL(struct PP_Var
* _struct_result
, PP_Instance instance
, const char* url
) {
2906 const struct PPB_Flash_12_6
*iface
= Pnacl_WrapperInfo_PPB_Flash_12_6
.real_iface
;
2907 *_struct_result
= iface
->GetProxyForURL(instance
, url
);
2910 static int32_t Pnacl_M24_0_PPB_Flash_Navigate(PP_Resource request_info
, const char* target
, PP_Bool from_user_action
) {
2911 const struct PPB_Flash_12_6
*iface
= Pnacl_WrapperInfo_PPB_Flash_12_6
.real_iface
;
2912 return iface
->Navigate(request_info
, target
, from_user_action
);
2915 static void Pnacl_M24_0_PPB_Flash_RunMessageLoop(PP_Instance instance
) {
2916 const struct PPB_Flash_12_6
*iface
= Pnacl_WrapperInfo_PPB_Flash_12_6
.real_iface
;
2917 iface
->RunMessageLoop(instance
);
2920 static void Pnacl_M24_0_PPB_Flash_QuitMessageLoop(PP_Instance instance
) {
2921 const struct PPB_Flash_12_6
*iface
= Pnacl_WrapperInfo_PPB_Flash_12_6
.real_iface
;
2922 iface
->QuitMessageLoop(instance
);
2925 static double Pnacl_M24_0_PPB_Flash_GetLocalTimeZoneOffset(PP_Instance instance
, PP_Time t
) {
2926 const struct PPB_Flash_12_6
*iface
= Pnacl_WrapperInfo_PPB_Flash_12_6
.real_iface
;
2927 return iface
->GetLocalTimeZoneOffset(instance
, t
);
2930 static void Pnacl_M24_0_PPB_Flash_GetCommandLineArgs(struct PP_Var
* _struct_result
, PP_Module module
) {
2931 const struct PPB_Flash_12_6
*iface
= Pnacl_WrapperInfo_PPB_Flash_12_6
.real_iface
;
2932 *_struct_result
= iface
->GetCommandLineArgs(module
);
2935 static void Pnacl_M24_0_PPB_Flash_PreloadFontWin(const void* logfontw
) {
2936 const struct PPB_Flash_12_6
*iface
= Pnacl_WrapperInfo_PPB_Flash_12_6
.real_iface
;
2937 iface
->PreloadFontWin(logfontw
);
2940 static PP_Bool
Pnacl_M24_0_PPB_Flash_IsRectTopmost(PP_Instance instance
, const struct PP_Rect
* rect
) {
2941 const struct PPB_Flash_12_6
*iface
= Pnacl_WrapperInfo_PPB_Flash_12_6
.real_iface
;
2942 return iface
->IsRectTopmost(instance
, rect
);
2945 static int32_t Pnacl_M24_0_PPB_Flash_InvokePrinting(PP_Instance instance
) {
2946 const struct PPB_Flash_12_6
*iface
= Pnacl_WrapperInfo_PPB_Flash_12_6
.real_iface
;
2947 return iface
->InvokePrinting(instance
);
2950 static void Pnacl_M24_0_PPB_Flash_UpdateActivity(PP_Instance instance
) {
2951 const struct PPB_Flash_12_6
*iface
= Pnacl_WrapperInfo_PPB_Flash_12_6
.real_iface
;
2952 iface
->UpdateActivity(instance
);
2955 static void Pnacl_M24_0_PPB_Flash_GetDeviceID(struct PP_Var
* _struct_result
, PP_Instance instance
) {
2956 const struct PPB_Flash_12_6
*iface
= Pnacl_WrapperInfo_PPB_Flash_12_6
.real_iface
;
2957 *_struct_result
= iface
->GetDeviceID(instance
);
2960 static int32_t Pnacl_M24_0_PPB_Flash_GetSettingInt(PP_Instance instance
, PP_FlashSetting setting
) {
2961 const struct PPB_Flash_12_6
*iface
= Pnacl_WrapperInfo_PPB_Flash_12_6
.real_iface
;
2962 return iface
->GetSettingInt(instance
, setting
);
2965 static void Pnacl_M24_0_PPB_Flash_GetSetting(struct PP_Var
* _struct_result
, PP_Instance instance
, PP_FlashSetting setting
) {
2966 const struct PPB_Flash_12_6
*iface
= Pnacl_WrapperInfo_PPB_Flash_12_6
.real_iface
;
2967 *_struct_result
= iface
->GetSetting(instance
, setting
);
2970 static PP_Bool
Pnacl_M24_0_PPB_Flash_SetCrashData(PP_Instance instance
, PP_FlashCrashKey key
, struct PP_Var
* value
) {
2971 const struct PPB_Flash_12_6
*iface
= Pnacl_WrapperInfo_PPB_Flash_12_6
.real_iface
;
2972 return iface
->SetCrashData(instance
, key
, *value
);
2975 static int32_t Pnacl_M24_0_PPB_Flash_EnumerateVideoCaptureDevices(PP_Instance instance
, PP_Resource video_capture
, struct PP_ArrayOutput
* devices
) {
2976 const struct PPB_Flash_12_6
*iface
= Pnacl_WrapperInfo_PPB_Flash_12_6
.real_iface
;
2977 return iface
->EnumerateVideoCaptureDevices(instance
, video_capture
, *devices
);
2980 /* End wrapper methods for PPB_Flash_12_6 */
2982 /* Begin wrapper methods for PPB_Flash_13_0 */
2984 static void Pnacl_M24_1_PPB_Flash_SetInstanceAlwaysOnTop(PP_Instance instance
, PP_Bool on_top
) {
2985 const struct PPB_Flash_13_0
*iface
= Pnacl_WrapperInfo_PPB_Flash_13_0
.real_iface
;
2986 iface
->SetInstanceAlwaysOnTop(instance
, on_top
);
2989 static PP_Bool
Pnacl_M24_1_PPB_Flash_DrawGlyphs(PP_Instance instance
, PP_Resource pp_image_data
, const struct PP_BrowserFont_Trusted_Description
* font_desc
, uint32_t color
, const struct PP_Point
* position
, const struct PP_Rect
* clip
, const float transformation
[3][3], PP_Bool allow_subpixel_aa
, uint32_t glyph_count
, const uint16_t glyph_indices
[], const struct PP_Point glyph_advances
[]) {
2990 const struct PPB_Flash_13_0
*iface
= Pnacl_WrapperInfo_PPB_Flash_13_0
.real_iface
;
2991 return iface
->DrawGlyphs(instance
, pp_image_data
, font_desc
, color
, position
, clip
, transformation
, allow_subpixel_aa
, glyph_count
, glyph_indices
, glyph_advances
);
2994 static void Pnacl_M24_1_PPB_Flash_GetProxyForURL(struct PP_Var
* _struct_result
, PP_Instance instance
, const char* url
) {
2995 const struct PPB_Flash_13_0
*iface
= Pnacl_WrapperInfo_PPB_Flash_13_0
.real_iface
;
2996 *_struct_result
= iface
->GetProxyForURL(instance
, url
);
2999 static int32_t Pnacl_M24_1_PPB_Flash_Navigate(PP_Resource request_info
, const char* target
, PP_Bool from_user_action
) {
3000 const struct PPB_Flash_13_0
*iface
= Pnacl_WrapperInfo_PPB_Flash_13_0
.real_iface
;
3001 return iface
->Navigate(request_info
, target
, from_user_action
);
3004 static double Pnacl_M24_1_PPB_Flash_GetLocalTimeZoneOffset(PP_Instance instance
, PP_Time t
) {
3005 const struct PPB_Flash_13_0
*iface
= Pnacl_WrapperInfo_PPB_Flash_13_0
.real_iface
;
3006 return iface
->GetLocalTimeZoneOffset(instance
, t
);
3009 static void Pnacl_M24_1_PPB_Flash_GetCommandLineArgs(struct PP_Var
* _struct_result
, PP_Module module
) {
3010 const struct PPB_Flash_13_0
*iface
= Pnacl_WrapperInfo_PPB_Flash_13_0
.real_iface
;
3011 *_struct_result
= iface
->GetCommandLineArgs(module
);
3014 static void Pnacl_M24_1_PPB_Flash_PreloadFontWin(const void* logfontw
) {
3015 const struct PPB_Flash_13_0
*iface
= Pnacl_WrapperInfo_PPB_Flash_13_0
.real_iface
;
3016 iface
->PreloadFontWin(logfontw
);
3019 static PP_Bool
Pnacl_M24_1_PPB_Flash_IsRectTopmost(PP_Instance instance
, const struct PP_Rect
* rect
) {
3020 const struct PPB_Flash_13_0
*iface
= Pnacl_WrapperInfo_PPB_Flash_13_0
.real_iface
;
3021 return iface
->IsRectTopmost(instance
, rect
);
3024 static void Pnacl_M24_1_PPB_Flash_UpdateActivity(PP_Instance instance
) {
3025 const struct PPB_Flash_13_0
*iface
= Pnacl_WrapperInfo_PPB_Flash_13_0
.real_iface
;
3026 iface
->UpdateActivity(instance
);
3029 static void Pnacl_M24_1_PPB_Flash_GetSetting(struct PP_Var
* _struct_result
, PP_Instance instance
, PP_FlashSetting setting
) {
3030 const struct PPB_Flash_13_0
*iface
= Pnacl_WrapperInfo_PPB_Flash_13_0
.real_iface
;
3031 *_struct_result
= iface
->GetSetting(instance
, setting
);
3034 static PP_Bool
Pnacl_M24_1_PPB_Flash_SetCrashData(PP_Instance instance
, PP_FlashCrashKey key
, struct PP_Var
* value
) {
3035 const struct PPB_Flash_13_0
*iface
= Pnacl_WrapperInfo_PPB_Flash_13_0
.real_iface
;
3036 return iface
->SetCrashData(instance
, key
, *value
);
3039 static int32_t Pnacl_M24_1_PPB_Flash_EnumerateVideoCaptureDevices(PP_Instance instance
, PP_Resource video_capture
, struct PP_ArrayOutput
* devices
) {
3040 const struct PPB_Flash_13_0
*iface
= Pnacl_WrapperInfo_PPB_Flash_13_0
.real_iface
;
3041 return iface
->EnumerateVideoCaptureDevices(instance
, video_capture
, *devices
);
3044 /* End wrapper methods for PPB_Flash_13_0 */
3046 /* Begin wrapper methods for PPB_Flash_Clipboard_4_0 */
3048 static PP_Bool
Pnacl_M19_PPB_Flash_Clipboard_IsFormatAvailable(PP_Instance instance_id
, PP_Flash_Clipboard_Type clipboard_type
, PP_Flash_Clipboard_Format format
) {
3049 const struct PPB_Flash_Clipboard_4_0
*iface
= Pnacl_WrapperInfo_PPB_Flash_Clipboard_4_0
.real_iface
;
3050 return iface
->IsFormatAvailable(instance_id
, clipboard_type
, format
);
3053 static void Pnacl_M19_PPB_Flash_Clipboard_ReadData(struct PP_Var
* _struct_result
, PP_Instance instance_id
, PP_Flash_Clipboard_Type clipboard_type
, PP_Flash_Clipboard_Format format
) {
3054 const struct PPB_Flash_Clipboard_4_0
*iface
= Pnacl_WrapperInfo_PPB_Flash_Clipboard_4_0
.real_iface
;
3055 *_struct_result
= iface
->ReadData(instance_id
, clipboard_type
, format
);
3058 static int32_t Pnacl_M19_PPB_Flash_Clipboard_WriteData(PP_Instance instance_id
, PP_Flash_Clipboard_Type clipboard_type
, uint32_t data_item_count
, const PP_Flash_Clipboard_Format formats
[], const struct PP_Var data_items
[]) {
3059 const struct PPB_Flash_Clipboard_4_0
*iface
= Pnacl_WrapperInfo_PPB_Flash_Clipboard_4_0
.real_iface
;
3060 return iface
->WriteData(instance_id
, clipboard_type
, data_item_count
, formats
, data_items
);
3063 /* End wrapper methods for PPB_Flash_Clipboard_4_0 */
3065 /* Begin wrapper methods for PPB_Flash_Clipboard_5_0 */
3067 static uint32_t Pnacl_M24_PPB_Flash_Clipboard_RegisterCustomFormat(PP_Instance instance_id
, const char* format_name
) {
3068 const struct PPB_Flash_Clipboard_5_0
*iface
= Pnacl_WrapperInfo_PPB_Flash_Clipboard_5_0
.real_iface
;
3069 return iface
->RegisterCustomFormat(instance_id
, format_name
);
3072 static PP_Bool
Pnacl_M24_PPB_Flash_Clipboard_IsFormatAvailable(PP_Instance instance_id
, PP_Flash_Clipboard_Type clipboard_type
, uint32_t format
) {
3073 const struct PPB_Flash_Clipboard_5_0
*iface
= Pnacl_WrapperInfo_PPB_Flash_Clipboard_5_0
.real_iface
;
3074 return iface
->IsFormatAvailable(instance_id
, clipboard_type
, format
);
3077 static void Pnacl_M24_PPB_Flash_Clipboard_ReadData(struct PP_Var
* _struct_result
, PP_Instance instance_id
, PP_Flash_Clipboard_Type clipboard_type
, uint32_t format
) {
3078 const struct PPB_Flash_Clipboard_5_0
*iface
= Pnacl_WrapperInfo_PPB_Flash_Clipboard_5_0
.real_iface
;
3079 *_struct_result
= iface
->ReadData(instance_id
, clipboard_type
, format
);
3082 static int32_t Pnacl_M24_PPB_Flash_Clipboard_WriteData(PP_Instance instance_id
, PP_Flash_Clipboard_Type clipboard_type
, uint32_t data_item_count
, const uint32_t formats
[], const struct PP_Var data_items
[]) {
3083 const struct PPB_Flash_Clipboard_5_0
*iface
= Pnacl_WrapperInfo_PPB_Flash_Clipboard_5_0
.real_iface
;
3084 return iface
->WriteData(instance_id
, clipboard_type
, data_item_count
, formats
, data_items
);
3087 /* End wrapper methods for PPB_Flash_Clipboard_5_0 */
3089 /* Begin wrapper methods for PPB_Flash_Clipboard_5_1 */
3091 static uint32_t Pnacl_M34_PPB_Flash_Clipboard_RegisterCustomFormat(PP_Instance instance_id
, const char* format_name
) {
3092 const struct PPB_Flash_Clipboard_5_1
*iface
= Pnacl_WrapperInfo_PPB_Flash_Clipboard_5_1
.real_iface
;
3093 return iface
->RegisterCustomFormat(instance_id
, format_name
);
3096 static PP_Bool
Pnacl_M34_PPB_Flash_Clipboard_IsFormatAvailable(PP_Instance instance_id
, PP_Flash_Clipboard_Type clipboard_type
, uint32_t format
) {
3097 const struct PPB_Flash_Clipboard_5_1
*iface
= Pnacl_WrapperInfo_PPB_Flash_Clipboard_5_1
.real_iface
;
3098 return iface
->IsFormatAvailable(instance_id
, clipboard_type
, format
);
3101 static void Pnacl_M34_PPB_Flash_Clipboard_ReadData(struct PP_Var
* _struct_result
, PP_Instance instance_id
, PP_Flash_Clipboard_Type clipboard_type
, uint32_t format
) {
3102 const struct PPB_Flash_Clipboard_5_1
*iface
= Pnacl_WrapperInfo_PPB_Flash_Clipboard_5_1
.real_iface
;
3103 *_struct_result
= iface
->ReadData(instance_id
, clipboard_type
, format
);
3106 static int32_t Pnacl_M34_PPB_Flash_Clipboard_WriteData(PP_Instance instance_id
, PP_Flash_Clipboard_Type clipboard_type
, uint32_t data_item_count
, const uint32_t formats
[], const struct PP_Var data_items
[]) {
3107 const struct PPB_Flash_Clipboard_5_1
*iface
= Pnacl_WrapperInfo_PPB_Flash_Clipboard_5_1
.real_iface
;
3108 return iface
->WriteData(instance_id
, clipboard_type
, data_item_count
, formats
, data_items
);
3111 static PP_Bool
Pnacl_M34_PPB_Flash_Clipboard_GetSequenceNumber(PP_Instance instance_id
, PP_Flash_Clipboard_Type clipboard_type
, uint64_t* sequence_number
) {
3112 const struct PPB_Flash_Clipboard_5_1
*iface
= Pnacl_WrapperInfo_PPB_Flash_Clipboard_5_1
.real_iface
;
3113 return iface
->GetSequenceNumber(instance_id
, clipboard_type
, sequence_number
);
3116 /* End wrapper methods for PPB_Flash_Clipboard_5_1 */
3118 /* Begin wrapper methods for PPB_Flash_DeviceID_1_0 */
3120 static PP_Resource
Pnacl_M21_PPB_Flash_DeviceID_Create(PP_Instance instance
) {
3121 const struct PPB_Flash_DeviceID_1_0
*iface
= Pnacl_WrapperInfo_PPB_Flash_DeviceID_1_0
.real_iface
;
3122 return iface
->Create(instance
);
3125 static int32_t Pnacl_M21_PPB_Flash_DeviceID_GetDeviceID(PP_Resource device_id
, struct PP_Var
* id
, struct PP_CompletionCallback
* callback
) {
3126 const struct PPB_Flash_DeviceID_1_0
*iface
= Pnacl_WrapperInfo_PPB_Flash_DeviceID_1_0
.real_iface
;
3127 return iface
->GetDeviceID(device_id
, id
, *callback
);
3130 /* End wrapper methods for PPB_Flash_DeviceID_1_0 */
3132 /* Begin wrapper methods for PPB_Flash_DRM_1_0 */
3134 static PP_Resource
Pnacl_M29_PPB_Flash_DRM_Create(PP_Instance instance
) {
3135 const struct PPB_Flash_DRM_1_0
*iface
= Pnacl_WrapperInfo_PPB_Flash_DRM_1_0
.real_iface
;
3136 return iface
->Create(instance
);
3139 static int32_t Pnacl_M29_PPB_Flash_DRM_GetDeviceID(PP_Resource drm
, struct PP_Var
* id
, struct PP_CompletionCallback
* callback
) {
3140 const struct PPB_Flash_DRM_1_0
*iface
= Pnacl_WrapperInfo_PPB_Flash_DRM_1_0
.real_iface
;
3141 return iface
->GetDeviceID(drm
, id
, *callback
);
3144 static PP_Bool
Pnacl_M29_PPB_Flash_DRM_GetHmonitor(PP_Resource drm
, int64_t* hmonitor
) {
3145 const struct PPB_Flash_DRM_1_0
*iface
= Pnacl_WrapperInfo_PPB_Flash_DRM_1_0
.real_iface
;
3146 return iface
->GetHmonitor(drm
, hmonitor
);
3149 static int32_t Pnacl_M29_PPB_Flash_DRM_GetVoucherFile(PP_Resource drm
, PP_Resource
* file_ref
, struct PP_CompletionCallback
* callback
) {
3150 const struct PPB_Flash_DRM_1_0
*iface
= Pnacl_WrapperInfo_PPB_Flash_DRM_1_0
.real_iface
;
3151 return iface
->GetVoucherFile(drm
, file_ref
, *callback
);
3154 /* End wrapper methods for PPB_Flash_DRM_1_0 */
3156 /* Begin wrapper methods for PPB_Flash_DRM_1_1 */
3158 static PP_Resource
Pnacl_M33_PPB_Flash_DRM_Create(PP_Instance instance
) {
3159 const struct PPB_Flash_DRM_1_1
*iface
= Pnacl_WrapperInfo_PPB_Flash_DRM_1_1
.real_iface
;
3160 return iface
->Create(instance
);
3163 static int32_t Pnacl_M33_PPB_Flash_DRM_GetDeviceID(PP_Resource drm
, struct PP_Var
* id
, struct PP_CompletionCallback
* callback
) {
3164 const struct PPB_Flash_DRM_1_1
*iface
= Pnacl_WrapperInfo_PPB_Flash_DRM_1_1
.real_iface
;
3165 return iface
->GetDeviceID(drm
, id
, *callback
);
3168 static PP_Bool
Pnacl_M33_PPB_Flash_DRM_GetHmonitor(PP_Resource drm
, int64_t* hmonitor
) {
3169 const struct PPB_Flash_DRM_1_1
*iface
= Pnacl_WrapperInfo_PPB_Flash_DRM_1_1
.real_iface
;
3170 return iface
->GetHmonitor(drm
, hmonitor
);
3173 static int32_t Pnacl_M33_PPB_Flash_DRM_GetVoucherFile(PP_Resource drm
, PP_Resource
* file_ref
, struct PP_CompletionCallback
* callback
) {
3174 const struct PPB_Flash_DRM_1_1
*iface
= Pnacl_WrapperInfo_PPB_Flash_DRM_1_1
.real_iface
;
3175 return iface
->GetVoucherFile(drm
, file_ref
, *callback
);
3178 static int32_t Pnacl_M33_PPB_Flash_DRM_MonitorIsExternal(PP_Resource drm
, PP_Bool
* is_external
, struct PP_CompletionCallback
* callback
) {
3179 const struct PPB_Flash_DRM_1_1
*iface
= Pnacl_WrapperInfo_PPB_Flash_DRM_1_1
.real_iface
;
3180 return iface
->MonitorIsExternal(drm
, is_external
, *callback
);
3183 /* End wrapper methods for PPB_Flash_DRM_1_1 */
3185 /* Not generating wrapper methods for PPB_Flash_FontFile_0_1 */
3187 /* Not generating wrapper methods for PPB_FlashFullscreen_0_1 */
3189 /* Not generating wrapper methods for PPB_FlashFullscreen_1_0 */
3191 /* Begin wrapper methods for PPB_Flash_Menu_0_2 */
3193 static PP_Resource
Pnacl_M14_PPB_Flash_Menu_Create(PP_Instance instance_id
, const struct PP_Flash_Menu
* menu_data
) {
3194 const struct PPB_Flash_Menu_0_2
*iface
= Pnacl_WrapperInfo_PPB_Flash_Menu_0_2
.real_iface
;
3195 return iface
->Create(instance_id
, menu_data
);
3198 static PP_Bool
Pnacl_M14_PPB_Flash_Menu_IsFlashMenu(PP_Resource resource_id
) {
3199 const struct PPB_Flash_Menu_0_2
*iface
= Pnacl_WrapperInfo_PPB_Flash_Menu_0_2
.real_iface
;
3200 return iface
->IsFlashMenu(resource_id
);
3203 static int32_t Pnacl_M14_PPB_Flash_Menu_Show(PP_Resource menu_id
, const struct PP_Point
* location
, int32_t* selected_id
, struct PP_CompletionCallback
* callback
) {
3204 const struct PPB_Flash_Menu_0_2
*iface
= Pnacl_WrapperInfo_PPB_Flash_Menu_0_2
.real_iface
;
3205 return iface
->Show(menu_id
, location
, selected_id
, *callback
);
3208 /* End wrapper methods for PPB_Flash_Menu_0_2 */
3210 /* Not generating wrapper methods for PPB_Flash_MessageLoop_0_1 */
3212 /* Not generating wrapper methods for PPB_Flash_Print_1_0 */
3214 /* Begin wrapper methods for PPB_HostResolver_Private_0_1 */
3216 static PP_Resource
Pnacl_M19_PPB_HostResolver_Private_Create(PP_Instance instance
) {
3217 const struct PPB_HostResolver_Private_0_1
*iface
= Pnacl_WrapperInfo_PPB_HostResolver_Private_0_1
.real_iface
;
3218 return iface
->Create(instance
);
3221 static PP_Bool
Pnacl_M19_PPB_HostResolver_Private_IsHostResolver(PP_Resource resource
) {
3222 const struct PPB_HostResolver_Private_0_1
*iface
= Pnacl_WrapperInfo_PPB_HostResolver_Private_0_1
.real_iface
;
3223 return iface
->IsHostResolver(resource
);
3226 static int32_t Pnacl_M19_PPB_HostResolver_Private_Resolve(PP_Resource host_resolver
, const char* host
, uint16_t port
, const struct PP_HostResolver_Private_Hint
* hint
, struct PP_CompletionCallback
* callback
) {
3227 const struct PPB_HostResolver_Private_0_1
*iface
= Pnacl_WrapperInfo_PPB_HostResolver_Private_0_1
.real_iface
;
3228 return iface
->Resolve(host_resolver
, host
, port
, hint
, *callback
);
3231 static void Pnacl_M19_PPB_HostResolver_Private_GetCanonicalName(struct PP_Var
* _struct_result
, PP_Resource host_resolver
) {
3232 const struct PPB_HostResolver_Private_0_1
*iface
= Pnacl_WrapperInfo_PPB_HostResolver_Private_0_1
.real_iface
;
3233 *_struct_result
= iface
->GetCanonicalName(host_resolver
);
3236 static uint32_t Pnacl_M19_PPB_HostResolver_Private_GetSize(PP_Resource host_resolver
) {
3237 const struct PPB_HostResolver_Private_0_1
*iface
= Pnacl_WrapperInfo_PPB_HostResolver_Private_0_1
.real_iface
;
3238 return iface
->GetSize(host_resolver
);
3241 static PP_Bool
Pnacl_M19_PPB_HostResolver_Private_GetNetAddress(PP_Resource host_resolver
, uint32_t index
, struct PP_NetAddress_Private
* addr
) {
3242 const struct PPB_HostResolver_Private_0_1
*iface
= Pnacl_WrapperInfo_PPB_HostResolver_Private_0_1
.real_iface
;
3243 return iface
->GetNetAddress(host_resolver
, index
, addr
);
3246 /* End wrapper methods for PPB_HostResolver_Private_0_1 */
3248 /* Not generating wrapper methods for PPB_InputEvent_Private_0_1 */
3250 /* Begin wrapper methods for PPB_Instance_Private_0_1 */
3252 static void Pnacl_M13_PPB_Instance_Private_GetWindowObject(struct PP_Var
* _struct_result
, PP_Instance instance
) {
3253 const struct PPB_Instance_Private_0_1
*iface
= Pnacl_WrapperInfo_PPB_Instance_Private_0_1
.real_iface
;
3254 *_struct_result
= iface
->GetWindowObject(instance
);
3257 static void Pnacl_M13_PPB_Instance_Private_GetOwnerElementObject(struct PP_Var
* _struct_result
, PP_Instance instance
) {
3258 const struct PPB_Instance_Private_0_1
*iface
= Pnacl_WrapperInfo_PPB_Instance_Private_0_1
.real_iface
;
3259 *_struct_result
= iface
->GetOwnerElementObject(instance
);
3262 static void Pnacl_M13_PPB_Instance_Private_ExecuteScript(struct PP_Var
* _struct_result
, PP_Instance instance
, struct PP_Var
* script
, struct PP_Var
* exception
) {
3263 const struct PPB_Instance_Private_0_1
*iface
= Pnacl_WrapperInfo_PPB_Instance_Private_0_1
.real_iface
;
3264 *_struct_result
= iface
->ExecuteScript(instance
, *script
, exception
);
3267 /* End wrapper methods for PPB_Instance_Private_0_1 */
3269 /* Begin wrapper methods for PPB_IsolatedFileSystem_Private_0_2 */
3271 static int32_t Pnacl_M33_PPB_IsolatedFileSystem_Private_Open(PP_Instance instance
, PP_IsolatedFileSystemType_Private type
, PP_Resource
* file_system
, struct PP_CompletionCallback
* callback
) {
3272 const struct PPB_IsolatedFileSystem_Private_0_2
*iface
= Pnacl_WrapperInfo_PPB_IsolatedFileSystem_Private_0_2
.real_iface
;
3273 return iface
->Open(instance
, type
, file_system
, *callback
);
3276 /* End wrapper methods for PPB_IsolatedFileSystem_Private_0_2 */
3278 /* Begin wrapper methods for PPB_NaCl_Private_1_0 */
3280 static void Pnacl_M25_PPB_NaCl_Private_LaunchSelLdr(PP_Instance instance
, PP_Bool main_service_runtime
, const char* alleged_url
, const struct PP_NaClFileInfo
* nexe_file_info
, PP_Bool uses_irt
, PP_Bool uses_ppapi
, PP_Bool uses_nonsfi_mode
, PP_Bool enable_ppapi_dev
, PP_Bool enable_dyncode_syscalls
, PP_Bool enable_exception_handling
, PP_Bool enable_crash_throttling
, void* imc_handle
, struct PP_CompletionCallback
* callback
) {
3281 const struct PPB_NaCl_Private_1_0
*iface
= Pnacl_WrapperInfo_PPB_NaCl_Private_1_0
.real_iface
;
3282 iface
->LaunchSelLdr(instance
, main_service_runtime
, alleged_url
, nexe_file_info
, uses_irt
, uses_ppapi
, uses_nonsfi_mode
, enable_ppapi_dev
, enable_dyncode_syscalls
, enable_exception_handling
, enable_crash_throttling
, imc_handle
, *callback
);
3285 static PP_Bool
Pnacl_M25_PPB_NaCl_Private_StartPpapiProxy(PP_Instance instance
) {
3286 const struct PPB_NaCl_Private_1_0
*iface
= Pnacl_WrapperInfo_PPB_NaCl_Private_1_0
.real_iface
;
3287 return iface
->StartPpapiProxy(instance
);
3290 static int32_t Pnacl_M25_PPB_NaCl_Private_UrandomFD(void) {
3291 const struct PPB_NaCl_Private_1_0
*iface
= Pnacl_WrapperInfo_PPB_NaCl_Private_1_0
.real_iface
;
3292 return iface
->UrandomFD();
3295 static PP_Bool
Pnacl_M25_PPB_NaCl_Private_Are3DInterfacesDisabled(void) {
3296 const struct PPB_NaCl_Private_1_0
*iface
= Pnacl_WrapperInfo_PPB_NaCl_Private_1_0
.real_iface
;
3297 return iface
->Are3DInterfacesDisabled();
3300 static int32_t Pnacl_M25_PPB_NaCl_Private_BrokerDuplicateHandle(PP_FileHandle source_handle
, uint32_t process_id
, PP_FileHandle
* target_handle
, uint32_t desired_access
, uint32_t options
) {
3301 const struct PPB_NaCl_Private_1_0
*iface
= Pnacl_WrapperInfo_PPB_NaCl_Private_1_0
.real_iface
;
3302 return iface
->BrokerDuplicateHandle(source_handle
, process_id
, target_handle
, desired_access
, options
);
3305 static void Pnacl_M25_PPB_NaCl_Private_GetReadExecPnaclFd(const char* url
, struct PP_NaClFileInfo
* out_file_info
) {
3306 const struct PPB_NaCl_Private_1_0
*iface
= Pnacl_WrapperInfo_PPB_NaCl_Private_1_0
.real_iface
;
3307 iface
->GetReadExecPnaclFd(url
, out_file_info
);
3310 static PP_FileHandle
Pnacl_M25_PPB_NaCl_Private_CreateTemporaryFile(PP_Instance instance
) {
3311 const struct PPB_NaCl_Private_1_0
*iface
= Pnacl_WrapperInfo_PPB_NaCl_Private_1_0
.real_iface
;
3312 return iface
->CreateTemporaryFile(instance
);
3315 static int32_t Pnacl_M25_PPB_NaCl_Private_GetNumberOfProcessors(void) {
3316 const struct PPB_NaCl_Private_1_0
*iface
= Pnacl_WrapperInfo_PPB_NaCl_Private_1_0
.real_iface
;
3317 return iface
->GetNumberOfProcessors();
3320 static PP_Bool
Pnacl_M25_PPB_NaCl_Private_IsNonSFIModeEnabled(void) {
3321 const struct PPB_NaCl_Private_1_0
*iface
= Pnacl_WrapperInfo_PPB_NaCl_Private_1_0
.real_iface
;
3322 return iface
->IsNonSFIModeEnabled();
3325 static void Pnacl_M25_PPB_NaCl_Private_ReportTranslationFinished(PP_Instance instance
, PP_Bool success
, int32_t opt_level
, int64_t pexe_size
, int64_t compile_time_us
) {
3326 const struct PPB_NaCl_Private_1_0
*iface
= Pnacl_WrapperInfo_PPB_NaCl_Private_1_0
.real_iface
;
3327 iface
->ReportTranslationFinished(instance
, success
, opt_level
, pexe_size
, compile_time_us
);
3330 static void Pnacl_M25_PPB_NaCl_Private_DispatchEvent(PP_Instance instance
, PP_NaClEventType event_type
, const char* resource_url
, PP_Bool length_is_computable
, uint64_t loaded_bytes
, uint64_t total_bytes
) {
3331 const struct PPB_NaCl_Private_1_0
*iface
= Pnacl_WrapperInfo_PPB_NaCl_Private_1_0
.real_iface
;
3332 iface
->DispatchEvent(instance
, event_type
, resource_url
, length_is_computable
, loaded_bytes
, total_bytes
);
3335 static void Pnacl_M25_PPB_NaCl_Private_ReportLoadSuccess(PP_Instance instance
, uint64_t loaded_bytes
, uint64_t total_bytes
) {
3336 const struct PPB_NaCl_Private_1_0
*iface
= Pnacl_WrapperInfo_PPB_NaCl_Private_1_0
.real_iface
;
3337 iface
->ReportLoadSuccess(instance
, loaded_bytes
, total_bytes
);
3340 static void Pnacl_M25_PPB_NaCl_Private_ReportLoadError(PP_Instance instance
, PP_NaClError error
, const char* error_message
) {
3341 const struct PPB_NaCl_Private_1_0
*iface
= Pnacl_WrapperInfo_PPB_NaCl_Private_1_0
.real_iface
;
3342 iface
->ReportLoadError(instance
, error
, error_message
);
3345 static void Pnacl_M25_PPB_NaCl_Private_ReportLoadAbort(PP_Instance instance
) {
3346 const struct PPB_NaCl_Private_1_0
*iface
= Pnacl_WrapperInfo_PPB_NaCl_Private_1_0
.real_iface
;
3347 iface
->ReportLoadAbort(instance
);
3350 static void Pnacl_M25_PPB_NaCl_Private_NexeDidCrash(PP_Instance instance
, const char* crash_log
) {
3351 const struct PPB_NaCl_Private_1_0
*iface
= Pnacl_WrapperInfo_PPB_NaCl_Private_1_0
.real_iface
;
3352 iface
->NexeDidCrash(instance
, crash_log
);
3355 static void Pnacl_M25_PPB_NaCl_Private_InstanceCreated(PP_Instance instance
) {
3356 const struct PPB_NaCl_Private_1_0
*iface
= Pnacl_WrapperInfo_PPB_NaCl_Private_1_0
.real_iface
;
3357 iface
->InstanceCreated(instance
);
3360 static void Pnacl_M25_PPB_NaCl_Private_InstanceDestroyed(PP_Instance instance
) {
3361 const struct PPB_NaCl_Private_1_0
*iface
= Pnacl_WrapperInfo_PPB_NaCl_Private_1_0
.real_iface
;
3362 iface
->InstanceDestroyed(instance
);
3365 static PP_Bool
Pnacl_M25_PPB_NaCl_Private_NaClDebugEnabledForURL(const char* alleged_nmf_url
) {
3366 const struct PPB_NaCl_Private_1_0
*iface
= Pnacl_WrapperInfo_PPB_NaCl_Private_1_0
.real_iface
;
3367 return iface
->NaClDebugEnabledForURL(alleged_nmf_url
);
3370 static const char* Pnacl_M25_PPB_NaCl_Private_GetSandboxArch(void) {
3371 const struct PPB_NaCl_Private_1_0
*iface
= Pnacl_WrapperInfo_PPB_NaCl_Private_1_0
.real_iface
;
3372 return iface
->GetSandboxArch();
3375 static void Pnacl_M25_PPB_NaCl_Private_LogToConsole(PP_Instance instance
, const char* message
) {
3376 const struct PPB_NaCl_Private_1_0
*iface
= Pnacl_WrapperInfo_PPB_NaCl_Private_1_0
.real_iface
;
3377 iface
->LogToConsole(instance
, message
);
3380 static PP_NaClReadyState
Pnacl_M25_PPB_NaCl_Private_GetNaClReadyState(PP_Instance instance
) {
3381 const struct PPB_NaCl_Private_1_0
*iface
= Pnacl_WrapperInfo_PPB_NaCl_Private_1_0
.real_iface
;
3382 return iface
->GetNaClReadyState(instance
);
3385 static int32_t Pnacl_M25_PPB_NaCl_Private_GetExitStatus(PP_Instance instance
) {
3386 const struct PPB_NaCl_Private_1_0
*iface
= Pnacl_WrapperInfo_PPB_NaCl_Private_1_0
.real_iface
;
3387 return iface
->GetExitStatus(instance
);
3390 static void Pnacl_M25_PPB_NaCl_Private_SetExitStatus(PP_Instance instance
, int32_t exit_status
) {
3391 const struct PPB_NaCl_Private_1_0
*iface
= Pnacl_WrapperInfo_PPB_NaCl_Private_1_0
.real_iface
;
3392 iface
->SetExitStatus(instance
, exit_status
);
3395 static void Pnacl_M25_PPB_NaCl_Private_Vlog(const char* message
) {
3396 const struct PPB_NaCl_Private_1_0
*iface
= Pnacl_WrapperInfo_PPB_NaCl_Private_1_0
.real_iface
;
3397 iface
->Vlog(message
);
3400 static void Pnacl_M25_PPB_NaCl_Private_InitializePlugin(PP_Instance instance
, uint32_t argc
, const char* argn
[], const char* argv
[]) {
3401 const struct PPB_NaCl_Private_1_0
*iface
= Pnacl_WrapperInfo_PPB_NaCl_Private_1_0
.real_iface
;
3402 iface
->InitializePlugin(instance
, argc
, argn
, argv
);
3405 static int64_t Pnacl_M25_PPB_NaCl_Private_GetNexeSize(PP_Instance instance
) {
3406 const struct PPB_NaCl_Private_1_0
*iface
= Pnacl_WrapperInfo_PPB_NaCl_Private_1_0
.real_iface
;
3407 return iface
->GetNexeSize(instance
);
3410 static void Pnacl_M25_PPB_NaCl_Private_RequestNaClManifest(PP_Instance instance
, struct PP_CompletionCallback
* callback
) {
3411 const struct PPB_NaCl_Private_1_0
*iface
= Pnacl_WrapperInfo_PPB_NaCl_Private_1_0
.real_iface
;
3412 iface
->RequestNaClManifest(instance
, *callback
);
3415 static void Pnacl_M25_PPB_NaCl_Private_GetManifestBaseURL(struct PP_Var
* _struct_result
, PP_Instance instance
) {
3416 const struct PPB_NaCl_Private_1_0
*iface
= Pnacl_WrapperInfo_PPB_NaCl_Private_1_0
.real_iface
;
3417 *_struct_result
= iface
->GetManifestBaseURL(instance
);
3420 static void Pnacl_M25_PPB_NaCl_Private_ProcessNaClManifest(PP_Instance instance
, const char* program_url
) {
3421 const struct PPB_NaCl_Private_1_0
*iface
= Pnacl_WrapperInfo_PPB_NaCl_Private_1_0
.real_iface
;
3422 iface
->ProcessNaClManifest(instance
, program_url
);
3425 static PP_Bool
Pnacl_M25_PPB_NaCl_Private_DevInterfacesEnabled(PP_Instance instance
) {
3426 const struct PPB_NaCl_Private_1_0
*iface
= Pnacl_WrapperInfo_PPB_NaCl_Private_1_0
.real_iface
;
3427 return iface
->DevInterfacesEnabled(instance
);
3430 static PP_Bool
Pnacl_M25_PPB_NaCl_Private_GetManifestProgramURL(PP_Instance instance
, struct PP_Var
* full_url
, struct PP_PNaClOptions
* pnacl_options
, PP_Bool
* uses_nonsfi_mode
) {
3431 const struct PPB_NaCl_Private_1_0
*iface
= Pnacl_WrapperInfo_PPB_NaCl_Private_1_0
.real_iface
;
3432 return iface
->GetManifestProgramURL(instance
, full_url
, pnacl_options
, uses_nonsfi_mode
);
3435 static PP_Bool
Pnacl_M25_PPB_NaCl_Private_GetPnaclResourceInfo(PP_Instance instance
, struct PP_Var
* llc_tool_name
, struct PP_Var
* ld_tool_name
) {
3436 const struct PPB_NaCl_Private_1_0
*iface
= Pnacl_WrapperInfo_PPB_NaCl_Private_1_0
.real_iface
;
3437 return iface
->GetPnaclResourceInfo(instance
, llc_tool_name
, ld_tool_name
);
3440 static void Pnacl_M25_PPB_NaCl_Private_GetCpuFeatureAttrs(struct PP_Var
* _struct_result
) {
3441 const struct PPB_NaCl_Private_1_0
*iface
= Pnacl_WrapperInfo_PPB_NaCl_Private_1_0
.real_iface
;
3442 *_struct_result
= iface
->GetCpuFeatureAttrs();
3445 static void Pnacl_M25_PPB_NaCl_Private_PostMessageToJavaScript(PP_Instance instance
, const char* message
) {
3446 const struct PPB_NaCl_Private_1_0
*iface
= Pnacl_WrapperInfo_PPB_NaCl_Private_1_0
.real_iface
;
3447 iface
->PostMessageToJavaScript(instance
, message
);
3450 static void Pnacl_M25_PPB_NaCl_Private_DownloadNexe(PP_Instance instance
, const char* url
, struct PP_NaClFileInfo
* file_info
, struct PP_CompletionCallback
* callback
) {
3451 const struct PPB_NaCl_Private_1_0
*iface
= Pnacl_WrapperInfo_PPB_NaCl_Private_1_0
.real_iface
;
3452 iface
->DownloadNexe(instance
, url
, file_info
, *callback
);
3455 static void Pnacl_M25_PPB_NaCl_Private_ReportSelLdrStatus(PP_Instance instance
, int32_t load_status
, int32_t max_status
) {
3456 const struct PPB_NaCl_Private_1_0
*iface
= Pnacl_WrapperInfo_PPB_NaCl_Private_1_0
.real_iface
;
3457 iface
->ReportSelLdrStatus(instance
, load_status
, max_status
);
3460 static void Pnacl_M25_PPB_NaCl_Private_LogTranslateTime(const char* histogram_name
, int64_t time_us
) {
3461 const struct PPB_NaCl_Private_1_0
*iface
= Pnacl_WrapperInfo_PPB_NaCl_Private_1_0
.real_iface
;
3462 iface
->LogTranslateTime(histogram_name
, time_us
);
3465 static void Pnacl_M25_PPB_NaCl_Private_OpenManifestEntry(PP_Instance instance
, PP_Bool is_helper_process
, const char* key
, struct PP_NaClFileInfo
* file_info
, struct PP_CompletionCallback
* callback
) {
3466 const struct PPB_NaCl_Private_1_0
*iface
= Pnacl_WrapperInfo_PPB_NaCl_Private_1_0
.real_iface
;
3467 iface
->OpenManifestEntry(instance
, is_helper_process
, key
, file_info
, *callback
);
3470 static void Pnacl_M25_PPB_NaCl_Private_SetPNaClStartTime(PP_Instance instance
) {
3471 const struct PPB_NaCl_Private_1_0
*iface
= Pnacl_WrapperInfo_PPB_NaCl_Private_1_0
.real_iface
;
3472 iface
->SetPNaClStartTime(instance
);
3475 static void Pnacl_M25_PPB_NaCl_Private_StreamPexe(PP_Instance instance
, const char* pexe_url
, int32_t opt_level
, const struct PPP_PexeStreamHandler_1_0
* stream_handler
, void* stream_handler_user_data
) {
3476 const struct PPB_NaCl_Private_1_0
*iface
= Pnacl_WrapperInfo_PPB_NaCl_Private_1_0
.real_iface
;
3477 iface
->StreamPexe(instance
, pexe_url
, opt_level
, stream_handler
, stream_handler_user_data
);
3480 /* End wrapper methods for PPB_NaCl_Private_1_0 */
3482 /* Begin wrapper methods for PPB_NetAddress_Private_0_1 */
3484 static PP_Bool
Pnacl_M17_PPB_NetAddress_Private_AreEqual(const struct PP_NetAddress_Private
* addr1
, const struct PP_NetAddress_Private
* addr2
) {
3485 const struct PPB_NetAddress_Private_0_1
*iface
= Pnacl_WrapperInfo_PPB_NetAddress_Private_0_1
.real_iface
;
3486 return iface
->AreEqual(addr1
, addr2
);
3489 static PP_Bool
Pnacl_M17_PPB_NetAddress_Private_AreHostsEqual(const struct PP_NetAddress_Private
* addr1
, const struct PP_NetAddress_Private
* addr2
) {
3490 const struct PPB_NetAddress_Private_0_1
*iface
= Pnacl_WrapperInfo_PPB_NetAddress_Private_0_1
.real_iface
;
3491 return iface
->AreHostsEqual(addr1
, addr2
);
3494 static void Pnacl_M17_PPB_NetAddress_Private_Describe(struct PP_Var
* _struct_result
, PP_Module module
, const struct PP_NetAddress_Private
* addr
, PP_Bool include_port
) {
3495 const struct PPB_NetAddress_Private_0_1
*iface
= Pnacl_WrapperInfo_PPB_NetAddress_Private_0_1
.real_iface
;
3496 *_struct_result
= iface
->Describe(module
, addr
, include_port
);
3499 static PP_Bool
Pnacl_M17_PPB_NetAddress_Private_ReplacePort(const struct PP_NetAddress_Private
* src_addr
, uint16_t port
, struct PP_NetAddress_Private
* addr_out
) {
3500 const struct PPB_NetAddress_Private_0_1
*iface
= Pnacl_WrapperInfo_PPB_NetAddress_Private_0_1
.real_iface
;
3501 return iface
->ReplacePort(src_addr
, port
, addr_out
);
3504 static void Pnacl_M17_PPB_NetAddress_Private_GetAnyAddress(PP_Bool is_ipv6
, struct PP_NetAddress_Private
* addr
) {
3505 const struct PPB_NetAddress_Private_0_1
*iface
= Pnacl_WrapperInfo_PPB_NetAddress_Private_0_1
.real_iface
;
3506 iface
->GetAnyAddress(is_ipv6
, addr
);
3509 /* End wrapper methods for PPB_NetAddress_Private_0_1 */
3511 /* Begin wrapper methods for PPB_NetAddress_Private_1_0 */
3513 static PP_Bool
Pnacl_M19_0_PPB_NetAddress_Private_AreEqual(const struct PP_NetAddress_Private
* addr1
, const struct PP_NetAddress_Private
* addr2
) {
3514 const struct PPB_NetAddress_Private_1_0
*iface
= Pnacl_WrapperInfo_PPB_NetAddress_Private_1_0
.real_iface
;
3515 return iface
->AreEqual(addr1
, addr2
);
3518 static PP_Bool
Pnacl_M19_0_PPB_NetAddress_Private_AreHostsEqual(const struct PP_NetAddress_Private
* addr1
, const struct PP_NetAddress_Private
* addr2
) {
3519 const struct PPB_NetAddress_Private_1_0
*iface
= Pnacl_WrapperInfo_PPB_NetAddress_Private_1_0
.real_iface
;
3520 return iface
->AreHostsEqual(addr1
, addr2
);
3523 static void Pnacl_M19_0_PPB_NetAddress_Private_Describe(struct PP_Var
* _struct_result
, PP_Module module
, const struct PP_NetAddress_Private
* addr
, PP_Bool include_port
) {
3524 const struct PPB_NetAddress_Private_1_0
*iface
= Pnacl_WrapperInfo_PPB_NetAddress_Private_1_0
.real_iface
;
3525 *_struct_result
= iface
->Describe(module
, addr
, include_port
);
3528 static PP_Bool
Pnacl_M19_0_PPB_NetAddress_Private_ReplacePort(const struct PP_NetAddress_Private
* src_addr
, uint16_t port
, struct PP_NetAddress_Private
* addr_out
) {
3529 const struct PPB_NetAddress_Private_1_0
*iface
= Pnacl_WrapperInfo_PPB_NetAddress_Private_1_0
.real_iface
;
3530 return iface
->ReplacePort(src_addr
, port
, addr_out
);
3533 static void Pnacl_M19_0_PPB_NetAddress_Private_GetAnyAddress(PP_Bool is_ipv6
, struct PP_NetAddress_Private
* addr
) {
3534 const struct PPB_NetAddress_Private_1_0
*iface
= Pnacl_WrapperInfo_PPB_NetAddress_Private_1_0
.real_iface
;
3535 iface
->GetAnyAddress(is_ipv6
, addr
);
3538 static PP_NetAddressFamily_Private
Pnacl_M19_0_PPB_NetAddress_Private_GetFamily(const struct PP_NetAddress_Private
* addr
) {
3539 const struct PPB_NetAddress_Private_1_0
*iface
= Pnacl_WrapperInfo_PPB_NetAddress_Private_1_0
.real_iface
;
3540 return iface
->GetFamily(addr
);
3543 static uint16_t Pnacl_M19_0_PPB_NetAddress_Private_GetPort(const struct PP_NetAddress_Private
* addr
) {
3544 const struct PPB_NetAddress_Private_1_0
*iface
= Pnacl_WrapperInfo_PPB_NetAddress_Private_1_0
.real_iface
;
3545 return iface
->GetPort(addr
);
3548 static PP_Bool
Pnacl_M19_0_PPB_NetAddress_Private_GetAddress(const struct PP_NetAddress_Private
* addr
, void* address
, uint16_t address_size
) {
3549 const struct PPB_NetAddress_Private_1_0
*iface
= Pnacl_WrapperInfo_PPB_NetAddress_Private_1_0
.real_iface
;
3550 return iface
->GetAddress(addr
, address
, address_size
);
3553 /* End wrapper methods for PPB_NetAddress_Private_1_0 */
3555 /* Begin wrapper methods for PPB_NetAddress_Private_1_1 */
3557 static PP_Bool
Pnacl_M19_1_PPB_NetAddress_Private_AreEqual(const struct PP_NetAddress_Private
* addr1
, const struct PP_NetAddress_Private
* addr2
) {
3558 const struct PPB_NetAddress_Private_1_1
*iface
= Pnacl_WrapperInfo_PPB_NetAddress_Private_1_1
.real_iface
;
3559 return iface
->AreEqual(addr1
, addr2
);
3562 static PP_Bool
Pnacl_M19_1_PPB_NetAddress_Private_AreHostsEqual(const struct PP_NetAddress_Private
* addr1
, const struct PP_NetAddress_Private
* addr2
) {
3563 const struct PPB_NetAddress_Private_1_1
*iface
= Pnacl_WrapperInfo_PPB_NetAddress_Private_1_1
.real_iface
;
3564 return iface
->AreHostsEqual(addr1
, addr2
);
3567 static void Pnacl_M19_1_PPB_NetAddress_Private_Describe(struct PP_Var
* _struct_result
, PP_Module module
, const struct PP_NetAddress_Private
* addr
, PP_Bool include_port
) {
3568 const struct PPB_NetAddress_Private_1_1
*iface
= Pnacl_WrapperInfo_PPB_NetAddress_Private_1_1
.real_iface
;
3569 *_struct_result
= iface
->Describe(module
, addr
, include_port
);
3572 static PP_Bool
Pnacl_M19_1_PPB_NetAddress_Private_ReplacePort(const struct PP_NetAddress_Private
* src_addr
, uint16_t port
, struct PP_NetAddress_Private
* addr_out
) {
3573 const struct PPB_NetAddress_Private_1_1
*iface
= Pnacl_WrapperInfo_PPB_NetAddress_Private_1_1
.real_iface
;
3574 return iface
->ReplacePort(src_addr
, port
, addr_out
);
3577 static void Pnacl_M19_1_PPB_NetAddress_Private_GetAnyAddress(PP_Bool is_ipv6
, struct PP_NetAddress_Private
* addr
) {
3578 const struct PPB_NetAddress_Private_1_1
*iface
= Pnacl_WrapperInfo_PPB_NetAddress_Private_1_1
.real_iface
;
3579 iface
->GetAnyAddress(is_ipv6
, addr
);
3582 static PP_NetAddressFamily_Private
Pnacl_M19_1_PPB_NetAddress_Private_GetFamily(const struct PP_NetAddress_Private
* addr
) {
3583 const struct PPB_NetAddress_Private_1_1
*iface
= Pnacl_WrapperInfo_PPB_NetAddress_Private_1_1
.real_iface
;
3584 return iface
->GetFamily(addr
);
3587 static uint16_t Pnacl_M19_1_PPB_NetAddress_Private_GetPort(const struct PP_NetAddress_Private
* addr
) {
3588 const struct PPB_NetAddress_Private_1_1
*iface
= Pnacl_WrapperInfo_PPB_NetAddress_Private_1_1
.real_iface
;
3589 return iface
->GetPort(addr
);
3592 static PP_Bool
Pnacl_M19_1_PPB_NetAddress_Private_GetAddress(const struct PP_NetAddress_Private
* addr
, void* address
, uint16_t address_size
) {
3593 const struct PPB_NetAddress_Private_1_1
*iface
= Pnacl_WrapperInfo_PPB_NetAddress_Private_1_1
.real_iface
;
3594 return iface
->GetAddress(addr
, address
, address_size
);
3597 static uint32_t Pnacl_M19_1_PPB_NetAddress_Private_GetScopeID(const struct PP_NetAddress_Private
* addr
) {
3598 const struct PPB_NetAddress_Private_1_1
*iface
= Pnacl_WrapperInfo_PPB_NetAddress_Private_1_1
.real_iface
;
3599 return iface
->GetScopeID(addr
);
3602 static void Pnacl_M19_1_PPB_NetAddress_Private_CreateFromIPv4Address(const uint8_t ip
[4], uint16_t port
, struct PP_NetAddress_Private
* addr_out
) {
3603 const struct PPB_NetAddress_Private_1_1
*iface
= Pnacl_WrapperInfo_PPB_NetAddress_Private_1_1
.real_iface
;
3604 iface
->CreateFromIPv4Address(ip
, port
, addr_out
);
3607 static void Pnacl_M19_1_PPB_NetAddress_Private_CreateFromIPv6Address(const uint8_t ip
[16], uint32_t scope_id
, uint16_t port
, struct PP_NetAddress_Private
* addr_out
) {
3608 const struct PPB_NetAddress_Private_1_1
*iface
= Pnacl_WrapperInfo_PPB_NetAddress_Private_1_1
.real_iface
;
3609 iface
->CreateFromIPv6Address(ip
, scope_id
, port
, addr_out
);
3612 /* End wrapper methods for PPB_NetAddress_Private_1_1 */
3614 /* Begin wrapper methods for PPB_OutputProtection_Private_0_1 */
3616 static PP_Resource
Pnacl_M31_PPB_OutputProtection_Private_Create(PP_Instance instance
) {
3617 const struct PPB_OutputProtection_Private_0_1
*iface
= Pnacl_WrapperInfo_PPB_OutputProtection_Private_0_1
.real_iface
;
3618 return iface
->Create(instance
);
3621 static PP_Bool
Pnacl_M31_PPB_OutputProtection_Private_IsOutputProtection(PP_Resource resource
) {
3622 const struct PPB_OutputProtection_Private_0_1
*iface
= Pnacl_WrapperInfo_PPB_OutputProtection_Private_0_1
.real_iface
;
3623 return iface
->IsOutputProtection(resource
);
3626 static int32_t Pnacl_M31_PPB_OutputProtection_Private_QueryStatus(PP_Resource resource
, uint32_t* link_mask
, uint32_t* protection_mask
, struct PP_CompletionCallback
* callback
) {
3627 const struct PPB_OutputProtection_Private_0_1
*iface
= Pnacl_WrapperInfo_PPB_OutputProtection_Private_0_1
.real_iface
;
3628 return iface
->QueryStatus(resource
, link_mask
, protection_mask
, *callback
);
3631 static int32_t Pnacl_M31_PPB_OutputProtection_Private_EnableProtection(PP_Resource resource
, uint32_t desired_protection_mask
, struct PP_CompletionCallback
* callback
) {
3632 const struct PPB_OutputProtection_Private_0_1
*iface
= Pnacl_WrapperInfo_PPB_OutputProtection_Private_0_1
.real_iface
;
3633 return iface
->EnableProtection(resource
, desired_protection_mask
, *callback
);
3636 /* End wrapper methods for PPB_OutputProtection_Private_0_1 */
3638 /* Begin wrapper methods for PPB_PlatformVerification_Private_0_2 */
3640 static PP_Resource
Pnacl_M32_PPB_PlatformVerification_Private_Create(PP_Instance instance
) {
3641 const struct PPB_PlatformVerification_Private_0_2
*iface
= Pnacl_WrapperInfo_PPB_PlatformVerification_Private_0_2
.real_iface
;
3642 return iface
->Create(instance
);
3645 static PP_Bool
Pnacl_M32_PPB_PlatformVerification_Private_IsPlatformVerification(PP_Resource resource
) {
3646 const struct PPB_PlatformVerification_Private_0_2
*iface
= Pnacl_WrapperInfo_PPB_PlatformVerification_Private_0_2
.real_iface
;
3647 return iface
->IsPlatformVerification(resource
);
3650 static int32_t Pnacl_M32_PPB_PlatformVerification_Private_ChallengePlatform(PP_Resource instance
, struct PP_Var
* service_id
, struct PP_Var
* challenge
, struct PP_Var
* signed_data
, struct PP_Var
* signed_data_signature
, struct PP_Var
* platform_key_certificate
, struct PP_CompletionCallback
* callback
) {
3651 const struct PPB_PlatformVerification_Private_0_2
*iface
= Pnacl_WrapperInfo_PPB_PlatformVerification_Private_0_2
.real_iface
;
3652 return iface
->ChallengePlatform(instance
, *service_id
, *challenge
, signed_data
, signed_data_signature
, platform_key_certificate
, *callback
);
3655 /* End wrapper methods for PPB_PlatformVerification_Private_0_2 */
3657 /* Begin wrapper methods for PPB_Talk_Private_1_0 */
3659 static PP_Resource
Pnacl_M19_PPB_Talk_Private_Create(PP_Instance instance
) {
3660 const struct PPB_Talk_Private_1_0
*iface
= Pnacl_WrapperInfo_PPB_Talk_Private_1_0
.real_iface
;
3661 return iface
->Create(instance
);
3664 static int32_t Pnacl_M19_PPB_Talk_Private_GetPermission(PP_Resource talk_resource
, struct PP_CompletionCallback
* callback
) {
3665 const struct PPB_Talk_Private_1_0
*iface
= Pnacl_WrapperInfo_PPB_Talk_Private_1_0
.real_iface
;
3666 return iface
->GetPermission(talk_resource
, *callback
);
3669 /* End wrapper methods for PPB_Talk_Private_1_0 */
3671 /* Begin wrapper methods for PPB_Talk_Private_2_0 */
3673 static PP_Resource
Pnacl_M29_PPB_Talk_Private_Create(PP_Instance instance
) {
3674 const struct PPB_Talk_Private_2_0
*iface
= Pnacl_WrapperInfo_PPB_Talk_Private_2_0
.real_iface
;
3675 return iface
->Create(instance
);
3678 static int32_t Pnacl_M29_PPB_Talk_Private_RequestPermission(PP_Resource talk_resource
, PP_TalkPermission permission
, struct PP_CompletionCallback
* callback
) {
3679 const struct PPB_Talk_Private_2_0
*iface
= Pnacl_WrapperInfo_PPB_Talk_Private_2_0
.real_iface
;
3680 return iface
->RequestPermission(talk_resource
, permission
, *callback
);
3683 static int32_t Pnacl_M29_PPB_Talk_Private_StartRemoting(PP_Resource talk_resource
, PP_TalkEventCallback event_callback
, void* user_data
, struct PP_CompletionCallback
* callback
) {
3684 const struct PPB_Talk_Private_2_0
*iface
= Pnacl_WrapperInfo_PPB_Talk_Private_2_0
.real_iface
;
3685 return iface
->StartRemoting(talk_resource
, event_callback
, user_data
, *callback
);
3688 static int32_t Pnacl_M29_PPB_Talk_Private_StopRemoting(PP_Resource talk_resource
, struct PP_CompletionCallback
* callback
) {
3689 const struct PPB_Talk_Private_2_0
*iface
= Pnacl_WrapperInfo_PPB_Talk_Private_2_0
.real_iface
;
3690 return iface
->StopRemoting(talk_resource
, *callback
);
3693 /* End wrapper methods for PPB_Talk_Private_2_0 */
3695 /* Begin wrapper methods for PPB_TCPServerSocket_Private_0_1 */
3697 static PP_Resource
Pnacl_M18_PPB_TCPServerSocket_Private_Create(PP_Instance instance
) {
3698 const struct PPB_TCPServerSocket_Private_0_1
*iface
= Pnacl_WrapperInfo_PPB_TCPServerSocket_Private_0_1
.real_iface
;
3699 return iface
->Create(instance
);
3702 static PP_Bool
Pnacl_M18_PPB_TCPServerSocket_Private_IsTCPServerSocket(PP_Resource resource
) {
3703 const struct PPB_TCPServerSocket_Private_0_1
*iface
= Pnacl_WrapperInfo_PPB_TCPServerSocket_Private_0_1
.real_iface
;
3704 return iface
->IsTCPServerSocket(resource
);
3707 static int32_t Pnacl_M18_PPB_TCPServerSocket_Private_Listen(PP_Resource tcp_server_socket
, const struct PP_NetAddress_Private
* addr
, int32_t backlog
, struct PP_CompletionCallback
* callback
) {
3708 const struct PPB_TCPServerSocket_Private_0_1
*iface
= Pnacl_WrapperInfo_PPB_TCPServerSocket_Private_0_1
.real_iface
;
3709 return iface
->Listen(tcp_server_socket
, addr
, backlog
, *callback
);
3712 static int32_t Pnacl_M18_PPB_TCPServerSocket_Private_Accept(PP_Resource tcp_server_socket
, PP_Resource
* tcp_socket
, struct PP_CompletionCallback
* callback
) {
3713 const struct PPB_TCPServerSocket_Private_0_1
*iface
= Pnacl_WrapperInfo_PPB_TCPServerSocket_Private_0_1
.real_iface
;
3714 return iface
->Accept(tcp_server_socket
, tcp_socket
, *callback
);
3717 static void Pnacl_M18_PPB_TCPServerSocket_Private_StopListening(PP_Resource tcp_server_socket
) {
3718 const struct PPB_TCPServerSocket_Private_0_1
*iface
= Pnacl_WrapperInfo_PPB_TCPServerSocket_Private_0_1
.real_iface
;
3719 iface
->StopListening(tcp_server_socket
);
3722 /* End wrapper methods for PPB_TCPServerSocket_Private_0_1 */
3724 /* Begin wrapper methods for PPB_TCPServerSocket_Private_0_2 */
3726 static PP_Resource
Pnacl_M28_PPB_TCPServerSocket_Private_Create(PP_Instance instance
) {
3727 const struct PPB_TCPServerSocket_Private_0_2
*iface
= Pnacl_WrapperInfo_PPB_TCPServerSocket_Private_0_2
.real_iface
;
3728 return iface
->Create(instance
);
3731 static PP_Bool
Pnacl_M28_PPB_TCPServerSocket_Private_IsTCPServerSocket(PP_Resource resource
) {
3732 const struct PPB_TCPServerSocket_Private_0_2
*iface
= Pnacl_WrapperInfo_PPB_TCPServerSocket_Private_0_2
.real_iface
;
3733 return iface
->IsTCPServerSocket(resource
);
3736 static int32_t Pnacl_M28_PPB_TCPServerSocket_Private_Listen(PP_Resource tcp_server_socket
, const struct PP_NetAddress_Private
* addr
, int32_t backlog
, struct PP_CompletionCallback
* callback
) {
3737 const struct PPB_TCPServerSocket_Private_0_2
*iface
= Pnacl_WrapperInfo_PPB_TCPServerSocket_Private_0_2
.real_iface
;
3738 return iface
->Listen(tcp_server_socket
, addr
, backlog
, *callback
);
3741 static int32_t Pnacl_M28_PPB_TCPServerSocket_Private_Accept(PP_Resource tcp_server_socket
, PP_Resource
* tcp_socket
, struct PP_CompletionCallback
* callback
) {
3742 const struct PPB_TCPServerSocket_Private_0_2
*iface
= Pnacl_WrapperInfo_PPB_TCPServerSocket_Private_0_2
.real_iface
;
3743 return iface
->Accept(tcp_server_socket
, tcp_socket
, *callback
);
3746 static int32_t Pnacl_M28_PPB_TCPServerSocket_Private_GetLocalAddress(PP_Resource tcp_server_socket
, struct PP_NetAddress_Private
* addr
) {
3747 const struct PPB_TCPServerSocket_Private_0_2
*iface
= Pnacl_WrapperInfo_PPB_TCPServerSocket_Private_0_2
.real_iface
;
3748 return iface
->GetLocalAddress(tcp_server_socket
, addr
);
3751 static void Pnacl_M28_PPB_TCPServerSocket_Private_StopListening(PP_Resource tcp_server_socket
) {
3752 const struct PPB_TCPServerSocket_Private_0_2
*iface
= Pnacl_WrapperInfo_PPB_TCPServerSocket_Private_0_2
.real_iface
;
3753 iface
->StopListening(tcp_server_socket
);
3756 /* End wrapper methods for PPB_TCPServerSocket_Private_0_2 */
3758 /* Begin wrapper methods for PPB_TCPSocket_Private_0_3 */
3760 static PP_Resource
Pnacl_M17_PPB_TCPSocket_Private_Create(PP_Instance instance
) {
3761 const struct PPB_TCPSocket_Private_0_3
*iface
= Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_3
.real_iface
;
3762 return iface
->Create(instance
);
3765 static PP_Bool
Pnacl_M17_PPB_TCPSocket_Private_IsTCPSocket(PP_Resource resource
) {
3766 const struct PPB_TCPSocket_Private_0_3
*iface
= Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_3
.real_iface
;
3767 return iface
->IsTCPSocket(resource
);
3770 static int32_t Pnacl_M17_PPB_TCPSocket_Private_Connect(PP_Resource tcp_socket
, const char* host
, uint16_t port
, struct PP_CompletionCallback
* callback
) {
3771 const struct PPB_TCPSocket_Private_0_3
*iface
= Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_3
.real_iface
;
3772 return iface
->Connect(tcp_socket
, host
, port
, *callback
);
3775 static int32_t Pnacl_M17_PPB_TCPSocket_Private_ConnectWithNetAddress(PP_Resource tcp_socket
, const struct PP_NetAddress_Private
* addr
, struct PP_CompletionCallback
* callback
) {
3776 const struct PPB_TCPSocket_Private_0_3
*iface
= Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_3
.real_iface
;
3777 return iface
->ConnectWithNetAddress(tcp_socket
, addr
, *callback
);
3780 static PP_Bool
Pnacl_M17_PPB_TCPSocket_Private_GetLocalAddress(PP_Resource tcp_socket
, struct PP_NetAddress_Private
* local_addr
) {
3781 const struct PPB_TCPSocket_Private_0_3
*iface
= Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_3
.real_iface
;
3782 return iface
->GetLocalAddress(tcp_socket
, local_addr
);
3785 static PP_Bool
Pnacl_M17_PPB_TCPSocket_Private_GetRemoteAddress(PP_Resource tcp_socket
, struct PP_NetAddress_Private
* remote_addr
) {
3786 const struct PPB_TCPSocket_Private_0_3
*iface
= Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_3
.real_iface
;
3787 return iface
->GetRemoteAddress(tcp_socket
, remote_addr
);
3790 static int32_t Pnacl_M17_PPB_TCPSocket_Private_SSLHandshake(PP_Resource tcp_socket
, const char* server_name
, uint16_t server_port
, struct PP_CompletionCallback
* callback
) {
3791 const struct PPB_TCPSocket_Private_0_3
*iface
= Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_3
.real_iface
;
3792 return iface
->SSLHandshake(tcp_socket
, server_name
, server_port
, *callback
);
3795 static int32_t Pnacl_M17_PPB_TCPSocket_Private_Read(PP_Resource tcp_socket
, char* buffer
, int32_t bytes_to_read
, struct PP_CompletionCallback
* callback
) {
3796 const struct PPB_TCPSocket_Private_0_3
*iface
= Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_3
.real_iface
;
3797 return iface
->Read(tcp_socket
, buffer
, bytes_to_read
, *callback
);
3800 static int32_t Pnacl_M17_PPB_TCPSocket_Private_Write(PP_Resource tcp_socket
, const char* buffer
, int32_t bytes_to_write
, struct PP_CompletionCallback
* callback
) {
3801 const struct PPB_TCPSocket_Private_0_3
*iface
= Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_3
.real_iface
;
3802 return iface
->Write(tcp_socket
, buffer
, bytes_to_write
, *callback
);
3805 static void Pnacl_M17_PPB_TCPSocket_Private_Disconnect(PP_Resource tcp_socket
) {
3806 const struct PPB_TCPSocket_Private_0_3
*iface
= Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_3
.real_iface
;
3807 iface
->Disconnect(tcp_socket
);
3810 /* End wrapper methods for PPB_TCPSocket_Private_0_3 */
3812 /* Begin wrapper methods for PPB_TCPSocket_Private_0_4 */
3814 static PP_Resource
Pnacl_M20_PPB_TCPSocket_Private_Create(PP_Instance instance
) {
3815 const struct PPB_TCPSocket_Private_0_4
*iface
= Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_4
.real_iface
;
3816 return iface
->Create(instance
);
3819 static PP_Bool
Pnacl_M20_PPB_TCPSocket_Private_IsTCPSocket(PP_Resource resource
) {
3820 const struct PPB_TCPSocket_Private_0_4
*iface
= Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_4
.real_iface
;
3821 return iface
->IsTCPSocket(resource
);
3824 static int32_t Pnacl_M20_PPB_TCPSocket_Private_Connect(PP_Resource tcp_socket
, const char* host
, uint16_t port
, struct PP_CompletionCallback
* callback
) {
3825 const struct PPB_TCPSocket_Private_0_4
*iface
= Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_4
.real_iface
;
3826 return iface
->Connect(tcp_socket
, host
, port
, *callback
);
3829 static int32_t Pnacl_M20_PPB_TCPSocket_Private_ConnectWithNetAddress(PP_Resource tcp_socket
, const struct PP_NetAddress_Private
* addr
, struct PP_CompletionCallback
* callback
) {
3830 const struct PPB_TCPSocket_Private_0_4
*iface
= Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_4
.real_iface
;
3831 return iface
->ConnectWithNetAddress(tcp_socket
, addr
, *callback
);
3834 static PP_Bool
Pnacl_M20_PPB_TCPSocket_Private_GetLocalAddress(PP_Resource tcp_socket
, struct PP_NetAddress_Private
* local_addr
) {
3835 const struct PPB_TCPSocket_Private_0_4
*iface
= Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_4
.real_iface
;
3836 return iface
->GetLocalAddress(tcp_socket
, local_addr
);
3839 static PP_Bool
Pnacl_M20_PPB_TCPSocket_Private_GetRemoteAddress(PP_Resource tcp_socket
, struct PP_NetAddress_Private
* remote_addr
) {
3840 const struct PPB_TCPSocket_Private_0_4
*iface
= Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_4
.real_iface
;
3841 return iface
->GetRemoteAddress(tcp_socket
, remote_addr
);
3844 static int32_t Pnacl_M20_PPB_TCPSocket_Private_SSLHandshake(PP_Resource tcp_socket
, const char* server_name
, uint16_t server_port
, struct PP_CompletionCallback
* callback
) {
3845 const struct PPB_TCPSocket_Private_0_4
*iface
= Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_4
.real_iface
;
3846 return iface
->SSLHandshake(tcp_socket
, server_name
, server_port
, *callback
);
3849 static PP_Resource
Pnacl_M20_PPB_TCPSocket_Private_GetServerCertificate(PP_Resource tcp_socket
) {
3850 const struct PPB_TCPSocket_Private_0_4
*iface
= Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_4
.real_iface
;
3851 return iface
->GetServerCertificate(tcp_socket
);
3854 static PP_Bool
Pnacl_M20_PPB_TCPSocket_Private_AddChainBuildingCertificate(PP_Resource tcp_socket
, PP_Resource certificate
, PP_Bool is_trusted
) {
3855 const struct PPB_TCPSocket_Private_0_4
*iface
= Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_4
.real_iface
;
3856 return iface
->AddChainBuildingCertificate(tcp_socket
, certificate
, is_trusted
);
3859 static int32_t Pnacl_M20_PPB_TCPSocket_Private_Read(PP_Resource tcp_socket
, char* buffer
, int32_t bytes_to_read
, struct PP_CompletionCallback
* callback
) {
3860 const struct PPB_TCPSocket_Private_0_4
*iface
= Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_4
.real_iface
;
3861 return iface
->Read(tcp_socket
, buffer
, bytes_to_read
, *callback
);
3864 static int32_t Pnacl_M20_PPB_TCPSocket_Private_Write(PP_Resource tcp_socket
, const char* buffer
, int32_t bytes_to_write
, struct PP_CompletionCallback
* callback
) {
3865 const struct PPB_TCPSocket_Private_0_4
*iface
= Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_4
.real_iface
;
3866 return iface
->Write(tcp_socket
, buffer
, bytes_to_write
, *callback
);
3869 static void Pnacl_M20_PPB_TCPSocket_Private_Disconnect(PP_Resource tcp_socket
) {
3870 const struct PPB_TCPSocket_Private_0_4
*iface
= Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_4
.real_iface
;
3871 iface
->Disconnect(tcp_socket
);
3874 /* End wrapper methods for PPB_TCPSocket_Private_0_4 */
3876 /* Begin wrapper methods for PPB_TCPSocket_Private_0_5 */
3878 static PP_Resource
Pnacl_M27_PPB_TCPSocket_Private_Create(PP_Instance instance
) {
3879 const struct PPB_TCPSocket_Private_0_5
*iface
= Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_5
.real_iface
;
3880 return iface
->Create(instance
);
3883 static PP_Bool
Pnacl_M27_PPB_TCPSocket_Private_IsTCPSocket(PP_Resource resource
) {
3884 const struct PPB_TCPSocket_Private_0_5
*iface
= Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_5
.real_iface
;
3885 return iface
->IsTCPSocket(resource
);
3888 static int32_t Pnacl_M27_PPB_TCPSocket_Private_Connect(PP_Resource tcp_socket
, const char* host
, uint16_t port
, struct PP_CompletionCallback
* callback
) {
3889 const struct PPB_TCPSocket_Private_0_5
*iface
= Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_5
.real_iface
;
3890 return iface
->Connect(tcp_socket
, host
, port
, *callback
);
3893 static int32_t Pnacl_M27_PPB_TCPSocket_Private_ConnectWithNetAddress(PP_Resource tcp_socket
, const struct PP_NetAddress_Private
* addr
, struct PP_CompletionCallback
* callback
) {
3894 const struct PPB_TCPSocket_Private_0_5
*iface
= Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_5
.real_iface
;
3895 return iface
->ConnectWithNetAddress(tcp_socket
, addr
, *callback
);
3898 static PP_Bool
Pnacl_M27_PPB_TCPSocket_Private_GetLocalAddress(PP_Resource tcp_socket
, struct PP_NetAddress_Private
* local_addr
) {
3899 const struct PPB_TCPSocket_Private_0_5
*iface
= Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_5
.real_iface
;
3900 return iface
->GetLocalAddress(tcp_socket
, local_addr
);
3903 static PP_Bool
Pnacl_M27_PPB_TCPSocket_Private_GetRemoteAddress(PP_Resource tcp_socket
, struct PP_NetAddress_Private
* remote_addr
) {
3904 const struct PPB_TCPSocket_Private_0_5
*iface
= Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_5
.real_iface
;
3905 return iface
->GetRemoteAddress(tcp_socket
, remote_addr
);
3908 static int32_t Pnacl_M27_PPB_TCPSocket_Private_SSLHandshake(PP_Resource tcp_socket
, const char* server_name
, uint16_t server_port
, struct PP_CompletionCallback
* callback
) {
3909 const struct PPB_TCPSocket_Private_0_5
*iface
= Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_5
.real_iface
;
3910 return iface
->SSLHandshake(tcp_socket
, server_name
, server_port
, *callback
);
3913 static PP_Resource
Pnacl_M27_PPB_TCPSocket_Private_GetServerCertificate(PP_Resource tcp_socket
) {
3914 const struct PPB_TCPSocket_Private_0_5
*iface
= Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_5
.real_iface
;
3915 return iface
->GetServerCertificate(tcp_socket
);
3918 static PP_Bool
Pnacl_M27_PPB_TCPSocket_Private_AddChainBuildingCertificate(PP_Resource tcp_socket
, PP_Resource certificate
, PP_Bool is_trusted
) {
3919 const struct PPB_TCPSocket_Private_0_5
*iface
= Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_5
.real_iface
;
3920 return iface
->AddChainBuildingCertificate(tcp_socket
, certificate
, is_trusted
);
3923 static int32_t Pnacl_M27_PPB_TCPSocket_Private_Read(PP_Resource tcp_socket
, char* buffer
, int32_t bytes_to_read
, struct PP_CompletionCallback
* callback
) {
3924 const struct PPB_TCPSocket_Private_0_5
*iface
= Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_5
.real_iface
;
3925 return iface
->Read(tcp_socket
, buffer
, bytes_to_read
, *callback
);
3928 static int32_t Pnacl_M27_PPB_TCPSocket_Private_Write(PP_Resource tcp_socket
, const char* buffer
, int32_t bytes_to_write
, struct PP_CompletionCallback
* callback
) {
3929 const struct PPB_TCPSocket_Private_0_5
*iface
= Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_5
.real_iface
;
3930 return iface
->Write(tcp_socket
, buffer
, bytes_to_write
, *callback
);
3933 static void Pnacl_M27_PPB_TCPSocket_Private_Disconnect(PP_Resource tcp_socket
) {
3934 const struct PPB_TCPSocket_Private_0_5
*iface
= Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_5
.real_iface
;
3935 iface
->Disconnect(tcp_socket
);
3938 static int32_t Pnacl_M27_PPB_TCPSocket_Private_SetOption(PP_Resource tcp_socket
, PP_TCPSocketOption_Private name
, struct PP_Var
* value
, struct PP_CompletionCallback
* callback
) {
3939 const struct PPB_TCPSocket_Private_0_5
*iface
= Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_5
.real_iface
;
3940 return iface
->SetOption(tcp_socket
, name
, *value
, *callback
);
3943 /* End wrapper methods for PPB_TCPSocket_Private_0_5 */
3945 /* Begin wrapper methods for PPB_Testing_Private_1_0 */
3947 static PP_Bool
Pnacl_M33_PPB_Testing_Private_ReadImageData(PP_Resource device_context_2d
, PP_Resource image
, const struct PP_Point
* top_left
) {
3948 const struct PPB_Testing_Private_1_0
*iface
= Pnacl_WrapperInfo_PPB_Testing_Private_1_0
.real_iface
;
3949 return iface
->ReadImageData(device_context_2d
, image
, top_left
);
3952 static void Pnacl_M33_PPB_Testing_Private_RunMessageLoop(PP_Instance instance
) {
3953 const struct PPB_Testing_Private_1_0
*iface
= Pnacl_WrapperInfo_PPB_Testing_Private_1_0
.real_iface
;
3954 iface
->RunMessageLoop(instance
);
3957 static void Pnacl_M33_PPB_Testing_Private_QuitMessageLoop(PP_Instance instance
) {
3958 const struct PPB_Testing_Private_1_0
*iface
= Pnacl_WrapperInfo_PPB_Testing_Private_1_0
.real_iface
;
3959 iface
->QuitMessageLoop(instance
);
3962 static uint32_t Pnacl_M33_PPB_Testing_Private_GetLiveObjectsForInstance(PP_Instance instance
) {
3963 const struct PPB_Testing_Private_1_0
*iface
= Pnacl_WrapperInfo_PPB_Testing_Private_1_0
.real_iface
;
3964 return iface
->GetLiveObjectsForInstance(instance
);
3967 static PP_Bool
Pnacl_M33_PPB_Testing_Private_IsOutOfProcess(void) {
3968 const struct PPB_Testing_Private_1_0
*iface
= Pnacl_WrapperInfo_PPB_Testing_Private_1_0
.real_iface
;
3969 return iface
->IsOutOfProcess();
3972 static void Pnacl_M33_PPB_Testing_Private_SimulateInputEvent(PP_Instance instance
, PP_Resource input_event
) {
3973 const struct PPB_Testing_Private_1_0
*iface
= Pnacl_WrapperInfo_PPB_Testing_Private_1_0
.real_iface
;
3974 iface
->SimulateInputEvent(instance
, input_event
);
3977 static void Pnacl_M33_PPB_Testing_Private_GetDocumentURL(struct PP_Var
* _struct_result
, PP_Instance instance
, struct PP_URLComponents_Dev
* components
) {
3978 const struct PPB_Testing_Private_1_0
*iface
= Pnacl_WrapperInfo_PPB_Testing_Private_1_0
.real_iface
;
3979 *_struct_result
= iface
->GetDocumentURL(instance
, components
);
3982 static uint32_t Pnacl_M33_PPB_Testing_Private_GetLiveVars(struct PP_Var live_vars
[], uint32_t array_size
) {
3983 const struct PPB_Testing_Private_1_0
*iface
= Pnacl_WrapperInfo_PPB_Testing_Private_1_0
.real_iface
;
3984 return iface
->GetLiveVars(live_vars
, array_size
);
3987 static void Pnacl_M33_PPB_Testing_Private_SetMinimumArrayBufferSizeForShmem(PP_Instance instance
, uint32_t threshold
) {
3988 const struct PPB_Testing_Private_1_0
*iface
= Pnacl_WrapperInfo_PPB_Testing_Private_1_0
.real_iface
;
3989 iface
->SetMinimumArrayBufferSizeForShmem(instance
, threshold
);
3992 /* End wrapper methods for PPB_Testing_Private_1_0 */
3994 /* Begin wrapper methods for PPB_UDPSocket_Private_0_2 */
3996 static PP_Resource
Pnacl_M17_PPB_UDPSocket_Private_Create(PP_Instance instance_id
) {
3997 const struct PPB_UDPSocket_Private_0_2
*iface
= Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_2
.real_iface
;
3998 return iface
->Create(instance_id
);
4001 static PP_Bool
Pnacl_M17_PPB_UDPSocket_Private_IsUDPSocket(PP_Resource resource_id
) {
4002 const struct PPB_UDPSocket_Private_0_2
*iface
= Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_2
.real_iface
;
4003 return iface
->IsUDPSocket(resource_id
);
4006 static int32_t Pnacl_M17_PPB_UDPSocket_Private_Bind(PP_Resource udp_socket
, const struct PP_NetAddress_Private
* addr
, struct PP_CompletionCallback
* callback
) {
4007 const struct PPB_UDPSocket_Private_0_2
*iface
= Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_2
.real_iface
;
4008 return iface
->Bind(udp_socket
, addr
, *callback
);
4011 static int32_t Pnacl_M17_PPB_UDPSocket_Private_RecvFrom(PP_Resource udp_socket
, char* buffer
, int32_t num_bytes
, struct PP_CompletionCallback
* callback
) {
4012 const struct PPB_UDPSocket_Private_0_2
*iface
= Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_2
.real_iface
;
4013 return iface
->RecvFrom(udp_socket
, buffer
, num_bytes
, *callback
);
4016 static PP_Bool
Pnacl_M17_PPB_UDPSocket_Private_GetRecvFromAddress(PP_Resource udp_socket
, struct PP_NetAddress_Private
* addr
) {
4017 const struct PPB_UDPSocket_Private_0_2
*iface
= Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_2
.real_iface
;
4018 return iface
->GetRecvFromAddress(udp_socket
, addr
);
4021 static int32_t Pnacl_M17_PPB_UDPSocket_Private_SendTo(PP_Resource udp_socket
, const char* buffer
, int32_t num_bytes
, const struct PP_NetAddress_Private
* addr
, struct PP_CompletionCallback
* callback
) {
4022 const struct PPB_UDPSocket_Private_0_2
*iface
= Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_2
.real_iface
;
4023 return iface
->SendTo(udp_socket
, buffer
, num_bytes
, addr
, *callback
);
4026 static void Pnacl_M17_PPB_UDPSocket_Private_Close(PP_Resource udp_socket
) {
4027 const struct PPB_UDPSocket_Private_0_2
*iface
= Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_2
.real_iface
;
4028 iface
->Close(udp_socket
);
4031 /* End wrapper methods for PPB_UDPSocket_Private_0_2 */
4033 /* Begin wrapper methods for PPB_UDPSocket_Private_0_3 */
4035 static PP_Resource
Pnacl_M19_PPB_UDPSocket_Private_Create(PP_Instance instance_id
) {
4036 const struct PPB_UDPSocket_Private_0_3
*iface
= Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_3
.real_iface
;
4037 return iface
->Create(instance_id
);
4040 static PP_Bool
Pnacl_M19_PPB_UDPSocket_Private_IsUDPSocket(PP_Resource resource_id
) {
4041 const struct PPB_UDPSocket_Private_0_3
*iface
= Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_3
.real_iface
;
4042 return iface
->IsUDPSocket(resource_id
);
4045 static int32_t Pnacl_M19_PPB_UDPSocket_Private_Bind(PP_Resource udp_socket
, const struct PP_NetAddress_Private
* addr
, struct PP_CompletionCallback
* callback
) {
4046 const struct PPB_UDPSocket_Private_0_3
*iface
= Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_3
.real_iface
;
4047 return iface
->Bind(udp_socket
, addr
, *callback
);
4050 static PP_Bool
Pnacl_M19_PPB_UDPSocket_Private_GetBoundAddress(PP_Resource udp_socket
, struct PP_NetAddress_Private
* addr
) {
4051 const struct PPB_UDPSocket_Private_0_3
*iface
= Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_3
.real_iface
;
4052 return iface
->GetBoundAddress(udp_socket
, addr
);
4055 static int32_t Pnacl_M19_PPB_UDPSocket_Private_RecvFrom(PP_Resource udp_socket
, char* buffer
, int32_t num_bytes
, struct PP_CompletionCallback
* callback
) {
4056 const struct PPB_UDPSocket_Private_0_3
*iface
= Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_3
.real_iface
;
4057 return iface
->RecvFrom(udp_socket
, buffer
, num_bytes
, *callback
);
4060 static PP_Bool
Pnacl_M19_PPB_UDPSocket_Private_GetRecvFromAddress(PP_Resource udp_socket
, struct PP_NetAddress_Private
* addr
) {
4061 const struct PPB_UDPSocket_Private_0_3
*iface
= Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_3
.real_iface
;
4062 return iface
->GetRecvFromAddress(udp_socket
, addr
);
4065 static int32_t Pnacl_M19_PPB_UDPSocket_Private_SendTo(PP_Resource udp_socket
, const char* buffer
, int32_t num_bytes
, const struct PP_NetAddress_Private
* addr
, struct PP_CompletionCallback
* callback
) {
4066 const struct PPB_UDPSocket_Private_0_3
*iface
= Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_3
.real_iface
;
4067 return iface
->SendTo(udp_socket
, buffer
, num_bytes
, addr
, *callback
);
4070 static void Pnacl_M19_PPB_UDPSocket_Private_Close(PP_Resource udp_socket
) {
4071 const struct PPB_UDPSocket_Private_0_3
*iface
= Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_3
.real_iface
;
4072 iface
->Close(udp_socket
);
4075 /* End wrapper methods for PPB_UDPSocket_Private_0_3 */
4077 /* Begin wrapper methods for PPB_UDPSocket_Private_0_4 */
4079 static PP_Resource
Pnacl_M23_PPB_UDPSocket_Private_Create(PP_Instance instance_id
) {
4080 const struct PPB_UDPSocket_Private_0_4
*iface
= Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_4
.real_iface
;
4081 return iface
->Create(instance_id
);
4084 static PP_Bool
Pnacl_M23_PPB_UDPSocket_Private_IsUDPSocket(PP_Resource resource_id
) {
4085 const struct PPB_UDPSocket_Private_0_4
*iface
= Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_4
.real_iface
;
4086 return iface
->IsUDPSocket(resource_id
);
4089 static int32_t Pnacl_M23_PPB_UDPSocket_Private_SetSocketFeature(PP_Resource udp_socket
, PP_UDPSocketFeature_Private name
, struct PP_Var
* value
) {
4090 const struct PPB_UDPSocket_Private_0_4
*iface
= Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_4
.real_iface
;
4091 return iface
->SetSocketFeature(udp_socket
, name
, *value
);
4094 static int32_t Pnacl_M23_PPB_UDPSocket_Private_Bind(PP_Resource udp_socket
, const struct PP_NetAddress_Private
* addr
, struct PP_CompletionCallback
* callback
) {
4095 const struct PPB_UDPSocket_Private_0_4
*iface
= Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_4
.real_iface
;
4096 return iface
->Bind(udp_socket
, addr
, *callback
);
4099 static PP_Bool
Pnacl_M23_PPB_UDPSocket_Private_GetBoundAddress(PP_Resource udp_socket
, struct PP_NetAddress_Private
* addr
) {
4100 const struct PPB_UDPSocket_Private_0_4
*iface
= Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_4
.real_iface
;
4101 return iface
->GetBoundAddress(udp_socket
, addr
);
4104 static int32_t Pnacl_M23_PPB_UDPSocket_Private_RecvFrom(PP_Resource udp_socket
, char* buffer
, int32_t num_bytes
, struct PP_CompletionCallback
* callback
) {
4105 const struct PPB_UDPSocket_Private_0_4
*iface
= Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_4
.real_iface
;
4106 return iface
->RecvFrom(udp_socket
, buffer
, num_bytes
, *callback
);
4109 static PP_Bool
Pnacl_M23_PPB_UDPSocket_Private_GetRecvFromAddress(PP_Resource udp_socket
, struct PP_NetAddress_Private
* addr
) {
4110 const struct PPB_UDPSocket_Private_0_4
*iface
= Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_4
.real_iface
;
4111 return iface
->GetRecvFromAddress(udp_socket
, addr
);
4114 static int32_t Pnacl_M23_PPB_UDPSocket_Private_SendTo(PP_Resource udp_socket
, const char* buffer
, int32_t num_bytes
, const struct PP_NetAddress_Private
* addr
, struct PP_CompletionCallback
* callback
) {
4115 const struct PPB_UDPSocket_Private_0_4
*iface
= Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_4
.real_iface
;
4116 return iface
->SendTo(udp_socket
, buffer
, num_bytes
, addr
, *callback
);
4119 static void Pnacl_M23_PPB_UDPSocket_Private_Close(PP_Resource udp_socket
) {
4120 const struct PPB_UDPSocket_Private_0_4
*iface
= Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_4
.real_iface
;
4121 iface
->Close(udp_socket
);
4124 /* End wrapper methods for PPB_UDPSocket_Private_0_4 */
4126 /* Begin wrapper methods for PPB_UMA_Private_0_3 */
4128 static void Pnacl_M35_PPB_UMA_Private_HistogramCustomTimes(PP_Instance instance
, struct PP_Var
* name
, int64_t sample
, int64_t min
, int64_t max
, uint32_t bucket_count
) {
4129 const struct PPB_UMA_Private_0_3
*iface
= Pnacl_WrapperInfo_PPB_UMA_Private_0_3
.real_iface
;
4130 iface
->HistogramCustomTimes(instance
, *name
, sample
, min
, max
, bucket_count
);
4133 static void Pnacl_M35_PPB_UMA_Private_HistogramCustomCounts(PP_Instance instance
, struct PP_Var
* name
, int32_t sample
, int32_t min
, int32_t max
, uint32_t bucket_count
) {
4134 const struct PPB_UMA_Private_0_3
*iface
= Pnacl_WrapperInfo_PPB_UMA_Private_0_3
.real_iface
;
4135 iface
->HistogramCustomCounts(instance
, *name
, sample
, min
, max
, bucket_count
);
4138 static void Pnacl_M35_PPB_UMA_Private_HistogramEnumeration(PP_Instance instance
, struct PP_Var
* name
, int32_t sample
, int32_t boundary_value
) {
4139 const struct PPB_UMA_Private_0_3
*iface
= Pnacl_WrapperInfo_PPB_UMA_Private_0_3
.real_iface
;
4140 iface
->HistogramEnumeration(instance
, *name
, sample
, boundary_value
);
4143 static int32_t Pnacl_M35_PPB_UMA_Private_IsCrashReportingEnabled(PP_Instance instance
, struct PP_CompletionCallback
* callback
) {
4144 const struct PPB_UMA_Private_0_3
*iface
= Pnacl_WrapperInfo_PPB_UMA_Private_0_3
.real_iface
;
4145 return iface
->IsCrashReportingEnabled(instance
, *callback
);
4148 /* End wrapper methods for PPB_UMA_Private_0_3 */
4150 /* Begin wrapper methods for PPB_VideoDestination_Private_0_1 */
4152 static PP_Resource
Pnacl_M28_PPB_VideoDestination_Private_Create(PP_Instance instance
) {
4153 const struct PPB_VideoDestination_Private_0_1
*iface
= Pnacl_WrapperInfo_PPB_VideoDestination_Private_0_1
.real_iface
;
4154 return iface
->Create(instance
);
4157 static PP_Bool
Pnacl_M28_PPB_VideoDestination_Private_IsVideoDestination(PP_Resource resource
) {
4158 const struct PPB_VideoDestination_Private_0_1
*iface
= Pnacl_WrapperInfo_PPB_VideoDestination_Private_0_1
.real_iface
;
4159 return iface
->IsVideoDestination(resource
);
4162 static int32_t Pnacl_M28_PPB_VideoDestination_Private_Open(PP_Resource destination
, struct PP_Var
* stream_url
, struct PP_CompletionCallback
* callback
) {
4163 const struct PPB_VideoDestination_Private_0_1
*iface
= Pnacl_WrapperInfo_PPB_VideoDestination_Private_0_1
.real_iface
;
4164 return iface
->Open(destination
, *stream_url
, *callback
);
4167 static int32_t Pnacl_M28_PPB_VideoDestination_Private_PutFrame(PP_Resource destination
, const struct PP_VideoFrame_Private
* frame
) {
4168 const struct PPB_VideoDestination_Private_0_1
*iface
= Pnacl_WrapperInfo_PPB_VideoDestination_Private_0_1
.real_iface
;
4169 return iface
->PutFrame(destination
, frame
);
4172 static void Pnacl_M28_PPB_VideoDestination_Private_Close(PP_Resource destination
) {
4173 const struct PPB_VideoDestination_Private_0_1
*iface
= Pnacl_WrapperInfo_PPB_VideoDestination_Private_0_1
.real_iface
;
4174 iface
->Close(destination
);
4177 /* End wrapper methods for PPB_VideoDestination_Private_0_1 */
4179 /* Begin wrapper methods for PPB_VideoSource_Private_0_1 */
4181 static PP_Resource
Pnacl_M28_PPB_VideoSource_Private_Create(PP_Instance instance
) {
4182 const struct PPB_VideoSource_Private_0_1
*iface
= Pnacl_WrapperInfo_PPB_VideoSource_Private_0_1
.real_iface
;
4183 return iface
->Create(instance
);
4186 static PP_Bool
Pnacl_M28_PPB_VideoSource_Private_IsVideoSource(PP_Resource resource
) {
4187 const struct PPB_VideoSource_Private_0_1
*iface
= Pnacl_WrapperInfo_PPB_VideoSource_Private_0_1
.real_iface
;
4188 return iface
->IsVideoSource(resource
);
4191 static int32_t Pnacl_M28_PPB_VideoSource_Private_Open(PP_Resource source
, struct PP_Var
* stream_url
, struct PP_CompletionCallback
* callback
) {
4192 const struct PPB_VideoSource_Private_0_1
*iface
= Pnacl_WrapperInfo_PPB_VideoSource_Private_0_1
.real_iface
;
4193 return iface
->Open(source
, *stream_url
, *callback
);
4196 static int32_t Pnacl_M28_PPB_VideoSource_Private_GetFrame(PP_Resource source
, struct PP_VideoFrame_Private
* frame
, struct PP_CompletionCallback
* callback
) {
4197 const struct PPB_VideoSource_Private_0_1
*iface
= Pnacl_WrapperInfo_PPB_VideoSource_Private_0_1
.real_iface
;
4198 return iface
->GetFrame(source
, frame
, *callback
);
4201 static void Pnacl_M28_PPB_VideoSource_Private_Close(PP_Resource source
) {
4202 const struct PPB_VideoSource_Private_0_1
*iface
= Pnacl_WrapperInfo_PPB_VideoSource_Private_0_1
.real_iface
;
4203 iface
->Close(source
);
4206 /* End wrapper methods for PPB_VideoSource_Private_0_1 */
4208 /* Begin wrapper methods for PPB_X509Certificate_Private_0_1 */
4210 static PP_Resource
Pnacl_M19_PPB_X509Certificate_Private_Create(PP_Instance instance
) {
4211 const struct PPB_X509Certificate_Private_0_1
*iface
= Pnacl_WrapperInfo_PPB_X509Certificate_Private_0_1
.real_iface
;
4212 return iface
->Create(instance
);
4215 static PP_Bool
Pnacl_M19_PPB_X509Certificate_Private_IsX509CertificatePrivate(PP_Resource resource
) {
4216 const struct PPB_X509Certificate_Private_0_1
*iface
= Pnacl_WrapperInfo_PPB_X509Certificate_Private_0_1
.real_iface
;
4217 return iface
->IsX509CertificatePrivate(resource
);
4220 static PP_Bool
Pnacl_M19_PPB_X509Certificate_Private_Initialize(PP_Resource resource
, const char* bytes
, uint32_t length
) {
4221 const struct PPB_X509Certificate_Private_0_1
*iface
= Pnacl_WrapperInfo_PPB_X509Certificate_Private_0_1
.real_iface
;
4222 return iface
->Initialize(resource
, bytes
, length
);
4225 static void Pnacl_M19_PPB_X509Certificate_Private_GetField(struct PP_Var
* _struct_result
, PP_Resource resource
, PP_X509Certificate_Private_Field field
) {
4226 const struct PPB_X509Certificate_Private_0_1
*iface
= Pnacl_WrapperInfo_PPB_X509Certificate_Private_0_1
.real_iface
;
4227 *_struct_result
= iface
->GetField(resource
, field
);
4230 /* End wrapper methods for PPB_X509Certificate_Private_0_1 */
4232 /* Begin wrapper methods for PPP_ContentDecryptor_Private_0_12 */
4234 static void Pnacl_M36_PPP_ContentDecryptor_Private_Initialize(PP_Instance instance
, struct PP_Var key_system
) {
4235 const struct PPP_ContentDecryptor_Private_0_12
*iface
= Pnacl_WrapperInfo_PPP_ContentDecryptor_Private_0_12
.real_iface
;
4236 void (*temp_fp
)(PP_Instance instance
, struct PP_Var
* key_system
) =
4237 ((void (*)(PP_Instance instance
, struct PP_Var
* key_system
))iface
->Initialize
);
4238 temp_fp(instance
, &key_system
);
4241 static void Pnacl_M36_PPP_ContentDecryptor_Private_CreateSession(PP_Instance instance
, uint32_t promise_id
, struct PP_Var init_data_type
, struct PP_Var init_data
, PP_SessionType session_type
) {
4242 const struct PPP_ContentDecryptor_Private_0_12
*iface
= Pnacl_WrapperInfo_PPP_ContentDecryptor_Private_0_12
.real_iface
;
4243 void (*temp_fp
)(PP_Instance instance
, uint32_t promise_id
, struct PP_Var
* init_data_type
, struct PP_Var
* init_data
, PP_SessionType session_type
) =
4244 ((void (*)(PP_Instance instance
, uint32_t promise_id
, struct PP_Var
* init_data_type
, struct PP_Var
* init_data
, PP_SessionType session_type
))iface
->CreateSession
);
4245 temp_fp(instance
, promise_id
, &init_data_type
, &init_data
, session_type
);
4248 static void Pnacl_M36_PPP_ContentDecryptor_Private_LoadSession(PP_Instance instance
, uint32_t promise_id
, struct PP_Var web_session_id
) {
4249 const struct PPP_ContentDecryptor_Private_0_12
*iface
= Pnacl_WrapperInfo_PPP_ContentDecryptor_Private_0_12
.real_iface
;
4250 void (*temp_fp
)(PP_Instance instance
, uint32_t promise_id
, struct PP_Var
* web_session_id
) =
4251 ((void (*)(PP_Instance instance
, uint32_t promise_id
, struct PP_Var
* web_session_id
))iface
->LoadSession
);
4252 temp_fp(instance
, promise_id
, &web_session_id
);
4255 static void Pnacl_M36_PPP_ContentDecryptor_Private_UpdateSession(PP_Instance instance
, uint32_t promise_id
, struct PP_Var web_session_id
, struct PP_Var response
) {
4256 const struct PPP_ContentDecryptor_Private_0_12
*iface
= Pnacl_WrapperInfo_PPP_ContentDecryptor_Private_0_12
.real_iface
;
4257 void (*temp_fp
)(PP_Instance instance
, uint32_t promise_id
, struct PP_Var
* web_session_id
, struct PP_Var
* response
) =
4258 ((void (*)(PP_Instance instance
, uint32_t promise_id
, struct PP_Var
* web_session_id
, struct PP_Var
* response
))iface
->UpdateSession
);
4259 temp_fp(instance
, promise_id
, &web_session_id
, &response
);
4262 static void Pnacl_M36_PPP_ContentDecryptor_Private_ReleaseSession(PP_Instance instance
, uint32_t promise_id
, struct PP_Var web_session_id
) {
4263 const struct PPP_ContentDecryptor_Private_0_12
*iface
= Pnacl_WrapperInfo_PPP_ContentDecryptor_Private_0_12
.real_iface
;
4264 void (*temp_fp
)(PP_Instance instance
, uint32_t promise_id
, struct PP_Var
* web_session_id
) =
4265 ((void (*)(PP_Instance instance
, uint32_t promise_id
, struct PP_Var
* web_session_id
))iface
->ReleaseSession
);
4266 temp_fp(instance
, promise_id
, &web_session_id
);
4269 static void Pnacl_M36_PPP_ContentDecryptor_Private_Decrypt(PP_Instance instance
, PP_Resource encrypted_block
, const struct PP_EncryptedBlockInfo
* encrypted_block_info
) {
4270 const struct PPP_ContentDecryptor_Private_0_12
*iface
= Pnacl_WrapperInfo_PPP_ContentDecryptor_Private_0_12
.real_iface
;
4271 void (*temp_fp
)(PP_Instance instance
, PP_Resource encrypted_block
, const struct PP_EncryptedBlockInfo
* encrypted_block_info
) =
4272 ((void (*)(PP_Instance instance
, PP_Resource encrypted_block
, const struct PP_EncryptedBlockInfo
* encrypted_block_info
))iface
->Decrypt
);
4273 temp_fp(instance
, encrypted_block
, encrypted_block_info
);
4276 static void Pnacl_M36_PPP_ContentDecryptor_Private_InitializeAudioDecoder(PP_Instance instance
, const struct PP_AudioDecoderConfig
* decoder_config
, PP_Resource codec_extra_data
) {
4277 const struct PPP_ContentDecryptor_Private_0_12
*iface
= Pnacl_WrapperInfo_PPP_ContentDecryptor_Private_0_12
.real_iface
;
4278 void (*temp_fp
)(PP_Instance instance
, const struct PP_AudioDecoderConfig
* decoder_config
, PP_Resource codec_extra_data
) =
4279 ((void (*)(PP_Instance instance
, const struct PP_AudioDecoderConfig
* decoder_config
, PP_Resource codec_extra_data
))iface
->InitializeAudioDecoder
);
4280 temp_fp(instance
, decoder_config
, codec_extra_data
);
4283 static void Pnacl_M36_PPP_ContentDecryptor_Private_InitializeVideoDecoder(PP_Instance instance
, const struct PP_VideoDecoderConfig
* decoder_config
, PP_Resource codec_extra_data
) {
4284 const struct PPP_ContentDecryptor_Private_0_12
*iface
= Pnacl_WrapperInfo_PPP_ContentDecryptor_Private_0_12
.real_iface
;
4285 void (*temp_fp
)(PP_Instance instance
, const struct PP_VideoDecoderConfig
* decoder_config
, PP_Resource codec_extra_data
) =
4286 ((void (*)(PP_Instance instance
, const struct PP_VideoDecoderConfig
* decoder_config
, PP_Resource codec_extra_data
))iface
->InitializeVideoDecoder
);
4287 temp_fp(instance
, decoder_config
, codec_extra_data
);
4290 static void Pnacl_M36_PPP_ContentDecryptor_Private_DeinitializeDecoder(PP_Instance instance
, PP_DecryptorStreamType decoder_type
, uint32_t request_id
) {
4291 const struct PPP_ContentDecryptor_Private_0_12
*iface
= Pnacl_WrapperInfo_PPP_ContentDecryptor_Private_0_12
.real_iface
;
4292 void (*temp_fp
)(PP_Instance instance
, PP_DecryptorStreamType decoder_type
, uint32_t request_id
) =
4293 ((void (*)(PP_Instance instance
, PP_DecryptorStreamType decoder_type
, uint32_t request_id
))iface
->DeinitializeDecoder
);
4294 temp_fp(instance
, decoder_type
, request_id
);
4297 static void Pnacl_M36_PPP_ContentDecryptor_Private_ResetDecoder(PP_Instance instance
, PP_DecryptorStreamType decoder_type
, uint32_t request_id
) {
4298 const struct PPP_ContentDecryptor_Private_0_12
*iface
= Pnacl_WrapperInfo_PPP_ContentDecryptor_Private_0_12
.real_iface
;
4299 void (*temp_fp
)(PP_Instance instance
, PP_DecryptorStreamType decoder_type
, uint32_t request_id
) =
4300 ((void (*)(PP_Instance instance
, PP_DecryptorStreamType decoder_type
, uint32_t request_id
))iface
->ResetDecoder
);
4301 temp_fp(instance
, decoder_type
, request_id
);
4304 static void Pnacl_M36_PPP_ContentDecryptor_Private_DecryptAndDecode(PP_Instance instance
, PP_DecryptorStreamType decoder_type
, PP_Resource encrypted_buffer
, const struct PP_EncryptedBlockInfo
* encrypted_block_info
) {
4305 const struct PPP_ContentDecryptor_Private_0_12
*iface
= Pnacl_WrapperInfo_PPP_ContentDecryptor_Private_0_12
.real_iface
;
4306 void (*temp_fp
)(PP_Instance instance
, PP_DecryptorStreamType decoder_type
, PP_Resource encrypted_buffer
, const struct PP_EncryptedBlockInfo
* encrypted_block_info
) =
4307 ((void (*)(PP_Instance instance
, PP_DecryptorStreamType decoder_type
, PP_Resource encrypted_buffer
, const struct PP_EncryptedBlockInfo
* encrypted_block_info
))iface
->DecryptAndDecode
);
4308 temp_fp(instance
, decoder_type
, encrypted_buffer
, encrypted_block_info
);
4311 /* End wrapper methods for PPP_ContentDecryptor_Private_0_12 */
4313 /* Not generating wrapper methods for PPP_Find_Private_0_3 */
4315 /* Not generating wrapper methods for PPP_Flash_BrowserOperations_1_0 */
4317 /* Not generating wrapper methods for PPP_Flash_BrowserOperations_1_2 */
4319 /* Not generating wrapper methods for PPP_Flash_BrowserOperations_1_3 */
4321 /* Begin wrapper methods for PPP_Instance_Private_0_1 */
4323 static struct PP_Var
Pnacl_M18_PPP_Instance_Private_GetInstanceObject(PP_Instance instance
) {
4324 const struct PPP_Instance_Private_0_1
*iface
= Pnacl_WrapperInfo_PPP_Instance_Private_0_1
.real_iface
;
4325 void (*temp_fp
)(struct PP_Var
* _struct_result
, PP_Instance instance
) =
4326 ((void (*)(struct PP_Var
* _struct_result
, PP_Instance instance
))iface
->GetInstanceObject
);
4327 struct PP_Var _struct_result
;
4328 temp_fp(&_struct_result
, instance
);
4329 return _struct_result
;
4332 /* End wrapper methods for PPP_Instance_Private_0_1 */
4334 /* Not generating wrapper methods for PPP_PexeStreamHandler_1_0 */
4336 /* Not generating wrapper interface for PPB_Audio_1_0 */
4338 /* Not generating wrapper interface for PPB_Audio_1_1 */
4340 /* Not generating wrapper interface for PPB_AudioBuffer_0_1 */
4342 /* Not generating wrapper interface for PPB_AudioConfig_1_0 */
4344 /* Not generating wrapper interface for PPB_AudioConfig_1_1 */
4346 static const struct PPB_Compositor_0_1 Pnacl_Wrappers_PPB_Compositor_0_1
= {
4347 .IsCompositor
= (PP_Bool (*)(PP_Resource resource
))&Pnacl_M37_PPB_Compositor_IsCompositor
,
4348 .Create
= (PP_Resource (*)(PP_Instance instance
))&Pnacl_M37_PPB_Compositor_Create
,
4349 .AddLayer
= (PP_Resource (*)(PP_Resource compositor
))&Pnacl_M37_PPB_Compositor_AddLayer
,
4350 .CommitLayers
= (int32_t (*)(PP_Resource compositor
, struct PP_CompletionCallback cc
))&Pnacl_M37_PPB_Compositor_CommitLayers
,
4351 .ResetLayers
= (int32_t (*)(PP_Resource compositor
))&Pnacl_M37_PPB_Compositor_ResetLayers
4354 static const struct PPB_CompositorLayer_0_1 Pnacl_Wrappers_PPB_CompositorLayer_0_1
= {
4355 .IsCompositorLayer
= (PP_Bool (*)(PP_Resource resource
))&Pnacl_M37_PPB_CompositorLayer_IsCompositorLayer
,
4356 .SetColor
= (int32_t (*)(PP_Resource layer
, float red
, float green
, float blue
, float alpha
, const struct PP_Size
* size
))&Pnacl_M37_PPB_CompositorLayer_SetColor
,
4357 .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
,
4358 .SetImage
= (int32_t (*)(PP_Resource layer
, PP_Resource image_data
, const struct PP_Size
* size
, struct PP_CompletionCallback cc
))&Pnacl_M37_PPB_CompositorLayer_SetImage
,
4359 .SetClipRect
= (int32_t (*)(PP_Resource layer
, const struct PP_Rect
* rect
))&Pnacl_M37_PPB_CompositorLayer_SetClipRect
,
4360 .SetTransform
= (int32_t (*)(PP_Resource layer
, const float matrix
[16]))&Pnacl_M37_PPB_CompositorLayer_SetTransform
,
4361 .SetOpacity
= (int32_t (*)(PP_Resource layer
, float opacity
))&Pnacl_M37_PPB_CompositorLayer_SetOpacity
,
4362 .SetBlendMode
= (int32_t (*)(PP_Resource layer
, PP_BlendMode mode
))&Pnacl_M37_PPB_CompositorLayer_SetBlendMode
,
4363 .SetSourceRect
= (int32_t (*)(PP_Resource layer
, const struct PP_FloatRect
* rect
))&Pnacl_M37_PPB_CompositorLayer_SetSourceRect
,
4364 .SetPremultipliedAlpha
= (int32_t (*)(PP_Resource layer
, PP_Bool premult
))&Pnacl_M37_PPB_CompositorLayer_SetPremultipliedAlpha
4367 static const struct PPB_Console_1_0 Pnacl_Wrappers_PPB_Console_1_0
= {
4368 .Log
= (void (*)(PP_Instance instance
, PP_LogLevel level
, struct PP_Var value
))&Pnacl_M25_PPB_Console_Log
,
4369 .LogWithSource
= (void (*)(PP_Instance instance
, PP_LogLevel level
, struct PP_Var source
, struct PP_Var value
))&Pnacl_M25_PPB_Console_LogWithSource
4372 static const struct PPB_Core_1_0 Pnacl_Wrappers_PPB_Core_1_0
= {
4373 .AddRefResource
= (void (*)(PP_Resource resource
))&Pnacl_M14_PPB_Core_AddRefResource
,
4374 .ReleaseResource
= (void (*)(PP_Resource resource
))&Pnacl_M14_PPB_Core_ReleaseResource
,
4375 .GetTime
= (PP_Time (*)(void))&Pnacl_M14_PPB_Core_GetTime
,
4376 .GetTimeTicks
= (PP_TimeTicks (*)(void))&Pnacl_M14_PPB_Core_GetTimeTicks
,
4377 .CallOnMainThread
= (void (*)(int32_t delay_in_milliseconds
, struct PP_CompletionCallback callback
, int32_t result
))&Pnacl_M14_PPB_Core_CallOnMainThread
,
4378 .IsMainThread
= (PP_Bool (*)(void))&Pnacl_M14_PPB_Core_IsMainThread
4381 static const struct PPB_FileIO_1_0 Pnacl_Wrappers_PPB_FileIO_1_0
= {
4382 .Create
= (PP_Resource (*)(PP_Instance instance
))&Pnacl_M14_PPB_FileIO_Create
,
4383 .IsFileIO
= (PP_Bool (*)(PP_Resource resource
))&Pnacl_M14_PPB_FileIO_IsFileIO
,
4384 .Open
= (int32_t (*)(PP_Resource file_io
, PP_Resource file_ref
, int32_t open_flags
, struct PP_CompletionCallback callback
))&Pnacl_M14_PPB_FileIO_Open
,
4385 .Query
= (int32_t (*)(PP_Resource file_io
, struct PP_FileInfo
* info
, struct PP_CompletionCallback callback
))&Pnacl_M14_PPB_FileIO_Query
,
4386 .Touch
= (int32_t (*)(PP_Resource file_io
, PP_Time last_access_time
, PP_Time last_modified_time
, struct PP_CompletionCallback callback
))&Pnacl_M14_PPB_FileIO_Touch
,
4387 .Read
= (int32_t (*)(PP_Resource file_io
, int64_t offset
, char* buffer
, int32_t bytes_to_read
, struct PP_CompletionCallback callback
))&Pnacl_M14_PPB_FileIO_Read
,
4388 .Write
= (int32_t (*)(PP_Resource file_io
, int64_t offset
, const char* buffer
, int32_t bytes_to_write
, struct PP_CompletionCallback callback
))&Pnacl_M14_PPB_FileIO_Write
,
4389 .SetLength
= (int32_t (*)(PP_Resource file_io
, int64_t length
, struct PP_CompletionCallback callback
))&Pnacl_M14_PPB_FileIO_SetLength
,
4390 .Flush
= (int32_t (*)(PP_Resource file_io
, struct PP_CompletionCallback callback
))&Pnacl_M14_PPB_FileIO_Flush
,
4391 .Close
= (void (*)(PP_Resource file_io
))&Pnacl_M14_PPB_FileIO_Close
4394 static const struct PPB_FileIO_1_1 Pnacl_Wrappers_PPB_FileIO_1_1
= {
4395 .Create
= (PP_Resource (*)(PP_Instance instance
))&Pnacl_M25_PPB_FileIO_Create
,
4396 .IsFileIO
= (PP_Bool (*)(PP_Resource resource
))&Pnacl_M25_PPB_FileIO_IsFileIO
,
4397 .Open
= (int32_t (*)(PP_Resource file_io
, PP_Resource file_ref
, int32_t open_flags
, struct PP_CompletionCallback callback
))&Pnacl_M25_PPB_FileIO_Open
,
4398 .Query
= (int32_t (*)(PP_Resource file_io
, struct PP_FileInfo
* info
, struct PP_CompletionCallback callback
))&Pnacl_M25_PPB_FileIO_Query
,
4399 .Touch
= (int32_t (*)(PP_Resource file_io
, PP_Time last_access_time
, PP_Time last_modified_time
, struct PP_CompletionCallback callback
))&Pnacl_M25_PPB_FileIO_Touch
,
4400 .Read
= (int32_t (*)(PP_Resource file_io
, int64_t offset
, char* buffer
, int32_t bytes_to_read
, struct PP_CompletionCallback callback
))&Pnacl_M25_PPB_FileIO_Read
,
4401 .Write
= (int32_t (*)(PP_Resource file_io
, int64_t offset
, const char* buffer
, int32_t bytes_to_write
, struct PP_CompletionCallback callback
))&Pnacl_M25_PPB_FileIO_Write
,
4402 .SetLength
= (int32_t (*)(PP_Resource file_io
, int64_t length
, struct PP_CompletionCallback callback
))&Pnacl_M25_PPB_FileIO_SetLength
,
4403 .Flush
= (int32_t (*)(PP_Resource file_io
, struct PP_CompletionCallback callback
))&Pnacl_M25_PPB_FileIO_Flush
,
4404 .Close
= (void (*)(PP_Resource file_io
))&Pnacl_M25_PPB_FileIO_Close
,
4405 .ReadToArray
= (int32_t (*)(PP_Resource file_io
, int64_t offset
, int32_t max_read_length
, struct PP_ArrayOutput
* output
, struct PP_CompletionCallback callback
))&Pnacl_M25_PPB_FileIO_ReadToArray
4408 static const struct PPB_FileMapping_0_1 Pnacl_Wrappers_PPB_FileMapping_0_1
= {
4409 .Map
= (int32_t (*)(PP_Instance instance
, PP_Resource file_io
, int64_t length
, uint32_t map_protection
, uint32_t map_flags
, int64_t offset
, void** address
, struct PP_CompletionCallback callback
))&Pnacl_M34_PPB_FileMapping_Map
,
4410 .Unmap
= (int32_t (*)(PP_Instance instance
, const void* address
, int64_t length
, struct PP_CompletionCallback callback
))&Pnacl_M34_PPB_FileMapping_Unmap
,
4411 .GetMapPageSize
= (int64_t (*)(PP_Instance instance
))&Pnacl_M34_PPB_FileMapping_GetMapPageSize
4414 static const struct PPB_FileRef_1_0 Pnacl_Wrappers_PPB_FileRef_1_0
= {
4415 .Create
= (PP_Resource (*)(PP_Resource file_system
, const char* path
))&Pnacl_M14_PPB_FileRef_Create
,
4416 .IsFileRef
= (PP_Bool (*)(PP_Resource resource
))&Pnacl_M14_PPB_FileRef_IsFileRef
,
4417 .GetFileSystemType
= (PP_FileSystemType (*)(PP_Resource file_ref
))&Pnacl_M14_PPB_FileRef_GetFileSystemType
,
4418 .GetName
= (struct PP_Var (*)(PP_Resource file_ref
))&Pnacl_M14_PPB_FileRef_GetName
,
4419 .GetPath
= (struct PP_Var (*)(PP_Resource file_ref
))&Pnacl_M14_PPB_FileRef_GetPath
,
4420 .GetParent
= (PP_Resource (*)(PP_Resource file_ref
))&Pnacl_M14_PPB_FileRef_GetParent
,
4421 .MakeDirectory
= (int32_t (*)(PP_Resource directory_ref
, PP_Bool make_ancestors
, struct PP_CompletionCallback callback
))&Pnacl_M14_PPB_FileRef_MakeDirectory
,
4422 .Touch
= (int32_t (*)(PP_Resource file_ref
, PP_Time last_access_time
, PP_Time last_modified_time
, struct PP_CompletionCallback callback
))&Pnacl_M14_PPB_FileRef_Touch
,
4423 .Delete
= (int32_t (*)(PP_Resource file_ref
, struct PP_CompletionCallback callback
))&Pnacl_M14_PPB_FileRef_Delete
,
4424 .Rename
= (int32_t (*)(PP_Resource file_ref
, PP_Resource new_file_ref
, struct PP_CompletionCallback callback
))&Pnacl_M14_PPB_FileRef_Rename
4427 static const struct PPB_FileRef_1_1 Pnacl_Wrappers_PPB_FileRef_1_1
= {
4428 .Create
= (PP_Resource (*)(PP_Resource file_system
, const char* path
))&Pnacl_M28_PPB_FileRef_Create
,
4429 .IsFileRef
= (PP_Bool (*)(PP_Resource resource
))&Pnacl_M28_PPB_FileRef_IsFileRef
,
4430 .GetFileSystemType
= (PP_FileSystemType (*)(PP_Resource file_ref
))&Pnacl_M28_PPB_FileRef_GetFileSystemType
,
4431 .GetName
= (struct PP_Var (*)(PP_Resource file_ref
))&Pnacl_M28_PPB_FileRef_GetName
,
4432 .GetPath
= (struct PP_Var (*)(PP_Resource file_ref
))&Pnacl_M28_PPB_FileRef_GetPath
,
4433 .GetParent
= (PP_Resource (*)(PP_Resource file_ref
))&Pnacl_M28_PPB_FileRef_GetParent
,
4434 .MakeDirectory
= (int32_t (*)(PP_Resource directory_ref
, PP_Bool make_ancestors
, struct PP_CompletionCallback callback
))&Pnacl_M28_PPB_FileRef_MakeDirectory
,
4435 .Touch
= (int32_t (*)(PP_Resource file_ref
, PP_Time last_access_time
, PP_Time last_modified_time
, struct PP_CompletionCallback callback
))&Pnacl_M28_PPB_FileRef_Touch
,
4436 .Delete
= (int32_t (*)(PP_Resource file_ref
, struct PP_CompletionCallback callback
))&Pnacl_M28_PPB_FileRef_Delete
,
4437 .Rename
= (int32_t (*)(PP_Resource file_ref
, PP_Resource new_file_ref
, struct PP_CompletionCallback callback
))&Pnacl_M28_PPB_FileRef_Rename
,
4438 .Query
= (int32_t (*)(PP_Resource file_ref
, struct PP_FileInfo
* info
, struct PP_CompletionCallback callback
))&Pnacl_M28_PPB_FileRef_Query
,
4439 .ReadDirectoryEntries
= (int32_t (*)(PP_Resource file_ref
, struct PP_ArrayOutput output
, struct PP_CompletionCallback callback
))&Pnacl_M28_PPB_FileRef_ReadDirectoryEntries
4442 static const struct PPB_FileRef_1_2 Pnacl_Wrappers_PPB_FileRef_1_2
= {
4443 .Create
= (PP_Resource (*)(PP_Resource file_system
, const char* path
))&Pnacl_M34_PPB_FileRef_Create
,
4444 .IsFileRef
= (PP_Bool (*)(PP_Resource resource
))&Pnacl_M34_PPB_FileRef_IsFileRef
,
4445 .GetFileSystemType
= (PP_FileSystemType (*)(PP_Resource file_ref
))&Pnacl_M34_PPB_FileRef_GetFileSystemType
,
4446 .GetName
= (struct PP_Var (*)(PP_Resource file_ref
))&Pnacl_M34_PPB_FileRef_GetName
,
4447 .GetPath
= (struct PP_Var (*)(PP_Resource file_ref
))&Pnacl_M34_PPB_FileRef_GetPath
,
4448 .GetParent
= (PP_Resource (*)(PP_Resource file_ref
))&Pnacl_M34_PPB_FileRef_GetParent
,
4449 .MakeDirectory
= (int32_t (*)(PP_Resource directory_ref
, int32_t make_directory_flags
, struct PP_CompletionCallback callback
))&Pnacl_M34_PPB_FileRef_MakeDirectory
,
4450 .Touch
= (int32_t (*)(PP_Resource file_ref
, PP_Time last_access_time
, PP_Time last_modified_time
, struct PP_CompletionCallback callback
))&Pnacl_M34_PPB_FileRef_Touch
,
4451 .Delete
= (int32_t (*)(PP_Resource file_ref
, struct PP_CompletionCallback callback
))&Pnacl_M34_PPB_FileRef_Delete
,
4452 .Rename
= (int32_t (*)(PP_Resource file_ref
, PP_Resource new_file_ref
, struct PP_CompletionCallback callback
))&Pnacl_M34_PPB_FileRef_Rename
,
4453 .Query
= (int32_t (*)(PP_Resource file_ref
, struct PP_FileInfo
* info
, struct PP_CompletionCallback callback
))&Pnacl_M34_PPB_FileRef_Query
,
4454 .ReadDirectoryEntries
= (int32_t (*)(PP_Resource file_ref
, struct PP_ArrayOutput output
, struct PP_CompletionCallback callback
))&Pnacl_M34_PPB_FileRef_ReadDirectoryEntries
4457 static const struct PPB_FileSystem_1_0 Pnacl_Wrappers_PPB_FileSystem_1_0
= {
4458 .Create
= (PP_Resource (*)(PP_Instance instance
, PP_FileSystemType type
))&Pnacl_M14_PPB_FileSystem_Create
,
4459 .IsFileSystem
= (PP_Bool (*)(PP_Resource resource
))&Pnacl_M14_PPB_FileSystem_IsFileSystem
,
4460 .Open
= (int32_t (*)(PP_Resource file_system
, int64_t expected_size
, struct PP_CompletionCallback callback
))&Pnacl_M14_PPB_FileSystem_Open
,
4461 .GetType
= (PP_FileSystemType (*)(PP_Resource file_system
))&Pnacl_M14_PPB_FileSystem_GetType
4464 /* Not generating wrapper interface for PPB_Fullscreen_1_0 */
4466 /* Not generating wrapper interface for PPB_Gamepad_1_0 */
4468 static const struct PPB_Graphics2D_1_0 Pnacl_Wrappers_PPB_Graphics2D_1_0
= {
4469 .Create
= (PP_Resource (*)(PP_Instance instance
, const struct PP_Size
* size
, PP_Bool is_always_opaque
))&Pnacl_M14_PPB_Graphics2D_Create
,
4470 .IsGraphics2D
= (PP_Bool (*)(PP_Resource resource
))&Pnacl_M14_PPB_Graphics2D_IsGraphics2D
,
4471 .Describe
= (PP_Bool (*)(PP_Resource graphics_2d
, struct PP_Size
* size
, PP_Bool
* is_always_opaque
))&Pnacl_M14_PPB_Graphics2D_Describe
,
4472 .PaintImageData
= (void (*)(PP_Resource graphics_2d
, PP_Resource image_data
, const struct PP_Point
* top_left
, const struct PP_Rect
* src_rect
))&Pnacl_M14_PPB_Graphics2D_PaintImageData
,
4473 .Scroll
= (void (*)(PP_Resource graphics_2d
, const struct PP_Rect
* clip_rect
, const struct PP_Point
* amount
))&Pnacl_M14_PPB_Graphics2D_Scroll
,
4474 .ReplaceContents
= (void (*)(PP_Resource graphics_2d
, PP_Resource image_data
))&Pnacl_M14_PPB_Graphics2D_ReplaceContents
,
4475 .Flush
= (int32_t (*)(PP_Resource graphics_2d
, struct PP_CompletionCallback callback
))&Pnacl_M14_PPB_Graphics2D_Flush
4478 static const struct PPB_Graphics2D_1_1 Pnacl_Wrappers_PPB_Graphics2D_1_1
= {
4479 .Create
= (PP_Resource (*)(PP_Instance instance
, const struct PP_Size
* size
, PP_Bool is_always_opaque
))&Pnacl_M27_PPB_Graphics2D_Create
,
4480 .IsGraphics2D
= (PP_Bool (*)(PP_Resource resource
))&Pnacl_M27_PPB_Graphics2D_IsGraphics2D
,
4481 .Describe
= (PP_Bool (*)(PP_Resource graphics_2d
, struct PP_Size
* size
, PP_Bool
* is_always_opaque
))&Pnacl_M27_PPB_Graphics2D_Describe
,
4482 .PaintImageData
= (void (*)(PP_Resource graphics_2d
, PP_Resource image_data
, const struct PP_Point
* top_left
, const struct PP_Rect
* src_rect
))&Pnacl_M27_PPB_Graphics2D_PaintImageData
,
4483 .Scroll
= (void (*)(PP_Resource graphics_2d
, const struct PP_Rect
* clip_rect
, const struct PP_Point
* amount
))&Pnacl_M27_PPB_Graphics2D_Scroll
,
4484 .ReplaceContents
= (void (*)(PP_Resource graphics_2d
, PP_Resource image_data
))&Pnacl_M27_PPB_Graphics2D_ReplaceContents
,
4485 .Flush
= (int32_t (*)(PP_Resource graphics_2d
, struct PP_CompletionCallback callback
))&Pnacl_M27_PPB_Graphics2D_Flush
,
4486 .SetScale
= (PP_Bool (*)(PP_Resource resource
, float scale
))&Pnacl_M27_PPB_Graphics2D_SetScale
,
4487 .GetScale
= (float (*)(PP_Resource resource
))&Pnacl_M27_PPB_Graphics2D_GetScale
4490 static const struct PPB_Graphics3D_1_0 Pnacl_Wrappers_PPB_Graphics3D_1_0
= {
4491 .GetAttribMaxValue
= (int32_t (*)(PP_Resource instance
, int32_t attribute
, int32_t* value
))&Pnacl_M15_PPB_Graphics3D_GetAttribMaxValue
,
4492 .Create
= (PP_Resource (*)(PP_Instance instance
, PP_Resource share_context
, const int32_t attrib_list
[]))&Pnacl_M15_PPB_Graphics3D_Create
,
4493 .IsGraphics3D
= (PP_Bool (*)(PP_Resource resource
))&Pnacl_M15_PPB_Graphics3D_IsGraphics3D
,
4494 .GetAttribs
= (int32_t (*)(PP_Resource context
, int32_t attrib_list
[]))&Pnacl_M15_PPB_Graphics3D_GetAttribs
,
4495 .SetAttribs
= (int32_t (*)(PP_Resource context
, const int32_t attrib_list
[]))&Pnacl_M15_PPB_Graphics3D_SetAttribs
,
4496 .GetError
= (int32_t (*)(PP_Resource context
))&Pnacl_M15_PPB_Graphics3D_GetError
,
4497 .ResizeBuffers
= (int32_t (*)(PP_Resource context
, int32_t width
, int32_t height
))&Pnacl_M15_PPB_Graphics3D_ResizeBuffers
,
4498 .SwapBuffers
= (int32_t (*)(PP_Resource context
, struct PP_CompletionCallback callback
))&Pnacl_M15_PPB_Graphics3D_SwapBuffers
4501 static const struct PPB_HostResolver_1_0 Pnacl_Wrappers_PPB_HostResolver_1_0
= {
4502 .Create
= (PP_Resource (*)(PP_Instance instance
))&Pnacl_M29_PPB_HostResolver_Create
,
4503 .IsHostResolver
= (PP_Bool (*)(PP_Resource resource
))&Pnacl_M29_PPB_HostResolver_IsHostResolver
,
4504 .Resolve
= (int32_t (*)(PP_Resource host_resolver
, const char* host
, uint16_t port
, const struct PP_HostResolver_Hint
* hint
, struct PP_CompletionCallback callback
))&Pnacl_M29_PPB_HostResolver_Resolve
,
4505 .GetCanonicalName
= (struct PP_Var (*)(PP_Resource host_resolver
))&Pnacl_M29_PPB_HostResolver_GetCanonicalName
,
4506 .GetNetAddressCount
= (uint32_t (*)(PP_Resource host_resolver
))&Pnacl_M29_PPB_HostResolver_GetNetAddressCount
,
4507 .GetNetAddress
= (PP_Resource (*)(PP_Resource host_resolver
, uint32_t index
))&Pnacl_M29_PPB_HostResolver_GetNetAddress
4510 /* Not generating wrapper interface for PPB_ImageData_1_0 */
4512 /* Not generating wrapper interface for PPB_InputEvent_1_0 */
4514 static const struct PPB_MouseInputEvent_1_0 Pnacl_Wrappers_PPB_MouseInputEvent_1_0
= {
4515 .Create
= (PP_Resource (*)(PP_Instance instance
, PP_InputEvent_Type type
, PP_TimeTicks time_stamp
, uint32_t modifiers
, PP_InputEvent_MouseButton mouse_button
, const struct PP_Point
* mouse_position
, int32_t click_count
))&Pnacl_M13_PPB_MouseInputEvent_Create
,
4516 .IsMouseInputEvent
= (PP_Bool (*)(PP_Resource resource
))&Pnacl_M13_PPB_MouseInputEvent_IsMouseInputEvent
,
4517 .GetButton
= (PP_InputEvent_MouseButton (*)(PP_Resource mouse_event
))&Pnacl_M13_PPB_MouseInputEvent_GetButton
,
4518 .GetPosition
= (struct PP_Point (*)(PP_Resource mouse_event
))&Pnacl_M13_PPB_MouseInputEvent_GetPosition
,
4519 .GetClickCount
= (int32_t (*)(PP_Resource mouse_event
))&Pnacl_M13_PPB_MouseInputEvent_GetClickCount
4522 static const struct PPB_MouseInputEvent_1_1 Pnacl_Wrappers_PPB_MouseInputEvent_1_1
= {
4523 .Create
= (PP_Resource (*)(PP_Instance instance
, PP_InputEvent_Type type
, PP_TimeTicks time_stamp
, uint32_t modifiers
, PP_InputEvent_MouseButton mouse_button
, const struct PP_Point
* mouse_position
, int32_t click_count
, const struct PP_Point
* mouse_movement
))&Pnacl_M14_PPB_MouseInputEvent_Create
,
4524 .IsMouseInputEvent
= (PP_Bool (*)(PP_Resource resource
))&Pnacl_M14_PPB_MouseInputEvent_IsMouseInputEvent
,
4525 .GetButton
= (PP_InputEvent_MouseButton (*)(PP_Resource mouse_event
))&Pnacl_M14_PPB_MouseInputEvent_GetButton
,
4526 .GetPosition
= (struct PP_Point (*)(PP_Resource mouse_event
))&Pnacl_M14_PPB_MouseInputEvent_GetPosition
,
4527 .GetClickCount
= (int32_t (*)(PP_Resource mouse_event
))&Pnacl_M14_PPB_MouseInputEvent_GetClickCount
,
4528 .GetMovement
= (struct PP_Point (*)(PP_Resource mouse_event
))&Pnacl_M14_PPB_MouseInputEvent_GetMovement
4531 static const struct PPB_WheelInputEvent_1_0 Pnacl_Wrappers_PPB_WheelInputEvent_1_0
= {
4532 .Create
= (PP_Resource (*)(PP_Instance instance
, PP_TimeTicks time_stamp
, uint32_t modifiers
, const struct PP_FloatPoint
* wheel_delta
, const struct PP_FloatPoint
* wheel_ticks
, PP_Bool scroll_by_page
))&Pnacl_M13_PPB_WheelInputEvent_Create
,
4533 .IsWheelInputEvent
= (PP_Bool (*)(PP_Resource resource
))&Pnacl_M13_PPB_WheelInputEvent_IsWheelInputEvent
,
4534 .GetDelta
= (struct PP_FloatPoint (*)(PP_Resource wheel_event
))&Pnacl_M13_PPB_WheelInputEvent_GetDelta
,
4535 .GetTicks
= (struct PP_FloatPoint (*)(PP_Resource wheel_event
))&Pnacl_M13_PPB_WheelInputEvent_GetTicks
,
4536 .GetScrollByPage
= (PP_Bool (*)(PP_Resource wheel_event
))&Pnacl_M13_PPB_WheelInputEvent_GetScrollByPage
4539 static const struct PPB_KeyboardInputEvent_1_0 Pnacl_Wrappers_PPB_KeyboardInputEvent_1_0
= {
4540 .Create
= (PP_Resource (*)(PP_Instance instance
, PP_InputEvent_Type type
, PP_TimeTicks time_stamp
, uint32_t modifiers
, uint32_t key_code
, struct PP_Var character_text
))&Pnacl_M13_PPB_KeyboardInputEvent_Create
,
4541 .IsKeyboardInputEvent
= (PP_Bool (*)(PP_Resource resource
))&Pnacl_M13_PPB_KeyboardInputEvent_IsKeyboardInputEvent
,
4542 .GetKeyCode
= (uint32_t (*)(PP_Resource key_event
))&Pnacl_M13_PPB_KeyboardInputEvent_GetKeyCode
,
4543 .GetCharacterText
= (struct PP_Var (*)(PP_Resource character_event
))&Pnacl_M13_PPB_KeyboardInputEvent_GetCharacterText
4546 static const struct PPB_KeyboardInputEvent_1_2 Pnacl_Wrappers_PPB_KeyboardInputEvent_1_2
= {
4547 .Create
= (PP_Resource (*)(PP_Instance instance
, PP_InputEvent_Type type
, PP_TimeTicks time_stamp
, uint32_t modifiers
, uint32_t key_code
, struct PP_Var character_text
, struct PP_Var code
))&Pnacl_M34_PPB_KeyboardInputEvent_Create
,
4548 .IsKeyboardInputEvent
= (PP_Bool (*)(PP_Resource resource
))&Pnacl_M34_PPB_KeyboardInputEvent_IsKeyboardInputEvent
,
4549 .GetKeyCode
= (uint32_t (*)(PP_Resource key_event
))&Pnacl_M34_PPB_KeyboardInputEvent_GetKeyCode
,
4550 .GetCharacterText
= (struct PP_Var (*)(PP_Resource character_event
))&Pnacl_M34_PPB_KeyboardInputEvent_GetCharacterText
,
4551 .GetCode
= (struct PP_Var (*)(PP_Resource key_event
))&Pnacl_M34_PPB_KeyboardInputEvent_GetCode
4554 static const struct PPB_TouchInputEvent_1_0 Pnacl_Wrappers_PPB_TouchInputEvent_1_0
= {
4555 .Create
= (PP_Resource (*)(PP_Instance instance
, PP_InputEvent_Type type
, PP_TimeTicks time_stamp
, uint32_t modifiers
))&Pnacl_M13_PPB_TouchInputEvent_Create
,
4556 .AddTouchPoint
= (void (*)(PP_Resource touch_event
, PP_TouchListType list
, const struct PP_TouchPoint
* point
))&Pnacl_M13_PPB_TouchInputEvent_AddTouchPoint
,
4557 .IsTouchInputEvent
= (PP_Bool (*)(PP_Resource resource
))&Pnacl_M13_PPB_TouchInputEvent_IsTouchInputEvent
,
4558 .GetTouchCount
= (uint32_t (*)(PP_Resource resource
, PP_TouchListType list
))&Pnacl_M13_PPB_TouchInputEvent_GetTouchCount
,
4559 .GetTouchByIndex
= (struct PP_TouchPoint (*)(PP_Resource resource
, PP_TouchListType list
, uint32_t index
))&Pnacl_M13_PPB_TouchInputEvent_GetTouchByIndex
,
4560 .GetTouchById
= (struct PP_TouchPoint (*)(PP_Resource resource
, PP_TouchListType list
, uint32_t touch_id
))&Pnacl_M13_PPB_TouchInputEvent_GetTouchById
4563 static const struct PPB_IMEInputEvent_1_0 Pnacl_Wrappers_PPB_IMEInputEvent_1_0
= {
4564 .Create
= (PP_Resource (*)(PP_Instance instance
, PP_InputEvent_Type type
, PP_TimeTicks time_stamp
, struct PP_Var text
, uint32_t segment_number
, const uint32_t segment_offsets
[], int32_t target_segment
, uint32_t selection_start
, uint32_t selection_end
))&Pnacl_M13_PPB_IMEInputEvent_Create
,
4565 .IsIMEInputEvent
= (PP_Bool (*)(PP_Resource resource
))&Pnacl_M13_PPB_IMEInputEvent_IsIMEInputEvent
,
4566 .GetText
= (struct PP_Var (*)(PP_Resource ime_event
))&Pnacl_M13_PPB_IMEInputEvent_GetText
,
4567 .GetSegmentNumber
= (uint32_t (*)(PP_Resource ime_event
))&Pnacl_M13_PPB_IMEInputEvent_GetSegmentNumber
,
4568 .GetSegmentOffset
= (uint32_t (*)(PP_Resource ime_event
, uint32_t index
))&Pnacl_M13_PPB_IMEInputEvent_GetSegmentOffset
,
4569 .GetTargetSegment
= (int32_t (*)(PP_Resource ime_event
))&Pnacl_M13_PPB_IMEInputEvent_GetTargetSegment
,
4570 .GetSelection
= (void (*)(PP_Resource ime_event
, uint32_t* start
, uint32_t* end
))&Pnacl_M13_PPB_IMEInputEvent_GetSelection
4573 /* Not generating wrapper interface for PPB_Instance_1_0 */
4575 static const struct PPB_MediaStreamAudioTrack_0_1 Pnacl_Wrappers_PPB_MediaStreamAudioTrack_0_1
= {
4576 .IsMediaStreamAudioTrack
= (PP_Bool (*)(PP_Resource resource
))&Pnacl_M35_PPB_MediaStreamAudioTrack_IsMediaStreamAudioTrack
,
4577 .Configure
= (int32_t (*)(PP_Resource audio_track
, const int32_t attrib_list
[], struct PP_CompletionCallback callback
))&Pnacl_M35_PPB_MediaStreamAudioTrack_Configure
,
4578 .GetAttrib
= (int32_t (*)(PP_Resource audio_track
, PP_MediaStreamAudioTrack_Attrib attrib
, int32_t* value
))&Pnacl_M35_PPB_MediaStreamAudioTrack_GetAttrib
,
4579 .GetId
= (struct PP_Var (*)(PP_Resource audio_track
))&Pnacl_M35_PPB_MediaStreamAudioTrack_GetId
,
4580 .HasEnded
= (PP_Bool (*)(PP_Resource audio_track
))&Pnacl_M35_PPB_MediaStreamAudioTrack_HasEnded
,
4581 .GetBuffer
= (int32_t (*)(PP_Resource audio_track
, PP_Resource
* buffer
, struct PP_CompletionCallback callback
))&Pnacl_M35_PPB_MediaStreamAudioTrack_GetBuffer
,
4582 .RecycleBuffer
= (int32_t (*)(PP_Resource audio_track
, PP_Resource buffer
))&Pnacl_M35_PPB_MediaStreamAudioTrack_RecycleBuffer
,
4583 .Close
= (void (*)(PP_Resource audio_track
))&Pnacl_M35_PPB_MediaStreamAudioTrack_Close
4586 static const struct PPB_MediaStreamVideoTrack_0_1 Pnacl_Wrappers_PPB_MediaStreamVideoTrack_0_1
= {
4587 .IsMediaStreamVideoTrack
= (PP_Bool (*)(PP_Resource resource
))&Pnacl_M35_PPB_MediaStreamVideoTrack_IsMediaStreamVideoTrack
,
4588 .Configure
= (int32_t (*)(PP_Resource video_track
, const int32_t attrib_list
[], struct PP_CompletionCallback callback
))&Pnacl_M35_PPB_MediaStreamVideoTrack_Configure
,
4589 .GetAttrib
= (int32_t (*)(PP_Resource video_track
, PP_MediaStreamVideoTrack_Attrib attrib
, int32_t* value
))&Pnacl_M35_PPB_MediaStreamVideoTrack_GetAttrib
,
4590 .GetId
= (struct PP_Var (*)(PP_Resource video_track
))&Pnacl_M35_PPB_MediaStreamVideoTrack_GetId
,
4591 .HasEnded
= (PP_Bool (*)(PP_Resource video_track
))&Pnacl_M35_PPB_MediaStreamVideoTrack_HasEnded
,
4592 .GetFrame
= (int32_t (*)(PP_Resource video_track
, PP_Resource
* frame
, struct PP_CompletionCallback callback
))&Pnacl_M35_PPB_MediaStreamVideoTrack_GetFrame
,
4593 .RecycleFrame
= (int32_t (*)(PP_Resource video_track
, PP_Resource frame
))&Pnacl_M35_PPB_MediaStreamVideoTrack_RecycleFrame
,
4594 .Close
= (void (*)(PP_Resource video_track
))&Pnacl_M35_PPB_MediaStreamVideoTrack_Close
4597 static const struct PPB_MediaStreamVideoTrack_1_0 Pnacl_Wrappers_PPB_MediaStreamVideoTrack_1_0
= {
4598 .Create
= (PP_Resource (*)(PP_Instance instance
))&Pnacl_M36_PPB_MediaStreamVideoTrack_Create
,
4599 .IsMediaStreamVideoTrack
= (PP_Bool (*)(PP_Resource resource
))&Pnacl_M36_PPB_MediaStreamVideoTrack_IsMediaStreamVideoTrack
,
4600 .Configure
= (int32_t (*)(PP_Resource video_track
, const int32_t attrib_list
[], struct PP_CompletionCallback callback
))&Pnacl_M36_PPB_MediaStreamVideoTrack_Configure
,
4601 .GetAttrib
= (int32_t (*)(PP_Resource video_track
, PP_MediaStreamVideoTrack_Attrib attrib
, int32_t* value
))&Pnacl_M36_PPB_MediaStreamVideoTrack_GetAttrib
,
4602 .GetId
= (struct PP_Var (*)(PP_Resource video_track
))&Pnacl_M36_PPB_MediaStreamVideoTrack_GetId
,
4603 .HasEnded
= (PP_Bool (*)(PP_Resource video_track
))&Pnacl_M36_PPB_MediaStreamVideoTrack_HasEnded
,
4604 .GetFrame
= (int32_t (*)(PP_Resource video_track
, PP_Resource
* frame
, struct PP_CompletionCallback callback
))&Pnacl_M36_PPB_MediaStreamVideoTrack_GetFrame
,
4605 .RecycleFrame
= (int32_t (*)(PP_Resource video_track
, PP_Resource frame
))&Pnacl_M36_PPB_MediaStreamVideoTrack_RecycleFrame
,
4606 .Close
= (void (*)(PP_Resource video_track
))&Pnacl_M36_PPB_MediaStreamVideoTrack_Close
,
4607 .GetEmptyFrame
= (int32_t (*)(PP_Resource video_track
, PP_Resource
* frame
, struct PP_CompletionCallback callback
))&Pnacl_M36_PPB_MediaStreamVideoTrack_GetEmptyFrame
,
4608 .PutFrame
= (int32_t (*)(PP_Resource video_track
, PP_Resource frame
))&Pnacl_M36_PPB_MediaStreamVideoTrack_PutFrame
4611 static const struct PPB_MessageLoop_1_0 Pnacl_Wrappers_PPB_MessageLoop_1_0
= {
4612 .Create
= (PP_Resource (*)(PP_Instance instance
))&Pnacl_M25_PPB_MessageLoop_Create
,
4613 .GetForMainThread
= (PP_Resource (*)(void))&Pnacl_M25_PPB_MessageLoop_GetForMainThread
,
4614 .GetCurrent
= (PP_Resource (*)(void))&Pnacl_M25_PPB_MessageLoop_GetCurrent
,
4615 .AttachToCurrentThread
= (int32_t (*)(PP_Resource message_loop
))&Pnacl_M25_PPB_MessageLoop_AttachToCurrentThread
,
4616 .Run
= (int32_t (*)(PP_Resource message_loop
))&Pnacl_M25_PPB_MessageLoop_Run
,
4617 .PostWork
= (int32_t (*)(PP_Resource message_loop
, struct PP_CompletionCallback callback
, int64_t delay_ms
))&Pnacl_M25_PPB_MessageLoop_PostWork
,
4618 .PostQuit
= (int32_t (*)(PP_Resource message_loop
, PP_Bool should_destroy
))&Pnacl_M25_PPB_MessageLoop_PostQuit
4621 static const struct PPB_Messaging_1_0 Pnacl_Wrappers_PPB_Messaging_1_0
= {
4622 .PostMessage
= (void (*)(PP_Instance instance
, struct PP_Var message
))&Pnacl_M14_PPB_Messaging_PostMessage
4625 static const struct PPB_Messaging_1_1 Pnacl_Wrappers_PPB_Messaging_1_1
= {
4626 .PostMessage
= (void (*)(PP_Instance instance
, struct PP_Var message
))&Pnacl_M37_PPB_Messaging_PostMessage
,
4627 .RegisterMessageHandler
= (int32_t (*)(PP_Instance instance
, void* user_data
, const struct PPP_MessageHandler_0_1
* handler
, PP_Resource message_loop
))&Pnacl_M37_PPB_Messaging_RegisterMessageHandler
,
4628 .UnregisterMessageHandler
= (void (*)(PP_Instance instance
))&Pnacl_M37_PPB_Messaging_UnregisterMessageHandler
4631 /* Not generating wrapper interface for PPB_MouseCursor_1_0 */
4633 static const struct PPB_MouseLock_1_0 Pnacl_Wrappers_PPB_MouseLock_1_0
= {
4634 .LockMouse
= (int32_t (*)(PP_Instance instance
, struct PP_CompletionCallback callback
))&Pnacl_M16_PPB_MouseLock_LockMouse
,
4635 .UnlockMouse
= (void (*)(PP_Instance instance
))&Pnacl_M16_PPB_MouseLock_UnlockMouse
4638 static const struct PPB_NetAddress_1_0 Pnacl_Wrappers_PPB_NetAddress_1_0
= {
4639 .CreateFromIPv4Address
= (PP_Resource (*)(PP_Instance instance
, const struct PP_NetAddress_IPv4
* ipv4_addr
))&Pnacl_M29_PPB_NetAddress_CreateFromIPv4Address
,
4640 .CreateFromIPv6Address
= (PP_Resource (*)(PP_Instance instance
, const struct PP_NetAddress_IPv6
* ipv6_addr
))&Pnacl_M29_PPB_NetAddress_CreateFromIPv6Address
,
4641 .IsNetAddress
= (PP_Bool (*)(PP_Resource resource
))&Pnacl_M29_PPB_NetAddress_IsNetAddress
,
4642 .GetFamily
= (PP_NetAddress_Family (*)(PP_Resource addr
))&Pnacl_M29_PPB_NetAddress_GetFamily
,
4643 .DescribeAsString
= (struct PP_Var (*)(PP_Resource addr
, PP_Bool include_port
))&Pnacl_M29_PPB_NetAddress_DescribeAsString
,
4644 .DescribeAsIPv4Address
= (PP_Bool (*)(PP_Resource addr
, struct PP_NetAddress_IPv4
* ipv4_addr
))&Pnacl_M29_PPB_NetAddress_DescribeAsIPv4Address
,
4645 .DescribeAsIPv6Address
= (PP_Bool (*)(PP_Resource addr
, struct PP_NetAddress_IPv6
* ipv6_addr
))&Pnacl_M29_PPB_NetAddress_DescribeAsIPv6Address
4648 static const struct PPB_NetworkList_1_0 Pnacl_Wrappers_PPB_NetworkList_1_0
= {
4649 .IsNetworkList
= (PP_Bool (*)(PP_Resource resource
))&Pnacl_M31_PPB_NetworkList_IsNetworkList
,
4650 .GetCount
= (uint32_t (*)(PP_Resource resource
))&Pnacl_M31_PPB_NetworkList_GetCount
,
4651 .GetName
= (struct PP_Var (*)(PP_Resource resource
, uint32_t index
))&Pnacl_M31_PPB_NetworkList_GetName
,
4652 .GetType
= (PP_NetworkList_Type (*)(PP_Resource resource
, uint32_t index
))&Pnacl_M31_PPB_NetworkList_GetType
,
4653 .GetState
= (PP_NetworkList_State (*)(PP_Resource resource
, uint32_t index
))&Pnacl_M31_PPB_NetworkList_GetState
,
4654 .GetIpAddresses
= (int32_t (*)(PP_Resource resource
, uint32_t index
, struct PP_ArrayOutput output
))&Pnacl_M31_PPB_NetworkList_GetIpAddresses
,
4655 .GetDisplayName
= (struct PP_Var (*)(PP_Resource resource
, uint32_t index
))&Pnacl_M31_PPB_NetworkList_GetDisplayName
,
4656 .GetMTU
= (uint32_t (*)(PP_Resource resource
, uint32_t index
))&Pnacl_M31_PPB_NetworkList_GetMTU
4659 static const struct PPB_NetworkMonitor_1_0 Pnacl_Wrappers_PPB_NetworkMonitor_1_0
= {
4660 .Create
= (PP_Resource (*)(PP_Instance instance
))&Pnacl_M31_PPB_NetworkMonitor_Create
,
4661 .UpdateNetworkList
= (int32_t (*)(PP_Resource network_monitor
, PP_Resource
* network_list
, struct PP_CompletionCallback callback
))&Pnacl_M31_PPB_NetworkMonitor_UpdateNetworkList
,
4662 .IsNetworkMonitor
= (PP_Bool (*)(PP_Resource resource
))&Pnacl_M31_PPB_NetworkMonitor_IsNetworkMonitor
4665 static const struct PPB_NetworkProxy_1_0 Pnacl_Wrappers_PPB_NetworkProxy_1_0
= {
4666 .GetProxyForURL
= (int32_t (*)(PP_Instance instance
, struct PP_Var url
, struct PP_Var
* proxy_string
, struct PP_CompletionCallback callback
))&Pnacl_M29_PPB_NetworkProxy_GetProxyForURL
4669 static const struct PPB_TCPSocket_1_0 Pnacl_Wrappers_PPB_TCPSocket_1_0
= {
4670 .Create
= (PP_Resource (*)(PP_Instance instance
))&Pnacl_M29_PPB_TCPSocket_Create
,
4671 .IsTCPSocket
= (PP_Bool (*)(PP_Resource resource
))&Pnacl_M29_PPB_TCPSocket_IsTCPSocket
,
4672 .Connect
= (int32_t (*)(PP_Resource tcp_socket
, PP_Resource addr
, struct PP_CompletionCallback callback
))&Pnacl_M29_PPB_TCPSocket_Connect
,
4673 .GetLocalAddress
= (PP_Resource (*)(PP_Resource tcp_socket
))&Pnacl_M29_PPB_TCPSocket_GetLocalAddress
,
4674 .GetRemoteAddress
= (PP_Resource (*)(PP_Resource tcp_socket
))&Pnacl_M29_PPB_TCPSocket_GetRemoteAddress
,
4675 .Read
= (int32_t (*)(PP_Resource tcp_socket
, char* buffer
, int32_t bytes_to_read
, struct PP_CompletionCallback callback
))&Pnacl_M29_PPB_TCPSocket_Read
,
4676 .Write
= (int32_t (*)(PP_Resource tcp_socket
, const char* buffer
, int32_t bytes_to_write
, struct PP_CompletionCallback callback
))&Pnacl_M29_PPB_TCPSocket_Write
,
4677 .Close
= (void (*)(PP_Resource tcp_socket
))&Pnacl_M29_PPB_TCPSocket_Close
,
4678 .SetOption
= (int32_t (*)(PP_Resource tcp_socket
, PP_TCPSocket_Option name
, struct PP_Var value
, struct PP_CompletionCallback callback
))&Pnacl_M29_PPB_TCPSocket_SetOption
4681 static const struct PPB_TCPSocket_1_1 Pnacl_Wrappers_PPB_TCPSocket_1_1
= {
4682 .Create
= (PP_Resource (*)(PP_Instance instance
))&Pnacl_M31_PPB_TCPSocket_Create
,
4683 .IsTCPSocket
= (PP_Bool (*)(PP_Resource resource
))&Pnacl_M31_PPB_TCPSocket_IsTCPSocket
,
4684 .Bind
= (int32_t (*)(PP_Resource tcp_socket
, PP_Resource addr
, struct PP_CompletionCallback callback
))&Pnacl_M31_PPB_TCPSocket_Bind
,
4685 .Connect
= (int32_t (*)(PP_Resource tcp_socket
, PP_Resource addr
, struct PP_CompletionCallback callback
))&Pnacl_M31_PPB_TCPSocket_Connect
,
4686 .GetLocalAddress
= (PP_Resource (*)(PP_Resource tcp_socket
))&Pnacl_M31_PPB_TCPSocket_GetLocalAddress
,
4687 .GetRemoteAddress
= (PP_Resource (*)(PP_Resource tcp_socket
))&Pnacl_M31_PPB_TCPSocket_GetRemoteAddress
,
4688 .Read
= (int32_t (*)(PP_Resource tcp_socket
, char* buffer
, int32_t bytes_to_read
, struct PP_CompletionCallback callback
))&Pnacl_M31_PPB_TCPSocket_Read
,
4689 .Write
= (int32_t (*)(PP_Resource tcp_socket
, const char* buffer
, int32_t bytes_to_write
, struct PP_CompletionCallback callback
))&Pnacl_M31_PPB_TCPSocket_Write
,
4690 .Listen
= (int32_t (*)(PP_Resource tcp_socket
, int32_t backlog
, struct PP_CompletionCallback callback
))&Pnacl_M31_PPB_TCPSocket_Listen
,
4691 .Accept
= (int32_t (*)(PP_Resource tcp_socket
, PP_Resource
* accepted_tcp_socket
, struct PP_CompletionCallback callback
))&Pnacl_M31_PPB_TCPSocket_Accept
,
4692 .Close
= (void (*)(PP_Resource tcp_socket
))&Pnacl_M31_PPB_TCPSocket_Close
,
4693 .SetOption
= (int32_t (*)(PP_Resource tcp_socket
, PP_TCPSocket_Option name
, struct PP_Var value
, struct PP_CompletionCallback callback
))&Pnacl_M31_PPB_TCPSocket_SetOption
4696 static const struct PPB_TextInputController_1_0 Pnacl_Wrappers_PPB_TextInputController_1_0
= {
4697 .SetTextInputType
= (void (*)(PP_Instance instance
, PP_TextInput_Type type
))&Pnacl_M30_PPB_TextInputController_SetTextInputType
,
4698 .UpdateCaretPosition
= (void (*)(PP_Instance instance
, const struct PP_Rect
* caret
))&Pnacl_M30_PPB_TextInputController_UpdateCaretPosition
,
4699 .CancelCompositionText
= (void (*)(PP_Instance instance
))&Pnacl_M30_PPB_TextInputController_CancelCompositionText
,
4700 .UpdateSurroundingText
= (void (*)(PP_Instance instance
, struct PP_Var text
, uint32_t caret
, uint32_t anchor
))&Pnacl_M30_PPB_TextInputController_UpdateSurroundingText
4703 static const struct PPB_UDPSocket_1_0 Pnacl_Wrappers_PPB_UDPSocket_1_0
= {
4704 .Create
= (PP_Resource (*)(PP_Instance instance
))&Pnacl_M29_PPB_UDPSocket_Create
,
4705 .IsUDPSocket
= (PP_Bool (*)(PP_Resource resource
))&Pnacl_M29_PPB_UDPSocket_IsUDPSocket
,
4706 .Bind
= (int32_t (*)(PP_Resource udp_socket
, PP_Resource addr
, struct PP_CompletionCallback callback
))&Pnacl_M29_PPB_UDPSocket_Bind
,
4707 .GetBoundAddress
= (PP_Resource (*)(PP_Resource udp_socket
))&Pnacl_M29_PPB_UDPSocket_GetBoundAddress
,
4708 .RecvFrom
= (int32_t (*)(PP_Resource udp_socket
, char* buffer
, int32_t num_bytes
, PP_Resource
* addr
, struct PP_CompletionCallback callback
))&Pnacl_M29_PPB_UDPSocket_RecvFrom
,
4709 .SendTo
= (int32_t (*)(PP_Resource udp_socket
, const char* buffer
, int32_t num_bytes
, PP_Resource addr
, struct PP_CompletionCallback callback
))&Pnacl_M29_PPB_UDPSocket_SendTo
,
4710 .Close
= (void (*)(PP_Resource udp_socket
))&Pnacl_M29_PPB_UDPSocket_Close
,
4711 .SetOption
= (int32_t (*)(PP_Resource udp_socket
, PP_UDPSocket_Option name
, struct PP_Var value
, struct PP_CompletionCallback callback
))&Pnacl_M29_PPB_UDPSocket_SetOption
4714 static const struct PPB_URLLoader_1_0 Pnacl_Wrappers_PPB_URLLoader_1_0
= {
4715 .Create
= (PP_Resource (*)(PP_Instance instance
))&Pnacl_M14_PPB_URLLoader_Create
,
4716 .IsURLLoader
= (PP_Bool (*)(PP_Resource resource
))&Pnacl_M14_PPB_URLLoader_IsURLLoader
,
4717 .Open
= (int32_t (*)(PP_Resource loader
, PP_Resource request_info
, struct PP_CompletionCallback callback
))&Pnacl_M14_PPB_URLLoader_Open
,
4718 .FollowRedirect
= (int32_t (*)(PP_Resource loader
, struct PP_CompletionCallback callback
))&Pnacl_M14_PPB_URLLoader_FollowRedirect
,
4719 .GetUploadProgress
= (PP_Bool (*)(PP_Resource loader
, int64_t* bytes_sent
, int64_t* total_bytes_to_be_sent
))&Pnacl_M14_PPB_URLLoader_GetUploadProgress
,
4720 .GetDownloadProgress
= (PP_Bool (*)(PP_Resource loader
, int64_t* bytes_received
, int64_t* total_bytes_to_be_received
))&Pnacl_M14_PPB_URLLoader_GetDownloadProgress
,
4721 .GetResponseInfo
= (PP_Resource (*)(PP_Resource loader
))&Pnacl_M14_PPB_URLLoader_GetResponseInfo
,
4722 .ReadResponseBody
= (int32_t (*)(PP_Resource loader
, void* buffer
, int32_t bytes_to_read
, struct PP_CompletionCallback callback
))&Pnacl_M14_PPB_URLLoader_ReadResponseBody
,
4723 .FinishStreamingToFile
= (int32_t (*)(PP_Resource loader
, struct PP_CompletionCallback callback
))&Pnacl_M14_PPB_URLLoader_FinishStreamingToFile
,
4724 .Close
= (void (*)(PP_Resource loader
))&Pnacl_M14_PPB_URLLoader_Close
4727 static const struct PPB_URLRequestInfo_1_0 Pnacl_Wrappers_PPB_URLRequestInfo_1_0
= {
4728 .Create
= (PP_Resource (*)(PP_Instance instance
))&Pnacl_M14_PPB_URLRequestInfo_Create
,
4729 .IsURLRequestInfo
= (PP_Bool (*)(PP_Resource resource
))&Pnacl_M14_PPB_URLRequestInfo_IsURLRequestInfo
,
4730 .SetProperty
= (PP_Bool (*)(PP_Resource request
, PP_URLRequestProperty property
, struct PP_Var value
))&Pnacl_M14_PPB_URLRequestInfo_SetProperty
,
4731 .AppendDataToBody
= (PP_Bool (*)(PP_Resource request
, const void* data
, uint32_t len
))&Pnacl_M14_PPB_URLRequestInfo_AppendDataToBody
,
4732 .AppendFileToBody
= (PP_Bool (*)(PP_Resource request
, PP_Resource file_ref
, int64_t start_offset
, int64_t number_of_bytes
, PP_Time expected_last_modified_time
))&Pnacl_M14_PPB_URLRequestInfo_AppendFileToBody
4735 static const struct PPB_URLResponseInfo_1_0 Pnacl_Wrappers_PPB_URLResponseInfo_1_0
= {
4736 .IsURLResponseInfo
= (PP_Bool (*)(PP_Resource resource
))&Pnacl_M14_PPB_URLResponseInfo_IsURLResponseInfo
,
4737 .GetProperty
= (struct PP_Var (*)(PP_Resource response
, PP_URLResponseProperty property
))&Pnacl_M14_PPB_URLResponseInfo_GetProperty
,
4738 .GetBodyAsFileRef
= (PP_Resource (*)(PP_Resource response
))&Pnacl_M14_PPB_URLResponseInfo_GetBodyAsFileRef
4741 static const struct PPB_Var_1_0 Pnacl_Wrappers_PPB_Var_1_0
= {
4742 .AddRef
= (void (*)(struct PP_Var var
))&Pnacl_M14_PPB_Var_AddRef
,
4743 .Release
= (void (*)(struct PP_Var var
))&Pnacl_M14_PPB_Var_Release
,
4744 .VarFromUtf8
= (struct PP_Var (*)(PP_Module module
, const char* data
, uint32_t len
))&Pnacl_M14_PPB_Var_VarFromUtf8
,
4745 .VarToUtf8
= (const char* (*)(struct PP_Var var
, uint32_t* len
))&Pnacl_M14_PPB_Var_VarToUtf8
4748 static const struct PPB_Var_1_1 Pnacl_Wrappers_PPB_Var_1_1
= {
4749 .AddRef
= (void (*)(struct PP_Var var
))&Pnacl_M18_PPB_Var_AddRef
,
4750 .Release
= (void (*)(struct PP_Var var
))&Pnacl_M18_PPB_Var_Release
,
4751 .VarFromUtf8
= (struct PP_Var (*)(const char* data
, uint32_t len
))&Pnacl_M18_PPB_Var_VarFromUtf8
,
4752 .VarToUtf8
= (const char* (*)(struct PP_Var var
, uint32_t* len
))&Pnacl_M18_PPB_Var_VarToUtf8
4755 static const struct PPB_Var_1_2 Pnacl_Wrappers_PPB_Var_1_2
= {
4756 .AddRef
= (void (*)(struct PP_Var var
))&Pnacl_M34_PPB_Var_AddRef
,
4757 .Release
= (void (*)(struct PP_Var var
))&Pnacl_M34_PPB_Var_Release
,
4758 .VarFromUtf8
= (struct PP_Var (*)(const char* data
, uint32_t len
))&Pnacl_M34_PPB_Var_VarFromUtf8
,
4759 .VarToUtf8
= (const char* (*)(struct PP_Var var
, uint32_t* len
))&Pnacl_M34_PPB_Var_VarToUtf8
,
4760 .VarToResource
= (PP_Resource (*)(struct PP_Var var
))&Pnacl_M34_PPB_Var_VarToResource
,
4761 .VarFromResource
= (struct PP_Var (*)(PP_Resource resource
))&Pnacl_M34_PPB_Var_VarFromResource
4764 static const struct PPB_VarArray_1_0 Pnacl_Wrappers_PPB_VarArray_1_0
= {
4765 .Create
= (struct PP_Var (*)(void))&Pnacl_M29_PPB_VarArray_Create
,
4766 .Get
= (struct PP_Var (*)(struct PP_Var array
, uint32_t index
))&Pnacl_M29_PPB_VarArray_Get
,
4767 .Set
= (PP_Bool (*)(struct PP_Var array
, uint32_t index
, struct PP_Var value
))&Pnacl_M29_PPB_VarArray_Set
,
4768 .GetLength
= (uint32_t (*)(struct PP_Var array
))&Pnacl_M29_PPB_VarArray_GetLength
,
4769 .SetLength
= (PP_Bool (*)(struct PP_Var array
, uint32_t length
))&Pnacl_M29_PPB_VarArray_SetLength
4772 static const struct PPB_VarArrayBuffer_1_0 Pnacl_Wrappers_PPB_VarArrayBuffer_1_0
= {
4773 .Create
= (struct PP_Var (*)(uint32_t size_in_bytes
))&Pnacl_M18_PPB_VarArrayBuffer_Create
,
4774 .ByteLength
= (PP_Bool (*)(struct PP_Var array
, uint32_t* byte_length
))&Pnacl_M18_PPB_VarArrayBuffer_ByteLength
,
4775 .Map
= (void* (*)(struct PP_Var array
))&Pnacl_M18_PPB_VarArrayBuffer_Map
,
4776 .Unmap
= (void (*)(struct PP_Var array
))&Pnacl_M18_PPB_VarArrayBuffer_Unmap
4779 static const struct PPB_VarDictionary_1_0 Pnacl_Wrappers_PPB_VarDictionary_1_0
= {
4780 .Create
= (struct PP_Var (*)(void))&Pnacl_M29_PPB_VarDictionary_Create
,
4781 .Get
= (struct PP_Var (*)(struct PP_Var dict
, struct PP_Var key
))&Pnacl_M29_PPB_VarDictionary_Get
,
4782 .Set
= (PP_Bool (*)(struct PP_Var dict
, struct PP_Var key
, struct PP_Var value
))&Pnacl_M29_PPB_VarDictionary_Set
,
4783 .Delete
= (void (*)(struct PP_Var dict
, struct PP_Var key
))&Pnacl_M29_PPB_VarDictionary_Delete
,
4784 .HasKey
= (PP_Bool (*)(struct PP_Var dict
, struct PP_Var key
))&Pnacl_M29_PPB_VarDictionary_HasKey
,
4785 .GetKeys
= (struct PP_Var (*)(struct PP_Var dict
))&Pnacl_M29_PPB_VarDictionary_GetKeys
4788 static const struct PPB_VideoDecoder_0_1 Pnacl_Wrappers_PPB_VideoDecoder_0_1
= {
4789 .Create
= (PP_Resource (*)(PP_Instance instance
))&Pnacl_M36_PPB_VideoDecoder_Create
,
4790 .IsVideoDecoder
= (PP_Bool (*)(PP_Resource resource
))&Pnacl_M36_PPB_VideoDecoder_IsVideoDecoder
,
4791 .Initialize
= (int32_t (*)(PP_Resource video_decoder
, PP_Resource graphics3d_context
, PP_VideoProfile profile
, PP_Bool allow_software_fallback
, struct PP_CompletionCallback callback
))&Pnacl_M36_PPB_VideoDecoder_Initialize
,
4792 .Decode
= (int32_t (*)(PP_Resource video_decoder
, uint32_t decode_id
, uint32_t size
, const void* buffer
, struct PP_CompletionCallback callback
))&Pnacl_M36_PPB_VideoDecoder_Decode
,
4793 .GetPicture
= (int32_t (*)(PP_Resource video_decoder
, struct PP_VideoPicture
* picture
, struct PP_CompletionCallback callback
))&Pnacl_M36_PPB_VideoDecoder_GetPicture
,
4794 .RecyclePicture
= (void (*)(PP_Resource video_decoder
, const struct PP_VideoPicture
* picture
))&Pnacl_M36_PPB_VideoDecoder_RecyclePicture
,
4795 .Flush
= (int32_t (*)(PP_Resource video_decoder
, struct PP_CompletionCallback callback
))&Pnacl_M36_PPB_VideoDecoder_Flush
,
4796 .Reset
= (int32_t (*)(PP_Resource video_decoder
, struct PP_CompletionCallback callback
))&Pnacl_M36_PPB_VideoDecoder_Reset
4799 /* Not generating wrapper interface for PPB_VideoFrame_0_1 */
4801 /* Not generating wrapper interface for PPB_View_1_0 */
4803 /* Not generating wrapper interface for PPB_View_1_1 */
4805 /* Not generating wrapper interface for PPB_View_1_2 */
4807 static const struct PPB_WebSocket_1_0 Pnacl_Wrappers_PPB_WebSocket_1_0
= {
4808 .Create
= (PP_Resource (*)(PP_Instance instance
))&Pnacl_M18_PPB_WebSocket_Create
,
4809 .IsWebSocket
= (PP_Bool (*)(PP_Resource resource
))&Pnacl_M18_PPB_WebSocket_IsWebSocket
,
4810 .Connect
= (int32_t (*)(PP_Resource web_socket
, struct PP_Var url
, const struct PP_Var protocols
[], uint32_t protocol_count
, struct PP_CompletionCallback callback
))&Pnacl_M18_PPB_WebSocket_Connect
,
4811 .Close
= (int32_t (*)(PP_Resource web_socket
, uint16_t code
, struct PP_Var reason
, struct PP_CompletionCallback callback
))&Pnacl_M18_PPB_WebSocket_Close
,
4812 .ReceiveMessage
= (int32_t (*)(PP_Resource web_socket
, struct PP_Var
* message
, struct PP_CompletionCallback callback
))&Pnacl_M18_PPB_WebSocket_ReceiveMessage
,
4813 .SendMessage
= (int32_t (*)(PP_Resource web_socket
, struct PP_Var message
))&Pnacl_M18_PPB_WebSocket_SendMessage
,
4814 .GetBufferedAmount
= (uint64_t (*)(PP_Resource web_socket
))&Pnacl_M18_PPB_WebSocket_GetBufferedAmount
,
4815 .GetCloseCode
= (uint16_t (*)(PP_Resource web_socket
))&Pnacl_M18_PPB_WebSocket_GetCloseCode
,
4816 .GetCloseReason
= (struct PP_Var (*)(PP_Resource web_socket
))&Pnacl_M18_PPB_WebSocket_GetCloseReason
,
4817 .GetCloseWasClean
= (PP_Bool (*)(PP_Resource web_socket
))&Pnacl_M18_PPB_WebSocket_GetCloseWasClean
,
4818 .GetExtensions
= (struct PP_Var (*)(PP_Resource web_socket
))&Pnacl_M18_PPB_WebSocket_GetExtensions
,
4819 .GetProtocol
= (struct PP_Var (*)(PP_Resource web_socket
))&Pnacl_M18_PPB_WebSocket_GetProtocol
,
4820 .GetReadyState
= (PP_WebSocketReadyState (*)(PP_Resource web_socket
))&Pnacl_M18_PPB_WebSocket_GetReadyState
,
4821 .GetURL
= (struct PP_Var (*)(PP_Resource web_socket
))&Pnacl_M18_PPB_WebSocket_GetURL
4824 /* Not generating wrapper interface for PPP_Graphics3D_1_0 */
4826 /* Not generating wrapper interface for PPP_InputEvent_0_1 */
4828 /* Not generating wrapper interface for PPP_Instance_1_0 */
4830 /* Not generating wrapper interface for PPP_Instance_1_1 */
4832 /* Not generating wrapper interface for PPP_MessageHandler_0_1 */
4834 static const struct PPP_Messaging_1_0 Pnacl_Wrappers_PPP_Messaging_1_0
= {
4835 .HandleMessage
= &Pnacl_M14_PPP_Messaging_HandleMessage
4838 /* Not generating wrapper interface for PPP_MouseLock_1_0 */
4840 /* Not generating wrapper interface for PPB_BrokerTrusted_0_2 */
4842 /* Not generating wrapper interface for PPB_BrokerTrusted_0_3 */
4844 /* Not generating wrapper interface for PPB_BrowserFont_Trusted_1_0 */
4846 /* Not generating wrapper interface for PPB_CharSet_Trusted_1_0 */
4848 /* Not generating wrapper interface for PPB_FileChooserTrusted_0_5 */
4850 /* Not generating wrapper interface for PPB_FileChooserTrusted_0_6 */
4852 /* Not generating wrapper interface for PPB_URLLoaderTrusted_0_3 */
4854 static const struct PPB_AudioInput_Dev_0_3 Pnacl_Wrappers_PPB_AudioInput_Dev_0_3
= {
4855 .Create
= (PP_Resource (*)(PP_Instance instance
))&Pnacl_M25_PPB_AudioInput_Dev_Create
,
4856 .IsAudioInput
= (PP_Bool (*)(PP_Resource resource
))&Pnacl_M25_PPB_AudioInput_Dev_IsAudioInput
,
4857 .EnumerateDevices
= (int32_t (*)(PP_Resource audio_input
, struct PP_ArrayOutput output
, struct PP_CompletionCallback callback
))&Pnacl_M25_PPB_AudioInput_Dev_EnumerateDevices
,
4858 .MonitorDeviceChange
= (int32_t (*)(PP_Resource audio_input
, PP_MonitorDeviceChangeCallback callback
, void* user_data
))&Pnacl_M25_PPB_AudioInput_Dev_MonitorDeviceChange
,
4859 .Open
= (int32_t (*)(PP_Resource audio_input
, PP_Resource device_ref
, PP_Resource config
, PPB_AudioInput_Callback_0_3 audio_input_callback
, void* user_data
, struct PP_CompletionCallback callback
))&Pnacl_M25_PPB_AudioInput_Dev_Open
,
4860 .GetCurrentConfig
= (PP_Resource (*)(PP_Resource audio_input
))&Pnacl_M25_PPB_AudioInput_Dev_GetCurrentConfig
,
4861 .StartCapture
= (PP_Bool (*)(PP_Resource audio_input
))&Pnacl_M25_PPB_AudioInput_Dev_StartCapture
,
4862 .StopCapture
= (PP_Bool (*)(PP_Resource audio_input
))&Pnacl_M25_PPB_AudioInput_Dev_StopCapture
,
4863 .Close
= (void (*)(PP_Resource audio_input
))&Pnacl_M25_PPB_AudioInput_Dev_Close
4866 static const struct PPB_AudioInput_Dev_0_4 Pnacl_Wrappers_PPB_AudioInput_Dev_0_4
= {
4867 .Create
= (PP_Resource (*)(PP_Instance instance
))&Pnacl_M30_PPB_AudioInput_Dev_Create
,
4868 .IsAudioInput
= (PP_Bool (*)(PP_Resource resource
))&Pnacl_M30_PPB_AudioInput_Dev_IsAudioInput
,
4869 .EnumerateDevices
= (int32_t (*)(PP_Resource audio_input
, struct PP_ArrayOutput output
, struct PP_CompletionCallback callback
))&Pnacl_M30_PPB_AudioInput_Dev_EnumerateDevices
,
4870 .MonitorDeviceChange
= (int32_t (*)(PP_Resource audio_input
, PP_MonitorDeviceChangeCallback callback
, void* user_data
))&Pnacl_M30_PPB_AudioInput_Dev_MonitorDeviceChange
,
4871 .Open
= (int32_t (*)(PP_Resource audio_input
, PP_Resource device_ref
, PP_Resource config
, PPB_AudioInput_Callback audio_input_callback
, void* user_data
, struct PP_CompletionCallback callback
))&Pnacl_M30_PPB_AudioInput_Dev_Open
,
4872 .GetCurrentConfig
= (PP_Resource (*)(PP_Resource audio_input
))&Pnacl_M30_PPB_AudioInput_Dev_GetCurrentConfig
,
4873 .StartCapture
= (PP_Bool (*)(PP_Resource audio_input
))&Pnacl_M30_PPB_AudioInput_Dev_StartCapture
,
4874 .StopCapture
= (PP_Bool (*)(PP_Resource audio_input
))&Pnacl_M30_PPB_AudioInput_Dev_StopCapture
,
4875 .Close
= (void (*)(PP_Resource audio_input
))&Pnacl_M30_PPB_AudioInput_Dev_Close
4878 /* Not generating wrapper interface for PPB_Buffer_Dev_0_4 */
4880 /* Not generating wrapper interface for PPB_Crypto_Dev_0_1 */
4882 /* Not generating wrapper interface for PPB_CursorControl_Dev_0_4 */
4884 static const struct PPB_DeviceRef_Dev_0_1 Pnacl_Wrappers_PPB_DeviceRef_Dev_0_1
= {
4885 .IsDeviceRef
= (PP_Bool (*)(PP_Resource resource
))&Pnacl_M18_PPB_DeviceRef_Dev_IsDeviceRef
,
4886 .GetType
= (PP_DeviceType_Dev (*)(PP_Resource device_ref
))&Pnacl_M18_PPB_DeviceRef_Dev_GetType
,
4887 .GetName
= (struct PP_Var (*)(PP_Resource device_ref
))&Pnacl_M18_PPB_DeviceRef_Dev_GetName
4890 static const struct PPB_FileChooser_Dev_0_5 Pnacl_Wrappers_PPB_FileChooser_Dev_0_5
= {
4891 .Create
= (PP_Resource (*)(PP_Instance instance
, PP_FileChooserMode_Dev mode
, struct PP_Var accept_types
))&Pnacl_M16_PPB_FileChooser_Dev_Create
,
4892 .IsFileChooser
= (PP_Bool (*)(PP_Resource resource
))&Pnacl_M16_PPB_FileChooser_Dev_IsFileChooser
,
4893 .Show
= (int32_t (*)(PP_Resource chooser
, struct PP_CompletionCallback callback
))&Pnacl_M16_PPB_FileChooser_Dev_Show
,
4894 .GetNextChosenFile
= (PP_Resource (*)(PP_Resource chooser
))&Pnacl_M16_PPB_FileChooser_Dev_GetNextChosenFile
4897 static const struct PPB_FileChooser_Dev_0_6 Pnacl_Wrappers_PPB_FileChooser_Dev_0_6
= {
4898 .Create
= (PP_Resource (*)(PP_Instance instance
, PP_FileChooserMode_Dev mode
, struct PP_Var accept_types
))&Pnacl_M19_PPB_FileChooser_Dev_Create
,
4899 .IsFileChooser
= (PP_Bool (*)(PP_Resource resource
))&Pnacl_M19_PPB_FileChooser_Dev_IsFileChooser
,
4900 .Show
= (int32_t (*)(PP_Resource chooser
, struct PP_ArrayOutput output
, struct PP_CompletionCallback callback
))&Pnacl_M19_PPB_FileChooser_Dev_Show
4903 static const struct PPB_Font_Dev_0_6 Pnacl_Wrappers_PPB_Font_Dev_0_6
= {
4904 .GetFontFamilies
= (struct PP_Var (*)(PP_Instance instance
))&Pnacl_M14_PPB_Font_Dev_GetFontFamilies
,
4905 .Create
= (PP_Resource (*)(PP_Instance instance
, const struct PP_FontDescription_Dev
* description
))&Pnacl_M14_PPB_Font_Dev_Create
,
4906 .IsFont
= (PP_Bool (*)(PP_Resource resource
))&Pnacl_M14_PPB_Font_Dev_IsFont
,
4907 .Describe
= (PP_Bool (*)(PP_Resource font
, struct PP_FontDescription_Dev
* description
, struct PP_FontMetrics_Dev
* metrics
))&Pnacl_M14_PPB_Font_Dev_Describe
,
4908 .DrawTextAt
= (PP_Bool (*)(PP_Resource font
, PP_Resource image_data
, const struct PP_TextRun_Dev
* text
, const struct PP_Point
* position
, uint32_t color
, const struct PP_Rect
* clip
, PP_Bool image_data_is_opaque
))&Pnacl_M14_PPB_Font_Dev_DrawTextAt
,
4909 .MeasureText
= (int32_t (*)(PP_Resource font
, const struct PP_TextRun_Dev
* text
))&Pnacl_M14_PPB_Font_Dev_MeasureText
,
4910 .CharacterOffsetForPixel
= (uint32_t (*)(PP_Resource font
, const struct PP_TextRun_Dev
* text
, int32_t pixel_position
))&Pnacl_M14_PPB_Font_Dev_CharacterOffsetForPixel
,
4911 .PixelOffsetForCharacter
= (int32_t (*)(PP_Resource font
, const struct PP_TextRun_Dev
* text
, uint32_t char_offset
))&Pnacl_M14_PPB_Font_Dev_PixelOffsetForCharacter
4914 static const struct PPB_IMEInputEvent_Dev_0_1 Pnacl_Wrappers_PPB_IMEInputEvent_Dev_0_1
= {
4915 .IsIMEInputEvent
= (PP_Bool (*)(PP_Resource resource
))&Pnacl_M16_PPB_IMEInputEvent_Dev_IsIMEInputEvent
,
4916 .GetText
= (struct PP_Var (*)(PP_Resource ime_event
))&Pnacl_M16_PPB_IMEInputEvent_Dev_GetText
,
4917 .GetSegmentNumber
= (uint32_t (*)(PP_Resource ime_event
))&Pnacl_M16_PPB_IMEInputEvent_Dev_GetSegmentNumber
,
4918 .GetSegmentOffset
= (uint32_t (*)(PP_Resource ime_event
, uint32_t index
))&Pnacl_M16_PPB_IMEInputEvent_Dev_GetSegmentOffset
,
4919 .GetTargetSegment
= (int32_t (*)(PP_Resource ime_event
))&Pnacl_M16_PPB_IMEInputEvent_Dev_GetTargetSegment
,
4920 .GetSelection
= (void (*)(PP_Resource ime_event
, uint32_t* start
, uint32_t* end
))&Pnacl_M16_PPB_IMEInputEvent_Dev_GetSelection
4923 static const struct PPB_IMEInputEvent_Dev_0_2 Pnacl_Wrappers_PPB_IMEInputEvent_Dev_0_2
= {
4924 .Create
= (PP_Resource (*)(PP_Instance instance
, PP_InputEvent_Type type
, PP_TimeTicks time_stamp
, struct PP_Var text
, uint32_t segment_number
, const uint32_t segment_offsets
[], int32_t target_segment
, uint32_t selection_start
, uint32_t selection_end
))&Pnacl_M21_PPB_IMEInputEvent_Dev_Create
,
4925 .IsIMEInputEvent
= (PP_Bool (*)(PP_Resource resource
))&Pnacl_M21_PPB_IMEInputEvent_Dev_IsIMEInputEvent
,
4926 .GetText
= (struct PP_Var (*)(PP_Resource ime_event
))&Pnacl_M21_PPB_IMEInputEvent_Dev_GetText
,
4927 .GetSegmentNumber
= (uint32_t (*)(PP_Resource ime_event
))&Pnacl_M21_PPB_IMEInputEvent_Dev_GetSegmentNumber
,
4928 .GetSegmentOffset
= (uint32_t (*)(PP_Resource ime_event
, uint32_t index
))&Pnacl_M21_PPB_IMEInputEvent_Dev_GetSegmentOffset
,
4929 .GetTargetSegment
= (int32_t (*)(PP_Resource ime_event
))&Pnacl_M21_PPB_IMEInputEvent_Dev_GetTargetSegment
,
4930 .GetSelection
= (void (*)(PP_Resource ime_event
, uint32_t* start
, uint32_t* end
))&Pnacl_M21_PPB_IMEInputEvent_Dev_GetSelection
4933 /* Not generating wrapper interface for PPB_Memory_Dev_0_1 */
4935 static const struct PPB_Printing_Dev_0_7 Pnacl_Wrappers_PPB_Printing_Dev_0_7
= {
4936 .Create
= (PP_Resource (*)(PP_Instance instance
))&Pnacl_M23_PPB_Printing_Dev_Create
,
4937 .GetDefaultPrintSettings
= (int32_t (*)(PP_Resource resource
, struct PP_PrintSettings_Dev
* print_settings
, struct PP_CompletionCallback callback
))&Pnacl_M23_PPB_Printing_Dev_GetDefaultPrintSettings
4940 /* Not generating wrapper interface for PPB_Scrollbar_Dev_0_5 */
4942 /* Not generating wrapper interface for PPB_TextInput_Dev_0_1 */
4944 /* Not generating wrapper interface for PPB_TextInput_Dev_0_2 */
4946 /* Not generating wrapper interface for PPB_Trace_Event_Dev_0_1 */
4948 /* Not generating wrapper interface for PPB_Trace_Event_Dev_0_2 */
4950 static const struct PPB_TrueTypeFont_Dev_0_1 Pnacl_Wrappers_PPB_TrueTypeFont_Dev_0_1
= {
4951 .GetFontFamilies
= (int32_t (*)(PP_Instance instance
, struct PP_ArrayOutput output
, struct PP_CompletionCallback callback
))&Pnacl_M26_PPB_TrueTypeFont_Dev_GetFontFamilies
,
4952 .GetFontsInFamily
= (int32_t (*)(PP_Instance instance
, struct PP_Var family
, struct PP_ArrayOutput output
, struct PP_CompletionCallback callback
))&Pnacl_M26_PPB_TrueTypeFont_Dev_GetFontsInFamily
,
4953 .Create
= (PP_Resource (*)(PP_Instance instance
, const struct PP_TrueTypeFontDesc_Dev
* desc
))&Pnacl_M26_PPB_TrueTypeFont_Dev_Create
,
4954 .IsTrueTypeFont
= (PP_Bool (*)(PP_Resource resource
))&Pnacl_M26_PPB_TrueTypeFont_Dev_IsTrueTypeFont
,
4955 .Describe
= (int32_t (*)(PP_Resource font
, struct PP_TrueTypeFontDesc_Dev
* desc
, struct PP_CompletionCallback callback
))&Pnacl_M26_PPB_TrueTypeFont_Dev_Describe
,
4956 .GetTableTags
= (int32_t (*)(PP_Resource font
, struct PP_ArrayOutput output
, struct PP_CompletionCallback callback
))&Pnacl_M26_PPB_TrueTypeFont_Dev_GetTableTags
,
4957 .GetTable
= (int32_t (*)(PP_Resource font
, uint32_t table
, int32_t offset
, int32_t max_data_length
, struct PP_ArrayOutput output
, struct PP_CompletionCallback callback
))&Pnacl_M26_PPB_TrueTypeFont_Dev_GetTable
4960 static const struct PPB_URLUtil_Dev_0_6 Pnacl_Wrappers_PPB_URLUtil_Dev_0_6
= {
4961 .Canonicalize
= (struct PP_Var (*)(struct PP_Var url
, struct PP_URLComponents_Dev
* components
))&Pnacl_M17_PPB_URLUtil_Dev_Canonicalize
,
4962 .ResolveRelativeToURL
= (struct PP_Var (*)(struct PP_Var base_url
, struct PP_Var relative_string
, struct PP_URLComponents_Dev
* components
))&Pnacl_M17_PPB_URLUtil_Dev_ResolveRelativeToURL
,
4963 .ResolveRelativeToDocument
= (struct PP_Var (*)(PP_Instance instance
, struct PP_Var relative_string
, struct PP_URLComponents_Dev
* components
))&Pnacl_M17_PPB_URLUtil_Dev_ResolveRelativeToDocument
,
4964 .IsSameSecurityOrigin
= (PP_Bool (*)(struct PP_Var url_a
, struct PP_Var url_b
))&Pnacl_M17_PPB_URLUtil_Dev_IsSameSecurityOrigin
,
4965 .DocumentCanRequest
= (PP_Bool (*)(PP_Instance instance
, struct PP_Var url
))&Pnacl_M17_PPB_URLUtil_Dev_DocumentCanRequest
,
4966 .DocumentCanAccessDocument
= (PP_Bool (*)(PP_Instance active
, PP_Instance target
))&Pnacl_M17_PPB_URLUtil_Dev_DocumentCanAccessDocument
,
4967 .GetDocumentURL
= (struct PP_Var (*)(PP_Instance instance
, struct PP_URLComponents_Dev
* components
))&Pnacl_M17_PPB_URLUtil_Dev_GetDocumentURL
,
4968 .GetPluginInstanceURL
= (struct PP_Var (*)(PP_Instance instance
, struct PP_URLComponents_Dev
* components
))&Pnacl_M17_PPB_URLUtil_Dev_GetPluginInstanceURL
4971 static const struct PPB_URLUtil_Dev_0_7 Pnacl_Wrappers_PPB_URLUtil_Dev_0_7
= {
4972 .Canonicalize
= (struct PP_Var (*)(struct PP_Var url
, struct PP_URLComponents_Dev
* components
))&Pnacl_M31_PPB_URLUtil_Dev_Canonicalize
,
4973 .ResolveRelativeToURL
= (struct PP_Var (*)(struct PP_Var base_url
, struct PP_Var relative_string
, struct PP_URLComponents_Dev
* components
))&Pnacl_M31_PPB_URLUtil_Dev_ResolveRelativeToURL
,
4974 .ResolveRelativeToDocument
= (struct PP_Var (*)(PP_Instance instance
, struct PP_Var relative_string
, struct PP_URLComponents_Dev
* components
))&Pnacl_M31_PPB_URLUtil_Dev_ResolveRelativeToDocument
,
4975 .IsSameSecurityOrigin
= (PP_Bool (*)(struct PP_Var url_a
, struct PP_Var url_b
))&Pnacl_M31_PPB_URLUtil_Dev_IsSameSecurityOrigin
,
4976 .DocumentCanRequest
= (PP_Bool (*)(PP_Instance instance
, struct PP_Var url
))&Pnacl_M31_PPB_URLUtil_Dev_DocumentCanRequest
,
4977 .DocumentCanAccessDocument
= (PP_Bool (*)(PP_Instance active
, PP_Instance target
))&Pnacl_M31_PPB_URLUtil_Dev_DocumentCanAccessDocument
,
4978 .GetDocumentURL
= (struct PP_Var (*)(PP_Instance instance
, struct PP_URLComponents_Dev
* components
))&Pnacl_M31_PPB_URLUtil_Dev_GetDocumentURL
,
4979 .GetPluginInstanceURL
= (struct PP_Var (*)(PP_Instance instance
, struct PP_URLComponents_Dev
* components
))&Pnacl_M31_PPB_URLUtil_Dev_GetPluginInstanceURL
,
4980 .GetPluginReferrerURL
= (struct PP_Var (*)(PP_Instance instance
, struct PP_URLComponents_Dev
* components
))&Pnacl_M31_PPB_URLUtil_Dev_GetPluginReferrerURL
4983 static const struct PPB_VideoCapture_Dev_0_3 Pnacl_Wrappers_PPB_VideoCapture_Dev_0_3
= {
4984 .Create
= (PP_Resource (*)(PP_Instance instance
))&Pnacl_M25_PPB_VideoCapture_Dev_Create
,
4985 .IsVideoCapture
= (PP_Bool (*)(PP_Resource video_capture
))&Pnacl_M25_PPB_VideoCapture_Dev_IsVideoCapture
,
4986 .EnumerateDevices
= (int32_t (*)(PP_Resource video_capture
, struct PP_ArrayOutput output
, struct PP_CompletionCallback callback
))&Pnacl_M25_PPB_VideoCapture_Dev_EnumerateDevices
,
4987 .MonitorDeviceChange
= (int32_t (*)(PP_Resource video_capture
, PP_MonitorDeviceChangeCallback callback
, void* user_data
))&Pnacl_M25_PPB_VideoCapture_Dev_MonitorDeviceChange
,
4988 .Open
= (int32_t (*)(PP_Resource video_capture
, PP_Resource device_ref
, const struct PP_VideoCaptureDeviceInfo_Dev
* requested_info
, uint32_t buffer_count
, struct PP_CompletionCallback callback
))&Pnacl_M25_PPB_VideoCapture_Dev_Open
,
4989 .StartCapture
= (int32_t (*)(PP_Resource video_capture
))&Pnacl_M25_PPB_VideoCapture_Dev_StartCapture
,
4990 .ReuseBuffer
= (int32_t (*)(PP_Resource video_capture
, uint32_t buffer
))&Pnacl_M25_PPB_VideoCapture_Dev_ReuseBuffer
,
4991 .StopCapture
= (int32_t (*)(PP_Resource video_capture
))&Pnacl_M25_PPB_VideoCapture_Dev_StopCapture
,
4992 .Close
= (void (*)(PP_Resource video_capture
))&Pnacl_M25_PPB_VideoCapture_Dev_Close
4995 static const struct PPB_VideoDecoder_Dev_0_16 Pnacl_Wrappers_PPB_VideoDecoder_Dev_0_16
= {
4996 .Create
= (PP_Resource (*)(PP_Instance instance
, PP_Resource context
, PP_VideoDecoder_Profile profile
))&Pnacl_M14_PPB_VideoDecoder_Dev_Create
,
4997 .IsVideoDecoder
= (PP_Bool (*)(PP_Resource resource
))&Pnacl_M14_PPB_VideoDecoder_Dev_IsVideoDecoder
,
4998 .Decode
= (int32_t (*)(PP_Resource video_decoder
, const struct PP_VideoBitstreamBuffer_Dev
* bitstream_buffer
, struct PP_CompletionCallback callback
))&Pnacl_M14_PPB_VideoDecoder_Dev_Decode
,
4999 .AssignPictureBuffers
= (void (*)(PP_Resource video_decoder
, uint32_t no_of_buffers
, const struct PP_PictureBuffer_Dev buffers
[]))&Pnacl_M14_PPB_VideoDecoder_Dev_AssignPictureBuffers
,
5000 .ReusePictureBuffer
= (void (*)(PP_Resource video_decoder
, int32_t picture_buffer_id
))&Pnacl_M14_PPB_VideoDecoder_Dev_ReusePictureBuffer
,
5001 .Flush
= (int32_t (*)(PP_Resource video_decoder
, struct PP_CompletionCallback callback
))&Pnacl_M14_PPB_VideoDecoder_Dev_Flush
,
5002 .Reset
= (int32_t (*)(PP_Resource video_decoder
, struct PP_CompletionCallback callback
))&Pnacl_M14_PPB_VideoDecoder_Dev_Reset
,
5003 .Destroy
= (void (*)(PP_Resource video_decoder
))&Pnacl_M14_PPB_VideoDecoder_Dev_Destroy
5006 /* Not generating wrapper interface for PPB_View_Dev_0_1 */
5008 /* Not generating wrapper interface for PPB_Widget_Dev_0_3 */
5010 /* Not generating wrapper interface for PPB_Widget_Dev_0_4 */
5012 /* Not generating wrapper interface for PPB_Zoom_Dev_0_2 */
5014 /* Not generating wrapper interface for PPP_NetworkState_Dev_0_1 */
5016 /* Not generating wrapper interface for PPP_Printing_Dev_0_6 */
5018 /* Not generating wrapper interface for PPP_Scrollbar_Dev_0_2 */
5020 /* Not generating wrapper interface for PPP_Scrollbar_Dev_0_3 */
5022 static const struct PPP_Selection_Dev_0_3 Pnacl_Wrappers_PPP_Selection_Dev_0_3
= {
5023 .GetSelectedText
= &Pnacl_M13_PPP_Selection_Dev_GetSelectedText
5026 /* Not generating wrapper interface for PPP_TextInput_Dev_0_1 */
5028 /* Not generating wrapper interface for PPP_VideoCapture_Dev_0_1 */
5030 /* Not generating wrapper interface for PPP_VideoDecoder_Dev_0_11 */
5032 /* Not generating wrapper interface for PPP_Widget_Dev_0_2 */
5034 /* Not generating wrapper interface for PPP_Zoom_Dev_0_3 */
5036 static const struct PPB_ContentDecryptor_Private_0_12 Pnacl_Wrappers_PPB_ContentDecryptor_Private_0_12
= {
5037 .PromiseResolved
= (void (*)(PP_Instance instance
, uint32_t promise_id
))&Pnacl_M36_PPB_ContentDecryptor_Private_PromiseResolved
,
5038 .PromiseResolvedWithSession
= (void (*)(PP_Instance instance
, uint32_t promise_id
, struct PP_Var web_session_id
))&Pnacl_M36_PPB_ContentDecryptor_Private_PromiseResolvedWithSession
,
5039 .PromiseRejected
= (void (*)(PP_Instance instance
, uint32_t promise_id
, PP_CdmExceptionCode exception_code
, uint32_t system_code
, struct PP_Var error_description
))&Pnacl_M36_PPB_ContentDecryptor_Private_PromiseRejected
,
5040 .SessionMessage
= (void (*)(PP_Instance instance
, struct PP_Var web_session_id
, struct PP_Var message
, struct PP_Var destination_url
))&Pnacl_M36_PPB_ContentDecryptor_Private_SessionMessage
,
5041 .SessionReady
= (void (*)(PP_Instance instance
, struct PP_Var web_session_id
))&Pnacl_M36_PPB_ContentDecryptor_Private_SessionReady
,
5042 .SessionClosed
= (void (*)(PP_Instance instance
, struct PP_Var web_session_id
))&Pnacl_M36_PPB_ContentDecryptor_Private_SessionClosed
,
5043 .SessionError
= (void (*)(PP_Instance instance
, struct PP_Var web_session_id
, PP_CdmExceptionCode exception_code
, uint32_t system_code
, struct PP_Var error_description
))&Pnacl_M36_PPB_ContentDecryptor_Private_SessionError
,
5044 .DeliverBlock
= (void (*)(PP_Instance instance
, PP_Resource decrypted_block
, const struct PP_DecryptedBlockInfo
* decrypted_block_info
))&Pnacl_M36_PPB_ContentDecryptor_Private_DeliverBlock
,
5045 .DecoderInitializeDone
= (void (*)(PP_Instance instance
, PP_DecryptorStreamType decoder_type
, uint32_t request_id
, PP_Bool success
))&Pnacl_M36_PPB_ContentDecryptor_Private_DecoderInitializeDone
,
5046 .DecoderDeinitializeDone
= (void (*)(PP_Instance instance
, PP_DecryptorStreamType decoder_type
, uint32_t request_id
))&Pnacl_M36_PPB_ContentDecryptor_Private_DecoderDeinitializeDone
,
5047 .DecoderResetDone
= (void (*)(PP_Instance instance
, PP_DecryptorStreamType decoder_type
, uint32_t request_id
))&Pnacl_M36_PPB_ContentDecryptor_Private_DecoderResetDone
,
5048 .DeliverFrame
= (void (*)(PP_Instance instance
, PP_Resource decrypted_frame
, const struct PP_DecryptedFrameInfo
* decrypted_frame_info
))&Pnacl_M36_PPB_ContentDecryptor_Private_DeliverFrame
,
5049 .DeliverSamples
= (void (*)(PP_Instance instance
, PP_Resource audio_frames
, const struct PP_DecryptedSampleInfo
* decrypted_sample_info
))&Pnacl_M36_PPB_ContentDecryptor_Private_DeliverSamples
5052 static const struct PPB_DisplayColorProfile_Private_0_1 Pnacl_Wrappers_PPB_DisplayColorProfile_Private_0_1
= {
5053 .Create
= (PP_Resource (*)(PP_Instance instance
))&Pnacl_M33_PPB_DisplayColorProfile_Private_Create
,
5054 .IsDisplayColorProfile
= (PP_Bool (*)(PP_Resource resource
))&Pnacl_M33_PPB_DisplayColorProfile_Private_IsDisplayColorProfile
,
5055 .GetColorProfile
= (int32_t (*)(PP_Resource display_color_profile_res
, struct PP_ArrayOutput color_profile
, struct PP_CompletionCallback callback
))&Pnacl_M33_PPB_DisplayColorProfile_Private_GetColorProfile
,
5056 .RegisterColorProfileChangeCallback
= (int32_t (*)(PP_Resource display_color_profile_res
, struct PP_CompletionCallback callback
))&Pnacl_M33_PPB_DisplayColorProfile_Private_RegisterColorProfileChangeCallback
5059 static const struct PPB_Ext_CrxFileSystem_Private_0_1 Pnacl_Wrappers_PPB_Ext_CrxFileSystem_Private_0_1
= {
5060 .Open
= (int32_t (*)(PP_Instance instance
, PP_Resource
* file_system
, struct PP_CompletionCallback callback
))&Pnacl_M28_PPB_Ext_CrxFileSystem_Private_Open
5063 static const struct PPB_FileIO_Private_0_1 Pnacl_Wrappers_PPB_FileIO_Private_0_1
= {
5064 .RequestOSFileHandle
= (int32_t (*)(PP_Resource file_io
, PP_FileHandle
* handle
, struct PP_CompletionCallback callback
))&Pnacl_M28_PPB_FileIO_Private_RequestOSFileHandle
5067 static const struct PPB_FileRefPrivate_0_1 Pnacl_Wrappers_PPB_FileRefPrivate_0_1
= {
5068 .GetAbsolutePath
= (struct PP_Var (*)(PP_Resource file_ref
))&Pnacl_M15_PPB_FileRefPrivate_GetAbsolutePath
5071 /* Not generating wrapper interface for PPB_Find_Private_0_3 */
5073 static const struct PPB_Flash_12_4 Pnacl_Wrappers_PPB_Flash_12_4
= {
5074 .SetInstanceAlwaysOnTop
= (void (*)(PP_Instance instance
, PP_Bool on_top
))&Pnacl_M21_PPB_Flash_SetInstanceAlwaysOnTop
,
5075 .DrawGlyphs
= (PP_Bool (*)(PP_Instance instance
, PP_Resource pp_image_data
, const struct PP_BrowserFont_Trusted_Description
* font_desc
, uint32_t color
, const struct PP_Point
* position
, const struct PP_Rect
* clip
, const float transformation
[3][3], PP_Bool allow_subpixel_aa
, uint32_t glyph_count
, const uint16_t glyph_indices
[], const struct PP_Point glyph_advances
[]))&Pnacl_M21_PPB_Flash_DrawGlyphs
,
5076 .GetProxyForURL
= (struct PP_Var (*)(PP_Instance instance
, const char* url
))&Pnacl_M21_PPB_Flash_GetProxyForURL
,
5077 .Navigate
= (int32_t (*)(PP_Resource request_info
, const char* target
, PP_Bool from_user_action
))&Pnacl_M21_PPB_Flash_Navigate
,
5078 .RunMessageLoop
= (void (*)(PP_Instance instance
))&Pnacl_M21_PPB_Flash_RunMessageLoop
,
5079 .QuitMessageLoop
= (void (*)(PP_Instance instance
))&Pnacl_M21_PPB_Flash_QuitMessageLoop
,
5080 .GetLocalTimeZoneOffset
= (double (*)(PP_Instance instance
, PP_Time t
))&Pnacl_M21_PPB_Flash_GetLocalTimeZoneOffset
,
5081 .GetCommandLineArgs
= (struct PP_Var (*)(PP_Module module
))&Pnacl_M21_PPB_Flash_GetCommandLineArgs
,
5082 .PreloadFontWin
= (void (*)(const void* logfontw
))&Pnacl_M21_PPB_Flash_PreloadFontWin
,
5083 .IsRectTopmost
= (PP_Bool (*)(PP_Instance instance
, const struct PP_Rect
* rect
))&Pnacl_M21_PPB_Flash_IsRectTopmost
,
5084 .InvokePrinting
= (int32_t (*)(PP_Instance instance
))&Pnacl_M21_PPB_Flash_InvokePrinting
,
5085 .UpdateActivity
= (void (*)(PP_Instance instance
))&Pnacl_M21_PPB_Flash_UpdateActivity
,
5086 .GetDeviceID
= (struct PP_Var (*)(PP_Instance instance
))&Pnacl_M21_PPB_Flash_GetDeviceID
,
5087 .GetSettingInt
= (int32_t (*)(PP_Instance instance
, PP_FlashSetting setting
))&Pnacl_M21_PPB_Flash_GetSettingInt
,
5088 .GetSetting
= (struct PP_Var (*)(PP_Instance instance
, PP_FlashSetting setting
))&Pnacl_M21_PPB_Flash_GetSetting
5091 static const struct PPB_Flash_12_5 Pnacl_Wrappers_PPB_Flash_12_5
= {
5092 .SetInstanceAlwaysOnTop
= (void (*)(PP_Instance instance
, PP_Bool on_top
))&Pnacl_M22_PPB_Flash_SetInstanceAlwaysOnTop
,
5093 .DrawGlyphs
= (PP_Bool (*)(PP_Instance instance
, PP_Resource pp_image_data
, const struct PP_BrowserFont_Trusted_Description
* font_desc
, uint32_t color
, const struct PP_Point
* position
, const struct PP_Rect
* clip
, const float transformation
[3][3], PP_Bool allow_subpixel_aa
, uint32_t glyph_count
, const uint16_t glyph_indices
[], const struct PP_Point glyph_advances
[]))&Pnacl_M22_PPB_Flash_DrawGlyphs
,
5094 .GetProxyForURL
= (struct PP_Var (*)(PP_Instance instance
, const char* url
))&Pnacl_M22_PPB_Flash_GetProxyForURL
,
5095 .Navigate
= (int32_t (*)(PP_Resource request_info
, const char* target
, PP_Bool from_user_action
))&Pnacl_M22_PPB_Flash_Navigate
,
5096 .RunMessageLoop
= (void (*)(PP_Instance instance
))&Pnacl_M22_PPB_Flash_RunMessageLoop
,
5097 .QuitMessageLoop
= (void (*)(PP_Instance instance
))&Pnacl_M22_PPB_Flash_QuitMessageLoop
,
5098 .GetLocalTimeZoneOffset
= (double (*)(PP_Instance instance
, PP_Time t
))&Pnacl_M22_PPB_Flash_GetLocalTimeZoneOffset
,
5099 .GetCommandLineArgs
= (struct PP_Var (*)(PP_Module module
))&Pnacl_M22_PPB_Flash_GetCommandLineArgs
,
5100 .PreloadFontWin
= (void (*)(const void* logfontw
))&Pnacl_M22_PPB_Flash_PreloadFontWin
,
5101 .IsRectTopmost
= (PP_Bool (*)(PP_Instance instance
, const struct PP_Rect
* rect
))&Pnacl_M22_PPB_Flash_IsRectTopmost
,
5102 .InvokePrinting
= (int32_t (*)(PP_Instance instance
))&Pnacl_M22_PPB_Flash_InvokePrinting
,
5103 .UpdateActivity
= (void (*)(PP_Instance instance
))&Pnacl_M22_PPB_Flash_UpdateActivity
,
5104 .GetDeviceID
= (struct PP_Var (*)(PP_Instance instance
))&Pnacl_M22_PPB_Flash_GetDeviceID
,
5105 .GetSettingInt
= (int32_t (*)(PP_Instance instance
, PP_FlashSetting setting
))&Pnacl_M22_PPB_Flash_GetSettingInt
,
5106 .GetSetting
= (struct PP_Var (*)(PP_Instance instance
, PP_FlashSetting setting
))&Pnacl_M22_PPB_Flash_GetSetting
,
5107 .SetCrashData
= (PP_Bool (*)(PP_Instance instance
, PP_FlashCrashKey key
, struct PP_Var value
))&Pnacl_M22_PPB_Flash_SetCrashData
5110 static const struct PPB_Flash_12_6 Pnacl_Wrappers_PPB_Flash_12_6
= {
5111 .SetInstanceAlwaysOnTop
= (void (*)(PP_Instance instance
, PP_Bool on_top
))&Pnacl_M24_0_PPB_Flash_SetInstanceAlwaysOnTop
,
5112 .DrawGlyphs
= (PP_Bool (*)(PP_Instance instance
, PP_Resource pp_image_data
, const struct PP_BrowserFont_Trusted_Description
* font_desc
, uint32_t color
, const struct PP_Point
* position
, const struct PP_Rect
* clip
, const float transformation
[3][3], PP_Bool allow_subpixel_aa
, uint32_t glyph_count
, const uint16_t glyph_indices
[], const struct PP_Point glyph_advances
[]))&Pnacl_M24_0_PPB_Flash_DrawGlyphs
,
5113 .GetProxyForURL
= (struct PP_Var (*)(PP_Instance instance
, const char* url
))&Pnacl_M24_0_PPB_Flash_GetProxyForURL
,
5114 .Navigate
= (int32_t (*)(PP_Resource request_info
, const char* target
, PP_Bool from_user_action
))&Pnacl_M24_0_PPB_Flash_Navigate
,
5115 .RunMessageLoop
= (void (*)(PP_Instance instance
))&Pnacl_M24_0_PPB_Flash_RunMessageLoop
,
5116 .QuitMessageLoop
= (void (*)(PP_Instance instance
))&Pnacl_M24_0_PPB_Flash_QuitMessageLoop
,
5117 .GetLocalTimeZoneOffset
= (double (*)(PP_Instance instance
, PP_Time t
))&Pnacl_M24_0_PPB_Flash_GetLocalTimeZoneOffset
,
5118 .GetCommandLineArgs
= (struct PP_Var (*)(PP_Module module
))&Pnacl_M24_0_PPB_Flash_GetCommandLineArgs
,
5119 .PreloadFontWin
= (void (*)(const void* logfontw
))&Pnacl_M24_0_PPB_Flash_PreloadFontWin
,
5120 .IsRectTopmost
= (PP_Bool (*)(PP_Instance instance
, const struct PP_Rect
* rect
))&Pnacl_M24_0_PPB_Flash_IsRectTopmost
,
5121 .InvokePrinting
= (int32_t (*)(PP_Instance instance
))&Pnacl_M24_0_PPB_Flash_InvokePrinting
,
5122 .UpdateActivity
= (void (*)(PP_Instance instance
))&Pnacl_M24_0_PPB_Flash_UpdateActivity
,
5123 .GetDeviceID
= (struct PP_Var (*)(PP_Instance instance
))&Pnacl_M24_0_PPB_Flash_GetDeviceID
,
5124 .GetSettingInt
= (int32_t (*)(PP_Instance instance
, PP_FlashSetting setting
))&Pnacl_M24_0_PPB_Flash_GetSettingInt
,
5125 .GetSetting
= (struct PP_Var (*)(PP_Instance instance
, PP_FlashSetting setting
))&Pnacl_M24_0_PPB_Flash_GetSetting
,
5126 .SetCrashData
= (PP_Bool (*)(PP_Instance instance
, PP_FlashCrashKey key
, struct PP_Var value
))&Pnacl_M24_0_PPB_Flash_SetCrashData
,
5127 .EnumerateVideoCaptureDevices
= (int32_t (*)(PP_Instance instance
, PP_Resource video_capture
, struct PP_ArrayOutput devices
))&Pnacl_M24_0_PPB_Flash_EnumerateVideoCaptureDevices
5130 static const struct PPB_Flash_13_0 Pnacl_Wrappers_PPB_Flash_13_0
= {
5131 .SetInstanceAlwaysOnTop
= (void (*)(PP_Instance instance
, PP_Bool on_top
))&Pnacl_M24_1_PPB_Flash_SetInstanceAlwaysOnTop
,
5132 .DrawGlyphs
= (PP_Bool (*)(PP_Instance instance
, PP_Resource pp_image_data
, const struct PP_BrowserFont_Trusted_Description
* font_desc
, uint32_t color
, const struct PP_Point
* position
, const struct PP_Rect
* clip
, const float transformation
[3][3], PP_Bool allow_subpixel_aa
, uint32_t glyph_count
, const uint16_t glyph_indices
[], const struct PP_Point glyph_advances
[]))&Pnacl_M24_1_PPB_Flash_DrawGlyphs
,
5133 .GetProxyForURL
= (struct PP_Var (*)(PP_Instance instance
, const char* url
))&Pnacl_M24_1_PPB_Flash_GetProxyForURL
,
5134 .Navigate
= (int32_t (*)(PP_Resource request_info
, const char* target
, PP_Bool from_user_action
))&Pnacl_M24_1_PPB_Flash_Navigate
,
5135 .GetLocalTimeZoneOffset
= (double (*)(PP_Instance instance
, PP_Time t
))&Pnacl_M24_1_PPB_Flash_GetLocalTimeZoneOffset
,
5136 .GetCommandLineArgs
= (struct PP_Var (*)(PP_Module module
))&Pnacl_M24_1_PPB_Flash_GetCommandLineArgs
,
5137 .PreloadFontWin
= (void (*)(const void* logfontw
))&Pnacl_M24_1_PPB_Flash_PreloadFontWin
,
5138 .IsRectTopmost
= (PP_Bool (*)(PP_Instance instance
, const struct PP_Rect
* rect
))&Pnacl_M24_1_PPB_Flash_IsRectTopmost
,
5139 .UpdateActivity
= (void (*)(PP_Instance instance
))&Pnacl_M24_1_PPB_Flash_UpdateActivity
,
5140 .GetSetting
= (struct PP_Var (*)(PP_Instance instance
, PP_FlashSetting setting
))&Pnacl_M24_1_PPB_Flash_GetSetting
,
5141 .SetCrashData
= (PP_Bool (*)(PP_Instance instance
, PP_FlashCrashKey key
, struct PP_Var value
))&Pnacl_M24_1_PPB_Flash_SetCrashData
,
5142 .EnumerateVideoCaptureDevices
= (int32_t (*)(PP_Instance instance
, PP_Resource video_capture
, struct PP_ArrayOutput devices
))&Pnacl_M24_1_PPB_Flash_EnumerateVideoCaptureDevices
5145 static const struct PPB_Flash_Clipboard_4_0 Pnacl_Wrappers_PPB_Flash_Clipboard_4_0
= {
5146 .IsFormatAvailable
= (PP_Bool (*)(PP_Instance instance_id
, PP_Flash_Clipboard_Type clipboard_type
, PP_Flash_Clipboard_Format format
))&Pnacl_M19_PPB_Flash_Clipboard_IsFormatAvailable
,
5147 .ReadData
= (struct PP_Var (*)(PP_Instance instance_id
, PP_Flash_Clipboard_Type clipboard_type
, PP_Flash_Clipboard_Format format
))&Pnacl_M19_PPB_Flash_Clipboard_ReadData
,
5148 .WriteData
= (int32_t (*)(PP_Instance instance_id
, PP_Flash_Clipboard_Type clipboard_type
, uint32_t data_item_count
, const PP_Flash_Clipboard_Format formats
[], const struct PP_Var data_items
[]))&Pnacl_M19_PPB_Flash_Clipboard_WriteData
5151 static const struct PPB_Flash_Clipboard_5_0 Pnacl_Wrappers_PPB_Flash_Clipboard_5_0
= {
5152 .RegisterCustomFormat
= (uint32_t (*)(PP_Instance instance_id
, const char* format_name
))&Pnacl_M24_PPB_Flash_Clipboard_RegisterCustomFormat
,
5153 .IsFormatAvailable
= (PP_Bool (*)(PP_Instance instance_id
, PP_Flash_Clipboard_Type clipboard_type
, uint32_t format
))&Pnacl_M24_PPB_Flash_Clipboard_IsFormatAvailable
,
5154 .ReadData
= (struct PP_Var (*)(PP_Instance instance_id
, PP_Flash_Clipboard_Type clipboard_type
, uint32_t format
))&Pnacl_M24_PPB_Flash_Clipboard_ReadData
,
5155 .WriteData
= (int32_t (*)(PP_Instance instance_id
, PP_Flash_Clipboard_Type clipboard_type
, uint32_t data_item_count
, const uint32_t formats
[], const struct PP_Var data_items
[]))&Pnacl_M24_PPB_Flash_Clipboard_WriteData
5158 static const struct PPB_Flash_Clipboard_5_1 Pnacl_Wrappers_PPB_Flash_Clipboard_5_1
= {
5159 .RegisterCustomFormat
= (uint32_t (*)(PP_Instance instance_id
, const char* format_name
))&Pnacl_M34_PPB_Flash_Clipboard_RegisterCustomFormat
,
5160 .IsFormatAvailable
= (PP_Bool (*)(PP_Instance instance_id
, PP_Flash_Clipboard_Type clipboard_type
, uint32_t format
))&Pnacl_M34_PPB_Flash_Clipboard_IsFormatAvailable
,
5161 .ReadData
= (struct PP_Var (*)(PP_Instance instance_id
, PP_Flash_Clipboard_Type clipboard_type
, uint32_t format
))&Pnacl_M34_PPB_Flash_Clipboard_ReadData
,
5162 .WriteData
= (int32_t (*)(PP_Instance instance_id
, PP_Flash_Clipboard_Type clipboard_type
, uint32_t data_item_count
, const uint32_t formats
[], const struct PP_Var data_items
[]))&Pnacl_M34_PPB_Flash_Clipboard_WriteData
,
5163 .GetSequenceNumber
= (PP_Bool (*)(PP_Instance instance_id
, PP_Flash_Clipboard_Type clipboard_type
, uint64_t* sequence_number
))&Pnacl_M34_PPB_Flash_Clipboard_GetSequenceNumber
5166 static const struct PPB_Flash_DeviceID_1_0 Pnacl_Wrappers_PPB_Flash_DeviceID_1_0
= {
5167 .Create
= (PP_Resource (*)(PP_Instance instance
))&Pnacl_M21_PPB_Flash_DeviceID_Create
,
5168 .GetDeviceID
= (int32_t (*)(PP_Resource device_id
, struct PP_Var
* id
, struct PP_CompletionCallback callback
))&Pnacl_M21_PPB_Flash_DeviceID_GetDeviceID
5171 static const struct PPB_Flash_DRM_1_0 Pnacl_Wrappers_PPB_Flash_DRM_1_0
= {
5172 .Create
= (PP_Resource (*)(PP_Instance instance
))&Pnacl_M29_PPB_Flash_DRM_Create
,
5173 .GetDeviceID
= (int32_t (*)(PP_Resource drm
, struct PP_Var
* id
, struct PP_CompletionCallback callback
))&Pnacl_M29_PPB_Flash_DRM_GetDeviceID
,
5174 .GetHmonitor
= (PP_Bool (*)(PP_Resource drm
, int64_t* hmonitor
))&Pnacl_M29_PPB_Flash_DRM_GetHmonitor
,
5175 .GetVoucherFile
= (int32_t (*)(PP_Resource drm
, PP_Resource
* file_ref
, struct PP_CompletionCallback callback
))&Pnacl_M29_PPB_Flash_DRM_GetVoucherFile
5178 static const struct PPB_Flash_DRM_1_1 Pnacl_Wrappers_PPB_Flash_DRM_1_1
= {
5179 .Create
= (PP_Resource (*)(PP_Instance instance
))&Pnacl_M33_PPB_Flash_DRM_Create
,
5180 .GetDeviceID
= (int32_t (*)(PP_Resource drm
, struct PP_Var
* id
, struct PP_CompletionCallback callback
))&Pnacl_M33_PPB_Flash_DRM_GetDeviceID
,
5181 .GetHmonitor
= (PP_Bool (*)(PP_Resource drm
, int64_t* hmonitor
))&Pnacl_M33_PPB_Flash_DRM_GetHmonitor
,
5182 .GetVoucherFile
= (int32_t (*)(PP_Resource drm
, PP_Resource
* file_ref
, struct PP_CompletionCallback callback
))&Pnacl_M33_PPB_Flash_DRM_GetVoucherFile
,
5183 .MonitorIsExternal
= (int32_t (*)(PP_Resource drm
, PP_Bool
* is_external
, struct PP_CompletionCallback callback
))&Pnacl_M33_PPB_Flash_DRM_MonitorIsExternal
5186 /* Not generating wrapper interface for PPB_Flash_FontFile_0_1 */
5188 /* Not generating wrapper interface for PPB_FlashFullscreen_0_1 */
5190 /* Not generating wrapper interface for PPB_FlashFullscreen_1_0 */
5192 static const struct PPB_Flash_Menu_0_2 Pnacl_Wrappers_PPB_Flash_Menu_0_2
= {
5193 .Create
= (PP_Resource (*)(PP_Instance instance_id
, const struct PP_Flash_Menu
* menu_data
))&Pnacl_M14_PPB_Flash_Menu_Create
,
5194 .IsFlashMenu
= (PP_Bool (*)(PP_Resource resource_id
))&Pnacl_M14_PPB_Flash_Menu_IsFlashMenu
,
5195 .Show
= (int32_t (*)(PP_Resource menu_id
, const struct PP_Point
* location
, int32_t* selected_id
, struct PP_CompletionCallback callback
))&Pnacl_M14_PPB_Flash_Menu_Show
5198 /* Not generating wrapper interface for PPB_Flash_MessageLoop_0_1 */
5200 /* Not generating wrapper interface for PPB_Flash_Print_1_0 */
5202 static const struct PPB_HostResolver_Private_0_1 Pnacl_Wrappers_PPB_HostResolver_Private_0_1
= {
5203 .Create
= (PP_Resource (*)(PP_Instance instance
))&Pnacl_M19_PPB_HostResolver_Private_Create
,
5204 .IsHostResolver
= (PP_Bool (*)(PP_Resource resource
))&Pnacl_M19_PPB_HostResolver_Private_IsHostResolver
,
5205 .Resolve
= (int32_t (*)(PP_Resource host_resolver
, const char* host
, uint16_t port
, const struct PP_HostResolver_Private_Hint
* hint
, struct PP_CompletionCallback callback
))&Pnacl_M19_PPB_HostResolver_Private_Resolve
,
5206 .GetCanonicalName
= (struct PP_Var (*)(PP_Resource host_resolver
))&Pnacl_M19_PPB_HostResolver_Private_GetCanonicalName
,
5207 .GetSize
= (uint32_t (*)(PP_Resource host_resolver
))&Pnacl_M19_PPB_HostResolver_Private_GetSize
,
5208 .GetNetAddress
= (PP_Bool (*)(PP_Resource host_resolver
, uint32_t index
, struct PP_NetAddress_Private
* addr
))&Pnacl_M19_PPB_HostResolver_Private_GetNetAddress
5211 /* Not generating wrapper interface for PPB_InputEvent_Private_0_1 */
5213 static const struct PPB_Instance_Private_0_1 Pnacl_Wrappers_PPB_Instance_Private_0_1
= {
5214 .GetWindowObject
= (struct PP_Var (*)(PP_Instance instance
))&Pnacl_M13_PPB_Instance_Private_GetWindowObject
,
5215 .GetOwnerElementObject
= (struct PP_Var (*)(PP_Instance instance
))&Pnacl_M13_PPB_Instance_Private_GetOwnerElementObject
,
5216 .ExecuteScript
= (struct PP_Var (*)(PP_Instance instance
, struct PP_Var script
, struct PP_Var
* exception
))&Pnacl_M13_PPB_Instance_Private_ExecuteScript
5219 static const struct PPB_IsolatedFileSystem_Private_0_2 Pnacl_Wrappers_PPB_IsolatedFileSystem_Private_0_2
= {
5220 .Open
= (int32_t (*)(PP_Instance instance
, PP_IsolatedFileSystemType_Private type
, PP_Resource
* file_system
, struct PP_CompletionCallback callback
))&Pnacl_M33_PPB_IsolatedFileSystem_Private_Open
5223 static const struct PPB_NaCl_Private_1_0 Pnacl_Wrappers_PPB_NaCl_Private_1_0
= {
5224 .LaunchSelLdr
= (void (*)(PP_Instance instance
, PP_Bool main_service_runtime
, const char* alleged_url
, const struct PP_NaClFileInfo
* nexe_file_info
, PP_Bool uses_irt
, PP_Bool uses_ppapi
, PP_Bool uses_nonsfi_mode
, PP_Bool enable_ppapi_dev
, PP_Bool enable_dyncode_syscalls
, PP_Bool enable_exception_handling
, PP_Bool enable_crash_throttling
, void* imc_handle
, struct PP_CompletionCallback callback
))&Pnacl_M25_PPB_NaCl_Private_LaunchSelLdr
,
5225 .StartPpapiProxy
= (PP_Bool (*)(PP_Instance instance
))&Pnacl_M25_PPB_NaCl_Private_StartPpapiProxy
,
5226 .UrandomFD
= (int32_t (*)(void))&Pnacl_M25_PPB_NaCl_Private_UrandomFD
,
5227 .Are3DInterfacesDisabled
= (PP_Bool (*)(void))&Pnacl_M25_PPB_NaCl_Private_Are3DInterfacesDisabled
,
5228 .BrokerDuplicateHandle
= (int32_t (*)(PP_FileHandle source_handle
, uint32_t process_id
, PP_FileHandle
* target_handle
, uint32_t desired_access
, uint32_t options
))&Pnacl_M25_PPB_NaCl_Private_BrokerDuplicateHandle
,
5229 .GetReadExecPnaclFd
= (void (*)(const char* url
, struct PP_NaClFileInfo
* out_file_info
))&Pnacl_M25_PPB_NaCl_Private_GetReadExecPnaclFd
,
5230 .CreateTemporaryFile
= (PP_FileHandle (*)(PP_Instance instance
))&Pnacl_M25_PPB_NaCl_Private_CreateTemporaryFile
,
5231 .GetNumberOfProcessors
= (int32_t (*)(void))&Pnacl_M25_PPB_NaCl_Private_GetNumberOfProcessors
,
5232 .IsNonSFIModeEnabled
= (PP_Bool (*)(void))&Pnacl_M25_PPB_NaCl_Private_IsNonSFIModeEnabled
,
5233 .ReportTranslationFinished
= (void (*)(PP_Instance instance
, PP_Bool success
, int32_t opt_level
, int64_t pexe_size
, int64_t compile_time_us
))&Pnacl_M25_PPB_NaCl_Private_ReportTranslationFinished
,
5234 .DispatchEvent
= (void (*)(PP_Instance instance
, PP_NaClEventType event_type
, const char* resource_url
, PP_Bool length_is_computable
, uint64_t loaded_bytes
, uint64_t total_bytes
))&Pnacl_M25_PPB_NaCl_Private_DispatchEvent
,
5235 .ReportLoadSuccess
= (void (*)(PP_Instance instance
, uint64_t loaded_bytes
, uint64_t total_bytes
))&Pnacl_M25_PPB_NaCl_Private_ReportLoadSuccess
,
5236 .ReportLoadError
= (void (*)(PP_Instance instance
, PP_NaClError error
, const char* error_message
))&Pnacl_M25_PPB_NaCl_Private_ReportLoadError
,
5237 .ReportLoadAbort
= (void (*)(PP_Instance instance
))&Pnacl_M25_PPB_NaCl_Private_ReportLoadAbort
,
5238 .NexeDidCrash
= (void (*)(PP_Instance instance
, const char* crash_log
))&Pnacl_M25_PPB_NaCl_Private_NexeDidCrash
,
5239 .InstanceCreated
= (void (*)(PP_Instance instance
))&Pnacl_M25_PPB_NaCl_Private_InstanceCreated
,
5240 .InstanceDestroyed
= (void (*)(PP_Instance instance
))&Pnacl_M25_PPB_NaCl_Private_InstanceDestroyed
,
5241 .NaClDebugEnabledForURL
= (PP_Bool (*)(const char* alleged_nmf_url
))&Pnacl_M25_PPB_NaCl_Private_NaClDebugEnabledForURL
,
5242 .GetSandboxArch
= (const char* (*)(void))&Pnacl_M25_PPB_NaCl_Private_GetSandboxArch
,
5243 .LogToConsole
= (void (*)(PP_Instance instance
, const char* message
))&Pnacl_M25_PPB_NaCl_Private_LogToConsole
,
5244 .GetNaClReadyState
= (PP_NaClReadyState (*)(PP_Instance instance
))&Pnacl_M25_PPB_NaCl_Private_GetNaClReadyState
,
5245 .GetExitStatus
= (int32_t (*)(PP_Instance instance
))&Pnacl_M25_PPB_NaCl_Private_GetExitStatus
,
5246 .SetExitStatus
= (void (*)(PP_Instance instance
, int32_t exit_status
))&Pnacl_M25_PPB_NaCl_Private_SetExitStatus
,
5247 .Vlog
= (void (*)(const char* message
))&Pnacl_M25_PPB_NaCl_Private_Vlog
,
5248 .InitializePlugin
= (void (*)(PP_Instance instance
, uint32_t argc
, const char* argn
[], const char* argv
[]))&Pnacl_M25_PPB_NaCl_Private_InitializePlugin
,
5249 .GetNexeSize
= (int64_t (*)(PP_Instance instance
))&Pnacl_M25_PPB_NaCl_Private_GetNexeSize
,
5250 .RequestNaClManifest
= (void (*)(PP_Instance instance
, struct PP_CompletionCallback callback
))&Pnacl_M25_PPB_NaCl_Private_RequestNaClManifest
,
5251 .GetManifestBaseURL
= (struct PP_Var (*)(PP_Instance instance
))&Pnacl_M25_PPB_NaCl_Private_GetManifestBaseURL
,
5252 .ProcessNaClManifest
= (void (*)(PP_Instance instance
, const char* program_url
))&Pnacl_M25_PPB_NaCl_Private_ProcessNaClManifest
,
5253 .DevInterfacesEnabled
= (PP_Bool (*)(PP_Instance instance
))&Pnacl_M25_PPB_NaCl_Private_DevInterfacesEnabled
,
5254 .GetManifestProgramURL
= (PP_Bool (*)(PP_Instance instance
, struct PP_Var
* full_url
, struct PP_PNaClOptions
* pnacl_options
, PP_Bool
* uses_nonsfi_mode
))&Pnacl_M25_PPB_NaCl_Private_GetManifestProgramURL
,
5255 .GetPnaclResourceInfo
= (PP_Bool (*)(PP_Instance instance
, struct PP_Var
* llc_tool_name
, struct PP_Var
* ld_tool_name
))&Pnacl_M25_PPB_NaCl_Private_GetPnaclResourceInfo
,
5256 .GetCpuFeatureAttrs
= (struct PP_Var (*)(void))&Pnacl_M25_PPB_NaCl_Private_GetCpuFeatureAttrs
,
5257 .PostMessageToJavaScript
= (void (*)(PP_Instance instance
, const char* message
))&Pnacl_M25_PPB_NaCl_Private_PostMessageToJavaScript
,
5258 .DownloadNexe
= (void (*)(PP_Instance instance
, const char* url
, struct PP_NaClFileInfo
* file_info
, struct PP_CompletionCallback callback
))&Pnacl_M25_PPB_NaCl_Private_DownloadNexe
,
5259 .ReportSelLdrStatus
= (void (*)(PP_Instance instance
, int32_t load_status
, int32_t max_status
))&Pnacl_M25_PPB_NaCl_Private_ReportSelLdrStatus
,
5260 .LogTranslateTime
= (void (*)(const char* histogram_name
, int64_t time_us
))&Pnacl_M25_PPB_NaCl_Private_LogTranslateTime
,
5261 .OpenManifestEntry
= (void (*)(PP_Instance instance
, PP_Bool is_helper_process
, const char* key
, struct PP_NaClFileInfo
* file_info
, struct PP_CompletionCallback callback
))&Pnacl_M25_PPB_NaCl_Private_OpenManifestEntry
,
5262 .SetPNaClStartTime
= (void (*)(PP_Instance instance
))&Pnacl_M25_PPB_NaCl_Private_SetPNaClStartTime
,
5263 .StreamPexe
= (void (*)(PP_Instance instance
, const char* pexe_url
, int32_t opt_level
, const struct PPP_PexeStreamHandler_1_0
* stream_handler
, void* stream_handler_user_data
))&Pnacl_M25_PPB_NaCl_Private_StreamPexe
5266 static const struct PPB_NetAddress_Private_0_1 Pnacl_Wrappers_PPB_NetAddress_Private_0_1
= {
5267 .AreEqual
= (PP_Bool (*)(const struct PP_NetAddress_Private
* addr1
, const struct PP_NetAddress_Private
* addr2
))&Pnacl_M17_PPB_NetAddress_Private_AreEqual
,
5268 .AreHostsEqual
= (PP_Bool (*)(const struct PP_NetAddress_Private
* addr1
, const struct PP_NetAddress_Private
* addr2
))&Pnacl_M17_PPB_NetAddress_Private_AreHostsEqual
,
5269 .Describe
= (struct PP_Var (*)(PP_Module module
, const struct PP_NetAddress_Private
* addr
, PP_Bool include_port
))&Pnacl_M17_PPB_NetAddress_Private_Describe
,
5270 .ReplacePort
= (PP_Bool (*)(const struct PP_NetAddress_Private
* src_addr
, uint16_t port
, struct PP_NetAddress_Private
* addr_out
))&Pnacl_M17_PPB_NetAddress_Private_ReplacePort
,
5271 .GetAnyAddress
= (void (*)(PP_Bool is_ipv6
, struct PP_NetAddress_Private
* addr
))&Pnacl_M17_PPB_NetAddress_Private_GetAnyAddress
5274 static const struct PPB_NetAddress_Private_1_0 Pnacl_Wrappers_PPB_NetAddress_Private_1_0
= {
5275 .AreEqual
= (PP_Bool (*)(const struct PP_NetAddress_Private
* addr1
, const struct PP_NetAddress_Private
* addr2
))&Pnacl_M19_0_PPB_NetAddress_Private_AreEqual
,
5276 .AreHostsEqual
= (PP_Bool (*)(const struct PP_NetAddress_Private
* addr1
, const struct PP_NetAddress_Private
* addr2
))&Pnacl_M19_0_PPB_NetAddress_Private_AreHostsEqual
,
5277 .Describe
= (struct PP_Var (*)(PP_Module module
, const struct PP_NetAddress_Private
* addr
, PP_Bool include_port
))&Pnacl_M19_0_PPB_NetAddress_Private_Describe
,
5278 .ReplacePort
= (PP_Bool (*)(const struct PP_NetAddress_Private
* src_addr
, uint16_t port
, struct PP_NetAddress_Private
* addr_out
))&Pnacl_M19_0_PPB_NetAddress_Private_ReplacePort
,
5279 .GetAnyAddress
= (void (*)(PP_Bool is_ipv6
, struct PP_NetAddress_Private
* addr
))&Pnacl_M19_0_PPB_NetAddress_Private_GetAnyAddress
,
5280 .GetFamily
= (PP_NetAddressFamily_Private (*)(const struct PP_NetAddress_Private
* addr
))&Pnacl_M19_0_PPB_NetAddress_Private_GetFamily
,
5281 .GetPort
= (uint16_t (*)(const struct PP_NetAddress_Private
* addr
))&Pnacl_M19_0_PPB_NetAddress_Private_GetPort
,
5282 .GetAddress
= (PP_Bool (*)(const struct PP_NetAddress_Private
* addr
, void* address
, uint16_t address_size
))&Pnacl_M19_0_PPB_NetAddress_Private_GetAddress
5285 static const struct PPB_NetAddress_Private_1_1 Pnacl_Wrappers_PPB_NetAddress_Private_1_1
= {
5286 .AreEqual
= (PP_Bool (*)(const struct PP_NetAddress_Private
* addr1
, const struct PP_NetAddress_Private
* addr2
))&Pnacl_M19_1_PPB_NetAddress_Private_AreEqual
,
5287 .AreHostsEqual
= (PP_Bool (*)(const struct PP_NetAddress_Private
* addr1
, const struct PP_NetAddress_Private
* addr2
))&Pnacl_M19_1_PPB_NetAddress_Private_AreHostsEqual
,
5288 .Describe
= (struct PP_Var (*)(PP_Module module
, const struct PP_NetAddress_Private
* addr
, PP_Bool include_port
))&Pnacl_M19_1_PPB_NetAddress_Private_Describe
,
5289 .ReplacePort
= (PP_Bool (*)(const struct PP_NetAddress_Private
* src_addr
, uint16_t port
, struct PP_NetAddress_Private
* addr_out
))&Pnacl_M19_1_PPB_NetAddress_Private_ReplacePort
,
5290 .GetAnyAddress
= (void (*)(PP_Bool is_ipv6
, struct PP_NetAddress_Private
* addr
))&Pnacl_M19_1_PPB_NetAddress_Private_GetAnyAddress
,
5291 .GetFamily
= (PP_NetAddressFamily_Private (*)(const struct PP_NetAddress_Private
* addr
))&Pnacl_M19_1_PPB_NetAddress_Private_GetFamily
,
5292 .GetPort
= (uint16_t (*)(const struct PP_NetAddress_Private
* addr
))&Pnacl_M19_1_PPB_NetAddress_Private_GetPort
,
5293 .GetAddress
= (PP_Bool (*)(const struct PP_NetAddress_Private
* addr
, void* address
, uint16_t address_size
))&Pnacl_M19_1_PPB_NetAddress_Private_GetAddress
,
5294 .GetScopeID
= (uint32_t (*)(const struct PP_NetAddress_Private
* addr
))&Pnacl_M19_1_PPB_NetAddress_Private_GetScopeID
,
5295 .CreateFromIPv4Address
= (void (*)(const uint8_t ip
[4], uint16_t port
, struct PP_NetAddress_Private
* addr_out
))&Pnacl_M19_1_PPB_NetAddress_Private_CreateFromIPv4Address
,
5296 .CreateFromIPv6Address
= (void (*)(const uint8_t ip
[16], uint32_t scope_id
, uint16_t port
, struct PP_NetAddress_Private
* addr_out
))&Pnacl_M19_1_PPB_NetAddress_Private_CreateFromIPv6Address
5299 static const struct PPB_OutputProtection_Private_0_1 Pnacl_Wrappers_PPB_OutputProtection_Private_0_1
= {
5300 .Create
= (PP_Resource (*)(PP_Instance instance
))&Pnacl_M31_PPB_OutputProtection_Private_Create
,
5301 .IsOutputProtection
= (PP_Bool (*)(PP_Resource resource
))&Pnacl_M31_PPB_OutputProtection_Private_IsOutputProtection
,
5302 .QueryStatus
= (int32_t (*)(PP_Resource resource
, uint32_t* link_mask
, uint32_t* protection_mask
, struct PP_CompletionCallback callback
))&Pnacl_M31_PPB_OutputProtection_Private_QueryStatus
,
5303 .EnableProtection
= (int32_t (*)(PP_Resource resource
, uint32_t desired_protection_mask
, struct PP_CompletionCallback callback
))&Pnacl_M31_PPB_OutputProtection_Private_EnableProtection
5306 static const struct PPB_PlatformVerification_Private_0_2 Pnacl_Wrappers_PPB_PlatformVerification_Private_0_2
= {
5307 .Create
= (PP_Resource (*)(PP_Instance instance
))&Pnacl_M32_PPB_PlatformVerification_Private_Create
,
5308 .IsPlatformVerification
= (PP_Bool (*)(PP_Resource resource
))&Pnacl_M32_PPB_PlatformVerification_Private_IsPlatformVerification
,
5309 .ChallengePlatform
= (int32_t (*)(PP_Resource instance
, struct PP_Var service_id
, struct PP_Var challenge
, struct PP_Var
* signed_data
, struct PP_Var
* signed_data_signature
, struct PP_Var
* platform_key_certificate
, struct PP_CompletionCallback callback
))&Pnacl_M32_PPB_PlatformVerification_Private_ChallengePlatform
5312 static const struct PPB_Talk_Private_1_0 Pnacl_Wrappers_PPB_Talk_Private_1_0
= {
5313 .Create
= (PP_Resource (*)(PP_Instance instance
))&Pnacl_M19_PPB_Talk_Private_Create
,
5314 .GetPermission
= (int32_t (*)(PP_Resource talk_resource
, struct PP_CompletionCallback callback
))&Pnacl_M19_PPB_Talk_Private_GetPermission
5317 static const struct PPB_Talk_Private_2_0 Pnacl_Wrappers_PPB_Talk_Private_2_0
= {
5318 .Create
= (PP_Resource (*)(PP_Instance instance
))&Pnacl_M29_PPB_Talk_Private_Create
,
5319 .RequestPermission
= (int32_t (*)(PP_Resource talk_resource
, PP_TalkPermission permission
, struct PP_CompletionCallback callback
))&Pnacl_M29_PPB_Talk_Private_RequestPermission
,
5320 .StartRemoting
= (int32_t (*)(PP_Resource talk_resource
, PP_TalkEventCallback event_callback
, void* user_data
, struct PP_CompletionCallback callback
))&Pnacl_M29_PPB_Talk_Private_StartRemoting
,
5321 .StopRemoting
= (int32_t (*)(PP_Resource talk_resource
, struct PP_CompletionCallback callback
))&Pnacl_M29_PPB_Talk_Private_StopRemoting
5324 static const struct PPB_TCPServerSocket_Private_0_1 Pnacl_Wrappers_PPB_TCPServerSocket_Private_0_1
= {
5325 .Create
= (PP_Resource (*)(PP_Instance instance
))&Pnacl_M18_PPB_TCPServerSocket_Private_Create
,
5326 .IsTCPServerSocket
= (PP_Bool (*)(PP_Resource resource
))&Pnacl_M18_PPB_TCPServerSocket_Private_IsTCPServerSocket
,
5327 .Listen
= (int32_t (*)(PP_Resource tcp_server_socket
, const struct PP_NetAddress_Private
* addr
, int32_t backlog
, struct PP_CompletionCallback callback
))&Pnacl_M18_PPB_TCPServerSocket_Private_Listen
,
5328 .Accept
= (int32_t (*)(PP_Resource tcp_server_socket
, PP_Resource
* tcp_socket
, struct PP_CompletionCallback callback
))&Pnacl_M18_PPB_TCPServerSocket_Private_Accept
,
5329 .StopListening
= (void (*)(PP_Resource tcp_server_socket
))&Pnacl_M18_PPB_TCPServerSocket_Private_StopListening
5332 static const struct PPB_TCPServerSocket_Private_0_2 Pnacl_Wrappers_PPB_TCPServerSocket_Private_0_2
= {
5333 .Create
= (PP_Resource (*)(PP_Instance instance
))&Pnacl_M28_PPB_TCPServerSocket_Private_Create
,
5334 .IsTCPServerSocket
= (PP_Bool (*)(PP_Resource resource
))&Pnacl_M28_PPB_TCPServerSocket_Private_IsTCPServerSocket
,
5335 .Listen
= (int32_t (*)(PP_Resource tcp_server_socket
, const struct PP_NetAddress_Private
* addr
, int32_t backlog
, struct PP_CompletionCallback callback
))&Pnacl_M28_PPB_TCPServerSocket_Private_Listen
,
5336 .Accept
= (int32_t (*)(PP_Resource tcp_server_socket
, PP_Resource
* tcp_socket
, struct PP_CompletionCallback callback
))&Pnacl_M28_PPB_TCPServerSocket_Private_Accept
,
5337 .GetLocalAddress
= (int32_t (*)(PP_Resource tcp_server_socket
, struct PP_NetAddress_Private
* addr
))&Pnacl_M28_PPB_TCPServerSocket_Private_GetLocalAddress
,
5338 .StopListening
= (void (*)(PP_Resource tcp_server_socket
))&Pnacl_M28_PPB_TCPServerSocket_Private_StopListening
5341 static const struct PPB_TCPSocket_Private_0_3 Pnacl_Wrappers_PPB_TCPSocket_Private_0_3
= {
5342 .Create
= (PP_Resource (*)(PP_Instance instance
))&Pnacl_M17_PPB_TCPSocket_Private_Create
,
5343 .IsTCPSocket
= (PP_Bool (*)(PP_Resource resource
))&Pnacl_M17_PPB_TCPSocket_Private_IsTCPSocket
,
5344 .Connect
= (int32_t (*)(PP_Resource tcp_socket
, const char* host
, uint16_t port
, struct PP_CompletionCallback callback
))&Pnacl_M17_PPB_TCPSocket_Private_Connect
,
5345 .ConnectWithNetAddress
= (int32_t (*)(PP_Resource tcp_socket
, const struct PP_NetAddress_Private
* addr
, struct PP_CompletionCallback callback
))&Pnacl_M17_PPB_TCPSocket_Private_ConnectWithNetAddress
,
5346 .GetLocalAddress
= (PP_Bool (*)(PP_Resource tcp_socket
, struct PP_NetAddress_Private
* local_addr
))&Pnacl_M17_PPB_TCPSocket_Private_GetLocalAddress
,
5347 .GetRemoteAddress
= (PP_Bool (*)(PP_Resource tcp_socket
, struct PP_NetAddress_Private
* remote_addr
))&Pnacl_M17_PPB_TCPSocket_Private_GetRemoteAddress
,
5348 .SSLHandshake
= (int32_t (*)(PP_Resource tcp_socket
, const char* server_name
, uint16_t server_port
, struct PP_CompletionCallback callback
))&Pnacl_M17_PPB_TCPSocket_Private_SSLHandshake
,
5349 .Read
= (int32_t (*)(PP_Resource tcp_socket
, char* buffer
, int32_t bytes_to_read
, struct PP_CompletionCallback callback
))&Pnacl_M17_PPB_TCPSocket_Private_Read
,
5350 .Write
= (int32_t (*)(PP_Resource tcp_socket
, const char* buffer
, int32_t bytes_to_write
, struct PP_CompletionCallback callback
))&Pnacl_M17_PPB_TCPSocket_Private_Write
,
5351 .Disconnect
= (void (*)(PP_Resource tcp_socket
))&Pnacl_M17_PPB_TCPSocket_Private_Disconnect
5354 static const struct PPB_TCPSocket_Private_0_4 Pnacl_Wrappers_PPB_TCPSocket_Private_0_4
= {
5355 .Create
= (PP_Resource (*)(PP_Instance instance
))&Pnacl_M20_PPB_TCPSocket_Private_Create
,
5356 .IsTCPSocket
= (PP_Bool (*)(PP_Resource resource
))&Pnacl_M20_PPB_TCPSocket_Private_IsTCPSocket
,
5357 .Connect
= (int32_t (*)(PP_Resource tcp_socket
, const char* host
, uint16_t port
, struct PP_CompletionCallback callback
))&Pnacl_M20_PPB_TCPSocket_Private_Connect
,
5358 .ConnectWithNetAddress
= (int32_t (*)(PP_Resource tcp_socket
, const struct PP_NetAddress_Private
* addr
, struct PP_CompletionCallback callback
))&Pnacl_M20_PPB_TCPSocket_Private_ConnectWithNetAddress
,
5359 .GetLocalAddress
= (PP_Bool (*)(PP_Resource tcp_socket
, struct PP_NetAddress_Private
* local_addr
))&Pnacl_M20_PPB_TCPSocket_Private_GetLocalAddress
,
5360 .GetRemoteAddress
= (PP_Bool (*)(PP_Resource tcp_socket
, struct PP_NetAddress_Private
* remote_addr
))&Pnacl_M20_PPB_TCPSocket_Private_GetRemoteAddress
,
5361 .SSLHandshake
= (int32_t (*)(PP_Resource tcp_socket
, const char* server_name
, uint16_t server_port
, struct PP_CompletionCallback callback
))&Pnacl_M20_PPB_TCPSocket_Private_SSLHandshake
,
5362 .GetServerCertificate
= (PP_Resource (*)(PP_Resource tcp_socket
))&Pnacl_M20_PPB_TCPSocket_Private_GetServerCertificate
,
5363 .AddChainBuildingCertificate
= (PP_Bool (*)(PP_Resource tcp_socket
, PP_Resource certificate
, PP_Bool is_trusted
))&Pnacl_M20_PPB_TCPSocket_Private_AddChainBuildingCertificate
,
5364 .Read
= (int32_t (*)(PP_Resource tcp_socket
, char* buffer
, int32_t bytes_to_read
, struct PP_CompletionCallback callback
))&Pnacl_M20_PPB_TCPSocket_Private_Read
,
5365 .Write
= (int32_t (*)(PP_Resource tcp_socket
, const char* buffer
, int32_t bytes_to_write
, struct PP_CompletionCallback callback
))&Pnacl_M20_PPB_TCPSocket_Private_Write
,
5366 .Disconnect
= (void (*)(PP_Resource tcp_socket
))&Pnacl_M20_PPB_TCPSocket_Private_Disconnect
5369 static const struct PPB_TCPSocket_Private_0_5 Pnacl_Wrappers_PPB_TCPSocket_Private_0_5
= {
5370 .Create
= (PP_Resource (*)(PP_Instance instance
))&Pnacl_M27_PPB_TCPSocket_Private_Create
,
5371 .IsTCPSocket
= (PP_Bool (*)(PP_Resource resource
))&Pnacl_M27_PPB_TCPSocket_Private_IsTCPSocket
,
5372 .Connect
= (int32_t (*)(PP_Resource tcp_socket
, const char* host
, uint16_t port
, struct PP_CompletionCallback callback
))&Pnacl_M27_PPB_TCPSocket_Private_Connect
,
5373 .ConnectWithNetAddress
= (int32_t (*)(PP_Resource tcp_socket
, const struct PP_NetAddress_Private
* addr
, struct PP_CompletionCallback callback
))&Pnacl_M27_PPB_TCPSocket_Private_ConnectWithNetAddress
,
5374 .GetLocalAddress
= (PP_Bool (*)(PP_Resource tcp_socket
, struct PP_NetAddress_Private
* local_addr
))&Pnacl_M27_PPB_TCPSocket_Private_GetLocalAddress
,
5375 .GetRemoteAddress
= (PP_Bool (*)(PP_Resource tcp_socket
, struct PP_NetAddress_Private
* remote_addr
))&Pnacl_M27_PPB_TCPSocket_Private_GetRemoteAddress
,
5376 .SSLHandshake
= (int32_t (*)(PP_Resource tcp_socket
, const char* server_name
, uint16_t server_port
, struct PP_CompletionCallback callback
))&Pnacl_M27_PPB_TCPSocket_Private_SSLHandshake
,
5377 .GetServerCertificate
= (PP_Resource (*)(PP_Resource tcp_socket
))&Pnacl_M27_PPB_TCPSocket_Private_GetServerCertificate
,
5378 .AddChainBuildingCertificate
= (PP_Bool (*)(PP_Resource tcp_socket
, PP_Resource certificate
, PP_Bool is_trusted
))&Pnacl_M27_PPB_TCPSocket_Private_AddChainBuildingCertificate
,
5379 .Read
= (int32_t (*)(PP_Resource tcp_socket
, char* buffer
, int32_t bytes_to_read
, struct PP_CompletionCallback callback
))&Pnacl_M27_PPB_TCPSocket_Private_Read
,
5380 .Write
= (int32_t (*)(PP_Resource tcp_socket
, const char* buffer
, int32_t bytes_to_write
, struct PP_CompletionCallback callback
))&Pnacl_M27_PPB_TCPSocket_Private_Write
,
5381 .Disconnect
= (void (*)(PP_Resource tcp_socket
))&Pnacl_M27_PPB_TCPSocket_Private_Disconnect
,
5382 .SetOption
= (int32_t (*)(PP_Resource tcp_socket
, PP_TCPSocketOption_Private name
, struct PP_Var value
, struct PP_CompletionCallback callback
))&Pnacl_M27_PPB_TCPSocket_Private_SetOption
5385 static const struct PPB_Testing_Private_1_0 Pnacl_Wrappers_PPB_Testing_Private_1_0
= {
5386 .ReadImageData
= (PP_Bool (*)(PP_Resource device_context_2d
, PP_Resource image
, const struct PP_Point
* top_left
))&Pnacl_M33_PPB_Testing_Private_ReadImageData
,
5387 .RunMessageLoop
= (void (*)(PP_Instance instance
))&Pnacl_M33_PPB_Testing_Private_RunMessageLoop
,
5388 .QuitMessageLoop
= (void (*)(PP_Instance instance
))&Pnacl_M33_PPB_Testing_Private_QuitMessageLoop
,
5389 .GetLiveObjectsForInstance
= (uint32_t (*)(PP_Instance instance
))&Pnacl_M33_PPB_Testing_Private_GetLiveObjectsForInstance
,
5390 .IsOutOfProcess
= (PP_Bool (*)(void))&Pnacl_M33_PPB_Testing_Private_IsOutOfProcess
,
5391 .SimulateInputEvent
= (void (*)(PP_Instance instance
, PP_Resource input_event
))&Pnacl_M33_PPB_Testing_Private_SimulateInputEvent
,
5392 .GetDocumentURL
= (struct PP_Var (*)(PP_Instance instance
, struct PP_URLComponents_Dev
* components
))&Pnacl_M33_PPB_Testing_Private_GetDocumentURL
,
5393 .GetLiveVars
= (uint32_t (*)(struct PP_Var live_vars
[], uint32_t array_size
))&Pnacl_M33_PPB_Testing_Private_GetLiveVars
,
5394 .SetMinimumArrayBufferSizeForShmem
= (void (*)(PP_Instance instance
, uint32_t threshold
))&Pnacl_M33_PPB_Testing_Private_SetMinimumArrayBufferSizeForShmem
5397 static const struct PPB_UDPSocket_Private_0_2 Pnacl_Wrappers_PPB_UDPSocket_Private_0_2
= {
5398 .Create
= (PP_Resource (*)(PP_Instance instance_id
))&Pnacl_M17_PPB_UDPSocket_Private_Create
,
5399 .IsUDPSocket
= (PP_Bool (*)(PP_Resource resource_id
))&Pnacl_M17_PPB_UDPSocket_Private_IsUDPSocket
,
5400 .Bind
= (int32_t (*)(PP_Resource udp_socket
, const struct PP_NetAddress_Private
* addr
, struct PP_CompletionCallback callback
))&Pnacl_M17_PPB_UDPSocket_Private_Bind
,
5401 .RecvFrom
= (int32_t (*)(PP_Resource udp_socket
, char* buffer
, int32_t num_bytes
, struct PP_CompletionCallback callback
))&Pnacl_M17_PPB_UDPSocket_Private_RecvFrom
,
5402 .GetRecvFromAddress
= (PP_Bool (*)(PP_Resource udp_socket
, struct PP_NetAddress_Private
* addr
))&Pnacl_M17_PPB_UDPSocket_Private_GetRecvFromAddress
,
5403 .SendTo
= (int32_t (*)(PP_Resource udp_socket
, const char* buffer
, int32_t num_bytes
, const struct PP_NetAddress_Private
* addr
, struct PP_CompletionCallback callback
))&Pnacl_M17_PPB_UDPSocket_Private_SendTo
,
5404 .Close
= (void (*)(PP_Resource udp_socket
))&Pnacl_M17_PPB_UDPSocket_Private_Close
5407 static const struct PPB_UDPSocket_Private_0_3 Pnacl_Wrappers_PPB_UDPSocket_Private_0_3
= {
5408 .Create
= (PP_Resource (*)(PP_Instance instance_id
))&Pnacl_M19_PPB_UDPSocket_Private_Create
,
5409 .IsUDPSocket
= (PP_Bool (*)(PP_Resource resource_id
))&Pnacl_M19_PPB_UDPSocket_Private_IsUDPSocket
,
5410 .Bind
= (int32_t (*)(PP_Resource udp_socket
, const struct PP_NetAddress_Private
* addr
, struct PP_CompletionCallback callback
))&Pnacl_M19_PPB_UDPSocket_Private_Bind
,
5411 .GetBoundAddress
= (PP_Bool (*)(PP_Resource udp_socket
, struct PP_NetAddress_Private
* addr
))&Pnacl_M19_PPB_UDPSocket_Private_GetBoundAddress
,
5412 .RecvFrom
= (int32_t (*)(PP_Resource udp_socket
, char* buffer
, int32_t num_bytes
, struct PP_CompletionCallback callback
))&Pnacl_M19_PPB_UDPSocket_Private_RecvFrom
,
5413 .GetRecvFromAddress
= (PP_Bool (*)(PP_Resource udp_socket
, struct PP_NetAddress_Private
* addr
))&Pnacl_M19_PPB_UDPSocket_Private_GetRecvFromAddress
,
5414 .SendTo
= (int32_t (*)(PP_Resource udp_socket
, const char* buffer
, int32_t num_bytes
, const struct PP_NetAddress_Private
* addr
, struct PP_CompletionCallback callback
))&Pnacl_M19_PPB_UDPSocket_Private_SendTo
,
5415 .Close
= (void (*)(PP_Resource udp_socket
))&Pnacl_M19_PPB_UDPSocket_Private_Close
5418 static const struct PPB_UDPSocket_Private_0_4 Pnacl_Wrappers_PPB_UDPSocket_Private_0_4
= {
5419 .Create
= (PP_Resource (*)(PP_Instance instance_id
))&Pnacl_M23_PPB_UDPSocket_Private_Create
,
5420 .IsUDPSocket
= (PP_Bool (*)(PP_Resource resource_id
))&Pnacl_M23_PPB_UDPSocket_Private_IsUDPSocket
,
5421 .SetSocketFeature
= (int32_t (*)(PP_Resource udp_socket
, PP_UDPSocketFeature_Private name
, struct PP_Var value
))&Pnacl_M23_PPB_UDPSocket_Private_SetSocketFeature
,
5422 .Bind
= (int32_t (*)(PP_Resource udp_socket
, const struct PP_NetAddress_Private
* addr
, struct PP_CompletionCallback callback
))&Pnacl_M23_PPB_UDPSocket_Private_Bind
,
5423 .GetBoundAddress
= (PP_Bool (*)(PP_Resource udp_socket
, struct PP_NetAddress_Private
* addr
))&Pnacl_M23_PPB_UDPSocket_Private_GetBoundAddress
,
5424 .RecvFrom
= (int32_t (*)(PP_Resource udp_socket
, char* buffer
, int32_t num_bytes
, struct PP_CompletionCallback callback
))&Pnacl_M23_PPB_UDPSocket_Private_RecvFrom
,
5425 .GetRecvFromAddress
= (PP_Bool (*)(PP_Resource udp_socket
, struct PP_NetAddress_Private
* addr
))&Pnacl_M23_PPB_UDPSocket_Private_GetRecvFromAddress
,
5426 .SendTo
= (int32_t (*)(PP_Resource udp_socket
, const char* buffer
, int32_t num_bytes
, const struct PP_NetAddress_Private
* addr
, struct PP_CompletionCallback callback
))&Pnacl_M23_PPB_UDPSocket_Private_SendTo
,
5427 .Close
= (void (*)(PP_Resource udp_socket
))&Pnacl_M23_PPB_UDPSocket_Private_Close
5430 static const struct PPB_UMA_Private_0_3 Pnacl_Wrappers_PPB_UMA_Private_0_3
= {
5431 .HistogramCustomTimes
= (void (*)(PP_Instance instance
, struct PP_Var name
, int64_t sample
, int64_t min
, int64_t max
, uint32_t bucket_count
))&Pnacl_M35_PPB_UMA_Private_HistogramCustomTimes
,
5432 .HistogramCustomCounts
= (void (*)(PP_Instance instance
, struct PP_Var name
, int32_t sample
, int32_t min
, int32_t max
, uint32_t bucket_count
))&Pnacl_M35_PPB_UMA_Private_HistogramCustomCounts
,
5433 .HistogramEnumeration
= (void (*)(PP_Instance instance
, struct PP_Var name
, int32_t sample
, int32_t boundary_value
))&Pnacl_M35_PPB_UMA_Private_HistogramEnumeration
,
5434 .IsCrashReportingEnabled
= (int32_t (*)(PP_Instance instance
, struct PP_CompletionCallback callback
))&Pnacl_M35_PPB_UMA_Private_IsCrashReportingEnabled
5437 static const struct PPB_VideoDestination_Private_0_1 Pnacl_Wrappers_PPB_VideoDestination_Private_0_1
= {
5438 .Create
= (PP_Resource (*)(PP_Instance instance
))&Pnacl_M28_PPB_VideoDestination_Private_Create
,
5439 .IsVideoDestination
= (PP_Bool (*)(PP_Resource resource
))&Pnacl_M28_PPB_VideoDestination_Private_IsVideoDestination
,
5440 .Open
= (int32_t (*)(PP_Resource destination
, struct PP_Var stream_url
, struct PP_CompletionCallback callback
))&Pnacl_M28_PPB_VideoDestination_Private_Open
,
5441 .PutFrame
= (int32_t (*)(PP_Resource destination
, const struct PP_VideoFrame_Private
* frame
))&Pnacl_M28_PPB_VideoDestination_Private_PutFrame
,
5442 .Close
= (void (*)(PP_Resource destination
))&Pnacl_M28_PPB_VideoDestination_Private_Close
5445 static const struct PPB_VideoSource_Private_0_1 Pnacl_Wrappers_PPB_VideoSource_Private_0_1
= {
5446 .Create
= (PP_Resource (*)(PP_Instance instance
))&Pnacl_M28_PPB_VideoSource_Private_Create
,
5447 .IsVideoSource
= (PP_Bool (*)(PP_Resource resource
))&Pnacl_M28_PPB_VideoSource_Private_IsVideoSource
,
5448 .Open
= (int32_t (*)(PP_Resource source
, struct PP_Var stream_url
, struct PP_CompletionCallback callback
))&Pnacl_M28_PPB_VideoSource_Private_Open
,
5449 .GetFrame
= (int32_t (*)(PP_Resource source
, struct PP_VideoFrame_Private
* frame
, struct PP_CompletionCallback callback
))&Pnacl_M28_PPB_VideoSource_Private_GetFrame
,
5450 .Close
= (void (*)(PP_Resource source
))&Pnacl_M28_PPB_VideoSource_Private_Close
5453 static const struct PPB_X509Certificate_Private_0_1 Pnacl_Wrappers_PPB_X509Certificate_Private_0_1
= {
5454 .Create
= (PP_Resource (*)(PP_Instance instance
))&Pnacl_M19_PPB_X509Certificate_Private_Create
,
5455 .IsX509CertificatePrivate
= (PP_Bool (*)(PP_Resource resource
))&Pnacl_M19_PPB_X509Certificate_Private_IsX509CertificatePrivate
,
5456 .Initialize
= (PP_Bool (*)(PP_Resource resource
, const char* bytes
, uint32_t length
))&Pnacl_M19_PPB_X509Certificate_Private_Initialize
,
5457 .GetField
= (struct PP_Var (*)(PP_Resource resource
, PP_X509Certificate_Private_Field field
))&Pnacl_M19_PPB_X509Certificate_Private_GetField
5460 static const struct PPP_ContentDecryptor_Private_0_12 Pnacl_Wrappers_PPP_ContentDecryptor_Private_0_12
= {
5461 .Initialize
= &Pnacl_M36_PPP_ContentDecryptor_Private_Initialize
,
5462 .CreateSession
= &Pnacl_M36_PPP_ContentDecryptor_Private_CreateSession
,
5463 .LoadSession
= &Pnacl_M36_PPP_ContentDecryptor_Private_LoadSession
,
5464 .UpdateSession
= &Pnacl_M36_PPP_ContentDecryptor_Private_UpdateSession
,
5465 .ReleaseSession
= &Pnacl_M36_PPP_ContentDecryptor_Private_ReleaseSession
,
5466 .Decrypt
= &Pnacl_M36_PPP_ContentDecryptor_Private_Decrypt
,
5467 .InitializeAudioDecoder
= &Pnacl_M36_PPP_ContentDecryptor_Private_InitializeAudioDecoder
,
5468 .InitializeVideoDecoder
= &Pnacl_M36_PPP_ContentDecryptor_Private_InitializeVideoDecoder
,
5469 .DeinitializeDecoder
= &Pnacl_M36_PPP_ContentDecryptor_Private_DeinitializeDecoder
,
5470 .ResetDecoder
= &Pnacl_M36_PPP_ContentDecryptor_Private_ResetDecoder
,
5471 .DecryptAndDecode
= &Pnacl_M36_PPP_ContentDecryptor_Private_DecryptAndDecode
5474 /* Not generating wrapper interface for PPP_Find_Private_0_3 */
5476 /* Not generating wrapper interface for PPP_Flash_BrowserOperations_1_0 */
5478 /* Not generating wrapper interface for PPP_Flash_BrowserOperations_1_2 */
5480 /* Not generating wrapper interface for PPP_Flash_BrowserOperations_1_3 */
5482 static const struct PPP_Instance_Private_0_1 Pnacl_Wrappers_PPP_Instance_Private_0_1
= {
5483 .GetInstanceObject
= &Pnacl_M18_PPP_Instance_Private_GetInstanceObject
5486 /* Not generating wrapper interface for PPP_PexeStreamHandler_1_0 */
5488 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Compositor_0_1
= {
5489 .iface_macro
= PPB_COMPOSITOR_INTERFACE_0_1
,
5490 .wrapped_iface
= (const void *) &Pnacl_Wrappers_PPB_Compositor_0_1
,
5494 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_CompositorLayer_0_1
= {
5495 .iface_macro
= PPB_COMPOSITORLAYER_INTERFACE_0_1
,
5496 .wrapped_iface
= (const void *) &Pnacl_Wrappers_PPB_CompositorLayer_0_1
,
5500 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Console_1_0
= {
5501 .iface_macro
= PPB_CONSOLE_INTERFACE_1_0
,
5502 .wrapped_iface
= (const void *) &Pnacl_Wrappers_PPB_Console_1_0
,
5506 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Core_1_0
= {
5507 .iface_macro
= PPB_CORE_INTERFACE_1_0
,
5508 .wrapped_iface
= (const void *) &Pnacl_Wrappers_PPB_Core_1_0
,
5512 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileIO_1_0
= {
5513 .iface_macro
= PPB_FILEIO_INTERFACE_1_0
,
5514 .wrapped_iface
= (const void *) &Pnacl_Wrappers_PPB_FileIO_1_0
,
5518 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileIO_1_1
= {
5519 .iface_macro
= PPB_FILEIO_INTERFACE_1_1
,
5520 .wrapped_iface
= (const void *) &Pnacl_Wrappers_PPB_FileIO_1_1
,
5524 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileMapping_0_1
= {
5525 .iface_macro
= PPB_FILEMAPPING_INTERFACE_0_1
,
5526 .wrapped_iface
= (const void *) &Pnacl_Wrappers_PPB_FileMapping_0_1
,
5530 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileRef_1_0
= {
5531 .iface_macro
= PPB_FILEREF_INTERFACE_1_0
,
5532 .wrapped_iface
= (const void *) &Pnacl_Wrappers_PPB_FileRef_1_0
,
5536 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileRef_1_1
= {
5537 .iface_macro
= PPB_FILEREF_INTERFACE_1_1
,
5538 .wrapped_iface
= (const void *) &Pnacl_Wrappers_PPB_FileRef_1_1
,
5542 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileRef_1_2
= {
5543 .iface_macro
= PPB_FILEREF_INTERFACE_1_2
,
5544 .wrapped_iface
= (const void *) &Pnacl_Wrappers_PPB_FileRef_1_2
,
5548 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileSystem_1_0
= {
5549 .iface_macro
= PPB_FILESYSTEM_INTERFACE_1_0
,
5550 .wrapped_iface
= (const void *) &Pnacl_Wrappers_PPB_FileSystem_1_0
,
5554 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Graphics2D_1_0
= {
5555 .iface_macro
= PPB_GRAPHICS_2D_INTERFACE_1_0
,
5556 .wrapped_iface
= (const void *) &Pnacl_Wrappers_PPB_Graphics2D_1_0
,
5560 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Graphics2D_1_1
= {
5561 .iface_macro
= PPB_GRAPHICS_2D_INTERFACE_1_1
,
5562 .wrapped_iface
= (const void *) &Pnacl_Wrappers_PPB_Graphics2D_1_1
,
5566 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Graphics3D_1_0
= {
5567 .iface_macro
= PPB_GRAPHICS_3D_INTERFACE_1_0
,
5568 .wrapped_iface
= (const void *) &Pnacl_Wrappers_PPB_Graphics3D_1_0
,
5572 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_HostResolver_1_0
= {
5573 .iface_macro
= PPB_HOSTRESOLVER_INTERFACE_1_0
,
5574 .wrapped_iface
= (const void *) &Pnacl_Wrappers_PPB_HostResolver_1_0
,
5578 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MouseInputEvent_1_0
= {
5579 .iface_macro
= PPB_MOUSE_INPUT_EVENT_INTERFACE_1_0
,
5580 .wrapped_iface
= (const void *) &Pnacl_Wrappers_PPB_MouseInputEvent_1_0
,
5584 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MouseInputEvent_1_1
= {
5585 .iface_macro
= PPB_MOUSE_INPUT_EVENT_INTERFACE_1_1
,
5586 .wrapped_iface
= (const void *) &Pnacl_Wrappers_PPB_MouseInputEvent_1_1
,
5590 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_WheelInputEvent_1_0
= {
5591 .iface_macro
= PPB_WHEEL_INPUT_EVENT_INTERFACE_1_0
,
5592 .wrapped_iface
= (const void *) &Pnacl_Wrappers_PPB_WheelInputEvent_1_0
,
5596 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_KeyboardInputEvent_1_0
= {
5597 .iface_macro
= PPB_KEYBOARD_INPUT_EVENT_INTERFACE_1_0
,
5598 .wrapped_iface
= (const void *) &Pnacl_Wrappers_PPB_KeyboardInputEvent_1_0
,
5602 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_KeyboardInputEvent_1_2
= {
5603 .iface_macro
= PPB_KEYBOARD_INPUT_EVENT_INTERFACE_1_2
,
5604 .wrapped_iface
= (const void *) &Pnacl_Wrappers_PPB_KeyboardInputEvent_1_2
,
5608 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TouchInputEvent_1_0
= {
5609 .iface_macro
= PPB_TOUCH_INPUT_EVENT_INTERFACE_1_0
,
5610 .wrapped_iface
= (const void *) &Pnacl_Wrappers_PPB_TouchInputEvent_1_0
,
5614 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_IMEInputEvent_1_0
= {
5615 .iface_macro
= PPB_IME_INPUT_EVENT_INTERFACE_1_0
,
5616 .wrapped_iface
= (const void *) &Pnacl_Wrappers_PPB_IMEInputEvent_1_0
,
5620 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MediaStreamAudioTrack_0_1
= {
5621 .iface_macro
= PPB_MEDIASTREAMAUDIOTRACK_INTERFACE_0_1
,
5622 .wrapped_iface
= (const void *) &Pnacl_Wrappers_PPB_MediaStreamAudioTrack_0_1
,
5626 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MediaStreamVideoTrack_0_1
= {
5627 .iface_macro
= PPB_MEDIASTREAMVIDEOTRACK_INTERFACE_0_1
,
5628 .wrapped_iface
= (const void *) &Pnacl_Wrappers_PPB_MediaStreamVideoTrack_0_1
,
5632 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MediaStreamVideoTrack_1_0
= {
5633 .iface_macro
= PPB_MEDIASTREAMVIDEOTRACK_INTERFACE_1_0
,
5634 .wrapped_iface
= (const void *) &Pnacl_Wrappers_PPB_MediaStreamVideoTrack_1_0
,
5638 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MessageLoop_1_0
= {
5639 .iface_macro
= PPB_MESSAGELOOP_INTERFACE_1_0
,
5640 .wrapped_iface
= (const void *) &Pnacl_Wrappers_PPB_MessageLoop_1_0
,
5644 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Messaging_1_0
= {
5645 .iface_macro
= PPB_MESSAGING_INTERFACE_1_0
,
5646 .wrapped_iface
= (const void *) &Pnacl_Wrappers_PPB_Messaging_1_0
,
5650 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Messaging_1_1
= {
5651 .iface_macro
= PPB_MESSAGING_INTERFACE_1_1
,
5652 .wrapped_iface
= (const void *) &Pnacl_Wrappers_PPB_Messaging_1_1
,
5656 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MouseLock_1_0
= {
5657 .iface_macro
= PPB_MOUSELOCK_INTERFACE_1_0
,
5658 .wrapped_iface
= (const void *) &Pnacl_Wrappers_PPB_MouseLock_1_0
,
5662 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_NetAddress_1_0
= {
5663 .iface_macro
= PPB_NETADDRESS_INTERFACE_1_0
,
5664 .wrapped_iface
= (const void *) &Pnacl_Wrappers_PPB_NetAddress_1_0
,
5668 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_NetworkList_1_0
= {
5669 .iface_macro
= PPB_NETWORKLIST_INTERFACE_1_0
,
5670 .wrapped_iface
= (const void *) &Pnacl_Wrappers_PPB_NetworkList_1_0
,
5674 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_NetworkMonitor_1_0
= {
5675 .iface_macro
= PPB_NETWORKMONITOR_INTERFACE_1_0
,
5676 .wrapped_iface
= (const void *) &Pnacl_Wrappers_PPB_NetworkMonitor_1_0
,
5680 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_NetworkProxy_1_0
= {
5681 .iface_macro
= PPB_NETWORKPROXY_INTERFACE_1_0
,
5682 .wrapped_iface
= (const void *) &Pnacl_Wrappers_PPB_NetworkProxy_1_0
,
5686 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TCPSocket_1_0
= {
5687 .iface_macro
= PPB_TCPSOCKET_INTERFACE_1_0
,
5688 .wrapped_iface
= (const void *) &Pnacl_Wrappers_PPB_TCPSocket_1_0
,
5692 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TCPSocket_1_1
= {
5693 .iface_macro
= PPB_TCPSOCKET_INTERFACE_1_1
,
5694 .wrapped_iface
= (const void *) &Pnacl_Wrappers_PPB_TCPSocket_1_1
,
5698 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TextInputController_1_0
= {
5699 .iface_macro
= PPB_TEXTINPUTCONTROLLER_INTERFACE_1_0
,
5700 .wrapped_iface
= (const void *) &Pnacl_Wrappers_PPB_TextInputController_1_0
,
5704 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UDPSocket_1_0
= {
5705 .iface_macro
= PPB_UDPSOCKET_INTERFACE_1_0
,
5706 .wrapped_iface
= (const void *) &Pnacl_Wrappers_PPB_UDPSocket_1_0
,
5710 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLLoader_1_0
= {
5711 .iface_macro
= PPB_URLLOADER_INTERFACE_1_0
,
5712 .wrapped_iface
= (const void *) &Pnacl_Wrappers_PPB_URLLoader_1_0
,
5716 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLRequestInfo_1_0
= {
5717 .iface_macro
= PPB_URLREQUESTINFO_INTERFACE_1_0
,
5718 .wrapped_iface
= (const void *) &Pnacl_Wrappers_PPB_URLRequestInfo_1_0
,
5722 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLResponseInfo_1_0
= {
5723 .iface_macro
= PPB_URLRESPONSEINFO_INTERFACE_1_0
,
5724 .wrapped_iface
= (const void *) &Pnacl_Wrappers_PPB_URLResponseInfo_1_0
,
5728 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Var_1_0
= {
5729 .iface_macro
= PPB_VAR_INTERFACE_1_0
,
5730 .wrapped_iface
= (const void *) &Pnacl_Wrappers_PPB_Var_1_0
,
5734 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Var_1_1
= {
5735 .iface_macro
= PPB_VAR_INTERFACE_1_1
,
5736 .wrapped_iface
= (const void *) &Pnacl_Wrappers_PPB_Var_1_1
,
5740 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Var_1_2
= {
5741 .iface_macro
= PPB_VAR_INTERFACE_1_2
,
5742 .wrapped_iface
= (const void *) &Pnacl_Wrappers_PPB_Var_1_2
,
5746 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VarArray_1_0
= {
5747 .iface_macro
= PPB_VAR_ARRAY_INTERFACE_1_0
,
5748 .wrapped_iface
= (const void *) &Pnacl_Wrappers_PPB_VarArray_1_0
,
5752 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VarArrayBuffer_1_0
= {
5753 .iface_macro
= PPB_VAR_ARRAY_BUFFER_INTERFACE_1_0
,
5754 .wrapped_iface
= (const void *) &Pnacl_Wrappers_PPB_VarArrayBuffer_1_0
,
5758 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VarDictionary_1_0
= {
5759 .iface_macro
= PPB_VAR_DICTIONARY_INTERFACE_1_0
,
5760 .wrapped_iface
= (const void *) &Pnacl_Wrappers_PPB_VarDictionary_1_0
,
5764 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoDecoder_0_1
= {
5765 .iface_macro
= PPB_VIDEODECODER_INTERFACE_0_1
,
5766 .wrapped_iface
= (const void *) &Pnacl_Wrappers_PPB_VideoDecoder_0_1
,
5770 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_WebSocket_1_0
= {
5771 .iface_macro
= PPB_WEBSOCKET_INTERFACE_1_0
,
5772 .wrapped_iface
= (const void *) &Pnacl_Wrappers_PPB_WebSocket_1_0
,
5776 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Messaging_1_0
= {
5777 .iface_macro
= PPP_MESSAGING_INTERFACE_1_0
,
5778 .wrapped_iface
= (const void *) &Pnacl_Wrappers_PPP_Messaging_1_0
,
5782 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_3
= {
5783 .iface_macro
= PPB_AUDIO_INPUT_DEV_INTERFACE_0_3
,
5784 .wrapped_iface
= (const void *) &Pnacl_Wrappers_PPB_AudioInput_Dev_0_3
,
5788 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_4
= {
5789 .iface_macro
= PPB_AUDIO_INPUT_DEV_INTERFACE_0_4
,
5790 .wrapped_iface
= (const void *) &Pnacl_Wrappers_PPB_AudioInput_Dev_0_4
,
5794 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_DeviceRef_Dev_0_1
= {
5795 .iface_macro
= PPB_DEVICEREF_DEV_INTERFACE_0_1
,
5796 .wrapped_iface
= (const void *) &Pnacl_Wrappers_PPB_DeviceRef_Dev_0_1
,
5800 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_5
= {
5801 .iface_macro
= PPB_FILECHOOSER_DEV_INTERFACE_0_5
,
5802 .wrapped_iface
= (const void *) &Pnacl_Wrappers_PPB_FileChooser_Dev_0_5
,
5806 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_6
= {
5807 .iface_macro
= PPB_FILECHOOSER_DEV_INTERFACE_0_6
,
5808 .wrapped_iface
= (const void *) &Pnacl_Wrappers_PPB_FileChooser_Dev_0_6
,
5812 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Font_Dev_0_6
= {
5813 .iface_macro
= PPB_FONT_DEV_INTERFACE_0_6
,
5814 .wrapped_iface
= (const void *) &Pnacl_Wrappers_PPB_Font_Dev_0_6
,
5818 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_1
= {
5819 .iface_macro
= PPB_IME_INPUT_EVENT_DEV_INTERFACE_0_1
,
5820 .wrapped_iface
= (const void *) &Pnacl_Wrappers_PPB_IMEInputEvent_Dev_0_1
,
5824 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_2
= {
5825 .iface_macro
= PPB_IME_INPUT_EVENT_DEV_INTERFACE_0_2
,
5826 .wrapped_iface
= (const void *) &Pnacl_Wrappers_PPB_IMEInputEvent_Dev_0_2
,
5830 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Printing_Dev_0_7
= {
5831 .iface_macro
= PPB_PRINTING_DEV_INTERFACE_0_7
,
5832 .wrapped_iface
= (const void *) &Pnacl_Wrappers_PPB_Printing_Dev_0_7
,
5836 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TrueTypeFont_Dev_0_1
= {
5837 .iface_macro
= PPB_TRUETYPEFONT_DEV_INTERFACE_0_1
,
5838 .wrapped_iface
= (const void *) &Pnacl_Wrappers_PPB_TrueTypeFont_Dev_0_1
,
5842 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_6
= {
5843 .iface_macro
= PPB_URLUTIL_DEV_INTERFACE_0_6
,
5844 .wrapped_iface
= (const void *) &Pnacl_Wrappers_PPB_URLUtil_Dev_0_6
,
5848 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_7
= {
5849 .iface_macro
= PPB_URLUTIL_DEV_INTERFACE_0_7
,
5850 .wrapped_iface
= (const void *) &Pnacl_Wrappers_PPB_URLUtil_Dev_0_7
,
5854 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_3
= {
5855 .iface_macro
= PPB_VIDEOCAPTURE_DEV_INTERFACE_0_3
,
5856 .wrapped_iface
= (const void *) &Pnacl_Wrappers_PPB_VideoCapture_Dev_0_3
,
5860 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoDecoder_Dev_0_16
= {
5861 .iface_macro
= PPB_VIDEODECODER_DEV_INTERFACE_0_16
,
5862 .wrapped_iface
= (const void *) &Pnacl_Wrappers_PPB_VideoDecoder_Dev_0_16
,
5866 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Selection_Dev_0_3
= {
5867 .iface_macro
= PPP_SELECTION_DEV_INTERFACE_0_3
,
5868 .wrapped_iface
= (const void *) &Pnacl_Wrappers_PPP_Selection_Dev_0_3
,
5872 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_ContentDecryptor_Private_0_12
= {
5873 .iface_macro
= PPB_CONTENTDECRYPTOR_PRIVATE_INTERFACE_0_12
,
5874 .wrapped_iface
= (const void *) &Pnacl_Wrappers_PPB_ContentDecryptor_Private_0_12
,
5878 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_DisplayColorProfile_Private_0_1
= {
5879 .iface_macro
= PPB_DISPLAYCOLORPROFILE_PRIVATE_INTERFACE_0_1
,
5880 .wrapped_iface
= (const void *) &Pnacl_Wrappers_PPB_DisplayColorProfile_Private_0_1
,
5884 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Ext_CrxFileSystem_Private_0_1
= {
5885 .iface_macro
= PPB_EXT_CRXFILESYSTEM_PRIVATE_INTERFACE_0_1
,
5886 .wrapped_iface
= (const void *) &Pnacl_Wrappers_PPB_Ext_CrxFileSystem_Private_0_1
,
5890 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileIO_Private_0_1
= {
5891 .iface_macro
= PPB_FILEIO_PRIVATE_INTERFACE_0_1
,
5892 .wrapped_iface
= (const void *) &Pnacl_Wrappers_PPB_FileIO_Private_0_1
,
5896 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileRefPrivate_0_1
= {
5897 .iface_macro
= PPB_FILEREFPRIVATE_INTERFACE_0_1
,
5898 .wrapped_iface
= (const void *) &Pnacl_Wrappers_PPB_FileRefPrivate_0_1
,
5902 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_12_4
= {
5903 .iface_macro
= PPB_FLASH_INTERFACE_12_4
,
5904 .wrapped_iface
= (const void *) &Pnacl_Wrappers_PPB_Flash_12_4
,
5908 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_12_5
= {
5909 .iface_macro
= PPB_FLASH_INTERFACE_12_5
,
5910 .wrapped_iface
= (const void *) &Pnacl_Wrappers_PPB_Flash_12_5
,
5914 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_12_6
= {
5915 .iface_macro
= PPB_FLASH_INTERFACE_12_6
,
5916 .wrapped_iface
= (const void *) &Pnacl_Wrappers_PPB_Flash_12_6
,
5920 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_13_0
= {
5921 .iface_macro
= PPB_FLASH_INTERFACE_13_0
,
5922 .wrapped_iface
= (const void *) &Pnacl_Wrappers_PPB_Flash_13_0
,
5926 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_Clipboard_4_0
= {
5927 .iface_macro
= PPB_FLASH_CLIPBOARD_INTERFACE_4_0
,
5928 .wrapped_iface
= (const void *) &Pnacl_Wrappers_PPB_Flash_Clipboard_4_0
,
5932 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_Clipboard_5_0
= {
5933 .iface_macro
= PPB_FLASH_CLIPBOARD_INTERFACE_5_0
,
5934 .wrapped_iface
= (const void *) &Pnacl_Wrappers_PPB_Flash_Clipboard_5_0
,
5938 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_Clipboard_5_1
= {
5939 .iface_macro
= PPB_FLASH_CLIPBOARD_INTERFACE_5_1
,
5940 .wrapped_iface
= (const void *) &Pnacl_Wrappers_PPB_Flash_Clipboard_5_1
,
5944 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_DeviceID_1_0
= {
5945 .iface_macro
= PPB_FLASH_DEVICEID_INTERFACE_1_0
,
5946 .wrapped_iface
= (const void *) &Pnacl_Wrappers_PPB_Flash_DeviceID_1_0
,
5950 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_DRM_1_0
= {
5951 .iface_macro
= PPB_FLASH_DRM_INTERFACE_1_0
,
5952 .wrapped_iface
= (const void *) &Pnacl_Wrappers_PPB_Flash_DRM_1_0
,
5956 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_DRM_1_1
= {
5957 .iface_macro
= PPB_FLASH_DRM_INTERFACE_1_1
,
5958 .wrapped_iface
= (const void *) &Pnacl_Wrappers_PPB_Flash_DRM_1_1
,
5962 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_Menu_0_2
= {
5963 .iface_macro
= PPB_FLASH_MENU_INTERFACE_0_2
,
5964 .wrapped_iface
= (const void *) &Pnacl_Wrappers_PPB_Flash_Menu_0_2
,
5968 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_HostResolver_Private_0_1
= {
5969 .iface_macro
= PPB_HOSTRESOLVER_PRIVATE_INTERFACE_0_1
,
5970 .wrapped_iface
= (const void *) &Pnacl_Wrappers_PPB_HostResolver_Private_0_1
,
5974 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Instance_Private_0_1
= {
5975 .iface_macro
= PPB_INSTANCE_PRIVATE_INTERFACE_0_1
,
5976 .wrapped_iface
= (const void *) &Pnacl_Wrappers_PPB_Instance_Private_0_1
,
5980 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_IsolatedFileSystem_Private_0_2
= {
5981 .iface_macro
= PPB_ISOLATEDFILESYSTEM_PRIVATE_INTERFACE_0_2
,
5982 .wrapped_iface
= (const void *) &Pnacl_Wrappers_PPB_IsolatedFileSystem_Private_0_2
,
5986 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_NaCl_Private_1_0
= {
5987 .iface_macro
= PPB_NACL_PRIVATE_INTERFACE_1_0
,
5988 .wrapped_iface
= (const void *) &Pnacl_Wrappers_PPB_NaCl_Private_1_0
,
5992 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_NetAddress_Private_0_1
= {
5993 .iface_macro
= PPB_NETADDRESS_PRIVATE_INTERFACE_0_1
,
5994 .wrapped_iface
= (const void *) &Pnacl_Wrappers_PPB_NetAddress_Private_0_1
,
5998 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_NetAddress_Private_1_0
= {
5999 .iface_macro
= PPB_NETADDRESS_PRIVATE_INTERFACE_1_0
,
6000 .wrapped_iface
= (const void *) &Pnacl_Wrappers_PPB_NetAddress_Private_1_0
,
6004 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_NetAddress_Private_1_1
= {
6005 .iface_macro
= PPB_NETADDRESS_PRIVATE_INTERFACE_1_1
,
6006 .wrapped_iface
= (const void *) &Pnacl_Wrappers_PPB_NetAddress_Private_1_1
,
6010 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_OutputProtection_Private_0_1
= {
6011 .iface_macro
= PPB_OUTPUTPROTECTION_PRIVATE_INTERFACE_0_1
,
6012 .wrapped_iface
= (const void *) &Pnacl_Wrappers_PPB_OutputProtection_Private_0_1
,
6016 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_PlatformVerification_Private_0_2
= {
6017 .iface_macro
= PPB_PLATFORMVERIFICATION_PRIVATE_INTERFACE_0_2
,
6018 .wrapped_iface
= (const void *) &Pnacl_Wrappers_PPB_PlatformVerification_Private_0_2
,
6022 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Talk_Private_1_0
= {
6023 .iface_macro
= PPB_TALK_PRIVATE_INTERFACE_1_0
,
6024 .wrapped_iface
= (const void *) &Pnacl_Wrappers_PPB_Talk_Private_1_0
,
6028 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Talk_Private_2_0
= {
6029 .iface_macro
= PPB_TALK_PRIVATE_INTERFACE_2_0
,
6030 .wrapped_iface
= (const void *) &Pnacl_Wrappers_PPB_Talk_Private_2_0
,
6034 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TCPServerSocket_Private_0_1
= {
6035 .iface_macro
= PPB_TCPSERVERSOCKET_PRIVATE_INTERFACE_0_1
,
6036 .wrapped_iface
= (const void *) &Pnacl_Wrappers_PPB_TCPServerSocket_Private_0_1
,
6040 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TCPServerSocket_Private_0_2
= {
6041 .iface_macro
= PPB_TCPSERVERSOCKET_PRIVATE_INTERFACE_0_2
,
6042 .wrapped_iface
= (const void *) &Pnacl_Wrappers_PPB_TCPServerSocket_Private_0_2
,
6046 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_3
= {
6047 .iface_macro
= PPB_TCPSOCKET_PRIVATE_INTERFACE_0_3
,
6048 .wrapped_iface
= (const void *) &Pnacl_Wrappers_PPB_TCPSocket_Private_0_3
,
6052 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_4
= {
6053 .iface_macro
= PPB_TCPSOCKET_PRIVATE_INTERFACE_0_4
,
6054 .wrapped_iface
= (const void *) &Pnacl_Wrappers_PPB_TCPSocket_Private_0_4
,
6058 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_5
= {
6059 .iface_macro
= PPB_TCPSOCKET_PRIVATE_INTERFACE_0_5
,
6060 .wrapped_iface
= (const void *) &Pnacl_Wrappers_PPB_TCPSocket_Private_0_5
,
6064 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Testing_Private_1_0
= {
6065 .iface_macro
= PPB_TESTING_PRIVATE_INTERFACE_1_0
,
6066 .wrapped_iface
= (const void *) &Pnacl_Wrappers_PPB_Testing_Private_1_0
,
6070 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_2
= {
6071 .iface_macro
= PPB_UDPSOCKET_PRIVATE_INTERFACE_0_2
,
6072 .wrapped_iface
= (const void *) &Pnacl_Wrappers_PPB_UDPSocket_Private_0_2
,
6076 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_3
= {
6077 .iface_macro
= PPB_UDPSOCKET_PRIVATE_INTERFACE_0_3
,
6078 .wrapped_iface
= (const void *) &Pnacl_Wrappers_PPB_UDPSocket_Private_0_3
,
6082 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_4
= {
6083 .iface_macro
= PPB_UDPSOCKET_PRIVATE_INTERFACE_0_4
,
6084 .wrapped_iface
= (const void *) &Pnacl_Wrappers_PPB_UDPSocket_Private_0_4
,
6088 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UMA_Private_0_3
= {
6089 .iface_macro
= PPB_UMA_PRIVATE_INTERFACE_0_3
,
6090 .wrapped_iface
= (const void *) &Pnacl_Wrappers_PPB_UMA_Private_0_3
,
6094 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoDestination_Private_0_1
= {
6095 .iface_macro
= PPB_VIDEODESTINATION_PRIVATE_INTERFACE_0_1
,
6096 .wrapped_iface
= (const void *) &Pnacl_Wrappers_PPB_VideoDestination_Private_0_1
,
6100 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoSource_Private_0_1
= {
6101 .iface_macro
= PPB_VIDEOSOURCE_PRIVATE_INTERFACE_0_1
,
6102 .wrapped_iface
= (const void *) &Pnacl_Wrappers_PPB_VideoSource_Private_0_1
,
6106 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_X509Certificate_Private_0_1
= {
6107 .iface_macro
= PPB_X509CERTIFICATE_PRIVATE_INTERFACE_0_1
,
6108 .wrapped_iface
= (const void *) &Pnacl_Wrappers_PPB_X509Certificate_Private_0_1
,
6112 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_ContentDecryptor_Private_0_12
= {
6113 .iface_macro
= PPP_CONTENTDECRYPTOR_PRIVATE_INTERFACE_0_12
,
6114 .wrapped_iface
= (const void *) &Pnacl_Wrappers_PPP_ContentDecryptor_Private_0_12
,
6118 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Instance_Private_0_1
= {
6119 .iface_macro
= PPP_INSTANCE_PRIVATE_INTERFACE_0_1
,
6120 .wrapped_iface
= (const void *) &Pnacl_Wrappers_PPP_Instance_Private_0_1
,
6124 static struct __PnaclWrapperInfo
*s_ppb_wrappers
[] = {
6125 &Pnacl_WrapperInfo_PPB_Compositor_0_1
,
6126 &Pnacl_WrapperInfo_PPB_CompositorLayer_0_1
,
6127 &Pnacl_WrapperInfo_PPB_Console_1_0
,
6128 &Pnacl_WrapperInfo_PPB_Core_1_0
,
6129 &Pnacl_WrapperInfo_PPB_FileIO_1_0
,
6130 &Pnacl_WrapperInfo_PPB_FileIO_1_1
,
6131 &Pnacl_WrapperInfo_PPB_FileMapping_0_1
,
6132 &Pnacl_WrapperInfo_PPB_FileRef_1_0
,
6133 &Pnacl_WrapperInfo_PPB_FileRef_1_1
,
6134 &Pnacl_WrapperInfo_PPB_FileRef_1_2
,
6135 &Pnacl_WrapperInfo_PPB_FileSystem_1_0
,
6136 &Pnacl_WrapperInfo_PPB_Graphics2D_1_0
,
6137 &Pnacl_WrapperInfo_PPB_Graphics2D_1_1
,
6138 &Pnacl_WrapperInfo_PPB_Graphics3D_1_0
,
6139 &Pnacl_WrapperInfo_PPB_HostResolver_1_0
,
6140 &Pnacl_WrapperInfo_PPB_MouseInputEvent_1_0
,
6141 &Pnacl_WrapperInfo_PPB_MouseInputEvent_1_1
,
6142 &Pnacl_WrapperInfo_PPB_WheelInputEvent_1_0
,
6143 &Pnacl_WrapperInfo_PPB_KeyboardInputEvent_1_0
,
6144 &Pnacl_WrapperInfo_PPB_KeyboardInputEvent_1_2
,
6145 &Pnacl_WrapperInfo_PPB_TouchInputEvent_1_0
,
6146 &Pnacl_WrapperInfo_PPB_IMEInputEvent_1_0
,
6147 &Pnacl_WrapperInfo_PPB_MediaStreamAudioTrack_0_1
,
6148 &Pnacl_WrapperInfo_PPB_MediaStreamVideoTrack_0_1
,
6149 &Pnacl_WrapperInfo_PPB_MediaStreamVideoTrack_1_0
,
6150 &Pnacl_WrapperInfo_PPB_MessageLoop_1_0
,
6151 &Pnacl_WrapperInfo_PPB_Messaging_1_0
,
6152 &Pnacl_WrapperInfo_PPB_Messaging_1_1
,
6153 &Pnacl_WrapperInfo_PPB_MouseLock_1_0
,
6154 &Pnacl_WrapperInfo_PPB_NetAddress_1_0
,
6155 &Pnacl_WrapperInfo_PPB_NetworkList_1_0
,
6156 &Pnacl_WrapperInfo_PPB_NetworkMonitor_1_0
,
6157 &Pnacl_WrapperInfo_PPB_NetworkProxy_1_0
,
6158 &Pnacl_WrapperInfo_PPB_TCPSocket_1_0
,
6159 &Pnacl_WrapperInfo_PPB_TCPSocket_1_1
,
6160 &Pnacl_WrapperInfo_PPB_TextInputController_1_0
,
6161 &Pnacl_WrapperInfo_PPB_UDPSocket_1_0
,
6162 &Pnacl_WrapperInfo_PPB_URLLoader_1_0
,
6163 &Pnacl_WrapperInfo_PPB_URLRequestInfo_1_0
,
6164 &Pnacl_WrapperInfo_PPB_URLResponseInfo_1_0
,
6165 &Pnacl_WrapperInfo_PPB_Var_1_0
,
6166 &Pnacl_WrapperInfo_PPB_Var_1_1
,
6167 &Pnacl_WrapperInfo_PPB_Var_1_2
,
6168 &Pnacl_WrapperInfo_PPB_VarArray_1_0
,
6169 &Pnacl_WrapperInfo_PPB_VarArrayBuffer_1_0
,
6170 &Pnacl_WrapperInfo_PPB_VarDictionary_1_0
,
6171 &Pnacl_WrapperInfo_PPB_VideoDecoder_0_1
,
6172 &Pnacl_WrapperInfo_PPB_WebSocket_1_0
,
6173 &Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_3
,
6174 &Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_4
,
6175 &Pnacl_WrapperInfo_PPB_DeviceRef_Dev_0_1
,
6176 &Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_5
,
6177 &Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_6
,
6178 &Pnacl_WrapperInfo_PPB_Font_Dev_0_6
,
6179 &Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_1
,
6180 &Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_2
,
6181 &Pnacl_WrapperInfo_PPB_Printing_Dev_0_7
,
6182 &Pnacl_WrapperInfo_PPB_TrueTypeFont_Dev_0_1
,
6183 &Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_6
,
6184 &Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_7
,
6185 &Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_3
,
6186 &Pnacl_WrapperInfo_PPB_VideoDecoder_Dev_0_16
,
6187 &Pnacl_WrapperInfo_PPB_ContentDecryptor_Private_0_12
,
6188 &Pnacl_WrapperInfo_PPB_DisplayColorProfile_Private_0_1
,
6189 &Pnacl_WrapperInfo_PPB_Ext_CrxFileSystem_Private_0_1
,
6190 &Pnacl_WrapperInfo_PPB_FileIO_Private_0_1
,
6191 &Pnacl_WrapperInfo_PPB_FileRefPrivate_0_1
,
6192 &Pnacl_WrapperInfo_PPB_Flash_12_4
,
6193 &Pnacl_WrapperInfo_PPB_Flash_12_5
,
6194 &Pnacl_WrapperInfo_PPB_Flash_12_6
,
6195 &Pnacl_WrapperInfo_PPB_Flash_13_0
,
6196 &Pnacl_WrapperInfo_PPB_Flash_Clipboard_4_0
,
6197 &Pnacl_WrapperInfo_PPB_Flash_Clipboard_5_0
,
6198 &Pnacl_WrapperInfo_PPB_Flash_Clipboard_5_1
,
6199 &Pnacl_WrapperInfo_PPB_Flash_DeviceID_1_0
,
6200 &Pnacl_WrapperInfo_PPB_Flash_DRM_1_0
,
6201 &Pnacl_WrapperInfo_PPB_Flash_DRM_1_1
,
6202 &Pnacl_WrapperInfo_PPB_Flash_Menu_0_2
,
6203 &Pnacl_WrapperInfo_PPB_HostResolver_Private_0_1
,
6204 &Pnacl_WrapperInfo_PPB_Instance_Private_0_1
,
6205 &Pnacl_WrapperInfo_PPB_IsolatedFileSystem_Private_0_2
,
6206 &Pnacl_WrapperInfo_PPB_NaCl_Private_1_0
,
6207 &Pnacl_WrapperInfo_PPB_NetAddress_Private_0_1
,
6208 &Pnacl_WrapperInfo_PPB_NetAddress_Private_1_0
,
6209 &Pnacl_WrapperInfo_PPB_NetAddress_Private_1_1
,
6210 &Pnacl_WrapperInfo_PPB_OutputProtection_Private_0_1
,
6211 &Pnacl_WrapperInfo_PPB_PlatformVerification_Private_0_2
,
6212 &Pnacl_WrapperInfo_PPB_Talk_Private_1_0
,
6213 &Pnacl_WrapperInfo_PPB_Talk_Private_2_0
,
6214 &Pnacl_WrapperInfo_PPB_TCPServerSocket_Private_0_1
,
6215 &Pnacl_WrapperInfo_PPB_TCPServerSocket_Private_0_2
,
6216 &Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_3
,
6217 &Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_4
,
6218 &Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_5
,
6219 &Pnacl_WrapperInfo_PPB_Testing_Private_1_0
,
6220 &Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_2
,
6221 &Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_3
,
6222 &Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_4
,
6223 &Pnacl_WrapperInfo_PPB_UMA_Private_0_3
,
6224 &Pnacl_WrapperInfo_PPB_VideoDestination_Private_0_1
,
6225 &Pnacl_WrapperInfo_PPB_VideoSource_Private_0_1
,
6226 &Pnacl_WrapperInfo_PPB_X509Certificate_Private_0_1
,
6230 static struct __PnaclWrapperInfo
*s_ppp_wrappers
[] = {
6231 &Pnacl_WrapperInfo_PPP_Messaging_1_0
,
6232 &Pnacl_WrapperInfo_PPP_Selection_Dev_0_3
,
6233 &Pnacl_WrapperInfo_PPP_ContentDecryptor_Private_0_12
,
6234 &Pnacl_WrapperInfo_PPP_Instance_Private_0_1
,
6240 static PPB_GetInterface __real_PPBGetInterface
;
6241 static PPP_GetInterface_Type __real_PPPGetInterface
;
6243 void __set_real_Pnacl_PPBGetInterface(PPB_GetInterface real
) {
6244 __real_PPBGetInterface
= real
;
6247 void __set_real_Pnacl_PPPGetInterface(PPP_GetInterface_Type real
) {
6248 __real_PPPGetInterface
= real
;
6251 /* Map interface string -> wrapper metadata */
6252 static struct __PnaclWrapperInfo
*PnaclPPBShimIface(
6254 struct __PnaclWrapperInfo
**next
= s_ppb_wrappers
;
6255 while (*next
!= NULL
) {
6256 if (mystrcmp(name
, (*next
)->iface_macro
) == 0) return *next
;
6262 /* Map interface string -> wrapper metadata */
6263 static struct __PnaclWrapperInfo
*PnaclPPPShimIface(
6265 struct __PnaclWrapperInfo
**next
= s_ppp_wrappers
;
6266 while (*next
!= NULL
) {
6267 if (mystrcmp(name
, (*next
)->iface_macro
) == 0) return *next
;
6273 const void *__Pnacl_PPBGetInterface(const char *name
) {
6274 struct __PnaclWrapperInfo
*wrapper
= PnaclPPBShimIface(name
);
6275 if (wrapper
== NULL
) {
6276 /* We did not generate a wrapper for this, so return the real interface. */
6277 return (*__real_PPBGetInterface
)(name
);
6280 /* Initialize the real_iface if it hasn't been. The wrapper depends on it. */
6281 if (wrapper
->real_iface
== NULL
) {
6282 const void *iface
= (*__real_PPBGetInterface
)(name
);
6283 if (NULL
== iface
) return NULL
;
6284 wrapper
->real_iface
= iface
;
6287 return wrapper
->wrapped_iface
;
6290 const void *__Pnacl_PPPGetInterface(const char *name
) {
6291 struct __PnaclWrapperInfo
*wrapper
= PnaclPPPShimIface(name
);
6292 if (wrapper
== NULL
) {
6293 /* We did not generate a wrapper for this, so return the real interface. */
6294 return (*__real_PPPGetInterface
)(name
);
6297 /* Initialize the real_iface if it hasn't been. The wrapper depends on it. */
6298 if (wrapper
->real_iface
== NULL
) {
6299 const void *iface
= (*__real_PPPGetInterface
)(name
);
6300 if (NULL
== iface
) return NULL
;
6301 wrapper
->real_iface
= iface
;
6304 return wrapper
->wrapped_iface
;