add array_length

This commit is contained in:
merlokk committed 2021-07-02 22:13:45 +03:00
1 parent 0aad993711
commit a73c6ef90a
1 file changed
+2
+2
View File
@@ -16,6 +16,8 @@
#include <endian.h>
#endif
#define ARRAY_LENGTH( array ) ( sizeof( array ) / sizeof( *( array ) ) )
// used for save/load files
#ifndef FILE_PATH_SIZE
# define FILE_PATH_SIZE 1000