6 def __init__(self, valobj, dict):
8 def num_children(self):
9 if self.char.IsValid():
12 def get_child_index(self,name):
14 def get_child_at_index(self,index):
16 return self.x.Cast(self.char)
18 return self.valobj.CreateValueFromExpression(str(index),'(char)('+str(self.count)+')')
19 return self.x.CreateChildAtOffset(str(index),
23 self.x = self.valobj.GetChildMemberWithName('x');
24 self.char = self.valobj.GetType().GetBasicType(lldb.eBasicTypeChar)
28 return True # important: if we return False here, or fail to return, the test will fail
30 def __lldb_init_module(debugger, dict):