Example of how to call C++ from XC