rlib
Convenience library for useful things
Loading...
Searching...
No Matches
RPtrArray Struct Reference

Public definition of RPtrArray. More...

#include <rlib/data/rptrarray.h>

Data Fields

RRef ref
 
rsize nalloc
 
rsize nsize
 
rpointer mem
 

Detailed Description

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.

Field Documentation

◆ mem

rpointer RPtrArray::mem

Slot storage.

◆ nalloc

rsize RPtrArray::nalloc

Allocated capacity (in slots).

◆ nsize

rsize RPtrArray::nsize

Number of slots in use.

◆ ref

RRef RPtrArray::ref

Refcount base.


The documentation for this struct was generated from the following file: