qt: rebuild (remove comments about malloc sizes)

This commit is contained in:
mappu 2024-11-04 18:40:35 +13:00
parent c4607aa5b8
commit addde79d58
135 changed files with 0 additions and 377 deletions

View File

@ -77,7 +77,6 @@ func (this *QsciAbstractAPIs) Lexer() *QsciLexer {
}
func (this *QsciAbstractAPIs) UpdateAutoCompletionList(context []string, list []string) {
// For the C ABI, malloc a C array of structs
context_CArray := (*[0xffff]C.struct_miqt_string)(C.malloc(C.size_t(int(unsafe.Sizeof(C.struct_miqt_string{})) * len(context))))
defer C.free(unsafe.Pointer(context_CArray))
for i := range context {
@ -89,7 +88,6 @@ func (this *QsciAbstractAPIs) UpdateAutoCompletionList(context []string, list []
}
context_ma := &C.struct_miqt_array{len: C.size_t(len(context)), data: unsafe.Pointer(context_CArray)}
defer runtime.KeepAlive(unsafe.Pointer(context_ma))
// For the C ABI, malloc a C array of structs
list_CArray := (*[0xffff]C.struct_miqt_string)(C.malloc(C.size_t(int(unsafe.Sizeof(C.struct_miqt_string{})) * len(list))))
defer C.free(unsafe.Pointer(list_CArray))
for i := range list {
@ -113,7 +111,6 @@ func (this *QsciAbstractAPIs) AutoCompletionSelected(selection string) {
}
func (this *QsciAbstractAPIs) CallTips(context []string, commas int, style QsciScintilla__CallTipsStyle, shifts []int) []string {
// For the C ABI, malloc a C array of structs
context_CArray := (*[0xffff]C.struct_miqt_string)(C.malloc(C.size_t(int(unsafe.Sizeof(C.struct_miqt_string{})) * len(context))))
defer C.free(unsafe.Pointer(context_CArray))
for i := range context {
@ -125,7 +122,6 @@ func (this *QsciAbstractAPIs) CallTips(context []string, commas int, style QsciS
}
context_ma := &C.struct_miqt_array{len: C.size_t(len(context)), data: unsafe.Pointer(context_CArray)}
defer runtime.KeepAlive(unsafe.Pointer(context_ma))
// For the C ABI, malloc a C array of raw pointers
shifts_CArray := (*[0xffff]C.int)(C.malloc(C.size_t(8 * len(shifts))))
defer C.free(unsafe.Pointer(shifts_CArray))
for i := range shifts {

View File

@ -135,7 +135,6 @@ func (this *QsciAPIs) SavePrepared() bool {
}
func (this *QsciAPIs) UpdateAutoCompletionList(context []string, list []string) {
// For the C ABI, malloc a C array of structs
context_CArray := (*[0xffff]C.struct_miqt_string)(C.malloc(C.size_t(int(unsafe.Sizeof(C.struct_miqt_string{})) * len(context))))
defer C.free(unsafe.Pointer(context_CArray))
for i := range context {
@ -147,7 +146,6 @@ func (this *QsciAPIs) UpdateAutoCompletionList(context []string, list []string)
}
context_ma := &C.struct_miqt_array{len: C.size_t(len(context)), data: unsafe.Pointer(context_CArray)}
defer runtime.KeepAlive(unsafe.Pointer(context_ma))
// For the C ABI, malloc a C array of structs
list_CArray := (*[0xffff]C.struct_miqt_string)(C.malloc(C.size_t(int(unsafe.Sizeof(C.struct_miqt_string{})) * len(list))))
defer C.free(unsafe.Pointer(list_CArray))
for i := range list {
@ -171,7 +169,6 @@ func (this *QsciAPIs) AutoCompletionSelected(sel string) {
}
func (this *QsciAPIs) CallTips(context []string, commas int, style QsciScintilla__CallTipsStyle, shifts []int) []string {
// For the C ABI, malloc a C array of structs
context_CArray := (*[0xffff]C.struct_miqt_string)(C.malloc(C.size_t(int(unsafe.Sizeof(C.struct_miqt_string{})) * len(context))))
defer C.free(unsafe.Pointer(context_CArray))
for i := range context {
@ -183,7 +180,6 @@ func (this *QsciAPIs) CallTips(context []string, commas int, style QsciScintilla
}
context_ma := &C.struct_miqt_array{len: C.size_t(len(context)), data: unsafe.Pointer(context_CArray)}
defer runtime.KeepAlive(unsafe.Pointer(context_ma))
// For the C ABI, malloc a C array of raw pointers
shifts_CArray := (*[0xffff]C.int)(C.malloc(C.size_t(8 * len(shifts))))
defer C.free(unsafe.Pointer(shifts_CArray))
for i := range shifts {

View File

@ -786,7 +786,6 @@ func (this *QsciScintilla) SetAutoCompletionFillups(fillups string) {
}
func (this *QsciScintilla) SetAutoCompletionWordSeparators(separators []string) {
// For the C ABI, malloc a C array of structs
separators_CArray := (*[0xffff]C.struct_miqt_string)(C.malloc(C.size_t(int(unsafe.Sizeof(C.struct_miqt_string{})) * len(separators))))
defer C.free(unsafe.Pointer(separators_CArray))
for i := range separators {
@ -826,7 +825,6 @@ func (this *QsciScintilla) SetCallTipsVisible(nr int) {
}
func (this *QsciScintilla) SetContractedFolds(folds []int) {
// For the C ABI, malloc a C array of raw pointers
folds_CArray := (*[0xffff]C.int)(C.malloc(C.size_t(8 * len(folds))))
defer C.free(unsafe.Pointer(folds_CArray))
for i := range folds {
@ -1041,7 +1039,6 @@ func (this *QsciScintilla) SetWrapIndentMode(mode QsciScintilla__WrapIndentMode)
}
func (this *QsciScintilla) ShowUserList(id int, list []string) {
// For the C ABI, malloc a C array of structs
list_CArray := (*[0xffff]C.struct_miqt_string)(C.malloc(C.size_t(int(unsafe.Sizeof(C.struct_miqt_string{})) * len(list))))
defer C.free(unsafe.Pointer(list_CArray))
for i := range list {

View File

@ -463,7 +463,6 @@ func (this *QAbstractItemModel) MimeTypes() []string {
}
func (this *QAbstractItemModel) MimeData(indexes []QModelIndex) *QMimeData {
// For the C ABI, malloc a C array of raw pointers
indexes_CArray := (*[0xffff]*C.QModelIndex)(C.malloc(C.size_t(8 * len(indexes))))
defer C.free(unsafe.Pointer(indexes_CArray))
for i := range indexes {
@ -831,7 +830,6 @@ func (this *QAbstractItemModel) CheckIndex2(index *QModelIndex, options QAbstrac
}
func (this *QAbstractItemModel) DataChanged3(topLeft *QModelIndex, bottomRight *QModelIndex, roles []int) {
// For the C ABI, malloc a C array of raw pointers
roles_CArray := (*[0xffff]C.int)(C.malloc(C.size_t(8 * len(roles))))
defer C.free(unsafe.Pointer(roles_CArray))
for i := range roles {
@ -868,7 +866,6 @@ func miqt_exec_callback_QAbstractItemModel_DataChanged3(cb C.intptr_t, topLeft *
}
func (this *QAbstractItemModel) LayoutChanged1(parents []QPersistentModelIndex) {
// For the C ABI, malloc a C array of raw pointers
parents_CArray := (*[0xffff]*C.QPersistentModelIndex)(C.malloc(C.size_t(8 * len(parents))))
defer C.free(unsafe.Pointer(parents_CArray))
for i := range parents {
@ -906,7 +903,6 @@ func miqt_exec_callback_QAbstractItemModel_LayoutChanged1(cb C.intptr_t, parents
}
func (this *QAbstractItemModel) LayoutChanged2(parents []QPersistentModelIndex, hint QAbstractItemModel__LayoutChangeHint) {
// For the C ABI, malloc a C array of raw pointers
parents_CArray := (*[0xffff]*C.QPersistentModelIndex)(C.malloc(C.size_t(8 * len(parents))))
defer C.free(unsafe.Pointer(parents_CArray))
for i := range parents {
@ -946,7 +942,6 @@ func miqt_exec_callback_QAbstractItemModel_LayoutChanged2(cb C.intptr_t, parents
}
func (this *QAbstractItemModel) LayoutAboutToBeChanged1(parents []QPersistentModelIndex) {
// For the C ABI, malloc a C array of raw pointers
parents_CArray := (*[0xffff]*C.QPersistentModelIndex)(C.malloc(C.size_t(8 * len(parents))))
defer C.free(unsafe.Pointer(parents_CArray))
for i := range parents {
@ -984,7 +979,6 @@ func miqt_exec_callback_QAbstractItemModel_LayoutAboutToBeChanged1(cb C.intptr_t
}
func (this *QAbstractItemModel) LayoutAboutToBeChanged2(parents []QPersistentModelIndex, hint QAbstractItemModel__LayoutChangeHint) {
// For the C ABI, malloc a C array of raw pointers
parents_CArray := (*[0xffff]*C.QPersistentModelIndex)(C.malloc(C.size_t(8 * len(parents))))
defer C.free(unsafe.Pointer(parents_CArray))
for i := range parents {

View File

@ -165,7 +165,6 @@ func (this *QAbstractProxyModel) Sibling(row int, column int, idx *QModelIndex)
}
func (this *QAbstractProxyModel) MimeData(indexes []QModelIndex) *QMimeData {
// For the C ABI, malloc a C array of raw pointers
indexes_CArray := (*[0xffff]*C.QModelIndex)(C.malloc(C.size_t(8 * len(indexes))))
defer C.free(unsafe.Pointer(indexes_CArray))
for i := range indexes {

View File

@ -102,7 +102,6 @@ func (this *QAbstractTransition) TargetStates() []*QAbstractState {
}
func (this *QAbstractTransition) SetTargetStates(targets []*QAbstractState) {
// For the C ABI, malloc a C array of raw pointers
targets_CArray := (*[0xffff]*C.QAbstractState)(C.malloc(C.size_t(8 * len(targets))))
defer C.free(unsafe.Pointer(targets_CArray))
for i := range targets {

View File

@ -281,7 +281,6 @@ func (this *QAction) Shortcut() *QKeySequence {
}
func (this *QAction) SetShortcuts(shortcuts []QKeySequence) {
// For the C ABI, malloc a C array of raw pointers
shortcuts_CArray := (*[0xffff]*C.QKeySequence)(C.malloc(C.size_t(8 * len(shortcuts))))
defer C.free(unsafe.Pointer(shortcuts_CArray))
for i := range shortcuts {

View File

@ -329,7 +329,6 @@ func (this *QCborArray) OperatorShiftLeft(v *QCborValue) *QCborArray {
}
func QCborArray_FromStringList(list []string) *QCborArray {
// For the C ABI, malloc a C array of structs
list_CArray := (*[0xffff]C.struct_miqt_string)(C.malloc(C.size_t(int(unsafe.Sizeof(C.struct_miqt_string{})) * len(list))))
defer C.free(unsafe.Pointer(list_CArray))
for i := range list {

View File

@ -162,7 +162,6 @@ func (this *QColumnView) SetPreviewWidget(widget *QWidget) {
}
func (this *QColumnView) SetColumnWidths(list []int) {
// For the C ABI, malloc a C array of raw pointers
list_CArray := (*[0xffff]C.int)(C.malloc(C.size_t(8 * len(list))))
defer C.free(unsafe.Pointer(list_CArray))
for i := range list {

View File

@ -342,7 +342,6 @@ func (this *QComboBox) AddItem2(icon *QIcon, text string) {
}
func (this *QComboBox) AddItems(texts []string) {
// For the C ABI, malloc a C array of structs
texts_CArray := (*[0xffff]C.struct_miqt_string)(C.malloc(C.size_t(int(unsafe.Sizeof(C.struct_miqt_string{})) * len(texts))))
defer C.free(unsafe.Pointer(texts_CArray))
for i := range texts {
@ -374,7 +373,6 @@ func (this *QComboBox) InsertItem2(index int, icon *QIcon, text string) {
}
func (this *QComboBox) InsertItems(index int, texts []string) {
// For the C ABI, malloc a C array of structs
texts_CArray := (*[0xffff]C.struct_miqt_string)(C.malloc(C.size_t(int(unsafe.Sizeof(C.struct_miqt_string{})) * len(texts))))
defer C.free(unsafe.Pointer(texts_CArray))
for i := range texts {

View File

@ -61,7 +61,6 @@ func NewQCommandLineOption(name string) *QCommandLineOption {
// NewQCommandLineOption2 constructs a new QCommandLineOption object.
func NewQCommandLineOption2(names []string) *QCommandLineOption {
// For the C ABI, malloc a C array of structs
names_CArray := (*[0xffff]C.struct_miqt_string)(C.malloc(C.size_t(int(unsafe.Sizeof(C.struct_miqt_string{})) * len(names))))
defer C.free(unsafe.Pointer(names_CArray))
for i := range names {
@ -93,7 +92,6 @@ func NewQCommandLineOption3(name string, description string) *QCommandLineOption
// NewQCommandLineOption4 constructs a new QCommandLineOption object.
func NewQCommandLineOption4(names []string, description string) *QCommandLineOption {
// For the C ABI, malloc a C array of structs
names_CArray := (*[0xffff]C.struct_miqt_string)(C.malloc(C.size_t(int(unsafe.Sizeof(C.struct_miqt_string{})) * len(names))))
defer C.free(unsafe.Pointer(names_CArray))
for i := range names {
@ -161,7 +159,6 @@ func NewQCommandLineOption7(name string, description string, valueName string, d
// NewQCommandLineOption8 constructs a new QCommandLineOption object.
func NewQCommandLineOption8(names []string, description string, valueName string) *QCommandLineOption {
// For the C ABI, malloc a C array of structs
names_CArray := (*[0xffff]C.struct_miqt_string)(C.malloc(C.size_t(int(unsafe.Sizeof(C.struct_miqt_string{})) * len(names))))
defer C.free(unsafe.Pointer(names_CArray))
for i := range names {
@ -187,7 +184,6 @@ func NewQCommandLineOption8(names []string, description string, valueName string
// NewQCommandLineOption9 constructs a new QCommandLineOption object.
func NewQCommandLineOption9(names []string, description string, valueName string, defaultValue string) *QCommandLineOption {
// For the C ABI, malloc a C array of structs
names_CArray := (*[0xffff]C.struct_miqt_string)(C.malloc(C.size_t(int(unsafe.Sizeof(C.struct_miqt_string{})) * len(names))))
defer C.free(unsafe.Pointer(names_CArray))
for i := range names {
@ -276,7 +272,6 @@ func (this *QCommandLineOption) SetDefaultValue(defaultValue string) {
}
func (this *QCommandLineOption) SetDefaultValues(defaultValues []string) {
// For the C ABI, malloc a C array of structs
defaultValues_CArray := (*[0xffff]C.struct_miqt_string)(C.malloc(C.size_t(int(unsafe.Sizeof(C.struct_miqt_string{})) * len(defaultValues))))
defer C.free(unsafe.Pointer(defaultValues_CArray))
for i := range defaultValues {

View File

@ -93,7 +93,6 @@ func (this *QCommandLineParser) AddOption(commandLineOption *QCommandLineOption)
}
func (this *QCommandLineParser) AddOptions(options []QCommandLineOption) bool {
// For the C ABI, malloc a C array of raw pointers
options_CArray := (*[0xffff]*C.QCommandLineOption)(C.malloc(C.size_t(8 * len(options))))
defer C.free(unsafe.Pointer(options_CArray))
for i := range options {
@ -150,7 +149,6 @@ func (this *QCommandLineParser) ClearPositionalArguments() {
}
func (this *QCommandLineParser) Process(arguments []string) {
// For the C ABI, malloc a C array of structs
arguments_CArray := (*[0xffff]C.struct_miqt_string)(C.malloc(C.size_t(int(unsafe.Sizeof(C.struct_miqt_string{})) * len(arguments))))
defer C.free(unsafe.Pointer(arguments_CArray))
for i := range arguments {
@ -170,7 +168,6 @@ func (this *QCommandLineParser) ProcessWithApp(app *QCoreApplication) {
}
func (this *QCommandLineParser) Parse(arguments []string) bool {
// For the C ABI, malloc a C array of structs
arguments_CArray := (*[0xffff]C.struct_miqt_string)(C.malloc(C.size_t(int(unsafe.Sizeof(C.struct_miqt_string{})) * len(arguments))))
defer C.free(unsafe.Pointer(arguments_CArray))
for i := range arguments {

View File

@ -74,7 +74,6 @@ func NewQCompleter2(model *QAbstractItemModel) *QCompleter {
// NewQCompleter3 constructs a new QCompleter object.
func NewQCompleter3(completions []string) *QCompleter {
// For the C ABI, malloc a C array of structs
completions_CArray := (*[0xffff]C.struct_miqt_string)(C.malloc(C.size_t(int(unsafe.Sizeof(C.struct_miqt_string{})) * len(completions))))
defer C.free(unsafe.Pointer(completions_CArray))
for i := range completions {
@ -104,7 +103,6 @@ func NewQCompleter5(model *QAbstractItemModel, parent *QObject) *QCompleter {
// NewQCompleter6 constructs a new QCompleter object.
func NewQCompleter6(completions []string, parent *QObject) *QCompleter {
// For the C ABI, malloc a C array of structs
completions_CArray := (*[0xffff]C.struct_miqt_string)(C.malloc(C.size_t(int(unsafe.Sizeof(C.struct_miqt_string{})) * len(completions))))
defer C.free(unsafe.Pointer(completions_CArray))
for i := range completions {

View File

@ -175,7 +175,6 @@ func (this *QConcatenateTablesProxyModel) MimeTypes() []string {
}
func (this *QConcatenateTablesProxyModel) MimeData(indexes []QModelIndex) *QMimeData {
// For the C ABI, malloc a C array of raw pointers
indexes_CArray := (*[0xffff]*C.QModelIndex)(C.malloc(C.size_t(8 * len(indexes))))
defer C.free(unsafe.Pointer(indexes_CArray))
for i := range indexes {

View File

@ -273,7 +273,6 @@ func QCoreApplication_ApplicationPid() int64 {
}
func QCoreApplication_SetLibraryPaths(libraryPaths []string) {
// For the C ABI, malloc a C array of structs
libraryPaths_CArray := (*[0xffff]C.struct_miqt_string)(C.malloc(C.size_t(int(unsafe.Sizeof(C.struct_miqt_string{})) * len(libraryPaths))))
defer C.free(unsafe.Pointer(libraryPaths_CArray))
for i := range libraryPaths {

View File

@ -206,7 +206,6 @@ func QDir_SetSearchPaths(prefix string, searchPaths []string) {
prefix_ms.data = C.CString(prefix)
prefix_ms.len = C.size_t(len(prefix))
defer C.free(unsafe.Pointer(prefix_ms.data))
// For the C ABI, malloc a C array of structs
searchPaths_CArray := (*[0xffff]C.struct_miqt_string)(C.malloc(C.size_t(int(unsafe.Sizeof(C.struct_miqt_string{})) * len(searchPaths))))
defer C.free(unsafe.Pointer(searchPaths_CArray))
for i := range searchPaths {
@ -340,7 +339,6 @@ func (this *QDir) NameFilters() []string {
}
func (this *QDir) SetNameFilters(nameFilters []string) {
// For the C ABI, malloc a C array of structs
nameFilters_CArray := (*[0xffff]C.struct_miqt_string)(C.malloc(C.size_t(int(unsafe.Sizeof(C.struct_miqt_string{})) * len(nameFilters))))
defer C.free(unsafe.Pointer(nameFilters_CArray))
for i := range nameFilters {
@ -419,7 +417,6 @@ func (this *QDir) EntryList() []string {
}
func (this *QDir) EntryListWithNameFilters(nameFilters []string) []string {
// For the C ABI, malloc a C array of structs
nameFilters_CArray := (*[0xffff]C.struct_miqt_string)(C.malloc(C.size_t(int(unsafe.Sizeof(C.struct_miqt_string{})) * len(nameFilters))))
defer C.free(unsafe.Pointer(nameFilters_CArray))
for i := range nameFilters {
@ -459,7 +456,6 @@ func (this *QDir) EntryInfoList() []QFileInfo {
}
func (this *QDir) EntryInfoListWithNameFilters(nameFilters []string) []QFileInfo {
// For the C ABI, malloc a C array of structs
nameFilters_CArray := (*[0xffff]C.struct_miqt_string)(C.malloc(C.size_t(int(unsafe.Sizeof(C.struct_miqt_string{})) * len(nameFilters))))
defer C.free(unsafe.Pointer(nameFilters_CArray))
for i := range nameFilters {
@ -689,7 +685,6 @@ func QDir_TempPath() string {
}
func QDir_Match(filters []string, fileName string) bool {
// For the C ABI, malloc a C array of structs
filters_CArray := (*[0xffff]C.struct_miqt_string)(C.malloc(C.size_t(int(unsafe.Sizeof(C.struct_miqt_string{})) * len(filters))))
defer C.free(unsafe.Pointer(filters_CArray))
for i := range filters {
@ -768,7 +763,6 @@ func (this *QDir) EntryList2(filters QDir__Filter, sort QDir__SortFlag) []string
}
func (this *QDir) EntryList22(nameFilters []string, filters QDir__Filter) []string {
// For the C ABI, malloc a C array of structs
nameFilters_CArray := (*[0xffff]C.struct_miqt_string)(C.malloc(C.size_t(int(unsafe.Sizeof(C.struct_miqt_string{})) * len(nameFilters))))
defer C.free(unsafe.Pointer(nameFilters_CArray))
for i := range nameFilters {
@ -794,7 +788,6 @@ func (this *QDir) EntryList22(nameFilters []string, filters QDir__Filter) []stri
}
func (this *QDir) EntryList3(nameFilters []string, filters QDir__Filter, sort QDir__SortFlag) []string {
// For the C ABI, malloc a C array of structs
nameFilters_CArray := (*[0xffff]C.struct_miqt_string)(C.malloc(C.size_t(int(unsafe.Sizeof(C.struct_miqt_string{})) * len(nameFilters))))
defer C.free(unsafe.Pointer(nameFilters_CArray))
for i := range nameFilters {
@ -848,7 +841,6 @@ func (this *QDir) EntryInfoList2(filters QDir__Filter, sort QDir__SortFlag) []QF
}
func (this *QDir) EntryInfoList22(nameFilters []string, filters QDir__Filter) []QFileInfo {
// For the C ABI, malloc a C array of structs
nameFilters_CArray := (*[0xffff]C.struct_miqt_string)(C.malloc(C.size_t(int(unsafe.Sizeof(C.struct_miqt_string{})) * len(nameFilters))))
defer C.free(unsafe.Pointer(nameFilters_CArray))
for i := range nameFilters {
@ -874,7 +866,6 @@ func (this *QDir) EntryInfoList22(nameFilters []string, filters QDir__Filter) []
}
func (this *QDir) EntryInfoList3(nameFilters []string, filters QDir__Filter, sort QDir__SortFlag) []QFileInfo {
// For the C ABI, malloc a C array of structs
nameFilters_CArray := (*[0xffff]C.struct_miqt_string)(C.malloc(C.size_t(int(unsafe.Sizeof(C.struct_miqt_string{})) * len(nameFilters))))
defer C.free(unsafe.Pointer(nameFilters_CArray))
for i := range nameFilters {

View File

@ -82,7 +82,6 @@ func NewQDirIterator4(path string, nameFilters []string) *QDirIterator {
path_ms.data = C.CString(path)
path_ms.len = C.size_t(len(path))
defer C.free(unsafe.Pointer(path_ms.data))
// For the C ABI, malloc a C array of structs
nameFilters_CArray := (*[0xffff]C.struct_miqt_string)(C.malloc(C.size_t(int(unsafe.Sizeof(C.struct_miqt_string{})) * len(nameFilters))))
defer C.free(unsafe.Pointer(nameFilters_CArray))
for i := range nameFilters {
@ -130,7 +129,6 @@ func NewQDirIterator8(path string, nameFilters []string, filters QDir__Filter) *
path_ms.data = C.CString(path)
path_ms.len = C.size_t(len(path))
defer C.free(unsafe.Pointer(path_ms.data))
// For the C ABI, malloc a C array of structs
nameFilters_CArray := (*[0xffff]C.struct_miqt_string)(C.malloc(C.size_t(int(unsafe.Sizeof(C.struct_miqt_string{})) * len(nameFilters))))
defer C.free(unsafe.Pointer(nameFilters_CArray))
for i := range nameFilters {
@ -152,7 +150,6 @@ func NewQDirIterator9(path string, nameFilters []string, filters QDir__Filter, f
path_ms.data = C.CString(path)
path_ms.len = C.size_t(len(path))
defer C.free(unsafe.Pointer(path_ms.data))
// For the C ABI, malloc a C array of structs
nameFilters_CArray := (*[0xffff]C.struct_miqt_string)(C.malloc(C.size_t(int(unsafe.Sizeof(C.struct_miqt_string{})) * len(nameFilters))))
defer C.free(unsafe.Pointer(nameFilters_CArray))
for i := range nameFilters {

View File

@ -53,7 +53,6 @@ func UnsafeNewQDirModel(h unsafe.Pointer) *QDirModel {
// NewQDirModel constructs a new QDirModel object.
func NewQDirModel(nameFilters []string, filters QDir__Filter, sort QDir__SortFlag) *QDirModel {
// For the C ABI, malloc a C array of structs
nameFilters_CArray := (*[0xffff]C.struct_miqt_string)(C.malloc(C.size_t(int(unsafe.Sizeof(C.struct_miqt_string{})) * len(nameFilters))))
defer C.free(unsafe.Pointer(nameFilters_CArray))
for i := range nameFilters {
@ -77,7 +76,6 @@ func NewQDirModel2() *QDirModel {
// NewQDirModel3 constructs a new QDirModel object.
func NewQDirModel3(nameFilters []string, filters QDir__Filter, sort QDir__SortFlag, parent *QObject) *QDirModel {
// For the C ABI, malloc a C array of structs
nameFilters_CArray := (*[0xffff]C.struct_miqt_string)(C.malloc(C.size_t(int(unsafe.Sizeof(C.struct_miqt_string{})) * len(nameFilters))))
defer C.free(unsafe.Pointer(nameFilters_CArray))
for i := range nameFilters {
@ -194,7 +192,6 @@ func (this *QDirModel) MimeTypes() []string {
}
func (this *QDirModel) MimeData(indexes []QModelIndex) *QMimeData {
// For the C ABI, malloc a C array of raw pointers
indexes_CArray := (*[0xffff]*C.QModelIndex)(C.malloc(C.size_t(8 * len(indexes))))
defer C.free(unsafe.Pointer(indexes_CArray))
for i := range indexes {
@ -222,7 +219,6 @@ func (this *QDirModel) IconProvider() *QFileIconProvider {
}
func (this *QDirModel) SetNameFilters(filters []string) {
// For the C ABI, malloc a C array of structs
filters_CArray := (*[0xffff]C.struct_miqt_string)(C.malloc(C.size_t(int(unsafe.Sizeof(C.struct_miqt_string{})) * len(filters))))
defer C.free(unsafe.Pointer(filters_CArray))
for i := range filters {

View File

@ -1863,7 +1863,6 @@ func NewQInputMethodEvent2(preeditText string, attributes []QInputMethodEvent__A
preeditText_ms.data = C.CString(preeditText)
preeditText_ms.len = C.size_t(len(preeditText))
defer C.free(unsafe.Pointer(preeditText_ms.data))
// For the C ABI, malloc a C array of raw pointers
attributes_CArray := (*[0xffff]*C.QInputMethodEvent__Attribute)(C.malloc(C.size_t(8 * len(attributes))))
defer C.free(unsafe.Pointer(attributes_CArray))
for i := range attributes {
@ -3048,7 +3047,6 @@ func NewQTouchEvent5(eventType QEvent__Type, device *QTouchDevice, modifiers Key
// NewQTouchEvent6 constructs a new QTouchEvent object.
func NewQTouchEvent6(eventType QEvent__Type, device *QTouchDevice, modifiers KeyboardModifier, touchPointStates TouchPointState, touchPoints []QTouchEvent__TouchPoint) *QTouchEvent {
// For the C ABI, malloc a C array of raw pointers
touchPoints_CArray := (*[0xffff]*C.QTouchEvent__TouchPoint)(C.malloc(C.size_t(8 * len(touchPoints))))
defer C.free(unsafe.Pointer(touchPoints_CArray))
for i := range touchPoints {
@ -3103,7 +3101,6 @@ func (this *QTouchEvent) SetTouchPointStates(aTouchPointStates TouchPointState)
}
func (this *QTouchEvent) SetTouchPoints(atouchPoints []QTouchEvent__TouchPoint) {
// For the C ABI, malloc a C array of raw pointers
atouchPoints_CArray := (*[0xffff]*C.QTouchEvent__TouchPoint)(C.malloc(C.size_t(8 * len(atouchPoints))))
defer C.free(unsafe.Pointer(atouchPoints_CArray))
for i := range atouchPoints {
@ -3799,7 +3796,6 @@ func (this *QTouchEvent__TouchPoint) SetFlags(flags QTouchEvent__TouchPoint__Inf
}
func (this *QTouchEvent__TouchPoint) SetRawScreenPositions(positions []QPointF) {
// For the C ABI, malloc a C array of raw pointers
positions_CArray := (*[0xffff]*C.QPointF)(C.malloc(C.size_t(8 * len(positions))))
defer C.free(unsafe.Pointer(positions_CArray))
for i := range positions {

View File

@ -266,7 +266,6 @@ func (this *QFileDialog) SetNameFilter(filter string) {
}
func (this *QFileDialog) SetNameFilters(filters []string) {
// For the C ABI, malloc a C array of structs
filters_CArray := (*[0xffff]C.struct_miqt_string)(C.malloc(C.size_t(int(unsafe.Sizeof(C.struct_miqt_string{})) * len(filters))))
defer C.free(unsafe.Pointer(filters_CArray))
for i := range filters {
@ -318,7 +317,6 @@ func (this *QFileDialog) SelectedNameFilter() string {
}
func (this *QFileDialog) SetMimeTypeFilters(filters []string) {
// For the C ABI, malloc a C array of structs
filters_CArray := (*[0xffff]C.struct_miqt_string)(C.malloc(C.size_t(int(unsafe.Sizeof(C.struct_miqt_string{})) * len(filters))))
defer C.free(unsafe.Pointer(filters_CArray))
for i := range filters {
@ -404,7 +402,6 @@ func (this *QFileDialog) ResolveSymlinks() bool {
}
func (this *QFileDialog) SetSidebarUrls(urls []QUrl) {
// For the C ABI, malloc a C array of raw pointers
urls_CArray := (*[0xffff]*C.QUrl)(C.malloc(C.size_t(8 * len(urls))))
defer C.free(unsafe.Pointer(urls_CArray))
for i := range urls {
@ -467,7 +464,6 @@ func (this *QFileDialog) DefaultSuffix() string {
}
func (this *QFileDialog) SetHistory(paths []string) {
// For the C ABI, malloc a C array of structs
paths_CArray := (*[0xffff]C.struct_miqt_string)(C.malloc(C.size_t(int(unsafe.Sizeof(C.struct_miqt_string{})) * len(paths))))
defer C.free(unsafe.Pointer(paths_CArray))
for i := range paths {
@ -528,7 +524,6 @@ func (this *QFileDialog) LabelText(label QFileDialog__DialogLabel) string {
}
func (this *QFileDialog) SetSupportedSchemes(schemes []string) {
// For the C ABI, malloc a C array of structs
schemes_CArray := (*[0xffff]C.struct_miqt_string)(C.malloc(C.size_t(int(unsafe.Sizeof(C.struct_miqt_string{})) * len(schemes))))
defer C.free(unsafe.Pointer(schemes_CArray))
for i := range schemes {
@ -613,7 +608,6 @@ func miqt_exec_callback_QFileDialog_FileSelected(cb C.intptr_t, file C.struct_mi
}
func (this *QFileDialog) FilesSelected(files []string) {
// For the C ABI, malloc a C array of structs
files_CArray := (*[0xffff]C.struct_miqt_string)(C.malloc(C.size_t(int(unsafe.Sizeof(C.struct_miqt_string{})) * len(files))))
defer C.free(unsafe.Pointer(files_CArray))
for i := range files {
@ -729,7 +723,6 @@ func miqt_exec_callback_QFileDialog_UrlSelected(cb C.intptr_t, url *C.QUrl) {
}
func (this *QFileDialog) UrlsSelected(urls []QUrl) {
// For the C ABI, malloc a C array of raw pointers
urls_CArray := (*[0xffff]*C.QUrl)(C.malloc(C.size_t(8 * len(urls))))
defer C.free(unsafe.Pointer(urls_CArray))
for i := range urls {
@ -1247,7 +1240,6 @@ func QFileDialog_GetExistingDirectoryUrl5(parent *QWidget, caption string, dir *
caption_ms.data = C.CString(caption)
caption_ms.len = C.size_t(len(caption))
defer C.free(unsafe.Pointer(caption_ms.data))
// For the C ABI, malloc a C array of structs
supportedSchemes_CArray := (*[0xffff]C.struct_miqt_string)(C.malloc(C.size_t(int(unsafe.Sizeof(C.struct_miqt_string{})) * len(supportedSchemes))))
defer C.free(unsafe.Pointer(supportedSchemes_CArray))
for i := range supportedSchemes {

View File

@ -116,7 +116,6 @@ func (this *QFileSelector) ExtraSelectors() []string {
}
func (this *QFileSelector) SetExtraSelectors(list []string) {
// For the C ABI, malloc a C array of structs
list_CArray := (*[0xffff]C.struct_miqt_string)(C.malloc(C.size_t(int(unsafe.Sizeof(C.struct_miqt_string{})) * len(list))))
defer C.free(unsafe.Pointer(list_CArray))
for i := range list {

View File

@ -298,7 +298,6 @@ func (this *QFileSystemModel) MimeTypes() []string {
}
func (this *QFileSystemModel) MimeData(indexes []QModelIndex) *QMimeData {
// For the C ABI, malloc a C array of raw pointers
indexes_CArray := (*[0xffff]*C.QModelIndex)(C.malloc(C.size_t(8 * len(indexes))))
defer C.free(unsafe.Pointer(indexes_CArray))
for i := range indexes {
@ -383,7 +382,6 @@ func (this *QFileSystemModel) NameFilterDisables() bool {
}
func (this *QFileSystemModel) SetNameFilters(filters []string) {
// For the C ABI, malloc a C array of structs
filters_CArray := (*[0xffff]C.struct_miqt_string)(C.malloc(C.size_t(int(unsafe.Sizeof(C.struct_miqt_string{})) * len(filters))))
defer C.free(unsafe.Pointer(filters_CArray))
for i := range filters {

View File

@ -51,7 +51,6 @@ func NewQFileSystemWatcher() *QFileSystemWatcher {
// NewQFileSystemWatcher2 constructs a new QFileSystemWatcher object.
func NewQFileSystemWatcher2(paths []string) *QFileSystemWatcher {
// For the C ABI, malloc a C array of structs
paths_CArray := (*[0xffff]C.struct_miqt_string)(C.malloc(C.size_t(int(unsafe.Sizeof(C.struct_miqt_string{})) * len(paths))))
defer C.free(unsafe.Pointer(paths_CArray))
for i := range paths {
@ -75,7 +74,6 @@ func NewQFileSystemWatcher3(parent *QObject) *QFileSystemWatcher {
// NewQFileSystemWatcher4 constructs a new QFileSystemWatcher object.
func NewQFileSystemWatcher4(paths []string, parent *QObject) *QFileSystemWatcher {
// For the C ABI, malloc a C array of structs
paths_CArray := (*[0xffff]C.struct_miqt_string)(C.malloc(C.size_t(int(unsafe.Sizeof(C.struct_miqt_string{})) * len(paths))))
defer C.free(unsafe.Pointer(paths_CArray))
for i := range paths {
@ -128,7 +126,6 @@ func (this *QFileSystemWatcher) AddPath(file string) bool {
}
func (this *QFileSystemWatcher) AddPaths(files []string) []string {
// For the C ABI, malloc a C array of structs
files_CArray := (*[0xffff]C.struct_miqt_string)(C.malloc(C.size_t(int(unsafe.Sizeof(C.struct_miqt_string{})) * len(files))))
defer C.free(unsafe.Pointer(files_CArray))
for i := range files {
@ -162,7 +159,6 @@ func (this *QFileSystemWatcher) RemovePath(file string) bool {
}
func (this *QFileSystemWatcher) RemovePaths(files []string) []string {
// For the C ABI, malloc a C array of structs
files_CArray := (*[0xffff]C.struct_miqt_string)(C.malloc(C.size_t(int(unsafe.Sizeof(C.struct_miqt_string{})) * len(files))))
defer C.free(unsafe.Pointer(files_CArray))
for i := range files {

View File

@ -265,7 +265,6 @@ func (this *QFont) Families() []string {
}
func (this *QFont) SetFamilies(families []string) {
// For the C ABI, malloc a C array of structs
families_CArray := (*[0xffff]C.struct_miqt_string)(C.malloc(C.size_t(int(unsafe.Sizeof(C.struct_miqt_string{})) * len(families))))
defer C.free(unsafe.Pointer(families_CArray))
for i := range families {
@ -580,7 +579,6 @@ func QFont_InsertSubstitutions(param1 string, param2 []string) {
param1_ms.data = C.CString(param1)
param1_ms.len = C.size_t(len(param1))
defer C.free(unsafe.Pointer(param1_ms.data))
// For the C ABI, malloc a C array of structs
param2_CArray := (*[0xffff]C.struct_miqt_string)(C.malloc(C.size_t(int(unsafe.Sizeof(C.struct_miqt_string{})) * len(param2))))
defer C.free(unsafe.Pointer(param2_CArray))
for i := range param2 {

View File

@ -1053,7 +1053,6 @@ func UnsafeNewQGestureEvent(h unsafe.Pointer) *QGestureEvent {
// NewQGestureEvent constructs a new QGestureEvent object.
func NewQGestureEvent(gestures []*QGesture) *QGestureEvent {
// For the C ABI, malloc a C array of raw pointers
gestures_CArray := (*[0xffff]*C.QGesture)(C.malloc(C.size_t(8 * len(gestures))))
defer C.free(unsafe.Pointer(gestures_CArray))
for i := range gestures {

View File

@ -99,7 +99,6 @@ func (this *QGlyphRun) GlyphIndexes() []uint {
}
func (this *QGlyphRun) SetGlyphIndexes(glyphIndexes []uint) {
// For the C ABI, malloc a C array of raw pointers
glyphIndexes_CArray := (*[0xffff]C.uint)(C.malloc(C.size_t(8 * len(glyphIndexes))))
defer C.free(unsafe.Pointer(glyphIndexes_CArray))
for i := range glyphIndexes {
@ -125,7 +124,6 @@ func (this *QGlyphRun) Positions() []QPointF {
}
func (this *QGlyphRun) SetPositions(positions []QPointF) {
// For the C ABI, malloc a C array of raw pointers
positions_CArray := (*[0xffff]*C.QPointF)(C.malloc(C.size_t(8 * len(positions))))
defer C.free(unsafe.Pointer(positions_CArray))
for i := range positions {

View File

@ -625,7 +625,6 @@ func (this *QGraphicsItem) Transformations() []*QGraphicsTransform {
}
func (this *QGraphicsItem) SetTransformations(transformations []*QGraphicsTransform) {
// For the C ABI, malloc a C array of raw pointers
transformations_CArray := (*[0xffff]*C.QGraphicsTransform)(C.malloc(C.size_t(8 * len(transformations))))
defer C.free(unsafe.Pointer(transformations_CArray))
for i := range transformations {

View File

@ -287,7 +287,6 @@ func (this *QGraphicsScene) SetSelectionArea2(path *QPainterPath, selectionOpera
}
func (this *QGraphicsScene) CreateItemGroup(items []*QGraphicsItem) *QGraphicsItemGroup {
// For the C ABI, malloc a C array of raw pointers
items_CArray := (*[0xffff]*C.QGraphicsItem)(C.malloc(C.size_t(8 * len(items))))
defer C.free(unsafe.Pointer(items_CArray))
for i := range items {
@ -533,7 +532,6 @@ func (this *QGraphicsScene) Clear() {
}
func (this *QGraphicsScene) Changed(region []QRectF) {
// For the C ABI, malloc a C array of raw pointers
region_CArray := (*[0xffff]*C.QRectF)(C.malloc(C.size_t(8 * len(region))))
defer C.free(unsafe.Pointer(region_CArray))
for i := range region {

View File

@ -510,7 +510,6 @@ func (this *QGraphicsView) SetForegroundBrush(brush *QBrush) {
}
func (this *QGraphicsView) UpdateScene(rects []QRectF) {
// For the C ABI, malloc a C array of raw pointers
rects_CArray := (*[0xffff]*C.QRectF)(C.malloc(C.size_t(8 * len(rects))))
defer C.free(unsafe.Pointer(rects_CArray))
for i := range rects {

View File

@ -299,7 +299,6 @@ func (this *QGraphicsWidget) AddAction(action *QAction) {
}
func (this *QGraphicsWidget) AddActions(actions []*QAction) {
// For the C ABI, malloc a C array of raw pointers
actions_CArray := (*[0xffff]*C.QAction)(C.malloc(C.size_t(8 * len(actions))))
defer C.free(unsafe.Pointer(actions_CArray))
for i := range actions {
@ -311,7 +310,6 @@ func (this *QGraphicsWidget) AddActions(actions []*QAction) {
}
func (this *QGraphicsWidget) InsertActions(before *QAction, actions []*QAction) {
// For the C ABI, malloc a C array of raw pointers
actions_CArray := (*[0xffff]*C.QAction)(C.malloc(C.size_t(8 * len(actions))))
defer C.free(unsafe.Pointer(actions_CArray))
for i := range actions {

View File

@ -252,7 +252,6 @@ func QIcon_ThemeSearchPaths() []string {
}
func QIcon_SetThemeSearchPaths(searchpath []string) {
// For the C ABI, malloc a C array of structs
searchpath_CArray := (*[0xffff]C.struct_miqt_string)(C.malloc(C.size_t(int(unsafe.Sizeof(C.struct_miqt_string{})) * len(searchpath))))
defer C.free(unsafe.Pointer(searchpath_CArray))
for i := range searchpath {
@ -282,7 +281,6 @@ func QIcon_FallbackSearchPaths() []string {
}
func QIcon_SetFallbackSearchPaths(paths []string) {
// For the C ABI, malloc a C array of structs
paths_CArray := (*[0xffff]C.struct_miqt_string)(C.malloc(C.size_t(int(unsafe.Sizeof(C.struct_miqt_string{})) * len(paths))))
defer C.free(unsafe.Pointer(paths_CArray))
for i := range paths {

View File

@ -214,7 +214,6 @@ func (this *QImage) ConvertToFormat(f QImage__Format) *QImage {
}
func (this *QImage) ConvertToFormat2(f QImage__Format, colorTable []uint) *QImage {
// For the C ABI, malloc a C array of raw pointers
colorTable_CArray := (*[0xffff]C.uint)(C.malloc(C.size_t(8 * len(colorTable))))
defer C.free(unsafe.Pointer(colorTable_CArray))
for i := range colorTable {
@ -392,7 +391,6 @@ func (this *QImage) ColorTable() []uint {
}
func (this *QImage) SetColorTable(colors []uint) {
// For the C ABI, malloc a C array of raw pointers
colors_CArray := (*[0xffff]C.uint)(C.malloc(C.size_t(8 * len(colors))))
defer C.free(unsafe.Pointer(colors_CArray))
for i := range colors {
@ -714,7 +712,6 @@ func (this *QImage) ConvertToFormat22(f QImage__Format, flags ImageConversionFla
}
func (this *QImage) ConvertToFormat3(f QImage__Format, colorTable []uint, flags ImageConversionFlag) *QImage {
// For the C ABI, malloc a C array of raw pointers
colorTable_CArray := (*[0xffff]C.uint)(C.malloc(C.size_t(8 * len(colorTable))))
defer C.free(unsafe.Pointer(colorTable_CArray))
for i := range colorTable {

View File

@ -177,7 +177,6 @@ func (this *QInputDialog) IsComboBoxEditable() bool {
}
func (this *QInputDialog) SetComboBoxItems(items []string) {
// For the C ABI, malloc a C array of structs
items_CArray := (*[0xffff]C.struct_miqt_string)(C.malloc(C.size_t(int(unsafe.Sizeof(C.struct_miqt_string{})) * len(items))))
defer C.free(unsafe.Pointer(items_CArray))
for i := range items {
@ -365,7 +364,6 @@ func QInputDialog_GetItem(parent *QWidget, title string, label string, items []s
label_ms.data = C.CString(label)
label_ms.len = C.size_t(len(label))
defer C.free(unsafe.Pointer(label_ms.data))
// For the C ABI, malloc a C array of structs
items_CArray := (*[0xffff]C.struct_miqt_string)(C.malloc(C.size_t(int(unsafe.Sizeof(C.struct_miqt_string{})) * len(items))))
defer C.free(unsafe.Pointer(items_CArray))
for i := range items {
@ -789,7 +787,6 @@ func QInputDialog_GetItem5(parent *QWidget, title string, label string, items []
label_ms.data = C.CString(label)
label_ms.len = C.size_t(len(label))
defer C.free(unsafe.Pointer(label_ms.data))
// For the C ABI, malloc a C array of structs
items_CArray := (*[0xffff]C.struct_miqt_string)(C.malloc(C.size_t(int(unsafe.Sizeof(C.struct_miqt_string{})) * len(items))))
defer C.free(unsafe.Pointer(items_CArray))
for i := range items {
@ -816,7 +813,6 @@ func QInputDialog_GetItem6(parent *QWidget, title string, label string, items []
label_ms.data = C.CString(label)
label_ms.len = C.size_t(len(label))
defer C.free(unsafe.Pointer(label_ms.data))
// For the C ABI, malloc a C array of structs
items_CArray := (*[0xffff]C.struct_miqt_string)(C.malloc(C.size_t(int(unsafe.Sizeof(C.struct_miqt_string{})) * len(items))))
defer C.free(unsafe.Pointer(items_CArray))
for i := range items {
@ -843,7 +839,6 @@ func QInputDialog_GetItem7(parent *QWidget, title string, label string, items []
label_ms.data = C.CString(label)
label_ms.len = C.size_t(len(label))
defer C.free(unsafe.Pointer(label_ms.data))
// For the C ABI, malloc a C array of structs
items_CArray := (*[0xffff]C.struct_miqt_string)(C.malloc(C.size_t(int(unsafe.Sizeof(C.struct_miqt_string{})) * len(items))))
defer C.free(unsafe.Pointer(items_CArray))
for i := range items {
@ -870,7 +865,6 @@ func QInputDialog_GetItem8(parent *QWidget, title string, label string, items []
label_ms.data = C.CString(label)
label_ms.len = C.size_t(len(label))
defer C.free(unsafe.Pointer(label_ms.data))
// For the C ABI, malloc a C array of structs
items_CArray := (*[0xffff]C.struct_miqt_string)(C.malloc(C.size_t(int(unsafe.Sizeof(C.struct_miqt_string{})) * len(items))))
defer C.free(unsafe.Pointer(items_CArray))
for i := range items {
@ -897,7 +891,6 @@ func QInputDialog_GetItem9(parent *QWidget, title string, label string, items []
label_ms.data = C.CString(label)
label_ms.len = C.size_t(len(label))
defer C.free(unsafe.Pointer(label_ms.data))
// For the C ABI, malloc a C array of structs
items_CArray := (*[0xffff]C.struct_miqt_string)(C.malloc(C.size_t(int(unsafe.Sizeof(C.struct_miqt_string{})) * len(items))))
defer C.free(unsafe.Pointer(items_CArray))
for i := range items {

View File

@ -59,7 +59,6 @@ func (this *QJsonArray) OperatorAssign(other *QJsonArray) {
}
func QJsonArray_FromStringList(list []string) *QJsonArray {
// For the C ABI, malloc a C array of structs
list_CArray := (*[0xffff]C.struct_miqt_string)(C.malloc(C.size_t(int(unsafe.Sizeof(C.struct_miqt_string{})) * len(list))))
defer C.free(unsafe.Pointer(list_CArray))
for i := range list {

View File

@ -240,7 +240,6 @@ func QKeySequence_ListFromString(str string) []QKeySequence {
}
func QKeySequence_ListToString(list []QKeySequence) string {
// For the C ABI, malloc a C array of raw pointers
list_CArray := (*[0xffff]*C.QKeySequence)(C.malloc(C.size_t(8 * len(list))))
defer C.free(unsafe.Pointer(list_CArray))
for i := range list {
@ -360,7 +359,6 @@ func QKeySequence_ListFromString2(str string, format QKeySequence__SequenceForma
}
func QKeySequence_ListToString2(list []QKeySequence, format QKeySequence__SequenceFormat) string {
// For the C ABI, malloc a C array of raw pointers
list_CArray := (*[0xffff]*C.QKeySequence)(C.malloc(C.size_t(8 * len(list))))
defer C.free(unsafe.Pointer(list_CArray))
for i := range list {

View File

@ -278,7 +278,6 @@ func (this *QListView) SetRootIndex(index *QModelIndex) {
}
func (this *QListView) IndexesMoved(indexes []QModelIndex) {
// For the C ABI, malloc a C array of raw pointers
indexes_CArray := (*[0xffff]*C.QModelIndex)(C.malloc(C.size_t(8 * len(indexes))))
defer C.free(unsafe.Pointer(indexes_CArray))
for i := range indexes {

View File

@ -459,7 +459,6 @@ func (this *QListWidget) InsertItem2(row int, label string) {
}
func (this *QListWidget) InsertItems(row int, labels []string) {
// For the C ABI, malloc a C array of structs
labels_CArray := (*[0xffff]C.struct_miqt_string)(C.malloc(C.size_t(int(unsafe.Sizeof(C.struct_miqt_string{})) * len(labels))))
defer C.free(unsafe.Pointer(labels_CArray))
for i := range labels {
@ -487,7 +486,6 @@ func (this *QListWidget) AddItemWithItem(item *QListWidgetItem) {
}
func (this *QListWidget) AddItems(labels []string) {
// For the C ABI, malloc a C array of structs
labels_CArray := (*[0xffff]C.struct_miqt_string)(C.malloc(C.size_t(int(unsafe.Sizeof(C.struct_miqt_string{})) * len(labels))))
defer C.free(unsafe.Pointer(labels_CArray))
for i := range labels {

View File

@ -1751,7 +1751,6 @@ func (this *QLocale) QuoteString(str string) string {
}
func (this *QLocale) CreateSeparatedList(strl []string) string {
// For the C ABI, malloc a C array of structs
strl_CArray := (*[0xffff]C.struct_miqt_string)(C.malloc(C.size_t(int(unsafe.Sizeof(C.struct_miqt_string{})) * len(strl))))
defer C.free(unsafe.Pointer(strl_CArray))
for i := range strl {

View File

@ -296,7 +296,6 @@ func (this *QMainWindow) DockWidgetArea(dockwidget *QDockWidget) DockWidgetArea
}
func (this *QMainWindow) ResizeDocks(docks []*QDockWidget, sizes []int, orientation Orientation) {
// For the C ABI, malloc a C array of raw pointers
docks_CArray := (*[0xffff]*C.QDockWidget)(C.malloc(C.size_t(8 * len(docks))))
defer C.free(unsafe.Pointer(docks_CArray))
for i := range docks {
@ -304,7 +303,6 @@ func (this *QMainWindow) ResizeDocks(docks []*QDockWidget, sizes []int, orientat
}
docks_ma := &C.struct_miqt_array{len: C.size_t(len(docks)), data: unsafe.Pointer(docks_CArray)}
defer runtime.KeepAlive(unsafe.Pointer(docks_ma))
// For the C ABI, malloc a C array of raw pointers
sizes_CArray := (*[0xffff]C.int)(C.malloc(C.size_t(8 * len(sizes))))
defer C.free(unsafe.Pointer(sizes_CArray))
for i := range sizes {

View File

@ -245,7 +245,6 @@ func (this *QMenu) ExecWithPos(pos *QPoint) *QAction {
}
func QMenu_Exec2(actions []*QAction, pos *QPoint) *QAction {
// For the C ABI, malloc a C array of raw pointers
actions_CArray := (*[0xffff]*C.QAction)(C.malloc(C.size_t(8 * len(actions))))
defer C.free(unsafe.Pointer(actions_CArray))
for i := range actions {
@ -451,7 +450,6 @@ func (this *QMenu) Exec22(pos *QPoint, at *QAction) *QAction {
}
func QMenu_Exec3(actions []*QAction, pos *QPoint, at *QAction) *QAction {
// For the C ABI, malloc a C array of raw pointers
actions_CArray := (*[0xffff]*C.QAction)(C.malloc(C.size_t(8 * len(actions))))
defer C.free(unsafe.Pointer(actions_CArray))
for i := range actions {
@ -463,7 +461,6 @@ func QMenu_Exec3(actions []*QAction, pos *QPoint, at *QAction) *QAction {
}
func QMenu_Exec4(actions []*QAction, pos *QPoint, at *QAction, parent *QWidget) *QAction {
// For the C ABI, malloc a C array of raw pointers
actions_CArray := (*[0xffff]*C.QAction)(C.malloc(C.size_t(8 * len(actions))))
defer C.free(unsafe.Pointer(actions_CArray))
for i := range actions {

View File

@ -92,7 +92,6 @@ func (this *QMimeData) Urls() []QUrl {
}
func (this *QMimeData) SetUrls(urls []QUrl) {
// For the C ABI, malloc a C array of raw pointers
urls_CArray := (*[0xffff]*C.QUrl)(C.malloc(C.size_t(8 * len(urls))))
defer C.free(unsafe.Pointer(urls_CArray))
for i := range urls {

View File

@ -490,7 +490,6 @@ func (this *QPainter) DrawLines(lines *QLineF, lineCount int) {
}
func (this *QPainter) DrawLinesWithLines(lines []QLineF) {
// For the C ABI, malloc a C array of raw pointers
lines_CArray := (*[0xffff]*C.QLineF)(C.malloc(C.size_t(8 * len(lines))))
defer C.free(unsafe.Pointer(lines_CArray))
for i := range lines {
@ -506,7 +505,6 @@ func (this *QPainter) DrawLines2(pointPairs *QPointF, lineCount int) {
}
func (this *QPainter) DrawLinesWithPointPairs(pointPairs []QPointF) {
// For the C ABI, malloc a C array of raw pointers
pointPairs_CArray := (*[0xffff]*C.QPointF)(C.malloc(C.size_t(8 * len(pointPairs))))
defer C.free(unsafe.Pointer(pointPairs_CArray))
for i := range pointPairs {
@ -522,7 +520,6 @@ func (this *QPainter) DrawLines3(lines *QLine, lineCount int) {
}
func (this *QPainter) DrawLines4(lines []QLine) {
// For the C ABI, malloc a C array of raw pointers
lines_CArray := (*[0xffff]*C.QLine)(C.malloc(C.size_t(8 * len(lines))))
defer C.free(unsafe.Pointer(lines_CArray))
for i := range lines {
@ -538,7 +535,6 @@ func (this *QPainter) DrawLines5(pointPairs *QPoint, lineCount int) {
}
func (this *QPainter) DrawLines6(pointPairs []QPoint) {
// For the C ABI, malloc a C array of raw pointers
pointPairs_CArray := (*[0xffff]*C.QPoint)(C.malloc(C.size_t(8 * len(pointPairs))))
defer C.free(unsafe.Pointer(pointPairs_CArray))
for i := range pointPairs {
@ -566,7 +562,6 @@ func (this *QPainter) DrawRects(rects *QRectF, rectCount int) {
}
func (this *QPainter) DrawRectsWithRectangles(rectangles []QRectF) {
// For the C ABI, malloc a C array of raw pointers
rectangles_CArray := (*[0xffff]*C.QRectF)(C.malloc(C.size_t(8 * len(rectangles))))
defer C.free(unsafe.Pointer(rectangles_CArray))
for i := range rectangles {
@ -582,7 +577,6 @@ func (this *QPainter) DrawRects2(rects *QRect, rectCount int) {
}
func (this *QPainter) DrawRects3(rectangles []QRect) {
// For the C ABI, malloc a C array of raw pointers
rectangles_CArray := (*[0xffff]*C.QRect)(C.malloc(C.size_t(8 * len(rectangles))))
defer C.free(unsafe.Pointer(rectangles_CArray))
for i := range rectangles {

View File

@ -528,7 +528,6 @@ func (this *QPainterPathStroker) SetDashPattern(dashPattern PenStyle) {
}
func (this *QPainterPathStroker) SetDashPatternWithDashPattern(dashPattern []float64) {
// For the C ABI, malloc a C array of raw pointers
dashPattern_CArray := (*[0xffff]C.double)(C.malloc(C.size_t(8 * len(dashPattern))))
defer C.free(unsafe.Pointer(dashPattern_CArray))
for i := range dashPattern {

View File

@ -118,7 +118,6 @@ func (this *QPen) DashPattern() []float64 {
}
func (this *QPen) SetDashPattern(pattern []float64) {
// For the C ABI, malloc a C array of raw pointers
pattern_CArray := (*[0xffff]C.double)(C.malloc(C.size_t(8 * len(pattern))))
defer C.free(unsafe.Pointer(pattern_CArray))
for i := range pattern {

View File

@ -350,7 +350,6 @@ func (this *QPlainTextEdit) SetCursorWidth(width int) {
}
func (this *QPlainTextEdit) SetExtraSelections(selections []QTextEdit__ExtraSelection) {
// For the C ABI, malloc a C array of raw pointers
selections_CArray := (*[0xffff]*C.QTextEdit__ExtraSelection)(C.malloc(C.size_t(8 * len(selections))))
defer C.free(unsafe.Pointer(selections_CArray))
for i := range selections {

View File

@ -311,7 +311,6 @@ func (this *QProcess) Start(program string, arguments []string) {
program_ms.data = C.CString(program)
program_ms.len = C.size_t(len(program))
defer C.free(unsafe.Pointer(program_ms.data))
// For the C ABI, malloc a C array of structs
arguments_CArray := (*[0xffff]C.struct_miqt_string)(C.malloc(C.size_t(int(unsafe.Sizeof(C.struct_miqt_string{})) * len(arguments))))
defer C.free(unsafe.Pointer(arguments_CArray))
for i := range arguments {
@ -376,7 +375,6 @@ func (this *QProcess) Arguments() []string {
}
func (this *QProcess) SetArguments(arguments []string) {
// For the C ABI, malloc a C array of structs
arguments_CArray := (*[0xffff]C.struct_miqt_string)(C.malloc(C.size_t(int(unsafe.Sizeof(C.struct_miqt_string{})) * len(arguments))))
defer C.free(unsafe.Pointer(arguments_CArray))
for i := range arguments {
@ -475,7 +473,6 @@ func (this *QProcess) SetWorkingDirectory(dir string) {
}
func (this *QProcess) SetEnvironment(environment []string) {
// For the C ABI, malloc a C array of structs
environment_CArray := (*[0xffff]C.struct_miqt_string)(C.malloc(C.size_t(int(unsafe.Sizeof(C.struct_miqt_string{})) * len(environment))))
defer C.free(unsafe.Pointer(environment_CArray))
for i := range environment {
@ -602,7 +599,6 @@ func QProcess_Execute(program string, arguments []string) int {
program_ms.data = C.CString(program)
program_ms.len = C.size_t(len(program))
defer C.free(unsafe.Pointer(program_ms.data))
// For the C ABI, malloc a C array of structs
arguments_CArray := (*[0xffff]C.struct_miqt_string)(C.malloc(C.size_t(int(unsafe.Sizeof(C.struct_miqt_string{})) * len(arguments))))
defer C.free(unsafe.Pointer(arguments_CArray))
for i := range arguments {
@ -630,7 +626,6 @@ func QProcess_StartDetached2(program string, arguments []string, workingDirector
program_ms.data = C.CString(program)
program_ms.len = C.size_t(len(program))
defer C.free(unsafe.Pointer(program_ms.data))
// For the C ABI, malloc a C array of structs
arguments_CArray := (*[0xffff]C.struct_miqt_string)(C.malloc(C.size_t(int(unsafe.Sizeof(C.struct_miqt_string{})) * len(arguments))))
defer C.free(unsafe.Pointer(arguments_CArray))
for i := range arguments {
@ -654,7 +649,6 @@ func QProcess_StartDetached3(program string, arguments []string) bool {
program_ms.data = C.CString(program)
program_ms.len = C.size_t(len(program))
defer C.free(unsafe.Pointer(program_ms.data))
// For the C ABI, malloc a C array of structs
arguments_CArray := (*[0xffff]C.struct_miqt_string)(C.malloc(C.size_t(int(unsafe.Sizeof(C.struct_miqt_string{})) * len(arguments))))
defer C.free(unsafe.Pointer(arguments_CArray))
for i := range arguments {
@ -837,7 +831,6 @@ func (this *QProcess) Start3(program string, arguments []string, mode QIODevice_
program_ms.data = C.CString(program)
program_ms.len = C.size_t(len(program))
defer C.free(unsafe.Pointer(program_ms.data))
// For the C ABI, malloc a C array of structs
arguments_CArray := (*[0xffff]C.struct_miqt_string)(C.malloc(C.size_t(int(unsafe.Sizeof(C.struct_miqt_string{})) * len(arguments))))
defer C.free(unsafe.Pointer(arguments_CArray))
for i := range arguments {
@ -909,7 +902,6 @@ func QProcess_StartDetached4(program string, arguments []string, workingDirector
program_ms.data = C.CString(program)
program_ms.len = C.size_t(len(program))
defer C.free(unsafe.Pointer(program_ms.data))
// For the C ABI, malloc a C array of structs
arguments_CArray := (*[0xffff]C.struct_miqt_string)(C.malloc(C.size_t(int(unsafe.Sizeof(C.struct_miqt_string{})) * len(arguments))))
defer C.free(unsafe.Pointer(arguments_CArray))
for i := range arguments {

View File

@ -165,7 +165,6 @@ func (this *QRawFont) GlyphIndexesForString(text string) []uint {
}
func (this *QRawFont) AdvancesForGlyphIndexes(glyphIndexes []uint) []QPointF {
// For the C ABI, malloc a C array of raw pointers
glyphIndexes_CArray := (*[0xffff]C.uint)(C.malloc(C.size_t(8 * len(glyphIndexes))))
defer C.free(unsafe.Pointer(glyphIndexes_CArray))
for i := range glyphIndexes {
@ -187,7 +186,6 @@ func (this *QRawFont) AdvancesForGlyphIndexes(glyphIndexes []uint) []QPointF {
}
func (this *QRawFont) AdvancesForGlyphIndexes2(glyphIndexes []uint, layoutFlags QRawFont__LayoutFlag) []QPointF {
// For the C ABI, malloc a C array of raw pointers
glyphIndexes_CArray := (*[0xffff]C.uint)(C.malloc(C.size_t(8 * len(glyphIndexes))))
defer C.free(unsafe.Pointer(glyphIndexes_CArray))
for i := range glyphIndexes {

View File

@ -178,7 +178,6 @@ func (this *QScroller) ScrollerProperties() *QScrollerProperties {
}
func (this *QScroller) SetSnapPositionsX(positions []float64) {
// For the C ABI, malloc a C array of raw pointers
positions_CArray := (*[0xffff]C.double)(C.malloc(C.size_t(8 * len(positions))))
defer C.free(unsafe.Pointer(positions_CArray))
for i := range positions {
@ -194,7 +193,6 @@ func (this *QScroller) SetSnapPositionsX2(first float64, interval float64) {
}
func (this *QScroller) SetSnapPositionsY(positions []float64) {
// For the C ABI, malloc a C array of raw pointers
positions_CArray := (*[0xffff]C.double)(C.malloc(C.size_t(8 * len(positions))))
defer C.free(unsafe.Pointer(positions_CArray))
for i := range positions {

View File

@ -119,7 +119,6 @@ func (this *QSessionManager) RestartHint() QSessionManager__RestartHint {
}
func (this *QSessionManager) SetRestartCommand(restartCommand []string) {
// For the C ABI, malloc a C array of structs
restartCommand_CArray := (*[0xffff]C.struct_miqt_string)(C.malloc(C.size_t(int(unsafe.Sizeof(C.struct_miqt_string{})) * len(restartCommand))))
defer C.free(unsafe.Pointer(restartCommand_CArray))
for i := range restartCommand {
@ -149,7 +148,6 @@ func (this *QSessionManager) RestartCommand() []string {
}
func (this *QSessionManager) SetDiscardCommand(discardCommand []string) {
// For the C ABI, malloc a C array of structs
discardCommand_CArray := (*[0xffff]C.struct_miqt_string)(C.malloc(C.size_t(int(unsafe.Sizeof(C.struct_miqt_string{})) * len(discardCommand))))
defer C.free(unsafe.Pointer(discardCommand_CArray))
for i := range discardCommand {
@ -195,7 +193,6 @@ func (this *QSessionManager) SetManagerProperty2(name string, value []string) {
name_ms.data = C.CString(name)
name_ms.len = C.size_t(len(name))
defer C.free(unsafe.Pointer(name_ms.data))
// For the C ABI, malloc a C array of structs
value_CArray := (*[0xffff]C.struct_miqt_string)(C.malloc(C.size_t(int(unsafe.Sizeof(C.struct_miqt_string{})) * len(value))))
defer C.free(unsafe.Pointer(value_CArray))
for i := range value {

View File

@ -292,7 +292,6 @@ func (this *QSortFilterProxyModel) SetHeaderData(section int, orientation Orient
}
func (this *QSortFilterProxyModel) MimeData(indexes []QModelIndex) *QMimeData {
// For the C ABI, malloc a C array of raw pointers
indexes_CArray := (*[0xffff]*C.QModelIndex)(C.malloc(C.size_t(8 * len(indexes))))
defer C.free(unsafe.Pointer(indexes_CArray))
for i := range indexes {

View File

@ -170,7 +170,6 @@ func (this *QSplitter) Sizes() []int {
}
func (this *QSplitter) SetSizes(list []int) {
// For the C ABI, malloc a C array of raw pointers
list_CArray := (*[0xffff]C.int)(C.malloc(C.size_t(8 * len(list))))
defer C.free(unsafe.Pointer(list_CArray))
for i := range list {

View File

@ -400,7 +400,6 @@ func (this *QStandardItem) SetChild2(row int, item *QStandardItem) {
}
func (this *QStandardItem) InsertRow(row int, items []*QStandardItem) {
// For the C ABI, malloc a C array of raw pointers
items_CArray := (*[0xffff]*C.QStandardItem)(C.malloc(C.size_t(8 * len(items))))
defer C.free(unsafe.Pointer(items_CArray))
for i := range items {
@ -412,7 +411,6 @@ func (this *QStandardItem) InsertRow(row int, items []*QStandardItem) {
}
func (this *QStandardItem) InsertColumn(column int, items []*QStandardItem) {
// For the C ABI, malloc a C array of raw pointers
items_CArray := (*[0xffff]*C.QStandardItem)(C.malloc(C.size_t(8 * len(items))))
defer C.free(unsafe.Pointer(items_CArray))
for i := range items {
@ -424,7 +422,6 @@ func (this *QStandardItem) InsertColumn(column int, items []*QStandardItem) {
}
func (this *QStandardItem) InsertRows(row int, items []*QStandardItem) {
// For the C ABI, malloc a C array of raw pointers
items_CArray := (*[0xffff]*C.QStandardItem)(C.malloc(C.size_t(8 * len(items))))
defer C.free(unsafe.Pointer(items_CArray))
for i := range items {
@ -460,7 +457,6 @@ func (this *QStandardItem) RemoveColumns(column int, count int) {
}
func (this *QStandardItem) AppendRow(items []*QStandardItem) {
// For the C ABI, malloc a C array of raw pointers
items_CArray := (*[0xffff]*C.QStandardItem)(C.malloc(C.size_t(8 * len(items))))
defer C.free(unsafe.Pointer(items_CArray))
for i := range items {
@ -472,7 +468,6 @@ func (this *QStandardItem) AppendRow(items []*QStandardItem) {
}
func (this *QStandardItem) AppendRows(items []*QStandardItem) {
// For the C ABI, malloc a C array of raw pointers
items_CArray := (*[0xffff]*C.QStandardItem)(C.malloc(C.size_t(8 * len(items))))
defer C.free(unsafe.Pointer(items_CArray))
for i := range items {
@ -484,7 +479,6 @@ func (this *QStandardItem) AppendRows(items []*QStandardItem) {
}
func (this *QStandardItem) AppendColumn(items []*QStandardItem) {
// For the C ABI, malloc a C array of raw pointers
items_CArray := (*[0xffff]*C.QStandardItem)(C.malloc(C.size_t(8 * len(items))))
defer C.free(unsafe.Pointer(items_CArray))
for i := range items {
@ -807,7 +801,6 @@ func (this *QStandardItemModel) SetVerticalHeaderItem(row int, item *QStandardIt
}
func (this *QStandardItemModel) SetHorizontalHeaderLabels(labels []string) {
// For the C ABI, malloc a C array of structs
labels_CArray := (*[0xffff]C.struct_miqt_string)(C.malloc(C.size_t(int(unsafe.Sizeof(C.struct_miqt_string{})) * len(labels))))
defer C.free(unsafe.Pointer(labels_CArray))
for i := range labels {
@ -823,7 +816,6 @@ func (this *QStandardItemModel) SetHorizontalHeaderLabels(labels []string) {
}
func (this *QStandardItemModel) SetVerticalHeaderLabels(labels []string) {
// For the C ABI, malloc a C array of structs
labels_CArray := (*[0xffff]C.struct_miqt_string)(C.malloc(C.size_t(int(unsafe.Sizeof(C.struct_miqt_string{})) * len(labels))))
defer C.free(unsafe.Pointer(labels_CArray))
for i := range labels {
@ -847,7 +839,6 @@ func (this *QStandardItemModel) SetColumnCount(columns int) {
}
func (this *QStandardItemModel) AppendRow(items []*QStandardItem) {
// For the C ABI, malloc a C array of raw pointers
items_CArray := (*[0xffff]*C.QStandardItem)(C.malloc(C.size_t(8 * len(items))))
defer C.free(unsafe.Pointer(items_CArray))
for i := range items {
@ -859,7 +850,6 @@ func (this *QStandardItemModel) AppendRow(items []*QStandardItem) {
}
func (this *QStandardItemModel) AppendColumn(items []*QStandardItem) {
// For the C ABI, malloc a C array of raw pointers
items_CArray := (*[0xffff]*C.QStandardItem)(C.malloc(C.size_t(8 * len(items))))
defer C.free(unsafe.Pointer(items_CArray))
for i := range items {
@ -875,7 +865,6 @@ func (this *QStandardItemModel) AppendRowWithItem(item *QStandardItem) {
}
func (this *QStandardItemModel) InsertRow(row int, items []*QStandardItem) {
// For the C ABI, malloc a C array of raw pointers
items_CArray := (*[0xffff]*C.QStandardItem)(C.malloc(C.size_t(8 * len(items))))
defer C.free(unsafe.Pointer(items_CArray))
for i := range items {
@ -887,7 +876,6 @@ func (this *QStandardItemModel) InsertRow(row int, items []*QStandardItem) {
}
func (this *QStandardItemModel) InsertColumn(column int, items []*QStandardItem) {
// For the C ABI, malloc a C array of raw pointers
items_CArray := (*[0xffff]*C.QStandardItem)(C.malloc(C.size_t(8 * len(items))))
defer C.free(unsafe.Pointer(items_CArray))
for i := range items {
@ -990,7 +978,6 @@ func (this *QStandardItemModel) MimeTypes() []string {
}
func (this *QStandardItemModel) MimeData(indexes []QModelIndex) *QMimeData {
// For the C ABI, malloc a C array of raw pointers
indexes_CArray := (*[0xffff]*C.QModelIndex)(C.malloc(C.size_t(8 * len(indexes))))
defer C.free(unsafe.Pointer(indexes_CArray))
for i := range indexes {

View File

@ -188,7 +188,6 @@ func QStandardPaths_FindExecutable2(executableName string, paths []string) strin
executableName_ms.data = C.CString(executableName)
executableName_ms.len = C.size_t(len(executableName))
defer C.free(unsafe.Pointer(executableName_ms.data))
// For the C ABI, malloc a C array of structs
paths_CArray := (*[0xffff]C.struct_miqt_string)(C.malloc(C.size_t(int(unsafe.Sizeof(C.struct_miqt_string{})) * len(paths))))
defer C.free(unsafe.Pointer(paths_CArray))
for i := range paths {

View File

@ -51,7 +51,6 @@ func NewQStringListModel() *QStringListModel {
// NewQStringListModel2 constructs a new QStringListModel object.
func NewQStringListModel2(strings []string) *QStringListModel {
// For the C ABI, malloc a C array of structs
strings_CArray := (*[0xffff]C.struct_miqt_string)(C.malloc(C.size_t(int(unsafe.Sizeof(C.struct_miqt_string{})) * len(strings))))
defer C.free(unsafe.Pointer(strings_CArray))
for i := range strings {
@ -75,7 +74,6 @@ func NewQStringListModel3(parent *QObject) *QStringListModel {
// NewQStringListModel4 constructs a new QStringListModel object.
func NewQStringListModel4(strings []string, parent *QObject) *QStringListModel {
// For the C ABI, malloc a C array of structs
strings_CArray := (*[0xffff]C.struct_miqt_string)(C.malloc(C.size_t(int(unsafe.Sizeof(C.struct_miqt_string{})) * len(strings))))
defer C.free(unsafe.Pointer(strings_CArray))
for i := range strings {
@ -176,7 +174,6 @@ func (this *QStringListModel) StringList() []string {
}
func (this *QStringListModel) SetStringList(strings []string) {
// For the C ABI, malloc a C array of structs
strings_CArray := (*[0xffff]C.struct_miqt_string)(C.malloc(C.size_t(int(unsafe.Sizeof(C.struct_miqt_string{})) * len(strings))))
defer C.free(unsafe.Pointer(strings_CArray))
for i := range strings {

View File

@ -570,7 +570,6 @@ func (this *QTableWidget) TakeHorizontalHeaderItem(column int) *QTableWidgetItem
}
func (this *QTableWidget) SetVerticalHeaderLabels(labels []string) {
// For the C ABI, malloc a C array of structs
labels_CArray := (*[0xffff]C.struct_miqt_string)(C.malloc(C.size_t(int(unsafe.Sizeof(C.struct_miqt_string{})) * len(labels))))
defer C.free(unsafe.Pointer(labels_CArray))
for i := range labels {
@ -586,7 +585,6 @@ func (this *QTableWidget) SetVerticalHeaderLabels(labels []string) {
}
func (this *QTableWidget) SetHorizontalHeaderLabels(labels []string) {
// For the C ABI, malloc a C array of structs
labels_CArray := (*[0xffff]C.struct_miqt_string)(C.malloc(C.size_t(int(unsafe.Sizeof(C.struct_miqt_string{})) * len(labels))))
defer C.free(unsafe.Pointer(labels_CArray))
for i := range labels {

View File

@ -110,7 +110,6 @@ func (this *QTextBrowser) SearchPaths() []string {
}
func (this *QTextBrowser) SetSearchPaths(paths []string) {
// For the C ABI, malloc a C array of structs
paths_CArray := (*[0xffff]C.struct_miqt_string)(C.malloc(C.size_t(int(unsafe.Sizeof(C.struct_miqt_string{})) * len(paths))))
defer C.free(unsafe.Pointer(paths_CArray))
for i := range paths {

View File

@ -422,7 +422,6 @@ func (this *QTextEdit) SetAcceptRichText(accept bool) {
}
func (this *QTextEdit) SetExtraSelections(selections []QTextEdit__ExtraSelection) {
// For the C ABI, malloc a C array of raw pointers
selections_CArray := (*[0xffff]*C.QTextEdit__ExtraSelection)(C.malloc(C.size_t(8 * len(selections))))
defer C.free(unsafe.Pointer(selections_CArray))
for i := range selections {

View File

@ -490,7 +490,6 @@ func (this *QTextFormat) LengthVectorProperty(propertyId int) []QTextLength {
}
func (this *QTextFormat) SetProperty2(propertyId int, lengths []QTextLength) {
// For the C ABI, malloc a C array of raw pointers
lengths_CArray := (*[0xffff]*C.QTextLength)(C.malloc(C.size_t(8 * len(lengths))))
defer C.free(unsafe.Pointer(lengths_CArray))
for i := range lengths {
@ -727,7 +726,6 @@ func (this *QTextCharFormat) FontFamily() string {
}
func (this *QTextCharFormat) SetFontFamilies(families []string) {
// For the C ABI, malloc a C array of structs
families_CArray := (*[0xffff]C.struct_miqt_string)(C.malloc(C.size_t(int(unsafe.Sizeof(C.struct_miqt_string{})) * len(families))))
defer C.free(unsafe.Pointer(families_CArray))
for i := range families {
@ -984,7 +982,6 @@ func (this *QTextCharFormat) AnchorName() string {
}
func (this *QTextCharFormat) SetAnchorNames(names []string) {
// For the C ABI, malloc a C array of structs
names_CArray := (*[0xffff]C.struct_miqt_string)(C.malloc(C.size_t(int(unsafe.Sizeof(C.struct_miqt_string{})) * len(names))))
defer C.free(unsafe.Pointer(names_CArray))
for i := range names {
@ -1190,7 +1187,6 @@ func (this *QTextBlockFormat) PageBreakPolicy() QTextFormat__PageBreakFlag {
}
func (this *QTextBlockFormat) SetTabPositions(tabs []QTextOption__Tab) {
// For the C ABI, malloc a C array of raw pointers
tabs_CArray := (*[0xffff]*C.QTextOption__Tab)(C.malloc(C.size_t(8 * len(tabs))))
defer C.free(unsafe.Pointer(tabs_CArray))
for i := range tabs {
@ -1670,7 +1666,6 @@ func (this *QTextTableFormat) SetColumns(columns int) {
}
func (this *QTextTableFormat) SetColumnWidthConstraints(constraints []QTextLength) {
// For the C ABI, malloc a C array of raw pointers
constraints_CArray := (*[0xffff]*C.QTextLength)(C.malloc(C.size_t(8 * len(constraints))))
defer C.free(unsafe.Pointer(constraints_CArray))
for i := range constraints {

View File

@ -270,7 +270,6 @@ func (this *QTextLayout) PreeditAreaText() string {
}
func (this *QTextLayout) SetAdditionalFormats(overrides []QTextLayout__FormatRange) {
// For the C ABI, malloc a C array of raw pointers
overrides_CArray := (*[0xffff]*C.QTextLayout__FormatRange)(C.malloc(C.size_t(8 * len(overrides))))
defer C.free(unsafe.Pointer(overrides_CArray))
for i := range overrides {
@ -300,7 +299,6 @@ func (this *QTextLayout) ClearAdditionalFormats() {
}
func (this *QTextLayout) SetFormats(overrides []QTextLayout__FormatRange) {
// For the C ABI, malloc a C array of raw pointers
overrides_CArray := (*[0xffff]*C.QTextLayout__FormatRange)(C.malloc(C.size_t(8 * len(overrides))))
defer C.free(unsafe.Pointer(overrides_CArray))
for i := range overrides {
@ -467,7 +465,6 @@ func (this *QTextLayout) PreviousCursorPosition2(oldPos int, mode QTextLayout__C
}
func (this *QTextLayout) Draw3(p *QPainter, pos *QPointF, selections []QTextLayout__FormatRange) {
// For the C ABI, malloc a C array of raw pointers
selections_CArray := (*[0xffff]*C.QTextLayout__FormatRange)(C.malloc(C.size_t(8 * len(selections))))
defer C.free(unsafe.Pointer(selections_CArray))
for i := range selections {
@ -479,7 +476,6 @@ func (this *QTextLayout) Draw3(p *QPainter, pos *QPointF, selections []QTextLayo
}
func (this *QTextLayout) Draw4(p *QPainter, pos *QPointF, selections []QTextLayout__FormatRange, clip *QRectF) {
// For the C ABI, malloc a C array of raw pointers
selections_CArray := (*[0xffff]*C.QTextLayout__FormatRange)(C.malloc(C.size_t(8 * len(selections))))
defer C.free(unsafe.Pointer(selections_CArray))
for i := range selections {

View File

@ -143,7 +143,6 @@ func (this *QTextOption) TabStopDistance() float64 {
}
func (this *QTextOption) SetTabArray(tabStops []float64) {
// For the C ABI, malloc a C array of raw pointers
tabStops_CArray := (*[0xffff]C.double)(C.malloc(C.size_t(8 * len(tabStops))))
defer C.free(unsafe.Pointer(tabStops_CArray))
for i := range tabStops {
@ -166,7 +165,6 @@ func (this *QTextOption) TabArray() []float64 {
}
func (this *QTextOption) SetTabs(tabStops []QTextOption__Tab) {
// For the C ABI, malloc a C array of raw pointers
tabStops_CArray := (*[0xffff]*C.QTextOption__Tab)(C.malloc(C.size_t(8 * len(tabStops))))
defer C.free(unsafe.Pointer(tabStops_CArray))
for i := range tabStops {

View File

@ -441,7 +441,6 @@ func (this *QTreeView) ScrollTo2(index *QModelIndex, hint QAbstractItemView__Scr
}
func (this *QTreeView) DataChanged3(topLeft *QModelIndex, bottomRight *QModelIndex, roles []int) {
// For the C ABI, malloc a C array of raw pointers
roles_CArray := (*[0xffff]C.int)(C.malloc(C.size_t(8 * len(roles))))
defer C.free(unsafe.Pointer(roles_CArray))
for i := range roles {

View File

@ -66,7 +66,6 @@ func NewQTreeWidgetItem() *QTreeWidgetItem {
// NewQTreeWidgetItem2 constructs a new QTreeWidgetItem object.
func NewQTreeWidgetItem2(strings []string) *QTreeWidgetItem {
// For the C ABI, malloc a C array of structs
strings_CArray := (*[0xffff]C.struct_miqt_string)(C.malloc(C.size_t(int(unsafe.Sizeof(C.struct_miqt_string{})) * len(strings))))
defer C.free(unsafe.Pointer(strings_CArray))
for i := range strings {
@ -90,7 +89,6 @@ func NewQTreeWidgetItem3(treeview *QTreeWidget) *QTreeWidgetItem {
// NewQTreeWidgetItem4 constructs a new QTreeWidgetItem object.
func NewQTreeWidgetItem4(treeview *QTreeWidget, strings []string) *QTreeWidgetItem {
// For the C ABI, malloc a C array of structs
strings_CArray := (*[0xffff]C.struct_miqt_string)(C.malloc(C.size_t(int(unsafe.Sizeof(C.struct_miqt_string{})) * len(strings))))
defer C.free(unsafe.Pointer(strings_CArray))
for i := range strings {
@ -120,7 +118,6 @@ func NewQTreeWidgetItem6(parent *QTreeWidgetItem) *QTreeWidgetItem {
// NewQTreeWidgetItem7 constructs a new QTreeWidgetItem object.
func NewQTreeWidgetItem7(parent *QTreeWidgetItem, strings []string) *QTreeWidgetItem {
// For the C ABI, malloc a C array of structs
strings_CArray := (*[0xffff]C.struct_miqt_string)(C.malloc(C.size_t(int(unsafe.Sizeof(C.struct_miqt_string{})) * len(strings))))
defer C.free(unsafe.Pointer(strings_CArray))
for i := range strings {
@ -156,7 +153,6 @@ func NewQTreeWidgetItem10(typeVal int) *QTreeWidgetItem {
// NewQTreeWidgetItem11 constructs a new QTreeWidgetItem object.
func NewQTreeWidgetItem11(strings []string, typeVal int) *QTreeWidgetItem {
// For the C ABI, malloc a C array of structs
strings_CArray := (*[0xffff]C.struct_miqt_string)(C.malloc(C.size_t(int(unsafe.Sizeof(C.struct_miqt_string{})) * len(strings))))
defer C.free(unsafe.Pointer(strings_CArray))
for i := range strings {
@ -180,7 +176,6 @@ func NewQTreeWidgetItem12(treeview *QTreeWidget, typeVal int) *QTreeWidgetItem {
// NewQTreeWidgetItem13 constructs a new QTreeWidgetItem object.
func NewQTreeWidgetItem13(treeview *QTreeWidget, strings []string, typeVal int) *QTreeWidgetItem {
// For the C ABI, malloc a C array of structs
strings_CArray := (*[0xffff]C.struct_miqt_string)(C.malloc(C.size_t(int(unsafe.Sizeof(C.struct_miqt_string{})) * len(strings))))
defer C.free(unsafe.Pointer(strings_CArray))
for i := range strings {
@ -210,7 +205,6 @@ func NewQTreeWidgetItem15(parent *QTreeWidgetItem, typeVal int) *QTreeWidgetItem
// NewQTreeWidgetItem16 constructs a new QTreeWidgetItem object.
func NewQTreeWidgetItem16(parent *QTreeWidgetItem, strings []string, typeVal int) *QTreeWidgetItem {
// For the C ABI, malloc a C array of structs
strings_CArray := (*[0xffff]C.struct_miqt_string)(C.malloc(C.size_t(int(unsafe.Sizeof(C.struct_miqt_string{})) * len(strings))))
defer C.free(unsafe.Pointer(strings_CArray))
for i := range strings {
@ -513,7 +507,6 @@ func (this *QTreeWidgetItem) TakeChild(index int) *QTreeWidgetItem {
}
func (this *QTreeWidgetItem) AddChildren(children []*QTreeWidgetItem) {
// For the C ABI, malloc a C array of raw pointers
children_CArray := (*[0xffff]*C.QTreeWidgetItem)(C.malloc(C.size_t(8 * len(children))))
defer C.free(unsafe.Pointer(children_CArray))
for i := range children {
@ -525,7 +518,6 @@ func (this *QTreeWidgetItem) AddChildren(children []*QTreeWidgetItem) {
}
func (this *QTreeWidgetItem) InsertChildren(index int, children []*QTreeWidgetItem) {
// For the C ABI, malloc a C array of raw pointers
children_CArray := (*[0xffff]*C.QTreeWidgetItem)(C.malloc(C.size_t(8 * len(children))))
defer C.free(unsafe.Pointer(children_CArray))
for i := range children {
@ -676,7 +668,6 @@ func (this *QTreeWidget) IndexOfTopLevelItem(item *QTreeWidgetItem) int {
}
func (this *QTreeWidget) InsertTopLevelItems(index int, items []*QTreeWidgetItem) {
// For the C ABI, malloc a C array of raw pointers
items_CArray := (*[0xffff]*C.QTreeWidgetItem)(C.malloc(C.size_t(8 * len(items))))
defer C.free(unsafe.Pointer(items_CArray))
for i := range items {
@ -688,7 +679,6 @@ func (this *QTreeWidget) InsertTopLevelItems(index int, items []*QTreeWidgetItem
}
func (this *QTreeWidget) AddTopLevelItems(items []*QTreeWidgetItem) {
// For the C ABI, malloc a C array of raw pointers
items_CArray := (*[0xffff]*C.QTreeWidgetItem)(C.malloc(C.size_t(8 * len(items))))
defer C.free(unsafe.Pointer(items_CArray))
for i := range items {
@ -708,7 +698,6 @@ func (this *QTreeWidget) SetHeaderItem(item *QTreeWidgetItem) {
}
func (this *QTreeWidget) SetHeaderLabels(labels []string) {
// For the C ABI, malloc a C array of structs
labels_CArray := (*[0xffff]C.struct_miqt_string)(C.malloc(C.size_t(int(unsafe.Sizeof(C.struct_miqt_string{})) * len(labels))))
defer C.free(unsafe.Pointer(labels_CArray))
for i := range labels {

View File

@ -510,7 +510,6 @@ func QUrl_IdnWhitelist() []string {
}
func QUrl_ToStringList(uris []QUrl) []string {
// For the C ABI, malloc a C array of raw pointers
uris_CArray := (*[0xffff]*C.QUrl)(C.malloc(C.size_t(8 * len(uris))))
defer C.free(unsafe.Pointer(uris_CArray))
for i := range uris {
@ -532,7 +531,6 @@ func QUrl_ToStringList(uris []QUrl) []string {
}
func QUrl_FromStringList(uris []string) []QUrl {
// For the C ABI, malloc a C array of structs
uris_CArray := (*[0xffff]C.struct_miqt_string)(C.malloc(C.size_t(int(unsafe.Sizeof(C.struct_miqt_string{})) * len(uris))))
defer C.free(unsafe.Pointer(uris_CArray))
for i := range uris {
@ -558,7 +556,6 @@ func QUrl_FromStringList(uris []string) []QUrl {
}
func QUrl_SetIdnWhitelist(idnWhitelist []string) {
// For the C ABI, malloc a C array of structs
idnWhitelist_CArray := (*[0xffff]C.struct_miqt_string)(C.malloc(C.size_t(int(unsafe.Sizeof(C.struct_miqt_string{})) * len(idnWhitelist))))
defer C.free(unsafe.Pointer(idnWhitelist_CArray))
for i := range idnWhitelist {
@ -776,7 +773,6 @@ func QUrl_ToPercentEncoding3(param1 string, exclude []byte, include []byte) []by
}
func QUrl_FromStringList2(uris []string, mode QUrl__ParsingMode) []QUrl {
// For the C ABI, malloc a C array of structs
uris_CArray := (*[0xffff]C.struct_miqt_string)(C.malloc(C.size_t(int(unsafe.Sizeof(C.struct_miqt_string{})) * len(uris))))
defer C.free(unsafe.Pointer(uris_CArray))
for i := range uris {

View File

@ -222,7 +222,6 @@ func NewQVariant17(stringVal string) *QVariant {
// NewQVariant18 constructs a new QVariant object.
func NewQVariant18(stringlist []string) *QVariant {
// For the C ABI, malloc a C array of structs
stringlist_CArray := (*[0xffff]C.struct_miqt_string)(C.malloc(C.size_t(int(unsafe.Sizeof(C.struct_miqt_string{})) * len(stringlist))))
defer C.free(unsafe.Pointer(stringlist_CArray))
for i := range stringlist {

View File

@ -50,7 +50,6 @@ func NewQVersionNumber() *QVersionNumber {
// NewQVersionNumber2 constructs a new QVersionNumber object.
func NewQVersionNumber2(seg []int) *QVersionNumber {
// For the C ABI, malloc a C array of raw pointers
seg_CArray := (*[0xffff]C.int)(C.malloc(C.size_t(8 * len(seg))))
defer C.free(unsafe.Pointer(seg_CArray))
for i := range seg {

View File

@ -1198,7 +1198,6 @@ func (this *QWidget) AddAction(action *QAction) {
}
func (this *QWidget) AddActions(actions []*QAction) {
// For the C ABI, malloc a C array of raw pointers
actions_CArray := (*[0xffff]*C.QAction)(C.malloc(C.size_t(8 * len(actions))))
defer C.free(unsafe.Pointer(actions_CArray))
for i := range actions {
@ -1210,7 +1209,6 @@ func (this *QWidget) AddActions(actions []*QAction) {
}
func (this *QWidget) InsertActions(before *QAction, actions []*QAction) {
// For the C ABI, malloc a C array of raw pointers
actions_CArray := (*[0xffff]*C.QAction)(C.malloc(C.size_t(8 * len(actions))))
defer C.free(unsafe.Pointer(actions_CArray))
for i := range actions {

View File

@ -286,7 +286,6 @@ func (this *QWizard) ButtonText(which QWizard__WizardButton) string {
}
func (this *QWizard) SetButtonLayout(layout []QWizard__WizardButton) {
// For the C ABI, malloc a C array of raw pointers
layout_CArray := (*[0xffff]C.int)(C.malloc(C.size_t(8 * len(layout))))
defer C.free(unsafe.Pointer(layout_CArray))
for i := range layout {

View File

@ -752,7 +752,6 @@ func (this *QXmlStreamReader) AddExtraNamespaceDeclaration(extraNamespaceDeclara
}
func (this *QXmlStreamReader) AddExtraNamespaceDeclarations(extraNamespaceDeclaractions []QXmlStreamNamespaceDeclaration) {
// For the C ABI, malloc a C array of raw pointers
extraNamespaceDeclaractions_CArray := (*[0xffff]*C.QXmlStreamNamespaceDeclaration)(C.malloc(C.size_t(8 * len(extraNamespaceDeclaractions))))
defer C.free(unsafe.Pointer(extraNamespaceDeclaractions_CArray))
for i := range extraNamespaceDeclaractions {

View File

@ -123,7 +123,6 @@ func (this *QAbstractPrintDialog) IsOptionEnabled(option QAbstractPrintDialog__P
}
func (this *QAbstractPrintDialog) SetOptionTabs(tabs []*qt.QWidget) {
// For the C ABI, malloc a C array of raw pointers
tabs_CArray := (*[0xffff]*C.QWidget)(C.malloc(C.size_t(8 * len(tabs))))
defer C.free(unsafe.Pointer(tabs_CArray))
for i := range tabs {

View File

@ -630,7 +630,6 @@ func (this *QAbstractItemModel) MimeTypes() []string {
}
func (this *QAbstractItemModel) MimeData(indexes []QModelIndex) *QMimeData {
// For the C ABI, malloc a C array of raw pointers
indexes_CArray := (*[0xffff]*C.QModelIndex)(C.malloc(C.size_t(8 * len(indexes))))
defer C.free(unsafe.Pointer(indexes_CArray))
for i := range indexes {
@ -980,7 +979,6 @@ func (this *QAbstractItemModel) CheckIndex2(index *QModelIndex, options QAbstrac
}
func (this *QAbstractItemModel) DataChanged3(topLeft *QModelIndex, bottomRight *QModelIndex, roles []int) {
// For the C ABI, malloc a C array of raw pointers
roles_CArray := (*[0xffff]C.int)(C.malloc(C.size_t(8 * len(roles))))
defer C.free(unsafe.Pointer(roles_CArray))
for i := range roles {
@ -1017,7 +1015,6 @@ func miqt_exec_callback_QAbstractItemModel_DataChanged3(cb C.intptr_t, topLeft *
}
func (this *QAbstractItemModel) LayoutChanged1(parents []QPersistentModelIndex) {
// For the C ABI, malloc a C array of raw pointers
parents_CArray := (*[0xffff]*C.QPersistentModelIndex)(C.malloc(C.size_t(8 * len(parents))))
defer C.free(unsafe.Pointer(parents_CArray))
for i := range parents {
@ -1055,7 +1052,6 @@ func miqt_exec_callback_QAbstractItemModel_LayoutChanged1(cb C.intptr_t, parents
}
func (this *QAbstractItemModel) LayoutChanged2(parents []QPersistentModelIndex, hint QAbstractItemModel__LayoutChangeHint) {
// For the C ABI, malloc a C array of raw pointers
parents_CArray := (*[0xffff]*C.QPersistentModelIndex)(C.malloc(C.size_t(8 * len(parents))))
defer C.free(unsafe.Pointer(parents_CArray))
for i := range parents {
@ -1095,7 +1091,6 @@ func miqt_exec_callback_QAbstractItemModel_LayoutChanged2(cb C.intptr_t, parents
}
func (this *QAbstractItemModel) LayoutAboutToBeChanged1(parents []QPersistentModelIndex) {
// For the C ABI, malloc a C array of raw pointers
parents_CArray := (*[0xffff]*C.QPersistentModelIndex)(C.malloc(C.size_t(8 * len(parents))))
defer C.free(unsafe.Pointer(parents_CArray))
for i := range parents {
@ -1133,7 +1128,6 @@ func miqt_exec_callback_QAbstractItemModel_LayoutAboutToBeChanged1(cb C.intptr_t
}
func (this *QAbstractItemModel) LayoutAboutToBeChanged2(parents []QPersistentModelIndex, hint QAbstractItemModel__LayoutChangeHint) {
// For the C ABI, malloc a C array of raw pointers
parents_CArray := (*[0xffff]*C.QPersistentModelIndex)(C.malloc(C.size_t(8 * len(parents))))
defer C.free(unsafe.Pointer(parents_CArray))
for i := range parents {

View File

@ -160,7 +160,6 @@ func (this *QAbstractProxyModel) Sibling(row int, column int, idx *QModelIndex)
}
func (this *QAbstractProxyModel) MimeData(indexes []QModelIndex) *QMimeData {
// For the C ABI, malloc a C array of raw pointers
indexes_CArray := (*[0xffff]*C.QModelIndex)(C.malloc(C.size_t(8 * len(indexes))))
defer C.free(unsafe.Pointer(indexes_CArray))
for i := range indexes {

View File

@ -275,7 +275,6 @@ func (this *QAction) Shortcut() *QKeySequence {
}
func (this *QAction) SetShortcuts(shortcuts []QKeySequence) {
// For the C ABI, malloc a C array of raw pointers
shortcuts_CArray := (*[0xffff]*C.QKeySequence)(C.malloc(C.size_t(8 * len(shortcuts))))
defer C.free(unsafe.Pointer(shortcuts_CArray))
for i := range shortcuts {

View File

@ -329,7 +329,6 @@ func (this *QCborArray) OperatorShiftLeft(v *QCborValue) *QCborArray {
}
func QCborArray_FromStringList(list []string) *QCborArray {
// For the C ABI, malloc a C array of structs
list_CArray := (*[0xffff]C.struct_miqt_string)(C.malloc(C.size_t(int(unsafe.Sizeof(C.struct_miqt_string{})) * len(list))))
defer C.free(unsafe.Pointer(list_CArray))
for i := range list {

View File

@ -98,7 +98,6 @@ func NewQColorSpace4(primaries QColorSpace__Primaries, gamma float32) *QColorSpa
// NewQColorSpace5 constructs a new QColorSpace object.
func NewQColorSpace5(primaries QColorSpace__Primaries, transferFunctionTable []uint16) *QColorSpace {
// For the C ABI, malloc a C array of raw pointers
transferFunctionTable_CArray := (*[0xffff]C.uint16_t)(C.malloc(C.size_t(8 * len(transferFunctionTable))))
defer C.free(unsafe.Pointer(transferFunctionTable_CArray))
for i := range transferFunctionTable {
@ -118,7 +117,6 @@ func NewQColorSpace6(whitePoint *QPointF, redPoint *QPointF, greenPoint *QPointF
// NewQColorSpace7 constructs a new QColorSpace object.
func NewQColorSpace7(whitePoint *QPointF, redPoint *QPointF, greenPoint *QPointF, bluePoint *QPointF, transferFunctionTable []uint16) *QColorSpace {
// For the C ABI, malloc a C array of raw pointers
transferFunctionTable_CArray := (*[0xffff]C.uint16_t)(C.malloc(C.size_t(8 * len(transferFunctionTable))))
defer C.free(unsafe.Pointer(transferFunctionTable_CArray))
for i := range transferFunctionTable {
@ -132,7 +130,6 @@ func NewQColorSpace7(whitePoint *QPointF, redPoint *QPointF, greenPoint *QPointF
// NewQColorSpace8 constructs a new QColorSpace object.
func NewQColorSpace8(whitePoint *QPointF, redPoint *QPointF, greenPoint *QPointF, bluePoint *QPointF, redTransferFunctionTable []uint16, greenTransferFunctionTable []uint16, blueTransferFunctionTable []uint16) *QColorSpace {
// For the C ABI, malloc a C array of raw pointers
redTransferFunctionTable_CArray := (*[0xffff]C.uint16_t)(C.malloc(C.size_t(8 * len(redTransferFunctionTable))))
defer C.free(unsafe.Pointer(redTransferFunctionTable_CArray))
for i := range redTransferFunctionTable {
@ -140,7 +137,6 @@ func NewQColorSpace8(whitePoint *QPointF, redPoint *QPointF, greenPoint *QPointF
}
redTransferFunctionTable_ma := &C.struct_miqt_array{len: C.size_t(len(redTransferFunctionTable)), data: unsafe.Pointer(redTransferFunctionTable_CArray)}
defer runtime.KeepAlive(unsafe.Pointer(redTransferFunctionTable_ma))
// For the C ABI, malloc a C array of raw pointers
greenTransferFunctionTable_CArray := (*[0xffff]C.uint16_t)(C.malloc(C.size_t(8 * len(greenTransferFunctionTable))))
defer C.free(unsafe.Pointer(greenTransferFunctionTable_CArray))
for i := range greenTransferFunctionTable {
@ -148,7 +144,6 @@ func NewQColorSpace8(whitePoint *QPointF, redPoint *QPointF, greenPoint *QPointF
}
greenTransferFunctionTable_ma := &C.struct_miqt_array{len: C.size_t(len(greenTransferFunctionTable)), data: unsafe.Pointer(greenTransferFunctionTable_CArray)}
defer runtime.KeepAlive(unsafe.Pointer(greenTransferFunctionTable_ma))
// For the C ABI, malloc a C array of raw pointers
blueTransferFunctionTable_CArray := (*[0xffff]C.uint16_t)(C.malloc(C.size_t(8 * len(blueTransferFunctionTable))))
defer C.free(unsafe.Pointer(blueTransferFunctionTable_CArray))
for i := range blueTransferFunctionTable {
@ -218,7 +213,6 @@ func (this *QColorSpace) SetTransferFunction(transferFunction QColorSpace__Trans
}
func (this *QColorSpace) SetTransferFunctionWithTransferFunctionTable(transferFunctionTable []uint16) {
// For the C ABI, malloc a C array of raw pointers
transferFunctionTable_CArray := (*[0xffff]C.uint16_t)(C.malloc(C.size_t(8 * len(transferFunctionTable))))
defer C.free(unsafe.Pointer(transferFunctionTable_CArray))
for i := range transferFunctionTable {
@ -230,7 +224,6 @@ func (this *QColorSpace) SetTransferFunctionWithTransferFunctionTable(transferFu
}
func (this *QColorSpace) SetTransferFunctions(redTransferFunctionTable []uint16, greenTransferFunctionTable []uint16, blueTransferFunctionTable []uint16) {
// For the C ABI, malloc a C array of raw pointers
redTransferFunctionTable_CArray := (*[0xffff]C.uint16_t)(C.malloc(C.size_t(8 * len(redTransferFunctionTable))))
defer C.free(unsafe.Pointer(redTransferFunctionTable_CArray))
for i := range redTransferFunctionTable {
@ -238,7 +231,6 @@ func (this *QColorSpace) SetTransferFunctions(redTransferFunctionTable []uint16,
}
redTransferFunctionTable_ma := &C.struct_miqt_array{len: C.size_t(len(redTransferFunctionTable)), data: unsafe.Pointer(redTransferFunctionTable_CArray)}
defer runtime.KeepAlive(unsafe.Pointer(redTransferFunctionTable_ma))
// For the C ABI, malloc a C array of raw pointers
greenTransferFunctionTable_CArray := (*[0xffff]C.uint16_t)(C.malloc(C.size_t(8 * len(greenTransferFunctionTable))))
defer C.free(unsafe.Pointer(greenTransferFunctionTable_CArray))
for i := range greenTransferFunctionTable {
@ -246,7 +238,6 @@ func (this *QColorSpace) SetTransferFunctions(redTransferFunctionTable []uint16,
}
greenTransferFunctionTable_ma := &C.struct_miqt_array{len: C.size_t(len(greenTransferFunctionTable)), data: unsafe.Pointer(greenTransferFunctionTable_CArray)}
defer runtime.KeepAlive(unsafe.Pointer(greenTransferFunctionTable_ma))
// For the C ABI, malloc a C array of raw pointers
blueTransferFunctionTable_CArray := (*[0xffff]C.uint16_t)(C.malloc(C.size_t(8 * len(blueTransferFunctionTable))))
defer C.free(unsafe.Pointer(blueTransferFunctionTable_CArray))
for i := range blueTransferFunctionTable {
@ -265,7 +256,6 @@ func (this *QColorSpace) WithTransferFunction(transferFunction QColorSpace__Tran
}
func (this *QColorSpace) WithTransferFunctionWithTransferFunctionTable(transferFunctionTable []uint16) *QColorSpace {
// For the C ABI, malloc a C array of raw pointers
transferFunctionTable_CArray := (*[0xffff]C.uint16_t)(C.malloc(C.size_t(8 * len(transferFunctionTable))))
defer C.free(unsafe.Pointer(transferFunctionTable_CArray))
for i := range transferFunctionTable {
@ -280,7 +270,6 @@ func (this *QColorSpace) WithTransferFunctionWithTransferFunctionTable(transferF
}
func (this *QColorSpace) WithTransferFunctions(redTransferFunctionTable []uint16, greenTransferFunctionTable []uint16, blueTransferFunctionTable []uint16) *QColorSpace {
// For the C ABI, malloc a C array of raw pointers
redTransferFunctionTable_CArray := (*[0xffff]C.uint16_t)(C.malloc(C.size_t(8 * len(redTransferFunctionTable))))
defer C.free(unsafe.Pointer(redTransferFunctionTable_CArray))
for i := range redTransferFunctionTable {
@ -288,7 +277,6 @@ func (this *QColorSpace) WithTransferFunctions(redTransferFunctionTable []uint16
}
redTransferFunctionTable_ma := &C.struct_miqt_array{len: C.size_t(len(redTransferFunctionTable)), data: unsafe.Pointer(redTransferFunctionTable_CArray)}
defer runtime.KeepAlive(unsafe.Pointer(redTransferFunctionTable_ma))
// For the C ABI, malloc a C array of raw pointers
greenTransferFunctionTable_CArray := (*[0xffff]C.uint16_t)(C.malloc(C.size_t(8 * len(greenTransferFunctionTable))))
defer C.free(unsafe.Pointer(greenTransferFunctionTable_CArray))
for i := range greenTransferFunctionTable {
@ -296,7 +284,6 @@ func (this *QColorSpace) WithTransferFunctions(redTransferFunctionTable []uint16
}
greenTransferFunctionTable_ma := &C.struct_miqt_array{len: C.size_t(len(greenTransferFunctionTable)), data: unsafe.Pointer(greenTransferFunctionTable_CArray)}
defer runtime.KeepAlive(unsafe.Pointer(greenTransferFunctionTable_ma))
// For the C ABI, malloc a C array of raw pointers
blueTransferFunctionTable_CArray := (*[0xffff]C.uint16_t)(C.malloc(C.size_t(8 * len(blueTransferFunctionTable))))
defer C.free(unsafe.Pointer(blueTransferFunctionTable_CArray))
for i := range blueTransferFunctionTable {

View File

@ -153,7 +153,6 @@ func (this *QColumnView) SetPreviewWidget(widget *QWidget) {
}
func (this *QColumnView) SetColumnWidths(list []int) {
// For the C ABI, malloc a C array of raw pointers
list_CArray := (*[0xffff]C.int)(C.malloc(C.size_t(8 * len(list))))
defer C.free(unsafe.Pointer(list_CArray))
for i := range list {

View File

@ -316,7 +316,6 @@ func (this *QComboBox) AddItem2(icon *QIcon, text string) {
}
func (this *QComboBox) AddItems(texts []string) {
// For the C ABI, malloc a C array of structs
texts_CArray := (*[0xffff]C.struct_miqt_string)(C.malloc(C.size_t(int(unsafe.Sizeof(C.struct_miqt_string{})) * len(texts))))
defer C.free(unsafe.Pointer(texts_CArray))
for i := range texts {
@ -348,7 +347,6 @@ func (this *QComboBox) InsertItem2(index int, icon *QIcon, text string) {
}
func (this *QComboBox) InsertItems(index int, texts []string) {
// For the C ABI, malloc a C array of structs
texts_CArray := (*[0xffff]C.struct_miqt_string)(C.malloc(C.size_t(int(unsafe.Sizeof(C.struct_miqt_string{})) * len(texts))))
defer C.free(unsafe.Pointer(texts_CArray))
for i := range texts {

View File

@ -61,7 +61,6 @@ func NewQCommandLineOption(name string) *QCommandLineOption {
// NewQCommandLineOption2 constructs a new QCommandLineOption object.
func NewQCommandLineOption2(names []string) *QCommandLineOption {
// For the C ABI, malloc a C array of structs
names_CArray := (*[0xffff]C.struct_miqt_string)(C.malloc(C.size_t(int(unsafe.Sizeof(C.struct_miqt_string{})) * len(names))))
defer C.free(unsafe.Pointer(names_CArray))
for i := range names {
@ -93,7 +92,6 @@ func NewQCommandLineOption3(name string, description string) *QCommandLineOption
// NewQCommandLineOption4 constructs a new QCommandLineOption object.
func NewQCommandLineOption4(names []string, description string) *QCommandLineOption {
// For the C ABI, malloc a C array of structs
names_CArray := (*[0xffff]C.struct_miqt_string)(C.malloc(C.size_t(int(unsafe.Sizeof(C.struct_miqt_string{})) * len(names))))
defer C.free(unsafe.Pointer(names_CArray))
for i := range names {
@ -161,7 +159,6 @@ func NewQCommandLineOption7(name string, description string, valueName string, d
// NewQCommandLineOption8 constructs a new QCommandLineOption object.
func NewQCommandLineOption8(names []string, description string, valueName string) *QCommandLineOption {
// For the C ABI, malloc a C array of structs
names_CArray := (*[0xffff]C.struct_miqt_string)(C.malloc(C.size_t(int(unsafe.Sizeof(C.struct_miqt_string{})) * len(names))))
defer C.free(unsafe.Pointer(names_CArray))
for i := range names {
@ -187,7 +184,6 @@ func NewQCommandLineOption8(names []string, description string, valueName string
// NewQCommandLineOption9 constructs a new QCommandLineOption object.
func NewQCommandLineOption9(names []string, description string, valueName string, defaultValue string) *QCommandLineOption {
// For the C ABI, malloc a C array of structs
names_CArray := (*[0xffff]C.struct_miqt_string)(C.malloc(C.size_t(int(unsafe.Sizeof(C.struct_miqt_string{})) * len(names))))
defer C.free(unsafe.Pointer(names_CArray))
for i := range names {
@ -276,7 +272,6 @@ func (this *QCommandLineOption) SetDefaultValue(defaultValue string) {
}
func (this *QCommandLineOption) SetDefaultValues(defaultValues []string) {
// For the C ABI, malloc a C array of structs
defaultValues_CArray := (*[0xffff]C.struct_miqt_string)(C.malloc(C.size_t(int(unsafe.Sizeof(C.struct_miqt_string{})) * len(defaultValues))))
defer C.free(unsafe.Pointer(defaultValues_CArray))
for i := range defaultValues {

View File

@ -84,7 +84,6 @@ func (this *QCommandLineParser) AddOption(commandLineOption *QCommandLineOption)
}
func (this *QCommandLineParser) AddOptions(options []QCommandLineOption) bool {
// For the C ABI, malloc a C array of raw pointers
options_CArray := (*[0xffff]*C.QCommandLineOption)(C.malloc(C.size_t(8 * len(options))))
defer C.free(unsafe.Pointer(options_CArray))
for i := range options {
@ -141,7 +140,6 @@ func (this *QCommandLineParser) ClearPositionalArguments() {
}
func (this *QCommandLineParser) Process(arguments []string) {
// For the C ABI, malloc a C array of structs
arguments_CArray := (*[0xffff]C.struct_miqt_string)(C.malloc(C.size_t(int(unsafe.Sizeof(C.struct_miqt_string{})) * len(arguments))))
defer C.free(unsafe.Pointer(arguments_CArray))
for i := range arguments {
@ -161,7 +159,6 @@ func (this *QCommandLineParser) ProcessWithApp(app *QCoreApplication) {
}
func (this *QCommandLineParser) Parse(arguments []string) bool {
// For the C ABI, malloc a C array of structs
arguments_CArray := (*[0xffff]C.struct_miqt_string)(C.malloc(C.size_t(int(unsafe.Sizeof(C.struct_miqt_string{})) * len(arguments))))
defer C.free(unsafe.Pointer(arguments_CArray))
for i := range arguments {

View File

@ -74,7 +74,6 @@ func NewQCompleter2(model *QAbstractItemModel) *QCompleter {
// NewQCompleter3 constructs a new QCompleter object.
func NewQCompleter3(completions []string) *QCompleter {
// For the C ABI, malloc a C array of structs
completions_CArray := (*[0xffff]C.struct_miqt_string)(C.malloc(C.size_t(int(unsafe.Sizeof(C.struct_miqt_string{})) * len(completions))))
defer C.free(unsafe.Pointer(completions_CArray))
for i := range completions {
@ -104,7 +103,6 @@ func NewQCompleter5(model *QAbstractItemModel, parent *QObject) *QCompleter {
// NewQCompleter6 constructs a new QCompleter object.
func NewQCompleter6(completions []string, parent *QObject) *QCompleter {
// For the C ABI, malloc a C array of structs
completions_CArray := (*[0xffff]C.struct_miqt_string)(C.malloc(C.size_t(int(unsafe.Sizeof(C.struct_miqt_string{})) * len(completions))))
defer C.free(unsafe.Pointer(completions_CArray))
for i := range completions {

View File

@ -166,7 +166,6 @@ func (this *QConcatenateTablesProxyModel) MimeTypes() []string {
}
func (this *QConcatenateTablesProxyModel) MimeData(indexes []QModelIndex) *QMimeData {
// For the C ABI, malloc a C array of raw pointers
indexes_CArray := (*[0xffff]*C.QModelIndex)(C.malloc(C.size_t(8 * len(indexes))))
defer C.free(unsafe.Pointer(indexes_CArray))
for i := range indexes {

View File

@ -256,7 +256,6 @@ func QCoreApplication_ApplicationPid() int64 {
}
func QCoreApplication_SetLibraryPaths(libraryPaths []string) {
// For the C ABI, malloc a C array of structs
libraryPaths_CArray := (*[0xffff]C.struct_miqt_string)(C.malloc(C.size_t(int(unsafe.Sizeof(C.struct_miqt_string{})) * len(libraryPaths))))
defer C.free(unsafe.Pointer(libraryPaths_CArray))
for i := range libraryPaths {

View File

@ -190,7 +190,6 @@ func QDir_SetSearchPaths(prefix string, searchPaths []string) {
prefix_ms.data = C.CString(prefix)
prefix_ms.len = C.size_t(len(prefix))
defer C.free(unsafe.Pointer(prefix_ms.data))
// For the C ABI, malloc a C array of structs
searchPaths_CArray := (*[0xffff]C.struct_miqt_string)(C.malloc(C.size_t(int(unsafe.Sizeof(C.struct_miqt_string{})) * len(searchPaths))))
defer C.free(unsafe.Pointer(searchPaths_CArray))
for i := range searchPaths {
@ -324,7 +323,6 @@ func (this *QDir) NameFilters() []string {
}
func (this *QDir) SetNameFilters(nameFilters []string) {
// For the C ABI, malloc a C array of structs
nameFilters_CArray := (*[0xffff]C.struct_miqt_string)(C.malloc(C.size_t(int(unsafe.Sizeof(C.struct_miqt_string{})) * len(nameFilters))))
defer C.free(unsafe.Pointer(nameFilters_CArray))
for i := range nameFilters {
@ -403,7 +401,6 @@ func (this *QDir) EntryList() []string {
}
func (this *QDir) EntryListWithNameFilters(nameFilters []string) []string {
// For the C ABI, malloc a C array of structs
nameFilters_CArray := (*[0xffff]C.struct_miqt_string)(C.malloc(C.size_t(int(unsafe.Sizeof(C.struct_miqt_string{})) * len(nameFilters))))
defer C.free(unsafe.Pointer(nameFilters_CArray))
for i := range nameFilters {
@ -443,7 +440,6 @@ func (this *QDir) EntryInfoList() []QFileInfo {
}
func (this *QDir) EntryInfoListWithNameFilters(nameFilters []string) []QFileInfo {
// For the C ABI, malloc a C array of structs
nameFilters_CArray := (*[0xffff]C.struct_miqt_string)(C.malloc(C.size_t(int(unsafe.Sizeof(C.struct_miqt_string{})) * len(nameFilters))))
defer C.free(unsafe.Pointer(nameFilters_CArray))
for i := range nameFilters {
@ -681,7 +677,6 @@ func QDir_TempPath() string {
}
func QDir_Match(filters []string, fileName string) bool {
// For the C ABI, malloc a C array of structs
filters_CArray := (*[0xffff]C.struct_miqt_string)(C.malloc(C.size_t(int(unsafe.Sizeof(C.struct_miqt_string{})) * len(filters))))
defer C.free(unsafe.Pointer(filters_CArray))
for i := range filters {
@ -760,7 +755,6 @@ func (this *QDir) EntryList2(filters QDir__Filter, sort QDir__SortFlag) []string
}
func (this *QDir) EntryList22(nameFilters []string, filters QDir__Filter) []string {
// For the C ABI, malloc a C array of structs
nameFilters_CArray := (*[0xffff]C.struct_miqt_string)(C.malloc(C.size_t(int(unsafe.Sizeof(C.struct_miqt_string{})) * len(nameFilters))))
defer C.free(unsafe.Pointer(nameFilters_CArray))
for i := range nameFilters {
@ -786,7 +780,6 @@ func (this *QDir) EntryList22(nameFilters []string, filters QDir__Filter) []stri
}
func (this *QDir) EntryList3(nameFilters []string, filters QDir__Filter, sort QDir__SortFlag) []string {
// For the C ABI, malloc a C array of structs
nameFilters_CArray := (*[0xffff]C.struct_miqt_string)(C.malloc(C.size_t(int(unsafe.Sizeof(C.struct_miqt_string{})) * len(nameFilters))))
defer C.free(unsafe.Pointer(nameFilters_CArray))
for i := range nameFilters {
@ -840,7 +833,6 @@ func (this *QDir) EntryInfoList2(filters QDir__Filter, sort QDir__SortFlag) []QF
}
func (this *QDir) EntryInfoList22(nameFilters []string, filters QDir__Filter) []QFileInfo {
// For the C ABI, malloc a C array of structs
nameFilters_CArray := (*[0xffff]C.struct_miqt_string)(C.malloc(C.size_t(int(unsafe.Sizeof(C.struct_miqt_string{})) * len(nameFilters))))
defer C.free(unsafe.Pointer(nameFilters_CArray))
for i := range nameFilters {
@ -866,7 +858,6 @@ func (this *QDir) EntryInfoList22(nameFilters []string, filters QDir__Filter) []
}
func (this *QDir) EntryInfoList3(nameFilters []string, filters QDir__Filter, sort QDir__SortFlag) []QFileInfo {
// For the C ABI, malloc a C array of structs
nameFilters_CArray := (*[0xffff]C.struct_miqt_string)(C.malloc(C.size_t(int(unsafe.Sizeof(C.struct_miqt_string{})) * len(nameFilters))))
defer C.free(unsafe.Pointer(nameFilters_CArray))
for i := range nameFilters {

View File

@ -82,7 +82,6 @@ func NewQDirIterator4(path string, nameFilters []string) *QDirIterator {
path_ms.data = C.CString(path)
path_ms.len = C.size_t(len(path))
defer C.free(unsafe.Pointer(path_ms.data))
// For the C ABI, malloc a C array of structs
nameFilters_CArray := (*[0xffff]C.struct_miqt_string)(C.malloc(C.size_t(int(unsafe.Sizeof(C.struct_miqt_string{})) * len(nameFilters))))
defer C.free(unsafe.Pointer(nameFilters_CArray))
for i := range nameFilters {
@ -130,7 +129,6 @@ func NewQDirIterator8(path string, nameFilters []string, filters QDir__Filter) *
path_ms.data = C.CString(path)
path_ms.len = C.size_t(len(path))
defer C.free(unsafe.Pointer(path_ms.data))
// For the C ABI, malloc a C array of structs
nameFilters_CArray := (*[0xffff]C.struct_miqt_string)(C.malloc(C.size_t(int(unsafe.Sizeof(C.struct_miqt_string{})) * len(nameFilters))))
defer C.free(unsafe.Pointer(nameFilters_CArray))
for i := range nameFilters {
@ -152,7 +150,6 @@ func NewQDirIterator9(path string, nameFilters []string, filters QDir__Filter, f
path_ms.data = C.CString(path)
path_ms.len = C.size_t(len(path))
defer C.free(unsafe.Pointer(path_ms.data))
// For the C ABI, malloc a C array of structs
nameFilters_CArray := (*[0xffff]C.struct_miqt_string)(C.malloc(C.size_t(int(unsafe.Sizeof(C.struct_miqt_string{})) * len(nameFilters))))
defer C.free(unsafe.Pointer(nameFilters_CArray))
for i := range nameFilters {

View File

@ -180,7 +180,6 @@ func NewQPointerEvent2(typeVal QEvent__Type, dev *QPointingDevice, modifiers Key
// NewQPointerEvent3 constructs a new QPointerEvent object.
func NewQPointerEvent3(typeVal QEvent__Type, dev *QPointingDevice, modifiers KeyboardModifier, points []QEventPoint) *QPointerEvent {
// For the C ABI, malloc a C array of raw pointers
points_CArray := (*[0xffff]*C.QEventPoint)(C.malloc(C.size_t(8 * len(points))))
defer C.free(unsafe.Pointer(points_CArray))
for i := range points {
@ -2045,7 +2044,6 @@ func NewQInputMethodEvent2(preeditText string, attributes []QInputMethodEvent__A
preeditText_ms.data = C.CString(preeditText)
preeditText_ms.len = C.size_t(len(preeditText))
defer C.free(unsafe.Pointer(preeditText_ms.data))
// For the C ABI, malloc a C array of raw pointers
attributes_CArray := (*[0xffff]*C.QInputMethodEvent__Attribute)(C.malloc(C.size_t(8 * len(attributes))))
defer C.free(unsafe.Pointer(attributes_CArray))
for i := range attributes {
@ -3132,7 +3130,6 @@ func NewQTouchEvent4(eventType QEvent__Type, device *QPointingDevice, modifiers
// NewQTouchEvent5 constructs a new QTouchEvent object.
func NewQTouchEvent5(eventType QEvent__Type, device *QPointingDevice, modifiers KeyboardModifier, touchPoints []QEventPoint) *QTouchEvent {
// For the C ABI, malloc a C array of raw pointers
touchPoints_CArray := (*[0xffff]*C.QEventPoint)(C.malloc(C.size_t(8 * len(touchPoints))))
defer C.free(unsafe.Pointer(touchPoints_CArray))
for i := range touchPoints {
@ -3146,7 +3143,6 @@ func NewQTouchEvent5(eventType QEvent__Type, device *QPointingDevice, modifiers
// NewQTouchEvent6 constructs a new QTouchEvent object.
func NewQTouchEvent6(eventType QEvent__Type, device *QPointingDevice, modifiers KeyboardModifier, touchPointStates QEventPoint__State, touchPoints []QEventPoint) *QTouchEvent {
// For the C ABI, malloc a C array of raw pointers
touchPoints_CArray := (*[0xffff]*C.QEventPoint)(C.malloc(C.size_t(8 * len(touchPoints))))
defer C.free(unsafe.Pointer(touchPoints_CArray))
for i := range touchPoints {

View File

@ -247,7 +247,6 @@ func (this *QFileDialog) SetNameFilter(filter string) {
}
func (this *QFileDialog) SetNameFilters(filters []string) {
// For the C ABI, malloc a C array of structs
filters_CArray := (*[0xffff]C.struct_miqt_string)(C.malloc(C.size_t(int(unsafe.Sizeof(C.struct_miqt_string{})) * len(filters))))
defer C.free(unsafe.Pointer(filters_CArray))
for i := range filters {
@ -299,7 +298,6 @@ func (this *QFileDialog) SelectedNameFilter() string {
}
func (this *QFileDialog) SetMimeTypeFilters(filters []string) {
// For the C ABI, malloc a C array of structs
filters_CArray := (*[0xffff]C.struct_miqt_string)(C.malloc(C.size_t(int(unsafe.Sizeof(C.struct_miqt_string{})) * len(filters))))
defer C.free(unsafe.Pointer(filters_CArray))
for i := range filters {
@ -369,7 +367,6 @@ func (this *QFileDialog) AcceptMode() QFileDialog__AcceptMode {
}
func (this *QFileDialog) SetSidebarUrls(urls []QUrl) {
// For the C ABI, malloc a C array of raw pointers
urls_CArray := (*[0xffff]*C.QUrl)(C.malloc(C.size_t(8 * len(urls))))
defer C.free(unsafe.Pointer(urls_CArray))
for i := range urls {
@ -424,7 +421,6 @@ func (this *QFileDialog) DefaultSuffix() string {
}
func (this *QFileDialog) SetHistory(paths []string) {
// For the C ABI, malloc a C array of structs
paths_CArray := (*[0xffff]C.struct_miqt_string)(C.malloc(C.size_t(int(unsafe.Sizeof(C.struct_miqt_string{})) * len(paths))))
defer C.free(unsafe.Pointer(paths_CArray))
for i := range paths {
@ -485,7 +481,6 @@ func (this *QFileDialog) LabelText(label QFileDialog__DialogLabel) string {
}
func (this *QFileDialog) SetSupportedSchemes(schemes []string) {
// For the C ABI, malloc a C array of structs
schemes_CArray := (*[0xffff]C.struct_miqt_string)(C.malloc(C.size_t(int(unsafe.Sizeof(C.struct_miqt_string{})) * len(schemes))))
defer C.free(unsafe.Pointer(schemes_CArray))
for i := range schemes {
@ -570,7 +565,6 @@ func miqt_exec_callback_QFileDialog_FileSelected(cb C.intptr_t, file C.struct_mi
}
func (this *QFileDialog) FilesSelected(files []string) {
// For the C ABI, malloc a C array of structs
files_CArray := (*[0xffff]C.struct_miqt_string)(C.malloc(C.size_t(int(unsafe.Sizeof(C.struct_miqt_string{})) * len(files))))
defer C.free(unsafe.Pointer(files_CArray))
for i := range files {
@ -686,7 +680,6 @@ func miqt_exec_callback_QFileDialog_UrlSelected(cb C.intptr_t, url *C.QUrl) {
}
func (this *QFileDialog) UrlsSelected(urls []QUrl) {
// For the C ABI, malloc a C array of raw pointers
urls_CArray := (*[0xffff]*C.QUrl)(C.malloc(C.size_t(8 * len(urls))))
defer C.free(unsafe.Pointer(urls_CArray))
for i := range urls {
@ -1182,7 +1175,6 @@ func QFileDialog_GetExistingDirectoryUrl5(parent *QWidget, caption string, dir *
caption_ms.data = C.CString(caption)
caption_ms.len = C.size_t(len(caption))
defer C.free(unsafe.Pointer(caption_ms.data))
// For the C ABI, malloc a C array of structs
supportedSchemes_CArray := (*[0xffff]C.struct_miqt_string)(C.malloc(C.size_t(int(unsafe.Sizeof(C.struct_miqt_string{})) * len(supportedSchemes))))
defer C.free(unsafe.Pointer(supportedSchemes_CArray))
for i := range supportedSchemes {

View File

@ -107,7 +107,6 @@ func (this *QFileSelector) ExtraSelectors() []string {
}
func (this *QFileSelector) SetExtraSelectors(list []string) {
// For the C ABI, malloc a C array of structs
list_CArray := (*[0xffff]C.struct_miqt_string)(C.malloc(C.size_t(int(unsafe.Sizeof(C.struct_miqt_string{})) * len(list))))
defer C.free(unsafe.Pointer(list_CArray))
for i := range list {

View File

@ -289,7 +289,6 @@ func (this *QFileSystemModel) MimeTypes() []string {
}
func (this *QFileSystemModel) MimeData(indexes []QModelIndex) *QMimeData {
// For the C ABI, malloc a C array of raw pointers
indexes_CArray := (*[0xffff]*C.QModelIndex)(C.malloc(C.size_t(8 * len(indexes))))
defer C.free(unsafe.Pointer(indexes_CArray))
for i := range indexes {
@ -374,7 +373,6 @@ func (this *QFileSystemModel) NameFilterDisables() bool {
}
func (this *QFileSystemModel) SetNameFilters(filters []string) {
// For the C ABI, malloc a C array of structs
filters_CArray := (*[0xffff]C.struct_miqt_string)(C.malloc(C.size_t(int(unsafe.Sizeof(C.struct_miqt_string{})) * len(filters))))
defer C.free(unsafe.Pointer(filters_CArray))
for i := range filters {

View File

@ -51,7 +51,6 @@ func NewQFileSystemWatcher() *QFileSystemWatcher {
// NewQFileSystemWatcher2 constructs a new QFileSystemWatcher object.
func NewQFileSystemWatcher2(paths []string) *QFileSystemWatcher {
// For the C ABI, malloc a C array of structs
paths_CArray := (*[0xffff]C.struct_miqt_string)(C.malloc(C.size_t(int(unsafe.Sizeof(C.struct_miqt_string{})) * len(paths))))
defer C.free(unsafe.Pointer(paths_CArray))
for i := range paths {
@ -75,7 +74,6 @@ func NewQFileSystemWatcher3(parent *QObject) *QFileSystemWatcher {
// NewQFileSystemWatcher4 constructs a new QFileSystemWatcher object.
func NewQFileSystemWatcher4(paths []string, parent *QObject) *QFileSystemWatcher {
// For the C ABI, malloc a C array of structs
paths_CArray := (*[0xffff]C.struct_miqt_string)(C.malloc(C.size_t(int(unsafe.Sizeof(C.struct_miqt_string{})) * len(paths))))
defer C.free(unsafe.Pointer(paths_CArray))
for i := range paths {
@ -119,7 +117,6 @@ func (this *QFileSystemWatcher) AddPath(file string) bool {
}
func (this *QFileSystemWatcher) AddPaths(files []string) []string {
// For the C ABI, malloc a C array of structs
files_CArray := (*[0xffff]C.struct_miqt_string)(C.malloc(C.size_t(int(unsafe.Sizeof(C.struct_miqt_string{})) * len(files))))
defer C.free(unsafe.Pointer(files_CArray))
for i := range files {
@ -153,7 +150,6 @@ func (this *QFileSystemWatcher) RemovePath(file string) bool {
}
func (this *QFileSystemWatcher) RemovePaths(files []string) []string {
// For the C ABI, malloc a C array of structs
files_CArray := (*[0xffff]C.struct_miqt_string)(C.malloc(C.size_t(int(unsafe.Sizeof(C.struct_miqt_string{})) * len(files))))
defer C.free(unsafe.Pointer(files_CArray))
for i := range files {

View File

@ -183,7 +183,6 @@ func NewQFont2(family string) *QFont {
// NewQFont3 constructs a new QFont object.
func NewQFont3(families []string) *QFont {
// For the C ABI, malloc a C array of structs
families_CArray := (*[0xffff]C.struct_miqt_string)(C.malloc(C.size_t(int(unsafe.Sizeof(C.struct_miqt_string{})) * len(families))))
defer C.free(unsafe.Pointer(families_CArray))
for i := range families {
@ -243,7 +242,6 @@ func NewQFont8(family string, pointSize int, weight int, italic bool) *QFont {
// NewQFont9 constructs a new QFont object.
func NewQFont9(families []string, pointSize int) *QFont {
// For the C ABI, malloc a C array of structs
families_CArray := (*[0xffff]C.struct_miqt_string)(C.malloc(C.size_t(int(unsafe.Sizeof(C.struct_miqt_string{})) * len(families))))
defer C.free(unsafe.Pointer(families_CArray))
for i := range families {
@ -261,7 +259,6 @@ func NewQFont9(families []string, pointSize int) *QFont {
// NewQFont10 constructs a new QFont object.
func NewQFont10(families []string, pointSize int, weight int) *QFont {
// For the C ABI, malloc a C array of structs
families_CArray := (*[0xffff]C.struct_miqt_string)(C.malloc(C.size_t(int(unsafe.Sizeof(C.struct_miqt_string{})) * len(families))))
defer C.free(unsafe.Pointer(families_CArray))
for i := range families {
@ -279,7 +276,6 @@ func NewQFont10(families []string, pointSize int, weight int) *QFont {
// NewQFont11 constructs a new QFont object.
func NewQFont11(families []string, pointSize int, weight int, italic bool) *QFont {
// For the C ABI, malloc a C array of structs
families_CArray := (*[0xffff]C.struct_miqt_string)(C.malloc(C.size_t(int(unsafe.Sizeof(C.struct_miqt_string{})) * len(families))))
defer C.free(unsafe.Pointer(families_CArray))
for i := range families {
@ -329,7 +325,6 @@ func (this *QFont) Families() []string {
}
func (this *QFont) SetFamilies(families []string) {
// For the C ABI, malloc a C array of structs
families_CArray := (*[0xffff]C.struct_miqt_string)(C.malloc(C.size_t(int(unsafe.Sizeof(C.struct_miqt_string{})) * len(families))))
defer C.free(unsafe.Pointer(families_CArray))
for i := range families {
@ -621,7 +616,6 @@ func QFont_InsertSubstitutions(param1 string, param2 []string) {
param1_ms.data = C.CString(param1)
param1_ms.len = C.size_t(len(param1))
defer C.free(unsafe.Pointer(param1_ms.data))
// For the C ABI, malloc a C array of structs
param2_CArray := (*[0xffff]C.struct_miqt_string)(C.malloc(C.size_t(int(unsafe.Sizeof(C.struct_miqt_string{})) * len(param2))))
defer C.free(unsafe.Pointer(param2_CArray))
for i := range param2 {

View File

@ -867,7 +867,6 @@ func UnsafeNewQGestureEvent(h unsafe.Pointer) *QGestureEvent {
// NewQGestureEvent constructs a new QGestureEvent object.
func NewQGestureEvent(gestures []*QGesture) *QGestureEvent {
// For the C ABI, malloc a C array of raw pointers
gestures_CArray := (*[0xffff]*C.QGesture)(C.malloc(C.size_t(8 * len(gestures))))
defer C.free(unsafe.Pointer(gestures_CArray))
for i := range gestures {

View File

@ -99,7 +99,6 @@ func (this *QGlyphRun) GlyphIndexes() []uint {
}
func (this *QGlyphRun) SetGlyphIndexes(glyphIndexes []uint) {
// For the C ABI, malloc a C array of raw pointers
glyphIndexes_CArray := (*[0xffff]C.uint)(C.malloc(C.size_t(8 * len(glyphIndexes))))
defer C.free(unsafe.Pointer(glyphIndexes_CArray))
for i := range glyphIndexes {
@ -125,7 +124,6 @@ func (this *QGlyphRun) Positions() []QPointF {
}
func (this *QGlyphRun) SetPositions(positions []QPointF) {
// For the C ABI, malloc a C array of raw pointers
positions_CArray := (*[0xffff]*C.QPointF)(C.malloc(C.size_t(8 * len(positions))))
defer C.free(unsafe.Pointer(positions_CArray))
for i := range positions {

View File

@ -602,7 +602,6 @@ func (this *QGraphicsItem) Transformations() []*QGraphicsTransform {
}
func (this *QGraphicsItem) SetTransformations(transformations []*QGraphicsTransform) {
// For the C ABI, malloc a C array of raw pointers
transformations_CArray := (*[0xffff]*C.QGraphicsTransform)(C.malloc(C.size_t(8 * len(transformations))))
defer C.free(unsafe.Pointer(transformations_CArray))
for i := range transformations {

View File

@ -266,7 +266,6 @@ func (this *QGraphicsScene) SetSelectionAreaWithPath(path *QPainterPath) {
}
func (this *QGraphicsScene) CreateItemGroup(items []*QGraphicsItem) *QGraphicsItemGroup {
// For the C ABI, malloc a C array of raw pointers
items_CArray := (*[0xffff]*C.QGraphicsItem)(C.malloc(C.size_t(8 * len(items))))
defer C.free(unsafe.Pointer(items_CArray))
for i := range items {
@ -512,7 +511,6 @@ func (this *QGraphicsScene) Clear() {
}
func (this *QGraphicsScene) Changed(region []QRectF) {
// For the C ABI, malloc a C array of raw pointers
region_CArray := (*[0xffff]*C.QRectF)(C.malloc(C.size_t(8 * len(region))))
defer C.free(unsafe.Pointer(region_CArray))
for i := range region {

View File

@ -485,7 +485,6 @@ func (this *QGraphicsView) SetForegroundBrush(brush *QBrush) {
}
func (this *QGraphicsView) UpdateScene(rects []QRectF) {
// For the C ABI, malloc a C array of raw pointers
rects_CArray := (*[0xffff]*C.QRectF)(C.malloc(C.size_t(8 * len(rects))))
defer C.free(unsafe.Pointer(rects_CArray))
for i := range rects {

View File

@ -290,7 +290,6 @@ func (this *QGraphicsWidget) AddAction(action *QAction) {
}
func (this *QGraphicsWidget) AddActions(actions []*QAction) {
// For the C ABI, malloc a C array of raw pointers
actions_CArray := (*[0xffff]*C.QAction)(C.malloc(C.size_t(8 * len(actions))))
defer C.free(unsafe.Pointer(actions_CArray))
for i := range actions {
@ -302,7 +301,6 @@ func (this *QGraphicsWidget) AddActions(actions []*QAction) {
}
func (this *QGraphicsWidget) InsertActions(before *QAction, actions []*QAction) {
// For the C ABI, malloc a C array of raw pointers
actions_CArray := (*[0xffff]*C.QAction)(C.malloc(C.size_t(8 * len(actions))))
defer C.free(unsafe.Pointer(actions_CArray))
for i := range actions {

View File

@ -259,7 +259,6 @@ func QIcon_ThemeSearchPaths() []string {
}
func QIcon_SetThemeSearchPaths(searchpath []string) {
// For the C ABI, malloc a C array of structs
searchpath_CArray := (*[0xffff]C.struct_miqt_string)(C.malloc(C.size_t(int(unsafe.Sizeof(C.struct_miqt_string{})) * len(searchpath))))
defer C.free(unsafe.Pointer(searchpath_CArray))
for i := range searchpath {
@ -289,7 +288,6 @@ func QIcon_FallbackSearchPaths() []string {
}
func QIcon_SetFallbackSearchPaths(paths []string) {
// For the C ABI, malloc a C array of structs
paths_CArray := (*[0xffff]C.struct_miqt_string)(C.malloc(C.size_t(int(unsafe.Sizeof(C.struct_miqt_string{})) * len(paths))))
defer C.free(unsafe.Pointer(paths_CArray))
for i := range paths {

View File

@ -220,7 +220,6 @@ func (this *QImage) ConvertToFormat(f QImage__Format) *QImage {
}
func (this *QImage) ConvertToFormat2(f QImage__Format, colorTable []uint) *QImage {
// For the C ABI, malloc a C array of raw pointers
colorTable_CArray := (*[0xffff]C.uint)(C.malloc(C.size_t(8 * len(colorTable))))
defer C.free(unsafe.Pointer(colorTable_CArray))
for i := range colorTable {
@ -401,7 +400,6 @@ func (this *QImage) ColorTable() []uint {
}
func (this *QImage) SetColorTable(colors []uint) {
// For the C ABI, malloc a C array of raw pointers
colors_CArray := (*[0xffff]C.uint)(C.malloc(C.size_t(8 * len(colors))))
defer C.free(unsafe.Pointer(colors_CArray))
for i := range colors {
@ -735,7 +733,6 @@ func (this *QImage) ConvertToFormat22(f QImage__Format, flags ImageConversionFla
}
func (this *QImage) ConvertToFormat3(f QImage__Format, colorTable []uint, flags ImageConversionFlag) *QImage {
// For the C ABI, malloc a C array of raw pointers
colorTable_CArray := (*[0xffff]C.uint)(C.malloc(C.size_t(8 * len(colorTable))))
defer C.free(unsafe.Pointer(colorTable_CArray))
for i := range colorTable {

View File

@ -168,7 +168,6 @@ func (this *QInputDialog) IsComboBoxEditable() bool {
}
func (this *QInputDialog) SetComboBoxItems(items []string) {
// For the C ABI, malloc a C array of structs
items_CArray := (*[0xffff]C.struct_miqt_string)(C.malloc(C.size_t(int(unsafe.Sizeof(C.struct_miqt_string{})) * len(items))))
defer C.free(unsafe.Pointer(items_CArray))
for i := range items {
@ -356,7 +355,6 @@ func QInputDialog_GetItem(parent *QWidget, title string, label string, items []s
label_ms.data = C.CString(label)
label_ms.len = C.size_t(len(label))
defer C.free(unsafe.Pointer(label_ms.data))
// For the C ABI, malloc a C array of structs
items_CArray := (*[0xffff]C.struct_miqt_string)(C.malloc(C.size_t(int(unsafe.Sizeof(C.struct_miqt_string{})) * len(items))))
defer C.free(unsafe.Pointer(items_CArray))
for i := range items {
@ -746,7 +744,6 @@ func QInputDialog_GetItem5(parent *QWidget, title string, label string, items []
label_ms.data = C.CString(label)
label_ms.len = C.size_t(len(label))
defer C.free(unsafe.Pointer(label_ms.data))
// For the C ABI, malloc a C array of structs
items_CArray := (*[0xffff]C.struct_miqt_string)(C.malloc(C.size_t(int(unsafe.Sizeof(C.struct_miqt_string{})) * len(items))))
defer C.free(unsafe.Pointer(items_CArray))
for i := range items {
@ -773,7 +770,6 @@ func QInputDialog_GetItem6(parent *QWidget, title string, label string, items []
label_ms.data = C.CString(label)
label_ms.len = C.size_t(len(label))
defer C.free(unsafe.Pointer(label_ms.data))
// For the C ABI, malloc a C array of structs
items_CArray := (*[0xffff]C.struct_miqt_string)(C.malloc(C.size_t(int(unsafe.Sizeof(C.struct_miqt_string{})) * len(items))))
defer C.free(unsafe.Pointer(items_CArray))
for i := range items {
@ -800,7 +796,6 @@ func QInputDialog_GetItem7(parent *QWidget, title string, label string, items []
label_ms.data = C.CString(label)
label_ms.len = C.size_t(len(label))
defer C.free(unsafe.Pointer(label_ms.data))
// For the C ABI, malloc a C array of structs
items_CArray := (*[0xffff]C.struct_miqt_string)(C.malloc(C.size_t(int(unsafe.Sizeof(C.struct_miqt_string{})) * len(items))))
defer C.free(unsafe.Pointer(items_CArray))
for i := range items {
@ -827,7 +822,6 @@ func QInputDialog_GetItem8(parent *QWidget, title string, label string, items []
label_ms.data = C.CString(label)
label_ms.len = C.size_t(len(label))
defer C.free(unsafe.Pointer(label_ms.data))
// For the C ABI, malloc a C array of structs
items_CArray := (*[0xffff]C.struct_miqt_string)(C.malloc(C.size_t(int(unsafe.Sizeof(C.struct_miqt_string{})) * len(items))))
defer C.free(unsafe.Pointer(items_CArray))
for i := range items {
@ -854,7 +848,6 @@ func QInputDialog_GetItem9(parent *QWidget, title string, label string, items []
label_ms.data = C.CString(label)
label_ms.len = C.size_t(len(label))
defer C.free(unsafe.Pointer(label_ms.data))
// For the C ABI, malloc a C array of structs
items_CArray := (*[0xffff]C.struct_miqt_string)(C.malloc(C.size_t(int(unsafe.Sizeof(C.struct_miqt_string{})) * len(items))))
defer C.free(unsafe.Pointer(items_CArray))
for i := range items {

View File

@ -59,7 +59,6 @@ func (this *QJsonArray) OperatorAssign(other *QJsonArray) {
}
func QJsonArray_FromStringList(list []string) *QJsonArray {
// For the C ABI, malloc a C array of structs
list_CArray := (*[0xffff]C.struct_miqt_string)(C.malloc(C.size_t(int(unsafe.Sizeof(C.struct_miqt_string{})) * len(list))))
defer C.free(unsafe.Pointer(list_CArray))
for i := range list {

View File

@ -264,7 +264,6 @@ func QKeySequence_ListFromString(str string) []QKeySequence {
}
func QKeySequence_ListToString(list []QKeySequence) string {
// For the C ABI, malloc a C array of raw pointers
list_CArray := (*[0xffff]*C.QKeySequence)(C.malloc(C.size_t(8 * len(list))))
defer C.free(unsafe.Pointer(list_CArray))
for i := range list {
@ -387,7 +386,6 @@ func QKeySequence_ListFromString2(str string, format QKeySequence__SequenceForma
}
func QKeySequence_ListToString2(list []QKeySequence, format QKeySequence__SequenceFormat) string {
// For the C ABI, malloc a C array of raw pointers
list_CArray := (*[0xffff]*C.QKeySequence)(C.malloc(C.size_t(8 * len(list))))
defer C.free(unsafe.Pointer(list_CArray))
for i := range list {

Some files were not shown because too many files have changed in this diff Show More