home *** CD-ROM | disk | FTP | other *** search
- /***
- *
- * Fm.api
- *
- * Fixed memory allocation functions
- *
- * Copyright (c) 1987-1995, Computer Associates International, Inc.
- * All rights reserved.
- *
- * CA-Clipper uses Microsoft C large model calling conventions
- *
- */
-
- #ifndef _FM_API
-
- #define _FM_API
-
- #ifdef __cplusplus
- extern "C" {
- #endif
-
- #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)
-
-
- #ifdef __cplusplus
- }
- #endif
-
- #endif
-
-