Hallo,

On 7/8/07, Martin DeMello <[EMAIL PROTECTED]> wrote:
Is there any way to do this?

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


(define str "Hello")

(define my-func
    (let ((foreign (foreign-lambda* int ((int x) (c-string str))
                         "do stuff with x and str...")))
      (lambda (x)
        (foreign x str))))

Cheers,
--
-alex
http://www.ventonegro.org/


_______________________________________________
Chicken-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to