[racket] FFI require statement
Thanks Eli,
I'm using version 6.7.3 Q16 and it covers the functions I need with
the exception of one but using your FFI example it was easy to create
an FFI call to that function. There are a fair number of new
functions since your FFI was written. I believe version 7 is going to
change the API significantly for certain functions. At some point in
time I think I will update your ImageMagick FFI to cover all of the
functions but that could be several years in the future.
Cheers,
Harry Spier
I think it should be easy to modify your
On Fri, Jul 27, 2012 at 8:23 AM, Eli Barzilay <eli at barzilay.org> wrote:
> Two days ago, Harry Spier wrote:
>> The FFI require statement for the ImageMagick FFI is
>> "(require mzlib/foreign) (unsafe!)"
>
> Those examples are pretty old, and since then we switched away from
> using the `unsafe!' declaration to a module with `unsafe' in its name.
> I'll fix that -- but in the case of the magick interface a more
> serious problem you have is that the library has (AFAICT) evolved
> significantly since then.
>
> --
> ((lambda (x) (x x)) (lambda (x) (x x))) Eli Barzilay:
> http://barzilay.org/ Maze is Life!