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

port/mars-tycoon
Last change on this file since 8125274 was 8125274, checked in by Jonathan Neufeld <support@…>, 3 years ago

(WIP) Introduction of GD Native module and Godot-CPP API sub-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.