aboutsummaryrefslogtreecommitdiffstats
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
parentPyGen: don't copy eodafault.pyx to places it's not needed (diff)
downloadeo_bindings-cde20498961263b01fdc90c0f8ed4dedc7e360db.tar.gz
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):
"Evas_Object" : "Eo",
"Evas_Smart" : "Eo",
"Evas_Map" : "Eo",
- "Evas_Text_Style_Type" : "Eo",
- "Evas_Colorspace" : "Eo",
- "Evas_Render_Op" : "Eo",
- "Evas_Aspect_Control" : "Eo",
+ "Evas_Text_Style_Type" : "int",#enum
+ "Evas_Colorspace" : "int",#enum
+ "Evas_Render_Op" : "int",#enum
+ "Evas_Aspect_Control" : "int",#enum
+ "Evas_Object_Pointer_Mode" : "int", #enum
+ "Evas_Image_Scale_Hint" : "int", #enum
+ "Evas_Image_Content_Hint" : "int", #enum
+ "Evas_Image_Animated_Loop_Hint" : "int", #enum
+ "Evas_Border_Fill_Mode" : "int", #enum
+ "Evas_Object_Table_Homogeneous_Mode" : "int", #enum
+ "Evas_Textgrid_Font_Style" : "int",
+ "Evas_Textgrid_Palette" : "int",
+ "Evas_Modifier_Mask" : "unsigned long long",
+ "Evas_Button_Flags" : "int",
+ "Evas_Fill_Spread" : "int",
+ "Evas_Event_Flags" : "int",
+ "Evas_Font_Hinting_Flags" : "int",
"Eina_Bool" : "bool",
"Eo_Callback_Priority": "short"}
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 @@
<type from="Eo_Callback_Priority" to="short"/>
<type from="Evas_Smart" to="Eo"/>
<type from="Evas_Map" to="Eo"/>
- <type from="Evas_Text_Style_Type" to="Eo"/>
- <type from="Evas_Colorspace" to="Eo"/>
- <type from="Evas_Render_Op" to="Eo"/>
- <type from="Evas_Aspect_Control" to="Eo"/>
- <type from="a" to="int"/>
- <type from="b" to="a*"/>
- <type from="c" to="char"/>
- <type from="d" to="c*"/>
+ <type from="Evas_Text_Style_Type" to="int"/>
+ <type from="Evas_Colorspace" to="int"/>
+ <type from="Evas_Render_Op" to="int"/>
+ <type from="Evas_Aspect_Control" to="int"/>
+ <type from="Evas_Object_Ponter_Mode" to="int"/>
+ <type from="Evas_Image_Scale_Hint" to="int"/>
+ <type from="Evas_Image_Content_Hint" to="int"/>
+ <type from="Evas_Image_Animated_Loop_Hint" to="int"/>
+ <type from="Evas_Border_Fill_Mode" to="int"/>
+ <type from="Evas_Object_Table_Homogeneous_Mode" to="int"/>
+ <type from="Evas_Textgrid_Font_Style" to="int"/>
+ <type from="Evas_Textgrid_Palette" to="int"/>
+ <type from="Evas_Modifier_Mask" to="unsigned long long"/>
+ <type from="Evas_Button_Flags" to="int"/>
+ <type from="Evas_Fill_Spread" to="int"/>
+ <type from="Evas_Event_Flags" to="int"/>
+ <type from="Evas_Font_Hinting_Flags" to="int"/>
</types>