Skip to content

Commit

Permalink
Correct incorrect name for bindings of `pythonscript_gdextension.call…
Browse files Browse the repository at this point in the history
…able_custom_get_user_data`
  • Loading branch information
touilleMan committed Aug 10, 2024
1 parent d8880f5 commit 1c73ff4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/godot/hazmat/gdnative_ptrs.pxd.j2
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ cdef struct LoadedGDExtensionInterface:
void (*placeholder_script_instance_update)(GDExtensionScriptInstancePtr p_placeholder, GDExtensionConstTypePtr p_properties, GDExtensionConstTypePtr p_values)
GDExtensionScriptInstanceDataPtr (*object_get_script_instance)(GDExtensionConstObjectPtr p_object, GDExtensionObjectPtr p_language)
void (*callable_custom_create)(GDExtensionUninitializedTypePtr r_callable, GDExtensionCallableCustomInfo *p_callable_custom_info)
void *(*callable_custom_get_user_data)(GDExtensionConstTypePtr p_callable, void *p_token)
void *(*callable_custom_get_userdata)(GDExtensionConstTypePtr p_callable, void *p_token)
GDExtensionObjectPtr (*classdb_construct_object)(GDExtensionConstStringNamePtr p_classname)
GDExtensionMethodBindPtr (*classdb_get_method_bind)(GDExtensionConstStringNamePtr p_classname, GDExtensionConstStringNamePtr p_methodname, GDExtensionInt p_hash)
void *(*classdb_get_class_tag)(GDExtensionConstStringNamePtr p_classname)
Expand Down
2 changes: 1 addition & 1 deletion src/godot/hazmat/gdnative_ptrs.pyx.j2
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ pythonscript_gdextension.placeholder_script_instance_create = <GDExtensionScript
pythonscript_gdextension.placeholder_script_instance_update = <void (*)(GDExtensionScriptInstancePtr, GDExtensionConstTypePtr, GDExtensionConstTypePtr)>pythonscript_gdextension_get_proc_address("placeholder_script_instance_update")
pythonscript_gdextension.object_get_script_instance = <GDExtensionScriptInstanceDataPtr (*)(GDExtensionConstObjectPtr, GDExtensionObjectPtr)>pythonscript_gdextension_get_proc_address("object_get_script_instance")
pythonscript_gdextension.callable_custom_create = <void (*)(GDExtensionUninitializedTypePtr, GDExtensionCallableCustomInfo *)>pythonscript_gdextension_get_proc_address("callable_custom_create")
pythonscript_gdextension.callable_custom_get_user_data = <void *(*)(GDExtensionConstTypePtr, void *)>pythonscript_gdextension_get_proc_address("callable_custom_get_user_data")
pythonscript_gdextension.callable_custom_get_userdata = <void *(*)(GDExtensionConstTypePtr, void *)>pythonscript_gdextension_get_proc_address("callable_custom_get_userdata")
pythonscript_gdextension.classdb_construct_object = <GDExtensionObjectPtr (*)(GDExtensionConstStringNamePtr)>pythonscript_gdextension_get_proc_address("classdb_construct_object")
pythonscript_gdextension.classdb_get_method_bind = <GDExtensionMethodBindPtr (*)(GDExtensionConstStringNamePtr, GDExtensionConstStringNamePtr, GDExtensionInt)>pythonscript_gdextension_get_proc_address("classdb_get_method_bind")
pythonscript_gdextension.classdb_get_class_tag = <void *(*)(GDExtensionConstStringNamePtr)>pythonscript_gdextension_get_proc_address("classdb_get_class_tag")
Expand Down

0 comments on commit 1c73ff4

Please sign in to comment.