pub unsafe extern "C" fn mp_rat_read_cstring(
r: mp_rat,
radix: mp_size,
str_: *const c_char,
end: *mut *mut c_char,
) -> mp_result
Expand description
Sets r
to the value represented by a zero-terminated string str
in the
format "n/d"
including a sign flag. It returns MP_UNDEF
if the encoded
denominator has value zero. If end
is not NULL then *end
is set to
point to the first unconsumed character in the string, after parsing.