about summary refs log tree commit diff stats
path: root/src/wrapped/wrappedlibncurses.c
diff options
context:
space:
mode:
authorrajdakin <rajdakin@gmail.com>2021-07-31 13:38:01 +0200
committerrajdakin <rajdakin@gmail.com>2021-07-31 13:38:22 +0200
commite1d8f1d7e55ea83a8c30680560c22b200cdeb9cd (patch)
treeb9efa9e0ba1331bbe4d3ccf100cf465b720e3faf /src/wrapped/wrappedlibncurses.c
parentc8640caba352bed19d7289cf9761c0d14d3d2b19 (diff)
downloadbox64-e1d8f1d7e55ea83a8c30680560c22b200cdeb9cd.tar.gz
box64-e1d8f1d7e55ea83a8c30680560c22b200cdeb9cd.zip
Fixed some wrapped functions, upgraded the rebuild_wrapper script [SDL2 DOESN'T WORK, FIX UNDERWAY]
Diffstat (limited to 'src/wrapped/wrappedlibncurses.c')
-rwxr-xr-xsrc/wrapped/wrappedlibncurses.c13
1 files changed, 2 insertions, 11 deletions
diff --git a/src/wrapped/wrappedlibncurses.c b/src/wrapped/wrappedlibncurses.c
index e9f49643..37ad0021 100755
--- a/src/wrapped/wrappedlibncurses.c
+++ b/src/wrapped/wrappedlibncurses.c
@@ -26,17 +26,8 @@ static library_t* my_lib = NULL;
 
 // this is a simple copy of libncursesw wrapper. TODO: check if ok
 
-typedef void*       (*pFv_t)();
-typedef int         (*iFppV_t)(void*, void*, va_list);
-typedef int         (*iFpiip_t)(void*, int32_t, int32_t, void*);
-typedef int         (*iFiipV_t)(int, int, void*, ...);
-
-#define SUPER() \
-    GO(initscr, pFv_t)      \
-    GO(mvwprintw, iFpiip_t) \
-    GO(vwprintw, iFppV_t)   \
-    GO(stdscr, void*)       \
-    GO(mvprintw, iFiipV_t)
+#define ADDED_FUNCTIONS() GO(stdscr, void*)
+#include "generated/wrappedlibncursestypes.h"
 
 typedef struct libncurses_my_s {
     // functions