tempstack.h

Include dependency graph for tempstack.h:

digraph {
    graph [bgcolor="#00000000"]
    node [shape=rectangle style=filled fillcolor="#FFFFFF" font=Helvetica padding=2]
    edge [color="#1414CE"]
    "1" [label="/home/winford/github/UncleGrumpy/AtomVM/src/libAtomVM/tempstack.h" tooltip="/home/winford/github/UncleGrumpy/AtomVM/src/libAtomVM/tempstack.h" fillcolor="#BFBFBF"]
    "2" [label="term_typedef.h" tooltip="term_typedef.h"]
    "6" [label="utils.h" tooltip="utils.h"]
    "4" [label="inttypes.h" tooltip="inttypes.h"]
    "3" [label="limits.h" tooltip="limits.h"]
    "7" [label="stddef.h" tooltip="stddef.h"]
    "5" [label="stdint.h" tooltip="stdint.h"]
    "1" -> "2" [dir=forward tooltip="include"]
    "1" -> "6" [dir=forward tooltip="include"]
    "2" -> "3" [dir=forward tooltip="include"]
    "2" -> "4" [dir=forward tooltip="include"]
    "2" -> "5" [dir=forward tooltip="include"]
    "6" -> "7" [dir=forward tooltip="include"]
}

This graph shows which files directly or indirectly include tempstack.h:

digraph {
    graph [bgcolor="#00000000"]
    node [shape=rectangle style=filled fillcolor="#FFFFFF" font=Helvetica padding=2]
    edge [color="#1414CE"]
    "2" [label="/home/winford/github/UncleGrumpy/AtomVM/src/libAtomVM/interop.c" tooltip="/home/winford/github/UncleGrumpy/AtomVM/src/libAtomVM/interop.c"]
    "3" [label="/home/winford/github/UncleGrumpy/AtomVM/src/libAtomVM/memory.c" tooltip="/home/winford/github/UncleGrumpy/AtomVM/src/libAtomVM/memory.c"]
    "4" [label="/home/winford/github/UncleGrumpy/AtomVM/src/libAtomVM/refc_binary.c" tooltip="/home/winford/github/UncleGrumpy/AtomVM/src/libAtomVM/refc_binary.c"]
    "1" [label="/home/winford/github/UncleGrumpy/AtomVM/src/libAtomVM/tempstack.h" tooltip="/home/winford/github/UncleGrumpy/AtomVM/src/libAtomVM/tempstack.h" fillcolor="#BFBFBF"]
    "5" [label="/home/winford/github/UncleGrumpy/AtomVM/src/libAtomVM/term.c" tooltip="/home/winford/github/UncleGrumpy/AtomVM/src/libAtomVM/term.c"]
    "1" -> "2" [dir=back tooltip="include"]
    "1" -> "3" [dir=back tooltip="include"]
    "1" -> "4" [dir=back tooltip="include"]
    "1" -> "5" [dir=back tooltip="include"]
}

Enums

enum TempStackResult

Values:

enumerator TempStackOk
enumerator TempStackFailedAlloc

Functions

static inline NO_DISCARD TempStackResult temp_stack_init (struct TempStack *temp_stack)
static inline void temp_stack_destroy(struct TempStack *temp_stack)
static NO_DISCARD TempStackResult temp_stack_grow (struct TempStack *temp_stack)
static inline int temp_stack_is_empty(const struct TempStack *temp_stack)
static inline NO_DISCARD TempStackResult temp_stack_push (struct TempStack *temp_stack, term value)
static inline term temp_stack_pop(struct TempStack *temp_stack)
struct TempStack

Public Members

term *stack_end
term *stack_pos
int size