aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYakov Goldberg <yakov.g@samsung.com>2014-02-16 17:10:07 +0200
committerYakov Goldberg <yakov.g@samsung.com>2014-02-16 17:10:07 +0200
commit4465f82abe1478893b8f9483aa3683a9b4fbe3d0 (patch)
treee1079bd016eee875d7c7161db5b9cf733fa425c3
parentfix closure bracket for constructors section (diff)
downloadeo_bindings-4465f82abe1478893b8f9483aa3683a9b4fbe3d0.tar.gz
add hardcoded cases for Edje and evas_object_size_set/getdevelop
-rw-r--r--eoparser/cparser.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/eoparser/cparser.py b/eoparser/cparser.py
index 397eb86..fb1d199 100644
--- a/eoparser/cparser.py
+++ b/eoparser/cparser.py
@@ -449,6 +449,7 @@ class Cparser(object):
legacy_name = ""
if len(ll):
legacy_name = ll[0]
+ legacy_name = "edje_object" if legacy_name == "edje" else legacy_name
else:
cl_name_arr = ["Evas_Box", "Evas_Grid", "Evas_Image", "Evas_Line", "Evas_Polygon", "Evas_Rectangle",
"Evas_Smart", "Evas_Smart_Clipped", "Evas_Table", "Evas_Textblock", "Evas_Text", "Evas_Textgrid"]
@@ -610,11 +611,11 @@ class Cparser(object):
def find_func_in_hash(self,funcs_list):
for func in funcs_list:
- # try to find right by the key
func_backup = ""
if "ecore_poller_interval" in func:
func_backup = func
func = func.replace("ecore_poller_interval", "ecore_poller_poller_interval")
+ # try to find right by the key
if func in self.eapi_func_ret_type_hash:
# if func totally maches put None
eo_func = api_func = func
@@ -623,6 +624,11 @@ class Cparser(object):
self.all_eo_funcs_hash[eo_func] = (self.eapi_func_ret_type_hash[api_func], None if eo_func == api_func else api_func)
del(self.eapi_func_ret_type_hash[api_func])
continue
+ else:
+ if func in ["evas_object_size_get", "evas_object_size_set"]:
+ self.all_eo_funcs_hash[func] = (("void" , [], None), None)
+ continue
+
# Probaly need to remove this check by tokens
#