blob: 1aeb08cf0291d3763c34f8f5dc960eb9252ddd40 [file] [log] [blame]
STRING_EXTENSION_LEVEL_OUTSIDE(SBTypeNameSpecifier, lldb::eDescriptionLevelBrief)
%extend lldb::SBTypeNameSpecifier {
#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)
name = property(GetName)
is_regex = property(IsRegex)
%}
#endif
}