[Top][All Lists]

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

Re: scm_to_pointer vs scm->pointer

From: Ludovic Courtès
Subject: Re: scm_to_pointer vs scm->pointer
Date: Thu, 05 Jul 2012 18:11:51 +0200
User-agent: Gnus/5.130005 (Ma Gnus v0.5) Emacs/24.1 (gnu/linux)


Andy Wingo <address@hidden> skribis:

> 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.

We could also document ‘SCM_POINTER_VALUE’, WDYT?


reply via email to

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