From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: rm@fabula.de Newsgroups: gmane.lisp.guile.devel Subject: Re: What replaces scm_register_module_xxx (Doc update?) Date: Fri, 9 Aug 2002 12:00:46 +0200 Sender: guile-devel-admin@gnu.org Message-ID: <20020809100046.GB25104@www> References: <20020808134824.GB23831@www> <20020808102103.021cdc0c.dsmith@altustech.com> <874re5mnfs.fsf@raven.i.defaultvalue.org> <20020808161958.GA24162@www> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1028886507 2976 127.0.0.1 (9 Aug 2002 09:48:27 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 9 Aug 2002 09:48:27 +0000 (UTC) Cc: rm@fabula.de, Rob Browning , "Dale P. Smith" , guile-devel@gnu.org Return-path: Original-Received: from fencepost.gnu.org ([199.232.76.164]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17d6Nd-0000lt-00 for ; Fri, 09 Aug 2002 11:48:25 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.35 #1 (Debian)) id 17d6OJ-00032W-00; Fri, 09 Aug 2002 05:49:07 -0400 Original-Received: from www.elogos.de ([212.18.192.92]) by fencepost.gnu.org with smtp (Exim 3.35 #1 (Debian)) id 17d6O0-0002yd-00 for ; Fri, 09 Aug 2002 05:48:48 -0400 Original-Received: by www.elogos.de (Postfix, from userid 5001) id 269A11049A6; Fri, 9 Aug 2002 12:00:46 +0200 (CEST) Original-To: Matthias Koeppe Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.24i 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:1043 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.devel:1043 On Fri, Aug 09, 2002 at 10:47:50AM +0200, Matthias Koeppe wrote: > [...] > > He proposed and implemented a C API for defining modules and exporting > symbols, see > > http://mail.gnu.org/pipermail/guile-devel/2001-May/002171.html > > I use this API in the Guile back-end of SWIG (http://www.swig.org). > The functions are also mentioned in the NEWS file of Guile (changes > after release 1.4). The API is also used in > examples/box-module/box.c. Ah, thank's a lot, the "missing files". I remembered the discussion but forgot that Marius _did_ post a description of the new interface. Marius, just one more question: it looks like the signature of scm_c_define_module changed slightly since your mail back last may: scm_c_define_module (const char *name, void (*init)(void *), void *data) - what is the purpose of 'void *data' ? - what is passed to the init function in the void pointer and what is the function supposed to return? > > I believe it's only an accident that the functions are not documented > (except for the NEWS blurb). I think documentation should be added; > the changes should also go into the 1.6 release. Preliminary > documentation can be found in the above message by Marius. Should this be documented soon? Ralf _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://mail.gnu.org/mailman/listinfo/guile-devel