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