llama-cpp-turboquant/examples/godot_logistic_regression/gdnative_shared/src/KomputeGdNative.cpp
2020-09-27 14:09:16 +01:00

15 lines
453 B
C++

#include "KomputeModelML.hpp"
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::KomputeModelML>();
}