#include <invoke.h>

JNIEXPORT jint JNICALL
Java_invoke_val (JNIEnv *env, jclass klass)
{
  return 23;
}


syntax highlighted by Code2HTML, v. 0.9.1