ap object. Heap::QQmlSequence does
>>> that, for example. Just make sure to use V4_NEEDS_DESTROY and provide a
>>> destroy() function to delete the vector.
>>>
>>> I'd probably go for the first approach with perhaps an indirect type
>>> (similar to how Ob
ferences to the C heap, then you're probably better
off using a pointer to a regular vector.
Simon
From: Development
mailto:qt...@qt-project.org>>
on behalf of Valery Kotov
mailto:kotov.val...@gmail.com>>
Sent: Wednesday, August 8, 2018 9:10:43 AM
To
Data) if the array contains references to
>> the JS heap. If your array has only references to the C heap, then you're
>> probably better off using a pointer to a regular vector.
>>
>>
>> Simon
>>
>> --
>> *From:* Developm
the JS heap. If your array has only references to the C heap, then you're
> probably better off using a pointer to a regular vector.
>
>
> Simon
>
> --
> *From:* Development qt...@qt-project.org> on behalf of Valery Kotov
> *Sent:* Wednesday, Au
Hi Valery,
> On 8 Aug 2018, at 09:10, Valery Kotov wrote:
>
> Hello all,
>
> I have a question about QV4 heap objects and what could be stored in them.
> I would like to move data structure from c++ heap to GC heap. Unfortunately,
> my data structure stores a pair of QLists internally.
> As
Subject: [Development] Storing and managing ValueArray inside QV4::Heap objects
Hello all,
I have a question about QV4 heap objects and what could be stored in them.
I would like to move data structure from c++ heap to GC heap. Unfortunately, my
data structure stores a pair of QLists internally
Hello all,
I have a question about QV4 heap objects and what could be stored in them.
I would like to move data structure from c++ heap to GC heap.
Unfortunately, my data structure stores a pair of QLists internally.
As far as I'm aware, QV4::Heap objects should be "trivially constructible",
and