9#include <boost/python/object.hpp>
20namespace PythonInterface {
26inline bool isNone(PyObject *ptr) {
return (ptr == Py_None); }
32inline bool isNone(
const boost::python::object &
obj) {
33#ifdef BOOST_PYTHON_OBJECT_HAS_IS_NONE
double obj
the value of the quadratic function
bool isNone(PyObject *ptr)
Helper class which provides the Collimation Length for SANS instruments.