1. camlspotter
  2. ojacare

Source

ojacare / camljava-0.3 / test_simple_call_from_java / TestC.c

1
2
3
4
5
6
#include "Test.h"

JNIEXPORT jint JNICALL Java_Test_putchar(JNIEnv* env, jobject obj, jint c)
{
    return putchar(c);
}