Legofit
infers population history from nucleotide site patterns.
|
A FIFO queue of pointers. More...
#include "ptrqueue.h"
#include "misc.h"
#include <stdlib.h>
Data Structures | |
struct | El |
A single key-value pair, with a pointer to the next one. More... | |
struct | PtrQueue |
Functions | |
static El * | El_push (El *tail, void *ptr) |
static El * | El_pop (El *head, void **ptr) |
static void | El_free (El *self) |
PtrQueue * | PtrQueue_new (void) |
void | PtrQueue_free (PtrQueue *self) |
void | PtrQueue_push (PtrQueue *self, void *ptr) |
void * | PtrQueue_pop (PtrQueue *self) |
unsigned | PtrQueue_size (PtrQueue *self) |
A FIFO queue of pointers.