12 A(
int value) : v{value} {};
18 .def_readwrite(
"value", &A::v);
20 m.
def(
"internals_at", []() {
21 return reinterpret_cast<uintptr_t
>(&py::detail::get_internals());
glibc defines I as a macro which breaks things, e.g., boost template names
PYBIND11_MODULE(external_module, m)
bool typename Extra class_ & def(const char *name_, Func &&f, const Extra &... extra)