PmrResourceVtable struct
#include <bedrock/pmr.h>
Operations implemented by a memory resource.
The wrappers have already rejected a null resource, a zero size, and an alignment that is not a non-zero power of two. allocate returns an aligned block of at least bytes uninitialized bytes, or NULL on failure. deallocate does not report failure. is_ is true only when both resources can free each other's blocks. Do not call pmr_ on self from inside is_; that recurses.
Public variables
- void*(* allocate
- void(* deallocate
- int(* is_equal