diff options
author | bertagaz <bertagaz@ptitcanardnoir.org> | 2011-06-14 15:26:19 +0200 |
---|---|---|
committer | bertagaz <bertagaz@ptitcanardnoir.org> | 2011-06-14 15:26:19 +0200 |
commit | 30e9097985656920f01a72efc1088caa2b8d41b3 (patch) | |
tree | bedbdb1aaa484af467e538110ab4c0c95985b6b8 /_testdoubleloadmodule.cpp |
Imported Upstream version 0.5.29upstream/0.5.29
Diffstat (limited to '_testdoubleloadmodule.cpp')
-rw-r--r-- | _testdoubleloadmodule.cpp | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/_testdoubleloadmodule.cpp b/_testdoubleloadmodule.cpp new file mode 100644 index 0000000..61deeeb --- /dev/null +++ b/_testdoubleloadmodule.cpp @@ -0,0 +1,23 @@ + +#include <Python.h> + +PyDoc_STRVAR(_testdoubleload__doc__, +"_testdoubleload -- just for testing ticket #9 per ticket #44\n\ +"); + +static PyMethodDef _testdoubleload_functions[] = { + {NULL, NULL, 0, NULL} /* sentinel */ +}; + +#ifndef PyMODINIT_FUNC /* declarations for DLL import/export */ +#define PyMODINIT_FUNC void +#endif +PyMODINIT_FUNC +init_testdoubleload(void) { + PyObject *module; + + module = Py_InitModule3("_testdoubleload", _testdoubleload_functions, _testdoubleload__doc__); + if (!module) + return; +} + |