O2S C Library 1.8.2
Provide high-level data-structures and other fundamental tools for C projects
Loading...
Searching...
No Matches
stack.h
Go to the documentation of this file.
1#pragma once
2
3/* ************************************************************************** */
4/* ____ _ _____ ____ _ _ _ _____ _ _ ____ ____ */
5/* / ___| / \ | ___| _ \ / \ | \ | | |_ _| || | | _ \/ ___| */
6/* \___ \ / _ \ | |_ | |_) | / _ \ | \| | | | | || |_| | | \___ \ */
7/* ___) / ___ \| _| | _ < / ___ \| |\ | | | |__ _| |_| |___) | */
8/* |____/_/ \_|_| |_| \_/_/ \_|_| \_| |_| |_| |____/|____/ */
9/* */
16/* ************************************************************************** */
17
18#include "o2s/deque.h"
19
22
23#define o2s_stack_push deque_push_back
24#define o2s_stack_push_n deque_push_back_n
25
26#define o2s_stack_pop deque_pop_back
27#define o2s_stack_pop_n deque_pop_back_n
Realtime double-ended queues.
deque_t o2s_stack_t
A stack is Last In First Out.
Definition stack.h:21
Double-ended queue.
Definition deque.h:27