Mercurial > hg > xemacs-beta
comparison src/gmalloc.c @ 16:0293115a14e9 r19-15b91
Import from CVS: tag r19-15b91
author | cvs |
---|---|
date | Mon, 13 Aug 2007 08:49:20 +0200 |
parents | 9ee227acff29 |
children | 441bb1e64a06 |
comparison
equal
deleted
inserted
replaced
15:ad457d5f7d04 | 16:0293115a14e9 |
---|---|
256 /* If not NULL, this function is called after each time | 256 /* If not NULL, this function is called after each time |
257 `__morecore' is called to increase the data size. */ | 257 `__morecore' is called to increase the data size. */ |
258 extern void (*__after_morecore_hook) __P ((void)); | 258 extern void (*__after_morecore_hook) __P ((void)); |
259 | 259 |
260 /* Nonzero if `malloc' has been called and done its initialization. */ | 260 /* Nonzero if `malloc' has been called and done its initialization. */ |
261 extern int __malloc_initialized; | 261 /* extern int __malloc_initialized; */ |
262 | 262 |
263 /* Hooks for debugging versions. */ | 263 /* Hooks for debugging versions. */ |
264 extern void (*__free_hook) __P ((__ptr_t __ptr)); | 264 extern void (*__free_hook) __P ((__ptr_t __ptr)); |
265 extern __ptr_t (*__malloc_hook) __P ((size_t __size)); | 265 extern __ptr_t (*__malloc_hook) __P ((size_t __size)); |
266 extern __ptr_t (*__realloc_hook) __P ((__ptr_t __ptr, size_t __size)); | 266 extern __ptr_t (*__realloc_hook) __P ((__ptr_t __ptr, size_t __size)); |
429 __malloc_size_t _bytes_used; | 429 __malloc_size_t _bytes_used; |
430 __malloc_size_t _chunks_free; | 430 __malloc_size_t _chunks_free; |
431 __malloc_size_t _bytes_free; | 431 __malloc_size_t _bytes_free; |
432 | 432 |
433 /* Are you experienced? */ | 433 /* Are you experienced? */ |
434 int __malloc_initialized; | 434 static int __malloc_initialized; |
435 | 435 |
436 void (*__after_morecore_hook) __P ((void)); | 436 void (*__after_morecore_hook) __P ((void)); |
437 | 437 |
438 /* Aligned allocation. */ | 438 /* Aligned allocation. */ |
439 static __ptr_t align __P ((__malloc_size_t)); | 439 static __ptr_t align __P ((__malloc_size_t)); |