MCPcopy Create free account
hub / github.com/astonbitecode/j4rs / drop_c_string

Function drop_c_string

rust/src/utils.rs:44–46  ·  view source on GitHub ↗
(ptr: *mut c_char)

Source from the content-addressed store, hash-verified

42}
43
44pub(crate) unsafe fn drop_c_string(ptr: *mut c_char) {
45 let _ = CString::from_raw(ptr);
46}
47
48#[cfg(not(target_os = "windows"))]
49pub(crate) fn classpath_sep() -> &'static str {

Callers 4

create_jvmMethod · 0.85
find_classFunction · 0.85
find_class_defaultFunction · 0.85
find_classFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected