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/wrappedlibva.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'src/wrapped/wrappedlibva.c') diff --git a/src/wrapped/wrappedlibva.c b/src/wrapped/wrappedlibva.c index 8c331324..df18e412 100644 --- a/src/wrapped/wrappedlibva.c +++ b/src/wrapped/wrappedlibva.c @@ -77,11 +77,4 @@ EXPORT void* my_vaSetInfoCallback(x64emu_t* emu, void* dpy, void* f, void* ctx) return reverse_VAMessageCallbackFct(my->vaSetInfoCallback(dpy, findVAMessageCallbackFct(f), ctx)); } -#define CUSTOM_INIT \ - getMy(lib); - -#define CUSTOM_FINI \ - freeMy(); - #include "wrappedlib_init.h" - -- cgit 1.4.1