From 30e9097985656920f01a72efc1088caa2b8d41b3 Mon Sep 17 00:00:00 2001 From: bertagaz Date: Tue, 14 Jun 2011 15:26:19 +0200 Subject: Imported Upstream version 0.5.29 --- _testdoubleloadmodule.cpp | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 _testdoubleloadmodule.cpp (limited to '_testdoubleloadmodule.cpp') 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 + +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; +} + -- cgit v1.2.3