mirror of
https://github.com/mappu/miqt.git
synced 2024-12-22 08:58:37 +00:00
50 lines
1.7 KiB
C++
50 lines
1.7 KiB
C++
#pragma once
|
|
#ifndef MIQT_QT_GEN_QARRAYDATA_H
|
|
#define MIQT_QT_GEN_QARRAYDATA_H
|
|
|
|
#include <stdbool.h>
|
|
#include <stddef.h>
|
|
#include <stdint.h>
|
|
|
|
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
|
|
|
#include "../libmiqt/libmiqt.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
#ifdef __cplusplus
|
|
class QArrayData;
|
|
#if defined(WORKAROUND_INNER_CLASS_DEFINITION_QtPrivate__QContainerImplHelper)
|
|
typedef QtPrivate::QContainerImplHelper QtPrivate__QContainerImplHelper;
|
|
#else
|
|
class QtPrivate__QContainerImplHelper;
|
|
#endif
|
|
#else
|
|
typedef struct QArrayData QArrayData;
|
|
typedef struct QtPrivate__QContainerImplHelper QtPrivate__QContainerImplHelper;
|
|
#endif
|
|
|
|
void* QArrayData_Data(QArrayData* self);
|
|
const void* QArrayData_Data2(const QArrayData* self);
|
|
bool QArrayData_IsMutable(const QArrayData* self);
|
|
size_t QArrayData_DetachCapacity(const QArrayData* self, size_t newSize);
|
|
int QArrayData_DetachFlags(const QArrayData* self);
|
|
int QArrayData_CloneFlags(const QArrayData* self);
|
|
QArrayData* QArrayData_Allocate(size_t objectSize, size_t alignment, size_t capacity);
|
|
QArrayData* QArrayData_ReallocateUnaligned(QArrayData* data, size_t objectSize, size_t newCapacity);
|
|
void QArrayData_Deallocate(QArrayData* data, size_t objectSize, size_t alignment);
|
|
QArrayData* QArrayData_SharedNull();
|
|
QArrayData* QArrayData_Allocate4(size_t objectSize, size_t alignment, size_t capacity, int options);
|
|
QArrayData* QArrayData_ReallocateUnaligned4(QArrayData* data, size_t objectSize, size_t newCapacity, int newOptions);
|
|
void QArrayData_Delete(QArrayData* self, bool isSubclass);
|
|
|
|
void QtPrivate__QContainerImplHelper_Delete(QtPrivate__QContainerImplHelper* self, bool isSubclass);
|
|
|
|
#ifdef __cplusplus
|
|
} /* extern C */
|
|
#endif
|
|
|
|
#endif
|