aboutsummaryrefslogtreecommitdiffstats
path: root/queue.h
diff options
context:
space:
mode:
authorGalin Simeonov <gts@volconst.com>2021-05-31 22:02:10 +0300
committerGalin Simeonov <gts@volconst.com>2021-07-15 18:00:15 +0300
commit255a49ba5a41b3854dbdfebdec75fb6229450507 (patch)
tree616ea5786cb91d03ef609d32b402941dc30e926b /queue.h
parentf768d9bdb84e846d89aac66a4f3433a44241c298 (diff)
downloadMEGATRON-255a49ba5a41b3854dbdfebdec75fb6229450507.tar.gz
added cmake file
Diffstat (limited to 'queue.h')
-rw-r--r--queue.h23
1 files changed, 0 insertions, 23 deletions
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<stdlib.h>
-
-
-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