P99
Macros
p99_lifo.h File Reference
#include "p99_enum.h"
#include "p99_generic.h"
#include "p99_atomic.h"
#include "p99_tp.h"
+ Include dependency graph for p99_lifo.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define P99_LIFO(T)   P99_TP(T)
 
#define P99_LIFO_CLEAR(L)
 Atomically clear an atomic LIFO L and return a pointer to the start of the list that it previously contained. More...
 
#define P99_LIFO_DECLARE(T)   P99_TP_DECLARE(T)
 
#define p99_lifo_init(EL, VAL)   p99_tp_init((EL), (VAL))
 
#define P99_LIFO_INITIALIZER(VAL)   P99_TP_INITIALIZER(VAL)
 
#define P99_LIFO_POP(L)
 Pop the top element from an atomic LIFO L. More...
 
#define P99_LIFO_PUSH(L, EL)
 Push element EL into an atomic LIFO L. More...
 
#define P99_LIFO_TABULATE(TYPE, TAB, L)   P00_LIFO_TABULATE(TYPE, TAB, P99_UNIQ(TAB), L)
 
#define P99_LIFO_TOP(L)   P99_TP_GET(L)
 Return a pointer to the top element of an atomic LIFO L. More...
 
P99_MACRO_VAR
#define P99_MACRO_VAR(NAME, EXPR, QUAL)
Define a variable with NAME that has the type and value of EXPR.
Definition: p99_for.h:1268
P99_LIFO_PUSH
#define P99_LIFO_PUSH(L, EL)
Push element EL into an atomic LIFO L.
Definition: p99_lifo.h:68
P99_TP_STATE_GET
#define P99_TP_STATE_GET(TPS)
p99_extension
#define p99_extension
Mark an expression as using a compiler extension.
Definition: p99_compiler.h:210
P99_NEW
#define P99_NEW(...)
Allocate an element of type T as given by the first argument and initialize it with the remaining arg...
Definition: p99_new.h:314
P99_TP_STATE_INITIALIZER
#define P99_TP_STATE_INITIALIZER(TP, P)
P99_DECLARE_STRUCT
#define P99_DECLARE_STRUCT(NAME)
forward declaration of a struct NAME
Definition: p99_type.h:59
P99_POINTER_TYPE
#define P99_POINTER_TYPE(T)
Declare derived pointer types with endings "_ptr" and "_cptr".
Definition: p99_type.h:132
P99_LIFO
#define P99_LIFO(T)
Definition: p99_lifo.h:42
P99_LIFO_POP
#define P99_LIFO_POP(L)
Pop the top element from an atomic LIFO L.
Definition: p99_lifo.h:120
P99_FIFO_DECLARE
#define P99_FIFO_DECLARE(T)
Definition: p99_fifo.h:40
P99_TP_TYPE
#define P99_TP_TYPE(TP)
P99_TP_STATE_COMMIT
#define P99_TP_STATE_COMMIT(TPS)