--------- warning --------- Raise a warning exception. This causes a 'RuntimeWarning' but allows the script to continue.
| 84 | // to continue. |
| 85 | // |
| 86 | void PyUtilApiFunction::warning(std::string msg) |
| 87 | { |
| 88 | Py_ssize_t stack_level = 1; |
| 89 | auto emsg = this->msgp + msg; |
| 90 | PyErr_WarnEx(nullptr, emsg.c_str(), stack_level); |
| 91 | } |
| 92 | |
| 93 | |
| 94 | //--------------------- |
no test coverage detected