Rename types_match to call_match in Proxy_Function to more closely match the semantics of the call

This commit is contained in:
Jason Turner
2009-08-06 01:35:12 +00:00
parent ba6b392174
commit 0ff107a818
3 changed files with 11 additions and 12 deletions

View File

@@ -94,7 +94,7 @@ namespace chaiscript
return std::vector<Type_Info>();
}
virtual bool types_match(const std::vector<Boxed_Value> &types) const
virtual bool call_match(const std::vector<Boxed_Value> &vals) const
{
typedef std::vector<std::pair<std::string, Proxy_Function > > function_vec;
@@ -103,7 +103,7 @@ namespace chaiscript
while (begin != end)
{
if (begin->second->types_match(types))
if (begin->second->call_match(vals))
{
return true;
} else {