godot-xterm/addons/godot_xterm/native/src/libgodotxtermnative.cpp
Leroy Hopson a55a05d3a4 Make Terminal a tool script
Former-commit-id: f63246d8ea
2020-10-05 17:56:57 +07:00

21 lines
510 B
C++

#include "terminal.h"
#include "pseudoterminal.h"
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_tool_class<godot::Terminal>();
godot::register_class<godot::Pseudoterminal>();
}