From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Neil Jerram Newsgroups: gmane.lisp.guile.devel Subject: Should scm_c_run_hook be internal? Date: 15 Mar 2002 23:47:21 +0000 Sender: guile-devel-admin@gnu.org Message-ID: NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1016236324 32754 127.0.0.1 (15 Mar 2002 23:52:04 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 15 Mar 2002 23:52:04 +0000 (UTC) Original-Received: from fencepost.gnu.org ([199.232.76.164]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 16m1US-0008WC-00 for ; Sat, 16 Mar 2002 00:52:04 +0100 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 16m1TX-0002aB-00; Fri, 15 Mar 2002 18:51:07 -0500 Original-Received: from mail.uklinux.net ([80.84.72.21] helo=s1.uklinux.net) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 16m1SW-0002Wf-00 for ; Fri, 15 Mar 2002 18:50:05 -0500 Original-Received: from portalet.ossau.uklinux.net (IDENT:root@ppp-3b-89.3com.telinco.net [212.159.133.89]) by s1.uklinux.net (8.11.6/8.11.6) with ESMTP id g2FNo1b24312 for ; Fri, 15 Mar 2002 23:50:01 GMT Original-Received: from laruns.ossau.uklinux.net.ossau.uklinux.net (neil@laruns.ossau.uklinux.net [192.168.1.3]) by portalet.ossau.uklinux.net (8.9.3/8.8.7) with ESMTP id XAA19909 for ; Fri, 15 Mar 2002 23:50:32 GMT Original-To: Guile Development User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 Original-Lines: 20 Errors-To: guile-devel-admin@gnu.org X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Developers list for Guile, the GNU extensibility library List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.lisp.guile.devel:78 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.devel:78 Documenting hooks, I just wrote the following about scm_c_run_hook: ----------------- If, in C code, you are certain that you have a hook object and well formed argument list for that hook, you can also use @code{scm_c_run_hook}, which is identical to @code{scm_run_hook} but does no type checking. @deftypefn {C Function} void scm_c_run_hook (SCM hook, SCM args) The same as @code{scm_run_hook} but without any type checking to confirm that @var{hook} is actually a hook object and that @var{args} is a well-formed list matching the arity of the hook. @end deftypefn ----------------- Is this right, or should scm_c_run_hook really be for internal use only? (And hence scm_i_run_hook?) It's currently used from gc.c to run the after-gc-hook. Neil _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://mail.gnu.org/mailman/listinfo/guile-devel