summaryrefslogtreecommitdiff
path: root/src/scripts
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@samsung.com>2019-09-26 16:39:56 +0200
committerDaniel Kolesa <d.kolesa@samsung.com>2019-09-26 16:47:22 +0200
commit6d93dc4cbf4847d33a921a939b3d8b7f65fffa89 (patch)
treeb7e66d525c19c4aa84813fde055ce92eaa0a55ec /src/scripts
parent7e10d96d27c207a005e872a5d6ec786759dd83ea (diff)
eolian: rename event_prefix to event_c_prefix for consistency
Diffstat (limited to 'src/scripts')
-rw-r--r--src/scripts/pyolian/eolian.py4
-rw-r--r--src/scripts/pyolian/eolian_lib.py6
-rwxr-xr-xsrc/scripts/pyolian/test_eolian.py2
3 files changed, 6 insertions, 6 deletions
diff --git a/src/scripts/pyolian/eolian.py b/src/scripts/pyolian/eolian.py
index 04d2dcb8a9..e18fbf6899 100644
--- a/src/scripts/pyolian/eolian.py
+++ b/src/scripts/pyolian/eolian.py
@@ -648,8 +648,8 @@ class Class(Object):
648 return _str_to_py(lib.eolian_class_c_prefix_get(self)) 648 return _str_to_py(lib.eolian_class_c_prefix_get(self))
649 649
650 @cached_property 650 @cached_property
651 def event_prefix(self): 651 def event_c_prefix(self):
652 return _str_to_py(lib.eolian_class_event_prefix_get(self)) 652 return _str_to_py(lib.eolian_class_event_c_prefix_get(self))
653 653
654 @cached_property 654 @cached_property
655 def documentation(self): 655 def documentation(self):
diff --git a/src/scripts/pyolian/eolian_lib.py b/src/scripts/pyolian/eolian_lib.py
index 36e0341b80..09f88c3783 100644
--- a/src/scripts/pyolian/eolian_lib.py
+++ b/src/scripts/pyolian/eolian_lib.py
@@ -238,9 +238,9 @@ lib.eolian_class_documentation_get.restype = c_void_p
238lib.eolian_class_c_prefix_get.argtypes = (c_void_p,) 238lib.eolian_class_c_prefix_get.argtypes = (c_void_p,)
239lib.eolian_class_c_prefix_get.restype = c_char_p 239lib.eolian_class_c_prefix_get.restype = c_char_p
240 240
241# EAPI Eina_Stringshare* eolian_class_event_prefix_get(const Eolian_Class *klass); 241# EAPI Eina_Stringshare* eolian_class_event_c_prefix_get(const Eolian_Class *klass);
242lib.eolian_class_event_prefix_get.argtypes = (c_void_p,) 242lib.eolian_class_event_c_prefix_get.argtypes = (c_void_p,)
243lib.eolian_class_event_prefix_get.restype = c_char_p 243lib.eolian_class_event_c_prefix_get.restype = c_char_p
244 244
245# EAPI Eina_Stringshare *eolian_class_data_type_get(const Eolian_Class *klass); 245# EAPI Eina_Stringshare *eolian_class_data_type_get(const Eolian_Class *klass);
246lib.eolian_class_data_type_get.argtypes = (c_void_p,) 246lib.eolian_class_data_type_get.argtypes = (c_void_p,)
diff --git a/src/scripts/pyolian/test_eolian.py b/src/scripts/pyolian/test_eolian.py
index 01e916b4b4..2a45c57829 100755
--- a/src/scripts/pyolian/test_eolian.py
+++ b/src/scripts/pyolian/test_eolian.py
@@ -334,7 +334,7 @@ class TestEolianClass(unittest.TestCase):
334 self.assertEqual(cls.type, eolian.Eolian_Class_Type.REGULAR) 334 self.assertEqual(cls.type, eolian.Eolian_Class_Type.REGULAR)
335 self.assertIsInstance(cls.documentation, eolian.Documentation) 335 self.assertIsInstance(cls.documentation, eolian.Documentation)
336 self.assertIsNone(cls.c_prefix) # TODO fin a class with a value 336 self.assertIsNone(cls.c_prefix) # TODO fin a class with a value
337 self.assertIsNone(cls.event_prefix) # TODO same as above 337 self.assertIsNone(cls.event_c_prefix) # TODO same as above
338 self.assertIsNone(cls.data_type) # TODO same as above 338 self.assertIsNone(cls.data_type) # TODO same as above
339 self.assertEqual(cls.parent.name, 'Efl.Loop_Consumer') 339 self.assertEqual(cls.parent.name, 'Efl.Loop_Consumer')
340 self.assertEqual([c.name for c in cls.extensions], []) 340 self.assertEqual([c.name for c in cls.extensions], [])