home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mega CD-ROM 1
/
megacd_rom_1.zip
/
megacd_rom_1
/
IRIT
/
IRITS.ZIP
/
PRIORQL.H
< prev
next >
Wrap
C/C++ Source or Header
|
1990-05-05
|
743b
|
19 lines
/*****************************************************************************
* "Irit" - the 3d polygonal solid modeller. *
* *
* Written by: Gershon Elber Ver 0.2, Mar. 1990 *
******************************************************************************
* Definitions, local to module, of Priority Queue module: *
*****************************************************************************/
#ifndef PRIOR_Q_LH
#define PRIOR_Q_LH
#define PQ_NEW_NODE(PQ) { \
PQ = (PriorQue *) MyMalloc(sizeof(PriorQue), OTHER_TYPE); \
(PQ) -> Right = (PQ) -> Left = NULL; \
(PQ) -> Data = NULL; }
#define PQ_FREE_NODE(PQ) { MyFree((char *) (PQ), OTHER_TYPE); PQ = NULL; }
#endif /* PRIOR_Q_LH */