brintos

brintos / llvm-project-archived public Read only

0
0
Text · 652 B · e8da4c5 Raw
18 lines · plain
1STRING_EXTENSION_LEVEL_OUTSIDE(SBTypeSummary, lldb::eDescriptionLevelBrief)2%extend lldb::SBTypeSummary {3#ifdef SWIGPYTHON4        %pythoncode %{5            # operator== is a free function, which swig does not handle, so we inject6            # our own equality operator here7            def __eq__(self, other):8                return not self.__ne__(other)9 10            options = property(GetOptions, SetOptions)11            is_summary_string = property(IsSummaryString)12            is_function_name = property(IsFunctionName)13            is_function_name = property(IsFunctionCode)14            summary_data = property(GetData)15        %}16#endif17}18