summaryrefslogtreecommitdiff
path: root/src/lib/eldbus/eldbus_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/eldbus/eldbus_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/eldbus/eldbus_types.eot')
-rw-r--r--src/lib/eldbus/eldbus_types.eot20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/lib/eldbus/eldbus_types.eot b/src/lib/eldbus/eldbus_types.eot
index a8658c3..a8c9dd3 100644
--- a/src/lib/eldbus/eldbus_types.eot
+++ b/src/lib/eldbus/eldbus_types.eot
@@ -23,14 +23,14 @@ enum Eldbus.Introspection.Property_Access
23/* FIXME: Properly type all of these lists. */ 23/* FIXME: Properly type all of these lists. */
24struct Eldbus.Introspection.Node 24struct Eldbus.Introspection.Node
25{ 25{
26 name: Eina.Stringshare *; [[optional]] 26 name: stringshare; [[optional]]
27 nodes: list<void *>; 27 nodes: list<void *>;
28 interfaces: list<void *>; 28 interfaces: list<void *>;
29} 29}
30 30
31struct Eldbus.Introspection.Interface 31struct Eldbus.Introspection.Interface
32{ 32{
33 name: Eina.Stringshare *; 33 name: stringshare;
34 methods: list<void *>; 34 methods: list<void *>;
35 signals: list<void *>; 35 signals: list<void *>;
36 properties: list<void *>; 36 properties: list<void *>;
@@ -39,35 +39,35 @@ struct Eldbus.Introspection.Interface
39 39
40struct Eldbus.Introspection.Method 40struct Eldbus.Introspection.Method
41{ 41{
42 name: Eina.Stringshare *; 42 name: stringshare;
43 arguments: list<void *>; 43 arguments: list<void *>;
44 annotations: list<void *>; 44 annotations: list<void *>;
45} 45}
46 46
47struct Eldbus.Introspection.Property 47struct Eldbus.Introspection.Property
48{ 48{
49 name: Eina.Stringshare *; 49 name: stringshare;
50 type: Eina.Stringshare *; 50 type: stringshare;
51 access: Eldbus.Introspection.Property_Access; 51 access: Eldbus.Introspection.Property_Access;
52 annotations: list<void *>; 52 annotations: list<void *>;
53} 53}
54 54
55struct Eldbus.Introspection.Annotation 55struct Eldbus.Introspection.Annotation
56{ 56{
57 name: Eina.Stringshare *; 57 name: stringshare;
58 value: Eina.Stringshare *; 58 value: stringshare;
59} 59}
60 60
61struct Eldbus.Introspection.Argument 61struct Eldbus.Introspection.Argument
62{ 62{
63 name: Eina.Stringshare *; [[Optional]] 63 name: stringshare; [[Optional]]
64 type: Eina.Stringshare *; 64 type: stringshare;
65 direction: Eldbus.Introspection.Argument_Direction; 65 direction: Eldbus.Introspection.Argument_Direction;
66} 66}
67 67
68struct Eldbus.Introspection.Signal 68struct Eldbus.Introspection.Signal
69{ 69{
70 name: Eina.Stringshare *; 70 name: stringshare;
71 arguments: list<Eldbus.Introspection.Argument *>; 71 arguments: list<Eldbus.Introspection.Argument *>;
72 annotations: list<Eldbus.Introspection.Annotation *>; 72 annotations: list<Eldbus.Introspection.Annotation *>;
73} 73}