Actually there is no way to write C code with C++ functions (as well as you can't call Pascal functions).
But you can create function in C style to call C++ function.
void test( )
{
java_call_c c = new java_call_c( );
c->test( );
delete c;
}
:)