File tree Expand file tree Collapse file tree 1 file changed +14
-12
lines changed Expand file tree Collapse file tree 1 file changed +14
-12
lines changed Original file line number Diff line number Diff line change @@ -79,17 +79,19 @@ namespace jni
79
79
R (*fnPtr)(JNIEnv*, jobject*, Args...);
80
80
};
81
81
82
- enum class version : jint {};
83
-
84
- const version jni_version_1_1 = version(JNI_VERSION_1_1);
85
- const version jni_version_1_2 = version(JNI_VERSION_1_2);
86
- const version jni_version_1_4 = version(JNI_VERSION_1_4);
87
- const version jni_version_1_6 = version(JNI_VERSION_1_6);
88
-
89
- enum class error : jint {};
82
+ enum version : jint
83
+ {
84
+ jni_version_1_1 = version (JNI_VERSION_1_1),
85
+ jni_version_1_2 = version (JNI_VERSION_1_2),
86
+ jni_version_1_4 = version (JNI_VERSION_1_4),
87
+ jni_version_1_6 = version (JNI_VERSION_1_6),
88
+ };
90
89
91
- const error jni_ok = error(JNI_OK);
92
- const error jni_err = error(JNI_ERR);
93
- const error jni_edetached = error(JNI_EDETACHED);
94
- const error jni_eversion = error(JNI_EVERSION);
90
+ enum error : jint
91
+ {
92
+ jni_ok = error (JNI_OK),
93
+ jni_err = error (JNI_ERR),
94
+ jni_edetached = error (JNI_EDETACHED),
95
+ jni_eversion = error (JNI_EVERSION),
96
+ };
95
97
}
You can’t perform that action at this time.
0 commit comments