aboutsummaryrefslogtreecommitdiffstats
path: root/src/jogl/native/JoglCommon.h
blob: d82b445cea70086434ef470fedf1b0bb553cb302 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15

#ifndef JOGL_COMMON_H
#define JOGL_COMMON_H 1

#include <jni.h>
#include <stdlib.h>

void JoglCommon_init(JNIEnv *env);

jchar* JoglCommon_GetNullTerminatedStringChars(JNIEnv* env, jstring str);

void JoglCommon_FatalError(JNIEnv *env, const char* msg, ...);
void JoglCommon_throwNewRuntimeException(JNIEnv *env, const char* msg, ...);

#endif