Commit 4cb32514 authored by Alex Henrie's avatar Alex Henrie

Increase Boost Python function arity only when necessary

parent ffe0d50a
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
// You should have received a copy of the GNU Lesser General Public License // You should have received a copy of the GNU Lesser General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>. // along with this program. If not, see <http://www.gnu.org/licenses/>.
#define BOOST_PYTHON_MAX_ARITY 40 #define BOOST_PYTHON_MAX_ARITY 20
#include "graph.hh" #include "graph.hh"
#include "graph_util.hh" #include "graph_util.hh"
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
// You should have received a copy of the GNU Lesser General Public License // You should have received a copy of the GNU Lesser General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>. // along with this program. If not, see <http://www.gnu.org/licenses/>.
#define BOOST_PYTHON_MAX_ARITY 40 #define BOOST_PYTHON_MAX_ARITY 20
#include <boost/python.hpp> #include <boost/python.hpp>
#include "graph_tool.hh" #include "graph_tool.hh"
......
...@@ -15,7 +15,6 @@ ...@@ -15,7 +15,6 @@
// You should have received a copy of the GNU Lesser General Public License // You should have received a copy of the GNU Lesser General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>. // along with this program. If not, see <http://www.gnu.org/licenses/>.
#define BOOST_PYTHON_MAX_ARITY 40
#include <boost/python.hpp> #include <boost/python.hpp>
#include "graph_tool.hh" #include "graph_tool.hh"
......
...@@ -15,7 +15,6 @@ ...@@ -15,7 +15,6 @@
// You should have received a copy of the GNU Lesser General Public License // You should have received a copy of the GNU Lesser General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>. // along with this program. If not, see <http://www.gnu.org/licenses/>.
#define BOOST_PYTHON_MAX_ARITY 40
#include <boost/python.hpp> #include <boost/python.hpp>
#include "graph_tool.hh" #include "graph_tool.hh"
......
...@@ -15,7 +15,6 @@ ...@@ -15,7 +15,6 @@
// You should have received a copy of the GNU Lesser General Public License // You should have received a copy of the GNU Lesser General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>. // along with this program. If not, see <http://www.gnu.org/licenses/>.
#define BOOST_PYTHON_MAX_ARITY 40
#include <boost/python.hpp> #include <boost/python.hpp>
#include "graph_tool.hh" #include "graph_tool.hh"
......
...@@ -15,7 +15,6 @@ ...@@ -15,7 +15,6 @@
// You should have received a copy of the GNU Lesser General Public License // You should have received a copy of the GNU Lesser General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>. // along with this program. If not, see <http://www.gnu.org/licenses/>.
#define BOOST_PYTHON_MAX_ARITY 40
#include <boost/python.hpp> #include <boost/python.hpp>
#include "graph_tool.hh" #include "graph_tool.hh"
......
...@@ -15,7 +15,6 @@ ...@@ -15,7 +15,6 @@
// You should have received a copy of the GNU Lesser General Public License // You should have received a copy of the GNU Lesser General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>. // along with this program. If not, see <http://www.gnu.org/licenses/>.
#define BOOST_PYTHON_MAX_ARITY 40
#include <boost/python.hpp> #include <boost/python.hpp>
#include "graph_tool.hh" #include "graph_tool.hh"
......
...@@ -15,7 +15,6 @@ ...@@ -15,7 +15,6 @@
// You should have received a copy of the GNU Lesser General Public License // You should have received a copy of the GNU Lesser General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>. // along with this program. If not, see <http://www.gnu.org/licenses/>.
#define BOOST_PYTHON_MAX_ARITY 40
#include <boost/python.hpp> #include <boost/python.hpp>
#include "graph_tool.hh" #include "graph_tool.hh"
......
...@@ -15,7 +15,6 @@ ...@@ -15,7 +15,6 @@
// You should have received a copy of the GNU Lesser General Public License // You should have received a copy of the GNU Lesser General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>. // along with this program. If not, see <http://www.gnu.org/licenses/>.
#define BOOST_PYTHON_MAX_ARITY 40
#include <boost/python.hpp> #include <boost/python.hpp>
#include "graph_tool.hh" #include "graph_tool.hh"
......
...@@ -15,7 +15,6 @@ ...@@ -15,7 +15,6 @@
// You should have received a copy of the GNU Lesser General Public License // You should have received a copy of the GNU Lesser General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>. // along with this program. If not, see <http://www.gnu.org/licenses/>.
#define BOOST_PYTHON_MAX_ARITY 40
#include <boost/python.hpp> #include <boost/python.hpp>
#include "graph_tool.hh" #include "graph_tool.hh"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment