How to call native c++ function

How can i call c++ function and return output in zephir function here c++ function std::string myoutput(const std::string& input)

I also wondered this, if its possible to run native c++ code with zephir, sometimes relying on native php functions isnt enough.