diff options
author | Kent Hansen <kent.hansen@nokia.com> | 2012-08-13 09:47:43 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-08-14 08:29:21 +0200 |
commit | b0c4e816e6da2c09593cf8de2f563093947ebdaf (patch) | |
tree | 50659e7b5e8689af5d4a6cf4dd55ff75e54ce36b /src/script/api/qscriptcontext.cpp | |
parent | d1cf1cc364463c196dfc99f04328755a67476569 (diff) | |
download | qtscript-b0c4e816e6da2c09593cf8de2f563093947ebdaf.tar.gz |
Add default conversion for types long and ulong
Such conversion is not guaranteed to be lossless on all platforms,
but it's still reasonable to support these types by default.
JSC::JSValue already had constructors for them.
The type matching / overload resolution in the QObject binding
already handled long and ulong, but the value conversion itself
was missing, for some reason.
Task-number: QTBUG-2124
Change-Id: I14ff29a8e949403234b7659c0aca8b48bcdbda0e
Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
Diffstat (limited to 'src/script/api/qscriptcontext.cpp')
0 files changed, 0 insertions, 0 deletions