py_castfloat method
Cast a int
or float
object in python to double
.
If successful, return true and set the value to out
.
Otherwise, return false and raise TypeError
.
Implementation
bool py_castfloat(
py_Ref arg0,
ffi.Pointer<py_f64> out,
) {
return _py_castfloat(
arg0,
out,
);
}