Mercurial > hg > xemacs-beta
comparison src/gmalloc.c @ 771:943eaba38521
[xemacs-hg @ 2002-03-13 08:51:24 by ben]
The big ben-mule-21-5 check-in!
Various files were added and deleted. See CHANGES-ben-mule.
There are still some test suite failures. No crashes, though.
Many of the failures have to do with problems in the test suite itself
rather than in the actual code. I'll be addressing these in the next
day or so -- none of the test suite failures are at all critical.
Meanwhile I'll be trying to address the biggest issues -- i.e. build
or run failures, which will almost certainly happen on various platforms.
All comments should be sent to ben@xemacs.org -- use a Cc: if necessary
when sending to mailing lists. There will be pre- and post- tags,
something like
pre-ben-mule-21-5-merge-in, and
post-ben-mule-21-5-merge-in.
author | ben |
---|---|
date | Wed, 13 Mar 2002 08:54:06 +0000 |
parents | b39c14581166 |
children | e22b0213b713 |
comparison
equal
deleted
inserted
replaced
770:336a418893b5 | 771:943eaba38521 |
---|---|
2 thought I did so. */ | 2 thought I did so. */ |
3 | 3 |
4 /* Get the configuration files if we're being compiled for Emacs. */ | 4 /* Get the configuration files if we're being compiled for Emacs. */ |
5 #ifdef emacs | 5 #ifdef emacs |
6 # include <config.h> | 6 # include <config.h> |
7 # include "lisp.h" | |
8 | |
9 # include "sysdep.h" | |
7 # include "getpagesize.h" | 10 # include "getpagesize.h" |
8 # ifndef HAVE_CONFIG_H | 11 # ifndef HAVE_CONFIG_H |
9 # define HAVE_CONFIG_H | 12 # define HAVE_CONFIG_H |
10 # endif | 13 # endif |
11 #endif | 14 #endif |
271 }; | 274 }; |
272 | 275 |
273 /* Pick up the current statistics. */ | 276 /* Pick up the current statistics. */ |
274 extern struct mstats mstats __P ((void)); | 277 extern struct mstats mstats __P ((void)); |
275 | 278 |
279 #ifdef __cplusplus | |
280 } | |
281 #endif | |
282 | |
276 /* Call WARNFUN with a warning message when memory usage is high. */ | 283 /* Call WARNFUN with a warning message when memory usage is high. */ |
277 extern void memory_warnings __P ((__ptr_t __start, | 284 extern void memory_warnings __P ((__ptr_t __start, |
278 void (*__warnfun) __P ((const char *)))); | 285 void (*__warnfun) __P ((const char *)))); |
279 | 286 |
280 | 287 |
288 extern void r_alloc_free __P ((__ptr_t *__handleptr)); | 295 extern void r_alloc_free __P ((__ptr_t *__handleptr)); |
289 | 296 |
290 /* Adjust the block at HANDLEPTR to be SIZE bytes long. */ | 297 /* Adjust the block at HANDLEPTR to be SIZE bytes long. */ |
291 extern __ptr_t r_re_alloc __P ((__ptr_t *__handleptr, size_t __size)); | 298 extern __ptr_t r_re_alloc __P ((__ptr_t *__handleptr, size_t __size)); |
292 #endif /* 0 */ | 299 #endif /* 0 */ |
293 | |
294 #ifdef __cplusplus | |
295 } | |
296 #endif | |
297 | 300 |
298 #endif /* malloc.h */ | 301 #endif /* malloc.h */ |
299 /* Allocate memory on a page boundary. | 302 /* Allocate memory on a page boundary. |
300 Copyright (C) 1991, 1992, 1993, 1994 Free Software Foundation, Inc. | 303 Copyright (C) 1991, 1992, 1993, 1994 Free Software Foundation, Inc. |
301 | 304 |