22 #include "pybind11/pybind11.h" 39 mod.def(
"isEnabled", [&backtrace]() ->
bool {
return backtrace.
isEnabled(); });
void wrap(WrapperCallback function)
Add a set of wrappers without defining a class.
A base class for image defects.
Singleton, enables automatic backtraces on the following signals:
bool const isEnabled() const noexcept
static Backtrace & get() noexcept
Get a reference to the singleton.
A helper class for subdividing pybind11 module across multiple translation units (i.e.
void wrapBacktrace(python::WrapperCollection &wrappers)