diff options
Diffstat (limited to 'src/qml/jsruntime/qv4global_p.h')
-rw-r--r-- | src/qml/jsruntime/qv4global_p.h | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/src/qml/jsruntime/qv4global_p.h b/src/qml/jsruntime/qv4global_p.h index 8e091fd80e..d06ab86593 100644 --- a/src/qml/jsruntime/qv4global_p.h +++ b/src/qml/jsruntime/qv4global_p.h @@ -357,11 +357,14 @@ struct PropertyAttributes } }; -struct StackFrame { - QString source; - QString function; - int line; - int column; +struct Q_QML_EXPORT StackFrame { + StackFrame *parent; + Function *v4Function; + int line = -1; + int column = -1; + + QString source() const; + QString function() const; }; typedef QVector<StackFrame> StackTrace; |