From f694544834c121621d08f16bc37cc0edd9ec71f3 Mon Sep 17 00:00:00 2001 From: Leroy Hopson Date: Sun, 7 Jan 2024 11:07:20 +1300 Subject: [PATCH] Remove unused code --- .../native/src/libgodotxtermnative.cpp | 36 ------------------- 1 file changed, 36 deletions(-) delete mode 100644 addons/godot_xterm/native/src/libgodotxtermnative.cpp diff --git a/addons/godot_xterm/native/src/libgodotxtermnative.cpp b/addons/godot_xterm/native/src/libgodotxtermnative.cpp deleted file mode 100644 index b862263..0000000 --- a/addons/godot_xterm/native/src/libgodotxtermnative.cpp +++ /dev/null @@ -1,36 +0,0 @@ -#include "terminal.h" - -#if !defined(_PTY_DISABLED) -#include "libuv_utils.h" -#include "pipe.h" -#if defined(__linux__) || defined(__APPLE__) -#include "node_pty/unix/pty.h" -#endif -#if defined(__WIN32) -//#include "node_pty/win/conpty.h" -#endif -#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_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(); -#if !defined(_PTY_DISABLED) - godot::register_tool_class(); - godot::register_tool_class(); -#if defined(__linux__) || defined(__APPLE__) - godot::register_tool_class(); -#endif -#if defined(__WIN32) - // godot::register_tool_class(); -#endif -#endif -}