home *** CD-ROM | disk | FTP | other *** search
/ Programmer 7500 / MAX_PROGRAMMERS.iso / INFO / IRIT / IRITS.ZIP / ALLOCATG.H < prev    next >
Encoding:
C/C++ Source or Header  |  1990-05-05  |  928 b   |  23 lines

  1. /*****************************************************************************
  2. *   "Irit" - the 3d polygonal solid modeller.                     *
  3. *                                         *
  4. * Written by:  Gershon Elber                Ver 0.2, Mar. 1990   *
  5. ******************************************************************************
  6. * Definitions, visible to others, of the dynamic allocator module.         *
  7. *****************************************************************************/
  8.  
  9. #ifndef    ALLOCATE_GH
  10. #define    ALLOCATE_GH
  11.  
  12. char *MyMalloc(unsigned int Size, int Type);
  13. void MyFree(char *p, int Type);
  14.  
  15. struct VertexStruct * AllocVertex(ByteType Count, ByteType Tags,
  16.                 PolygonStruct * PAdj, VertexStruct * Pnext);
  17. struct PolygonStruct * AllocPolygon(ByteType Count, ByteType Tags,
  18.                 VertexStruct * V, PolygonStruct * Pnext);
  19. struct ObjectStruct * AllocObject(char *Name, ByteType ObjType,
  20.                          ObjectStruct * Pnext);
  21.  
  22. #endif    /* ALLOCATE_GH */
  23.