OLD | NEW |
---|---|
(Empty) | |
1 /* | |
2 * Copyright 2014 The Chromium Authors. All rights reserved. | |
3 * Use of this source code is governed by a BSD-style license that can be | |
4 * found in the LICENSE file. | |
5 */ | |
6 | |
7 #ifndef PPAPI_NATIVE_CLIENT_SRC_UNTRUSTED_PNACL_IRT_SHIM_IRT_SHIM_PPAPI_H_ | |
8 #define PPAPI_NATIVE_CLIENT_SRC_UNTRUSTED_PNACL_IRT_SHIM_IRT_SHIM_PPAPI_H_ | |
9 | |
10 #include "ppapi/nacl_irt/irt_ppapi.h" | |
11 | |
12 #ifdef PNACL_SHIM_AOT | |
13 /* Given a hook for the real irt ppapi start, get a shimmed ppapi_start. */ | |
14 extern int (*real_irt_ppapi_start)(const struct PP_StartFunctions *); | |
15 extern int irt_shim_ppapi_start(const struct PP_StartFunctions *funcs); | |
16 #else | |
Mark Seaborn
2014/02/27 17:24:07
Nit: add empty lines around #else/#ifdef/#endif fo
jvoung (off chromium)
2014/02/27 21:55:45
Done.
| |
17 /* | |
18 * A private version of the NACL_IRT_PPAPIHOOK_v0_1, which provides | |
19 * PNaCl with shimmed IRT interfaces. | |
20 */ | |
21 #define NACL_IRT_PPAPIHOOK_PNACL_PRIVATE_v0_1 \ | |
22 "nacl-irt-ppapihook-pnacl-private-0.1" | |
23 extern const struct nacl_irt_ppapihook nacl_irt_ppapihook_pnacl_private; | |
24 #endif | |
25 | |
26 #endif | |
OLD | NEW |