Mercurial > repos > yating-l > jbrowsearchivecreator
comparison test/include/python2.7/warnings.h @ 3:7d1a9a91b989 draft
planemo upload for repository https://github.com/Yating-L/jbrowse-archive-creator.git commit d583ac16a6c6942730ea536eb59cc37941816030-dirty
author | yating-l |
---|---|
date | Thu, 18 May 2017 18:37:28 -0400 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
2:3e2160197902 | 3:7d1a9a91b989 |
---|---|
1 #ifndef Py_WARNINGS_H | |
2 #define Py_WARNINGS_H | |
3 #ifdef __cplusplus | |
4 extern "C" { | |
5 #endif | |
6 | |
7 PyAPI_FUNC(void) _PyWarnings_Init(void); | |
8 | |
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 | |
13 #define PyErr_WarnPy3k(msg, stacklevel) \ | |
14 (Py_Py3kWarningFlag ? PyErr_WarnEx(PyExc_DeprecationWarning, msg, stacklevel) : 0) | |
15 | |
16 /* DEPRECATED: Use PyErr_WarnEx() instead. */ | |
17 #define PyErr_Warn(category, msg) PyErr_WarnEx(category, msg, 1) | |
18 | |
19 #ifdef __cplusplus | |
20 } | |
21 #endif | |
22 #endif /* !Py_WARNINGS_H */ | |
23 |