Files
wut/docs
capitalistspz cc35feb58d
Some checks failed
C/C++ CI / ubuntu-latest (push) Has been cancelled
Add some allocation-related attributes (#458)
* Add and apply some allocation-related attributes

`WUT_ALLOC_SIZE` was left off `MEMAllocFromExpHeapEx` because the allocated region may be resized via `MEMResizeForMBlockExpHeap`, but is always accessed via the same pointer.

Some functions had to have the free and allocate function order swapped because the two-parameter `malloc` attribute relies on declaration order

* Add attrs to `MEMAllocFromDefaultHeapFn` and `MEMAllocFromDefaultHeapExFn`

* Add attrs to `MEMAllocFromBlockHeapEx`, `MEMAllocFromBlockHeapAt` and `MEMAllocFromFrmHeapEx`

* whoops

* Add attrs to `MEMAllocFromUnitHeap`

* Formatting

* Fix doxygen expansion
2026-10-02 12:13:32 +02:00
..
2019-06-20 14:37:26 +01:00