summaryrefslogtreecommitdiff
path: root/src/lib/eo/eina_types.eot
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@osg.samsung.com>2016-06-21 14:41:18 +0100
committerDaniel Kolesa <d.kolesa@osg.samsung.com>2016-06-21 14:41:18 +0100
commit758496037773748a2b06571df4509619f02b460c (patch)
tree52669159e1c03bd5f7c6dcec26092248bbfe29d8 /src/lib/eo/eina_types.eot
parent2d4ea75d47a63912d5cb5692ab33b6bd839f73df (diff)
eolian: implement a stringshare builtin
This implements a new builtin, stringshare, which is replaced with the right pointer to Eina_Strinshare as necessary. This allows simplifying binding code (it can call the proper eina APIs, deal with lifetime etc). It also removes the extern Eina.Stringshare typedef from eina_types.eot, which was actually incorrect and would generate invalid code in binding generators. @feature @fix
Diffstat (limited to 'src/lib/eo/eina_types.eot')
-rw-r--r--src/lib/eo/eina_types.eot1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/lib/eo/eina_types.eot b/src/lib/eo/eina_types.eot
index 0643eef7c4..d043da3000 100644
--- a/src/lib/eo/eina_types.eot
+++ b/src/lib/eo/eina_types.eot
@@ -1,5 +1,4 @@
1/* FIXME: Move to Eina when we decide they are handled properly. */ 1/* FIXME: Move to Eina when we decide they are handled properly. */
2type @extern Eina.Stringshare: const(char) *;
3struct @extern Eina.Rectangle { 2struct @extern Eina.Rectangle {
4 x: int; 3 x: int;
5 y: int; 4 y: int;