mirror of
https://github.com/lihop/godot-xterm.git
synced 2025-07-04 12:55:31 +02:00
Format c++ files using clang-format
Add git pre-commit hooks to help with automatic formatting.
This commit is contained in:
parent
99989d19e4
commit
6e455738b8
10 changed files with 981 additions and 760 deletions
|
@ -3,22 +3,20 @@
|
|||
#include "pseudoterminal.h"
|
||||
#endif
|
||||
|
||||
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_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_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);
|
||||
extern "C" void GDN_EXPORT godot_nativescript_init(void *handle) {
|
||||
godot::Godot::nativescript_init(handle);
|
||||
|
||||
godot::register_tool_class<godot::Terminal>();
|
||||
godot::register_tool_class<godot::Terminal>();
|
||||
#if defined(PLATFORM_LINUX) || defined(PLATFORM_OSX)
|
||||
godot::register_class<godot::Pseudoterminal>();
|
||||
godot::register_class<godot::Pseudoterminal>();
|
||||
#endif
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue