From 255a49ba5a41b3854dbdfebdec75fb6229450507 Mon Sep 17 00:00:00 2001 From: Galin Simeonov Date: Mon, 31 May 2021 22:02:10 +0300 Subject: added cmake file --- queue.h | 23 ----------------------- 1 file changed, 23 deletions(-) delete mode 100644 queue.h (limited to 'queue.h') diff --git a/queue.h b/queue.h deleted file mode 100644 index 651d4b0..0000000 --- a/queue.h +++ /dev/null @@ -1,23 +0,0 @@ -#ifndef GQUEUE_H -#define GQUEUE_H GQUEUE_H -#include - - -struct Queue_Node -{ - void *data; - struct Queue_Node *prev; -}; - -struct Queue -{ - struct Queue_Node *first,*last; - size_t size; - -}; - -void Queue_Init(struct Queue *q); -void Queue_Push(struct Queue *q,void *data); -void* Queue_Pop(struct Queue *q); -void Queue_Destroy(struct Queue *q); -#endif -- cgit v1.2.3