Prettify JNI stuff.

This commit is contained in:
Andrew Steinborn
2019-01-11 14:13:13 -05:00
parent 1ddeb85f60
commit 9daa6c3a64
9 changed files with 87 additions and 76 deletions

View File

@@ -1,7 +1,7 @@
#include <jni.h>
#include "jni_util.h"
JNIEXPORT void JNICALL
void JNICALL
throwException(JNIEnv *env, const char *type, const char *msg)
{
jclass klazz = (*env)->FindClass(env, type);