[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [MirageOS-devel] ctypes and c++
On 9 May 2014, at 17:42, Jeremy Yallop <jeremy.yallop@xxxxxxxxxxxx> wrote: > 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. apologies, it's been a while since i did any C++ (thankfully)-- does this need more support than just name mangling? (which could be done manually in a pinch couldn't it)? > 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. cool-- i guess this isn't terribly high priority though? or is it something that's actually planned? -- Cheers, R. Attachment:
signature.asc _______________________________________________ MirageOS-devel mailing list MirageOS-devel@xxxxxxxxxxxxxxxxxxxx http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |