#include <internals.h>
Public Attributes | |
| PyTypeObject * | type |
| const std::type_info * | cpptype |
| size_t | type_size |
| size_t | type_align |
| size_t | holder_size_in_ptrs |
| void *(* | operator_new )(size_t) |
| void(* | init_instance )(instance *, const void *) |
| void(* | dealloc )(value_and_holder &v_h) |
| std::vector< PyObject *(*)(PyObject *, PyTypeObject *)> | implicit_conversions |
| std::vector< std::pair< const std::type_info *, void *(*)(void *)> > | implicit_casts |
| std::vector< bool(*)(PyObject *, void *&)> * | direct_conversions |
| buffer_info *(* | get_buffer )(PyObject *, void *) = nullptr |
| void * | get_buffer_data = nullptr |
| void *(* | module_local_load )(PyObject *, const type_info *) = nullptr |
| bool | simple_type: 1 |
| bool | simple_ancestors: 1 |
| bool | default_holder: 1 |
| bool | module_local: 1 |
Additional type information which does not fit into the PyTypeObject. Changes to this struct also require bumping PYBIND11_INTERNALS_VERSION.
Definition at line 128 of file internals.h.
| const std::type_info* type_info::cpptype |
Definition at line 130 of file internals.h.
| void(* type_info::dealloc) (value_and_holder &v_h) |
Definition at line 134 of file internals.h.
| bool type_info::default_holder |
Definition at line 147 of file internals.h.
| std::vector<bool (*)(PyObject *, void *&)>* type_info::direct_conversions |
Definition at line 137 of file internals.h.
| buffer_info*(* type_info::get_buffer) (PyObject *, void *) = nullptr |
Definition at line 138 of file internals.h.
| void* type_info::get_buffer_data = nullptr |
Definition at line 139 of file internals.h.
| size_t type_info::holder_size_in_ptrs |
Definition at line 131 of file internals.h.
| std::vector<std::pair<const std::type_info *, void *(*)(void *)> > type_info::implicit_casts |
Definition at line 136 of file internals.h.
| std::vector<PyObject *(*)(PyObject *, PyTypeObject *)> type_info::implicit_conversions |
Definition at line 135 of file internals.h.
| void(* type_info::init_instance) (instance *, const void *) |
Definition at line 133 of file internals.h.
| bool type_info::module_local |
Definition at line 149 of file internals.h.
| void*(* type_info::module_local_load) (PyObject *, const type_info *) = nullptr |
Definition at line 140 of file internals.h.
| void*(* type_info::operator_new) (size_t) |
Definition at line 132 of file internals.h.
| bool type_info::simple_ancestors |
Definition at line 145 of file internals.h.
| bool type_info::simple_type |
Definition at line 143 of file internals.h.
| PyTypeObject* type_info::type |
Definition at line 129 of file internals.h.
| size_t type_info::type_align |
Definition at line 131 of file internals.h.
| size_t type_info::type_size |
Definition at line 131 of file internals.h.
1.8.19