[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MirageOS-devel] ctypes and c++



On 9 May 2014 17:05, Steven Luland <psxsl6@xxxxxxxxxxxxxxxx> wrote:
> Iâm looking to use ctypes to make the openzwave library compatible with 
> OCaml. Would ctypes work on a c++ library such as this?

For the moment, ctypes needs a C-compatible interface.  It's possible
to bind C++ libraries that expose 'extern "C"' declarations, but not
possible to bind arbitrary C++ code.  Recent developments (namely
support for generating stubs) make binding to C++ feasible, so it's
possible that there'll be support for C++ at some point.

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@xxxxxxxxxxxxxxxxxxxx
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.