From 3c27a05c4f37968a70aa6fbf65f1eb53aef58353 Mon Sep 17 00:00:00 2001 From: Tom Hacohen Date: Fri, 29 May 2015 11:31:05 +0100 Subject: [PATCH] Eo: Add eina_types.eot for general types. --- src/Makefile_Eo.am | 3 ++- src/lib/eo/eina_types.eot | 3 +++ src/lib/eo/eo_base.eo | 2 ++ 3 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 src/lib/eo/eina_types.eot diff --git a/src/Makefile_Eo.am b/src/Makefile_Eo.am index 1b3ea4a75d..57b096e795 100644 --- a/src/Makefile_Eo.am +++ b/src/Makefile_Eo.am @@ -39,7 +39,8 @@ lib_eo_libeo_la_LDFLAGS = @EFL_LTLIBRARY_FLAGS@ eoeolianfilesdir = $(datadir)/eolian/include/eo-@VMAJ@ eoeolianfiles_DATA = \ - $(eo_eolian_files) + $(eo_eolian_files) \ + lib/eo/eina_types.eot # We don't generate .c/.h on purpose EXTRA_DIST += \ ${eoeolianfiles_DATA} diff --git a/src/lib/eo/eina_types.eot b/src/lib/eo/eina_types.eot new file mode 100644 index 0000000000..691c6d8219 --- /dev/null +++ b/src/lib/eo/eina_types.eot @@ -0,0 +1,3 @@ +/* FIXME: Move to Eina when we decide they are handled properly. */ +type @extern Eina_Stringshare: const(char) *; +type @extern Eina_Value: void *; diff --git a/src/lib/eo/eo_base.eo b/src/lib/eo/eo_base.eo index 1a2b05ff8e..3e1f781a30 100644 --- a/src/lib/eo/eo_base.eo +++ b/src/lib/eo/eo_base.eo @@ -1,3 +1,5 @@ +import eina_types; + /* XXX: Hack until Eolian is ready. */ type @extern Eo.Event_Cb: __builtin_event_cb;