[][src]Function dart_sys::Dart_NewStringFromCString

pub unsafe extern "C" fn Dart_NewStringFromCString(
    str: *const c_char
) -> Dart_Handle

Returns a String built from the provided C string (There is an implicit assumption that the C string passed in contains UTF-8 encoded characters and '\0' is considered as a termination character).

\param value A C String

\return The String object if no error occurs. Otherwise returns an error handle.