Page MenuHomePhabricator

eolian_mono: fix non-beta build and support for slice/rw_slice keywords
ClosedPublic

Authored by vitor.sousa on Jul 8 2019, 7:19 AM.

Details

Summary

Add support for slice and rw_slice keywords in eolian_mono.
Now it generates the proper manual binding type for these native types.
Make unit tests use these keywords instead of native names.

Remove some unnecessary @beta tags from eolian types in unit tests so now
tests correctly compile without the mono-beta compilation flag.

Also make tests that use Eina.Binbuf "beta only".
In a future update, the external type Eina.Binbuf will be marked as beta, so
we shield the binding in anticipation.

Test Plan

meson -Dbindings=mono -Dmono-beta=true and meson -Dbindings=mono -Dmono-beta=false

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.
vitor.sousa created this revision.Jul 8 2019, 7:19 AM
vitor.sousa requested review of this revision.Jul 8 2019, 7:19 AM
lauromoura accepted this revision.Jul 8 2019, 5:35 PM
This revision is now accepted and ready to land.Jul 8 2019, 5:35 PM
This revision was automatically updated to reflect the committed changes.