llama-cpp-turboquant/examples/godot_examples/gdnative_shared/src/gdlibrary.cpp
2020-09-20 12:40:35 +01:00

15 lines
439 B
C++

#include "summator.h"
extern "C" void GDN_EXPORT godot_gdnative_init(godot_gdnative_init_options *o) {
godot::Godot::gdnative_init(o);
}
extern "C" void GDN_EXPORT godot_gdnative_terminate(godot_gdnative_terminate_options *o) {
godot::Godot::gdnative_terminate(o);
}
extern "C" void GDN_EXPORT godot_nativescript_init(void *handle) {
godot::Godot::nativescript_init(handle);
godot::register_class<godot::Summator>();
}