|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r61974 - in sandbox/numpy: boost/python boost/python/numpy libs/python/numpy/test
From: talljimbo_at_[hidden]
Date: 2010-05-14 19:43:39
Author: jbosch
Date: 2010-05-14 19:43:38 EDT (Fri, 14 May 2010)
New Revision: 61974
URL: http://svn.boost.org/trac/boost/changeset/61974
Log:
numpy python extensions - moved main header file inside subdirectory
Added:
sandbox/numpy/boost/python/numpy/numpy.hpp
- copied unchanged from r60654, /sandbox/numpy/boost/python/numpy.hpp
Removed:
sandbox/numpy/boost/python/numpy.hpp
Text files modified:
sandbox/numpy/libs/python/numpy/test/ufunc_mod.cpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
Deleted: sandbox/numpy/boost/python/numpy.hpp
==============================================================================
--- sandbox/numpy/boost/python/numpy.hpp 2010-05-14 19:43:38 EDT (Fri, 14 May 2010)
+++ (empty file)
@@ -1,32 +0,0 @@
-#ifndef BOOST_PYTHON_NUMPY_HPP_INCLUDED
-#define BOOST_PYTHON_NUMPY_HPP_INCLUDED
-
-/**
- * @file boost/python/numpy.hpp
- * @brief Main public header file for boost.python.numpy.
- */
-
-#include <boost/python/numpy/dtype.hpp>
-#include <boost/python/numpy/ndarray.hpp>
-#include <boost/python/numpy/scalars.hpp>
-#include <boost/python/numpy/matrix.hpp>
-#include <boost/python/numpy/ufunc.hpp>
-
-namespace boost { namespace python {
-namespace numpy {
-
-/**
- * @brief Initialize the Numpy C-API
- *
- * This must be called before using anything in boost.python.numpy;
- * It should probably be the first line inside BOOST_PYTHON_MODULE.
- *
- * @internal This just calls the Numpy C-API functions "import_array()"
- * and "import_ufunc()".
- */
-void initialize();
-
-} // namespace boost::python::numpy
-}} // namespace boost::python
-
-#endif // !BOOST_PYTHON_NUMPY_HPP_INCLUDED
Modified: sandbox/numpy/libs/python/numpy/test/ufunc_mod.cpp
==============================================================================
--- sandbox/numpy/libs/python/numpy/test/ufunc_mod.cpp (original)
+++ sandbox/numpy/libs/python/numpy/test/ufunc_mod.cpp 2010-05-14 19:43:38 EDT (Fri, 14 May 2010)
@@ -1,4 +1,4 @@
-#include <boost/python/numpy.hpp>
+#include <boost/python/numpy/numpy.hpp>
namespace bp = boost::python;
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk