[pypy-commit] pypy py3k: Fix.
mjacob
noreply at buildbot.pypy.org
Tue Jun 2 22:18:21 CEST 2015
Author: Manuel Jacob <me at manueljacob.de>
Branch: py3k
Changeset: r77791:fbba4b4c3b08
Date: 2015-06-02 22:18 +0200
http://bitbucket.org/pypy/pypy/changeset/fbba4b4c3b08/
Log: Fix.
diff --git a/pypy/module/cpyext/api.py b/pypy/module/cpyext/api.py
--- a/pypy/module/cpyext/api.py
+++ b/pypy/module/cpyext/api.py
@@ -1169,7 +1169,7 @@
raise oefmt(space.w_ImportError,
"function %s not found in library %s", look_for, path)
-initfunctype = lltype.Ptr(lltype.FuncType([], lltype.Void))
+initfunctype = lltype.Ptr(lltype.FuncType([], PyObject))
def load_cpyext_module(space, name, path, dll, initptr):
from rpython.rlib import rdynload
More information about the pypy-commit
mailing list