Hello!

I've been playing around with the FFI, things work great for the most
part!

However, I just can't figure out how to peek and poke array contents?
Say I have

(define array (malloc (* 10 (C-sizeof "double"))))

how would I now set the contents of this alien? Say from 1.0 to 10.0?

There is a primitive C-POKE-DOUBLE, but I haven't yet found a way to
use this correctly :-/

I'd appreciate any help!

Greetings,

Peter

_______________________________________________
MIT-Scheme-devel mailing list
MIT-Scheme-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/mit-scheme-devel

Reply via email to