# coding: latin-1 // ... #include "../mafonction.h" BOOST_PYTHON_MODULE(PythonSample) { // ... def ("somme_vecteur", &python_somme_vecteur, (boost::python::arg ("v1"), boost::python::arg ("v2")), "retourne la somme de deux vecteurs"); // ... } ;