Function cfasttext_sys::error_message
source · pub unsafe fn error_message(ptr: *mut c_char) -> String
Expand description
Convert error message to string
Safety
Should only be called in ffi_try
to ensure that ptr
isn’t null
pub unsafe fn error_message(ptr: *mut c_char) -> String
Convert error message to string
Should only be called in ffi_try
to ensure that ptr
isn’t null