Eolian/Generator: add private data to the prototypes of implementations
authorDaniel Zaoui <daniel.zaoui@samsung.com>
Wed, 19 Feb 2014 12:51:40 +0000 (14:51 +0200)
committerDaniel Zaoui <daniel.zaoui@samsung.com>
Mon, 3 Mar 2014 12:09:56 +0000 (14:09 +0200)
src/bin/eolian/eo1_generator.c

index 5340ef5..6edb0e0 100644 (file)
@@ -109,12 +109,12 @@ tmpl_eo_pardesc[] =" * @param[%s] %s\n";
 static const char
 tmpl_eobind_body[] ="\
 \n\
-@#ret_type _@#class_@#func(Eo *obj@#full_params);\n\n\
+@#ret_type _@#class_@#func(Eo *obj, void *_pd@#full_params);\n\n\
 static void\n\
-_eo_obj_@#class_@#func(Eo *obj, void *_pd EINA_UNUSED, va_list *list@#list_unused)\n\
+_eo_obj_@#class_@#func(Eo *obj, void *_pd, va_list *list@#list_unused)\n\
 {\n\
 @#list_vars\
-   @#ret_param_@#class_@#func(obj@#list_params);\n\
+   @#ret_param_@#class_@#func(obj, _pd@#list_params);\n\
 }\n\
 ";