#ifdef __cplusplus extern "C" { #endif /*! calculate foo(a, b) * * @param a the first argument * @param b the second argument * * @return the result */ int foo(int a, int b); #ifdef __cplusplus } #endif