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

Go to the source code of this file.

Functions

void * stack_pop (t_stack *stack)
 Removed and returns the item most recently added to this stack. More...
 

Function Documentation

◆ stack_pop()

void* stack_pop ( t_stack stack)

Removed and returns the item most recently added to this stack.

Returns
the item most recently added, or NULL if the stack is empty.

Definition at line 16 of file stack_pop.c.