1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-25 20:50:31 +02:00

Remove GUILE_DEBUG_MALLOC configuration

* configure.ac: Remove --enable-debug-malloc.
* doc/ref/api-memory.texi (Memory Blocks): Remove malloc-stats mention.
* libguile/debug-malloc.c:
* libguile/debug-malloc.h: Remove.
* libguile/Makefile.am (EXTRA_libguile_@GUILE_EFFECTIVE_VERSION@_la_SOURCES):
(modinclude_HEADERS): Remove debug-malloc mentions.
* libguile/gc-malloc.c (scm_gc_register_collectable_memory):
(scm_calloc):
* libguile/init.c (scm_i_init_guile): Remove debug-malloc things.
This commit is contained in:
Andy Wingo 2025-04-30 11:21:52 +02:00
parent f3649d7d1b
commit a13c30eeba
8 changed files with 1 additions and 332 deletions

View file

@ -1,6 +1,6 @@
@c -*-texinfo-*-
@c This is part of the GNU Guile Reference Manual.
@c Copyright (C) 1996, 1997, 2000-2004, 2009, 2010, 2012-2016
@c Copyright (C) 1996, 1997, 2000-2004, 2009, 2010, 2012-2016, 2025
@c Free Software Foundation, Inc.
@c See the file guile.texi for copying conditions.
@ -245,17 +245,6 @@ freed (using @code{free} from the C library) when the current dynwind is
left.
@end deftypefn
@deffn {Scheme Procedure} malloc-stats
Return an alist ((@var{what} . @var{n}) ...) describing number
of malloced objects.
@var{what} is the second argument to @code{scm_gc_malloc},
@var{n} is the number of objects of that type currently
allocated.
This function is only available if the @code{GUILE_DEBUG_MALLOC}
preprocessor macro was defined when Guile was compiled.
@end deffn
@node Weak References
@subsection Weak References