efl_mono: Add support for Eina.Error/Empty in eina.Value
authorLauro Moura <lauromoura@expertisesolutions.com.br>
Mon, 23 Apr 2018 19:20:12 +0000 (16:20 -0300)
committerWonki Kim <wonki_.kim@samsung.com>
Fri, 1 Jun 2018 01:51:28 +0000 (10:51 +0900)
commite46b0dbc4177fdb82ce1ecd8ca5eb02d60421982
tree97cada4e556c944e7fd7c0c3abc7be9fa5b2ac06
parent9057e3bdcb30cd367705f7632022f816fb2fbe31
efl_mono: Add support for Eina.Error/Empty in eina.Value

Summary:
eina.Value.Empty now means that we have an zeroed (empty) eina value.
For optional values that are empty use eina.Value.OptionalEmpty.

This was required to support the empty values passed with
EINA_VALUE_EMPTY in some Ecore futures.

Also, returning an eina_value by value is not supported in eolian
for safety reasons, so we removed some tests that tried to use this
behavior.
Depends on D6171

Reviewers: felipealmeida

Reviewed By: felipealmeida

Subscribers: cedric, zmike

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D6172
src/bin/eolian_mono/eolian/mono/struct_definition.hh
src/bindings/mono/eina_mono/eina_common.cs
src/bindings/mono/eina_mono/eina_value.cs
src/lib/efl_mono/efl_custom_exports_mono.c
src/tests/efl_mono/Value.cs
src/tests/efl_mono/ValueEolian.cs
src/tests/efl_mono/libefl_mono_native_test.c