Public Attributes | List of all members
type_info Struct Reference

#include <internals.h>

Public Attributes

const std::type_info * cpptype
 
void(* dealloc )(value_and_holder &v_h)
 
bool default_holder: 1
 
std::vector< bool(*)(PyObject *, void *&)> * direct_conversions
 
buffer_info *(* get_buffer )(PyObject *, void *) = nullptr
 
void * get_buffer_data = nullptr
 
size_t holder_size_in_ptrs
 
std::vector< std::pair< const std::type_info *, void *(*)(void *)> > implicit_casts
 
std::vector< PyObject *(*)(PyObject *, PyTypeObject *)> implicit_conversions
 
void(* init_instance )(instance *, const void *)
 
bool module_local: 1
 
void *(* module_local_load )(PyObject *, const type_info *) = nullptr
 
void *(* operator_new )(size_t)
 
bool simple_ancestors: 1
 
bool simple_type: 1
 
PyTypeObject * type
 
size_t type_align
 
size_t type_size
 

Detailed Description

Additional type information which does not fit into the PyTypeObject. Changes to this struct also require bumping PYBIND11_INTERNALS_VERSION.

Definition at line 226 of file internals.h.

Member Data Documentation

◆ cpptype

const std::type_info* type_info::cpptype

Definition at line 228 of file internals.h.

◆ dealloc

void(* type_info::dealloc) (value_and_holder &v_h)

Definition at line 232 of file internals.h.

◆ default_holder

bool type_info::default_holder

Definition at line 247 of file internals.h.

◆ direct_conversions

std::vector<bool (*)(PyObject *, void *&)>* type_info::direct_conversions

Definition at line 235 of file internals.h.

◆ get_buffer

buffer_info*(* type_info::get_buffer) (PyObject *, void *) = nullptr

Definition at line 236 of file internals.h.

◆ get_buffer_data

void* type_info::get_buffer_data = nullptr

Definition at line 237 of file internals.h.

◆ holder_size_in_ptrs

size_t type_info::holder_size_in_ptrs

Definition at line 229 of file internals.h.

◆ implicit_casts

std::vector<std::pair<const std::type_info *, void *(*) (void *)> > type_info::implicit_casts

Definition at line 234 of file internals.h.

◆ implicit_conversions

std::vector<PyObject *(*) (PyObject *, PyTypeObject *)> type_info::implicit_conversions

Definition at line 233 of file internals.h.

◆ init_instance

void(* type_info::init_instance) (instance *, const void *)

Definition at line 231 of file internals.h.

◆ module_local

bool type_info::module_local

Definition at line 249 of file internals.h.

◆ module_local_load

void*(* type_info::module_local_load) (PyObject *, const type_info *) = nullptr

Definition at line 238 of file internals.h.

◆ operator_new

void*(* type_info::operator_new) (size_t)

Definition at line 230 of file internals.h.

◆ simple_ancestors

bool type_info::simple_ancestors

Definition at line 245 of file internals.h.

◆ simple_type

bool type_info::simple_type

Definition at line 243 of file internals.h.

◆ type

PyTypeObject* type_info::type

Definition at line 227 of file internals.h.

◆ type_align

size_t type_info::type_align

Definition at line 229 of file internals.h.

◆ type_size

size_t type_info::type_size

Definition at line 229 of file internals.h.


The documentation for this struct was generated from the following file:


gtsam
Author(s):
autogenerated on Sat Jun 1 2024 03:09:01