18 |
Boston, MA 02111-1307, USA. */ |
Boston, MA 02111-1307, USA. */ |
19 |
|
|
20 |
#include "ansidecl.h" |
#include "ansidecl.h" |
21 |
|
#include "config.h" |
22 |
|
|
23 |
#include "objalloc.h" |
#include "objalloc.h" |
24 |
|
|
25 |
/* Get a definition for NULL. */ |
/* Get a definition for NULL. */ |
35 |
#include <stddef.h> |
#include <stddef.h> |
36 |
#endif |
#endif |
37 |
|
|
38 |
|
#ifdef HAVE_STDLIB_H |
39 |
|
#include <stdlib.h> |
40 |
|
#else |
41 |
/* For systems with larger pointers than ints, this must be declared. */ |
/* For systems with larger pointers than ints, this must be declared. */ |
42 |
extern PTR malloc PARAMS ((size_t)); |
extern PTR malloc PARAMS ((size_t)); |
43 |
extern void free PARAMS ((PTR)); |
extern void free PARAMS ((PTR)); |
44 |
#endif |
#endif |
45 |
|
|
46 |
|
#endif |
47 |
|
|
48 |
/* These routines allocate space for an object. Freeing allocated |
/* These routines allocate space for an object. Freeing allocated |
49 |
space may or may not free all more recently allocated space. |
space may or may not free all more recently allocated space. |
50 |
|
|