nautilus_core::ffi::uuid

Function uuid4_from_cstr

Source
#[no_mangle]
pub unsafe extern "C" fn uuid4_from_cstr(ptr: *const c_char) -> UUID4
Expand description

Returns a UUID4 from C string pointer.

§Safety

  • Assumes ptr is a valid C string pointer.

§Panics

This function panics:

  • If ptr cannot be cast to a valid C string.