-
Notifications
You must be signed in to change notification settings - Fork 172
Code Style
Christopher Chapman edited this page Dec 18, 2019
·
3 revisions
C code should pass cpplint.
For integer variables, please use types with explicit bit widths (i.e. int8_t, int16_t, int32_t, int64_t, uint8_t, uint16_t, uint32_t, uint64_t).
For Boolean variables, please use the standard bool from stdbool.h for the type. For Boolean values, please use true and false instead of 1 and 0.
Python code should pass flake8.
For Boolean values, please use True and False instead of 1 and 0.