mirror of
git://git.psyced.org/git/psyclpc
synced 2024-08-15 03:20:16 +00:00
28 lines
722 B
C
28 lines
722 B
C
#ifndef SMALLOC_H__
|
|
#define SMALLOC_H__ 1
|
|
|
|
#include "driver.h"
|
|
#include "typedefs.h"
|
|
|
|
#ifdef MALLOC_smalloc
|
|
|
|
/* --- Prototypes --- */
|
|
|
|
extern void mem_dump_data(strbuf_t *sbuf);
|
|
extern void mem_dump_extdata(strbuf_t *sbuf);
|
|
extern void mem_dinfo_data(svalue_t *svp, int value);
|
|
extern void mem_clear_ref_flags(void);
|
|
extern void mem_free_unrefed_memory(void);
|
|
extern void mem_consolidate (Bool force);
|
|
extern void walk_new_small_malloced( void (*func)(POINTER, long) );
|
|
#ifdef MALLOC_CHECK
|
|
extern Bool mem_is_freed (void *p, p_uint minsize);
|
|
#endif /* MALLOC_CHECK */
|
|
|
|
#ifdef CHECK_MAPPING_TOTAL
|
|
extern mp_int available_memory(void);
|
|
#endif /* CHECK_MAPPING_TOTAL */
|
|
|
|
#endif /* MALLOC_smalloc */
|
|
|
|
#endif /* SMALLOC_H__ */
|