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

Unified Diff: ppapi/generators/idl_gen_wrapper.py

Issue 10950042: PNaCl: Build a PPAPI shims library for all architectures (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Review Created 8 years, 3 months 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ppapi/generators/idl_gen_pnacl.py ('k') | ppapi/native_client/src/untrusted/pnacl_irt_shim/nacl.scons » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/generators/idl_gen_wrapper.py
diff --git a/ppapi/generators/idl_gen_wrapper.py b/ppapi/generators/idl_gen_wrapper.py
index 36ed8b799537c54f6950041cedd9096609704885..7ed0df8bf672673c54eb19eac080ac61c4da33fe 100644
--- a/ppapi/generators/idl_gen_wrapper.py
+++ b/ppapi/generators/idl_gen_wrapper.py
@@ -430,6 +430,8 @@ const void *__%(wrapper_prefix)s_PPPGetInterface(const char *name) {
# Generate the includes.
self.GenerateIncludes(iface_releases, out)
+ out.Write(self.GetGuardStart())
+
# Write out static helper functions (mystrcmp).
self.GenerateHelperFunctions(out)
@@ -449,5 +451,7 @@ const void *__%(wrapper_prefix)s_PPPGetInterface(const char *name) {
# Write out the IDL-invariant functions.
self.GenerateFixedFunctions(out)
+
+ out.Write(self.GetGuardEnd())
out.Close()
return 0
« no previous file with comments | « ppapi/generators/idl_gen_pnacl.py ('k') | ppapi/native_client/src/untrusted/pnacl_irt_shim/nacl.scons » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698