forked from enlightenment/efl
eolian: "generic_value" builtin type
This commit is contained in:
parent
3c27a05c4f
commit
1a48c31f81
|
@ -111,7 +111,7 @@ interface Efl.Model.Base ()
|
||||||
property: const(char)*; /*@ Property name */
|
property: const(char)*; /*@ Property name */
|
||||||
}
|
}
|
||||||
values {
|
values {
|
||||||
value: const(Eina_Value)*; /*@ New value */
|
value: const(generic_value)*; /*@ New value */
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@property children_slice {
|
@property children_slice {
|
||||||
|
|
|
@ -1,3 +1,2 @@
|
||||||
/* FIXME: Move to Eina when we decide they are handled properly. */
|
/* FIXME: Move to Eina when we decide they are handled properly. */
|
||||||
type @extern Eina_Stringshare: const(char) *;
|
type @extern Eina_Stringshare: const(char) *;
|
||||||
type @extern Eina_Value: void *;
|
|
||||||
|
|
|
@ -26,7 +26,7 @@ struct Eo.Dbg_Info {
|
||||||
* The structure for the debug info used by Eo.
|
* The structure for the debug info used by Eo.
|
||||||
*/
|
*/
|
||||||
name: Eina_Stringshare *; /*@< The name of the part (stringshare). */
|
name: Eina_Stringshare *; /*@< The name of the part (stringshare). */
|
||||||
value: Eina_Value; /*@< The value. */
|
value: generic_value; /*@< The value. */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -72,7 +72,10 @@ static const char * const ctypes[] =
|
||||||
|
|
||||||
"void",
|
"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
|
#undef KW
|
||||||
|
|
|
@ -50,7 +50,7 @@ enum Tokens
|
||||||
\
|
\
|
||||||
KW(void), \
|
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), \
|
KW(__builtin_event_cb), \
|
||||||
\
|
\
|
||||||
|
|
Loading…
Reference in New Issue