Hi!<br><br> This is a different question from my previous silly question.<br><br> All though it's really cool that I can take a C function with signature:<br>void foo(int *);<br> and in scheme land create a (scheme-foo) so that I can do:<br>
<br> (define bar (make-u....vector ...))<br> (scheme-foo bar)<br><br> There are a lot of C functions I need to use that take arguments int*, short*, ...<br><br> I would prefer to not change all these C bindings, and somehow magically have a Scheme function that given:<br>
(uber-magic bar)<br> returns me a int* corresponding to where the data is stored in u32-vector bar.<br><br>Thanks!<br>