@@ -46,7 +46,7 @@ cdef class PythonScriptLanguage:
4646 # godot_extension: method(virtual=True, const=True)
4747 cdef gd_dictionary_t _complete_code(self , gd_string_t code, gd_string_t path, gd_object_t owner):
4848 # TODO
49- spy_log(f" CALLED PythonScriptLanguage::_complete_code(code={gdapi.gd_string_to_pystr(&code)!r}, path={gdapi.gd_string_to_pystr(&path)!r}, owner=<object>)" )
49+ spy_log(f" CALLED PythonScriptLanguage::_complete_code(code={gdapi.gd_string_to_pystr(&code)!r}, path={gdapi.gd_string_to_pystr(&path)!r}, owner=<object 0x{<size_t>owner:x} >)" )
5050 cdef gd_dictionary_t ret = gd_dictionary_new()
5151 gd_string_del(& code)
5252 gd_string_del(& path)
@@ -360,7 +360,7 @@ cdef class PythonScriptLanguage:
360360 # godot_extension: method(virtual=True, const=True)
361361 cdef gd_dictionary_t _lookup_code(self , gd_string_t code, gd_string_t symbol, gd_string_t path, gd_object_t owner):
362362 # TODO
363- spy_log(f" CALLED PythonScriptLanguage::_lookup_code(code={gdapi.gd_string_to_pystr(&code)!r}, symbol={gdapi.gd_string_to_pystr(&symbol)!r}, path={gdapi.gd_string_to_pystr(&path)!r}, owner=<object>)" )
363+ spy_log(f" CALLED PythonScriptLanguage::_lookup_code(code={gdapi.gd_string_to_pystr(&code)!r}, symbol={gdapi.gd_string_to_pystr(&symbol)!r}, path={gdapi.gd_string_to_pystr(&path)!r}, owner=<object 0x{<size_t>owner:x} >)" )
364364 gd_string_del(& code)
365365 gd_string_del(& symbol)
366366 gd_string_del(& path)
@@ -426,7 +426,7 @@ class {py_class_name}({py_base_class_name}):
426426 # godot_extension: method(virtual=True)
427427 cdef gd_int_t _open_in_external_editor(self , gd_object_t script, gd_int_t line, gd_int_t column):
428428 # TODO
429- spy_log(f" CALLED PythonScriptLanguage::_open_in_external_editor(script=<object>, line={line}, column={column})" )
429+ spy_log(f" CALLED PythonScriptLanguage::_open_in_external_editor(script=<object 0x{<size_t>script:x} >, line={line}, column={column})" )
430430 # `gd_object_t` doesn't need to be be deleted (is it just a raw pointer)
431431 return Error.ERR_UNAVAILABLE
432432
@@ -484,7 +484,7 @@ class {py_class_name}({py_base_class_name}):
484484 # godot_extension: method(virtual=True)
485485 cdef void _reload_tool_script(self , gd_object_t script, gd_bool_t soft_reload):
486486 # TODO
487- spy_log(f" CALLED PythonScriptLanguage::_reload_tool_script(script=<object>, soft_reload={soft_reload})" )
487+ spy_log(f" CALLED PythonScriptLanguage::_reload_tool_script(script=<object 0x{<size_t>script:x} >, soft_reload={soft_reload})" )
488488 # `gd_object_t` doesn't need to be be deleted (is it just a raw pointer)
489489
490490 # godot_extension: method(virtual=True)
0 commit comments