Page MenuHomePhabricator

efl-mono: Add object type support for Eina.Value
ClosedPublic

Authored by lauromoura on Jun 24 2019, 1:59 PM.

Details

Summary

C# Eina.Value now has builtin support for EINA_VALUE_TYPE_OBJECT.

To avoid ambiguity with the Set method overloads, explicit casting
operators were used for wrapping/unwrapping Efl.Object instead of
implicit ones like for other value types.

Thus, to initialize an Eina.Value from an object, you can use the
following:

var v = (Eina.Value)myObj;

Diff Detail

Repository
rEFL core/efl
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
lauromoura created this revision.Jun 24 2019, 1:59 PM
lauromoura requested review of this revision.Jun 24 2019, 1:59 PM
Jaehyun_Cho accepted this revision.Jun 25 2019, 12:50 AM

@lauromoura
Thank you very much!! :)

This revision is now accepted and ready to land.Jun 25 2019, 12:50 AM
This revision was automatically updated to reflect the committed changes.