forked from enlightenment/efl
Eo: set object as const for key_data_get
Due to Eo4 changes, const is now important for this function.
This commit is contained in:
parent
0dca76798e
commit
66256028d5
|
@ -140,7 +140,7 @@ abstract Eo.Base ()
|
||||||
@in data: const(void)*; [[the data to set]]
|
@in data: const(void)*; [[the data to set]]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
key_data_get {
|
key_data_get @const {
|
||||||
[[Get generic data from object.]]
|
[[Get generic data from object.]]
|
||||||
params {
|
params {
|
||||||
@in key: const(char)*; [[the key associated with the data]]
|
@in key: const(char)*; [[the key associated with the data]]
|
||||||
|
|
|
@ -77,7 +77,7 @@ _eo_base_key_data_set(Eo *obj, Eo_Base_Data *pd,
|
||||||
}
|
}
|
||||||
|
|
||||||
EOLIAN static void *
|
EOLIAN static void *
|
||||||
_eo_base_key_data_get(Eo *obj EINA_UNUSED, Eo_Base_Data *pd, const char *key)
|
_eo_base_key_data_get(const Eo *obj EINA_UNUSED, Eo_Base_Data *pd, const char *key)
|
||||||
{
|
{
|
||||||
/* We don't really change it... */
|
/* We don't really change it... */
|
||||||
Eo_Generic_Data_Node *node;
|
Eo_Generic_Data_Node *node;
|
||||||
|
|
Loading…
Reference in New Issue