12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758 |
- #ifndef boost_python_numpy_scalars_hpp_
- #define boost_python_numpy_scalars_hpp_
- #include <boost/python.hpp>
- #include <boost/python/numpy/numpy_object_mgr_traits.hpp>
- #include <boost/python/numpy/dtype.hpp>
- namespace boost { namespace python { namespace numpy {
- class BOOST_NUMPY_DECL void_ : public object
- {
- static python::detail::new_reference convert(object_cref arg, bool align);
- public:
-
- explicit void_(Py_ssize_t size);
- BOOST_PYTHON_FORWARD_OBJECT_CONSTRUCTORS(void_, object);
-
- void_ view(dtype const & dt) const;
-
- void_ copy() const;
- };
- }
- namespace converter
- {
- NUMPY_OBJECT_MANAGER_TRAITS(numpy::void_);
- }}}
- #endif
|