add docs to queue_read and stack_pop
This commit is contained in:
parent
2eeca32ac9
commit
4caa80580b
2 changed files with 2 additions and 0 deletions
|
@ -10,6 +10,7 @@ Queue *queue_new(size_t length, size_t element_size);
|
|||
|
||||
void queue_free(Queue *queue);
|
||||
|
||||
// The caller must free the return value after use.
|
||||
void *queue_read(Queue *queue);
|
||||
|
||||
bool queue_write(Queue *queue, void *value);
|
||||
|
|
|
@ -10,6 +10,7 @@ Stack *stack_new(size_t size, size_t element_size);
|
|||
|
||||
void stack_free(Stack *stack);
|
||||
|
||||
// The caller must free the return value after use.
|
||||
void *stack_pop(Stack *stack);
|
||||
|
||||
bool stack_push(Stack *stack, void *value);
|
||||
|
|
Loading…
Reference in a new issue