From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Dale P. Smith" Newsgroups: gmane.lisp.guile.devel Subject: Re: More on module API Date: Sat, 31 Aug 2002 14:32:34 -0400 Organization: Altus Technologies Corporation Sender: guile-devel-admin@gnu.org Message-ID: <20020831143234.14653dbd.dsmith@altustech.com> References: <20020812192938.GA2749@www> <8765xrm93f.fsf@zagadka.ping.de> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1030818708 6314 127.0.0.1 (31 Aug 2002 18:31:48 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 31 Aug 2002 18:31:48 +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 17lD2A-0001dj-00 for ; Sat, 31 Aug 2002 20:31:47 +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 17lD3a-0005Bk-00; Sat, 31 Aug 2002 14:33:14 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 17lD31-0005Az-00 for guile-devel@gnu.org; Sat, 31 Aug 2002 14:32:39 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 17lD2z-0005AR-00 for guile-devel@gnu.org; Sat, 31 Aug 2002 14:32:39 -0400 Original-Received: from [208.40.56.34] (helo=borg.altus.cc) by monty-python.gnu.org with esmtp (Exim 4.10) id 17lD2z-0005A9-00 for guile-devel@gnu.org; Sat, 31 Aug 2002 14:32:37 -0400 Original-Received: from sparky (oh-strongsvillecadent1-1c-245.clvhoh.adelphia.net [68.69.211.245]) by borg-eth1.altus.cc (8.10.2/8.10.2) with SMTP id g7VIWZ004810 for ; Sat, 31 Aug 2002 14:32:36 -0400 Original-To: guile-devel@gnu.org In-Reply-To: <8765xrm93f.fsf@zagadka.ping.de> X-Mailer: Sylpheed version 0.8.1claws3 (GTK+ 1.2.10; i386-debian-linux-gnu) 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:1218 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.devel:1218 On 31 Aug 2002 15:49:40 +0200 Marius Vollmer wrote: > 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? Sounds good to me! -Dale -- Dale P. Smith Senior Systems Consultant, | Treasurer, Altus Technologies Corporation | Cleveland Linux Users Group dsmith@altustech.com | http://cleveland.lug.net 440-746-9000 x339 | _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://mail.gnu.org/mailman/listinfo/guile-devel