On Wed, Jun 30, 2010 at 9:49 AM, Julia Lawall <[email protected]> wrote: > -all_includes and -I are for the .c file, but your problem is for the > semantic patch. In a semantic patch, you can declare new type names using > typedef, among the metavariables. So you should put: > > @r2@ > identifier r1.fn; > identifier data; > typedef Eina_bool; > @@
Thanks, now it works like a charm. Also, it's not only the ecore_timer_add() function that changed, but a lot of them. Is there a way to pass as an argument the name of the function to look for? Lucas De Marchi _______________________________________________ Cocci mailing list [email protected] http://lists.diku.dk/mailman/listinfo/cocci (Web access from inside DIKUs LAN only)
