home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Monster Media 1993 #2
/
Image.iso
/
clipper
/
52capi.zip
/
FM.API
< prev
next >
Wrap
Text File
|
1993-08-06
|
811b
|
43 lines
/***
*
* Fm.api
*
* Fixed memory allocation functions
*
* Copyright (c) 1987-1993, Computer Associates International, Inc.
* All rights reserved.
*
* CA-Clipper uses Microsoft C large model calling conventions
*
*/
#ifndef _FM_API
#ifndef _CLIPDEFS_H
#include "clipdefs.h"
#endif
/***
* Note:
* _xalloc() returns NULL if the request cannot be satisfied
* _xgrab() generates a runtime error if the request cannot be satisfied
*/
/* allocate memory */
extern void far * _xalloc(unsigned int numberOfBytes);
extern void far * _xgrab(unsigned int numberOfBytes);
extern void _xfree(void far *allocatedBlock);
/* S87 compat. */
#define _exmgrab(size) _xgrab(size)
#define _exmback(ptr, size) _xfree(ptr)
#define _FM_API
#endif