Actually the only cases that need the check are SCM_CELL_OBJECT_1 and SCM_SET_CELL_OBJECT_0. But perhaps there's some way to embed that asm business (in gc.h) into the SCM_VALIDATE_CELL macro. I haven't used "asm" before, but here's a suggestion that seems to work:
#define SCM_VALIDATE_CELL(cell, expr) ({ __asm__ __volatile__ ("" : : "g" (cell)); expr; }) _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://lists.gnu.org/mailman/listinfo/guile-devel