Follow up to https://reviews.llvm.org/rG483ec136da7193de781a5284f1c37929cc27c05c
%feature("docstring", "
Set the name of the script function to be called when the breakpoint is hit.
- To use this variant, the function should take (frame, bp_loc, extra_args, dict) and
+ To use this variant, the function should take (frame, bp_loc, extra_args, internal_dict) and
when the breakpoint is hit the extra_args will be passed to the callback function.") SetScriptCallbackFunction;
SBError
SetScriptCallbackFunction (const char *callback_function_name,
%feature("docstring", "
Set the callback to the given Python function name.
- The function takes three arguments (frame, bp_loc, dict).") SetScriptCallbackFunction;
+ The function takes three arguments (frame, bp_loc, internal_dict).") SetScriptCallbackFunction;
void
SetScriptCallbackFunction (const char *callback_function_name);
%feature("docstring", "
Set the name of the script function to be called when the breakpoint is hit.
- To use this variant, the function should take (frame, bp_loc, extra_args, dict) and
+ To use this variant, the function should take (frame, bp_loc, extra_args, internal_dict) and
when the breakpoint is hit the extra_args will be passed to the callback function.") SetScriptCallbackFunction;
SBError
SetScriptCallbackFunction (const char *callback_function_name,
When the stop hook is added, the class is initialized by calling:
- def __init__(self, target, extra_args, dict):
+ def __init__(self, target, extra_args, internal_dict):
target: The target that the stop hook is being added to.
extra_args: An SBStructuredData Dictionary filled with the -key -value
static const char *g_synth_addreader_instructions =
"Enter your Python command(s). Type 'DONE' to end.\n"
"You must define a Python class with these methods:\n"
- " def __init__(self, valobj, dict):\n"
+ " def __init__(self, valobj, internal_dict):\n"
" def num_children(self):\n"
" def get_child_at_index(self, index):\n"
" def get_child_index(self, name):\n"