summaryrefslogtreecommitdiff
path: root/lldb/bindings/interface/SBTypeSummaryExtensions.i
blob: e8da4c5022ef4b9b72e1228893a245311f010965 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
STRING_EXTENSION_LEVEL_OUTSIDE(SBTypeSummary, lldb::eDescriptionLevelBrief)
%extend lldb::SBTypeSummary {
#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)

            options = property(GetOptions, SetOptions)
            is_summary_string = property(IsSummaryString)
            is_function_name = property(IsFunctionName)
            is_function_name = property(IsFunctionCode)
            summary_data = property(GetData)
        %}
#endif
}