* scm_remember_upto_here
@ 2013-04-20 12:54 Panicz Maciej Godek
2013-04-20 17:18 ` scm_remember_upto_here Mark H Weaver
0 siblings, 1 reply; 2+ messages in thread
From: Panicz Maciej Godek @ 2013-04-20 12:54 UTC (permalink / raw)
To: guile-user@gnu.org
[-- Attachment #1: Type: text/plain, Size: 436 bytes --]
Hey,
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?
Best regards,
M.
[-- Attachment #2: Type: text/html, Size: 564 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: scm_remember_upto_here
2013-04-20 12:54 scm_remember_upto_here Panicz Maciej Godek
@ 2013-04-20 17:18 ` Mark H Weaver
0 siblings, 0 replies; 2+ messages in thread
From: Mark H Weaver @ 2013-04-20 17:18 UTC (permalink / raw)
To: Panicz Maciej Godek; +Cc: guile-user@gnu.org
Panicz Maciej Godek <godek.maciek@gmail.com> 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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-04-20 17:18 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-20 12:54 scm_remember_upto_here Panicz Maciej Godek
2013-04-20 17:18 ` scm_remember_upto_here Mark H Weaver
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).