summaryrefslogtreecommitdiffhomepage
path: root/src/raylib.h
diff options
context:
space:
mode:
authorRay <[email protected]>2020-02-27 13:18:55 +0100
committerRay <[email protected]>2020-02-27 13:18:55 +0100
commit89ecad1e29c24129ea7de9715afce738a94f9480 (patch)
treea418c5d4bcac0a3c68e752ca17f508c80d768aae /src/raylib.h
parent23bde477e56714c4d10e017abad00401207c1a12 (diff)
downloadraylib-89ecad1e29c24129ea7de9715afce738a94f9480.tar.gz
raylib-89ecad1e29c24129ea7de9715afce738a94f9480.zip
Review macros
Diffstat (limited to 'src/raylib.h')
-rw-r--r--src/raylib.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/raylib.h b/src/raylib.h
index 23ad8767..ed8a3ace 100644
--- a/src/raylib.h
+++ b/src/raylib.h
@@ -104,13 +104,13 @@
#define RL_MALLOC(sz) malloc(sz)
#endif
#ifndef RL_CALLOC
- #define RL_CALLOC(n,sz) calloc(n,sz)
+ #define RL_CALLOC(ptr,sz) calloc(ptr,sz)
#endif
#ifndef RL_REALLOC
- #define RL_REALLOC(n,sz) realloc(n,sz)
+ #define RL_REALLOC(ptr,sz) realloc(ptr,sz)
#endif
#ifndef RL_FREE
- #define RL_FREE(p) free(p)
+ #define RL_FREE(ptr) free(ptr)
#endif
// NOTE: MSC C++ compiler does not support compound literals (C99 feature)