guile-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: scm_from_ipv6


From: Marius Vollmer
Subject: Re: scm_from_ipv6
Date: Mon, 23 Aug 2004 12:27:45 +0200
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (gnu/linux)

Kevin Ryde <address@hidden> writes:

> A simplification,
>
>         * socket.c (scm_from_ipv6): Just use mpz_import.  Don't bother trying
>         to fit scm_from_ulong_long, since that uses mpz_import anyway.  Don't
>         bother trying to fit scm_from_ulong, not really worth the trouble if
>         addresses are more than 4 bytes usually.

Nice.  I was thinking whether we should export something like
mpz_import and mpz_export for our integers in general.  Such an
operation is obviously needed sometimes.  What do you think?




reply via email to

[Prev in Thread] Current Thread [Next in Thread]