[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bad deprecation warnings in numbers.c
From: |
Dirk Herrmann |
Subject: |
Re: Bad deprecation warnings in numbers.c |
Date: |
Mon, 15 Apr 2002 23:44:41 +0200 (MEST) |
On Sun, 14 Apr 2002, Rob Browning wrote:
> FWIW I've got GMP bignum's working here :> Guile passes make check,
> but I've still got a lot of FIXMEs and #warnings to repair.
Sounds great.
> IMO, scm_i_mkbig probably shouldn't be used by user code and shouldn't
> even be in numbers.h unless (as is the case ATM) other libguile code
> needs to call it. (The only way around that I can think of would be
> go to a "public/private" header arrangement.)
>
> However, a function like
>
> void scm_num2mpz(mpz_t dest, SCM src);
>
> (or similar) might not be a bad idea. We could continue to provide it
> in libguile or in a helper lib indefinitely, no matter what our
> internal representation is.
I like this idea. However, I favor the 'helper lib' approach.
Best regards
Dirk Herrmann