-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathft_queue_is_empty.c
More file actions
20 lines (18 loc) · 1009 Bytes
/
ft_queue_is_empty.c
File metadata and controls
20 lines (18 loc) · 1009 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_queue_is_empty.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: tvandivi <tvandivi@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2019/07/15 16:26:14 by tvandivi #+# #+# */
/* Updated: 2019/07/15 22:43:26 by tvandivi ### ########.fr */
/* */
/* ************************************************************************** */
#include "libft.h"
int ft_queue_is_empty(t_queue *que)
{
if (que->front == que->size)
return (1);
return (0);
}