diff options
author | Frank Meerkoetter <frank.meerkoetter@basyskom.com> | 2015-08-07 14:22:08 +0200 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@theqtcompany.com> | 2015-08-18 20:26:40 +0000 |
commit | 1b8106bc2516a66c4f721deaf4470da8b805ac3d (patch) | |
tree | 560e5031ec868da8960bea956de8ea0cdd537025 /src/qml/qml/qqmlvmemetaobject_p.h | |
parent | b4427f6abd19f58b53f3e96bcba1de5486b5cbd9 (diff) |
Use QV4::MemberData for property storage
Unlike the Array type the QV4::MemberData can be sized exactly so no
memory is wasted.
Change-Id: Ia7b9b846a7b8017787324e5243ccf6233568d41c
Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
Diffstat (limited to 'src/qml/qml/qqmlvmemetaobject_p.h')
-rw-r--r-- | src/qml/qml/qqmlvmemetaobject_p.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/qml/qml/qqmlvmemetaobject_p.h b/src/qml/qml/qqmlvmemetaobject_p.h index a399b072ff..5f688fe2e7 100644 --- a/src/qml/qml/qqmlvmemetaobject_p.h +++ b/src/qml/qml/qqmlvmemetaobject_p.h @@ -203,6 +203,7 @@ public: bool propertiesInitialized; inline void allocateProperties(); inline bool ensurePropertiesAllocated(); + QV4::MemberData *propertiesAsMemberData(); int readPropertyAsInt(int id); bool readPropertyAsBool(int id); |