summaryrefslogtreecommitdiff
path: root/src/tests/efl_mono/EinaTestData.cs
diff options
context:
space:
mode:
authorVitor Sousa <vitorsousa@expertisesolutions.com.br>2019-07-09 10:00:06 +0200
committerXavi Artigas <xavierartigas@yahoo.es>2019-07-09 10:00:06 +0200
commit7769779a4d6ddaf785e2cc828644c5a10f773064 (patch)
tree71dbf6c3b7436df02c16630f0e92c834e9397d10 /src/tests/efl_mono/EinaTestData.cs
parent1193e1a757c198d953d376ade5b8cfda1114b9ef (diff)
downloadefl-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.cs2
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