diff options
author | Lars Knoll <lars.knoll@digia.com> | 2013-05-30 22:57:15 +0200 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@digia.com> | 2013-05-31 07:05:55 +0200 |
commit | 992cf583d4c559027206ef570d623eda95a0ffa3 (patch) | |
tree | 9213d1f1f85dc4082a0780c76b0f3ff4244a351e /src/qml/qml/qqmlvaluetypewrapper_p.h | |
parent | c19817473bb617d8b4663392eaf5d2dea6c71c79 (diff) |
Get rid of v8::UserObjectComparisonCallback
Add a isEqualTo Method to the Managed's vtable, that will be
used for comparing.
Change-Id: I4d253db93851c16a57aa1412fa7142913d1744e6
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/qml/qml/qqmlvaluetypewrapper_p.h')
-rw-r--r-- | src/qml/qml/qqmlvaluetypewrapper_p.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/qml/qml/qqmlvaluetypewrapper_p.h b/src/qml/qml/qqmlvaluetypewrapper_p.h index ca30d006f2..c75556a71b 100644 --- a/src/qml/qml/qqmlvaluetypewrapper_p.h +++ b/src/qml/qml/qqmlvaluetypewrapper_p.h @@ -85,6 +85,7 @@ public: static Value get(Managed *m, ExecutionContext *ctx, String *name, bool *hasProperty); static void put(Managed *m, ExecutionContext *ctx, String *name, const Value &value); static void destroy(Managed *that); + static bool isEqualTo(Managed *m, Managed *other); static QV4::Value method_toString(SimpleCallContext *ctx); |