Add Type_Info type and add *_type objects at time of type registration.

This commit is contained in:
Jason Turner
2009-11-21 22:47:44 +00:00
parent a0c6366479
commit fbf8f53e04
9 changed files with 75 additions and 13 deletions

View File

@@ -535,6 +535,8 @@ namespace chaiscript
engine.add(fun(&Eval_Engine::type_name, boost::ref(engine)), "type_name");
engine.add(fun(&Eval_Engine::function_exists, boost::ref(engine)), "function_exists");
engine.add(fun(&Eval_Engine::get_type_name, boost::ref(engine)), "name");
typedef void (ChaiScript_System<Eval_Engine>::*load_mod_1)(const std::string&);
typedef void (ChaiScript_System<Eval_Engine>::*load_mod_2)(const std::string&, const std::string&);