Page MenuHomePhabricator

efl-csharp: Add implicit conversions for Eina.Value
ClosedPublic

Authored by lauromoura on Dec 28 2018, 9:20 AM.

Details

Summary

For basic types, this will make it easier to pass Eina.Values into
functions, without requiring to setup and later Set() or Get() calls.

As discussed on irc, this seems to be a better way to improve the Value
C# API than using method chaining.

Fixes T7388

Test Plan

run tests

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.Dec 28 2018, 9:20 AM
lauromoura requested review of this revision.Dec 28 2018, 9:20 AM
segfaultxavi accepted this revision.Dec 30 2018, 8:07 AM

Looks OK, builds OK, tests pass OK and the Eina.Value examples can be converted OK to this new syntax.

This revision is now accepted and ready to land.Dec 30 2018, 8:07 AM
This revision was automatically updated to reflect the committed changes.