From: Arun Isaac <theroarofthedragon@gmail.com>
To: guile-user@gnu.org
Subject: Re: C++ Foreign Function Interface
Date: Mon, 14 Mar 2016 21:34:24 +0530 [thread overview]
Message-ID: <87k2l559mf.fsf@gmail.com> (raw)
In-Reply-To: <42BB375A-66DE-4517-A2C4-4550867C4425@telia.com> ("Hans \=\?utf-8\?Q\?\=C3\=85berg\=22's\?\= message of "Fri, 11 Mar 2016 23:40:55 +0100")
[-- Attachment #1: Type: text/plain, Size: 651 bytes --]
Hans Åberg <haberg-1@telia.com> writes:
> When calling C++ from C, you can’t pass a C++ exception through the C
> code. So in my example code, there are conversions between C++ and
> Guile exceptions.
Yeah, this was the discussion in the other thread you linked
to. Unfortunately, I don't know anything about C++ exceptions, and hence
didn't understand what your code was doing. Can any of this be
integrated into guile itself, so that C++ FFI will be easier for the end
programmer?
David Pirotte <david@altosw.be> writes:
> May be this will interest you:
> https://github.com/BSeppke/vigra_c/
This is useful too. Thanks!
[-- Attachment #2.1: Type: text/plain, Size: 0 bytes --]
[-- Attachment #2.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 472 bytes --]
next prev parent reply other threads:[~2016-03-14 16:04 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-10 18:18 C++ Foreign Function Interface Arun Isaac
2016-03-10 21:17 ` Chris Vine
2016-03-11 17:09 ` Hans Åberg
2016-03-11 20:17 ` Arun Isaac
2016-03-11 22:40 ` Hans Åberg
2016-03-14 16:04 ` Arun Isaac [this message]
2016-03-14 19:22 ` Chris Vine
2016-03-14 21:12 ` Jan Wedekind
2016-03-11 23:36 ` David Pirotte
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/guile/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87k2l559mf.fsf@gmail.com \
--to=theroarofthedragon@gmail.com \
--cc=guile-user@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).