Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include "Root.hpp"
- #include "Entity.hpp"
- using namespace godot;
- extern "C" void GDN_EXPORT godot_gdnative_init(godot_gdnative_init_options *o) {
- Godot::gdnative_init(o);
- }
- extern "C" void GDN_EXPORT godot_gdnative_terminate(godot_gdnative_terminate_options *o) {
- Godot::gdnative_terminate(o);
- }
- extern "C" void GDN_EXPORT godot_nativescript_init(void *handle) {
- Godot::nativescript_init(handle);
- register_class<Root>();
- register_class<Entity>();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement