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

Unified Diff: ppapi/generators/idl_c_proto.py

Issue 8045001: Update the IDL Generator to use Release instead of Version (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 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_ast.py ('k') | ppapi/generators/idl_generator.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/generators/idl_c_proto.py
===================================================================
--- ppapi/generators/idl_c_proto.py (revision 102516)
+++ ppapi/generators/idl_c_proto.py (working copy)
@@ -103,6 +103,13 @@
'return': ' %s*',
'store': '%s'
},
+ 'blob_t': {
+ 'in': 'const %s',
+ 'inout': '%s',
+ 'out': '%s',
+ 'return': '%s',
+ 'store': '%s'
+ },
'mem_t': {
'in': 'const %s',
'inout': '%s',
@@ -134,6 +141,7 @@
# types before being returned by by the C generator
#
RemapName = {
+ 'blob_t': 'void**',
'float_t': 'float',
'double_t': 'double',
'handle_t': 'int',
@@ -567,4 +575,3 @@
if __name__ == '__main__':
sys.exit(Main(sys.argv[1:]))
-
« no previous file with comments | « ppapi/generators/idl_ast.py ('k') | ppapi/generators/idl_generator.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698