home *** CD-ROM | disk | FTP | other *** search
- /*-----------------------------------------------------------------------*
- * filename - ggetmem.c
- *
- * function(s)
- * _graphgetmem - allocate memory for graphics library
- *-----------------------------------------------------------------------*/
-
- /*[]------------------------------------------------------------[]*/
- /*| |*/
- /*| Turbo C Run Time Library - Version 3.0 |*/
- /*| |*/
- /*| |*/
- /*| Copyright (c) 1987,1988,1990 by Borland International |*/
- /*| All Rights Reserved. |*/
- /*| |*/
- /*[]------------------------------------------------------------[]*/
-
-
- #include <graphics.h>
- #include <alloc.h>
-
- /*-----------------------------------------------------------------------*
-
- Name _graphgetmem - allocate memory for graphics library
-
- Usage void far * far _graphgetmem(unsigned size)
-
- Prototype in graphics.h
-
- Description allocates memory used for graphic buffers, fonts, etc.
-
- Return value returns a pointer to the allocated memory block on success;
- NULL on failure.
-
- *------------------------------------------------------------------------*/
-
- void far * far _graphgetmem(unsigned size)
- {
- return(malloc(size));
- }
-