| OLD | NEW |
| 1 // Copyright (c) 2011 The Native Client Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #include <assert.h> | 5 #include <assert.h> |
| 6 | 6 |
| 7 #include "native_client/src/trusted/plugin/var_utils.h" | 7 #include "native_client/src/trusted/plugin/var_utils.h" |
| 8 | 8 |
| 9 #include "native_client/src/include/nacl_macros.h" | 9 #include "native_client/src/include/nacl_macros.h" |
| 10 #include "native_client/src/include/nacl_string.h" | 10 #include "native_client/src/include/nacl_string.h" |
| 11 #include "native_client/src/include/portability_io.h" | 11 #include "native_client/src/include/portability_io.h" |
| (...skipping 396 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 408 case NACL_SRPC_ARG_TYPE_INVALID: | 408 case NACL_SRPC_ARG_TYPE_INVALID: |
| 409 default: | 409 default: |
| 410 *exception = "variant array and invalid argument types are not supproted"; | 410 *exception = "variant array and invalid argument types are not supproted"; |
| 411 } | 411 } |
| 412 PLUGIN_PRINTF((" NaClSrpcArgToPPVar (return var=%s, exception=%s)\n", | 412 PLUGIN_PRINTF((" NaClSrpcArgToPPVar (return var=%s, exception=%s)\n", |
| 413 var.DebugString().c_str(), exception->DebugString().c_str())); | 413 var.DebugString().c_str(), exception->DebugString().c_str())); |
| 414 return var; | 414 return var; |
| 415 } | 415 } |
| 416 | 416 |
| 417 } // namespace plugin | 417 } // namespace plugin |
| OLD | NEW |