, prototype(0)
, memberDataAlloc(InlinePropertySize), memberData(inlineProperties)
, arrayOffset(0), arrayDataLen(0), arrayAlloc(0), arrayAttributes(0), arrayData(0), sparseArray(0)
- , externalResource(0)
{
vtbl = &static_vtbl;
type = Type_Object;
, prototype(0)
, memberDataAlloc(InlinePropertySize), memberData(inlineProperties)
, arrayOffset(0), arrayDataLen(0), arrayAlloc(0), arrayAttributes(0), arrayData(0), sparseArray(0)
- , externalResource(0)
{
vtbl = &static_vtbl;
type = Type_Object;
, prototype(0)
, memberDataAlloc(InlinePropertySize), memberData(inlineProperties)
, arrayOffset(0), arrayDataLen(0), arrayAlloc(0), arrayAttributes(0), arrayData(0), sparseArray(0)
- , externalResource(0)
{
vtbl = &static_vtbl;
type = Type_Object;
Object::~Object()
{
- delete externalResource;
if (memberData != inlineProperties)
delete [] memberData;
delete [] (arrayData - (sparseArray ? 0 : arrayOffset));
typedef PropertyAttributes (*PropertyQueryFunction)(const Object *object, String *name);
struct Q_QML_EXPORT Object: Managed {
-
- class ExternalResource {
- public:
- virtual ~ExternalResource() {}
- };
-
Object *prototype;
uint memberDataAlloc;
Property *memberData;
PropertyAttributes *arrayAttributes;
Property *arrayData;
SparseArray *sparseArray;
- ExternalResource *externalResource;
enum {
InlinePropertySize = 4