Revamped method for bootstrapping of types, using a new Module class that collects everything related to a type or group of types

This commit is contained in:
Jason Turner
2009-07-19 03:04:46 +00:00
parent 5a5b2929b0
commit a5a1e3ee1b
7 changed files with 616 additions and 486 deletions

View File

@@ -682,6 +682,15 @@ namespace chaiscript
{
return Boxed_Value(t);
}
/**
* Return true if the two Boxed_Value's share the same internal type
*/
static bool type_match(Boxed_Value l, Boxed_Value r)
{
return l.get_type_info() == r.get_type_info();
}
}
#endif