MCPcopy Create free account
hub / github.com/dgrunwald/rust-cpython / PyFloat_AS_DOUBLE

Function PyFloat_AS_DOUBLE

python27-sys/src/floatobject.rs:48–50  ·  view source on GitHub ↗
(pyfloat: *mut PyObject)

Source from the content-addressed store, hash-verified

46}
47
48pub unsafe fn PyFloat_AS_DOUBLE(pyfloat: *mut PyObject) -> c_double {
49 (*(pyfloat as *mut PyFloatObject)).ob_fval
50}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected