efl/src/tests/efl_mono
Vitor Sousa b7fa7d48ac csharp: make inherited C# classes constructible from native C
Summary:
With this commit it is now possible for a class that inherits from a C# binding
class to be instantiated from native C code. It only has to provide a
constructor that receives an `Efl.Eo.EoWrapper.ConstructingHandle` struct,
and which calls the base binding constructor passing it.
For example:

`private Type(ConstructingHandle ch) : base(ch) {}`.

Add some test files to validate the proper behavior of this feature.

Add some small fixes in generation contexts in order to properly
generate base constructors.

Depends on D9070

Test Plan: `meson test` and `make check`

Reviewers: lauromoura, felipealmeida, segfaultxavi, woohyun, YOhoho

Reviewed By: YOhoho

Subscribers: YOhoho, cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D9071
2019-06-28 10:38:57 -03:00
..
.gitignore
BasicDirection.cs csharp: Change to new class API. 2018-11-29 21:29:48 -02:00
Eina.cs csharp: Update after iterator changes 2019-06-27 14:07:33 -03:00
EinaTestData.cs efl-mono: Share test data among other files. 2019-01-14 16:16:18 +09:00
Eldbus.cs efl_mono: Fix eldbus warnings and typo. 2018-05-17 16:56:18 -03:00
Eo.cs csharp: Refactor wrapper lifetime. 2019-05-31 17:44:12 -03:00
EoConstruction.cs csharp: make inherited C# classes constructible from native C 2019-06-28 10:38:57 -03:00
EoPromises.cs efl_app: introduce app_main for getting the app object 2018-12-20 12:56:54 +01:00
Errors.cs efl_mono: move Eina.Error.Init() to a static constructor 2019-01-16 14:24:12 +01:00
Events.cs csharp: Add some tests 2019-05-31 17:41:14 -03:00
FunctionPointerMarshalling.cs csharp: Change to new class API. 2018-11-29 21:29:48 -02:00
FunctionPointers.cs efl-csharp: fix resource deallocation causing errors everywhere 2019-04-05 19:58:19 -03:00
Inheritance.cs csharp: Refactor wrapper lifetime. 2019-05-31 17:44:12 -03:00
Main.cs csharp: Add some tests 2019-05-31 17:41:14 -03:00
Parts.cs csharp: Add Part suffix for the part wrappers 2019-05-07 13:53:39 +02:00
Promises.cs efl-mono: Fix value forwarding in promises/async 2019-06-27 19:31:55 -03:00
Strbuf.cs csharp: Change to new class API. 2018-11-29 21:29:48 -02:00
Strings.cs csharp: Change to new class API. 2018-11-29 21:29:48 -02:00
StructHelpers.cs efl-csharp: Remove generated inlist/inarray support 2019-02-28 12:21:56 -03:00
Structs.cs efl-mono: Share test data among other files. 2019-01-14 16:16:18 +09:00
TestUtils.cs csharp: Rename test util parameters 2019-06-27 19:28:53 -03:00
Value.cs efl-mono: Add object type support for Eina.Value 2019-06-25 19:11:23 +09:00
ValueEolian.cs efl-mono: Add extra constructors to Eina.Value 2019-01-11 14:51:22 +01:00
dummy_child.c csharp: Split test files 2019-05-22 17:32:46 -03:00
dummy_child.eo efl-csharp: Respect beta in constructor parameters. 2019-03-07 13:03:33 +01:00
dummy_constructible_object.c csharp: make inherited C# classes constructible from native C 2019-06-28 10:38:57 -03:00
dummy_constructible_object.eo csharp: make inherited C# classes constructible from native C 2019-06-28 10:38:57 -03:00
dummy_event_manager.c csharp: Add some tests 2019-05-31 17:41:14 -03:00
dummy_event_manager.eo csharp: Add some tests 2019-05-31 17:41:14 -03:00
dummy_inherit_helper.c csharp: Split test files 2019-05-22 17:32:46 -03:00
dummy_inherit_helper.eo efl-mono: Add proper test for interface inheritance 2019-01-17 21:36:27 +09:00
dummy_inherit_iface.eo efl-mono: Add proper test for interface inheritance 2019-01-17 21:36:27 +09:00
dummy_interfaces.c csharp: Split test files 2019-05-22 17:32:46 -03:00
dummy_numberwrapper.c csharp: Split test files 2019-05-22 17:32:46 -03:00
dummy_numberwrapper.eo csharp: Change to new class API. 2018-11-29 21:29:48 -02:00
dummy_part_holder.c csharp: Refactor wrapper lifetime. 2019-05-31 17:44:12 -03:00
dummy_part_holder.eo csharp: Refactor wrapper lifetime. 2019-05-31 17:44:12 -03:00
dummy_test_iface.eo csharp: Remove test about conflicting events. 2019-03-20 18:44:02 +01:00
dummy_test_object.c csharp: make inherited C# classes constructible from native C 2019-06-28 10:38:57 -03:00
dummy_test_object.eo csharp: Update after iterator changes 2019-06-27 14:07:33 -03:00
efl-mono-suite.runtimeconfig.json efl-mono: Add support for dotnet core 2019-03-01 23:58:56 -03:00
libefl_mono_native_test.h csharp: make inherited C# classes constructible from native C 2019-06-28 10:38:57 -03:00
meson.build csharp: make inherited C# classes constructible from native C 2019-06-28 10:38:57 -03:00
mono_test_driver.sh efl_mono: fix test and example compilation on Windows 2017-12-15 22:26:30 -02:00