mirror of
https://github.com/pybind/pybind11.git
synced 2025-01-20 01:42:37 +00:00
Merge branch 'master' into smart_holder
This commit is contained in:
commit
eac697f009
@ -333,7 +333,7 @@ inline bool raise_err(PyObject *exc_type, const char *msg) {
|
|||||||
#endif
|
#endif
|
||||||
PyErr_SetString(exc_type, msg);
|
PyErr_SetString(exc_type, msg);
|
||||||
return false;
|
return false;
|
||||||
};
|
}
|
||||||
|
|
||||||
inline void translate_exception(std::exception_ptr p) {
|
inline void translate_exception(std::exception_ptr p) {
|
||||||
if (!p) {
|
if (!p) {
|
||||||
|
Loading…
Reference in New Issue
Block a user