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

STACK

Module: STACKS: generic type stack

STACK structure.

#include "n_stack.h"

Public Attributes

Name
size_t tail
position of tail
STACK_ITEM * stack_array
STACK_ITEM array.
size_t size
Size of array.
size_t nb_items
number of item inside stack
size_t head
position of head

Public Attributes Documentation

variable tail

size_t tail;

position of tail

variable stack_array

STACK_ITEM * stack_array;

STACK_ITEM array.

variable size

size_t size;

Size of array.

variable nb_items

size_t nb_items;

number of item inside stack

variable head

size_t head;

position of head