aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2015-05-29 11:31:05 +0100
committerTom Hacohen <tom@stosb.com>2015-05-29 11:39:04 +0100
commit3c27a05c4f37968a70aa6fbf65f1eb53aef58353 (patch)
tree0e917265c5df300470f252c799b258104b02a387 /src
parentEvas object: Use correct type in .eo file. (diff)
downloadefl-3c27a05c4f37968a70aa6fbf65f1eb53aef58353.tar.gz
Eo: Add eina_types.eot for general types.
Diffstat (limited to 'src')
-rw-r--r--src/Makefile_Eo.am3
-rw-r--r--src/lib/eo/eina_types.eot3
-rw-r--r--src/lib/eo/eo_base.eo2
3 files changed, 7 insertions, 1 deletions
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;