From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Newsgroups: gmane.lisp.guile.user Subject: Re: A [serious] problem with module integration Date: Fri, 16 Nov 2012 21:40:08 +0100 Message-ID: <87vcd5wac7.fsf@gnu.org> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1353103617 1730 80.91.229.3 (16 Nov 2012 22:06:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 16 Nov 2012 22:06:57 +0000 (UTC) To: guile-user@gnu.org Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Fri Nov 16 23:07:09 2012 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TZU40-0000UN-L4 for guile-user@m.gmane.org; Fri, 16 Nov 2012 23:07:04 +0100 Original-Received: from localhost ([::1]:45031 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TZU3q-0004jD-Ep for guile-user@m.gmane.org; Fri, 16 Nov 2012 17:06:54 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:48499) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TZSi9-0002H5-0U for guile-user@gnu.org; Fri, 16 Nov 2012 15:40:28 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TZSi5-0002vZ-Tt for guile-user@gnu.org; Fri, 16 Nov 2012 15:40:24 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:48870) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TZSi5-0002vS-MZ for guile-user@gnu.org; Fri, 16 Nov 2012 15:40:21 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1TZSiB-0004tU-IR for guile-user@gnu.org; Fri, 16 Nov 2012 21:40:27 +0100 Original-Received: from reverse-83.fdn.fr ([80.67.176.83]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 16 Nov 2012 21:40:27 +0100 Original-Received: from ludo by reverse-83.fdn.fr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 16 Nov 2012 21:40:27 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 15 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: reverse-83.fdn.fr X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 26 Brumaire an 221 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0xEA52ECF4 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 83C4 F8E5 10A3 3B4C 5BEA D15D 77DD 95E2 EA52 ECF4 X-OS: x86_64-unknown-linux-gnu User-Agent: Gnus/5.130005 (Ma Gnus v0.5) Emacs/24.2 (gnu/linux) Cancel-Lock: sha1:WL8p49dkksIky6UsUi6md9zpXxw= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-Mailman-Approved-At: Fri, 16 Nov 2012 17:06:51 -0500 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Original-Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.user:9691 Archived-At: Hi! Panicz Maciej Godek skribis: > If I'd taken a different approach, e.g. if I'd decided to use shared > libraries instead of having the main application call scm_with_guile, > the solution would be easy -- I could just define the wrappers around > the procedures exported by the library. Yes. This is called /extending/ Guile, as opposed to /embedding/ it, and it’s always more fruitful. See, for instance, the discussion at . Thanks, Ludo’.