From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mark H Weaver Newsgroups: gmane.lisp.guile.user Subject: Re: scm_remember_upto_here Date: Sat, 20 Apr 2013 13:18:20 -0400 Message-ID: <87mwstazoj.fsf@tines.lan> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1366478336 21868 80.91.229.3 (20 Apr 2013 17:18:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 20 Apr 2013 17:18:56 +0000 (UTC) Cc: "guile-user@gnu.org" To: Panicz Maciej Godek Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Sat Apr 20 19:19:00 2013 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UTbRD-0003JK-1l for guile-user@m.gmane.org; Sat, 20 Apr 2013 19:18:59 +0200 Original-Received: from localhost ([::1]:35313 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UTbRC-0007SJ-Kp for guile-user@m.gmane.org; Sat, 20 Apr 2013 13:18:58 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:53111) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UTbR0-0007PQ-Od for guile-user@gnu.org; Sat, 20 Apr 2013 13:18:48 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UTbQz-0006Yn-KZ for guile-user@gnu.org; Sat, 20 Apr 2013 13:18:46 -0400 Original-Received: from world.peace.net ([96.39.62.75]:55783) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UTbQz-0006W1-H5 for guile-user@gnu.org; Sat, 20 Apr 2013 13:18:45 -0400 Original-Received: from 209-6-91-212.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com ([209.6.91.212] helo=tines.lan) by world.peace.net with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1UTbQi-00069v-Ku; Sat, 20 Apr 2013 13:18:28 -0400 In-Reply-To: (Panicz Maciej Godek's message of "Sat, 20 Apr 2013 14:54:39 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 96.39.62.75 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Original-Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.user:10268 Archived-At: Panicz Maciej Godek 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