Skip to content

Tags: jacoblarkin/ds

Tags

v0.1.0

Toggle v0.1.0's commit message
First minor version increment. Add new ds_darray object, a dynamic ar…

…ray.

ds_darray is the first data structure in the library, but currently has a fairly simple API.
A constructor and destructor are provided which use ds_alloc, and a push and resize function to provide the usual dynamic array interface.
An at function which does bounds checking is also provided.
Finally, a macro DS_DARRAY_AS is provided which expands to the data member of the ds_darray cast to a T* for some type T.

v0.0.1

Toggle v0.0.1's commit message
Support for custom allocators and a default allocator using malloc/re…

…alloc/free.

v0.0.0

Toggle v0.0.0's commit message
Just a README and a header with version macros.