5 #ifndef __pinocchio_python_utils_registration_hpp__
6 #define __pinocchio_python_utils_registration_hpp__
19 if (eigenpy::check_registration<T>())
21 const bp::type_info
info = bp::type_id<T>();
22 const bp::converter::registration * reg = bp::converter::registry::query(
info);
23 bp::handle<> class_obj(bp::borrowed(reg->get_class_object()));
24 bp::scope().attr(reg->get_class_object()->tp_name) = bp::object(class_obj);
34 #endif // ifndef __pinocchio_python_utils_registration_hpp__