1 STRING_EXTENSION_LEVEL_OUTSIDE(SBTypeSummary, lldb::eDescriptionLevelBrief) 2 %extend lldb::SBTypeSummary { 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 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 #endif 17 } 18