chicken-users
[Top][All Lists]
Advanced

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

Re: [Chicken-users] FFI with callbacks for gnu readline


From: felix winkelmann
Subject: Re: [Chicken-users] FFI with callbacks for gnu readline
Date: Mon, 23 Jan 2006 07:48:35 +0100

On 1/19/06, Levi Pearson <address@hidden> wrote:
>
> How is returning a c-string from a define-external'd scheme function
> supposed to work?  Returning the scheme object worked fine in the
> end, but it would have been a lot easier if there was some automatic
> way.

You are absolutely right, I'll try to fix this in some acceptable way.
Currently you can also return a string with '\0' appended, which
is done by the internal function `(##sys#make-c-string STRING)'.


cheers,
felix




reply via email to

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