val->value.ptr is just valid on 64bits platforms, as on 32bits both
pointers of the Eina_Value_Struct fits in the 8bytes of val->value.buf.
Always use the function to correctly retrieve it.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@67764
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
{
Eina_Value *val = eina_model_interface_private_data_get
(model, EINA_MODEL_INTERFACE_PROPERTIES_STRUCT);
- return val->value.ptr;
+ return eina_value_memory_get(val);
}
#define EINA_MODEL_INTERFACE_PROPERTIES_STRUCT_GET(model) \