Debian Codegraph @

test cases/rust/26 cargo system deps/subprojects/sub-1-rs/lib.rs

raw
1 extern "C" {
2 fn g_get_tmp_dir() -> *mut std::ffi::c_void;
3 }
4
5 #[cfg(system_deps_have_glib)]
6 #[cfg(not(system_deps_have_gobject))]
7 pub fn func() {
8 unsafe {
9 g_get_tmp_dir();
10 }
11 }
12
13 pub fn func1() {
14 func()
15 }