tirbofish/dropbear · commit
2993ca2170331eeee4b6982cbf84501017e46fd2
started on getCamera function, handing it over now
Signature present but could not be verified.
Unverified
@@ -65,6 +65,7 @@ indexmap = "2.11" rand = "0.9" num_enum = "0.7" sha2 = "0.10" +stdext = "0.3" [workspace.dependencies.image] version = "0.25" @@ -32,7 +32,7 @@ sha2.workspace = true libloading.workspace = true crossbeam-channel.workspace = true app_dirs2.workspace = true -num_enum.workspace = true +stdext.workspace = true [features] # editor only stuff @@ -7,6 +7,7 @@ pub mod spawn; pub mod states; pub mod utils; pub mod ptr; +mod result; pub use egui; @@ -0,0 +1,80 @@ +use std::ptr; +use jni::objects::{JClass, JObject, JString}; + +/// Trait used by the `jni` crate for easier error matching. +pub trait ResultToNull { + type Output; +
Large diffs are not rendered by default. Showing the first 50 of 512 lines. Show full diff