| OLD | NEW |
| 1 // Copyright (c) 2010 The Native Client Authors. All rights reserved. | 1 // Copyright (c) 2010 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 193 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 204 ) { | 204 ) { |
| 205 UNREFERENCED_PARAMETER(outputs); | 205 UNREFERENCED_PARAMETER(outputs); |
| 206 UNREFERENCED_PARAMETER(done); | 206 UNREFERENCED_PARAMETER(done); |
| 207 PpbCoreRpcServer::PPB_Core_ReleaseResource( | 207 PpbCoreRpcServer::PPB_Core_ReleaseResource( |
| 208 rpc, | 208 rpc, |
| 209 done, | 209 done, |
| 210 inputs[0]->u.lval | 210 inputs[0]->u.lval |
| 211 ); | 211 ); |
| 212 } | 212 } |
| 213 | 213 |
| 214 static void ReleaseResourceMultipleTimesDispatcher( |
| 215 NaClSrpcRpc* rpc, |
| 216 NaClSrpcArg** inputs, |
| 217 NaClSrpcArg** outputs, |
| 218 NaClSrpcClosure* done |
| 219 ) { |
| 220 UNREFERENCED_PARAMETER(outputs); |
| 221 UNREFERENCED_PARAMETER(done); |
| 222 PpbCoreRpcServer::ReleaseResourceMultipleTimes( |
| 223 rpc, |
| 224 done, |
| 225 inputs[0]->u.lval, |
| 226 inputs[1]->u.ival |
| 227 ); |
| 228 } |
| 229 |
| 214 static void PPB_Core_GetTimeDispatcher( | 230 static void PPB_Core_GetTimeDispatcher( |
| 215 NaClSrpcRpc* rpc, | 231 NaClSrpcRpc* rpc, |
| 216 NaClSrpcArg** inputs, | 232 NaClSrpcArg** inputs, |
| 217 NaClSrpcArg** outputs, | 233 NaClSrpcArg** outputs, |
| 218 NaClSrpcClosure* done | 234 NaClSrpcClosure* done |
| 219 ) { | 235 ) { |
| 220 UNREFERENCED_PARAMETER(inputs); | 236 UNREFERENCED_PARAMETER(inputs); |
| 221 UNREFERENCED_PARAMETER(done); | 237 UNREFERENCED_PARAMETER(done); |
| 222 PpbCoreRpcServer::PPB_Core_GetTime( | 238 PpbCoreRpcServer::PPB_Core_GetTime( |
| 223 rpc, | 239 rpc, |
| (...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 412 { "HasMethod:CCC:iC", HasMethodDispatcher }, | 428 { "HasMethod:CCC:iC", HasMethodDispatcher }, |
| 413 { "GetProperty:CCC:CC", GetPropertyDispatcher }, | 429 { "GetProperty:CCC:CC", GetPropertyDispatcher }, |
| 414 { "GetAllPropertyNames:CC:iCC", GetAllPropertyNamesDispatcher }, | 430 { "GetAllPropertyNames:CC:iCC", GetAllPropertyNamesDispatcher }, |
| 415 { "SetProperty:CCCC:C", SetPropertyDispatcher }, | 431 { "SetProperty:CCCC:C", SetPropertyDispatcher }, |
| 416 { "RemoveProperty:CCC:C", RemovePropertyDispatcher }, | 432 { "RemoveProperty:CCC:C", RemovePropertyDispatcher }, |
| 417 { "Call:CCiCC:CC", CallDispatcher }, | 433 { "Call:CCiCC:CC", CallDispatcher }, |
| 418 { "Construct:CiCC:CC", ConstructDispatcher }, | 434 { "Construct:CiCC:CC", ConstructDispatcher }, |
| 419 { "Deallocate:C:", DeallocateDispatcher }, | 435 { "Deallocate:C:", DeallocateDispatcher }, |
| 420 { "PPB_Core_AddRefResource:l:", PPB_Core_AddRefResourceDispatcher }, | 436 { "PPB_Core_AddRefResource:l:", PPB_Core_AddRefResourceDispatcher }, |
| 421 { "PPB_Core_ReleaseResource:l:", PPB_Core_ReleaseResourceDispatcher }, | 437 { "PPB_Core_ReleaseResource:l:", PPB_Core_ReleaseResourceDispatcher }, |
| 438 { "ReleaseResourceMultipleTimes:li:", ReleaseResourceMultipleTimesDispatcher }
, |
| 422 { "PPB_Core_GetTime::d", PPB_Core_GetTimeDispatcher }, | 439 { "PPB_Core_GetTime::d", PPB_Core_GetTimeDispatcher }, |
| 423 { "PPB_Graphics2D_Create:lIi:l", PPB_Graphics2D_CreateDispatcher }, | 440 { "PPB_Graphics2D_Create:lIi:l", PPB_Graphics2D_CreateDispatcher }, |
| 424 { "PPB_Graphics2D_IsGraphics2D:l:i", PPB_Graphics2D_IsGraphics2DDispatcher }, | 441 { "PPB_Graphics2D_IsGraphics2D:l:i", PPB_Graphics2D_IsGraphics2DDispatcher }, |
| 425 { "PPB_Graphics2D_Describe:l:Iii", PPB_Graphics2D_DescribeDispatcher }, | 442 { "PPB_Graphics2D_Describe:l:Iii", PPB_Graphics2D_DescribeDispatcher }, |
| 426 { "PPB_Graphics2D_PaintImageData:llII:", PPB_Graphics2D_PaintImageDataDispatch
er }, | 443 { "PPB_Graphics2D_PaintImageData:llII:", PPB_Graphics2D_PaintImageDataDispatch
er }, |
| 427 { "PPB_Graphics2D_Scroll:lII:", PPB_Graphics2D_ScrollDispatcher }, | 444 { "PPB_Graphics2D_Scroll:lII:", PPB_Graphics2D_ScrollDispatcher }, |
| 428 { "PPB_Graphics2D_ReplaceContents:ll:", PPB_Graphics2D_ReplaceContentsDispatch
er }, | 445 { "PPB_Graphics2D_ReplaceContents:ll:", PPB_Graphics2D_ReplaceContentsDispatch
er }, |
| 429 { "PPB_ImageData_GetNativeImageDataFormat::i", PPB_ImageData_GetNativeImageDat
aFormatDispatcher }, | 446 { "PPB_ImageData_GetNativeImageDataFormat::i", PPB_ImageData_GetNativeImageDat
aFormatDispatcher }, |
| 430 { "PPB_ImageData_IsImageDataFormatSupported:i:i", PPB_ImageData_IsImageDataFor
matSupportedDispatcher }, | 447 { "PPB_ImageData_IsImageDataFormatSupported:i:i", PPB_ImageData_IsImageDataFor
matSupportedDispatcher }, |
| 431 { "PPB_ImageData_Create:liIi:l", PPB_ImageData_CreateDispatcher }, | 448 { "PPB_ImageData_Create:liIi:l", PPB_ImageData_CreateDispatcher }, |
| 432 { "PPB_ImageData_IsImageData:l:i", PPB_ImageData_IsImageDataDispatcher }, | 449 { "PPB_ImageData_IsImageData:l:i", PPB_ImageData_IsImageDataDispatcher }, |
| 433 { "PPB_ImageData_Describe:l:Ii", PPB_ImageData_DescribeDispatcher }, | 450 { "PPB_ImageData_Describe:l:Ii", PPB_ImageData_DescribeDispatcher }, |
| 434 { NULL, NULL } | 451 { NULL, NULL } |
| 435 }; // NACL_SRPC_METHOD_ARRAY | 452 }; // NACL_SRPC_METHOD_ARRAY |
| 436 | 453 |
| OLD | NEW |