[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: scm_remember_upto_here
From: |
Mark H Weaver |
Subject: |
Re: scm_remember_upto_here |
Date: |
Sat, 20 Apr 2013 13:18:20 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) |
Panicz Maciej Godek <address@hidden> 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