rs274: decrease BOOST_PYTHON_MAX_ARITY everywhere
This commit is contained in:
parent
6f0f2cafb8
commit
5ad444c642
16 changed files with 24 additions and 0 deletions
|
|
@ -6,6 +6,9 @@
|
|||
#ifndef __array_1_pyplusplus_hpp__
|
||||
#define __array_1_pyplusplus_hpp__
|
||||
|
||||
#ifndef BOOST_PYTHON_MAX_ARITY
|
||||
#define BOOST_PYTHON_MAX_ARITY 4
|
||||
#endif
|
||||
#include <boost/python/iterator.hpp>
|
||||
#include <boost/python/enum.hpp>
|
||||
#include <boost/python/object.hpp>
|
||||
|
|
|
|||
|
|
@ -16,6 +16,7 @@
|
|||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*/
|
||||
#define BOOST_PYTHON_MAX_ARITY 13
|
||||
#include <boost/python/def.hpp>
|
||||
#include <boost/python/module.hpp>
|
||||
#include <boost/python/scope.hpp>
|
||||
|
|
|
|||
|
|
@ -16,6 +16,7 @@
|
|||
#define _GNU_SOURCE
|
||||
#endif
|
||||
|
||||
#define BOOST_PYTHON_MAX_ARITY 4
|
||||
#include "python_plugin.hh"
|
||||
#include <boost/python/dict.hpp>
|
||||
#include <boost/python/extract.hpp>
|
||||
|
|
|
|||
|
|
@ -12,6 +12,7 @@
|
|||
*
|
||||
********************************************************************/
|
||||
|
||||
#define BOOST_PYTHON_MAX_ARITY 4
|
||||
#include <boost/python/list.hpp>
|
||||
#include <boost/python/tuple.hpp>
|
||||
#include <boost/python/dict.hpp>
|
||||
|
|
|
|||
|
|
@ -33,6 +33,7 @@
|
|||
// this is actually a bug in libgl1-mesa-dri and it looks
|
||||
// it has been fixed in mesa - 7.10.1-0ubuntu2
|
||||
|
||||
#define BOOST_PYTHON_MAX_ARITY 4
|
||||
#include "python_plugin.hh"
|
||||
#include "interp_python.hh"
|
||||
#include <boost/python/extract.hpp>
|
||||
|
|
|
|||
|
|
@ -1,5 +1,8 @@
|
|||
#ifndef RS274NGC_INTERP_PYTHON
|
||||
#define RS274NGC_INTERP_PYTHON
|
||||
#ifndef BOOST_PYTHON_NAX_ARITY
|
||||
#define BOOST_PYTHON_MAX_ARITY 4
|
||||
#endif
|
||||
#include <boost/python/object.hpp>
|
||||
struct pycontext_impl {
|
||||
boost::python::object tupleargs; // the args tuple for Py functions
|
||||
|
|
|
|||
|
|
@ -13,6 +13,7 @@
|
|||
#ifndef _GNU_SOURCE
|
||||
#define _GNU_SOURCE
|
||||
#endif
|
||||
#define BOOST_PYTHON_MAX_ARITY 4
|
||||
#include "python_plugin.hh"
|
||||
#include "interp_python.hh"
|
||||
#include <boost/python/list.hpp>
|
||||
|
|
|
|||
|
|
@ -17,6 +17,9 @@
|
|||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*/
|
||||
#ifndef BOOST_PYTHON_NAX_ARITY
|
||||
#define BOOST_PYTHON_MAX_ARITY 4
|
||||
#endif
|
||||
#include <string.h>
|
||||
#include "rs274ngc_interp.hh"
|
||||
#include <boost/python/object.hpp>
|
||||
|
|
|
|||
|
|
@ -20,6 +20,7 @@
|
|||
// Michael Haberler 7/2011
|
||||
//
|
||||
|
||||
#define BOOST_PYTHON_MAX_ARITY 4
|
||||
#include <boost/python/class.hpp>
|
||||
#include <boost/python/def.hpp>
|
||||
#include <boost/python/exception_translator.hpp>
|
||||
|
|
|
|||
|
|
@ -15,6 +15,9 @@
|
|||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*/
|
||||
#ifndef BOOST_PYTHON_NAX_ARITY
|
||||
#define BOOST_PYTHON_MAX_ARITY 4
|
||||
#endif
|
||||
#include <boost/python/list.hpp>
|
||||
|
||||
struct ParamClass {
|
||||
|
|
|
|||
|
|
@ -21,6 +21,7 @@
|
|||
// (at least in boost 1.55, return_internal_reference needs a definition
|
||||
// of boost::python::detail::get which comes from detail/caller.hpp.
|
||||
// At first sniff it's a boost bug but what can you do...)
|
||||
#define BOOST_PYTHON_MAX_ARITY 4
|
||||
#include <boost/python/detail/caller.hpp>
|
||||
#include <boost/python/return_internal_reference.hpp>
|
||||
namespace bp = boost::python;
|
||||
|
|
|
|||
|
|
@ -19,6 +19,7 @@
|
|||
// Michael Haberler 7/2011
|
||||
//
|
||||
|
||||
#define BOOST_PYTHON_MAX_ARITY 4
|
||||
#include <boost/python/class.hpp>
|
||||
#include <boost/python/suite/indexing/map_indexing_suite.hpp>
|
||||
#include <map>
|
||||
|
|
|
|||
|
|
@ -19,6 +19,7 @@
|
|||
// Michael Haberler 7/2011
|
||||
//
|
||||
|
||||
#define BOOST_PYTHON_MAX_ARITY 9
|
||||
#include <boost/python/class.hpp>
|
||||
#include <boost/python/tuple.hpp>
|
||||
namespace bp = boost::python;
|
||||
|
|
|
|||
|
|
@ -19,6 +19,7 @@
|
|||
// Michael Haberler 7/2011
|
||||
//
|
||||
|
||||
#define BOOST_PYTHON_MAX_ARITY 7
|
||||
#include <boost/python/object.hpp>
|
||||
#include <boost/python/suite/indexing/map_indexing_suite.hpp>
|
||||
#include <map>
|
||||
|
|
|
|||
|
|
@ -19,6 +19,7 @@
|
|||
// Michael Haberler 7/2011
|
||||
//
|
||||
|
||||
#define BOOST_PYTHON_MAX_ARITY 4
|
||||
#include <boost/python/extract.hpp>
|
||||
#include <boost/python/suite/indexing/map_indexing_suite.hpp>
|
||||
#include <map>
|
||||
|
|
|
|||
|
|
@ -65,6 +65,7 @@ suppression can produce more concise output. Future versions might
|
|||
include an option for suppressing superfluous commands.
|
||||
|
||||
****************************************************************************/
|
||||
#define BOOST_PYTHON_MAX_ARITY 4
|
||||
#include "python_plugin.hh"
|
||||
#include <boost/python/dict.hpp>
|
||||
#include <boost/python/extract.hpp>
|
||||
|
|
|
|||
Loading…
Reference in a new issue