Skip to content
Branch: master
Go to file
Code

Latest commit

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.org

ct-head

Common utility headers & macros for c.thi.ng projects

Build customization flags

The following defines can be used to customize compile & runtime behaviors:

CT_FEATURE_LOGenable logging (if NDEBUG is defined, the CT_DEBUG will be elided)
CT_FEATURE_ANSIuse ANSI colors in log messages
CT_FEATURE_CHECKSenable runtime assertions (via CT_CHECK macro)
CT_FEATURE_CHECK_MEMenable runtime memory checks (via CT_CHECK_MEM macro)
CT_FEATURE_SSEenable SSE version
CT_LOG_PRELUDEinitial part of logging function call (see ./log.h)
CT_CHECK_FAIL_ACTIONwhat to do when checks fail (default: goto fail)
CT_CHECK_MEM_FAIL_ACTIONwhat do when out of memory (default: exit(1))

Contributors

NameRoleWebsite
Karsten Schmidtinitiator & principal developerthi.ng

License

This project is open source and licensed under the Apache Software License 2.0.

About

Common utility headers & macros for c.thi.ng projects

Resources

License

Releases

No releases published
You can’t perform that action at this time.