chicken-users
[Top][All Lists]
Advanced

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

[Chicken-users] passing a string to foreign-lambda*


From: Martin DeMello
Subject: [Chicken-users] passing a string to foreign-lambda*
Date: Sun, 8 Jul 2007 23:12:27 +0530

Is there any way to do this?

(define str "hello")
(foreign-lambda* int ((int x)) str)

(Actually i'm trying to solve the more restricted problem of
generating a call to foreign-lambda* from a macro and synthesising the
string it's passed within the macro, so if the general case has no
answer I'm hoping that at least is doable)

martin




reply via email to

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