Update static aliases to be lower case

This commit is contained in:
Abdelrahman Said 2024-02-24 14:46:52 +00:00
parent 75acf7da5d
commit fc951c8bd8
2 changed files with 5 additions and 5 deletions

View File

@ -17,11 +17,11 @@
#define f64 double
#define f128 long double
#define INTERNAL static
#define PERSISTENT static
#define internal static
#define persistent static
#ifdef __cplusplus
#define CLASS_MEMBER static
#define class_mem static
#endif // __cplusplus
#endif // !ALIASES_H

View File

@ -5,9 +5,9 @@
#include <string.h>
#if defined(__unix__) || defined(__APPLE__) || defined(__ANDROID__)
INTERNAL char path_sep = '/';
internal char path_sep = '/';
#elif defined(_WIN32) || defined(_WIN64)
INTERNAL char path_sep = '\\';
internal char path_sep = '\\';
#endif
void join_root_and_leaf(const char *root, const char *leaf, char *dst);