Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(986)

Side by Side Diff: ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c

Issue 11419192: Make PPAPI headers compilable with -Wstrict-prototypes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ppapi/generators/idl_c_proto.py ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 * Use of this source code is governed by a BSD-style license that can be 2 * Use of this source code is governed by a BSD-style license that can be
3 * found in the LICENSE file. 3 * found in the LICENSE file.
4 */ 4 */
5 5
6 /* NOTE: this is auto-generated from IDL */ 6 /* NOTE: this is auto-generated from IDL */
7 #include "ppapi/generators/pnacl_shim.h" 7 #include "ppapi/generators/pnacl_shim.h"
8 8
9 #include "ppapi/c/ppb.h" 9 #include "ppapi/c/ppb.h"
10 #include "ppapi/c/dev/ppb_audio_input_dev.h" 10 #include "ppapi/c/dev/ppb_audio_input_dev.h"
(...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after
263 iface->AddRefResource(resource); 263 iface->AddRefResource(resource);
264 } 264 }
265 265
266 static __attribute__((pnaclcall)) 266 static __attribute__((pnaclcall))
267 void Pnacl_M14_PPB_Core_ReleaseResource(PP_Resource resource) { 267 void Pnacl_M14_PPB_Core_ReleaseResource(PP_Resource resource) {
268 const struct PPB_Core_1_0 *iface = Pnacl_WrapperInfo_PPB_Core_1_0.real_iface; 268 const struct PPB_Core_1_0 *iface = Pnacl_WrapperInfo_PPB_Core_1_0.real_iface;
269 iface->ReleaseResource(resource); 269 iface->ReleaseResource(resource);
270 } 270 }
271 271
272 static __attribute__((pnaclcall)) 272 static __attribute__((pnaclcall))
273 PP_Time Pnacl_M14_PPB_Core_GetTime() { 273 PP_Time Pnacl_M14_PPB_Core_GetTime(void) {
274 const struct PPB_Core_1_0 *iface = Pnacl_WrapperInfo_PPB_Core_1_0.real_iface; 274 const struct PPB_Core_1_0 *iface = Pnacl_WrapperInfo_PPB_Core_1_0.real_iface;
275 return iface->GetTime(); 275 return iface->GetTime();
276 } 276 }
277 277
278 static __attribute__((pnaclcall)) 278 static __attribute__((pnaclcall))
279 PP_TimeTicks Pnacl_M14_PPB_Core_GetTimeTicks() { 279 PP_TimeTicks Pnacl_M14_PPB_Core_GetTimeTicks(void) {
280 const struct PPB_Core_1_0 *iface = Pnacl_WrapperInfo_PPB_Core_1_0.real_iface; 280 const struct PPB_Core_1_0 *iface = Pnacl_WrapperInfo_PPB_Core_1_0.real_iface;
281 return iface->GetTimeTicks(); 281 return iface->GetTimeTicks();
282 } 282 }
283 283
284 static __attribute__((pnaclcall)) 284 static __attribute__((pnaclcall))
285 void Pnacl_M14_PPB_Core_CallOnMainThread(int32_t delay_in_milliseconds, struct P P_CompletionCallback callback, int32_t result) { 285 void Pnacl_M14_PPB_Core_CallOnMainThread(int32_t delay_in_milliseconds, struct P P_CompletionCallback callback, int32_t result) {
286 const struct PPB_Core_1_0 *iface = Pnacl_WrapperInfo_PPB_Core_1_0.real_iface; 286 const struct PPB_Core_1_0 *iface = Pnacl_WrapperInfo_PPB_Core_1_0.real_iface;
287 iface->CallOnMainThread(delay_in_milliseconds, callback, result); 287 iface->CallOnMainThread(delay_in_milliseconds, callback, result);
288 } 288 }
289 289
290 static __attribute__((pnaclcall)) 290 static __attribute__((pnaclcall))
291 PP_Bool Pnacl_M14_PPB_Core_IsMainThread() { 291 PP_Bool Pnacl_M14_PPB_Core_IsMainThread(void) {
292 const struct PPB_Core_1_0 *iface = Pnacl_WrapperInfo_PPB_Core_1_0.real_iface; 292 const struct PPB_Core_1_0 *iface = Pnacl_WrapperInfo_PPB_Core_1_0.real_iface;
293 return iface->IsMainThread(); 293 return iface->IsMainThread();
294 } 294 }
295 295
296 /* End wrapper methods for PPB_Core_1_0 */ 296 /* End wrapper methods for PPB_Core_1_0 */
297 297
298 /* Begin wrapper methods for PPB_FileIO_1_0 */ 298 /* Begin wrapper methods for PPB_FileIO_1_0 */
299 299
300 static __attribute__((pnaclcall)) 300 static __attribute__((pnaclcall))
301 PP_Resource Pnacl_M14_PPB_FileIO_Create(PP_Instance instance) { 301 PP_Resource Pnacl_M14_PPB_FileIO_Create(PP_Instance instance) {
(...skipping 533 matching lines...) Expand 10 before | Expand all | Expand 10 after
835 835
836 /* Begin wrapper methods for PPB_MessageLoop_1_0 */ 836 /* Begin wrapper methods for PPB_MessageLoop_1_0 */
837 837
838 static __attribute__((pnaclcall)) 838 static __attribute__((pnaclcall))
839 PP_Resource Pnacl_M25_PPB_MessageLoop_Create(PP_Instance instance) { 839 PP_Resource Pnacl_M25_PPB_MessageLoop_Create(PP_Instance instance) {
840 const struct PPB_MessageLoop_1_0 *iface = Pnacl_WrapperInfo_PPB_MessageLoop_1_ 0.real_iface; 840 const struct PPB_MessageLoop_1_0 *iface = Pnacl_WrapperInfo_PPB_MessageLoop_1_ 0.real_iface;
841 return iface->Create(instance); 841 return iface->Create(instance);
842 } 842 }
843 843
844 static __attribute__((pnaclcall)) 844 static __attribute__((pnaclcall))
845 PP_Resource Pnacl_M25_PPB_MessageLoop_GetForMainThread() { 845 PP_Resource Pnacl_M25_PPB_MessageLoop_GetForMainThread(void) {
846 const struct PPB_MessageLoop_1_0 *iface = Pnacl_WrapperInfo_PPB_MessageLoop_1_ 0.real_iface; 846 const struct PPB_MessageLoop_1_0 *iface = Pnacl_WrapperInfo_PPB_MessageLoop_1_ 0.real_iface;
847 return iface->GetForMainThread(); 847 return iface->GetForMainThread();
848 } 848 }
849 849
850 static __attribute__((pnaclcall)) 850 static __attribute__((pnaclcall))
851 PP_Resource Pnacl_M25_PPB_MessageLoop_GetCurrent() { 851 PP_Resource Pnacl_M25_PPB_MessageLoop_GetCurrent(void) {
852 const struct PPB_MessageLoop_1_0 *iface = Pnacl_WrapperInfo_PPB_MessageLoop_1_ 0.real_iface; 852 const struct PPB_MessageLoop_1_0 *iface = Pnacl_WrapperInfo_PPB_MessageLoop_1_ 0.real_iface;
853 return iface->GetCurrent(); 853 return iface->GetCurrent();
854 } 854 }
855 855
856 static __attribute__((pnaclcall)) 856 static __attribute__((pnaclcall))
857 int32_t Pnacl_M25_PPB_MessageLoop_AttachToCurrentThread(PP_Resource message_loop ) { 857 int32_t Pnacl_M25_PPB_MessageLoop_AttachToCurrentThread(PP_Resource message_loop ) {
858 const struct PPB_MessageLoop_1_0 *iface = Pnacl_WrapperInfo_PPB_MessageLoop_1_ 0.real_iface; 858 const struct PPB_MessageLoop_1_0 *iface = Pnacl_WrapperInfo_PPB_MessageLoop_1_ 0.real_iface;
859 return iface->AttachToCurrentThread(message_loop); 859 return iface->AttachToCurrentThread(message_loop);
860 } 860 }
861 861
(...skipping 961 matching lines...) Expand 10 before | Expand all | Expand 10 after
1823 iface->QuitMessageLoop(instance); 1823 iface->QuitMessageLoop(instance);
1824 } 1824 }
1825 1825
1826 static __attribute__((pnaclcall)) 1826 static __attribute__((pnaclcall))
1827 uint32_t Pnacl_M17_PPB_Testing_Dev_GetLiveObjectsForInstance(PP_Instance instanc e) { 1827 uint32_t Pnacl_M17_PPB_Testing_Dev_GetLiveObjectsForInstance(PP_Instance instanc e) {
1828 const struct PPB_Testing_Dev_0_9 *iface = Pnacl_WrapperInfo_PPB_Testing_Dev_0_ 9.real_iface; 1828 const struct PPB_Testing_Dev_0_9 *iface = Pnacl_WrapperInfo_PPB_Testing_Dev_0_ 9.real_iface;
1829 return iface->GetLiveObjectsForInstance(instance); 1829 return iface->GetLiveObjectsForInstance(instance);
1830 } 1830 }
1831 1831
1832 static __attribute__((pnaclcall)) 1832 static __attribute__((pnaclcall))
1833 PP_Bool Pnacl_M17_PPB_Testing_Dev_IsOutOfProcess() { 1833 PP_Bool Pnacl_M17_PPB_Testing_Dev_IsOutOfProcess(void) {
1834 const struct PPB_Testing_Dev_0_9 *iface = Pnacl_WrapperInfo_PPB_Testing_Dev_0_ 9.real_iface; 1834 const struct PPB_Testing_Dev_0_9 *iface = Pnacl_WrapperInfo_PPB_Testing_Dev_0_ 9.real_iface;
1835 return iface->IsOutOfProcess(); 1835 return iface->IsOutOfProcess();
1836 } 1836 }
1837 1837
1838 static __attribute__((pnaclcall)) 1838 static __attribute__((pnaclcall))
1839 void Pnacl_M17_PPB_Testing_Dev_SimulateInputEvent(PP_Instance instance, PP_Resou rce input_event) { 1839 void Pnacl_M17_PPB_Testing_Dev_SimulateInputEvent(PP_Instance instance, PP_Resou rce input_event) {
1840 const struct PPB_Testing_Dev_0_9 *iface = Pnacl_WrapperInfo_PPB_Testing_Dev_0_ 9.real_iface; 1840 const struct PPB_Testing_Dev_0_9 *iface = Pnacl_WrapperInfo_PPB_Testing_Dev_0_ 9.real_iface;
1841 iface->SimulateInputEvent(instance, input_event); 1841 iface->SimulateInputEvent(instance, input_event);
1842 } 1842 }
1843 1843
(...skipping 25 matching lines...) Expand all
1869 iface->QuitMessageLoop(instance); 1869 iface->QuitMessageLoop(instance);
1870 } 1870 }
1871 1871
1872 static __attribute__((pnaclcall)) 1872 static __attribute__((pnaclcall))
1873 uint32_t Pnacl_M18_PPB_Testing_Dev_GetLiveObjectsForInstance(PP_Instance instanc e) { 1873 uint32_t Pnacl_M18_PPB_Testing_Dev_GetLiveObjectsForInstance(PP_Instance instanc e) {
1874 const struct PPB_Testing_Dev_0_91 *iface = Pnacl_WrapperInfo_PPB_Testing_Dev_0 _91.real_iface; 1874 const struct PPB_Testing_Dev_0_91 *iface = Pnacl_WrapperInfo_PPB_Testing_Dev_0 _91.real_iface;
1875 return iface->GetLiveObjectsForInstance(instance); 1875 return iface->GetLiveObjectsForInstance(instance);
1876 } 1876 }
1877 1877
1878 static __attribute__((pnaclcall)) 1878 static __attribute__((pnaclcall))
1879 PP_Bool Pnacl_M18_PPB_Testing_Dev_IsOutOfProcess() { 1879 PP_Bool Pnacl_M18_PPB_Testing_Dev_IsOutOfProcess(void) {
1880 const struct PPB_Testing_Dev_0_91 *iface = Pnacl_WrapperInfo_PPB_Testing_Dev_0 _91.real_iface; 1880 const struct PPB_Testing_Dev_0_91 *iface = Pnacl_WrapperInfo_PPB_Testing_Dev_0 _91.real_iface;
1881 return iface->IsOutOfProcess(); 1881 return iface->IsOutOfProcess();
1882 } 1882 }
1883 1883
1884 static __attribute__((pnaclcall)) 1884 static __attribute__((pnaclcall))
1885 void Pnacl_M18_PPB_Testing_Dev_SimulateInputEvent(PP_Instance instance, PP_Resou rce input_event) { 1885 void Pnacl_M18_PPB_Testing_Dev_SimulateInputEvent(PP_Instance instance, PP_Resou rce input_event) {
1886 const struct PPB_Testing_Dev_0_91 *iface = Pnacl_WrapperInfo_PPB_Testing_Dev_0 _91.real_iface; 1886 const struct PPB_Testing_Dev_0_91 *iface = Pnacl_WrapperInfo_PPB_Testing_Dev_0 _91.real_iface;
1887 iface->SimulateInputEvent(instance, input_event); 1887 iface->SimulateInputEvent(instance, input_event);
1888 } 1888 }
1889 1889
(...skipping 1481 matching lines...) Expand 10 before | Expand all | Expand 10 after
3371 3371
3372 /* Not generating wrapper interface for PPB_Audio_1_0 */ 3372 /* Not generating wrapper interface for PPB_Audio_1_0 */
3373 3373
3374 /* Not generating wrapper interface for PPB_AudioConfig_1_0 */ 3374 /* Not generating wrapper interface for PPB_AudioConfig_1_0 */
3375 3375
3376 /* Not generating wrapper interface for PPB_AudioConfig_1_1 */ 3376 /* Not generating wrapper interface for PPB_AudioConfig_1_1 */
3377 3377
3378 struct PPB_Core_1_0 Pnacl_Wrappers_PPB_Core_1_0 = { 3378 struct PPB_Core_1_0 Pnacl_Wrappers_PPB_Core_1_0 = {
3379 .AddRefResource = (void (*)(PP_Resource resource))&Pnacl_M14_PPB_Core_AddRef Resource, 3379 .AddRefResource = (void (*)(PP_Resource resource))&Pnacl_M14_PPB_Core_AddRef Resource,
3380 .ReleaseResource = (void (*)(PP_Resource resource))&Pnacl_M14_PPB_Core_Relea seResource, 3380 .ReleaseResource = (void (*)(PP_Resource resource))&Pnacl_M14_PPB_Core_Relea seResource,
3381 .GetTime = (PP_Time (*)())&Pnacl_M14_PPB_Core_GetTime, 3381 .GetTime = (PP_Time (*)(void))&Pnacl_M14_PPB_Core_GetTime,
3382 .GetTimeTicks = (PP_TimeTicks (*)())&Pnacl_M14_PPB_Core_GetTimeTicks, 3382 .GetTimeTicks = (PP_TimeTicks (*)(void))&Pnacl_M14_PPB_Core_GetTimeTicks,
3383 .CallOnMainThread = (void (*)(int32_t delay_in_milliseconds, struct PP_Compl etionCallback callback, int32_t result))&Pnacl_M14_PPB_Core_CallOnMainThread, 3383 .CallOnMainThread = (void (*)(int32_t delay_in_milliseconds, struct PP_Compl etionCallback callback, int32_t result))&Pnacl_M14_PPB_Core_CallOnMainThread,
3384 .IsMainThread = (PP_Bool (*)())&Pnacl_M14_PPB_Core_IsMainThread 3384 .IsMainThread = (PP_Bool (*)(void))&Pnacl_M14_PPB_Core_IsMainThread
3385 }; 3385 };
3386 3386
3387 struct PPB_FileIO_1_0 Pnacl_Wrappers_PPB_FileIO_1_0 = { 3387 struct PPB_FileIO_1_0 Pnacl_Wrappers_PPB_FileIO_1_0 = {
3388 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M14_PPB_FileIO_Creat e, 3388 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M14_PPB_FileIO_Creat e,
3389 .IsFileIO = (PP_Bool (*)(PP_Resource resource))&Pnacl_M14_PPB_FileIO_IsFileI O, 3389 .IsFileIO = (PP_Bool (*)(PP_Resource resource))&Pnacl_M14_PPB_FileIO_IsFileI O,
3390 .Open = (int32_t (*)(PP_Resource file_io, PP_Resource file_ref, int32_t open _flags, struct PP_CompletionCallback callback))&Pnacl_M14_PPB_FileIO_Open, 3390 .Open = (int32_t (*)(PP_Resource file_io, PP_Resource file_ref, int32_t open _flags, struct PP_CompletionCallback callback))&Pnacl_M14_PPB_FileIO_Open,
3391 .Query = (int32_t (*)(PP_Resource file_io, struct PP_FileInfo* info, struct PP_CompletionCallback callback))&Pnacl_M14_PPB_FileIO_Query, 3391 .Query = (int32_t (*)(PP_Resource file_io, struct PP_FileInfo* info, struct PP_CompletionCallback callback))&Pnacl_M14_PPB_FileIO_Query,
3392 .Touch = (int32_t (*)(PP_Resource file_io, PP_Time last_access_time, PP_Time last_modified_time, struct PP_CompletionCallback callback))&Pnacl_M14_PPB_FileI O_Touch, 3392 .Touch = (int32_t (*)(PP_Resource file_io, PP_Time last_access_time, PP_Time last_modified_time, struct PP_CompletionCallback callback))&Pnacl_M14_PPB_FileI O_Touch,
3393 .Read = (int32_t (*)(PP_Resource file_io, int64_t offset, char* buffer, int3 2_t bytes_to_read, struct PP_CompletionCallback callback))&Pnacl_M14_PPB_FileIO_ Read, 3393 .Read = (int32_t (*)(PP_Resource file_io, int64_t offset, char* buffer, int3 2_t bytes_to_read, struct PP_CompletionCallback callback))&Pnacl_M14_PPB_FileIO_ Read,
3394 .Write = (int32_t (*)(PP_Resource file_io, int64_t offset, const char* buffe r, int32_t bytes_to_write, struct PP_CompletionCallback callback))&Pnacl_M14_PPB _FileIO_Write, 3394 .Write = (int32_t (*)(PP_Resource file_io, int64_t offset, const char* buffe r, int32_t bytes_to_write, struct PP_CompletionCallback callback))&Pnacl_M14_PPB _FileIO_Write,
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
3505 .GetWindowObject = (struct PP_Var (*)(PP_Instance instance))&Pnacl_M13_PPB_I nstance_GetWindowObject, 3505 .GetWindowObject = (struct PP_Var (*)(PP_Instance instance))&Pnacl_M13_PPB_I nstance_GetWindowObject,
3506 .GetOwnerElementObject = (struct PP_Var (*)(PP_Instance instance))&Pnacl_M13 _PPB_Instance_GetOwnerElementObject, 3506 .GetOwnerElementObject = (struct PP_Var (*)(PP_Instance instance))&Pnacl_M13 _PPB_Instance_GetOwnerElementObject,
3507 .BindGraphics = (PP_Bool (*)(PP_Instance instance, PP_Resource device))&Pnac l_M13_PPB_Instance_BindGraphics, 3507 .BindGraphics = (PP_Bool (*)(PP_Instance instance, PP_Resource device))&Pnac l_M13_PPB_Instance_BindGraphics,
3508 .IsFullFrame = (PP_Bool (*)(PP_Instance instance))&Pnacl_M13_PPB_Instance_Is FullFrame 3508 .IsFullFrame = (PP_Bool (*)(PP_Instance instance))&Pnacl_M13_PPB_Instance_Is FullFrame
3509 }; 3509 };
3510 3510
3511 /* Not generating wrapper interface for PPB_Instance_1_0 */ 3511 /* Not generating wrapper interface for PPB_Instance_1_0 */
3512 3512
3513 struct PPB_MessageLoop_1_0 Pnacl_Wrappers_PPB_MessageLoop_1_0 = { 3513 struct PPB_MessageLoop_1_0 Pnacl_Wrappers_PPB_MessageLoop_1_0 = {
3514 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M25_PPB_MessageLoop_ Create, 3514 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M25_PPB_MessageLoop_ Create,
3515 .GetForMainThread = (PP_Resource (*)())&Pnacl_M25_PPB_MessageLoop_GetForMain Thread, 3515 .GetForMainThread = (PP_Resource (*)(void))&Pnacl_M25_PPB_MessageLoop_GetFor MainThread,
3516 .GetCurrent = (PP_Resource (*)())&Pnacl_M25_PPB_MessageLoop_GetCurrent, 3516 .GetCurrent = (PP_Resource (*)(void))&Pnacl_M25_PPB_MessageLoop_GetCurrent,
3517 .AttachToCurrentThread = (int32_t (*)(PP_Resource message_loop))&Pnacl_M25_P PB_MessageLoop_AttachToCurrentThread, 3517 .AttachToCurrentThread = (int32_t (*)(PP_Resource message_loop))&Pnacl_M25_P PB_MessageLoop_AttachToCurrentThread,
3518 .Run = (int32_t (*)(PP_Resource message_loop))&Pnacl_M25_PPB_MessageLoop_Run , 3518 .Run = (int32_t (*)(PP_Resource message_loop))&Pnacl_M25_PPB_MessageLoop_Run ,
3519 .PostWork = (int32_t (*)(PP_Resource message_loop, struct PP_CompletionCallb ack callback, int64_t delay_ms))&Pnacl_M25_PPB_MessageLoop_PostWork, 3519 .PostWork = (int32_t (*)(PP_Resource message_loop, struct PP_CompletionCallb ack callback, int64_t delay_ms))&Pnacl_M25_PPB_MessageLoop_PostWork,
3520 .PostQuit = (int32_t (*)(PP_Resource message_loop, PP_Bool should_destroy))& Pnacl_M25_PPB_MessageLoop_PostQuit 3520 .PostQuit = (int32_t (*)(PP_Resource message_loop, PP_Bool should_destroy))& Pnacl_M25_PPB_MessageLoop_PostQuit
3521 }; 3521 };
3522 3522
3523 struct PPB_Messaging_1_0 Pnacl_Wrappers_PPB_Messaging_1_0 = { 3523 struct PPB_Messaging_1_0 Pnacl_Wrappers_PPB_Messaging_1_0 = {
3524 .PostMessage = (void (*)(PP_Instance instance, struct PP_Var message))&Pnacl _M14_PPB_Messaging_PostMessage 3524 .PostMessage = (void (*)(PP_Instance instance, struct PP_Var message))&Pnacl _M14_PPB_Messaging_PostMessage
3525 }; 3525 };
3526 3526
(...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after
3774 3774
3775 /* Not generating wrapper interface for PPB_Testing_Dev_0_7 */ 3775 /* Not generating wrapper interface for PPB_Testing_Dev_0_7 */
3776 3776
3777 /* Not generating wrapper interface for PPB_Testing_Dev_0_8 */ 3777 /* Not generating wrapper interface for PPB_Testing_Dev_0_8 */
3778 3778
3779 struct PPB_Testing_Dev_0_9 Pnacl_Wrappers_PPB_Testing_Dev_0_9 = { 3779 struct PPB_Testing_Dev_0_9 Pnacl_Wrappers_PPB_Testing_Dev_0_9 = {
3780 .ReadImageData = (PP_Bool (*)(PP_Resource device_context_2d, PP_Resource ima ge, const struct PP_Point* top_left))&Pnacl_M17_PPB_Testing_Dev_ReadImageData, 3780 .ReadImageData = (PP_Bool (*)(PP_Resource device_context_2d, PP_Resource ima ge, const struct PP_Point* top_left))&Pnacl_M17_PPB_Testing_Dev_ReadImageData,
3781 .RunMessageLoop = (void (*)(PP_Instance instance))&Pnacl_M17_PPB_Testing_Dev _RunMessageLoop, 3781 .RunMessageLoop = (void (*)(PP_Instance instance))&Pnacl_M17_PPB_Testing_Dev _RunMessageLoop,
3782 .QuitMessageLoop = (void (*)(PP_Instance instance))&Pnacl_M17_PPB_Testing_De v_QuitMessageLoop, 3782 .QuitMessageLoop = (void (*)(PP_Instance instance))&Pnacl_M17_PPB_Testing_De v_QuitMessageLoop,
3783 .GetLiveObjectsForInstance = (uint32_t (*)(PP_Instance instance))&Pnacl_M17_ PPB_Testing_Dev_GetLiveObjectsForInstance, 3783 .GetLiveObjectsForInstance = (uint32_t (*)(PP_Instance instance))&Pnacl_M17_ PPB_Testing_Dev_GetLiveObjectsForInstance,
3784 .IsOutOfProcess = (PP_Bool (*)())&Pnacl_M17_PPB_Testing_Dev_IsOutOfProcess, 3784 .IsOutOfProcess = (PP_Bool (*)(void))&Pnacl_M17_PPB_Testing_Dev_IsOutOfProce ss,
3785 .SimulateInputEvent = (void (*)(PP_Instance instance, PP_Resource input_even t))&Pnacl_M17_PPB_Testing_Dev_SimulateInputEvent, 3785 .SimulateInputEvent = (void (*)(PP_Instance instance, PP_Resource input_even t))&Pnacl_M17_PPB_Testing_Dev_SimulateInputEvent,
3786 .GetDocumentURL = (struct PP_Var (*)(PP_Instance instance, struct PP_URLComp onents_Dev* components))&Pnacl_M17_PPB_Testing_Dev_GetDocumentURL 3786 .GetDocumentURL = (struct PP_Var (*)(PP_Instance instance, struct PP_URLComp onents_Dev* components))&Pnacl_M17_PPB_Testing_Dev_GetDocumentURL
3787 }; 3787 };
3788 3788
3789 struct PPB_Testing_Dev_0_91 Pnacl_Wrappers_PPB_Testing_Dev_0_91 = { 3789 struct PPB_Testing_Dev_0_91 Pnacl_Wrappers_PPB_Testing_Dev_0_91 = {
3790 .ReadImageData = (PP_Bool (*)(PP_Resource device_context_2d, PP_Resource ima ge, const struct PP_Point* top_left))&Pnacl_M18_PPB_Testing_Dev_ReadImageData, 3790 .ReadImageData = (PP_Bool (*)(PP_Resource device_context_2d, PP_Resource ima ge, const struct PP_Point* top_left))&Pnacl_M18_PPB_Testing_Dev_ReadImageData,
3791 .RunMessageLoop = (void (*)(PP_Instance instance))&Pnacl_M18_PPB_Testing_Dev _RunMessageLoop, 3791 .RunMessageLoop = (void (*)(PP_Instance instance))&Pnacl_M18_PPB_Testing_Dev _RunMessageLoop,
3792 .QuitMessageLoop = (void (*)(PP_Instance instance))&Pnacl_M18_PPB_Testing_De v_QuitMessageLoop, 3792 .QuitMessageLoop = (void (*)(PP_Instance instance))&Pnacl_M18_PPB_Testing_De v_QuitMessageLoop,
3793 .GetLiveObjectsForInstance = (uint32_t (*)(PP_Instance instance))&Pnacl_M18_ PPB_Testing_Dev_GetLiveObjectsForInstance, 3793 .GetLiveObjectsForInstance = (uint32_t (*)(PP_Instance instance))&Pnacl_M18_ PPB_Testing_Dev_GetLiveObjectsForInstance,
3794 .IsOutOfProcess = (PP_Bool (*)())&Pnacl_M18_PPB_Testing_Dev_IsOutOfProcess, 3794 .IsOutOfProcess = (PP_Bool (*)(void))&Pnacl_M18_PPB_Testing_Dev_IsOutOfProce ss,
3795 .SimulateInputEvent = (void (*)(PP_Instance instance, PP_Resource input_even t))&Pnacl_M18_PPB_Testing_Dev_SimulateInputEvent, 3795 .SimulateInputEvent = (void (*)(PP_Instance instance, PP_Resource input_even t))&Pnacl_M18_PPB_Testing_Dev_SimulateInputEvent,
3796 .GetDocumentURL = (struct PP_Var (*)(PP_Instance instance, struct PP_URLComp onents_Dev* components))&Pnacl_M18_PPB_Testing_Dev_GetDocumentURL, 3796 .GetDocumentURL = (struct PP_Var (*)(PP_Instance instance, struct PP_URLComp onents_Dev* components))&Pnacl_M18_PPB_Testing_Dev_GetDocumentURL,
3797 .GetLiveVars = (uint32_t (*)(struct PP_Var live_vars[], uint32_t array_size) )&Pnacl_M18_PPB_Testing_Dev_GetLiveVars 3797 .GetLiveVars = (uint32_t (*)(struct PP_Var live_vars[], uint32_t array_size) )&Pnacl_M18_PPB_Testing_Dev_GetLiveVars
3798 }; 3798 };
3799 3799
3800 /* Not generating wrapper interface for PPB_TextInput_Dev_0_1 */ 3800 /* Not generating wrapper interface for PPB_TextInput_Dev_0_1 */
3801 3801
3802 /* Not generating wrapper interface for PPB_TextInput_Dev_0_2 */ 3802 /* Not generating wrapper interface for PPB_TextInput_Dev_0_2 */
3803 3803
3804 struct PPB_URLUtil_Dev_0_6 Pnacl_Wrappers_PPB_URLUtil_Dev_0_6 = { 3804 struct PPB_URLUtil_Dev_0_6 Pnacl_Wrappers_PPB_URLUtil_Dev_0_6 = {
(...skipping 1339 matching lines...) Expand 10 before | Expand all | Expand 10 after
5144 } 5144 }
5145 5145
5146 if (wrapper->wrapped_iface) { 5146 if (wrapper->wrapped_iface) {
5147 return wrapper->wrapped_iface; 5147 return wrapper->wrapped_iface;
5148 } else { 5148 } else {
5149 return wrapper->real_iface; 5149 return wrapper->real_iface;
5150 } 5150 }
5151 } 5151 }
5152 5152
5153 #endif 5153 #endif
OLDNEW
« no previous file with comments | « ppapi/generators/idl_c_proto.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698