16 namespace converter = bp::converter;
17 if (eigenpy::register_symbolic_link_to_registered_type<T>()) {
18 const bp::type_info info = bp::type_id<T>();
19 const converter::registration *reg = converter::registry::query(info);
20 bp::object class_obj(bp::handle<>(reg->get_class_object()));
21 bp::enum_<T> &as_enum =
static_cast<bp::enum_<T> &
>(class_obj);
23 as_enum.export_values();