[Bug #528914] PyTraceBack_Store/Fetch were deleted in 1997, but their

prototypes remain.  Noted by Yakov Markovitch.

Bugfix candidate.
This commit is contained in:
Andrew M. Kuchling 2002-03-19 16:02:35 +00:00
parent 4e732dc66a
commit 913b9078cf
1 changed files with 1 additions and 3 deletions

View File

@ -10,11 +10,9 @@ extern "C" {
struct _frame;
DL_IMPORT(int) PyTraceBack_Here(struct _frame *);
DL_IMPORT(PyObject *) PyTraceBack_Fetch(void);
DL_IMPORT(int) PyTraceBack_Store(PyObject *);
DL_IMPORT(int) PyTraceBack_Print(PyObject *, PyObject *);
/* Reveale traceback type so we can typecheck traceback objects */
/* Reveal traceback type so we can typecheck traceback objects */
extern DL_IMPORT(PyTypeObject) PyTraceBack_Type;
#define PyTraceBack_Check(v) ((v)->ob_type == &PyTraceBack_Type)