C calling Scheme and garbage collection

2019-06-27 Thread Isaac Jurado
Hello, I'm playing with event loop libraries implemented in C (libev, libevent, etc... in my case libsystemd), but configuring them from Guile. The qsort example in the documentation [1] seems safe because the qsort C function directly calls back, so the callback Scheme bindings stay referenced (

Re: C calling Scheme and garbage collection

2019-06-27 Thread Greg Troxel
Isaac Jurado writes: > Hello, > > I'm playing with event loop libraries implemented in C (libev, libevent, > etc... in my case libsystemd), but configuring them from Guile. > > The qsort example in the documentation [1] seems safe because the qsort C > function directly calls back, so the callbac