Add prototypes for Py_Repr{Enter,Leave}.
(Jeremy will hardly recognize his patch :-)
This commit is contained in:
parent
730806d3d9
commit
26d4ac30be
|
@ -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. */
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue