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: More on module API Date: 31 Aug 2002 15:49:40 +0200 Sender: guile-devel-admin@gnu.org Message-ID: <8765xrm93f.fsf@zagadka.ping.de> References: <20020812192938.GA2749@www> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1030801736 7884 127.0.0.1 (31 Aug 2002 13:48:56 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 31 Aug 2002 13:48:56 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17l8cR-000233-00 for ; Sat, 31 Aug 2002 15:48:55 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 17l8dm-0000px-00; Sat, 31 Aug 2002 09:50:18 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 17l8dB-0000oc-00 for guile-devel@gnu.org; Sat, 31 Aug 2002 09:49:41 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 17l8d9-0000oQ-00 for guile-devel@gnu.org; Sat, 31 Aug 2002 09:49:40 -0400 Original-Received: from dialin.speedway42.dip118.dokom.de ([195.138.42.118] helo=zagadka.ping.de) by monty-python.gnu.org with smtp (Exim 4.10) id 17l8d8-0000oM-00 for guile-devel@gnu.org; Sat, 31 Aug 2002 09:49:39 -0400 Original-Received: (qmail 26707 invoked by uid 1000); 31 Aug 2002 13:49:40 -0000 Original-To: guile-devel@gnu.org In-Reply-To: <20020812192938.GA2749@www> Original-Lines: 21 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Errors-To: guile-devel-admin@gnu.org X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.0.11 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:1213 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.devel:1213 rm@fabula.de writes: > /* FIXME: The following is _allmost_ literal from libguile/snarf.h: > * This should be provided by guile itself. > */ > #define SCM_DEFINE_PUBLIC(FNAME, PRIMNAME, REQ, OPT, VAR, ARGLIST, DOCSTRING) \ > SCM_SNARF_HERE(\ > static const char s_ ## FNAME [] = PRIMNAME; \ > static SCM FNAME ARGLIST\ > )\ > SCM_SNARF_INIT(\ > scm_c_define_gsubr (s_ ## FNAME, REQ, OPT, VAR, \ > (SCM_FUNC_CAST_ARBITRARY_ARGS) FNAME); \ > scm_c_export(s_ ## FNAME , NULL); \ > )\ > SCM_SNARF_DOCS(primitive, FNAME, PRIMNAME, ARGLIST, REQ, OPT, VAR, DOCSTRING) I think we add provide this, without "static". Objections? -- GPG: D5D4E405 - 2F9B BCCC 8527 692A 04E3 331E FAF8 226A D5D4 E405 _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://mail.gnu.org/mailman/listinfo/guile-devel