MMgr v1.0.0
Zero-heap memory manager in C11. One borrowed buffer, carved by asserted offset.
Loading...
Searching...
No Matches
CarcerMovableCfg Struct Reference

Arguments for the calls that reach a movable cell's bytes, each reading the members it names. More...

#include <locus_carcerum.h>

Data Fields

const CarcerMovableEntry *const cell
const CarcerMovableEntry *const other_cell
const size_t offset
const size_t other_offset
void *const dst
const void *const src
const size_t bytes

Detailed Description

Arguments for the calls that reach a movable cell's bytes, each reading the members it names.

Note
offset and bytes are checked against the cell, and a span past its end is refused.

Definition at line 475 of file locus_carcerum.h.

Field Documentation

◆ cell

const CarcerMovableEntry* const CarcerMovableCfg::cell

The cell [BORROWS].

Definition at line 477 of file locus_carcerum.h.

◆ other_cell

const CarcerMovableEntry* const CarcerMovableCfg::other_cell

The cell compare orders it against, NULL for src.

Definition at line 478 of file locus_carcerum.h.

◆ offset

const size_t CarcerMovableCfg::offset

Where in the cell the call starts.

Definition at line 479 of file locus_carcerum.h.

◆ other_offset

const size_t CarcerMovableCfg::other_offset

Where in other_cell compare starts.

Definition at line 480 of file locus_carcerum.h.

◆ dst

void* const CarcerMovableCfg::dst

Where read copies to [BORROWS].

Definition at line 481 of file locus_carcerum.h.

◆ src

const void* const CarcerMovableCfg::src

What write copies from and compare orders against [BORROWS].

Definition at line 482 of file locus_carcerum.h.

◆ bytes

const size_t CarcerMovableCfg::bytes

Bytes the call covers.

Definition at line 483 of file locus_carcerum.h.


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