useful C macros, typedefs, and debugging/tracing functions.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Avril 5e7df7a9ef
Added makefile with install target
3 years ago
include Added makefile with install target 3 years ago
src Added makefile with install target 3 years ago
.gitignore initial commit 3 years ago
Makefile Added makefile with install target 3 years ago
README initial commit 3 years ago

README

Useful macros and trace logging output for C

Headers:
	- macros.h - Useful preprocessor defines. A lot use GNU extensions. Include this after all other includes to not poison any other headers.
	- ints.h - Uniform naming convention for integer types: i8, u8, i16, u64 ... and for floats: f32, f64, etc.
	- trace.h - setting up and managing the logging level. call `trace_init()` to load form env-var, or `trace_init_with()` to set the level explicitly.