[Top][All Lists]

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

Re: FFI supports callbacks

From: Andy Wingo
Subject: Re: FFI supports callbacks
Date: Mon, 06 Sep 2010 14:06:52 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux)

On Mon 06 Sep 2010 00:23, "Jose A. Ortega Ruiz" <address@hidden> writes:

> procedure-from-foreign-function / foreign-function-to-procedure
> procedure-to-foreign-function / foreign-function-from-procedure
> procedure-from-foreign / foreign-to-procedure
> procedure-to-foreign / foreign-from-procedure

I don't think anything is gained by writing "from" or "to"; "->" is
indeed pronounced "too".

> at any rate, i find "pointer" not clear enough.

Agreed, though at least it is consistent. The subject does not lend
itself to a natural clarity.

Also consider that this is a low-level interface; presumably people
should be programming with some sort of `define-c-wrapper' macro that
presents a nicer interface.


reply via email to

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