diff options
author | Vitor Sousa <vitorsousa@expertisesolutions.com.br> | 2019-07-09 10:00:06 +0200 |
---|---|---|
committer | Xavi Artigas <xavierartigas@yahoo.es> | 2019-07-09 10:00:06 +0200 |
commit | 7769779a4d6ddaf785e2cc828644c5a10f773064 (patch) | |
tree | 71dbf6c3b7436df02c16630f0e92c834e9397d10 /src/tests/efl_mono/EinaTestData.cs | |
parent | 1193e1a757c198d953d376ade5b8cfda1114b9ef (diff) | |
download | efl-7769779a4d6ddaf785e2cc828644c5a10f773064.tar.gz |
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
Diffstat (limited to 'src/tests/efl_mono/EinaTestData.cs')
-rw-r--r-- | src/tests/efl_mono/EinaTestData.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tests/efl_mono/EinaTestData.cs b/src/tests/efl_mono/EinaTestData.cs index b64040d5eb..81b318ffae 100644 --- a/src/tests/efl_mono/EinaTestData.cs +++ b/src/tests/efl_mono/EinaTestData.cs @@ -152,6 +152,7 @@ class NativeInheritImpl : Dummy.TestObject // // // +#if EFL_BETA override public bool EinaBinbufIn(Eina.Binbuf binbuf) { binbuf_in_flag = true; @@ -280,6 +281,7 @@ class NativeInheritImpl : Dummy.TestObject binbuf_return_own_binbuf = null; return r; } +#endif } } // EinaTestData |