eolian_mono: fix non-beta build and support for slice/rw_slice keywords
authorVitor Sousa <vitorsousa@expertisesolutions.com.br>
Tue, 9 Jul 2019 08:00:06 +0000 (10:00 +0200)
committerShinwoo Kim <cinoo.kim@samsung.com>
Wed, 10 Jul 2019 02:28:25 +0000 (11:28 +0900)
commit002bb073803db15e945cfdbd576d9d02338a16be
tree2be4556e6f5e7e97a7f994cb9283e1b0a632b99d
parent13405c31880a568906f3021aaea97e236466bacf
eolian_mono: fix non-beta build and support for slice/rw_slice keywords

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`

Reviewers: lauromoura, felipealmeida, q66, segfaultxavi, bu5hm4n

Reviewed By: lauromoura

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D9238
src/bin/eolian_mono/eolian/mono/type_impl.hh
src/tests/efl_mono/Eina.cs
src/tests/efl_mono/EinaTestData.cs
src/tests/efl_mono/Events.cs
src/tests/efl_mono/StructHelpers.cs
src/tests/efl_mono/Structs.cs
src/tests/efl_mono/dummy_event_manager.eo
src/tests/efl_mono/dummy_part_holder.eo
src/tests/efl_mono/dummy_test_object.eo