Advertisement
Guest User

Untitled

a guest
Jul 16th, 2019
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.48 KB | None | 0 0
  1. #include "Root.hpp"
  2. #include "Entity.hpp"
  3.  
  4. using namespace godot;
  5.  
  6. extern "C" void GDN_EXPORT godot_gdnative_init(godot_gdnative_init_options *o) {
  7.     Godot::gdnative_init(o);
  8. }
  9.  
  10. extern "C" void GDN_EXPORT godot_gdnative_terminate(godot_gdnative_terminate_options *o) {
  11.     Godot::gdnative_terminate(o);
  12. }
  13.  
  14. extern "C" void GDN_EXPORT godot_nativescript_init(void *handle) {
  15.     Godot::nativescript_init(handle);
  16.     register_class<Root>();
  17.     register_class<Entity>();
  18. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement