From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Arne Babenhauserheide Newsgroups: gmane.lisp.guile.user Subject: Re: Using in C a function defined in guile Date: Sun, 06 Sep 2015 18:37:47 +0200 Message-ID: <2437661.4LBWvTHYj7@fluss> References: <20150906141001.GA23312@localhost.localdomain> <1872887799.61021.1441555746606.JavaMail.yahoo@mail.yahoo.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1462823.5Axfdb7PeR"; micalg="pgp-sha256"; protocol="application/pgp-signature" X-Trace: ger.gmane.org 1441557496 20352 80.91.229.3 (6 Sep 2015 16:38:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 6 Sep 2015 16:38:16 +0000 (UTC) To: guile-user@gnu.org, Mike Gran Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Sun Sep 06 18:38:05 2015 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 1ZYcxA-0006MR-10 for guile-user@m.gmane.org; Sun, 06 Sep 2015 18:38:04 +0200 Original-Received: from localhost ([::1]:49495 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZYcxA-0001Bu-9u for guile-user@m.gmane.org; Sun, 06 Sep 2015 12:38:04 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52032) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZYcx0-0001Bd-Na for guile-user@gnu.org; Sun, 06 Sep 2015 12:37:55 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZYcww-0004y2-K3 for guile-user@gnu.org; Sun, 06 Sep 2015 12:37:54 -0400 Original-Received: from mout.web.de ([212.227.17.12]:60479) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZYcww-0004xs-ED for guile-user@gnu.org; Sun, 06 Sep 2015 12:37:50 -0400 Original-Received: from fluss.localnet ([85.212.87.89]) by smtp.web.de (mrweb102) with ESMTPSA (Nemesis) id 0LxfKp-1Yc5ws2vLH-017FQn; Sun, 06 Sep 2015 18:37:49 +0200 User-Agent: KMail/4.14.8 (Linux/3.14.14-gentoo; KDE/4.14.8; x86_64; ; ) In-Reply-To: <1872887799.61021.1441555746606.JavaMail.yahoo@mail.yahoo.com> X-Provags-ID: V03:K0:XXtYWvw+Zb0LhRFLMYvRVr3TmNDe9oeS3cUuiwU5yCg4Z1pXHYK 995ehj4bLIeYqf0YUXyKSlLrnKnJnvl4jPoE/NtBGbI28cnMuB5tBdvLe/Ybk05ADsDE0up VL3/HjVjxaBfQOMt5ZD2pnIAtLJ3IxASZYb6Mp/gZzd9wVWX0BBSEwoOAjMUnSg9TsZqceM gDTRhU8cINs3O86bks1hw== X-UI-Out-Filterresults: notjunk:1;V01:K0:WVXek7JMmzI=:Tj0CheI7cHiZDG/tphlBtd vowPkxiHMr6hdZHLgJXidaWX5F4PZtXP3jkfV9pisbG5xzr9s66dJBj7+R7j8jVrIOeHmrV9X 3USQ2Sjftd8Roa2Fd0KCg5ie2+jr+G/4nIBwe04h2FTwB/i8kMQuvK1ZPoR2vqJSIo5UaUXZw T6vBiJbQqM4BsNiz0ba1I8/8WuVmsjk4MuWA3I20lc6pQXLE8taxEtikXUIXI/17sQNOCPNyO K/gzB32uvnHzDwBelyOzMbx7Pw7olbPlWf85uWs5XjtFybIl8iOW4dZZz5isqHcaqDYSvCgoc J3BirIlkf0bFgPUCqRahnW2nZEufCLjLlebbvGYdjuVu6Ql6l8h+PAp4G3GEVeW1r0s1d6Tc2 KcxFpXNKzXu2tIib9kIz/oAuDL6KaXEuFEH1S1EYZXyemixRlbcLjg31qydcIYX5fzFjVxk4y OfO8RLbj9KGzGcujZlcW3xd/9ajPMGF7/hTY5qn4gY37fYxyBiOsk/1704ZfYmD5VWz3IidAr 7Mceq0HHD2l9C55HKERVwuuKdflI9djiJDYMPcotiZWhBNbpIwE6H0dxMRnsKMI/+NfoNqmg1 S7EAuYyDe/VFuCm5DCCnzLn4uaq73FE0uXb/lBF+FZS9GQ46VJZSLJifLCixRM+wPkwfFgHhd sGb0bG0yjEbtU/hLpelLVNEErYjF7Ye4fdrw/8tp5+NEkzapFvHPhYKZGK6ZcGhRhvWwPYSLQ mZ/UAmzqXrFTZdFt X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 212.227.17.12 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:11997 Archived-At: --nextPart1462823.5Axfdb7PeR Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Am Sonntag, 6. September 2015, 16:09:06 schrieb Mike Gran: > The simplest way to implement such a thing is using > functions like scm_c_eval_string, where one creates a string > containing Guile code and executes it. > =E2=80=A6 > There is an example in the manual here > http://www.gnu.org/software/guile/manual/html_node/Accessing-Modules-= from-C.html That=E2=80=99s much better than what I wrote. Please don=E2=80=99t let = yourself get stuck on my mail. Best wishes, Arne --nextPart1462823.5Axfdb7PeR Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iJwEAAEIAAYFAlXsa9sACgkQ3M8NswvBBUjFmAP/f1IJ5gxz6ClGvtOWvPK23/43 skTjLgaGSC6R+NTVMp5L64bSXYVZ4b7nqc1ZLciS9SX0yFZ1XxDzalBZQ0p/IIql xxOyPpRwJFfjySwWnO1bxaUDy/m349Ahe/iCDLbb9WflwdW5v5qS5Rl9cmEDlq2i uMBEOBnq7abU5j63TYw= =XRiw -----END PGP SIGNATURE----- --nextPart1462823.5Axfdb7PeR--