Compare commits
No commits in common. "4cc226b57af3691b9c6062499ce0a18755047c59" and "2c8e6fc601a868851d8ce50f77b391e6a9b7e656" have entirely different histories.
4cc226b57a
...
2c8e6fc601
@ -28,4 +28,3 @@ void List_push_size(List_* ptr, void* values, u32 size);
|
|||||||
bool List_removeAt_size(List_* ptr, u32 i, u32 remove_size);
|
bool List_removeAt_size(List_* ptr, u32 i, u32 remove_size);
|
||||||
|
|
||||||
#define List_len(L, T) ((L)->size / sizeof(T))
|
#define List_len(L, T) ((L)->size / sizeof(T))
|
||||||
#define List_castTo_Array(l) Array_construct_size(l.data, l.size)
|
|
||||||
|
|||||||
@ -22,6 +22,7 @@ typedef int64_t i64;
|
|||||||
typedef uint64_t u64;
|
typedef uint64_t u64;
|
||||||
typedef float f32;
|
typedef float f32;
|
||||||
typedef double f64;
|
typedef double f64;
|
||||||
|
typedef void* ptr;
|
||||||
|
|
||||||
#if !__cplusplus && !defined(bool)
|
#if !__cplusplus && !defined(bool)
|
||||||
typedef u8 bool;
|
typedef u8 bool;
|
||||||
|
|||||||
@ -6,17 +6,8 @@ CMP_C="gcc"
|
|||||||
CMP_CPP="g++"
|
CMP_CPP="g++"
|
||||||
STD_C="c99"
|
STD_C="c99"
|
||||||
STD_CPP="c++11"
|
STD_CPP="c++11"
|
||||||
WARN_C="-Wall -Wextra
|
WARN_C="-Wall -Wextra -Werror=return-type -Werror=pointer-arith"
|
||||||
-Wduplicated-branches
|
WARN_CPP="-Wall -Wextra -Werror=return-type -Werror=pointer-arith"
|
||||||
-Wduplicated-cond
|
|
||||||
-Wformat=2
|
|
||||||
-Wmissing-include-dirs
|
|
||||||
-Wshadow
|
|
||||||
-Werror=return-type
|
|
||||||
-Werror=pointer-arith
|
|
||||||
-Werror=init-self
|
|
||||||
-Werror=incompatible-pointer-types"
|
|
||||||
WARN_CPP="$WARN_C"
|
|
||||||
SRC_C="$(find src -name '*.c')"
|
SRC_C="$(find src -name '*.c')"
|
||||||
SRC_CPP="$(find src -name '*.cpp')"
|
SRC_CPP="$(find src -name '*.cpp')"
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user