eolian: rename generic_value to any_value
This commit is contained in:
parent
a6e5caba10
commit
3d8081d085
|
@ -40,7 +40,7 @@ interface Efl.Canvas.Layout_Signal
|
||||||
]]
|
]]
|
||||||
params {
|
params {
|
||||||
@in id: int; [[A identification number for the message to be sent]]
|
@in id: int; [[A identification number for the message to be sent]]
|
||||||
@in msg: const(generic_value); [[The message's payload]]
|
@in msg: const(any_value); [[The message's payload]]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
signal_callback_add {
|
signal_callback_add {
|
||||||
|
|
|
@ -7,7 +7,7 @@ interface Efl.Config ()
|
||||||
[[Set configuration]]
|
[[Set configuration]]
|
||||||
params {
|
params {
|
||||||
name: string; [[Configuration option name]]
|
name: string; [[Configuration option name]]
|
||||||
val: ptr(const(generic_value)); [[Configuration option value]]
|
val: ptr(const(any_value)); [[Configuration option value]]
|
||||||
}
|
}
|
||||||
return: bool; [[$false in case of error: value type was invalid, the
|
return: bool; [[$false in case of error: value type was invalid, the
|
||||||
config can't be changed, config does not exist...]]
|
config can't be changed, config does not exist...]]
|
||||||
|
@ -17,14 +17,14 @@ interface Efl.Config ()
|
||||||
params {
|
params {
|
||||||
name: string; [[Configuration option name]]
|
name: string; [[Configuration option name]]
|
||||||
}
|
}
|
||||||
return: ptr(generic_value) @owned; [[Configuration option value]]
|
return: ptr(any_value) @owned; [[Configuration option value]]
|
||||||
}
|
}
|
||||||
config_list_get @const {
|
config_list_get @const {
|
||||||
[[Returns a list of generic values under a given key.]]
|
[[Returns a list of generic values under a given key.]]
|
||||||
params {
|
params {
|
||||||
@in name: string; [[Configuration option name]]
|
@in name: string; [[Configuration option name]]
|
||||||
}
|
}
|
||||||
return: iterator<ptr(generic_value)> @owned; [[
|
return: iterator<ptr(any_value)> @owned; [[
|
||||||
List of configuration option values]]
|
List of configuration option values]]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -47,9 +47,9 @@ interface Efl.Model ()
|
||||||
]]
|
]]
|
||||||
params {
|
params {
|
||||||
@in property: string; [[Property name]]
|
@in property: string; [[Property name]]
|
||||||
@in value: ptr(const(generic_value)); [[New value]]
|
@in value: ptr(const(any_value)); [[New value]]
|
||||||
}
|
}
|
||||||
return: future<generic_value>; [[Future returning the recorded value or error]]
|
return: future<any_value>; [[Future returning the recorded value or error]]
|
||||||
}
|
}
|
||||||
property_get {
|
property_get {
|
||||||
[[Retrieve the value of a given property name.
|
[[Retrieve the value of a given property name.
|
||||||
|
@ -65,7 +65,7 @@ interface Efl.Model ()
|
||||||
params {
|
params {
|
||||||
@in property: string; [[Property name]]
|
@in property: string; [[Property name]]
|
||||||
}
|
}
|
||||||
return: future<generic_value>; [[Future of the value that was got]]
|
return: future<any_value>; [[Future of the value that was got]]
|
||||||
}
|
}
|
||||||
children_slice_get {
|
children_slice_get {
|
||||||
[[Get children slice OR full range.
|
[[Get children slice OR full range.
|
||||||
|
|
|
@ -93,7 +93,7 @@ class Elm.Prefs (Elm.Widget, Efl.File)
|
||||||
return: bool; [[$true, on success, $false otherwise]]
|
return: bool; [[$true, on success, $false otherwise]]
|
||||||
params {
|
params {
|
||||||
@in name: string; [[The name of the item (as declared in the prefs collection)]]
|
@in name: string; [[The name of the item (as declared in the prefs collection)]]
|
||||||
@in value: ptr(const(generic_value)); [[The value to set on the item. It should be typed as the item expects, preferably, or a conversion will take place]]
|
@in value: ptr(const(any_value)); [[The value to set on the item. It should be typed as the item expects, preferably, or a conversion will take place]]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
item_value_get @const {
|
item_value_get @const {
|
||||||
|
@ -106,7 +106,7 @@ class Elm.Prefs (Elm.Widget, Efl.File)
|
||||||
|
|
||||||
params {
|
params {
|
||||||
@in name: string; [[The name of the item (as declared in the prefs collection) to get value from]]
|
@in name: string; [[The name of the item (as declared in the prefs collection) to get value from]]
|
||||||
@out value: generic_value; [[Where to store the value of the item. It will be overwritten and setup with the type the item is bound to]]
|
@out value: any_value; [[Where to store the value of the item. It will be overwritten and setup with the type the item is bound to]]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
item_object_get {
|
item_object_get {
|
||||||
|
|
|
@ -187,7 +187,7 @@ _validate_type(Eolian_Type *tp)
|
||||||
case KW_stringshare:
|
case KW_stringshare:
|
||||||
tp->freefunc = eina_stringshare_add(eo_strshare_free);
|
tp->freefunc = eina_stringshare_add(eo_strshare_free);
|
||||||
break;
|
break;
|
||||||
case KW_generic_value:
|
case KW_any_value:
|
||||||
tp->freefunc = eina_stringshare_add(eo_value_free);
|
tp->freefunc = eina_stringshare_add(eo_value_free);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
|
|
@ -52,7 +52,7 @@ enum Tokens
|
||||||
\
|
\
|
||||||
KW(accessor), KW(array), KW(iterator), KW(hash), KW(list), \
|
KW(accessor), KW(array), KW(iterator), KW(hash), KW(list), \
|
||||||
KW(future), \
|
KW(future), \
|
||||||
KW(generic_value), \
|
KW(any_value), \
|
||||||
KW(mstring), KW(string), KW(stringshare), \
|
KW(mstring), KW(string), KW(stringshare), \
|
||||||
\
|
\
|
||||||
KW(void_ptr), \
|
KW(void_ptr), \
|
||||||
|
|
Loading…
Reference in New Issue