14 lines · plain
1%extend lldb::SBScriptObject {2#ifdef SWIGPYTHON3 %pythoncode %{4 # operator== is a free function, which swig does not handle, so we inject5 # our own equality operator here6 def __eq__(self, other):7 return not self.__ne__(other)8 9 ptr = property(GetPointer, None, doc='''A read only property that returns the underlying script object.''')10 lang = property(GetLanguage, None, doc='''A read only property that returns the script language associated with with this script object.''')11 %}12#endif13}14