blob: ed26ccc6849bfd5c7d0895d3722cf8519d73a986 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
STRING_EXTENSION_OUTSIDE(SBTrace)
%extend lldb::SBTrace {
#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
}
|