[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: (fcntl fd F_GETLK ...) from Guile
From: |
Kaloian Doganov |
Subject: |
Re: (fcntl fd F_GETLK ...) from Guile |
Date: |
Tue, 11 Sep 2007 18:00:38 +0300 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/23.0.50 (gNewSense gnu/linux) |
Mike Gran <address@hidden> 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