• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Summaries for common ObjC types that require Python scripting
2# to be generated fit into this file
3
4def BOOL_SummaryProvider (valobj,dict):
5	if  not (valobj.IsValid()):
6		return "<invalid>"
7	if valobj.GetValueAsUnsigned() == 0:
8		return "NO"
9	else:
10		return "YES"
11
12def BOOLRef_SummaryProvider (valobj, dict):
13	return  BOOL_SummaryProvider (valobj.GetChildAtIndex(0),dict)
14
15def BOOLPtr_SummaryProvider (valobj,dict):
16	return BOOL_SummaryProvider (valobj.Dereference(),dict)
17