Page MenuHomePhabricator

csharp: skip static members from interfaces
ClosedPublic

Authored by YOhoho on Sep 10 2019, 4:47 AM.

Details

Summary

Static methods of eo-interface are generated in c# interface-concrete. there are
4 methods
efl_access_object_access_root_get, efl_access_object_event_emit,
efl_access_object_event_handler_add, efl_access_object_event_handler_del

If a class that inherits that interface, static method can't be called via
classname.

This commit changes eolian_mono by removing those static members from the C#
interface-concretes. If a generated class implements the interface, the static
member is generated as static member of the class directly.

Depends on D9800

Test Plan

Check that Efl.Ui.Widget has public static Efl.Object AccessRoot property.

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.
YOhoho created this revision.Sep 10 2019, 4:47 AM
YOhoho requested review of this revision.Sep 10 2019, 4:47 AM
lauromoura accepted this revision.Sep 10 2019, 4:17 PM
This revision is now accepted and ready to land.Sep 10 2019, 4:17 PM
Closed by commit rEFL4bacfe155f91: csharp: skip static members from interfaces (authored by Yeongjong Lee <yj34.lee@samsung.com>, committed by lauromoura). · Explain WhySep 10 2019, 4:19 PM
This revision was automatically updated to reflect the committed changes.