X-Git-Url: https://code.kerkeslager.com/?p=fur;a=blobdiff_plain;f=c%2Fqueue.h;fp=c%2Fqueue.h;h=01ba40cb6f4b0275405bcfc7e0711fa141011f4c;hp=0000000000000000000000000000000000000000;hb=64ef22e135f7c790f0cd80956d8bdf7fa0268148;hpb=93ca0209c0daf4988ee1ceb509b043a80a8ac40e diff --git a/c/queue.h b/c/queue.h new file mode 100644 index 0000000..01ba40c --- /dev/null +++ b/c/queue.h @@ -0,0 +1,12 @@ +#ifndef QUEUE_H +#define QUEUE_H + +struct Queue; +typedef struct Queue Queue; + +Queue* Queue_construct(); + +void Queue_enqueue(Queue*, void*); +void* Queue_dequeue(Queue*, void* defaultValue); + +#endif