From 435c16942c9b685554c3960d38db35d51c72aef7 Mon Sep 17 00:00:00 2001 From: Mestima Date: Fri, 19 Aug 2022 05:16:20 +0300 Subject: [PATCH] hook -> GodotHook --- register_types.cpp | 4 ++-- register_types.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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