|
rlib
Convenience library for useful things
|
Public definition of RPtrArray. More...
#include <rlib/data/rptrarray.h>
Data Fields | |
| RRef | ref |
| rsize | nalloc |
| rsize | nsize |
| rpointer | mem |
Public definition of RPtrArray.
Opaque, refcounted growable pointer array (definition below).
Exposed so callers can stack-allocate or embed the struct directly. Treat as opaque - access through the r_ptr_array_* helpers above.
| rpointer RPtrArray::mem |
Slot storage.
| rsize RPtrArray::nalloc |
Allocated capacity (in slots).
| rsize RPtrArray::nsize |
Number of slots in use.
| RRef RPtrArray::ref |
Refcount base.