std1.0.0-beta-7 SafeC docs

std :: alloc::pool

Struct std::PoolBlock

#include <std/alloc/pool.h> source

struct PoolBlock {
    unsigned long size;
    int is_free;
    ?&PoolBlock next;
}

Fields

§unsigned long sizesource

usable size (excluding header)

§int is_freesource

1 = free, 0 = allocated

next block in the list (walked inside unsafe)