How to call C++ functions from XC?

If you have a simple question and just want an answer.

Postby Guest » Fri Jun 19, 2015 12:49 pm

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 :

Who is online

Users browsing this forum: No registered users and 136 guests