summaryrefslogtreecommitdiff
path: root/src/scripts/pyolian/eolian.py
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@osg.samsung.com>2018-03-16 14:25:44 +0100
committerDaniel Kolesa <d.kolesa@osg.samsung.com>2018-03-16 14:26:15 +0100
commitbf1e3a702fa807d9773c9fa5f0ed93634afc8c07 (patch)
treee4b9cb1295c0bf3f44b0ae385f38570005514c16 /src/scripts/pyolian/eolian.py
parent47ac8689f1372639f410a2e2f612c62db612d143 (diff)
eolian: event/function_get_by_name -> by_name_get
Diffstat (limited to 'src/scripts/pyolian/eolian.py')
-rw-r--r--src/scripts/pyolian/eolian.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/scripts/pyolian/eolian.py b/src/scripts/pyolian/eolian.py
index 0dc9b68a02..56b79134c1 100644
--- a/src/scripts/pyolian/eolian.py
+++ b/src/scripts/pyolian/eolian.py
@@ -659,8 +659,8 @@ class Class(Object):
659 def events(self): 659 def events(self):
660 return Iterator(Event, lib.eolian_class_events_get(self._obj)) 660 return Iterator(Event, lib.eolian_class_events_get(self._obj))
661 661
662 def event_get_by_name(self, event_name): 662 def event_by_name_get(self, event_name):
663 c_event = lib.eolian_class_event_get_by_name(self._obj, 663 c_event = lib.eolian_class_event_by_name_get(self._obj,
664 _str_to_bytes(event_name)) 664 _str_to_bytes(event_name))
665 return Event(c_event) if c_event else None 665 return Event(c_event) if c_event else None
666 666
@@ -703,9 +703,9 @@ class Class(Object):
703 def dtor_enable(self): 703 def dtor_enable(self):
704 return bool(lib.eolian_class_dtor_enable_get(self._obj)) 704 return bool(lib.eolian_class_dtor_enable_get(self._obj))
705 705
706 def function_get_by_name(self, func_name, 706 def function_by_name_get(self, func_name,
707 ftype=Eolian_Function_Type.UNRESOLVED): 707 ftype=Eolian_Function_Type.UNRESOLVED):
708 f = lib.eolian_class_function_get_by_name(self._obj, 708 f = lib.eolian_class_function_by_name_get(self._obj,
709 _str_to_bytes(func_name), 709 _str_to_bytes(func_name),
710 ftype) 710 ftype)
711 return Function(f) if f else None 711 return Function(f) if f else None