aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4context_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/qml/jsruntime/qv4context_p.h')
-rw-r--r--src/qml/jsruntime/qv4context_p.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/qml/jsruntime/qv4context_p.h b/src/qml/jsruntime/qv4context_p.h
index fe10e33c5e..0c3b189401 100644
--- a/src/qml/jsruntime/qv4context_p.h
+++ b/src/qml/jsruntime/qv4context_p.h
@@ -54,6 +54,7 @@ struct ExecutionEngine;
struct DeclarativeEnvironment;
struct Lookup;
struct Function;
+struct ValueRef;
namespace CompiledData {
struct CompilationUnit;
@@ -129,22 +130,22 @@ struct Q_QML_EXPORT ExecutionContext
void createMutableBinding(String *name, bool deletable);
- void Q_NORETURN throwError(const Value &value);
+ void Q_NORETURN throwError(const QV4::ValueRef value);
void Q_NORETURN throwError(const QString &message);
void Q_NORETURN throwSyntaxError(const QString &message);
void Q_NORETURN throwSyntaxError(const QString &message, const QString &fileName, int line, int column);
void Q_NORETURN throwTypeError();
void Q_NORETURN throwTypeError(const QString &message);
- void Q_NORETURN throwReferenceError(Value value);
+ void Q_NORETURN throwReferenceError(const ValueRef value);
void Q_NORETURN throwReferenceError(const QString &value, const QString &fileName, int line, int column);
void Q_NORETURN throwRangeError(Value value);
void Q_NORETURN throwURIError(Value msg);
void Q_NORETURN throwUnimplemented(const QString &message);
void setProperty(String *name, const Value &value);
- Value getProperty(String *name);
- Value getPropertyNoThrow(String *name);
- Value getPropertyAndBase(String *name, Object **base);
+ ReturnedValue getProperty(String *name);
+ ReturnedValue getPropertyNoThrow(String *name);
+ ReturnedValue getPropertyAndBase(String *name, Object **base);
bool deleteProperty(String *name);
inline Value argument(unsigned int index = 0);