From 1fd60161ca5fdef652d0eee3a12db026b4056478 Mon Sep 17 00:00:00 2001 From: "leo.pellandi" <leo.pellandini@etu.hesge.ch> Date: Fri, 4 Feb 2022 20:53:29 +0100 Subject: [PATCH] =?UTF-8?q?Add=20m=C3=A9thode=20"is=5Ffull"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- is_full.c | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 is_full.c diff --git a/is_full.c b/is_full.c new file mode 100644 index 0000000..a269855 --- /dev/null +++ b/is_full.c @@ -0,0 +1,7 @@ +bool is_full(queue q){ + bool ret = false; + if(q.tail == q.capacity){ + ret = true; + } + return ret; +} -- GitLab