Augment
Loading...
Searching...
No Matches
AugmentContract Struct Reference

Declares what a hook touches, for automated conflict detection. More...

#include <augment.hpp>

Public Attributes

const char *const * affects
 Symbols/fields this hook affects (side effects).
int n_affects
 Number of entries in affects.
const char *const * reads
 Symbols/fields this hook reads.
int n_reads
 Number of entries in reads.
const char *const * writes
 Symbols/fields this hook writes.
int n_writes
 Number of entries in writes.

Detailed Description

Declares what a hook touches, for automated conflict detection.

Hooks whose contracts overlap (e.g. one writes what another reads/affects) can be flagged instead of colliding silently.


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