diff options
author | Ulf Hermann <[email protected]> | 2023-02-16 11:29:30 +0100 |
---|---|---|
committer | Ulf Hermann <[email protected]> | 2023-03-02 17:54:30 +0100 |
commit | 35152b432e82fc274c3983d0f369666a899cde49 (patch) | |
tree | 8c4fb849f36d0d1b03685a431823c9608a786bd4 /src/qml/jsruntime/qv4executablecompilationunit_p.h | |
parent | a703701394820fcfffb544a5bf7c464410cdc0a2 (diff) |
QML: Add an "Addressable" value to ValueTypeBehavior
Task-number: QTBUG-94807
Change-Id: I8c78faa99fc4c4b2ffd8c89f1037fc7569212c73
Reviewed-by: Fabian Kosmale <[email protected]>
Reviewed-by: Qt CI Bot <[email protected]>
Diffstat (limited to 'src/qml/jsruntime/qv4executablecompilationunit_p.h')
-rw-r--r-- | src/qml/jsruntime/qv4executablecompilationunit_p.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/qml/jsruntime/qv4executablecompilationunit_p.h b/src/qml/jsruntime/qv4executablecompilationunit_p.h index e6472f3f83..403b15158c 100644 --- a/src/qml/jsruntime/qv4executablecompilationunit_p.h +++ b/src/qml/jsruntime/qv4executablecompilationunit_p.h @@ -181,6 +181,11 @@ public: return data->flags & CompiledData::Unit::ValueTypesCopied; } + bool valueTypesAreAddressable() const + { + return data->flags & CompiledData::Unit::ValueTypesAddressable; + } + int objectCount() const { return qmlData->nObjects; } const CompiledObject *objectAt(int index) const { |