diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/qml/jsruntime/qv4value_inl_p.h | 18 | ||||
-rw-r--r-- | src/qml/jsruntime/qv4value_p.h | 18 |
2 files changed, 18 insertions, 18 deletions
diff --git a/src/qml/jsruntime/qv4value_inl_p.h b/src/qml/jsruntime/qv4value_inl_p.h index d1508285f3..9297f2ceda 100644 --- a/src/qml/jsruntime/qv4value_inl_p.h +++ b/src/qml/jsruntime/qv4value_inl_p.h @@ -45,24 +45,6 @@ QT_BEGIN_NAMESPACE namespace QV4 { -inline bool Value::isString() const -{ - if (!isManaged()) - return false; - return m && m->vtable->isString; -} -inline bool Value::isObject() const -{ - if (!isManaged()) - return false; - return m && m->vtable->isObject; -} - -inline bool Value::isPrimitive() const -{ - return !isObject(); -} - inline void Value::mark(ExecutionEngine *e) { if (!val) diff --git a/src/qml/jsruntime/qv4value_p.h b/src/qml/jsruntime/qv4value_p.h index 7f09fc73ce..ae1e8fbd32 100644 --- a/src/qml/jsruntime/qv4value_p.h +++ b/src/qml/jsruntime/qv4value_p.h @@ -371,6 +371,24 @@ struct Q_QML_PRIVATE_EXPORT Value } }; +inline bool Value::isString() const +{ + if (!isManaged()) + return false; + return m && m->vtable->isString; +} +inline bool Value::isObject() const +{ + if (!isManaged()) + return false; + return m && m->vtable->isObject; +} + +inline bool Value::isPrimitive() const +{ + return !isObject(); +} + struct Q_QML_PRIVATE_EXPORT Primitive : public Value { |