From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Marius Vollmer Newsgroups: gmane.lisp.guile.devel Subject: Re: Hook change hook? Date: 14 Mar 2002 20:50:29 +0100 Sender: guile-devel-admin@gnu.org Message-ID: <87pu27x722.fsf@zagadka.ping.de> References: <87ofigytfl.fsf@zagadka.ping.de> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1016135485 16591 127.0.0.1 (14 Mar 2002 19:51:25 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 14 Mar 2002 19:51:25 +0000 (UTC) Cc: Guile Development Original-Received: from fencepost.gnu.org ([199.232.76.164]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 16lbG0-0004JV-00 for ; Thu, 14 Mar 2002 20:51:24 +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 16lbFi-0004kj-00; Thu, 14 Mar 2002 14:51:06 -0500 Original-Received: from dialin.speedway42.dip228.dokom.de ([195.138.42.228] helo=zagadka.ping.de) by fencepost.gnu.org with smtp (Exim 3.34 #1 (Debian)) id 16lbDA-0004RX-00 for ; Thu, 14 Mar 2002 14:48:29 -0500 Original-Received: (qmail 2307 invoked by uid 1000); 14 Mar 2002 19:50:29 -0000 Original-To: Neil Jerram In-Reply-To: Original-Lines: 25 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 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:43 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.devel:43 Neil Jerram writes: > For a clean solution I guess we should either add a new > scm_tc7_subr_3o type to the code (scary), or support genericization > of cclos (also scary). We should do the latter. I'll look at this and let you know when I have something. > PS. For future reference, here's the SCM_GDEFINE definition that I > added to snarf.h to try this out: > > #define SCM_GDEFINE(FNAME, PRIMNAME, REQ, OPT, VAR, ARGLIST, DOCSTRING) \ > SCM_SNARF_HERE(\ > static const char s_ ## FNAME [] = PRIMNAME; \ > static SCM g_ ## FNAME; \ > SCM FNAME ARGLIST\ > )\ > SCM_SNARF_INIT(\ > scm_c_define_gsubr_with_generic (s_ ## FNAME, REQ, OPT, VAR, \ > (SCM_FUNC_CAST_ARBITRARY_ARGS) FNAME, \ > & g_ ## FNAME); \ Don't you need to initialize g_FNAME before calling scm_c_define_gsubr_with_generic? _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://mail.gnu.org/mailman/listinfo/guile-devel