Best way to create a julia function wrapper of a cpp function

Is there a difference between calling a function written in C++ or in C?
If not somebody posted this yesterday: