1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-09 03:52:19 +02:00

Made malloc and free public in SDL binding (used for freeing up clipboard text data in imgui binding)

This commit is contained in:
Zoltán Kurucz 2020-05-14 23:52:18 +02:00
parent 71aea8107f
commit 10ad3514a4

View file

@ -52,10 +52,10 @@ namespace SDL2
} }
[LinkName("SDL_malloc")] [LinkName("SDL_malloc")]
static extern void* malloc(int size); public static extern void* malloc(int size);
[LinkName("SDL_free")] [LinkName("SDL_free")]
static extern void free(void* memblock); public static extern void free(void* memblock);
public struct RWOps; public struct RWOps;