[racket-dev] FFI problem, possibly related to chaperones

From: John Clements (clements at brinckerhoff.org)
Date: Wed Oct 27 12:44:44 EDT 2010

I'm having trouble with my sound library in 5.0.2.1, and I'm getting error messages like this:

play-thread exception: s16vector->cpointer: expected argument of type <s16vector>; given #<s16vector>

This suggests to me that s16vector->cpointer is failing to recognize an s16vector. I'm still debugging, but my first guess is that this is related to chaperones. My first guess was that this could be related to a contract, but I can't immediately figure out how to apply a vector-contract to an s16vector. 

Still debugging,

John

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4669 bytes
Desc: not available
URL: <http://lists.racket-lang.org/dev/archive/attachments/20101027/ff49cd66/attachment.p7s>

Posted on the dev mailing list.