================
@@ -930,40 +930,55 @@ be implemented by the Python class):
 
    class SyntheticChildrenProvider:
       def __init__(self, valobj, internal_dict):
-         this call should initialize the Python object using valobj as the 
variable to provide synthetic children for
-      def num_children(self):
-         this call should return the number of children that you want your 
object to have
+         this call should initialize the Python object using valobj as the
+         variable to provide synthetic children for
+      def num_children(self, max_children):
+         this call should return the number of children that you want your
+         object to have[1]
       def get_child_index(self,name):
-         this call should return the index of the synthetic child whose name 
is given as argument
+         this call should return the index of the synthetic child whose name is
+         given as argument
       def get_child_at_index(self,index):
-         this call should return a new LLDB SBValue object representing the 
child at the index given as argument
+         this call should return a new LLDB SBValue object representing the
----------------
labath wrote:

Reformatted because code blocks are not automatically wrapped (and the lines 
don't fit on one screen).

https://github.com/llvm/llvm-project/pull/94192
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to