mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-25 12:40:26 +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:
parent
f3649d7d1b
commit
a13c30eeba
8 changed files with 1 additions and 332 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue