summaryrefslogtreecommitdiff
path: root/src/scripts
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@osg.samsung.com>2018-03-12 15:48:25 +0100
committerDaniel Kolesa <d.kolesa@osg.samsung.com>2018-03-12 15:48:25 +0100
commit3840aa453c6d24acaab5f25879ff20c7d50da3d3 (patch)
tree7495be27ee1fdc5f57205bbd9ce69cc3cb064088 /src/scripts
parent7d6e2561a4a672e46b7f9d0553a624949b2eb794 (diff)
pyolian: update name APIs
Diffstat (limited to 'src/scripts')
-rw-r--r--src/scripts/pyolian/eolian.py134
-rw-r--r--src/scripts/pyolian/eolian_lib.py86
2 files changed, 32 insertions, 188 deletions
diff --git a/src/scripts/pyolian/eolian.py b/src/scripts/pyolian/eolian.py
index 809ec35b2c..1d91d01f2d 100644
--- a/src/scripts/pyolian/eolian.py
+++ b/src/scripts/pyolian/eolian.py
@@ -292,18 +292,18 @@ class EolianBaseObject(object):
292 if isinstance(other, EolianBaseObject): 292 if isinstance(other, EolianBaseObject):
293 return self._obj.value == other._obj.value 293 return self._obj.value == other._obj.value
294 elif isinstance(other, str): 294 elif isinstance(other, str):
295 if hasattr(self, 'full_name'): 295 if hasattr(self, 'name'):
296 return self.full_name == other
297 elif hasattr(self, 'name'):
298 return self.name == other 296 return self.name == other
297 elif hasattr(self, 'short_name'):
298 return self.short_name == other
299 return False 299 return False
300 300
301 def __gt__(self, other): 301 def __gt__(self, other):
302 if isinstance(other, EolianBaseObject): 302 if isinstance(other, EolianBaseObject):
303 if hasattr(self, 'full_name'): 303 if hasattr(self, 'name'):
304 return self.full_name > other.full_name
305 elif hasattr(self, 'name'):
306 return self.name > other.name 304 return self.name > other.name
305 elif hasattr(self, 'short_name'):
306 return self.short_name > other.short_name
307 307
308 def __hash__(self): 308 def __hash__(self):
309 return self._obj.value 309 return self._obj.value
@@ -633,6 +633,18 @@ class Object(EolianBaseObject):
633 return _str_to_py(lib.eolian_object_name_get(self._obj)) 633 return _str_to_py(lib.eolian_object_name_get(self._obj))
634 634
635 @cached_property 635 @cached_property
636 def short_name(self):
637 return _str_to_py(lib.eolian_object_short_name_get(self._obj))
638
639 @property
640 def namespaces(self):
641 return Iterator(_str_to_py, lib.eolian_object_namespaces_get(self._obj))
642
643 @cached_property
644 def namespace(self):
645 return '.'.join(self.namespaces)
646
647 @cached_property
636 def file(self): 648 def file(self):
637 return _str_to_py(lib.eolian_object_file_get(self._obj)) 649 return _str_to_py(lib.eolian_object_file_get(self._obj))
638 650
@@ -647,15 +659,7 @@ class Object(EolianBaseObject):
647 659
648class Class(Object): 660class Class(Object):
649 def __repr__(self): 661 def __repr__(self):
650 return "<eolian.Class '{0.full_name}', {0.type!s}>".format(self) 662 return "<eolian.Class '{0.name}', {0.type!s}>".format(self)
651
652 @cached_property
653 def name(self):
654 return _str_to_py(lib.eolian_class_name_get(self._obj))
655
656 @cached_property
657 def full_name(self):
658 return _str_to_py(lib.eolian_class_full_name_get(self._obj))
659 663
660 @cached_property 664 @cached_property
661 def c_name(self): 665 def c_name(self):
@@ -747,14 +751,6 @@ class Class(Object):
747 if len(inherits) > 0: 751 if len(inherits) > 0:
748 return inherits[0] 752 return inherits[0]
749 753
750 @property
751 def namespaces(self):
752 return Iterator(_str_to_py, lib.eolian_class_namespaces_get(self._obj))
753
754 @cached_property
755 def namespace(self):
756 return '.'.join(self.namespaces)
757
758 @cached_property 754 @cached_property
759 def ctor_enable(self): 755 def ctor_enable(self):
760 return bool(lib.eolian_class_ctor_enable_get(self._obj)) 756 return bool(lib.eolian_class_ctor_enable_get(self._obj))
@@ -795,10 +791,6 @@ class Part(Object):
795 return "<eolian.Part '{0.name}'>".format(self) 791 return "<eolian.Part '{0.name}'>".format(self)
796 792
797 @cached_property 793 @cached_property
798 def name(self):
799 return _str_to_py(lib.eolian_part_name_get(self._obj))
800
801 @cached_property
802 def class_(self): 794 def class_(self):
803 return Class(lib.eolian_part_class_get(self._obj)) 795 return Class(lib.eolian_part_class_get(self._obj))
804 796
@@ -810,11 +802,7 @@ class Part(Object):
810 802
811class Constructor(Object): 803class Constructor(Object):
812 def __repr__(self): 804 def __repr__(self):
813 return "<eolian.Constructor '{0.full_name}', optional={0.is_optional}>".format(self) 805 return "<eolian.Constructor '{0.name}', optional={0.is_optional}>".format(self)
814
815 @cached_property
816 def full_name(self):
817 return _str_to_py(lib.eolian_constructor_full_name_get(self._obj))
818 806
819 @cached_property 807 @cached_property
820 def function(self): 808 def function(self):
@@ -834,10 +822,6 @@ class Event(Object):
834 return "<eolian.Event '{0.name}', c_name='{0.c_name}'>".format(self) 822 return "<eolian.Event '{0.name}', c_name='{0.c_name}'>".format(self)
835 823
836 @cached_property 824 @cached_property
837 def name(self):
838 return _str_to_py(lib.eolian_event_name_get(self._obj))
839
840 @cached_property
841 def c_name(self): 825 def c_name(self):
842 s = lib.eolian_event_c_name_get(self._obj) 826 s = lib.eolian_event_c_name_get(self._obj)
843 ret = _str_to_py(s) 827 ret = _str_to_py(s)
@@ -875,10 +859,6 @@ class Function(Object):
875 def __repr__(self): 859 def __repr__(self):
876 return "<eolian.Function '{0.name}'>".format(self) 860 return "<eolian.Function '{0.name}'>".format(self)
877 861
878 @cached_property
879 def name(self):
880 return _str_to_py(lib.eolian_function_name_get(self._obj))
881
882 def full_c_name_get(self, ftype, use_legacy=False): 862 def full_c_name_get(self, ftype, use_legacy=False):
883 s = lib.eolian_function_full_c_name_get(self._obj, ftype, use_legacy) 863 s = lib.eolian_function_full_c_name_get(self._obj, ftype, use_legacy)
884 ret = _str_to_py(s) 864 ret = _str_to_py(s)
@@ -1040,10 +1020,6 @@ class Function_Parameter(Object):
1040 " optional={0.is_optional}, nullable={0.is_nullable}>".format(self) 1020 " optional={0.is_optional}, nullable={0.is_nullable}>".format(self)
1041 1021
1042 @cached_property 1022 @cached_property
1043 def name(self):
1044 return _str_to_py(lib.eolian_parameter_name_get(self._obj))
1045
1046 @cached_property
1047 def direction(self): 1023 def direction(self):
1048 return Eolian_Parameter_Dir(lib.eolian_parameter_direction_get(self._obj)) 1024 return Eolian_Parameter_Dir(lib.eolian_parameter_direction_get(self._obj))
1049 1025
@@ -1077,11 +1053,7 @@ class Function_Parameter(Object):
1077 1053
1078class Implement(Object): 1054class Implement(Object):
1079 def __repr__(self): 1055 def __repr__(self):
1080 return "<eolian.Implement '{0.full_name}'>".format(self) 1056 return "<eolian.Implement '{0.name}'>".format(self)
1081
1082 @cached_property
1083 def full_name(self):
1084 return _str_to_py(lib.eolian_implement_full_name_get(self._obj))
1085 1057
1086 @cached_property 1058 @cached_property
1087 def class_(self): 1059 def class_(self):
@@ -1130,24 +1102,8 @@ class Implement(Object):
1130 1102
1131class Type(Object): 1103class Type(Object):
1132 def __repr__(self): 1104 def __repr__(self):
1133 # return "<eolian.Type '{0.full_name}', type: {0.type!s}, c_type: '{0.c_type}'>".format(self) 1105 # return "<eolian.Type '{0.name}', type: {0.type!s}, c_type: '{0.c_type}'>".format(self)
1134 return "<eolian.Type '{0.full_name}', type={0.type!s}>".format(self) 1106 return "<eolian.Type '{0.name}', type={0.type!s}>".format(self)
1135
1136 @cached_property
1137 def name(self):
1138 return _str_to_py(lib.eolian_type_name_get(self._obj))
1139
1140 @cached_property
1141 def full_name(self):
1142 return _str_to_py(lib.eolian_type_full_name_get(self._obj))
1143
1144 @property
1145 def namespaces(self):
1146 return Iterator(_str_to_py, lib.eolian_type_namespaces_get(self._obj))
1147
1148 @cached_property
1149 def namespace(self):
1150 return '.'.join(self.namespaces)
1151 1107
1152 @cached_property 1108 @cached_property
1153 def free_func(self): 1109 def free_func(self):
@@ -1219,15 +1175,7 @@ class Type(Object):
1219 1175
1220class Typedecl(Object): 1176class Typedecl(Object):
1221 def __repr__(self): 1177 def __repr__(self):
1222 return "<eolian.Typedecl '{0.full_name}', type={0.type!s}>".format(self) 1178 return "<eolian.Typedecl '{0.name}', type={0.type!s}>".format(self)
1223
1224 @cached_property
1225 def name(self):
1226 return _str_to_py(lib.eolian_typedecl_name_get(self._obj))
1227
1228 @cached_property
1229 def full_name(self):
1230 return _str_to_py(lib.eolian_typedecl_full_name_get(self._obj))
1231 1179
1232 @cached_property 1180 @cached_property
1233 def type(self): 1181 def type(self):
@@ -1240,14 +1188,6 @@ class Typedecl(Object):
1240 lib.eina_stringshare_del(c_void_p(s)) 1188 lib.eina_stringshare_del(c_void_p(s))
1241 return ret 1189 return ret
1242 1190
1243 @property
1244 def namespaces(self):
1245 return Iterator(_str_to_py, lib.eolian_typedecl_namespaces_get(self._obj))
1246
1247 @cached_property
1248 def namespace(self):
1249 return '.'.join(self.namespaces)
1250
1251 @cached_property 1191 @cached_property
1252 def free_func(self): 1192 def free_func(self):
1253 return _str_to_py(lib.eolian_typedecl_free_func_get(self._obj)) 1193 return _str_to_py(lib.eolian_typedecl_free_func_get(self._obj))
@@ -1304,10 +1244,6 @@ class Enum_Type_Field(Object):
1304 return "<eolian.Enum_Type_Field '{0.name}', c_name='{0.c_name}'>".format(self) 1244 return "<eolian.Enum_Type_Field '{0.name}', c_name='{0.c_name}'>".format(self)
1305 1245
1306 @cached_property 1246 @cached_property
1307 def name(self):
1308 return _str_to_py(lib.eolian_typedecl_enum_field_name_get(self._obj))
1309
1310 @cached_property
1311 def c_name(self): 1247 def c_name(self):
1312 s = lib.eolian_typedecl_enum_field_c_name_get(self._obj) 1248 s = lib.eolian_typedecl_enum_field_c_name_get(self._obj)
1313 ret = _str_to_py(s) 1249 ret = _str_to_py(s)
@@ -1330,10 +1266,6 @@ class Struct_Type_Field(Object):
1330 return "<eolian.Struct_Type_Field '{0.name}', type={0.type!s}>".format(self) 1266 return "<eolian.Struct_Type_Field '{0.name}', type={0.type!s}>".format(self)
1331 1267
1332 @cached_property 1268 @cached_property
1333 def name(self):
1334 return _str_to_py(lib.eolian_typedecl_struct_field_name_get(self._obj))
1335
1336 @cached_property
1337 def type(self): 1269 def type(self):
1338 c_type = lib.eolian_typedecl_struct_field_type_get(self._obj) 1270 c_type = lib.eolian_typedecl_struct_field_type_get(self._obj)
1339 return Type(c_type) if c_type else None 1271 return Type(c_type) if c_type else None
@@ -1389,23 +1321,7 @@ class Expression(Object):
1389 1321
1390class Variable(Object): 1322class Variable(Object):
1391 def __repr__(self): 1323 def __repr__(self):
1392 return "<eolian.Variable '{0.full_name}', type={0.type!s}, file={0.file}>".format(self) 1324 return "<eolian.Variable '{0.name}', type={0.type!s}, file={0.file}>".format(self)
1393
1394 @cached_property
1395 def name(self):
1396 return _str_to_py(lib.eolian_variable_name_get(self._obj))
1397
1398 @cached_property
1399 def full_name(self):
1400 return _str_to_py(lib.eolian_variable_full_name_get(self._obj))
1401
1402 @property
1403 def namespaces(self):
1404 return Iterator(_str_to_py, lib.eolian_variable_namespaces_get(self._obj))
1405
1406 @cached_property
1407 def namespace(self):
1408 return '.'.join(self.namespaces)
1409 1325
1410 @cached_property 1326 @cached_property
1411 def type(self): 1327 def type(self):
diff --git a/src/scripts/pyolian/eolian_lib.py b/src/scripts/pyolian/eolian_lib.py
index 277f60afa1..9fb0a33142 100644
--- a/src/scripts/pyolian/eolian_lib.py
+++ b/src/scripts/pyolian/eolian_lib.py
@@ -265,19 +265,15 @@ lib.eolian_object_column_get.restype = c_int
265lib.eolian_object_name_get.argtypes = [c_void_p] 265lib.eolian_object_name_get.argtypes = [c_void_p]
266lib.eolian_object_name_get.restype = c_char_p 266lib.eolian_object_name_get.restype = c_char_p
267 267
268### Eolian_Class ############################################################ 268# EAPI const char *eolian_object_short_name_get(const Eolian_Object *obj);
269 269lib.eolian_object_short_name_get.argtypes = [c_void_p]
270# EAPI Eina_Stringshare *eolian_class_full_name_get(const Eolian_Class *klass); 270lib.eolian_object_short_name_get.restype = c_char_p
271lib.eolian_class_full_name_get.argtypes = [c_void_p,]
272lib.eolian_class_full_name_get.restype = c_char_p
273 271
274# EAPI Eina_Stringshare *eolian_class_name_get(const Eolian_Class *klass); 272# EAPI Eina_Iterator *eolian_object_namespaces_get(const Eolian_Object *obj);
275lib.eolian_class_name_get.argtypes = [c_void_p,] 273lib.eolian_object_namespaces_get.argtypes = [c_void_p]
276lib.eolian_class_name_get.restype = c_char_p 274lib.eolian_object_namespaces_get.restype = c_void_p
277 275
278# EAPI Eina_Iterator *eolian_class_namespaces_get(const Eolian_Class *klass); 276### Eolian_Class ############################################################
279lib.eolian_class_namespaces_get.argtypes = [c_void_p,]
280lib.eolian_class_namespaces_get.restype = c_void_p
281 277
282# EAPI Eolian_Class_Type eolian_class_type_get(const Eolian_Class *klass); 278# EAPI Eolian_Class_Type eolian_class_type_get(const Eolian_Class *klass);
283lib.eolian_class_type_get.argtypes = [c_void_p,] 279lib.eolian_class_type_get.argtypes = [c_void_p,]
@@ -365,10 +361,6 @@ lib.eolian_function_type_get.restype = c_int
365lib.eolian_function_scope_get.argtypes = [c_void_p, c_int] 361lib.eolian_function_scope_get.argtypes = [c_void_p, c_int]
366lib.eolian_function_scope_get.restype = c_int 362lib.eolian_function_scope_get.restype = c_int
367 363
368# EAPI Eina_Stringshare *eolian_function_name_get(const Eolian_Function *function_id);
369lib.eolian_function_name_get.argtypes = [c_void_p,]
370lib.eolian_function_name_get.restype = c_char_p
371
372# EAPI Eina_Stringshare *eolian_function_full_c_name_get(const Eolian_Function *function_id, Eolian_Function_Type ftype, Eina_Bool use_legacy); 364# EAPI Eina_Stringshare *eolian_function_full_c_name_get(const Eolian_Function *function_id, Eolian_Function_Type ftype, Eina_Bool use_legacy);
373lib.eolian_function_full_c_name_get.argtypes = [c_void_p, c_int, c_bool] 365lib.eolian_function_full_c_name_get.argtypes = [c_void_p, c_int, c_bool]
374lib.eolian_function_full_c_name_get.restype = c_void_p # Stringshare TO BE FREED 366lib.eolian_function_full_c_name_get.restype = c_void_p # Stringshare TO BE FREED
@@ -452,10 +444,6 @@ lib.eolian_parameter_type_get.restype = c_void_p
452lib.eolian_parameter_default_value_get.argtypes = [c_void_p,] 444lib.eolian_parameter_default_value_get.argtypes = [c_void_p,]
453lib.eolian_parameter_default_value_get.restype = c_void_p 445lib.eolian_parameter_default_value_get.restype = c_void_p
454 446
455# EAPI Eina_Stringshare *eolian_parameter_name_get(const Eolian_Function_Parameter *param);
456lib.eolian_parameter_name_get.argtypes = [c_void_p,]
457lib.eolian_parameter_name_get.restype = c_char_p
458
459# EAPI const Eolian_Documentation *eolian_parameter_documentation_get(const Eolian_Function_Parameter *param); 447# EAPI const Eolian_Documentation *eolian_parameter_documentation_get(const Eolian_Function_Parameter *param);
460lib.eolian_parameter_documentation_get.argtypes = [c_void_p,] 448lib.eolian_parameter_documentation_get.argtypes = [c_void_p,]
461lib.eolian_parameter_documentation_get.restype = c_void_p 449lib.eolian_parameter_documentation_get.restype = c_void_p
@@ -474,10 +462,6 @@ lib.eolian_parameter_is_optional.restype = c_bool
474 462
475### Eolian_Implement ######################################################## 463### Eolian_Implement ########################################################
476 464
477# EAPI Eina_Stringshare *eolian_implement_full_name_get(const Eolian_Implement *impl);
478lib.eolian_implement_full_name_get.argtypes = [c_void_p,]
479lib.eolian_implement_full_name_get.restype = c_char_p
480
481# EAPI const Eolian_Class *eolian_implement_class_get(const Eolian_Implement *impl); 465# EAPI const Eolian_Class *eolian_implement_class_get(const Eolian_Implement *impl);
482lib.eolian_implement_class_get.argtypes = [c_void_p,] 466lib.eolian_implement_class_get.argtypes = [c_void_p,]
483lib.eolian_implement_class_get.restype = c_void_p 467lib.eolian_implement_class_get.restype = c_void_p
@@ -512,10 +496,6 @@ lib.eolian_implement_is_prop_set.restype = c_bool
512 496
513### Eolian_Constructor ###################################################### 497### Eolian_Constructor ######################################################
514 498
515# EAPI Eina_Stringshare *eolian_constructor_full_name_get(const Eolian_Constructor *ctor);
516lib.eolian_constructor_full_name_get.argtypes = [c_void_p,]
517lib.eolian_constructor_full_name_get.restype = c_char_p
518
519# EAPI const Eolian_Class *eolian_constructor_class_get(const Eolian_Constructor *ctor); 499# EAPI const Eolian_Class *eolian_constructor_class_get(const Eolian_Constructor *ctor);
520lib.eolian_constructor_class_get.argtypes = [c_void_p,] 500lib.eolian_constructor_class_get.argtypes = [c_void_p,]
521lib.eolian_constructor_class_get.restype = c_void_p 501lib.eolian_constructor_class_get.restype = c_void_p
@@ -530,10 +510,6 @@ lib.eolian_constructor_is_optional.restype = c_bool
530 510
531### Eolian_Event ############################################################ 511### Eolian_Event ############################################################
532 512
533# EAPI Eina_Stringshare *eolian_event_name_get(const Eolian_Event *event);
534lib.eolian_event_name_get.argtypes = [c_void_p,]
535lib.eolian_event_name_get.restype = c_char_p
536
537# EAPI Eina_Stringshare *eolian_event_c_name_get(const Eolian_Event *event); 513# EAPI Eina_Stringshare *eolian_event_c_name_get(const Eolian_Event *event);
538lib.eolian_event_c_name_get.argtypes = [c_void_p,] 514lib.eolian_event_c_name_get.argtypes = [c_void_p,]
539lib.eolian_event_c_name_get.restype = c_void_p # Stringshare TO BE FREED 515lib.eolian_event_c_name_get.restype = c_void_p # Stringshare TO BE FREED
@@ -564,10 +540,6 @@ lib.eolian_event_is_restart.restype = c_bool
564 540
565### Eolian_Part ############################################################# 541### Eolian_Part #############################################################
566 542
567# EAPI Eina_Stringshare *eolian_part_name_get(const Eolian_Part *part);
568lib.eolian_part_name_get.argtypes = [c_void_p,]
569lib.eolian_part_name_get.restype = c_char_p
570
571# EAPI const Eolian_Class *eolian_part_class_get(const Eolian_Part *part); 543# EAPI const Eolian_Class *eolian_part_class_get(const Eolian_Part *part);
572lib.eolian_part_class_get.argtypes = [c_void_p,] 544lib.eolian_part_class_get.argtypes = [c_void_p,]
573lib.eolian_part_class_get.restype = c_void_p 545lib.eolian_part_class_get.restype = c_void_p
@@ -590,10 +562,6 @@ lib.eolian_typedecl_struct_fields_get.restype = c_void_p
590lib.eolian_typedecl_struct_field_get.argtypes = [c_void_p, c_char_p] 562lib.eolian_typedecl_struct_field_get.argtypes = [c_void_p, c_char_p]
591lib.eolian_typedecl_struct_field_get.restype = c_void_p 563lib.eolian_typedecl_struct_field_get.restype = c_void_p
592 564
593# EAPI Eina_Stringshare *eolian_typedecl_struct_field_name_get(const Eolian_Struct_Type_Field *fl);
594lib.eolian_typedecl_struct_field_name_get.argtypes = [c_void_p,]
595lib.eolian_typedecl_struct_field_name_get.restype = c_char_p
596
597# EAPI const Eolian_Documentation *eolian_typedecl_struct_field_documentation_get(const Eolian_Struct_Type_Field *fl); 565# EAPI const Eolian_Documentation *eolian_typedecl_struct_field_documentation_get(const Eolian_Struct_Type_Field *fl);
598lib.eolian_typedecl_struct_field_documentation_get.argtypes = [c_void_p,] 566lib.eolian_typedecl_struct_field_documentation_get.argtypes = [c_void_p,]
599lib.eolian_typedecl_struct_field_documentation_get.restype = c_void_p 567lib.eolian_typedecl_struct_field_documentation_get.restype = c_void_p
@@ -610,10 +578,6 @@ lib.eolian_typedecl_enum_fields_get.restype = c_void_p
610lib.eolian_typedecl_enum_field_get.argtypes = [c_void_p, c_char_p] 578lib.eolian_typedecl_enum_field_get.argtypes = [c_void_p, c_char_p]
611lib.eolian_typedecl_enum_field_get.restype = c_void_p 579lib.eolian_typedecl_enum_field_get.restype = c_void_p
612 580
613# EAPI Eina_Stringshare *eolian_typedecl_enum_field_name_get(const Eolian_Enum_Type_Field *fl);
614lib.eolian_typedecl_enum_field_name_get.argtypes = [c_void_p,]
615lib.eolian_typedecl_enum_field_name_get.restype = c_char_p
616
617# EAPI Eina_Stringshare *eolian_typedecl_enum_field_c_name_get(const Eolian_Enum_Type_Field *fl); 581# EAPI Eina_Stringshare *eolian_typedecl_enum_field_c_name_get(const Eolian_Enum_Type_Field *fl);
618lib.eolian_typedecl_enum_field_c_name_get.argtypes = [c_void_p,] 582lib.eolian_typedecl_enum_field_c_name_get.argtypes = [c_void_p,]
619lib.eolian_typedecl_enum_field_c_name_get.restype = c_void_p # Stringshare TO BE FREED 583lib.eolian_typedecl_enum_field_c_name_get.restype = c_void_p # Stringshare TO BE FREED
@@ -650,18 +614,6 @@ lib.eolian_typedecl_is_extern.restype = c_bool
650lib.eolian_typedecl_c_type_get.argtypes = [c_void_p,] 614lib.eolian_typedecl_c_type_get.argtypes = [c_void_p,]
651lib.eolian_typedecl_c_type_get.restype = c_void_p # Stringshare TO BE FREED 615lib.eolian_typedecl_c_type_get.restype = c_void_p # Stringshare TO BE FREED
652 616
653# EAPI Eina_Stringshare *eolian_typedecl_name_get(const Eolian_Typedecl *tp);
654lib.eolian_typedecl_name_get.argtypes = [c_void_p,]
655lib.eolian_typedecl_name_get.restype = c_char_p
656
657# EAPI Eina_Stringshare *eolian_typedecl_full_name_get(const Eolian_Typedecl *tp);
658lib.eolian_typedecl_full_name_get.argtypes = [c_void_p,]
659lib.eolian_typedecl_full_name_get.restype = c_char_p
660
661# EAPI Eina_Iterator *eolian_typedecl_namespaces_get(const Eolian_Typedecl *tp);
662lib.eolian_typedecl_namespaces_get.argtypes = [c_void_p,]
663lib.eolian_typedecl_namespaces_get.restype = c_void_p
664
665# EAPI Eina_Stringshare *eolian_typedecl_free_func_get(const Eolian_Typedecl *tp); 617# EAPI Eina_Stringshare *eolian_typedecl_free_func_get(const Eolian_Typedecl *tp);
666lib.eolian_typedecl_free_func_get.argtypes = [c_void_p,] 618lib.eolian_typedecl_free_func_get.argtypes = [c_void_p,]
667lib.eolian_typedecl_free_func_get.restype = c_char_p 619lib.eolian_typedecl_free_func_get.restype = c_char_p
@@ -716,18 +668,6 @@ lib.eolian_type_is_ptr.restype = c_bool
716lib.eolian_type_c_type_get.argtypes = [c_void_p, c_int] 668lib.eolian_type_c_type_get.argtypes = [c_void_p, c_int]
717lib.eolian_type_c_type_get.restype = c_void_p # Stringshare TO BE FREED 669lib.eolian_type_c_type_get.restype = c_void_p # Stringshare TO BE FREED
718 670
719# EAPI Eina_Stringshare *eolian_type_name_get(const Eolian_Type *tp);
720lib.eolian_type_name_get.argtypes = [c_void_p,]
721lib.eolian_type_name_get.restype = c_char_p
722
723# EAPI Eina_Stringshare *eolian_type_full_name_get(const Eolian_Type *tp);
724lib.eolian_type_full_name_get.argtypes = [c_void_p,]
725lib.eolian_type_full_name_get.restype = c_char_p
726
727# EAPI Eina_Iterator *eolian_type_namespaces_get(const Eolian_Type *tp);
728lib.eolian_type_namespaces_get.argtypes = [c_void_p,]
729lib.eolian_type_namespaces_get.restype = c_void_p
730
731# EAPI Eina_Stringshare *eolian_type_free_func_get(const Eolian_Type *tp); 671# EAPI Eina_Stringshare *eolian_type_free_func_get(const Eolian_Type *tp);
732lib.eolian_type_free_func_get.argtypes = [c_void_p,] 672lib.eolian_type_free_func_get.argtypes = [c_void_p,]
733lib.eolian_type_free_func_get.restype = c_char_p 673lib.eolian_type_free_func_get.restype = c_char_p
@@ -780,18 +720,6 @@ lib.eolian_variable_base_type_get.restype = c_void_p
780lib.eolian_variable_value_get.argtypes = [c_void_p,] 720lib.eolian_variable_value_get.argtypes = [c_void_p,]
781lib.eolian_variable_value_get.restype = c_void_p 721lib.eolian_variable_value_get.restype = c_void_p
782 722
783# EAPI Eina_Stringshare *eolian_variable_name_get(const Eolian_Variable *var);
784lib.eolian_variable_name_get.argtypes = [c_void_p,]
785lib.eolian_variable_name_get.restype = c_char_p
786
787# EAPI Eina_Stringshare *eolian_variable_full_name_get(const Eolian_Variable *var);
788lib.eolian_variable_full_name_get.argtypes = [c_void_p,]
789lib.eolian_variable_full_name_get.restype = c_char_p
790
791# EAPI Eina_Iterator *eolian_variable_namespaces_get(const Eolian_Variable *var);
792lib.eolian_variable_namespaces_get.argtypes = [c_void_p,]
793lib.eolian_variable_namespaces_get.restype = c_void_p
794
795# EAPI Eina_Bool eolian_variable_is_extern(const Eolian_Variable *var); 723# EAPI Eina_Bool eolian_variable_is_extern(const Eolian_Variable *var);
796lib.eolian_variable_is_extern.argtypes = [c_void_p,] 724lib.eolian_variable_is_extern.argtypes = [c_void_p,]
797lib.eolian_variable_is_extern.restype = c_bool 725lib.eolian_variable_is_extern.restype = c_bool