diff options
Diffstat (limited to 'src/qml/jsruntime/qv4engine_p.h')
-rw-r--r-- | src/qml/jsruntime/qv4engine_p.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/qml/jsruntime/qv4engine_p.h b/src/qml/jsruntime/qv4engine_p.h index 4316967484..8e5108b399 100644 --- a/src/qml/jsruntime/qv4engine_p.h +++ b/src/qml/jsruntime/qv4engine_p.h @@ -157,6 +157,11 @@ public: QV8Engine *v8Engine; QJSEngine *publicEngine; +private: + int stringOrSymbolId = 0; +public: + int nextStringOrSymbolId() { return ++stringOrSymbolId; } + enum JSObjects { RootContext, IntegerNull, // Has to come after the RootContext to make the context stack safe |