00001 // 00002 // Copyright 2010 CNRS 00003 // 00004 // Author: Florent Lamiraux 00005 // 00006 // This file is free software: you can redistribute it and/or 00007 // modify it under the terms of the GNU Lesser General Public License 00008 // as published by the Free Software Foundation, either version 3 of 00009 // the License, or (at your option) any later version. 00010 // 00011 // This file is distributed in the hope that it will be useful, but 00012 // WITHOUT ANY WARRANTY; without even the implied warranty of 00013 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00014 // General Lesser Public License for more details. You should have 00015 // received a copy of the GNU Lesser General Public License along with 00016 // this file. If not, see <http://www.gnu.org/licenses/>. 00017 00018 #include <Python.h> 00019 00023 static PyMethodDef functions[] = { 00024 {NULL, NULL, 0, NULL} /* Sentinel */ 00025 }; 00026 00027 PyMODINIT_FUNC 00028 initwrap(void) 00029 { 00030 PyObject *m; 00031 00032 m = Py_InitModule("wrap", functions); 00033 if (m == NULL) 00034 return; 00035 }