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/wrappedlibcups.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/wrapped/wrappedlibcups.c') diff --git a/src/wrapped/wrappedlibcups.c b/src/wrapped/wrappedlibcups.c index 72b2a531..cc25e980 100644 --- a/src/wrapped/wrappedlibcups.c +++ b/src/wrapped/wrappedlibcups.c @@ -71,10 +71,4 @@ EXPORT int my_cupsEnumDests(x64emu_t* emu, uint32_t flags, int msec, int* cancel return my->cupsEnumDests(flags, msec, cancel, type, mask, find_cups_dest_cb_t_Fct(f), data); } -#define CUSTOM_INIT \ - getMy(lib); - -#define CUSTOM_FINI \ - freeMy(); - #include "wrappedlib_init.h" -- cgit 1.4.1