NPIdentifier WebBindings::getIntIdentifier(int32_t number) { return _NPN_GetIntIdentifier(number); }
void npObjectIndexedPropertyGetter(uint32_t index, const v8::PropertyCallbackInfo<v8::Value>& info) { NPIdentifier identifier = _NPN_GetIntIdentifier(index); v8SetReturnValue(info, npObjectGetProperty(info.Holder(), identifier, v8::Number::New(index), info.GetIsolate())); }
void npObjectSetIndexedProperty(v8::Local<v8::Object> self, uint32_t index, v8::Local<v8::Value> value, const v8::PropertyCallbackInfo<v8::Value>& info) { NPIdentifier identifier = _NPN_GetIntIdentifier(index); v8SetReturnValue(info, npObjectSetProperty(self, identifier, value, info.GetIsolate())); }
NPIdentifier NPN_GetIntIdentifier(int32_t intid) { return _NPN_GetIntIdentifier(intid); }