diff options
Diffstat (limited to 'src/qml/jsruntime/qv4context_p.h')
-rw-r--r-- | src/qml/jsruntime/qv4context_p.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/qml/jsruntime/qv4context_p.h b/src/qml/jsruntime/qv4context_p.h index d368dc6c81..2535161713 100644 --- a/src/qml/jsruntime/qv4context_p.h +++ b/src/qml/jsruntime/qv4context_p.h @@ -143,6 +143,10 @@ struct Q_QML_EXPORT ExecutionContext ReturnedValue getPropertyAndBase(const StringRef name, ObjectRef base); bool deleteProperty(const StringRef name); + // Can only be called from within catch(...), rethrows if no JS exception. + ReturnedValue catchException(StackTrace *trace = 0); + void Q_NORETURN rethrowException(); + void mark(); inline CallContext *asCallContext(); |