|
cbase 1.50.0
C/C++ Static Template
|
| Logging Subsystem | |
| Linkage & Storage Class | Semantic replacements for the static and extern keywords |
| Utility Math & Helpers | Quality-of-life macros for strings, pointers, and math |
| Memory Alignment | Fast, bitwise macros for aligning pointers and sizes to powers of 2 |
| Memory Safety | Wrappers around string.h functions that force sizeof() safety |
| Intrusive Linked Lists | Zero-allocation macros for pushing/popping nodes in intrusive linked lists |
| Debugging & Context | Assertions and debugging breakpoints |
| String Hash Map | Arena-backed hash map from String8 keys to void* values |
| Sized String Types | |
| String Macros | |
| String Operations | |
| Fixed-Width Integers | Standardized shorthand for signed and unsigned integers |
| Size and Pointer Types | Types for memory sizing and pointer arithmetic |
| Floating-Point Types | Shorthand aliases for floating point numbers |
| Utility Types | Shorthand for common C idioms (strings, bytes, booleans) |
| Memory Size Constants | Macros for cleanly defining byte allocations |
| String Builder | Accumulate strings efficiently and join them into a single allocation |
| Generic Allocator Interface | A vtable structure for passing allocators dynamically |
| Ergonomic Allocation Macros | Dylan Falconer-style typed allocation macros. No casts, no sizeof |
| Arena Allocator | Auto-committing linear allocator backed by OS virtual memory |
| General Purpose Allocator | Implementation of a non-linear heap allocator |
| OS Virtual Memory | Direct wrappers over VirtualAlloc/mmap for page-level memory control |