Add prototypes for Py_Repr{Enter,Leave}.

(Jeremy will hardly recognize his patch :-)
This commit is contained in:
Guido van Rossum 1998-04-10 22:32:24 +00:00
parent 730806d3d9
commit 26d4ac30be
1 changed files with 4 additions and 0 deletions

View File

@ -276,6 +276,10 @@ extern int PyCallable_Check Py_PROTO((PyObject *));
extern int PyNumber_Coerce Py_PROTO((PyObject **, PyObject **)); extern int PyNumber_Coerce Py_PROTO((PyObject **, PyObject **));
extern int PyNumber_CoerceEx Py_PROTO((PyObject **, PyObject **)); extern int PyNumber_CoerceEx Py_PROTO((PyObject **, PyObject **));
/* Helpers for printing recursive container types */
extern int Py_ReprEnter Py_PROTO((PyObject *));
extern void Py_ReprLeave Py_PROTO((PyObject *));
/* Flag bits for printing: */ /* Flag bits for printing: */
#define Py_PRINT_RAW 1 /* No string quotes etc. */ #define Py_PRINT_RAW 1 /* No string quotes etc. */