At Tue, 21 Aug 2012 14:50:15 +0400, Dmitry Pavlov wrote: > As a general inquiry, what are the rules for GC about > collecting malloc-ed objects? Can I be sure that it does > not collect my vector while the C call or callback who uses > it is still executing?
Yes, that's an important guarantee that I will add to the documentation: arguments in a foreign-function call remain reachable until the foreign function returns. ____________________ Racket Users list: http://lists.racket-lang.org/users