summaryrefslogtreecommitdiff
path: root/src/bin/eolian
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@samsung.com>2019-09-09 18:26:49 +0200
committerDaniel Kolesa <d.kolesa@samsung.com>2019-09-09 18:26:49 +0200
commit267c57d0f10d4b1577181c8f7157b7bc2f8053a6 (patch)
tree7e41546452c4ad6c6aa93664e3e2a858fd01bf9d /src/bin/eolian
parent165921ec040f427875fc0b32b1f03d4a45efd25e (diff)
eolian: remove second parameter for eolian_type_c_type_get
This has been replaced by newer APIs.
Diffstat (limited to 'src/bin/eolian')
-rw-r--r--src/bin/eolian/docs.c2
-rw-r--r--src/bin/eolian/sources.c2
-rw-r--r--src/bin/eolian/types.c4
3 files changed, 4 insertions, 4 deletions
diff --git a/src/bin/eolian/docs.c b/src/bin/eolian/docs.c
index 498278f..0e0d359 100644
--- a/src/bin/eolian/docs.c
+++ b/src/bin/eolian/docs.c
@@ -380,7 +380,7 @@ eo_gen_docs_event_gen(const Eolian_State *state, const Eolian_Event *ev,
380 if (rt) 380 if (rt)
381 { 381 {
382 p = buf; 382 p = buf;
383 Eina_Stringshare *rts = eolian_type_c_type_get(rt, EOLIAN_C_TYPE_DEFAULT); 383 Eina_Stringshare *rts = eolian_type_c_type_get(rt);
384 snprintf(buf, sizeof(buf), "@return %s", rts); 384 snprintf(buf, sizeof(buf), "@return %s", rts);
385 eina_stringshare_del(rts); 385 eina_stringshare_del(rts);
386 } 386 }
diff --git a/src/bin/eolian/sources.c b/src/bin/eolian/sources.c
index dea9d86..fd0c32b 100644
--- a/src/bin/eolian/sources.c
+++ b/src/bin/eolian/sources.c
@@ -235,7 +235,7 @@ _generate_iterative_free(Eina_Strbuf **buf, const Eolian_Type *type, const Eolia
235 eina_strbuf_append_printf(iter_param, "%s_iter", eolian_parameter_name_get(parameter)); 235 eina_strbuf_append_printf(iter_param, "%s_iter", eolian_parameter_name_get(parameter));
236 236
237 //generate the field definition 237 //generate the field definition
238 eina_strbuf_append_printf(*buf, " %s", eolian_type_c_type_get(inner_type, EOLIAN_C_TYPE_DEFAULT)); 238 eina_strbuf_append_printf(*buf, " %s", eolian_type_c_type_get(inner_type));
239 eina_strbuf_append_buffer(*buf, iter_param); 239 eina_strbuf_append_buffer(*buf, iter_param);
240 eina_strbuf_append(*buf, ";\n"); 240 eina_strbuf_append(*buf, ";\n");
241 241
diff --git a/src/bin/eolian/types.c b/src/bin/eolian/types.c
index 7fe1a85..75426f1 100644
--- a/src/bin/eolian/types.c
+++ b/src/bin/eolian/types.c
@@ -203,7 +203,7 @@ _var_generate(const Eolian_State *state, const Eolian_Variable *vr)
203 } 203 }
204 else 204 else
205 { 205 {
206 Eina_Stringshare *ct = eolian_type_c_type_get(vt, EOLIAN_C_TYPE_DEFAULT); 206 Eina_Stringshare *ct = eolian_type_c_type_get(vt);
207 eina_strbuf_append_printf(buf, "EWAPI extern %s %s;", ct, fn); 207 eina_strbuf_append_printf(buf, "EWAPI extern %s %s;", ct, fn);
208 eina_stringshare_del(ct); 208 eina_stringshare_del(ct);
209 } 209 }
@@ -394,7 +394,7 @@ _source_gen_var(Eina_Strbuf *buf, const Eolian_Variable *vr)
394 eina_str_toupper(&fn); 394 eina_str_toupper(&fn);
395 395
396 const Eolian_Type *vt = eolian_variable_base_type_get(vr); 396 const Eolian_Type *vt = eolian_variable_base_type_get(vr);
397 Eina_Stringshare *ct = eolian_type_c_type_get(vt, EOLIAN_C_TYPE_DEFAULT); 397 Eina_Stringshare *ct = eolian_type_c_type_get(vt);
398 eina_strbuf_append_printf(buf, "EWAPI %s %s = ", ct, fn); 398 eina_strbuf_append_printf(buf, "EWAPI %s %s = ", ct, fn);
399 eina_stringshare_del(ct); 399 eina_stringshare_del(ct);
400 free(fn); 400 free(fn);