[plt-scheme] Re: MysterX and arrays/vectors

From: Filipe Cabecinhas (filcab at gmail.com)
Date: Sat Mar 29 20:52:23 EDT 2008


Here's the patch. For most of the types in the big if/else and the big  
switch, it's copied and pasted, but it should work for every COM type  
and equivalent Scheme type.

Now a double vector (vector 0.0 0.0 0.0) gets marshalled as an array  
of VT_R8 types (TV_ARRAY | VT_R8). The same for the other types.

Thanks for all the help. Now I can get to the scheme side of my  
project :-)

   - Filipe Cabecinhas

-------------- next part --------------
A non-text attachment was scrubbed...
Name: mysterx-arrays.patch
Type: application/octet-stream
Size: 8831 bytes
Desc: not available
URL: <http://lists.racket-lang.org/users/archive/attachments/20080330/49ee8ecc/attachment.obj>

Posted on the users mailing list.