chicken-users
[Top][All Lists]
Advanced

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

Re: [Chicken-users] Creating a C library with Chicken?


From: felix winkelmann
Subject: Re: [Chicken-users] Creating a C library with Chicken?
Date: Wed, 24 Oct 2007 09:20:39 +0200

On 10/24/07, Ozzi <address@hidden> wrote:
> Is there a way to create a library with chicken that could be included as if 
> it
> were a standard C library into, say, Objective-C?
>

You can create a library and use "define-external" to define entry-points
into the library (that would be what is termed "embedded" chicken application,
only that we put it into a library). You will have to run "CHICKEN_run" once,
and your toplevel Scheme code has to invoke "(return-to-host)".

See http://chicken.wiki.br/Embedding for details.


cheers,
felix




reply via email to

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