Thanks Felix.

>> I looked at this post:
>>
>> http://www.mail-archive.com/chicken-users@nongnu.org/msg11218.html
>>
>> but I don't see what the resolution would be.
>>
>> Would it be easier to just avoid using define and stick to
>> define-external?  Is there any particular reason to use define?
>
> Sorry, I don't fully understand what you are trying to say. You
> can only call procedures from outside of Scheme which are
> defined with `define-external'.

I was looking at this x.scm from http://wiki.call-cc.org/man/4/Embedding :

;;; x.scm

(define (bar x) (gc #f) (* x x))

(define-external (baz (int i)) double
  (sqrt i))
(return-to-host)

Not sure what I was thinking about either though...

_______________________________________________
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to