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 15:23:33 +0200 Sender: guile-devel-admin@gnu.org Message-ID: <20020809132333.GB25401@www> References: <20020808134824.GB23831@www> <20020808102103.021cdc0c.dsmith@altustech.com> <874re5mnfs.fsf@raven.i.defaultvalue.org> <20020808161958.GA24162@www> <20020809100046.GB25104@www> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1028898683 29172 127.0.0.1 (9 Aug 2002 13:11:23 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 9 Aug 2002 13:11:23 +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 17d9Y1-0007aP-00 for ; Fri, 09 Aug 2002 15:11:21 +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 17d9Yj-0003GG-00; Fri, 09 Aug 2002 09:12:05 -0400 Original-Received: from www.elogos.de ([212.18.192.92]) by fencepost.gnu.org with smtp (Exim 3.35 #1 (Debian)) id 17d9YJ-0003Ff-00 for ; Fri, 09 Aug 2002 09:11:39 -0400 Original-Received: by www.elogos.de (Postfix, from userid 5001) id A97D21049A6; Fri, 9 Aug 2002 15:23:33 +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:1048 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.devel:1048 On Fri, Aug 09, 2002 at 01:29:09PM +0200, Matthias Koeppe wrote: > > It is an opaque argument... > > > - what is passed to the init function in the void pointer and > > what is the function supposed to return? > > ... that is simply passed to the init function when it is invoked. So this is "userdata", i see. > (This makes the init function a "C closure".) The init function > returns nothing (it has "void" return type). Grumpf! I _hate_ C's function pointer syntax ... > >> 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, maybe you want to prepare a patch that adds the documentation to > Guile. This was partly implied by my question. But i first need to finish up the docs on "guardians from C" i promised earlier this week (got dis- tracted by all that module stuff which i need to get working asap). Ralf _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://mail.gnu.org/mailman/listinfo/guile-devel