Add generic vector support and example code for working with

This commit is contained in:
Jason Turner
2009-06-07 15:54:07 +00:00
parent 0ae57833aa
commit 2fa615974c
6 changed files with 54 additions and 1 deletions

View File

@@ -124,6 +124,11 @@ class BoxedCPP_System
Type_Name_Map m_types;
};
void dump_object(Boxed_Value o)
{
std::cout << o.get_type_info().m_type_info->name() << std::endl;
}
void dump_type(const Type_Info &type)
{
std::cout << type.m_bare_type_info->name();