summaryrefslogtreecommitdiff
path: root/src/lib/eolian/database_type_api.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/eolian/database_type_api.c')
-rw-r--r--src/lib/eolian/database_type_api.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/eolian/database_type_api.c b/src/lib/eolian/database_type_api.c
index 47d994e584..e986611fe6 100644
--- a/src/lib/eolian/database_type_api.c
+++ b/src/lib/eolian/database_type_api.c
@@ -355,13 +355,13 @@ eolian_typedecl_is_extern(const Eolian_Typedecl *tp)
355} 355}
356 356
357EAPI Eina_Stringshare * 357EAPI Eina_Stringshare *
358eolian_type_c_type_get(const Eolian_Type *tp, Eolian_C_Type_Type ctype EINA_UNUSED) 358eolian_type_c_type_get(const Eolian_Type *tp, Eolian_C_Type_Type ctype)
359{ 359{
360 Eina_Stringshare *ret; 360 Eina_Stringshare *ret;
361 Eina_Strbuf *buf; 361 Eina_Strbuf *buf;
362 EINA_SAFETY_ON_NULL_RETURN_VAL(tp, NULL); 362 EINA_SAFETY_ON_NULL_RETURN_VAL(tp, NULL);
363 buf = eina_strbuf_new(); 363 buf = eina_strbuf_new();
364 database_type_to_str(tp, buf, NULL); 364 database_type_to_str(tp, buf, NULL, ctype);
365 ret = eina_stringshare_add(eina_strbuf_string_get(buf)); 365 ret = eina_stringshare_add(eina_strbuf_string_get(buf));
366 eina_strbuf_free(buf); 366 eina_strbuf_free(buf);
367 return ret; 367 return ret;