summaryrefslogtreecommitdiff
path: root/_testdoubleloadmodule.cpp
diff options
context:
space:
mode:
authorbertagaz <bertagaz@ptitcanardnoir.org>2011-06-14 15:26:19 +0200
committerbertagaz <bertagaz@ptitcanardnoir.org>2011-06-14 15:26:19 +0200
commit30e9097985656920f01a72efc1088caa2b8d41b3 (patch)
treebedbdb1aaa484af467e538110ab4c0c95985b6b8 /_testdoubleloadmodule.cpp
Imported Upstream version 0.5.29upstream/0.5.29
Diffstat (limited to '_testdoubleloadmodule.cpp')
-rw-r--r--_testdoubleloadmodule.cpp23
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;
+}
+