Skip to content

Commit 933da84

Browse files
committed
Add jvoid to mean Nothing
1 parent be8a89c commit 933da84

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/JNI.jl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ export JNINativeInterface, JNIEnv, JNIInvokeInterface, JavaVM
88
export jint, jlong, jbyte
99
# jni.h exports
1010
export jboolean, jchar, jshort, jfloat, jdouble, jsize, jprimitive
11+
export jvoid
1112
# constant export
1213
export JNI_TRUE, JNI_FALSE
1314
export JNI_VERSION_1_1, JNI_VERSION_1_2, JNI_VERSION_1_4, JNI_VERSION_1_6, JNI_VERSION_1_8
@@ -43,6 +44,8 @@ const jdouble = Cdouble
4344
const jsize = jint
4445
jprimitive = Union{jboolean, jchar, jshort, jfloat, jdouble, jint, jlong}
4546

47+
const jvoid = Nothing
48+
4649
jobject = Ptr{Nothing}
4750
jclass = Ptr{Nothing}
4851
jthrowable = Ptr{Nothing}

0 commit comments

Comments
 (0)