eolian: use short name for function pointer name

This commit is contained in:
Daniel Kolesa 2018-03-12 12:26:17 +01:00
parent 5cc3abb425
commit 94e1487ed8
1 changed files with 1 additions and 1 deletions

View File

@ -1353,7 +1353,7 @@ parse_function_pointer(Eo_Lexer *ls)
meth->klass = NULL;
meth->type = EOLIAN_FUNCTION_POINTER;
meth->get_scope = meth->set_scope = EOLIAN_SCOPE_PUBLIC;
meth->base.name = eina_stringshare_ref(def->base.name);
meth->base.name = eina_stringshare_add(database_object_short_name_get(&def->base));
def->function_pointer = meth;
eolian_object_ref(&meth->base);