Page MenuHomePhabricator

efl-mono: Fix marshalling of struct in event data.
ClosedPublic

Authored by lauromoura on Jan 3 2019, 1:40 PM.

Details

Summary

Previously, we just converted through PtrToStructure, which didn't have
the full marshalling info converting from the internal one to the
external.

This fixes the usage of the Efl.Loop.arguments event.

Also renamed the ToExternal methods to ToManaged, to make clearer that
the output struct is the one intended to be used from the managed code.

Also fixed a minor styling in the generated code (making it easier to be
inspected).

Depends on D7538

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.Jan 3 2019, 1:40 PM
lauromoura requested review of this revision.Jan 3 2019, 1:40 PM
bu5hm4n accepted this revision.Jan 4 2019, 4:29 AM
bu5hm4n added a subscriber: bu5hm4n.

It works with the new application interface

This revision is now accepted and ready to land.Jan 4 2019, 4:29 AM
This revision was automatically updated to reflect the committed changes.