Source

opycaml / float.idl.in

Full commit
1
2
3
4
5
6
7
PyFloatObject_p_noincr  PyFloat_FromDouble(double d);
// Return Python float from C double.

double PyFloat_AsDouble(PyObject_p o);

double PyFloat_AS_DOUBLE(PyObject_p o);
// Extract C double from Python float.  The macro version trades safety for speed.