data_structures
Functions
stack_copy.c File Reference
#include "stack.h"
+ Include dependency graph for stack_copy.c:

Go to the source code of this file.

Functions

t_stackstack_copy (const t_stack *stack)
 Copies a stack and all it contents. More...
 

Function Documentation

◆ stack_copy()

t_stack* stack_copy ( const t_stack stack)

Copies a stack and all it contents.

Returns
A copy of the stack

Definition at line 16 of file stack_copy.c.