| OLD | NEW |
| 1 // Copyright (c) 2011 The Native Client Authors. All rights reserved. | 1 // Copyright (c) 2011 The Native Client 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 // WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING | 5 // WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING |
| 6 // | 6 // |
| 7 // Automatically generated code. See srpcgen.py | 7 // Automatically generated code. See srpcgen.py |
| 8 // | 8 // |
| 9 // NaCl Simple Remote Procedure Call interface abstractions. | 9 // NaCl Simple Remote Procedure Call interface abstractions. |
| 10 | 10 |
| (...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 138 PP_Instance instance) { | 138 PP_Instance instance) { |
| 139 NaClSrpcError retval; | 139 NaClSrpcError retval; |
| 140 retval = NaClSrpcInvokeBySignature( | 140 retval = NaClSrpcInvokeBySignature( |
| 141 channel, | 141 channel, |
| 142 "PPP_Find_StopFind:i:", | 142 "PPP_Find_StopFind:i:", |
| 143 instance | 143 instance |
| 144 ); | 144 ); |
| 145 return retval; | 145 return retval; |
| 146 } | 146 } |
| 147 | 147 |
| 148 NaClSrpcError PppInputEventRpcClient::PPP_InputEvent_HandleInputEvent( |
| 149 NaClSrpcChannel* channel, |
| 150 PP_Instance instance, |
| 151 PP_Resource resource, |
| 152 nacl_abi_size_t event_data_bytes, char* event_data, |
| 153 nacl_abi_size_t character_text_bytes, char* character_text, |
| 154 int32_t* handled) { |
| 155 NaClSrpcError retval; |
| 156 retval = NaClSrpcInvokeBySignature( |
| 157 channel, |
| 158 "PPP_InputEvent_HandleInputEvent:iiCC:i", |
| 159 instance, |
| 160 resource, |
| 161 event_data_bytes, event_data, |
| 162 character_text_bytes, character_text, |
| 163 handled |
| 164 ); |
| 165 return retval; |
| 166 } |
| 167 |
| 148 NaClSrpcError PppInstanceRpcClient::PPP_Instance_DidCreate( | 168 NaClSrpcError PppInstanceRpcClient::PPP_Instance_DidCreate( |
| 149 NaClSrpcChannel* channel, | 169 NaClSrpcChannel* channel, |
| 150 PP_Instance instance, | 170 PP_Instance instance, |
| 151 int32_t argc, | 171 int32_t argc, |
| 152 nacl_abi_size_t argn_bytes, char* argn, | 172 nacl_abi_size_t argn_bytes, char* argn, |
| 153 nacl_abi_size_t argv_bytes, char* argv, | 173 nacl_abi_size_t argv_bytes, char* argv, |
| 154 int32_t* success) { | 174 int32_t* success) { |
| 155 NaClSrpcError retval; | 175 NaClSrpcError retval; |
| 156 retval = NaClSrpcInvokeBySignature( | 176 retval = NaClSrpcInvokeBySignature( |
| 157 channel, | 177 channel, |
| (...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 373 channel, | 393 channel, |
| 374 "PPP_Zoom_Zoom:idi:", | 394 "PPP_Zoom_Zoom:idi:", |
| 375 instance, | 395 instance, |
| 376 factor, | 396 factor, |
| 377 text_only | 397 text_only |
| 378 ); | 398 ); |
| 379 return retval; | 399 return retval; |
| 380 } | 400 } |
| 381 | 401 |
| 382 | 402 |
| OLD | NEW |