OLD | NEW |
---|---|
(Empty) | |
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 | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef MOJO_INTERFACE_NACL_NONSFI_H_ | |
Mark Seaborn
2015/09/01 21:05:46
Style nit: I believe these #define names are suppo
Sean Klein
2015/09/01 22:55:27
Done.
| |
6 #define MOJO_INTERFACE_NACL_NONSFI_H_ | |
7 | |
8 #include "mojo/public/c/system/functions.h" | |
9 #include "mojo/public/platform/nacl/mojo_irt.h" | |
Mark Seaborn
2015/09/01 21:05:46
Nit: not needed, following #include-what-you-use.
Sean Klein
2015/09/01 22:55:27
Done.
| |
10 #include "native_client/src/public/irt_core.h" | |
Mark Seaborn
2015/09/01 21:05:46
Also not needed. You just need stdlib.h for size_
Sean Klein
2015/09/01 22:55:27
Done -- though stdlib is not needed either.
| |
11 | |
12 // Used to pass handle to application. If uncalled, | |
13 // the handle defaults to MOJO_HANDLE_INVALID. | |
14 void mojo_set_initial_handle(MojoHandle handle); | |
Mark Seaborn
2015/09/01 21:05:46
Can you use CamelCase and put these in a namespace
Sean Klein
2015/09/01 22:55:27
Done.
| |
15 | |
16 // Standard mojo nonsfi query function which may be passed to | |
Mark Seaborn
2015/09/01 21:05:46
Can you say "IRT interface query function" to add
Sean Klein
2015/09/01 22:55:27
Done.
| |
17 // nacl_irt_nonsfi_entry. Queries for a mojo interface, then for | |
18 // the irt core. | |
19 size_t mojo_irt_nonsfi_query(const char* interface_ident, | |
20 void* table, size_t tablesize); | |
21 | |
22 #endif // MOJO_INTERFACE_NACL_NONSFI_H_ | |
OLD | NEW |