5#if !defined(SKIP_INCLUDES)
12 #if !defined DC_PLACEHOLDERS
13 #error "The contained type must be defined"
19 #define ITEM_DELETE item_delete
21 #define ITEM_CLONE item_clone
23 #define ITEM_EQ item_eq
25 #define ITEM_DEBUG item_debug
29#if !defined ITEM_DELETE
30 #define ITEM_DELETE(value)
33#if !defined ITEM_CLONE
34 #define ITEM_CLONE(value) (*(value))
37#if !defined ITEM_DEBUG
38 #define ITEM_DEBUG DC_DEFAULT_DEBUG
115 self->present =
true;
static DC_PUBLIC void debug(SELF const *self, dc_debug_fmt fmt, FILE *stream)
static DC_PUBLIC bool empty(ITER const *iter)
static DC_PUBLIC SELF clone(SELF const *self)
static DC_PUBLIC bool get(SELF const *self, INDEX_TYPE index)
static DC_PUBLIC dc_debug_fmt dc_debug_fmt_scope_begin(dc_debug_fmt fmt)
#define DC_EXPAND_STRING(NAME)
#define DC_ASSUME(expr,...)
dc_gdb_marker derive_c_option
Debug format helpers for debug printin data structures.
A queue comprised of an extendable circular buffer.
static DC_PUBLIC ITEM get_value_or(SELF const *self, ITEM const default_value)
static DC_PUBLIC bool replace(SELF *self, ITEM value)
static DC_PUBLIC ITEM const * get_const_or(SELF const *self, ITEM const *default_value)
static DC_PUBLIC bool is_present(SELF const *self)
static DC_PUBLIC SELF from(ITEM value)
static DC_PUBLIC ITEM const * get_const(SELF const *self)
static DC_PUBLIC FILE * stream(SELF *self)