diff --git a/llvmpy/gen/gen.py b/llvmpy/gen/gen.py index cd63b68..bb408a1 100644 --- a/llvmpy/gen/gen.py +++ b/llvmpy/gen/gen.py @@ -9,7 +9,7 @@ extern "C" { #if (PY_MAJOR_VERSION >= 3) -PyObject * +PyMODINIT_FUNC PyInit_%(module)s(void) { PyObject *module = create_python_module("%(module)s", meth_%(ns)s);