From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Marius Vollmer Newsgroups: gmane.lisp.guile.devel Subject: Re: scm_from_ipv6 Date: Mon, 23 Aug 2004 12:27:45 +0200 Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Message-ID: References: <877jrqr7ni.fsf@zip.com.au> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1093258124 409 80.91.224.253 (23 Aug 2004 10:48:44 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 23 Aug 2004 10:48:44 +0000 (UTC) Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Mon Aug 23 12:48:35 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BzCNP-0006F7-00 for ; Mon, 23 Aug 2004 12:48:35 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BzCPh-0006rC-L4 for guile-devel@m.gmane.org; Mon, 23 Aug 2004 06:50:57 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1BzCM0-0005cy-T1 for guile-devel@gnu.org; Mon, 23 Aug 2004 06:47:09 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1BzCLw-0005bt-LA for guile-devel@gnu.org; Mon, 23 Aug 2004 06:47:06 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BzCLv-0005bm-To for guile-devel@gnu.org; Mon, 23 Aug 2004 06:47:04 -0400 Original-Received: from [199.232.41.8] (helo=mx20.gnu.org) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1BzCGm-0002Po-Cc for guile-devel@gnu.org; Mon, 23 Aug 2004 06:41:44 -0400 Original-Received: from [129.217.163.1] (helo=mail.dt.e-technik.uni-dortmund.de) by mx20.gnu.org with esmtp (Exim 4.34) id 1BzC3I-0002Gq-T5 for guile-devel@gnu.org; Mon, 23 Aug 2004 06:27:49 -0400 Original-Received: from troy.dt.e-technik.uni-dortmund.de (troy.dt.e-technik.uni-dortmund.de [129.217.163.17]) by mail.dt.e-technik.uni-dortmund.de (Postfix) with ESMTP id 432BC38AB4 for ; Mon, 23 Aug 2004 12:27:46 +0200 (CEST) Original-Received: by troy.dt.e-technik.uni-dortmund.de (Postfix, from userid 520) id 615BAB98A; Mon, 23 Aug 2004 12:27:45 +0200 (CEST) Original-To: guile-devel@gnu.org In-Reply-To: <877jrqr7ni.fsf@zip.com.au> (Kevin Ryde's message of "Mon, 23 Aug 2004 10:59:45 +1000") User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (gnu/linux) X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.lisp.guile.devel:4014 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.devel:4014 Kevin Ryde 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? _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://lists.gnu.org/mailman/listinfo/guile-devel