]>
git.proxmox.com Git - mirror_edk2.git/blob - AppPkg/Applications/Python/Python-2.7.10/Include/warnings.h
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
*);
13 #define PyErr_WarnPy3k(msg, stacklevel) \
14 (Py_Py3kWarningFlag ? PyErr_WarnEx(PyExc_DeprecationWarning, msg, stacklevel) : 0)
16 /* DEPRECATED: Use PyErr_WarnEx() instead. */
17 #define PyErr_Warn(category, msg) PyErr_WarnEx(category, msg, 1)
22 #endif /* !Py_WARNINGS_H */