Defines | Functions | Variables

x_list.c File Reference

Go to the source code of this file.

Defines

#define _X_first_(x)   ((x)->first)
#define _X_rest_(x)   ((x)->rest)

Functions

_X_LIST_TYPE__X_PUSH_ (_X_LIST_LOCAL_BASE_TYPE_ x, _X_LIST_TYPE_ *list, MEM_POOL *pool)
_X_LIST_TYPE__X_DELETE_ (_X_LIST_LOCAL_BASE_TYPE_ x, _X_LIST_TYPE_ *xl)

Variables

static char * source_file = __FILE__

Define Documentation

#define _X_first_ (   x  )     ((x)->first)

Definition at line 56 of file x_list.c.

Referenced by _X_DELETE_(), and _X_PUSH_().

#define _X_rest_ (   x  )     ((x)->rest)

Definition at line 57 of file x_list.c.

Referenced by _X_DELETE_(), and _X_PUSH_().


Function Documentation

_X_LIST_TYPE_* _X_DELETE_ ( _X_LIST_LOCAL_BASE_TYPE_  x,
_X_LIST_TYPE_ xl 
)

Definition at line 91 of file x_list.c.

References _X_first_, and _X_rest_.

_X_LIST_TYPE_* _X_PUSH_ ( _X_LIST_LOCAL_BASE_TYPE_  x,
_X_LIST_TYPE_ list,
MEM_POOL pool 
)

Definition at line 68 of file x_list.c.

References _X_first_, _X_rest_, result, and TYPE_MEM_POOL_ALLOC.


Variable Documentation

char* source_file = __FILE__ [static]

Definition at line 54 of file x_list.c.