From deab3d251785ac06830a07c205f942a54fcfeea0 Mon Sep 17 00:00:00 2001 From: matcool <26722564+matcool@users.noreply.github.com> Date: Sun, 10 Nov 2024 10:38:59 -0300 Subject: [PATCH] remove GEODE_STATIC_PTR and GEODE_STATIC_VAR --- loader/include/Geode/DefaultInclude.hpp | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/loader/include/Geode/DefaultInclude.hpp b/loader/include/Geode/DefaultInclude.hpp index 19d2fac4..52cdb79f 100644 --- a/loader/include/Geode/DefaultInclude.hpp +++ b/loader/include/Geode/DefaultInclude.hpp @@ -5,19 +5,6 @@ #include #include -#define GEODE_STATIC_PTR(type, name) \ - static type* s_##name; \ - inline type* name() { \ - if (!s_##name) s_##name = new type(); \ - return s_##name; \ - } - -#define GEODE_STATIC_VAR(type, name) \ - inline type& name() { \ - static type s_##name; \ - return s_##name; \ - } - #if !defined(GEODE_CONCAT) #define GEODE_WRAPPER_CONCAT(x, y) x##y #define GEODE_CONCAT(x, y) GEODE_WRAPPER_CONCAT(x, y)