Searched refs:foreign_typeinfo (Results 1 – 1 of 1) sorted by relevance
643 type_info *foreign_typeinfo = reinterpret_borrow<capsule>(getattr(pytype, local_key)); in try_load_foreign_module_local() local645 if (foreign_typeinfo->module_local_load == &local_load in try_load_foreign_module_local()646 || (cpptype && !same_type(*cpptype, *foreign_typeinfo->cpptype))) in try_load_foreign_module_local()649 if (auto result = foreign_typeinfo->module_local_load(src.ptr(), foreign_typeinfo)) { in try_load_foreign_module_local()