typed arrays: alias method subarray() to slice()

pull/22966/head
Ben Noordhuis 2011-07-26 23:38:25 +02:00
parent 7cab4d6870
commit 83b211ecb2
1 changed files with 1 additions and 0 deletions

View File

@ -152,6 +152,7 @@ class TypedArray {
static BatchedMethods methods[] = {
{ "set", &TypedArray<TBytes, TEAType>::set },
{ "slice", &TypedArray<TBytes, TEAType>::subarray },
{ "subarray", &TypedArray<TBytes, TEAType>::subarray },
};