Add loadable module support for ms Visual C++ and fix visual studio specific type identification problems, (while making the C++ more correct)

This commit is contained in:
Jason Turner
2009-09-07 17:05:57 +00:00
parent 7e3127549f
commit 798908f127
10 changed files with 347 additions and 12 deletions

View File

@@ -181,7 +181,7 @@ namespace chaiscript
// Both t and t.x share the same memory location, but do not represent
// objects of the same type.
if (itr != m_ptrs.end()
&& itr->second.m_type_info.m_bare_type_info == data->m_type_info.m_bare_type_info)
&& type_info_bare_equals(itr->second.m_type_info, data->m_type_info))
{
(*data) = (itr->second);
}