summaryrefslogtreecommitdiffstats
path: root/src/script/qscriptvalueimplfwd_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/script/qscriptvalueimplfwd_p.h')
-rw-r--r--src/script/qscriptvalueimplfwd_p.h21
1 files changed, 11 insertions, 10 deletions
diff --git a/src/script/qscriptvalueimplfwd_p.h b/src/script/qscriptvalueimplfwd_p.h
index c30b32a..5a98bf0 100644
--- a/src/script/qscriptvalueimplfwd_p.h
+++ b/src/script/qscriptvalueimplfwd_p.h
@@ -88,6 +88,17 @@ public:
StringTypeHint
};
+ QScript::Type m_type;
+ union {
+ bool m_bool_value;
+ int m_int_value;
+ qsreal m_number_value;
+ void *m_ptr_value;
+ QScriptObject *m_object_value;
+ QScriptNameIdImpl *m_string_value;
+ QString *m_lazy_string_value;
+ };
+
inline QScriptValueImpl();
inline QScriptValueImpl(QScriptValue::SpecialValue val);
inline QScriptValueImpl(bool val);
@@ -218,16 +229,6 @@ public:
bool detectedCycle() const;
- QScript::Type m_type;
- union {
- bool m_bool_value;
- int m_int_value;
- qsreal m_number_value;
- void *m_ptr_value;
- QScriptObject *m_object_value;
- QScriptNameIdImpl *m_string_value;
- QString *m_lazy_string_value;
- };
};
QT_END_NAMESPACE