1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
use CStr;
use c_char;
use c_double;
use c_int;
use cratestrtod;
/// Parses a 64-bit floating point number.
///
/// If no floating point number can be built, it returns 0 and the len is -1.
/// If a floating point number is returned, the len is the number of character used to build that number
///
/// # Safety
/// The caller is responsible for that both pointers are valid and that the c_str is NULL terminated.
pub unsafe extern "C"