[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: scm_to_pointer vs scm->pointer
From: |
Andy Wingo |
Subject: |
Re: scm_to_pointer vs scm->pointer |
Date: |
Wed, 04 Jul 2012 17:35:05 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.1 (gnu/linux) |
On Tue 03 Jul 2012 23:47, address@hidden (Ludovic Courtès) writes:
>> This should be fixed. Otherwise it's impossible to document in any
>> sane fashion.
>>
>> Suggestion: change scm_to_pointer to SCM_POINTER_VALUE. WDYT?
>
> I’m happy with this change. Mark?
>
> (Back then, I was skeptical about the usefulness of the C pointer API.
> I have since used ‘SCM_POINTER_VALUE’ and ‘scm_from_pointer’ in
> Guile-GCC, which uses a mixed dynamic/static FFI, and for good reasons.)
On second thought, let's leave it in. It is terribly confusing, but
alternatives are worse.
Andy
--
http://wingolog.org/