summaryrefslogtreecommitdiff
path: root/_testdoubleloadmodule.cpp
blob: 61deeebcfbb1a90c60fc07cad5a36d737e3fdc26 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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;
}