mirror of
https://github.com/status-im/realm-js.git
synced 2025-01-27 06:44:56 +00:00
Use RJSVerifiedArray inside ArrayPropertyNames
This commit is contained in:
parent
70ee822f19
commit
1822b0a2d6
@ -74,7 +74,7 @@ JSValueRef ArrayGetProperty(JSContextRef ctx, JSObjectRef object, JSStringRef pr
|
||||
}
|
||||
|
||||
void ArrayPropertyNames(JSContextRef ctx, JSObjectRef object, JSPropertyNameAccumulatorRef propertyNames) {
|
||||
ObjectArray *array = RJSGetInternal<ObjectArray *>(object);
|
||||
ObjectArray *array = RJSVerifiedArray(object);
|
||||
size_t size = array->size();
|
||||
|
||||
char str[32];
|
||||
|
Loading…
x
Reference in New Issue
Block a user