diff options
Diffstat (limited to 'src/qml/jsruntime/qv4typedarray_p.h')
-rw-r--r-- | src/qml/jsruntime/qv4typedarray_p.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qml/jsruntime/qv4typedarray_p.h b/src/qml/jsruntime/qv4typedarray_p.h index 6c9bcfbba4..78949226b8 100644 --- a/src/qml/jsruntime/qv4typedarray_p.h +++ b/src/qml/jsruntime/qv4typedarray_p.h @@ -43,7 +43,7 @@ namespace QV4 { struct ArrayBuffer; typedef ReturnedValue (*TypedArrayRead)(const char *data, int index); -typedef void (*TypedArrayWrite)(ExecutionEngine *engine, char *data, int index, ValueRef value); +typedef void (*TypedArrayWrite)(ExecutionEngine *engine, char *data, int index, const Value &value); struct TypedArrayOperations { int bytesPerElement; @@ -101,7 +101,7 @@ struct TypedArray : Object static void markObjects(Heap::Base *that, ExecutionEngine *e); static ReturnedValue getIndexed(Managed *m, uint index, bool *hasProperty); - static void putIndexed(Managed *m, uint index, const ValueRef value); + static void putIndexed(Managed *m, uint index, const Value &value); }; struct TypedArrayCtor: FunctionObject |