X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=include%2Flibfirm%2Fadt%2Fpdeq.h;h=bfbb45198c454f11cc788b120e9c883e1143c182;hb=97bcf6f245eba55a1d3b25a7be543b367ab9c276;hp=ecf616fb33ea49c4c6050759345f74c49cbf961e;hpb=1a3b7d363474ab544c13093a2f0b578718d37c7a;p=libfirm diff --git a/include/libfirm/adt/pdeq.h b/include/libfirm/adt/pdeq.h index ecf616fb3..bfbb45198 100644 --- a/include/libfirm/adt/pdeq.h +++ b/include/libfirm/adt/pdeq.h @@ -21,7 +21,6 @@ * @file * @brief double ended queue of generic pointers. * @author Christian von Roques - * @version $Id$ */ #ifndef FIRM_ADT_PDEQ_H #define FIRM_ADT_PDEQ_H @@ -30,6 +29,13 @@ #include "../begin.h" +/** + * @ingroup adt + * @defgroup pdeq Double Ended Queue + * Implementation if a double ended queue datastructure for generic pointers + * @{ + */ + /** * The type of the pointer compare function. * @@ -172,13 +178,6 @@ FIRM_API void *pdeq_getl(pdeq *dq); */ FIRM_API void *pdeq_getr(pdeq *dq); -#ifdef NDEBUG -#define PDEQ_VRFY(deq) ((void)0) -#else -#define PDEQ_VRFY(deq) _pdeq_vrfy ((deq)) -FIRM_API void _pdeq_vrfy(pdeq *dq); -#endif - /** * The pdeq is often used as a wait queue. A helper * type to support this. @@ -272,6 +271,8 @@ typedef pdeq stack; */ #define stack_empty(st) pdeq_empty(wq) +/** @} */ + #include "../end.h" #endif