add EINA_VALUE_EMPTY, allow flushing empty values

Desktop / Enlightenment / EFL Core Libraries - Gustavo Sverzut Barbieri [profusion.mobi] - 23 August 2017 17:32 EDT

EINA_VALUE_EMPTY is basically a zeroed Eina_Value, handy for declaring and returning.

To cope with the rest of efl, free/del/flush on NULL shouldn't complain, so flusing an empty value should be quiet.

4da5349 add EINA_VALUE_EMPTY, allow flushing empty values.
src/lib/eina/eina_inline_value.x | 1 +
src/lib/eina/eina_value.h | 10 ++++++++++
2 files changed, 11 insertions(+)

Upstream: git.enlightenment.org


  • Share