xref: /llvm-project/lldb/bindings/interface/SBBroadcastExtensions.i (revision 6813ef37377e8d8fadf6efe01e1ed80cc53b9c86)
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