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

Go to the source code of this file.

Functions

size_t stack_size (const t_stack *stack)
 Returns the number of items in this stack. More...
 

Function Documentation

◆ stack_size()

size_t stack_size ( const t_stack stack)

Returns the number of items in this stack.

Returns
the number of items in this stack

Definition at line 16 of file stack_size.c.