Closed CraftedCart closed 6 years ago
#define int unsigned int
types.h
typedef unsigned int uint
RelType
Section::get_range
#define int unsigned int
withtypes.h
, which containstypedef unsigned int uint
RelType
enum into it's own header (As you can't forward declare enums)Section::get_range
return an array allocated on the heap, rather than on the stack and letting it go out-of-scope