home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Professional
/
OS2PRO194.ISO
/
os2
/
prgramer
/
adaptor
/
src
/
include
/
memory.h
< prev
next >
Wrap
C/C++ Source or Header
|
1993-03-22
|
1KB
|
46 lines
# ifndef yyMemory
# define yyMemory
/* $Id: Memory.h,v 1.4 1991/11/21 14:28:16 grosch rel $ */
/* $Log: Memory.h,v $
* Revision 1.4 1991/11/21 14:28:16 grosch
* new version of RCS on SPARC
*
* Revision 1.3 91/07/17 17:23:14 grosch
* introduced ARGS trick for ANSI compatibility
*
* Revision 1.2 90/12/14 15:55:53 grosch
* introduced variable MemoryUsed
*
* Revision 1.1 90/07/04 14:34:00 grosch
* introduced conditional include
*
* Revision 1.0 88/10/04 11:44:42 grosch
* Initial revision
*
*/
/* Ich, Doktor Josef Grosch, Informatiker, Sept. 1987 */
# ifdef __STDC__
# define ARGS(parameters) parameters
# else
# define ARGS(parameters) ()
# endif
extern unsigned long MemoryUsed ;
extern void InitMemory ();
extern char * Alloc ARGS((register unsigned long ByteCount));
/* Returns a pointer to dynamically allocated */
/* space of size 'ByteCount' bytes. */
extern void Free ARGS((unsigned long ByteCount, char * a));
/* The dynamically allocated space starting at */
/* address 'a' of size 'ByteCount' bytes is */
/* released. */
# endif