From 37b6643df2df7d784a31ca73f7bb90dc109c2401 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Thu, 15 Dec 2005 07:26:47 +0000 Subject: removing PDP source (except debian files) before import of PDP 0.12.4 svn path=/trunk/externals/pdp/; revision=4217 --- include/pdp_list_macros.h | 27 --------------------------- 1 file changed, 27 deletions(-) delete mode 100644 include/pdp_list_macros.h (limited to 'include/pdp_list_macros.h') diff --git a/include/pdp_list_macros.h b/include/pdp_list_macros.h deleted file mode 100644 index cb1f49f..0000000 --- a/include/pdp_list_macros.h +++ /dev/null @@ -1,27 +0,0 @@ -#ifndef __PDP_LIST_MACROS__ -#define __PDP_LIST_MACROS__ - -/* some additional (short named) list macros mainly for manipulationg - argument lists. needs to be included locally. */ - -/* reading a list */ -#define FIRST(l) ((l)->first) -#define SIZE(l) ((l)->elements) - -#define NEXT(a) ((a)->next) -#define N(a) (a = a->next) - -#define FLOAT(a) ((a)->t == a_float ? (a)->w.w_float : 0.0f) -#define PACKET(a) ((a)->t == a_packet ? (a)->w.w_packet : -1) -#define INT(a) ((a)->t == a_int ? (a)->w.w_packet : 0) - - -/* creating a list, and adding stuff to the end (queueing) */ -#define LIST(n) pdp_list_new(n) -#define LFREE(l) pdp_list_free(l) -#define QFLOAT(l, x) pdp_list_add_back(l, a_float, ((t_pdp_word)(float)(x))) -#define QINT(l, x) pdp_list_add_back(l, a_int, ((t_pdp_word)(int)(x))) -#define QPACKET(l, x) pdp_list_add_back(l, a_packet,((t_pdp_word)(int)(x))) - - -#endif -- cgit v1.2.1