Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(253)

Side by Side Diff: ppapi/generators/pnacl_shim.h

Issue 8568025: Pnacl ppapi shim generator (from IDL), based on Noel's first cut. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 9 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ppapi/generators/idl_generator.py ('k') | ppapi/generators/test_gen_pnacl/test_interfaces.idl » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 * found in the LICENSE file.
4 */
5
6 #ifndef PPAPI_GENERATORS_PNACL_SHIM_H_
7 #define PPAPI_GENERATORS_PNACL_SHIM_H_
8
9 #include "ppapi/c/ppb.h"
10
11 /** Defines the interface exposed by the generated wrapper code. */
12
13 /* There is not a typedef for PPP_GetInterface_type, but it is currently
14 * the same as PPB_GetInterface. */
15 typedef PPB_GetInterface PPP_GetInterface_Type;
16
17 void __set_real_Pnacl_PPBGetInterface(PPB_GetInterface real);
18 void __set_real_Pnacl_PPPGetInterface(PPP_GetInterface_Type real);
19
20 const void *__Pnacl_PPBGetInterface(const char *name);
21 const void *__Pnacl_PPPGetInterface(const char *name);
22
23 struct __PnaclWrapperInfo {
24 const char* iface_macro;
25 const void* wrapped_iface; /* If NULL then it was not wrapped! */
26 const void* real_iface;
27 };
28
29 #endif /* PPAPI_GENERATORS_PNACL_SHIM_H_ */
OLDNEW
« no previous file with comments | « ppapi/generators/idl_generator.py ('k') | ppapi/generators/test_gen_pnacl/test_interfaces.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698