Cleanup some of the casting code
authorLars Knoll <lars.knoll@theqtcompany.com>
Fri, 13 Feb 2015 09:02:28 +0000 (10:02 +0100)
committerLars Knoll <lars.knoll@digia.com>
Fri, 20 Mar 2015 11:17:11 +0000 (11:17 +0000)
commit7b7297470cde5645b2ea1db4cec7ac4bec87c1a3
treef6649d82123938b4ea79ebc9726480368af65335
parent4e3fef5528587c3a360c7e8057ad8d9328f9e4cc
Cleanup some of the casting code

Get rid of value_cast, and move the Managed::as()
method into Value.

Change-Id: I440ac44ae77f4fda1a8a837383fe631f432f6532
Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
17 files changed:
src/qml/jsruntime/qv4arraydata.cpp
src/qml/jsruntime/qv4arraydata_p.h
src/qml/jsruntime/qv4booleanobject.cpp
src/qml/jsruntime/qv4engine.cpp
src/qml/jsruntime/qv4errorobject_p.h
src/qml/jsruntime/qv4functionobject_p.h
src/qml/jsruntime/qv4global_p.h
src/qml/jsruntime/qv4internalclass_p.h
src/qml/jsruntime/qv4managed.cpp
src/qml/jsruntime/qv4managed_p.h
src/qml/jsruntime/qv4object_p.h
src/qml/jsruntime/qv4qobjectwrapper.cpp
src/qml/jsruntime/qv4scopedvalue_p.h
src/qml/jsruntime/qv4serialize.cpp
src/qml/jsruntime/qv4value_inl_p.h
src/qml/jsruntime/qv4value_p.h
src/qml/memory/qv4heap_p.h