shithub: npe

Download patch

ref: e5f850290c4034d4946e3a5e9cc8bd368272f93b
parent: fde88f040b42fef86ce3e7362ca0bf5faa14a48b
author: Sigrid Solveig Haflínudóttir <ftrvxmtrx@gmail.com>
date: Mon Apr 26 02:35:07 EDT 2021

sdl2: add SDL_memset

--- a/include/npe/SDL2/SDL.h
+++ b/include/npe/SDL2/SDL.h
@@ -44,7 +44,8 @@
 #define SDLCALL
 
 #define SDL_zero(x) do{ memset(&(x), 0, sizeof(x)); }while(0)
-#define SDL_realloc(p, sz) realloc(p, sz)
+#define SDL_memset memset
+#define SDL_realloc realloc
 
 void SDL_StopTextInput(void);
 SDL_bool SDL_HasSSE(void);