add array_length
This commit is contained in:
1 parent
0aad993711
commit
a73c6ef90a
1 file changed
+2
@@ -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
|
||||
|
||||
Reference in new issue
Block a user