nautilus_core::ffi::parsingFunction precision_from_cstr
Source #[no_mangle]
pub unsafe extern "C" fn precision_from_cstr(ptr: *const c_char) -> u8
Expand description
Return the decimal precision inferred from the given C string.
§Safety
- Assumes
ptr
is a valid C string pointer.
§Panics
This function panics: