From b527ebbf5be0949df3b9dcf0806109acc8119476 Mon Sep 17 00:00:00 2001 From: rajdakin Date: Sat, 10 Feb 2024 15:06:08 +0100 Subject: Wrapped libraries refactor (#1257) * [MISC] Removed a warning caused by tab/space mismatch * [WRAPPED] Factored out `getMy` and `freeMy` calls * [WRAPPED] Small cleanup of the init header * [WRAPPED] Factored out `SETALT` * [WRAPPED] Factored out needed libs --- src/wrapped/wrappedgthread2.c | 9 --------- 1 file changed, 9 deletions(-) (limited to 'src/wrapped/wrappedgthread2.c') diff --git a/src/wrapped/wrappedgthread2.c b/src/wrapped/wrappedgthread2.c index 6e66c729..66b64623 100644 --- a/src/wrapped/wrappedgthread2.c +++ b/src/wrapped/wrappedgthread2.c @@ -96,17 +96,8 @@ void** my_GetGthreadsGotInitialized() return (void**)&g_threads_got_initialized; } - - #define PRE_INIT \ if(box64_nogtk) \ return -1; -#define CUSTOM_INIT \ - getMy(lib); - -#define CUSTOM_FINI \ - freeMy(); - #include "wrappedlib_init.h" - -- cgit 1.4.1