eolian: Add builtin type "strbuf"

Refers to Eina_Strbuf*
This commit is contained in:
Jean-Philippe Andre 2017-11-22 15:44:06 +09:00
parent cfb3365060
commit 43a6fddf1f
3 changed files with 3 additions and 2 deletions

View File

@ -121,6 +121,7 @@ eolian_function_full_c_name_get(const Eolian_Function *foo_id,
}
char tbuf[512];
tbuf[0] = '\0';
const char *prefix = (ftype != EOLIAN_FUNCTION_POINTER) ? _get_eo_prefix(foo_id, tbuf, use_legacy): tbuf;
if (!prefix)

View File

@ -76,7 +76,7 @@ static const char * const ctypes[] =
"Eina_List *", "Eina_Inarray *", "Eina_Inlist *",
"Efl_Future *",
"Eina_Value", "Eina_Value *",
"char *", "const char *", "Eina_Stringshare *",
"char *", "const char *", "Eina_Stringshare *", "Eina_Strbuf *",
"void *",

View File

@ -54,7 +54,7 @@ enum Tokens
KW(accessor), KW(array), KW(iterator), KW(hash), KW(list), KW(inarray), KW(inlist), \
KW(future), \
KW(any_value), KW(any_value_ptr), \
KW(mstring), KW(string), KW(stringshare), \
KW(mstring), KW(string), KW(stringshare), KW(strbuf), \
\
KW(void_ptr), \
KW(__builtin_free_cb), \