[pypy-commit] pypy py3.6: export function from dll

mattip pypy.commits at gmail.com
Fri Nov 23 17:02:27 EST 2018


Author: Matti Picus <matti.picus at gmail.com>
Branch: py3.6
Changeset: r95359:e999d9a3df93
Date: 2018-11-23 15:47 -0600
http://bitbucket.org/pypy/pypy/changeset/e999d9a3df93/

Log:	export function from dll

diff --git a/pypy/module/cpyext/include/pyerrors.h b/pypy/module/cpyext/include/pyerrors.h
--- a/pypy/module/cpyext/include/pyerrors.h
+++ b/pypy/module/cpyext/include/pyerrors.h
@@ -17,6 +17,7 @@
 PyAPI_FUNC(PyObject *) PyErr_NewException(const char *name, PyObject *base, PyObject *dict);
 PyAPI_FUNC(PyObject *) PyErr_NewExceptionWithDoc(const char *name, const char *doc, PyObject *base, PyObject *dict);
 PyAPI_FUNC(PyObject *) PyErr_Format(PyObject *exception, const char *format, ...);
+PyAPI_FUNC(PyObject *) _PyErr_FormatFromCause(PyObject *exception, const char *format, ...);
 
 /* These APIs aren't really part of the error implementation, but
    often needed to format error messages; the native C lib APIs are


More information about the pypy-commit mailing list