mirror of
https://github.com/intel/llvm.git
synced 2026-01-13 19:08:21 +08:00
28 lines
469 B
OpenEdge ABL
28 lines
469 B
OpenEdge ABL
|
|
STRING_EXTENSION_OUTSIDE(SBEvent)
|
||
|
|
|
||
|
|
%extend lldb::SBEvent {
|
||
|
|
#ifdef SWIGPYTHON
|
||
|
|
// operator== is a free function, which swig does not handle, so we inject
|
||
|
|
// our own equality operator here
|
||
|
|
%pythoncode%{
|
||
|
|
def __eq__(self, other):
|
||
|
|
return not self.__ne__(other)
|
||
|
|
|
||
|
|
def __int__(self):
|
||
|
|
pass
|
||
|
|
|
||
|
|
def __hex__(self):
|
||
|
|
pass
|
||
|
|
|
||
|
|
def __oct__(self):
|
||
|
|
pass
|
||
|
|
|
||
|
|
def __len__(self):
|
||
|
|
pass
|
||
|
|
|
||
|
|
def __iter__(self):
|
||
|
|
pass
|
||
|
|
%}
|
||
|
|
#endif
|
||
|
|
}
|