Skip to content
This repository was archived by the owner on Oct 18, 2023. It is now read-only.

Commit d7f4444

Browse files
committed
Stripped old artifacts from previous merge
1 parent 8d04229 commit d7f4444

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

cc/macros.h

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -122,15 +122,4 @@ static FF_FUNC_TYPE ff_func = FF_FUNC_TYPE();
122122
Nan::ObjectWrap::Unwrap<clazz>(info.This())->prop = target; \
123123
}
124124

125-
namespace FF {
126-
template<typename toType, typename type>
127-
static inline v8::Local<v8::Array> stdVecToJSArray(std::vector<type> vec) {
128-
v8::Local<v8::Array> jsArray = Nan::New<v8::Array>(vec.size());
129-
for (int i = 0; i < jsArray->Length(); i++) {
130-
jsArray->Set(i, Nan::New((toType)vec.at(i)));
131-
}
132-
return jsArray;
133-
}
134-
}
135-
136125
#endif

0 commit comments

Comments
 (0)