Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qv4writebarrier.cpp
Go to the documentation of this file.
1// Copyright (C) 2023 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3// Qt-Security score:critical reason:low-level-memory-management
4#include <private/qv4value_p.h>
5#include <private/qv4mm_p.h>
6
7QT_BEGIN_NAMESPACE
8
9namespace {
10 void markHeapBase(QV4::MarkStack* markStack, QV4::Heap::Base *base){
11 if (!base)
12 return;
13 base->mark(markStack);
14 }
15}
16namespace QV4 {
17
26
35
36}
37QT_END_NAMESPACE
void markHeapBase(QV4::MarkStack *markStack, QV4::Heap::Base *base)
Definition qjsvalue.h:24