Lines Matching defs:tinfo

254                 if (auto tinfo = detail::get_type_info(*t)) {
255 handle th((PyObject *) tinfo->type);
439 const auto tinfo = get_type_info((PyTypeObject *) overloads->scope.ptr());
441 self_value_and_holder = pi->get_value_and_holder(tinfo, false);
904 auto *tinfo = new detail::type_info();
905 tinfo->type = (PyTypeObject *) m_ptr;
906 tinfo->cpptype = rec.type;
907 tinfo->type_size = rec.type_size;
908 tinfo->type_align = rec.type_align;
909 tinfo->operator_new = rec.operator_new;
910 tinfo->holder_size_in_ptrs = size_in_ptrs(rec.holder_size);
911 tinfo->init_instance = rec.init_instance;
912 tinfo->dealloc = rec.dealloc;
913 tinfo->simple_type = true;
914 tinfo->simple_ancestors = true;
915 tinfo->default_holder = rec.default_holder;
916 tinfo->module_local = rec.module_local;
920 tinfo->direct_conversions = &internals.direct_conversions[tindex];
922 registered_local_types_cpp()[tindex] = tinfo;
924 internals.registered_types_cpp[tindex] = tinfo;
925 internals.registered_types_py[(PyTypeObject *) m_ptr] = { tinfo };
928 mark_parents_nonsimple(tinfo->type);
929 tinfo->simple_ancestors = false;
933 tinfo->simple_ancestors = parent_tinfo->simple_ancestors;
938 tinfo->module_local_load = &type_caster_generic::local_load;
939 setattr(m_ptr, PYBIND11_MODULE_LOCAL_ID, capsule(tinfo));
958 auto tinfo = detail::get_type_info(&type->ht_type);
963 std::string(tinfo->type->tp_name) +
967 tinfo->get_buffer = get_buffer;
968 tinfo->get_buffer_data = get_buffer_data;
1605 auto tinfo = all_type_info(Py_TYPE(nurse.ptr()));
1606 if (!tinfo.empty()) {
1759 if (auto tinfo = detail::get_type_info(typeid(OutputType)))
1760 tinfo->implicit_conversions.push_back(implicit_caster);
2090 auto tinfo = detail::get_type_info(typeid(T));
2091 return tinfo ? get_type_overload(this_ptr, tinfo, name) : function();