|
| 1 | +// |
| 2 | +// Copyright (c) 2021 CNRS - INRIA |
| 3 | +// |
| 4 | +// This file is part of tsid |
| 5 | +// tsid is free software: you can redistribute it |
| 6 | +// and/or modify it under the terms of the GNU Lesser General Public |
| 7 | +// License as published by the Free Software Foundation, either version |
| 8 | +// 3 of the License, or (at your option) any later version. |
| 9 | +// tsid is distributed in the hope that it will be |
| 10 | +// useful, but WITHOUT ANY WARRANTY; without even the implied warranty |
| 11 | +// of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 12 | +// General Lesser Public License for more details. You should have |
| 13 | +// received a copy of the GNU Lesser General Public License along with |
| 14 | +// tsid If not, see |
| 15 | +// <http://www.gnu.org/licenses/>. |
| 16 | +// |
| 17 | + |
| 18 | +#ifndef __tsid_python_fwd_hpp__ |
| 19 | +#define __tsid_python_fwd_hpp__ |
| 20 | + |
| 21 | +#include <string> |
| 22 | + |
| 23 | +// Silence a warning about a deprecated use of boost bind by boost python |
| 24 | +// at least fo boost 1.73 to 1.75 |
| 25 | +// ref. https://github.com/stack-of-tasks/tsid/issues/128 |
| 26 | +#define BOOST_BIND_GLOBAL_PLACEHOLDERS |
| 27 | + |
| 28 | +#include <pinocchio/fwd.hpp> |
| 29 | +#include <eigenpy/eigenpy.hpp> |
| 30 | + |
| 31 | +#include <boost/python.hpp> |
| 32 | +#include <boost/python/suite/indexing/vector_indexing_suite.hpp> |
| 33 | +#include <boost/python/make_constructor.hpp> |
| 34 | + |
| 35 | +#undef BOOST_BIND_GLOBAL_PLACEHOLDERS |
| 36 | + |
| 37 | +#endif |
0 commit comments