diff options
author | Suren A. Chilingaryan <csa@suren.me> | 2016-03-03 00:50:59 +0100 |
---|---|---|
committer | Suren A. Chilingaryan <csa@suren.me> | 2016-03-03 00:50:59 +0100 |
commit | 195c28f3074486165b6e0935362810f8a1fb9531 (patch) | |
tree | 56aecf261aaae57e28c08cef573ae6642ec5394d /pcilib/py.h | |
parent | 1e53d2d17e611586030e3ff3e9ab87e5bb753c9b (diff) | |
download | pcitool-195c28f3074486165b6e0935362810f8a1fb9531.tar.gz pcitool-195c28f3074486165b6e0935362810f8a1fb9531.tar.bz2 pcitool-195c28f3074486165b6e0935362810f8a1fb9531.tar.xz pcitool-195c28f3074486165b6e0935362810f8a1fb9531.zip |
Make Python problems non-fatal
Diffstat (limited to 'pcilib/py.h')
-rw-r--r-- | pcilib/py.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pcilib/py.h b/pcilib/py.h index c372a09..128fbb6 100644 --- a/pcilib/py.h +++ b/pcilib/py.h @@ -5,6 +5,7 @@ #include <pcilib/error.h> #define pcilib_python_error(...) pcilib_log_python_error(__FILE__, __LINE__, PCILIB_LOG_DEFAULT, PCILIB_LOG_ERROR, __VA_ARGS__) +#define pcilib_python_warning(...) pcilib_log_python_error(__FILE__, __LINE__, PCILIB_LOG_DEFAULT, PCILIB_LOG_WARNING, __VA_ARGS__) typedef struct pcilib_py_s pcilib_py_t; typedef void pcilib_py_object; |