source: Revenant/gdmodule/src/root.cpp@ f40df48

Last change on this file since f40df48 was dd8f5b4, checked in by Jonathan Neufeld <support@…>, 4 years ago

(WIP) GD Native module

  • Property mode set to 100644
File size: 443 bytes
Line 
1#include "terraingen.h"
2
3extern "C" void GDN_EXPORT godot_gdnative_init(godot_gdnative_init_options *o) {
4 godot::Godot::gdnative_init(o);
5}
6
7extern "C" void GDN_EXPORT godot_gdnative_terminate(godot_gdnative_terminate_options *o) {
8 godot::Godot::gdnative_terminate(o);
9}
10
11extern "C" void GDN_EXPORT godot_nativescript_init(void *handle) {
12 godot::Godot::nativescript_init(handle);
13
14 godot::register_class<godot::TerrainGen>();
15}
Note: See TracBrowser for help on using the repository browser.