guile-devel
[Top][All Lists]
Advanced

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

Re: Should we add scm_to_pointer, or just use SCM_POINTER_VALUE?


From: Mark H Weaver
Subject: Re: Should we add scm_to_pointer, or just use SCM_POINTER_VALUE?
Date: Thu, 02 Feb 2012 17:10:20 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux)

address@hidden (Ludovic Courtès) writes:
> Adding ‘scm_to_pointer’ is nice, but ‘SCM_POINTER_VALUE’ is also meant
> to be public (and should be documented.)

Okay.

> I’m curious: why would one want to use the FFI’s C API?

Apparently he wanted to create a C callback to a Scheme procedure (using
procedure->pointer), but wanted to do the rest from C.

     Mark



reply via email to

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