diff options
author | Tom Hacohen <tom@stosb.com> | 2015-05-29 11:31:05 +0100 |
---|---|---|
committer | Tom Hacohen <tom@stosb.com> | 2015-05-29 11:39:04 +0100 |
commit | 3c27a05c4f37968a70aa6fbf65f1eb53aef58353 (patch) | |
tree | 0e917265c5df300470f252c799b258104b02a387 | |
parent | 5aedcdb59128b426e32cb9b578ee55505168b28e (diff) |
Eo: Add eina_types.eot for general types.
-rw-r--r-- | src/Makefile_Eo.am | 3 | ||||
-rw-r--r-- | src/lib/eo/eina_types.eot | 3 | ||||
-rw-r--r-- | src/lib/eo/eo_base.eo | 2 |
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@ | |||
39 | 39 | ||
40 | eoeolianfilesdir = $(datadir)/eolian/include/eo-@VMAJ@ | 40 | eoeolianfilesdir = $(datadir)/eolian/include/eo-@VMAJ@ |
41 | eoeolianfiles_DATA = \ | 41 | eoeolianfiles_DATA = \ |
42 | $(eo_eolian_files) | 42 | $(eo_eolian_files) \ |
43 | lib/eo/eina_types.eot # We don't generate .c/.h on purpose | ||
43 | 44 | ||
44 | EXTRA_DIST += \ | 45 | EXTRA_DIST += \ |
45 | ${eoeolianfiles_DATA} | 46 | ${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 @@ | |||
1 | /* FIXME: Move to Eina when we decide they are handled properly. */ | ||
2 | type @extern Eina_Stringshare: const(char) *; | ||
3 | 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 @@ | |||
1 | import eina_types; | ||
2 | |||
1 | /* XXX: Hack until Eolian is ready. */ | 3 | /* XXX: Hack until Eolian is ready. */ |
2 | type @extern Eo.Event_Cb: __builtin_event_cb; | 4 | type @extern Eo.Event_Cb: __builtin_event_cb; |
3 | 5 | ||