about summary refs log tree commit diff
path: root/malloc/tst-dynarray.c
Commit message (Collapse)AuthorAgeFilesLines
* dynarray: Set errno on overflow-induced allocation failureFlorian Weimer2017-08-301-0/+29
| | | | | This allows the caller to return directly on such an error, with an appropriate errno value.
* dynarray: Implement begin/end functions in the spirit of C++Florian Weimer2017-06-131-0/+28
|
* Add internal facility for dynamic array handlingFlorian Weimer2017-06-021-0/+517
This is intended as a type-safe alternative to obstacks and hand-written realloc constructs. The implementation avoids writing function pointers to the heap.