home *** CD-ROM | disk | FTP | other *** search
- /*****************************************************************************
- * "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 */
-