"get_typed_outer(self, type: Union[Class, type]) -> Any -- get the first outer object of the given type from this instance (if any)"},{"get_outermost",PyCFunctionCast(&FMethods::GetOutermost),METH_NOARGS,"get_outermost(self) -> Package -- get the outermost object (the package) fr...
"get_typed_outer(self, type: Union[Class, type]) -> Any -- get the first outer object of the given type from this instance (if any)"},{"get_outermost",PyCFunctionCast(&FMethods::GetOutermost),METH_NOARGS,"get_outermost(self) -> Package -- get the outermost object (the package) fr...
We read every piece of feedback, and take your input very seriously. Include my email address so I can be contacted Cancel Submit feedback Saved searches Use saved searches to filter your results more quickly Cancel Create saved search Sign in Sign up Reseting focus {...
We read every piece of feedback, and take your input very seriously. Include my email address so I can be contacted Cancel Submit feedback Saved searches Use saved searches to filter your results more quickly Cancel Create saved search Sign in Sign up Reseting focus {...
// init() is a convenience function that takes the types of a constructor’s parameters as template arguments and wraps the corresponding constructor .def(py::init<conststd::string&>()) .def("setName",&Pet::setName) .def("getName",&Pet::getName) ...
pybind11 uses C++11 move constructors and move assignment operators whenever possible to efficiently transfer custom data types. It's easy to expose the internal storage of custom data types through Pythons' buffer protocols. This is handy e.g. for fast conversion between C++ matrix classes like...
pybind11 uses C++11 move constructors and move assignment operators whenever possible to efficiently transfer custom data types. It's easy to expose the internal storage of custom data types through Pythons' buffer protocols. This is handy e.g. for fast conversion between C++ matrix classes like...
ThecapsuleAPI gained a user-friendly constructor (py::capsule(ptr, "name", dtor)).#4720 Changes: PyGILState_Check()'s inpybind11::handle'sinc_ref()&dec_ref()are now enabled by default again.#4246 py::initialize_interpreter()usingPyConfig_InitPythonConfig()instead ofPyConfig_InitIsolatedConf...
We read every piece of feedback, and take your input very seriously. Include my email address so I can be contacted Cancel Submit feedback Saved searches Use saved searches to filter your results more quickly Cancel Create saved search Sign in Sign up Reseting focus {...
object() = default; PYBIND11_DEPRECATED("Use reinterpret_borrow() or reinterpret_steal()") object(handle h, bool is_borrowed) : handle(h) { if (is_borrowed) inc_ref(); } /// Copy constructor; always increases the reference count object(const object &o) : handle(o) { inc_ref();...