Another possibility would be to allocate Scheme data in a Scheme callback and put the returned value into a GC root (CHICKEN_gc_root_new). That way you can manipulate the Scheme data in C and are sure that it is updated by the garbage collection.
cheers, felix _______________________________________________ Chicken-users mailing list Chicken-users@nongnu.org http://lists.nongnu.org/mailman/listinfo/chicken-users