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

@@ -92,9 +92,9 @@ namespace chaiscript
const Type_Info &ti = types[1];
if (!ti.m_bare_type_info || !(vals[0].get_type_info().m_bare_type_info)
|| (*ti.m_bare_type_info) == (*user_type<Boxed_Value>().m_bare_type_info)
|| (*ti.m_bare_type_info) == (*user_type<Boxed_POD_Value>().m_bare_type_info)
|| (*vals[0].get_type_info().m_bare_type_info) == (*ti.m_bare_type_info))
|| type_info_bare_equals(ti, user_type<Boxed_Value>())
|| type_info_bare_equals(ti, user_type<Boxed_POD_Value>())
|| type_info_bare_equals(vals[0].get_type_info(), ti))
{
return true;
} else {