5#include <private/qv4mm_p.h>
20#if (QT_POINTER_SIZE == 8)
39 const size_t intMax = std::numeric_limits<int>::max();
45 const size_t oldSize =
sizeof(Heap::MemberData) + (old->values.size - 1) *
sizeof(
Value);
50 memcpy(
m, old, oldSize);
56 m->values.alloc =
static_cast<uint>((alloc -
sizeof(Heap::MemberData) +
sizeof(
Value))/
sizeof(
Value));
57 m->values.
size =
m->values.alloc;
static constexpr std::size_t align(std::size_t size)
\qmltype Particle \inqmlmodule QtQuick.Particles
static size_t nextPowerOfTwo(size_t s)
#define DEFINE_MANAGED_VTABLE(classname)
static Heap::MemberData * allocate(QV4::ExecutionEngine *e, uint n, Heap::MemberData *old=nullptr)