jackdanielz pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=d3f343bdcced4ab88ef694fc900b978f4b2cfe75

commit d3f343bdcced4ab88ef694fc900b978f4b2cfe75
Author: Daniel Zaoui <[email protected]>
Date:   Tue Mar 11 14:00:44 2014 +0200

    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".
---
 src/bin/eolian/eo1_generator.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bin/eolian/eo1_generator.c b/src/bin/eolian/eo1_generator.c
index b3cf366..0b02d5b 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
    eina_strbuf_replace_all(fbody, "@#list_params", 
eina_strbuf_string_get(params));
    const char *data_type = eolian_class_data_type_get(classname);
    if (data_type && !strcmp(data_type, "null"))
-      eina_strbuf_replace_all(fbody, "@#Datatype_Data", "void *");
+      eina_strbuf_replace_all(fbody, "@#Datatype_Data", "void");
    else
      {
         if (data_type) eina_strbuf_replace_all(fbody, "@#Datatype_Data", 
data_type);

-- 


Reply via email to