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

Unified Diff: ppapi/generators/idl_c_proto.py

Issue 10566014: Change PP_Flash_BrowserOperations_SiteSetting.site from PP_Var to const char*. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove assert_size Created 8 years, 6 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/c/private/ppp_flash_browser_operations.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/generators/idl_c_proto.py
diff --git a/ppapi/generators/idl_c_proto.py b/ppapi/generators/idl_c_proto.py
index ccb9946efaa12e5b2185d75bfbd0334443c9b70c..dffd375f8864110dfdc42c4d89754068e6132d0e 100755
--- a/ppapi/generators/idl_c_proto.py
+++ b/ppapi/generators/idl_c_proto.py
@@ -123,6 +123,13 @@ class CGen(object):
'return': 'const %s',
'store': '%s'
},
+ 'cstr_t': {
+ 'in': '%s',
+ 'inout': '%s*',
+ 'out': '%s*',
+ 'return': '%s',
+ 'store': '%s'
+ },
'TypeValue': {
'in': '%s',
'inout': '%s*',
@@ -146,6 +153,7 @@ class CGen(object):
'handle_t': 'int',
'mem_t': 'void*',
'str_t': 'char*',
+ 'cstr_t': 'const char*',
'interface_t' : 'const void*'
}
« no previous file with comments | « ppapi/c/private/ppp_flash_browser_operations.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698