mirror of
https://github.com/Mestima/GodotStack.git
synced 2025-05-03 21:00:14 +00:00
17 lines
414 B
C++
17 lines
414 B
C++
/* register_types.cpp */
|
|
|
|
#include "register_types.h"
|
|
#include "core/object/class_db.h"
|
|
#include "stack.h"
|
|
|
|
void initialize_GodotStack_module(ModuleInitializationLevel p_level) {
|
|
if (p_level == MODULE_INITIALIZATION_LEVEL_SCENE) {
|
|
ClassDB::register_class<Stack>();
|
|
}
|
|
}
|
|
|
|
void uninitialize_GodotStack_module(ModuleInitializationLevel p_level) {
|
|
if (p_level != MODULE_INITIALIZATION_LEVEL_SCENE) {
|
|
return;
|
|
}
|
|
} |