path: root/src/lib/ecore_fb
diff options
authorXavi Artigas <>2019-01-11 14:28:38 +0100
committerXavi Artigas <>2019-01-11 14:51:22 +0100
commit48b303eeb50961776026548023b15733bea340e2 (patch)
tree13c6b560214d3390ae1467c6b18ca29b608a6148 /src/lib/ecore_fb
parent3ddd577fb0c67b1867c6664af42a89652134c73a (diff)
efl-mono: Add extra constructors to Eina.Value
Summary: new Eina.Value(0) is a special case. The 0 is silently converted to an enum (Eina.ValueType) and therefore the call is ambiguous with the 0 being first converted to an Eina.Value via the implicit conversion operator (calling the Eina.Value deep copy constructor). Adding constructors for all supported types solves the problem because they have higher priority. Also, they avoid one deep copy of the Eina.Value. Includes test case to catch this problem in the future. This was discovered in the tutorials, where new Eina.Value(0) is being used. Test Plan: The src/efl_reference_core_event.exe example from the examples repo was not compiling before, and now it is. make check and make examples still work as expected. Reviewers: lauromoura Reviewed By: lauromoura Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision:
Diffstat (limited to 'src/lib/ecore_fb')
0 files changed, 0 insertions, 0 deletions