summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYakov Goldberg <yakov.g@samsung.com>2012-11-19 18:47:26 +0200
committerYakov Goldberg <yakov.g@samsung.com>2012-11-19 18:47:26 +0200
commitcde20498961263b01fdc90c0f8ed4dedc7e360db (patch)
tree68d35e3005eecedf314e721384d33860c1c909d1
parent11938a49bd5cbc5e506fe2289fe1f8110fa78de8 (diff)
Typedef types added
Signed-off-by: Yakov Goldberg <yakov.g@samsung.com>
-rw-r--r--eoparser/cparser.py21
-rw-r--r--eoparser/data/types.xml25
2 files changed, 34 insertions, 12 deletions
diff --git a/eoparser/cparser.py b/eoparser/cparser.py
index 4eb79d2..d381934 100644
--- a/eoparser/cparser.py
+++ b/eoparser/cparser.py
@@ -37,10 +37,23 @@ class Cparser(object):
37 "Evas_Object" : "Eo", 37 "Evas_Object" : "Eo",
38 "Evas_Smart" : "Eo", 38 "Evas_Smart" : "Eo",
39 "Evas_Map" : "Eo", 39 "Evas_Map" : "Eo",
40 "Evas_Text_Style_Type" : "Eo", 40 "Evas_Text_Style_Type" : "int",#enum
41 "Evas_Colorspace" : "Eo", 41 "Evas_Colorspace" : "int",#enum
42 "Evas_Render_Op" : "Eo", 42 "Evas_Render_Op" : "int",#enum
43 "Evas_Aspect_Control" : "Eo", 43 "Evas_Aspect_Control" : "int",#enum
44 "Evas_Object_Pointer_Mode" : "int", #enum
45 "Evas_Image_Scale_Hint" : "int", #enum
46 "Evas_Image_Content_Hint" : "int", #enum
47 "Evas_Image_Animated_Loop_Hint" : "int", #enum
48 "Evas_Border_Fill_Mode" : "int", #enum
49 "Evas_Object_Table_Homogeneous_Mode" : "int", #enum
50 "Evas_Textgrid_Font_Style" : "int",
51 "Evas_Textgrid_Palette" : "int",
52 "Evas_Modifier_Mask" : "unsigned long long",
53 "Evas_Button_Flags" : "int",
54 "Evas_Fill_Spread" : "int",
55 "Evas_Event_Flags" : "int",
56 "Evas_Font_Hinting_Flags" : "int",
44 "Eina_Bool" : "bool", 57 "Eina_Bool" : "bool",
45 "Eo_Callback_Priority": "short"} 58 "Eo_Callback_Priority": "short"}
46 59
diff --git a/eoparser/data/types.xml b/eoparser/data/types.xml
index 168c11f..607c0b7 100644
--- a/eoparser/data/types.xml
+++ b/eoparser/data/types.xml
@@ -8,12 +8,21 @@
8 <type from="Eo_Callback_Priority" to="short"/> 8 <type from="Eo_Callback_Priority" to="short"/>
9 <type from="Evas_Smart" to="Eo"/> 9 <type from="Evas_Smart" to="Eo"/>
10 <type from="Evas_Map" to="Eo"/> 10 <type from="Evas_Map" to="Eo"/>
11 <type from="Evas_Text_Style_Type" to="Eo"/> 11 <type from="Evas_Text_Style_Type" to="int"/>
12 <type from="Evas_Colorspace" to="Eo"/> 12 <type from="Evas_Colorspace" to="int"/>
13 <type from="Evas_Render_Op" to="Eo"/> 13 <type from="Evas_Render_Op" to="int"/>
14 <type from="Evas_Aspect_Control" to="Eo"/> 14 <type from="Evas_Aspect_Control" to="int"/>
15 <type from="a" to="int"/> 15 <type from="Evas_Object_Ponter_Mode" to="int"/>
16 <type from="b" to="a*"/> 16 <type from="Evas_Image_Scale_Hint" to="int"/>
17 <type from="c" to="char"/> 17 <type from="Evas_Image_Content_Hint" to="int"/>
18 <type from="d" to="c*"/> 18 <type from="Evas_Image_Animated_Loop_Hint" to="int"/>
19 <type from="Evas_Border_Fill_Mode" to="int"/>
20 <type from="Evas_Object_Table_Homogeneous_Mode" to="int"/>
21 <type from="Evas_Textgrid_Font_Style" to="int"/>
22 <type from="Evas_Textgrid_Palette" to="int"/>
23 <type from="Evas_Modifier_Mask" to="unsigned long long"/>
24 <type from="Evas_Button_Flags" to="int"/>
25 <type from="Evas_Fill_Spread" to="int"/>
26 <type from="Evas_Event_Flags" to="int"/>
27 <type from="Evas_Font_Hinting_Flags" to="int"/>
19</types> 28</types>