7 PyAPI_FUNC(void) _PyWarnings_Init(void);
9 PyAPI_FUNC(int) PyErr_WarnEx(PyObject
*, const char *, Py_ssize_t
);
10 PyAPI_FUNC(int) PyErr_WarnExplicit(PyObject
*, const char *, const char *, int,
11 const char *, PyObject
*);
12 PyAPI_FUNC(int) PyErr_WarnPy3k(const char *, Py_ssize_t
);
14 /* DEPRECATED: Use PyErr_WarnEx() instead. */
15 #define PyErr_Warn(category, msg) PyErr_WarnEx(category, msg, 1)
20 #endif /* !Py_WARNINGS_H */