[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: C++ Foreign Function Interface
From: |
Hans Åberg |
Subject: |
Re: C++ Foreign Function Interface |
Date: |
Fri, 11 Mar 2016 18:09:47 +0100 |
> On 10 Mar 2016, at 19:18, Arun Isaac <address@hidden> wrote:
> Is there any foreign function interface for C++ shared libraries in
> Guile? Can I somehow use the C FFI for this? Is there any documentation
> for this?
You will have to write it yourself. It has been discussed before on this list
[1]. I wrote a sample [2], though, Guile, being dynamically typed, does not
have a C++ distinction statically typed between integers and rational numbers.
1. https://lists.gnu.org/archive/html/guile-user/2015-01/msg00016.html
2.
https://secure2.storegate.com/Shares/Home.aspx?ShareID=56659ce2-127e-455e-ba1f-e6cbc82ba973