1%extend lldb::SBBroadcaster { 2#ifdef SWIGPYTHON 3 %pythoncode%{ 4 # operator== is a free function, which swig does not handle, so we inject 5 # our own equality operator here 6 def __eq__(self, other): 7 return not self.__ne__(other) 8 %} 9#endif 10} 11