[FFI] moving large memory
Andreas Raab
andreas.raab at gmx.de
Wed May 17 03:46:36 UTC 2006
Hi Nicolas -
Currently, there isn't any such method. The best thing you can do is to
call memcpy directly from your libc or so (assuming you're on a system
that gives you access to it - on windows you might have to use
MoveMemory or somesuch).
Cheers,
- Andreas
nicolas cellier wrote:
> I want to transfer some memory between an ExternalAdress holding an array of
> anything and Smalltalk memory (ByteArray for example).
>
> I did figure well how to do it element by element, but didn't find anything
> really efficient as a memcopy for example...
>
> Does anyone have a clue, a package, a howto or something for me?
> Thanks
>
> Nicolas
>
>
>
More information about the Squeak-dev
mailing list
|