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

Unified Diff: ppapi/generators/test_cgen/structs.idl

Issue 7272043: Update Lexer/Parser to support '#inline' and 'label' (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 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/generators/test_cgen/interface.idl ('k') | ppapi/generators/test_lex.in » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/generators/test_cgen/structs.idl
===================================================================
--- ppapi/generators/test_cgen/structs.idl (revision 90352)
+++ ppapi/generators/test_cgen/structs.idl (working copy)
@@ -26,3 +26,17 @@
s_array[640][480] pixels;
};
+/* typedef float (*func_t)(s_array data); */
+typedef float_t func_t([in] s_array data);
+
+/* typedef func_t (*findfunc_t)(const char* x); */
+typedef func_t findfunc_t([in] str_t x);
+
+/* struct sfoo {
+ s_array screen[480][640];
+ findfunc_t myfunc;
+}; */
+struct sfoo {
+ s_array[480][640] screen;
+ findfunc_t myfunc;
+};
« no previous file with comments | « ppapi/generators/test_cgen/interface.idl ('k') | ppapi/generators/test_lex.in » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698