jni 0.2.1 → 0.2.2
raw patch · 2 files changed
+3/−3 lines, 2 files
Files
- jni.cabal +1/−1
- src/Foreign/JNI.hs +2/−2
jni.cabal view
@@ -1,5 +1,5 @@ name: jni-version: 0.2.1+version: 0.2.2 synopsis: Complete JNI raw bindings. description: Please see README.md. homepage: https://github.com/tweag/inline-java/tree/master/jni#readme
src/Foreign/JNI.hs view
@@ -492,7 +492,7 @@ call/**/name/**/Method (coerce -> upcast -> obj) method args = withJNIEnv $ \env -> \ throwIfException env $ \ withArray args $ \cargs -> \- [CU.exp| c_rettype { \+ [C.exp| c_rettype { \ (*$(JNIEnv *env))->Call/**/name/**/MethodA($(JNIEnv *env), \ $(jobject obj), \ $(jmethodID method), \@@ -517,7 +517,7 @@ callStatic/**/name/**/Method cls method args = withJNIEnv $ \env -> \ throwIfException env $ \ withArray args $ \cargs -> \- [CU.exp| c_rettype { \+ [C.exp| c_rettype { \ (*$(JNIEnv *env))->CallStatic/**/name/**/MethodA($(JNIEnv *env), \ $(jclass cls), \ $(jmethodID method), \