12#include "detail/common.h"
19 options() : previous_state(global_state()) {}
26 ~options() { global_state() = previous_state; }
53 return global_state().show_user_defined_docstrings;
63 bool show_user_defined_docstrings =
true;
64 bool show_function_signatures =
true;
options(const options &)=delete
options & disable_function_signatures() &
options & enable_function_signatures() &
options & operator=(const options &)=delete
options & disable_user_defined_docstrings() &
static state & global_state()
static bool show_function_signatures()
static bool show_user_defined_docstrings()
options & enable_user_defined_docstrings() &
#define PYBIND11_NAMESPACE_END(name)
#define PYBIND11_NAMESPACE_BEGIN(name)
The 'instance' type which needs to be standard layout (need to be able to use 'offsetof')