[Top][All Lists]

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

Re: [Chicken-users] embedding question / seg fault

From: David Dreisigmeyer
Subject: Re: [Chicken-users] embedding question / seg fault
Date: Fri, 14 Jan 2011 22:34:09 -0500

Thanks Felix.

>> I looked at this post:
>> 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 :

;;; x.scm

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

(define-external (baz (int i)) double
  (sqrt i))

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

reply via email to

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