Panicz Maciej Godek <[email protected]> writes:
> I recently ran into a definition of scm_remember_upto_here function
> defined for arbitrary number of arguments.
> According to the comment near its definition in libguile/gc.c, it does
> work. However in guile's documentation only scm_remember_upto_here_1
> and scm_remember_upto_here_2 are mentioned.
> Is it ok to use the variant of the procedure defined for arbitrary
> number of arguments despite it being undocumented?
It should be okay, but it will force a procedure call through the shared
library PLT, which is fairly expensive. If I were you, I would limit
myself to 'scm_remember_upto_here_1' and 'scm_remember_upto_here_2',
because those are implemented more efficiently using macros on gcc.
Mark