/* ---------------------------------------------------------------------------- * GTSAM Copyright 2010, Georgia Tech Research Corporation, * Atlanta, Georgia 30332-0415 * All Rights Reserved * Authors: Frank Dellaert, et al. (see THANKS for the full author list) * See LICENSE for the license information * -------------------------------------------------------------------------- */ // example for wrapping python with boost // from http://www.boost.org/doc/libs/1_37_0/libs/python/doc/tutorial/doc/html/index.html char const* greet() { return "hello, world"; } #include BOOST_PYTHON_MODULE(hello_ext) { using namespace boost::python; def("greet", greet); }