Displaying 3 results from an estimated 3 matches for "maciekd".
Did you mean:
maciek
2009 Feb 16
0
[LLVMdev] LLVM C bindings
...C bindings
> from c++ classes.
>
SWIG (www.swig.org) recently added a C output mode, that is capable of
generating a C API for a C++ one.
It was a Summer of Code project, so I'm not sure how mature it is. The
docs are here:
http://swig.svn.sourceforge.net/viewvc/swig/branches/gsoc2008-maciekd/Doc/Manual/C.html
Regards,
Paul
2009 Feb 16
4
[LLVMdev] LLVM C bindings
Hi,
I find the C bindings for LLVM very useful, since they allow to invoke
LLVM from a wider set of software tools (i.e. llvm-py uses it to
export llvm to python).
Unfortunately, it seems that llvm-c interface lacks major
functionalities, e.g. getting a pointer to a jit-ted function.
It is easy to write a small c++ wrapper to expose the functionality
that one wants (llvm-py does it for the many
2009 Feb 18
1
[LLVMdev] LLVM C bindings
...t;> SWIG (www.swig.org) recently added a C output mode, that is capable of
>> generating a C API for a C++ one.
>> It was a Summer of Code project, so I'm not sure how mature it is. The
>> docs are here:
>> http://swig.svn.sourceforge.net/viewvc/swig/branches/gsoc2008-maciekd/Doc/M
>>anual/C.html
>
> The generation of this FFI code should certainly be automated. However, if the
> necessary tools are not yet stable perhaps it would be wise to consider
> looser bindings such as XML-RPC? I assume there are tools that can examine a
> C++ API from header...