On 2/5/07, felix winkelmann [EMAIL PROTECTED] wrote:
sufficiently big). An alternative is to create a suitably sized
byte-vector beforehand
(in Scheme, using the heap) and copying the data inside a block of foreign
code (or use move-memory!).
Ah! I didn't know move-memory existed. This is
On 2/5/07, Tony Sidaway [EMAIL PROTECTED] wrote:
Would it be best to write something to do that in C as a
foreign-primitive? Basically a C function, declared
foreign-primitive, that takes a C-pointer and an int, and allocates a
byte vector of the appropriate size. Presumably this would