Calling C++ from xC is much the same as calling C++ from C. You'll need to write wrapper functions that are implemented in C++ that have C linkage (i.e. are tagged with extern "C"). For more details see:
There's an simple example which calls between C++ and xC on github.
You might also want to take a look at the following post:
Added for the benifit of other users (Original Forum Topic : http://www.xcore.com/forum/viewtopic.php?f=26&t=3337)
If you have a simple question and just want an answer.
2 posts • Page 1 of 1