Since v2.2.0 V8 has changed in a way so that my addon would no longer compile.
This would work previously:
Local<Object> obj = args[0].As<Object>();
if (obj->HasIndexedPropertiesInExternalArrayData()) {
arr_data_structure_length = obj->GetIndexedPropertiesExternalArrayDataLength();
arr = static_cast<double*>(obj->GetIndexedPropertiesExternalArrayData());
}
Now I get errors such as
error C2039: 'HasIndexedPropertiesInExternalArrayData' : is not a member of 'v8::Object'
error C2039: 'GetIndexedPropertiesExternalArrayDataLength' : is not a member of 'v8::Object'
error C2039: 'GetIndexedPropertiesExternalArrayData' : is not a member of 'v8::Object'
How should it be done now?