From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kaloian Doganov Newsgroups: gmane.lisp.guile.user Subject: Re: (fcntl fd F_GETLK ...) from Guile Date: Tue, 11 Sep 2007 18:00:38 +0300 Message-ID: <87ejh5uu09.fsf@doganov.org> References: <873axwgoha.fsf@doganov.org> <771153.36133.qm@web37911.mail.mud.yahoo.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1189522955 13533 80.91.229.12 (11 Sep 2007 15:02:35 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 11 Sep 2007 15:02:35 +0000 (UTC) To: guile-user@gnu.org Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Tue Sep 11 17:02:32 2007 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IV7Fu-0007cz-Ux for guile-user@m.gmane.org; Tue, 11 Sep 2007 17:02:23 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IV7Fv-0007jt-AN for guile-user@m.gmane.org; Tue, 11 Sep 2007 11:02:23 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IV7Eo-0007Me-BR for guile-user@gnu.org; Tue, 11 Sep 2007 11:01:14 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IV7Em-0007M8-Pr for guile-user@gnu.org; Tue, 11 Sep 2007 11:01:13 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IV7Em-0007M5-Je for guile-user@gnu.org; Tue, 11 Sep 2007 11:01:12 -0400 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1IV7Ek-0007jE-N2 for guile-user@gnu.org; Tue, 11 Sep 2007 11:01:12 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1IV7Ee-0003yR-5d for guile-user@gnu.org; Tue, 11 Sep 2007 17:01:04 +0200 Original-Received: from aquatorius.spemaus.net ([212.112.241.44]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 11 Sep 2007 17:01:04 +0200 Original-Received: from kaloian by aquatorius.spemaus.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 11 Sep 2007 17:01:04 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 30 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: aquatorius.spemaus.net User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/23.0.50 (gNewSense gnu/linux) Cancel-Lock: sha1:vx2SpnHS0yF3KVnG2SaerehkGf0= X-Detected-Kernel: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.user:6140 Archived-At: Mike Gran writes: If it fails again, you should write me directly, as autoconf problems (and my failings as a coder) are off-topic for the list. ;-) I don't have any autoconf problems anymore, thank you. I've just managed to backport your example to Guile 1.6.x. and come up with the following table of correspondence: Guile 1.8.x Guile 1.6.x -------------- ----------- scm_is_integer SCM_INUMP scm_is_true SCM_NFALSEP scm_to_int SCM_INUM scm_to_int32 SCM_INUM scm_from_int SCM_MAKINUM scm_from_int32 SCM_MAKINUM scm_to_short (x) scm_num2short (x, 0, NULL) scm_from_short scm_short2num Not sure whether it is correct, but works for the trivial examples I run for now. I don't know what to do with scm_to_int64 and scm_from_int64, though. -- Protect your digital freedom and privacy, eliminate DRM, learn more at http://www.defectivebydesign.org/what_is_drm _______________________________________________ Guile-user mailing list Guile-user@gnu.org http://lists.gnu.org/mailman/listinfo/guile-user