mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-12 21:34:11 +02:00
Merge pull request #259 from qzole/sdl_public_malloc
Made malloc and free public in SDL binding
This commit is contained in:
commit
273a2035bd
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