about summary refs log tree commit diff stats
path: root/src/wrapped/wrappedgconf2.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/wrapped/wrappedgconf2.c')
-rw-r--r--src/wrapped/wrappedgconf2.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/wrapped/wrappedgconf2.c b/src/wrapped/wrappedgconf2.c
index 0ea85bb3..6e656f71 100644
--- a/src/wrapped/wrappedgconf2.c
+++ b/src/wrapped/wrappedgconf2.c
@@ -88,5 +88,11 @@ EXPORT uint32_t my_gconf_client_notify_add(x64emu_t* emu, void* client, void* se
     if(box64_nogtk) \
         return -1;
 
+#define CUSTOM_INIT \
+    getMy(lib);     \
+
+#define CUSTOM_FINI \
+    freeMy();
+
 #include "wrappedlib_init.h"