5 Struct STACK_ITEM
gullradriel edited this page 2026-10-09 00:55:18 +02:00

STACK_ITEM

Module: STACKS: generic type stack

structure of a STACK item

#include "n_stack.h"

Public Attributes

Name
uint8_t v_type
type of the item
uint16_t p_type
if v_type is STACK_ITEM_PTR, user defined pointer type
bool is_set
is item set ?
bool is_empty
is item empty ?
union STACK_DATA data
union of different types

Public Attributes Documentation

variable v_type

uint8_t v_type;

type of the item

variable p_type

uint16_t p_type;

if v_type is STACK_ITEM_PTR, user defined pointer type

variable is_set

bool is_set;

is item set ?

variable is_empty

bool is_empty;

is item empty ?

variable data

union STACK_DATA data;

union of different types