blob: c16703b589b948d259b6db3928008f9c5e607f7c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
static const char * _glf_lib_vendor_="Roman Podobedov, Sven Goethel";
static const char * _glf_lib_version_="1.4.0.0";
JNIEXPORT jstring JNICALL
Java_gl4java_utils_glf_GLFFuncJNI_getNativeVendor ( JNIEnv *env, jobject obj )
{
return (*env)->NewStringUTF(env, _glf_lib_vendor_);
}
JNIEXPORT jstring JNICALL
Java_gl4java_utils_glf_GLFFuncJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
return (*env)->NewStringUTF(env, _glf_lib_version_);
}
JNIEXPORT jint JNICALL
Java_gl4java_utils_glf_GLFFuncJNI_glfLoadFontNative (
JNIEnv *env, jobject obj, jlong filed)
{
return (jint) glfLoadFont ( (FILE *) ((PointerHolder)filed) );
}
JNIEXPORT jint JNICALL
Java_gl4java_utils_glf_GLFFuncJNI_glfLoadBFontNative (
JNIEnv *env, jobject obj, jlong filed)
{
return (jint) glfLoadBFont ( (FILE *) ((PointerHolder)filed) );
}
|