We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b04bfd9 commit cd34fdaCopy full SHA for cd34fda
1 file changed
crates/vespera_jni/src/lib.rs
@@ -12,6 +12,7 @@
12
//! class `com.devfive.vespera.bridge.VesperaBridge`.
13
14
#![allow(unsafe_code)]
15
+#[cfg(not(tarpaulin_include))]
16
17
pub use jni;
18
pub use vespera_inprocess;
@@ -24,17 +25,13 @@ pub use vespera_inprocess;
24
25
#[macro_export]
26
macro_rules! jni_app {
27
($factory:expr) => {
- #[cfg(not(tarpaulin_include))]
28
#[unsafe(no_mangle)]
29
pub extern "system" fn JNI_OnLoad(
30
_vm: $crate::jni::JavaVM,
31
_: *mut ::std::ffi::c_void,
32
) -> $crate::jni::sys::jint {
33
34
- {
35
- $crate::vespera_inprocess::register_app($factory);
36
- $crate::jni::sys::JNI_VERSION_1_8
37
- }
+ $crate::vespera_inprocess::register_app($factory);
+ $crate::jni::sys::JNI_VERSION_1_8
38
}
39
};
40
0 commit comments