nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lib/string: escape_to_c uses 3 digits in the octal form \nn to avoid misinterpretation
[nit.git]
/
lib
/
jvm.nit
diff --git
a/lib/jvm.nit
b/lib/jvm.nit
index
a9d815e
..
4482a93
100644
(file)
--- a/
lib/jvm.nit
+++ b/
lib/jvm.nit
@@
-169,7
+169,7
@@
extern class JavaVM `{JavaVM *`}
return env;
`}
return env;
`}
- fun attach_current_thread: JniEnv `{
+ fun attach_current_thread: JniEnv import jni_error `{
JNIEnv *env;
#ifdef ANDROID
// the signature is different (better actually) on Android
JNIEnv *env;
#ifdef ANDROID
// the signature is different (better actually) on Android