1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-22 19:44:10 +02:00

Avoid scm_i_mkbig outside numbers.c.

* libguile/random.c (scm_c_random_bignum):
* libguile/socket.c (scm_from_ipv6): Avoid scm_i_mkbig.
* libguile/numbers.h:
* libguile/numbers.c (scm_i_mkbig): Remove.
This commit is contained in:
Andy Wingo 2022-01-07 11:45:38 +01:00
parent 0c502a4d3c
commit bdddef3cfd
4 changed files with 21 additions and 22 deletions

View file

@ -291,15 +291,6 @@ make_bignum (void)
}
SCM
scm_i_mkbig ()
{
/* Return a newly created bignum. */
SCM z = make_bignum ();
mpz_init (SCM_I_BIG_MPZ (z));
return z;
}
SCM
scm_i_long2big (long x)
{