Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | config: Check for aligned_alloc() | Tavian Barnes | 2024-04-19 | 1 | -3/+3 |
| | |||||
* | Rename config.h to prelude.h | Tavian Barnes | 2024-04-19 | 1 | -1/+1 |
| | |||||
* | config: New variadic attr(...) macro | Tavian Barnes | 2023-12-18 | 1 | -1/+1 |
| | |||||
* | alloc: New helpers for growing dynamic arrays | Tavian Barnes | 2023-11-23 | 1 | -22/+44 |
| | |||||
* | alloc: New helpers for aligned reallocation | Tavian Barnes | 2023-11-23 | 1 | -4/+38 |
| | | | | | | There is no aligned_realloc(), so the new xrealloc() function emulates it by manually reallocating and copying for over-aligned types. The new REALLOC_ARRAY() and REALLOC_FLEX() macros wrap xrealloc(). | ||||
* | alloc: New ALLOC_MAX macro | Tavian Barnes | 2023-11-23 | 1 | -2/+10 |
| | |||||
* | alloc: New is_aligned() helper | Tavian Barnes | 2023-11-23 | 1 | -5/+5 |
| | |||||
* | Initial support for Cosmopolitan Libc | Tavian Barnes | 2023-11-10 | 1 | -0/+1 |
| | |||||
* | config: New attr_noinline and attr_cold macros | Tavian Barnes | 2023-11-09 | 1 | -0/+1 |
| | |||||
* | alloc: New varena_grow() function | Tavian Barnes | 2023-08-31 | 1 | -0/+15 |
| | |||||
* | alloc: New [v]arena_clear() functions | Tavian Barnes | 2023-08-31 | 1 | -1/+15 |
| | |||||
* | alloc: Use a different error code for size overflows | Tavian Barnes | 2023-07-13 | 1 | -0/+10 |
| | | | | This should help debuggability, and also squelches a GCC warning. | ||||
* | alloc: Implement an arena for flexible structs | Tavian Barnes | 2023-06-20 | 1 | -0/+118 |
| | |||||
* | alloc: Implement an arena allocator | Tavian Barnes | 2023-06-20 | 1 | -0/+111 |
| | |||||
* | alloc: New header for memory allocation utilities | Tavian Barnes | 2023-06-20 | 1 | -0/+50 |