| 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;
|
| +};
|
|
|