O2S C Library 1.8.2
Provide high-level data-structures and other fundamental tools for C projects
Loading...
Searching...
No Matches
private.h File Reference

Internal deque state. More...

#include "o2s/deque.h"

Go to the source code of this file.

Functions

void * deque_begin (const deque_t *self)
 Pointer to the start of the underlying storage.
void * deque_end (const deque_t *self)
 Pointer one-past-the-end of the underlying storage.
size_t deque_offset (const deque_t *self, size_t count)
 The size in memory of count elements.
size_t deque_distance (const deque_t *self, const void *one, const void *two)
 Number of elements in the range delimited by the two provided elements.
void * deque_pointer_before (const deque_t *self, void *pointer)
 The previous slot.
void * deque_pointer_after (const deque_t *self, void *pointer)
 The next slot.

Detailed Description

Internal deque state.

Author
Hugo FOLCHER
Antoine GAGNIERE

Definition in file private.h.