Add Arguments.Length method.

This commit is contained in:
Cheng Zhao 2014-04-22 15:57:11 +08:00
parent 9cc90ac7d5
commit d950fe3736

View file

@ -60,6 +60,10 @@ class Arguments {
return info_->This();
}
int Length() const {
return info_->Length();
}
#if NODE_VERSION_AT_LEAST(0, 11, 0)
template<typename T>
void Return(T val) {