|
CX Framework
Cross-platform C utility framework
|
Modules | |
| Base Platform Definitions | |
| CPU Operations | |
| OS Services | |
The platform abstraction layer provides cross-platform APIs and compiler/OS detection. It isolates platform-specific code behind a consistent interface, supporting:
The abstraction is organized into three main areas:
Platform-specific code is selected at compile time using preprocessor conditionals. Applications should include this header and use the portable APIs rather than directly using platform-specific functions.
Example usage: