summaryrefslogtreecommitdiff
path: root/src/bin/eolian/eo1_generator.c
diff options
context:
space:
mode:
authorDaniel Zaoui <daniel.zaoui@samsung.com>2014-03-11 14:00:44 +0200
committerDaniel Zaoui <daniel.zaoui@samsung.com>2014-03-11 15:25:24 +0200
commitd3f343bdcced4ab88ef694fc900b978f4b2cfe75 (patch)
tree12fb383c804ab73e6282540b3f9f12e5a0a8fe2c /src/bin/eolian/eo1_generator.c
parent6f2657c3fb65a2ea4f1216686e27f170742456fe (diff)
Eolian/Generator: fix type when no data type exists.
When data is set as "null", the generator was writing for this data variable "void * *_pd" instead of "void *_pd".
Diffstat (limited to '')
-rw-r--r--src/bin/eolian/eo1_generator.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/eolian/eo1_generator.c b/src/bin/eolian/eo1_generator.c
index b3cf36631b..0b02d5b758 100644
--- a/src/bin/eolian/eo1_generator.c
+++ b/src/bin/eolian/eo1_generator.c
@@ -460,7 +460,7 @@ eo1_bind_func_generate(const char *classname, Eolian_Function funcid, Eolian_Fun
460 eina_strbuf_replace_all(fbody, "@#list_params", eina_strbuf_string_get(params)); 460 eina_strbuf_replace_all(fbody, "@#list_params", eina_strbuf_string_get(params));
461 const char *data_type = eolian_class_data_type_get(classname); 461 const char *data_type = eolian_class_data_type_get(classname);
462 if (data_type && !strcmp(data_type, "null")) 462 if (data_type && !strcmp(data_type, "null"))
463 eina_strbuf_replace_all(fbody, "@#Datatype_Data", "void *"); 463 eina_strbuf_replace_all(fbody, "@#Datatype_Data", "void");
464 else 464 else
465 { 465 {
466 if (data_type) eina_strbuf_replace_all(fbody, "@#Datatype_Data", data_type); 466 if (data_type) eina_strbuf_replace_all(fbody, "@#Datatype_Data", data_type);