From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ondrej Zajicek Newsgroups: gmane.lisp.guile.user Subject: c interface to modules Date: Thu, 16 Jun 2005 21:40:20 +0200 Message-ID: <20050616194019.GA22291@feanor> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1119021540 20844 80.91.229.2 (17 Jun 2005 15:19:00 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 17 Jun 2005 15:19:00 +0000 (UTC) Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Fri Jun 17 17:18:57 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DjIc3-00048r-JK for guile-user@m.gmane.org; Fri, 17 Jun 2005 17:18:31 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DjIes-00038c-UP for guile-user@m.gmane.org; Fri, 17 Jun 2005 11:21:26 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Dj0Jc-0000O3-55 for guile-user@gnu.org; Thu, 16 Jun 2005 15:46:16 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Dj0JR-0000JK-K3 for guile-user@gnu.org; Thu, 16 Jun 2005 15:46:08 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Dj0JR-0000Hg-9H for guile-user@gnu.org; Thu, 16 Jun 2005 15:46:05 -0400 Original-Received: from [195.113.24.4] (helo=smtp1.kolej.mff.cuni.cz) by monty-python.gnu.org with esmtp (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1Dj0Gx-0002PV-7D for guile-user@gnu.org; Thu, 16 Jun 2005 15:43:34 -0400 X-Envelope-From: zajio1am@artax.karlin.mff.cuni.cz Original-Received: from feanor.alias.chrudimsko.czf (feanor.kolej.mff.cuni.cz [195.113.24.126]) by smtp1.kolej.mff.cuni.cz (8.13.4/8.13.4) with ESMTP id j5GJeMGF044034 for ; Thu, 16 Jun 2005 21:40:31 +0200 (CEST) Original-Received: from santiago by feanor.alias.chrudimsko.czf with local (Exim 3.36 #1 (Debian)) id 1Dj0Ds-0005qS-00 for ; Thu, 16 Jun 2005 21:40:20 +0200 Original-To: guile-user@gnu.org Content-Disposition: inline X-Operating-System: Debian GNU/Linux unstable User-Agent: Mutt/1.5.9i X-Mailman-Approved-At: Fri, 17 Jun 2005 11:21:04 -0400 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.user:4631 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.user:4631 Hello I would like to export two sets (low-level and high-level interface) of C functions to Scheme. I think it is a good idea to have each interface in different module. What is a good way to define C function in specific module? Should i just replace scm_c_define_gsubr with combination of scm_c_make_gsubr and scm_c_module_define? -- Elen sila lumenn' omentielvo Ondrej 'SanTiago' Zajicek (email: santiago@mail.cz, jabber: santiago@njs.netlab.cz) OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net) "To err is human -- to blame it on a computer is even more so." _______________________________________________ Guile-user mailing list Guile-user@gnu.org http://lists.gnu.org/mailman/listinfo/guile-user