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