For some weird reason the linker refused to export the symbol from
libQt5Qml for me.
Change-Id: Ic5ff0f6ac9665f3bd652c76503cb1d5201d2952b
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
return std::signbit(number) ? -v : v;
}
+String *Value::toString(ExecutionContext *ctx) const
+{
+ if (isString())
+ return stringValue();
+ return __qmljs_convert_to_string(ctx, *this);
+}
+
Value Value::property(ExecutionContext *ctx, String *name) const
{
return isObject() ? objectValue()->get(ctx, name) : undefinedValue();
}
}
-inline String *Value::toString(ExecutionContext *ctx) const
-{
- if (isString())
- return stringValue();
- return __qmljs_convert_to_string(ctx, *this);
-}
-
inline Object *Value::toObject(ExecutionContext *ctx) const
{
if (isObject())