| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 {{generator_warning}} | 5 {{generator_warning}} |
| 6 | 6 |
| 7 #ifndef MOJO_NACL_MOJO_IRT_H_ | 7 #ifndef {{platform_dir_header_path}}_MOJO_IRT_H_ |
| 8 #define MOJO_NACL_MOJO_IRT_H_ | 8 #define {{platform_dir_header_path}}_MOJO_IRT_H_ |
| 9 | 9 |
| 10 #include "mojo/common/mojo_common_export.h" | |
| 11 #include "mojo/public/c/system/buffer.h" | 10 #include "mojo/public/c/system/buffer.h" |
| 12 #include "mojo/public/c/system/data_pipe.h" | 11 #include "mojo/public/c/system/data_pipe.h" |
| 13 #include "mojo/public/c/system/message_pipe.h" | 12 #include "mojo/public/c/system/message_pipe.h" |
| 14 #include "mojo/public/c/system/types.h" | 13 #include "mojo/public/c/system/types.h" |
| 15 | 14 |
| 16 #define NACL_IRT_MOJO_v0_1 "nacl-irt-mojo-0.1" | 15 #define NACL_IRT_MOJO_v0_1 "nacl-irt-mojo-0.1" |
| 17 | 16 |
| 18 {{body}} | 17 {{body}} |
| 19 | 18 |
| 20 #ifdef __cplusplus | 19 #ifdef __cplusplus |
| 21 extern "C" { | 20 extern "C" { |
| 22 #endif | 21 #endif |
| 23 | 22 |
| 24 size_t mojo_irt_query(const char* interface_ident, | 23 size_t mojo_irt_query(const char* interface_ident, |
| 25 void* table, | 24 void* table, |
| 26 size_t tablesize); | 25 size_t tablesize); |
| 27 | 26 |
| 28 #ifdef __cplusplus | 27 #ifdef __cplusplus |
| 29 } | 28 } |
| 30 #endif | 29 #endif |
| 31 | 30 |
| 32 #endif // MOJO_NACL_MOJO_IRT_H_ | 31 #endif // {{platform_dir_header_path}}_MOJO_IRT_H_ |
| OLD | NEW |