[plt-scheme] Re: FFI error leads to memory corruption

From: Thomas Chust (chust at web.de)
Date: Fri Sep 11 08:37:41 EDT 2009

2009/9/11 Noel Welsh <noelwelsh at gmail.com>:
> [...]
> void idc(polar_t ref_pts[], polar_t new_pts[], int n_pts,
> [...]
> (define-icp (icp-internal
>             "icp"
> [...]


stupid question, but are you sure it is correct that the C function is
called "idc" while the Scheme FFI refers to the C name "icp"? Maybe
it's just a typo in the e-mail...


All these theories, diverse as they are, have two things in common: They
explain the observed facts, and they are completely and utterly wrong.
                               -- Terry Pratchett, "The Light Fantastic"

Posted on the users mailing list.