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

Go to the source code of this file.

Functions

void stack_push (t_stack *stack, const void *data)
 Copy the item and add it to the stack. More...
 

Function Documentation

◆ stack_push()

void stack_push ( t_stack stack,
const void *  data 
)

Copy the item and add it to the stack.

Parameters
dataThe item to be added

Definition at line 16 of file stack_push.c.