HepMC3 event record library
Data Fields
type_info Struct Reference

#include <internals.h>

+ Collaboration diagram for type_info:

Data Fields

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
 

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 128 of file internals.h.


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