/**** HelloWorld.c ******************************************** ** ** Not so trivial example of the classic "Hello world" example. ** ** This shared library requires the SIOUX console environment to be ** linked in. The shared library for this "trivial" method is over ** 44 Kbytes. ** ** NB: Linking will produce over 100 warning messages. ** ** ** Will Gilbert, Informagen, Inc., 1999 ** Gilbert@Informagen.com */ #include <jni.h> #include <stdio.h> #pragma export on #include "HelloWorld.h" #pragma export reset JNIEXPORT void JNICALL Java_HelloWorld_displayHelloWorld(JNIEnv* env, jobject obj) { printf("Hello, world!\n"); }