eolian: "generic_value" builtin type

This commit is contained in:
Daniel Kolesa 2015-05-29 12:03:57 +01:00
parent 3c27a05c4f
commit 1a48c31f81
5 changed files with 7 additions and 5 deletions

View File

@ -111,7 +111,7 @@ interface Efl.Model.Base ()
property: const(char)*; /*@ Property name */
}
values {
value: const(Eina_Value)*; /*@ New value */
value: const(generic_value)*; /*@ New value */
}
}
@property children_slice {

View File

@ -1,3 +1,2 @@
/* FIXME: Move to Eina when we decide they are handled properly. */
type @extern Eina_Stringshare: const(char) *;
type @extern Eina_Value: void *;

View File

@ -26,7 +26,7 @@ struct Eo.Dbg_Info {
* The structure for the debug info used by Eo.
*/
name: Eina_Stringshare *; /*@< The name of the part (stringshare). */
value: Eina_Value; /*@< The value. */
value: generic_value; /*@< The value. */
}

View File

@ -72,7 +72,10 @@ static const char * const ctypes[] =
"void",
"Eina_Accessor", "Eina_Array", "Eina_Iterator", "Eina_Hash", "Eina_List"
"Eina_Accessor", "Eina_Array", "Eina_Iterator", "Eina_Hash", "Eina_List",
"Eina_Value",
"Eo_Event_Cb"
};
#undef KW

View File

@ -50,7 +50,7 @@ enum Tokens
\
KW(void), \
\
KW(accessor), KW(array), KW(iterator), KW(hash), KW(list), \
KW(accessor), KW(array), KW(iterator), KW(hash), KW(list), KW(generic_value), \
\
KW(__builtin_event_cb), \
\