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: What replaces scm_register_module_xxx (Doc update?) Date: Thu, 8 Aug 2002 10:21:03 -0400 Organization: Altus Technologies Corporation Sender: guile-devel-admin@gnu.org Message-ID: <20020808102103.021cdc0c.dsmith@altustech.com> References: <20020808134824.GB23831@www> 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 1028816544 4103 127.0.0.1 (8 Aug 2002 14:22:24 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 8 Aug 2002 14:22:24 +0000 (UTC) Return-path: Original-Received: from fencepost.gnu.org ([199.232.76.164]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17coBD-000144-00 for ; Thu, 08 Aug 2002 16:22:23 +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 17coBs-0003xd-00; Thu, 08 Aug 2002 10:23:04 -0400 Original-Received: from 208-40-56-34.corecomm.net ([208.40.56.34] helo=borg.altus.cc) by fencepost.gnu.org with esmtp (Exim 3.35 #1 (Debian)) id 17coBo-0003xP-00 for ; Thu, 08 Aug 2002 10:23:00 -0400 Original-Received: from sparky (firewall-user@[12.15.7.94]) by borg-eth1.altus.cc (8.10.2/8.10.2) with SMTP id g78EMwJ15685 for ; Thu, 8 Aug 2002 10:22:58 -0400 Original-To: guile-devel@gnu.org In-Reply-To: <20020808134824.GB23831@www> X-Mailer: Sylpheed version 0.7.5claws25 (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:1010 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.devel:1010 On Thu, 8 Aug 2002 15:48:24 +0200 rm@fabula.de wrote: > Hello, > > according to the docs one can put functions defined > in C into a module by writing a custom initialisation > function and registering it with 'scm_register_module_xxx'. > Since this function seems to have been removed from guile, > how am i supposed to put my functions into modules? The new method is to use a .scm file that defines the module, dynamically loads the compiled code, and then exports whatever you need. Do do this from C you need to use scm_c_define_module and scm_c_export. -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