elimination of unused / outdated code and documentation cleanups.

This commit is contained in:
Jason Turner
2011-03-26 22:42:11 -06:00
parent 87c29ebc91
commit bbe89e61bc
9 changed files with 131 additions and 63 deletions

View File

@@ -511,19 +511,6 @@ namespace chaiscript
}
/**
* Helper for calling script code as if it were native C++ code
* example:
* boost::function<int (int, int)> f = build_functor(chai, "func(x, y){x+y}");
* \return a boost::function representing the passed in script
* \param[in] script Script code to build a function from
*/
template<typename FunctionType>
boost::function<FunctionType> functor(const std::string &t_script)
{
return chaiscript::dispatch::functor<FunctionType>(eval(t_script));
}
/**
* Evaluate a string via eval method
*/