tgrekov-push_swap
HIVE push_swap July 2024
|
Definition in file push.c.
Go to the source code of this file.
Functions | |
static int | _push (t_stack *src, t_stack *dst) |
Push the first element out of src out and into dst . | |
void | push (t_stack *stack, int mode) |
Push the first element from stack 1 or 2 into the other stack, depending on whether mode is set to 0 or 1. | |
void push | ( | t_stack * | stack, |
int | mode | ||
) |
Push the first element from stack 1 or 2 into the other stack, depending on whether mode
is set to 0 or 1.
[in,out] | stack | |
[in] | mode |
Definition at line 55 of file push.c.
References _push(), and ft_printf().