| 134 | } |
| 135 | |
| 136 | class_rep* class_registry::find_class(type_id const& info) const |
| 137 | { |
| 138 | std::map<type_id, class_rep*>::const_iterator i( |
| 139 | m_classes.find(info)); |
| 140 | |
| 141 | if (i == m_classes.end()) return 0; // the type is not registered |
| 142 | return i->second; |
| 143 | } |
| 144 | |
| 145 | }} // namespace luabind::detail |
no test coverage detected