diff --git a/register_types.cpp b/register_types.cpp index 9ef1c1e..b90062c 100644 --- a/register_types.cpp +++ b/register_types.cpp @@ -5,10 +5,10 @@ #include "core/class_db.h" #include "hook.h" -void register_hook_types() { +void register_GodotHook_types() { ClassDB::register_class(); } -void unregister_hook_types() { +void unregister_GodotHook_types() { // Nothing to do here in this example. } \ No newline at end of file diff --git a/register_types.h b/register_types.h index d6b73f6..a325dce 100644 --- a/register_types.h +++ b/register_types.h @@ -1,5 +1,5 @@ /* register_types.h */ -void register_hook_types(); -void unregister_hook_types(); +void register_GodotHook_types(); +void unregister_GodotHook_types(); /* yes, the word in the middle must be the same as the module folder name */ \ No newline at end of file