Author: Manuel Jacob <m...@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 _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit