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

Public definition of RKVPtrArray. More...

#include <rlib/data/rkvptrarray.h>

Data Fields

RRef ref
 
REqualFunc eqfunc
 
rsize nalloc
 
rsize nsize
 
rpointer mem
 

Detailed Description

Public definition of RKVPtrArray.

Opaque, refcounted KV pointer array.

Exposed so callers can stack-allocate or embed the struct directly. Treat as opaque - access through the r_kv_ptr_array_* helpers above.

Field Documentation

◆ eqfunc

REqualFunc RKVPtrArray::eqfunc

Key comparator (NULL for identity).

◆ mem

rpointer RKVPtrArray::mem

Pair storage.

◆ nalloc

rsize RKVPtrArray::nalloc

Allocated capacity (pairs).

◆ nsize

rsize RKVPtrArray::nsize

Number of pairs in use.

◆ ref

RRef RKVPtrArray::ref

Refcount base.


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