xref: /freebsd-14.2/contrib/llvm-project/lldb/bindings/interface/SBTypeNameSpecifierExtensions.i (revision c9157d92)
  • Home
  • History
  • Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 STRING_EXTENSION_LEVEL_OUTSIDE(SBTypeNameSpecifier, lldb::eDescriptionLevelBrief)
2 %extend lldb::SBTypeNameSpecifier {
3 #ifdef SWIGPYTHON
4         %pythoncode %{
5             # operator== is a free function, which swig does not handle, so we inject
6             # our own equality operator here
7             def __eq__(self, other):
8                 return not self.__ne__(other)
9 
10             name = property(GetName)
11             is_regex = property(IsRegex)
12         %}
13 #endif
14 }
15 

served by {OpenGrok

Last Index Update: Tue Oct 21 18:42:31 GMT 2025