Code submissions have continually suffered from formatting inconsistencies that constantly have to be addressed. Using clang-format simplifies this by making code formatting more consistent, and allows automation of the code formatting so that maintainers can focus more on the code itself instead of code formatting.
10 lines
159 B
C
10 lines
159 B
C
#pragma once
|
|
|
|
#if !defined(__cplusplus)
|
|
typedef int8_t _Bool;
|
|
#define bool _Bool
|
|
#define true 1
|
|
#define false 0
|
|
#define __bool_true_false_are_defined 1
|
|
#endif
|