1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-04-29 19:30:36 +02:00
guile/meta
Andy Wingo aa5455ea98 Bignums avoid both custom GMP allocator and finalizers
* libguile/deprecated.c (make_bignum): Move here from numbers.c, to
support scm_i_long2big etc.
(scm_i_big2dbl):
(scm_i_long2big):
(scm_i_ulong2big):
(scm_i_clonebig):
(scm_i_normbig): Deprecate.
(scm_install_gmp_memory_functions): Deprecate, happily!  SCM bignums now
have digits allocated inline with the bignum itself, so they are
completely transparent to the GC already.  The price is that if GMP ever
allocates digits via the MPZ API, those digits then have to be copied
back into managed memory.  But we avoid having to install finalizers and
we avoid having to muck with GMP's allocator.
* libguile/numbers.c (scm_from_mpz): Use scm_integer_from_mpz.
(scm_init_numbers): Never muck with GMP's allocators.
* doc/ref/guile-invoke.texi (Environment Variables): Remove note about
GUILE_INSTALL_GMP_MEMORY_FUNCTIONS.
* meta/build-env.in: No need to set GUILE_INSTALL_GMP_MEMORY_FUNCTIONS.
2022-01-13 09:37:17 +01:00
..
build-env.in Bignums avoid both custom GMP allocator and finalizers 2022-01-13 09:37:17 +01:00
ChangeLog-2008 allow building against uninstalled guile; move some things to meta/ 2009-03-27 14:03:03 -07:00
gdb-uninstalled-guile.in * meta/gdb-uninstalled-guile.in: Specify a path to libtool. 2009-10-30 18:39:48 -04:00
guild.in build: Honor program name transformation in 'guild'. 2014-04-24 11:55:27 +02:00
guile-3.0-uninstalled.pc.in Update effective version to 3.0 2017-05-22 14:15:40 +02:00
guile-3.0.pc.in Update effective version to 3.0 2017-05-22 14:15:40 +02:00
guile-config.in Fix guile-config for Guile 3.0 2018-10-07 16:59:34 +02:00
guile.in fix in-tree guile reference 2013-03-09 10:29:57 +01:00
guile.m4 meta: Increment serial number in 'guile.m4'. 2020-08-24 15:19:14 +02:00
Makefile.am Update effective version to 3.0 2017-05-22 14:15:40 +02:00
uninstalled-env.in configure detects which set of prebuilt binaries to use 2017-03-14 09:49:17 +01:00