19 options() : previous_state(global_state()) {}
22 options(
const options &) =
delete;
23 options &operator=(
const options &) =
delete;
26 ~options() { global_state() = previous_state; }
53 return global_state().show_user_defined_docstrings;
59 void *
operator new(
size_t) =
delete;
63 bool show_user_defined_docstrings =
true;
64 bool show_function_signatures =
true;
options & disable_user_defined_docstrings() &
options & disable_function_signatures() &
options & enable_user_defined_docstrings() &
#define PYBIND11_NAMESPACE
The 'instance' type which needs to be standard layout (need to be able to use 'offsetof') ...
idx_t idx_t idx_t idx_t idx_t idx_t idx_t real_t real_t idx_t * options
options & enable_function_signatures() &
static bool show_function_signatures()
static state & global_state()
static bool show_user_defined_docstrings()
#define PYBIND11_NAMESPACE_END(name)
#define PYBIND11_NAMESPACE_BEGIN(name)