def pybind_get_template_source_code(handle, class_name, base_class_name): class_name = godot_string_to_pyobj(class_name) or "MyExportedCls" base_class_name = godot_string_to_pyobj(base_class_name) src = """from godot import exposed, export from godot.bindings import * from godot.globals import * @exposed class %s(%s): # member variables here, example: a = export(int) b = export(str, default='foo') def _ready(self): \"\"\" Called every time the node is added to the scene. Initialization here. \"\"\" pass """ % ( class_name, base_class_name, ) return godot_string_from_pyobj_for_ffi_return(src)[0]
def pybind_debug_get_error(handle): return godot_string_from_pyobj_for_ffi_return("Nothing")[0]
def pybind_debug_parse_stack_level_expression(handle, level, expression, max_subitems, max_depth): return godot_string_from_pyobj_for_ffi_return("Nothing")[0]
def pybind_debug_get_stack_level_source(handle, level): return godot_string_from_pyobj_for_ffi_return("Nothing")[0]