detached b328834

Gen: re-run gen script

commit
b328834424d33c948a4b177650d8c6628a1002e3
author
Jeroen Wijenbergh · · 2024-12-10 16:43 UTC
committer
Jeroen Wijenbergh · · 2025-04-07 12:23 UTC
parent
15b4fd9
signature
unsigned
332 files · +1721 -1649
M v4/adw/adw-about-window.go +11 -11
@@ -362,10 +362,10 @@ func (x *AboutWindow) GetApplicationName() string {
362 return cret362 return cret
363 }363 }
364 364
365-var xAboutWindowGetArtists func(uintptr) uintptr365+var xAboutWindowGetArtists func(uintptr) []string
366 366
367 // Gets the list of artists of the application.367 // Gets the list of artists of the application.
368-func (x *AboutWindow) GetArtists() uintptr {368+func (x *AboutWindow) GetArtists() []string {
369 369
370 cret := xAboutWindowGetArtists(x.GoPointer())370 cret := xAboutWindowGetArtists(x.GoPointer())
371 return cret371 return cret
@@ -407,10 +407,10 @@ func (x *AboutWindow) GetDebugInfoFilename() string {
407 return cret407 return cret
408 }408 }
409 409
410-var xAboutWindowGetDesigners func(uintptr) uintptr410+var xAboutWindowGetDesigners func(uintptr) []string
411 411
412 // Gets the list of designers of the application.412 // Gets the list of designers of the application.
413-func (x *AboutWindow) GetDesigners() uintptr {413+func (x *AboutWindow) GetDesigners() []string {
414 414
415 cret := xAboutWindowGetDesigners(x.GoPointer())415 cret := xAboutWindowGetDesigners(x.GoPointer())
416 return cret416 return cret
@@ -425,19 +425,19 @@ func (x *AboutWindow) GetDeveloperName() string {
425 return cret425 return cret
426 }426 }
427 427
428-var xAboutWindowGetDevelopers func(uintptr) uintptr428+var xAboutWindowGetDevelopers func(uintptr) []string
429 429
430 // Gets the list of developers of the application.430 // Gets the list of developers of the application.
431-func (x *AboutWindow) GetDevelopers() uintptr {431+func (x *AboutWindow) GetDevelopers() []string {
432 432
433 cret := xAboutWindowGetDevelopers(x.GoPointer())433 cret := xAboutWindowGetDevelopers(x.GoPointer())
434 return cret434 return cret
435 }435 }
436 436
437-var xAboutWindowGetDocumenters func(uintptr) uintptr437+var xAboutWindowGetDocumenters func(uintptr) []string
438 438
439 // Gets the list of documenters of the application.439 // Gets the list of documenters of the application.
440-func (x *AboutWindow) GetDocumenters() uintptr {440+func (x *AboutWindow) GetDocumenters() []string {
441 441
442 cret := xAboutWindowGetDocumenters(x.GoPointer())442 cret := xAboutWindowGetDocumenters(x.GoPointer())
443 return cret443 return cret
@@ -983,7 +983,7 @@ func (x *AboutWindow) UpdateProperty(FirstPropertyVar gtk.AccessibleProperty, va
983 // property change must be communicated to assistive technologies.983 // property change must be communicated to assistive technologies.
984 //984 //
985 // This function is meant to be used by language bindings.985 // This function is meant to be used by language bindings.
986-func (x *AboutWindow) UpdatePropertyValue(NPropertiesVar int, PropertiesVar uintptr, ValuesVar uintptr) {986+func (x *AboutWindow) UpdatePropertyValue(NPropertiesVar int, PropertiesVar []gtk.AccessibleProperty, ValuesVar []gobject.Value) {
987 987
988 gtk.XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)988 gtk.XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
989 989
@@ -1019,7 +1019,7 @@ func (x *AboutWindow) UpdateRelation(FirstRelationVar gtk.AccessibleRelation, va
1019 // relation change must be communicated to assistive technologies.1019 // relation change must be communicated to assistive technologies.
1020 //1020 //
1021 // This function is meant to be used by language bindings.1021 // This function is meant to be used by language bindings.
1022-func (x *AboutWindow) UpdateRelationValue(NRelationsVar int, RelationsVar uintptr, ValuesVar uintptr) {1022+func (x *AboutWindow) UpdateRelationValue(NRelationsVar int, RelationsVar []gtk.AccessibleRelation, ValuesVar []gobject.Value) {
1023 1023
1024 gtk.XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)1024 gtk.XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
1025 1025
@@ -1052,7 +1052,7 @@ func (x *AboutWindow) UpdateState(FirstStateVar gtk.AccessibleState, varArgs ...
1052 // state change must be communicated to assistive technologies.1052 // state change must be communicated to assistive technologies.
1053 //1053 //
1054 // This function is meant to be used by language bindings.1054 // This function is meant to be used by language bindings.
1055-func (x *AboutWindow) UpdateStateValue(NStatesVar int, StatesVar uintptr, ValuesVar uintptr) {1055+func (x *AboutWindow) UpdateStateValue(NStatesVar int, StatesVar []gtk.AccessibleState, ValuesVar []gobject.Value) {
1056 1056
1057 gtk.XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)1057 gtk.XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
1058 1058
M v4/adw/adw-action-row.go +4 -4
@@ -14,7 +14,7 @@ import (
14 type ActionRowClass struct {14 type ActionRowClass struct {
15 ParentClass uintptr15 ParentClass uintptr
16 16
17- Padding uintptr17+ Padding [4]uintptr
18 }18 }
19 19
20 func (x *ActionRowClass) GoPointer() uintptr {20 func (x *ActionRowClass) GoPointer() uintptr {
@@ -342,7 +342,7 @@ func (x *ActionRow) UpdateProperty(FirstPropertyVar gtk.AccessibleProperty, varA
342 // property change must be communicated to assistive technologies.342 // property change must be communicated to assistive technologies.
343 //343 //
344 // This function is meant to be used by language bindings.344 // This function is meant to be used by language bindings.
345-func (x *ActionRow) UpdatePropertyValue(NPropertiesVar int, PropertiesVar uintptr, ValuesVar uintptr) {345+func (x *ActionRow) UpdatePropertyValue(NPropertiesVar int, PropertiesVar []gtk.AccessibleProperty, ValuesVar []gobject.Value) {
346 346
347 gtk.XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)347 gtk.XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
348 348
@@ -378,7 +378,7 @@ func (x *ActionRow) UpdateRelation(FirstRelationVar gtk.AccessibleRelation, varA
378 // relation change must be communicated to assistive technologies.378 // relation change must be communicated to assistive technologies.
379 //379 //
380 // This function is meant to be used by language bindings.380 // This function is meant to be used by language bindings.
381-func (x *ActionRow) UpdateRelationValue(NRelationsVar int, RelationsVar uintptr, ValuesVar uintptr) {381+func (x *ActionRow) UpdateRelationValue(NRelationsVar int, RelationsVar []gtk.AccessibleRelation, ValuesVar []gobject.Value) {
382 382
383 gtk.XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)383 gtk.XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
384 384
@@ -411,7 +411,7 @@ func (x *ActionRow) UpdateState(FirstStateVar gtk.AccessibleState, varArgs ...in
411 // state change must be communicated to assistive technologies.411 // state change must be communicated to assistive technologies.
412 //412 //
413 // This function is meant to be used by language bindings.413 // This function is meant to be used by language bindings.
414-func (x *ActionRow) UpdateStateValue(NStatesVar int, StatesVar uintptr, ValuesVar uintptr) {414+func (x *ActionRow) UpdateStateValue(NStatesVar int, StatesVar []gtk.AccessibleState, ValuesVar []gobject.Value) {
415 415
416 gtk.XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)416 gtk.XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
417 417
M v4/adw/adw-application-window.go +6 -6
@@ -17,7 +17,7 @@ import (
17 type ApplicationWindowClass struct {17 type ApplicationWindowClass struct {
18 ParentClass uintptr18 ParentClass uintptr
19 19
20- Padding uintptr20+ Padding [4]uintptr
21 }21 }
22 22
23 func (x *ApplicationWindowClass) GoPointer() uintptr {23 func (x *ApplicationWindowClass) GoPointer() uintptr {
@@ -297,7 +297,7 @@ func (x *ApplicationWindow) HasAction(ActionNameVar string) bool {
297 //297 //
298 // The caller is responsible for freeing the list with g_strfreev() when298 // The caller is responsible for freeing the list with g_strfreev() when
299 // it is no longer required.299 // it is no longer required.
300-func (x *ApplicationWindow) ListActions() uintptr {300+func (x *ApplicationWindow) ListActions() []string {
301 301
302 cret := gio.XGActionGroupListActions(x.GoPointer())302 cret := gio.XGActionGroupListActions(x.GoPointer())
303 return cret303 return cret
@@ -391,7 +391,7 @@ func (x *ApplicationWindow) AddAction(ActionVar gio.Action) {
391 // }391 // }
392 //392 //
393 // ]|393 // ]|
394-func (x *ApplicationWindow) AddActionEntries(EntriesVar uintptr, NEntriesVar int, UserDataVar uintptr) {394+func (x *ApplicationWindow) AddActionEntries(EntriesVar []gio.ActionEntry, NEntriesVar int, UserDataVar uintptr) {
395 395
396 gio.XGActionMapAddActionEntries(x.GoPointer(), EntriesVar, NEntriesVar, UserDataVar)396 gio.XGActionMapAddActionEntries(x.GoPointer(), EntriesVar, NEntriesVar, UserDataVar)
397 397
@@ -481,7 +481,7 @@ func (x *ApplicationWindow) UpdateProperty(FirstPropertyVar gtk.AccessibleProper
481 // property change must be communicated to assistive technologies.481 // property change must be communicated to assistive technologies.
482 //482 //
483 // This function is meant to be used by language bindings.483 // This function is meant to be used by language bindings.
484-func (x *ApplicationWindow) UpdatePropertyValue(NPropertiesVar int, PropertiesVar uintptr, ValuesVar uintptr) {484+func (x *ApplicationWindow) UpdatePropertyValue(NPropertiesVar int, PropertiesVar []gtk.AccessibleProperty, ValuesVar []gobject.Value) {
485 485
486 gtk.XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)486 gtk.XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
487 487
@@ -517,7 +517,7 @@ func (x *ApplicationWindow) UpdateRelation(FirstRelationVar gtk.AccessibleRelati
517 // relation change must be communicated to assistive technologies.517 // relation change must be communicated to assistive technologies.
518 //518 //
519 // This function is meant to be used by language bindings.519 // This function is meant to be used by language bindings.
520-func (x *ApplicationWindow) UpdateRelationValue(NRelationsVar int, RelationsVar uintptr, ValuesVar uintptr) {520+func (x *ApplicationWindow) UpdateRelationValue(NRelationsVar int, RelationsVar []gtk.AccessibleRelation, ValuesVar []gobject.Value) {
521 521
522 gtk.XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)522 gtk.XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
523 523
@@ -550,7 +550,7 @@ func (x *ApplicationWindow) UpdateState(FirstStateVar gtk.AccessibleState, varAr
550 // state change must be communicated to assistive technologies.550 // state change must be communicated to assistive technologies.
551 //551 //
552 // This function is meant to be used by language bindings.552 // This function is meant to be used by language bindings.
553-func (x *ApplicationWindow) UpdateStateValue(NStatesVar int, StatesVar uintptr, ValuesVar uintptr) {553+func (x *ApplicationWindow) UpdateStateValue(NStatesVar int, StatesVar []gtk.AccessibleState, ValuesVar []gobject.Value) {
554 554
555 gtk.XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)555 gtk.XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
556 556
M v4/adw/adw-application.go +3 -3
@@ -15,7 +15,7 @@ import (
15 type ApplicationClass struct {15 type ApplicationClass struct {
16 ParentClass uintptr16 ParentClass uintptr
17 17
18- Padding uintptr18+ Padding [4]uintptr
19 }19 }
20 20
21 func (x *ApplicationClass) GoPointer() uintptr {21 func (x *ApplicationClass) GoPointer() uintptr {
@@ -300,7 +300,7 @@ func (x *Application) HasAction(ActionNameVar string) bool {
300 //300 //
301 // The caller is responsible for freeing the list with g_strfreev() when301 // The caller is responsible for freeing the list with g_strfreev() when
302 // it is no longer required.302 // it is no longer required.
303-func (x *Application) ListActions() uintptr {303+func (x *Application) ListActions() []string {
304 304
305 cret := gio.XGActionGroupListActions(x.GoPointer())305 cret := gio.XGActionGroupListActions(x.GoPointer())
306 return cret306 return cret
@@ -394,7 +394,7 @@ func (x *Application) AddAction(ActionVar gio.Action) {
394 // }394 // }
395 //395 //
396 // ]|396 // ]|
397-func (x *Application) AddActionEntries(EntriesVar uintptr, NEntriesVar int, UserDataVar uintptr) {397+func (x *Application) AddActionEntries(EntriesVar []gio.ActionEntry, NEntriesVar int, UserDataVar uintptr) {
398 398
399 gio.XGActionMapAddActionEntries(x.GoPointer(), EntriesVar, NEntriesVar, UserDataVar)399 gio.XGActionMapAddActionEntries(x.GoPointer(), EntriesVar, NEntriesVar, UserDataVar)
400 400
M v4/adw/adw-avatar.go +3 -3
@@ -262,7 +262,7 @@ func (x *Avatar) UpdateProperty(FirstPropertyVar gtk.AccessibleProperty, varArgs
262 // property change must be communicated to assistive technologies.262 // property change must be communicated to assistive technologies.
263 //263 //
264 // This function is meant to be used by language bindings.264 // This function is meant to be used by language bindings.
265-func (x *Avatar) UpdatePropertyValue(NPropertiesVar int, PropertiesVar uintptr, ValuesVar uintptr) {265+func (x *Avatar) UpdatePropertyValue(NPropertiesVar int, PropertiesVar []gtk.AccessibleProperty, ValuesVar []gobject.Value) {
266 266
267 gtk.XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)267 gtk.XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
268 268
@@ -298,7 +298,7 @@ func (x *Avatar) UpdateRelation(FirstRelationVar gtk.AccessibleRelation, varArgs
298 // relation change must be communicated to assistive technologies.298 // relation change must be communicated to assistive technologies.
299 //299 //
300 // This function is meant to be used by language bindings.300 // This function is meant to be used by language bindings.
301-func (x *Avatar) UpdateRelationValue(NRelationsVar int, RelationsVar uintptr, ValuesVar uintptr) {301+func (x *Avatar) UpdateRelationValue(NRelationsVar int, RelationsVar []gtk.AccessibleRelation, ValuesVar []gobject.Value) {
302 302
303 gtk.XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)303 gtk.XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
304 304
@@ -331,7 +331,7 @@ func (x *Avatar) UpdateState(FirstStateVar gtk.AccessibleState, varArgs ...inter
331 // state change must be communicated to assistive technologies.331 // state change must be communicated to assistive technologies.
332 //332 //
333 // This function is meant to be used by language bindings.333 // This function is meant to be used by language bindings.
334-func (x *Avatar) UpdateStateValue(NStatesVar int, StatesVar uintptr, ValuesVar uintptr) {334+func (x *Avatar) UpdateStateValue(NStatesVar int, StatesVar []gtk.AccessibleState, ValuesVar []gobject.Value) {
335 335
336 gtk.XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)336 gtk.XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
337 337
M v4/adw/adw-banner.go +3 -3
@@ -239,7 +239,7 @@ func (x *Banner) UpdateProperty(FirstPropertyVar gtk.AccessibleProperty, varArgs
239 // property change must be communicated to assistive technologies.239 // property change must be communicated to assistive technologies.
240 //240 //
241 // This function is meant to be used by language bindings.241 // This function is meant to be used by language bindings.
242-func (x *Banner) UpdatePropertyValue(NPropertiesVar int, PropertiesVar uintptr, ValuesVar uintptr) {242+func (x *Banner) UpdatePropertyValue(NPropertiesVar int, PropertiesVar []gtk.AccessibleProperty, ValuesVar []gobject.Value) {
243 243
244 gtk.XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)244 gtk.XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
245 245
@@ -275,7 +275,7 @@ func (x *Banner) UpdateRelation(FirstRelationVar gtk.AccessibleRelation, varArgs
275 // relation change must be communicated to assistive technologies.275 // relation change must be communicated to assistive technologies.
276 //276 //
277 // This function is meant to be used by language bindings.277 // This function is meant to be used by language bindings.
278-func (x *Banner) UpdateRelationValue(NRelationsVar int, RelationsVar uintptr, ValuesVar uintptr) {278+func (x *Banner) UpdateRelationValue(NRelationsVar int, RelationsVar []gtk.AccessibleRelation, ValuesVar []gobject.Value) {
279 279
280 gtk.XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)280 gtk.XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
281 281
@@ -308,7 +308,7 @@ func (x *Banner) UpdateState(FirstStateVar gtk.AccessibleState, varArgs ...inter
308 // state change must be communicated to assistive technologies.308 // state change must be communicated to assistive technologies.
309 //309 //
310 // This function is meant to be used by language bindings.310 // This function is meant to be used by language bindings.
311-func (x *Banner) UpdateStateValue(NStatesVar int, StatesVar uintptr, ValuesVar uintptr) {311+func (x *Banner) UpdateStateValue(NStatesVar int, StatesVar []gtk.AccessibleState, ValuesVar []gobject.Value) {
312 312
313 gtk.XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)313 gtk.XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
314 314
M v4/adw/adw-bin.go +3 -3
@@ -151,7 +151,7 @@ func (x *Bin) UpdateProperty(FirstPropertyVar gtk.AccessibleProperty, varArgs ..
151 // property change must be communicated to assistive technologies.151 // property change must be communicated to assistive technologies.
152 //152 //
153 // This function is meant to be used by language bindings.153 // This function is meant to be used by language bindings.
154-func (x *Bin) UpdatePropertyValue(NPropertiesVar int, PropertiesVar uintptr, ValuesVar uintptr) {154+func (x *Bin) UpdatePropertyValue(NPropertiesVar int, PropertiesVar []gtk.AccessibleProperty, ValuesVar []gobject.Value) {
155 155
156 gtk.XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)156 gtk.XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
157 157
@@ -187,7 +187,7 @@ func (x *Bin) UpdateRelation(FirstRelationVar gtk.AccessibleRelation, varArgs ..
187 // relation change must be communicated to assistive technologies.187 // relation change must be communicated to assistive technologies.
188 //188 //
189 // This function is meant to be used by language bindings.189 // This function is meant to be used by language bindings.
190-func (x *Bin) UpdateRelationValue(NRelationsVar int, RelationsVar uintptr, ValuesVar uintptr) {190+func (x *Bin) UpdateRelationValue(NRelationsVar int, RelationsVar []gtk.AccessibleRelation, ValuesVar []gobject.Value) {
191 191
192 gtk.XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)192 gtk.XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
193 193
@@ -220,7 +220,7 @@ func (x *Bin) UpdateState(FirstStateVar gtk.AccessibleState, varArgs ...interfac
220 // state change must be communicated to assistive technologies.220 // state change must be communicated to assistive technologies.
221 //221 //
222 // This function is meant to be used by language bindings.222 // This function is meant to be used by language bindings.
223-func (x *Bin) UpdateStateValue(NStatesVar int, StatesVar uintptr, ValuesVar uintptr) {223+func (x *Bin) UpdateStateValue(NStatesVar int, StatesVar []gtk.AccessibleState, ValuesVar []gobject.Value) {
224 224
225 gtk.XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)225 gtk.XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
226 226
M v4/adw/adw-button-content.go +3 -3
@@ -221,7 +221,7 @@ func (x *ButtonContent) UpdateProperty(FirstPropertyVar gtk.AccessibleProperty,
221 // property change must be communicated to assistive technologies.221 // property change must be communicated to assistive technologies.
222 //222 //
223 // This function is meant to be used by language bindings.223 // This function is meant to be used by language bindings.
224-func (x *ButtonContent) UpdatePropertyValue(NPropertiesVar int, PropertiesVar uintptr, ValuesVar uintptr) {224+func (x *ButtonContent) UpdatePropertyValue(NPropertiesVar int, PropertiesVar []gtk.AccessibleProperty, ValuesVar []gobject.Value) {
225 225
226 gtk.XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)226 gtk.XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
227 227
@@ -257,7 +257,7 @@ func (x *ButtonContent) UpdateRelation(FirstRelationVar gtk.AccessibleRelation,
257 // relation change must be communicated to assistive technologies.257 // relation change must be communicated to assistive technologies.
258 //258 //
259 // This function is meant to be used by language bindings.259 // This function is meant to be used by language bindings.
260-func (x *ButtonContent) UpdateRelationValue(NRelationsVar int, RelationsVar uintptr, ValuesVar uintptr) {260+func (x *ButtonContent) UpdateRelationValue(NRelationsVar int, RelationsVar []gtk.AccessibleRelation, ValuesVar []gobject.Value) {
261 261
262 gtk.XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)262 gtk.XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
263 263
@@ -290,7 +290,7 @@ func (x *ButtonContent) UpdateState(FirstStateVar gtk.AccessibleState, varArgs .
290 // state change must be communicated to assistive technologies.290 // state change must be communicated to assistive technologies.
291 //291 //
292 // This function is meant to be used by language bindings.292 // This function is meant to be used by language bindings.
293-func (x *ButtonContent) UpdateStateValue(NStatesVar int, StatesVar uintptr, ValuesVar uintptr) {293+func (x *ButtonContent) UpdateStateValue(NStatesVar int, StatesVar []gtk.AccessibleState, ValuesVar []gobject.Value) {
294 294
295 gtk.XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)295 gtk.XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
296 296
M v4/adw/adw-carousel-indicator-dots.go +3 -3
@@ -157,7 +157,7 @@ func (x *CarouselIndicatorDots) UpdateProperty(FirstPropertyVar gtk.AccessiblePr
157 // property change must be communicated to assistive technologies.157 // property change must be communicated to assistive technologies.
158 //158 //
159 // This function is meant to be used by language bindings.159 // This function is meant to be used by language bindings.
160-func (x *CarouselIndicatorDots) UpdatePropertyValue(NPropertiesVar int, PropertiesVar uintptr, ValuesVar uintptr) {160+func (x *CarouselIndicatorDots) UpdatePropertyValue(NPropertiesVar int, PropertiesVar []gtk.AccessibleProperty, ValuesVar []gobject.Value) {
161 161
162 gtk.XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)162 gtk.XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
163 163
@@ -193,7 +193,7 @@ func (x *CarouselIndicatorDots) UpdateRelation(FirstRelationVar gtk.AccessibleRe
193 // relation change must be communicated to assistive technologies.193 // relation change must be communicated to assistive technologies.
194 //194 //
195 // This function is meant to be used by language bindings.195 // This function is meant to be used by language bindings.
196-func (x *CarouselIndicatorDots) UpdateRelationValue(NRelationsVar int, RelationsVar uintptr, ValuesVar uintptr) {196+func (x *CarouselIndicatorDots) UpdateRelationValue(NRelationsVar int, RelationsVar []gtk.AccessibleRelation, ValuesVar []gobject.Value) {
197 197
198 gtk.XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)198 gtk.XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
199 199
@@ -226,7 +226,7 @@ func (x *CarouselIndicatorDots) UpdateState(FirstStateVar gtk.AccessibleState, v
226 // state change must be communicated to assistive technologies.226 // state change must be communicated to assistive technologies.
227 //227 //
228 // This function is meant to be used by language bindings.228 // This function is meant to be used by language bindings.
229-func (x *CarouselIndicatorDots) UpdateStateValue(NStatesVar int, StatesVar uintptr, ValuesVar uintptr) {229+func (x *CarouselIndicatorDots) UpdateStateValue(NStatesVar int, StatesVar []gtk.AccessibleState, ValuesVar []gobject.Value) {
230 230
231 gtk.XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)231 gtk.XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
232 232
M v4/adw/adw-carousel-indicator-lines.go +3 -3
@@ -156,7 +156,7 @@ func (x *CarouselIndicatorLines) UpdateProperty(FirstPropertyVar gtk.AccessibleP
156 // property change must be communicated to assistive technologies.156 // property change must be communicated to assistive technologies.
157 //157 //
158 // This function is meant to be used by language bindings.158 // This function is meant to be used by language bindings.
159-func (x *CarouselIndicatorLines) UpdatePropertyValue(NPropertiesVar int, PropertiesVar uintptr, ValuesVar uintptr) {159+func (x *CarouselIndicatorLines) UpdatePropertyValue(NPropertiesVar int, PropertiesVar []gtk.AccessibleProperty, ValuesVar []gobject.Value) {
160 160
161 gtk.XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)161 gtk.XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
162 162
@@ -192,7 +192,7 @@ func (x *CarouselIndicatorLines) UpdateRelation(FirstRelationVar gtk.AccessibleR
192 // relation change must be communicated to assistive technologies.192 // relation change must be communicated to assistive technologies.
193 //193 //
194 // This function is meant to be used by language bindings.194 // This function is meant to be used by language bindings.
195-func (x *CarouselIndicatorLines) UpdateRelationValue(NRelationsVar int, RelationsVar uintptr, ValuesVar uintptr) {195+func (x *CarouselIndicatorLines) UpdateRelationValue(NRelationsVar int, RelationsVar []gtk.AccessibleRelation, ValuesVar []gobject.Value) {
196 196
197 gtk.XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)197 gtk.XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
198 198
@@ -225,7 +225,7 @@ func (x *CarouselIndicatorLines) UpdateState(FirstStateVar gtk.AccessibleState,
225 // state change must be communicated to assistive technologies.225 // state change must be communicated to assistive technologies.
226 //226 //
227 // This function is meant to be used by language bindings.227 // This function is meant to be used by language bindings.
228-func (x *CarouselIndicatorLines) UpdateStateValue(NStatesVar int, StatesVar uintptr, ValuesVar uintptr) {228+func (x *CarouselIndicatorLines) UpdateStateValue(NStatesVar int, StatesVar []gtk.AccessibleState, ValuesVar []gobject.Value) {
229 229
230 gtk.XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)230 gtk.XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
231 231
M v4/adw/adw-carousel.go +4 -4
@@ -367,7 +367,7 @@ func (x *Carousel) GetProgress() float64 {
367 //367 //
368 // Each snap point represents a progress value that is considered acceptable to368 // Each snap point represents a progress value that is considered acceptable to
369 // end the swipe on.369 // end the swipe on.
370-func (x *Carousel) GetSnapPoints(NSnapPointsVar int) uintptr {370+func (x *Carousel) GetSnapPoints(NSnapPointsVar int) []float64 {
371 371
372 cret := XAdwSwipeableGetSnapPoints(x.GoPointer(), NSnapPointsVar)372 cret := XAdwSwipeableGetSnapPoints(x.GoPointer(), NSnapPointsVar)
373 return cret373 return cret
@@ -446,7 +446,7 @@ func (x *Carousel) UpdateProperty(FirstPropertyVar gtk.AccessibleProperty, varAr
446 // property change must be communicated to assistive technologies.446 // property change must be communicated to assistive technologies.
447 //447 //
448 // This function is meant to be used by language bindings.448 // This function is meant to be used by language bindings.
449-func (x *Carousel) UpdatePropertyValue(NPropertiesVar int, PropertiesVar uintptr, ValuesVar uintptr) {449+func (x *Carousel) UpdatePropertyValue(NPropertiesVar int, PropertiesVar []gtk.AccessibleProperty, ValuesVar []gobject.Value) {
450 450
451 gtk.XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)451 gtk.XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
452 452
@@ -482,7 +482,7 @@ func (x *Carousel) UpdateRelation(FirstRelationVar gtk.AccessibleRelation, varAr
482 // relation change must be communicated to assistive technologies.482 // relation change must be communicated to assistive technologies.
483 //483 //
484 // This function is meant to be used by language bindings.484 // This function is meant to be used by language bindings.
485-func (x *Carousel) UpdateRelationValue(NRelationsVar int, RelationsVar uintptr, ValuesVar uintptr) {485+func (x *Carousel) UpdateRelationValue(NRelationsVar int, RelationsVar []gtk.AccessibleRelation, ValuesVar []gobject.Value) {
486 486
487 gtk.XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)487 gtk.XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
488 488
@@ -515,7 +515,7 @@ func (x *Carousel) UpdateState(FirstStateVar gtk.AccessibleState, varArgs ...int
515 // state change must be communicated to assistive technologies.515 // state change must be communicated to assistive technologies.
516 //516 //
517 // This function is meant to be used by language bindings.517 // This function is meant to be used by language bindings.
518-func (x *Carousel) UpdateStateValue(NStatesVar int, StatesVar uintptr, ValuesVar uintptr) {518+func (x *Carousel) UpdateStateValue(NStatesVar int, StatesVar []gtk.AccessibleState, ValuesVar []gobject.Value) {
519 519
520 gtk.XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)520 gtk.XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
521 521
M v4/adw/adw-clamp-scrollable.go +3 -3
@@ -195,7 +195,7 @@ func (x *ClampScrollable) UpdateProperty(FirstPropertyVar gtk.AccessibleProperty
195 // property change must be communicated to assistive technologies.195 // property change must be communicated to assistive technologies.
196 //196 //
197 // This function is meant to be used by language bindings.197 // This function is meant to be used by language bindings.
198-func (x *ClampScrollable) UpdatePropertyValue(NPropertiesVar int, PropertiesVar uintptr, ValuesVar uintptr) {198+func (x *ClampScrollable) UpdatePropertyValue(NPropertiesVar int, PropertiesVar []gtk.AccessibleProperty, ValuesVar []gobject.Value) {
199 199
200 gtk.XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)200 gtk.XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
201 201
@@ -231,7 +231,7 @@ func (x *ClampScrollable) UpdateRelation(FirstRelationVar gtk.AccessibleRelation
231 // relation change must be communicated to assistive technologies.231 // relation change must be communicated to assistive technologies.
232 //232 //
233 // This function is meant to be used by language bindings.233 // This function is meant to be used by language bindings.
234-func (x *ClampScrollable) UpdateRelationValue(NRelationsVar int, RelationsVar uintptr, ValuesVar uintptr) {234+func (x *ClampScrollable) UpdateRelationValue(NRelationsVar int, RelationsVar []gtk.AccessibleRelation, ValuesVar []gobject.Value) {
235 235
236 gtk.XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)236 gtk.XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
237 237
@@ -264,7 +264,7 @@ func (x *ClampScrollable) UpdateState(FirstStateVar gtk.AccessibleState, varArgs
264 // state change must be communicated to assistive technologies.264 // state change must be communicated to assistive technologies.
265 //265 //
266 // This function is meant to be used by language bindings.266 // This function is meant to be used by language bindings.
267-func (x *ClampScrollable) UpdateStateValue(NStatesVar int, StatesVar uintptr, ValuesVar uintptr) {267+func (x *ClampScrollable) UpdateStateValue(NStatesVar int, StatesVar []gtk.AccessibleState, ValuesVar []gobject.Value) {
268 268
269 gtk.XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)269 gtk.XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
270 270
M v4/adw/adw-clamp.go +3 -3
@@ -218,7 +218,7 @@ func (x *Clamp) UpdateProperty(FirstPropertyVar gtk.AccessibleProperty, varArgs
218 // property change must be communicated to assistive technologies.218 // property change must be communicated to assistive technologies.
219 //219 //
220 // This function is meant to be used by language bindings.220 // This function is meant to be used by language bindings.
221-func (x *Clamp) UpdatePropertyValue(NPropertiesVar int, PropertiesVar uintptr, ValuesVar uintptr) {221+func (x *Clamp) UpdatePropertyValue(NPropertiesVar int, PropertiesVar []gtk.AccessibleProperty, ValuesVar []gobject.Value) {
222 222
223 gtk.XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)223 gtk.XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
224 224
@@ -254,7 +254,7 @@ func (x *Clamp) UpdateRelation(FirstRelationVar gtk.AccessibleRelation, varArgs
254 // relation change must be communicated to assistive technologies.254 // relation change must be communicated to assistive technologies.
255 //255 //
256 // This function is meant to be used by language bindings.256 // This function is meant to be used by language bindings.
257-func (x *Clamp) UpdateRelationValue(NRelationsVar int, RelationsVar uintptr, ValuesVar uintptr) {257+func (x *Clamp) UpdateRelationValue(NRelationsVar int, RelationsVar []gtk.AccessibleRelation, ValuesVar []gobject.Value) {
258 258
259 gtk.XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)259 gtk.XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
260 260
@@ -287,7 +287,7 @@ func (x *Clamp) UpdateState(FirstStateVar gtk.AccessibleState, varArgs ...interf
287 // state change must be communicated to assistive technologies.287 // state change must be communicated to assistive technologies.
288 //288 //
289 // This function is meant to be used by language bindings.289 // This function is meant to be used by language bindings.
290-func (x *Clamp) UpdateStateValue(NStatesVar int, StatesVar uintptr, ValuesVar uintptr) {290+func (x *Clamp) UpdateStateValue(NStatesVar int, StatesVar []gtk.AccessibleState, ValuesVar []gobject.Value) {
291 291
292 gtk.XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)292 gtk.XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
293 293
M v4/adw/adw-combo-row.go +4 -4
@@ -15,7 +15,7 @@ import (
15 type ComboRowClass struct {15 type ComboRowClass struct {
16 ParentClass uintptr16 ParentClass uintptr
17 17
18- Padding uintptr18+ Padding [4]uintptr
19 }19 }
20 20
21 func (x *ComboRowClass) GoPointer() uintptr {21 func (x *ComboRowClass) GoPointer() uintptr {
@@ -342,7 +342,7 @@ func (x *ComboRow) UpdateProperty(FirstPropertyVar gtk.AccessibleProperty, varAr
342 // property change must be communicated to assistive technologies.342 // property change must be communicated to assistive technologies.
343 //343 //
344 // This function is meant to be used by language bindings.344 // This function is meant to be used by language bindings.
345-func (x *ComboRow) UpdatePropertyValue(NPropertiesVar int, PropertiesVar uintptr, ValuesVar uintptr) {345+func (x *ComboRow) UpdatePropertyValue(NPropertiesVar int, PropertiesVar []gtk.AccessibleProperty, ValuesVar []gobject.Value) {
346 346
347 gtk.XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)347 gtk.XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
348 348
@@ -378,7 +378,7 @@ func (x *ComboRow) UpdateRelation(FirstRelationVar gtk.AccessibleRelation, varAr
378 // relation change must be communicated to assistive technologies.378 // relation change must be communicated to assistive technologies.
379 //379 //
380 // This function is meant to be used by language bindings.380 // This function is meant to be used by language bindings.
381-func (x *ComboRow) UpdateRelationValue(NRelationsVar int, RelationsVar uintptr, ValuesVar uintptr) {381+func (x *ComboRow) UpdateRelationValue(NRelationsVar int, RelationsVar []gtk.AccessibleRelation, ValuesVar []gobject.Value) {
382 382
383 gtk.XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)383 gtk.XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
384 384
@@ -411,7 +411,7 @@ func (x *ComboRow) UpdateState(FirstStateVar gtk.AccessibleState, varArgs ...int
411 // state change must be communicated to assistive technologies.411 // state change must be communicated to assistive technologies.
412 //412 //
413 // This function is meant to be used by language bindings.413 // This function is meant to be used by language bindings.
414-func (x *ComboRow) UpdateStateValue(NStatesVar int, StatesVar uintptr, ValuesVar uintptr) {414+func (x *ComboRow) UpdateStateValue(NStatesVar int, StatesVar []gtk.AccessibleState, ValuesVar []gobject.Value) {
415 415
416 gtk.XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)416 gtk.XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
417 417
M v4/adw/adw-entry-row.go +3 -3
@@ -356,7 +356,7 @@ func (x *EntryRow) UpdateProperty(FirstPropertyVar gtk.AccessibleProperty, varAr
356 // property change must be communicated to assistive technologies.356 // property change must be communicated to assistive technologies.
357 //357 //
358 // This function is meant to be used by language bindings.358 // This function is meant to be used by language bindings.
359-func (x *EntryRow) UpdatePropertyValue(NPropertiesVar int, PropertiesVar uintptr, ValuesVar uintptr) {359+func (x *EntryRow) UpdatePropertyValue(NPropertiesVar int, PropertiesVar []gtk.AccessibleProperty, ValuesVar []gobject.Value) {
360 360
361 gtk.XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)361 gtk.XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
362 362
@@ -392,7 +392,7 @@ func (x *EntryRow) UpdateRelation(FirstRelationVar gtk.AccessibleRelation, varAr
392 // relation change must be communicated to assistive technologies.392 // relation change must be communicated to assistive technologies.
393 //393 //
394 // This function is meant to be used by language bindings.394 // This function is meant to be used by language bindings.
395-func (x *EntryRow) UpdateRelationValue(NRelationsVar int, RelationsVar uintptr, ValuesVar uintptr) {395+func (x *EntryRow) UpdateRelationValue(NRelationsVar int, RelationsVar []gtk.AccessibleRelation, ValuesVar []gobject.Value) {
396 396
397 gtk.XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)397 gtk.XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
398 398
@@ -425,7 +425,7 @@ func (x *EntryRow) UpdateState(FirstStateVar gtk.AccessibleState, varArgs ...int
425 // state change must be communicated to assistive technologies.425 // state change must be communicated to assistive technologies.
426 //426 //
427 // This function is meant to be used by language bindings.427 // This function is meant to be used by language bindings.
428-func (x *EntryRow) UpdateStateValue(NStatesVar int, StatesVar uintptr, ValuesVar uintptr) {428+func (x *EntryRow) UpdateStateValue(NStatesVar int, StatesVar []gtk.AccessibleState, ValuesVar []gobject.Value) {
429 429
430 gtk.XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)430 gtk.XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
431 431
M v4/adw/adw-enum-list-model.go +6 -5
@@ -8,6 +8,7 @@ import (
8 "github.com/jwijenbergh/puregotk/internal/core"8 "github.com/jwijenbergh/puregotk/internal/core"
9 "github.com/jwijenbergh/puregotk/v4/gio"9 "github.com/jwijenbergh/puregotk/v4/gio"
10 "github.com/jwijenbergh/puregotk/v4/gobject"10 "github.com/jwijenbergh/puregotk/v4/gobject"
11+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
11 )12 )
12 13
13 type EnumListItemClass struct {14 type EnumListItemClass struct {
@@ -85,10 +86,10 @@ func EnumListModelNewFromInternalPtr(ptr uintptr) *EnumListModel {
85 return cls86 return cls
86 }87 }
87 88
88-var xNewEnumListModel func([]interface{}) uintptr89+var xNewEnumListModel func(types.GType) uintptr
89 90
90 // Creates a new `AdwEnumListModel` for @enum_type.91 // Creates a new `AdwEnumListModel` for @enum_type.
91-func NewEnumListModel(EnumTypeVar []interface{}) *EnumListModel {92+func NewEnumListModel(EnumTypeVar types.GType) *EnumListModel {
92 var cls *EnumListModel93 var cls *EnumListModel
93 94
94 cret := xNewEnumListModel(EnumTypeVar)95 cret := xNewEnumListModel(EnumTypeVar)
@@ -110,10 +111,10 @@ func (x *EnumListModel) FindPosition(ValueVar int) uint {
110 return cret111 return cret
111 }112 }
112 113
113-var xEnumListModelGetEnumType func(uintptr) []interface{}114+var xEnumListModelGetEnumType func(uintptr) types.GType
114 115
115 // Gets the type of the enum represented by @self.116 // Gets the type of the enum represented by @self.
116-func (x *EnumListModel) GetEnumType() []interface{} {117+func (x *EnumListModel) GetEnumType() types.GType {
117 118
118 cret := xEnumListModelGetEnumType(x.GoPointer())119 cret := xEnumListModelGetEnumType(x.GoPointer())
119 return cret120 return cret
@@ -150,7 +151,7 @@ func (x *EnumListModel) GetItem(PositionVar uint) uintptr {
150 //151 //
151 // The item type of a #GListModel can not change during the life of the152 // The item type of a #GListModel can not change during the life of the
152 // model.153 // model.
153-func (x *EnumListModel) GetItemType() []interface{} {154+func (x *EnumListModel) GetItemType() types.GType {
154 155
155 cret := gio.XGListModelGetItemType(x.GoPointer())156 cret := gio.XGListModelGetItemType(x.GoPointer())
156 return cret157 return cret
M v4/adw/adw-expander-row.go +4 -4
@@ -14,7 +14,7 @@ import (
14 type ExpanderRowClass struct {14 type ExpanderRowClass struct {
15 ParentClass uintptr15 ParentClass uintptr
16 16
17- Padding uintptr17+ Padding [4]uintptr
18 }18 }
19 19
20 func (x *ExpanderRowClass) GoPointer() uintptr {20 func (x *ExpanderRowClass) GoPointer() uintptr {
@@ -318,7 +318,7 @@ func (x *ExpanderRow) UpdateProperty(FirstPropertyVar gtk.AccessibleProperty, va
318 // property change must be communicated to assistive technologies.318 // property change must be communicated to assistive technologies.
319 //319 //
320 // This function is meant to be used by language bindings.320 // This function is meant to be used by language bindings.
321-func (x *ExpanderRow) UpdatePropertyValue(NPropertiesVar int, PropertiesVar uintptr, ValuesVar uintptr) {321+func (x *ExpanderRow) UpdatePropertyValue(NPropertiesVar int, PropertiesVar []gtk.AccessibleProperty, ValuesVar []gobject.Value) {
322 322
323 gtk.XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)323 gtk.XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
324 324
@@ -354,7 +354,7 @@ func (x *ExpanderRow) UpdateRelation(FirstRelationVar gtk.AccessibleRelation, va
354 // relation change must be communicated to assistive technologies.354 // relation change must be communicated to assistive technologies.
355 //355 //
356 // This function is meant to be used by language bindings.356 // This function is meant to be used by language bindings.
357-func (x *ExpanderRow) UpdateRelationValue(NRelationsVar int, RelationsVar uintptr, ValuesVar uintptr) {357+func (x *ExpanderRow) UpdateRelationValue(NRelationsVar int, RelationsVar []gtk.AccessibleRelation, ValuesVar []gobject.Value) {
358 358
359 gtk.XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)359 gtk.XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
360 360
@@ -387,7 +387,7 @@ func (x *ExpanderRow) UpdateState(FirstStateVar gtk.AccessibleState, varArgs ...
387 // state change must be communicated to assistive technologies.387 // state change must be communicated to assistive technologies.
388 //388 //
389 // This function is meant to be used by language bindings.389 // This function is meant to be used by language bindings.
390-func (x *ExpanderRow) UpdateStateValue(NStatesVar int, StatesVar uintptr, ValuesVar uintptr) {390+func (x *ExpanderRow) UpdateStateValue(NStatesVar int, StatesVar []gtk.AccessibleState, ValuesVar []gobject.Value) {
391 391
392 gtk.XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)392 gtk.XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
393 393
M v4/adw/adw-flap.go +4 -4
@@ -523,7 +523,7 @@ func (x *Flap) GetProgress() float64 {
523 //523 //
524 // Each snap point represents a progress value that is considered acceptable to524 // Each snap point represents a progress value that is considered acceptable to
525 // end the swipe on.525 // end the swipe on.
526-func (x *Flap) GetSnapPoints(NSnapPointsVar int) uintptr {526+func (x *Flap) GetSnapPoints(NSnapPointsVar int) []float64 {
527 527
528 cret := XAdwSwipeableGetSnapPoints(x.GoPointer(), NSnapPointsVar)528 cret := XAdwSwipeableGetSnapPoints(x.GoPointer(), NSnapPointsVar)
529 return cret529 return cret
@@ -602,7 +602,7 @@ func (x *Flap) UpdateProperty(FirstPropertyVar gtk.AccessibleProperty, varArgs .
602 // property change must be communicated to assistive technologies.602 // property change must be communicated to assistive technologies.
603 //603 //
604 // This function is meant to be used by language bindings.604 // This function is meant to be used by language bindings.
605-func (x *Flap) UpdatePropertyValue(NPropertiesVar int, PropertiesVar uintptr, ValuesVar uintptr) {605+func (x *Flap) UpdatePropertyValue(NPropertiesVar int, PropertiesVar []gtk.AccessibleProperty, ValuesVar []gobject.Value) {
606 606
607 gtk.XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)607 gtk.XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
608 608
@@ -638,7 +638,7 @@ func (x *Flap) UpdateRelation(FirstRelationVar gtk.AccessibleRelation, varArgs .
638 // relation change must be communicated to assistive technologies.638 // relation change must be communicated to assistive technologies.
639 //639 //
640 // This function is meant to be used by language bindings.640 // This function is meant to be used by language bindings.
641-func (x *Flap) UpdateRelationValue(NRelationsVar int, RelationsVar uintptr, ValuesVar uintptr) {641+func (x *Flap) UpdateRelationValue(NRelationsVar int, RelationsVar []gtk.AccessibleRelation, ValuesVar []gobject.Value) {
642 642
643 gtk.XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)643 gtk.XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
644 644
@@ -671,7 +671,7 @@ func (x *Flap) UpdateState(FirstStateVar gtk.AccessibleState, varArgs ...interfa
671 // state change must be communicated to assistive technologies.671 // state change must be communicated to assistive technologies.
672 //672 //
673 // This function is meant to be used by language bindings.673 // This function is meant to be used by language bindings.
674-func (x *Flap) UpdateStateValue(NStatesVar int, StatesVar uintptr, ValuesVar uintptr) {674+func (x *Flap) UpdateStateValue(NStatesVar int, StatesVar []gtk.AccessibleState, ValuesVar []gobject.Value) {
675 675
676 gtk.XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)676 gtk.XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
677 677
M v4/adw/adw-header-bar.go +3 -3
@@ -382,7 +382,7 @@ func (x *HeaderBar) UpdateProperty(FirstPropertyVar gtk.AccessibleProperty, varA
382 // property change must be communicated to assistive technologies.382 // property change must be communicated to assistive technologies.
383 //383 //
384 // This function is meant to be used by language bindings.384 // This function is meant to be used by language bindings.
385-func (x *HeaderBar) UpdatePropertyValue(NPropertiesVar int, PropertiesVar uintptr, ValuesVar uintptr) {385+func (x *HeaderBar) UpdatePropertyValue(NPropertiesVar int, PropertiesVar []gtk.AccessibleProperty, ValuesVar []gobject.Value) {
386 386
387 gtk.XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)387 gtk.XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
388 388
@@ -418,7 +418,7 @@ func (x *HeaderBar) UpdateRelation(FirstRelationVar gtk.AccessibleRelation, varA
418 // relation change must be communicated to assistive technologies.418 // relation change must be communicated to assistive technologies.
419 //419 //
420 // This function is meant to be used by language bindings.420 // This function is meant to be used by language bindings.
421-func (x *HeaderBar) UpdateRelationValue(NRelationsVar int, RelationsVar uintptr, ValuesVar uintptr) {421+func (x *HeaderBar) UpdateRelationValue(NRelationsVar int, RelationsVar []gtk.AccessibleRelation, ValuesVar []gobject.Value) {
422 422
423 gtk.XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)423 gtk.XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
424 424
@@ -451,7 +451,7 @@ func (x *HeaderBar) UpdateState(FirstStateVar gtk.AccessibleState, varArgs ...in
451 // state change must be communicated to assistive technologies.451 // state change must be communicated to assistive technologies.
452 //452 //
453 // This function is meant to be used by language bindings.453 // This function is meant to be used by language bindings.
454-func (x *HeaderBar) UpdateStateValue(NStatesVar int, StatesVar uintptr, ValuesVar uintptr) {454+func (x *HeaderBar) UpdateStateValue(NStatesVar int, StatesVar []gtk.AccessibleState, ValuesVar []gobject.Value) {
455 455
456 gtk.XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)456 gtk.XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
457 457
M v4/adw/adw-leaflet.go +4 -4
@@ -578,7 +578,7 @@ func (x *Leaflet) GetProgress() float64 {
578 //578 //
579 // Each snap point represents a progress value that is considered acceptable to579 // Each snap point represents a progress value that is considered acceptable to
580 // end the swipe on.580 // end the swipe on.
581-func (x *Leaflet) GetSnapPoints(NSnapPointsVar int) uintptr {581+func (x *Leaflet) GetSnapPoints(NSnapPointsVar int) []float64 {
582 582
583 cret := XAdwSwipeableGetSnapPoints(x.GoPointer(), NSnapPointsVar)583 cret := XAdwSwipeableGetSnapPoints(x.GoPointer(), NSnapPointsVar)
584 return cret584 return cret
@@ -657,7 +657,7 @@ func (x *Leaflet) UpdateProperty(FirstPropertyVar gtk.AccessibleProperty, varArg
657 // property change must be communicated to assistive technologies.657 // property change must be communicated to assistive technologies.
658 //658 //
659 // This function is meant to be used by language bindings.659 // This function is meant to be used by language bindings.
660-func (x *Leaflet) UpdatePropertyValue(NPropertiesVar int, PropertiesVar uintptr, ValuesVar uintptr) {660+func (x *Leaflet) UpdatePropertyValue(NPropertiesVar int, PropertiesVar []gtk.AccessibleProperty, ValuesVar []gobject.Value) {
661 661
662 gtk.XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)662 gtk.XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
663 663
@@ -693,7 +693,7 @@ func (x *Leaflet) UpdateRelation(FirstRelationVar gtk.AccessibleRelation, varArg
693 // relation change must be communicated to assistive technologies.693 // relation change must be communicated to assistive technologies.
694 //694 //
695 // This function is meant to be used by language bindings.695 // This function is meant to be used by language bindings.
696-func (x *Leaflet) UpdateRelationValue(NRelationsVar int, RelationsVar uintptr, ValuesVar uintptr) {696+func (x *Leaflet) UpdateRelationValue(NRelationsVar int, RelationsVar []gtk.AccessibleRelation, ValuesVar []gobject.Value) {
697 697
698 gtk.XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)698 gtk.XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
699 699
@@ -726,7 +726,7 @@ func (x *Leaflet) UpdateState(FirstStateVar gtk.AccessibleState, varArgs ...inte
726 // state change must be communicated to assistive technologies.726 // state change must be communicated to assistive technologies.
727 //727 //
728 // This function is meant to be used by language bindings.728 // This function is meant to be used by language bindings.
729-func (x *Leaflet) UpdateStateValue(NStatesVar int, StatesVar uintptr, ValuesVar uintptr) {729+func (x *Leaflet) UpdateStateValue(NStatesVar int, StatesVar []gtk.AccessibleState, ValuesVar []gobject.Value) {
730 730
731 gtk.XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)731 gtk.XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
732 732
M v4/adw/adw-message-dialog.go +4 -4
@@ -17,7 +17,7 @@ import (
17 type MessageDialogClass struct {17 type MessageDialogClass struct {
18 ParentClass uintptr18 ParentClass uintptr
19 19
20- Padding uintptr20+ Padding [4]uintptr
21 }21 }
22 22
23 func (x *MessageDialogClass) GoPointer() uintptr {23 func (x *MessageDialogClass) GoPointer() uintptr {
@@ -705,7 +705,7 @@ func (x *MessageDialog) UpdateProperty(FirstPropertyVar gtk.AccessibleProperty,
705 // property change must be communicated to assistive technologies.705 // property change must be communicated to assistive technologies.
706 //706 //
707 // This function is meant to be used by language bindings.707 // This function is meant to be used by language bindings.
708-func (x *MessageDialog) UpdatePropertyValue(NPropertiesVar int, PropertiesVar uintptr, ValuesVar uintptr) {708+func (x *MessageDialog) UpdatePropertyValue(NPropertiesVar int, PropertiesVar []gtk.AccessibleProperty, ValuesVar []gobject.Value) {
709 709
710 gtk.XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)710 gtk.XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
711 711
@@ -741,7 +741,7 @@ func (x *MessageDialog) UpdateRelation(FirstRelationVar gtk.AccessibleRelation,
741 // relation change must be communicated to assistive technologies.741 // relation change must be communicated to assistive technologies.
742 //742 //
743 // This function is meant to be used by language bindings.743 // This function is meant to be used by language bindings.
744-func (x *MessageDialog) UpdateRelationValue(NRelationsVar int, RelationsVar uintptr, ValuesVar uintptr) {744+func (x *MessageDialog) UpdateRelationValue(NRelationsVar int, RelationsVar []gtk.AccessibleRelation, ValuesVar []gobject.Value) {
745 745
746 gtk.XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)746 gtk.XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
747 747
@@ -774,7 +774,7 @@ func (x *MessageDialog) UpdateState(FirstStateVar gtk.AccessibleState, varArgs .
774 // state change must be communicated to assistive technologies.774 // state change must be communicated to assistive technologies.
775 //775 //
776 // This function is meant to be used by language bindings.776 // This function is meant to be used by language bindings.
777-func (x *MessageDialog) UpdateStateValue(NStatesVar int, StatesVar uintptr, ValuesVar uintptr) {777+func (x *MessageDialog) UpdateStateValue(NStatesVar int, StatesVar []gtk.AccessibleState, ValuesVar []gobject.Value) {
778 778
779 gtk.XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)779 gtk.XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
780 780
M v4/adw/adw-password-entry-row.go +3 -3
@@ -133,7 +133,7 @@ func (x *PasswordEntryRow) UpdateProperty(FirstPropertyVar gtk.AccessiblePropert
133 // property change must be communicated to assistive technologies.133 // property change must be communicated to assistive technologies.
134 //134 //
135 // This function is meant to be used by language bindings.135 // This function is meant to be used by language bindings.
136-func (x *PasswordEntryRow) UpdatePropertyValue(NPropertiesVar int, PropertiesVar uintptr, ValuesVar uintptr) {136+func (x *PasswordEntryRow) UpdatePropertyValue(NPropertiesVar int, PropertiesVar []gtk.AccessibleProperty, ValuesVar []gobject.Value) {
137 137
138 gtk.XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)138 gtk.XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
139 139
@@ -169,7 +169,7 @@ func (x *PasswordEntryRow) UpdateRelation(FirstRelationVar gtk.AccessibleRelatio
169 // relation change must be communicated to assistive technologies.169 // relation change must be communicated to assistive technologies.
170 //170 //
171 // This function is meant to be used by language bindings.171 // This function is meant to be used by language bindings.
172-func (x *PasswordEntryRow) UpdateRelationValue(NRelationsVar int, RelationsVar uintptr, ValuesVar uintptr) {172+func (x *PasswordEntryRow) UpdateRelationValue(NRelationsVar int, RelationsVar []gtk.AccessibleRelation, ValuesVar []gobject.Value) {
173 173
174 gtk.XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)174 gtk.XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
175 175
@@ -202,7 +202,7 @@ func (x *PasswordEntryRow) UpdateState(FirstStateVar gtk.AccessibleState, varArg
202 // state change must be communicated to assistive technologies.202 // state change must be communicated to assistive technologies.
203 //203 //
204 // This function is meant to be used by language bindings.204 // This function is meant to be used by language bindings.
205-func (x *PasswordEntryRow) UpdateStateValue(NStatesVar int, StatesVar uintptr, ValuesVar uintptr) {205+func (x *PasswordEntryRow) UpdateStateValue(NStatesVar int, StatesVar []gtk.AccessibleState, ValuesVar []gobject.Value) {
206 206
207 gtk.XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)207 gtk.XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
208 208
M v4/adw/adw-preferences-group.go +4 -4
@@ -13,7 +13,7 @@ import (
13 type PreferencesGroupClass struct {13 type PreferencesGroupClass struct {
14 ParentClass uintptr14 ParentClass uintptr
15 15
16- Padding uintptr16+ Padding [4]uintptr
17 }17 }
18 18
19 func (x *PreferencesGroupClass) GoPointer() uintptr {19 func (x *PreferencesGroupClass) GoPointer() uintptr {
@@ -230,7 +230,7 @@ func (x *PreferencesGroup) UpdateProperty(FirstPropertyVar gtk.AccessiblePropert
230 // property change must be communicated to assistive technologies.230 // property change must be communicated to assistive technologies.
231 //231 //
232 // This function is meant to be used by language bindings.232 // This function is meant to be used by language bindings.
233-func (x *PreferencesGroup) UpdatePropertyValue(NPropertiesVar int, PropertiesVar uintptr, ValuesVar uintptr) {233+func (x *PreferencesGroup) UpdatePropertyValue(NPropertiesVar int, PropertiesVar []gtk.AccessibleProperty, ValuesVar []gobject.Value) {
234 234
235 gtk.XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)235 gtk.XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
236 236
@@ -266,7 +266,7 @@ func (x *PreferencesGroup) UpdateRelation(FirstRelationVar gtk.AccessibleRelatio
266 // relation change must be communicated to assistive technologies.266 // relation change must be communicated to assistive technologies.
267 //267 //
268 // This function is meant to be used by language bindings.268 // This function is meant to be used by language bindings.
269-func (x *PreferencesGroup) UpdateRelationValue(NRelationsVar int, RelationsVar uintptr, ValuesVar uintptr) {269+func (x *PreferencesGroup) UpdateRelationValue(NRelationsVar int, RelationsVar []gtk.AccessibleRelation, ValuesVar []gobject.Value) {
270 270
271 gtk.XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)271 gtk.XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
272 272
@@ -299,7 +299,7 @@ func (x *PreferencesGroup) UpdateState(FirstStateVar gtk.AccessibleState, varArg
299 // state change must be communicated to assistive technologies.299 // state change must be communicated to assistive technologies.
300 //300 //
301 // This function is meant to be used by language bindings.301 // This function is meant to be used by language bindings.
302-func (x *PreferencesGroup) UpdateStateValue(NStatesVar int, StatesVar uintptr, ValuesVar uintptr) {302+func (x *PreferencesGroup) UpdateStateValue(NStatesVar int, StatesVar []gtk.AccessibleState, ValuesVar []gobject.Value) {
303 303
304 gtk.XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)304 gtk.XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
305 305
M v4/adw/adw-preferences-page.go +4 -4
@@ -13,7 +13,7 @@ import (
13 type PreferencesPageClass struct {13 type PreferencesPageClass struct {
14 ParentClass uintptr14 ParentClass uintptr
15 15
16- Padding uintptr16+ Padding [4]uintptr
17 }17 }
18 18
19 func (x *PreferencesPageClass) GoPointer() uintptr {19 func (x *PreferencesPageClass) GoPointer() uintptr {
@@ -231,7 +231,7 @@ func (x *PreferencesPage) UpdateProperty(FirstPropertyVar gtk.AccessibleProperty
231 // property change must be communicated to assistive technologies.231 // property change must be communicated to assistive technologies.
232 //232 //
233 // This function is meant to be used by language bindings.233 // This function is meant to be used by language bindings.
234-func (x *PreferencesPage) UpdatePropertyValue(NPropertiesVar int, PropertiesVar uintptr, ValuesVar uintptr) {234+func (x *PreferencesPage) UpdatePropertyValue(NPropertiesVar int, PropertiesVar []gtk.AccessibleProperty, ValuesVar []gobject.Value) {
235 235
236 gtk.XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)236 gtk.XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
237 237
@@ -267,7 +267,7 @@ func (x *PreferencesPage) UpdateRelation(FirstRelationVar gtk.AccessibleRelation
267 // relation change must be communicated to assistive technologies.267 // relation change must be communicated to assistive technologies.
268 //268 //
269 // This function is meant to be used by language bindings.269 // This function is meant to be used by language bindings.
270-func (x *PreferencesPage) UpdateRelationValue(NRelationsVar int, RelationsVar uintptr, ValuesVar uintptr) {270+func (x *PreferencesPage) UpdateRelationValue(NRelationsVar int, RelationsVar []gtk.AccessibleRelation, ValuesVar []gobject.Value) {
271 271
272 gtk.XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)272 gtk.XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
273 273
@@ -300,7 +300,7 @@ func (x *PreferencesPage) UpdateState(FirstStateVar gtk.AccessibleState, varArgs
300 // state change must be communicated to assistive technologies.300 // state change must be communicated to assistive technologies.
301 //301 //
302 // This function is meant to be used by language bindings.302 // This function is meant to be used by language bindings.
303-func (x *PreferencesPage) UpdateStateValue(NStatesVar int, StatesVar uintptr, ValuesVar uintptr) {303+func (x *PreferencesPage) UpdateStateValue(NStatesVar int, StatesVar []gtk.AccessibleState, ValuesVar []gobject.Value) {
304 304
305 gtk.XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)305 gtk.XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
306 306
M v4/adw/adw-preferences-row.go +4 -4
@@ -14,7 +14,7 @@ import (
14 type PreferencesRowClass struct {14 type PreferencesRowClass struct {
15 ParentClass uintptr15 ParentClass uintptr
16 16
17- Padding uintptr17+ Padding [4]uintptr
18 }18 }
19 19
20 func (x *PreferencesRowClass) GoPointer() uintptr {20 func (x *PreferencesRowClass) GoPointer() uintptr {
@@ -204,7 +204,7 @@ func (x *PreferencesRow) UpdateProperty(FirstPropertyVar gtk.AccessibleProperty,
204 // property change must be communicated to assistive technologies.204 // property change must be communicated to assistive technologies.
205 //205 //
206 // This function is meant to be used by language bindings.206 // This function is meant to be used by language bindings.
207-func (x *PreferencesRow) UpdatePropertyValue(NPropertiesVar int, PropertiesVar uintptr, ValuesVar uintptr) {207+func (x *PreferencesRow) UpdatePropertyValue(NPropertiesVar int, PropertiesVar []gtk.AccessibleProperty, ValuesVar []gobject.Value) {
208 208
209 gtk.XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)209 gtk.XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
210 210
@@ -240,7 +240,7 @@ func (x *PreferencesRow) UpdateRelation(FirstRelationVar gtk.AccessibleRelation,
240 // relation change must be communicated to assistive technologies.240 // relation change must be communicated to assistive technologies.
241 //241 //
242 // This function is meant to be used by language bindings.242 // This function is meant to be used by language bindings.
243-func (x *PreferencesRow) UpdateRelationValue(NRelationsVar int, RelationsVar uintptr, ValuesVar uintptr) {243+func (x *PreferencesRow) UpdateRelationValue(NRelationsVar int, RelationsVar []gtk.AccessibleRelation, ValuesVar []gobject.Value) {
244 244
245 gtk.XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)245 gtk.XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
246 246
@@ -273,7 +273,7 @@ func (x *PreferencesRow) UpdateState(FirstStateVar gtk.AccessibleState, varArgs
273 // state change must be communicated to assistive technologies.273 // state change must be communicated to assistive technologies.
274 //274 //
275 // This function is meant to be used by language bindings.275 // This function is meant to be used by language bindings.
276-func (x *PreferencesRow) UpdateStateValue(NStatesVar int, StatesVar uintptr, ValuesVar uintptr) {276+func (x *PreferencesRow) UpdateStateValue(NStatesVar int, StatesVar []gtk.AccessibleState, ValuesVar []gobject.Value) {
277 277
278 gtk.XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)278 gtk.XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
279 279
M v4/adw/adw-preferences-window.go +4 -4
@@ -15,7 +15,7 @@ import (
15 type PreferencesWindowClass struct {15 type PreferencesWindowClass struct {
16 ParentClass uintptr16 ParentClass uintptr
17 17
18- Padding uintptr18+ Padding [4]uintptr
19 }19 }
20 20
21 func (x *PreferencesWindowClass) GoPointer() uintptr {21 func (x *PreferencesWindowClass) GoPointer() uintptr {
@@ -276,7 +276,7 @@ func (x *PreferencesWindow) UpdateProperty(FirstPropertyVar gtk.AccessibleProper
276 // property change must be communicated to assistive technologies.276 // property change must be communicated to assistive technologies.
277 //277 //
278 // This function is meant to be used by language bindings.278 // This function is meant to be used by language bindings.
279-func (x *PreferencesWindow) UpdatePropertyValue(NPropertiesVar int, PropertiesVar uintptr, ValuesVar uintptr) {279+func (x *PreferencesWindow) UpdatePropertyValue(NPropertiesVar int, PropertiesVar []gtk.AccessibleProperty, ValuesVar []gobject.Value) {
280 280
281 gtk.XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)281 gtk.XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
282 282
@@ -312,7 +312,7 @@ func (x *PreferencesWindow) UpdateRelation(FirstRelationVar gtk.AccessibleRelati
312 // relation change must be communicated to assistive technologies.312 // relation change must be communicated to assistive technologies.
313 //313 //
314 // This function is meant to be used by language bindings.314 // This function is meant to be used by language bindings.
315-func (x *PreferencesWindow) UpdateRelationValue(NRelationsVar int, RelationsVar uintptr, ValuesVar uintptr) {315+func (x *PreferencesWindow) UpdateRelationValue(NRelationsVar int, RelationsVar []gtk.AccessibleRelation, ValuesVar []gobject.Value) {
316 316
317 gtk.XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)317 gtk.XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
318 318
@@ -345,7 +345,7 @@ func (x *PreferencesWindow) UpdateState(FirstStateVar gtk.AccessibleState, varAr
345 // state change must be communicated to assistive technologies.345 // state change must be communicated to assistive technologies.
346 //346 //
347 // This function is meant to be used by language bindings.347 // This function is meant to be used by language bindings.
348-func (x *PreferencesWindow) UpdateStateValue(NStatesVar int, StatesVar uintptr, ValuesVar uintptr) {348+func (x *PreferencesWindow) UpdateStateValue(NStatesVar int, StatesVar []gtk.AccessibleState, ValuesVar []gobject.Value) {
349 349
350 gtk.XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)350 gtk.XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
351 351
M v4/adw/adw-split-button.go +3 -3
@@ -416,7 +416,7 @@ func (x *SplitButton) UpdateProperty(FirstPropertyVar gtk.AccessibleProperty, va
416 // property change must be communicated to assistive technologies.416 // property change must be communicated to assistive technologies.
417 //417 //
418 // This function is meant to be used by language bindings.418 // This function is meant to be used by language bindings.
419-func (x *SplitButton) UpdatePropertyValue(NPropertiesVar int, PropertiesVar uintptr, ValuesVar uintptr) {419+func (x *SplitButton) UpdatePropertyValue(NPropertiesVar int, PropertiesVar []gtk.AccessibleProperty, ValuesVar []gobject.Value) {
420 420
421 gtk.XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)421 gtk.XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
422 422
@@ -452,7 +452,7 @@ func (x *SplitButton) UpdateRelation(FirstRelationVar gtk.AccessibleRelation, va
452 // relation change must be communicated to assistive technologies.452 // relation change must be communicated to assistive technologies.
453 //453 //
454 // This function is meant to be used by language bindings.454 // This function is meant to be used by language bindings.
455-func (x *SplitButton) UpdateRelationValue(NRelationsVar int, RelationsVar uintptr, ValuesVar uintptr) {455+func (x *SplitButton) UpdateRelationValue(NRelationsVar int, RelationsVar []gtk.AccessibleRelation, ValuesVar []gobject.Value) {
456 456
457 gtk.XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)457 gtk.XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
458 458
@@ -485,7 +485,7 @@ func (x *SplitButton) UpdateState(FirstStateVar gtk.AccessibleState, varArgs ...
485 // state change must be communicated to assistive technologies.485 // state change must be communicated to assistive technologies.
486 //486 //
487 // This function is meant to be used by language bindings.487 // This function is meant to be used by language bindings.
488-func (x *SplitButton) UpdateStateValue(NStatesVar int, StatesVar uintptr, ValuesVar uintptr) {488+func (x *SplitButton) UpdateStateValue(NStatesVar int, StatesVar []gtk.AccessibleState, ValuesVar []gobject.Value) {
489 489
490 gtk.XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)490 gtk.XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
491 491
M v4/adw/adw-squeezer.go +3 -3
@@ -426,7 +426,7 @@ func (x *Squeezer) UpdateProperty(FirstPropertyVar gtk.AccessibleProperty, varAr
426 // property change must be communicated to assistive technologies.426 // property change must be communicated to assistive technologies.
427 //427 //
428 // This function is meant to be used by language bindings.428 // This function is meant to be used by language bindings.
429-func (x *Squeezer) UpdatePropertyValue(NPropertiesVar int, PropertiesVar uintptr, ValuesVar uintptr) {429+func (x *Squeezer) UpdatePropertyValue(NPropertiesVar int, PropertiesVar []gtk.AccessibleProperty, ValuesVar []gobject.Value) {
430 430
431 gtk.XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)431 gtk.XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
432 432
@@ -462,7 +462,7 @@ func (x *Squeezer) UpdateRelation(FirstRelationVar gtk.AccessibleRelation, varAr
462 // relation change must be communicated to assistive technologies.462 // relation change must be communicated to assistive technologies.
463 //463 //
464 // This function is meant to be used by language bindings.464 // This function is meant to be used by language bindings.
465-func (x *Squeezer) UpdateRelationValue(NRelationsVar int, RelationsVar uintptr, ValuesVar uintptr) {465+func (x *Squeezer) UpdateRelationValue(NRelationsVar int, RelationsVar []gtk.AccessibleRelation, ValuesVar []gobject.Value) {
466 466
467 gtk.XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)467 gtk.XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
468 468
@@ -495,7 +495,7 @@ func (x *Squeezer) UpdateState(FirstStateVar gtk.AccessibleState, varArgs ...int
495 // state change must be communicated to assistive technologies.495 // state change must be communicated to assistive technologies.
496 //496 //
497 // This function is meant to be used by language bindings.497 // This function is meant to be used by language bindings.
498-func (x *Squeezer) UpdateStateValue(NStatesVar int, StatesVar uintptr, ValuesVar uintptr) {498+func (x *Squeezer) UpdateStateValue(NStatesVar int, StatesVar []gtk.AccessibleState, ValuesVar []gobject.Value) {
499 499
500 gtk.XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)500 gtk.XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
501 501
M v4/adw/adw-status-page.go +3 -3
@@ -245,7 +245,7 @@ func (x *StatusPage) UpdateProperty(FirstPropertyVar gtk.AccessibleProperty, var
245 // property change must be communicated to assistive technologies.245 // property change must be communicated to assistive technologies.
246 //246 //
247 // This function is meant to be used by language bindings.247 // This function is meant to be used by language bindings.
248-func (x *StatusPage) UpdatePropertyValue(NPropertiesVar int, PropertiesVar uintptr, ValuesVar uintptr) {248+func (x *StatusPage) UpdatePropertyValue(NPropertiesVar int, PropertiesVar []gtk.AccessibleProperty, ValuesVar []gobject.Value) {
249 249
250 gtk.XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)250 gtk.XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
251 251
@@ -281,7 +281,7 @@ func (x *StatusPage) UpdateRelation(FirstRelationVar gtk.AccessibleRelation, var
281 // relation change must be communicated to assistive technologies.281 // relation change must be communicated to assistive technologies.
282 //282 //
283 // This function is meant to be used by language bindings.283 // This function is meant to be used by language bindings.
284-func (x *StatusPage) UpdateRelationValue(NRelationsVar int, RelationsVar uintptr, ValuesVar uintptr) {284+func (x *StatusPage) UpdateRelationValue(NRelationsVar int, RelationsVar []gtk.AccessibleRelation, ValuesVar []gobject.Value) {
285 285
286 gtk.XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)286 gtk.XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
287 287
@@ -314,7 +314,7 @@ func (x *StatusPage) UpdateState(FirstStateVar gtk.AccessibleState, varArgs ...i
314 // state change must be communicated to assistive technologies.314 // state change must be communicated to assistive technologies.
315 //315 //
316 // This function is meant to be used by language bindings.316 // This function is meant to be used by language bindings.
317-func (x *StatusPage) UpdateStateValue(NStatesVar int, StatesVar uintptr, ValuesVar uintptr) {317+func (x *StatusPage) UpdateStateValue(NStatesVar int, StatesVar []gtk.AccessibleState, ValuesVar []gobject.Value) {
318 318
319 gtk.XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)319 gtk.XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
320 320
M v4/adw/adw-swipeable.go +4 -4
@@ -13,7 +13,7 @@ import (
13 type SwipeableInterface struct {13 type SwipeableInterface struct {
14 Parent uintptr14 Parent uintptr
15 15
16- Padding uintptr16+ Padding [4]uintptr
17 }17 }
18 18
19 func (x *SwipeableInterface) GoPointer() uintptr {19 func (x *SwipeableInterface) GoPointer() uintptr {
@@ -31,7 +31,7 @@ type Swipeable interface {
31 GetCancelProgress() float6431 GetCancelProgress() float64
32 GetDistance() float6432 GetDistance() float64
33 GetProgress() float6433 GetProgress() float64
34- GetSnapPoints(NSnapPointsVar int) uintptr34+ GetSnapPoints(NSnapPointsVar int) []float64
35 GetSwipeArea(NavigationDirectionVar NavigationDirection, IsDragVar bool, RectVar *gdk.Rectangle)35 GetSwipeArea(NavigationDirectionVar NavigationDirection, IsDragVar bool, RectVar *gdk.Rectangle)
36 }36 }
37 type SwipeableBase struct {37 type SwipeableBase struct {
@@ -73,7 +73,7 @@ func (x *SwipeableBase) GetProgress() float64 {
73 //73 //
74 // Each snap point represents a progress value that is considered acceptable to74 // Each snap point represents a progress value that is considered acceptable to
75 // end the swipe on.75 // end the swipe on.
76-func (x *SwipeableBase) GetSnapPoints(NSnapPointsVar int) uintptr {76+func (x *SwipeableBase) GetSnapPoints(NSnapPointsVar int) []float64 {
77 77
78 cret := XAdwSwipeableGetSnapPoints(x.GoPointer(), NSnapPointsVar)78 cret := XAdwSwipeableGetSnapPoints(x.GoPointer(), NSnapPointsVar)
79 return cret79 return cret
@@ -97,7 +97,7 @@ func (x *SwipeableBase) GetSwipeArea(NavigationDirectionVar NavigationDirection,
97 var XAdwSwipeableGetCancelProgress func(uintptr) float6497 var XAdwSwipeableGetCancelProgress func(uintptr) float64
98 var XAdwSwipeableGetDistance func(uintptr) float6498 var XAdwSwipeableGetDistance func(uintptr) float64
99 var XAdwSwipeableGetProgress func(uintptr) float6499 var XAdwSwipeableGetProgress func(uintptr) float64
100-var XAdwSwipeableGetSnapPoints func(uintptr, int) uintptr100+var XAdwSwipeableGetSnapPoints func(uintptr, int) []float64
101 var XAdwSwipeableGetSwipeArea func(uintptr, NavigationDirection, bool, *gdk.Rectangle)101 var XAdwSwipeableGetSwipeArea func(uintptr, NavigationDirection, bool, *gdk.Rectangle)
102 102
103 func init() {103 func init() {
M v4/adw/adw-tab-bar.go +6 -5
@@ -9,6 +9,7 @@ import (
9 "github.com/jwijenbergh/puregotk/v4/gdk"9 "github.com/jwijenbergh/puregotk/v4/gdk"
10 "github.com/jwijenbergh/puregotk/v4/glib"10 "github.com/jwijenbergh/puregotk/v4/glib"
11 "github.com/jwijenbergh/puregotk/v4/gobject"11 "github.com/jwijenbergh/puregotk/v4/gobject"
12+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
12 "github.com/jwijenbergh/puregotk/v4/gtk"13 "github.com/jwijenbergh/puregotk/v4/gtk"
13 )14 )
14 15
@@ -254,7 +255,7 @@ func (x *TabBar) SetView(ViewVar *TabView) {
254 255
255 }256 }
256 257
257-var xTabBarSetupExtraDropTarget func(uintptr, gdk.DragAction, uintptr, uint)258+var xTabBarSetupExtraDropTarget func(uintptr, gdk.DragAction, []types.GType, uint)
258 259
259 // Sets the supported types for this drop target.260 // Sets the supported types for this drop target.
260 //261 //
@@ -267,7 +268,7 @@ var xTabBarSetupExtraDropTarget func(uintptr, gdk.DragAction, uintptr, uint)
267 // it will be automatically selected.268 // it will be automatically selected.
268 //269 //
269 // The [signal@TabBar::extra-drag-drop] signal can be used to handle the drop.270 // The [signal@TabBar::extra-drag-drop] signal can be used to handle the drop.
270-func (x *TabBar) SetupExtraDropTarget(ActionsVar gdk.DragAction, TypesVar uintptr, NTypesVar uint) {271+func (x *TabBar) SetupExtraDropTarget(ActionsVar gdk.DragAction, TypesVar []types.GType, NTypesVar uint) {
271 272
272 xTabBarSetupExtraDropTarget(x.GoPointer(), ActionsVar, TypesVar, NTypesVar)273 xTabBarSetupExtraDropTarget(x.GoPointer(), ActionsVar, TypesVar, NTypesVar)
273 274
@@ -392,7 +393,7 @@ func (x *TabBar) UpdateProperty(FirstPropertyVar gtk.AccessibleProperty, varArgs
392 // property change must be communicated to assistive technologies.393 // property change must be communicated to assistive technologies.
393 //394 //
394 // This function is meant to be used by language bindings.395 // This function is meant to be used by language bindings.
395-func (x *TabBar) UpdatePropertyValue(NPropertiesVar int, PropertiesVar uintptr, ValuesVar uintptr) {396+func (x *TabBar) UpdatePropertyValue(NPropertiesVar int, PropertiesVar []gtk.AccessibleProperty, ValuesVar []gobject.Value) {
396 397
397 gtk.XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)398 gtk.XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
398 399
@@ -428,7 +429,7 @@ func (x *TabBar) UpdateRelation(FirstRelationVar gtk.AccessibleRelation, varArgs
428 // relation change must be communicated to assistive technologies.429 // relation change must be communicated to assistive technologies.
429 //430 //
430 // This function is meant to be used by language bindings.431 // This function is meant to be used by language bindings.
431-func (x *TabBar) UpdateRelationValue(NRelationsVar int, RelationsVar uintptr, ValuesVar uintptr) {432+func (x *TabBar) UpdateRelationValue(NRelationsVar int, RelationsVar []gtk.AccessibleRelation, ValuesVar []gobject.Value) {
432 433
433 gtk.XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)434 gtk.XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
434 435
@@ -461,7 +462,7 @@ func (x *TabBar) UpdateState(FirstStateVar gtk.AccessibleState, varArgs ...inter
461 // state change must be communicated to assistive technologies.462 // state change must be communicated to assistive technologies.
462 //463 //
463 // This function is meant to be used by language bindings.464 // This function is meant to be used by language bindings.
464-func (x *TabBar) UpdateStateValue(NStatesVar int, StatesVar uintptr, ValuesVar uintptr) {465+func (x *TabBar) UpdateStateValue(NStatesVar int, StatesVar []gtk.AccessibleState, ValuesVar []gobject.Value) {
465 466
466 gtk.XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)467 gtk.XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
467 468
M v4/adw/adw-tab-button.go +3 -3
@@ -213,7 +213,7 @@ func (x *TabButton) UpdateProperty(FirstPropertyVar gtk.AccessibleProperty, varA
213 // property change must be communicated to assistive technologies.213 // property change must be communicated to assistive technologies.
214 //214 //
215 // This function is meant to be used by language bindings.215 // This function is meant to be used by language bindings.
216-func (x *TabButton) UpdatePropertyValue(NPropertiesVar int, PropertiesVar uintptr, ValuesVar uintptr) {216+func (x *TabButton) UpdatePropertyValue(NPropertiesVar int, PropertiesVar []gtk.AccessibleProperty, ValuesVar []gobject.Value) {
217 217
218 gtk.XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)218 gtk.XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
219 219
@@ -249,7 +249,7 @@ func (x *TabButton) UpdateRelation(FirstRelationVar gtk.AccessibleRelation, varA
249 // relation change must be communicated to assistive technologies.249 // relation change must be communicated to assistive technologies.
250 //250 //
251 // This function is meant to be used by language bindings.251 // This function is meant to be used by language bindings.
252-func (x *TabButton) UpdateRelationValue(NRelationsVar int, RelationsVar uintptr, ValuesVar uintptr) {252+func (x *TabButton) UpdateRelationValue(NRelationsVar int, RelationsVar []gtk.AccessibleRelation, ValuesVar []gobject.Value) {
253 253
254 gtk.XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)254 gtk.XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
255 255
@@ -282,7 +282,7 @@ func (x *TabButton) UpdateState(FirstStateVar gtk.AccessibleState, varArgs ...in
282 // state change must be communicated to assistive technologies.282 // state change must be communicated to assistive technologies.
283 //283 //
284 // This function is meant to be used by language bindings.284 // This function is meant to be used by language bindings.
285-func (x *TabButton) UpdateStateValue(NStatesVar int, StatesVar uintptr, ValuesVar uintptr) {285+func (x *TabButton) UpdateStateValue(NStatesVar int, StatesVar []gtk.AccessibleState, ValuesVar []gobject.Value) {
286 286
287 gtk.XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)287 gtk.XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
288 288
M v4/adw/adw-tab-overview.go +6 -5
@@ -10,6 +10,7 @@ import (
10 "github.com/jwijenbergh/puregotk/v4/gio"10 "github.com/jwijenbergh/puregotk/v4/gio"
11 "github.com/jwijenbergh/puregotk/v4/glib"11 "github.com/jwijenbergh/puregotk/v4/glib"
12 "github.com/jwijenbergh/puregotk/v4/gobject"12 "github.com/jwijenbergh/puregotk/v4/gobject"
13+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
13 "github.com/jwijenbergh/puregotk/v4/gtk"14 "github.com/jwijenbergh/puregotk/v4/gtk"
14 )15 )
15 16
@@ -345,7 +346,7 @@ func (x *TabOverview) SetView(ViewVar *TabView) {
345 346
346 }347 }
347 348
348-var xTabOverviewSetupExtraDropTarget func(uintptr, gdk.DragAction, uintptr, uint)349+var xTabOverviewSetupExtraDropTarget func(uintptr, gdk.DragAction, []types.GType, uint)
349 350
350 // Sets the supported types for this drop target.351 // Sets the supported types for this drop target.
351 //352 //
@@ -359,7 +360,7 @@ var xTabOverviewSetupExtraDropTarget func(uintptr, gdk.DragAction, uintptr, uint
359 //360 //
360 // The [signal@TabOverview::extra-drag-drop] signal can be used to handle the361 // The [signal@TabOverview::extra-drag-drop] signal can be used to handle the
361 // drop.362 // drop.
362-func (x *TabOverview) SetupExtraDropTarget(ActionsVar gdk.DragAction, TypesVar uintptr, NTypesVar uint) {363+func (x *TabOverview) SetupExtraDropTarget(ActionsVar gdk.DragAction, TypesVar []types.GType, NTypesVar uint) {
363 364
364 xTabOverviewSetupExtraDropTarget(x.GoPointer(), ActionsVar, TypesVar, NTypesVar)365 xTabOverviewSetupExtraDropTarget(x.GoPointer(), ActionsVar, TypesVar, NTypesVar)
365 366
@@ -511,7 +512,7 @@ func (x *TabOverview) UpdateProperty(FirstPropertyVar gtk.AccessibleProperty, va
511 // property change must be communicated to assistive technologies.512 // property change must be communicated to assistive technologies.
512 //513 //
513 // This function is meant to be used by language bindings.514 // This function is meant to be used by language bindings.
514-func (x *TabOverview) UpdatePropertyValue(NPropertiesVar int, PropertiesVar uintptr, ValuesVar uintptr) {515+func (x *TabOverview) UpdatePropertyValue(NPropertiesVar int, PropertiesVar []gtk.AccessibleProperty, ValuesVar []gobject.Value) {
515 516
516 gtk.XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)517 gtk.XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
517 518
@@ -547,7 +548,7 @@ func (x *TabOverview) UpdateRelation(FirstRelationVar gtk.AccessibleRelation, va
547 // relation change must be communicated to assistive technologies.548 // relation change must be communicated to assistive technologies.
548 //549 //
549 // This function is meant to be used by language bindings.550 // This function is meant to be used by language bindings.
550-func (x *TabOverview) UpdateRelationValue(NRelationsVar int, RelationsVar uintptr, ValuesVar uintptr) {551+func (x *TabOverview) UpdateRelationValue(NRelationsVar int, RelationsVar []gtk.AccessibleRelation, ValuesVar []gobject.Value) {
551 552
552 gtk.XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)553 gtk.XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
553 554
@@ -580,7 +581,7 @@ func (x *TabOverview) UpdateState(FirstStateVar gtk.AccessibleState, varArgs ...
580 // state change must be communicated to assistive technologies.581 // state change must be communicated to assistive technologies.
581 //582 //
582 // This function is meant to be used by language bindings.583 // This function is meant to be used by language bindings.
583-func (x *TabOverview) UpdateStateValue(NStatesVar int, StatesVar uintptr, ValuesVar uintptr) {584+func (x *TabOverview) UpdateStateValue(NStatesVar int, StatesVar []gtk.AccessibleState, ValuesVar []gobject.Value) {
584 585
585 gtk.XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)586 gtk.XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
586 587
M v4/adw/adw-tab-view.go +6 -6
@@ -545,7 +545,7 @@ func (x *TabPage) UpdateProperty(FirstPropertyVar gtk.AccessibleProperty, varArg
545 // property change must be communicated to assistive technologies.545 // property change must be communicated to assistive technologies.
546 //546 //
547 // This function is meant to be used by language bindings.547 // This function is meant to be used by language bindings.
548-func (x *TabPage) UpdatePropertyValue(NPropertiesVar int, PropertiesVar uintptr, ValuesVar uintptr) {548+func (x *TabPage) UpdatePropertyValue(NPropertiesVar int, PropertiesVar []gtk.AccessibleProperty, ValuesVar []gobject.Value) {
549 549
550 gtk.XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)550 gtk.XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
551 551
@@ -581,7 +581,7 @@ func (x *TabPage) UpdateRelation(FirstRelationVar gtk.AccessibleRelation, varArg
581 // relation change must be communicated to assistive technologies.581 // relation change must be communicated to assistive technologies.
582 //582 //
583 // This function is meant to be used by language bindings.583 // This function is meant to be used by language bindings.
584-func (x *TabPage) UpdateRelationValue(NRelationsVar int, RelationsVar uintptr, ValuesVar uintptr) {584+func (x *TabPage) UpdateRelationValue(NRelationsVar int, RelationsVar []gtk.AccessibleRelation, ValuesVar []gobject.Value) {
585 585
586 gtk.XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)586 gtk.XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
587 587
@@ -614,7 +614,7 @@ func (x *TabPage) UpdateState(FirstStateVar gtk.AccessibleState, varArgs ...inte
614 // state change must be communicated to assistive technologies.614 // state change must be communicated to assistive technologies.
615 //615 //
616 // This function is meant to be used by language bindings.616 // This function is meant to be used by language bindings.
617-func (x *TabPage) UpdateStateValue(NStatesVar int, StatesVar uintptr, ValuesVar uintptr) {617+func (x *TabPage) UpdateStateValue(NStatesVar int, StatesVar []gtk.AccessibleState, ValuesVar []gobject.Value) {
618 618
619 gtk.XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)619 gtk.XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
620 620
@@ -1523,7 +1523,7 @@ func (x *TabView) UpdateProperty(FirstPropertyVar gtk.AccessibleProperty, varArg
1523 // property change must be communicated to assistive technologies.1523 // property change must be communicated to assistive technologies.
1524 //1524 //
1525 // This function is meant to be used by language bindings.1525 // This function is meant to be used by language bindings.
1526-func (x *TabView) UpdatePropertyValue(NPropertiesVar int, PropertiesVar uintptr, ValuesVar uintptr) {1526+func (x *TabView) UpdatePropertyValue(NPropertiesVar int, PropertiesVar []gtk.AccessibleProperty, ValuesVar []gobject.Value) {
1527 1527
1528 gtk.XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)1528 gtk.XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
1529 1529
@@ -1559,7 +1559,7 @@ func (x *TabView) UpdateRelation(FirstRelationVar gtk.AccessibleRelation, varArg
1559 // relation change must be communicated to assistive technologies.1559 // relation change must be communicated to assistive technologies.
1560 //1560 //
1561 // This function is meant to be used by language bindings.1561 // This function is meant to be used by language bindings.
1562-func (x *TabView) UpdateRelationValue(NRelationsVar int, RelationsVar uintptr, ValuesVar uintptr) {1562+func (x *TabView) UpdateRelationValue(NRelationsVar int, RelationsVar []gtk.AccessibleRelation, ValuesVar []gobject.Value) {
1563 1563
1564 gtk.XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)1564 gtk.XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
1565 1565
@@ -1592,7 +1592,7 @@ func (x *TabView) UpdateState(FirstStateVar gtk.AccessibleState, varArgs ...inte
1592 // state change must be communicated to assistive technologies.1592 // state change must be communicated to assistive technologies.
1593 //1593 //
1594 // This function is meant to be used by language bindings.1594 // This function is meant to be used by language bindings.
1595-func (x *TabView) UpdateStateValue(NStatesVar int, StatesVar uintptr, ValuesVar uintptr) {1595+func (x *TabView) UpdateStateValue(NStatesVar int, StatesVar []gtk.AccessibleState, ValuesVar []gobject.Value) {
1596 1596
1597 gtk.XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)1597 gtk.XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
1598 1598
M v4/adw/adw-toast-overlay.go +3 -3
@@ -198,7 +198,7 @@ func (x *ToastOverlay) UpdateProperty(FirstPropertyVar gtk.AccessibleProperty, v
198 // property change must be communicated to assistive technologies.198 // property change must be communicated to assistive technologies.
199 //199 //
200 // This function is meant to be used by language bindings.200 // This function is meant to be used by language bindings.
201-func (x *ToastOverlay) UpdatePropertyValue(NPropertiesVar int, PropertiesVar uintptr, ValuesVar uintptr) {201+func (x *ToastOverlay) UpdatePropertyValue(NPropertiesVar int, PropertiesVar []gtk.AccessibleProperty, ValuesVar []gobject.Value) {
202 202
203 gtk.XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)203 gtk.XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
204 204
@@ -234,7 +234,7 @@ func (x *ToastOverlay) UpdateRelation(FirstRelationVar gtk.AccessibleRelation, v
234 // relation change must be communicated to assistive technologies.234 // relation change must be communicated to assistive technologies.
235 //235 //
236 // This function is meant to be used by language bindings.236 // This function is meant to be used by language bindings.
237-func (x *ToastOverlay) UpdateRelationValue(NRelationsVar int, RelationsVar uintptr, ValuesVar uintptr) {237+func (x *ToastOverlay) UpdateRelationValue(NRelationsVar int, RelationsVar []gtk.AccessibleRelation, ValuesVar []gobject.Value) {
238 238
239 gtk.XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)239 gtk.XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
240 240
@@ -267,7 +267,7 @@ func (x *ToastOverlay) UpdateState(FirstStateVar gtk.AccessibleState, varArgs ..
267 // state change must be communicated to assistive technologies.267 // state change must be communicated to assistive technologies.
268 //268 //
269 // This function is meant to be used by language bindings.269 // This function is meant to be used by language bindings.
270-func (x *ToastOverlay) UpdateStateValue(NStatesVar int, StatesVar uintptr, ValuesVar uintptr) {270+func (x *ToastOverlay) UpdateStateValue(NStatesVar int, StatesVar []gtk.AccessibleState, ValuesVar []gobject.Value) {
271 271
272 gtk.XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)272 gtk.XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
273 273
M v4/adw/adw-view-stack.go +6 -6
@@ -408,7 +408,7 @@ func (x *ViewStack) UpdateProperty(FirstPropertyVar gtk.AccessibleProperty, varA
408 // property change must be communicated to assistive technologies.408 // property change must be communicated to assistive technologies.
409 //409 //
410 // This function is meant to be used by language bindings.410 // This function is meant to be used by language bindings.
411-func (x *ViewStack) UpdatePropertyValue(NPropertiesVar int, PropertiesVar uintptr, ValuesVar uintptr) {411+func (x *ViewStack) UpdatePropertyValue(NPropertiesVar int, PropertiesVar []gtk.AccessibleProperty, ValuesVar []gobject.Value) {
412 412
413 gtk.XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)413 gtk.XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
414 414
@@ -444,7 +444,7 @@ func (x *ViewStack) UpdateRelation(FirstRelationVar gtk.AccessibleRelation, varA
444 // relation change must be communicated to assistive technologies.444 // relation change must be communicated to assistive technologies.
445 //445 //
446 // This function is meant to be used by language bindings.446 // This function is meant to be used by language bindings.
447-func (x *ViewStack) UpdateRelationValue(NRelationsVar int, RelationsVar uintptr, ValuesVar uintptr) {447+func (x *ViewStack) UpdateRelationValue(NRelationsVar int, RelationsVar []gtk.AccessibleRelation, ValuesVar []gobject.Value) {
448 448
449 gtk.XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)449 gtk.XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
450 450
@@ -477,7 +477,7 @@ func (x *ViewStack) UpdateState(FirstStateVar gtk.AccessibleState, varArgs ...in
477 // state change must be communicated to assistive technologies.477 // state change must be communicated to assistive technologies.
478 //478 //
479 // This function is meant to be used by language bindings.479 // This function is meant to be used by language bindings.
480-func (x *ViewStack) UpdateStateValue(NStatesVar int, StatesVar uintptr, ValuesVar uintptr) {480+func (x *ViewStack) UpdateStateValue(NStatesVar int, StatesVar []gtk.AccessibleState, ValuesVar []gobject.Value) {
481 481
482 gtk.XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)482 gtk.XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
483 483
@@ -726,7 +726,7 @@ func (x *ViewStackPage) UpdateProperty(FirstPropertyVar gtk.AccessibleProperty,
726 // property change must be communicated to assistive technologies.726 // property change must be communicated to assistive technologies.
727 //727 //
728 // This function is meant to be used by language bindings.728 // This function is meant to be used by language bindings.
729-func (x *ViewStackPage) UpdatePropertyValue(NPropertiesVar int, PropertiesVar uintptr, ValuesVar uintptr) {729+func (x *ViewStackPage) UpdatePropertyValue(NPropertiesVar int, PropertiesVar []gtk.AccessibleProperty, ValuesVar []gobject.Value) {
730 730
731 gtk.XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)731 gtk.XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
732 732
@@ -762,7 +762,7 @@ func (x *ViewStackPage) UpdateRelation(FirstRelationVar gtk.AccessibleRelation,
762 // relation change must be communicated to assistive technologies.762 // relation change must be communicated to assistive technologies.
763 //763 //
764 // This function is meant to be used by language bindings.764 // This function is meant to be used by language bindings.
765-func (x *ViewStackPage) UpdateRelationValue(NRelationsVar int, RelationsVar uintptr, ValuesVar uintptr) {765+func (x *ViewStackPage) UpdateRelationValue(NRelationsVar int, RelationsVar []gtk.AccessibleRelation, ValuesVar []gobject.Value) {
766 766
767 gtk.XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)767 gtk.XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
768 768
@@ -795,7 +795,7 @@ func (x *ViewStackPage) UpdateState(FirstStateVar gtk.AccessibleState, varArgs .
795 // state change must be communicated to assistive technologies.795 // state change must be communicated to assistive technologies.
796 //796 //
797 // This function is meant to be used by language bindings.797 // This function is meant to be used by language bindings.
798-func (x *ViewStackPage) UpdateStateValue(NStatesVar int, StatesVar uintptr, ValuesVar uintptr) {798+func (x *ViewStackPage) UpdateStateValue(NStatesVar int, StatesVar []gtk.AccessibleState, ValuesVar []gobject.Value) {
799 799
800 gtk.XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)800 gtk.XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
801 801
M v4/adw/adw-view-switcher-bar.go +3 -3
@@ -213,7 +213,7 @@ func (x *ViewSwitcherBar) UpdateProperty(FirstPropertyVar gtk.AccessibleProperty
213 // property change must be communicated to assistive technologies.213 // property change must be communicated to assistive technologies.
214 //214 //
215 // This function is meant to be used by language bindings.215 // This function is meant to be used by language bindings.
216-func (x *ViewSwitcherBar) UpdatePropertyValue(NPropertiesVar int, PropertiesVar uintptr, ValuesVar uintptr) {216+func (x *ViewSwitcherBar) UpdatePropertyValue(NPropertiesVar int, PropertiesVar []gtk.AccessibleProperty, ValuesVar []gobject.Value) {
217 217
218 gtk.XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)218 gtk.XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
219 219
@@ -249,7 +249,7 @@ func (x *ViewSwitcherBar) UpdateRelation(FirstRelationVar gtk.AccessibleRelation
249 // relation change must be communicated to assistive technologies.249 // relation change must be communicated to assistive technologies.
250 //250 //
251 // This function is meant to be used by language bindings.251 // This function is meant to be used by language bindings.
252-func (x *ViewSwitcherBar) UpdateRelationValue(NRelationsVar int, RelationsVar uintptr, ValuesVar uintptr) {252+func (x *ViewSwitcherBar) UpdateRelationValue(NRelationsVar int, RelationsVar []gtk.AccessibleRelation, ValuesVar []gobject.Value) {
253 253
254 gtk.XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)254 gtk.XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
255 255
@@ -282,7 +282,7 @@ func (x *ViewSwitcherBar) UpdateState(FirstStateVar gtk.AccessibleState, varArgs
282 // state change must be communicated to assistive technologies.282 // state change must be communicated to assistive technologies.
283 //283 //
284 // This function is meant to be used by language bindings.284 // This function is meant to be used by language bindings.
285-func (x *ViewSwitcherBar) UpdateStateValue(NStatesVar int, StatesVar uintptr, ValuesVar uintptr) {285+func (x *ViewSwitcherBar) UpdateStateValue(NStatesVar int, StatesVar []gtk.AccessibleState, ValuesVar []gobject.Value) {
286 286
287 gtk.XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)287 gtk.XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
288 288
M v4/adw/adw-view-switcher-title.go +3 -3
@@ -279,7 +279,7 @@ func (x *ViewSwitcherTitle) UpdateProperty(FirstPropertyVar gtk.AccessibleProper
279 // property change must be communicated to assistive technologies.279 // property change must be communicated to assistive technologies.
280 //280 //
281 // This function is meant to be used by language bindings.281 // This function is meant to be used by language bindings.
282-func (x *ViewSwitcherTitle) UpdatePropertyValue(NPropertiesVar int, PropertiesVar uintptr, ValuesVar uintptr) {282+func (x *ViewSwitcherTitle) UpdatePropertyValue(NPropertiesVar int, PropertiesVar []gtk.AccessibleProperty, ValuesVar []gobject.Value) {
283 283
284 gtk.XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)284 gtk.XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
285 285
@@ -315,7 +315,7 @@ func (x *ViewSwitcherTitle) UpdateRelation(FirstRelationVar gtk.AccessibleRelati
315 // relation change must be communicated to assistive technologies.315 // relation change must be communicated to assistive technologies.
316 //316 //
317 // This function is meant to be used by language bindings.317 // This function is meant to be used by language bindings.
318-func (x *ViewSwitcherTitle) UpdateRelationValue(NRelationsVar int, RelationsVar uintptr, ValuesVar uintptr) {318+func (x *ViewSwitcherTitle) UpdateRelationValue(NRelationsVar int, RelationsVar []gtk.AccessibleRelation, ValuesVar []gobject.Value) {
319 319
320 gtk.XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)320 gtk.XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
321 321
@@ -348,7 +348,7 @@ func (x *ViewSwitcherTitle) UpdateState(FirstStateVar gtk.AccessibleState, varAr
348 // state change must be communicated to assistive technologies.348 // state change must be communicated to assistive technologies.
349 //349 //
350 // This function is meant to be used by language bindings.350 // This function is meant to be used by language bindings.
351-func (x *ViewSwitcherTitle) UpdateStateValue(NStatesVar int, StatesVar uintptr, ValuesVar uintptr) {351+func (x *ViewSwitcherTitle) UpdateStateValue(NStatesVar int, StatesVar []gtk.AccessibleState, ValuesVar []gobject.Value) {
352 352
353 gtk.XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)353 gtk.XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
354 354
M v4/adw/adw-view-switcher.go +3 -3
@@ -195,7 +195,7 @@ func (x *ViewSwitcher) UpdateProperty(FirstPropertyVar gtk.AccessibleProperty, v
195 // property change must be communicated to assistive technologies.195 // property change must be communicated to assistive technologies.
196 //196 //
197 // This function is meant to be used by language bindings.197 // This function is meant to be used by language bindings.
198-func (x *ViewSwitcher) UpdatePropertyValue(NPropertiesVar int, PropertiesVar uintptr, ValuesVar uintptr) {198+func (x *ViewSwitcher) UpdatePropertyValue(NPropertiesVar int, PropertiesVar []gtk.AccessibleProperty, ValuesVar []gobject.Value) {
199 199
200 gtk.XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)200 gtk.XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
201 201
@@ -231,7 +231,7 @@ func (x *ViewSwitcher) UpdateRelation(FirstRelationVar gtk.AccessibleRelation, v
231 // relation change must be communicated to assistive technologies.231 // relation change must be communicated to assistive technologies.
232 //232 //
233 // This function is meant to be used by language bindings.233 // This function is meant to be used by language bindings.
234-func (x *ViewSwitcher) UpdateRelationValue(NRelationsVar int, RelationsVar uintptr, ValuesVar uintptr) {234+func (x *ViewSwitcher) UpdateRelationValue(NRelationsVar int, RelationsVar []gtk.AccessibleRelation, ValuesVar []gobject.Value) {
235 235
236 gtk.XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)236 gtk.XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
237 237
@@ -264,7 +264,7 @@ func (x *ViewSwitcher) UpdateState(FirstStateVar gtk.AccessibleState, varArgs ..
264 // state change must be communicated to assistive technologies.264 // state change must be communicated to assistive technologies.
265 //265 //
266 // This function is meant to be used by language bindings.266 // This function is meant to be used by language bindings.
267-func (x *ViewSwitcher) UpdateStateValue(NStatesVar int, StatesVar uintptr, ValuesVar uintptr) {267+func (x *ViewSwitcher) UpdateStateValue(NStatesVar int, StatesVar []gtk.AccessibleState, ValuesVar []gobject.Value) {
268 268
269 gtk.XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)269 gtk.XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
270 270
M v4/adw/adw-window-title.go +3 -3
@@ -167,7 +167,7 @@ func (x *WindowTitle) UpdateProperty(FirstPropertyVar gtk.AccessibleProperty, va
167 // property change must be communicated to assistive technologies.167 // property change must be communicated to assistive technologies.
168 //168 //
169 // This function is meant to be used by language bindings.169 // This function is meant to be used by language bindings.
170-func (x *WindowTitle) UpdatePropertyValue(NPropertiesVar int, PropertiesVar uintptr, ValuesVar uintptr) {170+func (x *WindowTitle) UpdatePropertyValue(NPropertiesVar int, PropertiesVar []gtk.AccessibleProperty, ValuesVar []gobject.Value) {
171 171
172 gtk.XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)172 gtk.XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
173 173
@@ -203,7 +203,7 @@ func (x *WindowTitle) UpdateRelation(FirstRelationVar gtk.AccessibleRelation, va
203 // relation change must be communicated to assistive technologies.203 // relation change must be communicated to assistive technologies.
204 //204 //
205 // This function is meant to be used by language bindings.205 // This function is meant to be used by language bindings.
206-func (x *WindowTitle) UpdateRelationValue(NRelationsVar int, RelationsVar uintptr, ValuesVar uintptr) {206+func (x *WindowTitle) UpdateRelationValue(NRelationsVar int, RelationsVar []gtk.AccessibleRelation, ValuesVar []gobject.Value) {
207 207
208 gtk.XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)208 gtk.XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
209 209
@@ -236,7 +236,7 @@ func (x *WindowTitle) UpdateState(FirstStateVar gtk.AccessibleState, varArgs ...
236 // state change must be communicated to assistive technologies.236 // state change must be communicated to assistive technologies.
237 //237 //
238 // This function is meant to be used by language bindings.238 // This function is meant to be used by language bindings.
239-func (x *WindowTitle) UpdateStateValue(NStatesVar int, StatesVar uintptr, ValuesVar uintptr) {239+func (x *WindowTitle) UpdateStateValue(NStatesVar int, StatesVar []gtk.AccessibleState, ValuesVar []gobject.Value) {
240 240
241 gtk.XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)241 gtk.XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
242 242
M v4/adw/adw-window.go +4 -4
@@ -15,7 +15,7 @@ import (
15 type WindowClass struct {15 type WindowClass struct {
16 ParentClass uintptr16 ParentClass uintptr
17 17
18- Padding uintptr18+ Padding [4]uintptr
19 }19 }
20 20
21 func (x *WindowClass) GoPointer() uintptr {21 func (x *WindowClass) GoPointer() uintptr {
@@ -178,7 +178,7 @@ func (x *Window) UpdateProperty(FirstPropertyVar gtk.AccessibleProperty, varArgs
178 // property change must be communicated to assistive technologies.178 // property change must be communicated to assistive technologies.
179 //179 //
180 // This function is meant to be used by language bindings.180 // This function is meant to be used by language bindings.
181-func (x *Window) UpdatePropertyValue(NPropertiesVar int, PropertiesVar uintptr, ValuesVar uintptr) {181+func (x *Window) UpdatePropertyValue(NPropertiesVar int, PropertiesVar []gtk.AccessibleProperty, ValuesVar []gobject.Value) {
182 182
183 gtk.XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)183 gtk.XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
184 184
@@ -214,7 +214,7 @@ func (x *Window) UpdateRelation(FirstRelationVar gtk.AccessibleRelation, varArgs
214 // relation change must be communicated to assistive technologies.214 // relation change must be communicated to assistive technologies.
215 //215 //
216 // This function is meant to be used by language bindings.216 // This function is meant to be used by language bindings.
217-func (x *Window) UpdateRelationValue(NRelationsVar int, RelationsVar uintptr, ValuesVar uintptr) {217+func (x *Window) UpdateRelationValue(NRelationsVar int, RelationsVar []gtk.AccessibleRelation, ValuesVar []gobject.Value) {
218 218
219 gtk.XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)219 gtk.XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
220 220
@@ -247,7 +247,7 @@ func (x *Window) UpdateState(FirstStateVar gtk.AccessibleState, varArgs ...inter
247 // state change must be communicated to assistive technologies.247 // state change must be communicated to assistive technologies.
248 //248 //
249 // This function is meant to be used by language bindings.249 // This function is meant to be used by language bindings.
250-func (x *Window) UpdateStateValue(NStatesVar int, StatesVar uintptr, ValuesVar uintptr) {250+func (x *Window) UpdateStateValue(NStatesVar int, StatesVar []gtk.AccessibleState, ValuesVar []gobject.Value) {
251 251
252 gtk.XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)252 gtk.XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
253 253
M v4/gdk/gdkclipboard.go +7 -6
@@ -9,6 +9,7 @@ import (
9 "github.com/jwijenbergh/puregotk/v4/gio"9 "github.com/jwijenbergh/puregotk/v4/gio"
10 "github.com/jwijenbergh/puregotk/v4/glib"10 "github.com/jwijenbergh/puregotk/v4/glib"
11 "github.com/jwijenbergh/puregotk/v4/gobject"11 "github.com/jwijenbergh/puregotk/v4/gobject"
12+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
12 )13 )
13 14
14 // The `GdkClipboard` object represents data shared between applications or15 // The `GdkClipboard` object represents data shared between applications or
@@ -209,7 +210,7 @@ func (x *Clipboard) ReadTextureFinish(ResultVar gio.AsyncResult) (*Texture, erro
209 210
210 }211 }
211 212
212-var xClipboardReadValueAsync func(uintptr, []interface{}, int, uintptr, uintptr, uintptr)213+var xClipboardReadValueAsync func(uintptr, types.GType, int, uintptr, uintptr, uintptr)
213 214
214 // Asynchronously request the @clipboard contents converted to the given215 // Asynchronously request the @clipboard contents converted to the given
215 // @type.216 // @type.
@@ -220,7 +221,7 @@ var xClipboardReadValueAsync func(uintptr, []interface{}, int, uintptr, uintptr,
220 // For local clipboard contents that are available in the given `GType`,221 // For local clipboard contents that are available in the given `GType`,
221 // the value will be copied directly. Otherwise, GDK will try to use222 // the value will be copied directly. Otherwise, GDK will try to use
222 // [func@content_deserialize_async] to convert the clipboard's data.223 // [func@content_deserialize_async] to convert the clipboard's data.
223-func (x *Clipboard) ReadValueAsync(TypeVar []interface{}, IoPriorityVar int, CancellableVar *gio.Cancellable, CallbackVar *gio.AsyncReadyCallback, UserDataVar uintptr) {224+func (x *Clipboard) ReadValueAsync(TypeVar types.GType, IoPriorityVar int, CancellableVar *gio.Cancellable, CallbackVar *gio.AsyncReadyCallback, UserDataVar uintptr) {
224 225
225 xClipboardReadValueAsync(x.GoPointer(), TypeVar, IoPriorityVar, CancellableVar.GoPointer(), glib.NewCallback(CallbackVar), UserDataVar)226 xClipboardReadValueAsync(x.GoPointer(), TypeVar, IoPriorityVar, CancellableVar.GoPointer(), glib.NewCallback(CallbackVar), UserDataVar)
226 227
@@ -242,7 +243,7 @@ func (x *Clipboard) ReadValueFinish(ResultVar gio.AsyncResult) (*gobject.Value,
242 243
243 }244 }
244 245
245-var xClipboardSet func(uintptr, []interface{}, ...interface{})246+var xClipboardSet func(uintptr, types.GType, ...interface{})
246 247
247 // Sets the clipboard to contain the value collected from the given varargs.248 // Sets the clipboard to contain the value collected from the given varargs.
248 //249 //
@@ -255,7 +256,7 @@ var xClipboardSet func(uintptr, []interface{}, ...interface{})
255 //256 //
256 // gdk_clipboard_set (clipboard, GDK_TYPE_TEXTURE, some_texture);257 // gdk_clipboard_set (clipboard, GDK_TYPE_TEXTURE, some_texture);
257 // ```258 // ```
258-func (x *Clipboard) Set(TypeVar []interface{}, varArgs ...interface{}) {259+func (x *Clipboard) Set(TypeVar types.GType, varArgs ...interface{}) {
259 260
260 xClipboardSet(x.GoPointer(), TypeVar, varArgs...)261 xClipboardSet(x.GoPointer(), TypeVar, varArgs...)
261 262
@@ -299,10 +300,10 @@ func (x *Clipboard) SetTexture(TextureVar *Texture) {
299 300
300 }301 }
301 302
302-var xClipboardSetValist func(uintptr, []interface{}, []interface{})303+var xClipboardSetValist func(uintptr, types.GType, []interface{})
303 304
304 // Sets the clipboard to contain the value collected from the given @args.305 // Sets the clipboard to contain the value collected from the given @args.
305-func (x *Clipboard) SetValist(TypeVar []interface{}, ArgsVar []interface{}) {306+func (x *Clipboard) SetValist(TypeVar types.GType, ArgsVar []interface{}) {
306 307
307 xClipboardSetValist(x.GoPointer(), TypeVar, ArgsVar)308 xClipboardSetValist(x.GoPointer(), TypeVar, ArgsVar)
308 309
M v4/gdk/gdkcontentdeserializer.go +7 -6
@@ -7,6 +7,7 @@ import (
7 "github.com/jwijenbergh/puregotk/v4/gio"7 "github.com/jwijenbergh/puregotk/v4/gio"
8 "github.com/jwijenbergh/puregotk/v4/glib"8 "github.com/jwijenbergh/puregotk/v4/glib"
9 "github.com/jwijenbergh/puregotk/v4/gobject"9 "github.com/jwijenbergh/puregotk/v4/gobject"
10+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
10 )11 )
11 12
12 // The type of a function that can be registered with gdk_content_register_deserializer().13 // The type of a function that can be registered with gdk_content_register_deserializer().
@@ -16,7 +17,7 @@ import (
16 // operation.17 // operation.
17 type ContentDeserializeFunc func(uintptr)18 type ContentDeserializeFunc func(uintptr)
18 19
19-var xContentDeserializeAsync func(uintptr, string, []interface{}, int, uintptr, uintptr, uintptr)20+var xContentDeserializeAsync func(uintptr, string, types.GType, int, uintptr, uintptr, uintptr)
20 21
21 // Read content from the given input stream and deserialize it, asynchronously.22 // Read content from the given input stream and deserialize it, asynchronously.
22 //23 //
@@ -25,7 +26,7 @@ var xContentDeserializeAsync func(uintptr, string, []interface{}, int, uintptr,
25 //26 //
26 // When the operation is finished, @callback will be called. You must then27 // When the operation is finished, @callback will be called. You must then
27 // call [func@Gdk.content_deserialize_finish] to get the result of the operation.28 // call [func@Gdk.content_deserialize_finish] to get the result of the operation.
28-func ContentDeserializeAsync(StreamVar *gio.InputStream, MimeTypeVar string, TypeVar []interface{}, IoPriorityVar int, CancellableVar *gio.Cancellable, CallbackVar *gio.AsyncReadyCallback, UserDataVar uintptr) {29+func ContentDeserializeAsync(StreamVar *gio.InputStream, MimeTypeVar string, TypeVar types.GType, IoPriorityVar int, CancellableVar *gio.Cancellable, CallbackVar *gio.AsyncReadyCallback, UserDataVar uintptr) {
29 30
30 xContentDeserializeAsync(StreamVar.GoPointer(), MimeTypeVar, TypeVar, IoPriorityVar, CancellableVar.GoPointer(), glib.NewCallback(CallbackVar), UserDataVar)31 xContentDeserializeAsync(StreamVar.GoPointer(), MimeTypeVar, TypeVar, IoPriorityVar, CancellableVar.GoPointer(), glib.NewCallback(CallbackVar), UserDataVar)
31 32
@@ -45,10 +46,10 @@ func ContentDeserializeFinish(ResultVar gio.AsyncResult, ValueVar *gobject.Value
45 46
46 }47 }
47 48
48-var xContentRegisterDeserializer func(string, []interface{}, uintptr, uintptr, uintptr)49+var xContentRegisterDeserializer func(string, types.GType, uintptr, uintptr, uintptr)
49 50
50 // Registers a function to deserialize object of a given type.51 // Registers a function to deserialize object of a given type.
51-func ContentRegisterDeserializer(MimeTypeVar string, TypeVar []interface{}, DeserializeVar *ContentDeserializeFunc, DataVar uintptr, NotifyVar *glib.DestroyNotify) {52+func ContentRegisterDeserializer(MimeTypeVar string, TypeVar types.GType, DeserializeVar *ContentDeserializeFunc, DataVar uintptr, NotifyVar *glib.DestroyNotify) {
52 53
53 xContentRegisterDeserializer(MimeTypeVar, TypeVar, glib.NewCallback(DeserializeVar), DataVar, glib.NewCallback(NotifyVar))54 xContentRegisterDeserializer(MimeTypeVar, TypeVar, glib.NewCallback(DeserializeVar), DataVar, glib.NewCallback(NotifyVar))
54 55
@@ -94,10 +95,10 @@ func (x *ContentDeserializer) GetCancellable() *gio.Cancellable {
94 return cls95 return cls
95 }96 }
96 97
97-var xContentDeserializerGetGtype func(uintptr) []interface{}98+var xContentDeserializerGetGtype func(uintptr) types.GType
98 99
99 // Gets the `GType` to create an instance of.100 // Gets the `GType` to create an instance of.
100-func (x *ContentDeserializer) GetGtype() []interface{} {101+func (x *ContentDeserializer) GetGtype() types.GType {
101 102
102 cret := xContentDeserializerGetGtype(x.GoPointer())103 cret := xContentDeserializerGetGtype(x.GoPointer())
103 return cret104 return cret
M v4/gdk/gdkcontentformats.go +3 -2
@@ -7,6 +7,7 @@ import (
7 "github.com/jwijenbergh/purego"7 "github.com/jwijenbergh/purego"
8 "github.com/jwijenbergh/puregotk/internal/core"8 "github.com/jwijenbergh/puregotk/internal/core"
9 "github.com/jwijenbergh/puregotk/v4/glib"9 "github.com/jwijenbergh/puregotk/v4/glib"
10+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
10 )11 )
11 12
12 // A `GdkContentFormatsBuilder` is an auxiliary struct used to create13 // A `GdkContentFormatsBuilder` is an auxiliary struct used to create
@@ -40,10 +41,10 @@ func (x *ContentFormatsBuilder) AddFormats(FormatsVar *ContentFormats) {
40 41
41 }42 }
42 43
43-var xContentFormatsBuilderAddGtype func(uintptr, []interface{})44+var xContentFormatsBuilderAddGtype func(uintptr, types.GType)
44 45
45 // Appends @type to @builder if it has not already been added.46 // Appends @type to @builder if it has not already been added.
46-func (x *ContentFormatsBuilder) AddGtype(TypeVar []interface{}) {47+func (x *ContentFormatsBuilder) AddGtype(TypeVar types.GType) {
47 48
48 xContentFormatsBuilderAddGtype(x.GoPointer(), TypeVar)49 xContentFormatsBuilderAddGtype(x.GoPointer(), TypeVar)
49 50
M v4/gdk/gdkcontentprovider.go +4 -3
@@ -9,13 +9,14 @@ import (
9 "github.com/jwijenbergh/puregotk/v4/gio"9 "github.com/jwijenbergh/puregotk/v4/gio"
10 "github.com/jwijenbergh/puregotk/v4/glib"10 "github.com/jwijenbergh/puregotk/v4/glib"
11 "github.com/jwijenbergh/puregotk/v4/gobject"11 "github.com/jwijenbergh/puregotk/v4/gobject"
12+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
12 )13 )
13 14
14 // Class structure for `GdkContentProvider`.15 // Class structure for `GdkContentProvider`.
15 type ContentProviderClass struct {16 type ContentProviderClass struct {
16 ParentClass uintptr17 ParentClass uintptr
17 18
18- Padding uintptr19+ Padding [8]uintptr
19 }20 }
20 21
21 func (x *ContentProviderClass) GoPointer() uintptr {22 func (x *ContentProviderClass) GoPointer() uintptr {
@@ -74,14 +75,14 @@ func NewContentProviderForValue(ValueVar *gobject.Value) *ContentProvider {
74 return cls75 return cls
75 }76 }
76 77
77-var xNewContentProviderTyped func([]interface{}, ...interface{}) uintptr78+var xNewContentProviderTyped func(types.GType, ...interface{}) uintptr
78 79
79 // Create a content provider that provides the value of the given80 // Create a content provider that provides the value of the given
80 // @type.81 // @type.
81 //82 //
82 // The value is provided using G_VALUE_COLLECT(), so the same rules83 // The value is provided using G_VALUE_COLLECT(), so the same rules
83 // apply as when calling g_object_new() or g_object_set().84 // apply as when calling g_object_new() or g_object_set().
84-func NewContentProviderTyped(TypeVar []interface{}, varArgs ...interface{}) *ContentProvider {85+func NewContentProviderTyped(TypeVar types.GType, varArgs ...interface{}) *ContentProvider {
85 var cls *ContentProvider86 var cls *ContentProvider
86 87
87 cret := xNewContentProviderTyped(TypeVar, varArgs...)88 cret := xNewContentProviderTyped(TypeVar, varArgs...)
M v4/gdk/gdkcontentserializer.go +5 -4
@@ -7,6 +7,7 @@ import (
7 "github.com/jwijenbergh/puregotk/v4/gio"7 "github.com/jwijenbergh/puregotk/v4/gio"
8 "github.com/jwijenbergh/puregotk/v4/glib"8 "github.com/jwijenbergh/puregotk/v4/glib"
9 "github.com/jwijenbergh/puregotk/v4/gobject"9 "github.com/jwijenbergh/puregotk/v4/gobject"
10+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
10 )11 )
11 12
12 // The type of a function that can be registered with gdk_content_register_serializer().13 // The type of a function that can be registered with gdk_content_register_serializer().
@@ -16,10 +17,10 @@ import (
16 // operation.17 // operation.
17 type ContentSerializeFunc func(uintptr)18 type ContentSerializeFunc func(uintptr)
18 19
19-var xContentRegisterSerializer func([]interface{}, string, uintptr, uintptr, uintptr)20+var xContentRegisterSerializer func(types.GType, string, uintptr, uintptr, uintptr)
20 21
21 // Registers a function to serialize objects of a given type.22 // Registers a function to serialize objects of a given type.
22-func ContentRegisterSerializer(TypeVar []interface{}, MimeTypeVar string, SerializeVar *ContentSerializeFunc, DataVar uintptr, NotifyVar *glib.DestroyNotify) {23+func ContentRegisterSerializer(TypeVar types.GType, MimeTypeVar string, SerializeVar *ContentSerializeFunc, DataVar uintptr, NotifyVar *glib.DestroyNotify) {
23 24
24 xContentRegisterSerializer(TypeVar, MimeTypeVar, glib.NewCallback(SerializeVar), DataVar, glib.NewCallback(NotifyVar))25 xContentRegisterSerializer(TypeVar, MimeTypeVar, glib.NewCallback(SerializeVar), DataVar, glib.NewCallback(NotifyVar))
25 26
@@ -95,10 +96,10 @@ func (x *ContentSerializer) GetCancellable() *gio.Cancellable {
95 return cls96 return cls
96 }97 }
97 98
98-var xContentSerializerGetGtype func(uintptr) []interface{}99+var xContentSerializerGetGtype func(uintptr) types.GType
99 100
100 // Gets the `GType` to of the object to serialize.101 // Gets the `GType` to of the object to serialize.
101-func (x *ContentSerializer) GetGtype() []interface{} {102+func (x *ContentSerializer) GetGtype() types.GType {
102 103
103 cret := xContentSerializerGetGtype(x.GoPointer())104 cret := xContentSerializerGetGtype(x.GoPointer())
104 return cret105 return cret
M v4/gdk/gdkdevice.go +1 -1
@@ -22,7 +22,7 @@ type TimeCoord struct {
22 22
23 Flags AxisFlags23 Flags AxisFlags
24 24
25- Axes uintptr25+ Axes [12]float64
26 }26 }
27 27
28 func (x *TimeCoord) GoPointer() uintptr {28 func (x *TimeCoord) GoPointer() uintptr {
M v4/gdk/gdkdisplay.go +2 -2
@@ -313,7 +313,7 @@ func (x *Display) ListSeats() *glib.List {
313 return cret313 return cret
314 }314 }
315 315
316-var xDisplayMapKeycode func(uintptr, uint, uintptr, uintptr, int) bool316+var xDisplayMapKeycode func(uintptr, uint, uintptr, []uint, int) bool
317 317
318 // Returns the keyvals bound to @keycode.318 // Returns the keyvals bound to @keycode.
319 //319 //
@@ -324,7 +324,7 @@ var xDisplayMapKeycode func(uintptr, uint, uintptr, uintptr, int) bool
324 // keyboard group and level.324 // keyboard group and level.
325 //325 //
326 // Free the returned arrays with g_free().326 // Free the returned arrays with g_free().
327-func (x *Display) MapKeycode(KeycodeVar uint, KeysVar uintptr, KeyvalsVar uintptr, NEntriesVar int) bool {327+func (x *Display) MapKeycode(KeycodeVar uint, KeysVar uintptr, KeyvalsVar []uint, NEntriesVar int) bool {
328 328
329 cret := xDisplayMapKeycode(x.GoPointer(), KeycodeVar, KeysVar, KeyvalsVar, NEntriesVar)329 cret := xDisplayMapKeycode(x.GoPointer(), KeycodeVar, KeysVar, KeyvalsVar, NEntriesVar)
330 return cret330 return cret
M v4/gdk/gdkdrop.go +3 -2
@@ -7,6 +7,7 @@ import (
7 "github.com/jwijenbergh/puregotk/v4/gio"7 "github.com/jwijenbergh/puregotk/v4/gio"
8 "github.com/jwijenbergh/puregotk/v4/glib"8 "github.com/jwijenbergh/puregotk/v4/glib"
9 "github.com/jwijenbergh/puregotk/v4/gobject"9 "github.com/jwijenbergh/puregotk/v4/gobject"
10+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
10 )11 )
11 12
12 // The `GdkDrop` object represents the target of an ongoing DND operation.13 // The `GdkDrop` object represents the target of an ongoing DND operation.
@@ -186,7 +187,7 @@ func (x *Drop) ReadFinish(ResultVar gio.AsyncResult, OutMimeTypeVar string) (*gi
186 187
187 }188 }
188 189
189-var xDropReadValueAsync func(uintptr, []interface{}, int, uintptr, uintptr, uintptr)190+var xDropReadValueAsync func(uintptr, types.GType, int, uintptr, uintptr, uintptr)
190 191
191 // Asynchronously request the drag operation's contents converted192 // Asynchronously request the drag operation's contents converted
192 // to the given @type.193 // to the given @type.
@@ -198,7 +199,7 @@ var xDropReadValueAsync func(uintptr, []interface{}, int, uintptr, uintptr, uint
198 // For local drag-and-drop operations that are available in the given199 // For local drag-and-drop operations that are available in the given
199 // `GType`, the value will be copied directly. Otherwise, GDK will200 // `GType`, the value will be copied directly. Otherwise, GDK will
200 // try to use [func@Gdk.content_deserialize_async] to convert the data.201 // try to use [func@Gdk.content_deserialize_async] to convert the data.
201-func (x *Drop) ReadValueAsync(TypeVar []interface{}, IoPriorityVar int, CancellableVar *gio.Cancellable, CallbackVar *gio.AsyncReadyCallback, UserDataVar uintptr) {202+func (x *Drop) ReadValueAsync(TypeVar types.GType, IoPriorityVar int, CancellableVar *gio.Cancellable, CallbackVar *gio.AsyncReadyCallback, UserDataVar uintptr) {
202 203
203 xDropReadValueAsync(x.GoPointer(), TypeVar, IoPriorityVar, CancellableVar.GoPointer(), glib.NewCallback(CallbackVar), UserDataVar)204 xDropReadValueAsync(x.GoPointer(), TypeVar, IoPriorityVar, CancellableVar.GoPointer(), glib.NewCallback(CallbackVar), UserDataVar)
204 205
M v4/gdk/gdkevents.go +4 -4
@@ -492,13 +492,13 @@ func (x *Event) GetDistance(Event2Var *Event, DistanceVar float64) bool {
492 return cret492 return cret
493 }493 }
494 494
495-var xEventGetAxes func(uintptr, uintptr, uint) bool495+var xEventGetAxes func(uintptr, []float64, uint) bool
496 496
497 // Extracts all axis values from an event.497 // Extracts all axis values from an event.
498 //498 //
499 // To find out which axes are used, use [method@Gdk.DeviceTool.get_axes]499 // To find out which axes are used, use [method@Gdk.DeviceTool.get_axes]
500 // on the device tool returned by [method@Gdk.Event.get_device_tool].500 // on the device tool returned by [method@Gdk.Event.get_device_tool].
501-func (x *Event) GetAxes(AxesVar uintptr, NAxesVar uint) bool {501+func (x *Event) GetAxes(AxesVar []float64, NAxesVar uint) bool {
502 502
503 cret := xEventGetAxes(x.GoPointer(), AxesVar, NAxesVar)503 cret := xEventGetAxes(x.GoPointer(), AxesVar, NAxesVar)
504 return cret504 return cret
@@ -598,7 +598,7 @@ func (x *Event) GetEventType() EventType {
598 return cret598 return cret
599 }599 }
600 600
601-var xEventGetHistory func(uintptr, uint) uintptr601+var xEventGetHistory func(uintptr, uint) []TimeCoord
602 602
603 // Retrieves the history of the device that @event is for, as a list of603 // Retrieves the history of the device that @event is for, as a list of
604 // time and coordinates.604 // time and coordinates.
@@ -609,7 +609,7 @@ var xEventGetHistory func(uintptr, uint) uintptr
609 // Note that only motion and scroll events record history, and motion609 // Note that only motion and scroll events record history, and motion
610 // events do it only if one of the mouse buttons is down, or the device610 // events do it only if one of the mouse buttons is down, or the device
611 // has a tool.611 // has a tool.
612-func (x *Event) GetHistory(OutNCoordsVar uint) uintptr {612+func (x *Event) GetHistory(OutNCoordsVar uint) []TimeCoord {
613 613
614 cret := xEventGetHistory(x.GoPointer(), OutNCoordsVar)614 cret := xEventGetHistory(x.GoPointer(), OutNCoordsVar)
615 return cret615 return cret
M v4/gdk/gdkpango.go +2 -2
@@ -26,7 +26,7 @@ func PangoLayoutGetClipRegion(LayoutVar *pango.Layout, XOriginVar int, YOriginVa
26 return cret26 return cret
27 }27 }
28 28
29-var xPangoLayoutLineGetClipRegion func(*pango.LayoutLine, int, int, uintptr, int) *cairo.Region29+var xPangoLayoutLineGetClipRegion func(*pango.LayoutLine, int, int, []int, int) *cairo.Region
30 30
31 // Obtains a clip region which contains the areas where the given31 // Obtains a clip region which contains the areas where the given
32 // ranges of text would be drawn.32 // ranges of text would be drawn.
@@ -43,7 +43,7 @@ var xPangoLayoutLineGetClipRegion func(*pango.LayoutLine, int, int, uintptr, int
43 // ranges, not ink extents. So the drawn line may in fact touch areas out of43 // ranges, not ink extents. So the drawn line may in fact touch areas out of
44 // the clip region. The clip region is mainly useful for highlightling parts44 // the clip region. The clip region is mainly useful for highlightling parts
45 // of text, such as when text is selected.45 // of text, such as when text is selected.
46-func PangoLayoutLineGetClipRegion(LineVar *pango.LayoutLine, XOriginVar int, YOriginVar int, IndexRangesVar uintptr, NRangesVar int) *cairo.Region {46+func PangoLayoutLineGetClipRegion(LineVar *pango.LayoutLine, XOriginVar int, YOriginVar int, IndexRangesVar []int, NRangesVar int) *cairo.Region {
47 47
48 cret := xPangoLayoutLineGetClipRegion(LineVar, XOriginVar, YOriginVar, IndexRangesVar, NRangesVar)48 cret := xPangoLayoutLineGetClipRegion(LineVar, XOriginVar, YOriginVar, IndexRangesVar, NRangesVar)
49 return cret49 return cret
M v4/gdk/gdktexture.go +2 -2
@@ -197,7 +197,7 @@ func NewTextureFromResource(ResourcePathVar string) *Texture {
197 return cls197 return cls
198 }198 }
199 199
200-var xTextureDownload func(uintptr, uintptr, uint)200+var xTextureDownload func(uintptr, []byte, uint)
201 201
202 // Downloads the @texture into local memory.202 // Downloads the @texture into local memory.
203 //203 //
@@ -222,7 +222,7 @@ var xTextureDownload func(uintptr, uintptr, uint)
222 //222 //
223 // cairo_surface_mark_dirty (surface);223 // cairo_surface_mark_dirty (surface);
224 // ```224 // ```
225-func (x *Texture) Download(DataVar uintptr, StrideVar uint) {225+func (x *Texture) Download(DataVar []byte, StrideVar uint) {
226 226
227 xTextureDownload(x.GoPointer(), DataVar, StrideVar)227 xTextureDownload(x.GoPointer(), DataVar, StrideVar)
228 228
M v4/gdk/gdktoplevelsize.go +3 -2
@@ -6,6 +6,7 @@ import (
6 6
7 "github.com/jwijenbergh/purego"7 "github.com/jwijenbergh/purego"
8 "github.com/jwijenbergh/puregotk/internal/core"8 "github.com/jwijenbergh/puregotk/internal/core"
9+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
9 )10 )
10 11
11 // The `GdkToplevelSize` struct contains information that is useful12 // The `GdkToplevelSize` struct contains information that is useful
@@ -76,9 +77,9 @@ func (x *ToplevelSize) SetSize(WidthVar int, HeightVar int) {
76 77
77 }78 }
78 79
79-var xToplevelSizeGetType func() []interface{}80+var xToplevelSizeGetType func() types.GType
80 81
81-func ToplevelSizeGetType() []interface{} {82+func ToplevelSizeGetType() types.GType {
82 83
83 cret := xToplevelSizeGetType()84 cret := xToplevelSizeGetType()
84 return cret85 return cret
M v4/gdk/gdktypes.go +11 -10
@@ -7,6 +7,7 @@ import (
7 "github.com/jwijenbergh/purego"7 "github.com/jwijenbergh/purego"
8 "github.com/jwijenbergh/puregotk/internal/core"8 "github.com/jwijenbergh/puregotk/internal/core"
9 "github.com/jwijenbergh/puregotk/v4/glib"9 "github.com/jwijenbergh/puregotk/v4/glib"
10+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
10 )11 )
11 12
12 // The `GdkContentFormats` structure is used to advertise and negotiate the13 // The `GdkContentFormats` structure is used to advertise and negotiate the
@@ -61,19 +62,19 @@ func NewContentFormats(MimeTypesVar []string, NMimeTypesVar uint) *ContentFormat
61 return cret62 return cret
62 }63 }
63 64
64-var xNewContentFormatsForGtype func([]interface{}) *ContentFormats65+var xNewContentFormatsForGtype func(types.GType) *ContentFormats
65 66
66 // Creates a new `GdkContentFormats` for a given `GType`.67 // Creates a new `GdkContentFormats` for a given `GType`.
67-func NewContentFormatsForGtype(TypeVar []interface{}) *ContentFormats {68+func NewContentFormatsForGtype(TypeVar types.GType) *ContentFormats {
68 69
69 cret := xNewContentFormatsForGtype(TypeVar)70 cret := xNewContentFormatsForGtype(TypeVar)
70 return cret71 return cret
71 }72 }
72 73
73-var xContentFormatsContainGtype func(uintptr, []interface{}) bool74+var xContentFormatsContainGtype func(uintptr, types.GType) bool
74 75
75 // Checks if a given `GType` is part of the given @formats.76 // Checks if a given `GType` is part of the given @formats.
76-func (x *ContentFormats) ContainGtype(TypeVar []interface{}) bool {77+func (x *ContentFormats) ContainGtype(TypeVar types.GType) bool {
77 78
78 cret := xContentFormatsContainGtype(x.GoPointer(), TypeVar)79 cret := xContentFormatsContainGtype(x.GoPointer(), TypeVar)
79 return cret80 return cret
@@ -88,25 +89,25 @@ func (x *ContentFormats) ContainMimeType(MimeTypeVar string) bool {
88 return cret89 return cret
89 }90 }
90 91
91-var xContentFormatsGetGtypes func(uintptr, uint) uintptr92+var xContentFormatsGetGtypes func(uintptr, uint) []types.GType
92 93
93 // Gets the `GType`s included in @formats.94 // Gets the `GType`s included in @formats.
94 //95 //
95 // Note that @formats may not contain any `GType`s, in particular when96 // Note that @formats may not contain any `GType`s, in particular when
96 // they are empty. In that case %NULL will be returned.97 // they are empty. In that case %NULL will be returned.
97-func (x *ContentFormats) GetGtypes(NGtypesVar uint) uintptr {98+func (x *ContentFormats) GetGtypes(NGtypesVar uint) []types.GType {
98 99
99 cret := xContentFormatsGetGtypes(x.GoPointer(), NGtypesVar)100 cret := xContentFormatsGetGtypes(x.GoPointer(), NGtypesVar)
100 return cret101 return cret
101 }102 }
102 103
103-var xContentFormatsGetMimeTypes func(uintptr, uint) uintptr104+var xContentFormatsGetMimeTypes func(uintptr, uint) []string
104 105
105 // Gets the mime types included in @formats.106 // Gets the mime types included in @formats.
106 //107 //
107 // Note that @formats may not contain any mime types, in particular108 // Note that @formats may not contain any mime types, in particular
108 // when they are empty. In that case %NULL will be returned.109 // when they are empty. In that case %NULL will be returned.
109-func (x *ContentFormats) GetMimeTypes(NMimeTypesVar uint) uintptr {110+func (x *ContentFormats) GetMimeTypes(NMimeTypesVar uint) []string {
110 111
111 cret := xContentFormatsGetMimeTypes(x.GoPointer(), NMimeTypesVar)112 cret := xContentFormatsGetMimeTypes(x.GoPointer(), NMimeTypesVar)
112 return cret113 return cret
@@ -121,13 +122,13 @@ func (x *ContentFormats) Match(SecondVar *ContentFormats) bool {
121 return cret122 return cret
122 }123 }
123 124
124-var xContentFormatsMatchGtype func(uintptr, *ContentFormats) []interface{}125+var xContentFormatsMatchGtype func(uintptr, *ContentFormats) types.GType
125 126
126 // Finds the first `GType` from @first that is also contained127 // Finds the first `GType` from @first that is also contained
127 // in @second.128 // in @second.
128 //129 //
129 // If no matching `GType` is found, %G_TYPE_INVALID is returned.130 // If no matching `GType` is found, %G_TYPE_INVALID is returned.
130-func (x *ContentFormats) MatchGtype(SecondVar *ContentFormats) []interface{} {131+func (x *ContentFormats) MatchGtype(SecondVar *ContentFormats) types.GType {
131 132
132 cret := xContentFormatsMatchGtype(x.GoPointer(), SecondVar)133 cret := xContentFormatsMatchGtype(x.GoPointer(), SecondVar)
133 return cret134 return cret
M v4/gdkpixbuf/gdk-pixbuf-core.go +2 -2
@@ -10,7 +10,7 @@ import "github.com/jwijenbergh/puregotk/v4/glib"
10 // pixel array so that a pixbuf can be created from it; in this case you10 // pixel array so that a pixbuf can be created from it; in this case you
11 // will need to pass in a function of type `GdkPixbufDestroyNotify` so that11 // will need to pass in a function of type `GdkPixbufDestroyNotify` so that
12 // the pixel data can be freed when the pixbuf is finalized.12 // the pixel data can be freed when the pixbuf is finalized.
13-type PixbufDestroyNotify func(uintptr, uintptr)13+type PixbufDestroyNotify func([]byte, uintptr)
14 14
15 // Save functions used by [method@GdkPixbuf.Pixbuf.save_to_callback].15 // Save functions used by [method@GdkPixbuf.Pixbuf.save_to_callback].
16 //16 //
@@ -20,7 +20,7 @@ type PixbufDestroyNotify func(uintptr, uintptr)
20 // If successful it should return `TRUE`; if an error occurs it should set20 // If successful it should return `TRUE`; if an error occurs it should set
21 // `error` and return `FALSE`, in which case `gdk_pixbuf_save_to_callback()`21 // `error` and return `FALSE`, in which case `gdk_pixbuf_save_to_callback()`
22 // will fail with the same error.22 // will fail with the same error.
23-type PixbufSaveFunc func(uintptr, uint, **glib.Error, uintptr) bool23+type PixbufSaveFunc func([]byte, uint, **glib.Error, uintptr) bool
24 24
25 // This enumeration defines the color spaces that are supported by25 // This enumeration defines the color spaces that are supported by
26 // the gdk-pixbuf library.26 // the gdk-pixbuf library.
M v4/gdkpixbuf/gdk-pixbuf-io.go +9 -9
@@ -30,7 +30,7 @@ type PixbufModuleFillInfoFunc func(*PixbufFormat)
30 type PixbufModuleFillVtableFunc func(*PixbufModule)30 type PixbufModuleFillVtableFunc func(*PixbufModule)
31 31
32 // Incrementally loads a buffer into the image data.32 // Incrementally loads a buffer into the image data.
33-type PixbufModuleIncrementLoadFunc func(uintptr, uintptr, uint, **glib.Error) bool33+type PixbufModuleIncrementLoadFunc func(uintptr, []byte, uint, **glib.Error) bool
34 34
35 // Loads a file from a standard C file stream into a new `GdkPixbufAnimation`.35 // Loads a file from a standard C file stream into a new `GdkPixbufAnimation`.
36 //36 //
@@ -58,14 +58,14 @@ type PixbufModulePreparedFunc func(uintptr, uintptr, uintptr)
58 // The optional `option_keys` and `option_values` arrays contain the keys and58 // The optional `option_keys` and `option_values` arrays contain the keys and
59 // values (in the same order) for attributes to be saved alongside the image59 // values (in the same order) for attributes to be saved alongside the image
60 // data.60 // data.
61-type PixbufModuleSaveCallbackFunc func(uintptr, uintptr, uintptr, uintptr, uintptr, **glib.Error) bool61+type PixbufModuleSaveCallbackFunc func(uintptr, uintptr, uintptr, []string, []string, **glib.Error) bool
62 62
63 // Saves a `GdkPixbuf` into a standard C file stream.63 // Saves a `GdkPixbuf` into a standard C file stream.
64 //64 //
65 // The optional `param_keys` and `param_values` arrays contain the keys and65 // The optional `param_keys` and `param_values` arrays contain the keys and
66 // values (in the same order) for attributes to be saved alongside the image66 // values (in the same order) for attributes to be saved alongside the image
67 // data.67 // data.
68-type PixbufModuleSaveFunc func(uintptr, uintptr, uintptr, uintptr, **glib.Error) bool68+type PixbufModuleSaveFunc func(uintptr, uintptr, []string, []string, **glib.Error) bool
69 69
70 // Checks whether the given `option_key` is supported when saving.70 // Checks whether the given `option_key` is supported when saving.
71 type PixbufModuleSaveOptionSupportedFunc func(string) bool71 type PixbufModuleSaveOptionSupportedFunc func(string) bool
@@ -112,9 +112,9 @@ type PixbufFormat struct {
112 112
113 Description uintptr113 Description uintptr
114 114
115- MimeTypes uintptr115+ MimeTypes []string
116 116
117- Extensions uintptr117+ Extensions []string
118 118
119 Flags uint32119 Flags uint32
120 120
@@ -155,11 +155,11 @@ func (x *PixbufFormat) GetDescription() string {
155 return cret155 return cret
156 }156 }
157 157
158-var xPixbufFormatGetExtensions func(uintptr) uintptr158+var xPixbufFormatGetExtensions func(uintptr) []string
159 159
160 // Returns the filename extensions typically used for files in the160 // Returns the filename extensions typically used for files in the
161 // given format.161 // given format.
162-func (x *PixbufFormat) GetExtensions() uintptr {162+func (x *PixbufFormat) GetExtensions() []string {
163 163
164 cret := xPixbufFormatGetExtensions(x.GoPointer())164 cret := xPixbufFormatGetExtensions(x.GoPointer())
165 return cret165 return cret
@@ -177,10 +177,10 @@ func (x *PixbufFormat) GetLicense() string {
177 return cret177 return cret
178 }178 }
179 179
180-var xPixbufFormatGetMimeTypes func(uintptr) uintptr180+var xPixbufFormatGetMimeTypes func(uintptr) []string
181 181
182 // Returns the mime types supported by the format.182 // Returns the mime types supported by the format.
183-func (x *PixbufFormat) GetMimeTypes() uintptr {183+func (x *PixbufFormat) GetMimeTypes() []string {
184 184
185 cret := xPixbufFormatGetMimeTypes(x.GoPointer())185 cret := xPixbufFormatGetMimeTypes(x.GoPointer())
186 return cret186 return cret
M v4/gdkpixbuf/gdk-pixbuf-loader.go +2 -2
@@ -267,10 +267,10 @@ func (x *PixbufLoader) SetSize(WidthVar int, HeightVar int) {
267 267
268 }268 }
269 269
270-var xPixbufLoaderWrite func(uintptr, uintptr, uint, **glib.Error) bool270+var xPixbufLoaderWrite func(uintptr, []byte, uint, **glib.Error) bool
271 271
272 // Parses the next `count` bytes in the given image buffer.272 // Parses the next `count` bytes in the given image buffer.
273-func (x *PixbufLoader) Write(BufVar uintptr, CountVar uint) (bool, error) {273+func (x *PixbufLoader) Write(BufVar []byte, CountVar uint) (bool, error) {
274 var cerr *glib.Error274 var cerr *glib.Error
275 275
276 cret := xPixbufLoaderWrite(x.GoPointer(), BufVar, CountVar, &cerr)276 cret := xPixbufLoaderWrite(x.GoPointer(), BufVar, CountVar, &cerr)
M v4/gdkpixbuf/gdk-pixbuf.go +14 -14
@@ -199,7 +199,7 @@ func NewPixbufFromBytes(DataVar *glib.Bytes, ColorspaceVar Colorspace, HasAlphaV
199 return cls199 return cls
200 }200 }
201 201
202-var xNewPixbufFromData func(uintptr, Colorspace, bool, int, int, int, int, uintptr, uintptr) uintptr202+var xNewPixbufFromData func([]byte, Colorspace, bool, int, int, int, int, uintptr, uintptr) uintptr
203 203
204 // Creates a new #GdkPixbuf out of in-memory image data.204 // Creates a new #GdkPixbuf out of in-memory image data.
205 //205 //
@@ -212,7 +212,7 @@ var xNewPixbufFromData func(uintptr, Colorspace, bool, int, int, int, int, uintp
212 // it is its responsibility to free the pixel array.212 // it is its responsibility to free the pixel array.
213 //213 //
214 // See also: [ctor@GdkPixbuf.Pixbuf.new_from_bytes]214 // See also: [ctor@GdkPixbuf.Pixbuf.new_from_bytes]
215-func NewPixbufFromData(DataVar uintptr, ColorspaceVar Colorspace, HasAlphaVar bool, BitsPerSampleVar int, WidthVar int, HeightVar int, RowstrideVar int, DestroyFnVar *PixbufDestroyNotify, DestroyFnDataVar uintptr) *Pixbuf {215+func NewPixbufFromData(DataVar []byte, ColorspaceVar Colorspace, HasAlphaVar bool, BitsPerSampleVar int, WidthVar int, HeightVar int, RowstrideVar int, DestroyFnVar *PixbufDestroyNotify, DestroyFnDataVar uintptr) *Pixbuf {
216 var cls *Pixbuf216 var cls *Pixbuf
217 217
218 cret := xNewPixbufFromData(DataVar, ColorspaceVar, HasAlphaVar, BitsPerSampleVar, WidthVar, HeightVar, RowstrideVar, glib.NewCallback(DestroyFnVar), DestroyFnDataVar)218 cret := xNewPixbufFromData(DataVar, ColorspaceVar, HasAlphaVar, BitsPerSampleVar, WidthVar, HeightVar, RowstrideVar, glib.NewCallback(DestroyFnVar), DestroyFnDataVar)
@@ -337,7 +337,7 @@ func NewPixbufFromFileAtSize(FilenameVar string, WidthVar int, HeightVar int) (*
337 337
338 }338 }
339 339
340-var xNewPixbufFromInline func(int, uintptr, bool, **glib.Error) uintptr340+var xNewPixbufFromInline func(int, []byte, bool, **glib.Error) uintptr
341 341
342 // Creates a `GdkPixbuf` from a flat representation that is suitable for342 // Creates a `GdkPixbuf` from a flat representation that is suitable for
343 // storing as inline data in a program.343 // storing as inline data in a program.
@@ -372,7 +372,7 @@ var xNewPixbufFromInline func(int, uintptr, bool, **glib.Error) uintptr
372 // For non-const inline data, you could get out of memory. For untrusted372 // For non-const inline data, you could get out of memory. For untrusted
373 // inline data located at runtime, you could have corrupt inline data in373 // inline data located at runtime, you could have corrupt inline data in
374 // addition.374 // addition.
375-func NewPixbufFromInline(DataLengthVar int, DataVar uintptr, CopyPixelsVar bool) (*Pixbuf, error) {375+func NewPixbufFromInline(DataLengthVar int, DataVar []byte, CopyPixelsVar bool) (*Pixbuf, error) {
376 var cls *Pixbuf376 var cls *Pixbuf
377 var cerr *glib.Error377 var cerr *glib.Error
378 378
@@ -840,7 +840,7 @@ func (x *Pixbuf) GetOptions() *glib.HashTable {
840 return cret840 return cret
841 }841 }
842 842
843-var xPixbufGetPixels func(uintptr) uintptr843+var xPixbufGetPixels func(uintptr) []byte
844 844
845 // Queries a pointer to the pixel data of a pixbuf.845 // Queries a pointer to the pixel data of a pixbuf.
846 //846 //
@@ -849,13 +849,13 @@ var xPixbufGetPixels func(uintptr) uintptr
849 //849 //
850 // Please see the section on [image data](class.Pixbuf.html#image-data) for information850 // Please see the section on [image data](class.Pixbuf.html#image-data) for information
851 // about how the pixel data is stored in memory.851 // about how the pixel data is stored in memory.
852-func (x *Pixbuf) GetPixels() uintptr {852+func (x *Pixbuf) GetPixels() []byte {
853 853
854 cret := xPixbufGetPixels(x.GoPointer())854 cret := xPixbufGetPixels(x.GoPointer())
855 return cret855 return cret
856 }856 }
857 857
858-var xPixbufGetPixelsWithLength func(uintptr, uint) uintptr858+var xPixbufGetPixelsWithLength func(uintptr, uint) []byte
859 859
860 // Queries a pointer to the pixel data of a pixbuf.860 // Queries a pointer to the pixel data of a pixbuf.
861 //861 //
@@ -864,7 +864,7 @@ var xPixbufGetPixelsWithLength func(uintptr, uint) uintptr
864 //864 //
865 // Please see the section on [image data](class.Pixbuf.html#image-data) for information865 // Please see the section on [image data](class.Pixbuf.html#image-data) for information
866 // about how the pixel data is stored in memory.866 // about how the pixel data is stored in memory.
867-func (x *Pixbuf) GetPixelsWithLength(LengthVar uint) uintptr {867+func (x *Pixbuf) GetPixelsWithLength(LengthVar uint) []byte {
868 868
869 cret := xPixbufGetPixelsWithLength(x.GoPointer(), LengthVar)869 cret := xPixbufGetPixelsWithLength(x.GoPointer(), LengthVar)
870 return cret870 return cret
@@ -1084,7 +1084,7 @@ func (x *Pixbuf) Save(FilenameVar string, TypeVar string, ErrorVar **glib.Error,
1084 return cret1084 return cret
1085 }1085 }
1086 1086
1087-var xPixbufSaveToBuffer func(uintptr, uintptr, uint, string, **glib.Error, ...interface{}) bool1087+var xPixbufSaveToBuffer func(uintptr, []byte, uint, string, **glib.Error, ...interface{}) bool
1088 1088
1089 // Saves pixbuf to a new buffer in format `type`, which is currently "jpeg",1089 // Saves pixbuf to a new buffer in format `type`, which is currently "jpeg",
1090 // "png", "tiff", "ico" or "bmp".1090 // "png", "tiff", "ico" or "bmp".
@@ -1100,13 +1100,13 @@ var xPixbufSaveToBuffer func(uintptr, uintptr, uint, string, **glib.Error, ...in
1100 // domain.1100 // domain.
1101 //1101 //
1102 // See `gdk_pixbuf_save()` for more details.1102 // See `gdk_pixbuf_save()` for more details.
1103-func (x *Pixbuf) SaveToBuffer(BufferVar uintptr, BufferSizeVar uint, TypeVar string, ErrorVar **glib.Error, varArgs ...interface{}) bool {1103+func (x *Pixbuf) SaveToBuffer(BufferVar []byte, BufferSizeVar uint, TypeVar string, ErrorVar **glib.Error, varArgs ...interface{}) bool {
1104 1104
1105 cret := xPixbufSaveToBuffer(x.GoPointer(), BufferVar, BufferSizeVar, TypeVar, ErrorVar, varArgs...)1105 cret := xPixbufSaveToBuffer(x.GoPointer(), BufferVar, BufferSizeVar, TypeVar, ErrorVar, varArgs...)
1106 return cret1106 return cret
1107 }1107 }
1108 1108
1109-var xPixbufSaveToBufferv func(uintptr, uintptr, uint, string, []string, []string, **glib.Error) bool1109+var xPixbufSaveToBufferv func(uintptr, []byte, uint, string, []string, []string, **glib.Error) bool
1110 1110
1111 // Vector version of `gdk_pixbuf_save_to_buffer()`.1111 // Vector version of `gdk_pixbuf_save_to_buffer()`.
1112 //1112 //
@@ -1114,7 +1114,7 @@ var xPixbufSaveToBufferv func(uintptr, uintptr, uint, string, []string, []string
1114 // "tiff", "png", "ico" or "bmp".1114 // "tiff", "png", "ico" or "bmp".
1115 //1115 //
1116 // See [method@GdkPixbuf.Pixbuf.save_to_buffer] for more details.1116 // See [method@GdkPixbuf.Pixbuf.save_to_buffer] for more details.
1117-func (x *Pixbuf) SaveToBufferv(BufferVar uintptr, BufferSizeVar uint, TypeVar string, OptionKeysVar []string, OptionValuesVar []string) (bool, error) {1117+func (x *Pixbuf) SaveToBufferv(BufferVar []byte, BufferSizeVar uint, TypeVar string, OptionKeysVar []string, OptionValuesVar []string) (bool, error) {
1118 var cerr *glib.Error1118 var cerr *glib.Error
1119 1119
1120 cret := xPixbufSaveToBufferv(x.GoPointer(), BufferVar, BufferSizeVar, TypeVar, OptionKeysVar, OptionValuesVar, &cerr)1120 cret := xPixbufSaveToBufferv(x.GoPointer(), BufferVar, BufferSizeVar, TypeVar, OptionKeysVar, OptionValuesVar, &cerr)
@@ -1220,7 +1220,7 @@ func (x *Pixbuf) SaveToStreamv(StreamVar *gio.OutputStream, TypeVar string, Opti
1220 1220
1221 }1221 }
1222 1222
1223-var xPixbufSaveToStreamvAsync func(uintptr, uintptr, string, uintptr, uintptr, uintptr, uintptr, uintptr)1223+var xPixbufSaveToStreamvAsync func(uintptr, uintptr, string, []string, []string, uintptr, uintptr, uintptr)
1224 1224
1225 // Saves `pixbuf` to an output stream asynchronously.1225 // Saves `pixbuf` to an output stream asynchronously.
1226 //1226 //
@@ -1231,7 +1231,7 @@ var xPixbufSaveToStreamvAsync func(uintptr, uintptr, string, uintptr, uintptr, u
1231 //1231 //
1232 // You can then call gdk_pixbuf_save_to_stream_finish() to get the result of1232 // You can then call gdk_pixbuf_save_to_stream_finish() to get the result of
1233 // the operation.1233 // the operation.
1234-func (x *Pixbuf) SaveToStreamvAsync(StreamVar *gio.OutputStream, TypeVar string, OptionKeysVar uintptr, OptionValuesVar uintptr, CancellableVar *gio.Cancellable, CallbackVar *gio.AsyncReadyCallback, UserDataVar uintptr) {1234+func (x *Pixbuf) SaveToStreamvAsync(StreamVar *gio.OutputStream, TypeVar string, OptionKeysVar []string, OptionValuesVar []string, CancellableVar *gio.Cancellable, CallbackVar *gio.AsyncReadyCallback, UserDataVar uintptr) {
1235 1235
1236 xPixbufSaveToStreamvAsync(x.GoPointer(), StreamVar.GoPointer(), TypeVar, OptionKeysVar, OptionValuesVar, CancellableVar.GoPointer(), glib.NewCallback(CallbackVar), UserDataVar)1236 xPixbufSaveToStreamvAsync(x.GoPointer(), StreamVar.GoPointer(), TypeVar, OptionKeysVar, OptionValuesVar, CancellableVar.GoPointer(), glib.NewCallback(CallbackVar), UserDataVar)
1237 1237
M v4/gio/gactiongroup.go +3 -3
@@ -78,7 +78,7 @@ type ActionGroup interface {
78 GetActionStateHint(ActionNameVar string) *glib.Variant78 GetActionStateHint(ActionNameVar string) *glib.Variant
79 GetActionStateType(ActionNameVar string) *glib.VariantType79 GetActionStateType(ActionNameVar string) *glib.VariantType
80 HasAction(ActionNameVar string) bool80 HasAction(ActionNameVar string) bool
81- ListActions() uintptr81+ ListActions() []string
82 QueryAction(ActionNameVar string, EnabledVar bool, ParameterTypeVar **glib.VariantType, StateTypeVar **glib.VariantType, StateHintVar **glib.Variant, StateVar **glib.Variant) bool82 QueryAction(ActionNameVar string, EnabledVar bool, ParameterTypeVar **glib.VariantType, StateTypeVar **glib.VariantType, StateHintVar **glib.Variant, StateVar **glib.Variant) bool
83 }83 }
84 type ActionGroupBase struct {84 type ActionGroupBase struct {
@@ -285,7 +285,7 @@ func (x *ActionGroupBase) HasAction(ActionNameVar string) bool {
285 //285 //
286 // The caller is responsible for freeing the list with g_strfreev() when286 // The caller is responsible for freeing the list with g_strfreev() when
287 // it is no longer required.287 // it is no longer required.
288-func (x *ActionGroupBase) ListActions() uintptr {288+func (x *ActionGroupBase) ListActions() []string {
289 289
290 cret := XGActionGroupListActions(x.GoPointer())290 cret := XGActionGroupListActions(x.GoPointer())
291 return cret291 return cret
@@ -336,7 +336,7 @@ var XGActionGroupGetActionState func(uintptr, string) *glib.Variant
336 var XGActionGroupGetActionStateHint func(uintptr, string) *glib.Variant336 var XGActionGroupGetActionStateHint func(uintptr, string) *glib.Variant
337 var XGActionGroupGetActionStateType func(uintptr, string) *glib.VariantType337 var XGActionGroupGetActionStateType func(uintptr, string) *glib.VariantType
338 var XGActionGroupHasAction func(uintptr, string) bool338 var XGActionGroupHasAction func(uintptr, string) bool
339-var XGActionGroupListActions func(uintptr) uintptr339+var XGActionGroupListActions func(uintptr) []string
340 var XGActionGroupQueryAction func(uintptr, string, bool, **glib.VariantType, **glib.VariantType, **glib.Variant, **glib.Variant) bool340 var XGActionGroupQueryAction func(uintptr, string, bool, **glib.VariantType, **glib.VariantType, **glib.Variant, **glib.Variant) bool
341 341
342 func init() {342 func init() {
M v4/gio/gactionmap.go +4 -4
@@ -26,7 +26,7 @@ type ActionEntry struct {
26 26
27 State uintptr27 State uintptr
28 28
29- Padding uintptr29+ Padding [3]uint
30 }30 }
31 31
32 func (x *ActionEntry) GoPointer() uintptr {32 func (x *ActionEntry) GoPointer() uintptr {
@@ -55,7 +55,7 @@ type ActionMap interface {
55 GoPointer() uintptr55 GoPointer() uintptr
56 SetGoPointer(uintptr)56 SetGoPointer(uintptr)
57 AddAction(ActionVar Action)57 AddAction(ActionVar Action)
58- AddActionEntries(EntriesVar uintptr, NEntriesVar int, UserDataVar uintptr)58+ AddActionEntries(EntriesVar []ActionEntry, NEntriesVar int, UserDataVar uintptr)
59 LookupAction(ActionNameVar string) *ActionBase59 LookupAction(ActionNameVar string) *ActionBase
60 RemoveAction(ActionNameVar string)60 RemoveAction(ActionNameVar string)
61 }61 }
@@ -126,7 +126,7 @@ func (x *ActionMapBase) AddAction(ActionVar Action) {
126 // }126 // }
127 //127 //
128 // ]|128 // ]|
129-func (x *ActionMapBase) AddActionEntries(EntriesVar uintptr, NEntriesVar int, UserDataVar uintptr) {129+func (x *ActionMapBase) AddActionEntries(EntriesVar []ActionEntry, NEntriesVar int, UserDataVar uintptr) {
130 130
131 XGActionMapAddActionEntries(x.GoPointer(), EntriesVar, NEntriesVar, UserDataVar)131 XGActionMapAddActionEntries(x.GoPointer(), EntriesVar, NEntriesVar, UserDataVar)
132 132
@@ -159,7 +159,7 @@ func (x *ActionMapBase) RemoveAction(ActionNameVar string) {
159 }159 }
160 160
161 var XGActionMapAddAction func(uintptr, uintptr)161 var XGActionMapAddAction func(uintptr, uintptr)
162-var XGActionMapAddActionEntries func(uintptr, uintptr, int, uintptr)162+var XGActionMapAddActionEntries func(uintptr, []ActionEntry, int, uintptr)
163 var XGActionMapLookupAction func(uintptr, string) uintptr163 var XGActionMapLookupAction func(uintptr, string) uintptr
164 var XGActionMapRemoveAction func(uintptr, string)164 var XGActionMapRemoveAction func(uintptr, string)
165 165
M v4/gio/gapplication.go +5 -5
@@ -14,7 +14,7 @@ import (
14 type ApplicationClass struct {14 type ApplicationClass struct {
15 ParentClass uintptr15 ParentClass uintptr
16 16
17- Padding uintptr17+ Padding [7]uintptr
18 }18 }
19 19
20 func (x *ApplicationClass) GoPointer() uintptr {20 func (x *ApplicationClass) GoPointer() uintptr {
@@ -209,7 +209,7 @@ func (x *Application) AddMainOption(LongNameVar string, ShortNameVar byte, Flags
209 209
210 }210 }
211 211
212-var xApplicationAddMainOptionEntries func(uintptr, uintptr)212+var xApplicationAddMainOptionEntries func(uintptr, []glib.OptionEntry)
213 213
214 // Adds main option entries to be handled by @application.214 // Adds main option entries to be handled by @application.
215 //215 //
@@ -265,7 +265,7 @@ var xApplicationAddMainOptionEntries func(uintptr, uintptr)
265 // - for %G_OPTION_ARG_FILENAME, use `^&ay`265 // - for %G_OPTION_ARG_FILENAME, use `^&ay`
266 // - for %G_OPTION_ARG_STRING_ARRAY, use `^a&s`266 // - for %G_OPTION_ARG_STRING_ARRAY, use `^a&s`
267 // - for %G_OPTION_ARG_FILENAME_ARRAY, use `^a&ay`267 // - for %G_OPTION_ARG_FILENAME_ARRAY, use `^a&ay`
268-func (x *Application) AddMainOptionEntries(EntriesVar uintptr) {268+func (x *Application) AddMainOptionEntries(EntriesVar []glib.OptionEntry) {
269 269
270 xApplicationAddMainOptionEntries(x.GoPointer(), EntriesVar)270 xApplicationAddMainOptionEntries(x.GoPointer(), EntriesVar)
271 271
@@ -1287,7 +1287,7 @@ func (x *Application) HasAction(ActionNameVar string) bool {
1287 //1287 //
1288 // The caller is responsible for freeing the list with g_strfreev() when1288 // The caller is responsible for freeing the list with g_strfreev() when
1289 // it is no longer required.1289 // it is no longer required.
1290-func (x *Application) ListActions() uintptr {1290+func (x *Application) ListActions() []string {
1291 1291
1292 cret := XGActionGroupListActions(x.GoPointer())1292 cret := XGActionGroupListActions(x.GoPointer())
1293 return cret1293 return cret
@@ -1381,7 +1381,7 @@ func (x *Application) AddAction(ActionVar Action) {
1381 // }1381 // }
1382 //1382 //
1383 // ]|1383 // ]|
1384-func (x *Application) AddActionEntries(EntriesVar uintptr, NEntriesVar int, UserDataVar uintptr) {1384+func (x *Application) AddActionEntries(EntriesVar []ActionEntry, NEntriesVar int, UserDataVar uintptr) {
1385 1385
1386 XGActionMapAddActionEntries(x.GoPointer(), EntriesVar, NEntriesVar, UserDataVar)1386 XGActionMapAddActionEntries(x.GoPointer(), EntriesVar, NEntriesVar, UserDataVar)
1387 1387
M v4/gio/gapplicationcommandline.go +5 -5
@@ -15,7 +15,7 @@ import (
15 type ApplicationCommandLineClass struct {15 type ApplicationCommandLineClass struct {
16 ParentClass uintptr16 ParentClass uintptr
17 17
18- Padding uintptr18+ Padding [11]uintptr
19 }19 }
20 20
21 func (x *ApplicationCommandLineClass) GoPointer() uintptr {21 func (x *ApplicationCommandLineClass) GoPointer() uintptr {
@@ -231,7 +231,7 @@ func (x *ApplicationCommandLine) CreateFileForArg(ArgVar string) *FileBase {
231 return cls231 return cls
232 }232 }
233 233
234-var xApplicationCommandLineGetArguments func(uintptr, int) uintptr234+var xApplicationCommandLineGetArguments func(uintptr, int) []string
235 235
236 // Gets the list of arguments that was passed on the command line.236 // Gets the list of arguments that was passed on the command line.
237 //237 //
@@ -244,7 +244,7 @@ var xApplicationCommandLineGetArguments func(uintptr, int) uintptr
244 //244 //
245 // The return value is %NULL-terminated and should be freed using245 // The return value is %NULL-terminated and should be freed using
246 // g_strfreev().246 // g_strfreev().
247-func (x *ApplicationCommandLine) GetArguments(ArgcVar int) uintptr {247+func (x *ApplicationCommandLine) GetArguments(ArgcVar int) []string {
248 248
249 cret := xApplicationCommandLineGetArguments(x.GoPointer(), ArgcVar)249 cret := xApplicationCommandLineGetArguments(x.GoPointer(), ArgcVar)
250 return cret250 return cret
@@ -266,7 +266,7 @@ func (x *ApplicationCommandLine) GetCwd() string {
266 return cret266 return cret
267 }267 }
268 268
269-var xApplicationCommandLineGetEnviron func(uintptr) uintptr269+var xApplicationCommandLineGetEnviron func(uintptr) []string
270 270
271 // Gets the contents of the 'environ' variable of the command line271 // Gets the contents of the 'environ' variable of the command line
272 // invocation, as would be returned by g_get_environ(), ie as a272 // invocation, as would be returned by g_get_environ(), ie as a
@@ -283,7 +283,7 @@ var xApplicationCommandLineGetEnviron func(uintptr) uintptr
283 //283 //
284 // See g_application_command_line_getenv() if you are only interested284 // See g_application_command_line_getenv() if you are only interested
285 // in the value of a single environment variable.285 // in the value of a single environment variable.
286-func (x *ApplicationCommandLine) GetEnviron() uintptr {286+func (x *ApplicationCommandLine) GetEnviron() []string {
287 287
288 cret := xApplicationCommandLineGetEnviron(x.GoPointer())288 cret := xApplicationCommandLineGetEnviron(x.GoPointer())
289 return cret289 return cret
M v4/gio/gasyncinitable.go +3 -2
@@ -8,6 +8,7 @@ import (
8 "github.com/jwijenbergh/puregotk/internal/core"8 "github.com/jwijenbergh/puregotk/internal/core"
9 "github.com/jwijenbergh/puregotk/v4/glib"9 "github.com/jwijenbergh/puregotk/v4/glib"
10 "github.com/jwijenbergh/puregotk/v4/gobject"10 "github.com/jwijenbergh/puregotk/v4/gobject"
11+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
11 )12 )
12 13
13 // Provides an interface for asynchronous initializing object such that14 // Provides an interface for asynchronous initializing object such that
@@ -226,7 +227,7 @@ var XGAsyncInitableInitAsync func(uintptr, int, uintptr, uintptr, uintptr)
226 var XGAsyncInitableInitFinish func(uintptr, uintptr, **glib.Error) bool227 var XGAsyncInitableInitFinish func(uintptr, uintptr, **glib.Error) bool
227 var XGAsyncInitableNewFinish func(uintptr, uintptr, **glib.Error) uintptr228 var XGAsyncInitableNewFinish func(uintptr, uintptr, **glib.Error) uintptr
228 229
229-var xAsyncInitableNewvAsync func([]interface{}, uint, *gobject.Parameter, int, uintptr, uintptr, uintptr)230+var xAsyncInitableNewvAsync func(types.GType, uint, *gobject.Parameter, int, uintptr, uintptr, uintptr)
230 231
231 // Helper function for constructing #GAsyncInitable object. This is232 // Helper function for constructing #GAsyncInitable object. This is
232 // similar to g_object_newv() but also initializes the object asynchronously.233 // similar to g_object_newv() but also initializes the object asynchronously.
@@ -234,7 +235,7 @@ var xAsyncInitableNewvAsync func([]interface{}, uint, *gobject.Parameter, int, u
234 // When the initialization is finished, @callback will be called. You can235 // When the initialization is finished, @callback will be called. You can
235 // then call g_async_initable_new_finish() to get the new object and check236 // then call g_async_initable_new_finish() to get the new object and check
236 // for any errors.237 // for any errors.
237-func AsyncInitableNewvAsync(ObjectTypeVar []interface{}, NParametersVar uint, ParametersVar *gobject.Parameter, IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) {238+func AsyncInitableNewvAsync(ObjectTypeVar types.GType, NParametersVar uint, ParametersVar *gobject.Parameter, IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) {
238 239
239 xAsyncInitableNewvAsync(ObjectTypeVar, NParametersVar, ParametersVar, IoPriorityVar, CancellableVar.GoPointer(), glib.NewCallback(CallbackVar), UserDataVar)240 xAsyncInitableNewvAsync(ObjectTypeVar, NParametersVar, ParametersVar, IoPriorityVar, CancellableVar.GoPointer(), glib.NewCallback(CallbackVar), UserDataVar)
240 241
M v4/gio/gbufferedinputstream.go +4 -4
@@ -165,22 +165,22 @@ func (x *BufferedInputStream) GetBufferSize() uint {
165 return cret165 return cret
166 }166 }
167 167
168-var xBufferedInputStreamPeek func(uintptr, uintptr, uint, uint) uint168+var xBufferedInputStreamPeek func(uintptr, []byte, uint, uint) uint
169 169
170 // Peeks in the buffer, copying data of size @count into @buffer,170 // Peeks in the buffer, copying data of size @count into @buffer,
171 // offset @offset bytes.171 // offset @offset bytes.
172-func (x *BufferedInputStream) Peek(BufferVar uintptr, OffsetVar uint, CountVar uint) uint {172+func (x *BufferedInputStream) Peek(BufferVar []byte, OffsetVar uint, CountVar uint) uint {
173 173
174 cret := xBufferedInputStreamPeek(x.GoPointer(), BufferVar, OffsetVar, CountVar)174 cret := xBufferedInputStreamPeek(x.GoPointer(), BufferVar, OffsetVar, CountVar)
175 return cret175 return cret
176 }176 }
177 177
178-var xBufferedInputStreamPeekBuffer func(uintptr, uint) uintptr178+var xBufferedInputStreamPeekBuffer func(uintptr, uint) []byte
179 179
180 // Returns the buffer with the currently available bytes. The returned180 // Returns the buffer with the currently available bytes. The returned
181 // buffer must not be modified and will become invalid when reading from181 // buffer must not be modified and will become invalid when reading from
182 // the stream or filling the buffer.182 // the stream or filling the buffer.
183-func (x *BufferedInputStream) PeekBuffer(CountVar uint) uintptr {183+func (x *BufferedInputStream) PeekBuffer(CountVar uint) []byte {
184 184
185 cret := xBufferedInputStreamPeekBuffer(x.GoPointer(), CountVar)185 cret := xBufferedInputStreamPeekBuffer(x.GoPointer(), CountVar)
186 return cret186 return cret
M v4/gio/gcharsetconverter.go +1 -1
@@ -168,7 +168,7 @@ func (c *CharsetConverter) SetGoPointer(ptr uintptr) {
168 // at a partial multibyte sequence). Converters are supposed to try168 // at a partial multibyte sequence). Converters are supposed to try
169 // to produce as much output as possible and then return an error169 // to produce as much output as possible and then return an error
170 // (typically %G_IO_ERROR_PARTIAL_INPUT).170 // (typically %G_IO_ERROR_PARTIAL_INPUT).
171-func (x *CharsetConverter) Convert(InbufVar uintptr, InbufSizeVar uint, OutbufVar uintptr, OutbufSizeVar uint, FlagsVar ConverterFlags, BytesReadVar uint, BytesWrittenVar uint) (ConverterResult, error) {171+func (x *CharsetConverter) Convert(InbufVar []byte, InbufSizeVar uint, OutbufVar []byte, OutbufSizeVar uint, FlagsVar ConverterFlags, BytesReadVar uint, BytesWrittenVar uint) (ConverterResult, error) {
172 var cerr *glib.Error172 var cerr *glib.Error
173 173
174 cret := XGConverterConvert(x.GoPointer(), InbufVar, InbufSizeVar, OutbufVar, OutbufSizeVar, FlagsVar, BytesReadVar, BytesWrittenVar, &cerr)174 cret := XGConverterConvert(x.GoPointer(), InbufVar, InbufSizeVar, OutbufVar, OutbufSizeVar, FlagsVar, BytesReadVar, BytesWrittenVar, &cerr)
M v4/gio/gcontenttype.go +8 -8
@@ -73,11 +73,11 @@ func ContentTypeGetIcon(TypeVar string) *IconBase {
73 return cls73 return cls
74 }74 }
75 75
76-var xContentTypeGetMimeDirs func() uintptr76+var xContentTypeGetMimeDirs func() []string
77 77
78 // Get the list of directories which MIME data is loaded from. See78 // Get the list of directories which MIME data is loaded from. See
79 // g_content_type_set_mime_dirs() for details.79 // g_content_type_set_mime_dirs() for details.
80-func ContentTypeGetMimeDirs() uintptr {80+func ContentTypeGetMimeDirs() []string {
81 81
82 cret := xContentTypeGetMimeDirs()82 cret := xContentTypeGetMimeDirs()
83 return cret83 return cret
@@ -108,19 +108,19 @@ func ContentTypeGetSymbolicIcon(TypeVar string) *IconBase {
108 return cls108 return cls
109 }109 }
110 110
111-var xContentTypeGuess func(string, uintptr, uint, bool) string111+var xContentTypeGuess func(string, []byte, uint, bool) string
112 112
113 // Guesses the content type based on example data. If the function is113 // Guesses the content type based on example data. If the function is
114 // uncertain, @result_uncertain will be set to %TRUE. Either @filename114 // uncertain, @result_uncertain will be set to %TRUE. Either @filename
115 // or @data may be %NULL, in which case the guess will be based solely115 // or @data may be %NULL, in which case the guess will be based solely
116 // on the other argument.116 // on the other argument.
117-func ContentTypeGuess(FilenameVar string, DataVar uintptr, DataSizeVar uint, ResultUncertainVar bool) string {117+func ContentTypeGuess(FilenameVar string, DataVar []byte, DataSizeVar uint, ResultUncertainVar bool) string {
118 118
119 cret := xContentTypeGuess(FilenameVar, DataVar, DataSizeVar, ResultUncertainVar)119 cret := xContentTypeGuess(FilenameVar, DataVar, DataSizeVar, ResultUncertainVar)
120 return cret120 return cret
121 }121 }
122 122
123-var xContentTypeGuessForTree func(uintptr) uintptr123+var xContentTypeGuessForTree func(uintptr) []string
124 124
125 // Tries to guess the type of the tree with root @root, by125 // Tries to guess the type of the tree with root @root, by
126 // looking at the files it contains. The result is an array126 // looking at the files it contains. The result is an array
@@ -134,7 +134,7 @@ var xContentTypeGuessForTree func(uintptr) uintptr
134 //134 //
135 // This function is useful in the implementation of135 // This function is useful in the implementation of
136 // g_mount_guess_content_type().136 // g_mount_guess_content_type().
137-func ContentTypeGuessForTree(RootVar File) uintptr {137+func ContentTypeGuessForTree(RootVar File) []string {
138 138
139 cret := xContentTypeGuessForTree(RootVar.GoPointer())139 cret := xContentTypeGuessForTree(RootVar.GoPointer())
140 return cret140 return cret
@@ -171,7 +171,7 @@ func ContentTypeIsUnknown(TypeVar string) bool {
171 return cret171 return cret
172 }172 }
173 173
174-var xContentTypeSetMimeDirs func(uintptr)174+var xContentTypeSetMimeDirs func([]string)
175 175
176 // Set the list of directories used by GIO to load the MIME database.176 // Set the list of directories used by GIO to load the MIME database.
177 // If @dirs is %NULL, the directories used are the default:177 // If @dirs is %NULL, the directories used are the default:
@@ -198,7 +198,7 @@ var xContentTypeSetMimeDirs func(uintptr)
198 // return g_test_run ();198 // return g_test_run ();
199 //199 //
200 // ]|200 // ]|
201-func ContentTypeSetMimeDirs(DirsVar uintptr) {201+func ContentTypeSetMimeDirs(DirsVar []string) {
202 202
203 xContentTypeSetMimeDirs(DirsVar)203 xContentTypeSetMimeDirs(DirsVar)
204 204
M v4/gio/gconverter.go +3 -3
@@ -30,7 +30,7 @@ func (x *ConverterIface) GoPointer() uintptr {
30 type Converter interface {30 type Converter interface {
31 GoPointer() uintptr31 GoPointer() uintptr
32 SetGoPointer(uintptr)32 SetGoPointer(uintptr)
33- Convert(InbufVar uintptr, InbufSizeVar uint, OutbufVar uintptr, OutbufSizeVar uint, FlagsVar ConverterFlags, BytesReadVar uint, BytesWrittenVar uint) ConverterResult33+ Convert(InbufVar []byte, InbufSizeVar uint, OutbufVar []byte, OutbufSizeVar uint, FlagsVar ConverterFlags, BytesReadVar uint, BytesWrittenVar uint) ConverterResult
34 Reset()34 Reset()
35 }35 }
36 type ConverterBase struct {36 type ConverterBase struct {
@@ -127,7 +127,7 @@ func (x *ConverterBase) SetGoPointer(ptr uintptr) {
127 // at a partial multibyte sequence). Converters are supposed to try127 // at a partial multibyte sequence). Converters are supposed to try
128 // to produce as much output as possible and then return an error128 // to produce as much output as possible and then return an error
129 // (typically %G_IO_ERROR_PARTIAL_INPUT).129 // (typically %G_IO_ERROR_PARTIAL_INPUT).
130-func (x *ConverterBase) Convert(InbufVar uintptr, InbufSizeVar uint, OutbufVar uintptr, OutbufSizeVar uint, FlagsVar ConverterFlags, BytesReadVar uint, BytesWrittenVar uint) (ConverterResult, error) {130+func (x *ConverterBase) Convert(InbufVar []byte, InbufSizeVar uint, OutbufVar []byte, OutbufSizeVar uint, FlagsVar ConverterFlags, BytesReadVar uint, BytesWrittenVar uint) (ConverterResult, error) {
131 var cerr *glib.Error131 var cerr *glib.Error
132 132
133 cret := XGConverterConvert(x.GoPointer(), InbufVar, InbufSizeVar, OutbufVar, OutbufSizeVar, FlagsVar, BytesReadVar, BytesWrittenVar, &cerr)133 cret := XGConverterConvert(x.GoPointer(), InbufVar, InbufSizeVar, OutbufVar, OutbufSizeVar, FlagsVar, BytesReadVar, BytesWrittenVar, &cerr)
@@ -147,7 +147,7 @@ func (x *ConverterBase) Reset() {
147 147
148 }148 }
149 149
150-var XGConverterConvert func(uintptr, uintptr, uint, uintptr, uint, ConverterFlags, uint, uint, **glib.Error) ConverterResult150+var XGConverterConvert func(uintptr, []byte, uint, []byte, uint, ConverterFlags, uint, uint, **glib.Error) ConverterResult
151 var XGConverterReset func(uintptr)151 var XGConverterReset func(uintptr)
152 152
153 func init() {153 func init() {
M v4/gio/gconverterinputstream.go +1 -1
@@ -133,7 +133,7 @@ func (x *ConverterInputStream) IsReadable() bool {
133 // if @cancellable has already been cancelled when you call, which133 // if @cancellable has already been cancelled when you call, which
134 // may happen if you call this method after a source triggers due134 // may happen if you call this method after a source triggers due
135 // to having been cancelled.135 // to having been cancelled.
136-func (x *ConverterInputStream) ReadNonblocking(BufferVar uintptr, CountVar uint, CancellableVar *Cancellable) (int, error) {136+func (x *ConverterInputStream) ReadNonblocking(BufferVar []byte, CountVar uint, CancellableVar *Cancellable) (int, error) {
137 var cerr *glib.Error137 var cerr *glib.Error
138 138
139 cret := XGPollableInputStreamReadNonblocking(x.GoPointer(), BufferVar, CountVar, CancellableVar.GoPointer(), &cerr)139 cret := XGPollableInputStreamReadNonblocking(x.GoPointer(), BufferVar, CountVar, CancellableVar.GoPointer(), &cerr)
M v4/gio/gconverteroutputstream.go +2 -2
@@ -137,7 +137,7 @@ func (x *ConverterOutputStream) IsWritable() bool {
137 // Also note that if %G_IO_ERROR_WOULD_BLOCK is returned some underlying137 // Also note that if %G_IO_ERROR_WOULD_BLOCK is returned some underlying
138 // transports like D/TLS require that you re-send the same @buffer and138 // transports like D/TLS require that you re-send the same @buffer and
139 // @count in the next write call.139 // @count in the next write call.
140-func (x *ConverterOutputStream) WriteNonblocking(BufferVar uintptr, CountVar uint, CancellableVar *Cancellable) (int, error) {140+func (x *ConverterOutputStream) WriteNonblocking(BufferVar []byte, CountVar uint, CancellableVar *Cancellable) (int, error) {
141 var cerr *glib.Error141 var cerr *glib.Error
142 142
143 cret := XGPollableOutputStreamWriteNonblocking(x.GoPointer(), BufferVar, CountVar, CancellableVar.GoPointer(), &cerr)143 cret := XGPollableOutputStreamWriteNonblocking(x.GoPointer(), BufferVar, CountVar, CancellableVar.GoPointer(), &cerr)
@@ -164,7 +164,7 @@ func (x *ConverterOutputStream) WriteNonblocking(BufferVar uintptr, CountVar uin
164 // Also note that if %G_POLLABLE_RETURN_WOULD_BLOCK is returned some underlying164 // Also note that if %G_POLLABLE_RETURN_WOULD_BLOCK is returned some underlying
165 // transports like D/TLS require that you re-send the same @vectors and165 // transports like D/TLS require that you re-send the same @vectors and
166 // @n_vectors in the next write call.166 // @n_vectors in the next write call.
167-func (x *ConverterOutputStream) WritevNonblocking(VectorsVar uintptr, NVectorsVar uint, BytesWrittenVar uint, CancellableVar *Cancellable) (PollableReturn, error) {167+func (x *ConverterOutputStream) WritevNonblocking(VectorsVar []OutputVector, NVectorsVar uint, BytesWrittenVar uint, CancellableVar *Cancellable) (PollableReturn, error) {
168 var cerr *glib.Error168 var cerr *glib.Error
169 169
170 cret := XGPollableOutputStreamWritevNonblocking(x.GoPointer(), VectorsVar, NVectorsVar, BytesWrittenVar, CancellableVar.GoPointer(), &cerr)170 cret := XGPollableOutputStreamWritevNonblocking(x.GoPointer(), VectorsVar, NVectorsVar, BytesWrittenVar, CancellableVar.GoPointer(), &cerr)
M v4/gio/gdatagrambased.go +6 -6
@@ -75,8 +75,8 @@ type DatagramBased interface {
75 ConditionCheck(ConditionVar glib.IOCondition) glib.IOCondition75 ConditionCheck(ConditionVar glib.IOCondition) glib.IOCondition
76 ConditionWait(ConditionVar glib.IOCondition, TimeoutVar int64, CancellableVar *Cancellable) bool76 ConditionWait(ConditionVar glib.IOCondition, TimeoutVar int64, CancellableVar *Cancellable) bool
77 CreateSource(ConditionVar glib.IOCondition, CancellableVar *Cancellable) *glib.Source77 CreateSource(ConditionVar glib.IOCondition, CancellableVar *Cancellable) *glib.Source
78- ReceiveMessages(MessagesVar uintptr, NumMessagesVar uint, FlagsVar int, TimeoutVar int64, CancellableVar *Cancellable) int78+ ReceiveMessages(MessagesVar []InputMessage, NumMessagesVar uint, FlagsVar int, TimeoutVar int64, CancellableVar *Cancellable) int
79- SendMessages(MessagesVar uintptr, NumMessagesVar uint, FlagsVar int, TimeoutVar int64, CancellableVar *Cancellable) int79+ SendMessages(MessagesVar []OutputMessage, NumMessagesVar uint, FlagsVar int, TimeoutVar int64, CancellableVar *Cancellable) int
80 }80 }
81 type DatagramBasedBase struct {81 type DatagramBasedBase struct {
82 Ptr uintptr82 Ptr uintptr
@@ -219,7 +219,7 @@ func (x *DatagramBasedBase) CreateSource(ConditionVar glib.IOCondition, Cancella
219 // messages successfully received before the error will be returned. If219 // messages successfully received before the error will be returned. If
220 // @cancellable is cancelled, %G_IO_ERROR_CANCELLED is returned as with any220 // @cancellable is cancelled, %G_IO_ERROR_CANCELLED is returned as with any
221 // other error.221 // other error.
222-func (x *DatagramBasedBase) ReceiveMessages(MessagesVar uintptr, NumMessagesVar uint, FlagsVar int, TimeoutVar int64, CancellableVar *Cancellable) (int, error) {222+func (x *DatagramBasedBase) ReceiveMessages(MessagesVar []InputMessage, NumMessagesVar uint, FlagsVar int, TimeoutVar int64, CancellableVar *Cancellable) (int, error) {
223 var cerr *glib.Error223 var cerr *glib.Error
224 224
225 cret := XGDatagramBasedReceiveMessages(x.GoPointer(), MessagesVar, NumMessagesVar, FlagsVar, TimeoutVar, CancellableVar.GoPointer(), &cerr)225 cret := XGDatagramBasedReceiveMessages(x.GoPointer(), MessagesVar, NumMessagesVar, FlagsVar, TimeoutVar, CancellableVar.GoPointer(), &cerr)
@@ -271,7 +271,7 @@ func (x *DatagramBasedBase) ReceiveMessages(MessagesVar uintptr, NumMessagesVar
271 // be returned if zero messages could be sent; otherwise the number of messages271 // be returned if zero messages could be sent; otherwise the number of messages
272 // successfully sent before the error will be returned. If @cancellable is272 // successfully sent before the error will be returned. If @cancellable is
273 // cancelled, %G_IO_ERROR_CANCELLED is returned as with any other error.273 // cancelled, %G_IO_ERROR_CANCELLED is returned as with any other error.
274-func (x *DatagramBasedBase) SendMessages(MessagesVar uintptr, NumMessagesVar uint, FlagsVar int, TimeoutVar int64, CancellableVar *Cancellable) (int, error) {274+func (x *DatagramBasedBase) SendMessages(MessagesVar []OutputMessage, NumMessagesVar uint, FlagsVar int, TimeoutVar int64, CancellableVar *Cancellable) (int, error) {
275 var cerr *glib.Error275 var cerr *glib.Error
276 276
277 cret := XGDatagramBasedSendMessages(x.GoPointer(), MessagesVar, NumMessagesVar, FlagsVar, TimeoutVar, CancellableVar.GoPointer(), &cerr)277 cret := XGDatagramBasedSendMessages(x.GoPointer(), MessagesVar, NumMessagesVar, FlagsVar, TimeoutVar, CancellableVar.GoPointer(), &cerr)
@@ -285,8 +285,8 @@ func (x *DatagramBasedBase) SendMessages(MessagesVar uintptr, NumMessagesVar uin
285 var XGDatagramBasedConditionCheck func(uintptr, glib.IOCondition) glib.IOCondition285 var XGDatagramBasedConditionCheck func(uintptr, glib.IOCondition) glib.IOCondition
286 var XGDatagramBasedConditionWait func(uintptr, glib.IOCondition, int64, uintptr, **glib.Error) bool286 var XGDatagramBasedConditionWait func(uintptr, glib.IOCondition, int64, uintptr, **glib.Error) bool
287 var XGDatagramBasedCreateSource func(uintptr, glib.IOCondition, uintptr) *glib.Source287 var XGDatagramBasedCreateSource func(uintptr, glib.IOCondition, uintptr) *glib.Source
288-var XGDatagramBasedReceiveMessages func(uintptr, uintptr, uint, int, int64, uintptr, **glib.Error) int288+var XGDatagramBasedReceiveMessages func(uintptr, []InputMessage, uint, int, int64, uintptr, **glib.Error) int
289-var XGDatagramBasedSendMessages func(uintptr, uintptr, uint, int, int64, uintptr, **glib.Error) int289+var XGDatagramBasedSendMessages func(uintptr, []OutputMessage, uint, int, int64, uintptr, **glib.Error) int
290 290
291 func init() {291 func init() {
292 lib, err := purego.Dlopen(core.GetPath("GIO"), purego.RTLD_NOW|purego.RTLD_GLOBAL)292 lib, err := purego.Dlopen(core.GetPath("GIO"), purego.RTLD_NOW|purego.RTLD_GLOBAL)
M v4/gio/gdatainputstream.go +4 -4
@@ -143,7 +143,7 @@ func (x *DataInputStream) ReadInt64(CancellableVar *Cancellable) (int64, error)
143 143
144 }144 }
145 145
146-var xDataInputStreamReadLine func(uintptr, uint, uintptr, **glib.Error) uintptr146+var xDataInputStreamReadLine func(uintptr, uint, uintptr, **glib.Error) []byte
147 147
148 // Reads a line from the data input stream. Note that no encoding148 // Reads a line from the data input stream. Note that no encoding
149 // checks or conversion is performed; the input is not guaranteed to149 // checks or conversion is performed; the input is not guaranteed to
@@ -152,7 +152,7 @@ var xDataInputStreamReadLine func(uintptr, uint, uintptr, **glib.Error) uintptr
152 // If @cancellable is not %NULL, then the operation can be cancelled by152 // If @cancellable is not %NULL, then the operation can be cancelled by
153 // triggering the cancellable object from another thread. If the operation153 // triggering the cancellable object from another thread. If the operation
154 // was cancelled, the error %G_IO_ERROR_CANCELLED will be returned.154 // was cancelled, the error %G_IO_ERROR_CANCELLED will be returned.
155-func (x *DataInputStream) ReadLine(LengthVar uint, CancellableVar *Cancellable) (uintptr, error) {155+func (x *DataInputStream) ReadLine(LengthVar uint, CancellableVar *Cancellable) ([]byte, error) {
156 var cerr *glib.Error156 var cerr *glib.Error
157 157
158 cret := xDataInputStreamReadLine(x.GoPointer(), LengthVar, CancellableVar.GoPointer(), &cerr)158 cret := xDataInputStreamReadLine(x.GoPointer(), LengthVar, CancellableVar.GoPointer(), &cerr)
@@ -177,13 +177,13 @@ func (x *DataInputStream) ReadLineAsync(IoPriorityVar int, CancellableVar *Cance
177 177
178 }178 }
179 179
180-var xDataInputStreamReadLineFinish func(uintptr, uintptr, uint, **glib.Error) uintptr180+var xDataInputStreamReadLineFinish func(uintptr, uintptr, uint, **glib.Error) []byte
181 181
182 // Finish an asynchronous call started by182 // Finish an asynchronous call started by
183 // g_data_input_stream_read_line_async(). Note the warning about183 // g_data_input_stream_read_line_async(). Note the warning about
184 // string encoding in g_data_input_stream_read_line() applies here as184 // string encoding in g_data_input_stream_read_line() applies here as
185 // well.185 // well.
186-func (x *DataInputStream) ReadLineFinish(ResultVar AsyncResult, LengthVar uint) (uintptr, error) {186+func (x *DataInputStream) ReadLineFinish(ResultVar AsyncResult, LengthVar uint) ([]byte, error) {
187 var cerr *glib.Error187 var cerr *glib.Error
188 188
189 cret := xDataInputStreamReadLineFinish(x.GoPointer(), ResultVar.GoPointer(), LengthVar, &cerr)189 cret := xDataInputStreamReadLineFinish(x.GoPointer(), ResultVar.GoPointer(), LengthVar, &cerr)
M v4/gio/gdbusconnection.go +3 -3
@@ -108,7 +108,7 @@ type DBusSubtreeDispatchFunc func(uintptr, string, string, string, string, uintp
108 // contain the `/` character.108 // contain the `/` character.
109 //109 //
110 // The return value will be freed with g_strfreev().110 // The return value will be freed with g_strfreev().
111-type DBusSubtreeEnumerateFunc func(uintptr, string, string, uintptr) uintptr111+type DBusSubtreeEnumerateFunc func(uintptr, string, string, uintptr) []string
112 112
113 // The type of the @introspect function in #GDBusSubtreeVTable.113 // The type of the @introspect function in #GDBusSubtreeVTable.
114 //114 //
@@ -178,7 +178,7 @@ type DBusInterfaceVTable struct {
178 178
179 SetProperty DBusInterfaceSetPropertyFunc179 SetProperty DBusInterfaceSetPropertyFunc
180 180
181- Padding uintptr181+ Padding [8]uintptr
182 }182 }
183 183
184 func (x *DBusInterfaceVTable) GoPointer() uintptr {184 func (x *DBusInterfaceVTable) GoPointer() uintptr {
@@ -193,7 +193,7 @@ type DBusSubtreeVTable struct {
193 193
194 Dispatch DBusSubtreeDispatchFunc194 Dispatch DBusSubtreeDispatchFunc
195 195
196- Padding uintptr196+ Padding [8]uintptr
197 }197 }
198 198
199 func (x *DBusSubtreeVTable) GoPointer() uintptr {199 func (x *DBusSubtreeVTable) GoPointer() uintptr {
M v4/gio/gdbuserror.go +2 -2
@@ -110,13 +110,13 @@ func DbusErrorRegisterError(ErrorDomainVar glib.Quark, ErrorCodeVar int, DbusErr
110 return cret110 return cret
111 }111 }
112 112
113-var xDbusErrorRegisterErrorDomain func(string, uint, uintptr, uint)113+var xDbusErrorRegisterErrorDomain func(string, uint, []DBusErrorEntry, uint)
114 114
115 // Helper function for associating a #GError error domain with D-Bus error names.115 // Helper function for associating a #GError error domain with D-Bus error names.
116 //116 //
117 // While @quark_volatile has a `volatile` qualifier, this is a historical117 // While @quark_volatile has a `volatile` qualifier, this is a historical
118 // artifact and the argument passed to it should not be `volatile`.118 // artifact and the argument passed to it should not be `volatile`.
119-func DbusErrorRegisterErrorDomain(ErrorDomainQuarkNameVar string, QuarkVolatileVar uint, EntriesVar uintptr, NumEntriesVar uint) {119+func DbusErrorRegisterErrorDomain(ErrorDomainQuarkNameVar string, QuarkVolatileVar uint, EntriesVar []DBusErrorEntry, NumEntriesVar uint) {
120 120
121 xDbusErrorRegisterErrorDomain(ErrorDomainQuarkNameVar, QuarkVolatileVar, EntriesVar, NumEntriesVar)121 xDbusErrorRegisterErrorDomain(ErrorDomainQuarkNameVar, QuarkVolatileVar, EntriesVar, NumEntriesVar)
122 122
M v4/gio/gdbusinterfaceskeleton.go +2 -2
@@ -14,9 +14,9 @@ import (
14 type DBusInterfaceSkeletonClass struct {14 type DBusInterfaceSkeletonClass struct {
15 ParentClass uintptr15 ParentClass uintptr
16 16
17- VfuncPadding uintptr17+ VfuncPadding [8]uintptr
18 18
19- SignalPadding uintptr19+ SignalPadding [8]uintptr
20 }20 }
21 21
22 func (x *DBusInterfaceSkeletonClass) GoPointer() uintptr {22 func (x *DBusInterfaceSkeletonClass) GoPointer() uintptr {
M v4/gio/gdbusobjectmanagerclient.go +3 -3
@@ -14,7 +14,7 @@ import (
14 type DBusObjectManagerClientClass struct {14 type DBusObjectManagerClientClass struct {
15 ParentClass uintptr15 ParentClass uintptr
16 16
17- Padding uintptr17+ Padding [8]uintptr
18 }18 }
19 19
20 func (x *DBusObjectManagerClientClass) GoPointer() uintptr {20 func (x *DBusObjectManagerClientClass) GoPointer() uintptr {
@@ -273,13 +273,13 @@ func (c *DBusObjectManagerClient) SetGoPointer(ptr uintptr) {
273 // This signal is emitted in the273 // This signal is emitted in the
274 // [thread-default main context][g-main-context-push-thread-default]274 // [thread-default main context][g-main-context-push-thread-default]
275 // that @manager was constructed in.275 // that @manager was constructed in.
276-func (x *DBusObjectManagerClient) ConnectInterfaceProxyPropertiesChanged(cb *func(DBusObjectManagerClient, uintptr, uintptr, uintptr, uintptr)) uint32 {276+func (x *DBusObjectManagerClient) ConnectInterfaceProxyPropertiesChanged(cb *func(DBusObjectManagerClient, uintptr, uintptr, uintptr, []string)) uint32 {
277 cbPtr := uintptr(unsafe.Pointer(cb))277 cbPtr := uintptr(unsafe.Pointer(cb))
278 if cbRefPtr, ok := glib.GetCallback(cbPtr); ok {278 if cbRefPtr, ok := glib.GetCallback(cbPtr); ok {
279 return gobject.SignalConnect(x.GoPointer(), "interface-proxy-properties-changed", cbRefPtr)279 return gobject.SignalConnect(x.GoPointer(), "interface-proxy-properties-changed", cbRefPtr)
280 }280 }
281 281
282- fcb := func(clsPtr uintptr, ObjectProxyVarp uintptr, InterfaceProxyVarp uintptr, ChangedPropertiesVarp uintptr, InvalidatedPropertiesVarp uintptr) {282+ fcb := func(clsPtr uintptr, ObjectProxyVarp uintptr, InterfaceProxyVarp uintptr, ChangedPropertiesVarp uintptr, InvalidatedPropertiesVarp []string) {
283 fa := DBusObjectManagerClient{}283 fa := DBusObjectManagerClient{}
284 fa.Ptr = clsPtr284 fa.Ptr = clsPtr
285 cbFn := *cb285 cbFn := *cb
M v4/gio/gdbusobjectmanagerserver.go +1 -1
@@ -14,7 +14,7 @@ import (
14 type DBusObjectManagerServerClass struct {14 type DBusObjectManagerServerClass struct {
15 ParentClass uintptr15 ParentClass uintptr
16 16
17- Padding uintptr17+ Padding [8]uintptr
18 }18 }
19 19
20 func (x *DBusObjectManagerServerClass) GoPointer() uintptr {20 func (x *DBusObjectManagerServerClass) GoPointer() uintptr {
M v4/gio/gdbusobjectproxy.go +1 -1
@@ -14,7 +14,7 @@ import (
14 type DBusObjectProxyClass struct {14 type DBusObjectProxyClass struct {
15 ParentClass uintptr15 ParentClass uintptr
16 16
17- Padding uintptr17+ Padding [8]uintptr
18 }18 }
19 19
20 func (x *DBusObjectProxyClass) GoPointer() uintptr {20 func (x *DBusObjectProxyClass) GoPointer() uintptr {
M v4/gio/gdbusobjectskeleton.go +1 -1
@@ -14,7 +14,7 @@ import (
14 type DBusObjectSkeletonClass struct {14 type DBusObjectSkeletonClass struct {
15 ParentClass uintptr15 ParentClass uintptr
16 16
17- Padding uintptr17+ Padding [8]uintptr
18 }18 }
19 19
20 func (x *DBusObjectSkeletonClass) GoPointer() uintptr {20 func (x *DBusObjectSkeletonClass) GoPointer() uintptr {
M v4/gio/gdbusproxy.go +5 -5
@@ -14,7 +14,7 @@ import (
14 type DBusProxyClass struct {14 type DBusProxyClass struct {
15 ParentClass uintptr15 ParentClass uintptr
16 16
17- Padding uintptr17+ Padding [32]uintptr
18 }18 }
19 19
20 func (x *DBusProxyClass) GoPointer() uintptr {20 func (x *DBusProxyClass) GoPointer() uintptr {
@@ -359,10 +359,10 @@ func (x *DBusProxy) GetCachedProperty(PropertyNameVar string) *glib.Variant {
359 return cret359 return cret
360 }360 }
361 361
362-var xDBusProxyGetCachedPropertyNames func(uintptr) uintptr362+var xDBusProxyGetCachedPropertyNames func(uintptr) []string
363 363
364 // Gets the names of all cached properties on @proxy.364 // Gets the names of all cached properties on @proxy.
365-func (x *DBusProxy) GetCachedPropertyNames() uintptr {365+func (x *DBusProxy) GetCachedPropertyNames() []string {
366 366
367 cret := xDBusProxyGetCachedPropertyNames(x.GoPointer())367 cret := xDBusProxyGetCachedPropertyNames(x.GoPointer())
368 return cret368 return cret
@@ -548,13 +548,13 @@ func (c *DBusProxy) SetGoPointer(ptr uintptr) {
548 // This signal corresponds to the548 // This signal corresponds to the
549 // `PropertiesChanged` D-Bus signal on the549 // `PropertiesChanged` D-Bus signal on the
550 // `org.freedesktop.DBus.Properties` interface.550 // `org.freedesktop.DBus.Properties` interface.
551-func (x *DBusProxy) ConnectGPropertiesChanged(cb *func(DBusProxy, uintptr, uintptr)) uint32 {551+func (x *DBusProxy) ConnectGPropertiesChanged(cb *func(DBusProxy, uintptr, []string)) uint32 {
552 cbPtr := uintptr(unsafe.Pointer(cb))552 cbPtr := uintptr(unsafe.Pointer(cb))
553 if cbRefPtr, ok := glib.GetCallback(cbPtr); ok {553 if cbRefPtr, ok := glib.GetCallback(cbPtr); ok {
554 return gobject.SignalConnect(x.GoPointer(), "g-properties-changed", cbRefPtr)554 return gobject.SignalConnect(x.GoPointer(), "g-properties-changed", cbRefPtr)
555 }555 }
556 556
557- fcb := func(clsPtr uintptr, ChangedPropertiesVarp uintptr, InvalidatedPropertiesVarp uintptr) {557+ fcb := func(clsPtr uintptr, ChangedPropertiesVarp uintptr, InvalidatedPropertiesVarp []string) {
558 fa := DBusProxy{}558 fa := DBusProxy{}
559 fa.Ptr = clsPtr559 fa.Ptr = clsPtr
560 cbFn := *cb560 cbFn := *cb
M v4/gio/gdbusutils.go +4 -4
@@ -17,7 +17,7 @@ func DbusEscapeObjectPath(SVar string) string {
17 return cret17 return cret
18 }18 }
19 19
20-var xDbusEscapeObjectPathBytestring func(uintptr) string20+var xDbusEscapeObjectPathBytestring func([]byte) string
21 21
22 // Escapes @bytes for use in a D-Bus object path component.22 // Escapes @bytes for use in a D-Bus object path component.
23 // @bytes is an array of zero or more nonzero bytes in an23 // @bytes is an array of zero or more nonzero bytes in an
@@ -35,7 +35,7 @@ var xDbusEscapeObjectPathBytestring func(uintptr) string
35 // D-Bus object paths.35 // D-Bus object paths.
36 //36 //
37 // This can be reversed with g_dbus_unescape_object_path().37 // This can be reversed with g_dbus_unescape_object_path().
38-func DbusEscapeObjectPathBytestring(BytesVar uintptr) string {38+func DbusEscapeObjectPathBytestring(BytesVar []byte) string {
39 39
40 cret := xDbusEscapeObjectPathBytestring(BytesVar)40 cret := xDbusEscapeObjectPathBytestring(BytesVar)
41 return cret41 return cret
@@ -176,7 +176,7 @@ func DbusIsUniqueName(StringVar string) bool {
176 return cret176 return cret
177 }177 }
178 178
179-var xDbusUnescapeObjectPath func(string) uintptr179+var xDbusUnescapeObjectPath func(string) []byte
180 180
181 // Unescapes an string that was previously escaped with181 // Unescapes an string that was previously escaped with
182 // g_dbus_escape_object_path(). If the string is in a format that could182 // g_dbus_escape_object_path(). If the string is in a format that could
@@ -186,7 +186,7 @@ var xDbusUnescapeObjectPath func(string) uintptr
186 // Encoding alphanumeric characters which do not need to be186 // Encoding alphanumeric characters which do not need to be
187 // encoded is not allowed (e.g `_63` is not valid, the string187 // encoded is not allowed (e.g `_63` is not valid, the string
188 // should contain `c` instead).188 // should contain `c` instead).
189-func DbusUnescapeObjectPath(SVar string) uintptr {189+func DbusUnescapeObjectPath(SVar string) []byte {
190 190
191 cret := xDbusUnescapeObjectPath(SVar)191 cret := xDbusUnescapeObjectPath(SVar)
192 return cret192 return cret
M v4/gio/gdebugcontrollerdbus.go +1 -1
@@ -14,7 +14,7 @@ import (
14 type DebugControllerDBusClass struct {14 type DebugControllerDBusClass struct {
15 ParentClass uintptr15 ParentClass uintptr
16 16
17- Padding uintptr17+ Padding [12]uintptr
18 }18 }
19 19
20 func (x *DebugControllerDBusClass) GoPointer() uintptr {20 func (x *DebugControllerDBusClass) GoPointer() uintptr {
M v4/gio/gdesktopappinfo.go +6 -6
@@ -218,10 +218,10 @@ func (x *DesktopAppInfo) GetIsHidden() bool {
218 return cret218 return cret
219 }219 }
220 220
221-var xDesktopAppInfoGetKeywords func(uintptr) uintptr221+var xDesktopAppInfoGetKeywords func(uintptr) []string
222 222
223 // Gets the keywords from the desktop file.223 // Gets the keywords from the desktop file.
224-func (x *DesktopAppInfo) GetKeywords() uintptr {224+func (x *DesktopAppInfo) GetKeywords() []string {
225 225
226 cret := xDesktopAppInfoGetKeywords(x.GoPointer())226 cret := xDesktopAppInfoGetKeywords(x.GoPointer())
227 return cret227 return cret
@@ -291,12 +291,12 @@ func (x *DesktopAppInfo) GetString(KeyVar string) string {
291 return cret291 return cret
292 }292 }
293 293
294-var xDesktopAppInfoGetStringList func(uintptr, string, uint) uintptr294+var xDesktopAppInfoGetStringList func(uintptr, string, uint) []string
295 295
296 // Looks up a string list value in the keyfile backing @info.296 // Looks up a string list value in the keyfile backing @info.
297 //297 //
298 // The @key is looked up in the "Desktop Entry" group.298 // The @key is looked up in the "Desktop Entry" group.
299-func (x *DesktopAppInfo) GetStringList(KeyVar string, LengthVar uint) uintptr {299+func (x *DesktopAppInfo) GetStringList(KeyVar string, LengthVar uint) []string {
300 300
301 cret := xDesktopAppInfoGetStringList(x.GoPointer(), KeyVar, LengthVar)301 cret := xDesktopAppInfoGetStringList(x.GoPointer(), KeyVar, LengthVar)
302 return cret302 return cret
@@ -382,14 +382,14 @@ func (x *DesktopAppInfo) LaunchUrisAsManagerWithFds(UrisVar *glib.List, LaunchCo
382 382
383 }383 }
384 384
385-var xDesktopAppInfoListActions func(uintptr) uintptr385+var xDesktopAppInfoListActions func(uintptr) []string
386 386
387 // Returns the list of "additional application actions" supported on the387 // Returns the list of "additional application actions" supported on the
388 // desktop file, as per the desktop file specification.388 // desktop file, as per the desktop file specification.
389 //389 //
390 // As per the specification, this is the list of actions that are390 // As per the specification, this is the list of actions that are
391 // explicitly listed in the "Actions" key of the [Desktop Entry] group.391 // explicitly listed in the "Actions" key of the [Desktop Entry] group.
392-func (x *DesktopAppInfo) ListActions() uintptr {392+func (x *DesktopAppInfo) ListActions() []string {
393 393
394 cret := xDesktopAppInfoListActions(x.GoPointer())394 cret := xDesktopAppInfoListActions(x.GoPointer())
395 return cret395 return cret
M v4/gio/gdtlsconnection.go +6 -6
@@ -46,7 +46,7 @@ type DtlsConnection interface {
46 CloseFinish(ResultVar AsyncResult) bool46 CloseFinish(ResultVar AsyncResult) bool
47 EmitAcceptCertificate(PeerCertVar *TlsCertificate, ErrorsVar TlsCertificateFlags) bool47 EmitAcceptCertificate(PeerCertVar *TlsCertificate, ErrorsVar TlsCertificateFlags) bool
48 GetCertificate() *TlsCertificate48 GetCertificate() *TlsCertificate
49- GetChannelBindingData(TypeVar TlsChannelBindingType, DataVar uintptr) bool49+ GetChannelBindingData(TypeVar TlsChannelBindingType, DataVar []byte) bool
50 GetCiphersuiteName() string50 GetCiphersuiteName() string
51 GetDatabase() *TlsDatabase51 GetDatabase() *TlsDatabase
52 GetInteraction() *TlsInteraction52 GetInteraction() *TlsInteraction
@@ -59,7 +59,7 @@ type DtlsConnection interface {
59 Handshake(CancellableVar *Cancellable) bool59 Handshake(CancellableVar *Cancellable) bool
60 HandshakeAsync(IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr)60 HandshakeAsync(IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr)
61 HandshakeFinish(ResultVar AsyncResult) bool61 HandshakeFinish(ResultVar AsyncResult) bool
62- SetAdvertisedProtocols(ProtocolsVar uintptr)62+ SetAdvertisedProtocols(ProtocolsVar []string)
63 SetCertificate(CertificateVar *TlsCertificate)63 SetCertificate(CertificateVar *TlsCertificate)
64 SetDatabase(DatabaseVar *TlsDatabase)64 SetDatabase(DatabaseVar *TlsDatabase)
65 SetInteraction(InteractionVar *TlsInteraction)65 SetInteraction(InteractionVar *TlsInteraction)
@@ -169,7 +169,7 @@ func (x *DtlsConnectionBase) GetCertificate() *TlsCertificate {
169 // will be available though. That could happen if TLS connection does not169 // will be available though. That could happen if TLS connection does not
170 // support @type or the binding data is not available yet due to additional170 // support @type or the binding data is not available yet due to additional
171 // negotiation or input required.171 // negotiation or input required.
172-func (x *DtlsConnectionBase) GetChannelBindingData(TypeVar TlsChannelBindingType, DataVar uintptr) (bool, error) {172+func (x *DtlsConnectionBase) GetChannelBindingData(TypeVar TlsChannelBindingType, DataVar []byte) (bool, error) {
173 var cerr *glib.Error173 var cerr *glib.Error
174 174
175 cret := XGDtlsConnectionGetChannelBindingData(x.GoPointer(), TypeVar, DataVar, &cerr)175 cret := XGDtlsConnectionGetChannelBindingData(x.GoPointer(), TypeVar, DataVar, &cerr)
@@ -361,7 +361,7 @@ func (x *DtlsConnectionBase) HandshakeFinish(ResultVar AsyncResult) (bool, error
361 //361 //
362 // See [IANA TLS ALPN Protocol IDs](https://www.iana.org/assignments/tls-extensiontype-values/tls-extensiontype-values.xhtml#alpn-protocol-ids)362 // See [IANA TLS ALPN Protocol IDs](https://www.iana.org/assignments/tls-extensiontype-values/tls-extensiontype-values.xhtml#alpn-protocol-ids)
363 // for a list of registered protocol IDs.363 // for a list of registered protocol IDs.
364-func (x *DtlsConnectionBase) SetAdvertisedProtocols(ProtocolsVar uintptr) {364+func (x *DtlsConnectionBase) SetAdvertisedProtocols(ProtocolsVar []string) {
365 365
366 XGDtlsConnectionSetAdvertisedProtocols(x.GoPointer(), ProtocolsVar)366 XGDtlsConnectionSetAdvertisedProtocols(x.GoPointer(), ProtocolsVar)
367 367
@@ -514,7 +514,7 @@ var XGDtlsConnectionCloseAsync func(uintptr, int, uintptr, uintptr, uintptr)
514 var XGDtlsConnectionCloseFinish func(uintptr, uintptr, **glib.Error) bool514 var XGDtlsConnectionCloseFinish func(uintptr, uintptr, **glib.Error) bool
515 var XGDtlsConnectionEmitAcceptCertificate func(uintptr, uintptr, TlsCertificateFlags) bool515 var XGDtlsConnectionEmitAcceptCertificate func(uintptr, uintptr, TlsCertificateFlags) bool
516 var XGDtlsConnectionGetCertificate func(uintptr) uintptr516 var XGDtlsConnectionGetCertificate func(uintptr) uintptr
517-var XGDtlsConnectionGetChannelBindingData func(uintptr, TlsChannelBindingType, uintptr, **glib.Error) bool517+var XGDtlsConnectionGetChannelBindingData func(uintptr, TlsChannelBindingType, []byte, **glib.Error) bool
518 var XGDtlsConnectionGetCiphersuiteName func(uintptr) string518 var XGDtlsConnectionGetCiphersuiteName func(uintptr) string
519 var XGDtlsConnectionGetDatabase func(uintptr) uintptr519 var XGDtlsConnectionGetDatabase func(uintptr) uintptr
520 var XGDtlsConnectionGetInteraction func(uintptr) uintptr520 var XGDtlsConnectionGetInteraction func(uintptr) uintptr
@@ -527,7 +527,7 @@ var XGDtlsConnectionGetRequireCloseNotify func(uintptr) bool
527 var XGDtlsConnectionHandshake func(uintptr, uintptr, **glib.Error) bool527 var XGDtlsConnectionHandshake func(uintptr, uintptr, **glib.Error) bool
528 var XGDtlsConnectionHandshakeAsync func(uintptr, int, uintptr, uintptr, uintptr)528 var XGDtlsConnectionHandshakeAsync func(uintptr, int, uintptr, uintptr, uintptr)
529 var XGDtlsConnectionHandshakeFinish func(uintptr, uintptr, **glib.Error) bool529 var XGDtlsConnectionHandshakeFinish func(uintptr, uintptr, **glib.Error) bool
530-var XGDtlsConnectionSetAdvertisedProtocols func(uintptr, uintptr)530+var XGDtlsConnectionSetAdvertisedProtocols func(uintptr, []string)
531 var XGDtlsConnectionSetCertificate func(uintptr, uintptr)531 var XGDtlsConnectionSetCertificate func(uintptr, uintptr)
532 var XGDtlsConnectionSetDatabase func(uintptr, uintptr)532 var XGDtlsConnectionSetDatabase func(uintptr, uintptr)
533 var XGDtlsConnectionSetInteraction func(uintptr, uintptr)533 var XGDtlsConnectionSetInteraction func(uintptr, uintptr)
M v4/gio/ginetaddress.go +2 -2
@@ -61,12 +61,12 @@ func NewInetAddressAny(FamilyVar SocketFamily) *InetAddress {
61 return cls61 return cls
62 }62 }
63 63
64-var xNewInetAddressFromBytes func(uintptr, SocketFamily) uintptr64+var xNewInetAddressFromBytes func([]byte, SocketFamily) uintptr
65 65
66 // Creates a new #GInetAddress from the given @family and @bytes.66 // Creates a new #GInetAddress from the given @family and @bytes.
67 // @bytes should be 4 bytes for %G_SOCKET_FAMILY_IPV4 and 16 bytes for67 // @bytes should be 4 bytes for %G_SOCKET_FAMILY_IPV4 and 16 bytes for
68 // %G_SOCKET_FAMILY_IPV6.68 // %G_SOCKET_FAMILY_IPV6.
69-func NewInetAddressFromBytes(BytesVar uintptr, FamilyVar SocketFamily) *InetAddress {69+func NewInetAddressFromBytes(BytesVar []byte, FamilyVar SocketFamily) *InetAddress {
70 var cls *InetAddress70 var cls *InetAddress
71 71
72 cret := xNewInetAddressFromBytes(BytesVar, FamilyVar)72 cret := xNewInetAddressFromBytes(BytesVar, FamilyVar)
M v4/gio/ginitable.go +3 -2
@@ -8,6 +8,7 @@ import (
8 "github.com/jwijenbergh/puregotk/internal/core"8 "github.com/jwijenbergh/puregotk/internal/core"
9 "github.com/jwijenbergh/puregotk/v4/glib"9 "github.com/jwijenbergh/puregotk/v4/glib"
10 "github.com/jwijenbergh/puregotk/v4/gobject"10 "github.com/jwijenbergh/puregotk/v4/gobject"
11+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
11 )12 )
12 13
13 // Provides an interface for initializing object such that initialization14 // Provides an interface for initializing object such that initialization
@@ -112,12 +113,12 @@ func (x *InitableBase) Init(CancellableVar *Cancellable) (bool, error) {
112 113
113 var XGInitableInit func(uintptr, uintptr, **glib.Error) bool114 var XGInitableInit func(uintptr, uintptr, **glib.Error) bool
114 115
115-var xInitableNewv func([]interface{}, uint, uintptr, uintptr, **glib.Error) uintptr116+var xInitableNewv func(types.GType, uint, []gobject.Parameter, uintptr, **glib.Error) uintptr
116 117
117 // Helper function for constructing #GInitable object. This is118 // Helper function for constructing #GInitable object. This is
118 // similar to g_object_newv() but also initializes the object119 // similar to g_object_newv() but also initializes the object
119 // and returns %NULL, setting an error on failure.120 // and returns %NULL, setting an error on failure.
120-func InitableNewv(ObjectTypeVar []interface{}, NParametersVar uint, ParametersVar uintptr, CancellableVar *Cancellable) (*gobject.Object, error) {121+func InitableNewv(ObjectTypeVar types.GType, NParametersVar uint, ParametersVar []gobject.Parameter, CancellableVar *Cancellable) (*gobject.Object, error) {
121 var cls *gobject.Object122 var cls *gobject.Object
122 var cerr *glib.Error123 var cerr *glib.Error
123 124
M v4/gio/ginputstream.go +8 -8
@@ -141,7 +141,7 @@ func (x *InputStream) IsClosed() bool {
141 return cret141 return cret
142 }142 }
143 143
144-var xInputStreamRead func(uintptr, uintptr, uint, uintptr, **glib.Error) int144+var xInputStreamRead func(uintptr, []byte, uint, uintptr, **glib.Error) int
145 145
146 // Tries to read @count bytes from the stream into the buffer starting at146 // Tries to read @count bytes from the stream into the buffer starting at
147 // @buffer. Will block during this read.147 // @buffer. Will block during this read.
@@ -164,7 +164,7 @@ var xInputStreamRead func(uintptr, uintptr, uint, uintptr, **glib.Error) int
164 // partial result will be returned, without an error.164 // partial result will be returned, without an error.
165 //165 //
166 // On error -1 is returned and @error is set accordingly.166 // On error -1 is returned and @error is set accordingly.
167-func (x *InputStream) Read(BufferVar uintptr, CountVar uint, CancellableVar *Cancellable) (int, error) {167+func (x *InputStream) Read(BufferVar []byte, CountVar uint, CancellableVar *Cancellable) (int, error) {
168 var cerr *glib.Error168 var cerr *glib.Error
169 169
170 cret := xInputStreamRead(x.GoPointer(), BufferVar, CountVar, CancellableVar.GoPointer(), &cerr)170 cret := xInputStreamRead(x.GoPointer(), BufferVar, CountVar, CancellableVar.GoPointer(), &cerr)
@@ -175,7 +175,7 @@ func (x *InputStream) Read(BufferVar uintptr, CountVar uint, CancellableVar *Can
175 175
176 }176 }
177 177
178-var xInputStreamReadAll func(uintptr, uintptr, uint, uint, uintptr, **glib.Error) bool178+var xInputStreamReadAll func(uintptr, []byte, uint, uint, uintptr, **glib.Error) bool
179 179
180 // Tries to read @count bytes from the stream into the buffer starting at180 // Tries to read @count bytes from the stream into the buffer starting at
181 // @buffer. Will block during this read.181 // @buffer. Will block during this read.
@@ -196,7 +196,7 @@ var xInputStreamReadAll func(uintptr, uintptr, uint, uint, uintptr, **glib.Error
196 // read before the error was encountered. This functionality is only196 // read before the error was encountered. This functionality is only
197 // available from C. If you need it from another language then you must197 // available from C. If you need it from another language then you must
198 // write your own loop around g_input_stream_read().198 // write your own loop around g_input_stream_read().
199-func (x *InputStream) ReadAll(BufferVar uintptr, CountVar uint, BytesReadVar uint, CancellableVar *Cancellable) (bool, error) {199+func (x *InputStream) ReadAll(BufferVar []byte, CountVar uint, BytesReadVar uint, CancellableVar *Cancellable) (bool, error) {
200 var cerr *glib.Error200 var cerr *glib.Error
201 201
202 cret := xInputStreamReadAll(x.GoPointer(), BufferVar, CountVar, BytesReadVar, CancellableVar.GoPointer(), &cerr)202 cret := xInputStreamReadAll(x.GoPointer(), BufferVar, CountVar, BytesReadVar, CancellableVar.GoPointer(), &cerr)
@@ -207,7 +207,7 @@ func (x *InputStream) ReadAll(BufferVar uintptr, CountVar uint, BytesReadVar uin
207 207
208 }208 }
209 209
210-var xInputStreamReadAllAsync func(uintptr, uintptr, uint, int, uintptr, uintptr, uintptr)210+var xInputStreamReadAllAsync func(uintptr, []byte, uint, int, uintptr, uintptr, uintptr)
211 211
212 // Request an asynchronous read of @count bytes from the stream into the212 // Request an asynchronous read of @count bytes from the stream into the
213 // buffer starting at @buffer.213 // buffer starting at @buffer.
@@ -219,7 +219,7 @@ var xInputStreamReadAllAsync func(uintptr, uintptr, uint, int, uintptr, uintptr,
219 // Any outstanding I/O request with higher priority (lower numerical219 // Any outstanding I/O request with higher priority (lower numerical
220 // value) will be executed before an outstanding request with lower220 // value) will be executed before an outstanding request with lower
221 // priority. Default priority is %G_PRIORITY_DEFAULT.221 // priority. Default priority is %G_PRIORITY_DEFAULT.
222-func (x *InputStream) ReadAllAsync(BufferVar uintptr, CountVar uint, IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) {222+func (x *InputStream) ReadAllAsync(BufferVar []byte, CountVar uint, IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) {
223 223
224 xInputStreamReadAllAsync(x.GoPointer(), BufferVar, CountVar, IoPriorityVar, CancellableVar.GoPointer(), glib.NewCallback(CallbackVar), UserDataVar)224 xInputStreamReadAllAsync(x.GoPointer(), BufferVar, CountVar, IoPriorityVar, CancellableVar.GoPointer(), glib.NewCallback(CallbackVar), UserDataVar)
225 225
@@ -247,7 +247,7 @@ func (x *InputStream) ReadAllFinish(ResultVar AsyncResult, BytesReadVar uint) (b
247 247
248 }248 }
249 249
250-var xInputStreamReadAsync func(uintptr, uintptr, uint, int, uintptr, uintptr, uintptr)250+var xInputStreamReadAsync func(uintptr, []byte, uint, int, uintptr, uintptr, uintptr)
251 251
252 // Request an asynchronous read of @count bytes from the stream into the buffer252 // Request an asynchronous read of @count bytes from the stream into the buffer
253 // starting at @buffer. When the operation is finished @callback will be called.253 // starting at @buffer. When the operation is finished @callback will be called.
@@ -272,7 +272,7 @@ var xInputStreamReadAsync func(uintptr, uintptr, uint, int, uintptr, uintptr, ui
272 // The asynchronous methods have a default fallback that uses threads to implement272 // The asynchronous methods have a default fallback that uses threads to implement
273 // asynchronicity, so they are optional for inheriting classes. However, if you273 // asynchronicity, so they are optional for inheriting classes. However, if you
274 // override one you must override all.274 // override one you must override all.
275-func (x *InputStream) ReadAsync(BufferVar uintptr, CountVar uint, IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) {275+func (x *InputStream) ReadAsync(BufferVar []byte, CountVar uint, IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) {
276 276
277 xInputStreamReadAsync(x.GoPointer(), BufferVar, CountVar, IoPriorityVar, CancellableVar.GoPointer(), glib.NewCallback(CallbackVar), UserDataVar)277 xInputStreamReadAsync(x.GoPointer(), BufferVar, CountVar, IoPriorityVar, CancellableVar.GoPointer(), glib.NewCallback(CallbackVar), UserDataVar)
278 278
M v4/gio/gio-2.0.go +15 -15
@@ -484,7 +484,7 @@ func (x *DBusActionGroup) HasAction(ActionNameVar string) bool {
484 //484 //
485 // The caller is responsible for freeing the list with g_strfreev() when485 // The caller is responsible for freeing the list with g_strfreev() when
486 // it is no longer required.486 // it is no longer required.
487-func (x *DBusActionGroup) ListActions() uintptr {487+func (x *DBusActionGroup) ListActions() []string {
488 488
489 cret := XGActionGroupListActions(x.GoPointer())489 cret := XGActionGroupListActions(x.GoPointer())
490 return cret490 return cret
@@ -2179,7 +2179,7 @@ func NewDBusMessage() *DBusMessage {
2179 return cls2179 return cls
2180 }2180 }
2181 2181
2182-var xNewDBusMessageFromBlob func(uintptr, uint, DBusCapabilityFlags, **glib.Error) uintptr2182+var xNewDBusMessageFromBlob func([]byte, uint, DBusCapabilityFlags, **glib.Error) uintptr
2183 2183
2184 // Creates a new #GDBusMessage from the data stored at @blob. The byte2184 // Creates a new #GDBusMessage from the data stored at @blob. The byte
2185 // order that the message was in can be retrieved using2185 // order that the message was in can be retrieved using
@@ -2187,7 +2187,7 @@ var xNewDBusMessageFromBlob func(uintptr, uint, DBusCapabilityFlags, **glib.Erro
2187 //2187 //
2188 // If the @blob cannot be parsed, contains invalid fields, or contains invalid2188 // If the @blob cannot be parsed, contains invalid fields, or contains invalid
2189 // headers, %G_IO_ERROR_INVALID_ARGUMENT will be returned.2189 // headers, %G_IO_ERROR_INVALID_ARGUMENT will be returned.
2190-func NewDBusMessageFromBlob(BlobVar uintptr, BlobLenVar uint, CapabilitiesVar DBusCapabilityFlags) (*DBusMessage, error) {2190+func NewDBusMessageFromBlob(BlobVar []byte, BlobLenVar uint, CapabilitiesVar DBusCapabilityFlags) (*DBusMessage, error) {
2191 var cls *DBusMessage2191 var cls *DBusMessage
2192 var cerr *glib.Error2192 var cerr *glib.Error
2193 2193
@@ -2329,10 +2329,10 @@ func (x *DBusMessage) GetHeader(HeaderFieldVar DBusMessageHeaderField) *glib.Var
2329 return cret2329 return cret
2330 }2330 }
2331 2331
2332-var xDBusMessageGetHeaderFields func(uintptr) uintptr2332+var xDBusMessageGetHeaderFields func(uintptr) []byte
2333 2333
2334 // Gets an array of all header fields on @message that are set.2334 // Gets an array of all header fields on @message that are set.
2335-func (x *DBusMessage) GetHeaderFields() uintptr {2335+func (x *DBusMessage) GetHeaderFields() []byte {
2336 2336
2337 cret := xDBusMessageGetHeaderFields(x.GoPointer())2337 cret := xDBusMessageGetHeaderFields(x.GoPointer())
2338 return cret2338 return cret
@@ -2738,11 +2738,11 @@ func (x *DBusMessage) SetUnixFdList(FdListVar *UnixFDList) {
2738 2738
2739 }2739 }
2740 2740
2741-var xDBusMessageToBlob func(uintptr, uint, DBusCapabilityFlags, **glib.Error) uintptr2741+var xDBusMessageToBlob func(uintptr, uint, DBusCapabilityFlags, **glib.Error) []byte
2742 2742
2743 // Serializes @message to a blob. The byte order returned by2743 // Serializes @message to a blob. The byte order returned by
2744 // g_dbus_message_get_byte_order() will be used.2744 // g_dbus_message_get_byte_order() will be used.
2745-func (x *DBusMessage) ToBlob(OutSizeVar uint, CapabilitiesVar DBusCapabilityFlags) (uintptr, error) {2745+func (x *DBusMessage) ToBlob(OutSizeVar uint, CapabilitiesVar DBusCapabilityFlags) ([]byte, error) {
2746 var cerr *glib.Error2746 var cerr *glib.Error
2747 2747
2748 cret := xDBusMessageToBlob(x.GoPointer(), OutSizeVar, CapabilitiesVar, &cerr)2748 cret := xDBusMessageToBlob(x.GoPointer(), OutSizeVar, CapabilitiesVar, &cerr)
@@ -2781,11 +2781,11 @@ func (c *DBusMessage) SetGoPointer(ptr uintptr) {
2781 c.Ptr = ptr2781 c.Ptr = ptr
2782 }2782 }
2783 2783
2784-var xDBusMessageBytesNeeded func(uintptr, uint, **glib.Error) int2784+var xDBusMessageBytesNeeded func([]byte, uint, **glib.Error) int
2785 2785
2786 // Utility function to calculate how many bytes are needed to2786 // Utility function to calculate how many bytes are needed to
2787 // completely deserialize the D-Bus message stored at @blob.2787 // completely deserialize the D-Bus message stored at @blob.
2788-func DBusMessageBytesNeeded(BlobVar uintptr, BlobLenVar uint) (int, error) {2788+func DBusMessageBytesNeeded(BlobVar []byte, BlobLenVar uint) (int, error) {
2789 var cerr *glib.Error2789 var cerr *glib.Error
2790 2790
2791 cret := xDBusMessageBytesNeeded(BlobVar, BlobLenVar, &cerr)2791 cret := xDBusMessageBytesNeeded(BlobVar, BlobLenVar, &cerr)
@@ -4929,12 +4929,12 @@ func NewSubprocess(FlagsVar SubprocessFlags, ErrorVar **glib.Error, Argv0Var str
4929 return cls4929 return cls
4930 }4930 }
4931 4931
4932-var xNewSubprocessv func(uintptr, SubprocessFlags, **glib.Error) uintptr4932+var xNewSubprocessv func([]string, SubprocessFlags, **glib.Error) uintptr
4933 4933
4934 // Create a new process with the given flags and argument list.4934 // Create a new process with the given flags and argument list.
4935 //4935 //
4936 // The argument list is expected to be %NULL-terminated.4936 // The argument list is expected to be %NULL-terminated.
4937-func NewSubprocessv(ArgvVar uintptr, FlagsVar SubprocessFlags) (*Subprocess, error) {4937+func NewSubprocessv(ArgvVar []string, FlagsVar SubprocessFlags) (*Subprocess, error) {
4938 var cls *Subprocess4938 var cls *Subprocess
4939 var cerr *glib.Error4939 var cerr *glib.Error
4940 4940
@@ -5519,7 +5519,7 @@ func (x *SubprocessLauncher) SetCwd(CwdVar string) {
5519 5519
5520 }5520 }
5521 5521
5522-var xSubprocessLauncherSetEnviron func(uintptr, uintptr)5522+var xSubprocessLauncherSetEnviron func(uintptr, []string)
5523 5523
5524 // Replace the entire environment of processes launched from this5524 // Replace the entire environment of processes launched from this
5525 // launcher with the given 'environ' variable.5525 // launcher with the given 'environ' variable.
@@ -5540,7 +5540,7 @@ var xSubprocessLauncherSetEnviron func(uintptr, uintptr)
5540 //5540 //
5541 // On UNIX, all strings in this array can be arbitrary byte strings.5541 // On UNIX, all strings in this array can be arbitrary byte strings.
5542 // On Windows, they should be in UTF-8.5542 // On Windows, they should be in UTF-8.
5543-func (x *SubprocessLauncher) SetEnviron(EnvVar uintptr) {5543+func (x *SubprocessLauncher) SetEnviron(EnvVar []string) {
5544 5544
5545 xSubprocessLauncherSetEnviron(x.GoPointer(), EnvVar)5545 xSubprocessLauncherSetEnviron(x.GoPointer(), EnvVar)
5546 5546
@@ -5655,10 +5655,10 @@ func (x *SubprocessLauncher) Spawn(ErrorVar **glib.Error, Argv0Var string, varAr
5655 return cls5655 return cls
5656 }5656 }
5657 5657
5658-var xSubprocessLauncherSpawnv func(uintptr, uintptr, **glib.Error) uintptr5658+var xSubprocessLauncherSpawnv func(uintptr, []string, **glib.Error) uintptr
5659 5659
5660 // Creates a #GSubprocess given a provided array of arguments.5660 // Creates a #GSubprocess given a provided array of arguments.
5661-func (x *SubprocessLauncher) Spawnv(ArgvVar uintptr) (*Subprocess, error) {5661+func (x *SubprocessLauncher) Spawnv(ArgvVar []string) (*Subprocess, error) {
5662 var cls *Subprocess5662 var cls *Subprocess
5663 var cerr *glib.Error5663 var cerr *glib.Error
5664 5664
M v4/gio/giomodule.go +5 -4
@@ -8,6 +8,7 @@ import (
8 "github.com/jwijenbergh/puregotk/internal/core"8 "github.com/jwijenbergh/puregotk/internal/core"
9 "github.com/jwijenbergh/puregotk/v4/glib"9 "github.com/jwijenbergh/puregotk/v4/glib"
10 "github.com/jwijenbergh/puregotk/v4/gobject"10 "github.com/jwijenbergh/puregotk/v4/gobject"
11+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
11 )12 )
12 13
13 type IOModuleClass struct {14 type IOModuleClass struct {
@@ -49,14 +50,14 @@ func (x *IOModuleScope) Free() {
49 50
50 }51 }
51 52
52-var xIoExtensionPointImplement func(string, []interface{}, string, int) *IOExtension53+var xIoExtensionPointImplement func(string, types.GType, string, int) *IOExtension
53 54
54 // Registers @type as extension for the extension point with name55 // Registers @type as extension for the extension point with name
55 // @extension_point_name.56 // @extension_point_name.
56 //57 //
57 // If @type has already been registered as an extension for this58 // If @type has already been registered as an extension for this
58 // extension point, the existing #GIOExtension object is returned.59 // extension point, the existing #GIOExtension object is returned.
59-func IoExtensionPointImplement(ExtensionPointNameVar string, TypeVar []interface{}, ExtensionNameVar string, PriorityVar int) *IOExtension {60+func IoExtensionPointImplement(ExtensionPointNameVar string, TypeVar types.GType, ExtensionNameVar string, PriorityVar int) *IOExtension {
60 61
61 cret := xIoExtensionPointImplement(ExtensionPointNameVar, TypeVar, ExtensionNameVar, PriorityVar)62 cret := xIoExtensionPointImplement(ExtensionPointNameVar, TypeVar, ExtensionNameVar, PriorityVar)
62 return cret63 return cret
@@ -226,7 +227,7 @@ func (c *IOModule) SetGoPointer(ptr uintptr) {
226 // Calls the @complete_interface_info function from the227 // Calls the @complete_interface_info function from the
227 // #GTypePluginClass of @plugin. There should be no need to use this228 // #GTypePluginClass of @plugin. There should be no need to use this
228 // function outside of the GObject type system itself.229 // function outside of the GObject type system itself.
229-func (x *IOModule) CompleteInterfaceInfo(InstanceTypeVar []interface{}, InterfaceTypeVar []interface{}, InfoVar *gobject.InterfaceInfo) {230+func (x *IOModule) CompleteInterfaceInfo(InstanceTypeVar types.GType, InterfaceTypeVar types.GType, InfoVar *gobject.InterfaceInfo) {
230 231
231 gobject.XGTypePluginCompleteInterfaceInfo(x.GoPointer(), InstanceTypeVar, InterfaceTypeVar, InfoVar)232 gobject.XGTypePluginCompleteInterfaceInfo(x.GoPointer(), InstanceTypeVar, InterfaceTypeVar, InfoVar)
232 233
@@ -235,7 +236,7 @@ func (x *IOModule) CompleteInterfaceInfo(InstanceTypeVar []interface{}, Interfac
235 // Calls the @complete_type_info function from the #GTypePluginClass of @plugin.236 // Calls the @complete_type_info function from the #GTypePluginClass of @plugin.
236 // There should be no need to use this function outside of the GObject237 // There should be no need to use this function outside of the GObject
237 // type system itself.238 // type system itself.
238-func (x *IOModule) CompleteTypeInfo(GTypeVar []interface{}, InfoVar *gobject.TypeInfo, ValueTableVar *gobject.TypeValueTable) {239+func (x *IOModule) CompleteTypeInfo(GTypeVar types.GType, InfoVar *gobject.TypeInfo, ValueTableVar *gobject.TypeValueTable) {
239 240
240 gobject.XGTypePluginCompleteTypeInfo(x.GoPointer(), GTypeVar, InfoVar, ValueTableVar)241 gobject.XGTypePluginCompleteTypeInfo(x.GoPointer(), GTypeVar, InfoVar, ValueTableVar)
241 242
M v4/gio/giotypes.go +9 -8
@@ -8,6 +8,7 @@ import (
8 "github.com/jwijenbergh/puregotk/internal/core"8 "github.com/jwijenbergh/puregotk/internal/core"
9 "github.com/jwijenbergh/puregotk/v4/glib"9 "github.com/jwijenbergh/puregotk/v4/glib"
10 "github.com/jwijenbergh/puregotk/v4/gobject"10 "github.com/jwijenbergh/puregotk/v4/gobject"
11+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
11 )12 )
12 13
13 // Type definition for a function that will be called back when an asynchronous14 // Type definition for a function that will be called back when an asynchronous
@@ -35,7 +36,7 @@ type CancellableSourceFunc func(uintptr, uintptr) bool
35 // This function is called in the36 // This function is called in the
36 // [thread-default main loop][g-main-context-push-thread-default]37 // [thread-default main loop][g-main-context-push-thread-default]
37 // that @manager was constructed in.38 // that @manager was constructed in.
38-type DBusProxyTypeFunc func(uintptr, string, string, uintptr) []interface{}39+type DBusProxyTypeFunc func(uintptr, string, string, uintptr) types.GType
39 40
40 // This is the function type of the callback used for the #GSource41 // This is the function type of the callback used for the #GSource
41 // returned by g_datagram_based_create_source().42 // returned by g_datagram_based_create_source().
@@ -256,10 +257,10 @@ func (x *IOExtension) GetPriority() int {
256 return cret257 return cret
257 }258 }
258 259
259-var xIOExtensionGetType func(uintptr) []interface{}260+var xIOExtensionGetType func(uintptr) types.GType
260 261
261 // Gets the type associated with @extension.262 // Gets the type associated with @extension.
262-func (x *IOExtension) GetType() []interface{} {263+func (x *IOExtension) GetType() types.GType {
263 264
264 cret := xIOExtensionGetType(x.GoPointer())265 cret := xIOExtensionGetType(x.GoPointer())
265 return cret266 return cret
@@ -303,20 +304,20 @@ func (x *IOExtensionPoint) GetExtensions() *glib.List {
303 return cret304 return cret
304 }305 }
305 306
306-var xIOExtensionPointGetRequiredType func(uintptr) []interface{}307+var xIOExtensionPointGetRequiredType func(uintptr) types.GType
307 308
308 // Gets the required type for @extension_point.309 // Gets the required type for @extension_point.
309-func (x *IOExtensionPoint) GetRequiredType() []interface{} {310+func (x *IOExtensionPoint) GetRequiredType() types.GType {
310 311
311 cret := xIOExtensionPointGetRequiredType(x.GoPointer())312 cret := xIOExtensionPointGetRequiredType(x.GoPointer())
312 return cret313 return cret
313 }314 }
314 315
315-var xIOExtensionPointSetRequiredType func(uintptr, []interface{})316+var xIOExtensionPointSetRequiredType func(uintptr, types.GType)
316 317
317 // Sets the required type for @extension_point to @type.318 // Sets the required type for @extension_point to @type.
318 // All implementations must henceforth have this type.319 // All implementations must henceforth have this type.
319-func (x *IOExtensionPoint) SetRequiredType(TypeVar []interface{}) {320+func (x *IOExtensionPoint) SetRequiredType(TypeVar types.GType) {
320 321
321 xIOExtensionPointSetRequiredType(x.GoPointer(), TypeVar)322 xIOExtensionPointSetRequiredType(x.GoPointer(), TypeVar)
322 323
@@ -387,7 +388,7 @@ func (x *IOStreamAdapter) GoPointer() uintptr {
387 type InputMessage struct {388 type InputMessage struct {
388 Address **SocketAddress389 Address **SocketAddress
389 390
390- Vectors uintptr391+ Vectors []InputVector
391 392
392 NumVectors uint393 NumVectors uint
393 394
M v4/gio/glistmodel.go +4 -3
@@ -7,6 +7,7 @@ import (
7 "github.com/jwijenbergh/purego"7 "github.com/jwijenbergh/purego"
8 "github.com/jwijenbergh/puregotk/internal/core"8 "github.com/jwijenbergh/puregotk/internal/core"
9 "github.com/jwijenbergh/puregotk/v4/gobject"9 "github.com/jwijenbergh/puregotk/v4/gobject"
10+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
10 )11 )
11 12
12 // The virtual function table for #GListModel.13 // The virtual function table for #GListModel.
@@ -69,7 +70,7 @@ type ListModel interface {
69 GoPointer() uintptr70 GoPointer() uintptr
70 SetGoPointer(uintptr)71 SetGoPointer(uintptr)
71 GetItem(PositionVar uint) uintptr72 GetItem(PositionVar uint) uintptr
72- GetItemType() []interface{}73+ GetItemType() types.GType
73 GetNItems() uint74 GetNItems() uint
74 GetObject(PositionVar uint) *gobject.Object75 GetObject(PositionVar uint) *gobject.Object
75 ItemsChanged(PositionVar uint, RemovedVar uint, AddedVar uint)76 ItemsChanged(PositionVar uint, RemovedVar uint, AddedVar uint)
@@ -109,7 +110,7 @@ func (x *ListModelBase) GetItem(PositionVar uint) uintptr {
109 //110 //
110 // The item type of a #GListModel can not change during the life of the111 // The item type of a #GListModel can not change during the life of the
111 // model.112 // model.
112-func (x *ListModelBase) GetItemType() []interface{} {113+func (x *ListModelBase) GetItemType() types.GType {
113 114
114 cret := XGListModelGetItemType(x.GoPointer())115 cret := XGListModelGetItemType(x.GoPointer())
115 return cret116 return cret
@@ -178,7 +179,7 @@ func (x *ListModelBase) ItemsChanged(PositionVar uint, RemovedVar uint, AddedVar
178 }179 }
179 180
180 var XGListModelGetItem func(uintptr, uint) uintptr181 var XGListModelGetItem func(uintptr, uint) uintptr
181-var XGListModelGetItemType func(uintptr) []interface{}182+var XGListModelGetItemType func(uintptr) types.GType
182 var XGListModelGetNItems func(uintptr) uint183 var XGListModelGetNItems func(uintptr) uint
183 var XGListModelGetObject func(uintptr, uint) uintptr184 var XGListModelGetObject func(uintptr, uint) uintptr
184 var XGListModelItemsChanged func(uintptr, uint, uint, uint)185 var XGListModelItemsChanged func(uintptr, uint, uint, uint)
M v4/gio/gliststore.go +6 -5
@@ -8,6 +8,7 @@ import (
8 "github.com/jwijenbergh/puregotk/internal/core"8 "github.com/jwijenbergh/puregotk/internal/core"
9 "github.com/jwijenbergh/puregotk/v4/glib"9 "github.com/jwijenbergh/puregotk/v4/glib"
10 "github.com/jwijenbergh/puregotk/v4/gobject"10 "github.com/jwijenbergh/puregotk/v4/gobject"
11+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
11 )12 )
12 13
13 type ListStoreClass struct {14 type ListStoreClass struct {
@@ -33,11 +34,11 @@ func ListStoreNewFromInternalPtr(ptr uintptr) *ListStore {
33 return cls34 return cls
34 }35 }
35 36
36-var xNewListStore func([]interface{}) uintptr37+var xNewListStore func(types.GType) uintptr
37 38
38 // Creates a new #GListStore with items of type @item_type. @item_type39 // Creates a new #GListStore with items of type @item_type. @item_type
39 // must be a subclass of #GObject.40 // must be a subclass of #GObject.
40-func NewListStore(ItemTypeVar []interface{}) *ListStore {41+func NewListStore(ItemTypeVar types.GType) *ListStore {
41 var cls *ListStore42 var cls *ListStore
42 43
43 cret := xNewListStore(ItemTypeVar)44 cret := xNewListStore(ItemTypeVar)
@@ -153,7 +154,7 @@ func (x *ListStore) Sort(CompareFuncVar *glib.CompareDataFunc, UserDataVar uintp
153 154
154 }155 }
155 156
156-var xListStoreSplice func(uintptr, uint, uint, uintptr, uint)157+var xListStoreSplice func(uintptr, uint, uint, []gobject.Object, uint)
157 158
158 // Changes @store by removing @n_removals items and adding @n_additions159 // Changes @store by removing @n_removals items and adding @n_additions
159 // items to it. @additions must contain @n_additions items of type160 // items to it. @additions must contain @n_additions items of type
@@ -168,7 +169,7 @@ var xListStoreSplice func(uintptr, uint, uint, uintptr, uint)
168 // The parameters @position and @n_removals must be correct (ie:169 // The parameters @position and @n_removals must be correct (ie:
169 // @position + @n_removals must be less than or equal to the length of170 // @position + @n_removals must be less than or equal to the length of
170 // the list at the time this function is called).171 // the list at the time this function is called).
171-func (x *ListStore) Splice(PositionVar uint, NRemovalsVar uint, AdditionsVar uintptr, NAdditionsVar uint) {172+func (x *ListStore) Splice(PositionVar uint, NRemovalsVar uint, AdditionsVar []gobject.Object, NAdditionsVar uint) {
172 173
173 xListStoreSplice(x.GoPointer(), PositionVar, NRemovalsVar, AdditionsVar, NAdditionsVar)174 xListStoreSplice(x.GoPointer(), PositionVar, NRemovalsVar, AdditionsVar, NAdditionsVar)
174 175
@@ -205,7 +206,7 @@ func (x *ListStore) GetItem(PositionVar uint) uintptr {
205 //206 //
206 // The item type of a #GListModel can not change during the life of the207 // The item type of a #GListModel can not change during the life of the
207 // model.208 // model.
208-func (x *ListStore) GetItemType() []interface{} {209+func (x *ListStore) GetItemType() types.GType {
209 210
210 cret := XGListModelGetItemType(x.GoPointer())211 cret := XGListModelGetItemType(x.GoPointer())
211 return cret212 return cret
M v4/gio/gmemoryinputstream.go +5 -5
@@ -71,10 +71,10 @@ func NewMemoryInputStreamFromBytes(BytesVar *glib.Bytes) *MemoryInputStream {
71 return cls71 return cls
72 }72 }
73 73
74-var xNewMemoryInputStreamFromData func(uintptr, int, uintptr) uintptr74+var xNewMemoryInputStreamFromData func([]byte, int, uintptr) uintptr
75 75
76 // Creates a new #GMemoryInputStream with data in memory of a given size.76 // Creates a new #GMemoryInputStream with data in memory of a given size.
77-func NewMemoryInputStreamFromData(DataVar uintptr, LenVar int, DestroyVar *glib.DestroyNotify) *MemoryInputStream {77+func NewMemoryInputStreamFromData(DataVar []byte, LenVar int, DestroyVar *glib.DestroyNotify) *MemoryInputStream {
78 var cls *MemoryInputStream78 var cls *MemoryInputStream
79 79
80 cret := xNewMemoryInputStreamFromData(DataVar, LenVar, glib.NewCallback(DestroyVar))80 cret := xNewMemoryInputStreamFromData(DataVar, LenVar, glib.NewCallback(DestroyVar))
@@ -96,10 +96,10 @@ func (x *MemoryInputStream) AddBytes(BytesVar *glib.Bytes) {
96 96
97 }97 }
98 98
99-var xMemoryInputStreamAddData func(uintptr, uintptr, int, uintptr)99+var xMemoryInputStreamAddData func(uintptr, []byte, int, uintptr)
100 100
101 // Appends @data to data that can be read from the input stream101 // Appends @data to data that can be read from the input stream
102-func (x *MemoryInputStream) AddData(DataVar uintptr, LenVar int, DestroyVar *glib.DestroyNotify) {102+func (x *MemoryInputStream) AddData(DataVar []byte, LenVar int, DestroyVar *glib.DestroyNotify) {
103 103
104 xMemoryInputStreamAddData(x.GoPointer(), DataVar, LenVar, glib.NewCallback(DestroyVar))104 xMemoryInputStreamAddData(x.GoPointer(), DataVar, LenVar, glib.NewCallback(DestroyVar))
105 105
@@ -165,7 +165,7 @@ func (x *MemoryInputStream) IsReadable() bool {
165 // if @cancellable has already been cancelled when you call, which165 // if @cancellable has already been cancelled when you call, which
166 // may happen if you call this method after a source triggers due166 // may happen if you call this method after a source triggers due
167 // to having been cancelled.167 // to having been cancelled.
168-func (x *MemoryInputStream) ReadNonblocking(BufferVar uintptr, CountVar uint, CancellableVar *Cancellable) (int, error) {168+func (x *MemoryInputStream) ReadNonblocking(BufferVar []byte, CountVar uint, CancellableVar *Cancellable) (int, error) {
169 var cerr *glib.Error169 var cerr *glib.Error
170 170
171 cret := XGPollableInputStreamReadNonblocking(x.GoPointer(), BufferVar, CountVar, CancellableVar.GoPointer(), &cerr)171 cret := XGPollableInputStreamReadNonblocking(x.GoPointer(), BufferVar, CountVar, CancellableVar.GoPointer(), &cerr)
M v4/gio/gmemoryoutputstream.go +2 -2
@@ -251,7 +251,7 @@ func (x *MemoryOutputStream) IsWritable() bool {
251 // Also note that if %G_IO_ERROR_WOULD_BLOCK is returned some underlying251 // Also note that if %G_IO_ERROR_WOULD_BLOCK is returned some underlying
252 // transports like D/TLS require that you re-send the same @buffer and252 // transports like D/TLS require that you re-send the same @buffer and
253 // @count in the next write call.253 // @count in the next write call.
254-func (x *MemoryOutputStream) WriteNonblocking(BufferVar uintptr, CountVar uint, CancellableVar *Cancellable) (int, error) {254+func (x *MemoryOutputStream) WriteNonblocking(BufferVar []byte, CountVar uint, CancellableVar *Cancellable) (int, error) {
255 var cerr *glib.Error255 var cerr *glib.Error
256 256
257 cret := XGPollableOutputStreamWriteNonblocking(x.GoPointer(), BufferVar, CountVar, CancellableVar.GoPointer(), &cerr)257 cret := XGPollableOutputStreamWriteNonblocking(x.GoPointer(), BufferVar, CountVar, CancellableVar.GoPointer(), &cerr)
@@ -278,7 +278,7 @@ func (x *MemoryOutputStream) WriteNonblocking(BufferVar uintptr, CountVar uint,
278 // Also note that if %G_POLLABLE_RETURN_WOULD_BLOCK is returned some underlying278 // Also note that if %G_POLLABLE_RETURN_WOULD_BLOCK is returned some underlying
279 // transports like D/TLS require that you re-send the same @vectors and279 // transports like D/TLS require that you re-send the same @vectors and
280 // @n_vectors in the next write call.280 // @n_vectors in the next write call.
281-func (x *MemoryOutputStream) WritevNonblocking(VectorsVar uintptr, NVectorsVar uint, BytesWrittenVar uint, CancellableVar *Cancellable) (PollableReturn, error) {281+func (x *MemoryOutputStream) WritevNonblocking(VectorsVar []OutputVector, NVectorsVar uint, BytesWrittenVar uint, CancellableVar *Cancellable) (PollableReturn, error) {
282 var cerr *glib.Error282 var cerr *glib.Error
283 283
284 cret := XGPollableOutputStreamWritevNonblocking(x.GoPointer(), VectorsVar, NVectorsVar, BytesWrittenVar, CancellableVar.GoPointer(), &cerr)284 cret := XGPollableOutputStreamWritevNonblocking(x.GoPointer(), VectorsVar, NVectorsVar, BytesWrittenVar, CancellableVar.GoPointer(), &cerr)
M v4/gio/gmount.go +6 -6
@@ -56,8 +56,8 @@ type Mount interface {
56 GetUuid() string56 GetUuid() string
57 GetVolume() *VolumeBase57 GetVolume() *VolumeBase
58 GuessContentType(ForceRescanVar bool, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr)58 GuessContentType(ForceRescanVar bool, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr)
59- GuessContentTypeFinish(ResultVar AsyncResult) uintptr59+ GuessContentTypeFinish(ResultVar AsyncResult) []string
60- GuessContentTypeSync(ForceRescanVar bool, CancellableVar *Cancellable) uintptr60+ GuessContentTypeSync(ForceRescanVar bool, CancellableVar *Cancellable) []string
61 IsShadowed() bool61 IsShadowed() bool
62 Remount(FlagsVar MountMountFlags, MountOperationVar *MountOperation, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr)62 Remount(FlagsVar MountMountFlags, MountOperationVar *MountOperation, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr)
63 RemountFinish(ResultVar AsyncResult) bool63 RemountFinish(ResultVar AsyncResult) bool
@@ -273,7 +273,7 @@ func (x *MountBase) GuessContentType(ForceRescanVar bool, CancellableVar *Cancel
273 // %FALSE will be returned. In particular, you may get an273 // %FALSE will be returned. In particular, you may get an
274 // %G_IO_ERROR_NOT_SUPPORTED if the mount does not support content274 // %G_IO_ERROR_NOT_SUPPORTED if the mount does not support content
275 // guessing.275 // guessing.
276-func (x *MountBase) GuessContentTypeFinish(ResultVar AsyncResult) (uintptr, error) {276+func (x *MountBase) GuessContentTypeFinish(ResultVar AsyncResult) ([]string, error) {
277 var cerr *glib.Error277 var cerr *glib.Error
278 278
279 cret := XGMountGuessContentTypeFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)279 cret := XGMountGuessContentTypeFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)
@@ -293,7 +293,7 @@ func (x *MountBase) GuessContentTypeFinish(ResultVar AsyncResult) (uintptr, erro
293 //293 //
294 // This is a synchronous operation and as such may block doing IO;294 // This is a synchronous operation and as such may block doing IO;
295 // see g_mount_guess_content_type() for the asynchronous version.295 // see g_mount_guess_content_type() for the asynchronous version.
296-func (x *MountBase) GuessContentTypeSync(ForceRescanVar bool, CancellableVar *Cancellable) (uintptr, error) {296+func (x *MountBase) GuessContentTypeSync(ForceRescanVar bool, CancellableVar *Cancellable) ([]string, error) {
297 var cerr *glib.Error297 var cerr *glib.Error
298 298
299 cret := XGMountGuessContentTypeSync(x.GoPointer(), ForceRescanVar, CancellableVar.GoPointer(), &cerr)299 cret := XGMountGuessContentTypeSync(x.GoPointer(), ForceRescanVar, CancellableVar.GoPointer(), &cerr)
@@ -441,8 +441,8 @@ var XGMountGetSymbolicIcon func(uintptr) uintptr
441 var XGMountGetUuid func(uintptr) string441 var XGMountGetUuid func(uintptr) string
442 var XGMountGetVolume func(uintptr) uintptr442 var XGMountGetVolume func(uintptr) uintptr
443 var XGMountGuessContentType func(uintptr, bool, uintptr, uintptr, uintptr)443 var XGMountGuessContentType func(uintptr, bool, uintptr, uintptr, uintptr)
444-var XGMountGuessContentTypeFinish func(uintptr, uintptr, **glib.Error) uintptr444+var XGMountGuessContentTypeFinish func(uintptr, uintptr, **glib.Error) []string
445-var XGMountGuessContentTypeSync func(uintptr, bool, uintptr, **glib.Error) uintptr445+var XGMountGuessContentTypeSync func(uintptr, bool, uintptr, **glib.Error) []string
446 var XGMountIsShadowed func(uintptr) bool446 var XGMountIsShadowed func(uintptr) bool
447 var XGMountRemount func(uintptr, MountMountFlags, uintptr, uintptr, uintptr, uintptr)447 var XGMountRemount func(uintptr, MountMountFlags, uintptr, uintptr, uintptr, uintptr)
448 var XGMountRemountFinish func(uintptr, uintptr, **glib.Error) bool448 var XGMountRemountFinish func(uintptr, uintptr, **glib.Error) bool
M v4/gio/gmountoperation.go +4 -4
@@ -308,13 +308,13 @@ func (x *MountOperation) ConnectAskPassword(cb *func(MountOperation, string, str
308 // If the message contains a line break, the first line should be308 // If the message contains a line break, the first line should be
309 // presented as a heading. For example, it may be used as the309 // presented as a heading. For example, it may be used as the
310 // primary text in a #GtkMessageDialog.310 // primary text in a #GtkMessageDialog.
311-func (x *MountOperation) ConnectAskQuestion(cb *func(MountOperation, string, uintptr)) uint32 {311+func (x *MountOperation) ConnectAskQuestion(cb *func(MountOperation, string, []string)) uint32 {
312 cbPtr := uintptr(unsafe.Pointer(cb))312 cbPtr := uintptr(unsafe.Pointer(cb))
313 if cbRefPtr, ok := glib.GetCallback(cbPtr); ok {313 if cbRefPtr, ok := glib.GetCallback(cbPtr); ok {
314 return gobject.SignalConnect(x.GoPointer(), "ask-question", cbRefPtr)314 return gobject.SignalConnect(x.GoPointer(), "ask-question", cbRefPtr)
315 }315 }
316 316
317- fcb := func(clsPtr uintptr, MessageVarp string, ChoicesVarp uintptr) {317+ fcb := func(clsPtr uintptr, MessageVarp string, ChoicesVarp []string) {
318 fa := MountOperation{}318 fa := MountOperation{}
319 fa.Ptr = clsPtr319 fa.Ptr = clsPtr
320 cbFn := *cb320 cbFn := *cb
@@ -359,13 +359,13 @@ func (x *MountOperation) ConnectReply(cb *func(MountOperation, MountOperationRes
359 // If the message contains a line break, the first line should be359 // If the message contains a line break, the first line should be
360 // presented as a heading. For example, it may be used as the360 // presented as a heading. For example, it may be used as the
361 // primary text in a #GtkMessageDialog.361 // primary text in a #GtkMessageDialog.
362-func (x *MountOperation) ConnectShowProcesses(cb *func(MountOperation, string, uintptr, uintptr)) uint32 {362+func (x *MountOperation) ConnectShowProcesses(cb *func(MountOperation, string, []glib.Pid, []string)) uint32 {
363 cbPtr := uintptr(unsafe.Pointer(cb))363 cbPtr := uintptr(unsafe.Pointer(cb))
364 if cbRefPtr, ok := glib.GetCallback(cbPtr); ok {364 if cbRefPtr, ok := glib.GetCallback(cbPtr); ok {
365 return gobject.SignalConnect(x.GoPointer(), "show-processes", cbRefPtr)365 return gobject.SignalConnect(x.GoPointer(), "show-processes", cbRefPtr)
366 }366 }
367 367
368- fcb := func(clsPtr uintptr, MessageVarp string, ProcessesVarp uintptr, ChoicesVarp uintptr) {368+ fcb := func(clsPtr uintptr, MessageVarp string, ProcessesVarp []glib.Pid, ChoicesVarp []string) {
369 fa := MountOperation{}369 fa := MountOperation{}
370 fa.Ptr = clsPtr370 fa.Ptr = clsPtr
371 cbFn := *cb371 cbFn := *cb
M v4/gio/goutputstream.go +16 -16
@@ -309,7 +309,7 @@ func (x *OutputStream) Vprintf(BytesWrittenVar uint, CancellableVar *Cancellable
309 return cret309 return cret
310 }310 }
311 311
312-var xOutputStreamWrite func(uintptr, uintptr, uint, uintptr, **glib.Error) int312+var xOutputStreamWrite func(uintptr, []byte, uint, uintptr, **glib.Error) int
313 313
314 // Tries to write @count bytes from @buffer into the stream. Will block314 // Tries to write @count bytes from @buffer into the stream. Will block
315 // during the operation.315 // during the operation.
@@ -331,7 +331,7 @@ var xOutputStreamWrite func(uintptr, uintptr, uint, uintptr, **glib.Error) int
331 // partial result will be returned, without an error.331 // partial result will be returned, without an error.
332 //332 //
333 // On error -1 is returned and @error is set accordingly.333 // On error -1 is returned and @error is set accordingly.
334-func (x *OutputStream) Write(BufferVar uintptr, CountVar uint, CancellableVar *Cancellable) (int, error) {334+func (x *OutputStream) Write(BufferVar []byte, CountVar uint, CancellableVar *Cancellable) (int, error) {
335 var cerr *glib.Error335 var cerr *glib.Error
336 336
337 cret := xOutputStreamWrite(x.GoPointer(), BufferVar, CountVar, CancellableVar.GoPointer(), &cerr)337 cret := xOutputStreamWrite(x.GoPointer(), BufferVar, CountVar, CancellableVar.GoPointer(), &cerr)
@@ -342,7 +342,7 @@ func (x *OutputStream) Write(BufferVar uintptr, CountVar uint, CancellableVar *C
342 342
343 }343 }
344 344
345-var xOutputStreamWriteAll func(uintptr, uintptr, uint, uint, uintptr, **glib.Error) bool345+var xOutputStreamWriteAll func(uintptr, []byte, uint, uint, uintptr, **glib.Error) bool
346 346
347 // Tries to write @count bytes from @buffer into the stream. Will block347 // Tries to write @count bytes from @buffer into the stream. Will block
348 // during the operation.348 // during the operation.
@@ -363,7 +363,7 @@ var xOutputStreamWriteAll func(uintptr, uintptr, uint, uint, uintptr, **glib.Err
363 // functionality is only available from C. If you need it from another363 // functionality is only available from C. If you need it from another
364 // language then you must write your own loop around364 // language then you must write your own loop around
365 // g_output_stream_write().365 // g_output_stream_write().
366-func (x *OutputStream) WriteAll(BufferVar uintptr, CountVar uint, BytesWrittenVar uint, CancellableVar *Cancellable) (bool, error) {366+func (x *OutputStream) WriteAll(BufferVar []byte, CountVar uint, BytesWrittenVar uint, CancellableVar *Cancellable) (bool, error) {
367 var cerr *glib.Error367 var cerr *glib.Error
368 368
369 cret := xOutputStreamWriteAll(x.GoPointer(), BufferVar, CountVar, BytesWrittenVar, CancellableVar.GoPointer(), &cerr)369 cret := xOutputStreamWriteAll(x.GoPointer(), BufferVar, CountVar, BytesWrittenVar, CancellableVar.GoPointer(), &cerr)
@@ -374,7 +374,7 @@ func (x *OutputStream) WriteAll(BufferVar uintptr, CountVar uint, BytesWrittenVa
374 374
375 }375 }
376 376
377-var xOutputStreamWriteAllAsync func(uintptr, uintptr, uint, int, uintptr, uintptr, uintptr)377+var xOutputStreamWriteAllAsync func(uintptr, []byte, uint, int, uintptr, uintptr, uintptr)
378 378
379 // Request an asynchronous write of @count bytes from @buffer into379 // Request an asynchronous write of @count bytes from @buffer into
380 // the stream. When the operation is finished @callback will be called.380 // the stream. When the operation is finished @callback will be called.
@@ -391,7 +391,7 @@ var xOutputStreamWriteAllAsync func(uintptr, uintptr, uint, int, uintptr, uintpt
391 //391 //
392 // Note that no copy of @buffer will be made, so it must stay valid392 // Note that no copy of @buffer will be made, so it must stay valid
393 // until @callback is called.393 // until @callback is called.
394-func (x *OutputStream) WriteAllAsync(BufferVar uintptr, CountVar uint, IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) {394+func (x *OutputStream) WriteAllAsync(BufferVar []byte, CountVar uint, IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) {
395 395
396 xOutputStreamWriteAllAsync(x.GoPointer(), BufferVar, CountVar, IoPriorityVar, CancellableVar.GoPointer(), glib.NewCallback(CallbackVar), UserDataVar)396 xOutputStreamWriteAllAsync(x.GoPointer(), BufferVar, CountVar, IoPriorityVar, CancellableVar.GoPointer(), glib.NewCallback(CallbackVar), UserDataVar)
397 397
@@ -420,7 +420,7 @@ func (x *OutputStream) WriteAllFinish(ResultVar AsyncResult, BytesWrittenVar uin
420 420
421 }421 }
422 422
423-var xOutputStreamWriteAsync func(uintptr, uintptr, uint, int, uintptr, uintptr, uintptr)423+var xOutputStreamWriteAsync func(uintptr, []byte, uint, int, uintptr, uintptr, uintptr)
424 424
425 // Request an asynchronous write of @count bytes from @buffer into425 // Request an asynchronous write of @count bytes from @buffer into
426 // the stream. When the operation is finished @callback will be called.426 // the stream. When the operation is finished @callback will be called.
@@ -457,7 +457,7 @@ var xOutputStreamWriteAsync func(uintptr, uintptr, uint, int, uintptr, uintptr,
457 // until @callback is called. See g_output_stream_write_bytes_async()457 // until @callback is called. See g_output_stream_write_bytes_async()
458 // for a #GBytes version that will automatically hold a reference to458 // for a #GBytes version that will automatically hold a reference to
459 // the contents (without copying) for the duration of the call.459 // the contents (without copying) for the duration of the call.
460-func (x *OutputStream) WriteAsync(BufferVar uintptr, CountVar uint, IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) {460+func (x *OutputStream) WriteAsync(BufferVar []byte, CountVar uint, IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) {
461 461
462 xOutputStreamWriteAsync(x.GoPointer(), BufferVar, CountVar, IoPriorityVar, CancellableVar.GoPointer(), glib.NewCallback(CallbackVar), UserDataVar)462 xOutputStreamWriteAsync(x.GoPointer(), BufferVar, CountVar, IoPriorityVar, CancellableVar.GoPointer(), glib.NewCallback(CallbackVar), UserDataVar)
463 463
@@ -536,7 +536,7 @@ func (x *OutputStream) WriteFinish(ResultVar AsyncResult) (int, error) {
536 536
537 }537 }
538 538
539-var xOutputStreamWritev func(uintptr, uintptr, uint, uint, uintptr, **glib.Error) bool539+var xOutputStreamWritev func(uintptr, []OutputVector, uint, uint, uintptr, **glib.Error) bool
540 540
541 // Tries to write the bytes contained in the @n_vectors @vectors into the541 // Tries to write the bytes contained in the @n_vectors @vectors into the
542 // stream. Will block during the operation.542 // stream. Will block during the operation.
@@ -561,7 +561,7 @@ var xOutputStreamWritev func(uintptr, uintptr, uint, uint, uintptr, **glib.Error
561 // aggregate buffer size, and will return %G_IO_ERROR_INVALID_ARGUMENT if these561 // aggregate buffer size, and will return %G_IO_ERROR_INVALID_ARGUMENT if these
562 // are exceeded. For example, when writing to a local file on UNIX platforms,562 // are exceeded. For example, when writing to a local file on UNIX platforms,
563 // the aggregate buffer size must not exceed %G_MAXSSIZE bytes.563 // the aggregate buffer size must not exceed %G_MAXSSIZE bytes.
564-func (x *OutputStream) Writev(VectorsVar uintptr, NVectorsVar uint, BytesWrittenVar uint, CancellableVar *Cancellable) (bool, error) {564+func (x *OutputStream) Writev(VectorsVar []OutputVector, NVectorsVar uint, BytesWrittenVar uint, CancellableVar *Cancellable) (bool, error) {
565 var cerr *glib.Error565 var cerr *glib.Error
566 566
567 cret := xOutputStreamWritev(x.GoPointer(), VectorsVar, NVectorsVar, BytesWrittenVar, CancellableVar.GoPointer(), &cerr)567 cret := xOutputStreamWritev(x.GoPointer(), VectorsVar, NVectorsVar, BytesWrittenVar, CancellableVar.GoPointer(), &cerr)
@@ -572,7 +572,7 @@ func (x *OutputStream) Writev(VectorsVar uintptr, NVectorsVar uint, BytesWritten
572 572
573 }573 }
574 574
575-var xOutputStreamWritevAll func(uintptr, uintptr, uint, uint, uintptr, **glib.Error) bool575+var xOutputStreamWritevAll func(uintptr, []OutputVector, uint, uint, uintptr, **glib.Error) bool
576 576
577 // Tries to write the bytes contained in the @n_vectors @vectors into the577 // Tries to write the bytes contained in the @n_vectors @vectors into the
578 // stream. Will block during the operation.578 // stream. Will block during the operation.
@@ -596,7 +596,7 @@ var xOutputStreamWritevAll func(uintptr, uintptr, uint, uint, uintptr, **glib.Er
596 //596 //
597 // The content of the individual elements of @vectors might be changed by this597 // The content of the individual elements of @vectors might be changed by this
598 // function.598 // function.
599-func (x *OutputStream) WritevAll(VectorsVar uintptr, NVectorsVar uint, BytesWrittenVar uint, CancellableVar *Cancellable) (bool, error) {599+func (x *OutputStream) WritevAll(VectorsVar []OutputVector, NVectorsVar uint, BytesWrittenVar uint, CancellableVar *Cancellable) (bool, error) {
600 var cerr *glib.Error600 var cerr *glib.Error
601 601
602 cret := xOutputStreamWritevAll(x.GoPointer(), VectorsVar, NVectorsVar, BytesWrittenVar, CancellableVar.GoPointer(), &cerr)602 cret := xOutputStreamWritevAll(x.GoPointer(), VectorsVar, NVectorsVar, BytesWrittenVar, CancellableVar.GoPointer(), &cerr)
@@ -607,7 +607,7 @@ func (x *OutputStream) WritevAll(VectorsVar uintptr, NVectorsVar uint, BytesWrit
607 607
608 }608 }
609 609
610-var xOutputStreamWritevAllAsync func(uintptr, uintptr, uint, int, uintptr, uintptr, uintptr)610+var xOutputStreamWritevAllAsync func(uintptr, []OutputVector, uint, int, uintptr, uintptr, uintptr)
611 611
612 // Request an asynchronous write of the bytes contained in the @n_vectors @vectors into612 // Request an asynchronous write of the bytes contained in the @n_vectors @vectors into
613 // the stream. When the operation is finished @callback will be called.613 // the stream. When the operation is finished @callback will be called.
@@ -625,7 +625,7 @@ var xOutputStreamWritevAllAsync func(uintptr, uintptr, uint, int, uintptr, uintp
625 // Note that no copy of @vectors will be made, so it must stay valid625 // Note that no copy of @vectors will be made, so it must stay valid
626 // until @callback is called. The content of the individual elements626 // until @callback is called. The content of the individual elements
627 // of @vectors might be changed by this function.627 // of @vectors might be changed by this function.
628-func (x *OutputStream) WritevAllAsync(VectorsVar uintptr, NVectorsVar uint, IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) {628+func (x *OutputStream) WritevAllAsync(VectorsVar []OutputVector, NVectorsVar uint, IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) {
629 629
630 xOutputStreamWritevAllAsync(x.GoPointer(), VectorsVar, NVectorsVar, IoPriorityVar, CancellableVar.GoPointer(), glib.NewCallback(CallbackVar), UserDataVar)630 xOutputStreamWritevAllAsync(x.GoPointer(), VectorsVar, NVectorsVar, IoPriorityVar, CancellableVar.GoPointer(), glib.NewCallback(CallbackVar), UserDataVar)
631 631
@@ -654,7 +654,7 @@ func (x *OutputStream) WritevAllFinish(ResultVar AsyncResult, BytesWrittenVar ui
654 654
655 }655 }
656 656
657-var xOutputStreamWritevAsync func(uintptr, uintptr, uint, int, uintptr, uintptr, uintptr)657+var xOutputStreamWritevAsync func(uintptr, []OutputVector, uint, int, uintptr, uintptr, uintptr)
658 658
659 // Request an asynchronous write of the bytes contained in @n_vectors @vectors into659 // Request an asynchronous write of the bytes contained in @n_vectors @vectors into
660 // the stream. When the operation is finished @callback will be called.660 // the stream. When the operation is finished @callback will be called.
@@ -686,7 +686,7 @@ var xOutputStreamWritevAsync func(uintptr, uintptr, uint, int, uintptr, uintptr,
686 //686 //
687 // Note that no copy of @vectors will be made, so it must stay valid687 // Note that no copy of @vectors will be made, so it must stay valid
688 // until @callback is called.688 // until @callback is called.
689-func (x *OutputStream) WritevAsync(VectorsVar uintptr, NVectorsVar uint, IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) {689+func (x *OutputStream) WritevAsync(VectorsVar []OutputVector, NVectorsVar uint, IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) {
690 690
691 xOutputStreamWritevAsync(x.GoPointer(), VectorsVar, NVectorsVar, IoPriorityVar, CancellableVar.GoPointer(), glib.NewCallback(CallbackVar), UserDataVar)691 xOutputStreamWritevAsync(x.GoPointer(), VectorsVar, NVectorsVar, IoPriorityVar, CancellableVar.GoPointer(), glib.NewCallback(CallbackVar), UserDataVar)
692 692
M v4/gio/gpermission.go +1 -1
@@ -13,7 +13,7 @@ import (
13 type PermissionClass struct {13 type PermissionClass struct {
14 ParentClass uintptr14 ParentClass uintptr
15 15
16- Reserved uintptr16+ Reserved [16]uintptr
17 }17 }
18 18
19 func (x *PermissionClass) GoPointer() uintptr {19 func (x *PermissionClass) GoPointer() uintptr {
M v4/gio/gpollableinputstream.go +3 -3
@@ -37,7 +37,7 @@ type PollableInputStream interface {
37 CanPoll() bool37 CanPoll() bool
38 CreateSource(CancellableVar *Cancellable) *glib.Source38 CreateSource(CancellableVar *Cancellable) *glib.Source
39 IsReadable() bool39 IsReadable() bool
40- ReadNonblocking(BufferVar uintptr, CountVar uint, CancellableVar *Cancellable) int40+ ReadNonblocking(BufferVar []byte, CountVar uint, CancellableVar *Cancellable) int
41 }41 }
42 type PollableInputStreamBase struct {42 type PollableInputStreamBase struct {
43 Ptr uintptr43 Ptr uintptr
@@ -103,7 +103,7 @@ func (x *PollableInputStreamBase) IsReadable() bool {
103 // if @cancellable has already been cancelled when you call, which103 // if @cancellable has already been cancelled when you call, which
104 // may happen if you call this method after a source triggers due104 // may happen if you call this method after a source triggers due
105 // to having been cancelled.105 // to having been cancelled.
106-func (x *PollableInputStreamBase) ReadNonblocking(BufferVar uintptr, CountVar uint, CancellableVar *Cancellable) (int, error) {106+func (x *PollableInputStreamBase) ReadNonblocking(BufferVar []byte, CountVar uint, CancellableVar *Cancellable) (int, error) {
107 var cerr *glib.Error107 var cerr *glib.Error
108 108
109 cret := XGPollableInputStreamReadNonblocking(x.GoPointer(), BufferVar, CountVar, CancellableVar.GoPointer(), &cerr)109 cret := XGPollableInputStreamReadNonblocking(x.GoPointer(), BufferVar, CountVar, CancellableVar.GoPointer(), &cerr)
@@ -117,7 +117,7 @@ func (x *PollableInputStreamBase) ReadNonblocking(BufferVar uintptr, CountVar ui
117 var XGPollableInputStreamCanPoll func(uintptr) bool117 var XGPollableInputStreamCanPoll func(uintptr) bool
118 var XGPollableInputStreamCreateSource func(uintptr, uintptr) *glib.Source118 var XGPollableInputStreamCreateSource func(uintptr, uintptr) *glib.Source
119 var XGPollableInputStreamIsReadable func(uintptr) bool119 var XGPollableInputStreamIsReadable func(uintptr) bool
120-var XGPollableInputStreamReadNonblocking func(uintptr, uintptr, uint, uintptr, **glib.Error) int120+var XGPollableInputStreamReadNonblocking func(uintptr, []byte, uint, uintptr, **glib.Error) int
121 121
122 func init() {122 func init() {
123 lib, err := purego.Dlopen(core.GetPath("GIO"), purego.RTLD_NOW|purego.RTLD_GLOBAL)123 lib, err := purego.Dlopen(core.GetPath("GIO"), purego.RTLD_NOW|purego.RTLD_GLOBAL)
M v4/gio/gpollableoutputstream.go +6 -6
@@ -43,8 +43,8 @@ type PollableOutputStream interface {
43 CanPoll() bool43 CanPoll() bool
44 CreateSource(CancellableVar *Cancellable) *glib.Source44 CreateSource(CancellableVar *Cancellable) *glib.Source
45 IsWritable() bool45 IsWritable() bool
46- WriteNonblocking(BufferVar uintptr, CountVar uint, CancellableVar *Cancellable) int46+ WriteNonblocking(BufferVar []byte, CountVar uint, CancellableVar *Cancellable) int
47- WritevNonblocking(VectorsVar uintptr, NVectorsVar uint, BytesWrittenVar uint, CancellableVar *Cancellable) PollableReturn47+ WritevNonblocking(VectorsVar []OutputVector, NVectorsVar uint, BytesWrittenVar uint, CancellableVar *Cancellable) PollableReturn
48 }48 }
49 type PollableOutputStreamBase struct {49 type PollableOutputStreamBase struct {
50 Ptr uintptr50 Ptr uintptr
@@ -114,7 +114,7 @@ func (x *PollableOutputStreamBase) IsWritable() bool {
114 // Also note that if %G_IO_ERROR_WOULD_BLOCK is returned some underlying114 // Also note that if %G_IO_ERROR_WOULD_BLOCK is returned some underlying
115 // transports like D/TLS require that you re-send the same @buffer and115 // transports like D/TLS require that you re-send the same @buffer and
116 // @count in the next write call.116 // @count in the next write call.
117-func (x *PollableOutputStreamBase) WriteNonblocking(BufferVar uintptr, CountVar uint, CancellableVar *Cancellable) (int, error) {117+func (x *PollableOutputStreamBase) WriteNonblocking(BufferVar []byte, CountVar uint, CancellableVar *Cancellable) (int, error) {
118 var cerr *glib.Error118 var cerr *glib.Error
119 119
120 cret := XGPollableOutputStreamWriteNonblocking(x.GoPointer(), BufferVar, CountVar, CancellableVar.GoPointer(), &cerr)120 cret := XGPollableOutputStreamWriteNonblocking(x.GoPointer(), BufferVar, CountVar, CancellableVar.GoPointer(), &cerr)
@@ -141,7 +141,7 @@ func (x *PollableOutputStreamBase) WriteNonblocking(BufferVar uintptr, CountVar
141 // Also note that if %G_POLLABLE_RETURN_WOULD_BLOCK is returned some underlying141 // Also note that if %G_POLLABLE_RETURN_WOULD_BLOCK is returned some underlying
142 // transports like D/TLS require that you re-send the same @vectors and142 // transports like D/TLS require that you re-send the same @vectors and
143 // @n_vectors in the next write call.143 // @n_vectors in the next write call.
144-func (x *PollableOutputStreamBase) WritevNonblocking(VectorsVar uintptr, NVectorsVar uint, BytesWrittenVar uint, CancellableVar *Cancellable) (PollableReturn, error) {144+func (x *PollableOutputStreamBase) WritevNonblocking(VectorsVar []OutputVector, NVectorsVar uint, BytesWrittenVar uint, CancellableVar *Cancellable) (PollableReturn, error) {
145 var cerr *glib.Error145 var cerr *glib.Error
146 146
147 cret := XGPollableOutputStreamWritevNonblocking(x.GoPointer(), VectorsVar, NVectorsVar, BytesWrittenVar, CancellableVar.GoPointer(), &cerr)147 cret := XGPollableOutputStreamWritevNonblocking(x.GoPointer(), VectorsVar, NVectorsVar, BytesWrittenVar, CancellableVar.GoPointer(), &cerr)
@@ -155,8 +155,8 @@ func (x *PollableOutputStreamBase) WritevNonblocking(VectorsVar uintptr, NVector
155 var XGPollableOutputStreamCanPoll func(uintptr) bool155 var XGPollableOutputStreamCanPoll func(uintptr) bool
156 var XGPollableOutputStreamCreateSource func(uintptr, uintptr) *glib.Source156 var XGPollableOutputStreamCreateSource func(uintptr, uintptr) *glib.Source
157 var XGPollableOutputStreamIsWritable func(uintptr) bool157 var XGPollableOutputStreamIsWritable func(uintptr) bool
158-var XGPollableOutputStreamWriteNonblocking func(uintptr, uintptr, uint, uintptr, **glib.Error) int158+var XGPollableOutputStreamWriteNonblocking func(uintptr, []byte, uint, uintptr, **glib.Error) int
159-var XGPollableOutputStreamWritevNonblocking func(uintptr, uintptr, uint, uint, uintptr, **glib.Error) PollableReturn159+var XGPollableOutputStreamWritevNonblocking func(uintptr, []OutputVector, uint, uint, uintptr, **glib.Error) PollableReturn
160 160
161 func init() {161 func init() {
162 lib, err := purego.Dlopen(core.GetPath("GIO"), purego.RTLD_NOW|purego.RTLD_GLOBAL)162 lib, err := purego.Dlopen(core.GetPath("GIO"), purego.RTLD_NOW|purego.RTLD_GLOBAL)
M v4/gio/gpollableutils.go +6 -6
@@ -33,7 +33,7 @@ func PollableSourceNewFull(PollableStreamVar *gobject.Object, ChildSourceVar *gl
33 return cret33 return cret
34 }34 }
35 35
36-var xPollableStreamRead func(uintptr, uintptr, uint, bool, uintptr, **glib.Error) int36+var xPollableStreamRead func(uintptr, []byte, uint, bool, uintptr, **glib.Error) int
37 37
38 // Tries to read from @stream, as with g_input_stream_read() (if38 // Tries to read from @stream, as with g_input_stream_read() (if
39 // @blocking is %TRUE) or g_pollable_input_stream_read_nonblocking()39 // @blocking is %TRUE) or g_pollable_input_stream_read_nonblocking()
@@ -44,7 +44,7 @@ var xPollableStreamRead func(uintptr, uintptr, uint, bool, uintptr, **glib.Error
44 // #GPollableInputStream for which g_pollable_input_stream_can_poll()44 // #GPollableInputStream for which g_pollable_input_stream_can_poll()
45 // returns %TRUE, or else the behavior is undefined. If @blocking is45 // returns %TRUE, or else the behavior is undefined. If @blocking is
46 // %TRUE, then @stream does not need to be a #GPollableInputStream.46 // %TRUE, then @stream does not need to be a #GPollableInputStream.
47-func PollableStreamRead(StreamVar *InputStream, BufferVar uintptr, CountVar uint, BlockingVar bool, CancellableVar *Cancellable) (int, error) {47+func PollableStreamRead(StreamVar *InputStream, BufferVar []byte, CountVar uint, BlockingVar bool, CancellableVar *Cancellable) (int, error) {
48 var cerr *glib.Error48 var cerr *glib.Error
49 49
50 cret := xPollableStreamRead(StreamVar.GoPointer(), BufferVar, CountVar, BlockingVar, CancellableVar.GoPointer(), &cerr)50 cret := xPollableStreamRead(StreamVar.GoPointer(), BufferVar, CountVar, BlockingVar, CancellableVar.GoPointer(), &cerr)
@@ -55,7 +55,7 @@ func PollableStreamRead(StreamVar *InputStream, BufferVar uintptr, CountVar uint
55 55
56 }56 }
57 57
58-var xPollableStreamWrite func(uintptr, uintptr, uint, bool, uintptr, **glib.Error) int58+var xPollableStreamWrite func(uintptr, []byte, uint, bool, uintptr, **glib.Error) int
59 59
60 // Tries to write to @stream, as with g_output_stream_write() (if60 // Tries to write to @stream, as with g_output_stream_write() (if
61 // @blocking is %TRUE) or g_pollable_output_stream_write_nonblocking()61 // @blocking is %TRUE) or g_pollable_output_stream_write_nonblocking()
@@ -67,7 +67,7 @@ var xPollableStreamWrite func(uintptr, uintptr, uint, bool, uintptr, **glib.Erro
67 // g_pollable_output_stream_can_poll() returns %TRUE or else the67 // g_pollable_output_stream_can_poll() returns %TRUE or else the
68 // behavior is undefined. If @blocking is %TRUE, then @stream does not68 // behavior is undefined. If @blocking is %TRUE, then @stream does not
69 // need to be a #GPollableOutputStream.69 // need to be a #GPollableOutputStream.
70-func PollableStreamWrite(StreamVar *OutputStream, BufferVar uintptr, CountVar uint, BlockingVar bool, CancellableVar *Cancellable) (int, error) {70+func PollableStreamWrite(StreamVar *OutputStream, BufferVar []byte, CountVar uint, BlockingVar bool, CancellableVar *Cancellable) (int, error) {
71 var cerr *glib.Error71 var cerr *glib.Error
72 72
73 cret := xPollableStreamWrite(StreamVar.GoPointer(), BufferVar, CountVar, BlockingVar, CancellableVar.GoPointer(), &cerr)73 cret := xPollableStreamWrite(StreamVar.GoPointer(), BufferVar, CountVar, BlockingVar, CancellableVar.GoPointer(), &cerr)
@@ -78,7 +78,7 @@ func PollableStreamWrite(StreamVar *OutputStream, BufferVar uintptr, CountVar ui
78 78
79 }79 }
80 80
81-var xPollableStreamWriteAll func(uintptr, uintptr, uint, bool, uint, uintptr, **glib.Error) bool81+var xPollableStreamWriteAll func(uintptr, []byte, uint, bool, uint, uintptr, **glib.Error) bool
82 82
83 // Tries to write @count bytes to @stream, as with83 // Tries to write @count bytes to @stream, as with
84 // g_output_stream_write_all(), but using g_pollable_stream_write()84 // g_output_stream_write_all(), but using g_pollable_stream_write()
@@ -98,7 +98,7 @@ var xPollableStreamWriteAll func(uintptr, uintptr, uint, bool, uint, uintptr, **
98 // g_pollable_output_stream_can_poll() returns %TRUE or else the98 // g_pollable_output_stream_can_poll() returns %TRUE or else the
99 // behavior is undefined. If @blocking is %TRUE, then @stream does not99 // behavior is undefined. If @blocking is %TRUE, then @stream does not
100 // need to be a #GPollableOutputStream.100 // need to be a #GPollableOutputStream.
101-func PollableStreamWriteAll(StreamVar *OutputStream, BufferVar uintptr, CountVar uint, BlockingVar bool, BytesWrittenVar uint, CancellableVar *Cancellable) (bool, error) {101+func PollableStreamWriteAll(StreamVar *OutputStream, BufferVar []byte, CountVar uint, BlockingVar bool, BytesWrittenVar uint, CancellableVar *Cancellable) (bool, error) {
102 var cerr *glib.Error102 var cerr *glib.Error
103 103
104 cret := xPollableStreamWriteAll(StreamVar.GoPointer(), BufferVar, CountVar, BlockingVar, BytesWrittenVar, CancellableVar.GoPointer(), &cerr)104 cret := xPollableStreamWriteAll(StreamVar.GoPointer(), BufferVar, CountVar, BlockingVar, BytesWrittenVar, CancellableVar.GoPointer(), &cerr)
M v4/gio/gproxyresolver.go +6 -6
@@ -30,9 +30,9 @@ type ProxyResolver interface {
30 GoPointer() uintptr30 GoPointer() uintptr
31 SetGoPointer(uintptr)31 SetGoPointer(uintptr)
32 IsSupported() bool32 IsSupported() bool
33- Lookup(UriVar string, CancellableVar *Cancellable) uintptr33+ Lookup(UriVar string, CancellableVar *Cancellable) []string
34 LookupAsync(UriVar string, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr)34 LookupAsync(UriVar string, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr)
35- LookupFinish(ResultVar AsyncResult) uintptr35+ LookupFinish(ResultVar AsyncResult) []string
36 }36 }
37 type ProxyResolverBase struct {37 type ProxyResolverBase struct {
38 Ptr uintptr38 Ptr uintptr
@@ -70,7 +70,7 @@ func (x *ProxyResolverBase) IsSupported() bool {
70 // `direct://` is used when no proxy is needed.70 // `direct://` is used when no proxy is needed.
71 // Direct connection should not be attempted unless it is part of the71 // Direct connection should not be attempted unless it is part of the
72 // returned array of proxies.72 // returned array of proxies.
73-func (x *ProxyResolverBase) Lookup(UriVar string, CancellableVar *Cancellable) (uintptr, error) {73+func (x *ProxyResolverBase) Lookup(UriVar string, CancellableVar *Cancellable) ([]string, error) {
74 var cerr *glib.Error74 var cerr *glib.Error
75 75
76 cret := XGProxyResolverLookup(x.GoPointer(), UriVar, CancellableVar.GoPointer(), &cerr)76 cret := XGProxyResolverLookup(x.GoPointer(), UriVar, CancellableVar.GoPointer(), &cerr)
@@ -92,7 +92,7 @@ func (x *ProxyResolverBase) LookupAsync(UriVar string, CancellableVar *Cancellab
92 // Call this function to obtain the array of proxy URIs when92 // Call this function to obtain the array of proxy URIs when
93 // g_proxy_resolver_lookup_async() is complete. See93 // g_proxy_resolver_lookup_async() is complete. See
94 // g_proxy_resolver_lookup() for more details.94 // g_proxy_resolver_lookup() for more details.
95-func (x *ProxyResolverBase) LookupFinish(ResultVar AsyncResult) (uintptr, error) {95+func (x *ProxyResolverBase) LookupFinish(ResultVar AsyncResult) ([]string, error) {
96 var cerr *glib.Error96 var cerr *glib.Error
97 97
98 cret := XGProxyResolverLookupFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)98 cret := XGProxyResolverLookupFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)
@@ -104,9 +104,9 @@ func (x *ProxyResolverBase) LookupFinish(ResultVar AsyncResult) (uintptr, error)
104 }104 }
105 105
106 var XGProxyResolverIsSupported func(uintptr) bool106 var XGProxyResolverIsSupported func(uintptr) bool
107-var XGProxyResolverLookup func(uintptr, string, uintptr, **glib.Error) uintptr107+var XGProxyResolverLookup func(uintptr, string, uintptr, **glib.Error) []string
108 var XGProxyResolverLookupAsync func(uintptr, string, uintptr, uintptr, uintptr)108 var XGProxyResolverLookupAsync func(uintptr, string, uintptr, uintptr, uintptr)
109-var XGProxyResolverLookupFinish func(uintptr, uintptr, **glib.Error) uintptr109+var XGProxyResolverLookupFinish func(uintptr, uintptr, **glib.Error) []string
110 110
111 const (111 const (
112 // Extension point for proxy resolving functionality.112 // Extension point for proxy resolving functionality.
M v4/gio/gsettings.go +13 -13
@@ -34,7 +34,7 @@ type SettingsGetMapping func(*glib.Variant, uintptr, uintptr) bool
34 type SettingsClass struct {34 type SettingsClass struct {
35 ParentClass uintptr35 ParentClass uintptr
36 36
37- Padding uintptr37+ Padding [20]uintptr
38 }38 }
39 39
40 func (x *SettingsClass) GoPointer() uintptr {40 func (x *SettingsClass) GoPointer() uintptr {
@@ -873,13 +873,13 @@ func (x *Settings) GetString(KeyVar string) string {
873 return cret873 return cret
874 }874 }
875 875
876-var xSettingsGetStrv func(uintptr, string) uintptr876+var xSettingsGetStrv func(uintptr, string) []string
877 877
878 // A convenience variant of g_settings_get() for string arrays.878 // A convenience variant of g_settings_get() for string arrays.
879 //879 //
880 // It is a programmer error to give a @key that isn't specified as880 // It is a programmer error to give a @key that isn't specified as
881 // having an array of strings type in the schema for @settings.881 // having an array of strings type in the schema for @settings.
882-func (x *Settings) GetStrv(KeyVar string) uintptr {882+func (x *Settings) GetStrv(KeyVar string) []string {
883 883
884 cret := xSettingsGetStrv(x.GoPointer(), KeyVar)884 cret := xSettingsGetStrv(x.GoPointer(), KeyVar)
885 return cret885 return cret
@@ -962,7 +962,7 @@ func (x *Settings) IsWritable(NameVar string) bool {
962 return cret962 return cret
963 }963 }
964 964
965-var xSettingsListChildren func(uintptr) uintptr965+var xSettingsListChildren func(uintptr) []string
966 966
967 // Gets the list of children on @settings.967 // Gets the list of children on @settings.
968 //968 //
@@ -975,13 +975,13 @@ var xSettingsListChildren func(uintptr) uintptr
975 //975 //
976 // You should free the return value with g_strfreev() when you are done976 // You should free the return value with g_strfreev() when you are done
977 // with it.977 // with it.
978-func (x *Settings) ListChildren() uintptr {978+func (x *Settings) ListChildren() []string {
979 979
980 cret := xSettingsListChildren(x.GoPointer())980 cret := xSettingsListChildren(x.GoPointer())
981 return cret981 return cret
982 }982 }
983 983
984-var xSettingsListKeys func(uintptr) uintptr984+var xSettingsListKeys func(uintptr) []string
985 985
986 // Introspects the list of keys on @settings.986 // Introspects the list of keys on @settings.
987 //987 //
@@ -991,7 +991,7 @@ var xSettingsListKeys func(uintptr) uintptr
991 //991 //
992 // You should free the return value with g_strfreev() when you are done992 // You should free the return value with g_strfreev() when you are done
993 // with it.993 // with it.
994-func (x *Settings) ListKeys() uintptr {994+func (x *Settings) ListKeys() []string {
995 995
996 cret := xSettingsListKeys(x.GoPointer())996 cret := xSettingsListKeys(x.GoPointer())
997 return cret997 return cret
@@ -1157,7 +1157,7 @@ func (x *Settings) SetString(KeyVar string, ValueVar string) bool {
1157 return cret1157 return cret
1158 }1158 }
1159 1159
1160-var xSettingsSetStrv func(uintptr, string, uintptr) bool1160+var xSettingsSetStrv func(uintptr, string, []string) bool
1161 1161
1162 // Sets @key in @settings to @value.1162 // Sets @key in @settings to @value.
1163 //1163 //
@@ -1166,7 +1166,7 @@ var xSettingsSetStrv func(uintptr, string, uintptr) bool
1166 //1166 //
1167 // It is a programmer error to give a @key that isn't specified as1167 // It is a programmer error to give a @key that isn't specified as
1168 // having an array of strings type in the schema for @settings.1168 // having an array of strings type in the schema for @settings.
1169-func (x *Settings) SetStrv(KeyVar string, ValueVar uintptr) bool {1169+func (x *Settings) SetStrv(KeyVar string, ValueVar []string) bool {
1170 1170
1171 cret := xSettingsSetStrv(x.GoPointer(), KeyVar, ValueVar)1171 cret := xSettingsSetStrv(x.GoPointer(), KeyVar, ValueVar)
1172 return cret1172 return cret
@@ -1351,19 +1351,19 @@ func (x *Settings) ConnectWritableChanged(cb *func(Settings, string)) uint32 {
1351 return gobject.SignalConnect(x.GoPointer(), "writable-changed", cbRefPtr)1351 return gobject.SignalConnect(x.GoPointer(), "writable-changed", cbRefPtr)
1352 }1352 }
1353 1353
1354-var xSettingsListRelocatableSchemas func() uintptr1354+var xSettingsListRelocatableSchemas func() []string
1355 1355
1356 // Deprecated.1356 // Deprecated.
1357-func SettingsListRelocatableSchemas() uintptr {1357+func SettingsListRelocatableSchemas() []string {
1358 1358
1359 cret := xSettingsListRelocatableSchemas()1359 cret := xSettingsListRelocatableSchemas()
1360 return cret1360 return cret
1361 }1361 }
1362 1362
1363-var xSettingsListSchemas func() uintptr1363+var xSettingsListSchemas func() []string
1364 1364
1365 // Deprecated.1365 // Deprecated.
1366-func SettingsListSchemas() uintptr {1366+func SettingsListSchemas() []string {
1367 1367
1368 cret := xSettingsListSchemas()1368 cret := xSettingsListSchemas()
1369 return cret1369 return cret
M v4/gio/gsettingsbackend.go +5 -5
@@ -14,7 +14,7 @@ import (
14 type SettingsBackendClass struct {14 type SettingsBackendClass struct {
15 ParentClass uintptr15 ParentClass uintptr
16 16
17- Padding uintptr17+ Padding [23]uintptr
18 }18 }
19 19
20 func (x *SettingsBackendClass) GoPointer() uintptr {20 func (x *SettingsBackendClass) GoPointer() uintptr {
@@ -215,7 +215,7 @@ func (x *SettingsBackend) ChangedTree(TreeVar *glib.Tree, OriginTagVar uintptr)
215 215
216 }216 }
217 217
218-var xSettingsBackendKeysChanged func(uintptr, string, uintptr, uintptr)218+var xSettingsBackendKeysChanged func(uintptr, string, []string, uintptr)
219 219
220 // Signals that a list of keys have possibly changed. Backend220 // Signals that a list of keys have possibly changed. Backend
221 // implementations should call this if keys have possibly changed their221 // implementations should call this if keys have possibly changed their
@@ -238,7 +238,7 @@ var xSettingsBackendKeysChanged func(uintptr, string, uintptr, uintptr)
238 // For efficiency reasons, the implementation should strive for @path to238 // For efficiency reasons, the implementation should strive for @path to
239 // be as long as possible (ie: the longest common prefix of all of the239 // be as long as possible (ie: the longest common prefix of all of the
240 // keys that were changed) but this is not strictly required.240 // keys that were changed) but this is not strictly required.
241-func (x *SettingsBackend) KeysChanged(PathVar string, ItemsVar uintptr, OriginTagVar uintptr) {241+func (x *SettingsBackend) KeysChanged(PathVar string, ItemsVar []string, OriginTagVar uintptr) {
242 242
243 xSettingsBackendKeysChanged(x.GoPointer(), PathVar, ItemsVar, OriginTagVar)243 xSettingsBackendKeysChanged(x.GoPointer(), PathVar, ItemsVar, OriginTagVar)
244 244
@@ -306,7 +306,7 @@ func (c *SettingsBackend) SetGoPointer(ptr uintptr) {
306 c.Ptr = ptr306 c.Ptr = ptr
307 }307 }
308 308
309-var xSettingsBackendFlattenTree func(*glib.Tree, string, uintptr, uintptr)309+var xSettingsBackendFlattenTree func(*glib.Tree, string, []string, uintptr)
310 310
311 // Calculate the longest common prefix of all keys in a tree and write311 // Calculate the longest common prefix of all keys in a tree and write
312 // out an array of the key names relative to that prefix and,312 // out an array of the key names relative to that prefix and,
@@ -315,7 +315,7 @@ var xSettingsBackendFlattenTree func(*glib.Tree, string, uintptr, uintptr)
315 // You must free the value returned in @path, @keys and @values using315 // You must free the value returned in @path, @keys and @values using
316 // g_free(). You should not attempt to free or unref the contents of316 // g_free(). You should not attempt to free or unref the contents of
317 // @keys or @values.317 // @keys or @values.
318-func SettingsBackendFlattenTree(TreeVar *glib.Tree, PathVar string, KeysVar uintptr, ValuesVar uintptr) {318+func SettingsBackendFlattenTree(TreeVar *glib.Tree, PathVar string, KeysVar []string, ValuesVar uintptr) {
319 319
320 xSettingsBackendFlattenTree(TreeVar, PathVar, KeysVar, ValuesVar)320 xSettingsBackendFlattenTree(TreeVar, PathVar, KeysVar, ValuesVar)
321 321
M v4/gio/gsettingsschema.go +6 -6
@@ -160,26 +160,26 @@ func (x *SettingsSchema) HasKey(NameVar string) bool {
160 return cret160 return cret
161 }161 }
162 162
163-var xSettingsSchemaListChildren func(uintptr) uintptr163+var xSettingsSchemaListChildren func(uintptr) []string
164 164
165 // Gets the list of children in @schema.165 // Gets the list of children in @schema.
166 //166 //
167 // You should free the return value with g_strfreev() when you are done167 // You should free the return value with g_strfreev() when you are done
168 // with it.168 // with it.
169-func (x *SettingsSchema) ListChildren() uintptr {169+func (x *SettingsSchema) ListChildren() []string {
170 170
171 cret := xSettingsSchemaListChildren(x.GoPointer())171 cret := xSettingsSchemaListChildren(x.GoPointer())
172 return cret172 return cret
173 }173 }
174 174
175-var xSettingsSchemaListKeys func(uintptr) uintptr175+var xSettingsSchemaListKeys func(uintptr) []string
176 176
177 // Introspects the list of keys on @schema.177 // Introspects the list of keys on @schema.
178 //178 //
179 // You should probably not be calling this function from "normal" code179 // You should probably not be calling this function from "normal" code
180 // (since you should already know what keys are in your schema). This180 // (since you should already know what keys are in your schema). This
181 // function is intended for introspection reasons.181 // function is intended for introspection reasons.
182-func (x *SettingsSchema) ListKeys() uintptr {182+func (x *SettingsSchema) ListKeys() []string {
183 183
184 cret := xSettingsSchemaListKeys(x.GoPointer())184 cret := xSettingsSchemaListKeys(x.GoPointer())
185 return cret185 return cret
@@ -412,7 +412,7 @@ func NewSettingsSchemaSourceFromDirectory(DirectoryVar string, ParentVar *Settin
412 412
413 }413 }
414 414
415-var xSettingsSchemaSourceListSchemas func(uintptr, bool, uintptr, uintptr)415+var xSettingsSchemaSourceListSchemas func(uintptr, bool, []string, []string)
416 416
417 // Lists the schemas in a given source.417 // Lists the schemas in a given source.
418 //418 //
@@ -426,7 +426,7 @@ var xSettingsSchemaSourceListSchemas func(uintptr, bool, uintptr, uintptr)
426 //426 //
427 // Do not call this function from normal programs. This is designed for427 // Do not call this function from normal programs. This is designed for
428 // use by database editors, commandline tools, etc.428 // use by database editors, commandline tools, etc.
429-func (x *SettingsSchemaSource) ListSchemas(RecursiveVar bool, NonRelocatableVar uintptr, RelocatableVar uintptr) {429+func (x *SettingsSchemaSource) ListSchemas(RecursiveVar bool, NonRelocatableVar []string, RelocatableVar []string) {
430 430
431 xSettingsSchemaSourceListSchemas(x.GoPointer(), RecursiveVar, NonRelocatableVar, RelocatableVar)431 xSettingsSchemaSourceListSchemas(x.GoPointer(), RecursiveVar, NonRelocatableVar, RelocatableVar)
432 432
M v4/gio/gsimpleactiongroup.go +5 -5
@@ -13,7 +13,7 @@ import (
13 type SimpleActionGroupClass struct {13 type SimpleActionGroupClass struct {
14 ParentClass uintptr14 ParentClass uintptr
15 15
16- Padding uintptr16+ Padding [12]uintptr
17 }17 }
18 18
19 func (x *SimpleActionGroupClass) GoPointer() uintptr {19 func (x *SimpleActionGroupClass) GoPointer() uintptr {
@@ -55,11 +55,11 @@ func NewSimpleActionGroup() *SimpleActionGroup {
55 return cls55 return cls
56 }56 }
57 57
58-var xSimpleActionGroupAddEntries func(uintptr, uintptr, int, uintptr)58+var xSimpleActionGroupAddEntries func(uintptr, []ActionEntry, int, uintptr)
59 59
60 // A convenience function for creating multiple #GSimpleAction instances60 // A convenience function for creating multiple #GSimpleAction instances
61 // and adding them to the action group.61 // and adding them to the action group.
62-func (x *SimpleActionGroup) AddEntries(EntriesVar uintptr, NEntriesVar int, UserDataVar uintptr) {62+func (x *SimpleActionGroup) AddEntries(EntriesVar []ActionEntry, NEntriesVar int, UserDataVar uintptr) {
63 63
64 xSimpleActionGroupAddEntries(x.GoPointer(), EntriesVar, NEntriesVar, UserDataVar)64 xSimpleActionGroupAddEntries(x.GoPointer(), EntriesVar, NEntriesVar, UserDataVar)
65 65
@@ -309,7 +309,7 @@ func (x *SimpleActionGroup) HasAction(ActionNameVar string) bool {
309 //309 //
310 // The caller is responsible for freeing the list with g_strfreev() when310 // The caller is responsible for freeing the list with g_strfreev() when
311 // it is no longer required.311 // it is no longer required.
312-func (x *SimpleActionGroup) ListActions() uintptr {312+func (x *SimpleActionGroup) ListActions() []string {
313 313
314 cret := XGActionGroupListActions(x.GoPointer())314 cret := XGActionGroupListActions(x.GoPointer())
315 return cret315 return cret
@@ -403,7 +403,7 @@ func (x *SimpleActionGroup) AddAction(ActionVar Action) {
403 // }403 // }
404 //404 //
405 // ]|405 // ]|
406-func (x *SimpleActionGroup) AddActionEntries(EntriesVar uintptr, NEntriesVar int, UserDataVar uintptr) {406+func (x *SimpleActionGroup) AddActionEntries(EntriesVar []ActionEntry, NEntriesVar int, UserDataVar uintptr) {
407 407
408 XGActionMapAddActionEntries(x.GoPointer(), EntriesVar, NEntriesVar, UserDataVar)408 XGActionMapAddActionEntries(x.GoPointer(), EntriesVar, NEntriesVar, UserDataVar)
409 409
M v4/gio/gsimpleproxyresolver.go +6 -6
@@ -58,13 +58,13 @@ func (x *SimpleProxyResolver) SetDefaultProxy(DefaultProxyVar string) {
58 58
59 }59 }
60 60
61-var xSimpleProxyResolverSetIgnoreHosts func(uintptr, uintptr)61+var xSimpleProxyResolverSetIgnoreHosts func(uintptr, []string)
62 62
63 // Sets the list of ignored hosts.63 // Sets the list of ignored hosts.
64 //64 //
65 // See #GSimpleProxyResolver:ignore-hosts for more details on how the65 // See #GSimpleProxyResolver:ignore-hosts for more details on how the
66 // @ignore_hosts argument is interpreted.66 // @ignore_hosts argument is interpreted.
67-func (x *SimpleProxyResolver) SetIgnoreHosts(IgnoreHostsVar uintptr) {67+func (x *SimpleProxyResolver) SetIgnoreHosts(IgnoreHostsVar []string) {
68 68
69 xSimpleProxyResolverSetIgnoreHosts(x.GoPointer(), IgnoreHostsVar)69 xSimpleProxyResolverSetIgnoreHosts(x.GoPointer(), IgnoreHostsVar)
70 70
@@ -118,7 +118,7 @@ func (x *SimpleProxyResolver) IsSupported() bool {
118 // `direct://` is used when no proxy is needed.118 // `direct://` is used when no proxy is needed.
119 // Direct connection should not be attempted unless it is part of the119 // Direct connection should not be attempted unless it is part of the
120 // returned array of proxies.120 // returned array of proxies.
121-func (x *SimpleProxyResolver) Lookup(UriVar string, CancellableVar *Cancellable) (uintptr, error) {121+func (x *SimpleProxyResolver) Lookup(UriVar string, CancellableVar *Cancellable) ([]string, error) {
122 var cerr *glib.Error122 var cerr *glib.Error
123 123
124 cret := XGProxyResolverLookup(x.GoPointer(), UriVar, CancellableVar.GoPointer(), &cerr)124 cret := XGProxyResolverLookup(x.GoPointer(), UriVar, CancellableVar.GoPointer(), &cerr)
@@ -140,7 +140,7 @@ func (x *SimpleProxyResolver) LookupAsync(UriVar string, CancellableVar *Cancell
140 // Call this function to obtain the array of proxy URIs when140 // Call this function to obtain the array of proxy URIs when
141 // g_proxy_resolver_lookup_async() is complete. See141 // g_proxy_resolver_lookup_async() is complete. See
142 // g_proxy_resolver_lookup() for more details.142 // g_proxy_resolver_lookup() for more details.
143-func (x *SimpleProxyResolver) LookupFinish(ResultVar AsyncResult) (uintptr, error) {143+func (x *SimpleProxyResolver) LookupFinish(ResultVar AsyncResult) ([]string, error) {
144 var cerr *glib.Error144 var cerr *glib.Error
145 145
146 cret := XGProxyResolverLookupFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)146 cret := XGProxyResolverLookupFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)
@@ -151,13 +151,13 @@ func (x *SimpleProxyResolver) LookupFinish(ResultVar AsyncResult) (uintptr, erro
151 151
152 }152 }
153 153
154-var xSimpleProxyResolverNew func(string, uintptr) uintptr154+var xSimpleProxyResolverNew func(string, []string) uintptr
155 155
156 // Creates a new #GSimpleProxyResolver. See156 // Creates a new #GSimpleProxyResolver. See
157 // #GSimpleProxyResolver:default-proxy and157 // #GSimpleProxyResolver:default-proxy and
158 // #GSimpleProxyResolver:ignore-hosts for more details on how the158 // #GSimpleProxyResolver:ignore-hosts for more details on how the
159 // arguments are interpreted.159 // arguments are interpreted.
160-func SimpleProxyResolverNew(DefaultProxyVar string, IgnoreHostsVar uintptr) *ProxyResolverBase {160+func SimpleProxyResolverNew(DefaultProxyVar string, IgnoreHostsVar []string) *ProxyResolverBase {
161 var cls *ProxyResolverBase161 var cls *ProxyResolverBase
162 162
163 cret := xSimpleProxyResolverNew(DefaultProxyVar, IgnoreHostsVar)163 cret := xSimpleProxyResolverNew(DefaultProxyVar, IgnoreHostsVar)
M v4/gio/gsocket.go +22 -22
@@ -822,7 +822,7 @@ func (x *Socket) Listen() (bool, error) {
822 822
823 }823 }
824 824
825-var xSocketReceive func(uintptr, uintptr, uint, uintptr, **glib.Error) int825+var xSocketReceive func(uintptr, []byte, uint, uintptr, **glib.Error) int
826 826
827 // Receive data (up to @size bytes) from a socket. This is mainly used by827 // Receive data (up to @size bytes) from a socket. This is mainly used by
828 // connection-oriented sockets; it is identical to g_socket_receive_from()828 // connection-oriented sockets; it is identical to g_socket_receive_from()
@@ -847,7 +847,7 @@ var xSocketReceive func(uintptr, uintptr, uint, uintptr, **glib.Error) int
847 // %G_IO_IN condition.847 // %G_IO_IN condition.
848 //848 //
849 // On error -1 is returned and @error is set accordingly.849 // On error -1 is returned and @error is set accordingly.
850-func (x *Socket) Receive(BufferVar uintptr, SizeVar uint, CancellableVar *Cancellable) (int, error) {850+func (x *Socket) Receive(BufferVar []byte, SizeVar uint, CancellableVar *Cancellable) (int, error) {
851 var cerr *glib.Error851 var cerr *glib.Error
852 852
853 cret := xSocketReceive(x.GoPointer(), BufferVar, SizeVar, CancellableVar.GoPointer(), &cerr)853 cret := xSocketReceive(x.GoPointer(), BufferVar, SizeVar, CancellableVar.GoPointer(), &cerr)
@@ -858,7 +858,7 @@ func (x *Socket) Receive(BufferVar uintptr, SizeVar uint, CancellableVar *Cancel
858 858
859 }859 }
860 860
861-var xSocketReceiveFrom func(uintptr, *uintptr, uintptr, uint, uintptr, **glib.Error) int861+var xSocketReceiveFrom func(uintptr, *uintptr, []byte, uint, uintptr, **glib.Error) int
862 862
863 // Receive data (up to @size bytes) from a socket.863 // Receive data (up to @size bytes) from a socket.
864 //864 //
@@ -867,7 +867,7 @@ var xSocketReceiveFrom func(uintptr, *uintptr, uintptr, uint, uintptr, **glib.Er
867 // @address is owned by the caller.867 // @address is owned by the caller.
868 //868 //
869 // See g_socket_receive() for additional information.869 // See g_socket_receive() for additional information.
870-func (x *Socket) ReceiveFrom(AddressVar **SocketAddress, BufferVar uintptr, SizeVar uint, CancellableVar *Cancellable) (int, error) {870+func (x *Socket) ReceiveFrom(AddressVar **SocketAddress, BufferVar []byte, SizeVar uint, CancellableVar *Cancellable) (int, error) {
871 var cerr *glib.Error871 var cerr *glib.Error
872 872
873 cret := xSocketReceiveFrom(x.GoPointer(), gobject.ConvertPtr(AddressVar), BufferVar, SizeVar, CancellableVar.GoPointer(), &cerr)873 cret := xSocketReceiveFrom(x.GoPointer(), gobject.ConvertPtr(AddressVar), BufferVar, SizeVar, CancellableVar.GoPointer(), &cerr)
@@ -878,7 +878,7 @@ func (x *Socket) ReceiveFrom(AddressVar **SocketAddress, BufferVar uintptr, Size
878 878
879 }879 }
880 880
881-var xSocketReceiveMessage func(uintptr, *uintptr, uintptr, int, uintptr, int, int, uintptr, **glib.Error) int881+var xSocketReceiveMessage func(uintptr, *uintptr, []InputVector, int, uintptr, int, int, uintptr, **glib.Error) int
882 882
883 // Receive data from a socket. For receiving multiple messages, see883 // Receive data from a socket. For receiving multiple messages, see
884 // g_socket_receive_messages(); for easier use, see884 // g_socket_receive_messages(); for easier use, see
@@ -939,7 +939,7 @@ var xSocketReceiveMessage func(uintptr, *uintptr, uintptr, int, uintptr, int, in
939 // %G_IO_IN condition.939 // %G_IO_IN condition.
940 //940 //
941 // On error -1 is returned and @error is set accordingly.941 // On error -1 is returned and @error is set accordingly.
942-func (x *Socket) ReceiveMessage(AddressVar **SocketAddress, VectorsVar uintptr, NumVectorsVar int, MessagesVar uintptr, NumMessagesVar int, FlagsVar int, CancellableVar *Cancellable) (int, error) {942+func (x *Socket) ReceiveMessage(AddressVar **SocketAddress, VectorsVar []InputVector, NumVectorsVar int, MessagesVar uintptr, NumMessagesVar int, FlagsVar int, CancellableVar *Cancellable) (int, error) {
943 var cerr *glib.Error943 var cerr *glib.Error
944 944
945 cret := xSocketReceiveMessage(x.GoPointer(), gobject.ConvertPtr(AddressVar), VectorsVar, NumVectorsVar, MessagesVar, NumMessagesVar, FlagsVar, CancellableVar.GoPointer(), &cerr)945 cret := xSocketReceiveMessage(x.GoPointer(), gobject.ConvertPtr(AddressVar), VectorsVar, NumVectorsVar, MessagesVar, NumMessagesVar, FlagsVar, CancellableVar.GoPointer(), &cerr)
@@ -950,7 +950,7 @@ func (x *Socket) ReceiveMessage(AddressVar **SocketAddress, VectorsVar uintptr,
950 950
951 }951 }
952 952
953-var xSocketReceiveMessages func(uintptr, uintptr, uint, int, uintptr, **glib.Error) int953+var xSocketReceiveMessages func(uintptr, []InputMessage, uint, int, uintptr, **glib.Error) int
954 954
955 // Receive multiple data messages from @socket in one go. This is the most955 // Receive multiple data messages from @socket in one go. This is the most
956 // complicated and fully-featured version of this call. For easier use, see956 // complicated and fully-featured version of this call. For easier use, see
@@ -1000,7 +1000,7 @@ var xSocketReceiveMessages func(uintptr, uintptr, uint, int, uintptr, **glib.Err
1000 // On error -1 is returned and @error is set accordingly. An error will only1000 // On error -1 is returned and @error is set accordingly. An error will only
1001 // be returned if zero messages could be received; otherwise the number of1001 // be returned if zero messages could be received; otherwise the number of
1002 // messages successfully received before the error will be returned.1002 // messages successfully received before the error will be returned.
1003-func (x *Socket) ReceiveMessages(MessagesVar uintptr, NumMessagesVar uint, FlagsVar int, CancellableVar *Cancellable) (int, error) {1003+func (x *Socket) ReceiveMessages(MessagesVar []InputMessage, NumMessagesVar uint, FlagsVar int, CancellableVar *Cancellable) (int, error) {
1004 var cerr *glib.Error1004 var cerr *glib.Error
1005 1005
1006 cret := xSocketReceiveMessages(x.GoPointer(), MessagesVar, NumMessagesVar, FlagsVar, CancellableVar.GoPointer(), &cerr)1006 cret := xSocketReceiveMessages(x.GoPointer(), MessagesVar, NumMessagesVar, FlagsVar, CancellableVar.GoPointer(), &cerr)
@@ -1011,12 +1011,12 @@ func (x *Socket) ReceiveMessages(MessagesVar uintptr, NumMessagesVar uint, Flags
1011 1011
1012 }1012 }
1013 1013
1014-var xSocketReceiveWithBlocking func(uintptr, uintptr, uint, bool, uintptr, **glib.Error) int1014+var xSocketReceiveWithBlocking func(uintptr, []byte, uint, bool, uintptr, **glib.Error) int
1015 1015
1016 // This behaves exactly the same as g_socket_receive(), except that1016 // This behaves exactly the same as g_socket_receive(), except that
1017 // the choice of blocking or non-blocking behavior is determined by1017 // the choice of blocking or non-blocking behavior is determined by
1018 // the @blocking argument rather than by @socket's properties.1018 // the @blocking argument rather than by @socket's properties.
1019-func (x *Socket) ReceiveWithBlocking(BufferVar uintptr, SizeVar uint, BlockingVar bool, CancellableVar *Cancellable) (int, error) {1019+func (x *Socket) ReceiveWithBlocking(BufferVar []byte, SizeVar uint, BlockingVar bool, CancellableVar *Cancellable) (int, error) {
1020 var cerr *glib.Error1020 var cerr *glib.Error
1021 1021
1022 cret := xSocketReceiveWithBlocking(x.GoPointer(), BufferVar, SizeVar, BlockingVar, CancellableVar.GoPointer(), &cerr)1022 cret := xSocketReceiveWithBlocking(x.GoPointer(), BufferVar, SizeVar, BlockingVar, CancellableVar.GoPointer(), &cerr)
@@ -1027,7 +1027,7 @@ func (x *Socket) ReceiveWithBlocking(BufferVar uintptr, SizeVar uint, BlockingVa
1027 1027
1028 }1028 }
1029 1029
1030-var xSocketSend func(uintptr, uintptr, uint, uintptr, **glib.Error) int1030+var xSocketSend func(uintptr, []byte, uint, uintptr, **glib.Error) int
1031 1031
1032 // Tries to send @size bytes from @buffer on the socket. This is1032 // Tries to send @size bytes from @buffer on the socket. This is
1033 // mainly used by connection-oriented sockets; it is identical to1033 // mainly used by connection-oriented sockets; it is identical to
@@ -1043,7 +1043,7 @@ var xSocketSend func(uintptr, uintptr, uint, uintptr, **glib.Error) int
1043 // very common due to the way the underlying APIs work.)1043 // very common due to the way the underlying APIs work.)
1044 //1044 //
1045 // On error -1 is returned and @error is set accordingly.1045 // On error -1 is returned and @error is set accordingly.
1046-func (x *Socket) Send(BufferVar uintptr, SizeVar uint, CancellableVar *Cancellable) (int, error) {1046+func (x *Socket) Send(BufferVar []byte, SizeVar uint, CancellableVar *Cancellable) (int, error) {
1047 var cerr *glib.Error1047 var cerr *glib.Error
1048 1048
1049 cret := xSocketSend(x.GoPointer(), BufferVar, SizeVar, CancellableVar.GoPointer(), &cerr)1049 cret := xSocketSend(x.GoPointer(), BufferVar, SizeVar, CancellableVar.GoPointer(), &cerr)
@@ -1054,7 +1054,7 @@ func (x *Socket) Send(BufferVar uintptr, SizeVar uint, CancellableVar *Cancellab
1054 1054
1055 }1055 }
1056 1056
1057-var xSocketSendMessage func(uintptr, uintptr, uintptr, int, uintptr, int, int, uintptr, **glib.Error) int1057+var xSocketSendMessage func(uintptr, uintptr, []OutputVector, int, uintptr, int, int, uintptr, **glib.Error) int
1058 1058
1059 // Send data to @address on @socket. For sending multiple messages see1059 // Send data to @address on @socket. For sending multiple messages see
1060 // g_socket_send_messages(); for easier use, see1060 // g_socket_send_messages(); for easier use, see
@@ -1098,7 +1098,7 @@ var xSocketSendMessage func(uintptr, uintptr, uintptr, int, uintptr, int, int, u
1098 // function.1098 // function.
1099 //1099 //
1100 // On error -1 is returned and @error is set accordingly.1100 // On error -1 is returned and @error is set accordingly.
1101-func (x *Socket) SendMessage(AddressVar *SocketAddress, VectorsVar uintptr, NumVectorsVar int, MessagesVar uintptr, NumMessagesVar int, FlagsVar int, CancellableVar *Cancellable) (int, error) {1101+func (x *Socket) SendMessage(AddressVar *SocketAddress, VectorsVar []OutputVector, NumVectorsVar int, MessagesVar uintptr, NumMessagesVar int, FlagsVar int, CancellableVar *Cancellable) (int, error) {
1102 var cerr *glib.Error1102 var cerr *glib.Error
1103 1103
1104 cret := xSocketSendMessage(x.GoPointer(), AddressVar.GoPointer(), VectorsVar, NumVectorsVar, MessagesVar, NumMessagesVar, FlagsVar, CancellableVar.GoPointer(), &cerr)1104 cret := xSocketSendMessage(x.GoPointer(), AddressVar.GoPointer(), VectorsVar, NumVectorsVar, MessagesVar, NumMessagesVar, FlagsVar, CancellableVar.GoPointer(), &cerr)
@@ -1109,7 +1109,7 @@ func (x *Socket) SendMessage(AddressVar *SocketAddress, VectorsVar uintptr, NumV
1109 1109
1110 }1110 }
1111 1111
1112-var xSocketSendMessageWithTimeout func(uintptr, uintptr, uintptr, int, uintptr, int, int, int64, uint, uintptr, **glib.Error) PollableReturn1112+var xSocketSendMessageWithTimeout func(uintptr, uintptr, []OutputVector, int, uintptr, int, int, int64, uint, uintptr, **glib.Error) PollableReturn
1113 1113
1114 // This behaves exactly the same as g_socket_send_message(), except that1114 // This behaves exactly the same as g_socket_send_message(), except that
1115 // the choice of timeout behavior is determined by the @timeout_us argument1115 // the choice of timeout behavior is determined by the @timeout_us argument
@@ -1118,7 +1118,7 @@ var xSocketSendMessageWithTimeout func(uintptr, uintptr, uintptr, int, uintptr,
1118 // On error %G_POLLABLE_RETURN_FAILED is returned and @error is set accordingly, or1118 // On error %G_POLLABLE_RETURN_FAILED is returned and @error is set accordingly, or
1119 // if the socket is currently not writable %G_POLLABLE_RETURN_WOULD_BLOCK is1119 // if the socket is currently not writable %G_POLLABLE_RETURN_WOULD_BLOCK is
1120 // returned. @bytes_written will contain 0 in both cases.1120 // returned. @bytes_written will contain 0 in both cases.
1121-func (x *Socket) SendMessageWithTimeout(AddressVar *SocketAddress, VectorsVar uintptr, NumVectorsVar int, MessagesVar uintptr, NumMessagesVar int, FlagsVar int, TimeoutUsVar int64, BytesWrittenVar uint, CancellableVar *Cancellable) (PollableReturn, error) {1121+func (x *Socket) SendMessageWithTimeout(AddressVar *SocketAddress, VectorsVar []OutputVector, NumVectorsVar int, MessagesVar uintptr, NumMessagesVar int, FlagsVar int, TimeoutUsVar int64, BytesWrittenVar uint, CancellableVar *Cancellable) (PollableReturn, error) {
1122 var cerr *glib.Error1122 var cerr *glib.Error
1123 1123
1124 cret := xSocketSendMessageWithTimeout(x.GoPointer(), AddressVar.GoPointer(), VectorsVar, NumVectorsVar, MessagesVar, NumMessagesVar, FlagsVar, TimeoutUsVar, BytesWrittenVar, CancellableVar.GoPointer(), &cerr)1124 cret := xSocketSendMessageWithTimeout(x.GoPointer(), AddressVar.GoPointer(), VectorsVar, NumVectorsVar, MessagesVar, NumMessagesVar, FlagsVar, TimeoutUsVar, BytesWrittenVar, CancellableVar.GoPointer(), &cerr)
@@ -1129,7 +1129,7 @@ func (x *Socket) SendMessageWithTimeout(AddressVar *SocketAddress, VectorsVar ui
1129 1129
1130 }1130 }
1131 1131
1132-var xSocketSendMessages func(uintptr, uintptr, uint, int, uintptr, **glib.Error) int1132+var xSocketSendMessages func(uintptr, []OutputMessage, uint, int, uintptr, **glib.Error) int
1133 1133
1134 // Send multiple data messages from @socket in one go. This is the most1134 // Send multiple data messages from @socket in one go. This is the most
1135 // complicated and fully-featured version of this call. For easier use, see1135 // complicated and fully-featured version of this call. For easier use, see
@@ -1165,7 +1165,7 @@ var xSocketSendMessages func(uintptr, uintptr, uint, int, uintptr, **glib.Error)
1165 // On error -1 is returned and @error is set accordingly. An error will only1165 // On error -1 is returned and @error is set accordingly. An error will only
1166 // be returned if zero messages could be sent; otherwise the number of messages1166 // be returned if zero messages could be sent; otherwise the number of messages
1167 // successfully sent before the error will be returned.1167 // successfully sent before the error will be returned.
1168-func (x *Socket) SendMessages(MessagesVar uintptr, NumMessagesVar uint, FlagsVar int, CancellableVar *Cancellable) (int, error) {1168+func (x *Socket) SendMessages(MessagesVar []OutputMessage, NumMessagesVar uint, FlagsVar int, CancellableVar *Cancellable) (int, error) {
1169 var cerr *glib.Error1169 var cerr *glib.Error
1170 1170
1171 cret := xSocketSendMessages(x.GoPointer(), MessagesVar, NumMessagesVar, FlagsVar, CancellableVar.GoPointer(), &cerr)1171 cret := xSocketSendMessages(x.GoPointer(), MessagesVar, NumMessagesVar, FlagsVar, CancellableVar.GoPointer(), &cerr)
@@ -1176,14 +1176,14 @@ func (x *Socket) SendMessages(MessagesVar uintptr, NumMessagesVar uint, FlagsVar
1176 1176
1177 }1177 }
1178 1178
1179-var xSocketSendTo func(uintptr, uintptr, uintptr, uint, uintptr, **glib.Error) int1179+var xSocketSendTo func(uintptr, uintptr, []byte, uint, uintptr, **glib.Error) int
1180 1180
1181 // Tries to send @size bytes from @buffer to @address. If @address is1181 // Tries to send @size bytes from @buffer to @address. If @address is
1182 // %NULL then the message is sent to the default receiver (set by1182 // %NULL then the message is sent to the default receiver (set by
1183 // g_socket_connect()).1183 // g_socket_connect()).
1184 //1184 //
1185 // See g_socket_send() for additional information.1185 // See g_socket_send() for additional information.
1186-func (x *Socket) SendTo(AddressVar *SocketAddress, BufferVar uintptr, SizeVar uint, CancellableVar *Cancellable) (int, error) {1186+func (x *Socket) SendTo(AddressVar *SocketAddress, BufferVar []byte, SizeVar uint, CancellableVar *Cancellable) (int, error) {
1187 var cerr *glib.Error1187 var cerr *glib.Error
1188 1188
1189 cret := xSocketSendTo(x.GoPointer(), AddressVar.GoPointer(), BufferVar, SizeVar, CancellableVar.GoPointer(), &cerr)1189 cret := xSocketSendTo(x.GoPointer(), AddressVar.GoPointer(), BufferVar, SizeVar, CancellableVar.GoPointer(), &cerr)
@@ -1194,12 +1194,12 @@ func (x *Socket) SendTo(AddressVar *SocketAddress, BufferVar uintptr, SizeVar ui
1194 1194
1195 }1195 }
1196 1196
1197-var xSocketSendWithBlocking func(uintptr, uintptr, uint, bool, uintptr, **glib.Error) int1197+var xSocketSendWithBlocking func(uintptr, []byte, uint, bool, uintptr, **glib.Error) int
1198 1198
1199 // This behaves exactly the same as g_socket_send(), except that1199 // This behaves exactly the same as g_socket_send(), except that
1200 // the choice of blocking or non-blocking behavior is determined by1200 // the choice of blocking or non-blocking behavior is determined by
1201 // the @blocking argument rather than by @socket's properties.1201 // the @blocking argument rather than by @socket's properties.
1202-func (x *Socket) SendWithBlocking(BufferVar uintptr, SizeVar uint, BlockingVar bool, CancellableVar *Cancellable) (int, error) {1202+func (x *Socket) SendWithBlocking(BufferVar []byte, SizeVar uint, BlockingVar bool, CancellableVar *Cancellable) (int, error) {
1203 var cerr *glib.Error1203 var cerr *glib.Error
1204 1204
1205 cret := xSocketSendWithBlocking(x.GoPointer(), BufferVar, SizeVar, BlockingVar, CancellableVar.GoPointer(), &cerr)1205 cret := xSocketSendWithBlocking(x.GoPointer(), BufferVar, SizeVar, BlockingVar, CancellableVar.GoPointer(), &cerr)
M v4/gio/gsocketconnection.go +5 -4
@@ -8,6 +8,7 @@ import (
8 "github.com/jwijenbergh/puregotk/internal/core"8 "github.com/jwijenbergh/puregotk/internal/core"
9 "github.com/jwijenbergh/puregotk/v4/glib"9 "github.com/jwijenbergh/puregotk/v4/glib"
10 "github.com/jwijenbergh/puregotk/v4/gobject"10 "github.com/jwijenbergh/puregotk/v4/gobject"
11+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
11 )12 )
12 13
13 type SocketConnectionClass struct {14 type SocketConnectionClass struct {
@@ -179,25 +180,25 @@ func (c *SocketConnection) SetGoPointer(ptr uintptr) {
179 c.Ptr = ptr180 c.Ptr = ptr
180 }181 }
181 182
182-var xSocketConnectionFactoryLookupType func(SocketFamily, SocketType, int) []interface{}183+var xSocketConnectionFactoryLookupType func(SocketFamily, SocketType, int) types.GType
183 184
184 // Looks up the #GType to be used when creating socket connections on185 // Looks up the #GType to be used when creating socket connections on
185 // sockets with the specified @family, @type and @protocol_id.186 // sockets with the specified @family, @type and @protocol_id.
186 //187 //
187 // If no type is registered, the #GSocketConnection base type is returned.188 // If no type is registered, the #GSocketConnection base type is returned.
188-func SocketConnectionFactoryLookupType(FamilyVar SocketFamily, TypeVar SocketType, ProtocolIdVar int) []interface{} {189+func SocketConnectionFactoryLookupType(FamilyVar SocketFamily, TypeVar SocketType, ProtocolIdVar int) types.GType {
189 190
190 cret := xSocketConnectionFactoryLookupType(FamilyVar, TypeVar, ProtocolIdVar)191 cret := xSocketConnectionFactoryLookupType(FamilyVar, TypeVar, ProtocolIdVar)
191 return cret192 return cret
192 }193 }
193 194
194-var xSocketConnectionFactoryRegisterType func([]interface{}, SocketFamily, SocketType, int)195+var xSocketConnectionFactoryRegisterType func(types.GType, SocketFamily, SocketType, int)
195 196
196 // Looks up the #GType to be used when creating socket connections on197 // Looks up the #GType to be used when creating socket connections on
197 // sockets with the specified @family, @type and @protocol.198 // sockets with the specified @family, @type and @protocol.
198 //199 //
199 // If no type is registered, the #GSocketConnection base type is returned.200 // If no type is registered, the #GSocketConnection base type is returned.
200-func SocketConnectionFactoryRegisterType(GTypeVar []interface{}, FamilyVar SocketFamily, TypeVar SocketType, ProtocolVar int) {201+func SocketConnectionFactoryRegisterType(GTypeVar types.GType, FamilyVar SocketFamily, TypeVar SocketType, ProtocolVar int) {
201 202
202 xSocketConnectionFactoryRegisterType(GTypeVar, FamilyVar, TypeVar, ProtocolVar)203 xSocketConnectionFactoryRegisterType(GTypeVar, FamilyVar, TypeVar, ProtocolVar)
203 204
M v4/gio/gthemedicon.go +2 -2
@@ -109,10 +109,10 @@ func (x *ThemedIcon) AppendName(IconnameVar string) {
109 109
110 }110 }
111 111
112-var xThemedIconGetNames func(uintptr) uintptr112+var xThemedIconGetNames func(uintptr) []string
113 113
114 // Gets the names of icons from within @icon.114 // Gets the names of icons from within @icon.
115-func (x *ThemedIcon) GetNames() uintptr {115+func (x *ThemedIcon) GetNames() []string {
116 116
117 cret := xThemedIconGetNames(x.GoPointer())117 cret := xThemedIconGetNames(x.GoPointer())
118 return cret118 return cret
M v4/gio/gtlsbackend.go +19 -18
@@ -7,6 +7,7 @@ import (
7 "github.com/jwijenbergh/purego"7 "github.com/jwijenbergh/purego"
8 "github.com/jwijenbergh/puregotk/internal/core"8 "github.com/jwijenbergh/puregotk/internal/core"
9 "github.com/jwijenbergh/puregotk/v4/gobject"9 "github.com/jwijenbergh/puregotk/v4/gobject"
10+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
10 )11 )
11 12
12 // Provides an interface for describing TLS-related types.13 // Provides an interface for describing TLS-related types.
@@ -22,13 +23,13 @@ func (x *TlsBackendInterface) GoPointer() uintptr {
22 type TlsBackend interface {23 type TlsBackend interface {
23 GoPointer() uintptr24 GoPointer() uintptr
24 SetGoPointer(uintptr)25 SetGoPointer(uintptr)
25- GetCertificateType() []interface{}26+ GetCertificateType() types.GType
26- GetClientConnectionType() []interface{}27+ GetClientConnectionType() types.GType
27 GetDefaultDatabase() *TlsDatabase28 GetDefaultDatabase() *TlsDatabase
28- GetDtlsClientConnectionType() []interface{}29+ GetDtlsClientConnectionType() types.GType
29- GetDtlsServerConnectionType() []interface{}30+ GetDtlsServerConnectionType() types.GType
30- GetFileDatabaseType() []interface{}31+ GetFileDatabaseType() types.GType
31- GetServerConnectionType() []interface{}32+ GetServerConnectionType() types.GType
32 SetDefaultDatabase(DatabaseVar *TlsDatabase)33 SetDefaultDatabase(DatabaseVar *TlsDatabase)
33 SupportsDtls() bool34 SupportsDtls() bool
34 SupportsTls() bool35 SupportsTls() bool
@@ -46,14 +47,14 @@ func (x *TlsBackendBase) SetGoPointer(ptr uintptr) {
46 }47 }
47 48
48 // Gets the #GType of @backend's #GTlsCertificate implementation.49 // Gets the #GType of @backend's #GTlsCertificate implementation.
49-func (x *TlsBackendBase) GetCertificateType() []interface{} {50+func (x *TlsBackendBase) GetCertificateType() types.GType {
50 51
51 cret := XGTlsBackendGetCertificateType(x.GoPointer())52 cret := XGTlsBackendGetCertificateType(x.GoPointer())
52 return cret53 return cret
53 }54 }
54 55
55 // Gets the #GType of @backend's #GTlsClientConnection implementation.56 // Gets the #GType of @backend's #GTlsClientConnection implementation.
56-func (x *TlsBackendBase) GetClientConnectionType() []interface{} {57+func (x *TlsBackendBase) GetClientConnectionType() types.GType {
57 58
58 cret := XGTlsBackendGetClientConnectionType(x.GoPointer())59 cret := XGTlsBackendGetClientConnectionType(x.GoPointer())
59 return cret60 return cret
@@ -74,28 +75,28 @@ func (x *TlsBackendBase) GetDefaultDatabase() *TlsDatabase {
74 }75 }
75 76
76 // Gets the #GType of @backend’s #GDtlsClientConnection implementation.77 // Gets the #GType of @backend’s #GDtlsClientConnection implementation.
77-func (x *TlsBackendBase) GetDtlsClientConnectionType() []interface{} {78+func (x *TlsBackendBase) GetDtlsClientConnectionType() types.GType {
78 79
79 cret := XGTlsBackendGetDtlsClientConnectionType(x.GoPointer())80 cret := XGTlsBackendGetDtlsClientConnectionType(x.GoPointer())
80 return cret81 return cret
81 }82 }
82 83
83 // Gets the #GType of @backend’s #GDtlsServerConnection implementation.84 // Gets the #GType of @backend’s #GDtlsServerConnection implementation.
84-func (x *TlsBackendBase) GetDtlsServerConnectionType() []interface{} {85+func (x *TlsBackendBase) GetDtlsServerConnectionType() types.GType {
85 86
86 cret := XGTlsBackendGetDtlsServerConnectionType(x.GoPointer())87 cret := XGTlsBackendGetDtlsServerConnectionType(x.GoPointer())
87 return cret88 return cret
88 }89 }
89 90
90 // Gets the #GType of @backend's #GTlsFileDatabase implementation.91 // Gets the #GType of @backend's #GTlsFileDatabase implementation.
91-func (x *TlsBackendBase) GetFileDatabaseType() []interface{} {92+func (x *TlsBackendBase) GetFileDatabaseType() types.GType {
92 93
93 cret := XGTlsBackendGetFileDatabaseType(x.GoPointer())94 cret := XGTlsBackendGetFileDatabaseType(x.GoPointer())
94 return cret95 return cret
95 }96 }
96 97
97 // Gets the #GType of @backend's #GTlsServerConnection implementation.98 // Gets the #GType of @backend's #GTlsServerConnection implementation.
98-func (x *TlsBackendBase) GetServerConnectionType() []interface{} {99+func (x *TlsBackendBase) GetServerConnectionType() types.GType {
99 100
100 cret := XGTlsBackendGetServerConnectionType(x.GoPointer())101 cret := XGTlsBackendGetServerConnectionType(x.GoPointer())
101 return cret102 return cret
@@ -131,13 +132,13 @@ func (x *TlsBackendBase) SupportsTls() bool {
131 return cret132 return cret
132 }133 }
133 134
134-var XGTlsBackendGetCertificateType func(uintptr) []interface{}135+var XGTlsBackendGetCertificateType func(uintptr) types.GType
135-var XGTlsBackendGetClientConnectionType func(uintptr) []interface{}136+var XGTlsBackendGetClientConnectionType func(uintptr) types.GType
136 var XGTlsBackendGetDefaultDatabase func(uintptr) uintptr137 var XGTlsBackendGetDefaultDatabase func(uintptr) uintptr
137-var XGTlsBackendGetDtlsClientConnectionType func(uintptr) []interface{}138+var XGTlsBackendGetDtlsClientConnectionType func(uintptr) types.GType
138-var XGTlsBackendGetDtlsServerConnectionType func(uintptr) []interface{}139+var XGTlsBackendGetDtlsServerConnectionType func(uintptr) types.GType
139-var XGTlsBackendGetFileDatabaseType func(uintptr) []interface{}140+var XGTlsBackendGetFileDatabaseType func(uintptr) types.GType
140-var XGTlsBackendGetServerConnectionType func(uintptr) []interface{}141+var XGTlsBackendGetServerConnectionType func(uintptr) types.GType
141 var XGTlsBackendSetDefaultDatabase func(uintptr, uintptr)142 var XGTlsBackendSetDefaultDatabase func(uintptr, uintptr)
142 var XGTlsBackendSupportsDtls func(uintptr) bool143 var XGTlsBackendSupportsDtls func(uintptr) bool
143 var XGTlsBackendSupportsTls func(uintptr) bool144 var XGTlsBackendSupportsTls func(uintptr) bool
M v4/gio/gtlscertificate.go +7 -7
@@ -13,7 +13,7 @@ import (
13 type TlsCertificateClass struct {13 type TlsCertificateClass struct {
14 ParentClass uintptr14 ParentClass uintptr
15 15
16- Padding uintptr16+ Padding [8]uintptr
17 }17 }
18 18
19 func (x *TlsCertificateClass) GoPointer() uintptr {19 func (x *TlsCertificateClass) GoPointer() uintptr {
@@ -214,7 +214,7 @@ func NewTlsCertificateFromPkcs11Uris(Pkcs11UriVar string, PrivateKeyPkcs11UriVar
214 214
215 }215 }
216 216
217-var xNewTlsCertificateFromPkcs12 func(uintptr, uint, string, **glib.Error) uintptr217+var xNewTlsCertificateFromPkcs12 func([]byte, uint, string, **glib.Error) uintptr
218 218
219 // Creates a #GTlsCertificate from the data in @data. It must contain219 // Creates a #GTlsCertificate from the data in @data. It must contain
220 // a certificate and matching private key.220 // a certificate and matching private key.
@@ -233,7 +233,7 @@ var xNewTlsCertificateFromPkcs12 func(uintptr, uint, string, **glib.Error) uintp
233 // %G_IO_ERROR_NOT_SUPPORTED.233 // %G_IO_ERROR_NOT_SUPPORTED.
234 //234 //
235 // Other parsing failures will error with %G_TLS_ERROR_BAD_CERTIFICATE.235 // Other parsing failures will error with %G_TLS_ERROR_BAD_CERTIFICATE.
236-func NewTlsCertificateFromPkcs12(DataVar uintptr, LengthVar uint, PasswordVar string) (*TlsCertificate, error) {236+func NewTlsCertificateFromPkcs12(DataVar []byte, LengthVar uint, PasswordVar string) (*TlsCertificate, error) {
237 var cls *TlsCertificate237 var cls *TlsCertificate
238 var cerr *glib.Error238 var cerr *glib.Error
239 239
@@ -251,19 +251,19 @@ func NewTlsCertificateFromPkcs12(DataVar uintptr, LengthVar uint, PasswordVar st
251 251
252 }252 }
253 253
254-var xTlsCertificateGetDnsNames func(uintptr) uintptr254+var xTlsCertificateGetDnsNames func(uintptr) []glib.Bytes
255 255
256 // Gets the value of #GTlsCertificate:dns-names.256 // Gets the value of #GTlsCertificate:dns-names.
257-func (x *TlsCertificate) GetDnsNames() uintptr {257+func (x *TlsCertificate) GetDnsNames() []glib.Bytes {
258 258
259 cret := xTlsCertificateGetDnsNames(x.GoPointer())259 cret := xTlsCertificateGetDnsNames(x.GoPointer())
260 return cret260 return cret
261 }261 }
262 262
263-var xTlsCertificateGetIpAddresses func(uintptr) uintptr263+var xTlsCertificateGetIpAddresses func(uintptr) []InetAddress
264 264
265 // Gets the value of #GTlsCertificate:ip-addresses.265 // Gets the value of #GTlsCertificate:ip-addresses.
266-func (x *TlsCertificate) GetIpAddresses() uintptr {266+func (x *TlsCertificate) GetIpAddresses() []InetAddress {
267 267
268 cret := xTlsCertificateGetIpAddresses(x.GoPointer())268 cret := xTlsCertificateGetIpAddresses(x.GoPointer())
269 return cret269 return cret
M v4/gio/gtlsconnection.go +5 -5
@@ -14,7 +14,7 @@ import (
14 type TlsConnectionClass struct {14 type TlsConnectionClass struct {
15 ParentClass uintptr15 ParentClass uintptr
16 16
17- Padding uintptr17+ Padding [6]uintptr
18 }18 }
19 19
20 func (x *TlsConnectionClass) GoPointer() uintptr {20 func (x *TlsConnectionClass) GoPointer() uintptr {
@@ -72,7 +72,7 @@ func (x *TlsConnection) GetCertificate() *TlsCertificate {
72 return cls72 return cls
73 }73 }
74 74
75-var xTlsConnectionGetChannelBindingData func(uintptr, TlsChannelBindingType, uintptr, **glib.Error) bool75+var xTlsConnectionGetChannelBindingData func(uintptr, TlsChannelBindingType, []byte, **glib.Error) bool
76 76
77 // Query the TLS backend for TLS channel binding data of @type for @conn.77 // Query the TLS backend for TLS channel binding data of @type for @conn.
78 //78 //
@@ -87,7 +87,7 @@ var xTlsConnectionGetChannelBindingData func(uintptr, TlsChannelBindingType, uin
87 // will be available though. That could happen if TLS connection does not87 // will be available though. That could happen if TLS connection does not
88 // support @type or the binding data is not available yet due to additional88 // support @type or the binding data is not available yet due to additional
89 // negotiation or input required.89 // negotiation or input required.
90-func (x *TlsConnection) GetChannelBindingData(TypeVar TlsChannelBindingType, DataVar uintptr) (bool, error) {90+func (x *TlsConnection) GetChannelBindingData(TypeVar TlsChannelBindingType, DataVar []byte) (bool, error) {
91 var cerr *glib.Error91 var cerr *glib.Error
92 92
93 cret := xTlsConnectionGetChannelBindingData(x.GoPointer(), TypeVar, DataVar, &cerr)93 cret := xTlsConnectionGetChannelBindingData(x.GoPointer(), TypeVar, DataVar, &cerr)
@@ -310,7 +310,7 @@ func (x *TlsConnection) HandshakeFinish(ResultVar AsyncResult) (bool, error) {
310 310
311 }311 }
312 312
313-var xTlsConnectionSetAdvertisedProtocols func(uintptr, uintptr)313+var xTlsConnectionSetAdvertisedProtocols func(uintptr, []string)
314 314
315 // Sets the list of application-layer protocols to advertise that the315 // Sets the list of application-layer protocols to advertise that the
316 // caller is willing to speak on this connection. The316 // caller is willing to speak on this connection. The
@@ -322,7 +322,7 @@ var xTlsConnectionSetAdvertisedProtocols func(uintptr, uintptr)
322 //322 //
323 // See [IANA TLS ALPN Protocol IDs](https://www.iana.org/assignments/tls-extensiontype-values/tls-extensiontype-values.xhtml#alpn-protocol-ids)323 // See [IANA TLS ALPN Protocol IDs](https://www.iana.org/assignments/tls-extensiontype-values/tls-extensiontype-values.xhtml#alpn-protocol-ids)
324 // for a list of registered protocol IDs.324 // for a list of registered protocol IDs.
325-func (x *TlsConnection) SetAdvertisedProtocols(ProtocolsVar uintptr) {325+func (x *TlsConnection) SetAdvertisedProtocols(ProtocolsVar []string) {
326 326
327 xTlsConnectionSetAdvertisedProtocols(x.GoPointer(), ProtocolsVar)327 xTlsConnectionSetAdvertisedProtocols(x.GoPointer(), ProtocolsVar)
328 328
M v4/gio/gtlsdatabase.go +5 -5
@@ -16,7 +16,7 @@ import (
16 type TlsDatabaseClass struct {16 type TlsDatabaseClass struct {
17 ParentClass uintptr17 ParentClass uintptr
18 18
19- Padding uintptr19+ Padding [16]uintptr
20 }20 }
21 21
22 func (x *TlsDatabaseClass) GoPointer() uintptr {22 func (x *TlsDatabaseClass) GoPointer() uintptr {
@@ -213,13 +213,13 @@ func (x *TlsDatabase) LookupCertificateIssuerFinish(ResultVar AsyncResult) (*Tls
213 213
214 }214 }
215 215
216-var xTlsDatabaseLookupCertificatesIssuedBy func(uintptr, uintptr, uintptr, TlsDatabaseLookupFlags, uintptr, **glib.Error) *glib.List216+var xTlsDatabaseLookupCertificatesIssuedBy func(uintptr, []byte, uintptr, TlsDatabaseLookupFlags, uintptr, **glib.Error) *glib.List
217 217
218 // Look up certificates issued by this issuer in the database.218 // Look up certificates issued by this issuer in the database.
219 //219 //
220 // This function can block, use g_tls_database_lookup_certificates_issued_by_async() to perform220 // This function can block, use g_tls_database_lookup_certificates_issued_by_async() to perform
221 // the lookup operation asynchronously.221 // the lookup operation asynchronously.
222-func (x *TlsDatabase) LookupCertificatesIssuedBy(IssuerRawDnVar uintptr, InteractionVar *TlsInteraction, FlagsVar TlsDatabaseLookupFlags, CancellableVar *Cancellable) (*glib.List, error) {222+func (x *TlsDatabase) LookupCertificatesIssuedBy(IssuerRawDnVar []byte, InteractionVar *TlsInteraction, FlagsVar TlsDatabaseLookupFlags, CancellableVar *Cancellable) (*glib.List, error) {
223 var cerr *glib.Error223 var cerr *glib.Error
224 224
225 cret := xTlsDatabaseLookupCertificatesIssuedBy(x.GoPointer(), IssuerRawDnVar, InteractionVar.GoPointer(), FlagsVar, CancellableVar.GoPointer(), &cerr)225 cret := xTlsDatabaseLookupCertificatesIssuedBy(x.GoPointer(), IssuerRawDnVar, InteractionVar.GoPointer(), FlagsVar, CancellableVar.GoPointer(), &cerr)
@@ -230,7 +230,7 @@ func (x *TlsDatabase) LookupCertificatesIssuedBy(IssuerRawDnVar uintptr, Interac
230 230
231 }231 }
232 232
233-var xTlsDatabaseLookupCertificatesIssuedByAsync func(uintptr, uintptr, uintptr, TlsDatabaseLookupFlags, uintptr, uintptr, uintptr)233+var xTlsDatabaseLookupCertificatesIssuedByAsync func(uintptr, []byte, uintptr, TlsDatabaseLookupFlags, uintptr, uintptr, uintptr)
234 234
235 // Asynchronously look up certificates issued by this issuer in the database. See235 // Asynchronously look up certificates issued by this issuer in the database. See
236 // g_tls_database_lookup_certificates_issued_by() for more information.236 // g_tls_database_lookup_certificates_issued_by() for more information.
@@ -238,7 +238,7 @@ var xTlsDatabaseLookupCertificatesIssuedByAsync func(uintptr, uintptr, uintptr,
238 // The database may choose to hold a reference to the issuer byte array for the duration238 // The database may choose to hold a reference to the issuer byte array for the duration
239 // of of this asynchronous operation. The byte array should not be modified during239 // of of this asynchronous operation. The byte array should not be modified during
240 // this time.240 // this time.
241-func (x *TlsDatabase) LookupCertificatesIssuedByAsync(IssuerRawDnVar uintptr, InteractionVar *TlsInteraction, FlagsVar TlsDatabaseLookupFlags, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) {241+func (x *TlsDatabase) LookupCertificatesIssuedByAsync(IssuerRawDnVar []byte, InteractionVar *TlsInteraction, FlagsVar TlsDatabaseLookupFlags, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) {
242 242
243 xTlsDatabaseLookupCertificatesIssuedByAsync(x.GoPointer(), IssuerRawDnVar, InteractionVar.GoPointer(), FlagsVar, CancellableVar.GoPointer(), glib.NewCallback(CallbackVar), UserDataVar)243 xTlsDatabaseLookupCertificatesIssuedByAsync(x.GoPointer(), IssuerRawDnVar, InteractionVar.GoPointer(), FlagsVar, CancellableVar.GoPointer(), glib.NewCallback(CallbackVar), UserDataVar)
244 244
M v4/gio/gtlsfiledatabase.go +1 -1
@@ -13,7 +13,7 @@ import (
13 type TlsFileDatabaseInterface struct {13 type TlsFileDatabaseInterface struct {
14 GIface uintptr14 GIface uintptr
15 15
16- Padding uintptr16+ Padding [8]uintptr
17 }17 }
18 18
19 func (x *TlsFileDatabaseInterface) GoPointer() uintptr {19 func (x *TlsFileDatabaseInterface) GoPointer() uintptr {
M v4/gio/gtlsinteraction.go +1 -1
@@ -27,7 +27,7 @@ import (
27 type TlsInteractionClass struct {27 type TlsInteractionClass struct {
28 ParentClass uintptr28 ParentClass uintptr
29 29
30- Padding uintptr30+ Padding [21]uintptr
31 }31 }
32 32
33 func (x *TlsInteractionClass) GoPointer() uintptr {33 func (x *TlsInteractionClass) GoPointer() uintptr {
M v4/gio/gtlspassword.go +7 -7
@@ -14,7 +14,7 @@ import (
14 type TlsPasswordClass struct {14 type TlsPasswordClass struct {
15 ParentClass uintptr15 ParentClass uintptr
16 16
17- Padding uintptr17+ Padding [4]uintptr
18 }18 }
19 19
20 func (x *TlsPasswordClass) GoPointer() uintptr {20 func (x *TlsPasswordClass) GoPointer() uintptr {
@@ -73,14 +73,14 @@ func (x *TlsPassword) GetFlags() TlsPasswordFlags {
73 return cret73 return cret
74 }74 }
75 75
76-var xTlsPasswordGetValue func(uintptr, uint) uintptr76+var xTlsPasswordGetValue func(uintptr, uint) []byte
77 77
78 // Get the password value. If @length is not %NULL then it will be78 // Get the password value. If @length is not %NULL then it will be
79 // filled in with the length of the password value. (Note that the79 // filled in with the length of the password value. (Note that the
80 // password value is not nul-terminated, so you can only pass %NULL80 // password value is not nul-terminated, so you can only pass %NULL
81 // for @length in contexts where you know the password will have a81 // for @length in contexts where you know the password will have a
82 // certain fixed length.)82 // certain fixed length.)
83-func (x *TlsPassword) GetValue(LengthVar uint) uintptr {83+func (x *TlsPassword) GetValue(LengthVar uint) []byte {
84 84
85 cret := xTlsPasswordGetValue(x.GoPointer(), LengthVar)85 cret := xTlsPasswordGetValue(x.GoPointer(), LengthVar)
86 return cret86 return cret
@@ -115,7 +115,7 @@ func (x *TlsPassword) SetFlags(FlagsVar TlsPasswordFlags) {
115 115
116 }116 }
117 117
118-var xTlsPasswordSetValue func(uintptr, uintptr, int)118+var xTlsPasswordSetValue func(uintptr, []byte, int)
119 119
120 // Set the value for this password. The @value will be copied by the password120 // Set the value for this password. The @value will be copied by the password
121 // object.121 // object.
@@ -124,13 +124,13 @@ var xTlsPasswordSetValue func(uintptr, uintptr, int)
124 // @length if using a nul-terminated password, and @length will be124 // @length if using a nul-terminated password, and @length will be
125 // calculated automatically. (Note that the terminating nul is not125 // calculated automatically. (Note that the terminating nul is not
126 // considered part of the password in this case.)126 // considered part of the password in this case.)
127-func (x *TlsPassword) SetValue(ValueVar uintptr, LengthVar int) {127+func (x *TlsPassword) SetValue(ValueVar []byte, LengthVar int) {
128 128
129 xTlsPasswordSetValue(x.GoPointer(), ValueVar, LengthVar)129 xTlsPasswordSetValue(x.GoPointer(), ValueVar, LengthVar)
130 130
131 }131 }
132 132
133-var xTlsPasswordSetValueFull func(uintptr, uintptr, int, uintptr)133+var xTlsPasswordSetValueFull func(uintptr, []byte, int, uintptr)
134 134
135 // Provide the value for this password.135 // Provide the value for this password.
136 //136 //
@@ -141,7 +141,7 @@ var xTlsPasswordSetValueFull func(uintptr, uintptr, int, uintptr)
141 // @length if using a nul-terminated password, and @length will be141 // @length if using a nul-terminated password, and @length will be
142 // calculated automatically. (Note that the terminating nul is not142 // calculated automatically. (Note that the terminating nul is not
143 // considered part of the password in this case.)143 // considered part of the password in this case.)
144-func (x *TlsPassword) SetValueFull(ValueVar uintptr, LengthVar int, DestroyVar *glib.DestroyNotify) {144+func (x *TlsPassword) SetValueFull(ValueVar []byte, LengthVar int, DestroyVar *glib.DestroyNotify) {
145 145
146 xTlsPasswordSetValueFull(x.GoPointer(), ValueVar, LengthVar, glib.NewCallback(DestroyVar))146 xTlsPasswordSetValueFull(x.GoPointer(), ValueVar, LengthVar, glib.NewCallback(DestroyVar))
147 147
M v4/gio/gunixfdlist.go +6 -6
@@ -61,7 +61,7 @@ func NewUnixFDList() *UnixFDList {
61 return cls61 return cls
62 }62 }
63 63
64-var xNewUnixFDListFromArray func(uintptr, int) uintptr64+var xNewUnixFDListFromArray func([]int, int) uintptr
65 65
66 // Creates a new #GUnixFDList containing the file descriptors given in66 // Creates a new #GUnixFDList containing the file descriptors given in
67 // @fds. The file descriptors become the property of the new list and67 // @fds. The file descriptors become the property of the new list and
@@ -71,7 +71,7 @@ var xNewUnixFDListFromArray func(uintptr, int) uintptr
71 // Each file descriptor in the array should be set to close-on-exec.71 // Each file descriptor in the array should be set to close-on-exec.
72 //72 //
73 // If @n_fds is -1 then @fds must be terminated with -1.73 // If @n_fds is -1 then @fds must be terminated with -1.
74-func NewUnixFDListFromArray(FdsVar uintptr, NFdsVar int) *UnixFDList {74+func NewUnixFDListFromArray(FdsVar []int, NFdsVar int) *UnixFDList {
75 var cls *UnixFDList75 var cls *UnixFDList
76 76
77 cret := xNewUnixFDListFromArray(FdsVar, NFdsVar)77 cret := xNewUnixFDListFromArray(FdsVar, NFdsVar)
@@ -144,7 +144,7 @@ func (x *UnixFDList) GetLength() int {
144 return cret144 return cret
145 }145 }
146 146
147-var xUnixFDListPeekFds func(uintptr, int) uintptr147+var xUnixFDListPeekFds func(uintptr, int) []int
148 148
149 // Returns the array of file descriptors that is contained in this149 // Returns the array of file descriptors that is contained in this
150 // object.150 // object.
@@ -159,13 +159,13 @@ var xUnixFDListPeekFds func(uintptr, int) uintptr
159 //159 //
160 // This function never returns %NULL. In case there are no file160 // This function never returns %NULL. In case there are no file
161 // descriptors contained in @list, an empty array is returned.161 // descriptors contained in @list, an empty array is returned.
162-func (x *UnixFDList) PeekFds(LengthVar int) uintptr {162+func (x *UnixFDList) PeekFds(LengthVar int) []int {
163 163
164 cret := xUnixFDListPeekFds(x.GoPointer(), LengthVar)164 cret := xUnixFDListPeekFds(x.GoPointer(), LengthVar)
165 return cret165 return cret
166 }166 }
167 167
168-var xUnixFDListStealFds func(uintptr, int) uintptr168+var xUnixFDListStealFds func(uintptr, int) []int
169 169
170 // Returns the array of file descriptors that is contained in this170 // Returns the array of file descriptors that is contained in this
171 // object.171 // object.
@@ -185,7 +185,7 @@ var xUnixFDListStealFds func(uintptr, int) uintptr
185 //185 //
186 // This function never returns %NULL. In case there are no file186 // This function never returns %NULL. In case there are no file
187 // descriptors contained in @list, an empty array is returned.187 // descriptors contained in @list, an empty array is returned.
188-func (x *UnixFDList) StealFds(LengthVar int) uintptr {188+func (x *UnixFDList) StealFds(LengthVar int) []int {
189 189
190 cret := xUnixFDListStealFds(x.GoPointer(), LengthVar)190 cret := xUnixFDListStealFds(x.GoPointer(), LengthVar)
191 return cret191 return cret
M v4/gio/gunixfdmessage.go +2 -2
@@ -121,7 +121,7 @@ func (x *UnixFDMessage) GetFdList() *UnixFDList {
121 return cls121 return cls
122 }122 }
123 123
124-var xUnixFDMessageStealFds func(uintptr, int) uintptr124+var xUnixFDMessageStealFds func(uintptr, int) []int
125 125
126 // Returns the array of file descriptors that is contained in this126 // Returns the array of file descriptors that is contained in this
127 // object.127 // object.
@@ -140,7 +140,7 @@ var xUnixFDMessageStealFds func(uintptr, int) uintptr
140 //140 //
141 // This function never returns %NULL. In case there are no file141 // This function never returns %NULL. In case there are no file
142 // descriptors contained in @message, an empty array is returned.142 // descriptors contained in @message, an empty array is returned.
143-func (x *UnixFDMessage) StealFds(LengthVar int) uintptr {143+func (x *UnixFDMessage) StealFds(LengthVar int) []int {
144 144
145 cret := xUnixFDMessageStealFds(x.GoPointer(), LengthVar)145 cret := xUnixFDMessageStealFds(x.GoPointer(), LengthVar)
146 return cret146 return cret
M v4/gio/gunixinputstream.go +1 -1
@@ -151,7 +151,7 @@ func (x *UnixInputStream) IsReadable() bool {
151 // if @cancellable has already been cancelled when you call, which151 // if @cancellable has already been cancelled when you call, which
152 // may happen if you call this method after a source triggers due152 // may happen if you call this method after a source triggers due
153 // to having been cancelled.153 // to having been cancelled.
154-func (x *UnixInputStream) ReadNonblocking(BufferVar uintptr, CountVar uint, CancellableVar *Cancellable) (int, error) {154+func (x *UnixInputStream) ReadNonblocking(BufferVar []byte, CountVar uint, CancellableVar *Cancellable) (int, error) {
155 var cerr *glib.Error155 var cerr *glib.Error
156 156
157 cret := XGPollableInputStreamReadNonblocking(x.GoPointer(), BufferVar, CountVar, CancellableVar.GoPointer(), &cerr)157 cret := XGPollableInputStreamReadNonblocking(x.GoPointer(), BufferVar, CountVar, CancellableVar.GoPointer(), &cerr)
M v4/gio/gunixoutputstream.go +2 -2
@@ -155,7 +155,7 @@ func (x *UnixOutputStream) IsWritable() bool {
155 // Also note that if %G_IO_ERROR_WOULD_BLOCK is returned some underlying155 // Also note that if %G_IO_ERROR_WOULD_BLOCK is returned some underlying
156 // transports like D/TLS require that you re-send the same @buffer and156 // transports like D/TLS require that you re-send the same @buffer and
157 // @count in the next write call.157 // @count in the next write call.
158-func (x *UnixOutputStream) WriteNonblocking(BufferVar uintptr, CountVar uint, CancellableVar *Cancellable) (int, error) {158+func (x *UnixOutputStream) WriteNonblocking(BufferVar []byte, CountVar uint, CancellableVar *Cancellable) (int, error) {
159 var cerr *glib.Error159 var cerr *glib.Error
160 160
161 cret := XGPollableOutputStreamWriteNonblocking(x.GoPointer(), BufferVar, CountVar, CancellableVar.GoPointer(), &cerr)161 cret := XGPollableOutputStreamWriteNonblocking(x.GoPointer(), BufferVar, CountVar, CancellableVar.GoPointer(), &cerr)
@@ -182,7 +182,7 @@ func (x *UnixOutputStream) WriteNonblocking(BufferVar uintptr, CountVar uint, Ca
182 // Also note that if %G_POLLABLE_RETURN_WOULD_BLOCK is returned some underlying182 // Also note that if %G_POLLABLE_RETURN_WOULD_BLOCK is returned some underlying
183 // transports like D/TLS require that you re-send the same @vectors and183 // transports like D/TLS require that you re-send the same @vectors and
184 // @n_vectors in the next write call.184 // @n_vectors in the next write call.
185-func (x *UnixOutputStream) WritevNonblocking(VectorsVar uintptr, NVectorsVar uint, BytesWrittenVar uint, CancellableVar *Cancellable) (PollableReturn, error) {185+func (x *UnixOutputStream) WritevNonblocking(VectorsVar []OutputVector, NVectorsVar uint, BytesWrittenVar uint, CancellableVar *Cancellable) (PollableReturn, error) {
186 var cerr *glib.Error186 var cerr *glib.Error
187 187
188 cret := XGPollableOutputStreamWritevNonblocking(x.GoPointer(), VectorsVar, NVectorsVar, BytesWrittenVar, CancellableVar.GoPointer(), &cerr)188 cret := XGPollableOutputStreamWritevNonblocking(x.GoPointer(), VectorsVar, NVectorsVar, BytesWrittenVar, CancellableVar.GoPointer(), &cerr)
M v4/gio/gunixsocketaddress.go +4 -4
@@ -70,11 +70,11 @@ func NewUnixSocketAddress(PathVar string) *UnixSocketAddress {
70 return cls70 return cls
71 }71 }
72 72
73-var xNewUnixSocketAddressAbstract func(uintptr, int) uintptr73+var xNewUnixSocketAddressAbstract func([]byte, int) uintptr
74 74
75 // Creates a new %G_UNIX_SOCKET_ADDRESS_ABSTRACT_PADDED75 // Creates a new %G_UNIX_SOCKET_ADDRESS_ABSTRACT_PADDED
76 // #GUnixSocketAddress for @path.76 // #GUnixSocketAddress for @path.
77-func NewUnixSocketAddressAbstract(PathVar uintptr, PathLenVar int) *UnixSocketAddress {77+func NewUnixSocketAddressAbstract(PathVar []byte, PathLenVar int) *UnixSocketAddress {
78 var cls *UnixSocketAddress78 var cls *UnixSocketAddress
79 79
80 cret := xNewUnixSocketAddressAbstract(PathVar, PathLenVar)80 cret := xNewUnixSocketAddressAbstract(PathVar, PathLenVar)
@@ -87,7 +87,7 @@ func NewUnixSocketAddressAbstract(PathVar uintptr, PathLenVar int) *UnixSocketAd
87 return cls87 return cls
88 }88 }
89 89
90-var xNewUnixSocketAddressWithType func(uintptr, int, UnixSocketAddressType) uintptr90+var xNewUnixSocketAddressWithType func([]byte, int, UnixSocketAddressType) uintptr
91 91
92 // Creates a new #GUnixSocketAddress of type @type with name @path.92 // Creates a new #GUnixSocketAddress of type @type with name @path.
93 //93 //
@@ -120,7 +120,7 @@ var xNewUnixSocketAddressWithType func(uintptr, int, UnixSocketAddressType) uint
120 // when connecting to a server created by another process, you must120 // when connecting to a server created by another process, you must
121 // use the appropriate type corresponding to how that process created121 // use the appropriate type corresponding to how that process created
122 // its listening socket.122 // its listening socket.
123-func NewUnixSocketAddressWithType(PathVar uintptr, PathLenVar int, TypeVar UnixSocketAddressType) *UnixSocketAddress {123+func NewUnixSocketAddressWithType(PathVar []byte, PathLenVar int, TypeVar UnixSocketAddressType) *UnixSocketAddress {
124 var cls *UnixSocketAddress124 var cls *UnixSocketAddress
125 125
126 cret := xNewUnixSocketAddressWithType(PathVar, PathLenVar, TypeVar)126 cret := xNewUnixSocketAddressWithType(PathVar, PathLenVar, TypeVar)
M v4/gio/gvfs.go +2 -2
@@ -79,10 +79,10 @@ func (x *Vfs) GetFileForUri(UriVar string) *FileBase {
79 return cls79 return cls
80 }80 }
81 81
82-var xVfsGetSupportedUriSchemes func(uintptr) uintptr82+var xVfsGetSupportedUriSchemes func(uintptr) []string
83 83
84 // Gets a list of URI schemes supported by @vfs.84 // Gets a list of URI schemes supported by @vfs.
85-func (x *Vfs) GetSupportedUriSchemes() uintptr {85+func (x *Vfs) GetSupportedUriSchemes() []string {
86 86
87 cret := xVfsGetSupportedUriSchemes(x.GoPointer())87 cret := xVfsGetSupportedUriSchemes(x.GoPointer())
88 return cret88 return cret
M v4/gio/gzlibcompressor.go +1 -1
@@ -169,7 +169,7 @@ func (c *ZlibCompressor) SetGoPointer(ptr uintptr) {
169 // at a partial multibyte sequence). Converters are supposed to try169 // at a partial multibyte sequence). Converters are supposed to try
170 // to produce as much output as possible and then return an error170 // to produce as much output as possible and then return an error
171 // (typically %G_IO_ERROR_PARTIAL_INPUT).171 // (typically %G_IO_ERROR_PARTIAL_INPUT).
172-func (x *ZlibCompressor) Convert(InbufVar uintptr, InbufSizeVar uint, OutbufVar uintptr, OutbufSizeVar uint, FlagsVar ConverterFlags, BytesReadVar uint, BytesWrittenVar uint) (ConverterResult, error) {172+func (x *ZlibCompressor) Convert(InbufVar []byte, InbufSizeVar uint, OutbufVar []byte, OutbufSizeVar uint, FlagsVar ConverterFlags, BytesReadVar uint, BytesWrittenVar uint) (ConverterResult, error) {
173 var cerr *glib.Error173 var cerr *glib.Error
174 174
175 cret := XGConverterConvert(x.GoPointer(), InbufVar, InbufSizeVar, OutbufVar, OutbufSizeVar, FlagsVar, BytesReadVar, BytesWrittenVar, &cerr)175 cret := XGConverterConvert(x.GoPointer(), InbufVar, InbufSizeVar, OutbufVar, OutbufSizeVar, FlagsVar, BytesReadVar, BytesWrittenVar, &cerr)
M v4/gio/gzlibdecompressor.go +1 -1
@@ -157,7 +157,7 @@ func (c *ZlibDecompressor) SetGoPointer(ptr uintptr) {
157 // at a partial multibyte sequence). Converters are supposed to try157 // at a partial multibyte sequence). Converters are supposed to try
158 // to produce as much output as possible and then return an error158 // to produce as much output as possible and then return an error
159 // (typically %G_IO_ERROR_PARTIAL_INPUT).159 // (typically %G_IO_ERROR_PARTIAL_INPUT).
160-func (x *ZlibDecompressor) Convert(InbufVar uintptr, InbufSizeVar uint, OutbufVar uintptr, OutbufSizeVar uint, FlagsVar ConverterFlags, BytesReadVar uint, BytesWrittenVar uint) (ConverterResult, error) {160+func (x *ZlibDecompressor) Convert(InbufVar []byte, InbufSizeVar uint, OutbufVar []byte, OutbufSizeVar uint, FlagsVar ConverterFlags, BytesReadVar uint, BytesWrittenVar uint) (ConverterResult, error) {
161 var cerr *glib.Error161 var cerr *glib.Error
162 162
163 cret := XGConverterConvert(x.GoPointer(), InbufVar, InbufSizeVar, OutbufVar, OutbufSizeVar, FlagsVar, BytesReadVar, BytesWrittenVar, &cerr)163 cret := XGConverterConvert(x.GoPointer(), InbufVar, InbufSizeVar, OutbufVar, OutbufSizeVar, FlagsVar, BytesReadVar, BytesWrittenVar, &cerr)
M v4/glib/garray.go +26 -26
@@ -61,24 +61,24 @@ func (x *Bytes) GoPointer() uintptr {
61 return uintptr(unsafe.Pointer(x))61 return uintptr(unsafe.Pointer(x))
62 }62 }
63 63
64-var xNewBytes func(uintptr, uint) *Bytes64+var xNewBytes func([]byte, uint) *Bytes
65 65
66 // Creates a new #GBytes from @data.66 // Creates a new #GBytes from @data.
67 //67 //
68 // @data is copied. If @size is 0, @data may be %NULL.68 // @data is copied. If @size is 0, @data may be %NULL.
69-func NewBytes(DataVar uintptr, SizeVar uint) *Bytes {69+func NewBytes(DataVar []byte, SizeVar uint) *Bytes {
70 70
71 cret := xNewBytes(DataVar, SizeVar)71 cret := xNewBytes(DataVar, SizeVar)
72 return cret72 return cret
73 }73 }
74 74
75-var xNewBytesStatic func(uintptr, uint) *Bytes75+var xNewBytesStatic func([]byte, uint) *Bytes
76 76
77 // Creates a new #GBytes from static data.77 // Creates a new #GBytes from static data.
78 //78 //
79 // @data must be static (ie: never modified or freed). It may be %NULL if @size79 // @data must be static (ie: never modified or freed). It may be %NULL if @size
80 // is 0.80 // is 0.
81-func NewBytesStatic(DataVar uintptr, SizeVar uint) *Bytes {81+func NewBytesStatic(DataVar []byte, SizeVar uint) *Bytes {
82 82
83 cret := xNewBytesStatic(DataVar, SizeVar)83 cret := xNewBytesStatic(DataVar, SizeVar)
84 return cret84 return cret
@@ -104,7 +104,7 @@ func NewBytesTake(DataVar uintptr, SizeVar uint) *Bytes {
104 return cret104 return cret
105 }105 }
106 106
107-var xNewBytesWithFreeFunc func(uintptr, uint, uintptr, uintptr) *Bytes107+var xNewBytesWithFreeFunc func([]byte, uint, uintptr, uintptr) *Bytes
108 108
109 // Creates a #GBytes from @data.109 // Creates a #GBytes from @data.
110 //110 //
@@ -115,7 +115,7 @@ var xNewBytesWithFreeFunc func(uintptr, uint, uintptr, uintptr) *Bytes
115 // been called to indicate that the bytes is no longer in use.115 // been called to indicate that the bytes is no longer in use.
116 //116 //
117 // @data may be %NULL if @size is 0.117 // @data may be %NULL if @size is 0.
118-func NewBytesWithFreeFunc(DataVar uintptr, SizeVar uint, FreeFuncVar *DestroyNotify, UserDataVar uintptr) *Bytes {118+func NewBytesWithFreeFunc(DataVar []byte, SizeVar uint, FreeFuncVar *DestroyNotify, UserDataVar uintptr) *Bytes {
119 119
120 cret := xNewBytesWithFreeFunc(DataVar, SizeVar, NewCallback(FreeFuncVar), UserDataVar)120 cret := xNewBytesWithFreeFunc(DataVar, SizeVar, NewCallback(FreeFuncVar), UserDataVar)
121 return cret121 return cret
@@ -151,7 +151,7 @@ func (x *Bytes) Equal(Bytes2Var uintptr) bool {
151 return cret151 return cret
152 }152 }
153 153
154-var xBytesGetData func(uintptr, uint) uintptr154+var xBytesGetData func(uintptr, uint) []byte
155 155
156 // Get the byte data in the #GBytes. This data should not be modified.156 // Get the byte data in the #GBytes. This data should not be modified.
157 //157 //
@@ -160,7 +160,7 @@ var xBytesGetData func(uintptr, uint) uintptr
160 // %NULL may be returned if @size is 0. This is not guaranteed, as the #GBytes160 // %NULL may be returned if @size is 0. This is not guaranteed, as the #GBytes
161 // may represent an empty string with @data non-%NULL and @size as 0. %NULL will161 // may represent an empty string with @data non-%NULL and @size as 0. %NULL will
162 // not be returned if @size is non-zero.162 // not be returned if @size is non-zero.
163-func (x *Bytes) GetData(SizeVar uint) uintptr {163+func (x *Bytes) GetData(SizeVar uint) []byte {
164 164
165 cret := xBytesGetData(x.GoPointer(), SizeVar)165 cret := xBytesGetData(x.GoPointer(), SizeVar)
166 return cret166 return cret
@@ -255,7 +255,7 @@ func (x *Bytes) Unref() {
255 255
256 }256 }
257 257
258-var xBytesUnrefToArray func(uintptr) uintptr258+var xBytesUnrefToArray func(uintptr) []byte
259 259
260 // Unreferences the bytes, and returns a new mutable #GByteArray containing260 // Unreferences the bytes, and returns a new mutable #GByteArray containing
261 // the same byte data.261 // the same byte data.
@@ -268,7 +268,7 @@ var xBytesUnrefToArray func(uintptr) uintptr
268 // Do not use it if @bytes contains more than %G_MAXUINT268 // Do not use it if @bytes contains more than %G_MAXUINT
269 // bytes. #GByteArray stores the length of its data in #guint, which269 // bytes. #GByteArray stores the length of its data in #guint, which
270 // may be shorter than #gsize, that @bytes is using.270 // may be shorter than #gsize, that @bytes is using.
271-func (x *Bytes) UnrefToArray() uintptr {271+func (x *Bytes) UnrefToArray() []byte {
272 272
273 cret := xBytesUnrefToArray(x.GoPointer())273 cret := xBytesUnrefToArray(x.GoPointer())
274 return cret274 return cret
@@ -300,19 +300,19 @@ func (x *PtrArray) GoPointer() uintptr {
300 return uintptr(unsafe.Pointer(x))300 return uintptr(unsafe.Pointer(x))
301 }301 }
302 302
303-var xByteArrayFree func(uintptr, bool) byte303+var xByteArrayFree func([]byte, bool) byte
304 304
305 // Frees the memory allocated by the #GByteArray. If @free_segment is305 // Frees the memory allocated by the #GByteArray. If @free_segment is
306 // %TRUE it frees the actual byte data. If the reference count of306 // %TRUE it frees the actual byte data. If the reference count of
307 // @array is greater than one, the #GByteArray wrapper is preserved but307 // @array is greater than one, the #GByteArray wrapper is preserved but
308 // the size of @array will be set to zero.308 // the size of @array will be set to zero.
309-func ByteArrayFree(ArrayVar uintptr, FreeSegmentVar bool) byte {309+func ByteArrayFree(ArrayVar []byte, FreeSegmentVar bool) byte {
310 310
311 cret := xByteArrayFree(ArrayVar, FreeSegmentVar)311 cret := xByteArrayFree(ArrayVar, FreeSegmentVar)
312 return cret312 return cret
313 }313 }
314 314
315-var xByteArrayFreeToBytes func(uintptr) *Bytes315+var xByteArrayFreeToBytes func([]byte) *Bytes
316 316
317 // Transfers the data from the #GByteArray into a new immutable #GBytes.317 // Transfers the data from the #GByteArray into a new immutable #GBytes.
318 //318 //
@@ -322,22 +322,22 @@ var xByteArrayFreeToBytes func(uintptr) *Bytes
322 //322 //
323 // This is identical to using g_bytes_new_take() and g_byte_array_free()323 // This is identical to using g_bytes_new_take() and g_byte_array_free()
324 // together.324 // together.
325-func ByteArrayFreeToBytes(ArrayVar uintptr) *Bytes {325+func ByteArrayFreeToBytes(ArrayVar []byte) *Bytes {
326 326
327 cret := xByteArrayFreeToBytes(ArrayVar)327 cret := xByteArrayFreeToBytes(ArrayVar)
328 return cret328 return cret
329 }329 }
330 330
331-var xByteArrayNew func() uintptr331+var xByteArrayNew func() []byte
332 332
333 // Creates a new #GByteArray with a reference count of 1.333 // Creates a new #GByteArray with a reference count of 1.
334-func ByteArrayNew() uintptr {334+func ByteArrayNew() []byte {
335 335
336 cret := xByteArrayNew()336 cret := xByteArrayNew()
337 return cret337 return cret
338 }338 }
339 339
340-var xByteArrayNewTake func(uintptr, uint) uintptr340+var xByteArrayNewTake func([]byte, uint) []byte
341 341
342 // Create byte array containing the data. The data will be owned by the array342 // Create byte array containing the data. The data will be owned by the array
343 // and will be freed with g_free(), i.e. it could be allocated using g_strdup().343 // and will be freed with g_free(), i.e. it could be allocated using g_strdup().
@@ -345,36 +345,36 @@ var xByteArrayNewTake func(uintptr, uint) uintptr
345 // Do not use it if @len is greater than %G_MAXUINT. #GByteArray345 // Do not use it if @len is greater than %G_MAXUINT. #GByteArray
346 // stores the length of its data in #guint, which may be shorter than346 // stores the length of its data in #guint, which may be shorter than
347 // #gsize.347 // #gsize.
348-func ByteArrayNewTake(DataVar uintptr, LenVar uint) uintptr {348+func ByteArrayNewTake(DataVar []byte, LenVar uint) []byte {
349 349
350 cret := xByteArrayNewTake(DataVar, LenVar)350 cret := xByteArrayNewTake(DataVar, LenVar)
351 return cret351 return cret
352 }352 }
353 353
354-var xByteArraySteal func(uintptr, uint) byte354+var xByteArraySteal func([]byte, uint) byte
355 355
356 // Frees the data in the array and resets the size to zero, while356 // Frees the data in the array and resets the size to zero, while
357 // the underlying array is preserved for use elsewhere and returned357 // the underlying array is preserved for use elsewhere and returned
358 // to the caller.358 // to the caller.
359-func ByteArraySteal(ArrayVar uintptr, LenVar uint) byte {359+func ByteArraySteal(ArrayVar []byte, LenVar uint) byte {
360 360
361 cret := xByteArraySteal(ArrayVar, LenVar)361 cret := xByteArraySteal(ArrayVar, LenVar)
362 return cret362 return cret
363 }363 }
364 364
365-var xByteArrayUnref func(uintptr)365+var xByteArrayUnref func([]byte)
366 366
367 // Atomically decrements the reference count of @array by one. If the367 // Atomically decrements the reference count of @array by one. If the
368 // reference count drops to 0, all memory allocated by the array is368 // reference count drops to 0, all memory allocated by the array is
369 // released. This function is thread-safe and may be called from any369 // released. This function is thread-safe and may be called from any
370 // thread.370 // thread.
371-func ByteArrayUnref(ArrayVar uintptr) {371+func ByteArrayUnref(ArrayVar []byte) {
372 372
373 xByteArrayUnref(ArrayVar)373 xByteArrayUnref(ArrayVar)
374 374
375 }375 }
376 376
377-var xPtrArrayFind func(uintptr, uintptr, uint) bool377+var xPtrArrayFind func([]uintptr, uintptr, uint) bool
378 378
379 // Checks whether @needle exists in @haystack. If the element is found, %TRUE is379 // Checks whether @needle exists in @haystack. If the element is found, %TRUE is
380 // returned and the element’s index is returned in @index_ (if non-%NULL).380 // returned and the element’s index is returned in @index_ (if non-%NULL).
@@ -383,13 +383,13 @@ var xPtrArrayFind func(uintptr, uintptr, uint) bool
383 //383 //
384 // This does pointer comparisons only. If you want to use more complex equality384 // This does pointer comparisons only. If you want to use more complex equality
385 // checks, such as string comparisons, use g_ptr_array_find_with_equal_func().385 // checks, such as string comparisons, use g_ptr_array_find_with_equal_func().
386-func PtrArrayFind(HaystackVar uintptr, NeedleVar uintptr, IndexVar uint) bool {386+func PtrArrayFind(HaystackVar []uintptr, NeedleVar uintptr, IndexVar uint) bool {
387 387
388 cret := xPtrArrayFind(HaystackVar, NeedleVar, IndexVar)388 cret := xPtrArrayFind(HaystackVar, NeedleVar, IndexVar)
389 return cret389 return cret
390 }390 }
391 391
392-var xPtrArrayFindWithEqualFunc func(uintptr, uintptr, uintptr, uint) bool392+var xPtrArrayFindWithEqualFunc func([]uintptr, uintptr, uintptr, uint) bool
393 393
394 // Checks whether @needle exists in @haystack, using the given @equal_func.394 // Checks whether @needle exists in @haystack, using the given @equal_func.
395 // If the element is found, %TRUE is returned and the element’s index is395 // If the element is found, %TRUE is returned and the element’s index is
@@ -400,7 +400,7 @@ var xPtrArrayFindWithEqualFunc func(uintptr, uintptr, uintptr, uint) bool
400 // @equal_func is called with the element from the array as its first parameter,400 // @equal_func is called with the element from the array as its first parameter,
401 // and @needle as its second parameter. If @equal_func is %NULL, pointer401 // and @needle as its second parameter. If @equal_func is %NULL, pointer
402 // equality is used.402 // equality is used.
403-func PtrArrayFindWithEqualFunc(HaystackVar uintptr, NeedleVar uintptr, EqualFuncVar *EqualFunc, IndexVar uint) bool {403+func PtrArrayFindWithEqualFunc(HaystackVar []uintptr, NeedleVar uintptr, EqualFuncVar *EqualFunc, IndexVar uint) bool {
404 404
405 cret := xPtrArrayFindWithEqualFunc(HaystackVar, NeedleVar, NewCallback(EqualFuncVar), IndexVar)405 cret := xPtrArrayFindWithEqualFunc(HaystackVar, NeedleVar, NewCallback(EqualFuncVar), IndexVar)
406 return cret406 return cret
M v4/glib/gbase64.go +12 -12
@@ -6,28 +6,28 @@ import (
6 "github.com/jwijenbergh/puregotk/internal/core"6 "github.com/jwijenbergh/puregotk/internal/core"
7 )7 )
8 8
9-var xBase64Decode func(string, uint) uintptr9+var xBase64Decode func(string, uint) []byte
10 10
11 // Decode a sequence of Base-64 encoded text into binary data. Note11 // Decode a sequence of Base-64 encoded text into binary data. Note
12 // that the returned binary data is not necessarily zero-terminated,12 // that the returned binary data is not necessarily zero-terminated,
13 // so it should not be used as a character string.13 // so it should not be used as a character string.
14-func Base64Decode(TextVar string, OutLenVar uint) uintptr {14+func Base64Decode(TextVar string, OutLenVar uint) []byte {
15 15
16 cret := xBase64Decode(TextVar, OutLenVar)16 cret := xBase64Decode(TextVar, OutLenVar)
17 return cret17 return cret
18 }18 }
19 19
20-var xBase64DecodeInplace func(uintptr, uint) byte20+var xBase64DecodeInplace func([]byte, uint) byte
21 21
22 // Decode a sequence of Base-64 encoded text into binary data22 // Decode a sequence of Base-64 encoded text into binary data
23 // by overwriting the input data.23 // by overwriting the input data.
24-func Base64DecodeInplace(TextVar uintptr, OutLenVar uint) byte {24+func Base64DecodeInplace(TextVar []byte, OutLenVar uint) byte {
25 25
26 cret := xBase64DecodeInplace(TextVar, OutLenVar)26 cret := xBase64DecodeInplace(TextVar, OutLenVar)
27 return cret27 return cret
28 }28 }
29 29
30-var xBase64DecodeStep func(uintptr, uint, uintptr, int, uint) uint30+var xBase64DecodeStep func([]byte, uint, []byte, int, uint) uint
31 31
32 // Incrementally decode a sequence of binary data from its Base-64 stringified32 // Incrementally decode a sequence of binary data from its Base-64 stringified
33 // representation. By calling this function multiple times you can convert33 // representation. By calling this function multiple times you can convert
@@ -37,23 +37,23 @@ var xBase64DecodeStep func(uintptr, uint, uintptr, int, uint) uint
37 // be written to it. Since base64 encodes 3 bytes in 4 chars you need37 // be written to it. Since base64 encodes 3 bytes in 4 chars you need
38 // at least: (@len / 4) * 3 + 3 bytes (+ 3 may be needed in case of non-zero38 // at least: (@len / 4) * 3 + 3 bytes (+ 3 may be needed in case of non-zero
39 // state).39 // state).
40-func Base64DecodeStep(InVar uintptr, LenVar uint, OutVar uintptr, StateVar int, SaveVar uint) uint {40+func Base64DecodeStep(InVar []byte, LenVar uint, OutVar []byte, StateVar int, SaveVar uint) uint {
41 41
42 cret := xBase64DecodeStep(InVar, LenVar, OutVar, StateVar, SaveVar)42 cret := xBase64DecodeStep(InVar, LenVar, OutVar, StateVar, SaveVar)
43 return cret43 return cret
44 }44 }
45 45
46-var xBase64Encode func(uintptr, uint) string46+var xBase64Encode func([]byte, uint) string
47 47
48 // Encode a sequence of binary data into its Base-64 stringified48 // Encode a sequence of binary data into its Base-64 stringified
49 // representation.49 // representation.
50-func Base64Encode(DataVar uintptr, LenVar uint) string {50+func Base64Encode(DataVar []byte, LenVar uint) string {
51 51
52 cret := xBase64Encode(DataVar, LenVar)52 cret := xBase64Encode(DataVar, LenVar)
53 return cret53 return cret
54 }54 }
55 55
56-var xBase64EncodeClose func(bool, uintptr, int, int) uint56+var xBase64EncodeClose func(bool, []byte, int, int) uint
57 57
58 // Flush the status from a sequence of calls to g_base64_encode_step().58 // Flush the status from a sequence of calls to g_base64_encode_step().
59 //59 //
@@ -62,13 +62,13 @@ var xBase64EncodeClose func(bool, uintptr, int, int) uint
62 // line-breaking is enabled.62 // line-breaking is enabled.
63 //63 //
64 // The @out array will not be automatically nul-terminated.64 // The @out array will not be automatically nul-terminated.
65-func Base64EncodeClose(BreakLinesVar bool, OutVar uintptr, StateVar int, SaveVar int) uint {65+func Base64EncodeClose(BreakLinesVar bool, OutVar []byte, StateVar int, SaveVar int) uint {
66 66
67 cret := xBase64EncodeClose(BreakLinesVar, OutVar, StateVar, SaveVar)67 cret := xBase64EncodeClose(BreakLinesVar, OutVar, StateVar, SaveVar)
68 return cret68 return cret
69 }69 }
70 70
71-var xBase64EncodeStep func(uintptr, uint, bool, uintptr, int, int) uint71+var xBase64EncodeStep func([]byte, uint, bool, []byte, int, int) uint
72 72
73 // Incrementally encode a sequence of binary data into its Base-64 stringified73 // Incrementally encode a sequence of binary data into its Base-64 stringified
74 // representation. By calling this function multiple times you can convert74 // representation. By calling this function multiple times you can convert
@@ -89,7 +89,7 @@ var xBase64EncodeStep func(uintptr, uint, bool, uintptr, int, int) uint
89 // Note however that it breaks the lines with `LF` characters, not89 // Note however that it breaks the lines with `LF` characters, not
90 // `CR LF` sequences, so the result cannot be passed directly to SMTP90 // `CR LF` sequences, so the result cannot be passed directly to SMTP
91 // or certain other protocols.91 // or certain other protocols.
92-func Base64EncodeStep(InVar uintptr, LenVar uint, BreakLinesVar bool, OutVar uintptr, StateVar int, SaveVar int) uint {92+func Base64EncodeStep(InVar []byte, LenVar uint, BreakLinesVar bool, OutVar []byte, StateVar int, SaveVar int) uint {
93 93
94 cret := xBase64EncodeStep(InVar, LenVar, BreakLinesVar, OutVar, StateVar, SaveVar)94 cret := xBase64EncodeStep(InVar, LenVar, BreakLinesVar, OutVar, StateVar, SaveVar)
95 return cret95 return cret
M v4/glib/gbookmarkfile.go +12 -12
@@ -153,14 +153,14 @@ func (x *BookmarkFile) GetApplicationInfo(UriVar string, NameVar string, ExecVar
153 153
154 }154 }
155 155
156-var xBookmarkFileGetApplications func(uintptr, string, uint, **Error) uintptr156+var xBookmarkFileGetApplications func(uintptr, string, uint, **Error) []string
157 157
158 // Retrieves the names of the applications that have registered the158 // Retrieves the names of the applications that have registered the
159 // bookmark for @uri.159 // bookmark for @uri.
160 //160 //
161 // In the event the URI cannot be found, %NULL is returned and161 // In the event the URI cannot be found, %NULL is returned and
162 // @error is set to %G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND.162 // @error is set to %G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND.
163-func (x *BookmarkFile) GetApplications(UriVar string, LengthVar uint) (uintptr, error) {163+func (x *BookmarkFile) GetApplications(UriVar string, LengthVar uint) ([]string, error) {
164 var cerr *Error164 var cerr *Error
165 165
166 cret := xBookmarkFileGetApplications(x.GoPointer(), UriVar, LengthVar, &cerr)166 cret := xBookmarkFileGetApplications(x.GoPointer(), UriVar, LengthVar, &cerr)
@@ -188,7 +188,7 @@ func (x *BookmarkFile) GetDescription(UriVar string) (string, error) {
188 188
189 }189 }
190 190
191-var xBookmarkFileGetGroups func(uintptr, string, uint, **Error) uintptr191+var xBookmarkFileGetGroups func(uintptr, string, uint, **Error) []string
192 192
193 // Retrieves the list of group names of the bookmark for @uri.193 // Retrieves the list of group names of the bookmark for @uri.
194 //194 //
@@ -197,7 +197,7 @@ var xBookmarkFileGetGroups func(uintptr, string, uint, **Error) uintptr
197 //197 //
198 // The returned array is %NULL terminated, so @length may optionally198 // The returned array is %NULL terminated, so @length may optionally
199 // be %NULL.199 // be %NULL.
200-func (x *BookmarkFile) GetGroups(UriVar string, LengthVar uint) (uintptr, error) {200+func (x *BookmarkFile) GetGroups(UriVar string, LengthVar uint) ([]string, error) {
201 var cerr *Error201 var cerr *Error
202 202
203 cret := xBookmarkFileGetGroups(x.GoPointer(), UriVar, LengthVar, &cerr)203 cret := xBookmarkFileGetGroups(x.GoPointer(), UriVar, LengthVar, &cerr)
@@ -325,12 +325,12 @@ func (x *BookmarkFile) GetTitle(UriVar string) (string, error) {
325 325
326 }326 }
327 327
328-var xBookmarkFileGetUris func(uintptr, uint) uintptr328+var xBookmarkFileGetUris func(uintptr, uint) []string
329 329
330 // Returns all URIs of the bookmarks in the bookmark file @bookmark.330 // Returns all URIs of the bookmarks in the bookmark file @bookmark.
331 // The array of returned URIs will be %NULL-terminated, so @length may331 // The array of returned URIs will be %NULL-terminated, so @length may
332 // optionally be %NULL.332 // optionally be %NULL.
333-func (x *BookmarkFile) GetUris(LengthVar uint) uintptr {333+func (x *BookmarkFile) GetUris(LengthVar uint) []string {
334 334
335 cret := xBookmarkFileGetUris(x.GoPointer(), LengthVar)335 cret := xBookmarkFileGetUris(x.GoPointer(), LengthVar)
336 return cret336 return cret
@@ -415,12 +415,12 @@ func (x *BookmarkFile) HasItem(UriVar string) bool {
415 return cret415 return cret
416 }416 }
417 417
418-var xBookmarkFileLoadFromData func(uintptr, uintptr, uint, **Error) bool418+var xBookmarkFileLoadFromData func(uintptr, []byte, uint, **Error) bool
419 419
420 // Loads a bookmark file from memory into an empty #GBookmarkFile420 // Loads a bookmark file from memory into an empty #GBookmarkFile
421 // structure. If the object cannot be created then @error is set to a421 // structure. If the object cannot be created then @error is set to a
422 // #GBookmarkFileError.422 // #GBookmarkFileError.
423-func (x *BookmarkFile) LoadFromData(DataVar uintptr, LengthVar uint) (bool, error) {423+func (x *BookmarkFile) LoadFromData(DataVar []byte, LengthVar uint) (bool, error) {
424 var cerr *Error424 var cerr *Error
425 425
426 cret := xBookmarkFileLoadFromData(x.GoPointer(), DataVar, LengthVar, &cerr)426 cret := xBookmarkFileLoadFromData(x.GoPointer(), DataVar, LengthVar, &cerr)
@@ -655,13 +655,13 @@ func (x *BookmarkFile) SetDescription(UriVar string, DescriptionVar string) {
655 655
656 }656 }
657 657
658-var xBookmarkFileSetGroups func(uintptr, string, uintptr, uint)658+var xBookmarkFileSetGroups func(uintptr, string, []string, uint)
659 659
660 // Sets a list of group names for the item with URI @uri. Each previously660 // Sets a list of group names for the item with URI @uri. Each previously
661 // set group name list is removed.661 // set group name list is removed.
662 //662 //
663 // If @uri cannot be found then an item for it is created.663 // If @uri cannot be found then an item for it is created.
664-func (x *BookmarkFile) SetGroups(UriVar string, GroupsVar uintptr, LengthVar uint) {664+func (x *BookmarkFile) SetGroups(UriVar string, GroupsVar []string, LengthVar uint) {
665 665
666 xBookmarkFileSetGroups(x.GoPointer(), UriVar, GroupsVar, LengthVar)666 xBookmarkFileSetGroups(x.GoPointer(), UriVar, GroupsVar, LengthVar)
667 667
@@ -782,10 +782,10 @@ func (x *BookmarkFile) SetVisitedDateTime(UriVar string, VisitedVar *DateTime) {
782 782
783 }783 }
784 784
785-var xBookmarkFileToData func(uintptr, uint, **Error) uintptr785+var xBookmarkFileToData func(uintptr, uint, **Error) []byte
786 786
787 // This function outputs @bookmark as a string.787 // This function outputs @bookmark as a string.
788-func (x *BookmarkFile) ToData(LengthVar uint) (uintptr, error) {788+func (x *BookmarkFile) ToData(LengthVar uint) ([]byte, error) {
789 var cerr *Error789 var cerr *Error
790 790
791 cret := xBookmarkFileToData(x.GoPointer(), LengthVar, &cerr)791 cret := xBookmarkFileToData(x.GoPointer(), LengthVar, &cerr)
M v4/glib/gcharset.go +6 -6
@@ -68,7 +68,7 @@ func GetConsoleCharset(CharsetVar string) bool {
68 return cret68 return cret
69 }69 }
70 70
71-var xGetLanguageNames func() uintptr71+var xGetLanguageNames func() []string
72 72
73 // Computes a list of applicable locale names, which can be used to73 // Computes a list of applicable locale names, which can be used to
74 // e.g. construct locale-dependent filenames or search paths. The returned74 // e.g. construct locale-dependent filenames or search paths. The returned
@@ -81,13 +81,13 @@ var xGetLanguageNames func() uintptr
81 // This function consults the environment variables `LANGUAGE`, `LC_ALL`,81 // This function consults the environment variables `LANGUAGE`, `LC_ALL`,
82 // `LC_MESSAGES` and `LANG` to find the list of locales specified by the82 // `LC_MESSAGES` and `LANG` to find the list of locales specified by the
83 // user.83 // user.
84-func GetLanguageNames() uintptr {84+func GetLanguageNames() []string {
85 85
86 cret := xGetLanguageNames()86 cret := xGetLanguageNames()
87 return cret87 return cret
88 }88 }
89 89
90-var xGetLanguageNamesWithCategory func(string) uintptr90+var xGetLanguageNamesWithCategory func(string) []string
91 91
92 // Computes a list of applicable locale names with a locale category name,92 // Computes a list of applicable locale names with a locale category name,
93 // which can be used to construct the fallback locale-dependent filenames93 // which can be used to construct the fallback locale-dependent filenames
@@ -99,13 +99,13 @@ var xGetLanguageNamesWithCategory func(string) uintptr
99 // user.99 // user.
100 //100 //
101 // g_get_language_names() returns g_get_language_names_with_category("LC_MESSAGES").101 // g_get_language_names() returns g_get_language_names_with_category("LC_MESSAGES").
102-func GetLanguageNamesWithCategory(CategoryNameVar string) uintptr {102+func GetLanguageNamesWithCategory(CategoryNameVar string) []string {
103 103
104 cret := xGetLanguageNamesWithCategory(CategoryNameVar)104 cret := xGetLanguageNamesWithCategory(CategoryNameVar)
105 return cret105 return cret
106 }106 }
107 107
108-var xGetLocaleVariants func(string) uintptr108+var xGetLocaleVariants func(string) []string
109 109
110 // Returns a list of derived variants of @locale, which can be used to110 // Returns a list of derived variants of @locale, which can be used to
111 // e.g. construct locale-dependent filenames or search paths. The returned111 // e.g. construct locale-dependent filenames or search paths. The returned
@@ -122,7 +122,7 @@ var xGetLocaleVariants func(string) uintptr
122 //122 //
123 // If you need the list of variants for the current locale,123 // If you need the list of variants for the current locale,
124 // use g_get_language_names().124 // use g_get_language_names().
125-func GetLocaleVariants(LocaleVar string) uintptr {125+func GetLocaleVariants(LocaleVar string) []string {
126 126
127 cret := xGetLocaleVariants(LocaleVar)127 cret := xGetLocaleVariants(LocaleVar)
128 return cret128 return cret
M v4/glib/gchecksum.go +6 -6
@@ -60,14 +60,14 @@ func (x *Checksum) Free() {
60 60
61 }61 }
62 62
63-var xChecksumGetDigest func(uintptr, uintptr, uint)63+var xChecksumGetDigest func(uintptr, []byte, uint)
64 64
65 // Gets the digest from @checksum as a raw binary vector and places it65 // Gets the digest from @checksum as a raw binary vector and places it
66 // into @buffer. The size of the digest depends on the type of checksum.66 // into @buffer. The size of the digest depends on the type of checksum.
67 //67 //
68 // Once this function has been called, the #GChecksum is closed and can68 // Once this function has been called, the #GChecksum is closed and can
69 // no longer be updated with g_checksum_update().69 // no longer be updated with g_checksum_update().
70-func (x *Checksum) GetDigest(BufferVar uintptr, DigestLenVar uint) {70+func (x *Checksum) GetDigest(BufferVar []byte, DigestLenVar uint) {
71 71
72 xChecksumGetDigest(x.GoPointer(), BufferVar, DigestLenVar)72 xChecksumGetDigest(x.GoPointer(), BufferVar, DigestLenVar)
73 73
@@ -96,12 +96,12 @@ func (x *Checksum) Reset() {
96 96
97 }97 }
98 98
99-var xChecksumUpdate func(uintptr, uintptr, int)99+var xChecksumUpdate func(uintptr, []byte, int)
100 100
101 // Feeds @data into an existing #GChecksum. The checksum must still be101 // Feeds @data into an existing #GChecksum. The checksum must still be
102 // open, that is g_checksum_get_string() or g_checksum_get_digest() must102 // open, that is g_checksum_get_string() or g_checksum_get_digest() must
103 // not have been called on @checksum.103 // not have been called on @checksum.
104-func (x *Checksum) Update(DataVar uintptr, LengthVar int) {104+func (x *Checksum) Update(DataVar []byte, LengthVar int) {
105 105
106 xChecksumUpdate(x.GoPointer(), DataVar, LengthVar)106 xChecksumUpdate(x.GoPointer(), DataVar, LengthVar)
107 107
@@ -150,14 +150,14 @@ func ComputeChecksumForBytes(ChecksumTypeVar ChecksumType, DataVar *Bytes) strin
150 return cret150 return cret
151 }151 }
152 152
153-var xComputeChecksumForData func(ChecksumType, uintptr, uint) string153+var xComputeChecksumForData func(ChecksumType, []byte, uint) string
154 154
155 // Computes the checksum for a binary @data of @length. This is a155 // Computes the checksum for a binary @data of @length. This is a
156 // convenience wrapper for g_checksum_new(), g_checksum_get_string()156 // convenience wrapper for g_checksum_new(), g_checksum_get_string()
157 // and g_checksum_free().157 // and g_checksum_free().
158 //158 //
159 // The hexadecimal string returned will be in lower case.159 // The hexadecimal string returned will be in lower case.
160-func ComputeChecksumForData(ChecksumTypeVar ChecksumType, DataVar uintptr, LengthVar uint) string {160+func ComputeChecksumForData(ChecksumTypeVar ChecksumType, DataVar []byte, LengthVar uint) string {
161 161
162 cret := xComputeChecksumForData(ChecksumTypeVar, DataVar, LengthVar)162 cret := xComputeChecksumForData(ChecksumTypeVar, DataVar, LengthVar)
163 return cret163 return cret
M v4/glib/gconvert.go +14 -14
@@ -82,7 +82,7 @@ const (
82 GConvertErrorEmbeddedNulValue ConvertError = 782 GConvertErrorEmbeddedNulValue ConvertError = 7
83 )83 )
84 84
85-var xConvert func(uintptr, int, string, string, uint, uint, **Error) uintptr85+var xConvert func([]byte, int, string, string, uint, uint, **Error) []byte
86 86
87 // Converts a string from one character set to another.87 // Converts a string from one character set to another.
88 //88 //
@@ -98,7 +98,7 @@ var xConvert func(uintptr, int, string, string, uint, uint, **Error) uintptr
98 //98 //
99 // Using extensions such as "//TRANSLIT" may not work (or may not work99 // Using extensions such as "//TRANSLIT" may not work (or may not work
100 // well) on many platforms. Consider using g_str_to_ascii() instead.100 // well) on many platforms. Consider using g_str_to_ascii() instead.
101-func Convert(StrVar uintptr, LenVar int, ToCodesetVar string, FromCodesetVar string, BytesReadVar uint, BytesWrittenVar uint) (uintptr, error) {101+func Convert(StrVar []byte, LenVar int, ToCodesetVar string, FromCodesetVar string, BytesReadVar uint, BytesWrittenVar uint) ([]byte, error) {
102 var cerr *Error102 var cerr *Error
103 103
104 cret := xConvert(StrVar, LenVar, ToCodesetVar, FromCodesetVar, BytesReadVar, BytesWrittenVar, &cerr)104 cret := xConvert(StrVar, LenVar, ToCodesetVar, FromCodesetVar, BytesReadVar, BytesWrittenVar, &cerr)
@@ -109,7 +109,7 @@ func Convert(StrVar uintptr, LenVar int, ToCodesetVar string, FromCodesetVar str
109 109
110 }110 }
111 111
112-var xConvertWithFallback func(uintptr, int, string, string, string, uint, uint, **Error) uintptr112+var xConvertWithFallback func([]byte, int, string, string, string, uint, uint, **Error) []byte
113 113
114 // Converts a string from one character set to another, possibly114 // Converts a string from one character set to another, possibly
115 // including fallback sequences for characters not representable115 // including fallback sequences for characters not representable
@@ -128,7 +128,7 @@ var xConvertWithFallback func(uintptr, int, string, string, string, uint, uint,
128 // this is the GNU C converter for CP1255 which does not emit a base128 // this is the GNU C converter for CP1255 which does not emit a base
129 // character until it knows that the next character is not a mark that129 // character until it knows that the next character is not a mark that
130 // could combine with the base character.)130 // could combine with the base character.)
131-func ConvertWithFallback(StrVar uintptr, LenVar int, ToCodesetVar string, FromCodesetVar string, FallbackVar string, BytesReadVar uint, BytesWrittenVar uint) (uintptr, error) {131+func ConvertWithFallback(StrVar []byte, LenVar int, ToCodesetVar string, FromCodesetVar string, FallbackVar string, BytesReadVar uint, BytesWrittenVar uint) ([]byte, error) {
132 var cerr *Error132 var cerr *Error
133 133
134 cret := xConvertWithFallback(StrVar, LenVar, ToCodesetVar, FromCodesetVar, FallbackVar, BytesReadVar, BytesWrittenVar, &cerr)134 cret := xConvertWithFallback(StrVar, LenVar, ToCodesetVar, FromCodesetVar, FallbackVar, BytesReadVar, BytesWrittenVar, &cerr)
@@ -139,7 +139,7 @@ func ConvertWithFallback(StrVar uintptr, LenVar int, ToCodesetVar string, FromCo
139 139
140 }140 }
141 141
142-var xConvertWithIconv func(uintptr, int, uintptr, uint, uint, **Error) uintptr142+var xConvertWithIconv func([]byte, int, uintptr, uint, uint, **Error) []byte
143 143
144 // Converts a string from one character set to another.144 // Converts a string from one character set to another.
145 //145 //
@@ -160,7 +160,7 @@ var xConvertWithIconv func(uintptr, int, uintptr, uint, uint, **Error) uintptr
160 // this is the same error code as is returned for an invalid byte sequence in160 // this is the same error code as is returned for an invalid byte sequence in
161 // the input character set. To get defined behaviour for conversion of161 // the input character set. To get defined behaviour for conversion of
162 // unrepresentable characters, use g_convert_with_fallback().162 // unrepresentable characters, use g_convert_with_fallback().
163-func ConvertWithIconv(StrVar uintptr, LenVar int, ConverterVar uintptr, BytesReadVar uint, BytesWrittenVar uint) (uintptr, error) {163+func ConvertWithIconv(StrVar []byte, LenVar int, ConverterVar uintptr, BytesReadVar uint, BytesWrittenVar uint) ([]byte, error) {
164 var cerr *Error164 var cerr *Error
165 165
166 cret := xConvertWithIconv(StrVar, LenVar, ConverterVar, BytesReadVar, BytesWrittenVar, &cerr)166 cret := xConvertWithIconv(StrVar, LenVar, ConverterVar, BytesReadVar, BytesWrittenVar, &cerr)
@@ -296,7 +296,7 @@ func FilenameToUtf8(OpsysstringVar string, LenVar int, BytesReadVar uint, BytesW
296 296
297 }297 }
298 298
299-var xGetFilenameCharsets func(uintptr) bool299+var xGetFilenameCharsets func([]string) bool
300 300
301 // Determines the preferred character sets used for filenames.301 // Determines the preferred character sets used for filenames.
302 // The first character set from the @charsets is the filename encoding, the302 // The first character set from the @charsets is the filename encoding, the
@@ -322,7 +322,7 @@ var xGetFilenameCharsets func(uintptr) bool
322 // Note that on Unix, regardless of the locale character set or322 // Note that on Unix, regardless of the locale character set or
323 // `G_FILENAME_ENCODING` value, the actual file names present323 // `G_FILENAME_ENCODING` value, the actual file names present
324 // on a system might be in any random encoding or just gibberish.324 // on a system might be in any random encoding or just gibberish.
325-func GetFilenameCharsets(FilenameCharsetsVar uintptr) bool {325+func GetFilenameCharsets(FilenameCharsetsVar []string) bool {
326 326
327 cret := xGetFilenameCharsets(FilenameCharsetsVar)327 cret := xGetFilenameCharsets(FilenameCharsetsVar)
328 return cret328 return cret
@@ -363,7 +363,7 @@ func IconvOpen(ToCodesetVar string, FromCodesetVar string) uintptr {
363 return cret363 return cret
364 }364 }
365 365
366-var xLocaleFromUtf8 func(string, int, uint, uint, **Error) uintptr366+var xLocaleFromUtf8 func(string, int, uint, uint, **Error) []byte
367 367
368 // Converts a string from UTF-8 to the encoding used for strings by368 // Converts a string from UTF-8 to the encoding used for strings by
369 // the C runtime (usually the same as that used by the operating369 // the C runtime (usually the same as that used by the operating
@@ -374,7 +374,7 @@ var xLocaleFromUtf8 func(string, int, uint, uint, **Error) uintptr
374 // argument is positive. A nul character found inside the string will result374 // argument is positive. A nul character found inside the string will result
375 // in error %G_CONVERT_ERROR_ILLEGAL_SEQUENCE. Use g_convert() to convert375 // in error %G_CONVERT_ERROR_ILLEGAL_SEQUENCE. Use g_convert() to convert
376 // input that may contain embedded nul characters.376 // input that may contain embedded nul characters.
377-func LocaleFromUtf8(Utf8stringVar string, LenVar int, BytesReadVar uint, BytesWrittenVar uint) (uintptr, error) {377+func LocaleFromUtf8(Utf8stringVar string, LenVar int, BytesReadVar uint, BytesWrittenVar uint) ([]byte, error) {
378 var cerr *Error378 var cerr *Error
379 379
380 cret := xLocaleFromUtf8(Utf8stringVar, LenVar, BytesReadVar, BytesWrittenVar, &cerr)380 cret := xLocaleFromUtf8(Utf8stringVar, LenVar, BytesReadVar, BytesWrittenVar, &cerr)
@@ -385,7 +385,7 @@ func LocaleFromUtf8(Utf8stringVar string, LenVar int, BytesReadVar uint, BytesWr
385 385
386 }386 }
387 387
388-var xLocaleToUtf8 func(uintptr, int, uint, uint, **Error) string388+var xLocaleToUtf8 func([]byte, int, uint, uint, **Error) string
389 389
390 // Converts a string which is in the encoding used for strings by390 // Converts a string which is in the encoding used for strings by
391 // the C runtime (usually the same as that used by the operating391 // the C runtime (usually the same as that used by the operating
@@ -398,7 +398,7 @@ var xLocaleToUtf8 func(uintptr, int, uint, uint, **Error) string
398 // the %G_CONVERT_ERROR_ILLEGAL_SEQUENCE error for backward compatibility with398 // the %G_CONVERT_ERROR_ILLEGAL_SEQUENCE error for backward compatibility with
399 // earlier versions of this library. Use g_convert() to produce output that399 // earlier versions of this library. Use g_convert() to produce output that
400 // may contain embedded nul characters.400 // may contain embedded nul characters.
401-func LocaleToUtf8(OpsysstringVar uintptr, LenVar int, BytesReadVar uint, BytesWrittenVar uint) (string, error) {401+func LocaleToUtf8(OpsysstringVar []byte, LenVar int, BytesReadVar uint, BytesWrittenVar uint) (string, error) {
402 var cerr *Error402 var cerr *Error
403 403
404 cret := xLocaleToUtf8(OpsysstringVar, LenVar, BytesReadVar, BytesWrittenVar, &cerr)404 cret := xLocaleToUtf8(OpsysstringVar, LenVar, BytesReadVar, BytesWrittenVar, &cerr)
@@ -409,12 +409,12 @@ func LocaleToUtf8(OpsysstringVar uintptr, LenVar int, BytesReadVar uint, BytesWr
409 409
410 }410 }
411 411
412-var xUriListExtractUris func(string) uintptr412+var xUriListExtractUris func(string) []string
413 413
414 // Splits an URI list conforming to the text/uri-list414 // Splits an URI list conforming to the text/uri-list
415 // mime type defined in RFC 2483 into individual URIs,415 // mime type defined in RFC 2483 into individual URIs,
416 // discarding any comments. The URIs are not validated.416 // discarding any comments. The URIs are not validated.
417-func UriListExtractUris(UriListVar string) uintptr {417+func UriListExtractUris(UriListVar string) []string {
418 418
419 cret := xUriListExtractUris(UriListVar)419 cret := xUriListExtractUris(UriListVar)
420 return cret420 return cret
M v4/glib/genviron.go +10 -10
@@ -6,37 +6,37 @@ import (
6 "github.com/jwijenbergh/puregotk/internal/core"6 "github.com/jwijenbergh/puregotk/internal/core"
7 )7 )
8 8
9-var xEnvironGetenv func(uintptr, string) string9+var xEnvironGetenv func([]string, string) string
10 10
11 // Returns the value of the environment variable @variable in the11 // Returns the value of the environment variable @variable in the
12 // provided list @envp.12 // provided list @envp.
13-func EnvironGetenv(EnvpVar uintptr, VariableVar string) string {13+func EnvironGetenv(EnvpVar []string, VariableVar string) string {
14 14
15 cret := xEnvironGetenv(EnvpVar, VariableVar)15 cret := xEnvironGetenv(EnvpVar, VariableVar)
16 return cret16 return cret
17 }17 }
18 18
19-var xEnvironSetenv func(uintptr, string, string, bool) uintptr19+var xEnvironSetenv func([]string, string, string, bool) []string
20 20
21 // Sets the environment variable @variable in the provided list21 // Sets the environment variable @variable in the provided list
22 // @envp to @value.22 // @envp to @value.
23-func EnvironSetenv(EnvpVar uintptr, VariableVar string, ValueVar string, OverwriteVar bool) uintptr {23+func EnvironSetenv(EnvpVar []string, VariableVar string, ValueVar string, OverwriteVar bool) []string {
24 24
25 cret := xEnvironSetenv(EnvpVar, VariableVar, ValueVar, OverwriteVar)25 cret := xEnvironSetenv(EnvpVar, VariableVar, ValueVar, OverwriteVar)
26 return cret26 return cret
27 }27 }
28 28
29-var xEnvironUnsetenv func(uintptr, string) uintptr29+var xEnvironUnsetenv func([]string, string) []string
30 30
31 // Removes the environment variable @variable from the provided31 // Removes the environment variable @variable from the provided
32 // environment @envp.32 // environment @envp.
33-func EnvironUnsetenv(EnvpVar uintptr, VariableVar string) uintptr {33+func EnvironUnsetenv(EnvpVar []string, VariableVar string) []string {
34 34
35 cret := xEnvironUnsetenv(EnvpVar, VariableVar)35 cret := xEnvironUnsetenv(EnvpVar, VariableVar)
36 return cret36 return cret
37 }37 }
38 38
39-var xGetEnviron func() uintptr39+var xGetEnviron func() []string
40 40
41 // Gets the list of environment variables for the current process.41 // Gets the list of environment variables for the current process.
42 //42 //
@@ -48,7 +48,7 @@ var xGetEnviron func() uintptr
48 //48 //
49 // The return value is freshly allocated and it should be freed with49 // The return value is freshly allocated and it should be freed with
50 // g_strfreev() when it is no longer needed.50 // g_strfreev() when it is no longer needed.
51-func GetEnviron() uintptr {51+func GetEnviron() []string {
52 52
53 cret := xGetEnviron()53 cret := xGetEnviron()
54 return cret54 return cret
@@ -69,7 +69,7 @@ func Getenv(VariableVar string) string {
69 return cret69 return cret
70 }70 }
71 71
72-var xListenv func() uintptr72+var xListenv func() []string
73 73
74 // Gets the names of all variables set in the environment.74 // Gets the names of all variables set in the environment.
75 //75 //
@@ -79,7 +79,7 @@ var xListenv func() uintptr
79 // array are in system codepage encoding, while in most of the typical79 // array are in system codepage encoding, while in most of the typical
80 // use cases for environment variables in GLib-using programs you want80 // use cases for environment variables in GLib-using programs you want
81 // the UTF-8 encoding that this function and g_getenv() provide.81 // the UTF-8 encoding that this function and g_getenv() provide.
82-func Listenv() uintptr {82+func Listenv() []string {
83 83
84 cret := xListenv()84 cret := xListenv()
85 return cret85 return cret
M v4/glib/gfileutils.go +10 -10
@@ -208,12 +208,12 @@ func BuildFilenameValist(FirstElementVar string, ArgsVar []interface{}) string {
208 return cret208 return cret
209 }209 }
210 210
211-var xBuildFilenamev func(uintptr) string211+var xBuildFilenamev func([]string) string
212 212
213 // Behaves exactly like g_build_filename(), but takes the path elements213 // Behaves exactly like g_build_filename(), but takes the path elements
214 // as a string array, instead of varargs. This function is mainly214 // as a string array, instead of varargs. This function is mainly
215 // meant for language bindings.215 // meant for language bindings.
216-func BuildFilenamev(ArgsVar uintptr) string {216+func BuildFilenamev(ArgsVar []string) string {
217 217
218 cret := xBuildFilenamev(ArgsVar)218 cret := xBuildFilenamev(ArgsVar)
219 return cret219 return cret
@@ -253,12 +253,12 @@ func BuildPath(SeparatorVar string, FirstElementVar string, varArgs ...interface
253 return cret253 return cret
254 }254 }
255 255
256-var xBuildPathv func(string, uintptr) string256+var xBuildPathv func(string, []string) string
257 257
258 // Behaves exactly like g_build_path(), but takes the path elements258 // Behaves exactly like g_build_path(), but takes the path elements
259 // as a string array, instead of varargs. This function is mainly259 // as a string array, instead of varargs. This function is mainly
260 // meant for language bindings.260 // meant for language bindings.
261-func BuildPathv(SeparatorVar string, ArgsVar uintptr) string {261+func BuildPathv(SeparatorVar string, ArgsVar []string) string {
262 262
263 cret := xBuildPathv(SeparatorVar, ArgsVar)263 cret := xBuildPathv(SeparatorVar, ArgsVar)
264 return cret264 return cret
@@ -327,7 +327,7 @@ func FileErrorFromErrno(ErrNoVar int) FileError {
327 return cret327 return cret
328 }328 }
329 329
330-var xFileGetContents func(string, uintptr, uint, **Error) bool330+var xFileGetContents func(string, []byte, uint, **Error) bool
331 331
332 // Reads an entire file into allocated memory, with good error332 // Reads an entire file into allocated memory, with good error
333 // checking.333 // checking.
@@ -339,7 +339,7 @@ var xFileGetContents func(string, uintptr, uint, **Error) bool
339 // %FALSE and sets @error. The error domain is %G_FILE_ERROR. Possible error339 // %FALSE and sets @error. The error domain is %G_FILE_ERROR. Possible error
340 // codes are those in the #GFileError enumeration. In the error case,340 // codes are those in the #GFileError enumeration. In the error case,
341 // @contents is set to %NULL and @length is set to zero.341 // @contents is set to %NULL and @length is set to zero.
342-func FileGetContents(FilenameVar string, ContentsVar uintptr, LengthVar uint) (bool, error) {342+func FileGetContents(FilenameVar string, ContentsVar []byte, LengthVar uint) (bool, error) {
343 var cerr *Error343 var cerr *Error
344 344
345 cret := xFileGetContents(FilenameVar, ContentsVar, LengthVar, &cerr)345 cret := xFileGetContents(FilenameVar, ContentsVar, LengthVar, &cerr)
@@ -395,13 +395,13 @@ func FileReadLink(FilenameVar string) (string, error) {
395 395
396 }396 }
397 397
398-var xFileSetContents func(string, uintptr, int, **Error) bool398+var xFileSetContents func(string, []byte, int, **Error) bool
399 399
400 // Writes all of @contents to a file named @filename. This is a convenience400 // Writes all of @contents to a file named @filename. This is a convenience
401 // wrapper around calling g_file_set_contents_full() with `flags` set to401 // wrapper around calling g_file_set_contents_full() with `flags` set to
402 // `G_FILE_SET_CONTENTS_CONSISTENT | G_FILE_SET_CONTENTS_ONLY_EXISTING` and402 // `G_FILE_SET_CONTENTS_CONSISTENT | G_FILE_SET_CONTENTS_ONLY_EXISTING` and
403 // `mode` set to `0666`.403 // `mode` set to `0666`.
404-func FileSetContents(FilenameVar string, ContentsVar uintptr, LengthVar int) (bool, error) {404+func FileSetContents(FilenameVar string, ContentsVar []byte, LengthVar int) (bool, error) {
405 var cerr *Error405 var cerr *Error
406 406
407 cret := xFileSetContents(FilenameVar, ContentsVar, LengthVar, &cerr)407 cret := xFileSetContents(FilenameVar, ContentsVar, LengthVar, &cerr)
@@ -412,7 +412,7 @@ func FileSetContents(FilenameVar string, ContentsVar uintptr, LengthVar int) (bo
412 412
413 }413 }
414 414
415-var xFileSetContentsFull func(string, uintptr, int, FileSetContentsFlags, int, **Error) bool415+var xFileSetContentsFull func(string, []byte, int, FileSetContentsFlags, int, **Error) bool
416 416
417 // Writes all of @contents to a file named @filename, with good error checking.417 // Writes all of @contents to a file named @filename, with good error checking.
418 // If a file called @filename already exists it will be overwritten.418 // If a file called @filename already exists it will be overwritten.
@@ -468,7 +468,7 @@ var xFileSetContentsFull func(string, uintptr, int, FileSetContentsFlags, int, *
468 // If the file didn’t exist before and is created, it will be given the468 // If the file didn’t exist before and is created, it will be given the
469 // permissions from @mode. Otherwise, the permissions of the existing file may469 // permissions from @mode. Otherwise, the permissions of the existing file may
470 // be changed to @mode depending on @flags, or they may remain unchanged.470 // be changed to @mode depending on @flags, or they may remain unchanged.
471-func FileSetContentsFull(FilenameVar string, ContentsVar uintptr, LengthVar int, FlagsVar FileSetContentsFlags, ModeVar int) (bool, error) {471+func FileSetContentsFull(FilenameVar string, ContentsVar []byte, LengthVar int, FlagsVar FileSetContentsFlags, ModeVar int) (bool, error) {
472 var cerr *Error472 var cerr *Error
473 473
474 cret := xFileSetContentsFull(FilenameVar, ContentsVar, LengthVar, FlagsVar, ModeVar, &cerr)474 cret := xFileSetContentsFull(FilenameVar, ContentsVar, LengthVar, FlagsVar, ModeVar, &cerr)
M v4/glib/ghmac.go +8 -8
@@ -29,14 +29,14 @@ func (x *Hmac) Copy() *Hmac {
29 return cret29 return cret
30 }30 }
31 31
32-var xHmacGetDigest func(uintptr, uintptr, uint)32+var xHmacGetDigest func(uintptr, []byte, uint)
33 33
34 // Gets the digest from @checksum as a raw binary array and places it34 // Gets the digest from @checksum as a raw binary array and places it
35 // into @buffer. The size of the digest depends on the type of checksum.35 // into @buffer. The size of the digest depends on the type of checksum.
36 //36 //
37 // Once this function has been called, the #GHmac is closed and can37 // Once this function has been called, the #GHmac is closed and can
38 // no longer be updated with g_checksum_update().38 // no longer be updated with g_checksum_update().
39-func (x *Hmac) GetDigest(BufferVar uintptr, DigestLenVar uint) {39+func (x *Hmac) GetDigest(BufferVar []byte, DigestLenVar uint) {
40 40
41 xHmacGetDigest(x.GoPointer(), BufferVar, DigestLenVar)41 xHmacGetDigest(x.GoPointer(), BufferVar, DigestLenVar)
42 42
@@ -81,13 +81,13 @@ func (x *Hmac) Unref() {
81 81
82 }82 }
83 83
84-var xHmacUpdate func(uintptr, uintptr, int)84+var xHmacUpdate func(uintptr, []byte, int)
85 85
86 // Feeds @data into an existing #GHmac.86 // Feeds @data into an existing #GHmac.
87 //87 //
88 // The HMAC must still be open, that is g_hmac_get_string() or88 // The HMAC must still be open, that is g_hmac_get_string() or
89 // g_hmac_get_digest() must not have been called on @hmac.89 // g_hmac_get_digest() must not have been called on @hmac.
90-func (x *Hmac) Update(DataVar uintptr, LengthVar int) {90+func (x *Hmac) Update(DataVar []byte, LengthVar int) {
91 91
92 xHmacUpdate(x.GoPointer(), DataVar, LengthVar)92 xHmacUpdate(x.GoPointer(), DataVar, LengthVar)
93 93
@@ -106,25 +106,25 @@ func ComputeHmacForBytes(DigestTypeVar ChecksumType, KeyVar *Bytes, DataVar *Byt
106 return cret106 return cret
107 }107 }
108 108
109-var xComputeHmacForData func(ChecksumType, uintptr, uint, uintptr, uint) string109+var xComputeHmacForData func(ChecksumType, []byte, uint, []byte, uint) string
110 110
111 // Computes the HMAC for a binary @data of @length. This is a111 // Computes the HMAC for a binary @data of @length. This is a
112 // convenience wrapper for g_hmac_new(), g_hmac_get_string()112 // convenience wrapper for g_hmac_new(), g_hmac_get_string()
113 // and g_hmac_unref().113 // and g_hmac_unref().
114 //114 //
115 // The hexadecimal string returned will be in lower case.115 // The hexadecimal string returned will be in lower case.
116-func ComputeHmacForData(DigestTypeVar ChecksumType, KeyVar uintptr, KeyLenVar uint, DataVar uintptr, LengthVar uint) string {116+func ComputeHmacForData(DigestTypeVar ChecksumType, KeyVar []byte, KeyLenVar uint, DataVar []byte, LengthVar uint) string {
117 117
118 cret := xComputeHmacForData(DigestTypeVar, KeyVar, KeyLenVar, DataVar, LengthVar)118 cret := xComputeHmacForData(DigestTypeVar, KeyVar, KeyLenVar, DataVar, LengthVar)
119 return cret119 return cret
120 }120 }
121 121
122-var xComputeHmacForString func(ChecksumType, uintptr, uint, string, int) string122+var xComputeHmacForString func(ChecksumType, []byte, uint, string, int) string
123 123
124 // Computes the HMAC for a string.124 // Computes the HMAC for a string.
125 //125 //
126 // The hexadecimal string returned will be in lower case.126 // The hexadecimal string returned will be in lower case.
127-func ComputeHmacForString(DigestTypeVar ChecksumType, KeyVar uintptr, KeyLenVar uint, StrVar string, LengthVar int) string {127+func ComputeHmacForString(DigestTypeVar ChecksumType, KeyVar []byte, KeyLenVar uint, StrVar string, LengthVar int) string {
128 128
129 cret := xComputeHmacForString(DigestTypeVar, KeyVar, KeyLenVar, StrVar, LengthVar)129 cret := xComputeHmacForString(DigestTypeVar, KeyVar, KeyLenVar, StrVar, LengthVar)
130 return cret130 return cret
M v4/glib/ghook.go +1 -1
@@ -80,7 +80,7 @@ type HookList struct {
80 80
81 FinalizeHook HookFinalizeFunc81 FinalizeHook HookFinalizeFunc
82 82
83- Dummy uintptr83+ Dummy [2]uintptr
84 }84 }
85 85
86 func (x *HookList) GoPointer() uintptr {86 func (x *HookList) GoPointer() uintptr {
M v4/glib/giochannel.go +7 -7
@@ -39,7 +39,7 @@ type IOChannel struct {
39 39
40 WriteBuf *String40 WriteBuf *String
41 41
42- PartialWriteBuf uintptr42+ PartialWriteBuf [6]byte
43 43
44 UseBuffer uint44 UseBuffer uint
45 45
@@ -237,10 +237,10 @@ func (x *IOChannel) Read(BufVar string, CountVar uint, BytesReadVar uint) IOErro
237 return cret237 return cret
238 }238 }
239 239
240-var xIOChannelReadChars func(uintptr, uintptr, uint, uint, **Error) IOStatus240+var xIOChannelReadChars func(uintptr, []byte, uint, uint, **Error) IOStatus
241 241
242 // Replacement for g_io_channel_read() with the new API.242 // Replacement for g_io_channel_read() with the new API.
243-func (x *IOChannel) ReadChars(BufVar uintptr, CountVar uint, BytesReadVar uint) (IOStatus, error) {243+func (x *IOChannel) ReadChars(BufVar []byte, CountVar uint, BytesReadVar uint) (IOStatus, error) {
244 var cerr *Error244 var cerr *Error
245 245
246 cret := xIOChannelReadChars(x.GoPointer(), BufVar, CountVar, BytesReadVar, &cerr)246 cret := xIOChannelReadChars(x.GoPointer(), BufVar, CountVar, BytesReadVar, &cerr)
@@ -282,10 +282,10 @@ func (x *IOChannel) ReadLineString(BufferVar *String, TerminatorPosVar uint) (IO
282 282
283 }283 }
284 284
285-var xIOChannelReadToEnd func(uintptr, uintptr, uint, **Error) IOStatus285+var xIOChannelReadToEnd func(uintptr, []byte, uint, **Error) IOStatus
286 286
287 // Reads all the remaining data from the file.287 // Reads all the remaining data from the file.
288-func (x *IOChannel) ReadToEnd(StrReturnVar uintptr, LengthVar uint) (IOStatus, error) {288+func (x *IOChannel) ReadToEnd(StrReturnVar []byte, LengthVar uint) (IOStatus, error) {
289 var cerr *Error289 var cerr *Error
290 290
291 cret := xIOChannelReadToEnd(x.GoPointer(), StrReturnVar, LengthVar, &cerr)291 cret := xIOChannelReadToEnd(x.GoPointer(), StrReturnVar, LengthVar, &cerr)
@@ -511,7 +511,7 @@ func (x *IOChannel) Write(BufVar string, CountVar uint, BytesWrittenVar uint) IO
511 return cret511 return cret
512 }512 }
513 513
514-var xIOChannelWriteChars func(uintptr, uintptr, int, uint, **Error) IOStatus514+var xIOChannelWriteChars func(uintptr, []byte, int, uint, **Error) IOStatus
515 515
516 // Replacement for g_io_channel_write() with the new API.516 // Replacement for g_io_channel_write() with the new API.
517 //517 //
@@ -519,7 +519,7 @@ var xIOChannelWriteChars func(uintptr, uintptr, int, uint, **Error) IOStatus
519 // mixing of reading and writing is not allowed. A call to g_io_channel_write_chars ()519 // mixing of reading and writing is not allowed. A call to g_io_channel_write_chars ()
520 // may only be made on a channel from which data has been read in the520 // may only be made on a channel from which data has been read in the
521 // cases described in the documentation for g_io_channel_set_encoding ().521 // cases described in the documentation for g_io_channel_set_encoding ().
522-func (x *IOChannel) WriteChars(BufVar uintptr, CountVar int, BytesWrittenVar uint) (IOStatus, error) {522+func (x *IOChannel) WriteChars(BufVar []byte, CountVar int, BytesWrittenVar uint) (IOStatus, error) {
523 var cerr *Error523 var cerr *Error
524 524
525 cret := xIOChannelWriteChars(x.GoPointer(), BufVar, CountVar, BytesWrittenVar, &cerr)525 cret := xIOChannelWriteChars(x.GoPointer(), BufVar, CountVar, BytesWrittenVar, &cerr)
M v4/glib/gkeyfile.go +26 -26
@@ -60,7 +60,7 @@ func (x *KeyFile) GetBoolean(GroupNameVar string, KeyVar string) (bool, error) {
60 60
61 }61 }
62 62
63-var xKeyFileGetBooleanList func(uintptr, string, string, uint, **Error) uintptr63+var xKeyFileGetBooleanList func(uintptr, string, string, uint, **Error) []bool
64 64
65 // Returns the values associated with @key under @group_name as65 // Returns the values associated with @key under @group_name as
66 // booleans.66 // booleans.
@@ -69,7 +69,7 @@ var xKeyFileGetBooleanList func(uintptr, string, string, uint, **Error) uintptr
69 // %G_KEY_FILE_ERROR_KEY_NOT_FOUND. Likewise, if the values associated69 // %G_KEY_FILE_ERROR_KEY_NOT_FOUND. Likewise, if the values associated
70 // with @key cannot be interpreted as booleans then %NULL is returned70 // with @key cannot be interpreted as booleans then %NULL is returned
71 // and @error is set to %G_KEY_FILE_ERROR_INVALID_VALUE.71 // and @error is set to %G_KEY_FILE_ERROR_INVALID_VALUE.
72-func (x *KeyFile) GetBooleanList(GroupNameVar string, KeyVar string, LengthVar uint) (uintptr, error) {72+func (x *KeyFile) GetBooleanList(GroupNameVar string, KeyVar string, LengthVar uint) ([]bool, error) {
73 var cerr *Error73 var cerr *Error
74 74
75 cret := xKeyFileGetBooleanList(x.GoPointer(), GroupNameVar, KeyVar, LengthVar, &cerr)75 cret := xKeyFileGetBooleanList(x.GoPointer(), GroupNameVar, KeyVar, LengthVar, &cerr)
@@ -121,7 +121,7 @@ func (x *KeyFile) GetDouble(GroupNameVar string, KeyVar string) (float64, error)
121 121
122 }122 }
123 123
124-var xKeyFileGetDoubleList func(uintptr, string, string, uint, **Error) uintptr124+var xKeyFileGetDoubleList func(uintptr, string, string, uint, **Error) []float64
125 125
126 // Returns the values associated with @key under @group_name as126 // Returns the values associated with @key under @group_name as
127 // doubles.127 // doubles.
@@ -130,7 +130,7 @@ var xKeyFileGetDoubleList func(uintptr, string, string, uint, **Error) uintptr
130 // %G_KEY_FILE_ERROR_KEY_NOT_FOUND. Likewise, if the values associated130 // %G_KEY_FILE_ERROR_KEY_NOT_FOUND. Likewise, if the values associated
131 // with @key cannot be interpreted as doubles then %NULL is returned131 // with @key cannot be interpreted as doubles then %NULL is returned
132 // and @error is set to %G_KEY_FILE_ERROR_INVALID_VALUE.132 // and @error is set to %G_KEY_FILE_ERROR_INVALID_VALUE.
133-func (x *KeyFile) GetDoubleList(GroupNameVar string, KeyVar string, LengthVar uint) (uintptr, error) {133+func (x *KeyFile) GetDoubleList(GroupNameVar string, KeyVar string, LengthVar uint) ([]float64, error) {
134 var cerr *Error134 var cerr *Error
135 135
136 cret := xKeyFileGetDoubleList(x.GoPointer(), GroupNameVar, KeyVar, LengthVar, &cerr)136 cret := xKeyFileGetDoubleList(x.GoPointer(), GroupNameVar, KeyVar, LengthVar, &cerr)
@@ -141,12 +141,12 @@ func (x *KeyFile) GetDoubleList(GroupNameVar string, KeyVar string, LengthVar ui
141 141
142 }142 }
143 143
144-var xKeyFileGetGroups func(uintptr, uint) uintptr144+var xKeyFileGetGroups func(uintptr, uint) []string
145 145
146 // Returns all groups in the key file loaded with @key_file.146 // Returns all groups in the key file loaded with @key_file.
147 // The array of returned groups will be %NULL-terminated, so147 // The array of returned groups will be %NULL-terminated, so
148 // @length may optionally be %NULL.148 // @length may optionally be %NULL.
149-func (x *KeyFile) GetGroups(LengthVar uint) uintptr {149+func (x *KeyFile) GetGroups(LengthVar uint) []string {
150 150
151 cret := xKeyFileGetGroups(x.GoPointer(), LengthVar)151 cret := xKeyFileGetGroups(x.GoPointer(), LengthVar)
152 return cret152 return cret
@@ -189,7 +189,7 @@ func (x *KeyFile) GetInteger(GroupNameVar string, KeyVar string) (int, error) {
189 189
190 }190 }
191 191
192-var xKeyFileGetIntegerList func(uintptr, string, string, uint, **Error) uintptr192+var xKeyFileGetIntegerList func(uintptr, string, string, uint, **Error) []int
193 193
194 // Returns the values associated with @key under @group_name as194 // Returns the values associated with @key under @group_name as
195 // integers.195 // integers.
@@ -199,7 +199,7 @@ var xKeyFileGetIntegerList func(uintptr, string, string, uint, **Error) uintptr
199 // with @key cannot be interpreted as integers, or are out of range for199 // with @key cannot be interpreted as integers, or are out of range for
200 // #gint, then %NULL is returned200 // #gint, then %NULL is returned
201 // and @error is set to %G_KEY_FILE_ERROR_INVALID_VALUE.201 // and @error is set to %G_KEY_FILE_ERROR_INVALID_VALUE.
202-func (x *KeyFile) GetIntegerList(GroupNameVar string, KeyVar string, LengthVar uint) (uintptr, error) {202+func (x *KeyFile) GetIntegerList(GroupNameVar string, KeyVar string, LengthVar uint) ([]int, error) {
203 var cerr *Error203 var cerr *Error
204 204
205 cret := xKeyFileGetIntegerList(x.GoPointer(), GroupNameVar, KeyVar, LengthVar, &cerr)205 cret := xKeyFileGetIntegerList(x.GoPointer(), GroupNameVar, KeyVar, LengthVar, &cerr)
@@ -210,14 +210,14 @@ func (x *KeyFile) GetIntegerList(GroupNameVar string, KeyVar string, LengthVar u
210 210
211 }211 }
212 212
213-var xKeyFileGetKeys func(uintptr, string, uint, **Error) uintptr213+var xKeyFileGetKeys func(uintptr, string, uint, **Error) []string
214 214
215 // Returns all keys for the group name @group_name. The array of215 // Returns all keys for the group name @group_name. The array of
216 // returned keys will be %NULL-terminated, so @length may216 // returned keys will be %NULL-terminated, so @length may
217 // optionally be %NULL. In the event that the @group_name cannot217 // optionally be %NULL. In the event that the @group_name cannot
218 // be found, %NULL is returned and @error is set to218 // be found, %NULL is returned and @error is set to
219 // %G_KEY_FILE_ERROR_GROUP_NOT_FOUND.219 // %G_KEY_FILE_ERROR_GROUP_NOT_FOUND.
220-func (x *KeyFile) GetKeys(GroupNameVar string, LengthVar uint) (uintptr, error) {220+func (x *KeyFile) GetKeys(GroupNameVar string, LengthVar uint) ([]string, error) {
221 var cerr *Error221 var cerr *Error
222 222
223 cret := xKeyFileGetKeys(x.GoPointer(), GroupNameVar, LengthVar, &cerr)223 cret := xKeyFileGetKeys(x.GoPointer(), GroupNameVar, LengthVar, &cerr)
@@ -270,7 +270,7 @@ func (x *KeyFile) GetLocaleString(GroupNameVar string, KeyVar string, LocaleVar
270 270
271 }271 }
272 272
273-var xKeyFileGetLocaleStringList func(uintptr, string, string, string, uint, **Error) uintptr273+var xKeyFileGetLocaleStringList func(uintptr, string, string, string, uint, **Error) []string
274 274
275 // Returns the values associated with @key under @group_name275 // Returns the values associated with @key under @group_name
276 // translated in the given @locale if available. If @locale is276 // translated in the given @locale if available. If @locale is
@@ -286,7 +286,7 @@ var xKeyFileGetLocaleStringList func(uintptr, string, string, string, uint, **Er
286 // can be found then the untranslated values are returned. The286 // can be found then the untranslated values are returned. The
287 // returned array is %NULL-terminated, so @length may optionally287 // returned array is %NULL-terminated, so @length may optionally
288 // be %NULL.288 // be %NULL.
289-func (x *KeyFile) GetLocaleStringList(GroupNameVar string, KeyVar string, LocaleVar string, LengthVar uint) (uintptr, error) {289+func (x *KeyFile) GetLocaleStringList(GroupNameVar string, KeyVar string, LocaleVar string, LengthVar uint) ([]string, error) {
290 var cerr *Error290 var cerr *Error
291 291
292 cret := xKeyFileGetLocaleStringList(x.GoPointer(), GroupNameVar, KeyVar, LocaleVar, LengthVar, &cerr)292 cret := xKeyFileGetLocaleStringList(x.GoPointer(), GroupNameVar, KeyVar, LocaleVar, LengthVar, &cerr)
@@ -327,7 +327,7 @@ func (x *KeyFile) GetString(GroupNameVar string, KeyVar string) (string, error)
327 327
328 }328 }
329 329
330-var xKeyFileGetStringList func(uintptr, string, string, uint, **Error) uintptr330+var xKeyFileGetStringList func(uintptr, string, string, uint, **Error) []string
331 331
332 // Returns the values associated with @key under @group_name.332 // Returns the values associated with @key under @group_name.
333 //333 //
@@ -335,7 +335,7 @@ var xKeyFileGetStringList func(uintptr, string, string, uint, **Error) uintptr
335 // @error is set to %G_KEY_FILE_ERROR_KEY_NOT_FOUND. In the335 // @error is set to %G_KEY_FILE_ERROR_KEY_NOT_FOUND. In the
336 // event that the @group_name cannot be found, %NULL is returned336 // event that the @group_name cannot be found, %NULL is returned
337 // and @error is set to %G_KEY_FILE_ERROR_GROUP_NOT_FOUND.337 // and @error is set to %G_KEY_FILE_ERROR_GROUP_NOT_FOUND.
338-func (x *KeyFile) GetStringList(GroupNameVar string, KeyVar string, LengthVar uint) (uintptr, error) {338+func (x *KeyFile) GetStringList(GroupNameVar string, KeyVar string, LengthVar uint) ([]string, error) {
339 var cerr *Error339 var cerr *Error
340 340
341 cret := xKeyFileGetStringList(x.GoPointer(), GroupNameVar, KeyVar, LengthVar, &cerr)341 cret := xKeyFileGetStringList(x.GoPointer(), GroupNameVar, KeyVar, LengthVar, &cerr)
@@ -462,7 +462,7 @@ func (x *KeyFile) LoadFromDataDirs(FileVar string, FullPathVar string, FlagsVar
462 462
463 }463 }
464 464
465-var xKeyFileLoadFromDirs func(uintptr, string, uintptr, string, KeyFileFlags, **Error) bool465+var xKeyFileLoadFromDirs func(uintptr, string, []string, string, KeyFileFlags, **Error) bool
466 466
467 // This function looks for a key file named @file in the paths467 // This function looks for a key file named @file in the paths
468 // specified in @search_dirs, loads the file into @key_file and468 // specified in @search_dirs, loads the file into @key_file and
@@ -473,7 +473,7 @@ var xKeyFileLoadFromDirs func(uintptr, string, uintptr, string, KeyFileFlags, **
473 // the file is found but the OS returns an error when opening or reading the473 // the file is found but the OS returns an error when opening or reading the
474 // file, a %G_FILE_ERROR is returned. If there is a problem parsing the file, a474 // file, a %G_FILE_ERROR is returned. If there is a problem parsing the file, a
475 // %G_KEY_FILE_ERROR is returned.475 // %G_KEY_FILE_ERROR is returned.
476-func (x *KeyFile) LoadFromDirs(FileVar string, SearchDirsVar uintptr, FullPathVar string, FlagsVar KeyFileFlags) (bool, error) {476+func (x *KeyFile) LoadFromDirs(FileVar string, SearchDirsVar []string, FullPathVar string, FlagsVar KeyFileFlags) (bool, error) {
477 var cerr *Error477 var cerr *Error
478 478
479 cret := xKeyFileLoadFromDirs(x.GoPointer(), FileVar, SearchDirsVar, FullPathVar, FlagsVar, &cerr)479 cret := xKeyFileLoadFromDirs(x.GoPointer(), FileVar, SearchDirsVar, FullPathVar, FlagsVar, &cerr)
@@ -590,12 +590,12 @@ func (x *KeyFile) SetBoolean(GroupNameVar string, KeyVar string, ValueVar bool)
590 590
591 }591 }
592 592
593-var xKeyFileSetBooleanList func(uintptr, string, string, uintptr, uint)593+var xKeyFileSetBooleanList func(uintptr, string, string, []bool, uint)
594 594
595 // Associates a list of boolean values with @key under @group_name.595 // Associates a list of boolean values with @key under @group_name.
596 // If @key cannot be found then it is created.596 // If @key cannot be found then it is created.
597 // If @group_name is %NULL, the start_group is used.597 // If @group_name is %NULL, the start_group is used.
598-func (x *KeyFile) SetBooleanList(GroupNameVar string, KeyVar string, ListVar uintptr, LengthVar uint) {598+func (x *KeyFile) SetBooleanList(GroupNameVar string, KeyVar string, ListVar []bool, LengthVar uint) {
599 599
600 xKeyFileSetBooleanList(x.GoPointer(), GroupNameVar, KeyVar, ListVar, LengthVar)600 xKeyFileSetBooleanList(x.GoPointer(), GroupNameVar, KeyVar, ListVar, LengthVar)
601 601
@@ -632,11 +632,11 @@ func (x *KeyFile) SetDouble(GroupNameVar string, KeyVar string, ValueVar float64
632 632
633 }633 }
634 634
635-var xKeyFileSetDoubleList func(uintptr, string, string, uintptr, uint)635+var xKeyFileSetDoubleList func(uintptr, string, string, []float64, uint)
636 636
637 // Associates a list of double values with @key under637 // Associates a list of double values with @key under
638 // @group_name. If @key cannot be found then it is created.638 // @group_name. If @key cannot be found then it is created.
639-func (x *KeyFile) SetDoubleList(GroupNameVar string, KeyVar string, ListVar uintptr, LengthVar uint) {639+func (x *KeyFile) SetDoubleList(GroupNameVar string, KeyVar string, ListVar []float64, LengthVar uint) {
640 640
641 xKeyFileSetDoubleList(x.GoPointer(), GroupNameVar, KeyVar, ListVar, LengthVar)641 xKeyFileSetDoubleList(x.GoPointer(), GroupNameVar, KeyVar, ListVar, LengthVar)
642 642
@@ -662,11 +662,11 @@ func (x *KeyFile) SetInteger(GroupNameVar string, KeyVar string, ValueVar int) {
662 662
663 }663 }
664 664
665-var xKeyFileSetIntegerList func(uintptr, string, string, uintptr, uint)665+var xKeyFileSetIntegerList func(uintptr, string, string, []int, uint)
666 666
667 // Associates a list of integer values with @key under @group_name.667 // Associates a list of integer values with @key under @group_name.
668 // If @key cannot be found then it is created.668 // If @key cannot be found then it is created.
669-func (x *KeyFile) SetIntegerList(GroupNameVar string, KeyVar string, ListVar uintptr, LengthVar uint) {669+func (x *KeyFile) SetIntegerList(GroupNameVar string, KeyVar string, ListVar []int, LengthVar uint) {
670 670
671 xKeyFileSetIntegerList(x.GoPointer(), GroupNameVar, KeyVar, ListVar, LengthVar)671 xKeyFileSetIntegerList(x.GoPointer(), GroupNameVar, KeyVar, ListVar, LengthVar)
672 672
@@ -693,12 +693,12 @@ func (x *KeyFile) SetLocaleString(GroupNameVar string, KeyVar string, LocaleVar
693 693
694 }694 }
695 695
696-var xKeyFileSetLocaleStringList func(uintptr, string, string, string, uintptr, uint)696+var xKeyFileSetLocaleStringList func(uintptr, string, string, string, []string, uint)
697 697
698 // Associates a list of string values for @key and @locale under698 // Associates a list of string values for @key and @locale under
699 // @group_name. If the translation for @key cannot be found then699 // @group_name. If the translation for @key cannot be found then
700 // it is created.700 // it is created.
701-func (x *KeyFile) SetLocaleStringList(GroupNameVar string, KeyVar string, LocaleVar string, ListVar uintptr, LengthVar uint) {701+func (x *KeyFile) SetLocaleStringList(GroupNameVar string, KeyVar string, LocaleVar string, ListVar []string, LengthVar uint) {
702 702
703 xKeyFileSetLocaleStringList(x.GoPointer(), GroupNameVar, KeyVar, LocaleVar, ListVar, LengthVar)703 xKeyFileSetLocaleStringList(x.GoPointer(), GroupNameVar, KeyVar, LocaleVar, ListVar, LengthVar)
704 704
@@ -717,12 +717,12 @@ func (x *KeyFile) SetString(GroupNameVar string, KeyVar string, StringVar string
717 717
718 }718 }
719 719
720-var xKeyFileSetStringList func(uintptr, string, string, uintptr, uint)720+var xKeyFileSetStringList func(uintptr, string, string, []string, uint)
721 721
722 // Associates a list of string values for @key under @group_name.722 // Associates a list of string values for @key under @group_name.
723 // If @key cannot be found then it is created.723 // If @key cannot be found then it is created.
724 // If @group_name cannot be found then it is created.724 // If @group_name cannot be found then it is created.
725-func (x *KeyFile) SetStringList(GroupNameVar string, KeyVar string, ListVar uintptr, LengthVar uint) {725+func (x *KeyFile) SetStringList(GroupNameVar string, KeyVar string, ListVar []string, LengthVar uint) {
726 726
727 xKeyFileSetStringList(x.GoPointer(), GroupNameVar, KeyVar, ListVar, LengthVar)727 xKeyFileSetStringList(x.GoPointer(), GroupNameVar, KeyVar, ListVar, LengthVar)
728 728
M v4/glib/glib-types.go +5 -4
@@ -4,21 +4,22 @@ package glib
4 import (4 import (
5 "github.com/jwijenbergh/purego"5 "github.com/jwijenbergh/purego"
6 "github.com/jwijenbergh/puregotk/internal/core"6 "github.com/jwijenbergh/puregotk/internal/core"
7+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
7 )8 )
8 9
9 type Type = uint10 type Type = uint
10 11
11-var xStrvGetType func() []interface{}12+var xStrvGetType func() types.GType
12 13
13-func StrvGetType() []interface{} {14+func StrvGetType() types.GType {
14 15
15 cret := xStrvGetType()16 cret := xStrvGetType()
16 return cret17 return cret
17 }18 }
18 19
19-var xVariantGetGtype func() []interface{}20+var xVariantGetGtype func() types.GType
20 21
21-func VariantGetGtype() []interface{} {22+func VariantGetGtype() types.GType {
22 23
23 cret := xVariantGetGtype()24 cret := xVariantGetGtype()
24 return cret25 return cret
M v4/glib/gmain.go +4 -4
@@ -95,7 +95,7 @@ func (x *MainContext) AddPoll(FdVar *PollFD, PriorityVar int) {
95 95
96 }96 }
97 97
98-var xMainContextCheck func(uintptr, int, uintptr, int) bool98+var xMainContextCheck func(uintptr, int, []PollFD, int) bool
99 99
100 // Passes the results of polling back to the main loop. You should be100 // Passes the results of polling back to the main loop. You should be
101 // careful to pass @fds and its length @n_fds as received from101 // careful to pass @fds and its length @n_fds as received from
@@ -104,7 +104,7 @@ var xMainContextCheck func(uintptr, int, uintptr, int) bool
104 //104 //
105 // You must have successfully acquired the context with105 // You must have successfully acquired the context with
106 // g_main_context_acquire() before you may call this function.106 // g_main_context_acquire() before you may call this function.
107-func (x *MainContext) Check(MaxPriorityVar int, FdsVar uintptr, NFdsVar int) bool {107+func (x *MainContext) Check(MaxPriorityVar int, FdsVar []PollFD, NFdsVar int) bool {
108 108
109 cret := xMainContextCheck(x.GoPointer(), MaxPriorityVar, FdsVar, NFdsVar)109 cret := xMainContextCheck(x.GoPointer(), MaxPriorityVar, FdsVar, NFdsVar)
110 return cret110 return cret
@@ -329,7 +329,7 @@ func (x *MainContext) PushThreadDefault() {
329 329
330 }330 }
331 331
332-var xMainContextQuery func(uintptr, int, int, uintptr, int) int332+var xMainContextQuery func(uintptr, int, int, []PollFD, int) int
333 333
334 // Determines information necessary to poll this main loop. You should334 // Determines information necessary to poll this main loop. You should
335 // be careful to pass the resulting @fds array and its length @n_fds335 // be careful to pass the resulting @fds array and its length @n_fds
@@ -338,7 +338,7 @@ var xMainContextQuery func(uintptr, int, int, uintptr, int) int
338 //338 //
339 // You must have successfully acquired the context with339 // You must have successfully acquired the context with
340 // g_main_context_acquire() before you may call this function.340 // g_main_context_acquire() before you may call this function.
341-func (x *MainContext) Query(MaxPriorityVar int, TimeoutVar int, FdsVar uintptr, NFdsVar int) int {341+func (x *MainContext) Query(MaxPriorityVar int, TimeoutVar int, FdsVar []PollFD, NFdsVar int) int {
342 342
343 cret := xMainContextQuery(x.GoPointer(), MaxPriorityVar, TimeoutVar, FdsVar, NFdsVar)343 cret := xMainContextQuery(x.GoPointer(), MaxPriorityVar, TimeoutVar, FdsVar, NFdsVar)
344 return cret344 return cret
M v4/glib/gmessages.go +11 -11
@@ -38,7 +38,7 @@ type LogFunc func(string, LogLevelFlags, string, uintptr)
38 // send messages to a remote logging server and there is a network error), it38 // send messages to a remote logging server and there is a network error), it
39 // should return %G_LOG_WRITER_UNHANDLED. This allows writer functions to be39 // should return %G_LOG_WRITER_UNHANDLED. This allows writer functions to be
40 // chained and fall back to simpler handlers in case of failure.40 // chained and fall back to simpler handlers in case of failure.
41-type LogWriterFunc func(LogLevelFlags, uintptr, uint, uintptr) LogWriterOutput41+type LogWriterFunc func(LogLevelFlags, []LogField, uint, uintptr) LogWriterOutput
42 42
43 // Specifies the type of the print handler functions.43 // Specifies the type of the print handler functions.
44 // These are called with the complete formatted string to output.44 // These are called with the complete formatted string to output.
@@ -481,7 +481,7 @@ func LogStructured(LogDomainVar string, LogLevelVar LogLevelFlags, varArgs ...in
481 481
482 }482 }
483 483
484-var xLogStructuredArray func(LogLevelFlags, uintptr, uint)484+var xLogStructuredArray func(LogLevelFlags, []LogField, uint)
485 485
486 // Log a message with structured data. The message will be passed through to the486 // Log a message with structured data. The message will be passed through to the
487 // log writer set by the application using g_log_set_writer_func(). If the487 // log writer set by the application using g_log_set_writer_func(). If the
@@ -492,7 +492,7 @@ var xLogStructuredArray func(LogLevelFlags, uintptr, uint)
492 //492 //
493 // This assumes that @log_level is already present in @fields (typically as the493 // This assumes that @log_level is already present in @fields (typically as the
494 // `PRIORITY` field).494 // `PRIORITY` field).
495-func LogStructuredArray(LogLevelVar LogLevelFlags, FieldsVar uintptr, NFieldsVar uint) {495+func LogStructuredArray(LogLevelVar LogLevelFlags, FieldsVar []LogField, NFieldsVar uint) {
496 496
497 xLogStructuredArray(LogLevelVar, FieldsVar, NFieldsVar)497 xLogStructuredArray(LogLevelVar, FieldsVar, NFieldsVar)
498 498
@@ -528,7 +528,7 @@ func LogVariant(LogDomainVar string, LogLevelVar LogLevelFlags, FieldsVar *Varia
528 528
529 }529 }
530 530
531-var xLogWriterDefault func(LogLevelFlags, uintptr, uint, uintptr) LogWriterOutput531+var xLogWriterDefault func(LogLevelFlags, []LogField, uint, uintptr) LogWriterOutput
532 532
533 // Format a structured log message and output it to the default log destination533 // Format a structured log message and output it to the default log destination
534 // for the platform. On Linux, this is typically the systemd journal, falling534 // for the platform. On Linux, this is typically the systemd journal, falling
@@ -549,7 +549,7 @@ var xLogWriterDefault func(LogLevelFlags, uintptr, uint, uintptr) LogWriterOutpu
549 // g_log_writer_default() uses the mask set by g_log_set_always_fatal() to549 // g_log_writer_default() uses the mask set by g_log_set_always_fatal() to
550 // determine which messages are fatal. When using a custom writer func instead it is550 // determine which messages are fatal. When using a custom writer func instead it is
551 // up to the writer function to determine which log messages are fatal.551 // up to the writer function to determine which log messages are fatal.
552-func LogWriterDefault(LogLevelVar LogLevelFlags, FieldsVar uintptr, NFieldsVar uint, UserDataVar uintptr) LogWriterOutput {552+func LogWriterDefault(LogLevelVar LogLevelFlags, FieldsVar []LogField, NFieldsVar uint, UserDataVar uintptr) LogWriterOutput {
553 553
554 cret := xLogWriterDefault(LogLevelVar, FieldsVar, NFieldsVar, UserDataVar)554 cret := xLogWriterDefault(LogLevelVar, FieldsVar, NFieldsVar, UserDataVar)
555 return cret555 return cret
@@ -615,7 +615,7 @@ func LogWriterDefaultWouldDrop(LogLevelVar LogLevelFlags, LogDomainVar string) b
615 return cret615 return cret
616 }616 }
617 617
618-var xLogWriterFormatFields func(LogLevelFlags, uintptr, uint, bool) string618+var xLogWriterFormatFields func(LogLevelFlags, []LogField, uint, bool) string
619 619
620 // Format a structured log message as a string suitable for outputting to the620 // Format a structured log message as a string suitable for outputting to the
621 // terminal (or elsewhere). This will include the values of all fields it knows621 // terminal (or elsewhere). This will include the values of all fields it knows
@@ -626,7 +626,7 @@ var xLogWriterFormatFields func(LogLevelFlags, uintptr, uint, bool) string
626 // The returned string does **not** have a trailing new-line character. It is626 // The returned string does **not** have a trailing new-line character. It is
627 // encoded in the character set of the current locale, which is not necessarily627 // encoded in the character set of the current locale, which is not necessarily
628 // UTF-8.628 // UTF-8.
629-func LogWriterFormatFields(LogLevelVar LogLevelFlags, FieldsVar uintptr, NFieldsVar uint, UseColorVar bool) string {629+func LogWriterFormatFields(LogLevelVar LogLevelFlags, FieldsVar []LogField, NFieldsVar uint, UseColorVar bool) string {
630 630
631 cret := xLogWriterFormatFields(LogLevelVar, FieldsVar, NFieldsVar, UseColorVar)631 cret := xLogWriterFormatFields(LogLevelVar, FieldsVar, NFieldsVar, UseColorVar)
632 return cret632 return cret
@@ -651,7 +651,7 @@ func LogWriterIsJournald(OutputFdVar int) bool {
651 return cret651 return cret
652 }652 }
653 653
654-var xLogWriterJournald func(LogLevelFlags, uintptr, uint, uintptr) LogWriterOutput654+var xLogWriterJournald func(LogLevelFlags, []LogField, uint, uintptr) LogWriterOutput
655 655
656 // Format a structured log message and send it to the systemd journal as a set656 // Format a structured log message and send it to the systemd journal as a set
657 // of key–value pairs. All fields are sent to the journal, but if a field has657 // of key–value pairs. All fields are sent to the journal, but if a field has
@@ -662,13 +662,13 @@ var xLogWriterJournald func(LogLevelFlags, uintptr, uint, uintptr) LogWriterOutp
662 //662 //
663 // If GLib has been compiled without systemd support, this function is still663 // If GLib has been compiled without systemd support, this function is still
664 // defined, but will always return %G_LOG_WRITER_UNHANDLED.664 // defined, but will always return %G_LOG_WRITER_UNHANDLED.
665-func LogWriterJournald(LogLevelVar LogLevelFlags, FieldsVar uintptr, NFieldsVar uint, UserDataVar uintptr) LogWriterOutput {665+func LogWriterJournald(LogLevelVar LogLevelFlags, FieldsVar []LogField, NFieldsVar uint, UserDataVar uintptr) LogWriterOutput {
666 666
667 cret := xLogWriterJournald(LogLevelVar, FieldsVar, NFieldsVar, UserDataVar)667 cret := xLogWriterJournald(LogLevelVar, FieldsVar, NFieldsVar, UserDataVar)
668 return cret668 return cret
669 }669 }
670 670
671-var xLogWriterStandardStreams func(LogLevelFlags, uintptr, uint, uintptr) LogWriterOutput671+var xLogWriterStandardStreams func(LogLevelFlags, []LogField, uint, uintptr) LogWriterOutput
672 672
673 // Format a structured log message and print it to either `stdout` or `stderr`,673 // Format a structured log message and print it to either `stdout` or `stderr`,
674 // depending on its log level. %G_LOG_LEVEL_INFO and %G_LOG_LEVEL_DEBUG messages674 // depending on its log level. %G_LOG_LEVEL_INFO and %G_LOG_LEVEL_DEBUG messages
@@ -684,7 +684,7 @@ var xLogWriterStandardStreams func(LogLevelFlags, uintptr, uint, uintptr) LogWri
684 // A trailing new-line character is added to the log message when it is printed.684 // A trailing new-line character is added to the log message when it is printed.
685 //685 //
686 // This is suitable for use as a #GLogWriterFunc.686 // This is suitable for use as a #GLogWriterFunc.
687-func LogWriterStandardStreams(LogLevelVar LogLevelFlags, FieldsVar uintptr, NFieldsVar uint, UserDataVar uintptr) LogWriterOutput {687+func LogWriterStandardStreams(LogLevelVar LogLevelFlags, FieldsVar []LogField, NFieldsVar uint, UserDataVar uintptr) LogWriterOutput {
688 688
689 cret := xLogWriterStandardStreams(LogLevelVar, FieldsVar, NFieldsVar, UserDataVar)689 cret := xLogWriterStandardStreams(LogLevelVar, FieldsVar, NFieldsVar, UserDataVar)
690 return cret690 return cret
M v4/glib/goption.go +8 -8
@@ -39,11 +39,11 @@ func (x *OptionContext) AddGroup(GroupVar *OptionGroup) {
39 39
40 }40 }
41 41
42-var xOptionContextAddMainEntries func(uintptr, uintptr, string)42+var xOptionContextAddMainEntries func(uintptr, []OptionEntry, string)
43 43
44 // A convenience function which creates a main group if it doesn't44 // A convenience function which creates a main group if it doesn't
45 // exist, adds the @entries to it and sets the translation domain.45 // exist, adds the @entries to it and sets the translation domain.
46-func (x *OptionContext) AddMainEntries(EntriesVar uintptr, TranslationDomainVar string) {46+func (x *OptionContext) AddMainEntries(EntriesVar []OptionEntry, TranslationDomainVar string) {
47 47
48 xOptionContextAddMainEntries(x.GoPointer(), EntriesVar, TranslationDomainVar)48 xOptionContextAddMainEntries(x.GoPointer(), EntriesVar, TranslationDomainVar)
49 49
@@ -135,7 +135,7 @@ func (x *OptionContext) GetSummary() string {
135 return cret135 return cret
136 }136 }
137 137
138-var xOptionContextParse func(uintptr, int, uintptr, **Error) bool138+var xOptionContextParse func(uintptr, int, []string, **Error) bool
139 139
140 // Parses the command line arguments, recognizing options140 // Parses the command line arguments, recognizing options
141 // which have been added to @context. A side-effect of141 // which have been added to @context. A side-effect of
@@ -158,7 +158,7 @@ var xOptionContextParse func(uintptr, int, uintptr, **Error) bool
158 // Note that function depends on the [current locale][setlocale] for158 // Note that function depends on the [current locale][setlocale] for
159 // automatic character set conversion of string and filename159 // automatic character set conversion of string and filename
160 // arguments.160 // arguments.
161-func (x *OptionContext) Parse(ArgcVar int, ArgvVar uintptr) (bool, error) {161+func (x *OptionContext) Parse(ArgcVar int, ArgvVar []string) (bool, error) {
162 var cerr *Error162 var cerr *Error
163 163
164 cret := xOptionContextParse(x.GoPointer(), ArgcVar, ArgvVar, &cerr)164 cret := xOptionContextParse(x.GoPointer(), ArgcVar, ArgvVar, &cerr)
@@ -169,7 +169,7 @@ func (x *OptionContext) Parse(ArgcVar int, ArgvVar uintptr) (bool, error) {
169 169
170 }170 }
171 171
172-var xOptionContextParseStrv func(uintptr, uintptr, **Error) bool172+var xOptionContextParseStrv func(uintptr, []string, **Error) bool
173 173
174 // Parses the command line arguments.174 // Parses the command line arguments.
175 //175 //
@@ -187,7 +187,7 @@ var xOptionContextParseStrv func(uintptr, uintptr, **Error) bool
187 //187 //
188 // This function is useful if you are trying to use #GOptionContext with188 // This function is useful if you are trying to use #GOptionContext with
189 // #GApplication.189 // #GApplication.
190-func (x *OptionContext) ParseStrv(ArgumentsVar uintptr) (bool, error) {190+func (x *OptionContext) ParseStrv(ArgumentsVar []string) (bool, error) {
191 var cerr *Error191 var cerr *Error
192 192
193 cret := xOptionContextParseStrv(x.GoPointer(), ArgumentsVar, &cerr)193 cret := xOptionContextParseStrv(x.GoPointer(), ArgumentsVar, &cerr)
@@ -371,10 +371,10 @@ func NewOptionGroup(NameVar string, DescriptionVar string, HelpDescriptionVar st
371 return cret371 return cret
372 }372 }
373 373
374-var xOptionGroupAddEntries func(uintptr, uintptr)374+var xOptionGroupAddEntries func(uintptr, []OptionEntry)
375 375
376 // Adds the options specified in @entries to @group.376 // Adds the options specified in @entries to @group.
377-func (x *OptionGroup) AddEntries(EntriesVar uintptr) {377+func (x *OptionGroup) AddEntries(EntriesVar []OptionEntry) {
378 378
379 xOptionGroupAddEntries(x.GoPointer(), EntriesVar)379 xOptionGroupAddEntries(x.GoPointer(), EntriesVar)
380 380
M v4/glib/gregex.go +20 -20
@@ -77,7 +77,7 @@ func (x *MatchInfo) Fetch(MatchNumVar int) string {
77 return cret77 return cret
78 }78 }
79 79
80-var xMatchInfoFetchAll func(uintptr) uintptr80+var xMatchInfoFetchAll func(uintptr) []string
81 81
82 // Bundles up pointers to each of the matching substrings from a match82 // Bundles up pointers to each of the matching substrings from a match
83 // and stores them in an array of gchar pointers. The first element in83 // and stores them in an array of gchar pointers. The first element in
@@ -95,7 +95,7 @@ var xMatchInfoFetchAll func(uintptr) uintptr
95 //95 //
96 // The strings are fetched from the string passed to the match function,96 // The strings are fetched from the string passed to the match function,
97 // so you cannot call this function after freeing the string.97 // so you cannot call this function after freeing the string.
98-func (x *MatchInfo) FetchAll() uintptr {98+func (x *MatchInfo) FetchAll() []string {
99 99
100 cret := xMatchInfoFetchAll(x.GoPointer())100 cret := xMatchInfoFetchAll(x.GoPointer())
101 return cret101 return cret
@@ -527,7 +527,7 @@ func (x *Regex) MatchAll(StringVar string, MatchOptionsVar RegexMatchFlags, Matc
527 return cret527 return cret
528 }528 }
529 529
530-var xRegexMatchAllFull func(uintptr, uintptr, int, int, RegexMatchFlags, **MatchInfo, **Error) bool530+var xRegexMatchAllFull func(uintptr, []string, int, int, RegexMatchFlags, **MatchInfo, **Error) bool
531 531
532 // Using the standard algorithm for regular expression matching only532 // Using the standard algorithm for regular expression matching only
533 // the longest match in the @string is retrieved, it is not possible533 // the longest match in the @string is retrieved, it is not possible
@@ -567,7 +567,7 @@ var xRegexMatchAllFull func(uintptr, uintptr, int, int, RegexMatchFlags, **Match
567 // @string is not copied and is used in #GMatchInfo internally. If567 // @string is not copied and is used in #GMatchInfo internally. If
568 // you use any #GMatchInfo method (except g_match_info_free()) after568 // you use any #GMatchInfo method (except g_match_info_free()) after
569 // freeing or modifying @string then the behaviour is undefined.569 // freeing or modifying @string then the behaviour is undefined.
570-func (x *Regex) MatchAllFull(StringVar uintptr, StringLenVar int, StartPositionVar int, MatchOptionsVar RegexMatchFlags, MatchInfoVar **MatchInfo) (bool, error) {570+func (x *Regex) MatchAllFull(StringVar []string, StringLenVar int, StartPositionVar int, MatchOptionsVar RegexMatchFlags, MatchInfoVar **MatchInfo) (bool, error) {
571 var cerr *Error571 var cerr *Error
572 572
573 cret := xRegexMatchAllFull(x.GoPointer(), StringVar, StringLenVar, StartPositionVar, MatchOptionsVar, MatchInfoVar, &cerr)573 cret := xRegexMatchAllFull(x.GoPointer(), StringVar, StringLenVar, StartPositionVar, MatchOptionsVar, MatchInfoVar, &cerr)
@@ -578,7 +578,7 @@ func (x *Regex) MatchAllFull(StringVar uintptr, StringLenVar int, StartPositionV
578 578
579 }579 }
580 580
581-var xRegexMatchFull func(uintptr, uintptr, int, int, RegexMatchFlags, **MatchInfo, **Error) bool581+var xRegexMatchFull func(uintptr, []string, int, int, RegexMatchFlags, **MatchInfo, **Error) bool
582 582
583 // Scans for a match in @string for the pattern in @regex.583 // Scans for a match in @string for the pattern in @regex.
584 // The @match_options are combined with the match options specified584 // The @match_options are combined with the match options specified
@@ -633,7 +633,7 @@ var xRegexMatchFull func(uintptr, uintptr, int, int, RegexMatchFlags, **MatchInf
633 // }633 // }
634 //634 //
635 // ]|635 // ]|
636-func (x *Regex) MatchFull(StringVar uintptr, StringLenVar int, StartPositionVar int, MatchOptionsVar RegexMatchFlags, MatchInfoVar **MatchInfo) (bool, error) {636+func (x *Regex) MatchFull(StringVar []string, StringLenVar int, StartPositionVar int, MatchOptionsVar RegexMatchFlags, MatchInfoVar **MatchInfo) (bool, error) {
637 var cerr *Error637 var cerr *Error
638 638
639 cret := xRegexMatchFull(x.GoPointer(), StringVar, StringLenVar, StartPositionVar, MatchOptionsVar, MatchInfoVar, &cerr)639 cret := xRegexMatchFull(x.GoPointer(), StringVar, StringLenVar, StartPositionVar, MatchOptionsVar, MatchInfoVar, &cerr)
@@ -653,7 +653,7 @@ func (x *Regex) Ref() *Regex {
653 return cret653 return cret
654 }654 }
655 655
656-var xRegexReplace func(uintptr, uintptr, int, int, string, RegexMatchFlags, **Error) string656+var xRegexReplace func(uintptr, []string, int, int, string, RegexMatchFlags, **Error) string
657 657
658 // Replaces all occurrences of the pattern in @regex with the658 // Replaces all occurrences of the pattern in @regex with the
659 // replacement text. Backreferences of the form '\number' or659 // replacement text. Backreferences of the form '\number' or
@@ -681,7 +681,7 @@ var xRegexReplace func(uintptr, uintptr, int, int, string, RegexMatchFlags, **Er
681 // Setting @start_position differs from just passing over a shortened681 // Setting @start_position differs from just passing over a shortened
682 // string and setting %G_REGEX_MATCH_NOTBOL in the case of a pattern that682 // string and setting %G_REGEX_MATCH_NOTBOL in the case of a pattern that
683 // begins with any kind of lookbehind assertion, such as "\b".683 // begins with any kind of lookbehind assertion, such as "\b".
684-func (x *Regex) Replace(StringVar uintptr, StringLenVar int, StartPositionVar int, ReplacementVar string, MatchOptionsVar RegexMatchFlags) (string, error) {684+func (x *Regex) Replace(StringVar []string, StringLenVar int, StartPositionVar int, ReplacementVar string, MatchOptionsVar RegexMatchFlags) (string, error) {
685 var cerr *Error685 var cerr *Error
686 686
687 cret := xRegexReplace(x.GoPointer(), StringVar, StringLenVar, StartPositionVar, ReplacementVar, MatchOptionsVar, &cerr)687 cret := xRegexReplace(x.GoPointer(), StringVar, StringLenVar, StartPositionVar, ReplacementVar, MatchOptionsVar, &cerr)
@@ -692,7 +692,7 @@ func (x *Regex) Replace(StringVar uintptr, StringLenVar int, StartPositionVar in
692 692
693 }693 }
694 694
695-var xRegexReplaceEval func(uintptr, uintptr, int, int, RegexMatchFlags, uintptr, uintptr, **Error) string695+var xRegexReplaceEval func(uintptr, []string, int, int, RegexMatchFlags, uintptr, uintptr, **Error) string
696 696
697 // Replaces occurrences of the pattern in regex with the output of697 // Replaces occurrences of the pattern in regex with the output of
698 // @eval for that occurrence.698 // @eval for that occurrence.
@@ -741,7 +741,7 @@ var xRegexReplaceEval func(uintptr, uintptr, int, int, RegexMatchFlags, uintptr,
741 //741 //
742 // ...742 // ...
743 // ]|743 // ]|
744-func (x *Regex) ReplaceEval(StringVar uintptr, StringLenVar int, StartPositionVar int, MatchOptionsVar RegexMatchFlags, EvalVar *RegexEvalCallback, UserDataVar uintptr) (string, error) {744+func (x *Regex) ReplaceEval(StringVar []string, StringLenVar int, StartPositionVar int, MatchOptionsVar RegexMatchFlags, EvalVar *RegexEvalCallback, UserDataVar uintptr) (string, error) {
745 var cerr *Error745 var cerr *Error
746 746
747 cret := xRegexReplaceEval(x.GoPointer(), StringVar, StringLenVar, StartPositionVar, MatchOptionsVar, NewCallback(EvalVar), UserDataVar, &cerr)747 cret := xRegexReplaceEval(x.GoPointer(), StringVar, StringLenVar, StartPositionVar, MatchOptionsVar, NewCallback(EvalVar), UserDataVar, &cerr)
@@ -752,7 +752,7 @@ func (x *Regex) ReplaceEval(StringVar uintptr, StringLenVar int, StartPositionVa
752 752
753 }753 }
754 754
755-var xRegexReplaceLiteral func(uintptr, uintptr, int, int, string, RegexMatchFlags, **Error) string755+var xRegexReplaceLiteral func(uintptr, []string, int, int, string, RegexMatchFlags, **Error) string
756 756
757 // Replaces all occurrences of the pattern in @regex with the757 // Replaces all occurrences of the pattern in @regex with the
758 // replacement text. @replacement is replaced literally, to758 // replacement text. @replacement is replaced literally, to
@@ -762,7 +762,7 @@ var xRegexReplaceLiteral func(uintptr, uintptr, int, int, string, RegexMatchFlag
762 // shortened string and setting %G_REGEX_MATCH_NOTBOL in the762 // shortened string and setting %G_REGEX_MATCH_NOTBOL in the
763 // case of a pattern that begins with any kind of lookbehind763 // case of a pattern that begins with any kind of lookbehind
764 // assertion, such as "\b".764 // assertion, such as "\b".
765-func (x *Regex) ReplaceLiteral(StringVar uintptr, StringLenVar int, StartPositionVar int, ReplacementVar string, MatchOptionsVar RegexMatchFlags) (string, error) {765+func (x *Regex) ReplaceLiteral(StringVar []string, StringLenVar int, StartPositionVar int, ReplacementVar string, MatchOptionsVar RegexMatchFlags) (string, error) {
766 var cerr *Error766 var cerr *Error
767 767
768 cret := xRegexReplaceLiteral(x.GoPointer(), StringVar, StringLenVar, StartPositionVar, ReplacementVar, MatchOptionsVar, &cerr)768 cret := xRegexReplaceLiteral(x.GoPointer(), StringVar, StringLenVar, StartPositionVar, ReplacementVar, MatchOptionsVar, &cerr)
@@ -773,7 +773,7 @@ func (x *Regex) ReplaceLiteral(StringVar uintptr, StringLenVar int, StartPositio
773 773
774 }774 }
775 775
776-var xRegexSplit func(uintptr, string, RegexMatchFlags) uintptr776+var xRegexSplit func(uintptr, string, RegexMatchFlags) []string
777 777
778 // Breaks the string on the pattern, and returns an array of the tokens.778 // Breaks the string on the pattern, and returns an array of the tokens.
779 // If the pattern contains capturing parentheses, then the text for each779 // If the pattern contains capturing parentheses, then the text for each
@@ -792,13 +792,13 @@ var xRegexSplit func(uintptr, string, RegexMatchFlags) uintptr
792 // characters wherever it matches the empty string between characters.792 // characters wherever it matches the empty string between characters.
793 // For example splitting "ab c" using as a separator "\s*", you will get793 // For example splitting "ab c" using as a separator "\s*", you will get
794 // "a", "b" and "c".794 // "a", "b" and "c".
795-func (x *Regex) Split(StringVar string, MatchOptionsVar RegexMatchFlags) uintptr {795+func (x *Regex) Split(StringVar string, MatchOptionsVar RegexMatchFlags) []string {
796 796
797 cret := xRegexSplit(x.GoPointer(), StringVar, MatchOptionsVar)797 cret := xRegexSplit(x.GoPointer(), StringVar, MatchOptionsVar)
798 return cret798 return cret
799 }799 }
800 800
801-var xRegexSplitFull func(uintptr, uintptr, int, int, RegexMatchFlags, int, **Error) uintptr801+var xRegexSplitFull func(uintptr, []string, int, int, RegexMatchFlags, int, **Error) []string
802 802
803 // Breaks the string on the pattern, and returns an array of the tokens.803 // Breaks the string on the pattern, and returns an array of the tokens.
804 // If the pattern contains capturing parentheses, then the text for each804 // If the pattern contains capturing parentheses, then the text for each
@@ -821,7 +821,7 @@ var xRegexSplitFull func(uintptr, uintptr, int, int, RegexMatchFlags, int, **Err
821 // Setting @start_position differs from just passing over a shortened821 // Setting @start_position differs from just passing over a shortened
822 // string and setting %G_REGEX_MATCH_NOTBOL in the case of a pattern822 // string and setting %G_REGEX_MATCH_NOTBOL in the case of a pattern
823 // that begins with any kind of lookbehind assertion, such as "\b".823 // that begins with any kind of lookbehind assertion, such as "\b".
824-func (x *Regex) SplitFull(StringVar uintptr, StringLenVar int, StartPositionVar int, MatchOptionsVar RegexMatchFlags, MaxTokensVar int) (uintptr, error) {824+func (x *Regex) SplitFull(StringVar []string, StringLenVar int, StartPositionVar int, MatchOptionsVar RegexMatchFlags, MaxTokensVar int) ([]string, error) {
825 var cerr *Error825 var cerr *Error
826 826
827 cret := xRegexSplitFull(x.GoPointer(), StringVar, StringLenVar, StartPositionVar, MatchOptionsVar, MaxTokensVar, &cerr)827 cret := xRegexSplitFull(x.GoPointer(), StringVar, StringLenVar, StartPositionVar, MatchOptionsVar, MaxTokensVar, &cerr)
@@ -1216,7 +1216,7 @@ func RegexEscapeNul(StringVar string, LengthVar int) string {
1216 return cret1216 return cret
1217 }1217 }
1218 1218
1219-var xRegexEscapeString func(uintptr, int) string1219+var xRegexEscapeString func([]string, int) string
1220 1220
1221 // Escapes the special characters used for regular expressions1221 // Escapes the special characters used for regular expressions
1222 // in @string, for instance "a.b*c" becomes "a\.b\*c". This1222 // in @string, for instance "a.b*c" becomes "a\.b\*c". This
@@ -1225,7 +1225,7 @@ var xRegexEscapeString func(uintptr, int) string
1225 // @string can contain nul characters that are replaced with "\0",1225 // @string can contain nul characters that are replaced with "\0",
1226 // in this case remember to specify the correct length of @string1226 // in this case remember to specify the correct length of @string
1227 // in @length.1227 // in @length.
1228-func RegexEscapeString(StringVar uintptr, LengthVar int) string {1228+func RegexEscapeString(StringVar []string, LengthVar int) string {
1229 1229
1230 cret := xRegexEscapeString(StringVar, LengthVar)1230 cret := xRegexEscapeString(StringVar, LengthVar)
1231 return cret1231 return cret
@@ -1249,7 +1249,7 @@ func RegexMatchSimple(PatternVar string, StringVar string, CompileOptionsVar Reg
1249 return cret1249 return cret
1250 }1250 }
1251 1251
1252-var xRegexSplitSimple func(string, string, RegexCompileFlags, RegexMatchFlags) uintptr1252+var xRegexSplitSimple func(string, string, RegexCompileFlags, RegexMatchFlags) []string
1253 1253
1254 // Breaks the string on the pattern, and returns an array of1254 // Breaks the string on the pattern, and returns an array of
1255 // the tokens. If the pattern contains capturing parentheses,1255 // the tokens. If the pattern contains capturing parentheses,
@@ -1278,7 +1278,7 @@ var xRegexSplitSimple func(string, string, RegexCompileFlags, RegexMatchFlags) u
1278 // separate characters wherever it matches the empty string between1278 // separate characters wherever it matches the empty string between
1279 // characters. For example splitting "ab c" using as a separator1279 // characters. For example splitting "ab c" using as a separator
1280 // "\s*", you will get "a", "b" and "c".1280 // "\s*", you will get "a", "b" and "c".
1281-func RegexSplitSimple(PatternVar string, StringVar string, CompileOptionsVar RegexCompileFlags, MatchOptionsVar RegexMatchFlags) uintptr {1281+func RegexSplitSimple(PatternVar string, StringVar string, CompileOptionsVar RegexCompileFlags, MatchOptionsVar RegexMatchFlags) []string {
1282 1282
1283 cret := xRegexSplitSimple(PatternVar, StringVar, CompileOptionsVar, MatchOptionsVar)1283 cret := xRegexSplitSimple(PatternVar, StringVar, CompileOptionsVar, MatchOptionsVar)
1284 return cret1284 return cret
M v4/glib/gshell.go +2 -2
@@ -19,7 +19,7 @@ const (
19 GShellErrorFailedValue ShellError = 219 GShellErrorFailedValue ShellError = 2
20 )20 )
21 21
22-var xShellParseArgv func(string, int, uintptr, **Error) bool22+var xShellParseArgv func(string, int, []string, **Error) bool
23 23
24 // Parses a command line into an argument vector, in much the same way24 // Parses a command line into an argument vector, in much the same way
25 // the shell would, but without many of the expansions the shell would25 // the shell would, but without many of the expansions the shell would
@@ -39,7 +39,7 @@ var xShellParseArgv func(string, int, uintptr, **Error) bool
39 // successfully.39 // successfully.
40 //40 //
41 // Free the returned vector with g_strfreev().41 // Free the returned vector with g_strfreev().
42-func ShellParseArgv(CommandLineVar string, ArgcpVar int, ArgvpVar uintptr) (bool, error) {42+func ShellParseArgv(CommandLineVar string, ArgcpVar int, ArgvpVar []string) (bool, error) {
43 var cerr *Error43 var cerr *Error
44 44
45 cret := xShellParseArgv(CommandLineVar, ArgcpVar, ArgvpVar, &cerr)45 cret := xShellParseArgv(CommandLineVar, ArgcpVar, ArgvpVar, &cerr)
M v4/glib/gspawn.go +12 -12
@@ -128,7 +128,7 @@ const (
128 GSpawnErrorFailedValue SpawnError = 19128 GSpawnErrorFailedValue SpawnError = 19
129 )129 )
130 130
131-var xSpawnAsync func(string, uintptr, uintptr, SpawnFlags, uintptr, uintptr, *Pid, **Error) bool131+var xSpawnAsync func(string, []string, []string, SpawnFlags, uintptr, uintptr, *Pid, **Error) bool
132 132
133 // Executes a child program asynchronously.133 // Executes a child program asynchronously.
134 //134 //
@@ -146,7 +146,7 @@ var xSpawnAsync func(string, uintptr, uintptr, SpawnFlags, uintptr, uintptr, *Pi
146 // Note that the returned @child_pid on Windows is a handle to the child146 // Note that the returned @child_pid on Windows is a handle to the child
147 // process and not its identifier. Process handles and process identifiers147 // process and not its identifier. Process handles and process identifiers
148 // are different concepts on Windows.148 // are different concepts on Windows.
149-func SpawnAsync(WorkingDirectoryVar string, ArgvVar uintptr, EnvpVar uintptr, FlagsVar SpawnFlags, ChildSetupVar *SpawnChildSetupFunc, UserDataVar uintptr, ChildPidVar *Pid) (bool, error) {149+func SpawnAsync(WorkingDirectoryVar string, ArgvVar []string, EnvpVar []string, FlagsVar SpawnFlags, ChildSetupVar *SpawnChildSetupFunc, UserDataVar uintptr, ChildPidVar *Pid) (bool, error) {
150 var cerr *Error150 var cerr *Error
151 151
152 cret := xSpawnAsync(WorkingDirectoryVar, ArgvVar, EnvpVar, FlagsVar, NewCallback(ChildSetupVar), UserDataVar, ChildPidVar, &cerr)152 cret := xSpawnAsync(WorkingDirectoryVar, ArgvVar, EnvpVar, FlagsVar, NewCallback(ChildSetupVar), UserDataVar, ChildPidVar, &cerr)
@@ -157,13 +157,13 @@ func SpawnAsync(WorkingDirectoryVar string, ArgvVar uintptr, EnvpVar uintptr, Fl
157 157
158 }158 }
159 159
160-var xSpawnAsyncWithFds func(string, uintptr, uintptr, SpawnFlags, uintptr, uintptr, *Pid, int, int, int, **Error) bool160+var xSpawnAsyncWithFds func(string, []string, []string, SpawnFlags, uintptr, uintptr, *Pid, int, int, int, **Error) bool
161 161
162 // Executes a child program asynchronously.162 // Executes a child program asynchronously.
163 //163 //
164 // Identical to g_spawn_async_with_pipes_and_fds() but with `n_fds` set to zero,164 // Identical to g_spawn_async_with_pipes_and_fds() but with `n_fds` set to zero,
165 // so no FD assignments are used.165 // so no FD assignments are used.
166-func SpawnAsyncWithFds(WorkingDirectoryVar string, ArgvVar uintptr, EnvpVar uintptr, FlagsVar SpawnFlags, ChildSetupVar *SpawnChildSetupFunc, UserDataVar uintptr, ChildPidVar *Pid, StdinFdVar int, StdoutFdVar int, StderrFdVar int) (bool, error) {166+func SpawnAsyncWithFds(WorkingDirectoryVar string, ArgvVar []string, EnvpVar []string, FlagsVar SpawnFlags, ChildSetupVar *SpawnChildSetupFunc, UserDataVar uintptr, ChildPidVar *Pid, StdinFdVar int, StdoutFdVar int, StderrFdVar int) (bool, error) {
167 var cerr *Error167 var cerr *Error
168 168
169 cret := xSpawnAsyncWithFds(WorkingDirectoryVar, ArgvVar, EnvpVar, FlagsVar, NewCallback(ChildSetupVar), UserDataVar, ChildPidVar, StdinFdVar, StdoutFdVar, StderrFdVar, &cerr)169 cret := xSpawnAsyncWithFds(WorkingDirectoryVar, ArgvVar, EnvpVar, FlagsVar, NewCallback(ChildSetupVar), UserDataVar, ChildPidVar, StdinFdVar, StdoutFdVar, StderrFdVar, &cerr)
@@ -174,11 +174,11 @@ func SpawnAsyncWithFds(WorkingDirectoryVar string, ArgvVar uintptr, EnvpVar uint
174 174
175 }175 }
176 176
177-var xSpawnAsyncWithPipes func(string, uintptr, uintptr, SpawnFlags, uintptr, uintptr, *Pid, int, int, int, **Error) bool177+var xSpawnAsyncWithPipes func(string, []string, []string, SpawnFlags, uintptr, uintptr, *Pid, int, int, int, **Error) bool
178 178
179 // Identical to g_spawn_async_with_pipes_and_fds() but with `n_fds` set to zero,179 // Identical to g_spawn_async_with_pipes_and_fds() but with `n_fds` set to zero,
180 // so no FD assignments are used.180 // so no FD assignments are used.
181-func SpawnAsyncWithPipes(WorkingDirectoryVar string, ArgvVar uintptr, EnvpVar uintptr, FlagsVar SpawnFlags, ChildSetupVar *SpawnChildSetupFunc, UserDataVar uintptr, ChildPidVar *Pid, StandardInputVar int, StandardOutputVar int, StandardErrorVar int) (bool, error) {181+func SpawnAsyncWithPipes(WorkingDirectoryVar string, ArgvVar []string, EnvpVar []string, FlagsVar SpawnFlags, ChildSetupVar *SpawnChildSetupFunc, UserDataVar uintptr, ChildPidVar *Pid, StandardInputVar int, StandardOutputVar int, StandardErrorVar int) (bool, error) {
182 var cerr *Error182 var cerr *Error
183 183
184 cret := xSpawnAsyncWithPipes(WorkingDirectoryVar, ArgvVar, EnvpVar, FlagsVar, NewCallback(ChildSetupVar), UserDataVar, ChildPidVar, StandardInputVar, StandardOutputVar, StandardErrorVar, &cerr)184 cret := xSpawnAsyncWithPipes(WorkingDirectoryVar, ArgvVar, EnvpVar, FlagsVar, NewCallback(ChildSetupVar), UserDataVar, ChildPidVar, StandardInputVar, StandardOutputVar, StandardErrorVar, &cerr)
@@ -189,7 +189,7 @@ func SpawnAsyncWithPipes(WorkingDirectoryVar string, ArgvVar uintptr, EnvpVar ui
189 189
190 }190 }
191 191
192-var xSpawnAsyncWithPipesAndFds func(string, uintptr, uintptr, SpawnFlags, uintptr, uintptr, int, int, int, uintptr, uintptr, uint, *Pid, int, int, int, **Error) bool192+var xSpawnAsyncWithPipesAndFds func(string, []string, []string, SpawnFlags, uintptr, uintptr, int, int, int, []int, []int, uint, *Pid, int, int, int, **Error) bool
193 193
194 // Executes a child program asynchronously (your program will not194 // Executes a child program asynchronously (your program will not
195 // block waiting for the child to exit).195 // block waiting for the child to exit).
@@ -379,7 +379,7 @@ var xSpawnAsyncWithPipesAndFds func(string, uintptr, uintptr, SpawnFlags, uintpt
379 // graphical application too, then to ensure that the spawned program opens its379 // graphical application too, then to ensure that the spawned program opens its
380 // windows on the right screen, you may want to use #GdkAppLaunchContext,380 // windows on the right screen, you may want to use #GdkAppLaunchContext,
381 // #GAppLaunchContext, or set the `DISPLAY` environment variable.381 // #GAppLaunchContext, or set the `DISPLAY` environment variable.
382-func SpawnAsyncWithPipesAndFds(WorkingDirectoryVar string, ArgvVar uintptr, EnvpVar uintptr, FlagsVar SpawnFlags, ChildSetupVar *SpawnChildSetupFunc, UserDataVar uintptr, StdinFdVar int, StdoutFdVar int, StderrFdVar int, SourceFdsVar uintptr, TargetFdsVar uintptr, NFdsVar uint, ChildPidOutVar *Pid, StdinPipeOutVar int, StdoutPipeOutVar int, StderrPipeOutVar int) (bool, error) {382+func SpawnAsyncWithPipesAndFds(WorkingDirectoryVar string, ArgvVar []string, EnvpVar []string, FlagsVar SpawnFlags, ChildSetupVar *SpawnChildSetupFunc, UserDataVar uintptr, StdinFdVar int, StdoutFdVar int, StderrFdVar int, SourceFdsVar []int, TargetFdsVar []int, NFdsVar uint, ChildPidOutVar *Pid, StdinPipeOutVar int, StdoutPipeOutVar int, StderrPipeOutVar int) (bool, error) {
383 var cerr *Error383 var cerr *Error
384 384
385 cret := xSpawnAsyncWithPipesAndFds(WorkingDirectoryVar, ArgvVar, EnvpVar, FlagsVar, NewCallback(ChildSetupVar), UserDataVar, StdinFdVar, StdoutFdVar, StderrFdVar, SourceFdsVar, TargetFdsVar, NFdsVar, ChildPidOutVar, StdinPipeOutVar, StdoutPipeOutVar, StderrPipeOutVar, &cerr)385 cret := xSpawnAsyncWithPipesAndFds(WorkingDirectoryVar, ArgvVar, EnvpVar, FlagsVar, NewCallback(ChildSetupVar), UserDataVar, StdinFdVar, StdoutFdVar, StderrFdVar, SourceFdsVar, TargetFdsVar, NFdsVar, ChildPidOutVar, StdinPipeOutVar, StdoutPipeOutVar, StderrPipeOutVar, &cerr)
@@ -498,7 +498,7 @@ func SpawnCommandLineAsync(CommandLineVar string) (bool, error) {
498 498
499 }499 }
500 500
501-var xSpawnCommandLineSync func(string, uintptr, uintptr, int, **Error) bool501+var xSpawnCommandLineSync func(string, []byte, []byte, int, **Error) bool
502 502
503 // A simple version of g_spawn_sync() with little-used parameters503 // A simple version of g_spawn_sync() with little-used parameters
504 // removed, taking a command line instead of an argument vector.504 // removed, taking a command line instead of an argument vector.
@@ -529,7 +529,7 @@ var xSpawnCommandLineSync func(string, uintptr, uintptr, int, **Error) bool
529 // the backslashes will be eaten, and the space will act as a529 // the backslashes will be eaten, and the space will act as a
530 // separator. You need to enclose such paths with single quotes, like530 // separator. You need to enclose such paths with single quotes, like
531 // "'c:\\program files\\app\\app.exe' 'e:\\folder\\argument.txt'".531 // "'c:\\program files\\app\\app.exe' 'e:\\folder\\argument.txt'".
532-func SpawnCommandLineSync(CommandLineVar string, StandardOutputVar uintptr, StandardErrorVar uintptr, WaitStatusVar int) (bool, error) {532+func SpawnCommandLineSync(CommandLineVar string, StandardOutputVar []byte, StandardErrorVar []byte, WaitStatusVar int) (bool, error) {
533 var cerr *Error533 var cerr *Error
534 534
535 cret := xSpawnCommandLineSync(CommandLineVar, StandardOutputVar, StandardErrorVar, WaitStatusVar, &cerr)535 cret := xSpawnCommandLineSync(CommandLineVar, StandardOutputVar, StandardErrorVar, WaitStatusVar, &cerr)
@@ -540,7 +540,7 @@ func SpawnCommandLineSync(CommandLineVar string, StandardOutputVar uintptr, Stan
540 540
541 }541 }
542 542
543-var xSpawnSync func(string, uintptr, uintptr, SpawnFlags, uintptr, uintptr, uintptr, uintptr, int, **Error) bool543+var xSpawnSync func(string, []string, []string, SpawnFlags, uintptr, uintptr, []byte, []byte, int, **Error) bool
544 544
545 // Executes a child synchronously (waits for the child to exit before returning).545 // Executes a child synchronously (waits for the child to exit before returning).
546 //546 //
@@ -565,7 +565,7 @@ var xSpawnSync func(string, uintptr, uintptr, SpawnFlags, uintptr, uintptr, uint
565 // This function calls g_spawn_async_with_pipes() internally; see that565 // This function calls g_spawn_async_with_pipes() internally; see that
566 // function for full details on the other parameters and details on566 // function for full details on the other parameters and details on
567 // how these functions work on Windows.567 // how these functions work on Windows.
568-func SpawnSync(WorkingDirectoryVar string, ArgvVar uintptr, EnvpVar uintptr, FlagsVar SpawnFlags, ChildSetupVar *SpawnChildSetupFunc, UserDataVar uintptr, StandardOutputVar uintptr, StandardErrorVar uintptr, WaitStatusVar int) (bool, error) {568+func SpawnSync(WorkingDirectoryVar string, ArgvVar []string, EnvpVar []string, FlagsVar SpawnFlags, ChildSetupVar *SpawnChildSetupFunc, UserDataVar uintptr, StandardOutputVar []byte, StandardErrorVar []byte, WaitStatusVar int) (bool, error) {
569 var cerr *Error569 var cerr *Error
570 570
571 cret := xSpawnSync(WorkingDirectoryVar, ArgvVar, EnvpVar, FlagsVar, NewCallback(ChildSetupVar), UserDataVar, StandardOutputVar, StandardErrorVar, WaitStatusVar, &cerr)571 cret := xSpawnSync(WorkingDirectoryVar, ArgvVar, EnvpVar, FlagsVar, NewCallback(ChildSetupVar), UserDataVar, StandardOutputVar, StandardErrorVar, WaitStatusVar, &cerr)
M v4/glib/gstrfuncs.go +8 -8
@@ -492,7 +492,7 @@ func StrToAscii(StrVar string, FromLocaleVar string) string {
492 return cret492 return cret
493 }493 }
494 494
495-var xStrTokenizeAndFold func(string, string, uintptr) uintptr495+var xStrTokenizeAndFold func(string, string, []string) []string
496 496
497 // Tokenises @string and performs folding on each token.497 // Tokenises @string and performs folding on each token.
498 //498 //
@@ -509,7 +509,7 @@ var xStrTokenizeAndFold func(string, string, uintptr) uintptr
509 // for doing so is unspecified, but @translit_locale (if specified) may509 // for doing so is unspecified, but @translit_locale (if specified) may
510 // improve the transliteration if the language of the source string is510 // improve the transliteration if the language of the source string is
511 // known.511 // known.
512-func StrTokenizeAndFold(StringVar string, TranslitLocaleVar string, AsciiAlternatesVar uintptr) uintptr {512+func StrTokenizeAndFold(StringVar string, TranslitLocaleVar string, AsciiAlternatesVar []string) []string {
513 513
514 cret := xStrTokenizeAndFold(StringVar, TranslitLocaleVar, AsciiAlternatesVar)514 cret := xStrTokenizeAndFold(StringVar, TranslitLocaleVar, AsciiAlternatesVar)
515 return cret515 return cret
@@ -703,13 +703,13 @@ func StrdupVprintf(FormatVar string, ArgsVar []interface{}) string {
703 return cret703 return cret
704 }704 }
705 705
706-var xStrdupv func(string) uintptr706+var xStrdupv func(string) []string
707 707
708 // Copies %NULL-terminated array of strings. The copy is a deep copy;708 // Copies %NULL-terminated array of strings. The copy is a deep copy;
709 // the new array should be freed by first freeing each string, then709 // the new array should be freed by first freeing each string, then
710 // the array itself. g_strfreev() does this for you. If called710 // the array itself. g_strfreev() does this for you. If called
711 // on a %NULL value, g_strdupv() simply returns %NULL.711 // on a %NULL value, g_strdupv() simply returns %NULL.
712-func Strdupv(StrArrayVar string) uintptr {712+func Strdupv(StrArrayVar string) []string {
713 713
714 cret := xStrdupv(StrArrayVar)714 cret := xStrdupv(StrArrayVar)
715 return cret715 return cret
@@ -925,7 +925,7 @@ func Strsignal(SignumVar int) string {
925 return cret925 return cret
926 }926 }
927 927
928-var xStrsplit func(string, string, int) uintptr928+var xStrsplit func(string, string, int) []string
929 929
930 // Splits a string into a maximum of @max_tokens pieces, using the given930 // Splits a string into a maximum of @max_tokens pieces, using the given
931 // @delimiter. If @max_tokens is reached, the remainder of @string is931 // @delimiter. If @max_tokens is reached, the remainder of @string is
@@ -941,13 +941,13 @@ var xStrsplit func(string, string, int) uintptr
941 // more useful than consistent handling of empty elements. If you do need941 // more useful than consistent handling of empty elements. If you do need
942 // to represent empty elements, you'll need to check for the empty string942 // to represent empty elements, you'll need to check for the empty string
943 // before calling g_strsplit().943 // before calling g_strsplit().
944-func Strsplit(StringVar string, DelimiterVar string, MaxTokensVar int) uintptr {944+func Strsplit(StringVar string, DelimiterVar string, MaxTokensVar int) []string {
945 945
946 cret := xStrsplit(StringVar, DelimiterVar, MaxTokensVar)946 cret := xStrsplit(StringVar, DelimiterVar, MaxTokensVar)
947 return cret947 return cret
948 }948 }
949 949
950-var xStrsplitSet func(string, string, int) uintptr950+var xStrsplitSet func(string, string, int) []string
951 951
952 // Splits @string into a number of tokens not containing any of the characters952 // Splits @string into a number of tokens not containing any of the characters
953 // in @delimiter. A token is the (possibly empty) longest string that does not953 // in @delimiter. A token is the (possibly empty) longest string that does not
@@ -970,7 +970,7 @@ var xStrsplitSet func(string, string, int) uintptr
970 //970 //
971 // Note that this function works on bytes not characters, so it can't be used971 // Note that this function works on bytes not characters, so it can't be used
972 // to delimit UTF-8 strings for anything but ASCII characters.972 // to delimit UTF-8 strings for anything but ASCII characters.
973-func StrsplitSet(StringVar string, DelimitersVar string, MaxTokensVar int) uintptr {973+func StrsplitSet(StringVar string, DelimitersVar string, MaxTokensVar int) []string {
974 974
975 cret := xStrsplitSet(StringVar, DelimitersVar, MaxTokensVar)975 cret := xStrsplitSet(StringVar, DelimitersVar, MaxTokensVar)
976 return cret976 return cret
M v4/glib/gstrvbuilder.go +2 -2
@@ -61,12 +61,12 @@ func (x *StrvBuilder) Addv(ValueVar []string) {
61 61
62 }62 }
63 63
64-var xStrvBuilderEnd func(uintptr) uintptr64+var xStrvBuilderEnd func(uintptr) []string
65 65
66 // Ends the builder process and returns the constructed NULL-terminated string66 // Ends the builder process and returns the constructed NULL-terminated string
67 // array. The returned value should be freed with g_strfreev() when no longer67 // array. The returned value should be freed with g_strfreev() when no longer
68 // needed.68 // needed.
69-func (x *StrvBuilder) End() uintptr {69+func (x *StrvBuilder) End() []string {
70 70
71 cret := xStrvBuilderEnd(x.GoPointer())71 cret := xStrvBuilderEnd(x.GoPointer())
72 return cret72 return cret
M v4/glib/gthread.go +4 -4
@@ -82,7 +82,7 @@ type ThreadFunc func(uintptr) uintptr
82 type Cond struct {82 type Cond struct {
83 P uintptr83 P uintptr
84 84
85- I uintptr85+ I [2]uint
86 }86 }
87 87
88 func (x *Cond) GoPointer() uintptr {88 func (x *Cond) GoPointer() uintptr {
@@ -270,7 +270,7 @@ type Private struct {
270 270
271 Notify DestroyNotify271 Notify DestroyNotify
272 272
273- Future uintptr273+ Future [2]uintptr
274 }274 }
275 275
276 func (x *Private) GoPointer() uintptr {276 func (x *Private) GoPointer() uintptr {
@@ -385,7 +385,7 @@ func (x *Private) Set(ValueVar uintptr) {
385 type RWLock struct {385 type RWLock struct {
386 P uintptr386 P uintptr
387 387
388- I uintptr388+ I [2]uint
389 }389 }
390 390
391 func (x *RWLock) GoPointer() uintptr {391 func (x *RWLock) GoPointer() uintptr {
@@ -541,7 +541,7 @@ func (x *RWLock) WriterUnlock() {
541 type RecMutex struct {541 type RecMutex struct {
542 P uintptr542 P uintptr
543 543
544- I uintptr544+ I [2]uint
545 }545 }
546 546
547 func (x *RecMutex) GoPointer() uintptr {547 func (x *RecMutex) GoPointer() uintptr {
M v4/glib/gunicode.go +4 -4
@@ -1494,7 +1494,7 @@ func Utf8ToUtf16(StrVar string, LenVar int32, ItemsReadVar int32, ItemsWrittenVa
1494 1494
1495 }1495 }
1496 1496
1497-var xUtf8Validate func(uintptr, int, string) bool1497+var xUtf8Validate func([]byte, int, string) bool
1498 1498
1499 // Validates UTF-8 encoded text. @str is the text to validate;1499 // Validates UTF-8 encoded text. @str is the text to validate;
1500 // if @str is nul-terminated, then @max_len can be -1, otherwise1500 // if @str is nul-terminated, then @max_len can be -1, otherwise
@@ -1511,19 +1511,19 @@ var xUtf8Validate func(uintptr, int, string) bool
1511 // routines require valid UTF-8 as input; so data read from a file1511 // routines require valid UTF-8 as input; so data read from a file
1512 // or the network should be checked with g_utf8_validate() before1512 // or the network should be checked with g_utf8_validate() before
1513 // doing anything else with it.1513 // doing anything else with it.
1514-func Utf8Validate(StrVar uintptr, MaxLenVar int, EndVar string) bool {1514+func Utf8Validate(StrVar []byte, MaxLenVar int, EndVar string) bool {
1515 1515
1516 cret := xUtf8Validate(StrVar, MaxLenVar, EndVar)1516 cret := xUtf8Validate(StrVar, MaxLenVar, EndVar)
1517 return cret1517 return cret
1518 }1518 }
1519 1519
1520-var xUtf8ValidateLen func(uintptr, uint, string) bool1520+var xUtf8ValidateLen func([]byte, uint, string) bool
1521 1521
1522 // Validates UTF-8 encoded text.1522 // Validates UTF-8 encoded text.
1523 //1523 //
1524 // As with g_utf8_validate(), but @max_len must be set, and hence this function1524 // As with g_utf8_validate(), but @max_len must be set, and hence this function
1525 // will always return %FALSE if any of the bytes of @str are nul.1525 // will always return %FALSE if any of the bytes of @str are nul.
1526-func Utf8ValidateLen(StrVar uintptr, MaxLenVar uint, EndVar string) bool {1526+func Utf8ValidateLen(StrVar []byte, MaxLenVar uint, EndVar string) bool {
1527 1527
1528 cret := xUtf8ValidateLen(StrVar, MaxLenVar, EndVar)1528 cret := xUtf8ValidateLen(StrVar, MaxLenVar, EndVar)
1529 return cret1529 return cret
M v4/glib/guri.go +3 -3
@@ -333,7 +333,7 @@ type UriParamsIter struct {
333 333
334 Dummy2 uintptr334 Dummy2 uintptr
335 335
336- Dummy3 uintptr336+ Dummy3 [256]byte
337 }337 }
338 338
339 func (x *UriParamsIter) GoPointer() uintptr {339 func (x *UriParamsIter) GoPointer() uintptr {
@@ -562,7 +562,7 @@ func UriBuildWithUser(FlagsVar UriFlags, SchemeVar string, UserVar string, Passw
562 return cret562 return cret
563 }563 }
564 564
565-var xUriEscapeBytes func(uintptr, uint, string) string565+var xUriEscapeBytes func([]byte, uint, string) string
566 566
567 // Escapes arbitrary data for use in a URI.567 // Escapes arbitrary data for use in a URI.
568 //568 //
@@ -575,7 +575,7 @@ var xUriEscapeBytes func(uintptr, uint, string) string
575 //575 //
576 // Though technically incorrect, this will also allow escaping nul576 // Though technically incorrect, this will also allow escaping nul
577 // bytes as `%“00`.577 // bytes as `%“00`.
578-func UriEscapeBytes(UnescapedVar uintptr, LengthVar uint, ReservedCharsAllowedVar string) string {578+func UriEscapeBytes(UnescapedVar []byte, LengthVar uint, ReservedCharsAllowedVar string) string {
579 579
580 cret := xUriEscapeBytes(UnescapedVar, LengthVar, ReservedCharsAllowedVar)580 cret := xUriEscapeBytes(UnescapedVar, LengthVar, ReservedCharsAllowedVar)
581 return cret581 return cret
M v4/glib/gutils.go +6 -6
@@ -334,7 +334,7 @@ func GetRealName() string {
334 return cret334 return cret
335 }335 }
336 336
337-var xGetSystemConfigDirs func() uintptr337+var xGetSystemConfigDirs func() []string
338 338
339 // Returns an ordered list of base directories in which to access339 // Returns an ordered list of base directories in which to access
340 // system-wide configuration information.340 // system-wide configuration information.
@@ -356,13 +356,13 @@ var xGetSystemConfigDirs func() uintptr
356 //356 //
357 // The return value is cached and modifying it at runtime is not supported, as357 // The return value is cached and modifying it at runtime is not supported, as
358 // it’s not thread-safe to modify environment variables at runtime.358 // it’s not thread-safe to modify environment variables at runtime.
359-func GetSystemConfigDirs() uintptr {359+func GetSystemConfigDirs() []string {
360 360
361 cret := xGetSystemConfigDirs()361 cret := xGetSystemConfigDirs()
362 return cret362 return cret
363 }363 }
364 364
365-var xGetSystemDataDirs func() uintptr365+var xGetSystemDataDirs func() []string
366 366
367 // Returns an ordered list of base directories in which to access367 // Returns an ordered list of base directories in which to access
368 // system-wide application data.368 // system-wide application data.
@@ -398,7 +398,7 @@ var xGetSystemDataDirs func() uintptr
398 //398 //
399 // The return value is cached and modifying it at runtime is not supported, as399 // The return value is cached and modifying it at runtime is not supported, as
400 // it’s not thread-safe to modify environment variables at runtime.400 // it’s not thread-safe to modify environment variables at runtime.
401-func GetSystemDataDirs() uintptr {401+func GetSystemDataDirs() []string {
402 402
403 cret := xGetSystemDataDirs()403 cret := xGetSystemDataDirs()
404 return cret404 return cret
@@ -585,7 +585,7 @@ func NullifyPointer(NullifyLocationVar uintptr) {
585 585
586 }586 }
587 587
588-var xParseDebugString func(string, uintptr, uint) uint588+var xParseDebugString func(string, []DebugKey, uint) uint
589 589
590 // Parses a string containing debugging options590 // Parses a string containing debugging options
591 // into a %guint containing bit flags. This is used591 // into a %guint containing bit flags. This is used
@@ -599,7 +599,7 @@ var xParseDebugString func(string, uintptr, uint) uint
599 //599 //
600 // If @string is equal to "help", all the available keys in @keys600 // If @string is equal to "help", all the available keys in @keys
601 // are printed out to standard error.601 // are printed out to standard error.
602-func ParseDebugString(StringVar string, KeysVar uintptr, NkeysVar uint) uint {602+func ParseDebugString(StringVar string, KeysVar []DebugKey, NkeysVar uint) uint {
603 603
604 cret := xParseDebugString(StringVar, KeysVar, NkeysVar)604 cret := xParseDebugString(StringVar, KeysVar, NkeysVar)
605 return cret605 return cret
M v4/glib/gvariant.go +29 -29
@@ -338,7 +338,7 @@ func NewVariantByte(ValueVar byte) *Variant {
338 return cret338 return cret
339 }339 }
340 340
341-var xNewVariantBytestring func(uintptr) *Variant341+var xNewVariantBytestring func([]byte) *Variant
342 342
343 // Creates an array-of-bytes #GVariant with the contents of @string.343 // Creates an array-of-bytes #GVariant with the contents of @string.
344 // This function is just like g_variant_new_string() except that the344 // This function is just like g_variant_new_string() except that the
@@ -346,19 +346,19 @@ var xNewVariantBytestring func(uintptr) *Variant
346 //346 //
347 // The nul terminator character at the end of the string is stored in347 // The nul terminator character at the end of the string is stored in
348 // the array.348 // the array.
349-func NewVariantBytestring(StringVar uintptr) *Variant {349+func NewVariantBytestring(StringVar []byte) *Variant {
350 350
351 cret := xNewVariantBytestring(StringVar)351 cret := xNewVariantBytestring(StringVar)
352 return cret352 return cret
353 }353 }
354 354
355-var xNewVariantBytestringArray func(uintptr, int) *Variant355+var xNewVariantBytestringArray func([]string, int) *Variant
356 356
357 // Constructs an array of bytestring #GVariant from the given array of357 // Constructs an array of bytestring #GVariant from the given array of
358 // strings.358 // strings.
359 //359 //
360 // If @length is -1 then @strv is %NULL-terminated.360 // If @length is -1 then @strv is %NULL-terminated.
361-func NewVariantBytestringArray(StrvVar uintptr, LengthVar int) *Variant {361+func NewVariantBytestringArray(StrvVar []string, LengthVar int) *Variant {
362 362
363 cret := xNewVariantBytestringArray(StrvVar, LengthVar)363 cret := xNewVariantBytestringArray(StrvVar, LengthVar)
364 return cret364 return cret
@@ -424,7 +424,7 @@ func NewVariantFromBytes(TypeVar *VariantType, BytesVar *Bytes, TrustedVar bool)
424 return cret424 return cret
425 }425 }
426 426
427-var xNewVariantFromData func(*VariantType, uintptr, uint, bool, uintptr, uintptr) *Variant427+var xNewVariantFromData func(*VariantType, []byte, uint, bool, uintptr, uintptr) *Variant
428 428
429 // Creates a new #GVariant instance from serialized data.429 // Creates a new #GVariant instance from serialized data.
430 //430 //
@@ -455,7 +455,7 @@ var xNewVariantFromData func(*VariantType, uintptr, uint, bool, uintptr, uintptr
455 // @type being loaded. Otherwise this function will internally create a copy of455 // @type being loaded. Otherwise this function will internally create a copy of
456 // the memory (since GLib 2.60) or (in older versions) fail and exit the456 // the memory (since GLib 2.60) or (in older versions) fail and exit the
457 // process.457 // process.
458-func NewVariantFromData(TypeVar *VariantType, DataVar uintptr, SizeVar uint, TrustedVar bool, NotifyVar *DestroyNotify, UserDataVar uintptr) *Variant {458+func NewVariantFromData(TypeVar *VariantType, DataVar []byte, SizeVar uint, TrustedVar bool, NotifyVar *DestroyNotify, UserDataVar uintptr) *Variant {
459 459
460 cret := xNewVariantFromData(TypeVar, DataVar, SizeVar, TrustedVar, NewCallback(NotifyVar), UserDataVar)460 cret := xNewVariantFromData(TypeVar, DataVar, SizeVar, TrustedVar, NewCallback(NotifyVar), UserDataVar)
461 return cret461 return cret
@@ -530,7 +530,7 @@ func NewVariantObjectPath(ObjectPathVar string) *Variant {
530 return cret530 return cret
531 }531 }
532 532
533-var xNewVariantObjv func(uintptr, int) *Variant533+var xNewVariantObjv func([]string, int) *Variant
534 534
535 // Constructs an array of object paths #GVariant from the given array of535 // Constructs an array of object paths #GVariant from the given array of
536 // strings.536 // strings.
@@ -539,7 +539,7 @@ var xNewVariantObjv func(uintptr, int) *Variant
539 // g_variant_is_object_path().539 // g_variant_is_object_path().
540 //540 //
541 // If @length is -1 then @strv is %NULL-terminated.541 // If @length is -1 then @strv is %NULL-terminated.
542-func NewVariantObjv(StrvVar uintptr, LengthVar int) *Variant {542+func NewVariantObjv(StrvVar []string, LengthVar int) *Variant {
543 543
544 cret := xNewVariantObjv(StrvVar, LengthVar)544 cret := xNewVariantObjv(StrvVar, LengthVar)
545 return cret545 return cret
@@ -653,13 +653,13 @@ func NewVariantString(StringVar string) *Variant {
653 return cret653 return cret
654 }654 }
655 655
656-var xNewVariantStrv func(uintptr, int) *Variant656+var xNewVariantStrv func([]string, int) *Variant
657 657
658 // Constructs an array of strings #GVariant from the given array of658 // Constructs an array of strings #GVariant from the given array of
659 // strings.659 // strings.
660 //660 //
661 // If @length is -1 then @strv is %NULL-terminated.661 // If @length is -1 then @strv is %NULL-terminated.
662-func NewVariantStrv(StrvVar uintptr, LengthVar int) *Variant {662+func NewVariantStrv(StrvVar []string, LengthVar int) *Variant {
663 663
664 cret := xNewVariantStrv(StrvVar, LengthVar)664 cret := xNewVariantStrv(StrvVar, LengthVar)
665 return cret665 return cret
@@ -861,19 +861,19 @@ func (x *Variant) Compare(TwoVar uintptr) int {
861 return cret861 return cret
862 }862 }
863 863
864-var xVariantDupBytestring func(uintptr, uint) uintptr864+var xVariantDupBytestring func(uintptr, uint) []byte
865 865
866 // Similar to g_variant_get_bytestring() except that instead of866 // Similar to g_variant_get_bytestring() except that instead of
867 // returning a constant string, the string is duplicated.867 // returning a constant string, the string is duplicated.
868 //868 //
869 // The return value must be freed using g_free().869 // The return value must be freed using g_free().
870-func (x *Variant) DupBytestring(LengthVar uint) uintptr {870+func (x *Variant) DupBytestring(LengthVar uint) []byte {
871 871
872 cret := xVariantDupBytestring(x.GoPointer(), LengthVar)872 cret := xVariantDupBytestring(x.GoPointer(), LengthVar)
873 return cret873 return cret
874 }874 }
875 875
876-var xVariantDupBytestringArray func(uintptr, uint) uintptr876+var xVariantDupBytestringArray func(uintptr, uint) []string
877 877
878 // Gets the contents of an array of array of bytes #GVariant. This call878 // Gets the contents of an array of array of bytes #GVariant. This call
879 // makes a deep copy; the return result should be released with879 // makes a deep copy; the return result should be released with
@@ -885,13 +885,13 @@ var xVariantDupBytestringArray func(uintptr, uint) uintptr
885 //885 //
886 // For an empty array, @length will be set to 0 and a pointer to a886 // For an empty array, @length will be set to 0 and a pointer to a
887 // %NULL pointer will be returned.887 // %NULL pointer will be returned.
888-func (x *Variant) DupBytestringArray(LengthVar uint) uintptr {888+func (x *Variant) DupBytestringArray(LengthVar uint) []string {
889 889
890 cret := xVariantDupBytestringArray(x.GoPointer(), LengthVar)890 cret := xVariantDupBytestringArray(x.GoPointer(), LengthVar)
891 return cret891 return cret
892 }892 }
893 893
894-var xVariantDupObjv func(uintptr, uint) uintptr894+var xVariantDupObjv func(uintptr, uint) []string
895 895
896 // Gets the contents of an array of object paths #GVariant. This call896 // Gets the contents of an array of object paths #GVariant. This call
897 // makes a deep copy; the return result should be released with897 // makes a deep copy; the return result should be released with
@@ -903,7 +903,7 @@ var xVariantDupObjv func(uintptr, uint) uintptr
903 //903 //
904 // For an empty array, @length will be set to 0 and a pointer to a904 // For an empty array, @length will be set to 0 and a pointer to a
905 // %NULL pointer will be returned.905 // %NULL pointer will be returned.
906-func (x *Variant) DupObjv(LengthVar uint) uintptr {906+func (x *Variant) DupObjv(LengthVar uint) []string {
907 907
908 cret := xVariantDupObjv(x.GoPointer(), LengthVar)908 cret := xVariantDupObjv(x.GoPointer(), LengthVar)
909 return cret909 return cret
@@ -923,7 +923,7 @@ func (x *Variant) DupString(LengthVar uint) string {
923 return cret923 return cret
924 }924 }
925 925
926-var xVariantDupStrv func(uintptr, uint) uintptr926+var xVariantDupStrv func(uintptr, uint) []string
927 927
928 // Gets the contents of an array of strings #GVariant. This call928 // Gets the contents of an array of strings #GVariant. This call
929 // makes a deep copy; the return result should be released with929 // makes a deep copy; the return result should be released with
@@ -935,7 +935,7 @@ var xVariantDupStrv func(uintptr, uint) uintptr
935 //935 //
936 // For an empty array, @length will be set to 0 and a pointer to a936 // For an empty array, @length will be set to 0 and a pointer to a
937 // %NULL pointer will be returned.937 // %NULL pointer will be returned.
938-func (x *Variant) DupStrv(LengthVar uint) uintptr {938+func (x *Variant) DupStrv(LengthVar uint) []string {
939 939
940 cret := xVariantDupStrv(x.GoPointer(), LengthVar)940 cret := xVariantDupStrv(x.GoPointer(), LengthVar)
941 return cret941 return cret
@@ -1001,7 +1001,7 @@ func (x *Variant) GetByte() byte {
1001 return cret1001 return cret
1002 }1002 }
1003 1003
1004-var xVariantGetBytestring func(uintptr) uintptr1004+var xVariantGetBytestring func(uintptr) []byte
1005 1005
1006 // Returns the string value of a #GVariant instance with an1006 // Returns the string value of a #GVariant instance with an
1007 // array-of-bytes type. The string has no particular encoding.1007 // array-of-bytes type. The string has no particular encoding.
@@ -1021,13 +1021,13 @@ var xVariantGetBytestring func(uintptr) uintptr
1021 // array of bytes.1021 // array of bytes.
1022 //1022 //
1023 // The return value remains valid as long as @value exists.1023 // The return value remains valid as long as @value exists.
1024-func (x *Variant) GetBytestring() uintptr {1024+func (x *Variant) GetBytestring() []byte {
1025 1025
1026 cret := xVariantGetBytestring(x.GoPointer())1026 cret := xVariantGetBytestring(x.GoPointer())
1027 return cret1027 return cret
1028 }1028 }
1029 1029
1030-var xVariantGetBytestringArray func(uintptr, uint) uintptr1030+var xVariantGetBytestringArray func(uintptr, uint) []string
1031 1031
1032 // Gets the contents of an array of array of bytes #GVariant. This call1032 // Gets the contents of an array of array of bytes #GVariant. This call
1033 // makes a shallow copy; the return result should be released with1033 // makes a shallow copy; the return result should be released with
@@ -1039,7 +1039,7 @@ var xVariantGetBytestringArray func(uintptr, uint) uintptr
1039 //1039 //
1040 // For an empty array, @length will be set to 0 and a pointer to a1040 // For an empty array, @length will be set to 0 and a pointer to a
1041 // %NULL pointer will be returned.1041 // %NULL pointer will be returned.
1042-func (x *Variant) GetBytestringArray(LengthVar uint) uintptr {1042+func (x *Variant) GetBytestringArray(LengthVar uint) []string {
1043 1043
1044 cret := xVariantGetBytestringArray(x.GoPointer(), LengthVar)1044 cret := xVariantGetBytestringArray(x.GoPointer(), LengthVar)
1045 return cret1045 return cret
@@ -1150,7 +1150,7 @@ func (x *Variant) GetDouble() float64 {
1150 return cret1150 return cret
1151 }1151 }
1152 1152
1153-var xVariantGetFixedArray func(uintptr, uint, uint) uintptr1153+var xVariantGetFixedArray func(uintptr, uint, uint) []uintptr
1154 1154
1155 // Provides access to the serialized data for an array of fixed-sized1155 // Provides access to the serialized data for an array of fixed-sized
1156 // items.1156 // items.
@@ -1178,7 +1178,7 @@ var xVariantGetFixedArray func(uintptr, uint, uint) uintptr
1178 //1178 //
1179 // @n_elements, which must be non-%NULL, is set equal to the number of1179 // @n_elements, which must be non-%NULL, is set equal to the number of
1180 // items in the array.1180 // items in the array.
1181-func (x *Variant) GetFixedArray(NElementsVar uint, ElementSizeVar uint) uintptr {1181+func (x *Variant) GetFixedArray(NElementsVar uint, ElementSizeVar uint) []uintptr {
1182 1182
1183 cret := xVariantGetFixedArray(x.GoPointer(), NElementsVar, ElementSizeVar)1183 cret := xVariantGetFixedArray(x.GoPointer(), NElementsVar, ElementSizeVar)
1184 return cret1184 return cret
@@ -1277,7 +1277,7 @@ func (x *Variant) GetNormalForm() *Variant {
1277 return cret1277 return cret
1278 }1278 }
1279 1279
1280-var xVariantGetObjv func(uintptr, uint) uintptr1280+var xVariantGetObjv func(uintptr, uint) []string
1281 1281
1282 // Gets the contents of an array of object paths #GVariant. This call1282 // Gets the contents of an array of object paths #GVariant. This call
1283 // makes a shallow copy; the return result should be released with1283 // makes a shallow copy; the return result should be released with
@@ -1289,7 +1289,7 @@ var xVariantGetObjv func(uintptr, uint) uintptr
1289 //1289 //
1290 // For an empty array, @length will be set to 0 and a pointer to a1290 // For an empty array, @length will be set to 0 and a pointer to a
1291 // %NULL pointer will be returned.1291 // %NULL pointer will be returned.
1292-func (x *Variant) GetObjv(LengthVar uint) uintptr {1292+func (x *Variant) GetObjv(LengthVar uint) []string {
1293 1293
1294 cret := xVariantGetObjv(x.GoPointer(), LengthVar)1294 cret := xVariantGetObjv(x.GoPointer(), LengthVar)
1295 return cret1295 return cret
@@ -1340,7 +1340,7 @@ func (x *Variant) GetString(LengthVar uint) string {
1340 return cret1340 return cret
1341 }1341 }
1342 1342
1343-var xVariantGetStrv func(uintptr, uint) uintptr1343+var xVariantGetStrv func(uintptr, uint) []string
1344 1344
1345 // Gets the contents of an array of strings #GVariant. This call1345 // Gets the contents of an array of strings #GVariant. This call
1346 // makes a shallow copy; the return result should be released with1346 // makes a shallow copy; the return result should be released with
@@ -1352,7 +1352,7 @@ var xVariantGetStrv func(uintptr, uint) uintptr
1352 //1352 //
1353 // For an empty array, @length will be set to 0 and a pointer to a1353 // For an empty array, @length will be set to 0 and a pointer to a
1354 // %NULL pointer will be returned.1354 // %NULL pointer will be returned.
1355-func (x *Variant) GetStrv(LengthVar uint) uintptr {1355+func (x *Variant) GetStrv(LengthVar uint) []string {
1356 1356
1357 cret := xVariantGetStrv(x.GoPointer(), LengthVar)1357 cret := xVariantGetStrv(x.GoPointer(), LengthVar)
1358 return cret1358 return cret
@@ -2335,7 +2335,7 @@ func (x *VariantDict) Unref() {
2335 // #GVariantIter is an opaque data structure and can only be accessed2335 // #GVariantIter is an opaque data structure and can only be accessed
2336 // using the following functions.2336 // using the following functions.
2337 type VariantIter struct {2337 type VariantIter struct {
2338- X uintptr2338+ X [16]uint
2339 }2339 }
2340 2340
2341 func (x *VariantIter) GoPointer() uintptr {2341 func (x *VariantIter) GoPointer() uintptr {
M v4/gobject/gboxed.go +7 -6
@@ -5,6 +5,7 @@ import (
5 "github.com/jwijenbergh/purego"5 "github.com/jwijenbergh/purego"
6 "github.com/jwijenbergh/puregotk/internal/core"6 "github.com/jwijenbergh/puregotk/internal/core"
7 "github.com/jwijenbergh/puregotk/v4/glib"7 "github.com/jwijenbergh/puregotk/v4/glib"
8+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
8 )9 )
9 10
10 // This function is provided by the user and should produce a copy11 // This function is provided by the user and should produce a copy
@@ -15,25 +16,25 @@ type BoxedCopyFunc func(uintptr) uintptr
15 // structure passed.16 // structure passed.
16 type BoxedFreeFunc func(uintptr)17 type BoxedFreeFunc func(uintptr)
17 18
18-var xBoxedCopy func([]interface{}, uintptr) uintptr19+var xBoxedCopy func(types.GType, uintptr) uintptr
19 20
20 // Provide a copy of a boxed structure @src_boxed which is of type @boxed_type.21 // Provide a copy of a boxed structure @src_boxed which is of type @boxed_type.
21-func BoxedCopy(BoxedTypeVar []interface{}, SrcBoxedVar uintptr) uintptr {22+func BoxedCopy(BoxedTypeVar types.GType, SrcBoxedVar uintptr) uintptr {
22 23
23 cret := xBoxedCopy(BoxedTypeVar, SrcBoxedVar)24 cret := xBoxedCopy(BoxedTypeVar, SrcBoxedVar)
24 return cret25 return cret
25 }26 }
26 27
27-var xBoxedFree func([]interface{}, uintptr)28+var xBoxedFree func(types.GType, uintptr)
28 29
29 // Free the boxed structure @boxed which is of type @boxed_type.30 // Free the boxed structure @boxed which is of type @boxed_type.
30-func BoxedFree(BoxedTypeVar []interface{}, BoxedVar uintptr) {31+func BoxedFree(BoxedTypeVar types.GType, BoxedVar uintptr) {
31 32
32 xBoxedFree(BoxedTypeVar, BoxedVar)33 xBoxedFree(BoxedTypeVar, BoxedVar)
33 34
34 }35 }
35 36
36-var xBoxedTypeRegisterStatic func(string, uintptr, uintptr) []interface{}37+var xBoxedTypeRegisterStatic func(string, uintptr, uintptr) types.GType
37 38
38 // This function creates a new %G_TYPE_BOXED derived type id for a new39 // This function creates a new %G_TYPE_BOXED derived type id for a new
39 // boxed type with name @name.40 // boxed type with name @name.
@@ -44,7 +45,7 @@ var xBoxedTypeRegisterStatic func(string, uintptr, uintptr) []interface{}
44 // For the general case, it is recommended to use G_DEFINE_BOXED_TYPE()45 // For the general case, it is recommended to use G_DEFINE_BOXED_TYPE()
45 // instead of calling g_boxed_type_register_static() directly. The macro46 // instead of calling g_boxed_type_register_static() directly. The macro
46 // will create the appropriate `*_get_type()` function for the boxed type.47 // will create the appropriate `*_get_type()` function for the boxed type.
47-func BoxedTypeRegisterStatic(NameVar string, BoxedCopyVar *BoxedCopyFunc, BoxedFreeVar *BoxedFreeFunc) []interface{} {48+func BoxedTypeRegisterStatic(NameVar string, BoxedCopyVar *BoxedCopyFunc, BoxedFreeVar *BoxedFreeFunc) types.GType {
48 49
49 cret := xBoxedTypeRegisterStatic(NameVar, glib.NewCallback(BoxedCopyVar), glib.NewCallback(BoxedFreeVar))50 cret := xBoxedTypeRegisterStatic(NameVar, glib.NewCallback(BoxedCopyVar), glib.NewCallback(BoxedFreeVar))
50 return cret51 return cret
M v4/gobject/gclosure.go +7 -6
@@ -7,6 +7,7 @@ import (
7 "github.com/jwijenbergh/purego"7 "github.com/jwijenbergh/purego"
8 "github.com/jwijenbergh/puregotk/internal/core"8 "github.com/jwijenbergh/puregotk/internal/core"
9 "github.com/jwijenbergh/puregotk/v4/glib"9 "github.com/jwijenbergh/puregotk/v4/glib"
10+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
10 )11 )
11 12
12 // The type used for callback functions in structure definitions and function13 // The type used for callback functions in structure definitions and function
@@ -20,7 +21,7 @@ import (
20 type Callback func()21 type Callback func()
21 22
22 // The type used for marshaller functions.23 // The type used for marshaller functions.
23-type ClosureMarshal func(*Closure, *Value, uint, uintptr, uintptr, uintptr)24+type ClosureMarshal func(*Closure, *Value, uint, []Value, uintptr, uintptr)
24 25
25 // The type used for the various notification callbacks which can be registered26 // The type used for the various notification callbacks which can be registered
26 // on closures.27 // on closures.
@@ -29,7 +30,7 @@ type ClosureNotify func(uintptr, *Closure)
29 // This is the signature of va_list marshaller functions, an optional30 // This is the signature of va_list marshaller functions, an optional
30 // marshaller that can be used in some situations to avoid31 // marshaller that can be used in some situations to avoid
31 // marshalling the signal argument into GValues.32 // marshalling the signal argument into GValues.
32-type VaClosureMarshal func(*Closure, *Value, *TypeInstance, []interface{}, uintptr, int, uintptr)33+type VaClosureMarshal func(*Closure, *Value, *TypeInstance, []interface{}, uintptr, int, []types.GType)
33 34
34 // A #GCClosure is a specialization of #GClosure for C function callbacks.35 // A #GCClosure is a specialization of #GClosure for C function callbacks.
35 type CClosure struct {36 type CClosure struct {
@@ -243,10 +244,10 @@ func (x *Closure) Invalidate() {
243 244
244 }245 }
245 246
246-var xClosureInvoke func(uintptr, *Value, uint, uintptr, uintptr)247+var xClosureInvoke func(uintptr, *Value, uint, []Value, uintptr)
247 248
248 // Invokes the closure, i.e. executes the callback represented by the @closure.249 // Invokes the closure, i.e. executes the callback represented by the @closure.
249-func (x *Closure) Invoke(ReturnValueVar *Value, NParamValuesVar uint, ParamValuesVar uintptr, InvocationHintVar uintptr) {250+func (x *Closure) Invoke(ReturnValueVar *Value, NParamValuesVar uint, ParamValuesVar []Value, InvocationHintVar uintptr) {
250 251
251 xClosureInvoke(x.GoPointer(), ReturnValueVar, NParamValuesVar, ParamValuesVar, InvocationHintVar)252 xClosureInvoke(x.GoPointer(), ReturnValueVar, NParamValuesVar, ParamValuesVar, InvocationHintVar)
252 253
@@ -444,12 +445,12 @@ func CclosureNewSwap(CallbackFuncVar *Callback, UserDataVar uintptr, DestroyData
444 return cret445 return cret
445 }446 }
446 447
447-var xSignalTypeCclosureNew func([]interface{}, uint) *Closure448+var xSignalTypeCclosureNew func(types.GType, uint) *Closure
448 449
449 // Creates a new closure which invokes the function found at the offset450 // Creates a new closure which invokes the function found at the offset
450 // @struct_offset in the class structure of the interface or classed type451 // @struct_offset in the class structure of the interface or classed type
451 // identified by @itype.452 // identified by @itype.
452-func SignalTypeCclosureNew(ItypeVar []interface{}, StructOffsetVar uint) *Closure {453+func SignalTypeCclosureNew(ItypeVar types.GType, StructOffsetVar uint) *Closure {
453 454
454 cret := xSignalTypeCclosureNew(ItypeVar, StructOffsetVar)455 cret := xSignalTypeCclosureNew(ItypeVar, StructOffsetVar)
455 return cret456 return cret
M v4/gobject/genums.go +13 -12
@@ -6,6 +6,7 @@ import (
6 6
7 "github.com/jwijenbergh/purego"7 "github.com/jwijenbergh/purego"
8 "github.com/jwijenbergh/puregotk/internal/core"8 "github.com/jwijenbergh/puregotk/internal/core"
9+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
9 )10 )
10 11
11 // The class of an enumeration type holds information about its12 // The class of an enumeration type holds information about its
@@ -70,7 +71,7 @@ func (x *FlagsValue) GoPointer() uintptr {
70 return uintptr(unsafe.Pointer(x))71 return uintptr(unsafe.Pointer(x))
71 }72 }
72 73
73-var xEnumCompleteTypeInfo func([]interface{}, *TypeInfo, *EnumValue)74+var xEnumCompleteTypeInfo func(types.GType, *TypeInfo, *EnumValue)
74 75
75 // This function is meant to be called from the `complete_type_info`76 // This function is meant to be called from the `complete_type_info`
76 // function of a #GTypePlugin implementation, as in the following77 // function of a #GTypePlugin implementation, as in the following
@@ -95,7 +96,7 @@ var xEnumCompleteTypeInfo func([]interface{}, *TypeInfo, *EnumValue)
95 // }96 // }
96 //97 //
97 // ]|98 // ]|
98-func EnumCompleteTypeInfo(GEnumTypeVar []interface{}, InfoVar *TypeInfo, ConstValuesVar *EnumValue) {99+func EnumCompleteTypeInfo(GEnumTypeVar types.GType, InfoVar *TypeInfo, ConstValuesVar *EnumValue) {
99 100
100 xEnumCompleteTypeInfo(GEnumTypeVar, InfoVar, ConstValuesVar)101 xEnumCompleteTypeInfo(GEnumTypeVar, InfoVar, ConstValuesVar)
101 102
@@ -128,37 +129,37 @@ func EnumGetValueByNick(EnumClassVar *EnumClass, NickVar string) *EnumValue {
128 return cret129 return cret
129 }130 }
130 131
131-var xEnumRegisterStatic func(string, *EnumValue) []interface{}132+var xEnumRegisterStatic func(string, *EnumValue) types.GType
132 133
133 // Registers a new static enumeration type with the name @name.134 // Registers a new static enumeration type with the name @name.
134 //135 //
135 // It is normally more convenient to let [glib-mkenums][glib-mkenums],136 // It is normally more convenient to let [glib-mkenums][glib-mkenums],
136 // generate a my_enum_get_type() function from a usual C enumeration137 // generate a my_enum_get_type() function from a usual C enumeration
137 // definition than to write one yourself using g_enum_register_static().138 // definition than to write one yourself using g_enum_register_static().
138-func EnumRegisterStatic(NameVar string, ConstStaticValuesVar *EnumValue) []interface{} {139+func EnumRegisterStatic(NameVar string, ConstStaticValuesVar *EnumValue) types.GType {
139 140
140 cret := xEnumRegisterStatic(NameVar, ConstStaticValuesVar)141 cret := xEnumRegisterStatic(NameVar, ConstStaticValuesVar)
141 return cret142 return cret
142 }143 }
143 144
144-var xEnumToString func([]interface{}, int) string145+var xEnumToString func(types.GType, int) string
145 146
146 // Pretty-prints @value in the form of the enum’s name.147 // Pretty-prints @value in the form of the enum’s name.
147 //148 //
148 // This is intended to be used for debugging purposes. The format of the output149 // This is intended to be used for debugging purposes. The format of the output
149 // may change in the future.150 // may change in the future.
150-func EnumToString(GEnumTypeVar []interface{}, ValueVar int) string {151+func EnumToString(GEnumTypeVar types.GType, ValueVar int) string {
151 152
152 cret := xEnumToString(GEnumTypeVar, ValueVar)153 cret := xEnumToString(GEnumTypeVar, ValueVar)
153 return cret154 return cret
154 }155 }
155 156
156-var xFlagsCompleteTypeInfo func([]interface{}, *TypeInfo, *FlagsValue)157+var xFlagsCompleteTypeInfo func(types.GType, *TypeInfo, *FlagsValue)
157 158
158 // This function is meant to be called from the complete_type_info()159 // This function is meant to be called from the complete_type_info()
159 // function of a #GTypePlugin implementation, see the example for160 // function of a #GTypePlugin implementation, see the example for
160 // g_enum_complete_type_info() above.161 // g_enum_complete_type_info() above.
161-func FlagsCompleteTypeInfo(GFlagsTypeVar []interface{}, InfoVar *TypeInfo, ConstValuesVar *FlagsValue) {162+func FlagsCompleteTypeInfo(GFlagsTypeVar types.GType, InfoVar *TypeInfo, ConstValuesVar *FlagsValue) {
162 163
163 xFlagsCompleteTypeInfo(GFlagsTypeVar, InfoVar, ConstValuesVar)164 xFlagsCompleteTypeInfo(GFlagsTypeVar, InfoVar, ConstValuesVar)
164 165
@@ -191,27 +192,27 @@ func FlagsGetValueByNick(FlagsClassVar *FlagsClass, NickVar string) *FlagsValue
191 return cret192 return cret
192 }193 }
193 194
194-var xFlagsRegisterStatic func(string, *FlagsValue) []interface{}195+var xFlagsRegisterStatic func(string, *FlagsValue) types.GType
195 196
196 // Registers a new static flags type with the name @name.197 // Registers a new static flags type with the name @name.
197 //198 //
198 // It is normally more convenient to let [glib-mkenums][glib-mkenums]199 // It is normally more convenient to let [glib-mkenums][glib-mkenums]
199 // generate a my_flags_get_type() function from a usual C enumeration200 // generate a my_flags_get_type() function from a usual C enumeration
200 // definition than to write one yourself using g_flags_register_static().201 // definition than to write one yourself using g_flags_register_static().
201-func FlagsRegisterStatic(NameVar string, ConstStaticValuesVar *FlagsValue) []interface{} {202+func FlagsRegisterStatic(NameVar string, ConstStaticValuesVar *FlagsValue) types.GType {
202 203
203 cret := xFlagsRegisterStatic(NameVar, ConstStaticValuesVar)204 cret := xFlagsRegisterStatic(NameVar, ConstStaticValuesVar)
204 return cret205 return cret
205 }206 }
206 207
207-var xFlagsToString func([]interface{}, uint) string208+var xFlagsToString func(types.GType, uint) string
208 209
209 // Pretty-prints @value in the form of the flag names separated by ` | ` and210 // Pretty-prints @value in the form of the flag names separated by ` | ` and
210 // sorted. Any extra bits will be shown at the end as a hexadecimal number.211 // sorted. Any extra bits will be shown at the end as a hexadecimal number.
211 //212 //
212 // This is intended to be used for debugging purposes. The format of the output213 // This is intended to be used for debugging purposes. The format of the output
213 // may change in the future.214 // may change in the future.
214-func FlagsToString(FlagsTypeVar []interface{}, ValueVar uint) string {215+func FlagsToString(FlagsTypeVar types.GType, ValueVar uint) string {
215 216
216 cret := xFlagsToString(FlagsTypeVar, ValueVar)217 cret := xFlagsToString(FlagsTypeVar, ValueVar)
217 return cret218 return cret
M v4/gobject/gobject-2.0.go +9 -8
@@ -7,6 +7,7 @@ import (
7 "github.com/jwijenbergh/purego"7 "github.com/jwijenbergh/purego"
8 "github.com/jwijenbergh/puregotk/internal/core"8 "github.com/jwijenbergh/puregotk/internal/core"
9 "github.com/jwijenbergh/puregotk/v4/glib"9 "github.com/jwijenbergh/puregotk/v4/glib"
10+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
10 )11 )
11 12
12 // An interface that handles the lifecycle of dynamically loaded types.13 // An interface that handles the lifecycle of dynamically loaded types.
@@ -60,8 +61,8 @@ import (
60 type TypePlugin interface {61 type TypePlugin interface {
61 GoPointer() uintptr62 GoPointer() uintptr
62 SetGoPointer(uintptr)63 SetGoPointer(uintptr)
63- CompleteInterfaceInfo(InstanceTypeVar []interface{}, InterfaceTypeVar []interface{}, InfoVar *InterfaceInfo)64+ CompleteInterfaceInfo(InstanceTypeVar types.GType, InterfaceTypeVar types.GType, InfoVar *InterfaceInfo)
64- CompleteTypeInfo(GTypeVar []interface{}, InfoVar *TypeInfo, ValueTableVar *TypeValueTable)65+ CompleteTypeInfo(GTypeVar types.GType, InfoVar *TypeInfo, ValueTableVar *TypeValueTable)
65 Unuse()66 Unuse()
66 Use()67 Use()
67 }68 }
@@ -80,7 +81,7 @@ func (x *TypePluginBase) SetGoPointer(ptr uintptr) {
80 // Calls the @complete_interface_info function from the81 // Calls the @complete_interface_info function from the
81 // #GTypePluginClass of @plugin. There should be no need to use this82 // #GTypePluginClass of @plugin. There should be no need to use this
82 // function outside of the GObject type system itself.83 // function outside of the GObject type system itself.
83-func (x *TypePluginBase) CompleteInterfaceInfo(InstanceTypeVar []interface{}, InterfaceTypeVar []interface{}, InfoVar *InterfaceInfo) {84+func (x *TypePluginBase) CompleteInterfaceInfo(InstanceTypeVar types.GType, InterfaceTypeVar types.GType, InfoVar *InterfaceInfo) {
84 85
85 XGTypePluginCompleteInterfaceInfo(x.GoPointer(), InstanceTypeVar, InterfaceTypeVar, InfoVar)86 XGTypePluginCompleteInterfaceInfo(x.GoPointer(), InstanceTypeVar, InterfaceTypeVar, InfoVar)
86 87
@@ -89,7 +90,7 @@ func (x *TypePluginBase) CompleteInterfaceInfo(InstanceTypeVar []interface{}, In
89 // Calls the @complete_type_info function from the #GTypePluginClass of @plugin.90 // Calls the @complete_type_info function from the #GTypePluginClass of @plugin.
90 // There should be no need to use this function outside of the GObject91 // There should be no need to use this function outside of the GObject
91 // type system itself.92 // type system itself.
92-func (x *TypePluginBase) CompleteTypeInfo(GTypeVar []interface{}, InfoVar *TypeInfo, ValueTableVar *TypeValueTable) {93+func (x *TypePluginBase) CompleteTypeInfo(GTypeVar types.GType, InfoVar *TypeInfo, ValueTableVar *TypeValueTable) {
93 94
94 XGTypePluginCompleteTypeInfo(x.GoPointer(), GTypeVar, InfoVar, ValueTableVar)95 XGTypePluginCompleteTypeInfo(x.GoPointer(), GTypeVar, InfoVar, ValueTableVar)
95 96
@@ -113,8 +114,8 @@ func (x *TypePluginBase) Use() {
113 114
114 }115 }
115 116
116-var XGTypePluginCompleteInterfaceInfo func(uintptr, []interface{}, []interface{}, *InterfaceInfo)117+var XGTypePluginCompleteInterfaceInfo func(uintptr, types.GType, types.GType, *InterfaceInfo)
117-var XGTypePluginCompleteTypeInfo func(uintptr, []interface{}, *TypeInfo, *TypeValueTable)118+var XGTypePluginCompleteTypeInfo func(uintptr, types.GType, *TypeInfo, *TypeValueTable)
118 var XGTypePluginUnuse func(uintptr)119 var XGTypePluginUnuse func(uintptr)
119 var XGTypePluginUse func(uintptr)120 var XGTypePluginUse func(uintptr)
120 121
@@ -505,10 +506,10 @@ func SignalGroupNewFromInternalPtr(ptr uintptr) *SignalGroup {
505 return cls506 return cls
506 }507 }
507 508
508-var xNewSignalGroup func([]interface{}) uintptr509+var xNewSignalGroup func(types.GType) uintptr
509 510
510 // Creates a new #GSignalGroup for target instances of @target_type.511 // Creates a new #GSignalGroup for target instances of @target_type.
511-func NewSignalGroup(TargetTypeVar []interface{}) *SignalGroup {512+func NewSignalGroup(TargetTypeVar types.GType) *SignalGroup {
512 var cls *SignalGroup513 var cls *SignalGroup
513 514
514 cret := xNewSignalGroup(TargetTypeVar)515 cret := xNewSignalGroup(TargetTypeVar)
M v4/gobject/gobject.go +15 -14
@@ -7,6 +7,7 @@ import (
7 "github.com/jwijenbergh/purego"7 "github.com/jwijenbergh/purego"
8 "github.com/jwijenbergh/puregotk/internal/core"8 "github.com/jwijenbergh/puregotk/internal/core"
9 "github.com/jwijenbergh/puregotk/v4/glib"9 "github.com/jwijenbergh/puregotk/v4/glib"
10+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
10 )11 )
11 12
12 // The type of the @finalize function of #GObjectClass.13 // The type of the @finalize function of #GObjectClass.
@@ -45,7 +46,7 @@ type InitiallyUnownedClass struct {
45 46
46 Flags uint47 Flags uint
47 48
48- Pdummy uintptr49+ Pdummy [6]uintptr
49 }50 }
50 51
51 func (x *InitiallyUnownedClass) GoPointer() uintptr {52 func (x *InitiallyUnownedClass) GoPointer() uintptr {
@@ -88,7 +89,7 @@ type ObjectClass struct {
88 89
89 Flags uint90 Flags uint
90 91
91- Pdummy uintptr92+ Pdummy [6]uintptr
92 }93 }
93 94
94 func (x *ObjectClass) GoPointer() uintptr {95 func (x *ObjectClass) GoPointer() uintptr {
@@ -451,7 +452,7 @@ func ObjectNewFromInternalPtr(ptr uintptr) *Object {
451 return cls452 return cls
452 }453 }
453 454
454-var xNewObject func([]interface{}, string, ...interface{}) uintptr455+var xNewObject func(types.GType, string, ...interface{}) uintptr
455 456
456 // Creates a new instance of a #GObject subtype and sets its properties.457 // Creates a new instance of a #GObject subtype and sets its properties.
457 //458 //
@@ -479,7 +480,7 @@ var xNewObject func([]interface{}, string, ...interface{}) uintptr
479 // #gdouble). If you need larger alignment for an element in a #GObject, you480 // #gdouble). If you need larger alignment for an element in a #GObject, you
480 // should allocate it on the heap (aligned), or arrange for your #GObject to be481 // should allocate it on the heap (aligned), or arrange for your #GObject to be
481 // appropriately padded.482 // appropriately padded.
482-func NewObject(ObjectTypeVar []interface{}, FirstPropertyNameVar string, varArgs ...interface{}) *Object {483+func NewObject(ObjectTypeVar types.GType, FirstPropertyNameVar string, varArgs ...interface{}) *Object {
483 var cls *Object484 var cls *Object
484 485
485 cret := xNewObject(ObjectTypeVar, FirstPropertyNameVar, varArgs...)486 cret := xNewObject(ObjectTypeVar, FirstPropertyNameVar, varArgs...)
@@ -492,13 +493,13 @@ func NewObject(ObjectTypeVar []interface{}, FirstPropertyNameVar string, varArgs
492 return cls493 return cls
493 }494 }
494 495
495-var xNewObjectValist func([]interface{}, string, []interface{}) uintptr496+var xNewObjectValist func(types.GType, string, []interface{}) uintptr
496 497
497 // Creates a new instance of a #GObject subtype and sets its properties.498 // Creates a new instance of a #GObject subtype and sets its properties.
498 //499 //
499 // Construction parameters (see %G_PARAM_CONSTRUCT, %G_PARAM_CONSTRUCT_ONLY)500 // Construction parameters (see %G_PARAM_CONSTRUCT, %G_PARAM_CONSTRUCT_ONLY)
500 // which are not explicitly specified are set to their default values.501 // which are not explicitly specified are set to their default values.
501-func NewObjectValist(ObjectTypeVar []interface{}, FirstPropertyNameVar string, VarArgsVar []interface{}) *Object {502+func NewObjectValist(ObjectTypeVar types.GType, FirstPropertyNameVar string, VarArgsVar []interface{}) *Object {
502 var cls *Object503 var cls *Object
503 504
504 cret := xNewObjectValist(ObjectTypeVar, FirstPropertyNameVar, VarArgsVar)505 cret := xNewObjectValist(ObjectTypeVar, FirstPropertyNameVar, VarArgsVar)
@@ -511,7 +512,7 @@ func NewObjectValist(ObjectTypeVar []interface{}, FirstPropertyNameVar string, V
511 return cls512 return cls
512 }513 }
513 514
514-var xNewObjectWithProperties func([]interface{}, uint, []string, uintptr) uintptr515+var xNewObjectWithProperties func(types.GType, uint, []string, []Value) uintptr
515 516
516 // Creates a new instance of a #GObject subtype and sets its properties using517 // Creates a new instance of a #GObject subtype and sets its properties using
517 // the provided arrays. Both arrays must have exactly @n_properties elements,518 // the provided arrays. Both arrays must have exactly @n_properties elements,
@@ -519,7 +520,7 @@ var xNewObjectWithProperties func([]interface{}, uint, []string, uintptr) uintpt
519 //520 //
520 // Construction parameters (see %G_PARAM_CONSTRUCT, %G_PARAM_CONSTRUCT_ONLY)521 // Construction parameters (see %G_PARAM_CONSTRUCT, %G_PARAM_CONSTRUCT_ONLY)
521 // which are not explicitly specified are set to their default values.522 // which are not explicitly specified are set to their default values.
522-func NewObjectWithProperties(ObjectTypeVar []interface{}, NPropertiesVar uint, NamesVar []string, ValuesVar uintptr) *Object {523+func NewObjectWithProperties(ObjectTypeVar types.GType, NPropertiesVar uint, NamesVar []string, ValuesVar []Value) *Object {
523 var cls *Object524 var cls *Object
524 525
525 cret := xNewObjectWithProperties(ObjectTypeVar, NPropertiesVar, NamesVar, ValuesVar)526 cret := xNewObjectWithProperties(ObjectTypeVar, NPropertiesVar, NamesVar, ValuesVar)
@@ -532,13 +533,13 @@ func NewObjectWithProperties(ObjectTypeVar []interface{}, NPropertiesVar uint, N
532 return cls533 return cls
533 }534 }
534 535
535-var xNewObjectv func([]interface{}, uint, uintptr) uintptr536+var xNewObjectv func(types.GType, uint, []Parameter) uintptr
536 537
537 // Creates a new instance of a #GObject subtype and sets its properties.538 // Creates a new instance of a #GObject subtype and sets its properties.
538 //539 //
539 // Construction parameters (see %G_PARAM_CONSTRUCT, %G_PARAM_CONSTRUCT_ONLY)540 // Construction parameters (see %G_PARAM_CONSTRUCT, %G_PARAM_CONSTRUCT_ONLY)
540 // which are not explicitly specified are set to their default values.541 // which are not explicitly specified are set to their default values.
541-func NewObjectv(ObjectTypeVar []interface{}, NParametersVar uint, ParametersVar uintptr) *Object {542+func NewObjectv(ObjectTypeVar types.GType, NParametersVar uint, ParametersVar []Parameter) *Object {
542 var cls *Object543 var cls *Object
543 544
544 cret := xNewObjectv(ObjectTypeVar, NParametersVar, ParametersVar)545 cret := xNewObjectv(ObjectTypeVar, NParametersVar, ParametersVar)
@@ -939,13 +940,13 @@ func (x *Object) GetValist(FirstPropertyNameVar string, VarArgsVar []interface{}
939 940
940 }941 }
941 942
942-var xObjectGetv func(uintptr, uint, uintptr, uintptr)943+var xObjectGetv func(uintptr, uint, []string, []Value)
943 944
944 // Gets @n_properties properties for an @object.945 // Gets @n_properties properties for an @object.
945 // Obtained properties will be set to @values. All properties must be valid.946 // Obtained properties will be set to @values. All properties must be valid.
946 // Warnings will be emitted and undefined behaviour may result if invalid947 // Warnings will be emitted and undefined behaviour may result if invalid
947 // properties are passed in.948 // properties are passed in.
948-func (x *Object) Getv(NPropertiesVar uint, NamesVar uintptr, ValuesVar uintptr) {949+func (x *Object) Getv(NPropertiesVar uint, NamesVar []string, ValuesVar []Value) {
949 950
950 xObjectGetv(x.GoPointer(), NPropertiesVar, NamesVar, ValuesVar)951 xObjectGetv(x.GoPointer(), NPropertiesVar, NamesVar, ValuesVar)
951 952
@@ -1251,13 +1252,13 @@ func (x *Object) SetValist(FirstPropertyNameVar string, VarArgsVar []interface{}
1251 1252
1252 }1253 }
1253 1254
1254-var xObjectSetv func(uintptr, uint, uintptr, uintptr)1255+var xObjectSetv func(uintptr, uint, []string, []Value)
1255 1256
1256 // Sets @n_properties properties for an @object.1257 // Sets @n_properties properties for an @object.
1257 // Properties to be set will be taken from @values. All properties must be1258 // Properties to be set will be taken from @values. All properties must be
1258 // valid. Warnings will be emitted and undefined behaviour may result if invalid1259 // valid. Warnings will be emitted and undefined behaviour may result if invalid
1259 // properties are passed in.1260 // properties are passed in.
1260-func (x *Object) Setv(NPropertiesVar uint, NamesVar uintptr, ValuesVar uintptr) {1261+func (x *Object) Setv(NPropertiesVar uint, NamesVar []string, ValuesVar []Value) {
1261 1262
1262 xObjectSetv(x.GoPointer(), NPropertiesVar, NamesVar, ValuesVar)1263 xObjectSetv(x.GoPointer(), NPropertiesVar, NamesVar, ValuesVar)
1263 1264
M v4/gobject/gparam.go +16 -15
@@ -7,6 +7,7 @@ import (
7 "github.com/jwijenbergh/purego"7 "github.com/jwijenbergh/purego"
8 "github.com/jwijenbergh/puregotk/internal/core"8 "github.com/jwijenbergh/puregotk/internal/core"
9 "github.com/jwijenbergh/puregotk/v4/glib"9 "github.com/jwijenbergh/puregotk/v4/glib"
10+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
10 )11 )
11 12
12 // The class structure for the GParamSpec type.13 // The class structure for the GParamSpec type.
@@ -15,9 +16,9 @@ import (
15 type ParamSpecClass struct {16 type ParamSpecClass struct {
16 GTypeClass uintptr17 GTypeClass uintptr
17 18
18- ValueType []interface{}19+ ValueType types.GType
19 20
20- Dummy uintptr21+ Dummy [4]uintptr
21 }22 }
22 23
23 func (x *ParamSpecClass) GoPointer() uintptr {24 func (x *ParamSpecClass) GoPointer() uintptr {
@@ -36,39 +37,39 @@ func (x *ParamSpecPool) GoPointer() uintptr {
36 return uintptr(unsafe.Pointer(x))37 return uintptr(unsafe.Pointer(x))
37 }38 }
38 39
39-var xParamSpecPoolInsert func(uintptr, uintptr, []interface{})40+var xParamSpecPoolInsert func(uintptr, uintptr, types.GType)
40 41
41 // Inserts a #GParamSpec in the pool.42 // Inserts a #GParamSpec in the pool.
42-func (x *ParamSpecPool) Insert(PspecVar *ParamSpec, OwnerTypeVar []interface{}) {43+func (x *ParamSpecPool) Insert(PspecVar *ParamSpec, OwnerTypeVar types.GType) {
43 44
44 xParamSpecPoolInsert(x.GoPointer(), PspecVar.GoPointer(), OwnerTypeVar)45 xParamSpecPoolInsert(x.GoPointer(), PspecVar.GoPointer(), OwnerTypeVar)
45 46
46 }47 }
47 48
48-var xParamSpecPoolList func(uintptr, []interface{}, uint) uintptr49+var xParamSpecPoolList func(uintptr, types.GType, uint) uintptr
49 50
50 // Gets an array of all #GParamSpecs owned by @owner_type in51 // Gets an array of all #GParamSpecs owned by @owner_type in
51 // the pool.52 // the pool.
52-func (x *ParamSpecPool) List(OwnerTypeVar []interface{}, NPspecsPVar uint) uintptr {53+func (x *ParamSpecPool) List(OwnerTypeVar types.GType, NPspecsPVar uint) uintptr {
53 54
54 cret := xParamSpecPoolList(x.GoPointer(), OwnerTypeVar, NPspecsPVar)55 cret := xParamSpecPoolList(x.GoPointer(), OwnerTypeVar, NPspecsPVar)
55 return cret56 return cret
56 }57 }
57 58
58-var xParamSpecPoolListOwned func(uintptr, []interface{}) *glib.List59+var xParamSpecPoolListOwned func(uintptr, types.GType) *glib.List
59 60
60 // Gets an #GList of all #GParamSpecs owned by @owner_type in61 // Gets an #GList of all #GParamSpecs owned by @owner_type in
61 // the pool.62 // the pool.
62-func (x *ParamSpecPool) ListOwned(OwnerTypeVar []interface{}) *glib.List {63+func (x *ParamSpecPool) ListOwned(OwnerTypeVar types.GType) *glib.List {
63 64
64 cret := xParamSpecPoolListOwned(x.GoPointer(), OwnerTypeVar)65 cret := xParamSpecPoolListOwned(x.GoPointer(), OwnerTypeVar)
65 return cret66 return cret
66 }67 }
67 68
68-var xParamSpecPoolLookup func(uintptr, string, []interface{}, bool) uintptr69+var xParamSpecPoolLookup func(uintptr, string, types.GType, bool) uintptr
69 70
70 // Looks up a #GParamSpec in the pool.71 // Looks up a #GParamSpec in the pool.
71-func (x *ParamSpecPool) Lookup(ParamNameVar string, OwnerTypeVar []interface{}, WalkAncestorsVar bool) *ParamSpec {72+func (x *ParamSpecPool) Lookup(ParamNameVar string, OwnerTypeVar types.GType, WalkAncestorsVar bool) *ParamSpec {
72 var cls *ParamSpec73 var cls *ParamSpec
73 74
74 cret := xParamSpecPoolLookup(x.GoPointer(), ParamNameVar, OwnerTypeVar, WalkAncestorsVar)75 cret := xParamSpecPoolLookup(x.GoPointer(), ParamNameVar, OwnerTypeVar, WalkAncestorsVar)
@@ -104,7 +105,7 @@ type ParamSpecTypeInfo struct {
104 105
105 NPreallocs uint16106 NPreallocs uint16
106 107
107- ValueType []interface{}108+ ValueType types.GType
108 }109 }
109 110
110 func (x *ParamSpecTypeInfo) GoPointer() uintptr {111 func (x *ParamSpecTypeInfo) GoPointer() uintptr {
@@ -185,7 +186,7 @@ const (
185 GParamDeprecatedValue ParamFlags = 2147483648186 GParamDeprecatedValue ParamFlags = 2147483648
186 )187 )
187 188
188-var xParamTypeRegisterStatic func(string, *ParamSpecTypeInfo) []interface{}189+var xParamTypeRegisterStatic func(string, *ParamSpecTypeInfo) types.GType
189 190
190 // Registers @name as the name of a new static type derived191 // Registers @name as the name of a new static type derived
191 // from %G_TYPE_PARAM.192 // from %G_TYPE_PARAM.
@@ -193,7 +194,7 @@ var xParamTypeRegisterStatic func(string, *ParamSpecTypeInfo) []interface{}
193 // The type system uses the information contained in the #GParamSpecTypeInfo194 // The type system uses the information contained in the #GParamSpecTypeInfo
194 // structure pointed to by @info to manage the #GParamSpec type and its195 // structure pointed to by @info to manage the #GParamSpec type and its
195 // instances.196 // instances.
196-func ParamTypeRegisterStatic(NameVar string, PspecInfoVar *ParamSpecTypeInfo) []interface{} {197+func ParamTypeRegisterStatic(NameVar string, PspecInfoVar *ParamSpecTypeInfo) types.GType {
197 198
198 cret := xParamTypeRegisterStatic(NameVar, PspecInfoVar)199 cret := xParamTypeRegisterStatic(NameVar, PspecInfoVar)
199 return cret200 return cret
@@ -465,7 +466,7 @@ func (c *ParamSpec) SetGoPointer(ptr uintptr) {
465 c.Ptr = ptr466 c.Ptr = ptr
466 }467 }
467 468
468-var xParamSpecInternal func([]interface{}, string, string, string, ParamFlags) uintptr469+var xParamSpecInternal func(types.GType, string, string, string, ParamFlags) uintptr
469 470
470 // Creates a new #GParamSpec instance.471 // Creates a new #GParamSpec instance.
471 //472 //
@@ -478,7 +479,7 @@ var xParamSpecInternal func([]interface{}, string, string, string, ParamFlags) u
478 // for use as a label for the property in a property editor, and the479 // for use as a label for the property in a property editor, and the
479 // @blurb, which should be a somewhat longer description, suitable for480 // @blurb, which should be a somewhat longer description, suitable for
480 // e.g. a tooltip. The @nick and @blurb should ideally be localized.481 // e.g. a tooltip. The @nick and @blurb should ideally be localized.
481-func ParamSpecInternal(ParamTypeVar []interface{}, NameVar string, NickVar string, BlurbVar string, FlagsVar ParamFlags) *ParamSpec {482+func ParamSpecInternal(ParamTypeVar types.GType, NameVar string, NickVar string, BlurbVar string, FlagsVar ParamFlags) *ParamSpec {
482 var cls *ParamSpec483 var cls *ParamSpec
483 484
484 cret := xParamSpecInternal(ParamTypeVar, NameVar, NickVar, BlurbVar, FlagsVar)485 cret := xParamSpecInternal(ParamTypeVar, NameVar, NickVar, BlurbVar, FlagsVar)
M v4/gobject/gparamspecs.go +13 -12
@@ -5,6 +5,7 @@ import (
5 "github.com/jwijenbergh/purego"5 "github.com/jwijenbergh/purego"
6 "github.com/jwijenbergh/puregotk/internal/core"6 "github.com/jwijenbergh/puregotk/internal/core"
7 "github.com/jwijenbergh/puregotk/v4/glib"7 "github.com/jwijenbergh/puregotk/v4/glib"
8+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
8 )9 )
9 10
10 var xNewParamSpecBoolean func(string, string, string, bool, ParamFlags) uintptr11 var xNewParamSpecBoolean func(string, string, string, bool, ParamFlags) uintptr
@@ -29,13 +30,13 @@ func NewParamSpecBoolean(NameVar string, NickVar string, BlurbVar string, Defaul
29 return cls30 return cls
30 }31 }
31 32
32-var xNewParamSpecBoxed func(string, string, string, []interface{}, ParamFlags) uintptr33+var xNewParamSpecBoxed func(string, string, string, types.GType, ParamFlags) uintptr
33 34
34 // Creates a new #GParamSpecBoxed instance specifying a %G_TYPE_BOXED35 // Creates a new #GParamSpecBoxed instance specifying a %G_TYPE_BOXED
35 // derived property.36 // derived property.
36 //37 //
37 // See g_param_spec_internal() for details on property names.38 // See g_param_spec_internal() for details on property names.
38-func NewParamSpecBoxed(NameVar string, NickVar string, BlurbVar string, BoxedTypeVar []interface{}, FlagsVar ParamFlags) *ParamSpec {39+func NewParamSpecBoxed(NameVar string, NickVar string, BlurbVar string, BoxedTypeVar types.GType, FlagsVar ParamFlags) *ParamSpec {
39 var cls *ParamSpec40 var cls *ParamSpec
40 41
41 cret := xNewParamSpecBoxed(NameVar, NickVar, BlurbVar, BoxedTypeVar, FlagsVar)42 cret := xNewParamSpecBoxed(NameVar, NickVar, BlurbVar, BoxedTypeVar, FlagsVar)
@@ -83,13 +84,13 @@ func NewParamSpecDouble(NameVar string, NickVar string, BlurbVar string, Minimum
83 return cls84 return cls
84 }85 }
85 86
86-var xNewParamSpecEnum func(string, string, string, []interface{}, int, ParamFlags) uintptr87+var xNewParamSpecEnum func(string, string, string, types.GType, int, ParamFlags) uintptr
87 88
88 // Creates a new #GParamSpecEnum instance specifying a %G_TYPE_ENUM89 // Creates a new #GParamSpecEnum instance specifying a %G_TYPE_ENUM
89 // property.90 // property.
90 //91 //
91 // See g_param_spec_internal() for details on property names.92 // See g_param_spec_internal() for details on property names.
92-func NewParamSpecEnum(NameVar string, NickVar string, BlurbVar string, EnumTypeVar []interface{}, DefaultValueVar int, FlagsVar ParamFlags) *ParamSpec {93+func NewParamSpecEnum(NameVar string, NickVar string, BlurbVar string, EnumTypeVar types.GType, DefaultValueVar int, FlagsVar ParamFlags) *ParamSpec {
93 var cls *ParamSpec94 var cls *ParamSpec
94 95
95 cret := xNewParamSpecEnum(NameVar, NickVar, BlurbVar, EnumTypeVar, DefaultValueVar, FlagsVar)96 cret := xNewParamSpecEnum(NameVar, NickVar, BlurbVar, EnumTypeVar, DefaultValueVar, FlagsVar)
@@ -102,13 +103,13 @@ func NewParamSpecEnum(NameVar string, NickVar string, BlurbVar string, EnumTypeV
102 return cls103 return cls
103 }104 }
104 105
105-var xNewParamSpecFlags func(string, string, string, []interface{}, uint, ParamFlags) uintptr106+var xNewParamSpecFlags func(string, string, string, types.GType, uint, ParamFlags) uintptr
106 107
107 // Creates a new #GParamSpecFlags instance specifying a %G_TYPE_FLAGS108 // Creates a new #GParamSpecFlags instance specifying a %G_TYPE_FLAGS
108 // property.109 // property.
109 //110 //
110 // See g_param_spec_internal() for details on property names.111 // See g_param_spec_internal() for details on property names.
111-func NewParamSpecFlags(NameVar string, NickVar string, BlurbVar string, FlagsTypeVar []interface{}, DefaultValueVar uint, FlagsVar ParamFlags) *ParamSpec {112+func NewParamSpecFlags(NameVar string, NickVar string, BlurbVar string, FlagsTypeVar types.GType, DefaultValueVar uint, FlagsVar ParamFlags) *ParamSpec {
112 var cls *ParamSpec113 var cls *ParamSpec
113 114
114 cret := xNewParamSpecFlags(NameVar, NickVar, BlurbVar, FlagsTypeVar, DefaultValueVar, FlagsVar)115 cret := xNewParamSpecFlags(NameVar, NickVar, BlurbVar, FlagsTypeVar, DefaultValueVar, FlagsVar)
@@ -139,13 +140,13 @@ func NewParamSpecFloat(NameVar string, NickVar string, BlurbVar string, MinimumV
139 return cls140 return cls
140 }141 }
141 142
142-var xParamSpecGtype func(string, string, string, []interface{}, ParamFlags) uintptr143+var xParamSpecGtype func(string, string, string, types.GType, ParamFlags) uintptr
143 144
144 // Creates a new #GParamSpecGType instance specifying a145 // Creates a new #GParamSpecGType instance specifying a
145 // %G_TYPE_GTYPE property.146 // %G_TYPE_GTYPE property.
146 //147 //
147 // See g_param_spec_internal() for details on property names.148 // See g_param_spec_internal() for details on property names.
148-func ParamSpecGtype(NameVar string, NickVar string, BlurbVar string, IsATypeVar []interface{}, FlagsVar ParamFlags) *ParamSpec {149+func ParamSpecGtype(NameVar string, NickVar string, BlurbVar string, IsATypeVar types.GType, FlagsVar ParamFlags) *ParamSpec {
149 var cls *ParamSpec150 var cls *ParamSpec
150 151
151 cret := xParamSpecGtype(NameVar, NickVar, BlurbVar, IsATypeVar, FlagsVar)152 cret := xParamSpecGtype(NameVar, NickVar, BlurbVar, IsATypeVar, FlagsVar)
@@ -212,13 +213,13 @@ func NewParamSpecLong(NameVar string, NickVar string, BlurbVar string, MinimumVa
212 return cls213 return cls
213 }214 }
214 215
215-var xNewParamSpecObject func(string, string, string, []interface{}, ParamFlags) uintptr216+var xNewParamSpecObject func(string, string, string, types.GType, ParamFlags) uintptr
216 217
217 // Creates a new #GParamSpecBoxed instance specifying a %G_TYPE_OBJECT218 // Creates a new #GParamSpecBoxed instance specifying a %G_TYPE_OBJECT
218 // derived property.219 // derived property.
219 //220 //
220 // See g_param_spec_internal() for details on property names.221 // See g_param_spec_internal() for details on property names.
221-func NewParamSpecObject(NameVar string, NickVar string, BlurbVar string, ObjectTypeVar []interface{}, FlagsVar ParamFlags) *ParamSpec {222+func NewParamSpecObject(NameVar string, NickVar string, BlurbVar string, ObjectTypeVar types.GType, FlagsVar ParamFlags) *ParamSpec {
222 var cls *ParamSpec223 var cls *ParamSpec
223 224
224 cret := xNewParamSpecObject(NameVar, NickVar, BlurbVar, ObjectTypeVar, FlagsVar)225 cret := xNewParamSpecObject(NameVar, NickVar, BlurbVar, ObjectTypeVar, FlagsVar)
@@ -249,13 +250,13 @@ func NewParamSpecOverride(NameVar string, OverriddenVar *ParamSpec) *ParamSpec {
249 return cls250 return cls
250 }251 }
251 252
252-var xNewParamSpecParam func(string, string, string, []interface{}, ParamFlags) uintptr253+var xNewParamSpecParam func(string, string, string, types.GType, ParamFlags) uintptr
253 254
254 // Creates a new #GParamSpecParam instance specifying a %G_TYPE_PARAM255 // Creates a new #GParamSpecParam instance specifying a %G_TYPE_PARAM
255 // property.256 // property.
256 //257 //
257 // See g_param_spec_internal() for details on property names.258 // See g_param_spec_internal() for details on property names.
258-func NewParamSpecParam(NameVar string, NickVar string, BlurbVar string, ParamTypeVar []interface{}, FlagsVar ParamFlags) *ParamSpec {259+func NewParamSpecParam(NameVar string, NickVar string, BlurbVar string, ParamTypeVar types.GType, FlagsVar ParamFlags) *ParamSpec {
259 var cls *ParamSpec260 var cls *ParamSpec
260 261
261 cret := xNewParamSpecParam(NameVar, NickVar, BlurbVar, ParamTypeVar, FlagsVar)262 cret := xNewParamSpecParam(NameVar, NickVar, BlurbVar, ParamTypeVar, FlagsVar)
M v4/gobject/gsignal.go +29 -28
@@ -7,6 +7,7 @@ import (
7 "github.com/jwijenbergh/purego"7 "github.com/jwijenbergh/purego"
8 "github.com/jwijenbergh/puregotk/internal/core"8 "github.com/jwijenbergh/puregotk/internal/core"
9 "github.com/jwijenbergh/puregotk/v4/glib"9 "github.com/jwijenbergh/puregotk/v4/glib"
10+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
10 )11 )
11 12
12 // The signal accumulator is a special callback function that can be used13 // The signal accumulator is a special callback function that can be used
@@ -25,7 +26,7 @@ type SignalAccumulator func(*SignalInvocationHint, *Value, *Value, uintptr) bool
25 // trap all emissions of that signal, from any object.26 // trap all emissions of that signal, from any object.
26 //27 //
27 // You may not attach these to signals created with the %G_SIGNAL_NO_HOOKS flag.28 // You may not attach these to signals created with the %G_SIGNAL_NO_HOOKS flag.
28-type SignalEmissionHook func(*SignalInvocationHint, uint, uintptr, uintptr) bool29+type SignalEmissionHook func(*SignalInvocationHint, uint, []Value, uintptr) bool
29 30
30 // The #GSignalInvocationHint structure is used to pass on additional information31 // The #GSignalInvocationHint structure is used to pass on additional information
31 // to callbacks during a signal emission.32 // to callbacks during a signal emission.
@@ -49,15 +50,15 @@ type SignalQuery struct {
49 50
50 SignalName uintptr51 SignalName uintptr
51 52
52- Itype []interface{}53+ Itype types.GType
53 54
54 SignalFlags SignalFlags55 SignalFlags SignalFlags
55 56
56- ReturnType []interface{}57+ ReturnType types.GType
57 58
58 NParams uint59 NParams uint
59 60
60- ParamTypes uintptr61+ ParamTypes []types.GType
61 }62 }
62 63
63 func (x *SignalQuery) GoPointer() uintptr {64 func (x *SignalQuery) GoPointer() uintptr {
@@ -220,13 +221,13 @@ func SignalAddEmissionHook(SignalIdVar uint, DetailVar glib.Quark, HookFuncVar *
220 return cret221 return cret
221 }222 }
222 223
223-var xSignalChainFromOverridden func(uintptr, *Value)224+var xSignalChainFromOverridden func([]Value, *Value)
224 225
225 // Calls the original class closure of a signal. This function should only226 // Calls the original class closure of a signal. This function should only
226 // be called from an overridden class closure; see227 // be called from an overridden class closure; see
227 // g_signal_override_class_closure() and228 // g_signal_override_class_closure() and
228 // g_signal_override_class_handler().229 // g_signal_override_class_handler().
229-func SignalChainFromOverridden(InstanceAndParamsVar uintptr, ReturnValueVar *Value) {230+func SignalChainFromOverridden(InstanceAndParamsVar []Value, ReturnValueVar *Value) {
230 231
231 xSignalChainFromOverridden(InstanceAndParamsVar, ReturnValueVar)232 xSignalChainFromOverridden(InstanceAndParamsVar, ReturnValueVar)
232 233
@@ -314,14 +315,14 @@ func SignalEmitValist(InstanceVar *TypeInstance, SignalIdVar uint, DetailVar gli
314 315
315 }316 }
316 317
317-var xSignalEmitv func(uintptr, uint, glib.Quark, *Value)318+var xSignalEmitv func([]Value, uint, glib.Quark, *Value)
318 319
319 // Emits a signal. Signal emission is done synchronously.320 // Emits a signal. Signal emission is done synchronously.
320 // The method will only return control after all handlers are called or signal emission was stopped.321 // The method will only return control after all handlers are called or signal emission was stopped.
321 //322 //
322 // Note that g_signal_emitv() doesn't change @return_value if no handlers are323 // Note that g_signal_emitv() doesn't change @return_value if no handlers are
323 // connected, in contrast to g_signal_emit() and g_signal_emit_valist().324 // connected, in contrast to g_signal_emit() and g_signal_emit_valist().
324-func SignalEmitv(InstanceAndParamsVar uintptr, SignalIdVar uint, DetailVar glib.Quark, ReturnValueVar *Value) {325+func SignalEmitv(InstanceAndParamsVar []Value, SignalIdVar uint, DetailVar glib.Quark, ReturnValueVar *Value) {
325 326
326 xSignalEmitv(InstanceAndParamsVar, SignalIdVar, DetailVar, ReturnValueVar)327 xSignalEmitv(InstanceAndParamsVar, SignalIdVar, DetailVar, ReturnValueVar)
327 328
@@ -505,18 +506,18 @@ func SignalIsValidName(NameVar string) bool {
505 return cret506 return cret
506 }507 }
507 508
508-var xSignalListIds func([]interface{}, uint) uintptr509+var xSignalListIds func(types.GType, uint) []uint
509 510
510 // Lists the signals by id that a certain instance or interface type511 // Lists the signals by id that a certain instance or interface type
511 // created. Further information about the signals can be acquired through512 // created. Further information about the signals can be acquired through
512 // g_signal_query().513 // g_signal_query().
513-func SignalListIds(ItypeVar []interface{}, NIdsVar uint) uintptr {514+func SignalListIds(ItypeVar types.GType, NIdsVar uint) []uint {
514 515
515 cret := xSignalListIds(ItypeVar, NIdsVar)516 cret := xSignalListIds(ItypeVar, NIdsVar)
516 return cret517 return cret
517 }518 }
518 519
519-var xSignalLookup func(string, []interface{}) uint520+var xSignalLookup func(string, types.GType) uint
520 521
521 // Given the name of the signal and the type of object it connects to, gets522 // Given the name of the signal and the type of object it connects to, gets
522 // the signal's identifying integer. Emitting the signal by number is523 // the signal's identifying integer. Emitting the signal by number is
@@ -529,7 +530,7 @@ var xSignalLookup func(string, []interface{}) uint
529 // always installed during class initialization.530 // always installed during class initialization.
530 //531 //
531 // See g_signal_new() for details on allowed signal names.532 // See g_signal_new() for details on allowed signal names.
532-func SignalLookup(NameVar string, ItypeVar []interface{}) uint {533+func SignalLookup(NameVar string, ItypeVar types.GType) uint {
533 534
534 cret := xSignalLookup(NameVar, ItypeVar)535 cret := xSignalLookup(NameVar, ItypeVar)
535 return cret536 return cret
@@ -546,7 +547,7 @@ func SignalName(SignalIdVar uint) string {
546 return cret547 return cret
547 }548 }
548 549
549-var xSignalNew func(string, []interface{}, SignalFlags, uint, uintptr, uintptr, SignalCMarshaller, []interface{}, uint, ...interface{}) uint550+var xSignalNew func(string, types.GType, SignalFlags, uint, uintptr, uintptr, SignalCMarshaller, types.GType, uint, ...interface{}) uint
550 551
551 // Creates a new signal. (This is usually done in the class initializer.)552 // Creates a new signal. (This is usually done in the class initializer.)
552 //553 //
@@ -572,13 +573,13 @@ var xSignalNew func(string, []interface{}, SignalFlags, uint, uintptr, uintptr,
572 // If @c_marshaller is non-%NULL, you need to also specify a va_marshaller573 // If @c_marshaller is non-%NULL, you need to also specify a va_marshaller
573 // using g_signal_set_va_marshaller() or the generic va_marshaller will574 // using g_signal_set_va_marshaller() or the generic va_marshaller will
574 // be used.575 // be used.
575-func SignalNew(SignalNameVar string, ItypeVar []interface{}, SignalFlagsVar SignalFlags, ClassOffsetVar uint, AccumulatorVar *SignalAccumulator, AccuDataVar uintptr, CMarshallerVar SignalCMarshaller, ReturnTypeVar []interface{}, NParamsVar uint, varArgs ...interface{}) uint {576+func SignalNew(SignalNameVar string, ItypeVar types.GType, SignalFlagsVar SignalFlags, ClassOffsetVar uint, AccumulatorVar *SignalAccumulator, AccuDataVar uintptr, CMarshallerVar SignalCMarshaller, ReturnTypeVar types.GType, NParamsVar uint, varArgs ...interface{}) uint {
576 577
577 cret := xSignalNew(SignalNameVar, ItypeVar, SignalFlagsVar, ClassOffsetVar, glib.NewCallback(AccumulatorVar), AccuDataVar, CMarshallerVar, ReturnTypeVar, NParamsVar, varArgs...)578 cret := xSignalNew(SignalNameVar, ItypeVar, SignalFlagsVar, ClassOffsetVar, glib.NewCallback(AccumulatorVar), AccuDataVar, CMarshallerVar, ReturnTypeVar, NParamsVar, varArgs...)
578 return cret579 return cret
579 }580 }
580 581
581-var xSignalNewClassHandler func(string, []interface{}, SignalFlags, uintptr, uintptr, uintptr, SignalCMarshaller, []interface{}, uint, ...interface{}) uint582+var xSignalNewClassHandler func(string, types.GType, SignalFlags, uintptr, uintptr, uintptr, SignalCMarshaller, types.GType, uint, ...interface{}) uint
582 583
583 // Creates a new signal. (This is usually done in the class initializer.)584 // Creates a new signal. (This is usually done in the class initializer.)
584 //585 //
@@ -596,13 +597,13 @@ var xSignalNewClassHandler func(string, []interface{}, SignalFlags, uintptr, uin
596 //597 //
597 // If c_marshaller is %NULL, g_cclosure_marshal_generic() will be used as598 // If c_marshaller is %NULL, g_cclosure_marshal_generic() will be used as
598 // the marshaller for this signal.599 // the marshaller for this signal.
599-func SignalNewClassHandler(SignalNameVar string, ItypeVar []interface{}, SignalFlagsVar SignalFlags, ClassHandlerVar *Callback, AccumulatorVar *SignalAccumulator, AccuDataVar uintptr, CMarshallerVar SignalCMarshaller, ReturnTypeVar []interface{}, NParamsVar uint, varArgs ...interface{}) uint {600+func SignalNewClassHandler(SignalNameVar string, ItypeVar types.GType, SignalFlagsVar SignalFlags, ClassHandlerVar *Callback, AccumulatorVar *SignalAccumulator, AccuDataVar uintptr, CMarshallerVar SignalCMarshaller, ReturnTypeVar types.GType, NParamsVar uint, varArgs ...interface{}) uint {
600 601
601 cret := xSignalNewClassHandler(SignalNameVar, ItypeVar, SignalFlagsVar, glib.NewCallback(ClassHandlerVar), glib.NewCallback(AccumulatorVar), AccuDataVar, CMarshallerVar, ReturnTypeVar, NParamsVar, varArgs...)602 cret := xSignalNewClassHandler(SignalNameVar, ItypeVar, SignalFlagsVar, glib.NewCallback(ClassHandlerVar), glib.NewCallback(AccumulatorVar), AccuDataVar, CMarshallerVar, ReturnTypeVar, NParamsVar, varArgs...)
602 return cret603 return cret
603 }604 }
604 605
605-var xSignalNewValist func(string, []interface{}, SignalFlags, *Closure, uintptr, uintptr, SignalCMarshaller, []interface{}, uint, []interface{}) uint606+var xSignalNewValist func(string, types.GType, SignalFlags, *Closure, uintptr, uintptr, SignalCMarshaller, types.GType, uint, []interface{}) uint
606 607
607 // Creates a new signal. (This is usually done in the class initializer.)608 // Creates a new signal. (This is usually done in the class initializer.)
608 //609 //
@@ -610,13 +611,13 @@ var xSignalNewValist func(string, []interface{}, SignalFlags, *Closure, uintptr,
610 //611 //
611 // If c_marshaller is %NULL, g_cclosure_marshal_generic() will be used as612 // If c_marshaller is %NULL, g_cclosure_marshal_generic() will be used as
612 // the marshaller for this signal.613 // the marshaller for this signal.
613-func SignalNewValist(SignalNameVar string, ItypeVar []interface{}, SignalFlagsVar SignalFlags, ClassClosureVar *Closure, AccumulatorVar *SignalAccumulator, AccuDataVar uintptr, CMarshallerVar SignalCMarshaller, ReturnTypeVar []interface{}, NParamsVar uint, ArgsVar []interface{}) uint {614+func SignalNewValist(SignalNameVar string, ItypeVar types.GType, SignalFlagsVar SignalFlags, ClassClosureVar *Closure, AccumulatorVar *SignalAccumulator, AccuDataVar uintptr, CMarshallerVar SignalCMarshaller, ReturnTypeVar types.GType, NParamsVar uint, ArgsVar []interface{}) uint {
614 615
615 cret := xSignalNewValist(SignalNameVar, ItypeVar, SignalFlagsVar, ClassClosureVar, glib.NewCallback(AccumulatorVar), AccuDataVar, CMarshallerVar, ReturnTypeVar, NParamsVar, ArgsVar)616 cret := xSignalNewValist(SignalNameVar, ItypeVar, SignalFlagsVar, ClassClosureVar, glib.NewCallback(AccumulatorVar), AccuDataVar, CMarshallerVar, ReturnTypeVar, NParamsVar, ArgsVar)
616 return cret617 return cret
617 }618 }
618 619
619-var xSignalNewv func(string, []interface{}, SignalFlags, *Closure, uintptr, uintptr, SignalCMarshaller, []interface{}, uint, uintptr) uint620+var xSignalNewv func(string, types.GType, SignalFlags, *Closure, uintptr, uintptr, SignalCMarshaller, types.GType, uint, []types.GType) uint
620 621
621 // Creates a new signal. (This is usually done in the class initializer.)622 // Creates a new signal. (This is usually done in the class initializer.)
622 //623 //
@@ -624,13 +625,13 @@ var xSignalNewv func(string, []interface{}, SignalFlags, *Closure, uintptr, uint
624 //625 //
625 // If c_marshaller is %NULL, g_cclosure_marshal_generic() will be used as626 // If c_marshaller is %NULL, g_cclosure_marshal_generic() will be used as
626 // the marshaller for this signal.627 // the marshaller for this signal.
627-func SignalNewv(SignalNameVar string, ItypeVar []interface{}, SignalFlagsVar SignalFlags, ClassClosureVar *Closure, AccumulatorVar *SignalAccumulator, AccuDataVar uintptr, CMarshallerVar SignalCMarshaller, ReturnTypeVar []interface{}, NParamsVar uint, ParamTypesVar uintptr) uint {628+func SignalNewv(SignalNameVar string, ItypeVar types.GType, SignalFlagsVar SignalFlags, ClassClosureVar *Closure, AccumulatorVar *SignalAccumulator, AccuDataVar uintptr, CMarshallerVar SignalCMarshaller, ReturnTypeVar types.GType, NParamsVar uint, ParamTypesVar []types.GType) uint {
628 629
629 cret := xSignalNewv(SignalNameVar, ItypeVar, SignalFlagsVar, ClassClosureVar, glib.NewCallback(AccumulatorVar), AccuDataVar, CMarshallerVar, ReturnTypeVar, NParamsVar, ParamTypesVar)630 cret := xSignalNewv(SignalNameVar, ItypeVar, SignalFlagsVar, ClassClosureVar, glib.NewCallback(AccumulatorVar), AccuDataVar, CMarshallerVar, ReturnTypeVar, NParamsVar, ParamTypesVar)
630 return cret631 return cret
631 }632 }
632 633
633-var xSignalOverrideClassClosure func(uint, []interface{}, *Closure)634+var xSignalOverrideClassClosure func(uint, types.GType, *Closure)
634 635
635 // Overrides the class closure (i.e. the default handler) for the given signal636 // Overrides the class closure (i.e. the default handler) for the given signal
636 // for emissions on instances of @instance_type. @instance_type must be derived637 // for emissions on instances of @instance_type. @instance_type must be derived
@@ -639,13 +640,13 @@ var xSignalOverrideClassClosure func(uint, []interface{}, *Closure)
639 // See g_signal_chain_from_overridden() and640 // See g_signal_chain_from_overridden() and
640 // g_signal_chain_from_overridden_handler() for how to chain up to the641 // g_signal_chain_from_overridden_handler() for how to chain up to the
641 // parent class closure from inside the overridden one.642 // parent class closure from inside the overridden one.
642-func SignalOverrideClassClosure(SignalIdVar uint, InstanceTypeVar []interface{}, ClassClosureVar *Closure) {643+func SignalOverrideClassClosure(SignalIdVar uint, InstanceTypeVar types.GType, ClassClosureVar *Closure) {
643 644
644 xSignalOverrideClassClosure(SignalIdVar, InstanceTypeVar, ClassClosureVar)645 xSignalOverrideClassClosure(SignalIdVar, InstanceTypeVar, ClassClosureVar)
645 646
646 }647 }
647 648
648-var xSignalOverrideClassHandler func(string, []interface{}, uintptr)649+var xSignalOverrideClassHandler func(string, types.GType, uintptr)
649 650
650 // Overrides the class closure (i.e. the default handler) for the651 // Overrides the class closure (i.e. the default handler) for the
651 // given signal for emissions on instances of @instance_type with652 // given signal for emissions on instances of @instance_type with
@@ -655,17 +656,17 @@ var xSignalOverrideClassHandler func(string, []interface{}, uintptr)
655 // See g_signal_chain_from_overridden() and656 // See g_signal_chain_from_overridden() and
656 // g_signal_chain_from_overridden_handler() for how to chain up to the657 // g_signal_chain_from_overridden_handler() for how to chain up to the
657 // parent class closure from inside the overridden one.658 // parent class closure from inside the overridden one.
658-func SignalOverrideClassHandler(SignalNameVar string, InstanceTypeVar []interface{}, ClassHandlerVar *Callback) {659+func SignalOverrideClassHandler(SignalNameVar string, InstanceTypeVar types.GType, ClassHandlerVar *Callback) {
659 660
660 xSignalOverrideClassHandler(SignalNameVar, InstanceTypeVar, glib.NewCallback(ClassHandlerVar))661 xSignalOverrideClassHandler(SignalNameVar, InstanceTypeVar, glib.NewCallback(ClassHandlerVar))
661 662
662 }663 }
663 664
664-var xSignalParseName func(string, []interface{}, uint, *glib.Quark, bool) bool665+var xSignalParseName func(string, types.GType, uint, *glib.Quark, bool) bool
665 666
666 // Internal function to parse a signal name into its @signal_id667 // Internal function to parse a signal name into its @signal_id
667 // and @detail quark.668 // and @detail quark.
668-func SignalParseName(DetailedSignalVar string, ItypeVar []interface{}, SignalIdPVar uint, DetailPVar *glib.Quark, ForceDetailQuarkVar bool) bool {669+func SignalParseName(DetailedSignalVar string, ItypeVar types.GType, SignalIdPVar uint, DetailPVar *glib.Quark, ForceDetailQuarkVar bool) bool {
669 670
670 cret := xSignalParseName(DetailedSignalVar, ItypeVar, SignalIdPVar, DetailPVar, ForceDetailQuarkVar)671 cret := xSignalParseName(DetailedSignalVar, ItypeVar, SignalIdPVar, DetailPVar, ForceDetailQuarkVar)
671 return cret672 return cret
@@ -694,13 +695,13 @@ func SignalRemoveEmissionHook(SignalIdVar uint, HookIdVar uint32) {
694 695
695 }696 }
696 697
697-var xSignalSetVaMarshaller func(uint, []interface{}, SignalCVaMarshaller)698+var xSignalSetVaMarshaller func(uint, types.GType, SignalCVaMarshaller)
698 699
699 // Change the #GSignalCVaMarshaller used for a given signal. This is a700 // Change the #GSignalCVaMarshaller used for a given signal. This is a
700 // specialised form of the marshaller that can often be used for the701 // specialised form of the marshaller that can often be used for the
701 // common case of a single connected signal handler and avoids the702 // common case of a single connected signal handler and avoids the
702 // overhead of #GValue. Its use is optional.703 // overhead of #GValue. Its use is optional.
703-func SignalSetVaMarshaller(SignalIdVar uint, InstanceTypeVar []interface{}, VaMarshallerVar SignalCVaMarshaller) {704+func SignalSetVaMarshaller(SignalIdVar uint, InstanceTypeVar types.GType, VaMarshallerVar SignalCVaMarshaller) {
704 705
705 xSignalSetVaMarshaller(SignalIdVar, InstanceTypeVar, VaMarshallerVar)706 xSignalSetVaMarshaller(SignalIdVar, InstanceTypeVar, VaMarshallerVar)
706 707
M v4/gobject/gtype.go +99 -98
@@ -7,6 +7,7 @@ import (
7 "github.com/jwijenbergh/purego"7 "github.com/jwijenbergh/purego"
8 "github.com/jwijenbergh/puregotk/internal/core"8 "github.com/jwijenbergh/puregotk/internal/core"
9 "github.com/jwijenbergh/puregotk/v4/glib"9 "github.com/jwijenbergh/puregotk/v4/glib"
10+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
10 )11 )
11 12
12 // A callback function used by the type system to finalize those portions13 // A callback function used by the type system to finalize those portions
@@ -220,7 +221,7 @@ func (x *InterfaceInfo) GoPointer() uintptr {
220 221
221 // An opaque structure used as the base of all classes.222 // An opaque structure used as the base of all classes.
222 type TypeClass struct {223 type TypeClass struct {
223- GType []interface{}224+ GType types.GType
224 }225 }
225 226
226 func (x *TypeClass) GoPointer() uintptr {227 func (x *TypeClass) GoPointer() uintptr {
@@ -317,9 +318,9 @@ func (x *TypeClass) GetInstancePrivateOffset() int {
317 return cret318 return cret
318 }319 }
319 320
320-var xTypeClassGetPrivate func(uintptr, []interface{}) uintptr321+var xTypeClassGetPrivate func(uintptr, types.GType) uintptr
321 322
322-func (x *TypeClass) GetPrivate(PrivateTypeVar []interface{}) uintptr {323+func (x *TypeClass) GetPrivate(PrivateTypeVar types.GType) uintptr {
323 324
324 cret := xTypeClassGetPrivate(x.GoPointer(), PrivateTypeVar)325 cret := xTypeClassGetPrivate(x.GoPointer(), PrivateTypeVar)
325 return cret326 return cret
@@ -419,9 +420,9 @@ func (x *TypeInstance) GoPointer() uintptr {
419 return uintptr(unsafe.Pointer(x))420 return uintptr(unsafe.Pointer(x))
420 }421 }
421 422
422-var xTypeInstanceGetPrivate func(uintptr, []interface{}) uintptr423+var xTypeInstanceGetPrivate func(uintptr, types.GType) uintptr
423 424
424-func (x *TypeInstance) GetPrivate(PrivateTypeVar []interface{}) uintptr {425+func (x *TypeInstance) GetPrivate(PrivateTypeVar types.GType) uintptr {
425 426
426 cret := xTypeInstanceGetPrivate(x.GoPointer(), PrivateTypeVar)427 cret := xTypeInstanceGetPrivate(x.GoPointer(), PrivateTypeVar)
427 return cret428 return cret
@@ -429,9 +430,9 @@ func (x *TypeInstance) GetPrivate(PrivateTypeVar []interface{}) uintptr {
429 430
430 // An opaque structure used as the base of all interface types.431 // An opaque structure used as the base of all interface types.
431 type TypeInterface struct {432 type TypeInterface struct {
432- GType []interface{}433+ GType types.GType
433 434
434- GInstanceType []interface{}435+ GInstanceType types.GType
435 }436 }
436 437
437 func (x *TypeInterface) GoPointer() uintptr {438 func (x *TypeInterface) GoPointer() uintptr {
@@ -454,7 +455,7 @@ func (x *TypeInterface) PeekParent() *TypeInterface {
454 //455 //
455 // See also: g_type_query()456 // See also: g_type_query()
456 type TypeQuery struct {457 type TypeQuery struct {
457- Type []interface{}458+ Type types.GType
458 459
459 TypeName uintptr460 TypeName uintptr
460 461
@@ -577,7 +578,7 @@ func TypeAddClassCacheFunc(CacheDataVar uintptr, CacheFuncVar *TypeClassCacheFun
577 578
578 }579 }
579 580
580-var xTypeAddClassPrivate func([]interface{}, uint)581+var xTypeAddClassPrivate func(types.GType, uint)
581 582
582 // Registers a private class structure for a classed type;583 // Registers a private class structure for a classed type;
583 // when the class is allocated, the private structures for584 // when the class is allocated, the private structures for
@@ -589,15 +590,15 @@ var xTypeAddClassPrivate func([]interface{}, uint)
589 // type's get_type() function after the type is registered.590 // type's get_type() function after the type is registered.
590 // The private structure can be retrieved using the591 // The private structure can be retrieved using the
591 // G_TYPE_CLASS_GET_PRIVATE() macro.592 // G_TYPE_CLASS_GET_PRIVATE() macro.
592-func TypeAddClassPrivate(ClassTypeVar []interface{}, PrivateSizeVar uint) {593+func TypeAddClassPrivate(ClassTypeVar types.GType, PrivateSizeVar uint) {
593 594
594 xTypeAddClassPrivate(ClassTypeVar, PrivateSizeVar)595 xTypeAddClassPrivate(ClassTypeVar, PrivateSizeVar)
595 596
596 }597 }
597 598
598-var xTypeAddInstancePrivate func([]interface{}, uint) int599+var xTypeAddInstancePrivate func(types.GType, uint) int
599 600
600-func TypeAddInstancePrivate(ClassTypeVar []interface{}, PrivateSizeVar uint) int {601+func TypeAddInstancePrivate(ClassTypeVar types.GType, PrivateSizeVar uint) int {
601 602
602 cret := xTypeAddInstancePrivate(ClassTypeVar, PrivateSizeVar)603 cret := xTypeAddInstancePrivate(ClassTypeVar, PrivateSizeVar)
603 return cret604 return cret
@@ -620,39 +621,39 @@ func TypeAddInterfaceCheck(CheckDataVar uintptr, CheckFuncVar *TypeInterfaceChec
620 621
621 }622 }
622 623
623-var xTypeAddInterfaceDynamic func([]interface{}, []interface{}, uintptr)624+var xTypeAddInterfaceDynamic func(types.GType, types.GType, uintptr)
624 625
625 // Adds @interface_type to the dynamic @instance_type. The information626 // Adds @interface_type to the dynamic @instance_type. The information
626 // contained in the #GTypePlugin structure pointed to by @plugin627 // contained in the #GTypePlugin structure pointed to by @plugin
627 // is used to manage the relationship.628 // is used to manage the relationship.
628-func TypeAddInterfaceDynamic(InstanceTypeVar []interface{}, InterfaceTypeVar []interface{}, PluginVar TypePlugin) {629+func TypeAddInterfaceDynamic(InstanceTypeVar types.GType, InterfaceTypeVar types.GType, PluginVar TypePlugin) {
629 630
630 xTypeAddInterfaceDynamic(InstanceTypeVar, InterfaceTypeVar, PluginVar.GoPointer())631 xTypeAddInterfaceDynamic(InstanceTypeVar, InterfaceTypeVar, PluginVar.GoPointer())
631 632
632 }633 }
633 634
634-var xTypeAddInterfaceStatic func([]interface{}, []interface{}, *InterfaceInfo)635+var xTypeAddInterfaceStatic func(types.GType, types.GType, *InterfaceInfo)
635 636
636 // Adds @interface_type to the static @instance_type.637 // Adds @interface_type to the static @instance_type.
637 // The information contained in the #GInterfaceInfo structure638 // The information contained in the #GInterfaceInfo structure
638 // pointed to by @info is used to manage the relationship.639 // pointed to by @info is used to manage the relationship.
639-func TypeAddInterfaceStatic(InstanceTypeVar []interface{}, InterfaceTypeVar []interface{}, InfoVar *InterfaceInfo) {640+func TypeAddInterfaceStatic(InstanceTypeVar types.GType, InterfaceTypeVar types.GType, InfoVar *InterfaceInfo) {
640 641
641 xTypeAddInterfaceStatic(InstanceTypeVar, InterfaceTypeVar, InfoVar)642 xTypeAddInterfaceStatic(InstanceTypeVar, InterfaceTypeVar, InfoVar)
642 643
643 }644 }
644 645
645-var xTypeCheckClassCast func(*TypeClass, []interface{}) *TypeClass646+var xTypeCheckClassCast func(*TypeClass, types.GType) *TypeClass
646 647
647-func TypeCheckClassCast(GClassVar *TypeClass, IsATypeVar []interface{}) *TypeClass {648+func TypeCheckClassCast(GClassVar *TypeClass, IsATypeVar types.GType) *TypeClass {
648 649
649 cret := xTypeCheckClassCast(GClassVar, IsATypeVar)650 cret := xTypeCheckClassCast(GClassVar, IsATypeVar)
650 return cret651 return cret
651 }652 }
652 653
653-var xTypeCheckClassIsA func(*TypeClass, []interface{}) bool654+var xTypeCheckClassIsA func(*TypeClass, types.GType) bool
654 655
655-func TypeCheckClassIsA(GClassVar *TypeClass, IsATypeVar []interface{}) bool {656+func TypeCheckClassIsA(GClassVar *TypeClass, IsATypeVar types.GType) bool {
656 657
657 cret := xTypeCheckClassIsA(GClassVar, IsATypeVar)658 cret := xTypeCheckClassIsA(GClassVar, IsATypeVar)
658 return cret659 return cret
@@ -668,33 +669,33 @@ func TypeCheckInstance(InstanceVar *TypeInstance) bool {
668 return cret669 return cret
669 }670 }
670 671
671-var xTypeCheckInstanceCast func(*TypeInstance, []interface{}) *TypeInstance672+var xTypeCheckInstanceCast func(*TypeInstance, types.GType) *TypeInstance
672 673
673-func TypeCheckInstanceCast(InstanceVar *TypeInstance, IfaceTypeVar []interface{}) *TypeInstance {674+func TypeCheckInstanceCast(InstanceVar *TypeInstance, IfaceTypeVar types.GType) *TypeInstance {
674 675
675 cret := xTypeCheckInstanceCast(InstanceVar, IfaceTypeVar)676 cret := xTypeCheckInstanceCast(InstanceVar, IfaceTypeVar)
676 return cret677 return cret
677 }678 }
678 679
679-var xTypeCheckInstanceIsA func(*TypeInstance, []interface{}) bool680+var xTypeCheckInstanceIsA func(*TypeInstance, types.GType) bool
680 681
681-func TypeCheckInstanceIsA(InstanceVar *TypeInstance, IfaceTypeVar []interface{}) bool {682+func TypeCheckInstanceIsA(InstanceVar *TypeInstance, IfaceTypeVar types.GType) bool {
682 683
683 cret := xTypeCheckInstanceIsA(InstanceVar, IfaceTypeVar)684 cret := xTypeCheckInstanceIsA(InstanceVar, IfaceTypeVar)
684 return cret685 return cret
685 }686 }
686 687
687-var xTypeCheckInstanceIsFundamentallyA func(*TypeInstance, []interface{}) bool688+var xTypeCheckInstanceIsFundamentallyA func(*TypeInstance, types.GType) bool
688 689
689-func TypeCheckInstanceIsFundamentallyA(InstanceVar *TypeInstance, FundamentalTypeVar []interface{}) bool {690+func TypeCheckInstanceIsFundamentallyA(InstanceVar *TypeInstance, FundamentalTypeVar types.GType) bool {
690 691
691 cret := xTypeCheckInstanceIsFundamentallyA(InstanceVar, FundamentalTypeVar)692 cret := xTypeCheckInstanceIsFundamentallyA(InstanceVar, FundamentalTypeVar)
692 return cret693 return cret
693 }694 }
694 695
695-var xTypeCheckIsValueType func([]interface{}) bool696+var xTypeCheckIsValueType func(types.GType) bool
696 697
697-func TypeCheckIsValueType(TypeVar []interface{}) bool {698+func TypeCheckIsValueType(TypeVar types.GType) bool {
698 699
699 cret := xTypeCheckIsValueType(TypeVar)700 cret := xTypeCheckIsValueType(TypeVar)
700 return cret701 return cret
@@ -708,19 +709,19 @@ func TypeCheckValue(ValueVar *Value) bool {
708 return cret709 return cret
709 }710 }
710 711
711-var xTypeCheckValueHolds func(*Value, []interface{}) bool712+var xTypeCheckValueHolds func(*Value, types.GType) bool
712 713
713-func TypeCheckValueHolds(ValueVar *Value, TypeVar []interface{}) bool {714+func TypeCheckValueHolds(ValueVar *Value, TypeVar types.GType) bool {
714 715
715 cret := xTypeCheckValueHolds(ValueVar, TypeVar)716 cret := xTypeCheckValueHolds(ValueVar, TypeVar)
716 return cret717 return cret
717 }718 }
718 719
719-var xTypeChildren func([]interface{}, uint) uintptr720+var xTypeChildren func(types.GType, uint) []types.GType
720 721
721 // Return a newly allocated and 0-terminated array of type IDs, listing722 // Return a newly allocated and 0-terminated array of type IDs, listing
722 // the child types of @type.723 // the child types of @type.
723-func TypeChildren(TypeVar []interface{}, NChildrenVar uint) uintptr {724+func TypeChildren(TypeVar types.GType, NChildrenVar uint) []types.GType {
724 725
725 cret := xTypeChildren(TypeVar, NChildrenVar)726 cret := xTypeChildren(TypeVar, NChildrenVar)
726 return cret727 return cret
@@ -734,41 +735,41 @@ func TypeClassAdjustPrivateOffset(GClassVar uintptr, PrivateSizeOrOffsetVar int)
734 735
735 }736 }
736 737
737-var xTypeClassPeek func([]interface{}) *TypeClass738+var xTypeClassPeek func(types.GType) *TypeClass
738 739
739 // This function is essentially the same as g_type_class_ref(),740 // This function is essentially the same as g_type_class_ref(),
740 // except that the classes reference count isn't incremented.741 // except that the classes reference count isn't incremented.
741 // As a consequence, this function may return %NULL if the class742 // As a consequence, this function may return %NULL if the class
742 // of the type passed in does not currently exist (hasn't been743 // of the type passed in does not currently exist (hasn't been
743 // referenced before).744 // referenced before).
744-func TypeClassPeek(TypeVar []interface{}) *TypeClass {745+func TypeClassPeek(TypeVar types.GType) *TypeClass {
745 746
746 cret := xTypeClassPeek(TypeVar)747 cret := xTypeClassPeek(TypeVar)
747 return cret748 return cret
748 }749 }
749 750
750-var xTypeClassPeekStatic func([]interface{}) *TypeClass751+var xTypeClassPeekStatic func(types.GType) *TypeClass
751 752
752 // A more efficient version of g_type_class_peek() which works only for753 // A more efficient version of g_type_class_peek() which works only for
753 // static types.754 // static types.
754-func TypeClassPeekStatic(TypeVar []interface{}) *TypeClass {755+func TypeClassPeekStatic(TypeVar types.GType) *TypeClass {
755 756
756 cret := xTypeClassPeekStatic(TypeVar)757 cret := xTypeClassPeekStatic(TypeVar)
757 return cret758 return cret
758 }759 }
759 760
760-var xTypeClassRef func([]interface{}) *TypeClass761+var xTypeClassRef func(types.GType) *TypeClass
761 762
762 // Increments the reference count of the class structure belonging to763 // Increments the reference count of the class structure belonging to
763 // @type. This function will demand-create the class if it doesn't764 // @type. This function will demand-create the class if it doesn't
764 // exist already.765 // exist already.
765-func TypeClassRef(TypeVar []interface{}) *TypeClass {766+func TypeClassRef(TypeVar types.GType) *TypeClass {
766 767
767 cret := xTypeClassRef(TypeVar)768 cret := xTypeClassRef(TypeVar)
768 return cret769 return cret
769 }770 }
770 771
771-var xTypeCreateInstance func([]interface{}) *TypeInstance772+var xTypeCreateInstance func(types.GType) *TypeInstance
772 773
773 // Creates and initializes an instance of @type if @type is valid and774 // Creates and initializes an instance of @type if @type is valid and
774 // can be instantiated. The type system only performs basic allocation775 // can be instantiated. The type system only performs basic allocation
@@ -786,23 +787,23 @@ var xTypeCreateInstance func([]interface{}) *TypeInstance
786 // Note: Do not use this function, unless you're implementing a787 // Note: Do not use this function, unless you're implementing a
787 // fundamental type. Also language bindings should not use this788 // fundamental type. Also language bindings should not use this
788 // function, but g_object_new() instead.789 // function, but g_object_new() instead.
789-func TypeCreateInstance(TypeVar []interface{}) *TypeInstance {790+func TypeCreateInstance(TypeVar types.GType) *TypeInstance {
790 791
791 cret := xTypeCreateInstance(TypeVar)792 cret := xTypeCreateInstance(TypeVar)
792 return cret793 return cret
793 }794 }
794 795
795-var xTypeDefaultInterfacePeek func([]interface{}) *TypeInterface796+var xTypeDefaultInterfacePeek func(types.GType) *TypeInterface
796 797
797 // If the interface type @g_type is currently in use, returns its798 // If the interface type @g_type is currently in use, returns its
798 // default interface vtable.799 // default interface vtable.
799-func TypeDefaultInterfacePeek(GTypeVar []interface{}) *TypeInterface {800+func TypeDefaultInterfacePeek(GTypeVar types.GType) *TypeInterface {
800 801
801 cret := xTypeDefaultInterfacePeek(GTypeVar)802 cret := xTypeDefaultInterfacePeek(GTypeVar)
802 return cret803 return cret
803 }804 }
804 805
805-var xTypeDefaultInterfaceRef func([]interface{}) *TypeInterface806+var xTypeDefaultInterfaceRef func(types.GType) *TypeInterface
806 807
807 // Increments the reference count for the interface type @g_type,808 // Increments the reference count for the interface type @g_type,
808 // and returns the default interface vtable for the type.809 // and returns the default interface vtable for the type.
@@ -814,7 +815,7 @@ var xTypeDefaultInterfaceRef func([]interface{}) *TypeInterface
814 // Calling g_type_default_interface_ref() is useful when you815 // Calling g_type_default_interface_ref() is useful when you
815 // want to make sure that signals and properties for an interface816 // want to make sure that signals and properties for an interface
816 // have been installed.817 // have been installed.
817-func TypeDefaultInterfaceRef(GTypeVar []interface{}) *TypeInterface {818+func TypeDefaultInterfaceRef(GTypeVar types.GType) *TypeInterface {
818 819
819 cret := xTypeDefaultInterfaceRef(GTypeVar)820 cret := xTypeDefaultInterfaceRef(GTypeVar)
820 return cret821 return cret
@@ -833,17 +834,17 @@ func TypeDefaultInterfaceUnref(GIfaceVar *TypeInterface) {
833 834
834 }835 }
835 836
836-var xTypeDepth func([]interface{}) uint837+var xTypeDepth func(types.GType) uint
837 838
838 // Returns the length of the ancestry of the passed in type. This839 // Returns the length of the ancestry of the passed in type. This
839 // includes the type itself, so that e.g. a fundamental type has depth 1.840 // includes the type itself, so that e.g. a fundamental type has depth 1.
840-func TypeDepth(TypeVar []interface{}) uint {841+func TypeDepth(TypeVar types.GType) uint {
841 842
842 cret := xTypeDepth(TypeVar)843 cret := xTypeDepth(TypeVar)
843 return cret844 return cret
844 }845 }
845 846
846-var xTypeEnsure func([]interface{})847+var xTypeEnsure func(types.GType)
847 848
848 // Ensures that the indicated @type has been registered with the849 // Ensures that the indicated @type has been registered with the
849 // type system, and its _class_init() method has been run.850 // type system, and its _class_init() method has been run.
@@ -857,7 +858,7 @@ var xTypeEnsure func([]interface{})
857 // you write a bare call to a _get_type() macro, it may get optimized858 // you write a bare call to a _get_type() macro, it may get optimized
858 // out by the compiler. Using g_type_ensure() guarantees that the859 // out by the compiler. Using g_type_ensure() guarantees that the
859 // type's _get_type() method is called.860 // type's _get_type() method is called.
860-func TypeEnsure(TypeVar []interface{}) {861+func TypeEnsure(TypeVar types.GType) {
861 862
862 xTypeEnsure(TypeVar)863 xTypeEnsure(TypeVar)
863 864
@@ -876,56 +877,56 @@ func TypeFreeInstance(InstanceVar *TypeInstance) {
876 877
877 }878 }
878 879
879-var xTypeFromName func(string) []interface{}880+var xTypeFromName func(string) types.GType
880 881
881 // Look up the type ID from a given type name, returning 0 if no type882 // Look up the type ID from a given type name, returning 0 if no type
882 // has been registered under this name (this is the preferred method883 // has been registered under this name (this is the preferred method
883 // to find out by name whether a specific type has been registered884 // to find out by name whether a specific type has been registered
884 // yet).885 // yet).
885-func TypeFromName(NameVar string) []interface{} {886+func TypeFromName(NameVar string) types.GType {
886 887
887 cret := xTypeFromName(NameVar)888 cret := xTypeFromName(NameVar)
888 return cret889 return cret
889 }890 }
890 891
891-var xTypeFundamental func([]interface{}) []interface{}892+var xTypeFundamental func(types.GType) types.GType
892 893
893 // Internal function, used to extract the fundamental type ID portion.894 // Internal function, used to extract the fundamental type ID portion.
894 // Use G_TYPE_FUNDAMENTAL() instead.895 // Use G_TYPE_FUNDAMENTAL() instead.
895-func TypeFundamental(TypeIdVar []interface{}) []interface{} {896+func TypeFundamental(TypeIdVar types.GType) types.GType {
896 897
897 cret := xTypeFundamental(TypeIdVar)898 cret := xTypeFundamental(TypeIdVar)
898 return cret899 return cret
899 }900 }
900 901
901-var xTypeFundamentalNext func() []interface{}902+var xTypeFundamentalNext func() types.GType
902 903
903 // Returns the next free fundamental type id which can be used to904 // Returns the next free fundamental type id which can be used to
904 // register a new fundamental type with g_type_register_fundamental().905 // register a new fundamental type with g_type_register_fundamental().
905 // The returned type ID represents the highest currently registered906 // The returned type ID represents the highest currently registered
906 // fundamental type identifier.907 // fundamental type identifier.
907-func TypeFundamentalNext() []interface{} {908+func TypeFundamentalNext() types.GType {
908 909
909 cret := xTypeFundamentalNext()910 cret := xTypeFundamentalNext()
910 return cret911 return cret
911 }912 }
912 913
913-var xTypeGetInstanceCount func([]interface{}) int914+var xTypeGetInstanceCount func(types.GType) int
914 915
915 // Returns the number of instances allocated of the particular type;916 // Returns the number of instances allocated of the particular type;
916 // this is only available if GLib is built with debugging support and917 // this is only available if GLib is built with debugging support and
917 // the instance_count debug flag is set (by setting the GOBJECT_DEBUG918 // the instance_count debug flag is set (by setting the GOBJECT_DEBUG
918 // variable to include instance-count).919 // variable to include instance-count).
919-func TypeGetInstanceCount(TypeVar []interface{}) int {920+func TypeGetInstanceCount(TypeVar types.GType) int {
920 921
921 cret := xTypeGetInstanceCount(TypeVar)922 cret := xTypeGetInstanceCount(TypeVar)
922 return cret923 return cret
923 }924 }
924 925
925-var xTypeGetPlugin func([]interface{}) uintptr926+var xTypeGetPlugin func(types.GType) uintptr
926 927
927 // Returns the #GTypePlugin structure for @type.928 // Returns the #GTypePlugin structure for @type.
928-func TypeGetPlugin(TypeVar []interface{}) *TypePluginBase {929+func TypeGetPlugin(TypeVar types.GType) *TypePluginBase {
929 var cls *TypePluginBase930 var cls *TypePluginBase
930 931
931 cret := xTypeGetPlugin(TypeVar)932 cret := xTypeGetPlugin(TypeVar)
@@ -939,7 +940,7 @@ func TypeGetPlugin(TypeVar []interface{}) *TypePluginBase {
939 return cls940 return cls
940 }941 }
941 942
942-var xTypeGetQdata func([]interface{}, glib.Quark) uintptr943+var xTypeGetQdata func(types.GType, glib.Quark) uintptr
943 944
944 // Obtains data which has previously been attached to @type945 // Obtains data which has previously been attached to @type
945 // with g_type_set_qdata().946 // with g_type_set_qdata().
@@ -947,7 +948,7 @@ var xTypeGetQdata func([]interface{}, glib.Quark) uintptr
947 // Note that this does not take subtyping into account; data948 // Note that this does not take subtyping into account; data
948 // attached to one type with g_type_set_qdata() cannot949 // attached to one type with g_type_set_qdata() cannot
949 // be retrieved from a subtype using g_type_get_qdata().950 // be retrieved from a subtype using g_type_get_qdata().
950-func TypeGetQdata(TypeVar []interface{}, QuarkVar glib.Quark) uintptr {951+func TypeGetQdata(TypeVar types.GType, QuarkVar glib.Quark) uintptr {
951 952
952 cret := xTypeGetQdata(TypeVar, QuarkVar)953 cret := xTypeGetQdata(TypeVar, QuarkVar)
953 return cret954 return cret
@@ -991,26 +992,26 @@ func TypeInitWithDebugFlags(DebugFlagsVar TypeDebugFlags) {
991 992
992 }993 }
993 994
994-var xTypeInterfaceAddPrerequisite func([]interface{}, []interface{})995+var xTypeInterfaceAddPrerequisite func(types.GType, types.GType)
995 996
996 // Adds @prerequisite_type to the list of prerequisites of @interface_type.997 // Adds @prerequisite_type to the list of prerequisites of @interface_type.
997 // This means that any type implementing @interface_type must also implement998 // This means that any type implementing @interface_type must also implement
998 // @prerequisite_type. Prerequisites can be thought of as an alternative to999 // @prerequisite_type. Prerequisites can be thought of as an alternative to
999 // interface derivation (which GType doesn't support). An interface can have1000 // interface derivation (which GType doesn't support). An interface can have
1000 // at most one instantiatable prerequisite type.1001 // at most one instantiatable prerequisite type.
1001-func TypeInterfaceAddPrerequisite(InterfaceTypeVar []interface{}, PrerequisiteTypeVar []interface{}) {1002+func TypeInterfaceAddPrerequisite(InterfaceTypeVar types.GType, PrerequisiteTypeVar types.GType) {
1002 1003
1003 xTypeInterfaceAddPrerequisite(InterfaceTypeVar, PrerequisiteTypeVar)1004 xTypeInterfaceAddPrerequisite(InterfaceTypeVar, PrerequisiteTypeVar)
1004 1005
1005 }1006 }
1006 1007
1007-var xTypeInterfaceGetPlugin func([]interface{}, []interface{}) uintptr1008+var xTypeInterfaceGetPlugin func(types.GType, types.GType) uintptr
1008 1009
1009 // Returns the #GTypePlugin structure for the dynamic interface1010 // Returns the #GTypePlugin structure for the dynamic interface
1010 // @interface_type which has been added to @instance_type, or %NULL1011 // @interface_type which has been added to @instance_type, or %NULL
1011 // if @interface_type has not been added to @instance_type or does1012 // if @interface_type has not been added to @instance_type or does
1012 // not have a #GTypePlugin structure. See g_type_add_interface_dynamic().1013 // not have a #GTypePlugin structure. See g_type_add_interface_dynamic().
1013-func TypeInterfaceGetPlugin(InstanceTypeVar []interface{}, InterfaceTypeVar []interface{}) *TypePluginBase {1014+func TypeInterfaceGetPlugin(InstanceTypeVar types.GType, InterfaceTypeVar types.GType) *TypePluginBase {
1014 var cls *TypePluginBase1015 var cls *TypePluginBase
1015 1016
1016 cret := xTypeInterfaceGetPlugin(InstanceTypeVar, InterfaceTypeVar)1017 cret := xTypeInterfaceGetPlugin(InstanceTypeVar, InterfaceTypeVar)
@@ -1024,7 +1025,7 @@ func TypeInterfaceGetPlugin(InstanceTypeVar []interface{}, InterfaceTypeVar []in
1024 return cls1025 return cls
1025 }1026 }
1026 1027
1027-var xTypeInterfaceInstantiatablePrerequisite func([]interface{}) []interface{}1028+var xTypeInterfaceInstantiatablePrerequisite func(types.GType) types.GType
1028 1029
1029 // Returns the most specific instantiatable prerequisite of an1030 // Returns the most specific instantiatable prerequisite of an
1030 // interface type. If the interface type has no instantiatable1031 // interface type. If the interface type has no instantiatable
@@ -1032,60 +1033,60 @@ var xTypeInterfaceInstantiatablePrerequisite func([]interface{}) []interface{}
1032 //1033 //
1033 // See g_type_interface_add_prerequisite() for more information1034 // See g_type_interface_add_prerequisite() for more information
1034 // about prerequisites.1035 // about prerequisites.
1035-func TypeInterfaceInstantiatablePrerequisite(InterfaceTypeVar []interface{}) []interface{} {1036+func TypeInterfaceInstantiatablePrerequisite(InterfaceTypeVar types.GType) types.GType {
1036 1037
1037 cret := xTypeInterfaceInstantiatablePrerequisite(InterfaceTypeVar)1038 cret := xTypeInterfaceInstantiatablePrerequisite(InterfaceTypeVar)
1038 return cret1039 return cret
1039 }1040 }
1040 1041
1041-var xTypeInterfacePeek func(*TypeClass, []interface{}) *TypeInterface1042+var xTypeInterfacePeek func(*TypeClass, types.GType) *TypeInterface
1042 1043
1043 // Returns the #GTypeInterface structure of an interface to which the1044 // Returns the #GTypeInterface structure of an interface to which the
1044 // passed in class conforms.1045 // passed in class conforms.
1045-func TypeInterfacePeek(InstanceClassVar *TypeClass, IfaceTypeVar []interface{}) *TypeInterface {1046+func TypeInterfacePeek(InstanceClassVar *TypeClass, IfaceTypeVar types.GType) *TypeInterface {
1046 1047
1047 cret := xTypeInterfacePeek(InstanceClassVar, IfaceTypeVar)1048 cret := xTypeInterfacePeek(InstanceClassVar, IfaceTypeVar)
1048 return cret1049 return cret
1049 }1050 }
1050 1051
1051-var xTypeInterfacePrerequisites func([]interface{}, uint) uintptr1052+var xTypeInterfacePrerequisites func(types.GType, uint) []types.GType
1052 1053
1053 // Returns the prerequisites of an interfaces type.1054 // Returns the prerequisites of an interfaces type.
1054-func TypeInterfacePrerequisites(InterfaceTypeVar []interface{}, NPrerequisitesVar uint) uintptr {1055+func TypeInterfacePrerequisites(InterfaceTypeVar types.GType, NPrerequisitesVar uint) []types.GType {
1055 1056
1056 cret := xTypeInterfacePrerequisites(InterfaceTypeVar, NPrerequisitesVar)1057 cret := xTypeInterfacePrerequisites(InterfaceTypeVar, NPrerequisitesVar)
1057 return cret1058 return cret
1058 }1059 }
1059 1060
1060-var xTypeInterfaces func([]interface{}, uint) uintptr1061+var xTypeInterfaces func(types.GType, uint) []types.GType
1061 1062
1062 // Return a newly allocated and 0-terminated array of type IDs, listing1063 // Return a newly allocated and 0-terminated array of type IDs, listing
1063 // the interface types that @type conforms to.1064 // the interface types that @type conforms to.
1064-func TypeInterfaces(TypeVar []interface{}, NInterfacesVar uint) uintptr {1065+func TypeInterfaces(TypeVar types.GType, NInterfacesVar uint) []types.GType {
1065 1066
1066 cret := xTypeInterfaces(TypeVar, NInterfacesVar)1067 cret := xTypeInterfaces(TypeVar, NInterfacesVar)
1067 return cret1068 return cret
1068 }1069 }
1069 1070
1070-var xTypeIsA func([]interface{}, []interface{}) bool1071+var xTypeIsA func(types.GType, types.GType) bool
1071 1072
1072 // If @is_a_type is a derivable type, check whether @type is a1073 // If @is_a_type is a derivable type, check whether @type is a
1073 // descendant of @is_a_type. If @is_a_type is an interface, check1074 // descendant of @is_a_type. If @is_a_type is an interface, check
1074 // whether @type conforms to it.1075 // whether @type conforms to it.
1075-func TypeIsA(TypeVar []interface{}, IsATypeVar []interface{}) bool {1076+func TypeIsA(TypeVar types.GType, IsATypeVar types.GType) bool {
1076 1077
1077 cret := xTypeIsA(TypeVar, IsATypeVar)1078 cret := xTypeIsA(TypeVar, IsATypeVar)
1078 return cret1079 return cret
1079 }1080 }
1080 1081
1081-var xTypeName func([]interface{}) string1082+var xTypeName func(types.GType) string
1082 1083
1083 // Get the unique name that is assigned to a type ID. Note that this1084 // Get the unique name that is assigned to a type ID. Note that this
1084 // function (like all other GType API) cannot cope with invalid type1085 // function (like all other GType API) cannot cope with invalid type
1085 // IDs. %G_TYPE_INVALID may be passed to this function, as may be any1086 // IDs. %G_TYPE_INVALID may be passed to this function, as may be any
1086 // other validly registered type ID, but randomized type IDs should1087 // other validly registered type ID, but randomized type IDs should
1087 // not be passed in and will most likely lead to a crash.1088 // not be passed in and will most likely lead to a crash.
1088-func TypeName(TypeVar []interface{}) string {1089+func TypeName(TypeVar types.GType) string {
1089 1090
1090 cret := xTypeName(TypeVar)1091 cret := xTypeName(TypeVar)
1091 return cret1092 return cret
@@ -1107,7 +1108,7 @@ func TypeNameFromInstance(InstanceVar *TypeInstance) string {
1107 return cret1108 return cret
1108 }1109 }
1109 1110
1110-var xTypeNextBase func([]interface{}, []interface{}) []interface{}1111+var xTypeNextBase func(types.GType, types.GType) types.GType
1111 1112
1112 // Given a @leaf_type and a @root_type which is contained in its1113 // Given a @leaf_type and a @root_type which is contained in its
1113 // ancestry, return the type that @root_type is the immediate parent1114 // ancestry, return the type that @root_type is the immediate parent
@@ -1116,32 +1117,32 @@ var xTypeNextBase func([]interface{}, []interface{}) []interface{}
1116 // @leaf_type. Given a root type and a leaf type, this function can1117 // @leaf_type. Given a root type and a leaf type, this function can
1117 // be used to determine the types and order in which the leaf type is1118 // be used to determine the types and order in which the leaf type is
1118 // descended from the root type.1119 // descended from the root type.
1119-func TypeNextBase(LeafTypeVar []interface{}, RootTypeVar []interface{}) []interface{} {1120+func TypeNextBase(LeafTypeVar types.GType, RootTypeVar types.GType) types.GType {
1120 1121
1121 cret := xTypeNextBase(LeafTypeVar, RootTypeVar)1122 cret := xTypeNextBase(LeafTypeVar, RootTypeVar)
1122 return cret1123 return cret
1123 }1124 }
1124 1125
1125-var xTypeParent func([]interface{}) []interface{}1126+var xTypeParent func(types.GType) types.GType
1126 1127
1127 // Return the direct parent type of the passed in type. If the passed1128 // Return the direct parent type of the passed in type. If the passed
1128 // in type has no parent, i.e. is a fundamental type, 0 is returned.1129 // in type has no parent, i.e. is a fundamental type, 0 is returned.
1129-func TypeParent(TypeVar []interface{}) []interface{} {1130+func TypeParent(TypeVar types.GType) types.GType {
1130 1131
1131 cret := xTypeParent(TypeVar)1132 cret := xTypeParent(TypeVar)
1132 return cret1133 return cret
1133 }1134 }
1134 1135
1135-var xTypeQname func([]interface{}) glib.Quark1136+var xTypeQname func(types.GType) glib.Quark
1136 1137
1137 // Get the corresponding quark of the type IDs name.1138 // Get the corresponding quark of the type IDs name.
1138-func TypeQname(TypeVar []interface{}) glib.Quark {1139+func TypeQname(TypeVar types.GType) glib.Quark {
1139 1140
1140 cret := xTypeQname(TypeVar)1141 cret := xTypeQname(TypeVar)
1141 return cret1142 return cret
1142 }1143 }
1143 1144
1144-var xNewTypeQuery func([]interface{}, *TypeQuery)1145+var xNewTypeQuery func(types.GType, *TypeQuery)
1145 1146
1146 // Queries the type system for information about a specific type.1147 // Queries the type system for information about a specific type.
1147 // This function will fill in a user-provided structure to hold1148 // This function will fill in a user-provided structure to hold
@@ -1149,26 +1150,26 @@ var xNewTypeQuery func([]interface{}, *TypeQuery)
1149 // @type member of the #GTypeQuery is 0. All members filled into the1150 // @type member of the #GTypeQuery is 0. All members filled into the
1150 // #GTypeQuery structure should be considered constant and have to be1151 // #GTypeQuery structure should be considered constant and have to be
1151 // left untouched.1152 // left untouched.
1152-func NewTypeQuery(TypeVar []interface{}, QueryVar *TypeQuery) {1153+func NewTypeQuery(TypeVar types.GType, QueryVar *TypeQuery) {
1153 1154
1154 xNewTypeQuery(TypeVar, QueryVar)1155 xNewTypeQuery(TypeVar, QueryVar)
1155 1156
1156 }1157 }
1157 1158
1158-var xTypeRegisterDynamic func([]interface{}, string, uintptr, TypeFlags) []interface{}1159+var xTypeRegisterDynamic func(types.GType, string, uintptr, TypeFlags) types.GType
1159 1160
1160 // Registers @type_name as the name of a new dynamic type derived from1161 // Registers @type_name as the name of a new dynamic type derived from
1161 // @parent_type. The type system uses the information contained in the1162 // @parent_type. The type system uses the information contained in the
1162 // #GTypePlugin structure pointed to by @plugin to manage the type and its1163 // #GTypePlugin structure pointed to by @plugin to manage the type and its
1163 // instances (if not abstract). The value of @flags determines the nature1164 // instances (if not abstract). The value of @flags determines the nature
1164 // (e.g. abstract or not) of the type.1165 // (e.g. abstract or not) of the type.
1165-func TypeRegisterDynamic(ParentTypeVar []interface{}, TypeNameVar string, PluginVar TypePlugin, FlagsVar TypeFlags) []interface{} {1166+func TypeRegisterDynamic(ParentTypeVar types.GType, TypeNameVar string, PluginVar TypePlugin, FlagsVar TypeFlags) types.GType {
1166 1167
1167 cret := xTypeRegisterDynamic(ParentTypeVar, TypeNameVar, PluginVar.GoPointer(), FlagsVar)1168 cret := xTypeRegisterDynamic(ParentTypeVar, TypeNameVar, PluginVar.GoPointer(), FlagsVar)
1168 return cret1169 return cret
1169 }1170 }
1170 1171
1171-var xTypeRegisterFundamental func([]interface{}, string, *TypeInfo, *TypeFundamentalInfo, TypeFlags) []interface{}1172+var xTypeRegisterFundamental func(types.GType, string, *TypeInfo, *TypeFundamentalInfo, TypeFlags) types.GType
1172 1173
1173 // Registers @type_id as the predefined identifier and @type_name as the1174 // Registers @type_id as the predefined identifier and @type_name as the
1174 // name of a fundamental type. If @type_id is already registered, or a1175 // name of a fundamental type. If @type_id is already registered, or a
@@ -1177,32 +1178,32 @@ var xTypeRegisterFundamental func([]interface{}, string, *TypeInfo, *TypeFundame
1177 // pointed to by @info and the #GTypeFundamentalInfo structure pointed to by1178 // pointed to by @info and the #GTypeFundamentalInfo structure pointed to by
1178 // @finfo to manage the type and its instances. The value of @flags determines1179 // @finfo to manage the type and its instances. The value of @flags determines
1179 // additional characteristics of the fundamental type.1180 // additional characteristics of the fundamental type.
1180-func TypeRegisterFundamental(TypeIdVar []interface{}, TypeNameVar string, InfoVar *TypeInfo, FinfoVar *TypeFundamentalInfo, FlagsVar TypeFlags) []interface{} {1181+func TypeRegisterFundamental(TypeIdVar types.GType, TypeNameVar string, InfoVar *TypeInfo, FinfoVar *TypeFundamentalInfo, FlagsVar TypeFlags) types.GType {
1181 1182
1182 cret := xTypeRegisterFundamental(TypeIdVar, TypeNameVar, InfoVar, FinfoVar, FlagsVar)1183 cret := xTypeRegisterFundamental(TypeIdVar, TypeNameVar, InfoVar, FinfoVar, FlagsVar)
1183 return cret1184 return cret
1184 }1185 }
1185 1186
1186-var xTypeRegisterStatic func([]interface{}, string, *TypeInfo, TypeFlags) []interface{}1187+var xTypeRegisterStatic func(types.GType, string, *TypeInfo, TypeFlags) types.GType
1187 1188
1188 // Registers @type_name as the name of a new static type derived from1189 // Registers @type_name as the name of a new static type derived from
1189 // @parent_type. The type system uses the information contained in the1190 // @parent_type. The type system uses the information contained in the
1190 // #GTypeInfo structure pointed to by @info to manage the type and its1191 // #GTypeInfo structure pointed to by @info to manage the type and its
1191 // instances (if not abstract). The value of @flags determines the nature1192 // instances (if not abstract). The value of @flags determines the nature
1192 // (e.g. abstract or not) of the type.1193 // (e.g. abstract or not) of the type.
1193-func TypeRegisterStatic(ParentTypeVar []interface{}, TypeNameVar string, InfoVar *TypeInfo, FlagsVar TypeFlags) []interface{} {1194+func TypeRegisterStatic(ParentTypeVar types.GType, TypeNameVar string, InfoVar *TypeInfo, FlagsVar TypeFlags) types.GType {
1194 1195
1195 cret := xTypeRegisterStatic(ParentTypeVar, TypeNameVar, InfoVar, FlagsVar)1196 cret := xTypeRegisterStatic(ParentTypeVar, TypeNameVar, InfoVar, FlagsVar)
1196 return cret1197 return cret
1197 }1198 }
1198 1199
1199-var xTypeRegisterStaticSimple func([]interface{}, string, uint, uintptr, uint, uintptr, TypeFlags) []interface{}1200+var xTypeRegisterStaticSimple func(types.GType, string, uint, uintptr, uint, uintptr, TypeFlags) types.GType
1200 1201
1201 // Registers @type_name as the name of a new static type derived from1202 // Registers @type_name as the name of a new static type derived from
1202 // @parent_type. The value of @flags determines the nature (e.g.1203 // @parent_type. The value of @flags determines the nature (e.g.
1203 // abstract or not) of the type. It works by filling a #GTypeInfo1204 // abstract or not) of the type. It works by filling a #GTypeInfo
1204 // struct and calling g_type_register_static().1205 // struct and calling g_type_register_static().
1205-func TypeRegisterStaticSimple(ParentTypeVar []interface{}, TypeNameVar string, ClassSizeVar uint, ClassInitVar *ClassInitFunc, InstanceSizeVar uint, InstanceInitVar *InstanceInitFunc, FlagsVar TypeFlags) []interface{} {1206+func TypeRegisterStaticSimple(ParentTypeVar types.GType, TypeNameVar string, ClassSizeVar uint, ClassInitVar *ClassInitFunc, InstanceSizeVar uint, InstanceInitVar *InstanceInitFunc, FlagsVar TypeFlags) types.GType {
1206 1207
1207 cret := xTypeRegisterStaticSimple(ParentTypeVar, TypeNameVar, ClassSizeVar, glib.NewCallback(ClassInitVar), InstanceSizeVar, glib.NewCallback(InstanceInitVar), FlagsVar)1208 cret := xTypeRegisterStaticSimple(ParentTypeVar, TypeNameVar, ClassSizeVar, glib.NewCallback(ClassInitVar), InstanceSizeVar, glib.NewCallback(InstanceInitVar), FlagsVar)
1208 return cret1209 return cret
@@ -1229,31 +1230,31 @@ func TypeRemoveInterfaceCheck(CheckDataVar uintptr, CheckFuncVar *TypeInterfaceC
1229 1230
1230 }1231 }
1231 1232
1232-var xTypeSetQdata func([]interface{}, glib.Quark, uintptr)1233+var xTypeSetQdata func(types.GType, glib.Quark, uintptr)
1233 1234
1234 // Attaches arbitrary data to a type.1235 // Attaches arbitrary data to a type.
1235-func TypeSetQdata(TypeVar []interface{}, QuarkVar glib.Quark, DataVar uintptr) {1236+func TypeSetQdata(TypeVar types.GType, QuarkVar glib.Quark, DataVar uintptr) {
1236 1237
1237 xTypeSetQdata(TypeVar, QuarkVar, DataVar)1238 xTypeSetQdata(TypeVar, QuarkVar, DataVar)
1238 1239
1239 }1240 }
1240 1241
1241-var xTypeTestFlags func([]interface{}, uint) bool1242+var xTypeTestFlags func(types.GType, uint) bool
1242 1243
1243-func TypeTestFlags(TypeVar []interface{}, FlagsVar uint) bool {1244+func TypeTestFlags(TypeVar types.GType, FlagsVar uint) bool {
1244 1245
1245 cret := xTypeTestFlags(TypeVar, FlagsVar)1246 cret := xTypeTestFlags(TypeVar, FlagsVar)
1246 return cret1247 return cret
1247 }1248 }
1248 1249
1249-var xTypeValueTablePeek func([]interface{}) *TypeValueTable1250+var xTypeValueTablePeek func(types.GType) *TypeValueTable
1250 1251
1251 // Returns the location of the #GTypeValueTable associated with @type.1252 // Returns the location of the #GTypeValueTable associated with @type.
1252 //1253 //
1253 // Note that this function should only be used from source code1254 // Note that this function should only be used from source code
1254 // that implements or has internal knowledge of the implementation of1255 // that implements or has internal knowledge of the implementation of
1255 // @type.1256 // @type.
1256-func TypeValueTablePeek(TypeVar []interface{}) *TypeValueTable {1257+func TypeValueTablePeek(TypeVar types.GType) *TypeValueTable {
1257 1258
1258 cret := xTypeValueTablePeek(TypeVar)1259 cret := xTypeValueTablePeek(TypeVar)
1259 return cret1260 return cret
M v4/gobject/gtypemodule.go +11 -10
@@ -6,6 +6,7 @@ import (
6 6
7 "github.com/jwijenbergh/purego"7 "github.com/jwijenbergh/purego"
8 "github.com/jwijenbergh/puregotk/internal/core"8 "github.com/jwijenbergh/puregotk/internal/core"
9+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
9 )10 )
10 11
11 // In order to implement dynamic loading of types based on #GTypeModule,12 // In order to implement dynamic loading of types based on #GTypeModule,
@@ -58,7 +59,7 @@ func TypeModuleNewFromInternalPtr(ptr uintptr) *TypeModule {
58 return cls59 return cls
59 }60 }
60 61
61-var xTypeModuleAddInterface func(uintptr, []interface{}, []interface{}, *InterfaceInfo)62+var xTypeModuleAddInterface func(uintptr, types.GType, types.GType, *InterfaceInfo)
62 63
63 // Registers an additional interface for a type, whose interface lives64 // Registers an additional interface for a type, whose interface lives
64 // in the given type plugin. If the interface was already registered65 // in the given type plugin. If the interface was already registered
@@ -69,13 +70,13 @@ var xTypeModuleAddInterface func(uintptr, []interface{}, []interface{}, *Interfa
69 //70 //
70 // Since 2.56 if @module is %NULL this will call g_type_add_interface_static()71 // Since 2.56 if @module is %NULL this will call g_type_add_interface_static()
71 // instead. This can be used when making a static build of the module.72 // instead. This can be used when making a static build of the module.
72-func (x *TypeModule) AddInterface(InstanceTypeVar []interface{}, InterfaceTypeVar []interface{}, InterfaceInfoVar *InterfaceInfo) {73+func (x *TypeModule) AddInterface(InstanceTypeVar types.GType, InterfaceTypeVar types.GType, InterfaceInfoVar *InterfaceInfo) {
73 74
74 xTypeModuleAddInterface(x.GoPointer(), InstanceTypeVar, InterfaceTypeVar, InterfaceInfoVar)75 xTypeModuleAddInterface(x.GoPointer(), InstanceTypeVar, InterfaceTypeVar, InterfaceInfoVar)
75 76
76 }77 }
77 78
78-var xTypeModuleRegisterEnum func(uintptr, string, *EnumValue) []interface{}79+var xTypeModuleRegisterEnum func(uintptr, string, *EnumValue) types.GType
79 80
80 // Looks up or registers an enumeration that is implemented with a particular81 // Looks up or registers an enumeration that is implemented with a particular
81 // type plugin. If a type with name @type_name was previously registered,82 // type plugin. If a type with name @type_name was previously registered,
@@ -87,13 +88,13 @@ var xTypeModuleRegisterEnum func(uintptr, string, *EnumValue) []interface{}
87 //88 //
88 // Since 2.56 if @module is %NULL this will call g_type_register_static()89 // Since 2.56 if @module is %NULL this will call g_type_register_static()
89 // instead. This can be used when making a static build of the module.90 // instead. This can be used when making a static build of the module.
90-func (x *TypeModule) RegisterEnum(NameVar string, ConstStaticValuesVar *EnumValue) []interface{} {91+func (x *TypeModule) RegisterEnum(NameVar string, ConstStaticValuesVar *EnumValue) types.GType {
91 92
92 cret := xTypeModuleRegisterEnum(x.GoPointer(), NameVar, ConstStaticValuesVar)93 cret := xTypeModuleRegisterEnum(x.GoPointer(), NameVar, ConstStaticValuesVar)
93 return cret94 return cret
94 }95 }
95 96
96-var xTypeModuleRegisterFlags func(uintptr, string, *FlagsValue) []interface{}97+var xTypeModuleRegisterFlags func(uintptr, string, *FlagsValue) types.GType
97 98
98 // Looks up or registers a flags type that is implemented with a particular99 // Looks up or registers a flags type that is implemented with a particular
99 // type plugin. If a type with name @type_name was previously registered,100 // type plugin. If a type with name @type_name was previously registered,
@@ -105,13 +106,13 @@ var xTypeModuleRegisterFlags func(uintptr, string, *FlagsValue) []interface{}
105 //106 //
106 // Since 2.56 if @module is %NULL this will call g_type_register_static()107 // Since 2.56 if @module is %NULL this will call g_type_register_static()
107 // instead. This can be used when making a static build of the module.108 // instead. This can be used when making a static build of the module.
108-func (x *TypeModule) RegisterFlags(NameVar string, ConstStaticValuesVar *FlagsValue) []interface{} {109+func (x *TypeModule) RegisterFlags(NameVar string, ConstStaticValuesVar *FlagsValue) types.GType {
109 110
110 cret := xTypeModuleRegisterFlags(x.GoPointer(), NameVar, ConstStaticValuesVar)111 cret := xTypeModuleRegisterFlags(x.GoPointer(), NameVar, ConstStaticValuesVar)
111 return cret112 return cret
112 }113 }
113 114
114-var xTypeModuleRegisterType func(uintptr, []interface{}, string, *TypeInfo, TypeFlags) []interface{}115+var xTypeModuleRegisterType func(uintptr, types.GType, string, *TypeInfo, TypeFlags) types.GType
115 116
116 // Looks up or registers a type that is implemented with a particular117 // Looks up or registers a type that is implemented with a particular
117 // type plugin. If a type with name @type_name was previously registered,118 // type plugin. If a type with name @type_name was previously registered,
@@ -127,7 +128,7 @@ var xTypeModuleRegisterType func(uintptr, []interface{}, string, *TypeInfo, Type
127 //128 //
128 // Since 2.56 if @module is %NULL this will call g_type_register_static()129 // Since 2.56 if @module is %NULL this will call g_type_register_static()
129 // instead. This can be used when making a static build of the module.130 // instead. This can be used when making a static build of the module.
130-func (x *TypeModule) RegisterType(ParentTypeVar []interface{}, TypeNameVar string, TypeInfoVar *TypeInfo, FlagsVar TypeFlags) []interface{} {131+func (x *TypeModule) RegisterType(ParentTypeVar types.GType, TypeNameVar string, TypeInfoVar *TypeInfo, FlagsVar TypeFlags) types.GType {
131 132
132 cret := xTypeModuleRegisterType(x.GoPointer(), ParentTypeVar, TypeNameVar, TypeInfoVar, FlagsVar)133 cret := xTypeModuleRegisterType(x.GoPointer(), ParentTypeVar, TypeNameVar, TypeInfoVar, FlagsVar)
133 return cret134 return cret
@@ -178,7 +179,7 @@ func (c *TypeModule) SetGoPointer(ptr uintptr) {
178 // Calls the @complete_interface_info function from the179 // Calls the @complete_interface_info function from the
179 // #GTypePluginClass of @plugin. There should be no need to use this180 // #GTypePluginClass of @plugin. There should be no need to use this
180 // function outside of the GObject type system itself.181 // function outside of the GObject type system itself.
181-func (x *TypeModule) CompleteInterfaceInfo(InstanceTypeVar []interface{}, InterfaceTypeVar []interface{}, InfoVar *InterfaceInfo) {182+func (x *TypeModule) CompleteInterfaceInfo(InstanceTypeVar types.GType, InterfaceTypeVar types.GType, InfoVar *InterfaceInfo) {
182 183
183 XGTypePluginCompleteInterfaceInfo(x.GoPointer(), InstanceTypeVar, InterfaceTypeVar, InfoVar)184 XGTypePluginCompleteInterfaceInfo(x.GoPointer(), InstanceTypeVar, InterfaceTypeVar, InfoVar)
184 185
@@ -187,7 +188,7 @@ func (x *TypeModule) CompleteInterfaceInfo(InstanceTypeVar []interface{}, Interf
187 // Calls the @complete_type_info function from the #GTypePluginClass of @plugin.188 // Calls the @complete_type_info function from the #GTypePluginClass of @plugin.
188 // There should be no need to use this function outside of the GObject189 // There should be no need to use this function outside of the GObject
189 // type system itself.190 // type system itself.
190-func (x *TypeModule) CompleteTypeInfo(GTypeVar []interface{}, InfoVar *TypeInfo, ValueTableVar *TypeValueTable) {191+func (x *TypeModule) CompleteTypeInfo(GTypeVar types.GType, InfoVar *TypeInfo, ValueTableVar *TypeValueTable) {
191 192
192 XGTypePluginCompleteTypeInfo(x.GoPointer(), GTypeVar, InfoVar, ValueTableVar)193 XGTypePluginCompleteTypeInfo(x.GoPointer(), GTypeVar, InfoVar, ValueTableVar)
193 194
M v4/gobject/gtypeplugin.go +7 -3
@@ -1,13 +1,17 @@
1 // Package gobject was automatically generated by github.com/jwijenbergh/puregotk DO NOT EDIT1 // Package gobject was automatically generated by github.com/jwijenbergh/puregotk DO NOT EDIT
2 package gobject2 package gobject
3 3
4-import "unsafe"4+import (
5+ "unsafe"
6+
7+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
8+)
5 9
6 // The type of the @complete_interface_info function of #GTypePluginClass.10 // The type of the @complete_interface_info function of #GTypePluginClass.
7-type TypePluginCompleteInterfaceInfo func(uintptr, []interface{}, []interface{}, *InterfaceInfo)11+type TypePluginCompleteInterfaceInfo func(uintptr, types.GType, types.GType, *InterfaceInfo)
8 12
9 // The type of the @complete_type_info function of #GTypePluginClass.13 // The type of the @complete_type_info function of #GTypePluginClass.
10-type TypePluginCompleteTypeInfo func(uintptr, []interface{}, *TypeInfo, *TypeValueTable)14+type TypePluginCompleteTypeInfo func(uintptr, types.GType, *TypeInfo, *TypeValueTable)
11 15
12 // The type of the @unuse_plugin function of #GTypePluginClass.16 // The type of the @unuse_plugin function of #GTypePluginClass.
13 type TypePluginUnuse func(uintptr)17 type TypePluginUnuse func(uintptr)
M v4/gobject/gvalue.go +15 -14
@@ -7,6 +7,7 @@ import (
7 "github.com/jwijenbergh/purego"7 "github.com/jwijenbergh/purego"
8 "github.com/jwijenbergh/puregotk/internal/core"8 "github.com/jwijenbergh/puregotk/internal/core"
9 "github.com/jwijenbergh/puregotk/v4/glib"9 "github.com/jwijenbergh/puregotk/v4/glib"
10+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
10 )11 )
11 12
12 // The type of value transformation functions which can be registered with13 // The type of value transformation functions which can be registered with
@@ -26,9 +27,9 @@ type ValueTransform func(*Value, *Value)
26 // within the 2 element @data union, and the @g_type member should27 // within the 2 element @data union, and the @g_type member should
27 // only be accessed through the G_VALUE_TYPE() macro.28 // only be accessed through the G_VALUE_TYPE() macro.
28 type Value struct {29 type Value struct {
29- GType []interface{}30+ GType types.GType
30 31
31- Data uintptr32+ Data [2]uint64
32 }33 }
33 34
34 func (x *Value) GoPointer() uintptr {35 func (x *Value) GoPointer() uintptr {
@@ -186,10 +187,10 @@ func (x *Value) GetFloat() float32 {
186 return cret187 return cret
187 }188 }
188 189
189-var xValueGetGtype func(uintptr) []interface{}190+var xValueGetGtype func(uintptr) types.GType
190 191
191 // Get the contents of a %G_TYPE_GTYPE #GValue.192 // Get the contents of a %G_TYPE_GTYPE #GValue.
192-func (x *Value) GetGtype() []interface{} {193+func (x *Value) GetGtype() types.GType {
193 194
194 cret := xValueGetGtype(x.GoPointer())195 cret := xValueGetGtype(x.GoPointer())
195 return cret196 return cret
@@ -328,10 +329,10 @@ func (x *Value) GetVariant() *glib.Variant {
328 return cret329 return cret
329 }330 }
330 331
331-var xValueInit func(uintptr, []interface{}) *Value332+var xValueInit func(uintptr, types.GType) *Value
332 333
333 // Initializes @value with the default value of @type.334 // Initializes @value with the default value of @type.
334-func (x *Value) Init(GTypeVar []interface{}) *Value {335+func (x *Value) Init(GTypeVar types.GType) *Value {
335 336
336 cret := xValueInit(x.GoPointer(), GTypeVar)337 cret := xValueInit(x.GoPointer(), GTypeVar)
337 return cret338 return cret
@@ -445,10 +446,10 @@ func (x *Value) SetFloat(VFloatVar float32) {
445 446
446 }447 }
447 448
448-var xValueSetGtype func(uintptr, []interface{})449+var xValueSetGtype func(uintptr, types.GType)
449 450
450 // Set the contents of a %G_TYPE_GTYPE #GValue to @v_gtype.451 // Set the contents of a %G_TYPE_GTYPE #GValue to @v_gtype.
451-func (x *Value) SetGtype(VGtypeVar []interface{}) {452+func (x *Value) SetGtype(VGtypeVar types.GType) {
452 453
453 xValueSetGtype(x.GoPointer(), VGtypeVar)454 xValueSetGtype(x.GoPointer(), VGtypeVar)
454 455
@@ -760,34 +761,34 @@ const (
760 VALUE_NOCOPY_CONTENTS int = 134217728761 VALUE_NOCOPY_CONTENTS int = 134217728
761 )762 )
762 763
763-var xValueRegisterTransformFunc func([]interface{}, []interface{}, uintptr)764+var xValueRegisterTransformFunc func(types.GType, types.GType, uintptr)
764 765
765 // Registers a value transformation function for use in g_value_transform().766 // Registers a value transformation function for use in g_value_transform().
766 // A previously registered transformation function for @src_type and @dest_type767 // A previously registered transformation function for @src_type and @dest_type
767 // will be replaced.768 // will be replaced.
768-func ValueRegisterTransformFunc(SrcTypeVar []interface{}, DestTypeVar []interface{}, TransformFuncVar *ValueTransform) {769+func ValueRegisterTransformFunc(SrcTypeVar types.GType, DestTypeVar types.GType, TransformFuncVar *ValueTransform) {
769 770
770 xValueRegisterTransformFunc(SrcTypeVar, DestTypeVar, glib.NewCallback(TransformFuncVar))771 xValueRegisterTransformFunc(SrcTypeVar, DestTypeVar, glib.NewCallback(TransformFuncVar))
771 772
772 }773 }
773 774
774-var xValueTypeCompatible func([]interface{}, []interface{}) bool775+var xValueTypeCompatible func(types.GType, types.GType) bool
775 776
776 // Returns whether a #GValue of type @src_type can be copied into777 // Returns whether a #GValue of type @src_type can be copied into
777 // a #GValue of type @dest_type.778 // a #GValue of type @dest_type.
778-func ValueTypeCompatible(SrcTypeVar []interface{}, DestTypeVar []interface{}) bool {779+func ValueTypeCompatible(SrcTypeVar types.GType, DestTypeVar types.GType) bool {
779 780
780 cret := xValueTypeCompatible(SrcTypeVar, DestTypeVar)781 cret := xValueTypeCompatible(SrcTypeVar, DestTypeVar)
781 return cret782 return cret
782 }783 }
783 784
784-var xValueTypeTransformable func([]interface{}, []interface{}) bool785+var xValueTypeTransformable func(types.GType, types.GType) bool
785 786
786 // Check whether g_value_transform() is able to transform values787 // Check whether g_value_transform() is able to transform values
787 // of type @src_type into values of type @dest_type. Note that for788 // of type @src_type into values of type @dest_type. Note that for
788 // the types to be transformable, they must be compatible or a789 // the types to be transformable, they must be compatible or a
789 // transformation function must be registered.790 // transformation function must be registered.
790-func ValueTypeTransformable(SrcTypeVar []interface{}, DestTypeVar []interface{}) bool {791+func ValueTypeTransformable(SrcTypeVar types.GType, DestTypeVar types.GType) bool {
791 792
792 cret := xValueTypeTransformable(SrcTypeVar, DestTypeVar)793 cret := xValueTypeTransformable(SrcTypeVar, DestTypeVar)
793 return cret794 return cret
M v4/gobject/gvaluetypes.go +5 -4
@@ -4,21 +4,22 @@ package gobject
4 import (4 import (
5 "github.com/jwijenbergh/purego"5 "github.com/jwijenbergh/purego"
6 "github.com/jwijenbergh/puregotk/internal/core"6 "github.com/jwijenbergh/puregotk/internal/core"
7+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
7 )8 )
8 9
9-var xGtypeGetType func() []interface{}10+var xGtypeGetType func() types.GType
10 11
11-func GtypeGetType() []interface{} {12+func GtypeGetType() types.GType {
12 13
13 cret := xGtypeGetType()14 cret := xGtypeGetType()
14 return cret15 return cret
15 }16 }
16 17
17-var xPointerTypeRegisterStatic func(string) []interface{}18+var xPointerTypeRegisterStatic func(string) types.GType
18 19
19 // Creates a new %G_TYPE_POINTER derived type id for a new20 // Creates a new %G_TYPE_POINTER derived type id for a new
20 // pointer type with name @name.21 // pointer type with name @name.
21-func PointerTypeRegisterStatic(NameVar string) []interface{} {22+func PointerTypeRegisterStatic(NameVar string) types.GType {
22 23
23 cret := xPointerTypeRegisterStatic(NameVar)24 cret := xPointerTypeRegisterStatic(NameVar)
24 return cret25 return cret
M v4/graphene/graphene-box.go +6 -6
@@ -166,10 +166,10 @@ func (x *Box) GetSize(SizeVar *Vec3) {
166 166
167 }167 }
168 168
169-var xBoxGetVertices func(uintptr, uintptr)169+var xBoxGetVertices func(uintptr, [8]Vec3)
170 170
171 // Computes the vertices of the given #graphene_box_t.171 // Computes the vertices of the given #graphene_box_t.
172-func (x *Box) GetVertices(VerticesVar uintptr) {172+func (x *Box) GetVertices(VerticesVar [8]Vec3) {
173 173
174 xBoxGetVertices(x.GoPointer(), VerticesVar)174 xBoxGetVertices(x.GoPointer(), VerticesVar)
175 175
@@ -203,14 +203,14 @@ func (x *Box) InitFromBox(SrcVar *Box) *Box {
203 return cret203 return cret
204 }204 }
205 205
206-var xBoxInitFromPoints func(uintptr, uint, uintptr) *Box206+var xBoxInitFromPoints func(uintptr, uint, []Point3D) *Box
207 207
208 // Initializes the given #graphene_box_t with the given array208 // Initializes the given #graphene_box_t with the given array
209 // of vertices.209 // of vertices.
210 //210 //
211 // If @n_points is 0, the returned box is initialized with211 // If @n_points is 0, the returned box is initialized with
212 // graphene_box_empty().212 // graphene_box_empty().
213-func (x *Box) InitFromPoints(NPointsVar uint, PointsVar uintptr) *Box {213+func (x *Box) InitFromPoints(NPointsVar uint, PointsVar []Point3D) *Box {
214 214
215 cret := xBoxInitFromPoints(x.GoPointer(), NPointsVar, PointsVar)215 cret := xBoxInitFromPoints(x.GoPointer(), NPointsVar, PointsVar)
216 return cret216 return cret
@@ -226,14 +226,14 @@ func (x *Box) InitFromVec3(MinVar *Vec3, MaxVar *Vec3) *Box {
226 return cret226 return cret
227 }227 }
228 228
229-var xBoxInitFromVectors func(uintptr, uint, uintptr) *Box229+var xBoxInitFromVectors func(uintptr, uint, []Vec3) *Box
230 230
231 // Initializes the given #graphene_box_t with the given array231 // Initializes the given #graphene_box_t with the given array
232 // of vertices.232 // of vertices.
233 //233 //
234 // If @n_vectors is 0, the returned box is initialized with234 // If @n_vectors is 0, the returned box is initialized with
235 // graphene_box_empty().235 // graphene_box_empty().
236-func (x *Box) InitFromVectors(NVectorsVar uint, VectorsVar uintptr) *Box {236+func (x *Box) InitFromVectors(NVectorsVar uint, VectorsVar []Vec3) *Box {
237 237
238 cret := xBoxInitFromVectors(x.GoPointer(), NVectorsVar, VectorsVar)238 cret := xBoxInitFromVectors(x.GoPointer(), NVectorsVar, VectorsVar)
239 return cret239 return cret
M v4/graphene/graphene-frustum.go +3 -3
@@ -13,7 +13,7 @@ import (
13 // The contents of the `graphene_frustum_t` are private, and should not be13 // The contents of the `graphene_frustum_t` are private, and should not be
14 // modified directly.14 // modified directly.
15 type Frustum struct {15 type Frustum struct {
16- Planes uintptr16+ Planes [6]Plane
17 }17 }
18 18
19 func (x *Frustum) GoPointer() uintptr {19 func (x *Frustum) GoPointer() uintptr {
@@ -59,10 +59,10 @@ func (x *Frustum) Free() {
59 59
60 }60 }
61 61
62-var xFrustumGetPlanes func(uintptr, uintptr)62+var xFrustumGetPlanes func(uintptr, [6]Plane)
63 63
64 // Retrieves the planes that define the given #graphene_frustum_t.64 // Retrieves the planes that define the given #graphene_frustum_t.
65-func (x *Frustum) GetPlanes(PlanesVar uintptr) {65+func (x *Frustum) GetPlanes(PlanesVar [6]Plane) {
66 66
67 xFrustumGetPlanes(x.GoPointer(), PlanesVar)67 xFrustumGetPlanes(x.GoPointer(), PlanesVar)
68 68
M v4/graphene/graphene-matrix.go +4 -4
@@ -199,11 +199,11 @@ func (x *Matrix) InitFrom2d(XxVar float64, YxVar float64, XyVar float64, YyVar f
199 return cret199 return cret
200 }200 }
201 201
202-var xMatrixInitFromFloat func(uintptr, uintptr) *Matrix202+var xMatrixInitFromFloat func(uintptr, [16]float32) *Matrix
203 203
204 // Initializes a #graphene_matrix_t with the given array of floating204 // Initializes a #graphene_matrix_t with the given array of floating
205 // point values.205 // point values.
206-func (x *Matrix) InitFromFloat(VVar uintptr) *Matrix {206+func (x *Matrix) InitFromFloat(VVar [16]float32) *Matrix {
207 207
208 cret := xMatrixInitFromFloat(x.GoPointer(), VVar)208 cret := xMatrixInitFromFloat(x.GoPointer(), VVar)
209 return cret209 return cret
@@ -610,11 +610,11 @@ func (x *Matrix) To2d(XxVar float64, YxVar float64, XyVar float64, YyVar float64
610 return cret610 return cret
611 }611 }
612 612
613-var xMatrixToFloat func(uintptr, uintptr)613+var xMatrixToFloat func(uintptr, [16]float32)
614 614
615 // Converts a #graphene_matrix_t to an array of floating point615 // Converts a #graphene_matrix_t to an array of floating point
616 // values.616 // values.
617-func (x *Matrix) ToFloat(VVar uintptr) {617+func (x *Matrix) ToFloat(VVar [16]float32) {
618 618
619 xMatrixToFloat(x.GoPointer(), VVar)619 xMatrixToFloat(x.GoPointer(), VVar)
620 620
M v4/graphene/graphene-quad.go +3 -3
@@ -13,7 +13,7 @@ import (
13 // The contents of a #graphene_quad_t are private and should never be13 // The contents of a #graphene_quad_t are private and should never be
14 // accessed directly.14 // accessed directly.
15 type Quad struct {15 type Quad struct {
16- Points uintptr16+ Points [4]Point
17 }17 }
18 18
19 func (x *Quad) GoPointer() uintptr {19 func (x *Quad) GoPointer() uintptr {
@@ -76,10 +76,10 @@ func (x *Quad) Init(P1Var *Point, P2Var *Point, P3Var *Point, P4Var *Point) *Qua
76 return cret76 return cret
77 }77 }
78 78
79-var xQuadInitFromPoints func(uintptr, uintptr) *Quad79+var xQuadInitFromPoints func(uintptr, [4]Point) *Quad
80 80
81 // Initializes a #graphene_quad_t using an array of points.81 // Initializes a #graphene_quad_t using an array of points.
82-func (x *Quad) InitFromPoints(PointsVar uintptr) *Quad {82+func (x *Quad) InitFromPoints(PointsVar [4]Point) *Quad {
83 83
84 cret := xQuadInitFromPoints(x.GoPointer(), PointsVar)84 cret := xQuadInitFromPoints(x.GoPointer(), PointsVar)
85 return cret85 return cret
M v4/graphene/graphene-rect.go +2 -2
@@ -139,10 +139,10 @@ func (x *Rect) GetTopRight(PVar *Point) {
139 139
140 }140 }
141 141
142-var xRectGetVertices func(uintptr, uintptr)142+var xRectGetVertices func(uintptr, [4]Vec2)
143 143
144 // Computes the four vertices of a #graphene_rect_t.144 // Computes the four vertices of a #graphene_rect_t.
145-func (x *Rect) GetVertices(VerticesVar uintptr) {145+func (x *Rect) GetVertices(VerticesVar [4]Vec2) {
146 146
147 xRectGetVertices(x.GoPointer(), VerticesVar)147 xRectGetVertices(x.GoPointer(), VerticesVar)
148 148
M v4/graphene/graphene-sphere.go +4 -4
@@ -105,27 +105,27 @@ func (x *Sphere) Init(CenterVar *Point3D, RadiusVar float32) *Sphere {
105 return cret105 return cret
106 }106 }
107 107
108-var xSphereInitFromPoints func(uintptr, uint, uintptr, *Point3D) *Sphere108+var xSphereInitFromPoints func(uintptr, uint, []Point3D, *Point3D) *Sphere
109 109
110 // Initializes the given #graphene_sphere_t using the given array110 // Initializes the given #graphene_sphere_t using the given array
111 // of 3D coordinates so that the sphere includes them.111 // of 3D coordinates so that the sphere includes them.
112 //112 //
113 // The center of the sphere can either be specified, or will be center113 // The center of the sphere can either be specified, or will be center
114 // of the 3D volume that encompasses all @points.114 // of the 3D volume that encompasses all @points.
115-func (x *Sphere) InitFromPoints(NPointsVar uint, PointsVar uintptr, CenterVar *Point3D) *Sphere {115+func (x *Sphere) InitFromPoints(NPointsVar uint, PointsVar []Point3D, CenterVar *Point3D) *Sphere {
116 116
117 cret := xSphereInitFromPoints(x.GoPointer(), NPointsVar, PointsVar, CenterVar)117 cret := xSphereInitFromPoints(x.GoPointer(), NPointsVar, PointsVar, CenterVar)
118 return cret118 return cret
119 }119 }
120 120
121-var xSphereInitFromVectors func(uintptr, uint, uintptr, *Point3D) *Sphere121+var xSphereInitFromVectors func(uintptr, uint, []Vec3, *Point3D) *Sphere
122 122
123 // Initializes the given #graphene_sphere_t using the given array123 // Initializes the given #graphene_sphere_t using the given array
124 // of 3D coordinates so that the sphere includes them.124 // of 3D coordinates so that the sphere includes them.
125 //125 //
126 // The center of the sphere can either be specified, or will be center126 // The center of the sphere can either be specified, or will be center
127 // of the 3D volume that encompasses all @vectors.127 // of the 3D volume that encompasses all @vectors.
128-func (x *Sphere) InitFromVectors(NVectorsVar uint, VectorsVar uintptr, CenterVar *Point3D) *Sphere {128+func (x *Sphere) InitFromVectors(NVectorsVar uint, VectorsVar []Vec3, CenterVar *Point3D) *Sphere {
129 129
130 cret := xSphereInitFromVectors(x.GoPointer(), NVectorsVar, VectorsVar, CenterVar)130 cret := xSphereInitFromVectors(x.GoPointer(), NVectorsVar, VectorsVar, CenterVar)
131 return cret131 return cret
M v4/graphene/graphene-triangle.go +2 -2
@@ -170,12 +170,12 @@ func (x *Triangle) GetVertices(AVar *Vec3, BVar *Vec3, CVar *Vec3) {
170 170
171 }171 }
172 172
173-var xTriangleInitFromFloat func(uintptr, uintptr, uintptr, uintptr) *Triangle173+var xTriangleInitFromFloat func(uintptr, [3]float32, [3]float32, [3]float32) *Triangle
174 174
175 // Initializes a #graphene_triangle_t using the three given arrays175 // Initializes a #graphene_triangle_t using the three given arrays
176 // of floating point values, each representing the coordinates of176 // of floating point values, each representing the coordinates of
177 // a point in 3D space.177 // a point in 3D space.
178-func (x *Triangle) InitFromFloat(AVar uintptr, BVar uintptr, CVar uintptr) *Triangle {178+func (x *Triangle) InitFromFloat(AVar [3]float32, BVar [3]float32, CVar [3]float32) *Triangle {
179 179
180 cret := xTriangleInitFromFloat(x.GoPointer(), AVar, BVar, CVar)180 cret := xTriangleInitFromFloat(x.GoPointer(), AVar, BVar, CVar)
181 return cret181 return cret
M v4/graphene/graphene-vec2.go +4 -4
@@ -110,10 +110,10 @@ func (x *Vec2) Init(XVar float32, YVar float32) *Vec2 {
110 return cret110 return cret
111 }111 }
112 112
113-var xVec2InitFromFloat func(uintptr, uintptr) *Vec2113+var xVec2InitFromFloat func(uintptr, [2]float32) *Vec2
114 114
115 // Initializes @v with the contents of the given array.115 // Initializes @v with the contents of the given array.
116-func (x *Vec2) InitFromFloat(SrcVar uintptr) *Vec2 {116+func (x *Vec2) InitFromFloat(SrcVar [2]float32) *Vec2 {
117 117
118 cret := xVec2InitFromFloat(x.GoPointer(), SrcVar)118 cret := xVec2InitFromFloat(x.GoPointer(), SrcVar)
119 return cret119 return cret
@@ -224,10 +224,10 @@ func (x *Vec2) Subtract(BVar *Vec2, ResVar *Vec2) {
224 224
225 }225 }
226 226
227-var xVec2ToFloat func(uintptr, uintptr)227+var xVec2ToFloat func(uintptr, [2]float32)
228 228
229 // Stores the components of @v into an array.229 // Stores the components of @v into an array.
230-func (x *Vec2) ToFloat(DestVar uintptr) {230+func (x *Vec2) ToFloat(DestVar [2]float32) {
231 231
232 xVec2ToFloat(x.GoPointer(), DestVar)232 xVec2ToFloat(x.GoPointer(), DestVar)
233 233
M v4/graphene/graphene-vec3.go +4 -4
@@ -177,10 +177,10 @@ func (x *Vec3) Init(XVar float32, YVar float32, ZVar float32) *Vec3 {
177 return cret177 return cret
178 }178 }
179 179
180-var xVec3InitFromFloat func(uintptr, uintptr) *Vec3180+var xVec3InitFromFloat func(uintptr, [3]float32) *Vec3
181 181
182 // Initializes a #graphene_vec3_t with the values from an array.182 // Initializes a #graphene_vec3_t with the values from an array.
183-func (x *Vec3) InitFromFloat(SrcVar uintptr) *Vec3 {183+func (x *Vec3) InitFromFloat(SrcVar [3]float32) *Vec3 {
184 184
185 cret := xVec3InitFromFloat(x.GoPointer(), SrcVar)185 cret := xVec3InitFromFloat(x.GoPointer(), SrcVar)
186 return cret186 return cret
@@ -291,10 +291,10 @@ func (x *Vec3) Subtract(BVar *Vec3, ResVar *Vec3) {
291 291
292 }292 }
293 293
294-var xVec3ToFloat func(uintptr, uintptr)294+var xVec3ToFloat func(uintptr, [3]float32)
295 295
296 // Copies the components of a #graphene_vec3_t into the given array.296 // Copies the components of a #graphene_vec3_t into the given array.
297-func (x *Vec3) ToFloat(DestVar uintptr) {297+func (x *Vec3) ToFloat(DestVar [3]float32) {
298 298
299 xVec3ToFloat(x.GoPointer(), DestVar)299 xVec3ToFloat(x.GoPointer(), DestVar)
300 300
M v4/graphene/graphene-vec4.go +4 -4
@@ -147,10 +147,10 @@ func (x *Vec4) Init(XVar float32, YVar float32, ZVar float32, WVar float32) *Vec
147 return cret147 return cret
148 }148 }
149 149
150-var xVec4InitFromFloat func(uintptr, uintptr) *Vec4150+var xVec4InitFromFloat func(uintptr, [4]float32) *Vec4
151 151
152 // Initializes a #graphene_vec4_t with the values inside the given array.152 // Initializes a #graphene_vec4_t with the values inside the given array.
153-func (x *Vec4) InitFromFloat(SrcVar uintptr) *Vec4 {153+func (x *Vec4) InitFromFloat(SrcVar [4]float32) *Vec4 {
154 154
155 cret := xVec4InitFromFloat(x.GoPointer(), SrcVar)155 cret := xVec4InitFromFloat(x.GoPointer(), SrcVar)
156 return cret156 return cret
@@ -281,11 +281,11 @@ func (x *Vec4) Subtract(BVar *Vec4, ResVar *Vec4) {
281 281
282 }282 }
283 283
284-var xVec4ToFloat func(uintptr, uintptr)284+var xVec4ToFloat func(uintptr, [4]float32)
285 285
286 // Stores the components of the given #graphene_vec4_t into an array286 // Stores the components of the given #graphene_vec4_t into an array
287 // of floating point values.287 // of floating point values.
288-func (x *Vec4) ToFloat(DestVar uintptr) {288+func (x *Vec4) ToFloat(DestVar [4]float32) {
289 289
290 xVec4ToFloat(x.GoPointer(), DestVar)290 xVec4ToFloat(x.GoPointer(), DestVar)
291 291
M v4/gsk/gskrendernodeimpl.go +24 -24
@@ -163,13 +163,13 @@ func BorderNodeNewFromInternalPtr(ptr uintptr) *BorderNode {
163 return cls163 return cls
164 }164 }
165 165
166-var xNewBorderNode func(*RoundedRect, uintptr, uintptr) uintptr166+var xNewBorderNode func(*RoundedRect, [4]float32, [4]gdk.RGBA) uintptr
167 167
168 // Creates a `GskRenderNode` that will stroke a border rectangle inside the168 // Creates a `GskRenderNode` that will stroke a border rectangle inside the
169 // given @outline.169 // given @outline.
170 //170 //
171 // The 4 sides of the border can have different widths and colors.171 // The 4 sides of the border can have different widths and colors.
172-func NewBorderNode(OutlineVar *RoundedRect, BorderWidthVar uintptr, BorderColorVar uintptr) *BorderNode {172+func NewBorderNode(OutlineVar *RoundedRect, BorderWidthVar [4]float32, BorderColorVar [4]gdk.RGBA) *BorderNode {
173 var cls *BorderNode173 var cls *BorderNode
174 174
175 cret := xNewBorderNode(OutlineVar, BorderWidthVar, BorderColorVar)175 cret := xNewBorderNode(OutlineVar, BorderWidthVar, BorderColorVar)
@@ -200,10 +200,10 @@ func (x *BorderNode) GetOutline() *RoundedRect {
200 return cret200 return cret
201 }201 }
202 202
203-var xBorderNodeGetWidths func(uintptr) uintptr203+var xBorderNodeGetWidths func(uintptr) [4]float32
204 204
205 // Retrieves the stroke widths of the border.205 // Retrieves the stroke widths of the border.
206-func (x *BorderNode) GetWidths() uintptr {206+func (x *BorderNode) GetWidths() [4]float32 {
207 207
208 cret := xBorderNodeGetWidths(x.GoPointer())208 cret := xBorderNodeGetWidths(x.GoPointer())
209 return cret209 return cret
@@ -472,14 +472,14 @@ func ConicGradientNodeNewFromInternalPtr(ptr uintptr) *ConicGradientNode {
472 return cls472 return cls
473 }473 }
474 474
475-var xNewConicGradientNode func(*graphene.Rect, *graphene.Point, float32, uintptr, uint) uintptr475+var xNewConicGradientNode func(*graphene.Rect, *graphene.Point, float32, []ColorStop, uint) uintptr
476 476
477 // Creates a `GskRenderNode` that draws a conic gradient.477 // Creates a `GskRenderNode` that draws a conic gradient.
478 //478 //
479 // The conic gradient479 // The conic gradient
480 // starts around @center in the direction of @rotation. A rotation of 0 means480 // starts around @center in the direction of @rotation. A rotation of 0 means
481 // that the gradient points up. Color stops are then added clockwise.481 // that the gradient points up. Color stops are then added clockwise.
482-func NewConicGradientNode(BoundsVar *graphene.Rect, CenterVar *graphene.Point, RotationVar float32, ColorStopsVar uintptr, NColorStopsVar uint) *ConicGradientNode {482+func NewConicGradientNode(BoundsVar *graphene.Rect, CenterVar *graphene.Point, RotationVar float32, ColorStopsVar []ColorStop, NColorStopsVar uint) *ConicGradientNode {
483 var cls *ConicGradientNode483 var cls *ConicGradientNode
484 484
485 cret := xNewConicGradientNode(BoundsVar, CenterVar, RotationVar, ColorStopsVar, NColorStopsVar)485 cret := xNewConicGradientNode(BoundsVar, CenterVar, RotationVar, ColorStopsVar, NColorStopsVar)
@@ -515,10 +515,10 @@ func (x *ConicGradientNode) GetCenter() *graphene.Point {
515 return cret515 return cret
516 }516 }
517 517
518-var xConicGradientNodeGetColorStops func(uintptr, uint) uintptr518+var xConicGradientNodeGetColorStops func(uintptr, uint) []ColorStop
519 519
520 // Retrieves the color stops in the gradient.520 // Retrieves the color stops in the gradient.
521-func (x *ConicGradientNode) GetColorStops(NStopsVar uint) uintptr {521+func (x *ConicGradientNode) GetColorStops(NStopsVar uint) []ColorStop {
522 522
523 cret := xConicGradientNodeGetColorStops(x.GoPointer(), NStopsVar)523 cret := xConicGradientNodeGetColorStops(x.GoPointer(), NStopsVar)
524 return cret524 return cret
@@ -960,11 +960,11 @@ func LinearGradientNodeNewFromInternalPtr(ptr uintptr) *LinearGradientNode {
960 return cls960 return cls
961 }961 }
962 962
963-var xNewLinearGradientNode func(*graphene.Rect, *graphene.Point, *graphene.Point, uintptr, uint) uintptr963+var xNewLinearGradientNode func(*graphene.Rect, *graphene.Point, *graphene.Point, []ColorStop, uint) uintptr
964 964
965 // Creates a `GskRenderNode` that will create a linear gradient from the given965 // Creates a `GskRenderNode` that will create a linear gradient from the given
966 // points and color stops, and render that into the area given by @bounds.966 // points and color stops, and render that into the area given by @bounds.
967-func NewLinearGradientNode(BoundsVar *graphene.Rect, StartVar *graphene.Point, EndVar *graphene.Point, ColorStopsVar uintptr, NColorStopsVar uint) *LinearGradientNode {967+func NewLinearGradientNode(BoundsVar *graphene.Rect, StartVar *graphene.Point, EndVar *graphene.Point, ColorStopsVar []ColorStop, NColorStopsVar uint) *LinearGradientNode {
968 var cls *LinearGradientNode968 var cls *LinearGradientNode
969 969
970 cret := xNewLinearGradientNode(BoundsVar, StartVar, EndVar, ColorStopsVar, NColorStopsVar)970 cret := xNewLinearGradientNode(BoundsVar, StartVar, EndVar, ColorStopsVar, NColorStopsVar)
@@ -977,10 +977,10 @@ func NewLinearGradientNode(BoundsVar *graphene.Rect, StartVar *graphene.Point, E
977 return cls977 return cls
978 }978 }
979 979
980-var xLinearGradientNodeGetColorStops func(uintptr, uint) uintptr980+var xLinearGradientNodeGetColorStops func(uintptr, uint) []ColorStop
981 981
982 // Retrieves the color stops in the gradient.982 // Retrieves the color stops in the gradient.
983-func (x *LinearGradientNode) GetColorStops(NStopsVar uint) uintptr {983+func (x *LinearGradientNode) GetColorStops(NStopsVar uint) []ColorStop {
984 984
985 cret := xLinearGradientNodeGetColorStops(x.GoPointer(), NStopsVar)985 cret := xLinearGradientNodeGetColorStops(x.GoPointer(), NStopsVar)
986 return cret986 return cret
@@ -1184,14 +1184,14 @@ func RadialGradientNodeNewFromInternalPtr(ptr uintptr) *RadialGradientNode {
1184 return cls1184 return cls
1185 }1185 }
1186 1186
1187-var xNewRadialGradientNode func(*graphene.Rect, *graphene.Point, float32, float32, float32, float32, uintptr, uint) uintptr1187+var xNewRadialGradientNode func(*graphene.Rect, *graphene.Point, float32, float32, float32, float32, []ColorStop, uint) uintptr
1188 1188
1189 // Creates a `GskRenderNode` that draws a radial gradient.1189 // Creates a `GskRenderNode` that draws a radial gradient.
1190 //1190 //
1191 // The radial gradient1191 // The radial gradient
1192 // starts around @center. The size of the gradient is dictated by @hradius1192 // starts around @center. The size of the gradient is dictated by @hradius
1193 // in horizontal orientation and by @vradius in vertial orientation.1193 // in horizontal orientation and by @vradius in vertial orientation.
1194-func NewRadialGradientNode(BoundsVar *graphene.Rect, CenterVar *graphene.Point, HradiusVar float32, VradiusVar float32, StartVar float32, EndVar float32, ColorStopsVar uintptr, NColorStopsVar uint) *RadialGradientNode {1194+func NewRadialGradientNode(BoundsVar *graphene.Rect, CenterVar *graphene.Point, HradiusVar float32, VradiusVar float32, StartVar float32, EndVar float32, ColorStopsVar []ColorStop, NColorStopsVar uint) *RadialGradientNode {
1195 var cls *RadialGradientNode1195 var cls *RadialGradientNode
1196 1196
1197 cret := xNewRadialGradientNode(BoundsVar, CenterVar, HradiusVar, VradiusVar, StartVar, EndVar, ColorStopsVar, NColorStopsVar)1197 cret := xNewRadialGradientNode(BoundsVar, CenterVar, HradiusVar, VradiusVar, StartVar, EndVar, ColorStopsVar, NColorStopsVar)
@@ -1213,10 +1213,10 @@ func (x *RadialGradientNode) GetCenter() *graphene.Point {
1213 return cret1213 return cret
1214 }1214 }
1215 1215
1216-var xRadialGradientNodeGetColorStops func(uintptr, uint) uintptr1216+var xRadialGradientNodeGetColorStops func(uintptr, uint) []ColorStop
1217 1217
1218 // Retrieves the color stops in the gradient.1218 // Retrieves the color stops in the gradient.
1219-func (x *RadialGradientNode) GetColorStops(NStopsVar uint) uintptr {1219+func (x *RadialGradientNode) GetColorStops(NStopsVar uint) []ColorStop {
1220 1220
1221 cret := xRadialGradientNodeGetColorStops(x.GoPointer(), NStopsVar)1221 cret := xRadialGradientNodeGetColorStops(x.GoPointer(), NStopsVar)
1222 return cret1222 return cret
@@ -1348,12 +1348,12 @@ func RepeatingLinearGradientNodeNewFromInternalPtr(ptr uintptr) *RepeatingLinear
1348 return cls1348 return cls
1349 }1349 }
1350 1350
1351-var xNewRepeatingLinearGradientNode func(*graphene.Rect, *graphene.Point, *graphene.Point, uintptr, uint) uintptr1351+var xNewRepeatingLinearGradientNode func(*graphene.Rect, *graphene.Point, *graphene.Point, []ColorStop, uint) uintptr
1352 1352
1353 // Creates a `GskRenderNode` that will create a repeating linear gradient1353 // Creates a `GskRenderNode` that will create a repeating linear gradient
1354 // from the given points and color stops, and render that into the area1354 // from the given points and color stops, and render that into the area
1355 // given by @bounds.1355 // given by @bounds.
1356-func NewRepeatingLinearGradientNode(BoundsVar *graphene.Rect, StartVar *graphene.Point, EndVar *graphene.Point, ColorStopsVar uintptr, NColorStopsVar uint) *RepeatingLinearGradientNode {1356+func NewRepeatingLinearGradientNode(BoundsVar *graphene.Rect, StartVar *graphene.Point, EndVar *graphene.Point, ColorStopsVar []ColorStop, NColorStopsVar uint) *RepeatingLinearGradientNode {
1357 var cls *RepeatingLinearGradientNode1357 var cls *RepeatingLinearGradientNode
1358 1358
1359 cret := xNewRepeatingLinearGradientNode(BoundsVar, StartVar, EndVar, ColorStopsVar, NColorStopsVar)1359 cret := xNewRepeatingLinearGradientNode(BoundsVar, StartVar, EndVar, ColorStopsVar, NColorStopsVar)
@@ -1385,14 +1385,14 @@ func RepeatingRadialGradientNodeNewFromInternalPtr(ptr uintptr) *RepeatingRadial
1385 return cls1385 return cls
1386 }1386 }
1387 1387
1388-var xNewRepeatingRadialGradientNode func(*graphene.Rect, *graphene.Point, float32, float32, float32, float32, uintptr, uint) uintptr1388+var xNewRepeatingRadialGradientNode func(*graphene.Rect, *graphene.Point, float32, float32, float32, float32, []ColorStop, uint) uintptr
1389 1389
1390 // Creates a `GskRenderNode` that draws a repeating radial gradient.1390 // Creates a `GskRenderNode` that draws a repeating radial gradient.
1391 //1391 //
1392 // The radial gradient starts around @center. The size of the gradient1392 // The radial gradient starts around @center. The size of the gradient
1393 // is dictated by @hradius in horizontal orientation and by @vradius1393 // is dictated by @hradius in horizontal orientation and by @vradius
1394 // in vertial orientation.1394 // in vertial orientation.
1395-func NewRepeatingRadialGradientNode(BoundsVar *graphene.Rect, CenterVar *graphene.Point, HradiusVar float32, VradiusVar float32, StartVar float32, EndVar float32, ColorStopsVar uintptr, NColorStopsVar uint) *RepeatingRadialGradientNode {1395+func NewRepeatingRadialGradientNode(BoundsVar *graphene.Rect, CenterVar *graphene.Point, HradiusVar float32, VradiusVar float32, StartVar float32, EndVar float32, ColorStopsVar []ColorStop, NColorStopsVar uint) *RepeatingRadialGradientNode {
1396 var cls *RepeatingRadialGradientNode1396 var cls *RepeatingRadialGradientNode
1397 1397
1398 cret := xNewRepeatingRadialGradientNode(BoundsVar, CenterVar, HradiusVar, VradiusVar, StartVar, EndVar, ColorStopsVar, NColorStopsVar)1398 cret := xNewRepeatingRadialGradientNode(BoundsVar, CenterVar, HradiusVar, VradiusVar, StartVar, EndVar, ColorStopsVar, NColorStopsVar)
@@ -1486,11 +1486,11 @@ func ShadowNodeNewFromInternalPtr(ptr uintptr) *ShadowNode {
1486 return cls1486 return cls
1487 }1487 }
1488 1488
1489-var xNewShadowNode func(uintptr, uintptr, uint) uintptr1489+var xNewShadowNode func(uintptr, []Shadow, uint) uintptr
1490 1490
1491 // Creates a `GskRenderNode` that will draw a @child with the given1491 // Creates a `GskRenderNode` that will draw a @child with the given
1492 // @shadows below it.1492 // @shadows below it.
1493-func NewShadowNode(ChildVar *RenderNode, ShadowsVar uintptr, NShadowsVar uint) *ShadowNode {1493+func NewShadowNode(ChildVar *RenderNode, ShadowsVar []Shadow, NShadowsVar uint) *ShadowNode {
1494 var cls *ShadowNode1494 var cls *ShadowNode
1495 1495
1496 cret := xNewShadowNode(ChildVar.GoPointer(), ShadowsVar, NShadowsVar)1496 cret := xNewShadowNode(ChildVar.GoPointer(), ShadowsVar, NShadowsVar)
@@ -1602,10 +1602,10 @@ func (x *TextNode) GetFont() *pango.Font {
1602 return cls1602 return cls
1603 }1603 }
1604 1604
1605-var xTextNodeGetGlyphs func(uintptr, uint) uintptr1605+var xTextNodeGetGlyphs func(uintptr, uint) []pango.GlyphInfo
1606 1606
1607 // Retrieves the glyph information in the @node.1607 // Retrieves the glyph information in the @node.
1608-func (x *TextNode) GetGlyphs(NGlyphsVar uint) uintptr {1608+func (x *TextNode) GetGlyphs(NGlyphsVar uint) []pango.GlyphInfo {
1609 1609
1610 cret := xTextNodeGetGlyphs(x.GoPointer(), NGlyphsVar)1610 cret := xTextNodeGetGlyphs(x.GoPointer(), NGlyphsVar)
1611 return cret1611 return cret
M v4/gsk/gskroundedrect.go +1 -1
@@ -25,7 +25,7 @@ import (
25 type RoundedRect struct {25 type RoundedRect struct {
26 Bounds uintptr26 Bounds uintptr
27 27
28- Corner uintptr28+ Corner [4]graphene.Size
29 }29 }
30 30
31 func (x *RoundedRect) GoPointer() uintptr {31 func (x *RoundedRect) GoPointer() uintptr {
M v4/gtk/gtkaboutdialog.go +9 -9
@@ -155,21 +155,21 @@ func (x *AboutDialog) AddCreditSection(SectionNameVar string, PeopleVar []string
155 155
156 }156 }
157 157
158-var xAboutDialogGetArtists func(uintptr) uintptr158+var xAboutDialogGetArtists func(uintptr) []string
159 159
160 // Returns the names of the artists which are displayed160 // Returns the names of the artists which are displayed
161 // in the credits page.161 // in the credits page.
162-func (x *AboutDialog) GetArtists() uintptr {162+func (x *AboutDialog) GetArtists() []string {
163 163
164 cret := xAboutDialogGetArtists(x.GoPointer())164 cret := xAboutDialogGetArtists(x.GoPointer())
165 return cret165 return cret
166 }166 }
167 167
168-var xAboutDialogGetAuthors func(uintptr) uintptr168+var xAboutDialogGetAuthors func(uintptr) []string
169 169
170 // Returns the names of the authors which are displayed170 // Returns the names of the authors which are displayed
171 // in the credits page.171 // in the credits page.
172-func (x *AboutDialog) GetAuthors() uintptr {172+func (x *AboutDialog) GetAuthors() []string {
173 173
174 cret := xAboutDialogGetAuthors(x.GoPointer())174 cret := xAboutDialogGetAuthors(x.GoPointer())
175 return cret175 return cret
@@ -193,11 +193,11 @@ func (x *AboutDialog) GetCopyright() string {
193 return cret193 return cret
194 }194 }
195 195
196-var xAboutDialogGetDocumenters func(uintptr) uintptr196+var xAboutDialogGetDocumenters func(uintptr) []string
197 197
198 // Returns the name of the documenters which are displayed198 // Returns the name of the documenters which are displayed
199 // in the credits page.199 // in the credits page.
200-func (x *AboutDialog) GetDocumenters() uintptr {200+func (x *AboutDialog) GetDocumenters() []string {
201 201
202 cret := xAboutDialogGetDocumenters(x.GoPointer())202 cret := xAboutDialogGetDocumenters(x.GoPointer())
203 return cret203 return cret
@@ -588,7 +588,7 @@ func (x *AboutDialog) UpdateProperty(FirstPropertyVar AccessibleProperty, varArg
588 // property change must be communicated to assistive technologies.588 // property change must be communicated to assistive technologies.
589 //589 //
590 // This function is meant to be used by language bindings.590 // This function is meant to be used by language bindings.
591-func (x *AboutDialog) UpdatePropertyValue(NPropertiesVar int, PropertiesVar uintptr, ValuesVar uintptr) {591+func (x *AboutDialog) UpdatePropertyValue(NPropertiesVar int, PropertiesVar []AccessibleProperty, ValuesVar []gobject.Value) {
592 592
593 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)593 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
594 594
@@ -624,7 +624,7 @@ func (x *AboutDialog) UpdateRelation(FirstRelationVar AccessibleRelation, varArg
624 // relation change must be communicated to assistive technologies.624 // relation change must be communicated to assistive technologies.
625 //625 //
626 // This function is meant to be used by language bindings.626 // This function is meant to be used by language bindings.
627-func (x *AboutDialog) UpdateRelationValue(NRelationsVar int, RelationsVar uintptr, ValuesVar uintptr) {627+func (x *AboutDialog) UpdateRelationValue(NRelationsVar int, RelationsVar []AccessibleRelation, ValuesVar []gobject.Value) {
628 628
629 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)629 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
630 630
@@ -657,7 +657,7 @@ func (x *AboutDialog) UpdateState(FirstStateVar AccessibleState, varArgs ...inte
657 // state change must be communicated to assistive technologies.657 // state change must be communicated to assistive technologies.
658 //658 //
659 // This function is meant to be used by language bindings.659 // This function is meant to be used by language bindings.
660-func (x *AboutDialog) UpdateStateValue(NStatesVar int, StatesVar uintptr, ValuesVar uintptr) {660+func (x *AboutDialog) UpdateStateValue(NStatesVar int, StatesVar []AccessibleState, ValuesVar []gobject.Value) {
661 661
662 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)662 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
663 663
M v4/gtk/gtkaccelgroup.go +2 -2
@@ -108,7 +108,7 @@ func AcceleratorParse(AcceleratorVar string, AcceleratorKeyVar uint, Accelerator
108 return cret108 return cret
109 }109 }
110 110
111-var xAcceleratorParseWithKeycode func(string, uintptr, uint, uintptr, *gdk.ModifierType) bool111+var xAcceleratorParseWithKeycode func(string, uintptr, uint, []uint, *gdk.ModifierType) bool
112 112
113 // Parses a string representing an accelerator.113 // Parses a string representing an accelerator.
114 //114 //
@@ -124,7 +124,7 @@ var xAcceleratorParseWithKeycode func(string, uintptr, uint, uintptr, *gdk.Modif
124 //124 //
125 // If the parse fails, @accelerator_key, @accelerator_mods and125 // If the parse fails, @accelerator_key, @accelerator_mods and
126 // @accelerator_codes will be set to 0 (zero).126 // @accelerator_codes will be set to 0 (zero).
127-func AcceleratorParseWithKeycode(AcceleratorVar string, DisplayVar *gdk.Display, AcceleratorKeyVar uint, AcceleratorCodesVar uintptr, AcceleratorModsVar *gdk.ModifierType) bool {127+func AcceleratorParseWithKeycode(AcceleratorVar string, DisplayVar *gdk.Display, AcceleratorKeyVar uint, AcceleratorCodesVar []uint, AcceleratorModsVar *gdk.ModifierType) bool {
128 128
129 cret := xAcceleratorParseWithKeycode(AcceleratorVar, DisplayVar.GoPointer(), AcceleratorKeyVar, AcceleratorCodesVar, AcceleratorModsVar)129 cret := xAcceleratorParseWithKeycode(AcceleratorVar, DisplayVar.GoPointer(), AcceleratorKeyVar, AcceleratorCodesVar, AcceleratorModsVar)
130 return cret130 return cret
M v4/gtk/gtkaccessible.go +9 -9
@@ -40,11 +40,11 @@ type Accessible interface {
40 ResetRelation(RelationVar AccessibleRelation)40 ResetRelation(RelationVar AccessibleRelation)
41 ResetState(StateVar AccessibleState)41 ResetState(StateVar AccessibleState)
42 UpdateProperty(FirstPropertyVar AccessibleProperty, varArgs ...interface{})42 UpdateProperty(FirstPropertyVar AccessibleProperty, varArgs ...interface{})
43- UpdatePropertyValue(NPropertiesVar int, PropertiesVar uintptr, ValuesVar uintptr)43+ UpdatePropertyValue(NPropertiesVar int, PropertiesVar []AccessibleProperty, ValuesVar []gobject.Value)
44 UpdateRelation(FirstRelationVar AccessibleRelation, varArgs ...interface{})44 UpdateRelation(FirstRelationVar AccessibleRelation, varArgs ...interface{})
45- UpdateRelationValue(NRelationsVar int, RelationsVar uintptr, ValuesVar uintptr)45+ UpdateRelationValue(NRelationsVar int, RelationsVar []AccessibleRelation, ValuesVar []gobject.Value)
46 UpdateState(FirstStateVar AccessibleState, varArgs ...interface{})46 UpdateState(FirstStateVar AccessibleState, varArgs ...interface{})
47- UpdateStateValue(NStatesVar int, StatesVar uintptr, ValuesVar uintptr)47+ UpdateStateValue(NStatesVar int, StatesVar []AccessibleState, ValuesVar []gobject.Value)
48 }48 }
49 type AccessibleBase struct {49 type AccessibleBase struct {
50 Ptr uintptr50 Ptr uintptr
@@ -116,7 +116,7 @@ func (x *AccessibleBase) UpdateProperty(FirstPropertyVar AccessibleProperty, var
116 // property change must be communicated to assistive technologies.116 // property change must be communicated to assistive technologies.
117 //117 //
118 // This function is meant to be used by language bindings.118 // This function is meant to be used by language bindings.
119-func (x *AccessibleBase) UpdatePropertyValue(NPropertiesVar int, PropertiesVar uintptr, ValuesVar uintptr) {119+func (x *AccessibleBase) UpdatePropertyValue(NPropertiesVar int, PropertiesVar []AccessibleProperty, ValuesVar []gobject.Value) {
120 120
121 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)121 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
122 122
@@ -152,7 +152,7 @@ func (x *AccessibleBase) UpdateRelation(FirstRelationVar AccessibleRelation, var
152 // relation change must be communicated to assistive technologies.152 // relation change must be communicated to assistive technologies.
153 //153 //
154 // This function is meant to be used by language bindings.154 // This function is meant to be used by language bindings.
155-func (x *AccessibleBase) UpdateRelationValue(NRelationsVar int, RelationsVar uintptr, ValuesVar uintptr) {155+func (x *AccessibleBase) UpdateRelationValue(NRelationsVar int, RelationsVar []AccessibleRelation, ValuesVar []gobject.Value) {
156 156
157 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)157 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
158 158
@@ -185,7 +185,7 @@ func (x *AccessibleBase) UpdateState(FirstStateVar AccessibleState, varArgs ...i
185 // state change must be communicated to assistive technologies.185 // state change must be communicated to assistive technologies.
186 //186 //
187 // This function is meant to be used by language bindings.187 // This function is meant to be used by language bindings.
188-func (x *AccessibleBase) UpdateStateValue(NStatesVar int, StatesVar uintptr, ValuesVar uintptr) {188+func (x *AccessibleBase) UpdateStateValue(NStatesVar int, StatesVar []AccessibleState, ValuesVar []gobject.Value) {
189 189
190 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)190 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
191 191
@@ -196,11 +196,11 @@ var XGtkAccessibleResetProperty func(uintptr, AccessibleProperty)
196 var XGtkAccessibleResetRelation func(uintptr, AccessibleRelation)196 var XGtkAccessibleResetRelation func(uintptr, AccessibleRelation)
197 var XGtkAccessibleResetState func(uintptr, AccessibleState)197 var XGtkAccessibleResetState func(uintptr, AccessibleState)
198 var XGtkAccessibleUpdateProperty func(uintptr, AccessibleProperty, ...interface{})198 var XGtkAccessibleUpdateProperty func(uintptr, AccessibleProperty, ...interface{})
199-var XGtkAccessibleUpdatePropertyValue func(uintptr, int, uintptr, uintptr)199+var XGtkAccessibleUpdatePropertyValue func(uintptr, int, []AccessibleProperty, []gobject.Value)
200 var XGtkAccessibleUpdateRelation func(uintptr, AccessibleRelation, ...interface{})200 var XGtkAccessibleUpdateRelation func(uintptr, AccessibleRelation, ...interface{})
201-var XGtkAccessibleUpdateRelationValue func(uintptr, int, uintptr, uintptr)201+var XGtkAccessibleUpdateRelationValue func(uintptr, int, []AccessibleRelation, []gobject.Value)
202 var XGtkAccessibleUpdateState func(uintptr, AccessibleState, ...interface{})202 var XGtkAccessibleUpdateState func(uintptr, AccessibleState, ...interface{})
203-var XGtkAccessibleUpdateStateValue func(uintptr, int, uintptr, uintptr)203+var XGtkAccessibleUpdateStateValue func(uintptr, int, []AccessibleState, []gobject.Value)
204 204
205 var xAccessiblePropertyInitValue func(AccessibleProperty, *gobject.Value)205 var xAccessiblePropertyInitValue func(AccessibleProperty, *gobject.Value)
206 206
M v4/gtk/gtkactionbar.go +3 -3
@@ -217,7 +217,7 @@ func (x *ActionBar) UpdateProperty(FirstPropertyVar AccessibleProperty, varArgs
217 // property change must be communicated to assistive technologies.217 // property change must be communicated to assistive technologies.
218 //218 //
219 // This function is meant to be used by language bindings.219 // This function is meant to be used by language bindings.
220-func (x *ActionBar) UpdatePropertyValue(NPropertiesVar int, PropertiesVar uintptr, ValuesVar uintptr) {220+func (x *ActionBar) UpdatePropertyValue(NPropertiesVar int, PropertiesVar []AccessibleProperty, ValuesVar []gobject.Value) {
221 221
222 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)222 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
223 223
@@ -253,7 +253,7 @@ func (x *ActionBar) UpdateRelation(FirstRelationVar AccessibleRelation, varArgs
253 // relation change must be communicated to assistive technologies.253 // relation change must be communicated to assistive technologies.
254 //254 //
255 // This function is meant to be used by language bindings.255 // This function is meant to be used by language bindings.
256-func (x *ActionBar) UpdateRelationValue(NRelationsVar int, RelationsVar uintptr, ValuesVar uintptr) {256+func (x *ActionBar) UpdateRelationValue(NRelationsVar int, RelationsVar []AccessibleRelation, ValuesVar []gobject.Value) {
257 257
258 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)258 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
259 259
@@ -286,7 +286,7 @@ func (x *ActionBar) UpdateState(FirstStateVar AccessibleState, varArgs ...interf
286 // state change must be communicated to assistive technologies.286 // state change must be communicated to assistive technologies.
287 //287 //
288 // This function is meant to be used by language bindings.288 // This function is meant to be used by language bindings.
289-func (x *ActionBar) UpdateStateValue(NStatesVar int, StatesVar uintptr, ValuesVar uintptr) {289+func (x *ActionBar) UpdateStateValue(NStatesVar int, StatesVar []AccessibleState, ValuesVar []gobject.Value) {
290 290
291 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)291 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
292 292
M v4/gtk/gtkappchooserbutton.go +3 -3
@@ -317,7 +317,7 @@ func (x *AppChooserButton) UpdateProperty(FirstPropertyVar AccessibleProperty, v
317 // property change must be communicated to assistive technologies.317 // property change must be communicated to assistive technologies.
318 //318 //
319 // This function is meant to be used by language bindings.319 // This function is meant to be used by language bindings.
320-func (x *AppChooserButton) UpdatePropertyValue(NPropertiesVar int, PropertiesVar uintptr, ValuesVar uintptr) {320+func (x *AppChooserButton) UpdatePropertyValue(NPropertiesVar int, PropertiesVar []AccessibleProperty, ValuesVar []gobject.Value) {
321 321
322 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)322 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
323 323
@@ -353,7 +353,7 @@ func (x *AppChooserButton) UpdateRelation(FirstRelationVar AccessibleRelation, v
353 // relation change must be communicated to assistive technologies.353 // relation change must be communicated to assistive technologies.
354 //354 //
355 // This function is meant to be used by language bindings.355 // This function is meant to be used by language bindings.
356-func (x *AppChooserButton) UpdateRelationValue(NRelationsVar int, RelationsVar uintptr, ValuesVar uintptr) {356+func (x *AppChooserButton) UpdateRelationValue(NRelationsVar int, RelationsVar []AccessibleRelation, ValuesVar []gobject.Value) {
357 357
358 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)358 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
359 359
@@ -386,7 +386,7 @@ func (x *AppChooserButton) UpdateState(FirstStateVar AccessibleState, varArgs ..
386 // state change must be communicated to assistive technologies.386 // state change must be communicated to assistive technologies.
387 //387 //
388 // This function is meant to be used by language bindings.388 // This function is meant to be used by language bindings.
389-func (x *AppChooserButton) UpdateStateValue(NStatesVar int, StatesVar uintptr, ValuesVar uintptr) {389+func (x *AppChooserButton) UpdateStateValue(NStatesVar int, StatesVar []AccessibleState, ValuesVar []gobject.Value) {
390 390
391 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)391 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
392 392
M v4/gtk/gtkappchooserdialog.go +3 -3
@@ -173,7 +173,7 @@ func (x *AppChooserDialog) UpdateProperty(FirstPropertyVar AccessibleProperty, v
173 // property change must be communicated to assistive technologies.173 // property change must be communicated to assistive technologies.
174 //174 //
175 // This function is meant to be used by language bindings.175 // This function is meant to be used by language bindings.
176-func (x *AppChooserDialog) UpdatePropertyValue(NPropertiesVar int, PropertiesVar uintptr, ValuesVar uintptr) {176+func (x *AppChooserDialog) UpdatePropertyValue(NPropertiesVar int, PropertiesVar []AccessibleProperty, ValuesVar []gobject.Value) {
177 177
178 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)178 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
179 179
@@ -209,7 +209,7 @@ func (x *AppChooserDialog) UpdateRelation(FirstRelationVar AccessibleRelation, v
209 // relation change must be communicated to assistive technologies.209 // relation change must be communicated to assistive technologies.
210 //210 //
211 // This function is meant to be used by language bindings.211 // This function is meant to be used by language bindings.
212-func (x *AppChooserDialog) UpdateRelationValue(NRelationsVar int, RelationsVar uintptr, ValuesVar uintptr) {212+func (x *AppChooserDialog) UpdateRelationValue(NRelationsVar int, RelationsVar []AccessibleRelation, ValuesVar []gobject.Value) {
213 213
214 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)214 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
215 215
@@ -242,7 +242,7 @@ func (x *AppChooserDialog) UpdateState(FirstStateVar AccessibleState, varArgs ..
242 // state change must be communicated to assistive technologies.242 // state change must be communicated to assistive technologies.
243 //243 //
244 // This function is meant to be used by language bindings.244 // This function is meant to be used by language bindings.
245-func (x *AppChooserDialog) UpdateStateValue(NStatesVar int, StatesVar uintptr, ValuesVar uintptr) {245+func (x *AppChooserDialog) UpdateStateValue(NStatesVar int, StatesVar []AccessibleState, ValuesVar []gobject.Value) {
246 246
247 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)247 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
248 248
M v4/gtk/gtkappchooserwidget.go +3 -3
@@ -292,7 +292,7 @@ func (x *AppChooserWidget) UpdateProperty(FirstPropertyVar AccessibleProperty, v
292 // property change must be communicated to assistive technologies.292 // property change must be communicated to assistive technologies.
293 //293 //
294 // This function is meant to be used by language bindings.294 // This function is meant to be used by language bindings.
295-func (x *AppChooserWidget) UpdatePropertyValue(NPropertiesVar int, PropertiesVar uintptr, ValuesVar uintptr) {295+func (x *AppChooserWidget) UpdatePropertyValue(NPropertiesVar int, PropertiesVar []AccessibleProperty, ValuesVar []gobject.Value) {
296 296
297 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)297 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
298 298
@@ -328,7 +328,7 @@ func (x *AppChooserWidget) UpdateRelation(FirstRelationVar AccessibleRelation, v
328 // relation change must be communicated to assistive technologies.328 // relation change must be communicated to assistive technologies.
329 //329 //
330 // This function is meant to be used by language bindings.330 // This function is meant to be used by language bindings.
331-func (x *AppChooserWidget) UpdateRelationValue(NRelationsVar int, RelationsVar uintptr, ValuesVar uintptr) {331+func (x *AppChooserWidget) UpdateRelationValue(NRelationsVar int, RelationsVar []AccessibleRelation, ValuesVar []gobject.Value) {
332 332
333 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)333 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
334 334
@@ -361,7 +361,7 @@ func (x *AppChooserWidget) UpdateState(FirstStateVar AccessibleState, varArgs ..
361 // state change must be communicated to assistive technologies.361 // state change must be communicated to assistive technologies.
362 //362 //
363 // This function is meant to be used by language bindings.363 // This function is meant to be used by language bindings.
364-func (x *AppChooserWidget) UpdateStateValue(NStatesVar int, StatesVar uintptr, ValuesVar uintptr) {364+func (x *AppChooserWidget) UpdateStateValue(NStatesVar int, StatesVar []AccessibleState, ValuesVar []gobject.Value) {
365 365
366 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)366 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
367 367
M v4/gtk/gtkapplication.go +5 -5
@@ -14,7 +14,7 @@ import (
14 type ApplicationClass struct {14 type ApplicationClass struct {
15 ParentClass uintptr15 ParentClass uintptr
16 16
17- Padding uintptr17+ Padding [8]uintptr
18 }18 }
19 19
20 func (x *ApplicationClass) GoPointer() uintptr {20 func (x *ApplicationClass) GoPointer() uintptr {
@@ -360,7 +360,7 @@ func (x *Application) RemoveWindow(WindowVar *Window) {
360 360
361 }361 }
362 362
363-var xApplicationSetAccelsForAction func(uintptr, string, uintptr)363+var xApplicationSetAccelsForAction func(uintptr, string, []string)
364 364
365 // Sets zero or more keyboard accelerators that will trigger the365 // Sets zero or more keyboard accelerators that will trigger the
366 // given action.366 // given action.
@@ -373,7 +373,7 @@ var xApplicationSetAccelsForAction func(uintptr, string, uintptr)
373 //373 //
374 // For the `detailed_action_name`, see `g_action_parse_detailed_name()` and374 // For the `detailed_action_name`, see `g_action_parse_detailed_name()` and
375 // `g_action_print_detailed_name()`.375 // `g_action_print_detailed_name()`.
376-func (x *Application) SetAccelsForAction(DetailedActionNameVar string, AccelsVar uintptr) {376+func (x *Application) SetAccelsForAction(DetailedActionNameVar string, AccelsVar []string) {
377 377
378 xApplicationSetAccelsForAction(x.GoPointer(), DetailedActionNameVar, AccelsVar)378 xApplicationSetAccelsForAction(x.GoPointer(), DetailedActionNameVar, AccelsVar)
379 379
@@ -687,7 +687,7 @@ func (x *Application) HasAction(ActionNameVar string) bool {
687 //687 //
688 // The caller is responsible for freeing the list with g_strfreev() when688 // The caller is responsible for freeing the list with g_strfreev() when
689 // it is no longer required.689 // it is no longer required.
690-func (x *Application) ListActions() uintptr {690+func (x *Application) ListActions() []string {
691 691
692 cret := gio.XGActionGroupListActions(x.GoPointer())692 cret := gio.XGActionGroupListActions(x.GoPointer())
693 return cret693 return cret
@@ -781,7 +781,7 @@ func (x *Application) AddAction(ActionVar gio.Action) {
781 // }781 // }
782 //782 //
783 // ]|783 // ]|
784-func (x *Application) AddActionEntries(EntriesVar uintptr, NEntriesVar int, UserDataVar uintptr) {784+func (x *Application) AddActionEntries(EntriesVar []gio.ActionEntry, NEntriesVar int, UserDataVar uintptr) {
785 785
786 gio.XGActionMapAddActionEntries(x.GoPointer(), EntriesVar, NEntriesVar, UserDataVar)786 gio.XGActionMapAddActionEntries(x.GoPointer(), EntriesVar, NEntriesVar, UserDataVar)
787 787
M v4/gtk/gtkapplicationwindow.go +6 -6
@@ -16,7 +16,7 @@ import (
16 type ApplicationWindowClass struct {16 type ApplicationWindowClass struct {
17 ParentClass uintptr17 ParentClass uintptr
18 18
19- Padding uintptr19+ Padding [8]uintptr
20 }20 }
21 21
22 func (x *ApplicationWindowClass) GoPointer() uintptr {22 func (x *ApplicationWindowClass) GoPointer() uintptr {
@@ -386,7 +386,7 @@ func (x *ApplicationWindow) HasAction(ActionNameVar string) bool {
386 //386 //
387 // The caller is responsible for freeing the list with g_strfreev() when387 // The caller is responsible for freeing the list with g_strfreev() when
388 // it is no longer required.388 // it is no longer required.
389-func (x *ApplicationWindow) ListActions() uintptr {389+func (x *ApplicationWindow) ListActions() []string {
390 390
391 cret := gio.XGActionGroupListActions(x.GoPointer())391 cret := gio.XGActionGroupListActions(x.GoPointer())
392 return cret392 return cret
@@ -480,7 +480,7 @@ func (x *ApplicationWindow) AddAction(ActionVar gio.Action) {
480 // }480 // }
481 //481 //
482 // ]|482 // ]|
483-func (x *ApplicationWindow) AddActionEntries(EntriesVar uintptr, NEntriesVar int, UserDataVar uintptr) {483+func (x *ApplicationWindow) AddActionEntries(EntriesVar []gio.ActionEntry, NEntriesVar int, UserDataVar uintptr) {
484 484
485 gio.XGActionMapAddActionEntries(x.GoPointer(), EntriesVar, NEntriesVar, UserDataVar)485 gio.XGActionMapAddActionEntries(x.GoPointer(), EntriesVar, NEntriesVar, UserDataVar)
486 486
@@ -570,7 +570,7 @@ func (x *ApplicationWindow) UpdateProperty(FirstPropertyVar AccessibleProperty,
570 // property change must be communicated to assistive technologies.570 // property change must be communicated to assistive technologies.
571 //571 //
572 // This function is meant to be used by language bindings.572 // This function is meant to be used by language bindings.
573-func (x *ApplicationWindow) UpdatePropertyValue(NPropertiesVar int, PropertiesVar uintptr, ValuesVar uintptr) {573+func (x *ApplicationWindow) UpdatePropertyValue(NPropertiesVar int, PropertiesVar []AccessibleProperty, ValuesVar []gobject.Value) {
574 574
575 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)575 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
576 576
@@ -606,7 +606,7 @@ func (x *ApplicationWindow) UpdateRelation(FirstRelationVar AccessibleRelation,
606 // relation change must be communicated to assistive technologies.606 // relation change must be communicated to assistive technologies.
607 //607 //
608 // This function is meant to be used by language bindings.608 // This function is meant to be used by language bindings.
609-func (x *ApplicationWindow) UpdateRelationValue(NRelationsVar int, RelationsVar uintptr, ValuesVar uintptr) {609+func (x *ApplicationWindow) UpdateRelationValue(NRelationsVar int, RelationsVar []AccessibleRelation, ValuesVar []gobject.Value) {
610 610
611 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)611 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
612 612
@@ -639,7 +639,7 @@ func (x *ApplicationWindow) UpdateState(FirstStateVar AccessibleState, varArgs .
639 // state change must be communicated to assistive technologies.639 // state change must be communicated to assistive technologies.
640 //640 //
641 // This function is meant to be used by language bindings.641 // This function is meant to be used by language bindings.
642-func (x *ApplicationWindow) UpdateStateValue(NStatesVar int, StatesVar uintptr, ValuesVar uintptr) {642+func (x *ApplicationWindow) UpdateStateValue(NStatesVar int, StatesVar []AccessibleState, ValuesVar []gobject.Value) {
643 643
644 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)644 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
645 645
M v4/gtk/gtkaspectframe.go +3 -3
@@ -213,7 +213,7 @@ func (x *AspectFrame) UpdateProperty(FirstPropertyVar AccessibleProperty, varArg
213 // property change must be communicated to assistive technologies.213 // property change must be communicated to assistive technologies.
214 //214 //
215 // This function is meant to be used by language bindings.215 // This function is meant to be used by language bindings.
216-func (x *AspectFrame) UpdatePropertyValue(NPropertiesVar int, PropertiesVar uintptr, ValuesVar uintptr) {216+func (x *AspectFrame) UpdatePropertyValue(NPropertiesVar int, PropertiesVar []AccessibleProperty, ValuesVar []gobject.Value) {
217 217
218 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)218 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
219 219
@@ -249,7 +249,7 @@ func (x *AspectFrame) UpdateRelation(FirstRelationVar AccessibleRelation, varArg
249 // relation change must be communicated to assistive technologies.249 // relation change must be communicated to assistive technologies.
250 //250 //
251 // This function is meant to be used by language bindings.251 // This function is meant to be used by language bindings.
252-func (x *AspectFrame) UpdateRelationValue(NRelationsVar int, RelationsVar uintptr, ValuesVar uintptr) {252+func (x *AspectFrame) UpdateRelationValue(NRelationsVar int, RelationsVar []AccessibleRelation, ValuesVar []gobject.Value) {
253 253
254 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)254 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
255 255
@@ -282,7 +282,7 @@ func (x *AspectFrame) UpdateState(FirstStateVar AccessibleState, varArgs ...inte
282 // state change must be communicated to assistive technologies.282 // state change must be communicated to assistive technologies.
283 //283 //
284 // This function is meant to be used by language bindings.284 // This function is meant to be used by language bindings.
285-func (x *AspectFrame) UpdateStateValue(NStatesVar int, StatesVar uintptr, ValuesVar uintptr) {285+func (x *AspectFrame) UpdateStateValue(NStatesVar int, StatesVar []AccessibleState, ValuesVar []gobject.Value) {
286 286
287 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)287 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
288 288
M v4/gtk/gtkassistant.go +3 -3
@@ -580,7 +580,7 @@ func (x *Assistant) UpdateProperty(FirstPropertyVar AccessibleProperty, varArgs
580 // property change must be communicated to assistive technologies.580 // property change must be communicated to assistive technologies.
581 //581 //
582 // This function is meant to be used by language bindings.582 // This function is meant to be used by language bindings.
583-func (x *Assistant) UpdatePropertyValue(NPropertiesVar int, PropertiesVar uintptr, ValuesVar uintptr) {583+func (x *Assistant) UpdatePropertyValue(NPropertiesVar int, PropertiesVar []AccessibleProperty, ValuesVar []gobject.Value) {
584 584
585 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)585 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
586 586
@@ -616,7 +616,7 @@ func (x *Assistant) UpdateRelation(FirstRelationVar AccessibleRelation, varArgs
616 // relation change must be communicated to assistive technologies.616 // relation change must be communicated to assistive technologies.
617 //617 //
618 // This function is meant to be used by language bindings.618 // This function is meant to be used by language bindings.
619-func (x *Assistant) UpdateRelationValue(NRelationsVar int, RelationsVar uintptr, ValuesVar uintptr) {619+func (x *Assistant) UpdateRelationValue(NRelationsVar int, RelationsVar []AccessibleRelation, ValuesVar []gobject.Value) {
620 620
621 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)621 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
622 622
@@ -649,7 +649,7 @@ func (x *Assistant) UpdateState(FirstStateVar AccessibleState, varArgs ...interf
649 // state change must be communicated to assistive technologies.649 // state change must be communicated to assistive technologies.
650 //650 //
651 // This function is meant to be used by language bindings.651 // This function is meant to be used by language bindings.
652-func (x *Assistant) UpdateStateValue(NStatesVar int, StatesVar uintptr, ValuesVar uintptr) {652+func (x *Assistant) UpdateStateValue(NStatesVar int, StatesVar []AccessibleState, ValuesVar []gobject.Value) {
653 653
654 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)654 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
655 655
M v4/gtk/gtkbitset.go +1 -1
@@ -15,7 +15,7 @@ import (
15 // [func@Gtk.BitsetIter.init_first], [func@Gtk.BitsetIter.init_last]15 // [func@Gtk.BitsetIter.init_first], [func@Gtk.BitsetIter.init_last]
16 // or [func@Gtk.BitsetIter.init_at].16 // or [func@Gtk.BitsetIter.init_at].
17 type BitsetIter struct {17 type BitsetIter struct {
18- PrivateData uintptr18+ PrivateData [10]uintptr
19 }19 }
20 20
21 func (x *BitsetIter) GoPointer() uintptr {21 func (x *BitsetIter) GoPointer() uintptr {
M v4/gtk/gtkbookmarklist.go +2 -1
@@ -8,6 +8,7 @@ import (
8 "github.com/jwijenbergh/puregotk/internal/core"8 "github.com/jwijenbergh/puregotk/internal/core"
9 "github.com/jwijenbergh/puregotk/v4/gio"9 "github.com/jwijenbergh/puregotk/v4/gio"
10 "github.com/jwijenbergh/puregotk/v4/gobject"10 "github.com/jwijenbergh/puregotk/v4/gobject"
11+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
11 )12 )
12 13
13 type BookmarkListClass struct {14 type BookmarkListClass struct {
@@ -147,7 +148,7 @@ func (x *BookmarkList) GetItem(PositionVar uint) uintptr {
147 //148 //
148 // The item type of a #GListModel can not change during the life of the149 // The item type of a #GListModel can not change during the life of the
149 // model.150 // model.
150-func (x *BookmarkList) GetItemType() []interface{} {151+func (x *BookmarkList) GetItemType() types.GType {
151 152
152 cret := gio.XGListModelGetItemType(x.GoPointer())153 cret := gio.XGListModelGetItemType(x.GoPointer())
153 return cret154 return cret
M v4/gtk/gtkbox.go +4 -4
@@ -12,7 +12,7 @@ import (
12 type BoxClass struct {12 type BoxClass struct {
13 ParentClass uintptr13 ParentClass uintptr
14 14
15- Padding uintptr15+ Padding [8]uintptr
16 }16 }
17 17
18 func (x *BoxClass) GoPointer() uintptr {18 func (x *BoxClass) GoPointer() uintptr {
@@ -261,7 +261,7 @@ func (x *Box) UpdateProperty(FirstPropertyVar AccessibleProperty, varArgs ...int
261 // property change must be communicated to assistive technologies.261 // property change must be communicated to assistive technologies.
262 //262 //
263 // This function is meant to be used by language bindings.263 // This function is meant to be used by language bindings.
264-func (x *Box) UpdatePropertyValue(NPropertiesVar int, PropertiesVar uintptr, ValuesVar uintptr) {264+func (x *Box) UpdatePropertyValue(NPropertiesVar int, PropertiesVar []AccessibleProperty, ValuesVar []gobject.Value) {
265 265
266 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)266 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
267 267
@@ -297,7 +297,7 @@ func (x *Box) UpdateRelation(FirstRelationVar AccessibleRelation, varArgs ...int
297 // relation change must be communicated to assistive technologies.297 // relation change must be communicated to assistive technologies.
298 //298 //
299 // This function is meant to be used by language bindings.299 // This function is meant to be used by language bindings.
300-func (x *Box) UpdateRelationValue(NRelationsVar int, RelationsVar uintptr, ValuesVar uintptr) {300+func (x *Box) UpdateRelationValue(NRelationsVar int, RelationsVar []AccessibleRelation, ValuesVar []gobject.Value) {
301 301
302 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)302 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
303 303
@@ -330,7 +330,7 @@ func (x *Box) UpdateState(FirstStateVar AccessibleState, varArgs ...interface{})
330 // state change must be communicated to assistive technologies.330 // state change must be communicated to assistive technologies.
331 //331 //
332 // This function is meant to be used by language bindings.332 // This function is meant to be used by language bindings.
333-func (x *Box) UpdateStateValue(NStatesVar int, StatesVar uintptr, ValuesVar uintptr) {333+func (x *Box) UpdateStateValue(NStatesVar int, StatesVar []AccessibleState, ValuesVar []gobject.Value) {
334 334
335 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)335 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
336 336
M v4/gtk/gtkbuildable.go +3 -3
@@ -40,7 +40,7 @@ func (x *BuildableParseContext) GetElement() string {
40 return cret40 return cret
41 }41 }
42 42
43-var xBuildableParseContextGetElementStack func(uintptr) uintptr43+var xBuildableParseContextGetElementStack func(uintptr) []string
44 44
45 // Retrieves the element stack from the internal state of the parser.45 // Retrieves the element stack from the internal state of the parser.
46 //46 //
@@ -53,7 +53,7 @@ var xBuildableParseContextGetElementStack func(uintptr) uintptr
53 // end_element handlers where gtk_buildable_parse_context_get_element()53 // end_element handlers where gtk_buildable_parse_context_get_element()
54 // would merely return the name of the element that is being54 // would merely return the name of the element that is being
55 // processed.55 // processed.
56-func (x *BuildableParseContext) GetElementStack() uintptr {56+func (x *BuildableParseContext) GetElementStack() []string {
57 57
58 cret := xBuildableParseContextGetElementStack(x.GoPointer())58 cret := xBuildableParseContextGetElementStack(x.GoPointer())
59 return cret59 return cret
@@ -131,7 +131,7 @@ func (x *BuildableParseContext) Push(ParserVar *BuildableParser, UserDataVar uin
131 131
132 // A sub-parser for `GtkBuildable` implementations.132 // A sub-parser for `GtkBuildable` implementations.
133 type BuildableParser struct {133 type BuildableParser struct {
134- Padding uintptr134+ Padding [4]uintptr
135 }135 }
136 136
137 func (x *BuildableParser) GoPointer() uintptr {137 func (x *BuildableParser) GoPointer() uintptr {
M v4/gtk/gtkbuilder.go +7 -6
@@ -8,6 +8,7 @@ import (
8 "github.com/jwijenbergh/puregotk/internal/core"8 "github.com/jwijenbergh/puregotk/internal/core"
9 "github.com/jwijenbergh/puregotk/v4/glib"9 "github.com/jwijenbergh/puregotk/v4/glib"
10 "github.com/jwijenbergh/puregotk/v4/gobject"10 "github.com/jwijenbergh/puregotk/v4/gobject"
11+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
11 )12 )
12 13
13 type BuilderClass struct {14 type BuilderClass struct {
@@ -534,14 +535,14 @@ func (x *Builder) ExposeObject(NameVar string, ObjectVar *gobject.Object) {
534 535
535 }536 }
536 537
537-var xBuilderExtendWithTemplate func(uintptr, uintptr, []interface{}, string, int, **glib.Error) bool538+var xBuilderExtendWithTemplate func(uintptr, uintptr, types.GType, string, int, **glib.Error) bool
538 539
539 // Main private entry point for building composite components540 // Main private entry point for building composite components
540 // from template XML.541 // from template XML.
541 //542 //
542 // Most likely you do not need to call this function in applications as543 // Most likely you do not need to call this function in applications as
543 // templates are handled by `GtkWidget`.544 // templates are handled by `GtkWidget`.
544-func (x *Builder) ExtendWithTemplate(ObjectVar *gobject.Object, TemplateTypeVar []interface{}, BufferVar string, LengthVar int) (bool, error) {545+func (x *Builder) ExtendWithTemplate(ObjectVar *gobject.Object, TemplateTypeVar types.GType, BufferVar string, LengthVar int) (bool, error) {
545 var cerr *glib.Error546 var cerr *glib.Error
546 547
547 cret := xBuilderExtendWithTemplate(x.GoPointer(), ObjectVar.GoPointer(), TemplateTypeVar, BufferVar, LengthVar, &cerr)548 cret := xBuilderExtendWithTemplate(x.GoPointer(), ObjectVar.GoPointer(), TemplateTypeVar, BufferVar, LengthVar, &cerr)
@@ -627,14 +628,14 @@ func (x *Builder) GetTranslationDomain() string {
627 return cret628 return cret
628 }629 }
629 630
630-var xBuilderGetTypeFromName func(uintptr, string) []interface{}631+var xBuilderGetTypeFromName func(uintptr, string) types.GType
631 632
632 // Looks up a type by name.633 // Looks up a type by name.
633 //634 //
634 // This is using the virtual function that `GtkBuilder` has635 // This is using the virtual function that `GtkBuilder` has
635 // for that purpose. This is mainly used when implementing636 // for that purpose. This is mainly used when implementing
636 // the `GtkBuildable` interface on a type.637 // the `GtkBuildable` interface on a type.
637-func (x *Builder) GetTypeFromName(TypeNameVar string) []interface{} {638+func (x *Builder) GetTypeFromName(TypeNameVar string) types.GType {
638 639
639 cret := xBuilderGetTypeFromName(x.GoPointer(), TypeNameVar)640 cret := xBuilderGetTypeFromName(x.GoPointer(), TypeNameVar)
640 return cret641 return cret
@@ -701,7 +702,7 @@ func (x *Builder) ValueFromString(PspecVar *gobject.ParamSpec, StringVar string,
701 702
702 }703 }
703 704
704-var xBuilderValueFromStringType func(uintptr, []interface{}, string, *gobject.Value, **glib.Error) bool705+var xBuilderValueFromStringType func(uintptr, types.GType, string, *gobject.Value, **glib.Error) bool
705 706
706 // Demarshals a value from a string.707 // Demarshals a value from a string.
707 //708 //
@@ -713,7 +714,7 @@ var xBuilderValueFromStringType func(uintptr, []interface{}, string, *gobject.Va
713 //714 //
714 // Upon errors %FALSE will be returned and @error will be715 // Upon errors %FALSE will be returned and @error will be
715 // assigned a `GError` from the %GTK_BUILDER_ERROR domain.716 // assigned a `GError` from the %GTK_BUILDER_ERROR domain.
716-func (x *Builder) ValueFromStringType(TypeVar []interface{}, StringVar string, ValueVar *gobject.Value) (bool, error) {717+func (x *Builder) ValueFromStringType(TypeVar types.GType, StringVar string, ValueVar *gobject.Value) (bool, error) {
717 var cerr *glib.Error718 var cerr *glib.Error
718 719
719 cret := xBuilderValueFromStringType(x.GoPointer(), TypeVar, StringVar, ValueVar, &cerr)720 cret := xBuilderValueFromStringType(x.GoPointer(), TypeVar, StringVar, ValueVar, &cerr)
M v4/gtk/gtkbutton.go +4 -4
@@ -13,7 +13,7 @@ import (
13 type ButtonClass struct {13 type ButtonClass struct {
14 ParentClass uintptr14 ParentClass uintptr
15 15
16- Padding uintptr16+ Padding [8]uintptr
17 }17 }
18 18
19 func (x *ButtonClass) GoPointer() uintptr {19 func (x *ButtonClass) GoPointer() uintptr {
@@ -379,7 +379,7 @@ func (x *Button) UpdateProperty(FirstPropertyVar AccessibleProperty, varArgs ...
379 // property change must be communicated to assistive technologies.379 // property change must be communicated to assistive technologies.
380 //380 //
381 // This function is meant to be used by language bindings.381 // This function is meant to be used by language bindings.
382-func (x *Button) UpdatePropertyValue(NPropertiesVar int, PropertiesVar uintptr, ValuesVar uintptr) {382+func (x *Button) UpdatePropertyValue(NPropertiesVar int, PropertiesVar []AccessibleProperty, ValuesVar []gobject.Value) {
383 383
384 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)384 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
385 385
@@ -415,7 +415,7 @@ func (x *Button) UpdateRelation(FirstRelationVar AccessibleRelation, varArgs ...
415 // relation change must be communicated to assistive technologies.415 // relation change must be communicated to assistive technologies.
416 //416 //
417 // This function is meant to be used by language bindings.417 // This function is meant to be used by language bindings.
418-func (x *Button) UpdateRelationValue(NRelationsVar int, RelationsVar uintptr, ValuesVar uintptr) {418+func (x *Button) UpdateRelationValue(NRelationsVar int, RelationsVar []AccessibleRelation, ValuesVar []gobject.Value) {
419 419
420 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)420 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
421 421
@@ -448,7 +448,7 @@ func (x *Button) UpdateState(FirstStateVar AccessibleState, varArgs ...interface
448 // state change must be communicated to assistive technologies.448 // state change must be communicated to assistive technologies.
449 //449 //
450 // This function is meant to be used by language bindings.450 // This function is meant to be used by language bindings.
451-func (x *Button) UpdateStateValue(NStatesVar int, StatesVar uintptr, ValuesVar uintptr) {451+func (x *Button) UpdateStateValue(NStatesVar int, StatesVar []AccessibleState, ValuesVar []gobject.Value) {
452 452
453 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)453 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
454 454
M v4/gtk/gtkcalendar.go +3 -3
@@ -379,7 +379,7 @@ func (x *Calendar) UpdateProperty(FirstPropertyVar AccessibleProperty, varArgs .
379 // property change must be communicated to assistive technologies.379 // property change must be communicated to assistive technologies.
380 //380 //
381 // This function is meant to be used by language bindings.381 // This function is meant to be used by language bindings.
382-func (x *Calendar) UpdatePropertyValue(NPropertiesVar int, PropertiesVar uintptr, ValuesVar uintptr) {382+func (x *Calendar) UpdatePropertyValue(NPropertiesVar int, PropertiesVar []AccessibleProperty, ValuesVar []gobject.Value) {
383 383
384 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)384 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
385 385
@@ -415,7 +415,7 @@ func (x *Calendar) UpdateRelation(FirstRelationVar AccessibleRelation, varArgs .
415 // relation change must be communicated to assistive technologies.415 // relation change must be communicated to assistive technologies.
416 //416 //
417 // This function is meant to be used by language bindings.417 // This function is meant to be used by language bindings.
418-func (x *Calendar) UpdateRelationValue(NRelationsVar int, RelationsVar uintptr, ValuesVar uintptr) {418+func (x *Calendar) UpdateRelationValue(NRelationsVar int, RelationsVar []AccessibleRelation, ValuesVar []gobject.Value) {
419 419
420 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)420 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
421 421
@@ -448,7 +448,7 @@ func (x *Calendar) UpdateState(FirstStateVar AccessibleState, varArgs ...interfa
448 // state change must be communicated to assistive technologies.448 // state change must be communicated to assistive technologies.
449 //449 //
450 // This function is meant to be used by language bindings.450 // This function is meant to be used by language bindings.
451-func (x *Calendar) UpdateStateValue(NStatesVar int, StatesVar uintptr, ValuesVar uintptr) {451+func (x *Calendar) UpdateStateValue(NStatesVar int, StatesVar []AccessibleState, ValuesVar []gobject.Value) {
452 452
453 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)453 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
454 454
M v4/gtk/gtkcellarea.go +1 -1
@@ -23,7 +23,7 @@ type CellCallback func(uintptr, uintptr) bool
23 type CellAreaClass struct {23 type CellAreaClass struct {
24 ParentClass uintptr24 ParentClass uintptr
25 25
26- Padding uintptr26+ Padding [8]uintptr
27 }27 }
28 28
29 func (x *CellAreaClass) GoPointer() uintptr {29 func (x *CellAreaClass) GoPointer() uintptr {
M v4/gtk/gtkcellareacontext.go +1 -1
@@ -12,7 +12,7 @@ import (
12 type CellAreaContextClass struct {12 type CellAreaContextClass struct {
13 ParentClass uintptr13 ParentClass uintptr
14 14
15- Padding uintptr15+ Padding [8]uintptr
16 }16 }
17 17
18 func (x *CellAreaContextClass) GoPointer() uintptr {18 func (x *CellAreaContextClass) GoPointer() uintptr {
M v4/gtk/gtkcellrenderer.go +1 -1
@@ -14,7 +14,7 @@ import (
14 type CellRendererClass struct {14 type CellRendererClass struct {
15 ParentClass uintptr15 ParentClass uintptr
16 16
17- Padding uintptr17+ Padding [8]uintptr
18 }18 }
19 19
20 func (x *CellRendererClass) GoPointer() uintptr {20 func (x *CellRendererClass) GoPointer() uintptr {
M v4/gtk/gtkcellrenderertext.go +1 -1
@@ -13,7 +13,7 @@ import (
13 type CellRendererTextClass struct {13 type CellRendererTextClass struct {
14 ParentClass uintptr14 ParentClass uintptr
15 15
16- Padding uintptr16+ Padding [8]uintptr
17 }17 }
18 18
19 func (x *CellRendererTextClass) GoPointer() uintptr {19 func (x *CellRendererTextClass) GoPointer() uintptr {
M v4/gtk/gtkcellview.go +3 -3
@@ -298,7 +298,7 @@ func (x *CellView) UpdateProperty(FirstPropertyVar AccessibleProperty, varArgs .
298 // property change must be communicated to assistive technologies.298 // property change must be communicated to assistive technologies.
299 //299 //
300 // This function is meant to be used by language bindings.300 // This function is meant to be used by language bindings.
301-func (x *CellView) UpdatePropertyValue(NPropertiesVar int, PropertiesVar uintptr, ValuesVar uintptr) {301+func (x *CellView) UpdatePropertyValue(NPropertiesVar int, PropertiesVar []AccessibleProperty, ValuesVar []gobject.Value) {
302 302
303 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)303 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
304 304
@@ -334,7 +334,7 @@ func (x *CellView) UpdateRelation(FirstRelationVar AccessibleRelation, varArgs .
334 // relation change must be communicated to assistive technologies.334 // relation change must be communicated to assistive technologies.
335 //335 //
336 // This function is meant to be used by language bindings.336 // This function is meant to be used by language bindings.
337-func (x *CellView) UpdateRelationValue(NRelationsVar int, RelationsVar uintptr, ValuesVar uintptr) {337+func (x *CellView) UpdateRelationValue(NRelationsVar int, RelationsVar []AccessibleRelation, ValuesVar []gobject.Value) {
338 338
339 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)339 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
340 340
@@ -367,7 +367,7 @@ func (x *CellView) UpdateState(FirstStateVar AccessibleState, varArgs ...interfa
367 // state change must be communicated to assistive technologies.367 // state change must be communicated to assistive technologies.
368 //368 //
369 // This function is meant to be used by language bindings.369 // This function is meant to be used by language bindings.
370-func (x *CellView) UpdateStateValue(NStatesVar int, StatesVar uintptr, ValuesVar uintptr) {370+func (x *CellView) UpdateStateValue(NStatesVar int, StatesVar []AccessibleState, ValuesVar []gobject.Value) {
371 371
372 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)372 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
373 373
M v4/gtk/gtkcenterbox.go +3 -3
@@ -249,7 +249,7 @@ func (x *CenterBox) UpdateProperty(FirstPropertyVar AccessibleProperty, varArgs
249 // property change must be communicated to assistive technologies.249 // property change must be communicated to assistive technologies.
250 //250 //
251 // This function is meant to be used by language bindings.251 // This function is meant to be used by language bindings.
252-func (x *CenterBox) UpdatePropertyValue(NPropertiesVar int, PropertiesVar uintptr, ValuesVar uintptr) {252+func (x *CenterBox) UpdatePropertyValue(NPropertiesVar int, PropertiesVar []AccessibleProperty, ValuesVar []gobject.Value) {
253 253
254 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)254 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
255 255
@@ -285,7 +285,7 @@ func (x *CenterBox) UpdateRelation(FirstRelationVar AccessibleRelation, varArgs
285 // relation change must be communicated to assistive technologies.285 // relation change must be communicated to assistive technologies.
286 //286 //
287 // This function is meant to be used by language bindings.287 // This function is meant to be used by language bindings.
288-func (x *CenterBox) UpdateRelationValue(NRelationsVar int, RelationsVar uintptr, ValuesVar uintptr) {288+func (x *CenterBox) UpdateRelationValue(NRelationsVar int, RelationsVar []AccessibleRelation, ValuesVar []gobject.Value) {
289 289
290 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)290 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
291 291
@@ -318,7 +318,7 @@ func (x *CenterBox) UpdateState(FirstStateVar AccessibleState, varArgs ...interf
318 // state change must be communicated to assistive technologies.318 // state change must be communicated to assistive technologies.
319 //319 //
320 // This function is meant to be used by language bindings.320 // This function is meant to be used by language bindings.
321-func (x *CenterBox) UpdateStateValue(NStatesVar int, StatesVar uintptr, ValuesVar uintptr) {321+func (x *CenterBox) UpdateStateValue(NStatesVar int, StatesVar []AccessibleState, ValuesVar []gobject.Value) {
322 322
323 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)323 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
324 324
M v4/gtk/gtkcheckbutton.go +4 -4
@@ -13,7 +13,7 @@ import (
13 type CheckButtonClass struct {13 type CheckButtonClass struct {
14 ParentClass uintptr14 ParentClass uintptr
15 15
16- Padding uintptr16+ Padding [7]uintptr
17 }17 }
18 18
19 func (x *CheckButtonClass) GoPointer() uintptr {19 func (x *CheckButtonClass) GoPointer() uintptr {
@@ -384,7 +384,7 @@ func (x *CheckButton) UpdateProperty(FirstPropertyVar AccessibleProperty, varArg
384 // property change must be communicated to assistive technologies.384 // property change must be communicated to assistive technologies.
385 //385 //
386 // This function is meant to be used by language bindings.386 // This function is meant to be used by language bindings.
387-func (x *CheckButton) UpdatePropertyValue(NPropertiesVar int, PropertiesVar uintptr, ValuesVar uintptr) {387+func (x *CheckButton) UpdatePropertyValue(NPropertiesVar int, PropertiesVar []AccessibleProperty, ValuesVar []gobject.Value) {
388 388
389 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)389 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
390 390
@@ -420,7 +420,7 @@ func (x *CheckButton) UpdateRelation(FirstRelationVar AccessibleRelation, varArg
420 // relation change must be communicated to assistive technologies.420 // relation change must be communicated to assistive technologies.
421 //421 //
422 // This function is meant to be used by language bindings.422 // This function is meant to be used by language bindings.
423-func (x *CheckButton) UpdateRelationValue(NRelationsVar int, RelationsVar uintptr, ValuesVar uintptr) {423+func (x *CheckButton) UpdateRelationValue(NRelationsVar int, RelationsVar []AccessibleRelation, ValuesVar []gobject.Value) {
424 424
425 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)425 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
426 426
@@ -453,7 +453,7 @@ func (x *CheckButton) UpdateState(FirstStateVar AccessibleState, varArgs ...inte
453 // state change must be communicated to assistive technologies.453 // state change must be communicated to assistive technologies.
454 //454 //
455 // This function is meant to be used by language bindings.455 // This function is meant to be used by language bindings.
456-func (x *CheckButton) UpdateStateValue(NStatesVar int, StatesVar uintptr, ValuesVar uintptr) {456+func (x *CheckButton) UpdateStateValue(NStatesVar int, StatesVar []AccessibleState, ValuesVar []gobject.Value) {
457 457
458 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)458 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
459 459
M v4/gtk/gtkcolorbutton.go +4 -4
@@ -233,7 +233,7 @@ func (x *ColorButton) UpdateProperty(FirstPropertyVar AccessibleProperty, varArg
233 // property change must be communicated to assistive technologies.233 // property change must be communicated to assistive technologies.
234 //234 //
235 // This function is meant to be used by language bindings.235 // This function is meant to be used by language bindings.
236-func (x *ColorButton) UpdatePropertyValue(NPropertiesVar int, PropertiesVar uintptr, ValuesVar uintptr) {236+func (x *ColorButton) UpdatePropertyValue(NPropertiesVar int, PropertiesVar []AccessibleProperty, ValuesVar []gobject.Value) {
237 237
238 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)238 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
239 239
@@ -269,7 +269,7 @@ func (x *ColorButton) UpdateRelation(FirstRelationVar AccessibleRelation, varArg
269 // relation change must be communicated to assistive technologies.269 // relation change must be communicated to assistive technologies.
270 //270 //
271 // This function is meant to be used by language bindings.271 // This function is meant to be used by language bindings.
272-func (x *ColorButton) UpdateRelationValue(NRelationsVar int, RelationsVar uintptr, ValuesVar uintptr) {272+func (x *ColorButton) UpdateRelationValue(NRelationsVar int, RelationsVar []AccessibleRelation, ValuesVar []gobject.Value) {
273 273
274 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)274 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
275 275
@@ -302,7 +302,7 @@ func (x *ColorButton) UpdateState(FirstStateVar AccessibleState, varArgs ...inte
302 // state change must be communicated to assistive technologies.302 // state change must be communicated to assistive technologies.
303 //303 //
304 // This function is meant to be used by language bindings.304 // This function is meant to be used by language bindings.
305-func (x *ColorButton) UpdateStateValue(NStatesVar int, StatesVar uintptr, ValuesVar uintptr) {305+func (x *ColorButton) UpdateStateValue(NStatesVar int, StatesVar []AccessibleState, ValuesVar []gobject.Value) {
306 306
307 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)307 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
308 308
@@ -335,7 +335,7 @@ func (x *ColorButton) GetBuildableId() string {
335 // of removing the default color palette from the color chooser.335 // of removing the default color palette from the color chooser.
336 //336 //
337 // If @colors is %NULL, removes all previously added palettes.337 // If @colors is %NULL, removes all previously added palettes.
338-func (x *ColorButton) AddPalette(OrientationVar Orientation, ColorsPerLineVar int, NColorsVar int, ColorsVar uintptr) {338+func (x *ColorButton) AddPalette(OrientationVar Orientation, ColorsPerLineVar int, NColorsVar int, ColorsVar []gdk.RGBA) {
339 339
340 XGtkColorChooserAddPalette(x.GoPointer(), OrientationVar, ColorsPerLineVar, NColorsVar, ColorsVar)340 XGtkColorChooserAddPalette(x.GoPointer(), OrientationVar, ColorsPerLineVar, NColorsVar, ColorsVar)
341 341
M v4/gtk/gtkcolorchooser.go +4 -4
@@ -12,7 +12,7 @@ import (
12 type ColorChooserInterface struct {12 type ColorChooserInterface struct {
13 BaseInterface uintptr13 BaseInterface uintptr
14 14
15- Padding uintptr15+ Padding [12]uintptr
16 }16 }
17 17
18 func (x *ColorChooserInterface) GoPointer() uintptr {18 func (x *ColorChooserInterface) GoPointer() uintptr {
@@ -30,7 +30,7 @@ func (x *ColorChooserInterface) GoPointer() uintptr {
30 type ColorChooser interface {30 type ColorChooser interface {
31 GoPointer() uintptr31 GoPointer() uintptr
32 SetGoPointer(uintptr)32 SetGoPointer(uintptr)
33- AddPalette(OrientationVar Orientation, ColorsPerLineVar int, NColorsVar int, ColorsVar uintptr)33+ AddPalette(OrientationVar Orientation, ColorsPerLineVar int, NColorsVar int, ColorsVar []gdk.RGBA)
34 GetRgba(ColorVar *gdk.RGBA)34 GetRgba(ColorVar *gdk.RGBA)
35 GetUseAlpha() bool35 GetUseAlpha() bool
36 SetRgba(ColorVar *gdk.RGBA)36 SetRgba(ColorVar *gdk.RGBA)
@@ -65,7 +65,7 @@ func (x *ColorChooserBase) SetGoPointer(ptr uintptr) {
65 // of removing the default color palette from the color chooser.65 // of removing the default color palette from the color chooser.
66 //66 //
67 // If @colors is %NULL, removes all previously added palettes.67 // If @colors is %NULL, removes all previously added palettes.
68-func (x *ColorChooserBase) AddPalette(OrientationVar Orientation, ColorsPerLineVar int, NColorsVar int, ColorsVar uintptr) {68+func (x *ColorChooserBase) AddPalette(OrientationVar Orientation, ColorsPerLineVar int, NColorsVar int, ColorsVar []gdk.RGBA) {
69 69
70 XGtkColorChooserAddPalette(x.GoPointer(), OrientationVar, ColorsPerLineVar, NColorsVar, ColorsVar)70 XGtkColorChooserAddPalette(x.GoPointer(), OrientationVar, ColorsPerLineVar, NColorsVar, ColorsVar)
71 71
@@ -99,7 +99,7 @@ func (x *ColorChooserBase) SetUseAlpha(UseAlphaVar bool) {
99 99
100 }100 }
101 101
102-var XGtkColorChooserAddPalette func(uintptr, Orientation, int, int, uintptr)102+var XGtkColorChooserAddPalette func(uintptr, Orientation, int, int, []gdk.RGBA)
103 var XGtkColorChooserGetRgba func(uintptr, *gdk.RGBA)103 var XGtkColorChooserGetRgba func(uintptr, *gdk.RGBA)
104 var XGtkColorChooserGetUseAlpha func(uintptr) bool104 var XGtkColorChooserGetUseAlpha func(uintptr) bool
105 var XGtkColorChooserSetRgba func(uintptr, *gdk.RGBA)105 var XGtkColorChooserSetRgba func(uintptr, *gdk.RGBA)
M v4/gtk/gtkcolorchooserdialog.go +4 -4
@@ -114,7 +114,7 @@ func (x *ColorChooserDialog) UpdateProperty(FirstPropertyVar AccessibleProperty,
114 // property change must be communicated to assistive technologies.114 // property change must be communicated to assistive technologies.
115 //115 //
116 // This function is meant to be used by language bindings.116 // This function is meant to be used by language bindings.
117-func (x *ColorChooserDialog) UpdatePropertyValue(NPropertiesVar int, PropertiesVar uintptr, ValuesVar uintptr) {117+func (x *ColorChooserDialog) UpdatePropertyValue(NPropertiesVar int, PropertiesVar []AccessibleProperty, ValuesVar []gobject.Value) {
118 118
119 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)119 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
120 120
@@ -150,7 +150,7 @@ func (x *ColorChooserDialog) UpdateRelation(FirstRelationVar AccessibleRelation,
150 // relation change must be communicated to assistive technologies.150 // relation change must be communicated to assistive technologies.
151 //151 //
152 // This function is meant to be used by language bindings.152 // This function is meant to be used by language bindings.
153-func (x *ColorChooserDialog) UpdateRelationValue(NRelationsVar int, RelationsVar uintptr, ValuesVar uintptr) {153+func (x *ColorChooserDialog) UpdateRelationValue(NRelationsVar int, RelationsVar []AccessibleRelation, ValuesVar []gobject.Value) {
154 154
155 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)155 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
156 156
@@ -183,7 +183,7 @@ func (x *ColorChooserDialog) UpdateState(FirstStateVar AccessibleState, varArgs
183 // state change must be communicated to assistive technologies.183 // state change must be communicated to assistive technologies.
184 //184 //
185 // This function is meant to be used by language bindings.185 // This function is meant to be used by language bindings.
186-func (x *ColorChooserDialog) UpdateStateValue(NStatesVar int, StatesVar uintptr, ValuesVar uintptr) {186+func (x *ColorChooserDialog) UpdateStateValue(NStatesVar int, StatesVar []AccessibleState, ValuesVar []gobject.Value) {
187 187
188 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)188 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
189 189
@@ -216,7 +216,7 @@ func (x *ColorChooserDialog) GetBuildableId() string {
216 // of removing the default color palette from the color chooser.216 // of removing the default color palette from the color chooser.
217 //217 //
218 // If @colors is %NULL, removes all previously added palettes.218 // If @colors is %NULL, removes all previously added palettes.
219-func (x *ColorChooserDialog) AddPalette(OrientationVar Orientation, ColorsPerLineVar int, NColorsVar int, ColorsVar uintptr) {219+func (x *ColorChooserDialog) AddPalette(OrientationVar Orientation, ColorsPerLineVar int, NColorsVar int, ColorsVar []gdk.RGBA) {
220 220
221 XGtkColorChooserAddPalette(x.GoPointer(), OrientationVar, ColorsPerLineVar, NColorsVar, ColorsVar)221 XGtkColorChooserAddPalette(x.GoPointer(), OrientationVar, ColorsPerLineVar, NColorsVar, ColorsVar)
222 222
M v4/gtk/gtkcolorchooserwidget.go +4 -4
@@ -125,7 +125,7 @@ func (x *ColorChooserWidget) UpdateProperty(FirstPropertyVar AccessibleProperty,
125 // property change must be communicated to assistive technologies.125 // property change must be communicated to assistive technologies.
126 //126 //
127 // This function is meant to be used by language bindings.127 // This function is meant to be used by language bindings.
128-func (x *ColorChooserWidget) UpdatePropertyValue(NPropertiesVar int, PropertiesVar uintptr, ValuesVar uintptr) {128+func (x *ColorChooserWidget) UpdatePropertyValue(NPropertiesVar int, PropertiesVar []AccessibleProperty, ValuesVar []gobject.Value) {
129 129
130 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)130 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
131 131
@@ -161,7 +161,7 @@ func (x *ColorChooserWidget) UpdateRelation(FirstRelationVar AccessibleRelation,
161 // relation change must be communicated to assistive technologies.161 // relation change must be communicated to assistive technologies.
162 //162 //
163 // This function is meant to be used by language bindings.163 // This function is meant to be used by language bindings.
164-func (x *ColorChooserWidget) UpdateRelationValue(NRelationsVar int, RelationsVar uintptr, ValuesVar uintptr) {164+func (x *ColorChooserWidget) UpdateRelationValue(NRelationsVar int, RelationsVar []AccessibleRelation, ValuesVar []gobject.Value) {
165 165
166 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)166 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
167 167
@@ -194,7 +194,7 @@ func (x *ColorChooserWidget) UpdateState(FirstStateVar AccessibleState, varArgs
194 // state change must be communicated to assistive technologies.194 // state change must be communicated to assistive technologies.
195 //195 //
196 // This function is meant to be used by language bindings.196 // This function is meant to be used by language bindings.
197-func (x *ColorChooserWidget) UpdateStateValue(NStatesVar int, StatesVar uintptr, ValuesVar uintptr) {197+func (x *ColorChooserWidget) UpdateStateValue(NStatesVar int, StatesVar []AccessibleState, ValuesVar []gobject.Value) {
198 198
199 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)199 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
200 200
@@ -227,7 +227,7 @@ func (x *ColorChooserWidget) GetBuildableId() string {
227 // of removing the default color palette from the color chooser.227 // of removing the default color palette from the color chooser.
228 //228 //
229 // If @colors is %NULL, removes all previously added palettes.229 // If @colors is %NULL, removes all previously added palettes.
230-func (x *ColorChooserWidget) AddPalette(OrientationVar Orientation, ColorsPerLineVar int, NColorsVar int, ColorsVar uintptr) {230+func (x *ColorChooserWidget) AddPalette(OrientationVar Orientation, ColorsPerLineVar int, NColorsVar int, ColorsVar []gdk.RGBA) {
231 231
232 XGtkColorChooserAddPalette(x.GoPointer(), OrientationVar, ColorsPerLineVar, NColorsVar, ColorsVar)232 XGtkColorChooserAddPalette(x.GoPointer(), OrientationVar, ColorsPerLineVar, NColorsVar, ColorsVar)
233 233
M v4/gtk/gtkcolumnview.go +3 -3
@@ -433,7 +433,7 @@ func (x *ColumnView) UpdateProperty(FirstPropertyVar AccessibleProperty, varArgs
433 // property change must be communicated to assistive technologies.433 // property change must be communicated to assistive technologies.
434 //434 //
435 // This function is meant to be used by language bindings.435 // This function is meant to be used by language bindings.
436-func (x *ColumnView) UpdatePropertyValue(NPropertiesVar int, PropertiesVar uintptr, ValuesVar uintptr) {436+func (x *ColumnView) UpdatePropertyValue(NPropertiesVar int, PropertiesVar []AccessibleProperty, ValuesVar []gobject.Value) {
437 437
438 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)438 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
439 439
@@ -469,7 +469,7 @@ func (x *ColumnView) UpdateRelation(FirstRelationVar AccessibleRelation, varArgs
469 // relation change must be communicated to assistive technologies.469 // relation change must be communicated to assistive technologies.
470 //470 //
471 // This function is meant to be used by language bindings.471 // This function is meant to be used by language bindings.
472-func (x *ColumnView) UpdateRelationValue(NRelationsVar int, RelationsVar uintptr, ValuesVar uintptr) {472+func (x *ColumnView) UpdateRelationValue(NRelationsVar int, RelationsVar []AccessibleRelation, ValuesVar []gobject.Value) {
473 473
474 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)474 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
475 475
@@ -502,7 +502,7 @@ func (x *ColumnView) UpdateState(FirstStateVar AccessibleState, varArgs ...inter
502 // state change must be communicated to assistive technologies.502 // state change must be communicated to assistive technologies.
503 //503 //
504 // This function is meant to be used by language bindings.504 // This function is meant to be used by language bindings.
505-func (x *ColumnView) UpdateStateValue(NStatesVar int, StatesVar uintptr, ValuesVar uintptr) {505+func (x *ColumnView) UpdateStateValue(NStatesVar int, StatesVar []AccessibleState, ValuesVar []gobject.Value) {
506 506
507 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)507 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
508 508
M v4/gtk/gtkcombobox.go +4 -4
@@ -14,7 +14,7 @@ import (
14 type ComboBoxClass struct {14 type ComboBoxClass struct {
15 ParentClass uintptr15 ParentClass uintptr
16 16
17- Padding uintptr17+ Padding [7]uintptr
18 }18 }
19 19
20 func (x *ComboBoxClass) GoPointer() uintptr {20 func (x *ComboBoxClass) GoPointer() uintptr {
@@ -707,7 +707,7 @@ func (x *ComboBox) UpdateProperty(FirstPropertyVar AccessibleProperty, varArgs .
707 // property change must be communicated to assistive technologies.707 // property change must be communicated to assistive technologies.
708 //708 //
709 // This function is meant to be used by language bindings.709 // This function is meant to be used by language bindings.
710-func (x *ComboBox) UpdatePropertyValue(NPropertiesVar int, PropertiesVar uintptr, ValuesVar uintptr) {710+func (x *ComboBox) UpdatePropertyValue(NPropertiesVar int, PropertiesVar []AccessibleProperty, ValuesVar []gobject.Value) {
711 711
712 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)712 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
713 713
@@ -743,7 +743,7 @@ func (x *ComboBox) UpdateRelation(FirstRelationVar AccessibleRelation, varArgs .
743 // relation change must be communicated to assistive technologies.743 // relation change must be communicated to assistive technologies.
744 //744 //
745 // This function is meant to be used by language bindings.745 // This function is meant to be used by language bindings.
746-func (x *ComboBox) UpdateRelationValue(NRelationsVar int, RelationsVar uintptr, ValuesVar uintptr) {746+func (x *ComboBox) UpdateRelationValue(NRelationsVar int, RelationsVar []AccessibleRelation, ValuesVar []gobject.Value) {
747 747
748 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)748 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
749 749
@@ -776,7 +776,7 @@ func (x *ComboBox) UpdateState(FirstStateVar AccessibleState, varArgs ...interfa
776 // state change must be communicated to assistive technologies.776 // state change must be communicated to assistive technologies.
777 //777 //
778 // This function is meant to be used by language bindings.778 // This function is meant to be used by language bindings.
779-func (x *ComboBox) UpdateStateValue(NStatesVar int, StatesVar uintptr, ValuesVar uintptr) {779+func (x *ComboBox) UpdateStateValue(NStatesVar int, StatesVar []AccessibleState, ValuesVar []gobject.Value) {
780 780
781 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)781 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
782 782
M v4/gtk/gtkcomboboxtext.go +3 -3
@@ -290,7 +290,7 @@ func (x *ComboBoxText) UpdateProperty(FirstPropertyVar AccessibleProperty, varAr
290 // property change must be communicated to assistive technologies.290 // property change must be communicated to assistive technologies.
291 //291 //
292 // This function is meant to be used by language bindings.292 // This function is meant to be used by language bindings.
293-func (x *ComboBoxText) UpdatePropertyValue(NPropertiesVar int, PropertiesVar uintptr, ValuesVar uintptr) {293+func (x *ComboBoxText) UpdatePropertyValue(NPropertiesVar int, PropertiesVar []AccessibleProperty, ValuesVar []gobject.Value) {
294 294
295 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)295 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
296 296
@@ -326,7 +326,7 @@ func (x *ComboBoxText) UpdateRelation(FirstRelationVar AccessibleRelation, varAr
326 // relation change must be communicated to assistive technologies.326 // relation change must be communicated to assistive technologies.
327 //327 //
328 // This function is meant to be used by language bindings.328 // This function is meant to be used by language bindings.
329-func (x *ComboBoxText) UpdateRelationValue(NRelationsVar int, RelationsVar uintptr, ValuesVar uintptr) {329+func (x *ComboBoxText) UpdateRelationValue(NRelationsVar int, RelationsVar []AccessibleRelation, ValuesVar []gobject.Value) {
330 330
331 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)331 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
332 332
@@ -359,7 +359,7 @@ func (x *ComboBoxText) UpdateState(FirstStateVar AccessibleState, varArgs ...int
359 // state change must be communicated to assistive technologies.359 // state change must be communicated to assistive technologies.
360 //360 //
361 // This function is meant to be used by language bindings.361 // This function is meant to be used by language bindings.
362-func (x *ComboBoxText) UpdateStateValue(NStatesVar int, StatesVar uintptr, ValuesVar uintptr) {362+func (x *ComboBoxText) UpdateStateValue(NStatesVar int, StatesVar []AccessibleState, ValuesVar []gobject.Value) {
363 363
364 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)364 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
365 365
M v4/gtk/gtkconstraintlayout.go +4 -4
@@ -250,20 +250,20 @@ func (x *ConstraintLayout) AddConstraint(ConstraintVar *Constraint) {
250 250
251 }251 }
252 252
253-var xConstraintLayoutAddConstraintsFromDescription func(uintptr, uintptr, uint, int, int, **glib.Error, string, ...interface{}) *glib.List253+var xConstraintLayoutAddConstraintsFromDescription func(uintptr, []string, uint, int, int, **glib.Error, string, ...interface{}) *glib.List
254 254
255 // Creates a list of constraints from a VFL description.255 // Creates a list of constraints from a VFL description.
256 //256 //
257 // This function is a convenience wrapper around257 // This function is a convenience wrapper around
258 // [method@Gtk.ConstraintLayout.add_constraints_from_descriptionv], using258 // [method@Gtk.ConstraintLayout.add_constraints_from_descriptionv], using
259 // variadic arguments to populate the view/target map.259 // variadic arguments to populate the view/target map.
260-func (x *ConstraintLayout) AddConstraintsFromDescription(LinesVar uintptr, NLinesVar uint, HspacingVar int, VspacingVar int, ErrorVar **glib.Error, FirstViewVar string, varArgs ...interface{}) *glib.List {260+func (x *ConstraintLayout) AddConstraintsFromDescription(LinesVar []string, NLinesVar uint, HspacingVar int, VspacingVar int, ErrorVar **glib.Error, FirstViewVar string, varArgs ...interface{}) *glib.List {
261 261
262 cret := xConstraintLayoutAddConstraintsFromDescription(x.GoPointer(), LinesVar, NLinesVar, HspacingVar, VspacingVar, ErrorVar, FirstViewVar, varArgs...)262 cret := xConstraintLayoutAddConstraintsFromDescription(x.GoPointer(), LinesVar, NLinesVar, HspacingVar, VspacingVar, ErrorVar, FirstViewVar, varArgs...)
263 return cret263 return cret
264 }264 }
265 265
266-var xConstraintLayoutAddConstraintsFromDescriptionv func(uintptr, uintptr, uint, int, int, *glib.HashTable, **glib.Error) *glib.List266+var xConstraintLayoutAddConstraintsFromDescriptionv func(uintptr, []string, uint, int, int, *glib.HashTable, **glib.Error) *glib.List
267 267
268 // Creates a list of constraints from a VFL description.268 // Creates a list of constraints from a VFL description.
269 //269 //
@@ -346,7 +346,7 @@ var xConstraintLayoutAddConstraintsFromDescriptionv func(uintptr, uintptr, uint,
346 // [button1(==button2.height)]346 // [button1(==button2.height)]
347 //347 //
348 // ```348 // ```
349-func (x *ConstraintLayout) AddConstraintsFromDescriptionv(LinesVar uintptr, NLinesVar uint, HspacingVar int, VspacingVar int, ViewsVar *glib.HashTable) (*glib.List, error) {349+func (x *ConstraintLayout) AddConstraintsFromDescriptionv(LinesVar []string, NLinesVar uint, HspacingVar int, VspacingVar int, ViewsVar *glib.HashTable) (*glib.List, error) {
350 var cerr *glib.Error350 var cerr *glib.Error
351 351
352 cret := xConstraintLayoutAddConstraintsFromDescriptionv(x.GoPointer(), LinesVar, NLinesVar, HspacingVar, VspacingVar, ViewsVar, &cerr)352 cret := xConstraintLayoutAddConstraintsFromDescriptionv(x.GoPointer(), LinesVar, NLinesVar, HspacingVar, VspacingVar, ViewsVar, &cerr)
M v4/gtk/gtkdialog.go +4 -4
@@ -15,7 +15,7 @@ import (
15 type DialogClass struct {15 type DialogClass struct {
16 ParentClass uintptr16 ParentClass uintptr
17 17
18- Padding uintptr18+ Padding [8]uintptr
19 }19 }
20 20
21 func (x *DialogClass) GoPointer() uintptr {21 func (x *DialogClass) GoPointer() uintptr {
@@ -543,7 +543,7 @@ func (x *Dialog) UpdateProperty(FirstPropertyVar AccessibleProperty, varArgs ...
543 // property change must be communicated to assistive technologies.543 // property change must be communicated to assistive technologies.
544 //544 //
545 // This function is meant to be used by language bindings.545 // This function is meant to be used by language bindings.
546-func (x *Dialog) UpdatePropertyValue(NPropertiesVar int, PropertiesVar uintptr, ValuesVar uintptr) {546+func (x *Dialog) UpdatePropertyValue(NPropertiesVar int, PropertiesVar []AccessibleProperty, ValuesVar []gobject.Value) {
547 547
548 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)548 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
549 549
@@ -579,7 +579,7 @@ func (x *Dialog) UpdateRelation(FirstRelationVar AccessibleRelation, varArgs ...
579 // relation change must be communicated to assistive technologies.579 // relation change must be communicated to assistive technologies.
580 //580 //
581 // This function is meant to be used by language bindings.581 // This function is meant to be used by language bindings.
582-func (x *Dialog) UpdateRelationValue(NRelationsVar int, RelationsVar uintptr, ValuesVar uintptr) {582+func (x *Dialog) UpdateRelationValue(NRelationsVar int, RelationsVar []AccessibleRelation, ValuesVar []gobject.Value) {
583 583
584 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)584 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
585 585
@@ -612,7 +612,7 @@ func (x *Dialog) UpdateState(FirstStateVar AccessibleState, varArgs ...interface
612 // state change must be communicated to assistive technologies.612 // state change must be communicated to assistive technologies.
613 //613 //
614 // This function is meant to be used by language bindings.614 // This function is meant to be used by language bindings.
615-func (x *Dialog) UpdateStateValue(NStatesVar int, StatesVar uintptr, ValuesVar uintptr) {615+func (x *Dialog) UpdateStateValue(NStatesVar int, StatesVar []AccessibleState, ValuesVar []gobject.Value) {
616 616
617 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)617 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
618 618
M v4/gtk/gtkdirectorylist.go +2 -1
@@ -9,6 +9,7 @@ import (
9 "github.com/jwijenbergh/puregotk/v4/gio"9 "github.com/jwijenbergh/puregotk/v4/gio"
10 "github.com/jwijenbergh/puregotk/v4/glib"10 "github.com/jwijenbergh/puregotk/v4/glib"
11 "github.com/jwijenbergh/puregotk/v4/gobject"11 "github.com/jwijenbergh/puregotk/v4/gobject"
12+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
12 )13 )
13 14
14 type DirectoryListClass struct {15 type DirectoryListClass struct {
@@ -234,7 +235,7 @@ func (x *DirectoryList) GetItem(PositionVar uint) uintptr {
234 //235 //
235 // The item type of a #GListModel can not change during the life of the236 // The item type of a #GListModel can not change during the life of the
236 // model.237 // model.
237-func (x *DirectoryList) GetItemType() []interface{} {238+func (x *DirectoryList) GetItemType() types.GType {
238 239
239 cret := gio.XGListModelGetItemType(x.GoPointer())240 cret := gio.XGListModelGetItemType(x.GoPointer())
240 return cret241 return cret
M v4/gtk/gtkdragicon.go +3 -3
@@ -132,7 +132,7 @@ func (x *DragIcon) UpdateProperty(FirstPropertyVar AccessibleProperty, varArgs .
132 // property change must be communicated to assistive technologies.132 // property change must be communicated to assistive technologies.
133 //133 //
134 // This function is meant to be used by language bindings.134 // This function is meant to be used by language bindings.
135-func (x *DragIcon) UpdatePropertyValue(NPropertiesVar int, PropertiesVar uintptr, ValuesVar uintptr) {135+func (x *DragIcon) UpdatePropertyValue(NPropertiesVar int, PropertiesVar []AccessibleProperty, ValuesVar []gobject.Value) {
136 136
137 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)137 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
138 138
@@ -168,7 +168,7 @@ func (x *DragIcon) UpdateRelation(FirstRelationVar AccessibleRelation, varArgs .
168 // relation change must be communicated to assistive technologies.168 // relation change must be communicated to assistive technologies.
169 //169 //
170 // This function is meant to be used by language bindings.170 // This function is meant to be used by language bindings.
171-func (x *DragIcon) UpdateRelationValue(NRelationsVar int, RelationsVar uintptr, ValuesVar uintptr) {171+func (x *DragIcon) UpdateRelationValue(NRelationsVar int, RelationsVar []AccessibleRelation, ValuesVar []gobject.Value) {
172 172
173 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)173 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
174 174
@@ -201,7 +201,7 @@ func (x *DragIcon) UpdateState(FirstStateVar AccessibleState, varArgs ...interfa
201 // state change must be communicated to assistive technologies.201 // state change must be communicated to assistive technologies.
202 //202 //
203 // This function is meant to be used by language bindings.203 // This function is meant to be used by language bindings.
204-func (x *DragIcon) UpdateStateValue(NStatesVar int, StatesVar uintptr, ValuesVar uintptr) {204+func (x *DragIcon) UpdateStateValue(NStatesVar int, StatesVar []AccessibleState, ValuesVar []gobject.Value) {
205 205
206 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)206 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
207 207
M v4/gtk/gtkdrawingarea.go +4 -4
@@ -20,7 +20,7 @@ type DrawingAreaDrawFunc func(uintptr, *cairo.Context, int, int, uintptr)
20 type DrawingAreaClass struct {20 type DrawingAreaClass struct {
21 ParentClass uintptr21 ParentClass uintptr
22 22
23- Padding uintptr23+ Padding [8]uintptr
24 }24 }
25 25
26 func (x *DrawingAreaClass) GoPointer() uintptr {26 func (x *DrawingAreaClass) GoPointer() uintptr {
@@ -301,7 +301,7 @@ func (x *DrawingArea) UpdateProperty(FirstPropertyVar AccessibleProperty, varArg
301 // property change must be communicated to assistive technologies.301 // property change must be communicated to assistive technologies.
302 //302 //
303 // This function is meant to be used by language bindings.303 // This function is meant to be used by language bindings.
304-func (x *DrawingArea) UpdatePropertyValue(NPropertiesVar int, PropertiesVar uintptr, ValuesVar uintptr) {304+func (x *DrawingArea) UpdatePropertyValue(NPropertiesVar int, PropertiesVar []AccessibleProperty, ValuesVar []gobject.Value) {
305 305
306 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)306 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
307 307
@@ -337,7 +337,7 @@ func (x *DrawingArea) UpdateRelation(FirstRelationVar AccessibleRelation, varArg
337 // relation change must be communicated to assistive technologies.337 // relation change must be communicated to assistive technologies.
338 //338 //
339 // This function is meant to be used by language bindings.339 // This function is meant to be used by language bindings.
340-func (x *DrawingArea) UpdateRelationValue(NRelationsVar int, RelationsVar uintptr, ValuesVar uintptr) {340+func (x *DrawingArea) UpdateRelationValue(NRelationsVar int, RelationsVar []AccessibleRelation, ValuesVar []gobject.Value) {
341 341
342 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)342 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
343 343
@@ -370,7 +370,7 @@ func (x *DrawingArea) UpdateState(FirstStateVar AccessibleState, varArgs ...inte
370 // state change must be communicated to assistive technologies.370 // state change must be communicated to assistive technologies.
371 //371 //
372 // This function is meant to be used by language bindings.372 // This function is meant to be used by language bindings.
373-func (x *DrawingArea) UpdateStateValue(NStatesVar int, StatesVar uintptr, ValuesVar uintptr) {373+func (x *DrawingArea) UpdateStateValue(NStatesVar int, StatesVar []AccessibleState, ValuesVar []gobject.Value) {
374 374
375 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)375 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
376 376
M v4/gtk/gtkdropdown.go +5 -5
@@ -93,11 +93,11 @@ func NewDropDown(ModelVar gio.ListModel, ExpressionVar *Expression) *DropDown {
93 return cls93 return cls
94 }94 }
95 95
96-var xNewDropDownFromStrings func(uintptr) uintptr96+var xNewDropDownFromStrings func([]string) uintptr
97 97
98 // Creates a new `GtkDropDown` that is populated with98 // Creates a new `GtkDropDown` that is populated with
99 // the strings.99 // the strings.
100-func NewDropDownFromStrings(StringsVar uintptr) *DropDown {100+func NewDropDownFromStrings(StringsVar []string) *DropDown {
101 var cls *DropDown101 var cls *DropDown
102 102
103 cret := xNewDropDownFromStrings(StringsVar)103 cret := xNewDropDownFromStrings(StringsVar)
@@ -388,7 +388,7 @@ func (x *DropDown) UpdateProperty(FirstPropertyVar AccessibleProperty, varArgs .
388 // property change must be communicated to assistive technologies.388 // property change must be communicated to assistive technologies.
389 //389 //
390 // This function is meant to be used by language bindings.390 // This function is meant to be used by language bindings.
391-func (x *DropDown) UpdatePropertyValue(NPropertiesVar int, PropertiesVar uintptr, ValuesVar uintptr) {391+func (x *DropDown) UpdatePropertyValue(NPropertiesVar int, PropertiesVar []AccessibleProperty, ValuesVar []gobject.Value) {
392 392
393 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)393 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
394 394
@@ -424,7 +424,7 @@ func (x *DropDown) UpdateRelation(FirstRelationVar AccessibleRelation, varArgs .
424 // relation change must be communicated to assistive technologies.424 // relation change must be communicated to assistive technologies.
425 //425 //
426 // This function is meant to be used by language bindings.426 // This function is meant to be used by language bindings.
427-func (x *DropDown) UpdateRelationValue(NRelationsVar int, RelationsVar uintptr, ValuesVar uintptr) {427+func (x *DropDown) UpdateRelationValue(NRelationsVar int, RelationsVar []AccessibleRelation, ValuesVar []gobject.Value) {
428 428
429 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)429 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
430 430
@@ -457,7 +457,7 @@ func (x *DropDown) UpdateState(FirstStateVar AccessibleState, varArgs ...interfa
457 // state change must be communicated to assistive technologies.457 // state change must be communicated to assistive technologies.
458 //458 //
459 // This function is meant to be used by language bindings.459 // This function is meant to be used by language bindings.
460-func (x *DropDown) UpdateStateValue(NStatesVar int, StatesVar uintptr, ValuesVar uintptr) {460+func (x *DropDown) UpdateStateValue(NStatesVar int, StatesVar []AccessibleState, ValuesVar []gobject.Value) {
461 461
462 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)462 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
463 463
M v4/gtk/gtkdroptarget.go +7 -6
@@ -9,6 +9,7 @@ import (
9 "github.com/jwijenbergh/puregotk/v4/gdk"9 "github.com/jwijenbergh/puregotk/v4/gdk"
10 "github.com/jwijenbergh/puregotk/v4/glib"10 "github.com/jwijenbergh/puregotk/v4/glib"
11 "github.com/jwijenbergh/puregotk/v4/gobject"11 "github.com/jwijenbergh/puregotk/v4/gobject"
12+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
12 )13 )
13 14
14 type DropTargetClass struct {15 type DropTargetClass struct {
@@ -103,14 +104,14 @@ func DropTargetNewFromInternalPtr(ptr uintptr) *DropTarget {
103 return cls104 return cls
104 }105 }
105 106
106-var xNewDropTarget func([]interface{}, gdk.DragAction) uintptr107+var xNewDropTarget func(types.GType, gdk.DragAction) uintptr
107 108
108 // Creates a new `GtkDropTarget` object.109 // Creates a new `GtkDropTarget` object.
109 //110 //
110 // If the drop target should support more than 1 type, pass111 // If the drop target should support more than 1 type, pass
111 // %G_TYPE_INVALID for @type and then call112 // %G_TYPE_INVALID for @type and then call
112 // [method@Gtk.DropTarget.set_gtypes].113 // [method@Gtk.DropTarget.set_gtypes].
113-func NewDropTarget(TypeVar []interface{}, ActionsVar gdk.DragAction) *DropTarget {114+func NewDropTarget(TypeVar types.GType, ActionsVar gdk.DragAction) *DropTarget {
114 var cls *DropTarget115 var cls *DropTarget
115 116
116 cret := xNewDropTarget(TypeVar, ActionsVar)117 cret := xNewDropTarget(TypeVar, ActionsVar)
@@ -181,12 +182,12 @@ func (x *DropTarget) GetFormats() *gdk.ContentFormats {
181 return cret182 return cret
182 }183 }
183 184
184-var xDropTargetGetGtypes func(uintptr, uint) uintptr185+var xDropTargetGetGtypes func(uintptr, uint) []types.GType
185 186
186 // Gets the list of supported `GType`s that can be dropped on the target.187 // Gets the list of supported `GType`s that can be dropped on the target.
187 //188 //
188 // If no types have been set, `NULL` will be returned.189 // If no types have been set, `NULL` will be returned.
189-func (x *DropTarget) GetGtypes(NTypesVar uint) uintptr {190+func (x *DropTarget) GetGtypes(NTypesVar uint) []types.GType {
190 191
191 cret := xDropTargetGetGtypes(x.GoPointer(), NTypesVar)192 cret := xDropTargetGetGtypes(x.GoPointer(), NTypesVar)
192 return cret193 return cret
@@ -235,10 +236,10 @@ func (x *DropTarget) SetActions(ActionsVar gdk.DragAction) {
235 236
236 }237 }
237 238
238-var xDropTargetSetGtypes func(uintptr, uintptr, uint)239+var xDropTargetSetGtypes func(uintptr, []types.GType, uint)
239 240
240 // Sets the supported `GTypes` for this drop target.241 // Sets the supported `GTypes` for this drop target.
241-func (x *DropTarget) SetGtypes(TypesVar uintptr, NTypesVar uint) {242+func (x *DropTarget) SetGtypes(TypesVar []types.GType, NTypesVar uint) {
242 243
243 xDropTargetSetGtypes(x.GoPointer(), TypesVar, NTypesVar)244 xDropTargetSetGtypes(x.GoPointer(), TypesVar, NTypesVar)
244 245
M v4/gtk/gtkeditablelabel.go +3 -3
@@ -172,7 +172,7 @@ func (x *EditableLabel) UpdateProperty(FirstPropertyVar AccessibleProperty, varA
172 // property change must be communicated to assistive technologies.172 // property change must be communicated to assistive technologies.
173 //173 //
174 // This function is meant to be used by language bindings.174 // This function is meant to be used by language bindings.
175-func (x *EditableLabel) UpdatePropertyValue(NPropertiesVar int, PropertiesVar uintptr, ValuesVar uintptr) {175+func (x *EditableLabel) UpdatePropertyValue(NPropertiesVar int, PropertiesVar []AccessibleProperty, ValuesVar []gobject.Value) {
176 176
177 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)177 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
178 178
@@ -208,7 +208,7 @@ func (x *EditableLabel) UpdateRelation(FirstRelationVar AccessibleRelation, varA
208 // relation change must be communicated to assistive technologies.208 // relation change must be communicated to assistive technologies.
209 //209 //
210 // This function is meant to be used by language bindings.210 // This function is meant to be used by language bindings.
211-func (x *EditableLabel) UpdateRelationValue(NRelationsVar int, RelationsVar uintptr, ValuesVar uintptr) {211+func (x *EditableLabel) UpdateRelationValue(NRelationsVar int, RelationsVar []AccessibleRelation, ValuesVar []gobject.Value) {
212 212
213 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)213 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
214 214
@@ -241,7 +241,7 @@ func (x *EditableLabel) UpdateState(FirstStateVar AccessibleState, varArgs ...in
241 // state change must be communicated to assistive technologies.241 // state change must be communicated to assistive technologies.
242 //242 //
243 // This function is meant to be used by language bindings.243 // This function is meant to be used by language bindings.
244-func (x *EditableLabel) UpdateStateValue(NStatesVar int, StatesVar uintptr, ValuesVar uintptr) {244+func (x *EditableLabel) UpdateStateValue(NStatesVar int, StatesVar []AccessibleState, ValuesVar []gobject.Value) {
245 245
246 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)246 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
247 247
M v4/gtk/gtkemojichooser.go +3 -3
@@ -162,7 +162,7 @@ func (x *EmojiChooser) UpdateProperty(FirstPropertyVar AccessibleProperty, varAr
162 // property change must be communicated to assistive technologies.162 // property change must be communicated to assistive technologies.
163 //163 //
164 // This function is meant to be used by language bindings.164 // This function is meant to be used by language bindings.
165-func (x *EmojiChooser) UpdatePropertyValue(NPropertiesVar int, PropertiesVar uintptr, ValuesVar uintptr) {165+func (x *EmojiChooser) UpdatePropertyValue(NPropertiesVar int, PropertiesVar []AccessibleProperty, ValuesVar []gobject.Value) {
166 166
167 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)167 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
168 168
@@ -198,7 +198,7 @@ func (x *EmojiChooser) UpdateRelation(FirstRelationVar AccessibleRelation, varAr
198 // relation change must be communicated to assistive technologies.198 // relation change must be communicated to assistive technologies.
199 //199 //
200 // This function is meant to be used by language bindings.200 // This function is meant to be used by language bindings.
201-func (x *EmojiChooser) UpdateRelationValue(NRelationsVar int, RelationsVar uintptr, ValuesVar uintptr) {201+func (x *EmojiChooser) UpdateRelationValue(NRelationsVar int, RelationsVar []AccessibleRelation, ValuesVar []gobject.Value) {
202 202
203 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)203 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
204 204
@@ -231,7 +231,7 @@ func (x *EmojiChooser) UpdateState(FirstStateVar AccessibleState, varArgs ...int
231 // state change must be communicated to assistive technologies.231 // state change must be communicated to assistive technologies.
232 //232 //
233 // This function is meant to be used by language bindings.233 // This function is meant to be used by language bindings.
234-func (x *EmojiChooser) UpdateStateValue(NStatesVar int, StatesVar uintptr, ValuesVar uintptr) {234+func (x *EmojiChooser) UpdateStateValue(NStatesVar int, StatesVar []AccessibleState, ValuesVar []gobject.Value) {
235 235
236 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)236 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
237 237
M v4/gtk/gtkentry.go +4 -4
@@ -21,7 +21,7 @@ import (
21 type EntryClass struct {21 type EntryClass struct {
22 ParentClass uintptr22 ParentClass uintptr
23 23
24- Padding uintptr24+ Padding [8]uintptr
25 }25 }
26 26
27 func (x *EntryClass) GoPointer() uintptr {27 func (x *EntryClass) GoPointer() uintptr {
@@ -1035,7 +1035,7 @@ func (x *Entry) UpdateProperty(FirstPropertyVar AccessibleProperty, varArgs ...i
1035 // property change must be communicated to assistive technologies.1035 // property change must be communicated to assistive technologies.
1036 //1036 //
1037 // This function is meant to be used by language bindings.1037 // This function is meant to be used by language bindings.
1038-func (x *Entry) UpdatePropertyValue(NPropertiesVar int, PropertiesVar uintptr, ValuesVar uintptr) {1038+func (x *Entry) UpdatePropertyValue(NPropertiesVar int, PropertiesVar []AccessibleProperty, ValuesVar []gobject.Value) {
1039 1039
1040 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)1040 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
1041 1041
@@ -1071,7 +1071,7 @@ func (x *Entry) UpdateRelation(FirstRelationVar AccessibleRelation, varArgs ...i
1071 // relation change must be communicated to assistive technologies.1071 // relation change must be communicated to assistive technologies.
1072 //1072 //
1073 // This function is meant to be used by language bindings.1073 // This function is meant to be used by language bindings.
1074-func (x *Entry) UpdateRelationValue(NRelationsVar int, RelationsVar uintptr, ValuesVar uintptr) {1074+func (x *Entry) UpdateRelationValue(NRelationsVar int, RelationsVar []AccessibleRelation, ValuesVar []gobject.Value) {
1075 1075
1076 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)1076 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
1077 1077
@@ -1104,7 +1104,7 @@ func (x *Entry) UpdateState(FirstStateVar AccessibleState, varArgs ...interface{
1104 // state change must be communicated to assistive technologies.1104 // state change must be communicated to assistive technologies.
1105 //1105 //
1106 // This function is meant to be used by language bindings.1106 // This function is meant to be used by language bindings.
1107-func (x *Entry) UpdateStateValue(NStatesVar int, StatesVar uintptr, ValuesVar uintptr) {1107+func (x *Entry) UpdateStateValue(NStatesVar int, StatesVar []AccessibleState, ValuesVar []gobject.Value) {
1108 1108
1109 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)1109 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
1110 1110
M v4/gtk/gtkexpander.go +3 -3
@@ -406,7 +406,7 @@ func (x *Expander) UpdateProperty(FirstPropertyVar AccessibleProperty, varArgs .
406 // property change must be communicated to assistive technologies.406 // property change must be communicated to assistive technologies.
407 //407 //
408 // This function is meant to be used by language bindings.408 // This function is meant to be used by language bindings.
409-func (x *Expander) UpdatePropertyValue(NPropertiesVar int, PropertiesVar uintptr, ValuesVar uintptr) {409+func (x *Expander) UpdatePropertyValue(NPropertiesVar int, PropertiesVar []AccessibleProperty, ValuesVar []gobject.Value) {
410 410
411 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)411 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
412 412
@@ -442,7 +442,7 @@ func (x *Expander) UpdateRelation(FirstRelationVar AccessibleRelation, varArgs .
442 // relation change must be communicated to assistive technologies.442 // relation change must be communicated to assistive technologies.
443 //443 //
444 // This function is meant to be used by language bindings.444 // This function is meant to be used by language bindings.
445-func (x *Expander) UpdateRelationValue(NRelationsVar int, RelationsVar uintptr, ValuesVar uintptr) {445+func (x *Expander) UpdateRelationValue(NRelationsVar int, RelationsVar []AccessibleRelation, ValuesVar []gobject.Value) {
446 446
447 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)447 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
448 448
@@ -475,7 +475,7 @@ func (x *Expander) UpdateState(FirstStateVar AccessibleState, varArgs ...interfa
475 // state change must be communicated to assistive technologies.475 // state change must be communicated to assistive technologies.
476 //476 //
477 // This function is meant to be used by language bindings.477 // This function is meant to be used by language bindings.
478-func (x *Expander) UpdateStateValue(NStatesVar int, StatesVar uintptr, ValuesVar uintptr) {478+func (x *Expander) UpdateStateValue(NStatesVar int, StatesVar []AccessibleState, ValuesVar []gobject.Value) {
479 479
480 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)480 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
481 481
M v4/gtk/gtkexpression.go +11 -10
@@ -8,6 +8,7 @@ import (
8 "github.com/jwijenbergh/puregotk/internal/core"8 "github.com/jwijenbergh/puregotk/internal/core"
9 "github.com/jwijenbergh/puregotk/v4/glib"9 "github.com/jwijenbergh/puregotk/v4/glib"
10 "github.com/jwijenbergh/puregotk/v4/gobject"10 "github.com/jwijenbergh/puregotk/v4/gobject"
11+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
11 )12 )
12 13
13 // Callback called by gtk_expression_watch() when the14 // Callback called by gtk_expression_watch() when the
@@ -156,14 +157,14 @@ func CClosureExpressionNewFromInternalPtr(ptr uintptr) *CClosureExpression {
156 return cls157 return cls
157 }158 }
158 159
159-var xNewCClosureExpression func([]interface{}, uintptr, uint, uintptr, uintptr, uintptr, uintptr) uintptr160+var xNewCClosureExpression func(types.GType, uintptr, uint, uintptr, uintptr, uintptr, uintptr) uintptr
160 161
161 // Creates a `GtkExpression` that calls `callback_func` when it is evaluated.162 // Creates a `GtkExpression` that calls `callback_func` when it is evaluated.
162 //163 //
163 // This function is a variant of [ctor@Gtk.ClosureExpression.new] that164 // This function is a variant of [ctor@Gtk.ClosureExpression.new] that
164 // creates a `GClosure` by calling g_cclosure_new() with the given165 // creates a `GClosure` by calling g_cclosure_new() with the given
165 // `callback_func`, `user_data` and `user_destroy`.166 // `callback_func`, `user_data` and `user_destroy`.
166-func NewCClosureExpression(ValueTypeVar []interface{}, MarshalVar *gobject.ClosureMarshal, NParamsVar uint, ParamsVar uintptr, CallbackFuncVar *gobject.Callback, UserDataVar uintptr, UserDestroyVar *gobject.ClosureNotify) *CClosureExpression {167+func NewCClosureExpression(ValueTypeVar types.GType, MarshalVar *gobject.ClosureMarshal, NParamsVar uint, ParamsVar uintptr, CallbackFuncVar *gobject.Callback, UserDataVar uintptr, UserDestroyVar *gobject.ClosureNotify) *CClosureExpression {
167 var cls *CClosureExpression168 var cls *CClosureExpression
168 169
169 cret := xNewCClosureExpression(ValueTypeVar, glib.NewCallback(MarshalVar), NParamsVar, ParamsVar, glib.NewCallback(CallbackFuncVar), UserDataVar, glib.NewCallback(UserDestroyVar))170 cret := xNewCClosureExpression(ValueTypeVar, glib.NewCallback(MarshalVar), NParamsVar, ParamsVar, glib.NewCallback(CallbackFuncVar), UserDataVar, glib.NewCallback(UserDestroyVar))
@@ -196,13 +197,13 @@ func ClosureExpressionNewFromInternalPtr(ptr uintptr) *ClosureExpression {
196 return cls197 return cls
197 }198 }
198 199
199-var xNewClosureExpression func([]interface{}, *gobject.Closure, uint, uintptr) uintptr200+var xNewClosureExpression func(types.GType, *gobject.Closure, uint, uintptr) uintptr
200 201
201 // Creates a `GtkExpression` that calls `closure` when it is evaluated.202 // Creates a `GtkExpression` that calls `closure` when it is evaluated.
202 //203 //
203 // `closure` is called with the `this` object and the results of evaluating204 // `closure` is called with the `this` object and the results of evaluating
204 // the `params` expressions.205 // the `params` expressions.
205-func NewClosureExpression(ValueTypeVar []interface{}, ClosureVar *gobject.Closure, NParamsVar uint, ParamsVar uintptr) *ClosureExpression {206+func NewClosureExpression(ValueTypeVar types.GType, ClosureVar *gobject.Closure, NParamsVar uint, ParamsVar uintptr) *ClosureExpression {
206 var cls *ClosureExpression207 var cls *ClosureExpression
207 208
208 cret := xNewClosureExpression(ValueTypeVar, ClosureVar, NParamsVar, ParamsVar)209 cret := xNewClosureExpression(ValueTypeVar, ClosureVar, NParamsVar, ParamsVar)
@@ -234,11 +235,11 @@ func ConstantExpressionNewFromInternalPtr(ptr uintptr) *ConstantExpression {
234 return cls235 return cls
235 }236 }
236 237
237-var xNewConstantExpression func([]interface{}, ...interface{}) uintptr238+var xNewConstantExpression func(types.GType, ...interface{}) uintptr
238 239
239 // Creates a `GtkExpression` that evaluates to the240 // Creates a `GtkExpression` that evaluates to the
240 // object given by the arguments.241 // object given by the arguments.
241-func NewConstantExpression(ValueTypeVar []interface{}, varArgs ...interface{}) *ConstantExpression {242+func NewConstantExpression(ValueTypeVar types.GType, varArgs ...interface{}) *ConstantExpression {
242 var cls *ConstantExpression243 var cls *ConstantExpression
243 244
244 cret := xNewConstantExpression(ValueTypeVar, varArgs...)245 cret := xNewConstantExpression(ValueTypeVar, varArgs...)
@@ -473,13 +474,13 @@ func (x *Expression) Evaluate(ThisVar *gobject.Object, ValueVar *gobject.Value)
473 return cret474 return cret
474 }475 }
475 476
476-var xExpressionGetValueType func(uintptr) []interface{}477+var xExpressionGetValueType func(uintptr) types.GType
477 478
478 // Gets the `GType` that this expression evaluates to.479 // Gets the `GType` that this expression evaluates to.
479 //480 //
480 // This type is constant and will not change over the lifetime481 // This type is constant and will not change over the lifetime
481 // of this expression.482 // of this expression.
482-func (x *Expression) GetValueType() []interface{} {483+func (x *Expression) GetValueType() types.GType {
483 484
484 cret := xExpressionGetValueType(x.GoPointer())485 cret := xExpressionGetValueType(x.GoPointer())
485 return cret486 return cret
@@ -640,7 +641,7 @@ func PropertyExpressionNewFromInternalPtr(ptr uintptr) *PropertyExpression {
640 return cls641 return cls
641 }642 }
642 643
643-var xNewPropertyExpression func([]interface{}, uintptr, string) uintptr644+var xNewPropertyExpression func(types.GType, uintptr, string) uintptr
644 645
645 // Creates an expression that looks up a property.646 // Creates an expression that looks up a property.
646 //647 //
@@ -652,7 +653,7 @@ var xNewPropertyExpression func([]interface{}, uintptr, string) uintptr
652 // evaluation will fail.653 // evaluation will fail.
653 //654 //
654 // The given `this_type` must have a property with `property_name`.655 // The given `this_type` must have a property with `property_name`.
655-func NewPropertyExpression(ThisTypeVar []interface{}, ExpressionVar *Expression, PropertyNameVar string) *PropertyExpression {656+func NewPropertyExpression(ThisTypeVar types.GType, ExpressionVar *Expression, PropertyNameVar string) *PropertyExpression {
656 var cls *PropertyExpression657 var cls *PropertyExpression
657 658
658 cret := xNewPropertyExpression(ThisTypeVar, ExpressionVar.GoPointer(), PropertyNameVar)659 cret := xNewPropertyExpression(ThisTypeVar, ExpressionVar.GoPointer(), PropertyNameVar)
M v4/gtk/gtkfilechooserdialog.go +3 -3
@@ -281,7 +281,7 @@ func (x *FileChooserDialog) UpdateProperty(FirstPropertyVar AccessibleProperty,
281 // property change must be communicated to assistive technologies.281 // property change must be communicated to assistive technologies.
282 //282 //
283 // This function is meant to be used by language bindings.283 // This function is meant to be used by language bindings.
284-func (x *FileChooserDialog) UpdatePropertyValue(NPropertiesVar int, PropertiesVar uintptr, ValuesVar uintptr) {284+func (x *FileChooserDialog) UpdatePropertyValue(NPropertiesVar int, PropertiesVar []AccessibleProperty, ValuesVar []gobject.Value) {
285 285
286 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)286 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
287 287
@@ -317,7 +317,7 @@ func (x *FileChooserDialog) UpdateRelation(FirstRelationVar AccessibleRelation,
317 // relation change must be communicated to assistive technologies.317 // relation change must be communicated to assistive technologies.
318 //318 //
319 // This function is meant to be used by language bindings.319 // This function is meant to be used by language bindings.
320-func (x *FileChooserDialog) UpdateRelationValue(NRelationsVar int, RelationsVar uintptr, ValuesVar uintptr) {320+func (x *FileChooserDialog) UpdateRelationValue(NRelationsVar int, RelationsVar []AccessibleRelation, ValuesVar []gobject.Value) {
321 321
322 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)322 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
323 323
@@ -350,7 +350,7 @@ func (x *FileChooserDialog) UpdateState(FirstStateVar AccessibleState, varArgs .
350 // state change must be communicated to assistive technologies.350 // state change must be communicated to assistive technologies.
351 //351 //
352 // This function is meant to be used by language bindings.352 // This function is meant to be used by language bindings.
353-func (x *FileChooserDialog) UpdateStateValue(NStatesVar int, StatesVar uintptr, ValuesVar uintptr) {353+func (x *FileChooserDialog) UpdateStateValue(NStatesVar int, StatesVar []AccessibleState, ValuesVar []gobject.Value) {
354 354
355 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)355 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
356 356
M v4/gtk/gtkfilechooserwidget.go +3 -3
@@ -453,7 +453,7 @@ func (x *FileChooserWidget) UpdateProperty(FirstPropertyVar AccessibleProperty,
453 // property change must be communicated to assistive technologies.453 // property change must be communicated to assistive technologies.
454 //454 //
455 // This function is meant to be used by language bindings.455 // This function is meant to be used by language bindings.
456-func (x *FileChooserWidget) UpdatePropertyValue(NPropertiesVar int, PropertiesVar uintptr, ValuesVar uintptr) {456+func (x *FileChooserWidget) UpdatePropertyValue(NPropertiesVar int, PropertiesVar []AccessibleProperty, ValuesVar []gobject.Value) {
457 457
458 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)458 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
459 459
@@ -489,7 +489,7 @@ func (x *FileChooserWidget) UpdateRelation(FirstRelationVar AccessibleRelation,
489 // relation change must be communicated to assistive technologies.489 // relation change must be communicated to assistive technologies.
490 //490 //
491 // This function is meant to be used by language bindings.491 // This function is meant to be used by language bindings.
492-func (x *FileChooserWidget) UpdateRelationValue(NRelationsVar int, RelationsVar uintptr, ValuesVar uintptr) {492+func (x *FileChooserWidget) UpdateRelationValue(NRelationsVar int, RelationsVar []AccessibleRelation, ValuesVar []gobject.Value) {
493 493
494 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)494 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
495 495
@@ -522,7 +522,7 @@ func (x *FileChooserWidget) UpdateState(FirstStateVar AccessibleState, varArgs .
522 // state change must be communicated to assistive technologies.522 // state change must be communicated to assistive technologies.
523 //523 //
524 // This function is meant to be used by language bindings.524 // This function is meant to be used by language bindings.
525-func (x *FileChooserWidget) UpdateStateValue(NStatesVar int, StatesVar uintptr, ValuesVar uintptr) {525+func (x *FileChooserWidget) UpdateStateValue(NStatesVar int, StatesVar []AccessibleState, ValuesVar []gobject.Value) {
526 526
527 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)527 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
528 528
M v4/gtk/gtkfilterlistmodel.go +2 -1
@@ -8,6 +8,7 @@ import (
8 "github.com/jwijenbergh/puregotk/internal/core"8 "github.com/jwijenbergh/puregotk/internal/core"
9 "github.com/jwijenbergh/puregotk/v4/gio"9 "github.com/jwijenbergh/puregotk/v4/gio"
10 "github.com/jwijenbergh/puregotk/v4/gobject"10 "github.com/jwijenbergh/puregotk/v4/gobject"
11+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
11 )12 )
12 13
13 type FilterListModelClass struct {14 type FilterListModelClass struct {
@@ -201,7 +202,7 @@ func (x *FilterListModel) GetItem(PositionVar uint) uintptr {
201 //202 //
202 // The item type of a #GListModel can not change during the life of the203 // The item type of a #GListModel can not change during the life of the
203 // model.204 // model.
204-func (x *FilterListModel) GetItemType() []interface{} {205+func (x *FilterListModel) GetItemType() types.GType {
205 206
206 cret := gio.XGListModelGetItemType(x.GoPointer())207 cret := gio.XGListModelGetItemType(x.GoPointer())
207 return cret208 return cret
M v4/gtk/gtkfixed.go +4 -4
@@ -13,7 +13,7 @@ import (
13 type FixedClass struct {13 type FixedClass struct {
14 ParentClass uintptr14 ParentClass uintptr
15 15
16- Padding uintptr16+ Padding [8]uintptr
17 }17 }
18 18
19 func (x *FixedClass) GoPointer() uintptr {19 func (x *FixedClass) GoPointer() uintptr {
@@ -213,7 +213,7 @@ func (x *Fixed) UpdateProperty(FirstPropertyVar AccessibleProperty, varArgs ...i
213 // property change must be communicated to assistive technologies.213 // property change must be communicated to assistive technologies.
214 //214 //
215 // This function is meant to be used by language bindings.215 // This function is meant to be used by language bindings.
216-func (x *Fixed) UpdatePropertyValue(NPropertiesVar int, PropertiesVar uintptr, ValuesVar uintptr) {216+func (x *Fixed) UpdatePropertyValue(NPropertiesVar int, PropertiesVar []AccessibleProperty, ValuesVar []gobject.Value) {
217 217
218 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)218 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
219 219
@@ -249,7 +249,7 @@ func (x *Fixed) UpdateRelation(FirstRelationVar AccessibleRelation, varArgs ...i
249 // relation change must be communicated to assistive technologies.249 // relation change must be communicated to assistive technologies.
250 //250 //
251 // This function is meant to be used by language bindings.251 // This function is meant to be used by language bindings.
252-func (x *Fixed) UpdateRelationValue(NRelationsVar int, RelationsVar uintptr, ValuesVar uintptr) {252+func (x *Fixed) UpdateRelationValue(NRelationsVar int, RelationsVar []AccessibleRelation, ValuesVar []gobject.Value) {
253 253
254 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)254 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
255 255
@@ -282,7 +282,7 @@ func (x *Fixed) UpdateState(FirstStateVar AccessibleState, varArgs ...interface{
282 // state change must be communicated to assistive technologies.282 // state change must be communicated to assistive technologies.
283 //283 //
284 // This function is meant to be used by language bindings.284 // This function is meant to be used by language bindings.
285-func (x *Fixed) UpdateStateValue(NStatesVar int, StatesVar uintptr, ValuesVar uintptr) {285+func (x *Fixed) UpdateStateValue(NStatesVar int, StatesVar []AccessibleState, ValuesVar []gobject.Value) {
286 286
287 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)287 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
288 288
M v4/gtk/gtkflattenlistmodel.go +2 -1
@@ -8,6 +8,7 @@ import (
8 "github.com/jwijenbergh/puregotk/internal/core"8 "github.com/jwijenbergh/puregotk/internal/core"
9 "github.com/jwijenbergh/puregotk/v4/gio"9 "github.com/jwijenbergh/puregotk/v4/gio"
10 "github.com/jwijenbergh/puregotk/v4/gobject"10 "github.com/jwijenbergh/puregotk/v4/gobject"
11+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
11 )12 )
12 13
13 type FlattenListModelClass struct {14 type FlattenListModelClass struct {
@@ -123,7 +124,7 @@ func (x *FlattenListModel) GetItem(PositionVar uint) uintptr {
123 //124 //
124 // The item type of a #GListModel can not change during the life of the125 // The item type of a #GListModel can not change during the life of the
125 // model.126 // model.
126-func (x *FlattenListModel) GetItemType() []interface{} {127+func (x *FlattenListModel) GetItemType() types.GType {
127 128
128 cret := gio.XGListModelGetItemType(x.GoPointer())129 cret := gio.XGListModelGetItemType(x.GoPointer())
129 return cret130 return cret
M v4/gtk/gtkflowbox.go +7 -7
@@ -34,7 +34,7 @@ type FlowBoxSortFunc func(uintptr, uintptr, uintptr) int
34 type FlowBoxChildClass struct {34 type FlowBoxChildClass struct {
35 ParentClass uintptr35 ParentClass uintptr
36 36
37- Padding uintptr37+ Padding [8]uintptr
38 }38 }
39 39
40 func (x *FlowBoxChildClass) GoPointer() uintptr {40 func (x *FlowBoxChildClass) GoPointer() uintptr {
@@ -766,7 +766,7 @@ func (x *FlowBox) UpdateProperty(FirstPropertyVar AccessibleProperty, varArgs ..
766 // property change must be communicated to assistive technologies.766 // property change must be communicated to assistive technologies.
767 //767 //
768 // This function is meant to be used by language bindings.768 // This function is meant to be used by language bindings.
769-func (x *FlowBox) UpdatePropertyValue(NPropertiesVar int, PropertiesVar uintptr, ValuesVar uintptr) {769+func (x *FlowBox) UpdatePropertyValue(NPropertiesVar int, PropertiesVar []AccessibleProperty, ValuesVar []gobject.Value) {
770 770
771 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)771 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
772 772
@@ -802,7 +802,7 @@ func (x *FlowBox) UpdateRelation(FirstRelationVar AccessibleRelation, varArgs ..
802 // relation change must be communicated to assistive technologies.802 // relation change must be communicated to assistive technologies.
803 //803 //
804 // This function is meant to be used by language bindings.804 // This function is meant to be used by language bindings.
805-func (x *FlowBox) UpdateRelationValue(NRelationsVar int, RelationsVar uintptr, ValuesVar uintptr) {805+func (x *FlowBox) UpdateRelationValue(NRelationsVar int, RelationsVar []AccessibleRelation, ValuesVar []gobject.Value) {
806 806
807 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)807 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
808 808
@@ -835,7 +835,7 @@ func (x *FlowBox) UpdateState(FirstStateVar AccessibleState, varArgs ...interfac
835 // state change must be communicated to assistive technologies.835 // state change must be communicated to assistive technologies.
836 //836 //
837 // This function is meant to be used by language bindings.837 // This function is meant to be used by language bindings.
838-func (x *FlowBox) UpdateStateValue(NStatesVar int, StatesVar uintptr, ValuesVar uintptr) {838+func (x *FlowBox) UpdateStateValue(NStatesVar int, StatesVar []AccessibleState, ValuesVar []gobject.Value) {
839 839
840 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)840 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
841 841
@@ -1061,7 +1061,7 @@ func (x *FlowBoxChild) UpdateProperty(FirstPropertyVar AccessibleProperty, varAr
1061 // property change must be communicated to assistive technologies.1061 // property change must be communicated to assistive technologies.
1062 //1062 //
1063 // This function is meant to be used by language bindings.1063 // This function is meant to be used by language bindings.
1064-func (x *FlowBoxChild) UpdatePropertyValue(NPropertiesVar int, PropertiesVar uintptr, ValuesVar uintptr) {1064+func (x *FlowBoxChild) UpdatePropertyValue(NPropertiesVar int, PropertiesVar []AccessibleProperty, ValuesVar []gobject.Value) {
1065 1065
1066 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)1066 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
1067 1067
@@ -1097,7 +1097,7 @@ func (x *FlowBoxChild) UpdateRelation(FirstRelationVar AccessibleRelation, varAr
1097 // relation change must be communicated to assistive technologies.1097 // relation change must be communicated to assistive technologies.
1098 //1098 //
1099 // This function is meant to be used by language bindings.1099 // This function is meant to be used by language bindings.
1100-func (x *FlowBoxChild) UpdateRelationValue(NRelationsVar int, RelationsVar uintptr, ValuesVar uintptr) {1100+func (x *FlowBoxChild) UpdateRelationValue(NRelationsVar int, RelationsVar []AccessibleRelation, ValuesVar []gobject.Value) {
1101 1101
1102 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)1102 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
1103 1103
@@ -1130,7 +1130,7 @@ func (x *FlowBoxChild) UpdateState(FirstStateVar AccessibleState, varArgs ...int
1130 // state change must be communicated to assistive technologies.1130 // state change must be communicated to assistive technologies.
1131 //1131 //
1132 // This function is meant to be used by language bindings.1132 // This function is meant to be used by language bindings.
1133-func (x *FlowBoxChild) UpdateStateValue(NStatesVar int, StatesVar uintptr, ValuesVar uintptr) {1133+func (x *FlowBoxChild) UpdateStateValue(NStatesVar int, StatesVar []AccessibleState, ValuesVar []gobject.Value) {
1134 1134
1135 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)1135 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
1136 1136
M v4/gtk/gtkfontbutton.go +3 -3
@@ -264,7 +264,7 @@ func (x *FontButton) UpdateProperty(FirstPropertyVar AccessibleProperty, varArgs
264 // property change must be communicated to assistive technologies.264 // property change must be communicated to assistive technologies.
265 //265 //
266 // This function is meant to be used by language bindings.266 // This function is meant to be used by language bindings.
267-func (x *FontButton) UpdatePropertyValue(NPropertiesVar int, PropertiesVar uintptr, ValuesVar uintptr) {267+func (x *FontButton) UpdatePropertyValue(NPropertiesVar int, PropertiesVar []AccessibleProperty, ValuesVar []gobject.Value) {
268 268
269 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)269 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
270 270
@@ -300,7 +300,7 @@ func (x *FontButton) UpdateRelation(FirstRelationVar AccessibleRelation, varArgs
300 // relation change must be communicated to assistive technologies.300 // relation change must be communicated to assistive technologies.
301 //301 //
302 // This function is meant to be used by language bindings.302 // This function is meant to be used by language bindings.
303-func (x *FontButton) UpdateRelationValue(NRelationsVar int, RelationsVar uintptr, ValuesVar uintptr) {303+func (x *FontButton) UpdateRelationValue(NRelationsVar int, RelationsVar []AccessibleRelation, ValuesVar []gobject.Value) {
304 304
305 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)305 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
306 306
@@ -333,7 +333,7 @@ func (x *FontButton) UpdateState(FirstStateVar AccessibleState, varArgs ...inter
333 // state change must be communicated to assistive technologies.333 // state change must be communicated to assistive technologies.
334 //334 //
335 // This function is meant to be used by language bindings.335 // This function is meant to be used by language bindings.
336-func (x *FontButton) UpdateStateValue(NStatesVar int, StatesVar uintptr, ValuesVar uintptr) {336+func (x *FontButton) UpdateStateValue(NStatesVar int, StatesVar []AccessibleState, ValuesVar []gobject.Value) {
337 337
338 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)338 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
339 339
M v4/gtk/gtkfontchooser.go +1 -1
@@ -20,7 +20,7 @@ type FontFilterFunc func(uintptr, uintptr, uintptr) bool
20 type FontChooserIface struct {20 type FontChooserIface struct {
21 BaseIface uintptr21 BaseIface uintptr
22 22
23- Padding uintptr23+ Padding [10]uintptr
24 }24 }
25 25
26 func (x *FontChooserIface) GoPointer() uintptr {26 func (x *FontChooserIface) GoPointer() uintptr {
M v4/gtk/gtkfontchooserdialog.go +3 -3
@@ -118,7 +118,7 @@ func (x *FontChooserDialog) UpdateProperty(FirstPropertyVar AccessibleProperty,
118 // property change must be communicated to assistive technologies.118 // property change must be communicated to assistive technologies.
119 //119 //
120 // This function is meant to be used by language bindings.120 // This function is meant to be used by language bindings.
121-func (x *FontChooserDialog) UpdatePropertyValue(NPropertiesVar int, PropertiesVar uintptr, ValuesVar uintptr) {121+func (x *FontChooserDialog) UpdatePropertyValue(NPropertiesVar int, PropertiesVar []AccessibleProperty, ValuesVar []gobject.Value) {
122 122
123 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)123 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
124 124
@@ -154,7 +154,7 @@ func (x *FontChooserDialog) UpdateRelation(FirstRelationVar AccessibleRelation,
154 // relation change must be communicated to assistive technologies.154 // relation change must be communicated to assistive technologies.
155 //155 //
156 // This function is meant to be used by language bindings.156 // This function is meant to be used by language bindings.
157-func (x *FontChooserDialog) UpdateRelationValue(NRelationsVar int, RelationsVar uintptr, ValuesVar uintptr) {157+func (x *FontChooserDialog) UpdateRelationValue(NRelationsVar int, RelationsVar []AccessibleRelation, ValuesVar []gobject.Value) {
158 158
159 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)159 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
160 160
@@ -187,7 +187,7 @@ func (x *FontChooserDialog) UpdateState(FirstStateVar AccessibleState, varArgs .
187 // state change must be communicated to assistive technologies.187 // state change must be communicated to assistive technologies.
188 //188 //
189 // This function is meant to be used by language bindings.189 // This function is meant to be used by language bindings.
190-func (x *FontChooserDialog) UpdateStateValue(NStatesVar int, StatesVar uintptr, ValuesVar uintptr) {190+func (x *FontChooserDialog) UpdateStateValue(NStatesVar int, StatesVar []AccessibleState, ValuesVar []gobject.Value) {
191 191
192 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)192 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
193 193
M v4/gtk/gtkfontchooserwidget.go +3 -3
@@ -119,7 +119,7 @@ func (x *FontChooserWidget) UpdateProperty(FirstPropertyVar AccessibleProperty,
119 // property change must be communicated to assistive technologies.119 // property change must be communicated to assistive technologies.
120 //120 //
121 // This function is meant to be used by language bindings.121 // This function is meant to be used by language bindings.
122-func (x *FontChooserWidget) UpdatePropertyValue(NPropertiesVar int, PropertiesVar uintptr, ValuesVar uintptr) {122+func (x *FontChooserWidget) UpdatePropertyValue(NPropertiesVar int, PropertiesVar []AccessibleProperty, ValuesVar []gobject.Value) {
123 123
124 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)124 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
125 125
@@ -155,7 +155,7 @@ func (x *FontChooserWidget) UpdateRelation(FirstRelationVar AccessibleRelation,
155 // relation change must be communicated to assistive technologies.155 // relation change must be communicated to assistive technologies.
156 //156 //
157 // This function is meant to be used by language bindings.157 // This function is meant to be used by language bindings.
158-func (x *FontChooserWidget) UpdateRelationValue(NRelationsVar int, RelationsVar uintptr, ValuesVar uintptr) {158+func (x *FontChooserWidget) UpdateRelationValue(NRelationsVar int, RelationsVar []AccessibleRelation, ValuesVar []gobject.Value) {
159 159
160 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)160 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
161 161
@@ -188,7 +188,7 @@ func (x *FontChooserWidget) UpdateState(FirstStateVar AccessibleState, varArgs .
188 // state change must be communicated to assistive technologies.188 // state change must be communicated to assistive technologies.
189 //189 //
190 // This function is meant to be used by language bindings.190 // This function is meant to be used by language bindings.
191-func (x *FontChooserWidget) UpdateStateValue(NStatesVar int, StatesVar uintptr, ValuesVar uintptr) {191+func (x *FontChooserWidget) UpdateStateValue(NStatesVar int, StatesVar []AccessibleState, ValuesVar []gobject.Value) {
192 192
193 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)193 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
194 194
M v4/gtk/gtkframe.go +4 -4
@@ -12,7 +12,7 @@ import (
12 type FrameClass struct {12 type FrameClass struct {
13 ParentClass uintptr13 ParentClass uintptr
14 14
15- Padding uintptr15+ Padding [8]uintptr
16 }16 }
17 17
18 func (x *FrameClass) GoPointer() uintptr {18 func (x *FrameClass) GoPointer() uintptr {
@@ -255,7 +255,7 @@ func (x *Frame) UpdateProperty(FirstPropertyVar AccessibleProperty, varArgs ...i
255 // property change must be communicated to assistive technologies.255 // property change must be communicated to assistive technologies.
256 //256 //
257 // This function is meant to be used by language bindings.257 // This function is meant to be used by language bindings.
258-func (x *Frame) UpdatePropertyValue(NPropertiesVar int, PropertiesVar uintptr, ValuesVar uintptr) {258+func (x *Frame) UpdatePropertyValue(NPropertiesVar int, PropertiesVar []AccessibleProperty, ValuesVar []gobject.Value) {
259 259
260 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)260 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
261 261
@@ -291,7 +291,7 @@ func (x *Frame) UpdateRelation(FirstRelationVar AccessibleRelation, varArgs ...i
291 // relation change must be communicated to assistive technologies.291 // relation change must be communicated to assistive technologies.
292 //292 //
293 // This function is meant to be used by language bindings.293 // This function is meant to be used by language bindings.
294-func (x *Frame) UpdateRelationValue(NRelationsVar int, RelationsVar uintptr, ValuesVar uintptr) {294+func (x *Frame) UpdateRelationValue(NRelationsVar int, RelationsVar []AccessibleRelation, ValuesVar []gobject.Value) {
295 295
296 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)296 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
297 297
@@ -324,7 +324,7 @@ func (x *Frame) UpdateState(FirstStateVar AccessibleState, varArgs ...interface{
324 // state change must be communicated to assistive technologies.324 // state change must be communicated to assistive technologies.
325 //325 //
326 // This function is meant to be used by language bindings.326 // This function is meant to be used by language bindings.
327-func (x *Frame) UpdateStateValue(NStatesVar int, StatesVar uintptr, ValuesVar uintptr) {327+func (x *Frame) UpdateStateValue(NStatesVar int, StatesVar []AccessibleState, ValuesVar []gobject.Value) {
328 328
329 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)329 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
330 330
M v4/gtk/gtkgesturestylus.go +2 -2
@@ -48,7 +48,7 @@ func NewGestureStylus() *GestureStylus {
48 return cls48 return cls
49 }49 }
50 50
51-var xGestureStylusGetAxes func(uintptr, uintptr, uintptr) bool51+var xGestureStylusGetAxes func(uintptr, []gdk.AxisUse, []float64) bool
52 52
53 // Returns the current values for the requested @axes.53 // Returns the current values for the requested @axes.
54 //54 //
@@ -56,7 +56,7 @@ var xGestureStylusGetAxes func(uintptr, uintptr, uintptr) bool
56 // [signal@Gtk.GestureStylus::down], [signal@Gtk.GestureStylus::motion],56 // [signal@Gtk.GestureStylus::down], [signal@Gtk.GestureStylus::motion],
57 // [signal@Gtk.GestureStylus::up] or [signal@Gtk.GestureStylus::proximity]57 // [signal@Gtk.GestureStylus::up] or [signal@Gtk.GestureStylus::proximity]
58 // signals.58 // signals.
59-func (x *GestureStylus) GetAxes(AxesVar uintptr, ValuesVar uintptr) bool {59+func (x *GestureStylus) GetAxes(AxesVar []gdk.AxisUse, ValuesVar []float64) bool {
60 60
61 cret := xGestureStylusGetAxes(x.GoPointer(), AxesVar, ValuesVar)61 cret := xGestureStylusGetAxes(x.GoPointer(), AxesVar, ValuesVar)
62 return cret62 return cret
M v4/gtk/gtkglarea.go +4 -4
@@ -15,7 +15,7 @@ import (
15 type GLAreaClass struct {15 type GLAreaClass struct {
16 ParentClass uintptr16 ParentClass uintptr
17 17
18- Padding uintptr18+ Padding [8]uintptr
19 }19 }
20 20
21 func (x *GLAreaClass) GoPointer() uintptr {21 func (x *GLAreaClass) GoPointer() uintptr {
@@ -509,7 +509,7 @@ func (x *GLArea) UpdateProperty(FirstPropertyVar AccessibleProperty, varArgs ...
509 // property change must be communicated to assistive technologies.509 // property change must be communicated to assistive technologies.
510 //510 //
511 // This function is meant to be used by language bindings.511 // This function is meant to be used by language bindings.
512-func (x *GLArea) UpdatePropertyValue(NPropertiesVar int, PropertiesVar uintptr, ValuesVar uintptr) {512+func (x *GLArea) UpdatePropertyValue(NPropertiesVar int, PropertiesVar []AccessibleProperty, ValuesVar []gobject.Value) {
513 513
514 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)514 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
515 515
@@ -545,7 +545,7 @@ func (x *GLArea) UpdateRelation(FirstRelationVar AccessibleRelation, varArgs ...
545 // relation change must be communicated to assistive technologies.545 // relation change must be communicated to assistive technologies.
546 //546 //
547 // This function is meant to be used by language bindings.547 // This function is meant to be used by language bindings.
548-func (x *GLArea) UpdateRelationValue(NRelationsVar int, RelationsVar uintptr, ValuesVar uintptr) {548+func (x *GLArea) UpdateRelationValue(NRelationsVar int, RelationsVar []AccessibleRelation, ValuesVar []gobject.Value) {
549 549
550 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)550 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
551 551
@@ -578,7 +578,7 @@ func (x *GLArea) UpdateState(FirstStateVar AccessibleState, varArgs ...interface
578 // state change must be communicated to assistive technologies.578 // state change must be communicated to assistive technologies.
579 //579 //
580 // This function is meant to be used by language bindings.580 // This function is meant to be used by language bindings.
581-func (x *GLArea) UpdateStateValue(NStatesVar int, StatesVar uintptr, ValuesVar uintptr) {581+func (x *GLArea) UpdateStateValue(NStatesVar int, StatesVar []AccessibleState, ValuesVar []gobject.Value) {
582 582
583 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)583 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
584 584
M v4/gtk/gtkgrid.go +4 -4
@@ -12,7 +12,7 @@ import (
12 type GridClass struct {12 type GridClass struct {
13 ParentClass uintptr13 ParentClass uintptr
14 14
15- Padding uintptr15+ Padding [8]uintptr
16 }16 }
17 17
18 func (x *GridClass) GoPointer() uintptr {18 func (x *GridClass) GoPointer() uintptr {
@@ -450,7 +450,7 @@ func (x *Grid) UpdateProperty(FirstPropertyVar AccessibleProperty, varArgs ...in
450 // property change must be communicated to assistive technologies.450 // property change must be communicated to assistive technologies.
451 //451 //
452 // This function is meant to be used by language bindings.452 // This function is meant to be used by language bindings.
453-func (x *Grid) UpdatePropertyValue(NPropertiesVar int, PropertiesVar uintptr, ValuesVar uintptr) {453+func (x *Grid) UpdatePropertyValue(NPropertiesVar int, PropertiesVar []AccessibleProperty, ValuesVar []gobject.Value) {
454 454
455 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)455 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
456 456
@@ -486,7 +486,7 @@ func (x *Grid) UpdateRelation(FirstRelationVar AccessibleRelation, varArgs ...in
486 // relation change must be communicated to assistive technologies.486 // relation change must be communicated to assistive technologies.
487 //487 //
488 // This function is meant to be used by language bindings.488 // This function is meant to be used by language bindings.
489-func (x *Grid) UpdateRelationValue(NRelationsVar int, RelationsVar uintptr, ValuesVar uintptr) {489+func (x *Grid) UpdateRelationValue(NRelationsVar int, RelationsVar []AccessibleRelation, ValuesVar []gobject.Value) {
490 490
491 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)491 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
492 492
@@ -519,7 +519,7 @@ func (x *Grid) UpdateState(FirstStateVar AccessibleState, varArgs ...interface{}
519 // state change must be communicated to assistive technologies.519 // state change must be communicated to assistive technologies.
520 //520 //
521 // This function is meant to be used by language bindings.521 // This function is meant to be used by language bindings.
522-func (x *Grid) UpdateStateValue(NStatesVar int, StatesVar uintptr, ValuesVar uintptr) {522+func (x *Grid) UpdateStateValue(NStatesVar int, StatesVar []AccessibleState, ValuesVar []gobject.Value) {
523 523
524 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)524 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
525 525
M v4/gtk/gtkgridview.go +3 -3
@@ -318,7 +318,7 @@ func (x *GridView) UpdateProperty(FirstPropertyVar AccessibleProperty, varArgs .
318 // property change must be communicated to assistive technologies.318 // property change must be communicated to assistive technologies.
319 //319 //
320 // This function is meant to be used by language bindings.320 // This function is meant to be used by language bindings.
321-func (x *GridView) UpdatePropertyValue(NPropertiesVar int, PropertiesVar uintptr, ValuesVar uintptr) {321+func (x *GridView) UpdatePropertyValue(NPropertiesVar int, PropertiesVar []AccessibleProperty, ValuesVar []gobject.Value) {
322 322
323 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)323 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
324 324
@@ -354,7 +354,7 @@ func (x *GridView) UpdateRelation(FirstRelationVar AccessibleRelation, varArgs .
354 // relation change must be communicated to assistive technologies.354 // relation change must be communicated to assistive technologies.
355 //355 //
356 // This function is meant to be used by language bindings.356 // This function is meant to be used by language bindings.
357-func (x *GridView) UpdateRelationValue(NRelationsVar int, RelationsVar uintptr, ValuesVar uintptr) {357+func (x *GridView) UpdateRelationValue(NRelationsVar int, RelationsVar []AccessibleRelation, ValuesVar []gobject.Value) {
358 358
359 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)359 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
360 360
@@ -387,7 +387,7 @@ func (x *GridView) UpdateState(FirstStateVar AccessibleState, varArgs ...interfa
387 // state change must be communicated to assistive technologies.387 // state change must be communicated to assistive technologies.
388 //388 //
389 // This function is meant to be used by language bindings.389 // This function is meant to be used by language bindings.
390-func (x *GridView) UpdateStateValue(NStatesVar int, StatesVar uintptr, ValuesVar uintptr) {390+func (x *GridView) UpdateStateValue(NStatesVar int, StatesVar []AccessibleState, ValuesVar []gobject.Value) {
391 391
392 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)392 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
393 393
M v4/gtk/gtkheaderbar.go +3 -3
@@ -301,7 +301,7 @@ func (x *HeaderBar) UpdateProperty(FirstPropertyVar AccessibleProperty, varArgs
301 // property change must be communicated to assistive technologies.301 // property change must be communicated to assistive technologies.
302 //302 //
303 // This function is meant to be used by language bindings.303 // This function is meant to be used by language bindings.
304-func (x *HeaderBar) UpdatePropertyValue(NPropertiesVar int, PropertiesVar uintptr, ValuesVar uintptr) {304+func (x *HeaderBar) UpdatePropertyValue(NPropertiesVar int, PropertiesVar []AccessibleProperty, ValuesVar []gobject.Value) {
305 305
306 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)306 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
307 307
@@ -337,7 +337,7 @@ func (x *HeaderBar) UpdateRelation(FirstRelationVar AccessibleRelation, varArgs
337 // relation change must be communicated to assistive technologies.337 // relation change must be communicated to assistive technologies.
338 //338 //
339 // This function is meant to be used by language bindings.339 // This function is meant to be used by language bindings.
340-func (x *HeaderBar) UpdateRelationValue(NRelationsVar int, RelationsVar uintptr, ValuesVar uintptr) {340+func (x *HeaderBar) UpdateRelationValue(NRelationsVar int, RelationsVar []AccessibleRelation, ValuesVar []gobject.Value) {
341 341
342 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)342 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
343 343
@@ -370,7 +370,7 @@ func (x *HeaderBar) UpdateState(FirstStateVar AccessibleState, varArgs ...interf
370 // state change must be communicated to assistive technologies.370 // state change must be communicated to assistive technologies.
371 //371 //
372 // This function is meant to be used by language bindings.372 // This function is meant to be used by language bindings.
373-func (x *HeaderBar) UpdateStateValue(NStatesVar int, StatesVar uintptr, ValuesVar uintptr) {373+func (x *HeaderBar) UpdateStateValue(NStatesVar int, StatesVar []AccessibleState, ValuesVar []gobject.Value) {
374 374
375 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)375 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
376 376
M v4/gtk/gtkicontheme.go +7 -7
@@ -276,7 +276,7 @@ func (x *IconPaintable) Snapshot(SnapshotVar *gdk.Snapshot, WidthVar float64, He
276 //276 //
277 // If less than 4 colors are provided, GTK will pad the array with default277 // If less than 4 colors are provided, GTK will pad the array with default
278 // colors.278 // colors.
279-func (x *IconPaintable) SnapshotSymbolic(SnapshotVar *gdk.Snapshot, WidthVar float64, HeightVar float64, ColorsVar uintptr, NColorsVar uint) {279+func (x *IconPaintable) SnapshotSymbolic(SnapshotVar *gdk.Snapshot, WidthVar float64, HeightVar float64, ColorsVar []gdk.RGBA, NColorsVar uint) {
280 280
281 XGtkSymbolicPaintableSnapshotSymbolic(x.GoPointer(), SnapshotVar.GoPointer(), WidthVar, HeightVar, ColorsVar, NColorsVar)281 XGtkSymbolicPaintableSnapshotSymbolic(x.GoPointer(), SnapshotVar.GoPointer(), WidthVar, HeightVar, ColorsVar, NColorsVar)
282 282
@@ -400,14 +400,14 @@ func (x *IconTheme) GetIconNames() []string {
400 return cret400 return cret
401 }401 }
402 402
403-var xIconThemeGetIconSizes func(uintptr, string) uintptr403+var xIconThemeGetIconSizes func(uintptr, string) []int
404 404
405 // Returns an array of integers describing the sizes at which405 // Returns an array of integers describing the sizes at which
406 // the icon is available without scaling.406 // the icon is available without scaling.
407 //407 //
408 // A size of -1 means that the icon is available in a scalable408 // A size of -1 means that the icon is available in a scalable
409 // format. The array is zero-terminated.409 // format. The array is zero-terminated.
410-func (x *IconTheme) GetIconSizes(IconNameVar string) uintptr {410+func (x *IconTheme) GetIconSizes(IconNameVar string) []int {
411 411
412 cret := xIconThemeGetIconSizes(x.GoPointer(), IconNameVar)412 cret := xIconThemeGetIconSizes(x.GoPointer(), IconNameVar)
413 return cret413 return cret
@@ -516,7 +516,7 @@ func (x *IconTheme) LookupIcon(IconNameVar string, FallbacksVar []string, SizeVa
516 return cls516 return cls
517 }517 }
518 518
519-var xIconThemeSetResourcePath func(uintptr, uintptr)519+var xIconThemeSetResourcePath func(uintptr, []string)
520 520
521 // Sets the resource paths that will be looked at when521 // Sets the resource paths that will be looked at when
522 // looking for icons, similar to search paths.522 // looking for icons, similar to search paths.
@@ -529,13 +529,13 @@ var xIconThemeSetResourcePath func(uintptr, uintptr)
529 // Icons that are directly placed in the resource path instead529 // Icons that are directly placed in the resource path instead
530 // of a subdirectory are also considered as ultimate fallback,530 // of a subdirectory are also considered as ultimate fallback,
531 // but they are treated like unthemed icons.531 // but they are treated like unthemed icons.
532-func (x *IconTheme) SetResourcePath(PathVar uintptr) {532+func (x *IconTheme) SetResourcePath(PathVar []string) {
533 533
534 xIconThemeSetResourcePath(x.GoPointer(), PathVar)534 xIconThemeSetResourcePath(x.GoPointer(), PathVar)
535 535
536 }536 }
537 537
538-var xIconThemeSetSearchPath func(uintptr, uintptr)538+var xIconThemeSetSearchPath func(uintptr, []string)
539 539
540 // Sets the search path for the icon theme object.540 // Sets the search path for the icon theme object.
541 //541 //
@@ -552,7 +552,7 @@ var xIconThemeSetSearchPath func(uintptr, uintptr)
552 // (This is legacy feature, and new icons should be put552 // (This is legacy feature, and new icons should be put
553 // into the fallback icon theme, which is called hicolor,553 // into the fallback icon theme, which is called hicolor,
554 // rather than directly on the icon path.)554 // rather than directly on the icon path.)
555-func (x *IconTheme) SetSearchPath(PathVar uintptr) {555+func (x *IconTheme) SetSearchPath(PathVar []string) {
556 556
557 xIconThemeSetSearchPath(x.GoPointer(), PathVar)557 xIconThemeSetSearchPath(x.GoPointer(), PathVar)
558 558
M v4/gtk/gtkiconview.go +3 -3
@@ -1077,7 +1077,7 @@ func (x *IconView) UpdateProperty(FirstPropertyVar AccessibleProperty, varArgs .
1077 // property change must be communicated to assistive technologies.1077 // property change must be communicated to assistive technologies.
1078 //1078 //
1079 // This function is meant to be used by language bindings.1079 // This function is meant to be used by language bindings.
1080-func (x *IconView) UpdatePropertyValue(NPropertiesVar int, PropertiesVar uintptr, ValuesVar uintptr) {1080+func (x *IconView) UpdatePropertyValue(NPropertiesVar int, PropertiesVar []AccessibleProperty, ValuesVar []gobject.Value) {
1081 1081
1082 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)1082 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
1083 1083
@@ -1113,7 +1113,7 @@ func (x *IconView) UpdateRelation(FirstRelationVar AccessibleRelation, varArgs .
1113 // relation change must be communicated to assistive technologies.1113 // relation change must be communicated to assistive technologies.
1114 //1114 //
1115 // This function is meant to be used by language bindings.1115 // This function is meant to be used by language bindings.
1116-func (x *IconView) UpdateRelationValue(NRelationsVar int, RelationsVar uintptr, ValuesVar uintptr) {1116+func (x *IconView) UpdateRelationValue(NRelationsVar int, RelationsVar []AccessibleRelation, ValuesVar []gobject.Value) {
1117 1117
1118 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)1118 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
1119 1119
@@ -1146,7 +1146,7 @@ func (x *IconView) UpdateState(FirstStateVar AccessibleState, varArgs ...interfa
1146 // state change must be communicated to assistive technologies.1146 // state change must be communicated to assistive technologies.
1147 //1147 //
1148 // This function is meant to be used by language bindings.1148 // This function is meant to be used by language bindings.
1149-func (x *IconView) UpdateStateValue(NStatesVar int, StatesVar uintptr, ValuesVar uintptr) {1149+func (x *IconView) UpdateStateValue(NStatesVar int, StatesVar []AccessibleState, ValuesVar []gobject.Value) {
1150 1150
1151 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)1151 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
1152 1152
M v4/gtk/gtkimage.go +3 -3
@@ -505,7 +505,7 @@ func (x *Image) UpdateProperty(FirstPropertyVar AccessibleProperty, varArgs ...i
505 // property change must be communicated to assistive technologies.505 // property change must be communicated to assistive technologies.
506 //506 //
507 // This function is meant to be used by language bindings.507 // This function is meant to be used by language bindings.
508-func (x *Image) UpdatePropertyValue(NPropertiesVar int, PropertiesVar uintptr, ValuesVar uintptr) {508+func (x *Image) UpdatePropertyValue(NPropertiesVar int, PropertiesVar []AccessibleProperty, ValuesVar []gobject.Value) {
509 509
510 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)510 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
511 511
@@ -541,7 +541,7 @@ func (x *Image) UpdateRelation(FirstRelationVar AccessibleRelation, varArgs ...i
541 // relation change must be communicated to assistive technologies.541 // relation change must be communicated to assistive technologies.
542 //542 //
543 // This function is meant to be used by language bindings.543 // This function is meant to be used by language bindings.
544-func (x *Image) UpdateRelationValue(NRelationsVar int, RelationsVar uintptr, ValuesVar uintptr) {544+func (x *Image) UpdateRelationValue(NRelationsVar int, RelationsVar []AccessibleRelation, ValuesVar []gobject.Value) {
545 545
546 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)546 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
547 547
@@ -574,7 +574,7 @@ func (x *Image) UpdateState(FirstStateVar AccessibleState, varArgs ...interface{
574 // state change must be communicated to assistive technologies.574 // state change must be communicated to assistive technologies.
575 //575 //
576 // This function is meant to be used by language bindings.576 // This function is meant to be used by language bindings.
577-func (x *Image) UpdateStateValue(NStatesVar int, StatesVar uintptr, ValuesVar uintptr) {577+func (x *Image) UpdateStateValue(NStatesVar int, StatesVar []AccessibleState, ValuesVar []gobject.Value) {
578 578
579 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)579 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
580 580
M v4/gtk/gtkimcontextsimple.go +2 -2
@@ -99,7 +99,7 @@ func (x *IMContextSimple) AddComposeFile(ComposeFileVar string) {
99 99
100 }100 }
101 101
102-var xIMContextSimpleAddTable func(uintptr, uintptr, int, int)102+var xIMContextSimpleAddTable func(uintptr, []uint16, int, int)
103 103
104 // Adds an additional table to search to the input context.104 // Adds an additional table to search to the input context.
105 // Each row of the table consists of @max_seq_len key symbols105 // Each row of the table consists of @max_seq_len key symbols
@@ -110,7 +110,7 @@ var xIMContextSimpleAddTable func(uintptr, uintptr, int, int)
110 // The table must be sorted in dictionary order on the110 // The table must be sorted in dictionary order on the
111 // numeric value of the key symbol fields. (Values beyond111 // numeric value of the key symbol fields. (Values beyond
112 // the length of the sequence should be zero.)112 // the length of the sequence should be zero.)
113-func (x *IMContextSimple) AddTable(DataVar uintptr, MaxSeqLenVar int, NSeqsVar int) {113+func (x *IMContextSimple) AddTable(DataVar []uint16, MaxSeqLenVar int, NSeqsVar int) {
114 114
115 xIMContextSimpleAddTable(x.GoPointer(), DataVar, MaxSeqLenVar, NSeqsVar)115 xIMContextSimpleAddTable(x.GoPointer(), DataVar, MaxSeqLenVar, NSeqsVar)
116 116
M v4/gtk/gtkinfobar.go +3 -3
@@ -435,7 +435,7 @@ func (x *InfoBar) UpdateProperty(FirstPropertyVar AccessibleProperty, varArgs ..
435 // property change must be communicated to assistive technologies.435 // property change must be communicated to assistive technologies.
436 //436 //
437 // This function is meant to be used by language bindings.437 // This function is meant to be used by language bindings.
438-func (x *InfoBar) UpdatePropertyValue(NPropertiesVar int, PropertiesVar uintptr, ValuesVar uintptr) {438+func (x *InfoBar) UpdatePropertyValue(NPropertiesVar int, PropertiesVar []AccessibleProperty, ValuesVar []gobject.Value) {
439 439
440 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)440 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
441 441
@@ -471,7 +471,7 @@ func (x *InfoBar) UpdateRelation(FirstRelationVar AccessibleRelation, varArgs ..
471 // relation change must be communicated to assistive technologies.471 // relation change must be communicated to assistive technologies.
472 //472 //
473 // This function is meant to be used by language bindings.473 // This function is meant to be used by language bindings.
474-func (x *InfoBar) UpdateRelationValue(NRelationsVar int, RelationsVar uintptr, ValuesVar uintptr) {474+func (x *InfoBar) UpdateRelationValue(NRelationsVar int, RelationsVar []AccessibleRelation, ValuesVar []gobject.Value) {
475 475
476 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)476 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
477 477
@@ -504,7 +504,7 @@ func (x *InfoBar) UpdateState(FirstStateVar AccessibleState, varArgs ...interfac
504 // state change must be communicated to assistive technologies.504 // state change must be communicated to assistive technologies.
505 //505 //
506 // This function is meant to be used by language bindings.506 // This function is meant to be used by language bindings.
507-func (x *InfoBar) UpdateStateValue(NStatesVar int, StatesVar uintptr, ValuesVar uintptr) {507+func (x *InfoBar) UpdateStateValue(NStatesVar int, StatesVar []AccessibleState, ValuesVar []gobject.Value) {
508 508
509 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)509 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
510 510
M v4/gtk/gtkinscription.go +3 -3
@@ -358,7 +358,7 @@ func (x *Inscription) UpdateProperty(FirstPropertyVar AccessibleProperty, varArg
358 // property change must be communicated to assistive technologies.358 // property change must be communicated to assistive technologies.
359 //359 //
360 // This function is meant to be used by language bindings.360 // This function is meant to be used by language bindings.
361-func (x *Inscription) UpdatePropertyValue(NPropertiesVar int, PropertiesVar uintptr, ValuesVar uintptr) {361+func (x *Inscription) UpdatePropertyValue(NPropertiesVar int, PropertiesVar []AccessibleProperty, ValuesVar []gobject.Value) {
362 362
363 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)363 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
364 364
@@ -394,7 +394,7 @@ func (x *Inscription) UpdateRelation(FirstRelationVar AccessibleRelation, varArg
394 // relation change must be communicated to assistive technologies.394 // relation change must be communicated to assistive technologies.
395 //395 //
396 // This function is meant to be used by language bindings.396 // This function is meant to be used by language bindings.
397-func (x *Inscription) UpdateRelationValue(NRelationsVar int, RelationsVar uintptr, ValuesVar uintptr) {397+func (x *Inscription) UpdateRelationValue(NRelationsVar int, RelationsVar []AccessibleRelation, ValuesVar []gobject.Value) {
398 398
399 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)399 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
400 400
@@ -427,7 +427,7 @@ func (x *Inscription) UpdateState(FirstStateVar AccessibleState, varArgs ...inte
427 // state change must be communicated to assistive technologies.427 // state change must be communicated to assistive technologies.
428 //428 //
429 // This function is meant to be used by language bindings.429 // This function is meant to be used by language bindings.
430-func (x *Inscription) UpdateStateValue(NStatesVar int, StatesVar uintptr, ValuesVar uintptr) {430+func (x *Inscription) UpdateStateValue(NStatesVar int, StatesVar []AccessibleState, ValuesVar []gobject.Value) {
431 431
432 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)432 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
433 433
M v4/gtk/gtklabel.go +3 -3
@@ -1088,7 +1088,7 @@ func (x *Label) UpdateProperty(FirstPropertyVar AccessibleProperty, varArgs ...i
1088 // property change must be communicated to assistive technologies.1088 // property change must be communicated to assistive technologies.
1089 //1089 //
1090 // This function is meant to be used by language bindings.1090 // This function is meant to be used by language bindings.
1091-func (x *Label) UpdatePropertyValue(NPropertiesVar int, PropertiesVar uintptr, ValuesVar uintptr) {1091+func (x *Label) UpdatePropertyValue(NPropertiesVar int, PropertiesVar []AccessibleProperty, ValuesVar []gobject.Value) {
1092 1092
1093 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)1093 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
1094 1094
@@ -1124,7 +1124,7 @@ func (x *Label) UpdateRelation(FirstRelationVar AccessibleRelation, varArgs ...i
1124 // relation change must be communicated to assistive technologies.1124 // relation change must be communicated to assistive technologies.
1125 //1125 //
1126 // This function is meant to be used by language bindings.1126 // This function is meant to be used by language bindings.
1127-func (x *Label) UpdateRelationValue(NRelationsVar int, RelationsVar uintptr, ValuesVar uintptr) {1127+func (x *Label) UpdateRelationValue(NRelationsVar int, RelationsVar []AccessibleRelation, ValuesVar []gobject.Value) {
1128 1128
1129 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)1129 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
1130 1130
@@ -1157,7 +1157,7 @@ func (x *Label) UpdateState(FirstStateVar AccessibleState, varArgs ...interface{
1157 // state change must be communicated to assistive technologies.1157 // state change must be communicated to assistive technologies.
1158 //1158 //
1159 // This function is meant to be used by language bindings.1159 // This function is meant to be used by language bindings.
1160-func (x *Label) UpdateStateValue(NStatesVar int, StatesVar uintptr, ValuesVar uintptr) {1160+func (x *Label) UpdateStateValue(NStatesVar int, StatesVar []AccessibleState, ValuesVar []gobject.Value) {
1161 1161
1162 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)1162 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
1163 1163
M v4/gtk/gtklayoutmanager.go +3 -2
@@ -7,6 +7,7 @@ import (
7 "github.com/jwijenbergh/purego"7 "github.com/jwijenbergh/purego"
8 "github.com/jwijenbergh/puregotk/internal/core"8 "github.com/jwijenbergh/puregotk/internal/core"
9 "github.com/jwijenbergh/puregotk/v4/gobject"9 "github.com/jwijenbergh/puregotk/v4/gobject"
10+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
10 )11 )
11 12
12 // The `GtkLayoutManagerClass` structure contains only private data, and13 // The `GtkLayoutManagerClass` structure contains only private data, and
@@ -15,9 +16,9 @@ import (
15 type LayoutManagerClass struct {16 type LayoutManagerClass struct {
16 ParentClass uintptr17 ParentClass uintptr
17 18
18- LayoutChildType []interface{}19+ LayoutChildType types.GType
19 20
20- Padding uintptr21+ Padding [16]uintptr
21 }22 }
22 23
23 func (x *LayoutManagerClass) GoPointer() uintptr {24 func (x *LayoutManagerClass) GoPointer() uintptr {
M v4/gtk/gtklevelbar.go +3 -3
@@ -391,7 +391,7 @@ func (x *LevelBar) UpdateProperty(FirstPropertyVar AccessibleProperty, varArgs .
391 // property change must be communicated to assistive technologies.391 // property change must be communicated to assistive technologies.
392 //392 //
393 // This function is meant to be used by language bindings.393 // This function is meant to be used by language bindings.
394-func (x *LevelBar) UpdatePropertyValue(NPropertiesVar int, PropertiesVar uintptr, ValuesVar uintptr) {394+func (x *LevelBar) UpdatePropertyValue(NPropertiesVar int, PropertiesVar []AccessibleProperty, ValuesVar []gobject.Value) {
395 395
396 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)396 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
397 397
@@ -427,7 +427,7 @@ func (x *LevelBar) UpdateRelation(FirstRelationVar AccessibleRelation, varArgs .
427 // relation change must be communicated to assistive technologies.427 // relation change must be communicated to assistive technologies.
428 //428 //
429 // This function is meant to be used by language bindings.429 // This function is meant to be used by language bindings.
430-func (x *LevelBar) UpdateRelationValue(NRelationsVar int, RelationsVar uintptr, ValuesVar uintptr) {430+func (x *LevelBar) UpdateRelationValue(NRelationsVar int, RelationsVar []AccessibleRelation, ValuesVar []gobject.Value) {
431 431
432 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)432 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
433 433
@@ -460,7 +460,7 @@ func (x *LevelBar) UpdateState(FirstStateVar AccessibleState, varArgs ...interfa
460 // state change must be communicated to assistive technologies.460 // state change must be communicated to assistive technologies.
461 //461 //
462 // This function is meant to be used by language bindings.462 // This function is meant to be used by language bindings.
463-func (x *LevelBar) UpdateStateValue(NStatesVar int, StatesVar uintptr, ValuesVar uintptr) {463+func (x *LevelBar) UpdateStateValue(NStatesVar int, StatesVar []AccessibleState, ValuesVar []gobject.Value) {
464 464
465 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)465 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
466 466
M v4/gtk/gtklinkbutton.go +3 -3
@@ -218,7 +218,7 @@ func (x *LinkButton) UpdateProperty(FirstPropertyVar AccessibleProperty, varArgs
218 // property change must be communicated to assistive technologies.218 // property change must be communicated to assistive technologies.
219 //219 //
220 // This function is meant to be used by language bindings.220 // This function is meant to be used by language bindings.
221-func (x *LinkButton) UpdatePropertyValue(NPropertiesVar int, PropertiesVar uintptr, ValuesVar uintptr) {221+func (x *LinkButton) UpdatePropertyValue(NPropertiesVar int, PropertiesVar []AccessibleProperty, ValuesVar []gobject.Value) {
222 222
223 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)223 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
224 224
@@ -254,7 +254,7 @@ func (x *LinkButton) UpdateRelation(FirstRelationVar AccessibleRelation, varArgs
254 // relation change must be communicated to assistive technologies.254 // relation change must be communicated to assistive technologies.
255 //255 //
256 // This function is meant to be used by language bindings.256 // This function is meant to be used by language bindings.
257-func (x *LinkButton) UpdateRelationValue(NRelationsVar int, RelationsVar uintptr, ValuesVar uintptr) {257+func (x *LinkButton) UpdateRelationValue(NRelationsVar int, RelationsVar []AccessibleRelation, ValuesVar []gobject.Value) {
258 258
259 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)259 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
260 260
@@ -287,7 +287,7 @@ func (x *LinkButton) UpdateState(FirstStateVar AccessibleState, varArgs ...inter
287 // state change must be communicated to assistive technologies.287 // state change must be communicated to assistive technologies.
288 //288 //
289 // This function is meant to be used by language bindings.289 // This function is meant to be used by language bindings.
290-func (x *LinkButton) UpdateStateValue(NStatesVar int, StatesVar uintptr, ValuesVar uintptr) {290+func (x *LinkButton) UpdateStateValue(NStatesVar int, StatesVar []AccessibleState, ValuesVar []gobject.Value) {
291 291
292 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)292 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
293 293
M v4/gtk/gtklistbase.go +3 -3
@@ -91,7 +91,7 @@ func (x *ListBase) UpdateProperty(FirstPropertyVar AccessibleProperty, varArgs .
91 // property change must be communicated to assistive technologies.91 // property change must be communicated to assistive technologies.
92 //92 //
93 // This function is meant to be used by language bindings.93 // This function is meant to be used by language bindings.
94-func (x *ListBase) UpdatePropertyValue(NPropertiesVar int, PropertiesVar uintptr, ValuesVar uintptr) {94+func (x *ListBase) UpdatePropertyValue(NPropertiesVar int, PropertiesVar []AccessibleProperty, ValuesVar []gobject.Value) {
95 95
96 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)96 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
97 97
@@ -127,7 +127,7 @@ func (x *ListBase) UpdateRelation(FirstRelationVar AccessibleRelation, varArgs .
127 // relation change must be communicated to assistive technologies.127 // relation change must be communicated to assistive technologies.
128 //128 //
129 // This function is meant to be used by language bindings.129 // This function is meant to be used by language bindings.
130-func (x *ListBase) UpdateRelationValue(NRelationsVar int, RelationsVar uintptr, ValuesVar uintptr) {130+func (x *ListBase) UpdateRelationValue(NRelationsVar int, RelationsVar []AccessibleRelation, ValuesVar []gobject.Value) {
131 131
132 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)132 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
133 133
@@ -160,7 +160,7 @@ func (x *ListBase) UpdateState(FirstStateVar AccessibleState, varArgs ...interfa
160 // state change must be communicated to assistive technologies.160 // state change must be communicated to assistive technologies.
161 //161 //
162 // This function is meant to be used by language bindings.162 // This function is meant to be used by language bindings.
163-func (x *ListBase) UpdateStateValue(NStatesVar int, StatesVar uintptr, ValuesVar uintptr) {163+func (x *ListBase) UpdateStateValue(NStatesVar int, StatesVar []AccessibleState, ValuesVar []gobject.Value) {
164 164
165 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)165 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
166 166
M v4/gtk/gtklistbox.go +7 -7
@@ -40,7 +40,7 @@ type ListBoxUpdateHeaderFunc func(uintptr, uintptr, uintptr)
40 type ListBoxRowClass struct {40 type ListBoxRowClass struct {
41 ParentClass uintptr41 ParentClass uintptr
42 42
43- Padding uintptr43+ Padding [8]uintptr
44 }44 }
45 45
46 func (x *ListBoxRowClass) GoPointer() uintptr {46 func (x *ListBoxRowClass) GoPointer() uintptr {
@@ -793,7 +793,7 @@ func (x *ListBox) UpdateProperty(FirstPropertyVar AccessibleProperty, varArgs ..
793 // property change must be communicated to assistive technologies.793 // property change must be communicated to assistive technologies.
794 //794 //
795 // This function is meant to be used by language bindings.795 // This function is meant to be used by language bindings.
796-func (x *ListBox) UpdatePropertyValue(NPropertiesVar int, PropertiesVar uintptr, ValuesVar uintptr) {796+func (x *ListBox) UpdatePropertyValue(NPropertiesVar int, PropertiesVar []AccessibleProperty, ValuesVar []gobject.Value) {
797 797
798 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)798 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
799 799
@@ -829,7 +829,7 @@ func (x *ListBox) UpdateRelation(FirstRelationVar AccessibleRelation, varArgs ..
829 // relation change must be communicated to assistive technologies.829 // relation change must be communicated to assistive technologies.
830 //830 //
831 // This function is meant to be used by language bindings.831 // This function is meant to be used by language bindings.
832-func (x *ListBox) UpdateRelationValue(NRelationsVar int, RelationsVar uintptr, ValuesVar uintptr) {832+func (x *ListBox) UpdateRelationValue(NRelationsVar int, RelationsVar []AccessibleRelation, ValuesVar []gobject.Value) {
833 833
834 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)834 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
835 835
@@ -862,7 +862,7 @@ func (x *ListBox) UpdateState(FirstStateVar AccessibleState, varArgs ...interfac
862 // state change must be communicated to assistive technologies.862 // state change must be communicated to assistive technologies.
863 //863 //
864 // This function is meant to be used by language bindings.864 // This function is meant to be used by language bindings.
865-func (x *ListBox) UpdateStateValue(NStatesVar int, StatesVar uintptr, ValuesVar uintptr) {865+func (x *ListBox) UpdateStateValue(NStatesVar int, StatesVar []AccessibleState, ValuesVar []gobject.Value) {
866 866
867 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)867 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
868 868
@@ -1139,7 +1139,7 @@ func (x *ListBoxRow) UpdateProperty(FirstPropertyVar AccessibleProperty, varArgs
1139 // property change must be communicated to assistive technologies.1139 // property change must be communicated to assistive technologies.
1140 //1140 //
1141 // This function is meant to be used by language bindings.1141 // This function is meant to be used by language bindings.
1142-func (x *ListBoxRow) UpdatePropertyValue(NPropertiesVar int, PropertiesVar uintptr, ValuesVar uintptr) {1142+func (x *ListBoxRow) UpdatePropertyValue(NPropertiesVar int, PropertiesVar []AccessibleProperty, ValuesVar []gobject.Value) {
1143 1143
1144 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)1144 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
1145 1145
@@ -1175,7 +1175,7 @@ func (x *ListBoxRow) UpdateRelation(FirstRelationVar AccessibleRelation, varArgs
1175 // relation change must be communicated to assistive technologies.1175 // relation change must be communicated to assistive technologies.
1176 //1176 //
1177 // This function is meant to be used by language bindings.1177 // This function is meant to be used by language bindings.
1178-func (x *ListBoxRow) UpdateRelationValue(NRelationsVar int, RelationsVar uintptr, ValuesVar uintptr) {1178+func (x *ListBoxRow) UpdateRelationValue(NRelationsVar int, RelationsVar []AccessibleRelation, ValuesVar []gobject.Value) {
1179 1179
1180 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)1180 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
1181 1181
@@ -1208,7 +1208,7 @@ func (x *ListBoxRow) UpdateState(FirstStateVar AccessibleState, varArgs ...inter
1208 // state change must be communicated to assistive technologies.1208 // state change must be communicated to assistive technologies.
1209 //1209 //
1210 // This function is meant to be used by language bindings.1210 // This function is meant to be used by language bindings.
1211-func (x *ListBoxRow) UpdateStateValue(NStatesVar int, StatesVar uintptr, ValuesVar uintptr) {1211+func (x *ListBoxRow) UpdateStateValue(NStatesVar int, StatesVar []AccessibleState, ValuesVar []gobject.Value) {
1212 1212
1213 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)1213 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
1214 1214
M v4/gtk/gtkliststore.go +14 -13
@@ -9,12 +9,13 @@ import (
9 "github.com/jwijenbergh/puregotk/v4/gdk"9 "github.com/jwijenbergh/puregotk/v4/gdk"
10 "github.com/jwijenbergh/puregotk/v4/glib"10 "github.com/jwijenbergh/puregotk/v4/glib"
11 "github.com/jwijenbergh/puregotk/v4/gobject"11 "github.com/jwijenbergh/puregotk/v4/gobject"
12+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
12 )13 )
13 14
14 type ListStoreClass struct {15 type ListStoreClass struct {
15 ParentClass uintptr16 ParentClass uintptr
16 17
17- Padding uintptr18+ Padding [8]uintptr
18 }19 }
19 20
20 func (x *ListStoreClass) GoPointer() uintptr {21 func (x *ListStoreClass) GoPointer() uintptr {
@@ -203,10 +204,10 @@ func NewListStore(NColumnsVar int, varArgs ...interface{}) *ListStore {
203 return cls204 return cls
204 }205 }
205 206
206-var xNewListStorev func(int, uintptr) uintptr207+var xNewListStorev func(int, []types.GType) uintptr
207 208
208 // Non-vararg creation function. Used primarily by language bindings.209 // Non-vararg creation function. Used primarily by language bindings.
209-func NewListStorev(NColumnsVar int, TypesVar uintptr) *ListStore {210+func NewListStorev(NColumnsVar int, TypesVar []types.GType) *ListStore {
210 var cls *ListStore211 var cls *ListStore
211 212
212 cret := xNewListStorev(NColumnsVar, TypesVar)213 cret := xNewListStorev(NColumnsVar, TypesVar)
@@ -318,14 +319,14 @@ func (x *ListStore) InsertWithValues(IterVar *TreeIter, PositionVar int, varArgs
318 319
319 }320 }
320 321
321-var xListStoreInsertWithValuesv func(uintptr, *TreeIter, int, uintptr, uintptr, int)322+var xListStoreInsertWithValuesv func(uintptr, *TreeIter, int, []int, []gobject.Value, int)
322 323
323 // A variant of gtk_list_store_insert_with_values() which324 // A variant of gtk_list_store_insert_with_values() which
324 // takes the columns and values as two arrays, instead of325 // takes the columns and values as two arrays, instead of
325 // varargs.326 // varargs.
326 //327 //
327 // This function is mainly intended for language-bindings.328 // This function is mainly intended for language-bindings.
328-func (x *ListStore) InsertWithValuesv(IterVar *TreeIter, PositionVar int, ColumnsVar uintptr, ValuesVar uintptr, NValuesVar int) {329+func (x *ListStore) InsertWithValuesv(IterVar *TreeIter, PositionVar int, ColumnsVar []int, ValuesVar []gobject.Value, NValuesVar int) {
329 330
330 xListStoreInsertWithValuesv(x.GoPointer(), IterVar, PositionVar, ColumnsVar, ValuesVar, NValuesVar)331 xListStoreInsertWithValuesv(x.GoPointer(), IterVar, PositionVar, ColumnsVar, ValuesVar, NValuesVar)
331 332
@@ -387,11 +388,11 @@ func (x *ListStore) Remove(IterVar *TreeIter) bool {
387 return cret388 return cret
388 }389 }
389 390
390-var xListStoreReorder func(uintptr, uintptr)391+var xListStoreReorder func(uintptr, []int)
391 392
392 // Reorders @store to follow the order indicated by @new_order. Note that393 // Reorders @store to follow the order indicated by @new_order. Note that
393 // this function only works with unsorted stores.394 // this function only works with unsorted stores.
394-func (x *ListStore) Reorder(NewOrderVar uintptr) {395+func (x *ListStore) Reorder(NewOrderVar []int) {
395 396
396 xListStoreReorder(x.GoPointer(), NewOrderVar)397 xListStoreReorder(x.GoPointer(), NewOrderVar)
397 398
@@ -414,13 +415,13 @@ func (x *ListStore) Set(IterVar *TreeIter, varArgs ...interface{}) {
414 415
415 }416 }
416 417
417-var xListStoreSetColumnTypes func(uintptr, int, uintptr)418+var xListStoreSetColumnTypes func(uintptr, int, []types.GType)
418 419
419 // This function is meant primarily for `GObject`s that inherit from `GtkListStore`,420 // This function is meant primarily for `GObject`s that inherit from `GtkListStore`,
420 // and should only be used when constructing a new `GtkListStore`. It will not421 // and should only be used when constructing a new `GtkListStore`. It will not
421 // function after a row has been added, or a method on the `GtkTreeModel`422 // function after a row has been added, or a method on the `GtkTreeModel`
422 // interface is called.423 // interface is called.
423-func (x *ListStore) SetColumnTypes(NColumnsVar int, TypesVar uintptr) {424+func (x *ListStore) SetColumnTypes(NColumnsVar int, TypesVar []types.GType) {
424 425
425 xListStoreSetColumnTypes(x.GoPointer(), NColumnsVar, TypesVar)426 xListStoreSetColumnTypes(x.GoPointer(), NColumnsVar, TypesVar)
426 427
@@ -447,14 +448,14 @@ func (x *ListStore) SetValue(IterVar *TreeIter, ColumnVar int, ValueVar *gobject
447 448
448 }449 }
449 450
450-var xListStoreSetValuesv func(uintptr, *TreeIter, uintptr, uintptr, int)451+var xListStoreSetValuesv func(uintptr, *TreeIter, []int, []gobject.Value, int)
451 452
452 // A variant of gtk_list_store_set_valist() which453 // A variant of gtk_list_store_set_valist() which
453 // takes the columns and values as two arrays, instead of454 // takes the columns and values as two arrays, instead of
454 // varargs. This function is mainly intended for455 // varargs. This function is mainly intended for
455 // language-bindings and in case the number of columns to456 // language-bindings and in case the number of columns to
456 // change is not known until run-time.457 // change is not known until run-time.
457-func (x *ListStore) SetValuesv(IterVar *TreeIter, ColumnsVar uintptr, ValuesVar uintptr, NValuesVar int) {458+func (x *ListStore) SetValuesv(IterVar *TreeIter, ColumnsVar []int, ValuesVar []gobject.Value, NValuesVar int) {
458 459
459 xListStoreSetValuesv(x.GoPointer(), IterVar, ColumnsVar, ValuesVar, NValuesVar)460 xListStoreSetValuesv(x.GoPointer(), IterVar, ColumnsVar, ValuesVar, NValuesVar)
460 461
@@ -592,7 +593,7 @@ func (x *ListStore) Get(IterVar *TreeIter, varArgs ...interface{}) {
592 }593 }
593 594
594 // Returns the type of the column.595 // Returns the type of the column.
595-func (x *ListStore) GetColumnType(IndexVar int) []interface{} {596+func (x *ListStore) GetColumnType(IndexVar int) types.GType {
596 597
597 cret := XGtkTreeModelGetColumnType(x.GoPointer(), IndexVar)598 cret := XGtkTreeModelGetColumnType(x.GoPointer(), IndexVar)
598 return cret599 return cret
@@ -852,7 +853,7 @@ func (x *ListStore) RowsReordered(PathVar *TreePath, IterVar *TreeIter, NewOrder
852 //853 //
853 // This should be called by models when their rows have been854 // This should be called by models when their rows have been
854 // reordered.855 // reordered.
855-func (x *ListStore) RowsReorderedWithLength(PathVar *TreePath, IterVar *TreeIter, NewOrderVar uintptr, LengthVar int) {856+func (x *ListStore) RowsReorderedWithLength(PathVar *TreePath, IterVar *TreeIter, NewOrderVar []int, LengthVar int) {
856 857
857 XGtkTreeModelRowsReorderedWithLength(x.GoPointer(), PathVar, IterVar, NewOrderVar, LengthVar)858 XGtkTreeModelRowsReorderedWithLength(x.GoPointer(), PathVar, IterVar, NewOrderVar, LengthVar)
858 859
M v4/gtk/gtklistview.go +3 -3
@@ -361,7 +361,7 @@ func (x *ListView) UpdateProperty(FirstPropertyVar AccessibleProperty, varArgs .
361 // property change must be communicated to assistive technologies.361 // property change must be communicated to assistive technologies.
362 //362 //
363 // This function is meant to be used by language bindings.363 // This function is meant to be used by language bindings.
364-func (x *ListView) UpdatePropertyValue(NPropertiesVar int, PropertiesVar uintptr, ValuesVar uintptr) {364+func (x *ListView) UpdatePropertyValue(NPropertiesVar int, PropertiesVar []AccessibleProperty, ValuesVar []gobject.Value) {
365 365
366 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)366 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
367 367
@@ -397,7 +397,7 @@ func (x *ListView) UpdateRelation(FirstRelationVar AccessibleRelation, varArgs .
397 // relation change must be communicated to assistive technologies.397 // relation change must be communicated to assistive technologies.
398 //398 //
399 // This function is meant to be used by language bindings.399 // This function is meant to be used by language bindings.
400-func (x *ListView) UpdateRelationValue(NRelationsVar int, RelationsVar uintptr, ValuesVar uintptr) {400+func (x *ListView) UpdateRelationValue(NRelationsVar int, RelationsVar []AccessibleRelation, ValuesVar []gobject.Value) {
401 401
402 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)402 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
403 403
@@ -430,7 +430,7 @@ func (x *ListView) UpdateState(FirstStateVar AccessibleState, varArgs ...interfa
430 // state change must be communicated to assistive technologies.430 // state change must be communicated to assistive technologies.
431 //431 //
432 // This function is meant to be used by language bindings.432 // This function is meant to be used by language bindings.
433-func (x *ListView) UpdateStateValue(NStatesVar int, StatesVar uintptr, ValuesVar uintptr) {433+func (x *ListView) UpdateStateValue(NStatesVar int, StatesVar []AccessibleState, ValuesVar []gobject.Value) {
434 434
435 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)435 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
436 436
M v4/gtk/gtklockbutton.go +3 -3
@@ -165,7 +165,7 @@ func (x *LockButton) UpdateProperty(FirstPropertyVar AccessibleProperty, varArgs
165 // property change must be communicated to assistive technologies.165 // property change must be communicated to assistive technologies.
166 //166 //
167 // This function is meant to be used by language bindings.167 // This function is meant to be used by language bindings.
168-func (x *LockButton) UpdatePropertyValue(NPropertiesVar int, PropertiesVar uintptr, ValuesVar uintptr) {168+func (x *LockButton) UpdatePropertyValue(NPropertiesVar int, PropertiesVar []AccessibleProperty, ValuesVar []gobject.Value) {
169 169
170 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)170 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
171 171
@@ -201,7 +201,7 @@ func (x *LockButton) UpdateRelation(FirstRelationVar AccessibleRelation, varArgs
201 // relation change must be communicated to assistive technologies.201 // relation change must be communicated to assistive technologies.
202 //202 //
203 // This function is meant to be used by language bindings.203 // This function is meant to be used by language bindings.
204-func (x *LockButton) UpdateRelationValue(NRelationsVar int, RelationsVar uintptr, ValuesVar uintptr) {204+func (x *LockButton) UpdateRelationValue(NRelationsVar int, RelationsVar []AccessibleRelation, ValuesVar []gobject.Value) {
205 205
206 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)206 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
207 207
@@ -234,7 +234,7 @@ func (x *LockButton) UpdateState(FirstStateVar AccessibleState, varArgs ...inter
234 // state change must be communicated to assistive technologies.234 // state change must be communicated to assistive technologies.
235 //235 //
236 // This function is meant to be used by language bindings.236 // This function is meant to be used by language bindings.
237-func (x *LockButton) UpdateStateValue(NStatesVar int, StatesVar uintptr, ValuesVar uintptr) {237+func (x *LockButton) UpdateStateValue(NStatesVar int, StatesVar []AccessibleState, ValuesVar []gobject.Value) {
238 238
239 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)239 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
240 240
M v4/gtk/gtkmaplistmodel.go +2 -1
@@ -9,6 +9,7 @@ import (
9 "github.com/jwijenbergh/puregotk/v4/gio"9 "github.com/jwijenbergh/puregotk/v4/gio"
10 "github.com/jwijenbergh/puregotk/v4/glib"10 "github.com/jwijenbergh/puregotk/v4/glib"
11 "github.com/jwijenbergh/puregotk/v4/gobject"11 "github.com/jwijenbergh/puregotk/v4/gobject"
12+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
12 )13 )
13 14
14 // User function that is called to map an @item of the original model to15 // User function that is called to map an @item of the original model to
@@ -173,7 +174,7 @@ func (x *MapListModel) GetItem(PositionVar uint) uintptr {
173 //174 //
174 // The item type of a #GListModel can not change during the life of the175 // The item type of a #GListModel can not change during the life of the
175 // model.176 // model.
176-func (x *MapListModel) GetItemType() []interface{} {177+func (x *MapListModel) GetItemType() types.GType {
177 178
178 cret := gio.XGListModelGetItemType(x.GoPointer())179 cret := gio.XGListModelGetItemType(x.GoPointer())
179 return cret180 return cret
M v4/gtk/gtkmediacontrols.go +3 -3
@@ -141,7 +141,7 @@ func (x *MediaControls) UpdateProperty(FirstPropertyVar AccessibleProperty, varA
141 // property change must be communicated to assistive technologies.141 // property change must be communicated to assistive technologies.
142 //142 //
143 // This function is meant to be used by language bindings.143 // This function is meant to be used by language bindings.
144-func (x *MediaControls) UpdatePropertyValue(NPropertiesVar int, PropertiesVar uintptr, ValuesVar uintptr) {144+func (x *MediaControls) UpdatePropertyValue(NPropertiesVar int, PropertiesVar []AccessibleProperty, ValuesVar []gobject.Value) {
145 145
146 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)146 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
147 147
@@ -177,7 +177,7 @@ func (x *MediaControls) UpdateRelation(FirstRelationVar AccessibleRelation, varA
177 // relation change must be communicated to assistive technologies.177 // relation change must be communicated to assistive technologies.
178 //178 //
179 // This function is meant to be used by language bindings.179 // This function is meant to be used by language bindings.
180-func (x *MediaControls) UpdateRelationValue(NRelationsVar int, RelationsVar uintptr, ValuesVar uintptr) {180+func (x *MediaControls) UpdateRelationValue(NRelationsVar int, RelationsVar []AccessibleRelation, ValuesVar []gobject.Value) {
181 181
182 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)182 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
183 183
@@ -210,7 +210,7 @@ func (x *MediaControls) UpdateState(FirstStateVar AccessibleState, varArgs ...in
210 // state change must be communicated to assistive technologies.210 // state change must be communicated to assistive technologies.
211 //211 //
212 // This function is meant to be used by language bindings.212 // This function is meant to be used by language bindings.
213-func (x *MediaControls) UpdateStateValue(NStatesVar int, StatesVar uintptr, ValuesVar uintptr) {213+func (x *MediaControls) UpdateStateValue(NStatesVar int, StatesVar []AccessibleState, ValuesVar []gobject.Value) {
214 214
215 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)215 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
216 216
M v4/gtk/gtkmenubutton.go +3 -3
@@ -495,7 +495,7 @@ func (x *MenuButton) UpdateProperty(FirstPropertyVar AccessibleProperty, varArgs
495 // property change must be communicated to assistive technologies.495 // property change must be communicated to assistive technologies.
496 //496 //
497 // This function is meant to be used by language bindings.497 // This function is meant to be used by language bindings.
498-func (x *MenuButton) UpdatePropertyValue(NPropertiesVar int, PropertiesVar uintptr, ValuesVar uintptr) {498+func (x *MenuButton) UpdatePropertyValue(NPropertiesVar int, PropertiesVar []AccessibleProperty, ValuesVar []gobject.Value) {
499 499
500 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)500 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
501 501
@@ -531,7 +531,7 @@ func (x *MenuButton) UpdateRelation(FirstRelationVar AccessibleRelation, varArgs
531 // relation change must be communicated to assistive technologies.531 // relation change must be communicated to assistive technologies.
532 //532 //
533 // This function is meant to be used by language bindings.533 // This function is meant to be used by language bindings.
534-func (x *MenuButton) UpdateRelationValue(NRelationsVar int, RelationsVar uintptr, ValuesVar uintptr) {534+func (x *MenuButton) UpdateRelationValue(NRelationsVar int, RelationsVar []AccessibleRelation, ValuesVar []gobject.Value) {
535 535
536 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)536 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
537 537
@@ -564,7 +564,7 @@ func (x *MenuButton) UpdateState(FirstStateVar AccessibleState, varArgs ...inter
564 // state change must be communicated to assistive technologies.564 // state change must be communicated to assistive technologies.
565 //565 //
566 // This function is meant to be used by language bindings.566 // This function is meant to be used by language bindings.
567-func (x *MenuButton) UpdateStateValue(NStatesVar int, StatesVar uintptr, ValuesVar uintptr) {567+func (x *MenuButton) UpdateStateValue(NStatesVar int, StatesVar []AccessibleState, ValuesVar []gobject.Value) {
568 568
569 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)569 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
570 570
M v4/gtk/gtkmessagedialog.go +3 -3
@@ -320,7 +320,7 @@ func (x *MessageDialog) UpdateProperty(FirstPropertyVar AccessibleProperty, varA
320 // property change must be communicated to assistive technologies.320 // property change must be communicated to assistive technologies.
321 //321 //
322 // This function is meant to be used by language bindings.322 // This function is meant to be used by language bindings.
323-func (x *MessageDialog) UpdatePropertyValue(NPropertiesVar int, PropertiesVar uintptr, ValuesVar uintptr) {323+func (x *MessageDialog) UpdatePropertyValue(NPropertiesVar int, PropertiesVar []AccessibleProperty, ValuesVar []gobject.Value) {
324 324
325 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)325 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
326 326
@@ -356,7 +356,7 @@ func (x *MessageDialog) UpdateRelation(FirstRelationVar AccessibleRelation, varA
356 // relation change must be communicated to assistive technologies.356 // relation change must be communicated to assistive technologies.
357 //357 //
358 // This function is meant to be used by language bindings.358 // This function is meant to be used by language bindings.
359-func (x *MessageDialog) UpdateRelationValue(NRelationsVar int, RelationsVar uintptr, ValuesVar uintptr) {359+func (x *MessageDialog) UpdateRelationValue(NRelationsVar int, RelationsVar []AccessibleRelation, ValuesVar []gobject.Value) {
360 360
361 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)361 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
362 362
@@ -389,7 +389,7 @@ func (x *MessageDialog) UpdateState(FirstStateVar AccessibleState, varArgs ...in
389 // state change must be communicated to assistive technologies.389 // state change must be communicated to assistive technologies.
390 //390 //
391 // This function is meant to be used by language bindings.391 // This function is meant to be used by language bindings.
392-func (x *MessageDialog) UpdateStateValue(NStatesVar int, StatesVar uintptr, ValuesVar uintptr) {392+func (x *MessageDialog) UpdateStateValue(NStatesVar int, StatesVar []AccessibleState, ValuesVar []gobject.Value) {
393 393
394 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)394 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
395 395
M v4/gtk/gtkmultifilter.go +4 -3
@@ -8,6 +8,7 @@ import (
8 "github.com/jwijenbergh/puregotk/internal/core"8 "github.com/jwijenbergh/puregotk/internal/core"
9 "github.com/jwijenbergh/puregotk/v4/gio"9 "github.com/jwijenbergh/puregotk/v4/gio"
10 "github.com/jwijenbergh/puregotk/v4/gobject"10 "github.com/jwijenbergh/puregotk/v4/gobject"
11+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
11 )12 )
12 13
13 type AnyFilterClass struct {14 type AnyFilterClass struct {
@@ -97,7 +98,7 @@ func (x *AnyFilter) GetItem(PositionVar uint) uintptr {
97 //98 //
98 // The item type of a #GListModel can not change during the life of the99 // The item type of a #GListModel can not change during the life of the
99 // model.100 // model.
100-func (x *AnyFilter) GetItemType() []interface{} {101+func (x *AnyFilter) GetItemType() types.GType {
101 102
102 cret := gio.XGListModelGetItemType(x.GoPointer())103 cret := gio.XGListModelGetItemType(x.GoPointer())
103 return cret104 return cret
@@ -241,7 +242,7 @@ func (x *EveryFilter) GetItem(PositionVar uint) uintptr {
241 //242 //
242 // The item type of a #GListModel can not change during the life of the243 // The item type of a #GListModel can not change during the life of the
243 // model.244 // model.
244-func (x *EveryFilter) GetItemType() []interface{} {245+func (x *EveryFilter) GetItemType() types.GType {
245 246
246 cret := gio.XGListModelGetItemType(x.GoPointer())247 cret := gio.XGListModelGetItemType(x.GoPointer())
247 return cret248 return cret
@@ -383,7 +384,7 @@ func (x *MultiFilter) GetItem(PositionVar uint) uintptr {
383 //384 //
384 // The item type of a #GListModel can not change during the life of the385 // The item type of a #GListModel can not change during the life of the
385 // model.386 // model.
386-func (x *MultiFilter) GetItemType() []interface{} {387+func (x *MultiFilter) GetItemType() types.GType {
387 388
388 cret := gio.XGListModelGetItemType(x.GoPointer())389 cret := gio.XGListModelGetItemType(x.GoPointer())
389 return cret390 return cret
M v4/gtk/gtkmultiselection.go +2 -1
@@ -8,6 +8,7 @@ import (
8 "github.com/jwijenbergh/puregotk/internal/core"8 "github.com/jwijenbergh/puregotk/internal/core"
9 "github.com/jwijenbergh/puregotk/v4/gio"9 "github.com/jwijenbergh/puregotk/v4/gio"
10 "github.com/jwijenbergh/puregotk/v4/gobject"10 "github.com/jwijenbergh/puregotk/v4/gobject"
11+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
11 )12 )
12 13
13 type MultiSelectionClass struct {14 type MultiSelectionClass struct {
@@ -105,7 +106,7 @@ func (x *MultiSelection) GetItem(PositionVar uint) uintptr {
105 //106 //
106 // The item type of a #GListModel can not change during the life of the107 // The item type of a #GListModel can not change during the life of the
107 // model.108 // model.
108-func (x *MultiSelection) GetItemType() []interface{} {109+func (x *MultiSelection) GetItemType() types.GType {
109 110
110 cret := gio.XGListModelGetItemType(x.GoPointer())111 cret := gio.XGListModelGetItemType(x.GoPointer())
111 return cret112 return cret
M v4/gtk/gtkmultisorter.go +2 -1
@@ -8,6 +8,7 @@ import (
8 "github.com/jwijenbergh/puregotk/internal/core"8 "github.com/jwijenbergh/puregotk/internal/core"
9 "github.com/jwijenbergh/puregotk/v4/gio"9 "github.com/jwijenbergh/puregotk/v4/gio"
10 "github.com/jwijenbergh/puregotk/v4/gobject"10 "github.com/jwijenbergh/puregotk/v4/gobject"
11+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
11 )12 )
12 13
13 type MultiSorterClass struct {14 type MultiSorterClass struct {
@@ -109,7 +110,7 @@ func (x *MultiSorter) GetItem(PositionVar uint) uintptr {
109 //110 //
110 // The item type of a #GListModel can not change during the life of the111 // The item type of a #GListModel can not change during the life of the
111 // model.112 // model.
112-func (x *MultiSorter) GetItemType() []interface{} {113+func (x *MultiSorter) GetItemType() types.GType {
113 114
114 cret := gio.XGListModelGetItemType(x.GoPointer())115 cret := gio.XGListModelGetItemType(x.GoPointer())
115 return cret116 return cret
M v4/gtk/gtknoselection.go +2 -1
@@ -8,6 +8,7 @@ import (
8 "github.com/jwijenbergh/puregotk/internal/core"8 "github.com/jwijenbergh/puregotk/internal/core"
9 "github.com/jwijenbergh/puregotk/v4/gio"9 "github.com/jwijenbergh/puregotk/v4/gio"
10 "github.com/jwijenbergh/puregotk/v4/gobject"10 "github.com/jwijenbergh/puregotk/v4/gobject"
11+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
11 )12 )
12 13
13 type NoSelectionClass struct {14 type NoSelectionClass struct {
@@ -108,7 +109,7 @@ func (x *NoSelection) GetItem(PositionVar uint) uintptr {
108 //109 //
109 // The item type of a #GListModel can not change during the life of the110 // The item type of a #GListModel can not change during the life of the
110 // model.111 // model.
111-func (x *NoSelection) GetItemType() []interface{} {112+func (x *NoSelection) GetItemType() types.GType {
112 113
113 cret := gio.XGListModelGetItemType(x.GoPointer())114 cret := gio.XGListModelGetItemType(x.GoPointer())
114 return cret115 return cret
M v4/gtk/gtknotebook.go +3 -3
@@ -959,7 +959,7 @@ func (x *Notebook) UpdateProperty(FirstPropertyVar AccessibleProperty, varArgs .
959 // property change must be communicated to assistive technologies.959 // property change must be communicated to assistive technologies.
960 //960 //
961 // This function is meant to be used by language bindings.961 // This function is meant to be used by language bindings.
962-func (x *Notebook) UpdatePropertyValue(NPropertiesVar int, PropertiesVar uintptr, ValuesVar uintptr) {962+func (x *Notebook) UpdatePropertyValue(NPropertiesVar int, PropertiesVar []AccessibleProperty, ValuesVar []gobject.Value) {
963 963
964 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)964 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
965 965
@@ -995,7 +995,7 @@ func (x *Notebook) UpdateRelation(FirstRelationVar AccessibleRelation, varArgs .
995 // relation change must be communicated to assistive technologies.995 // relation change must be communicated to assistive technologies.
996 //996 //
997 // This function is meant to be used by language bindings.997 // This function is meant to be used by language bindings.
998-func (x *Notebook) UpdateRelationValue(NRelationsVar int, RelationsVar uintptr, ValuesVar uintptr) {998+func (x *Notebook) UpdateRelationValue(NRelationsVar int, RelationsVar []AccessibleRelation, ValuesVar []gobject.Value) {
999 999
1000 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)1000 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
1001 1001
@@ -1028,7 +1028,7 @@ func (x *Notebook) UpdateState(FirstStateVar AccessibleState, varArgs ...interfa
1028 // state change must be communicated to assistive technologies.1028 // state change must be communicated to assistive technologies.
1029 //1029 //
1030 // This function is meant to be used by language bindings.1030 // This function is meant to be used by language bindings.
1031-func (x *Notebook) UpdateStateValue(NStatesVar int, StatesVar uintptr, ValuesVar uintptr) {1031+func (x *Notebook) UpdateStateValue(NStatesVar int, StatesVar []AccessibleState, ValuesVar []gobject.Value) {
1032 1032
1033 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)1033 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
1034 1034
M v4/gtk/gtkoverlay.go +3 -3
@@ -260,7 +260,7 @@ func (x *Overlay) UpdateProperty(FirstPropertyVar AccessibleProperty, varArgs ..
260 // property change must be communicated to assistive technologies.260 // property change must be communicated to assistive technologies.
261 //261 //
262 // This function is meant to be used by language bindings.262 // This function is meant to be used by language bindings.
263-func (x *Overlay) UpdatePropertyValue(NPropertiesVar int, PropertiesVar uintptr, ValuesVar uintptr) {263+func (x *Overlay) UpdatePropertyValue(NPropertiesVar int, PropertiesVar []AccessibleProperty, ValuesVar []gobject.Value) {
264 264
265 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)265 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
266 266
@@ -296,7 +296,7 @@ func (x *Overlay) UpdateRelation(FirstRelationVar AccessibleRelation, varArgs ..
296 // relation change must be communicated to assistive technologies.296 // relation change must be communicated to assistive technologies.
297 //297 //
298 // This function is meant to be used by language bindings.298 // This function is meant to be used by language bindings.
299-func (x *Overlay) UpdateRelationValue(NRelationsVar int, RelationsVar uintptr, ValuesVar uintptr) {299+func (x *Overlay) UpdateRelationValue(NRelationsVar int, RelationsVar []AccessibleRelation, ValuesVar []gobject.Value) {
300 300
301 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)301 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
302 302
@@ -329,7 +329,7 @@ func (x *Overlay) UpdateState(FirstStateVar AccessibleState, varArgs ...interfac
329 // state change must be communicated to assistive technologies.329 // state change must be communicated to assistive technologies.
330 //330 //
331 // This function is meant to be used by language bindings.331 // This function is meant to be used by language bindings.
332-func (x *Overlay) UpdateStateValue(NStatesVar int, StatesVar uintptr, ValuesVar uintptr) {332+func (x *Overlay) UpdateStateValue(NStatesVar int, StatesVar []AccessibleState, ValuesVar []gobject.Value) {
333 333
334 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)334 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
335 335
M v4/gtk/gtkpadcontroller.go +2 -2
@@ -151,13 +151,13 @@ func (x *PadController) SetAction(TypeVar PadActionType, IndexVar int, ModeVar i
151 151
152 }152 }
153 153
154-var xPadControllerSetActionEntries func(uintptr, uintptr, int)154+var xPadControllerSetActionEntries func(uintptr, []PadActionEntry, int)
155 155
156 // A convenience function to add a group of action entries on156 // A convenience function to add a group of action entries on
157 // @controller.157 // @controller.
158 //158 //
159 // See [struct@Gtk.PadActionEntry] and [method@Gtk.PadController.set_action].159 // See [struct@Gtk.PadActionEntry] and [method@Gtk.PadController.set_action].
160-func (x *PadController) SetActionEntries(EntriesVar uintptr, NEntriesVar int) {160+func (x *PadController) SetActionEntries(EntriesVar []PadActionEntry, NEntriesVar int) {
161 161
162 xPadControllerSetActionEntries(x.GoPointer(), EntriesVar, NEntriesVar)162 xPadControllerSetActionEntries(x.GoPointer(), EntriesVar, NEntriesVar)
163 163
M v4/gtk/gtkpagesetupunixdialog.go +3 -3
@@ -164,7 +164,7 @@ func (x *PageSetupUnixDialog) UpdateProperty(FirstPropertyVar AccessibleProperty
164 // property change must be communicated to assistive technologies.164 // property change must be communicated to assistive technologies.
165 //165 //
166 // This function is meant to be used by language bindings.166 // This function is meant to be used by language bindings.
167-func (x *PageSetupUnixDialog) UpdatePropertyValue(NPropertiesVar int, PropertiesVar uintptr, ValuesVar uintptr) {167+func (x *PageSetupUnixDialog) UpdatePropertyValue(NPropertiesVar int, PropertiesVar []AccessibleProperty, ValuesVar []gobject.Value) {
168 168
169 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)169 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
170 170
@@ -200,7 +200,7 @@ func (x *PageSetupUnixDialog) UpdateRelation(FirstRelationVar AccessibleRelation
200 // relation change must be communicated to assistive technologies.200 // relation change must be communicated to assistive technologies.
201 //201 //
202 // This function is meant to be used by language bindings.202 // This function is meant to be used by language bindings.
203-func (x *PageSetupUnixDialog) UpdateRelationValue(NRelationsVar int, RelationsVar uintptr, ValuesVar uintptr) {203+func (x *PageSetupUnixDialog) UpdateRelationValue(NRelationsVar int, RelationsVar []AccessibleRelation, ValuesVar []gobject.Value) {
204 204
205 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)205 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
206 206
@@ -233,7 +233,7 @@ func (x *PageSetupUnixDialog) UpdateState(FirstStateVar AccessibleState, varArgs
233 // state change must be communicated to assistive technologies.233 // state change must be communicated to assistive technologies.
234 //234 //
235 // This function is meant to be used by language bindings.235 // This function is meant to be used by language bindings.
236-func (x *PageSetupUnixDialog) UpdateStateValue(NStatesVar int, StatesVar uintptr, ValuesVar uintptr) {236+func (x *PageSetupUnixDialog) UpdateStateValue(NStatesVar int, StatesVar []AccessibleState, ValuesVar []gobject.Value) {
237 237
238 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)238 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
239 239
M v4/gtk/gtkpaned.go +3 -3
@@ -484,7 +484,7 @@ func (x *Paned) UpdateProperty(FirstPropertyVar AccessibleProperty, varArgs ...i
484 // property change must be communicated to assistive technologies.484 // property change must be communicated to assistive technologies.
485 //485 //
486 // This function is meant to be used by language bindings.486 // This function is meant to be used by language bindings.
487-func (x *Paned) UpdatePropertyValue(NPropertiesVar int, PropertiesVar uintptr, ValuesVar uintptr) {487+func (x *Paned) UpdatePropertyValue(NPropertiesVar int, PropertiesVar []AccessibleProperty, ValuesVar []gobject.Value) {
488 488
489 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)489 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
490 490
@@ -520,7 +520,7 @@ func (x *Paned) UpdateRelation(FirstRelationVar AccessibleRelation, varArgs ...i
520 // relation change must be communicated to assistive technologies.520 // relation change must be communicated to assistive technologies.
521 //521 //
522 // This function is meant to be used by language bindings.522 // This function is meant to be used by language bindings.
523-func (x *Paned) UpdateRelationValue(NRelationsVar int, RelationsVar uintptr, ValuesVar uintptr) {523+func (x *Paned) UpdateRelationValue(NRelationsVar int, RelationsVar []AccessibleRelation, ValuesVar []gobject.Value) {
524 524
525 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)525 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
526 526
@@ -553,7 +553,7 @@ func (x *Paned) UpdateState(FirstStateVar AccessibleState, varArgs ...interface{
553 // state change must be communicated to assistive technologies.553 // state change must be communicated to assistive technologies.
554 //554 //
555 // This function is meant to be used by language bindings.555 // This function is meant to be used by language bindings.
556-func (x *Paned) UpdateStateValue(NStatesVar int, StatesVar uintptr, ValuesVar uintptr) {556+func (x *Paned) UpdateStateValue(NStatesVar int, StatesVar []AccessibleState, ValuesVar []gobject.Value) {
557 557
558 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)558 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
559 559
M v4/gtk/gtkpasswordentry.go +3 -3
@@ -216,7 +216,7 @@ func (x *PasswordEntry) UpdateProperty(FirstPropertyVar AccessibleProperty, varA
216 // property change must be communicated to assistive technologies.216 // property change must be communicated to assistive technologies.
217 //217 //
218 // This function is meant to be used by language bindings.218 // This function is meant to be used by language bindings.
219-func (x *PasswordEntry) UpdatePropertyValue(NPropertiesVar int, PropertiesVar uintptr, ValuesVar uintptr) {219+func (x *PasswordEntry) UpdatePropertyValue(NPropertiesVar int, PropertiesVar []AccessibleProperty, ValuesVar []gobject.Value) {
220 220
221 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)221 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
222 222
@@ -252,7 +252,7 @@ func (x *PasswordEntry) UpdateRelation(FirstRelationVar AccessibleRelation, varA
252 // relation change must be communicated to assistive technologies.252 // relation change must be communicated to assistive technologies.
253 //253 //
254 // This function is meant to be used by language bindings.254 // This function is meant to be used by language bindings.
255-func (x *PasswordEntry) UpdateRelationValue(NRelationsVar int, RelationsVar uintptr, ValuesVar uintptr) {255+func (x *PasswordEntry) UpdateRelationValue(NRelationsVar int, RelationsVar []AccessibleRelation, ValuesVar []gobject.Value) {
256 256
257 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)257 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
258 258
@@ -285,7 +285,7 @@ func (x *PasswordEntry) UpdateState(FirstStateVar AccessibleState, varArgs ...in
285 // state change must be communicated to assistive technologies.285 // state change must be communicated to assistive technologies.
286 //286 //
287 // This function is meant to be used by language bindings.287 // This function is meant to be used by language bindings.
288-func (x *PasswordEntry) UpdateStateValue(NStatesVar int, StatesVar uintptr, ValuesVar uintptr) {288+func (x *PasswordEntry) UpdateStateValue(NStatesVar int, StatesVar []AccessibleState, ValuesVar []gobject.Value) {
289 289
290 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)290 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
291 291
M v4/gtk/gtkpicture.go +3 -3
@@ -462,7 +462,7 @@ func (x *Picture) UpdateProperty(FirstPropertyVar AccessibleProperty, varArgs ..
462 // property change must be communicated to assistive technologies.462 // property change must be communicated to assistive technologies.
463 //463 //
464 // This function is meant to be used by language bindings.464 // This function is meant to be used by language bindings.
465-func (x *Picture) UpdatePropertyValue(NPropertiesVar int, PropertiesVar uintptr, ValuesVar uintptr) {465+func (x *Picture) UpdatePropertyValue(NPropertiesVar int, PropertiesVar []AccessibleProperty, ValuesVar []gobject.Value) {
466 466
467 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)467 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
468 468
@@ -498,7 +498,7 @@ func (x *Picture) UpdateRelation(FirstRelationVar AccessibleRelation, varArgs ..
498 // relation change must be communicated to assistive technologies.498 // relation change must be communicated to assistive technologies.
499 //499 //
500 // This function is meant to be used by language bindings.500 // This function is meant to be used by language bindings.
501-func (x *Picture) UpdateRelationValue(NRelationsVar int, RelationsVar uintptr, ValuesVar uintptr) {501+func (x *Picture) UpdateRelationValue(NRelationsVar int, RelationsVar []AccessibleRelation, ValuesVar []gobject.Value) {
502 502
503 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)503 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
504 504
@@ -531,7 +531,7 @@ func (x *Picture) UpdateState(FirstStateVar AccessibleState, varArgs ...interfac
531 // state change must be communicated to assistive technologies.531 // state change must be communicated to assistive technologies.
532 //532 //
533 // This function is meant to be used by language bindings.533 // This function is meant to be used by language bindings.
534-func (x *Picture) UpdateStateValue(NStatesVar int, StatesVar uintptr, ValuesVar uintptr) {534+func (x *Picture) UpdateStateValue(NStatesVar int, StatesVar []AccessibleState, ValuesVar []gobject.Value) {
535 535
536 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)536 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
537 537
M v4/gtk/gtkpopover.go +4 -4
@@ -15,7 +15,7 @@ import (
15 type PopoverClass struct {15 type PopoverClass struct {
16 ParentClass uintptr16 ParentClass uintptr
17 17
18- Reserved uintptr18+ Reserved [8]uintptr
19 }19 }
20 20
21 func (x *PopoverClass) GoPointer() uintptr {21 func (x *PopoverClass) GoPointer() uintptr {
@@ -466,7 +466,7 @@ func (x *Popover) UpdateProperty(FirstPropertyVar AccessibleProperty, varArgs ..
466 // property change must be communicated to assistive technologies.466 // property change must be communicated to assistive technologies.
467 //467 //
468 // This function is meant to be used by language bindings.468 // This function is meant to be used by language bindings.
469-func (x *Popover) UpdatePropertyValue(NPropertiesVar int, PropertiesVar uintptr, ValuesVar uintptr) {469+func (x *Popover) UpdatePropertyValue(NPropertiesVar int, PropertiesVar []AccessibleProperty, ValuesVar []gobject.Value) {
470 470
471 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)471 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
472 472
@@ -502,7 +502,7 @@ func (x *Popover) UpdateRelation(FirstRelationVar AccessibleRelation, varArgs ..
502 // relation change must be communicated to assistive technologies.502 // relation change must be communicated to assistive technologies.
503 //503 //
504 // This function is meant to be used by language bindings.504 // This function is meant to be used by language bindings.
505-func (x *Popover) UpdateRelationValue(NRelationsVar int, RelationsVar uintptr, ValuesVar uintptr) {505+func (x *Popover) UpdateRelationValue(NRelationsVar int, RelationsVar []AccessibleRelation, ValuesVar []gobject.Value) {
506 506
507 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)507 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
508 508
@@ -535,7 +535,7 @@ func (x *Popover) UpdateState(FirstStateVar AccessibleState, varArgs ...interfac
535 // state change must be communicated to assistive technologies.535 // state change must be communicated to assistive technologies.
536 //536 //
537 // This function is meant to be used by language bindings.537 // This function is meant to be used by language bindings.
538-func (x *Popover) UpdateStateValue(NStatesVar int, StatesVar uintptr, ValuesVar uintptr) {538+func (x *Popover) UpdateStateValue(NStatesVar int, StatesVar []AccessibleState, ValuesVar []gobject.Value) {
539 539
540 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)540 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
541 541
M v4/gtk/gtkpopovermenu.go +3 -3
@@ -310,7 +310,7 @@ func (x *PopoverMenu) UpdateProperty(FirstPropertyVar AccessibleProperty, varArg
310 // property change must be communicated to assistive technologies.310 // property change must be communicated to assistive technologies.
311 //311 //
312 // This function is meant to be used by language bindings.312 // This function is meant to be used by language bindings.
313-func (x *PopoverMenu) UpdatePropertyValue(NPropertiesVar int, PropertiesVar uintptr, ValuesVar uintptr) {313+func (x *PopoverMenu) UpdatePropertyValue(NPropertiesVar int, PropertiesVar []AccessibleProperty, ValuesVar []gobject.Value) {
314 314
315 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)315 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
316 316
@@ -346,7 +346,7 @@ func (x *PopoverMenu) UpdateRelation(FirstRelationVar AccessibleRelation, varArg
346 // relation change must be communicated to assistive technologies.346 // relation change must be communicated to assistive technologies.
347 //347 //
348 // This function is meant to be used by language bindings.348 // This function is meant to be used by language bindings.
349-func (x *PopoverMenu) UpdateRelationValue(NRelationsVar int, RelationsVar uintptr, ValuesVar uintptr) {349+func (x *PopoverMenu) UpdateRelationValue(NRelationsVar int, RelationsVar []AccessibleRelation, ValuesVar []gobject.Value) {
350 350
351 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)351 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
352 352
@@ -379,7 +379,7 @@ func (x *PopoverMenu) UpdateState(FirstStateVar AccessibleState, varArgs ...inte
379 // state change must be communicated to assistive technologies.379 // state change must be communicated to assistive technologies.
380 //380 //
381 // This function is meant to be used by language bindings.381 // This function is meant to be used by language bindings.
382-func (x *PopoverMenu) UpdateStateValue(NStatesVar int, StatesVar uintptr, ValuesVar uintptr) {382+func (x *PopoverMenu) UpdateStateValue(NStatesVar int, StatesVar []AccessibleState, ValuesVar []gobject.Value) {
383 383
384 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)384 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
385 385
M v4/gtk/gtkpopovermenubar.go +3 -3
@@ -181,7 +181,7 @@ func (x *PopoverMenuBar) UpdateProperty(FirstPropertyVar AccessibleProperty, var
181 // property change must be communicated to assistive technologies.181 // property change must be communicated to assistive technologies.
182 //182 //
183 // This function is meant to be used by language bindings.183 // This function is meant to be used by language bindings.
184-func (x *PopoverMenuBar) UpdatePropertyValue(NPropertiesVar int, PropertiesVar uintptr, ValuesVar uintptr) {184+func (x *PopoverMenuBar) UpdatePropertyValue(NPropertiesVar int, PropertiesVar []AccessibleProperty, ValuesVar []gobject.Value) {
185 185
186 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)186 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
187 187
@@ -217,7 +217,7 @@ func (x *PopoverMenuBar) UpdateRelation(FirstRelationVar AccessibleRelation, var
217 // relation change must be communicated to assistive technologies.217 // relation change must be communicated to assistive technologies.
218 //218 //
219 // This function is meant to be used by language bindings.219 // This function is meant to be used by language bindings.
220-func (x *PopoverMenuBar) UpdateRelationValue(NRelationsVar int, RelationsVar uintptr, ValuesVar uintptr) {220+func (x *PopoverMenuBar) UpdateRelationValue(NRelationsVar int, RelationsVar []AccessibleRelation, ValuesVar []gobject.Value) {
221 221
222 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)222 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
223 223
@@ -250,7 +250,7 @@ func (x *PopoverMenuBar) UpdateState(FirstStateVar AccessibleState, varArgs ...i
250 // state change must be communicated to assistive technologies.250 // state change must be communicated to assistive technologies.
251 //251 //
252 // This function is meant to be used by language bindings.252 // This function is meant to be used by language bindings.
253-func (x *PopoverMenuBar) UpdateStateValue(NStatesVar int, StatesVar uintptr, ValuesVar uintptr) {253+func (x *PopoverMenuBar) UpdateStateValue(NStatesVar int, StatesVar []AccessibleState, ValuesVar []gobject.Value) {
254 254
255 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)255 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
256 256
M v4/gtk/gtkprintjob.go +4 -4
@@ -88,10 +88,10 @@ func (x *PrintJob) GetNumCopies() int {
88 return cret88 return cret
89 }89 }
90 90
91-var xPrintJobGetPageRanges func(uintptr, int) uintptr91+var xPrintJobGetPageRanges func(uintptr, int) []PageRange
92 92
93 // Gets the page ranges for this job.93 // Gets the page ranges for this job.
94-func (x *PrintJob) GetPageRanges(NRangesVar int) uintptr {94+func (x *PrintJob) GetPageRanges(NRangesVar int) []PageRange {
95 95
96 cret := xPrintJobGetPageRanges(x.GoPointer(), NRangesVar)96 cret := xPrintJobGetPageRanges(x.GoPointer(), NRangesVar)
97 return cret97 return cret
@@ -265,10 +265,10 @@ func (x *PrintJob) SetNumCopies(NumCopiesVar int) {
265 265
266 }266 }
267 267
268-var xPrintJobSetPageRanges func(uintptr, uintptr, int)268+var xPrintJobSetPageRanges func(uintptr, []PageRange, int)
269 269
270 // Sets the page ranges for this job.270 // Sets the page ranges for this job.
271-func (x *PrintJob) SetPageRanges(RangesVar uintptr, NRangesVar int) {271+func (x *PrintJob) SetPageRanges(RangesVar []PageRange, NRangesVar int) {
272 272
273 xPrintJobSetPageRanges(x.GoPointer(), RangesVar, NRangesVar)273 xPrintJobSetPageRanges(x.GoPointer(), RangesVar, NRangesVar)
274 274
M v4/gtk/gtkprintoperation.go +1 -1
@@ -20,7 +20,7 @@ type PageSetupDoneFunc func(uintptr, uintptr)
20 type PrintOperationClass struct {20 type PrintOperationClass struct {
21 ParentClass uintptr21 ParentClass uintptr
22 22
23- Padding uintptr23+ Padding [8]uintptr
24 }24 }
25 25
26 func (x *PrintOperationClass) GoPointer() uintptr {26 func (x *PrintOperationClass) GoPointer() uintptr {
M v4/gtk/gtkprintsettings.go +4 -4
@@ -408,10 +408,10 @@ func (x *PrintSettings) GetOutputBin() string {
408 return cret408 return cret
409 }409 }
410 410
411-var xPrintSettingsGetPageRanges func(uintptr, int) uintptr411+var xPrintSettingsGetPageRanges func(uintptr, int) []PageRange
412 412
413 // Gets the value of %GTK_PRINT_SETTINGS_PAGE_RANGES.413 // Gets the value of %GTK_PRINT_SETTINGS_PAGE_RANGES.
414-func (x *PrintSettings) GetPageRanges(NumRangesVar int) uintptr {414+func (x *PrintSettings) GetPageRanges(NumRangesVar int) []PageRange {
415 415
416 cret := xPrintSettingsGetPageRanges(x.GoPointer(), NumRangesVar)416 cret := xPrintSettingsGetPageRanges(x.GoPointer(), NumRangesVar)
417 return cret417 return cret
@@ -738,10 +738,10 @@ func (x *PrintSettings) SetOutputBin(OutputBinVar string) {
738 738
739 }739 }
740 740
741-var xPrintSettingsSetPageRanges func(uintptr, uintptr, int)741+var xPrintSettingsSetPageRanges func(uintptr, []PageRange, int)
742 742
743 // Sets the value of %GTK_PRINT_SETTINGS_PAGE_RANGES.743 // Sets the value of %GTK_PRINT_SETTINGS_PAGE_RANGES.
744-func (x *PrintSettings) SetPageRanges(PageRangesVar uintptr, NumRangesVar int) {744+func (x *PrintSettings) SetPageRanges(PageRangesVar []PageRange, NumRangesVar int) {
745 745
746 xPrintSettingsSetPageRanges(x.GoPointer(), PageRangesVar, NumRangesVar)746 xPrintSettingsSetPageRanges(x.GoPointer(), PageRangesVar, NumRangesVar)
747 747
M v4/gtk/gtkprintunixdialog.go +3 -3
@@ -353,7 +353,7 @@ func (x *PrintUnixDialog) UpdateProperty(FirstPropertyVar AccessibleProperty, va
353 // property change must be communicated to assistive technologies.353 // property change must be communicated to assistive technologies.
354 //354 //
355 // This function is meant to be used by language bindings.355 // This function is meant to be used by language bindings.
356-func (x *PrintUnixDialog) UpdatePropertyValue(NPropertiesVar int, PropertiesVar uintptr, ValuesVar uintptr) {356+func (x *PrintUnixDialog) UpdatePropertyValue(NPropertiesVar int, PropertiesVar []AccessibleProperty, ValuesVar []gobject.Value) {
357 357
358 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)358 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
359 359
@@ -389,7 +389,7 @@ func (x *PrintUnixDialog) UpdateRelation(FirstRelationVar AccessibleRelation, va
389 // relation change must be communicated to assistive technologies.389 // relation change must be communicated to assistive technologies.
390 //390 //
391 // This function is meant to be used by language bindings.391 // This function is meant to be used by language bindings.
392-func (x *PrintUnixDialog) UpdateRelationValue(NRelationsVar int, RelationsVar uintptr, ValuesVar uintptr) {392+func (x *PrintUnixDialog) UpdateRelationValue(NRelationsVar int, RelationsVar []AccessibleRelation, ValuesVar []gobject.Value) {
393 393
394 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)394 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
395 395
@@ -422,7 +422,7 @@ func (x *PrintUnixDialog) UpdateState(FirstStateVar AccessibleState, varArgs ...
422 // state change must be communicated to assistive technologies.422 // state change must be communicated to assistive technologies.
423 //423 //
424 // This function is meant to be used by language bindings.424 // This function is meant to be used by language bindings.
425-func (x *PrintUnixDialog) UpdateStateValue(NStatesVar int, StatesVar uintptr, ValuesVar uintptr) {425+func (x *PrintUnixDialog) UpdateStateValue(NStatesVar int, StatesVar []AccessibleState, ValuesVar []gobject.Value) {
426 426
427 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)427 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
428 428
M v4/gtk/gtkprogressbar.go +3 -3
@@ -311,7 +311,7 @@ func (x *ProgressBar) UpdateProperty(FirstPropertyVar AccessibleProperty, varArg
311 // property change must be communicated to assistive technologies.311 // property change must be communicated to assistive technologies.
312 //312 //
313 // This function is meant to be used by language bindings.313 // This function is meant to be used by language bindings.
314-func (x *ProgressBar) UpdatePropertyValue(NPropertiesVar int, PropertiesVar uintptr, ValuesVar uintptr) {314+func (x *ProgressBar) UpdatePropertyValue(NPropertiesVar int, PropertiesVar []AccessibleProperty, ValuesVar []gobject.Value) {
315 315
316 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)316 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
317 317
@@ -347,7 +347,7 @@ func (x *ProgressBar) UpdateRelation(FirstRelationVar AccessibleRelation, varArg
347 // relation change must be communicated to assistive technologies.347 // relation change must be communicated to assistive technologies.
348 //348 //
349 // This function is meant to be used by language bindings.349 // This function is meant to be used by language bindings.
350-func (x *ProgressBar) UpdateRelationValue(NRelationsVar int, RelationsVar uintptr, ValuesVar uintptr) {350+func (x *ProgressBar) UpdateRelationValue(NRelationsVar int, RelationsVar []AccessibleRelation, ValuesVar []gobject.Value) {
351 351
352 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)352 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
353 353
@@ -380,7 +380,7 @@ func (x *ProgressBar) UpdateState(FirstStateVar AccessibleState, varArgs ...inte
380 // state change must be communicated to assistive technologies.380 // state change must be communicated to assistive technologies.
381 //381 //
382 // This function is meant to be used by language bindings.382 // This function is meant to be used by language bindings.
383-func (x *ProgressBar) UpdateStateValue(NStatesVar int, StatesVar uintptr, ValuesVar uintptr) {383+func (x *ProgressBar) UpdateStateValue(NStatesVar int, StatesVar []AccessibleState, ValuesVar []gobject.Value) {
384 384
385 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)385 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
386 386
M v4/gtk/gtkrange.go +4 -4
@@ -14,7 +14,7 @@ import (
14 type RangeClass struct {14 type RangeClass struct {
15 ParentClass uintptr15 ParentClass uintptr
16 16
17- Padding uintptr17+ Padding [8]uintptr
18 }18 }
19 19
20 func (x *RangeClass) GoPointer() uintptr {20 func (x *RangeClass) GoPointer() uintptr {
@@ -479,7 +479,7 @@ func (x *Range) UpdateProperty(FirstPropertyVar AccessibleProperty, varArgs ...i
479 // property change must be communicated to assistive technologies.479 // property change must be communicated to assistive technologies.
480 //480 //
481 // This function is meant to be used by language bindings.481 // This function is meant to be used by language bindings.
482-func (x *Range) UpdatePropertyValue(NPropertiesVar int, PropertiesVar uintptr, ValuesVar uintptr) {482+func (x *Range) UpdatePropertyValue(NPropertiesVar int, PropertiesVar []AccessibleProperty, ValuesVar []gobject.Value) {
483 483
484 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)484 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
485 485
@@ -515,7 +515,7 @@ func (x *Range) UpdateRelation(FirstRelationVar AccessibleRelation, varArgs ...i
515 // relation change must be communicated to assistive technologies.515 // relation change must be communicated to assistive technologies.
516 //516 //
517 // This function is meant to be used by language bindings.517 // This function is meant to be used by language bindings.
518-func (x *Range) UpdateRelationValue(NRelationsVar int, RelationsVar uintptr, ValuesVar uintptr) {518+func (x *Range) UpdateRelationValue(NRelationsVar int, RelationsVar []AccessibleRelation, ValuesVar []gobject.Value) {
519 519
520 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)520 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
521 521
@@ -548,7 +548,7 @@ func (x *Range) UpdateState(FirstStateVar AccessibleState, varArgs ...interface{
548 // state change must be communicated to assistive technologies.548 // state change must be communicated to assistive technologies.
549 //549 //
550 // This function is meant to be used by language bindings.550 // This function is meant to be used by language bindings.
551-func (x *Range) UpdateStateValue(NStatesVar int, StatesVar uintptr, ValuesVar uintptr) {551+func (x *Range) UpdateStateValue(NStatesVar int, StatesVar []AccessibleState, ValuesVar []gobject.Value) {
552 552
553 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)553 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
554 554
M v4/gtk/gtkrevealer.go +3 -3
@@ -254,7 +254,7 @@ func (x *Revealer) UpdateProperty(FirstPropertyVar AccessibleProperty, varArgs .
254 // property change must be communicated to assistive technologies.254 // property change must be communicated to assistive technologies.
255 //255 //
256 // This function is meant to be used by language bindings.256 // This function is meant to be used by language bindings.
257-func (x *Revealer) UpdatePropertyValue(NPropertiesVar int, PropertiesVar uintptr, ValuesVar uintptr) {257+func (x *Revealer) UpdatePropertyValue(NPropertiesVar int, PropertiesVar []AccessibleProperty, ValuesVar []gobject.Value) {
258 258
259 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)259 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
260 260
@@ -290,7 +290,7 @@ func (x *Revealer) UpdateRelation(FirstRelationVar AccessibleRelation, varArgs .
290 // relation change must be communicated to assistive technologies.290 // relation change must be communicated to assistive technologies.
291 //291 //
292 // This function is meant to be used by language bindings.292 // This function is meant to be used by language bindings.
293-func (x *Revealer) UpdateRelationValue(NRelationsVar int, RelationsVar uintptr, ValuesVar uintptr) {293+func (x *Revealer) UpdateRelationValue(NRelationsVar int, RelationsVar []AccessibleRelation, ValuesVar []gobject.Value) {
294 294
295 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)295 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
296 296
@@ -323,7 +323,7 @@ func (x *Revealer) UpdateState(FirstStateVar AccessibleState, varArgs ...interfa
323 // state change must be communicated to assistive technologies.323 // state change must be communicated to assistive technologies.
324 //324 //
325 // This function is meant to be used by language bindings.325 // This function is meant to be used by language bindings.
326-func (x *Revealer) UpdateStateValue(NStatesVar int, StatesVar uintptr, ValuesVar uintptr) {326+func (x *Revealer) UpdateStateValue(NStatesVar int, StatesVar []AccessibleState, ValuesVar []gobject.Value) {
327 327
328 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)328 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
329 329
M v4/gtk/gtkscale.go +4 -4
@@ -16,7 +16,7 @@ type ScaleFormatValueFunc func(uintptr, float64, uintptr) string
16 type ScaleClass struct {16 type ScaleClass struct {
17 ParentClass uintptr17 ParentClass uintptr
18 18
19- Padding uintptr19+ Padding [8]uintptr
20 }20 }
21 21
22 func (x *ScaleClass) GoPointer() uintptr {22 func (x *ScaleClass) GoPointer() uintptr {
@@ -392,7 +392,7 @@ func (x *Scale) UpdateProperty(FirstPropertyVar AccessibleProperty, varArgs ...i
392 // property change must be communicated to assistive technologies.392 // property change must be communicated to assistive technologies.
393 //393 //
394 // This function is meant to be used by language bindings.394 // This function is meant to be used by language bindings.
395-func (x *Scale) UpdatePropertyValue(NPropertiesVar int, PropertiesVar uintptr, ValuesVar uintptr) {395+func (x *Scale) UpdatePropertyValue(NPropertiesVar int, PropertiesVar []AccessibleProperty, ValuesVar []gobject.Value) {
396 396
397 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)397 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
398 398
@@ -428,7 +428,7 @@ func (x *Scale) UpdateRelation(FirstRelationVar AccessibleRelation, varArgs ...i
428 // relation change must be communicated to assistive technologies.428 // relation change must be communicated to assistive technologies.
429 //429 //
430 // This function is meant to be used by language bindings.430 // This function is meant to be used by language bindings.
431-func (x *Scale) UpdateRelationValue(NRelationsVar int, RelationsVar uintptr, ValuesVar uintptr) {431+func (x *Scale) UpdateRelationValue(NRelationsVar int, RelationsVar []AccessibleRelation, ValuesVar []gobject.Value) {
432 432
433 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)433 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
434 434
@@ -461,7 +461,7 @@ func (x *Scale) UpdateState(FirstStateVar AccessibleState, varArgs ...interface{
461 // state change must be communicated to assistive technologies.461 // state change must be communicated to assistive technologies.
462 //462 //
463 // This function is meant to be used by language bindings.463 // This function is meant to be used by language bindings.
464-func (x *Scale) UpdateStateValue(NStatesVar int, StatesVar uintptr, ValuesVar uintptr) {464+func (x *Scale) UpdateStateValue(NStatesVar int, StatesVar []AccessibleState, ValuesVar []gobject.Value) {
465 465
466 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)466 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
467 467
M v4/gtk/gtkscalebutton.go +4 -4
@@ -13,7 +13,7 @@ import (
13 type ScaleButtonClass struct {13 type ScaleButtonClass struct {
14 ParentClass uintptr14 ParentClass uintptr
15 15
16- Padding uintptr16+ Padding [8]uintptr
17 }17 }
18 18
19 func (x *ScaleButtonClass) GoPointer() uintptr {19 func (x *ScaleButtonClass) GoPointer() uintptr {
@@ -310,7 +310,7 @@ func (x *ScaleButton) UpdateProperty(FirstPropertyVar AccessibleProperty, varArg
310 // property change must be communicated to assistive technologies.310 // property change must be communicated to assistive technologies.
311 //311 //
312 // This function is meant to be used by language bindings.312 // This function is meant to be used by language bindings.
313-func (x *ScaleButton) UpdatePropertyValue(NPropertiesVar int, PropertiesVar uintptr, ValuesVar uintptr) {313+func (x *ScaleButton) UpdatePropertyValue(NPropertiesVar int, PropertiesVar []AccessibleProperty, ValuesVar []gobject.Value) {
314 314
315 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)315 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
316 316
@@ -346,7 +346,7 @@ func (x *ScaleButton) UpdateRelation(FirstRelationVar AccessibleRelation, varArg
346 // relation change must be communicated to assistive technologies.346 // relation change must be communicated to assistive technologies.
347 //347 //
348 // This function is meant to be used by language bindings.348 // This function is meant to be used by language bindings.
349-func (x *ScaleButton) UpdateRelationValue(NRelationsVar int, RelationsVar uintptr, ValuesVar uintptr) {349+func (x *ScaleButton) UpdateRelationValue(NRelationsVar int, RelationsVar []AccessibleRelation, ValuesVar []gobject.Value) {
350 350
351 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)351 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
352 352
@@ -379,7 +379,7 @@ func (x *ScaleButton) UpdateState(FirstStateVar AccessibleState, varArgs ...inte
379 // state change must be communicated to assistive technologies.379 // state change must be communicated to assistive technologies.
380 //380 //
381 // This function is meant to be used by language bindings.381 // This function is meant to be used by language bindings.
382-func (x *ScaleButton) UpdateStateValue(NStatesVar int, StatesVar uintptr, ValuesVar uintptr) {382+func (x *ScaleButton) UpdateStateValue(NStatesVar int, StatesVar []AccessibleState, ValuesVar []gobject.Value) {
383 383
384 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)384 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
385 385
M v4/gtk/gtkscrollbar.go +3 -3
@@ -170,7 +170,7 @@ func (x *Scrollbar) UpdateProperty(FirstPropertyVar AccessibleProperty, varArgs
170 // property change must be communicated to assistive technologies.170 // property change must be communicated to assistive technologies.
171 //171 //
172 // This function is meant to be used by language bindings.172 // This function is meant to be used by language bindings.
173-func (x *Scrollbar) UpdatePropertyValue(NPropertiesVar int, PropertiesVar uintptr, ValuesVar uintptr) {173+func (x *Scrollbar) UpdatePropertyValue(NPropertiesVar int, PropertiesVar []AccessibleProperty, ValuesVar []gobject.Value) {
174 174
175 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)175 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
176 176
@@ -206,7 +206,7 @@ func (x *Scrollbar) UpdateRelation(FirstRelationVar AccessibleRelation, varArgs
206 // relation change must be communicated to assistive technologies.206 // relation change must be communicated to assistive technologies.
207 //207 //
208 // This function is meant to be used by language bindings.208 // This function is meant to be used by language bindings.
209-func (x *Scrollbar) UpdateRelationValue(NRelationsVar int, RelationsVar uintptr, ValuesVar uintptr) {209+func (x *Scrollbar) UpdateRelationValue(NRelationsVar int, RelationsVar []AccessibleRelation, ValuesVar []gobject.Value) {
210 210
211 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)211 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
212 212
@@ -239,7 +239,7 @@ func (x *Scrollbar) UpdateState(FirstStateVar AccessibleState, varArgs ...interf
239 // state change must be communicated to assistive technologies.239 // state change must be communicated to assistive technologies.
240 //240 //
241 // This function is meant to be used by language bindings.241 // This function is meant to be used by language bindings.
242-func (x *Scrollbar) UpdateStateValue(NStatesVar int, StatesVar uintptr, ValuesVar uintptr) {242+func (x *Scrollbar) UpdateStateValue(NStatesVar int, StatesVar []AccessibleState, ValuesVar []gobject.Value) {
243 243
244 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)244 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
245 245
M v4/gtk/gtkscrolledwindow.go +3 -3
@@ -717,7 +717,7 @@ func (x *ScrolledWindow) UpdateProperty(FirstPropertyVar AccessibleProperty, var
717 // property change must be communicated to assistive technologies.717 // property change must be communicated to assistive technologies.
718 //718 //
719 // This function is meant to be used by language bindings.719 // This function is meant to be used by language bindings.
720-func (x *ScrolledWindow) UpdatePropertyValue(NPropertiesVar int, PropertiesVar uintptr, ValuesVar uintptr) {720+func (x *ScrolledWindow) UpdatePropertyValue(NPropertiesVar int, PropertiesVar []AccessibleProperty, ValuesVar []gobject.Value) {
721 721
722 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)722 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
723 723
@@ -753,7 +753,7 @@ func (x *ScrolledWindow) UpdateRelation(FirstRelationVar AccessibleRelation, var
753 // relation change must be communicated to assistive technologies.753 // relation change must be communicated to assistive technologies.
754 //754 //
755 // This function is meant to be used by language bindings.755 // This function is meant to be used by language bindings.
756-func (x *ScrolledWindow) UpdateRelationValue(NRelationsVar int, RelationsVar uintptr, ValuesVar uintptr) {756+func (x *ScrolledWindow) UpdateRelationValue(NRelationsVar int, RelationsVar []AccessibleRelation, ValuesVar []gobject.Value) {
757 757
758 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)758 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
759 759
@@ -786,7 +786,7 @@ func (x *ScrolledWindow) UpdateState(FirstStateVar AccessibleState, varArgs ...i
786 // state change must be communicated to assistive technologies.786 // state change must be communicated to assistive technologies.
787 //787 //
788 // This function is meant to be used by language bindings.788 // This function is meant to be used by language bindings.
789-func (x *ScrolledWindow) UpdateStateValue(NStatesVar int, StatesVar uintptr, ValuesVar uintptr) {789+func (x *ScrolledWindow) UpdateStateValue(NStatesVar int, StatesVar []AccessibleState, ValuesVar []gobject.Value) {
790 790
791 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)791 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
792 792
M v4/gtk/gtksearchbar.go +3 -3
@@ -266,7 +266,7 @@ func (x *SearchBar) UpdateProperty(FirstPropertyVar AccessibleProperty, varArgs
266 // property change must be communicated to assistive technologies.266 // property change must be communicated to assistive technologies.
267 //267 //
268 // This function is meant to be used by language bindings.268 // This function is meant to be used by language bindings.
269-func (x *SearchBar) UpdatePropertyValue(NPropertiesVar int, PropertiesVar uintptr, ValuesVar uintptr) {269+func (x *SearchBar) UpdatePropertyValue(NPropertiesVar int, PropertiesVar []AccessibleProperty, ValuesVar []gobject.Value) {
270 270
271 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)271 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
272 272
@@ -302,7 +302,7 @@ func (x *SearchBar) UpdateRelation(FirstRelationVar AccessibleRelation, varArgs
302 // relation change must be communicated to assistive technologies.302 // relation change must be communicated to assistive technologies.
303 //303 //
304 // This function is meant to be used by language bindings.304 // This function is meant to be used by language bindings.
305-func (x *SearchBar) UpdateRelationValue(NRelationsVar int, RelationsVar uintptr, ValuesVar uintptr) {305+func (x *SearchBar) UpdateRelationValue(NRelationsVar int, RelationsVar []AccessibleRelation, ValuesVar []gobject.Value) {
306 306
307 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)307 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
308 308
@@ -335,7 +335,7 @@ func (x *SearchBar) UpdateState(FirstStateVar AccessibleState, varArgs ...interf
335 // state change must be communicated to assistive technologies.335 // state change must be communicated to assistive technologies.
336 //336 //
337 // This function is meant to be used by language bindings.337 // This function is meant to be used by language bindings.
338-func (x *SearchBar) UpdateStateValue(NStatesVar int, StatesVar uintptr, ValuesVar uintptr) {338+func (x *SearchBar) UpdateStateValue(NStatesVar int, StatesVar []AccessibleState, ValuesVar []gobject.Value) {
339 339
340 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)340 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
341 341
M v4/gtk/gtksearchentry.go +3 -3
@@ -356,7 +356,7 @@ func (x *SearchEntry) UpdateProperty(FirstPropertyVar AccessibleProperty, varArg
356 // property change must be communicated to assistive technologies.356 // property change must be communicated to assistive technologies.
357 //357 //
358 // This function is meant to be used by language bindings.358 // This function is meant to be used by language bindings.
359-func (x *SearchEntry) UpdatePropertyValue(NPropertiesVar int, PropertiesVar uintptr, ValuesVar uintptr) {359+func (x *SearchEntry) UpdatePropertyValue(NPropertiesVar int, PropertiesVar []AccessibleProperty, ValuesVar []gobject.Value) {
360 360
361 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)361 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
362 362
@@ -392,7 +392,7 @@ func (x *SearchEntry) UpdateRelation(FirstRelationVar AccessibleRelation, varArg
392 // relation change must be communicated to assistive technologies.392 // relation change must be communicated to assistive technologies.
393 //393 //
394 // This function is meant to be used by language bindings.394 // This function is meant to be used by language bindings.
395-func (x *SearchEntry) UpdateRelationValue(NRelationsVar int, RelationsVar uintptr, ValuesVar uintptr) {395+func (x *SearchEntry) UpdateRelationValue(NRelationsVar int, RelationsVar []AccessibleRelation, ValuesVar []gobject.Value) {
396 396
397 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)397 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
398 398
@@ -425,7 +425,7 @@ func (x *SearchEntry) UpdateState(FirstStateVar AccessibleState, varArgs ...inte
425 // state change must be communicated to assistive technologies.425 // state change must be communicated to assistive technologies.
426 //426 //
427 // This function is meant to be used by language bindings.427 // This function is meant to be used by language bindings.
428-func (x *SearchEntry) UpdateStateValue(NStatesVar int, StatesVar uintptr, ValuesVar uintptr) {428+func (x *SearchEntry) UpdateStateValue(NStatesVar int, StatesVar []AccessibleState, ValuesVar []gobject.Value) {
429 429
430 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)430 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
431 431
M v4/gtk/gtkselectionfiltermodel.go +2 -1
@@ -8,6 +8,7 @@ import (
8 "github.com/jwijenbergh/puregotk/internal/core"8 "github.com/jwijenbergh/puregotk/internal/core"
9 "github.com/jwijenbergh/puregotk/v4/gio"9 "github.com/jwijenbergh/puregotk/v4/gio"
10 "github.com/jwijenbergh/puregotk/v4/gobject"10 "github.com/jwijenbergh/puregotk/v4/gobject"
11+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
11 )12 )
12 13
13 type SelectionFilterModelClass struct {14 type SelectionFilterModelClass struct {
@@ -109,7 +110,7 @@ func (x *SelectionFilterModel) GetItem(PositionVar uint) uintptr {
109 //110 //
110 // The item type of a #GListModel can not change during the life of the111 // The item type of a #GListModel can not change during the life of the
111 // model.112 // model.
112-func (x *SelectionFilterModel) GetItemType() []interface{} {113+func (x *SelectionFilterModel) GetItemType() types.GType {
113 114
114 cret := gio.XGListModelGetItemType(x.GoPointer())115 cret := gio.XGListModelGetItemType(x.GoPointer())
115 return cret116 return cret
M v4/gtk/gtkseparator.go +3 -3
@@ -116,7 +116,7 @@ func (x *Separator) UpdateProperty(FirstPropertyVar AccessibleProperty, varArgs
116 // property change must be communicated to assistive technologies.116 // property change must be communicated to assistive technologies.
117 //117 //
118 // This function is meant to be used by language bindings.118 // This function is meant to be used by language bindings.
119-func (x *Separator) UpdatePropertyValue(NPropertiesVar int, PropertiesVar uintptr, ValuesVar uintptr) {119+func (x *Separator) UpdatePropertyValue(NPropertiesVar int, PropertiesVar []AccessibleProperty, ValuesVar []gobject.Value) {
120 120
121 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)121 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
122 122
@@ -152,7 +152,7 @@ func (x *Separator) UpdateRelation(FirstRelationVar AccessibleRelation, varArgs
152 // relation change must be communicated to assistive technologies.152 // relation change must be communicated to assistive technologies.
153 //153 //
154 // This function is meant to be used by language bindings.154 // This function is meant to be used by language bindings.
155-func (x *Separator) UpdateRelationValue(NRelationsVar int, RelationsVar uintptr, ValuesVar uintptr) {155+func (x *Separator) UpdateRelationValue(NRelationsVar int, RelationsVar []AccessibleRelation, ValuesVar []gobject.Value) {
156 156
157 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)157 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
158 158
@@ -185,7 +185,7 @@ func (x *Separator) UpdateState(FirstStateVar AccessibleState, varArgs ...interf
185 // state change must be communicated to assistive technologies.185 // state change must be communicated to assistive technologies.
186 //186 //
187 // This function is meant to be used by language bindings.187 // This function is meant to be used by language bindings.
188-func (x *Separator) UpdateStateValue(NStatesVar int, StatesVar uintptr, ValuesVar uintptr) {188+func (x *Separator) UpdateStateValue(NStatesVar int, StatesVar []AccessibleState, ValuesVar []gobject.Value) {
189 189
190 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)190 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
191 191
M v4/gtk/gtkshortcutcontroller.go +2 -1
@@ -9,6 +9,7 @@ import (
9 "github.com/jwijenbergh/puregotk/v4/gdk"9 "github.com/jwijenbergh/puregotk/v4/gdk"
10 "github.com/jwijenbergh/puregotk/v4/gio"10 "github.com/jwijenbergh/puregotk/v4/gio"
11 "github.com/jwijenbergh/puregotk/v4/gobject"11 "github.com/jwijenbergh/puregotk/v4/gobject"
12+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
12 )13 )
13 14
14 type ShortcutControllerClass struct {15 type ShortcutControllerClass struct {
@@ -220,7 +221,7 @@ func (x *ShortcutController) GetItem(PositionVar uint) uintptr {
220 //221 //
221 // The item type of a #GListModel can not change during the life of the222 // The item type of a #GListModel can not change during the life of the
222 // model.223 // model.
223-func (x *ShortcutController) GetItemType() []interface{} {224+func (x *ShortcutController) GetItemType() types.GType {
224 225
225 cret := gio.XGListModelGetItemType(x.GoPointer())226 cret := gio.XGListModelGetItemType(x.GoPointer())
226 return cret227 return cret
M v4/gtk/gtkshortcutlabel.go +3 -3
@@ -148,7 +148,7 @@ func (x *ShortcutLabel) UpdateProperty(FirstPropertyVar AccessibleProperty, varA
148 // property change must be communicated to assistive technologies.148 // property change must be communicated to assistive technologies.
149 //149 //
150 // This function is meant to be used by language bindings.150 // This function is meant to be used by language bindings.
151-func (x *ShortcutLabel) UpdatePropertyValue(NPropertiesVar int, PropertiesVar uintptr, ValuesVar uintptr) {151+func (x *ShortcutLabel) UpdatePropertyValue(NPropertiesVar int, PropertiesVar []AccessibleProperty, ValuesVar []gobject.Value) {
152 152
153 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)153 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
154 154
@@ -184,7 +184,7 @@ func (x *ShortcutLabel) UpdateRelation(FirstRelationVar AccessibleRelation, varA
184 // relation change must be communicated to assistive technologies.184 // relation change must be communicated to assistive technologies.
185 //185 //
186 // This function is meant to be used by language bindings.186 // This function is meant to be used by language bindings.
187-func (x *ShortcutLabel) UpdateRelationValue(NRelationsVar int, RelationsVar uintptr, ValuesVar uintptr) {187+func (x *ShortcutLabel) UpdateRelationValue(NRelationsVar int, RelationsVar []AccessibleRelation, ValuesVar []gobject.Value) {
188 188
189 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)189 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
190 190
@@ -217,7 +217,7 @@ func (x *ShortcutLabel) UpdateState(FirstStateVar AccessibleState, varArgs ...in
217 // state change must be communicated to assistive technologies.217 // state change must be communicated to assistive technologies.
218 //218 //
219 // This function is meant to be used by language bindings.219 // This function is meant to be used by language bindings.
220-func (x *ShortcutLabel) UpdateStateValue(NStatesVar int, StatesVar uintptr, ValuesVar uintptr) {220+func (x *ShortcutLabel) UpdateStateValue(NStatesVar int, StatesVar []AccessibleState, ValuesVar []gobject.Value) {
221 221
222 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)222 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
223 223
M v4/gtk/gtkshortcutsgroup.go +8 -4
@@ -1,7 +1,11 @@
1 // Package gtk was automatically generated by github.com/jwijenbergh/puregotk DO NOT EDIT1 // Package gtk was automatically generated by github.com/jwijenbergh/puregotk DO NOT EDIT
2 package gtk2 package gtk
3 3
4-import "unsafe"4+import (
5+ "unsafe"
6+
7+ "github.com/jwijenbergh/puregotk/v4/gobject"
8+)
5 9
6 type ShortcutsGroupClass struct {10 type ShortcutsGroupClass struct {
7 }11 }
@@ -94,7 +98,7 @@ func (x *ShortcutsGroup) UpdateProperty(FirstPropertyVar AccessibleProperty, var
94 // property change must be communicated to assistive technologies.98 // property change must be communicated to assistive technologies.
95 //99 //
96 // This function is meant to be used by language bindings.100 // This function is meant to be used by language bindings.
97-func (x *ShortcutsGroup) UpdatePropertyValue(NPropertiesVar int, PropertiesVar uintptr, ValuesVar uintptr) {101+func (x *ShortcutsGroup) UpdatePropertyValue(NPropertiesVar int, PropertiesVar []AccessibleProperty, ValuesVar []gobject.Value) {
98 102
99 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)103 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
100 104
@@ -130,7 +134,7 @@ func (x *ShortcutsGroup) UpdateRelation(FirstRelationVar AccessibleRelation, var
130 // relation change must be communicated to assistive technologies.134 // relation change must be communicated to assistive technologies.
131 //135 //
132 // This function is meant to be used by language bindings.136 // This function is meant to be used by language bindings.
133-func (x *ShortcutsGroup) UpdateRelationValue(NRelationsVar int, RelationsVar uintptr, ValuesVar uintptr) {137+func (x *ShortcutsGroup) UpdateRelationValue(NRelationsVar int, RelationsVar []AccessibleRelation, ValuesVar []gobject.Value) {
134 138
135 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)139 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
136 140
@@ -163,7 +167,7 @@ func (x *ShortcutsGroup) UpdateState(FirstStateVar AccessibleState, varArgs ...i
163 // state change must be communicated to assistive technologies.167 // state change must be communicated to assistive technologies.
164 //168 //
165 // This function is meant to be used by language bindings.169 // This function is meant to be used by language bindings.
166-func (x *ShortcutsGroup) UpdateStateValue(NStatesVar int, StatesVar uintptr, ValuesVar uintptr) {170+func (x *ShortcutsGroup) UpdateStateValue(NStatesVar int, StatesVar []AccessibleState, ValuesVar []gobject.Value) {
167 171
168 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)172 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
169 173
M v4/gtk/gtkshortcutssection.go +3 -3
@@ -124,7 +124,7 @@ func (x *ShortcutsSection) UpdateProperty(FirstPropertyVar AccessibleProperty, v
124 // property change must be communicated to assistive technologies.124 // property change must be communicated to assistive technologies.
125 //125 //
126 // This function is meant to be used by language bindings.126 // This function is meant to be used by language bindings.
127-func (x *ShortcutsSection) UpdatePropertyValue(NPropertiesVar int, PropertiesVar uintptr, ValuesVar uintptr) {127+func (x *ShortcutsSection) UpdatePropertyValue(NPropertiesVar int, PropertiesVar []AccessibleProperty, ValuesVar []gobject.Value) {
128 128
129 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)129 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
130 130
@@ -160,7 +160,7 @@ func (x *ShortcutsSection) UpdateRelation(FirstRelationVar AccessibleRelation, v
160 // relation change must be communicated to assistive technologies.160 // relation change must be communicated to assistive technologies.
161 //161 //
162 // This function is meant to be used by language bindings.162 // This function is meant to be used by language bindings.
163-func (x *ShortcutsSection) UpdateRelationValue(NRelationsVar int, RelationsVar uintptr, ValuesVar uintptr) {163+func (x *ShortcutsSection) UpdateRelationValue(NRelationsVar int, RelationsVar []AccessibleRelation, ValuesVar []gobject.Value) {
164 164
165 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)165 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
166 166
@@ -193,7 +193,7 @@ func (x *ShortcutsSection) UpdateState(FirstStateVar AccessibleState, varArgs ..
193 // state change must be communicated to assistive technologies.193 // state change must be communicated to assistive technologies.
194 //194 //
195 // This function is meant to be used by language bindings.195 // This function is meant to be used by language bindings.
196-func (x *ShortcutsSection) UpdateStateValue(NStatesVar int, StatesVar uintptr, ValuesVar uintptr) {196+func (x *ShortcutsSection) UpdateStateValue(NStatesVar int, StatesVar []AccessibleState, ValuesVar []gobject.Value) {
197 197
198 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)198 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
199 199
M v4/gtk/gtkshortcutsshortcut.go +8 -4
@@ -1,7 +1,11 @@
1 // Package gtk was automatically generated by github.com/jwijenbergh/puregotk DO NOT EDIT1 // Package gtk was automatically generated by github.com/jwijenbergh/puregotk DO NOT EDIT
2 package gtk2 package gtk
3 3
4-import "unsafe"4+import (
5+ "unsafe"
6+
7+ "github.com/jwijenbergh/puregotk/v4/gobject"
8+)
5 9
6 type ShortcutsShortcutClass struct {10 type ShortcutsShortcutClass struct {
7 }11 }
@@ -121,7 +125,7 @@ func (x *ShortcutsShortcut) UpdateProperty(FirstPropertyVar AccessibleProperty,
121 // property change must be communicated to assistive technologies.125 // property change must be communicated to assistive technologies.
122 //126 //
123 // This function is meant to be used by language bindings.127 // This function is meant to be used by language bindings.
124-func (x *ShortcutsShortcut) UpdatePropertyValue(NPropertiesVar int, PropertiesVar uintptr, ValuesVar uintptr) {128+func (x *ShortcutsShortcut) UpdatePropertyValue(NPropertiesVar int, PropertiesVar []AccessibleProperty, ValuesVar []gobject.Value) {
125 129
126 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)130 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
127 131
@@ -157,7 +161,7 @@ func (x *ShortcutsShortcut) UpdateRelation(FirstRelationVar AccessibleRelation,
157 // relation change must be communicated to assistive technologies.161 // relation change must be communicated to assistive technologies.
158 //162 //
159 // This function is meant to be used by language bindings.163 // This function is meant to be used by language bindings.
160-func (x *ShortcutsShortcut) UpdateRelationValue(NRelationsVar int, RelationsVar uintptr, ValuesVar uintptr) {164+func (x *ShortcutsShortcut) UpdateRelationValue(NRelationsVar int, RelationsVar []AccessibleRelation, ValuesVar []gobject.Value) {
161 165
162 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)166 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
163 167
@@ -190,7 +194,7 @@ func (x *ShortcutsShortcut) UpdateState(FirstStateVar AccessibleState, varArgs .
190 // state change must be communicated to assistive technologies.194 // state change must be communicated to assistive technologies.
191 //195 //
192 // This function is meant to be used by language bindings.196 // This function is meant to be used by language bindings.
193-func (x *ShortcutsShortcut) UpdateStateValue(NStatesVar int, StatesVar uintptr, ValuesVar uintptr) {197+func (x *ShortcutsShortcut) UpdateStateValue(NStatesVar int, StatesVar []AccessibleState, ValuesVar []gobject.Value) {
194 198
195 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)199 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
196 200
M v4/gtk/gtkshortcutswindow.go +3 -3
@@ -176,7 +176,7 @@ func (x *ShortcutsWindow) UpdateProperty(FirstPropertyVar AccessibleProperty, va
176 // property change must be communicated to assistive technologies.176 // property change must be communicated to assistive technologies.
177 //177 //
178 // This function is meant to be used by language bindings.178 // This function is meant to be used by language bindings.
179-func (x *ShortcutsWindow) UpdatePropertyValue(NPropertiesVar int, PropertiesVar uintptr, ValuesVar uintptr) {179+func (x *ShortcutsWindow) UpdatePropertyValue(NPropertiesVar int, PropertiesVar []AccessibleProperty, ValuesVar []gobject.Value) {
180 180
181 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)181 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
182 182
@@ -212,7 +212,7 @@ func (x *ShortcutsWindow) UpdateRelation(FirstRelationVar AccessibleRelation, va
212 // relation change must be communicated to assistive technologies.212 // relation change must be communicated to assistive technologies.
213 //213 //
214 // This function is meant to be used by language bindings.214 // This function is meant to be used by language bindings.
215-func (x *ShortcutsWindow) UpdateRelationValue(NRelationsVar int, RelationsVar uintptr, ValuesVar uintptr) {215+func (x *ShortcutsWindow) UpdateRelationValue(NRelationsVar int, RelationsVar []AccessibleRelation, ValuesVar []gobject.Value) {
216 216
217 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)217 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
218 218
@@ -245,7 +245,7 @@ func (x *ShortcutsWindow) UpdateState(FirstStateVar AccessibleState, varArgs ...
245 // state change must be communicated to assistive technologies.245 // state change must be communicated to assistive technologies.
246 //246 //
247 // This function is meant to be used by language bindings.247 // This function is meant to be used by language bindings.
248-func (x *ShortcutsWindow) UpdateStateValue(NStatesVar int, StatesVar uintptr, ValuesVar uintptr) {248+func (x *ShortcutsWindow) UpdateStateValue(NStatesVar int, StatesVar []AccessibleState, ValuesVar []gobject.Value) {
249 249
250 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)250 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
251 251
M v4/gtk/gtksingleselection.go +2 -1
@@ -8,6 +8,7 @@ import (
8 "github.com/jwijenbergh/puregotk/internal/core"8 "github.com/jwijenbergh/puregotk/internal/core"
9 "github.com/jwijenbergh/puregotk/v4/gio"9 "github.com/jwijenbergh/puregotk/v4/gio"
10 "github.com/jwijenbergh/puregotk/v4/gobject"10 "github.com/jwijenbergh/puregotk/v4/gobject"
11+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
11 )12 )
12 13
13 type SingleSelectionClass struct {14 type SingleSelectionClass struct {
@@ -203,7 +204,7 @@ func (x *SingleSelection) GetItem(PositionVar uint) uintptr {
203 //204 //
204 // The item type of a #GListModel can not change during the life of the205 // The item type of a #GListModel can not change during the life of the
205 // model.206 // model.
206-func (x *SingleSelection) GetItemType() []interface{} {207+func (x *SingleSelection) GetItemType() types.GType {
207 208
208 cret := gio.XGListModelGetItemType(x.GoPointer())209 cret := gio.XGListModelGetItemType(x.GoPointer())
209 return cret210 return cret
M v4/gtk/gtksizerequest.go +2 -2
@@ -23,7 +23,7 @@ func (x *RequestedSize) GoPointer() uintptr {
23 return uintptr(unsafe.Pointer(x))23 return uintptr(unsafe.Pointer(x))
24 }24 }
25 25
26-var xDistributeNaturalAllocation func(int, uint, uintptr) int26+var xDistributeNaturalAllocation func(int, uint, []RequestedSize) int
27 27
28 // Distributes @extra_space to child @sizes by bringing smaller28 // Distributes @extra_space to child @sizes by bringing smaller
29 // children up to natural size first.29 // children up to natural size first.
@@ -31,7 +31,7 @@ var xDistributeNaturalAllocation func(int, uint, uintptr) int
31 // The remaining space will be added to the @minimum_size member of the31 // The remaining space will be added to the @minimum_size member of the
32 // `GtkRequestedSize` struct. If all sizes reach their natural size then32 // `GtkRequestedSize` struct. If all sizes reach their natural size then
33 // the remaining space is returned.33 // the remaining space is returned.
34-func DistributeNaturalAllocation(ExtraSpaceVar int, NRequestedSizesVar uint, SizesVar uintptr) int {34+func DistributeNaturalAllocation(ExtraSpaceVar int, NRequestedSizesVar uint, SizesVar []RequestedSize) int {
35 35
36 cret := xDistributeNaturalAllocation(ExtraSpaceVar, NRequestedSizesVar, SizesVar)36 cret := xDistributeNaturalAllocation(ExtraSpaceVar, NRequestedSizesVar, SizesVar)
37 return cret37 return cret
M v4/gtk/gtkslicelistmodel.go +2 -1
@@ -8,6 +8,7 @@ import (
8 "github.com/jwijenbergh/puregotk/internal/core"8 "github.com/jwijenbergh/puregotk/internal/core"
9 "github.com/jwijenbergh/puregotk/v4/gio"9 "github.com/jwijenbergh/puregotk/v4/gio"
10 "github.com/jwijenbergh/puregotk/v4/gobject"10 "github.com/jwijenbergh/puregotk/v4/gobject"
11+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
11 )12 )
12 13
13 type SliceListModelClass struct {14 type SliceListModelClass struct {
@@ -154,7 +155,7 @@ func (x *SliceListModel) GetItem(PositionVar uint) uintptr {
154 //155 //
155 // The item type of a #GListModel can not change during the life of the156 // The item type of a #GListModel can not change during the life of the
156 // model.157 // model.
157-func (x *SliceListModel) GetItemType() []interface{} {158+func (x *SliceListModel) GetItemType() types.GType {
158 159
159 cret := gio.XGListModelGetItemType(x.GoPointer())160 cret := gio.XGListModelGetItemType(x.GoPointer())
160 return cret161 return cret
M v4/gtk/gtksnapshot.go +14 -14
@@ -59,12 +59,12 @@ func NewSnapshot() *Snapshot {
59 return cls59 return cls
60 }60 }
61 61
62-var xSnapshotAppendBorder func(uintptr, *gsk.RoundedRect, uintptr, uintptr)62+var xSnapshotAppendBorder func(uintptr, *gsk.RoundedRect, [4]float32, [4]gdk.RGBA)
63 63
64 // Appends a stroked border rectangle inside the given @outline.64 // Appends a stroked border rectangle inside the given @outline.
65 //65 //
66 // The four sides of the border can have different widths and colors.66 // The four sides of the border can have different widths and colors.
67-func (x *Snapshot) AppendBorder(OutlineVar *gsk.RoundedRect, BorderWidthVar uintptr, BorderColorVar uintptr) {67+func (x *Snapshot) AppendBorder(OutlineVar *gsk.RoundedRect, BorderWidthVar [4]float32, BorderColorVar [4]gdk.RGBA) {
68 68
69 xSnapshotAppendBorder(x.GoPointer(), OutlineVar, BorderWidthVar, BorderColorVar)69 xSnapshotAppendBorder(x.GoPointer(), OutlineVar, BorderWidthVar, BorderColorVar)
70 70
@@ -94,10 +94,10 @@ func (x *Snapshot) AppendColor(ColorVar *gdk.RGBA, BoundsVar *graphene.Rect) {
94 94
95 }95 }
96 96
97-var xSnapshotAppendConicGradient func(uintptr, *graphene.Rect, *graphene.Point, float32, uintptr, uint)97+var xSnapshotAppendConicGradient func(uintptr, *graphene.Rect, *graphene.Point, float32, []gsk.ColorStop, uint)
98 98
99 // Appends a conic gradient node with the given stops to @snapshot.99 // Appends a conic gradient node with the given stops to @snapshot.
100-func (x *Snapshot) AppendConicGradient(BoundsVar *graphene.Rect, CenterVar *graphene.Point, RotationVar float32, StopsVar uintptr, NStopsVar uint) {100+func (x *Snapshot) AppendConicGradient(BoundsVar *graphene.Rect, CenterVar *graphene.Point, RotationVar float32, StopsVar []gsk.ColorStop, NStopsVar uint) {
101 101
102 xSnapshotAppendConicGradient(x.GoPointer(), BoundsVar, CenterVar, RotationVar, StopsVar, NStopsVar)102 xSnapshotAppendConicGradient(x.GoPointer(), BoundsVar, CenterVar, RotationVar, StopsVar, NStopsVar)
103 103
@@ -120,10 +120,10 @@ func (x *Snapshot) AppendLayout(LayoutVar *pango.Layout, ColorVar *gdk.RGBA) {
120 120
121 }121 }
122 122
123-var xSnapshotAppendLinearGradient func(uintptr, *graphene.Rect, *graphene.Point, *graphene.Point, uintptr, uint)123+var xSnapshotAppendLinearGradient func(uintptr, *graphene.Rect, *graphene.Point, *graphene.Point, []gsk.ColorStop, uint)
124 124
125 // Appends a linear gradient node with the given stops to @snapshot.125 // Appends a linear gradient node with the given stops to @snapshot.
126-func (x *Snapshot) AppendLinearGradient(BoundsVar *graphene.Rect, StartPointVar *graphene.Point, EndPointVar *graphene.Point, StopsVar uintptr, NStopsVar uint) {126+func (x *Snapshot) AppendLinearGradient(BoundsVar *graphene.Rect, StartPointVar *graphene.Point, EndPointVar *graphene.Point, StopsVar []gsk.ColorStop, NStopsVar uint) {
127 127
128 xSnapshotAppendLinearGradient(x.GoPointer(), BoundsVar, StartPointVar, EndPointVar, StopsVar, NStopsVar)128 xSnapshotAppendLinearGradient(x.GoPointer(), BoundsVar, StartPointVar, EndPointVar, StopsVar, NStopsVar)
129 129
@@ -151,28 +151,28 @@ func (x *Snapshot) AppendOutsetShadow(OutlineVar *gsk.RoundedRect, ColorVar *gdk
151 151
152 }152 }
153 153
154-var xSnapshotAppendRadialGradient func(uintptr, *graphene.Rect, *graphene.Point, float32, float32, float32, float32, uintptr, uint)154+var xSnapshotAppendRadialGradient func(uintptr, *graphene.Rect, *graphene.Point, float32, float32, float32, float32, []gsk.ColorStop, uint)
155 155
156 // Appends a radial gradient node with the given stops to @snapshot.156 // Appends a radial gradient node with the given stops to @snapshot.
157-func (x *Snapshot) AppendRadialGradient(BoundsVar *graphene.Rect, CenterVar *graphene.Point, HradiusVar float32, VradiusVar float32, StartVar float32, EndVar float32, StopsVar uintptr, NStopsVar uint) {157+func (x *Snapshot) AppendRadialGradient(BoundsVar *graphene.Rect, CenterVar *graphene.Point, HradiusVar float32, VradiusVar float32, StartVar float32, EndVar float32, StopsVar []gsk.ColorStop, NStopsVar uint) {
158 158
159 xSnapshotAppendRadialGradient(x.GoPointer(), BoundsVar, CenterVar, HradiusVar, VradiusVar, StartVar, EndVar, StopsVar, NStopsVar)159 xSnapshotAppendRadialGradient(x.GoPointer(), BoundsVar, CenterVar, HradiusVar, VradiusVar, StartVar, EndVar, StopsVar, NStopsVar)
160 160
161 }161 }
162 162
163-var xSnapshotAppendRepeatingLinearGradient func(uintptr, *graphene.Rect, *graphene.Point, *graphene.Point, uintptr, uint)163+var xSnapshotAppendRepeatingLinearGradient func(uintptr, *graphene.Rect, *graphene.Point, *graphene.Point, []gsk.ColorStop, uint)
164 164
165 // Appends a repeating linear gradient node with the given stops to @snapshot.165 // Appends a repeating linear gradient node with the given stops to @snapshot.
166-func (x *Snapshot) AppendRepeatingLinearGradient(BoundsVar *graphene.Rect, StartPointVar *graphene.Point, EndPointVar *graphene.Point, StopsVar uintptr, NStopsVar uint) {166+func (x *Snapshot) AppendRepeatingLinearGradient(BoundsVar *graphene.Rect, StartPointVar *graphene.Point, EndPointVar *graphene.Point, StopsVar []gsk.ColorStop, NStopsVar uint) {
167 167
168 xSnapshotAppendRepeatingLinearGradient(x.GoPointer(), BoundsVar, StartPointVar, EndPointVar, StopsVar, NStopsVar)168 xSnapshotAppendRepeatingLinearGradient(x.GoPointer(), BoundsVar, StartPointVar, EndPointVar, StopsVar, NStopsVar)
169 169
170 }170 }
171 171
172-var xSnapshotAppendRepeatingRadialGradient func(uintptr, *graphene.Rect, *graphene.Point, float32, float32, float32, float32, uintptr, uint)172+var xSnapshotAppendRepeatingRadialGradient func(uintptr, *graphene.Rect, *graphene.Point, float32, float32, float32, float32, []gsk.ColorStop, uint)
173 173
174 // Appends a repeating radial gradient node with the given stops to @snapshot.174 // Appends a repeating radial gradient node with the given stops to @snapshot.
175-func (x *Snapshot) AppendRepeatingRadialGradient(BoundsVar *graphene.Rect, CenterVar *graphene.Point, HradiusVar float32, VradiusVar float32, StartVar float32, EndVar float32, StopsVar uintptr, NStopsVar uint) {175+func (x *Snapshot) AppendRepeatingRadialGradient(BoundsVar *graphene.Rect, CenterVar *graphene.Point, HradiusVar float32, VradiusVar float32, StartVar float32, EndVar float32, StopsVar []gsk.ColorStop, NStopsVar uint) {
176 176
177 xSnapshotAppendRepeatingRadialGradient(x.GoPointer(), BoundsVar, CenterVar, HradiusVar, VradiusVar, StartVar, EndVar, StopsVar, NStopsVar)177 xSnapshotAppendRepeatingRadialGradient(x.GoPointer(), BoundsVar, CenterVar, HradiusVar, VradiusVar, StartVar, EndVar, StopsVar, NStopsVar)
178 178
@@ -414,12 +414,12 @@ func (x *Snapshot) PushRoundedClip(BoundsVar *gsk.RoundedRect) {
414 414
415 }415 }
416 416
417-var xSnapshotPushShadow func(uintptr, uintptr, uint)417+var xSnapshotPushShadow func(uintptr, []gsk.Shadow, uint)
418 418
419 // Applies a shadow to an image.419 // Applies a shadow to an image.
420 //420 //
421 // The image is recorded until the next call to [method@Gtk.Snapshot.pop].421 // The image is recorded until the next call to [method@Gtk.Snapshot.pop].
422-func (x *Snapshot) PushShadow(ShadowVar uintptr, NShadowsVar uint) {422+func (x *Snapshot) PushShadow(ShadowVar []gsk.Shadow, NShadowsVar uint) {
423 423
424 xSnapshotPushShadow(x.GoPointer(), ShadowVar, NShadowsVar)424 xSnapshotPushShadow(x.GoPointer(), ShadowVar, NShadowsVar)
425 425
M v4/gtk/gtksortlistmodel.go +2 -1
@@ -8,6 +8,7 @@ import (
8 "github.com/jwijenbergh/puregotk/internal/core"8 "github.com/jwijenbergh/puregotk/internal/core"
9 "github.com/jwijenbergh/puregotk/v4/gio"9 "github.com/jwijenbergh/puregotk/v4/gio"
10 "github.com/jwijenbergh/puregotk/v4/gobject"10 "github.com/jwijenbergh/puregotk/v4/gobject"
11+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
11 )12 )
12 13
13 type SortListModelClass struct {14 type SortListModelClass struct {
@@ -208,7 +209,7 @@ func (x *SortListModel) GetItem(PositionVar uint) uintptr {
208 //209 //
209 // The item type of a #GListModel can not change during the life of the210 // The item type of a #GListModel can not change during the life of the
210 // model.211 // model.
211-func (x *SortListModel) GetItemType() []interface{} {212+func (x *SortListModel) GetItemType() types.GType {
212 213
213 cret := gio.XGListModelGetItemType(x.GoPointer())214 cret := gio.XGListModelGetItemType(x.GoPointer())
214 return cret215 return cret
M v4/gtk/gtkspinbutton.go +3 -3
@@ -693,7 +693,7 @@ func (x *SpinButton) UpdateProperty(FirstPropertyVar AccessibleProperty, varArgs
693 // property change must be communicated to assistive technologies.693 // property change must be communicated to assistive technologies.
694 //694 //
695 // This function is meant to be used by language bindings.695 // This function is meant to be used by language bindings.
696-func (x *SpinButton) UpdatePropertyValue(NPropertiesVar int, PropertiesVar uintptr, ValuesVar uintptr) {696+func (x *SpinButton) UpdatePropertyValue(NPropertiesVar int, PropertiesVar []AccessibleProperty, ValuesVar []gobject.Value) {
697 697
698 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)698 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
699 699
@@ -729,7 +729,7 @@ func (x *SpinButton) UpdateRelation(FirstRelationVar AccessibleRelation, varArgs
729 // relation change must be communicated to assistive technologies.729 // relation change must be communicated to assistive technologies.
730 //730 //
731 // This function is meant to be used by language bindings.731 // This function is meant to be used by language bindings.
732-func (x *SpinButton) UpdateRelationValue(NRelationsVar int, RelationsVar uintptr, ValuesVar uintptr) {732+func (x *SpinButton) UpdateRelationValue(NRelationsVar int, RelationsVar []AccessibleRelation, ValuesVar []gobject.Value) {
733 733
734 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)734 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
735 735
@@ -762,7 +762,7 @@ func (x *SpinButton) UpdateState(FirstStateVar AccessibleState, varArgs ...inter
762 // state change must be communicated to assistive technologies.762 // state change must be communicated to assistive technologies.
763 //763 //
764 // This function is meant to be used by language bindings.764 // This function is meant to be used by language bindings.
765-func (x *SpinButton) UpdateStateValue(NStatesVar int, StatesVar uintptr, ValuesVar uintptr) {765+func (x *SpinButton) UpdateStateValue(NStatesVar int, StatesVar []AccessibleState, ValuesVar []gobject.Value) {
766 766
767 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)767 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
768 768
M v4/gtk/gtkspinner.go +3 -3
@@ -151,7 +151,7 @@ func (x *Spinner) UpdateProperty(FirstPropertyVar AccessibleProperty, varArgs ..
151 // property change must be communicated to assistive technologies.151 // property change must be communicated to assistive technologies.
152 //152 //
153 // This function is meant to be used by language bindings.153 // This function is meant to be used by language bindings.
154-func (x *Spinner) UpdatePropertyValue(NPropertiesVar int, PropertiesVar uintptr, ValuesVar uintptr) {154+func (x *Spinner) UpdatePropertyValue(NPropertiesVar int, PropertiesVar []AccessibleProperty, ValuesVar []gobject.Value) {
155 155
156 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)156 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
157 157
@@ -187,7 +187,7 @@ func (x *Spinner) UpdateRelation(FirstRelationVar AccessibleRelation, varArgs ..
187 // relation change must be communicated to assistive technologies.187 // relation change must be communicated to assistive technologies.
188 //188 //
189 // This function is meant to be used by language bindings.189 // This function is meant to be used by language bindings.
190-func (x *Spinner) UpdateRelationValue(NRelationsVar int, RelationsVar uintptr, ValuesVar uintptr) {190+func (x *Spinner) UpdateRelationValue(NRelationsVar int, RelationsVar []AccessibleRelation, ValuesVar []gobject.Value) {
191 191
192 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)192 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
193 193
@@ -220,7 +220,7 @@ func (x *Spinner) UpdateState(FirstStateVar AccessibleState, varArgs ...interfac
220 // state change must be communicated to assistive technologies.220 // state change must be communicated to assistive technologies.
221 //221 //
222 // This function is meant to be used by language bindings.222 // This function is meant to be used by language bindings.
223-func (x *Spinner) UpdateStateValue(NStatesVar int, StatesVar uintptr, ValuesVar uintptr) {223+func (x *Spinner) UpdateStateValue(NStatesVar int, StatesVar []AccessibleState, ValuesVar []gobject.Value) {
224 224
225 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)225 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
226 226
M v4/gtk/gtkstack.go +6 -6
@@ -528,7 +528,7 @@ func (x *Stack) UpdateProperty(FirstPropertyVar AccessibleProperty, varArgs ...i
528 // property change must be communicated to assistive technologies.528 // property change must be communicated to assistive technologies.
529 //529 //
530 // This function is meant to be used by language bindings.530 // This function is meant to be used by language bindings.
531-func (x *Stack) UpdatePropertyValue(NPropertiesVar int, PropertiesVar uintptr, ValuesVar uintptr) {531+func (x *Stack) UpdatePropertyValue(NPropertiesVar int, PropertiesVar []AccessibleProperty, ValuesVar []gobject.Value) {
532 532
533 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)533 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
534 534
@@ -564,7 +564,7 @@ func (x *Stack) UpdateRelation(FirstRelationVar AccessibleRelation, varArgs ...i
564 // relation change must be communicated to assistive technologies.564 // relation change must be communicated to assistive technologies.
565 //565 //
566 // This function is meant to be used by language bindings.566 // This function is meant to be used by language bindings.
567-func (x *Stack) UpdateRelationValue(NRelationsVar int, RelationsVar uintptr, ValuesVar uintptr) {567+func (x *Stack) UpdateRelationValue(NRelationsVar int, RelationsVar []AccessibleRelation, ValuesVar []gobject.Value) {
568 568
569 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)569 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
570 570
@@ -597,7 +597,7 @@ func (x *Stack) UpdateState(FirstStateVar AccessibleState, varArgs ...interface{
597 // state change must be communicated to assistive technologies.597 // state change must be communicated to assistive technologies.
598 //598 //
599 // This function is meant to be used by language bindings.599 // This function is meant to be used by language bindings.
600-func (x *Stack) UpdateStateValue(NStatesVar int, StatesVar uintptr, ValuesVar uintptr) {600+func (x *Stack) UpdateStateValue(NStatesVar int, StatesVar []AccessibleState, ValuesVar []gobject.Value) {
601 601
602 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)602 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
603 603
@@ -818,7 +818,7 @@ func (x *StackPage) UpdateProperty(FirstPropertyVar AccessibleProperty, varArgs
818 // property change must be communicated to assistive technologies.818 // property change must be communicated to assistive technologies.
819 //819 //
820 // This function is meant to be used by language bindings.820 // This function is meant to be used by language bindings.
821-func (x *StackPage) UpdatePropertyValue(NPropertiesVar int, PropertiesVar uintptr, ValuesVar uintptr) {821+func (x *StackPage) UpdatePropertyValue(NPropertiesVar int, PropertiesVar []AccessibleProperty, ValuesVar []gobject.Value) {
822 822
823 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)823 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
824 824
@@ -854,7 +854,7 @@ func (x *StackPage) UpdateRelation(FirstRelationVar AccessibleRelation, varArgs
854 // relation change must be communicated to assistive technologies.854 // relation change must be communicated to assistive technologies.
855 //855 //
856 // This function is meant to be used by language bindings.856 // This function is meant to be used by language bindings.
857-func (x *StackPage) UpdateRelationValue(NRelationsVar int, RelationsVar uintptr, ValuesVar uintptr) {857+func (x *StackPage) UpdateRelationValue(NRelationsVar int, RelationsVar []AccessibleRelation, ValuesVar []gobject.Value) {
858 858
859 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)859 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
860 860
@@ -887,7 +887,7 @@ func (x *StackPage) UpdateState(FirstStateVar AccessibleState, varArgs ...interf
887 // state change must be communicated to assistive technologies.887 // state change must be communicated to assistive technologies.
888 //888 //
889 // This function is meant to be used by language bindings.889 // This function is meant to be used by language bindings.
890-func (x *StackPage) UpdateStateValue(NStatesVar int, StatesVar uintptr, ValuesVar uintptr) {890+func (x *StackPage) UpdateStateValue(NStatesVar int, StatesVar []AccessibleState, ValuesVar []gobject.Value) {
891 891
892 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)892 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
893 893
M v4/gtk/gtkstacksidebar.go +3 -3
@@ -144,7 +144,7 @@ func (x *StackSidebar) UpdateProperty(FirstPropertyVar AccessibleProperty, varAr
144 // property change must be communicated to assistive technologies.144 // property change must be communicated to assistive technologies.
145 //145 //
146 // This function is meant to be used by language bindings.146 // This function is meant to be used by language bindings.
147-func (x *StackSidebar) UpdatePropertyValue(NPropertiesVar int, PropertiesVar uintptr, ValuesVar uintptr) {147+func (x *StackSidebar) UpdatePropertyValue(NPropertiesVar int, PropertiesVar []AccessibleProperty, ValuesVar []gobject.Value) {
148 148
149 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)149 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
150 150
@@ -180,7 +180,7 @@ func (x *StackSidebar) UpdateRelation(FirstRelationVar AccessibleRelation, varAr
180 // relation change must be communicated to assistive technologies.180 // relation change must be communicated to assistive technologies.
181 //181 //
182 // This function is meant to be used by language bindings.182 // This function is meant to be used by language bindings.
183-func (x *StackSidebar) UpdateRelationValue(NRelationsVar int, RelationsVar uintptr, ValuesVar uintptr) {183+func (x *StackSidebar) UpdateRelationValue(NRelationsVar int, RelationsVar []AccessibleRelation, ValuesVar []gobject.Value) {
184 184
185 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)185 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
186 186
@@ -213,7 +213,7 @@ func (x *StackSidebar) UpdateState(FirstStateVar AccessibleState, varArgs ...int
213 // state change must be communicated to assistive technologies.213 // state change must be communicated to assistive technologies.
214 //214 //
215 // This function is meant to be used by language bindings.215 // This function is meant to be used by language bindings.
216-func (x *StackSidebar) UpdateStateValue(NStatesVar int, StatesVar uintptr, ValuesVar uintptr) {216+func (x *StackSidebar) UpdateStateValue(NStatesVar int, StatesVar []AccessibleState, ValuesVar []gobject.Value) {
217 217
218 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)218 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
219 219
M v4/gtk/gtkstackswitcher.go +3 -3
@@ -159,7 +159,7 @@ func (x *StackSwitcher) UpdateProperty(FirstPropertyVar AccessibleProperty, varA
159 // property change must be communicated to assistive technologies.159 // property change must be communicated to assistive technologies.
160 //160 //
161 // This function is meant to be used by language bindings.161 // This function is meant to be used by language bindings.
162-func (x *StackSwitcher) UpdatePropertyValue(NPropertiesVar int, PropertiesVar uintptr, ValuesVar uintptr) {162+func (x *StackSwitcher) UpdatePropertyValue(NPropertiesVar int, PropertiesVar []AccessibleProperty, ValuesVar []gobject.Value) {
163 163
164 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)164 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
165 165
@@ -195,7 +195,7 @@ func (x *StackSwitcher) UpdateRelation(FirstRelationVar AccessibleRelation, varA
195 // relation change must be communicated to assistive technologies.195 // relation change must be communicated to assistive technologies.
196 //196 //
197 // This function is meant to be used by language bindings.197 // This function is meant to be used by language bindings.
198-func (x *StackSwitcher) UpdateRelationValue(NRelationsVar int, RelationsVar uintptr, ValuesVar uintptr) {198+func (x *StackSwitcher) UpdateRelationValue(NRelationsVar int, RelationsVar []AccessibleRelation, ValuesVar []gobject.Value) {
199 199
200 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)200 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
201 201
@@ -228,7 +228,7 @@ func (x *StackSwitcher) UpdateState(FirstStateVar AccessibleState, varArgs ...in
228 // state change must be communicated to assistive technologies.228 // state change must be communicated to assistive technologies.
229 //229 //
230 // This function is meant to be used by language bindings.230 // This function is meant to be used by language bindings.
231-func (x *StackSwitcher) UpdateStateValue(NStatesVar int, StatesVar uintptr, ValuesVar uintptr) {231+func (x *StackSwitcher) UpdateStateValue(NStatesVar int, StatesVar []AccessibleState, ValuesVar []gobject.Value) {
232 232
233 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)233 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
234 234
M v4/gtk/gtkstatusbar.go +3 -3
@@ -234,7 +234,7 @@ func (x *Statusbar) UpdateProperty(FirstPropertyVar AccessibleProperty, varArgs
234 // property change must be communicated to assistive technologies.234 // property change must be communicated to assistive technologies.
235 //235 //
236 // This function is meant to be used by language bindings.236 // This function is meant to be used by language bindings.
237-func (x *Statusbar) UpdatePropertyValue(NPropertiesVar int, PropertiesVar uintptr, ValuesVar uintptr) {237+func (x *Statusbar) UpdatePropertyValue(NPropertiesVar int, PropertiesVar []AccessibleProperty, ValuesVar []gobject.Value) {
238 238
239 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)239 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
240 240
@@ -270,7 +270,7 @@ func (x *Statusbar) UpdateRelation(FirstRelationVar AccessibleRelation, varArgs
270 // relation change must be communicated to assistive technologies.270 // relation change must be communicated to assistive technologies.
271 //271 //
272 // This function is meant to be used by language bindings.272 // This function is meant to be used by language bindings.
273-func (x *Statusbar) UpdateRelationValue(NRelationsVar int, RelationsVar uintptr, ValuesVar uintptr) {273+func (x *Statusbar) UpdateRelationValue(NRelationsVar int, RelationsVar []AccessibleRelation, ValuesVar []gobject.Value) {
274 274
275 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)275 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
276 276
@@ -303,7 +303,7 @@ func (x *Statusbar) UpdateState(FirstStateVar AccessibleState, varArgs ...interf
303 // state change must be communicated to assistive technologies.303 // state change must be communicated to assistive technologies.
304 //304 //
305 // This function is meant to be used by language bindings.305 // This function is meant to be used by language bindings.
306-func (x *Statusbar) UpdateStateValue(NStatesVar int, StatesVar uintptr, ValuesVar uintptr) {306+func (x *Statusbar) UpdateStateValue(NStatesVar int, StatesVar []AccessibleState, ValuesVar []gobject.Value) {
307 307
308 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)308 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
309 309
M v4/gtk/gtkstringlist.go +6 -5 collapsed to keep the page light
M v4/gtk/gtkswitch.go +3 -3 collapsed to keep the page light
M v4/gtk/gtksymbolicpaintable.go +3 -3 collapsed to keep the page light
M v4/gtk/gtktestutils.go +5 -4 collapsed to keep the page light
M v4/gtk/gtktext.go +3 -3 collapsed to keep the page light
M v4/gtk/gtktextmark.go +1 -1 collapsed to keep the page light
M v4/gtk/gtktexttag.go +1 -1 collapsed to keep the page light
M v4/gtk/gtktextview.go +4 -4 collapsed to keep the page light
M v4/gtk/gtktogglebutton.go +4 -4 collapsed to keep the page light
M v4/gtk/gtktreeexpander.go +3 -3 collapsed to keep the page light
M v4/gtk/gtktreelistmodel.go +2 -1 collapsed to keep the page light
M v4/gtk/gtktreemodel.go +13 -12 collapsed to keep the page light
M v4/gtk/gtktreemodelfilter.go +6 -5 collapsed to keep the page light
M v4/gtk/gtktreemodelsort.go +4 -3 collapsed to keep the page light
M v4/gtk/gtktreestore.go +14 -13 collapsed to keep the page light
M v4/gtk/gtktreeview.go +4 -4 collapsed to keep the page light
M v4/gtk/gtkvideo.go +3 -3 collapsed to keep the page light
M v4/gtk/gtkviewport.go +3 -3 collapsed to keep the page light
M v4/gtk/gtkvolumebutton.go +3 -3 collapsed to keep the page light
M v4/gtk/gtkwidget.go +17 -16 collapsed to keep the page light
M v4/gtk/gtkwindow.go +4 -4 collapsed to keep the page light
M v4/gtk/gtkwindowcontrols.go +3 -3 collapsed to keep the page light
M v4/gtk/gtkwindowhandle.go +3 -3 collapsed to keep the page light
M v4/pango/pango-break.go +8 -8 collapsed to keep the page light
M v4/pango/pango-coverage.go +4 -4 collapsed to keep the page light
M v4/pango/pango-font.go +6 -6 collapsed to keep the page light
M v4/pango/pango-glyph-item.go +4 -4 collapsed to keep the page light
M v4/pango/pango-glyph.go +3 -3 collapsed to keep the page light
M v4/pango/pango-layout.go +4 -4 collapsed to keep the page light
M v4/pango/pango-tabs.go +2 -2 collapsed to keep the page light
M v4/pango/pango-types.go +2 -2 collapsed to keep the page light
M v4/pango/pango-utils.go +3 -2 collapsed to keep the page light

Keyboard shortcuts

Single-key shortcuts are on. ctrl k and esc work whatever this says.

ctrl k :
go to a section, branch, tag, file or repository
?
this list
j k
move the row cursor down / up
enter
open the row under the cursor; on Files, a directory opens or closes in place
↑ ↓ ← → home end
in the file tree (focus on a row): previous / next row, close / open a directory or go to its parent / first entry, first / last row. They never open a file
l h
on Files: open a directory or a file / close a directory or go up to its parent, then to the parent page. Elsewhere: into the side panel (on a merge request, its files) / back to the content; there j k move between its controls
g g G
first / last row
/
filter the list; on Files, find a file anywhere in the repository (esc clears, enter opens the best match)
b
switch branch or tag
g s g f g c g b g m g i g r g a
tabs: summary, files, commits, branches & tags, merge requests, issues, releases, actions (when available)
g h
home
w
wide mode: use the whole width of the screen, or not (remembered)
y
copy a permalink pinned to the commit
d u x
diff: split / unified / collapse or expand all
e E
diff: the whole file in view / every file, with the lines the hunks hide
n
merge request: next note in the diff
esc
close a dialog, leave a field

Branches 1

Tags 102

↑↓ moveenter openesc close