Re: Blobs and GC

2021-07-10 Thread Aydar Zarifullin
Thank you On Sat, Jul 10, 2021 at 5:28 PM Thomas Chust wrote: > Am Sa., 10. Juli 2021 um 15:15 Uhr schrieb Aydar Zarifullin < > aydar...@gmail.com>: > >> Hello everyone, I have a few questions: Is it safe to pass a blob >> created in scheme to C functions? Will the garbage collector move it in

Re: Blobs and GC

2021-07-10 Thread Thomas Chust
Am Sa., 10. Juli 2021 um 15:15 Uhr schrieb Aydar Zarifullin < aydar...@gmail.com>: > Hello everyone, I have a few questions: Is it safe to pass a blob created > in scheme to C functions? Will the garbage collector move it in memory? Is > there any guarantee that the garbage collector won't move

Blobs and GC

2021-07-10 Thread Aydar Zarifullin
Hello everyone, I have a few questions: Is it safe to pass a blob created in scheme to C functions? Will the garbage collector move it in memory? Is there any guarantee that the garbage collector won't move it in the middle of a C function? Is the situation the same with bytevectors?