mirror of
https://github.com/raysan5/raylib.git
synced 2025-09-12 14:28:15 +00:00
Review macros
This commit is contained in:
@@ -104,13 +104,13 @@
|
|||||||
#define RL_MALLOC(sz) malloc(sz)
|
#define RL_MALLOC(sz) malloc(sz)
|
||||||
#endif
|
#endif
|
||||||
#ifndef RL_CALLOC
|
#ifndef RL_CALLOC
|
||||||
#define RL_CALLOC(n,sz) calloc(n,sz)
|
#define RL_CALLOC(ptr,sz) calloc(ptr,sz)
|
||||||
#endif
|
#endif
|
||||||
#ifndef RL_REALLOC
|
#ifndef RL_REALLOC
|
||||||
#define RL_REALLOC(n,sz) realloc(n,sz)
|
#define RL_REALLOC(ptr,sz) realloc(ptr,sz)
|
||||||
#endif
|
#endif
|
||||||
#ifndef RL_FREE
|
#ifndef RL_FREE
|
||||||
#define RL_FREE(p) free(p)
|
#define RL_FREE(ptr) free(ptr)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// NOTE: MSC C++ compiler does not support compound literals (C99 feature)
|
// NOTE: MSC C++ compiler does not support compound literals (C99 feature)
|
||||||
|
Reference in New Issue
Block a user