mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-09 20:12:21 +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:
parent
71aea8107f
commit
10ad3514a4
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue