diff options
Diffstat (limited to 'src/qml/jsruntime/qv4symbol_p.h')
-rw-r--r-- | src/qml/jsruntime/qv4symbol_p.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/qml/jsruntime/qv4symbol_p.h b/src/qml/jsruntime/qv4symbol_p.h index c33833a971..6ff60d22db 100644 --- a/src/qml/jsruntime/qv4symbol_p.h +++ b/src/qml/jsruntime/qv4symbol_p.h @@ -65,7 +65,7 @@ struct SymbolCtor : FunctionObject { }; struct Symbol : StringOrSymbol { - void init(Heap::String *description); + void init(const QString &s); }; } @@ -95,6 +95,8 @@ struct Symbol : StringOrSymbol V4_INTERNALCLASS(Symbol) V4_NEEDS_DESTROY + static Heap::Symbol *create(ExecutionEngine *e, const QString &s); + QString descriptiveString() const; }; |