完成了顺序和链式的队列

This commit is contained in:
lzy
2024-04-17 15:12:21 +08:00
parent f13a690864
commit 9fd115d30b
10 changed files with 469 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
#ifndef QUEUE_H__
#define QUEUE_H__
#include "llist.h"
typedef LLIST QUEUE;
QUEUE *queue_create(int);
int queue_en(QUEUE *, const void *);
int queue_de(QUEUE *, void *);
void queue_destroy(QUEUE *);
#endif