| OLD | NEW |
| 1 /* Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 /* Copyright (c) 2013 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 216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 227 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_ContentDecryptor_Private_
0_6; | 227 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_ContentDecryptor_Private_
0_6; |
| 228 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Instance_Private_0_1; | 228 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Instance_Private_0_1; |
| 229 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Ext_Alarms_Dev_0_1; | 229 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Ext_Alarms_Dev_0_1; |
| 230 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Ext_Events_Dev_0_1; | 230 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Ext_Events_Dev_0_1; |
| 231 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Ext_Socket_Dev_0_1; | 231 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Ext_Socket_Dev_0_1; |
| 232 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Ext_Socket_Dev_0_2; | 232 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Ext_Socket_Dev_0_2; |
| 233 /* END Declarations for all Wrapper Infos. */ | 233 /* END Declarations for all Wrapper Infos. */ |
| 234 | 234 |
| 235 /* Not generating wrapper methods for PPB_Audio_1_0 */ | 235 /* Not generating wrapper methods for PPB_Audio_1_0 */ |
| 236 | 236 |
| 237 /* Not generating wrapper methods for PPB_Audio_1_1 */ |
| 238 |
| 237 /* Not generating wrapper methods for PPB_AudioConfig_1_0 */ | 239 /* Not generating wrapper methods for PPB_AudioConfig_1_0 */ |
| 238 | 240 |
| 239 /* Not generating wrapper methods for PPB_AudioConfig_1_1 */ | 241 /* Not generating wrapper methods for PPB_AudioConfig_1_1 */ |
| 240 | 242 |
| 241 /* Begin wrapper methods for PPB_Console_1_0 */ | 243 /* Begin wrapper methods for PPB_Console_1_0 */ |
| 242 | 244 |
| 243 static void Pnacl_M25_PPB_Console_Log(PP_Instance instance, PP_LogLevel level, s
truct PP_Var* value) { | 245 static void Pnacl_M25_PPB_Console_Log(PP_Instance instance, PP_LogLevel level, s
truct PP_Var* value) { |
| 244 const struct PPB_Console_1_0 *iface = Pnacl_WrapperInfo_PPB_Console_1_0.real_i
face; | 246 const struct PPB_Console_1_0 *iface = Pnacl_WrapperInfo_PPB_Console_1_0.real_i
face; |
| 245 iface->Log(instance, level, *value); | 247 iface->Log(instance, level, *value); |
| 246 } | 248 } |
| (...skipping 3681 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3928 | 3930 |
| 3929 static int32_t Pnacl_M29_PPB_Ext_Socket_Dev_GetJoinedGroups(PP_Instance instance
, struct PP_Var* socket_id, struct PP_Var* groups, struct PP_CompletionCallback*
callback) { | 3931 static int32_t Pnacl_M29_PPB_Ext_Socket_Dev_GetJoinedGroups(PP_Instance instance
, struct PP_Var* socket_id, struct PP_Var* groups, struct PP_CompletionCallback*
callback) { |
| 3930 const struct PPB_Ext_Socket_Dev_0_2 *iface = Pnacl_WrapperInfo_PPB_Ext_Socket_
Dev_0_2.real_iface; | 3932 const struct PPB_Ext_Socket_Dev_0_2 *iface = Pnacl_WrapperInfo_PPB_Ext_Socket_
Dev_0_2.real_iface; |
| 3931 return iface->GetJoinedGroups(instance, *socket_id, groups, *callback); | 3933 return iface->GetJoinedGroups(instance, *socket_id, groups, *callback); |
| 3932 } | 3934 } |
| 3933 | 3935 |
| 3934 /* End wrapper methods for PPB_Ext_Socket_Dev_0_2 */ | 3936 /* End wrapper methods for PPB_Ext_Socket_Dev_0_2 */ |
| 3935 | 3937 |
| 3936 /* Not generating wrapper interface for PPB_Audio_1_0 */ | 3938 /* Not generating wrapper interface for PPB_Audio_1_0 */ |
| 3937 | 3939 |
| 3940 /* Not generating wrapper interface for PPB_Audio_1_1 */ |
| 3941 |
| 3938 /* Not generating wrapper interface for PPB_AudioConfig_1_0 */ | 3942 /* Not generating wrapper interface for PPB_AudioConfig_1_0 */ |
| 3939 | 3943 |
| 3940 /* Not generating wrapper interface for PPB_AudioConfig_1_1 */ | 3944 /* Not generating wrapper interface for PPB_AudioConfig_1_1 */ |
| 3941 | 3945 |
| 3942 struct PPB_Console_1_0 Pnacl_Wrappers_PPB_Console_1_0 = { | 3946 struct PPB_Console_1_0 Pnacl_Wrappers_PPB_Console_1_0 = { |
| 3943 .Log = (void (*)(PP_Instance instance, PP_LogLevel level, struct PP_Var valu
e))&Pnacl_M25_PPB_Console_Log, | 3947 .Log = (void (*)(PP_Instance instance, PP_LogLevel level, struct PP_Var valu
e))&Pnacl_M25_PPB_Console_Log, |
| 3944 .LogWithSource = (void (*)(PP_Instance instance, PP_LogLevel level, struct P
P_Var source, struct PP_Var value))&Pnacl_M25_PPB_Console_LogWithSource | 3948 .LogWithSource = (void (*)(PP_Instance instance, PP_LogLevel level, struct P
P_Var source, struct PP_Var value))&Pnacl_M25_PPB_Console_LogWithSource |
| 3945 }; | 3949 }; |
| 3946 | 3950 |
| 3947 struct PPB_Core_1_0 Pnacl_Wrappers_PPB_Core_1_0 = { | 3951 struct PPB_Core_1_0 Pnacl_Wrappers_PPB_Core_1_0 = { |
| (...skipping 1779 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5727 if (NULL == iface) return NULL; | 5731 if (NULL == iface) return NULL; |
| 5728 wrapper->real_iface = iface; | 5732 wrapper->real_iface = iface; |
| 5729 } | 5733 } |
| 5730 | 5734 |
| 5731 if (wrapper->wrapped_iface) { | 5735 if (wrapper->wrapped_iface) { |
| 5732 return wrapper->wrapped_iface; | 5736 return wrapper->wrapped_iface; |
| 5733 } else { | 5737 } else { |
| 5734 return wrapper->real_iface; | 5738 return wrapper->real_iface; |
| 5735 } | 5739 } |
| 5736 } | 5740 } |
| OLD | NEW |