0
我想设置一个数组的Handle<Value>
。我是一个初学者到V8,我无法找到如何设置 当我如做:v8设置句柄<Value> array howto?
Persistent<Context> fcontext
Handle<Value> Arr = Array::New(0);
Persistent<Function> Func;
Handle<Value> result = Func->Call(fcontext->Global(), 0, Arr);
我收到此错误:
error C2664: 'v8::Function::Call' : cannot convert parameter 3 from 'v8::Handle<T>' to 'v8::Handle<T> []'
1> with
1> [
1> T=v8::Value
1> ]
我如何做一个Handle<Value>
的有1个元素的数组?