pub type nix_get_string_callback = Option<unsafe extern "C" fn(start: *const c_char, n: c_uint, user_data: *mut c_void)>;
Expand description
Called to get the value of a string owned by Nix.
§Arguments
start
[in] - the string to copy.n
[in] - the string length.user_data
[in] - optional, arbitrary data, passed to the nix_get_string_callback when it’s called.
Aliased Type§
enum nix_get_string_callback {
None,
Some(unsafe extern "C" fn(_: *const i8, _: u32, _: *mut c_void)),
}