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 {
362362 return cret
363363 }
364364
365-var xAboutWindowGetArtists func(uintptr) uintptr
365+var xAboutWindowGetArtists func(uintptr) []string
366366
367367 // Gets the list of artists of the application.
368-func (x *AboutWindow) GetArtists() uintptr {
368+func (x *AboutWindow) GetArtists() []string {
369369
370370 cret := xAboutWindowGetArtists(x.GoPointer())
371371 return cret
@@ -407,10 +407,10 @@ func (x *AboutWindow) GetDebugInfoFilename() string {
407407 return cret
408408 }
409409
410-var xAboutWindowGetDesigners func(uintptr) uintptr
410+var xAboutWindowGetDesigners func(uintptr) []string
411411
412412 // Gets the list of designers of the application.
413-func (x *AboutWindow) GetDesigners() uintptr {
413+func (x *AboutWindow) GetDesigners() []string {
414414
415415 cret := xAboutWindowGetDesigners(x.GoPointer())
416416 return cret
@@ -425,19 +425,19 @@ func (x *AboutWindow) GetDeveloperName() string {
425425 return cret
426426 }
427427
428-var xAboutWindowGetDevelopers func(uintptr) uintptr
428+var xAboutWindowGetDevelopers func(uintptr) []string
429429
430430 // Gets the list of developers of the application.
431-func (x *AboutWindow) GetDevelopers() uintptr {
431+func (x *AboutWindow) GetDevelopers() []string {
432432
433433 cret := xAboutWindowGetDevelopers(x.GoPointer())
434434 return cret
435435 }
436436
437-var xAboutWindowGetDocumenters func(uintptr) uintptr
437+var xAboutWindowGetDocumenters func(uintptr) []string
438438
439439 // Gets the list of documenters of the application.
440-func (x *AboutWindow) GetDocumenters() uintptr {
440+func (x *AboutWindow) GetDocumenters() []string {
441441
442442 cret := xAboutWindowGetDocumenters(x.GoPointer())
443443 return cret
@@ -983,7 +983,7 @@ func (x *AboutWindow) UpdateProperty(FirstPropertyVar gtk.AccessibleProperty, va
983983 // property change must be communicated to assistive technologies.
984984 //
985985 // 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) {
987987
988988 gtk.XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
989989
@@ -1019,7 +1019,7 @@ func (x *AboutWindow) UpdateRelation(FirstRelationVar gtk.AccessibleRelation, va
10191019 // relation change must be communicated to assistive technologies.
10201020 //
10211021 // 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) {
10231023
10241024 gtk.XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
10251025
@@ -1052,7 +1052,7 @@ func (x *AboutWindow) UpdateState(FirstStateVar gtk.AccessibleState, varArgs ...
10521052 // state change must be communicated to assistive technologies.
10531053 //
10541054 // 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) {
10561056
10571057 gtk.XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
10581058
M v4/adw/adw-action-row.go +4 -4
@@ -14,7 +14,7 @@ import (
1414 type ActionRowClass struct {
1515 ParentClass uintptr
1616
17- Padding uintptr
17+ Padding [4]uintptr
1818 }
1919
2020 func (x *ActionRowClass) GoPointer() uintptr {
@@ -342,7 +342,7 @@ func (x *ActionRow) UpdateProperty(FirstPropertyVar gtk.AccessibleProperty, varA
342342 // property change must be communicated to assistive technologies.
343343 //
344344 // 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) {
346346
347347 gtk.XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
348348
@@ -378,7 +378,7 @@ func (x *ActionRow) UpdateRelation(FirstRelationVar gtk.AccessibleRelation, varA
378378 // relation change must be communicated to assistive technologies.
379379 //
380380 // 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) {
382382
383383 gtk.XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
384384
@@ -411,7 +411,7 @@ func (x *ActionRow) UpdateState(FirstStateVar gtk.AccessibleState, varArgs ...in
411411 // state change must be communicated to assistive technologies.
412412 //
413413 // 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) {
415415
416416 gtk.XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
417417
M v4/adw/adw-application-window.go +6 -6
@@ -17,7 +17,7 @@ import (
1717 type ApplicationWindowClass struct {
1818 ParentClass uintptr
1919
20- Padding uintptr
20+ Padding [4]uintptr
2121 }
2222
2323 func (x *ApplicationWindowClass) GoPointer() uintptr {
@@ -297,7 +297,7 @@ func (x *ApplicationWindow) HasAction(ActionNameVar string) bool {
297297 //
298298 // The caller is responsible for freeing the list with g_strfreev() when
299299 // it is no longer required.
300-func (x *ApplicationWindow) ListActions() uintptr {
300+func (x *ApplicationWindow) ListActions() []string {
301301
302302 cret := gio.XGActionGroupListActions(x.GoPointer())
303303 return cret
@@ -391,7 +391,7 @@ func (x *ApplicationWindow) AddAction(ActionVar gio.Action) {
391391 // }
392392 //
393393 // ]|
394-func (x *ApplicationWindow) AddActionEntries(EntriesVar uintptr, NEntriesVar int, UserDataVar uintptr) {
394+func (x *ApplicationWindow) AddActionEntries(EntriesVar []gio.ActionEntry, NEntriesVar int, UserDataVar uintptr) {
395395
396396 gio.XGActionMapAddActionEntries(x.GoPointer(), EntriesVar, NEntriesVar, UserDataVar)
397397
@@ -481,7 +481,7 @@ func (x *ApplicationWindow) UpdateProperty(FirstPropertyVar gtk.AccessibleProper
481481 // property change must be communicated to assistive technologies.
482482 //
483483 // 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) {
485485
486486 gtk.XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
487487
@@ -517,7 +517,7 @@ func (x *ApplicationWindow) UpdateRelation(FirstRelationVar gtk.AccessibleRelati
517517 // relation change must be communicated to assistive technologies.
518518 //
519519 // 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) {
521521
522522 gtk.XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
523523
@@ -550,7 +550,7 @@ func (x *ApplicationWindow) UpdateState(FirstStateVar gtk.AccessibleState, varAr
550550 // state change must be communicated to assistive technologies.
551551 //
552552 // 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) {
554554
555555 gtk.XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
556556
M v4/adw/adw-application.go +3 -3
@@ -15,7 +15,7 @@ import (
1515 type ApplicationClass struct {
1616 ParentClass uintptr
1717
18- Padding uintptr
18+ Padding [4]uintptr
1919 }
2020
2121 func (x *ApplicationClass) GoPointer() uintptr {
@@ -300,7 +300,7 @@ func (x *Application) HasAction(ActionNameVar string) bool {
300300 //
301301 // The caller is responsible for freeing the list with g_strfreev() when
302302 // it is no longer required.
303-func (x *Application) ListActions() uintptr {
303+func (x *Application) ListActions() []string {
304304
305305 cret := gio.XGActionGroupListActions(x.GoPointer())
306306 return cret
@@ -394,7 +394,7 @@ func (x *Application) AddAction(ActionVar gio.Action) {
394394 // }
395395 //
396396 // ]|
397-func (x *Application) AddActionEntries(EntriesVar uintptr, NEntriesVar int, UserDataVar uintptr) {
397+func (x *Application) AddActionEntries(EntriesVar []gio.ActionEntry, NEntriesVar int, UserDataVar uintptr) {
398398
399399 gio.XGActionMapAddActionEntries(x.GoPointer(), EntriesVar, NEntriesVar, UserDataVar)
400400
M v4/adw/adw-avatar.go +3 -3
@@ -262,7 +262,7 @@ func (x *Avatar) UpdateProperty(FirstPropertyVar gtk.AccessibleProperty, varArgs
262262 // property change must be communicated to assistive technologies.
263263 //
264264 // 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) {
266266
267267 gtk.XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
268268
@@ -298,7 +298,7 @@ func (x *Avatar) UpdateRelation(FirstRelationVar gtk.AccessibleRelation, varArgs
298298 // relation change must be communicated to assistive technologies.
299299 //
300300 // 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) {
302302
303303 gtk.XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
304304
@@ -331,7 +331,7 @@ func (x *Avatar) UpdateState(FirstStateVar gtk.AccessibleState, varArgs ...inter
331331 // state change must be communicated to assistive technologies.
332332 //
333333 // 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) {
335335
336336 gtk.XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
337337
M v4/adw/adw-banner.go +3 -3
@@ -239,7 +239,7 @@ func (x *Banner) UpdateProperty(FirstPropertyVar gtk.AccessibleProperty, varArgs
239239 // property change must be communicated to assistive technologies.
240240 //
241241 // 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) {
243243
244244 gtk.XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
245245
@@ -275,7 +275,7 @@ func (x *Banner) UpdateRelation(FirstRelationVar gtk.AccessibleRelation, varArgs
275275 // relation change must be communicated to assistive technologies.
276276 //
277277 // 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) {
279279
280280 gtk.XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
281281
@@ -308,7 +308,7 @@ func (x *Banner) UpdateState(FirstStateVar gtk.AccessibleState, varArgs ...inter
308308 // state change must be communicated to assistive technologies.
309309 //
310310 // 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) {
312312
313313 gtk.XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
314314
M v4/adw/adw-bin.go +3 -3
@@ -151,7 +151,7 @@ func (x *Bin) UpdateProperty(FirstPropertyVar gtk.AccessibleProperty, varArgs ..
151151 // property change must be communicated to assistive technologies.
152152 //
153153 // 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) {
155155
156156 gtk.XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
157157
@@ -187,7 +187,7 @@ func (x *Bin) UpdateRelation(FirstRelationVar gtk.AccessibleRelation, varArgs ..
187187 // relation change must be communicated to assistive technologies.
188188 //
189189 // 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) {
191191
192192 gtk.XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
193193
@@ -220,7 +220,7 @@ func (x *Bin) UpdateState(FirstStateVar gtk.AccessibleState, varArgs ...interfac
220220 // state change must be communicated to assistive technologies.
221221 //
222222 // 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) {
224224
225225 gtk.XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
226226
M v4/adw/adw-button-content.go +3 -3
@@ -221,7 +221,7 @@ func (x *ButtonContent) UpdateProperty(FirstPropertyVar gtk.AccessibleProperty,
221221 // property change must be communicated to assistive technologies.
222222 //
223223 // 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) {
225225
226226 gtk.XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
227227
@@ -257,7 +257,7 @@ func (x *ButtonContent) UpdateRelation(FirstRelationVar gtk.AccessibleRelation,
257257 // relation change must be communicated to assistive technologies.
258258 //
259259 // 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) {
261261
262262 gtk.XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
263263
@@ -290,7 +290,7 @@ func (x *ButtonContent) UpdateState(FirstStateVar gtk.AccessibleState, varArgs .
290290 // state change must be communicated to assistive technologies.
291291 //
292292 // 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) {
294294
295295 gtk.XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
296296
M v4/adw/adw-carousel-indicator-dots.go +3 -3
@@ -157,7 +157,7 @@ func (x *CarouselIndicatorDots) UpdateProperty(FirstPropertyVar gtk.AccessiblePr
157157 // property change must be communicated to assistive technologies.
158158 //
159159 // 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) {
161161
162162 gtk.XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
163163
@@ -193,7 +193,7 @@ func (x *CarouselIndicatorDots) UpdateRelation(FirstRelationVar gtk.AccessibleRe
193193 // relation change must be communicated to assistive technologies.
194194 //
195195 // 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) {
197197
198198 gtk.XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
199199
@@ -226,7 +226,7 @@ func (x *CarouselIndicatorDots) UpdateState(FirstStateVar gtk.AccessibleState, v
226226 // state change must be communicated to assistive technologies.
227227 //
228228 // 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) {
230230
231231 gtk.XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
232232
M v4/adw/adw-carousel-indicator-lines.go +3 -3
@@ -156,7 +156,7 @@ func (x *CarouselIndicatorLines) UpdateProperty(FirstPropertyVar gtk.AccessibleP
156156 // property change must be communicated to assistive technologies.
157157 //
158158 // 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) {
160160
161161 gtk.XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
162162
@@ -192,7 +192,7 @@ func (x *CarouselIndicatorLines) UpdateRelation(FirstRelationVar gtk.AccessibleR
192192 // relation change must be communicated to assistive technologies.
193193 //
194194 // 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) {
196196
197197 gtk.XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
198198
@@ -225,7 +225,7 @@ func (x *CarouselIndicatorLines) UpdateState(FirstStateVar gtk.AccessibleState,
225225 // state change must be communicated to assistive technologies.
226226 //
227227 // 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) {
229229
230230 gtk.XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
231231
M v4/adw/adw-carousel.go +4 -4
@@ -367,7 +367,7 @@ func (x *Carousel) GetProgress() float64 {
367367 //
368368 // Each snap point represents a progress value that is considered acceptable to
369369 // end the swipe on.
370-func (x *Carousel) GetSnapPoints(NSnapPointsVar int) uintptr {
370+func (x *Carousel) GetSnapPoints(NSnapPointsVar int) []float64 {
371371
372372 cret := XAdwSwipeableGetSnapPoints(x.GoPointer(), NSnapPointsVar)
373373 return cret
@@ -446,7 +446,7 @@ func (x *Carousel) UpdateProperty(FirstPropertyVar gtk.AccessibleProperty, varAr
446446 // property change must be communicated to assistive technologies.
447447 //
448448 // 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) {
450450
451451 gtk.XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
452452
@@ -482,7 +482,7 @@ func (x *Carousel) UpdateRelation(FirstRelationVar gtk.AccessibleRelation, varAr
482482 // relation change must be communicated to assistive technologies.
483483 //
484484 // 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) {
486486
487487 gtk.XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
488488
@@ -515,7 +515,7 @@ func (x *Carousel) UpdateState(FirstStateVar gtk.AccessibleState, varArgs ...int
515515 // state change must be communicated to assistive technologies.
516516 //
517517 // 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) {
519519
520520 gtk.XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
521521
M v4/adw/adw-clamp-scrollable.go +3 -3
@@ -195,7 +195,7 @@ func (x *ClampScrollable) UpdateProperty(FirstPropertyVar gtk.AccessibleProperty
195195 // property change must be communicated to assistive technologies.
196196 //
197197 // 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) {
199199
200200 gtk.XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
201201
@@ -231,7 +231,7 @@ func (x *ClampScrollable) UpdateRelation(FirstRelationVar gtk.AccessibleRelation
231231 // relation change must be communicated to assistive technologies.
232232 //
233233 // 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) {
235235
236236 gtk.XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
237237
@@ -264,7 +264,7 @@ func (x *ClampScrollable) UpdateState(FirstStateVar gtk.AccessibleState, varArgs
264264 // state change must be communicated to assistive technologies.
265265 //
266266 // 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) {
268268
269269 gtk.XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
270270
M v4/adw/adw-clamp.go +3 -3
@@ -218,7 +218,7 @@ func (x *Clamp) UpdateProperty(FirstPropertyVar gtk.AccessibleProperty, varArgs
218218 // property change must be communicated to assistive technologies.
219219 //
220220 // 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) {
222222
223223 gtk.XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
224224
@@ -254,7 +254,7 @@ func (x *Clamp) UpdateRelation(FirstRelationVar gtk.AccessibleRelation, varArgs
254254 // relation change must be communicated to assistive technologies.
255255 //
256256 // 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) {
258258
259259 gtk.XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
260260
@@ -287,7 +287,7 @@ func (x *Clamp) UpdateState(FirstStateVar gtk.AccessibleState, varArgs ...interf
287287 // state change must be communicated to assistive technologies.
288288 //
289289 // 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) {
291291
292292 gtk.XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
293293
M v4/adw/adw-combo-row.go +4 -4
@@ -15,7 +15,7 @@ import (
1515 type ComboRowClass struct {
1616 ParentClass uintptr
1717
18- Padding uintptr
18+ Padding [4]uintptr
1919 }
2020
2121 func (x *ComboRowClass) GoPointer() uintptr {
@@ -342,7 +342,7 @@ func (x *ComboRow) UpdateProperty(FirstPropertyVar gtk.AccessibleProperty, varAr
342342 // property change must be communicated to assistive technologies.
343343 //
344344 // 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) {
346346
347347 gtk.XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
348348
@@ -378,7 +378,7 @@ func (x *ComboRow) UpdateRelation(FirstRelationVar gtk.AccessibleRelation, varAr
378378 // relation change must be communicated to assistive technologies.
379379 //
380380 // 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) {
382382
383383 gtk.XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
384384
@@ -411,7 +411,7 @@ func (x *ComboRow) UpdateState(FirstStateVar gtk.AccessibleState, varArgs ...int
411411 // state change must be communicated to assistive technologies.
412412 //
413413 // 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) {
415415
416416 gtk.XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
417417
M v4/adw/adw-entry-row.go +3 -3
@@ -356,7 +356,7 @@ func (x *EntryRow) UpdateProperty(FirstPropertyVar gtk.AccessibleProperty, varAr
356356 // property change must be communicated to assistive technologies.
357357 //
358358 // 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) {
360360
361361 gtk.XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
362362
@@ -392,7 +392,7 @@ func (x *EntryRow) UpdateRelation(FirstRelationVar gtk.AccessibleRelation, varAr
392392 // relation change must be communicated to assistive technologies.
393393 //
394394 // 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) {
396396
397397 gtk.XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
398398
@@ -425,7 +425,7 @@ func (x *EntryRow) UpdateState(FirstStateVar gtk.AccessibleState, varArgs ...int
425425 // state change must be communicated to assistive technologies.
426426 //
427427 // 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) {
429429
430430 gtk.XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
431431
M v4/adw/adw-enum-list-model.go +6 -5
@@ -8,6 +8,7 @@ import (
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/gio"
1010 "github.com/jwijenbergh/puregotk/v4/gobject"
11+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1112 )
1213
1314 type EnumListItemClass struct {
@@ -85,10 +86,10 @@ func EnumListModelNewFromInternalPtr(ptr uintptr) *EnumListModel {
8586 return cls
8687 }
8788
88-var xNewEnumListModel func([]interface{}) uintptr
89+var xNewEnumListModel func(types.GType) uintptr
8990
9091 // Creates a new `AdwEnumListModel` for @enum_type.
91-func NewEnumListModel(EnumTypeVar []interface{}) *EnumListModel {
92+func NewEnumListModel(EnumTypeVar types.GType) *EnumListModel {
9293 var cls *EnumListModel
9394
9495 cret := xNewEnumListModel(EnumTypeVar)
@@ -110,10 +111,10 @@ func (x *EnumListModel) FindPosition(ValueVar int) uint {
110111 return cret
111112 }
112113
113-var xEnumListModelGetEnumType func(uintptr) []interface{}
114+var xEnumListModelGetEnumType func(uintptr) types.GType
114115
115116 // Gets the type of the enum represented by @self.
116-func (x *EnumListModel) GetEnumType() []interface{} {
117+func (x *EnumListModel) GetEnumType() types.GType {
117118
118119 cret := xEnumListModelGetEnumType(x.GoPointer())
119120 return cret
@@ -150,7 +151,7 @@ func (x *EnumListModel) GetItem(PositionVar uint) uintptr {
150151 //
151152 // The item type of a #GListModel can not change during the life of the
152153 // model.
153-func (x *EnumListModel) GetItemType() []interface{} {
154+func (x *EnumListModel) GetItemType() types.GType {
154155
155156 cret := gio.XGListModelGetItemType(x.GoPointer())
156157 return cret
M v4/adw/adw-expander-row.go +4 -4
@@ -14,7 +14,7 @@ import (
1414 type ExpanderRowClass struct {
1515 ParentClass uintptr
1616
17- Padding uintptr
17+ Padding [4]uintptr
1818 }
1919
2020 func (x *ExpanderRowClass) GoPointer() uintptr {
@@ -318,7 +318,7 @@ func (x *ExpanderRow) UpdateProperty(FirstPropertyVar gtk.AccessibleProperty, va
318318 // property change must be communicated to assistive technologies.
319319 //
320320 // 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) {
322322
323323 gtk.XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
324324
@@ -354,7 +354,7 @@ func (x *ExpanderRow) UpdateRelation(FirstRelationVar gtk.AccessibleRelation, va
354354 // relation change must be communicated to assistive technologies.
355355 //
356356 // 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) {
358358
359359 gtk.XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
360360
@@ -387,7 +387,7 @@ func (x *ExpanderRow) UpdateState(FirstStateVar gtk.AccessibleState, varArgs ...
387387 // state change must be communicated to assistive technologies.
388388 //
389389 // 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) {
391391
392392 gtk.XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
393393
M v4/adw/adw-flap.go +4 -4
@@ -523,7 +523,7 @@ func (x *Flap) GetProgress() float64 {
523523 //
524524 // Each snap point represents a progress value that is considered acceptable to
525525 // end the swipe on.
526-func (x *Flap) GetSnapPoints(NSnapPointsVar int) uintptr {
526+func (x *Flap) GetSnapPoints(NSnapPointsVar int) []float64 {
527527
528528 cret := XAdwSwipeableGetSnapPoints(x.GoPointer(), NSnapPointsVar)
529529 return cret
@@ -602,7 +602,7 @@ func (x *Flap) UpdateProperty(FirstPropertyVar gtk.AccessibleProperty, varArgs .
602602 // property change must be communicated to assistive technologies.
603603 //
604604 // 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) {
606606
607607 gtk.XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
608608
@@ -638,7 +638,7 @@ func (x *Flap) UpdateRelation(FirstRelationVar gtk.AccessibleRelation, varArgs .
638638 // relation change must be communicated to assistive technologies.
639639 //
640640 // 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) {
642642
643643 gtk.XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
644644
@@ -671,7 +671,7 @@ func (x *Flap) UpdateState(FirstStateVar gtk.AccessibleState, varArgs ...interfa
671671 // state change must be communicated to assistive technologies.
672672 //
673673 // 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) {
675675
676676 gtk.XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
677677
M v4/adw/adw-header-bar.go +3 -3
@@ -382,7 +382,7 @@ func (x *HeaderBar) UpdateProperty(FirstPropertyVar gtk.AccessibleProperty, varA
382382 // property change must be communicated to assistive technologies.
383383 //
384384 // 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) {
386386
387387 gtk.XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
388388
@@ -418,7 +418,7 @@ func (x *HeaderBar) UpdateRelation(FirstRelationVar gtk.AccessibleRelation, varA
418418 // relation change must be communicated to assistive technologies.
419419 //
420420 // 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) {
422422
423423 gtk.XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
424424
@@ -451,7 +451,7 @@ func (x *HeaderBar) UpdateState(FirstStateVar gtk.AccessibleState, varArgs ...in
451451 // state change must be communicated to assistive technologies.
452452 //
453453 // 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) {
455455
456456 gtk.XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
457457
M v4/adw/adw-leaflet.go +4 -4
@@ -578,7 +578,7 @@ func (x *Leaflet) GetProgress() float64 {
578578 //
579579 // Each snap point represents a progress value that is considered acceptable to
580580 // end the swipe on.
581-func (x *Leaflet) GetSnapPoints(NSnapPointsVar int) uintptr {
581+func (x *Leaflet) GetSnapPoints(NSnapPointsVar int) []float64 {
582582
583583 cret := XAdwSwipeableGetSnapPoints(x.GoPointer(), NSnapPointsVar)
584584 return cret
@@ -657,7 +657,7 @@ func (x *Leaflet) UpdateProperty(FirstPropertyVar gtk.AccessibleProperty, varArg
657657 // property change must be communicated to assistive technologies.
658658 //
659659 // 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) {
661661
662662 gtk.XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
663663
@@ -693,7 +693,7 @@ func (x *Leaflet) UpdateRelation(FirstRelationVar gtk.AccessibleRelation, varArg
693693 // relation change must be communicated to assistive technologies.
694694 //
695695 // 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) {
697697
698698 gtk.XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
699699
@@ -726,7 +726,7 @@ func (x *Leaflet) UpdateState(FirstStateVar gtk.AccessibleState, varArgs ...inte
726726 // state change must be communicated to assistive technologies.
727727 //
728728 // 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) {
730730
731731 gtk.XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
732732
M v4/adw/adw-message-dialog.go +4 -4
@@ -17,7 +17,7 @@ import (
1717 type MessageDialogClass struct {
1818 ParentClass uintptr
1919
20- Padding uintptr
20+ Padding [4]uintptr
2121 }
2222
2323 func (x *MessageDialogClass) GoPointer() uintptr {
@@ -705,7 +705,7 @@ func (x *MessageDialog) UpdateProperty(FirstPropertyVar gtk.AccessibleProperty,
705705 // property change must be communicated to assistive technologies.
706706 //
707707 // 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) {
709709
710710 gtk.XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
711711
@@ -741,7 +741,7 @@ func (x *MessageDialog) UpdateRelation(FirstRelationVar gtk.AccessibleRelation,
741741 // relation change must be communicated to assistive technologies.
742742 //
743743 // 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) {
745745
746746 gtk.XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
747747
@@ -774,7 +774,7 @@ func (x *MessageDialog) UpdateState(FirstStateVar gtk.AccessibleState, varArgs .
774774 // state change must be communicated to assistive technologies.
775775 //
776776 // 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) {
778778
779779 gtk.XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
780780
M v4/adw/adw-password-entry-row.go +3 -3
@@ -133,7 +133,7 @@ func (x *PasswordEntryRow) UpdateProperty(FirstPropertyVar gtk.AccessiblePropert
133133 // property change must be communicated to assistive technologies.
134134 //
135135 // 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) {
137137
138138 gtk.XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
139139
@@ -169,7 +169,7 @@ func (x *PasswordEntryRow) UpdateRelation(FirstRelationVar gtk.AccessibleRelatio
169169 // relation change must be communicated to assistive technologies.
170170 //
171171 // 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) {
173173
174174 gtk.XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
175175
@@ -202,7 +202,7 @@ func (x *PasswordEntryRow) UpdateState(FirstStateVar gtk.AccessibleState, varArg
202202 // state change must be communicated to assistive technologies.
203203 //
204204 // 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) {
206206
207207 gtk.XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
208208
M v4/adw/adw-preferences-group.go +4 -4
@@ -13,7 +13,7 @@ import (
1313 type PreferencesGroupClass struct {
1414 ParentClass uintptr
1515
16- Padding uintptr
16+ Padding [4]uintptr
1717 }
1818
1919 func (x *PreferencesGroupClass) GoPointer() uintptr {
@@ -230,7 +230,7 @@ func (x *PreferencesGroup) UpdateProperty(FirstPropertyVar gtk.AccessiblePropert
230230 // property change must be communicated to assistive technologies.
231231 //
232232 // 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) {
234234
235235 gtk.XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
236236
@@ -266,7 +266,7 @@ func (x *PreferencesGroup) UpdateRelation(FirstRelationVar gtk.AccessibleRelatio
266266 // relation change must be communicated to assistive technologies.
267267 //
268268 // 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) {
270270
271271 gtk.XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
272272
@@ -299,7 +299,7 @@ func (x *PreferencesGroup) UpdateState(FirstStateVar gtk.AccessibleState, varArg
299299 // state change must be communicated to assistive technologies.
300300 //
301301 // 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) {
303303
304304 gtk.XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
305305
M v4/adw/adw-preferences-page.go +4 -4
@@ -13,7 +13,7 @@ import (
1313 type PreferencesPageClass struct {
1414 ParentClass uintptr
1515
16- Padding uintptr
16+ Padding [4]uintptr
1717 }
1818
1919 func (x *PreferencesPageClass) GoPointer() uintptr {
@@ -231,7 +231,7 @@ func (x *PreferencesPage) UpdateProperty(FirstPropertyVar gtk.AccessibleProperty
231231 // property change must be communicated to assistive technologies.
232232 //
233233 // 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) {
235235
236236 gtk.XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
237237
@@ -267,7 +267,7 @@ func (x *PreferencesPage) UpdateRelation(FirstRelationVar gtk.AccessibleRelation
267267 // relation change must be communicated to assistive technologies.
268268 //
269269 // 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) {
271271
272272 gtk.XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
273273
@@ -300,7 +300,7 @@ func (x *PreferencesPage) UpdateState(FirstStateVar gtk.AccessibleState, varArgs
300300 // state change must be communicated to assistive technologies.
301301 //
302302 // 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) {
304304
305305 gtk.XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
306306
M v4/adw/adw-preferences-row.go +4 -4
@@ -14,7 +14,7 @@ import (
1414 type PreferencesRowClass struct {
1515 ParentClass uintptr
1616
17- Padding uintptr
17+ Padding [4]uintptr
1818 }
1919
2020 func (x *PreferencesRowClass) GoPointer() uintptr {
@@ -204,7 +204,7 @@ func (x *PreferencesRow) UpdateProperty(FirstPropertyVar gtk.AccessibleProperty,
204204 // property change must be communicated to assistive technologies.
205205 //
206206 // 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) {
208208
209209 gtk.XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
210210
@@ -240,7 +240,7 @@ func (x *PreferencesRow) UpdateRelation(FirstRelationVar gtk.AccessibleRelation,
240240 // relation change must be communicated to assistive technologies.
241241 //
242242 // 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) {
244244
245245 gtk.XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
246246
@@ -273,7 +273,7 @@ func (x *PreferencesRow) UpdateState(FirstStateVar gtk.AccessibleState, varArgs
273273 // state change must be communicated to assistive technologies.
274274 //
275275 // 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) {
277277
278278 gtk.XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
279279
M v4/adw/adw-preferences-window.go +4 -4
@@ -15,7 +15,7 @@ import (
1515 type PreferencesWindowClass struct {
1616 ParentClass uintptr
1717
18- Padding uintptr
18+ Padding [4]uintptr
1919 }
2020
2121 func (x *PreferencesWindowClass) GoPointer() uintptr {
@@ -276,7 +276,7 @@ func (x *PreferencesWindow) UpdateProperty(FirstPropertyVar gtk.AccessibleProper
276276 // property change must be communicated to assistive technologies.
277277 //
278278 // 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) {
280280
281281 gtk.XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
282282
@@ -312,7 +312,7 @@ func (x *PreferencesWindow) UpdateRelation(FirstRelationVar gtk.AccessibleRelati
312312 // relation change must be communicated to assistive technologies.
313313 //
314314 // 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) {
316316
317317 gtk.XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
318318
@@ -345,7 +345,7 @@ func (x *PreferencesWindow) UpdateState(FirstStateVar gtk.AccessibleState, varAr
345345 // state change must be communicated to assistive technologies.
346346 //
347347 // 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) {
349349
350350 gtk.XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
351351
M v4/adw/adw-split-button.go +3 -3
@@ -416,7 +416,7 @@ func (x *SplitButton) UpdateProperty(FirstPropertyVar gtk.AccessibleProperty, va
416416 // property change must be communicated to assistive technologies.
417417 //
418418 // 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) {
420420
421421 gtk.XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
422422
@@ -452,7 +452,7 @@ func (x *SplitButton) UpdateRelation(FirstRelationVar gtk.AccessibleRelation, va
452452 // relation change must be communicated to assistive technologies.
453453 //
454454 // 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) {
456456
457457 gtk.XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
458458
@@ -485,7 +485,7 @@ func (x *SplitButton) UpdateState(FirstStateVar gtk.AccessibleState, varArgs ...
485485 // state change must be communicated to assistive technologies.
486486 //
487487 // 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) {
489489
490490 gtk.XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
491491
M v4/adw/adw-squeezer.go +3 -3
@@ -426,7 +426,7 @@ func (x *Squeezer) UpdateProperty(FirstPropertyVar gtk.AccessibleProperty, varAr
426426 // property change must be communicated to assistive technologies.
427427 //
428428 // 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) {
430430
431431 gtk.XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
432432
@@ -462,7 +462,7 @@ func (x *Squeezer) UpdateRelation(FirstRelationVar gtk.AccessibleRelation, varAr
462462 // relation change must be communicated to assistive technologies.
463463 //
464464 // 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) {
466466
467467 gtk.XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
468468
@@ -495,7 +495,7 @@ func (x *Squeezer) UpdateState(FirstStateVar gtk.AccessibleState, varArgs ...int
495495 // state change must be communicated to assistive technologies.
496496 //
497497 // 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) {
499499
500500 gtk.XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
501501
M v4/adw/adw-status-page.go +3 -3
@@ -245,7 +245,7 @@ func (x *StatusPage) UpdateProperty(FirstPropertyVar gtk.AccessibleProperty, var
245245 // property change must be communicated to assistive technologies.
246246 //
247247 // 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) {
249249
250250 gtk.XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
251251
@@ -281,7 +281,7 @@ func (x *StatusPage) UpdateRelation(FirstRelationVar gtk.AccessibleRelation, var
281281 // relation change must be communicated to assistive technologies.
282282 //
283283 // 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) {
285285
286286 gtk.XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
287287
@@ -314,7 +314,7 @@ func (x *StatusPage) UpdateState(FirstStateVar gtk.AccessibleState, varArgs ...i
314314 // state change must be communicated to assistive technologies.
315315 //
316316 // 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) {
318318
319319 gtk.XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
320320
M v4/adw/adw-swipeable.go +4 -4
@@ -13,7 +13,7 @@ import (
1313 type SwipeableInterface struct {
1414 Parent uintptr
1515
16- Padding uintptr
16+ Padding [4]uintptr
1717 }
1818
1919 func (x *SwipeableInterface) GoPointer() uintptr {
@@ -31,7 +31,7 @@ type Swipeable interface {
3131 GetCancelProgress() float64
3232 GetDistance() float64
3333 GetProgress() float64
34- GetSnapPoints(NSnapPointsVar int) uintptr
34+ GetSnapPoints(NSnapPointsVar int) []float64
3535 GetSwipeArea(NavigationDirectionVar NavigationDirection, IsDragVar bool, RectVar *gdk.Rectangle)
3636 }
3737 type SwipeableBase struct {
@@ -73,7 +73,7 @@ func (x *SwipeableBase) GetProgress() float64 {
7373 //
7474 // Each snap point represents a progress value that is considered acceptable to
7575 // end the swipe on.
76-func (x *SwipeableBase) GetSnapPoints(NSnapPointsVar int) uintptr {
76+func (x *SwipeableBase) GetSnapPoints(NSnapPointsVar int) []float64 {
7777
7878 cret := XAdwSwipeableGetSnapPoints(x.GoPointer(), NSnapPointsVar)
7979 return cret
@@ -97,7 +97,7 @@ func (x *SwipeableBase) GetSwipeArea(NavigationDirectionVar NavigationDirection,
9797 var XAdwSwipeableGetCancelProgress func(uintptr) float64
9898 var XAdwSwipeableGetDistance func(uintptr) float64
9999 var XAdwSwipeableGetProgress func(uintptr) float64
100-var XAdwSwipeableGetSnapPoints func(uintptr, int) uintptr
100+var XAdwSwipeableGetSnapPoints func(uintptr, int) []float64
101101 var XAdwSwipeableGetSwipeArea func(uintptr, NavigationDirection, bool, *gdk.Rectangle)
102102
103103 func init() {
M v4/adw/adw-tab-bar.go +6 -5
@@ -9,6 +9,7 @@ import (
99 "github.com/jwijenbergh/puregotk/v4/gdk"
1010 "github.com/jwijenbergh/puregotk/v4/glib"
1111 "github.com/jwijenbergh/puregotk/v4/gobject"
12+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1213 "github.com/jwijenbergh/puregotk/v4/gtk"
1314 )
1415
@@ -254,7 +255,7 @@ func (x *TabBar) SetView(ViewVar *TabView) {
254255
255256 }
256257
257-var xTabBarSetupExtraDropTarget func(uintptr, gdk.DragAction, uintptr, uint)
258+var xTabBarSetupExtraDropTarget func(uintptr, gdk.DragAction, []types.GType, uint)
258259
259260 // Sets the supported types for this drop target.
260261 //
@@ -267,7 +268,7 @@ var xTabBarSetupExtraDropTarget func(uintptr, gdk.DragAction, uintptr, uint)
267268 // it will be automatically selected.
268269 //
269270 // 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) {
271272
272273 xTabBarSetupExtraDropTarget(x.GoPointer(), ActionsVar, TypesVar, NTypesVar)
273274
@@ -392,7 +393,7 @@ func (x *TabBar) UpdateProperty(FirstPropertyVar gtk.AccessibleProperty, varArgs
392393 // property change must be communicated to assistive technologies.
393394 //
394395 // 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) {
396397
397398 gtk.XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
398399
@@ -428,7 +429,7 @@ func (x *TabBar) UpdateRelation(FirstRelationVar gtk.AccessibleRelation, varArgs
428429 // relation change must be communicated to assistive technologies.
429430 //
430431 // 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) {
432433
433434 gtk.XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
434435
@@ -461,7 +462,7 @@ func (x *TabBar) UpdateState(FirstStateVar gtk.AccessibleState, varArgs ...inter
461462 // state change must be communicated to assistive technologies.
462463 //
463464 // 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) {
465466
466467 gtk.XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
467468
M v4/adw/adw-tab-button.go +3 -3
@@ -213,7 +213,7 @@ func (x *TabButton) UpdateProperty(FirstPropertyVar gtk.AccessibleProperty, varA
213213 // property change must be communicated to assistive technologies.
214214 //
215215 // 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) {
217217
218218 gtk.XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
219219
@@ -249,7 +249,7 @@ func (x *TabButton) UpdateRelation(FirstRelationVar gtk.AccessibleRelation, varA
249249 // relation change must be communicated to assistive technologies.
250250 //
251251 // 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) {
253253
254254 gtk.XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
255255
@@ -282,7 +282,7 @@ func (x *TabButton) UpdateState(FirstStateVar gtk.AccessibleState, varArgs ...in
282282 // state change must be communicated to assistive technologies.
283283 //
284284 // 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) {
286286
287287 gtk.XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
288288
M v4/adw/adw-tab-overview.go +6 -5
@@ -10,6 +10,7 @@ import (
1010 "github.com/jwijenbergh/puregotk/v4/gio"
1111 "github.com/jwijenbergh/puregotk/v4/glib"
1212 "github.com/jwijenbergh/puregotk/v4/gobject"
13+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1314 "github.com/jwijenbergh/puregotk/v4/gtk"
1415 )
1516
@@ -345,7 +346,7 @@ func (x *TabOverview) SetView(ViewVar *TabView) {
345346
346347 }
347348
348-var xTabOverviewSetupExtraDropTarget func(uintptr, gdk.DragAction, uintptr, uint)
349+var xTabOverviewSetupExtraDropTarget func(uintptr, gdk.DragAction, []types.GType, uint)
349350
350351 // Sets the supported types for this drop target.
351352 //
@@ -359,7 +360,7 @@ var xTabOverviewSetupExtraDropTarget func(uintptr, gdk.DragAction, uintptr, uint
359360 //
360361 // The [signal@TabOverview::extra-drag-drop] signal can be used to handle the
361362 // 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) {
363364
364365 xTabOverviewSetupExtraDropTarget(x.GoPointer(), ActionsVar, TypesVar, NTypesVar)
365366
@@ -511,7 +512,7 @@ func (x *TabOverview) UpdateProperty(FirstPropertyVar gtk.AccessibleProperty, va
511512 // property change must be communicated to assistive technologies.
512513 //
513514 // 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) {
515516
516517 gtk.XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
517518
@@ -547,7 +548,7 @@ func (x *TabOverview) UpdateRelation(FirstRelationVar gtk.AccessibleRelation, va
547548 // relation change must be communicated to assistive technologies.
548549 //
549550 // 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) {
551552
552553 gtk.XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
553554
@@ -580,7 +581,7 @@ func (x *TabOverview) UpdateState(FirstStateVar gtk.AccessibleState, varArgs ...
580581 // state change must be communicated to assistive technologies.
581582 //
582583 // 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) {
584585
585586 gtk.XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
586587
M v4/adw/adw-tab-view.go +6 -6
@@ -545,7 +545,7 @@ func (x *TabPage) UpdateProperty(FirstPropertyVar gtk.AccessibleProperty, varArg
545545 // property change must be communicated to assistive technologies.
546546 //
547547 // 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) {
549549
550550 gtk.XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
551551
@@ -581,7 +581,7 @@ func (x *TabPage) UpdateRelation(FirstRelationVar gtk.AccessibleRelation, varArg
581581 // relation change must be communicated to assistive technologies.
582582 //
583583 // 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) {
585585
586586 gtk.XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
587587
@@ -614,7 +614,7 @@ func (x *TabPage) UpdateState(FirstStateVar gtk.AccessibleState, varArgs ...inte
614614 // state change must be communicated to assistive technologies.
615615 //
616616 // 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) {
618618
619619 gtk.XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
620620
@@ -1523,7 +1523,7 @@ func (x *TabView) UpdateProperty(FirstPropertyVar gtk.AccessibleProperty, varArg
15231523 // property change must be communicated to assistive technologies.
15241524 //
15251525 // 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) {
15271527
15281528 gtk.XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
15291529
@@ -1559,7 +1559,7 @@ func (x *TabView) UpdateRelation(FirstRelationVar gtk.AccessibleRelation, varArg
15591559 // relation change must be communicated to assistive technologies.
15601560 //
15611561 // 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) {
15631563
15641564 gtk.XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
15651565
@@ -1592,7 +1592,7 @@ func (x *TabView) UpdateState(FirstStateVar gtk.AccessibleState, varArgs ...inte
15921592 // state change must be communicated to assistive technologies.
15931593 //
15941594 // 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) {
15961596
15971597 gtk.XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
15981598
M v4/adw/adw-toast-overlay.go +3 -3
@@ -198,7 +198,7 @@ func (x *ToastOverlay) UpdateProperty(FirstPropertyVar gtk.AccessibleProperty, v
198198 // property change must be communicated to assistive technologies.
199199 //
200200 // 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) {
202202
203203 gtk.XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
204204
@@ -234,7 +234,7 @@ func (x *ToastOverlay) UpdateRelation(FirstRelationVar gtk.AccessibleRelation, v
234234 // relation change must be communicated to assistive technologies.
235235 //
236236 // 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) {
238238
239239 gtk.XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
240240
@@ -267,7 +267,7 @@ func (x *ToastOverlay) UpdateState(FirstStateVar gtk.AccessibleState, varArgs ..
267267 // state change must be communicated to assistive technologies.
268268 //
269269 // 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) {
271271
272272 gtk.XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
273273
M v4/adw/adw-view-stack.go +6 -6
@@ -408,7 +408,7 @@ func (x *ViewStack) UpdateProperty(FirstPropertyVar gtk.AccessibleProperty, varA
408408 // property change must be communicated to assistive technologies.
409409 //
410410 // 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) {
412412
413413 gtk.XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
414414
@@ -444,7 +444,7 @@ func (x *ViewStack) UpdateRelation(FirstRelationVar gtk.AccessibleRelation, varA
444444 // relation change must be communicated to assistive technologies.
445445 //
446446 // 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) {
448448
449449 gtk.XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
450450
@@ -477,7 +477,7 @@ func (x *ViewStack) UpdateState(FirstStateVar gtk.AccessibleState, varArgs ...in
477477 // state change must be communicated to assistive technologies.
478478 //
479479 // 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) {
481481
482482 gtk.XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
483483
@@ -726,7 +726,7 @@ func (x *ViewStackPage) UpdateProperty(FirstPropertyVar gtk.AccessibleProperty,
726726 // property change must be communicated to assistive technologies.
727727 //
728728 // 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) {
730730
731731 gtk.XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
732732
@@ -762,7 +762,7 @@ func (x *ViewStackPage) UpdateRelation(FirstRelationVar gtk.AccessibleRelation,
762762 // relation change must be communicated to assistive technologies.
763763 //
764764 // 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) {
766766
767767 gtk.XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
768768
@@ -795,7 +795,7 @@ func (x *ViewStackPage) UpdateState(FirstStateVar gtk.AccessibleState, varArgs .
795795 // state change must be communicated to assistive technologies.
796796 //
797797 // 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) {
799799
800800 gtk.XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
801801
M v4/adw/adw-view-switcher-bar.go +3 -3
@@ -213,7 +213,7 @@ func (x *ViewSwitcherBar) UpdateProperty(FirstPropertyVar gtk.AccessibleProperty
213213 // property change must be communicated to assistive technologies.
214214 //
215215 // 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) {
217217
218218 gtk.XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
219219
@@ -249,7 +249,7 @@ func (x *ViewSwitcherBar) UpdateRelation(FirstRelationVar gtk.AccessibleRelation
249249 // relation change must be communicated to assistive technologies.
250250 //
251251 // 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) {
253253
254254 gtk.XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
255255
@@ -282,7 +282,7 @@ func (x *ViewSwitcherBar) UpdateState(FirstStateVar gtk.AccessibleState, varArgs
282282 // state change must be communicated to assistive technologies.
283283 //
284284 // 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) {
286286
287287 gtk.XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
288288
M v4/adw/adw-view-switcher-title.go +3 -3
@@ -279,7 +279,7 @@ func (x *ViewSwitcherTitle) UpdateProperty(FirstPropertyVar gtk.AccessibleProper
279279 // property change must be communicated to assistive technologies.
280280 //
281281 // 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) {
283283
284284 gtk.XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
285285
@@ -315,7 +315,7 @@ func (x *ViewSwitcherTitle) UpdateRelation(FirstRelationVar gtk.AccessibleRelati
315315 // relation change must be communicated to assistive technologies.
316316 //
317317 // 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) {
319319
320320 gtk.XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
321321
@@ -348,7 +348,7 @@ func (x *ViewSwitcherTitle) UpdateState(FirstStateVar gtk.AccessibleState, varAr
348348 // state change must be communicated to assistive technologies.
349349 //
350350 // 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) {
352352
353353 gtk.XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
354354
M v4/adw/adw-view-switcher.go +3 -3
@@ -195,7 +195,7 @@ func (x *ViewSwitcher) UpdateProperty(FirstPropertyVar gtk.AccessibleProperty, v
195195 // property change must be communicated to assistive technologies.
196196 //
197197 // 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) {
199199
200200 gtk.XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
201201
@@ -231,7 +231,7 @@ func (x *ViewSwitcher) UpdateRelation(FirstRelationVar gtk.AccessibleRelation, v
231231 // relation change must be communicated to assistive technologies.
232232 //
233233 // 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) {
235235
236236 gtk.XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
237237
@@ -264,7 +264,7 @@ func (x *ViewSwitcher) UpdateState(FirstStateVar gtk.AccessibleState, varArgs ..
264264 // state change must be communicated to assistive technologies.
265265 //
266266 // 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) {
268268
269269 gtk.XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
270270
M v4/adw/adw-window-title.go +3 -3
@@ -167,7 +167,7 @@ func (x *WindowTitle) UpdateProperty(FirstPropertyVar gtk.AccessibleProperty, va
167167 // property change must be communicated to assistive technologies.
168168 //
169169 // 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) {
171171
172172 gtk.XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
173173
@@ -203,7 +203,7 @@ func (x *WindowTitle) UpdateRelation(FirstRelationVar gtk.AccessibleRelation, va
203203 // relation change must be communicated to assistive technologies.
204204 //
205205 // 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) {
207207
208208 gtk.XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
209209
@@ -236,7 +236,7 @@ func (x *WindowTitle) UpdateState(FirstStateVar gtk.AccessibleState, varArgs ...
236236 // state change must be communicated to assistive technologies.
237237 //
238238 // 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) {
240240
241241 gtk.XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
242242
M v4/adw/adw-window.go +4 -4
@@ -15,7 +15,7 @@ import (
1515 type WindowClass struct {
1616 ParentClass uintptr
1717
18- Padding uintptr
18+ Padding [4]uintptr
1919 }
2020
2121 func (x *WindowClass) GoPointer() uintptr {
@@ -178,7 +178,7 @@ func (x *Window) UpdateProperty(FirstPropertyVar gtk.AccessibleProperty, varArgs
178178 // property change must be communicated to assistive technologies.
179179 //
180180 // 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) {
182182
183183 gtk.XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
184184
@@ -214,7 +214,7 @@ func (x *Window) UpdateRelation(FirstRelationVar gtk.AccessibleRelation, varArgs
214214 // relation change must be communicated to assistive technologies.
215215 //
216216 // 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) {
218218
219219 gtk.XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
220220
@@ -247,7 +247,7 @@ func (x *Window) UpdateState(FirstStateVar gtk.AccessibleState, varArgs ...inter
247247 // state change must be communicated to assistive technologies.
248248 //
249249 // 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) {
251251
252252 gtk.XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
253253
M v4/gdk/gdkclipboard.go +7 -6
@@ -9,6 +9,7 @@ import (
99 "github.com/jwijenbergh/puregotk/v4/gio"
1010 "github.com/jwijenbergh/puregotk/v4/glib"
1111 "github.com/jwijenbergh/puregotk/v4/gobject"
12+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1213 )
1314
1415 // The `GdkClipboard` object represents data shared between applications or
@@ -209,7 +210,7 @@ func (x *Clipboard) ReadTextureFinish(ResultVar gio.AsyncResult) (*Texture, erro
209210
210211 }
211212
212-var xClipboardReadValueAsync func(uintptr, []interface{}, int, uintptr, uintptr, uintptr)
213+var xClipboardReadValueAsync func(uintptr, types.GType, int, uintptr, uintptr, uintptr)
213214
214215 // Asynchronously request the @clipboard contents converted to the given
215216 // @type.
@@ -220,7 +221,7 @@ var xClipboardReadValueAsync func(uintptr, []interface{}, int, uintptr, uintptr,
220221 // For local clipboard contents that are available in the given `GType`,
221222 // the value will be copied directly. Otherwise, GDK will try to use
222223 // [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) {
224225
225226 xClipboardReadValueAsync(x.GoPointer(), TypeVar, IoPriorityVar, CancellableVar.GoPointer(), glib.NewCallback(CallbackVar), UserDataVar)
226227
@@ -242,7 +243,7 @@ func (x *Clipboard) ReadValueFinish(ResultVar gio.AsyncResult) (*gobject.Value,
242243
243244 }
244245
245-var xClipboardSet func(uintptr, []interface{}, ...interface{})
246+var xClipboardSet func(uintptr, types.GType, ...interface{})
246247
247248 // Sets the clipboard to contain the value collected from the given varargs.
248249 //
@@ -255,7 +256,7 @@ var xClipboardSet func(uintptr, []interface{}, ...interface{})
255256 //
256257 // gdk_clipboard_set (clipboard, GDK_TYPE_TEXTURE, some_texture);
257258 // ```
258-func (x *Clipboard) Set(TypeVar []interface{}, varArgs ...interface{}) {
259+func (x *Clipboard) Set(TypeVar types.GType, varArgs ...interface{}) {
259260
260261 xClipboardSet(x.GoPointer(), TypeVar, varArgs...)
261262
@@ -299,10 +300,10 @@ func (x *Clipboard) SetTexture(TextureVar *Texture) {
299300
300301 }
301302
302-var xClipboardSetValist func(uintptr, []interface{}, []interface{})
303+var xClipboardSetValist func(uintptr, types.GType, []interface{})
303304
304305 // 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{}) {
306307
307308 xClipboardSetValist(x.GoPointer(), TypeVar, ArgsVar)
308309
M v4/gdk/gdkcontentdeserializer.go +7 -6
@@ -7,6 +7,7 @@ import (
77 "github.com/jwijenbergh/puregotk/v4/gio"
88 "github.com/jwijenbergh/puregotk/v4/glib"
99 "github.com/jwijenbergh/puregotk/v4/gobject"
10+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1011 )
1112
1213 // The type of a function that can be registered with gdk_content_register_deserializer().
@@ -16,7 +17,7 @@ import (
1617 // operation.
1718 type ContentDeserializeFunc func(uintptr)
1819
19-var xContentDeserializeAsync func(uintptr, string, []interface{}, int, uintptr, uintptr, uintptr)
20+var xContentDeserializeAsync func(uintptr, string, types.GType, int, uintptr, uintptr, uintptr)
2021
2122 // Read content from the given input stream and deserialize it, asynchronously.
2223 //
@@ -25,7 +26,7 @@ var xContentDeserializeAsync func(uintptr, string, []interface{}, int, uintptr,
2526 //
2627 // When the operation is finished, @callback will be called. You must then
2728 // 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) {
2930
3031 xContentDeserializeAsync(StreamVar.GoPointer(), MimeTypeVar, TypeVar, IoPriorityVar, CancellableVar.GoPointer(), glib.NewCallback(CallbackVar), UserDataVar)
3132
@@ -45,10 +46,10 @@ func ContentDeserializeFinish(ResultVar gio.AsyncResult, ValueVar *gobject.Value
4546
4647 }
4748
48-var xContentRegisterDeserializer func(string, []interface{}, uintptr, uintptr, uintptr)
49+var xContentRegisterDeserializer func(string, types.GType, uintptr, uintptr, uintptr)
4950
5051 // 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) {
5253
5354 xContentRegisterDeserializer(MimeTypeVar, TypeVar, glib.NewCallback(DeserializeVar), DataVar, glib.NewCallback(NotifyVar))
5455
@@ -94,10 +95,10 @@ func (x *ContentDeserializer) GetCancellable() *gio.Cancellable {
9495 return cls
9596 }
9697
97-var xContentDeserializerGetGtype func(uintptr) []interface{}
98+var xContentDeserializerGetGtype func(uintptr) types.GType
9899
99100 // Gets the `GType` to create an instance of.
100-func (x *ContentDeserializer) GetGtype() []interface{} {
101+func (x *ContentDeserializer) GetGtype() types.GType {
101102
102103 cret := xContentDeserializerGetGtype(x.GoPointer())
103104 return cret
M v4/gdk/gdkcontentformats.go +3 -2
@@ -7,6 +7,7 @@ import (
77 "github.com/jwijenbergh/purego"
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/glib"
10+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1011 )
1112
1213 // A `GdkContentFormatsBuilder` is an auxiliary struct used to create
@@ -40,10 +41,10 @@ func (x *ContentFormatsBuilder) AddFormats(FormatsVar *ContentFormats) {
4041
4142 }
4243
43-var xContentFormatsBuilderAddGtype func(uintptr, []interface{})
44+var xContentFormatsBuilderAddGtype func(uintptr, types.GType)
4445
4546 // 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) {
4748
4849 xContentFormatsBuilderAddGtype(x.GoPointer(), TypeVar)
4950
M v4/gdk/gdkcontentprovider.go +4 -3
@@ -9,13 +9,14 @@ import (
99 "github.com/jwijenbergh/puregotk/v4/gio"
1010 "github.com/jwijenbergh/puregotk/v4/glib"
1111 "github.com/jwijenbergh/puregotk/v4/gobject"
12+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1213 )
1314
1415 // Class structure for `GdkContentProvider`.
1516 type ContentProviderClass struct {
1617 ParentClass uintptr
1718
18- Padding uintptr
19+ Padding [8]uintptr
1920 }
2021
2122 func (x *ContentProviderClass) GoPointer() uintptr {
@@ -74,14 +75,14 @@ func NewContentProviderForValue(ValueVar *gobject.Value) *ContentProvider {
7475 return cls
7576 }
7677
77-var xNewContentProviderTyped func([]interface{}, ...interface{}) uintptr
78+var xNewContentProviderTyped func(types.GType, ...interface{}) uintptr
7879
7980 // Create a content provider that provides the value of the given
8081 // @type.
8182 //
8283 // The value is provided using G_VALUE_COLLECT(), so the same rules
8384 // 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 {
8586 var cls *ContentProvider
8687
8788 cret := xNewContentProviderTyped(TypeVar, varArgs...)
M v4/gdk/gdkcontentserializer.go +5 -4
@@ -7,6 +7,7 @@ import (
77 "github.com/jwijenbergh/puregotk/v4/gio"
88 "github.com/jwijenbergh/puregotk/v4/glib"
99 "github.com/jwijenbergh/puregotk/v4/gobject"
10+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1011 )
1112
1213 // The type of a function that can be registered with gdk_content_register_serializer().
@@ -16,10 +17,10 @@ import (
1617 // operation.
1718 type ContentSerializeFunc func(uintptr)
1819
19-var xContentRegisterSerializer func([]interface{}, string, uintptr, uintptr, uintptr)
20+var xContentRegisterSerializer func(types.GType, string, uintptr, uintptr, uintptr)
2021
2122 // 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) {
2324
2425 xContentRegisterSerializer(TypeVar, MimeTypeVar, glib.NewCallback(SerializeVar), DataVar, glib.NewCallback(NotifyVar))
2526
@@ -95,10 +96,10 @@ func (x *ContentSerializer) GetCancellable() *gio.Cancellable {
9596 return cls
9697 }
9798
98-var xContentSerializerGetGtype func(uintptr) []interface{}
99+var xContentSerializerGetGtype func(uintptr) types.GType
99100
100101 // Gets the `GType` to of the object to serialize.
101-func (x *ContentSerializer) GetGtype() []interface{} {
102+func (x *ContentSerializer) GetGtype() types.GType {
102103
103104 cret := xContentSerializerGetGtype(x.GoPointer())
104105 return cret
M v4/gdk/gdkdevice.go +1 -1
@@ -22,7 +22,7 @@ type TimeCoord struct {
2222
2323 Flags AxisFlags
2424
25- Axes uintptr
25+ Axes [12]float64
2626 }
2727
2828 func (x *TimeCoord) GoPointer() uintptr {
M v4/gdk/gdkdisplay.go +2 -2
@@ -313,7 +313,7 @@ func (x *Display) ListSeats() *glib.List {
313313 return cret
314314 }
315315
316-var xDisplayMapKeycode func(uintptr, uint, uintptr, uintptr, int) bool
316+var xDisplayMapKeycode func(uintptr, uint, uintptr, []uint, int) bool
317317
318318 // Returns the keyvals bound to @keycode.
319319 //
@@ -324,7 +324,7 @@ var xDisplayMapKeycode func(uintptr, uint, uintptr, uintptr, int) bool
324324 // keyboard group and level.
325325 //
326326 // 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 {
328328
329329 cret := xDisplayMapKeycode(x.GoPointer(), KeycodeVar, KeysVar, KeyvalsVar, NEntriesVar)
330330 return cret
M v4/gdk/gdkdrop.go +3 -2
@@ -7,6 +7,7 @@ import (
77 "github.com/jwijenbergh/puregotk/v4/gio"
88 "github.com/jwijenbergh/puregotk/v4/glib"
99 "github.com/jwijenbergh/puregotk/v4/gobject"
10+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1011 )
1112
1213 // 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
186187
187188 }
188189
189-var xDropReadValueAsync func(uintptr, []interface{}, int, uintptr, uintptr, uintptr)
190+var xDropReadValueAsync func(uintptr, types.GType, int, uintptr, uintptr, uintptr)
190191
191192 // Asynchronously request the drag operation's contents converted
192193 // to the given @type.
@@ -198,7 +199,7 @@ var xDropReadValueAsync func(uintptr, []interface{}, int, uintptr, uintptr, uint
198199 // For local drag-and-drop operations that are available in the given
199200 // `GType`, the value will be copied directly. Otherwise, GDK will
200201 // 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) {
202203
203204 xDropReadValueAsync(x.GoPointer(), TypeVar, IoPriorityVar, CancellableVar.GoPointer(), glib.NewCallback(CallbackVar), UserDataVar)
204205
M v4/gdk/gdkevents.go +4 -4
@@ -492,13 +492,13 @@ func (x *Event) GetDistance(Event2Var *Event, DistanceVar float64) bool {
492492 return cret
493493 }
494494
495-var xEventGetAxes func(uintptr, uintptr, uint) bool
495+var xEventGetAxes func(uintptr, []float64, uint) bool
496496
497497 // Extracts all axis values from an event.
498498 //
499499 // To find out which axes are used, use [method@Gdk.DeviceTool.get_axes]
500500 // 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 {
502502
503503 cret := xEventGetAxes(x.GoPointer(), AxesVar, NAxesVar)
504504 return cret
@@ -598,7 +598,7 @@ func (x *Event) GetEventType() EventType {
598598 return cret
599599 }
600600
601-var xEventGetHistory func(uintptr, uint) uintptr
601+var xEventGetHistory func(uintptr, uint) []TimeCoord
602602
603603 // Retrieves the history of the device that @event is for, as a list of
604604 // time and coordinates.
@@ -609,7 +609,7 @@ var xEventGetHistory func(uintptr, uint) uintptr
609609 // Note that only motion and scroll events record history, and motion
610610 // events do it only if one of the mouse buttons is down, or the device
611611 // has a tool.
612-func (x *Event) GetHistory(OutNCoordsVar uint) uintptr {
612+func (x *Event) GetHistory(OutNCoordsVar uint) []TimeCoord {
613613
614614 cret := xEventGetHistory(x.GoPointer(), OutNCoordsVar)
615615 return cret
M v4/gdk/gdkpango.go +2 -2
@@ -26,7 +26,7 @@ func PangoLayoutGetClipRegion(LayoutVar *pango.Layout, XOriginVar int, YOriginVa
2626 return cret
2727 }
2828
29-var xPangoLayoutLineGetClipRegion func(*pango.LayoutLine, int, int, uintptr, int) *cairo.Region
29+var xPangoLayoutLineGetClipRegion func(*pango.LayoutLine, int, int, []int, int) *cairo.Region
3030
3131 // Obtains a clip region which contains the areas where the given
3232 // ranges of text would be drawn.
@@ -43,7 +43,7 @@ var xPangoLayoutLineGetClipRegion func(*pango.LayoutLine, int, int, uintptr, int
4343 // ranges, not ink extents. So the drawn line may in fact touch areas out of
4444 // the clip region. The clip region is mainly useful for highlightling parts
4545 // 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 {
4747
4848 cret := xPangoLayoutLineGetClipRegion(LineVar, XOriginVar, YOriginVar, IndexRangesVar, NRangesVar)
4949 return cret
M v4/gdk/gdktexture.go +2 -2
@@ -197,7 +197,7 @@ func NewTextureFromResource(ResourcePathVar string) *Texture {
197197 return cls
198198 }
199199
200-var xTextureDownload func(uintptr, uintptr, uint)
200+var xTextureDownload func(uintptr, []byte, uint)
201201
202202 // Downloads the @texture into local memory.
203203 //
@@ -222,7 +222,7 @@ var xTextureDownload func(uintptr, uintptr, uint)
222222 //
223223 // cairo_surface_mark_dirty (surface);
224224 // ```
225-func (x *Texture) Download(DataVar uintptr, StrideVar uint) {
225+func (x *Texture) Download(DataVar []byte, StrideVar uint) {
226226
227227 xTextureDownload(x.GoPointer(), DataVar, StrideVar)
228228
M v4/gdk/gdktoplevelsize.go +3 -2
@@ -6,6 +6,7 @@ import (
66
77 "github.com/jwijenbergh/purego"
88 "github.com/jwijenbergh/puregotk/internal/core"
9+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
910 )
1011
1112 // The `GdkToplevelSize` struct contains information that is useful
@@ -76,9 +77,9 @@ func (x *ToplevelSize) SetSize(WidthVar int, HeightVar int) {
7677
7778 }
7879
79-var xToplevelSizeGetType func() []interface{}
80+var xToplevelSizeGetType func() types.GType
8081
81-func ToplevelSizeGetType() []interface{} {
82+func ToplevelSizeGetType() types.GType {
8283
8384 cret := xToplevelSizeGetType()
8485 return cret
M v4/gdk/gdktypes.go +11 -10
@@ -7,6 +7,7 @@ import (
77 "github.com/jwijenbergh/purego"
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/glib"
10+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1011 )
1112
1213 // The `GdkContentFormats` structure is used to advertise and negotiate the
@@ -61,19 +62,19 @@ func NewContentFormats(MimeTypesVar []string, NMimeTypesVar uint) *ContentFormat
6162 return cret
6263 }
6364
64-var xNewContentFormatsForGtype func([]interface{}) *ContentFormats
65+var xNewContentFormatsForGtype func(types.GType) *ContentFormats
6566
6667 // Creates a new `GdkContentFormats` for a given `GType`.
67-func NewContentFormatsForGtype(TypeVar []interface{}) *ContentFormats {
68+func NewContentFormatsForGtype(TypeVar types.GType) *ContentFormats {
6869
6970 cret := xNewContentFormatsForGtype(TypeVar)
7071 return cret
7172 }
7273
73-var xContentFormatsContainGtype func(uintptr, []interface{}) bool
74+var xContentFormatsContainGtype func(uintptr, types.GType) bool
7475
7576 // 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 {
7778
7879 cret := xContentFormatsContainGtype(x.GoPointer(), TypeVar)
7980 return cret
@@ -88,25 +89,25 @@ func (x *ContentFormats) ContainMimeType(MimeTypeVar string) bool {
8889 return cret
8990 }
9091
91-var xContentFormatsGetGtypes func(uintptr, uint) uintptr
92+var xContentFormatsGetGtypes func(uintptr, uint) []types.GType
9293
9394 // Gets the `GType`s included in @formats.
9495 //
9596 // Note that @formats may not contain any `GType`s, in particular when
9697 // 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 {
9899
99100 cret := xContentFormatsGetGtypes(x.GoPointer(), NGtypesVar)
100101 return cret
101102 }
102103
103-var xContentFormatsGetMimeTypes func(uintptr, uint) uintptr
104+var xContentFormatsGetMimeTypes func(uintptr, uint) []string
104105
105106 // Gets the mime types included in @formats.
106107 //
107108 // Note that @formats may not contain any mime types, in particular
108109 // 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 {
110111
111112 cret := xContentFormatsGetMimeTypes(x.GoPointer(), NMimeTypesVar)
112113 return cret
@@ -121,13 +122,13 @@ func (x *ContentFormats) Match(SecondVar *ContentFormats) bool {
121122 return cret
122123 }
123124
124-var xContentFormatsMatchGtype func(uintptr, *ContentFormats) []interface{}
125+var xContentFormatsMatchGtype func(uintptr, *ContentFormats) types.GType
125126
126127 // Finds the first `GType` from @first that is also contained
127128 // in @second.
128129 //
129130 // 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 {
131132
132133 cret := xContentFormatsMatchGtype(x.GoPointer(), SecondVar)
133134 return cret
M v4/gdkpixbuf/gdk-pixbuf-core.go +2 -2
@@ -10,7 +10,7 @@ import "github.com/jwijenbergh/puregotk/v4/glib"
1010 // pixel array so that a pixbuf can be created from it; in this case you
1111 // will need to pass in a function of type `GdkPixbufDestroyNotify` so that
1212 // the pixel data can be freed when the pixbuf is finalized.
13-type PixbufDestroyNotify func(uintptr, uintptr)
13+type PixbufDestroyNotify func([]byte, uintptr)
1414
1515 // Save functions used by [method@GdkPixbuf.Pixbuf.save_to_callback].
1616 //
@@ -20,7 +20,7 @@ type PixbufDestroyNotify func(uintptr, uintptr)
2020 // If successful it should return `TRUE`; if an error occurs it should set
2121 // `error` and return `FALSE`, in which case `gdk_pixbuf_save_to_callback()`
2222 // will fail with the same error.
23-type PixbufSaveFunc func(uintptr, uint, **glib.Error, uintptr) bool
23+type PixbufSaveFunc func([]byte, uint, **glib.Error, uintptr) bool
2424
2525 // This enumeration defines the color spaces that are supported by
2626 // the gdk-pixbuf library.
M v4/gdkpixbuf/gdk-pixbuf-io.go +9 -9
@@ -30,7 +30,7 @@ type PixbufModuleFillInfoFunc func(*PixbufFormat)
3030 type PixbufModuleFillVtableFunc func(*PixbufModule)
3131
3232 // Incrementally loads a buffer into the image data.
33-type PixbufModuleIncrementLoadFunc func(uintptr, uintptr, uint, **glib.Error) bool
33+type PixbufModuleIncrementLoadFunc func(uintptr, []byte, uint, **glib.Error) bool
3434
3535 // Loads a file from a standard C file stream into a new `GdkPixbufAnimation`.
3636 //
@@ -58,14 +58,14 @@ type PixbufModulePreparedFunc func(uintptr, uintptr, uintptr)
5858 // The optional `option_keys` and `option_values` arrays contain the keys and
5959 // values (in the same order) for attributes to be saved alongside the image
6060 // data.
61-type PixbufModuleSaveCallbackFunc func(uintptr, uintptr, uintptr, uintptr, uintptr, **glib.Error) bool
61+type PixbufModuleSaveCallbackFunc func(uintptr, uintptr, uintptr, []string, []string, **glib.Error) bool
6262
6363 // Saves a `GdkPixbuf` into a standard C file stream.
6464 //
6565 // The optional `param_keys` and `param_values` arrays contain the keys and
6666 // values (in the same order) for attributes to be saved alongside the image
6767 // data.
68-type PixbufModuleSaveFunc func(uintptr, uintptr, uintptr, uintptr, **glib.Error) bool
68+type PixbufModuleSaveFunc func(uintptr, uintptr, []string, []string, **glib.Error) bool
6969
7070 // Checks whether the given `option_key` is supported when saving.
7171 type PixbufModuleSaveOptionSupportedFunc func(string) bool
@@ -112,9 +112,9 @@ type PixbufFormat struct {
112112
113113 Description uintptr
114114
115- MimeTypes uintptr
115+ MimeTypes []string
116116
117- Extensions uintptr
117+ Extensions []string
118118
119119 Flags uint32
120120
@@ -155,11 +155,11 @@ func (x *PixbufFormat) GetDescription() string {
155155 return cret
156156 }
157157
158-var xPixbufFormatGetExtensions func(uintptr) uintptr
158+var xPixbufFormatGetExtensions func(uintptr) []string
159159
160160 // Returns the filename extensions typically used for files in the
161161 // given format.
162-func (x *PixbufFormat) GetExtensions() uintptr {
162+func (x *PixbufFormat) GetExtensions() []string {
163163
164164 cret := xPixbufFormatGetExtensions(x.GoPointer())
165165 return cret
@@ -177,10 +177,10 @@ func (x *PixbufFormat) GetLicense() string {
177177 return cret
178178 }
179179
180-var xPixbufFormatGetMimeTypes func(uintptr) uintptr
180+var xPixbufFormatGetMimeTypes func(uintptr) []string
181181
182182 // Returns the mime types supported by the format.
183-func (x *PixbufFormat) GetMimeTypes() uintptr {
183+func (x *PixbufFormat) GetMimeTypes() []string {
184184
185185 cret := xPixbufFormatGetMimeTypes(x.GoPointer())
186186 return cret
M v4/gdkpixbuf/gdk-pixbuf-loader.go +2 -2
@@ -267,10 +267,10 @@ func (x *PixbufLoader) SetSize(WidthVar int, HeightVar int) {
267267
268268 }
269269
270-var xPixbufLoaderWrite func(uintptr, uintptr, uint, **glib.Error) bool
270+var xPixbufLoaderWrite func(uintptr, []byte, uint, **glib.Error) bool
271271
272272 // 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) {
274274 var cerr *glib.Error
275275
276276 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
199199 return cls
200200 }
201201
202-var xNewPixbufFromData func(uintptr, Colorspace, bool, int, int, int, int, uintptr, uintptr) uintptr
202+var xNewPixbufFromData func([]byte, Colorspace, bool, int, int, int, int, uintptr, uintptr) uintptr
203203
204204 // Creates a new #GdkPixbuf out of in-memory image data.
205205 //
@@ -212,7 +212,7 @@ var xNewPixbufFromData func(uintptr, Colorspace, bool, int, int, int, int, uintp
212212 // it is its responsibility to free the pixel array.
213213 //
214214 // 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 {
216216 var cls *Pixbuf
217217
218218 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) (*
337337
338338 }
339339
340-var xNewPixbufFromInline func(int, uintptr, bool, **glib.Error) uintptr
340+var xNewPixbufFromInline func(int, []byte, bool, **glib.Error) uintptr
341341
342342 // Creates a `GdkPixbuf` from a flat representation that is suitable for
343343 // storing as inline data in a program.
@@ -372,7 +372,7 @@ var xNewPixbufFromInline func(int, uintptr, bool, **glib.Error) uintptr
372372 // For non-const inline data, you could get out of memory. For untrusted
373373 // inline data located at runtime, you could have corrupt inline data in
374374 // addition.
375-func NewPixbufFromInline(DataLengthVar int, DataVar uintptr, CopyPixelsVar bool) (*Pixbuf, error) {
375+func NewPixbufFromInline(DataLengthVar int, DataVar []byte, CopyPixelsVar bool) (*Pixbuf, error) {
376376 var cls *Pixbuf
377377 var cerr *glib.Error
378378
@@ -840,7 +840,7 @@ func (x *Pixbuf) GetOptions() *glib.HashTable {
840840 return cret
841841 }
842842
843-var xPixbufGetPixels func(uintptr) uintptr
843+var xPixbufGetPixels func(uintptr) []byte
844844
845845 // Queries a pointer to the pixel data of a pixbuf.
846846 //
@@ -849,13 +849,13 @@ var xPixbufGetPixels func(uintptr) uintptr
849849 //
850850 // Please see the section on [image data](class.Pixbuf.html#image-data) for information
851851 // about how the pixel data is stored in memory.
852-func (x *Pixbuf) GetPixels() uintptr {
852+func (x *Pixbuf) GetPixels() []byte {
853853
854854 cret := xPixbufGetPixels(x.GoPointer())
855855 return cret
856856 }
857857
858-var xPixbufGetPixelsWithLength func(uintptr, uint) uintptr
858+var xPixbufGetPixelsWithLength func(uintptr, uint) []byte
859859
860860 // Queries a pointer to the pixel data of a pixbuf.
861861 //
@@ -864,7 +864,7 @@ var xPixbufGetPixelsWithLength func(uintptr, uint) uintptr
864864 //
865865 // Please see the section on [image data](class.Pixbuf.html#image-data) for information
866866 // 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 {
868868
869869 cret := xPixbufGetPixelsWithLength(x.GoPointer(), LengthVar)
870870 return cret
@@ -1084,7 +1084,7 @@ func (x *Pixbuf) Save(FilenameVar string, TypeVar string, ErrorVar **glib.Error,
10841084 return cret
10851085 }
10861086
1087-var xPixbufSaveToBuffer func(uintptr, uintptr, uint, string, **glib.Error, ...interface{}) bool
1087+var xPixbufSaveToBuffer func(uintptr, []byte, uint, string, **glib.Error, ...interface{}) bool
10881088
10891089 // Saves pixbuf to a new buffer in format `type`, which is currently "jpeg",
10901090 // "png", "tiff", "ico" or "bmp".
@@ -1100,13 +1100,13 @@ var xPixbufSaveToBuffer func(uintptr, uintptr, uint, string, **glib.Error, ...in
11001100 // domain.
11011101 //
11021102 // 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 {
11041104
11051105 cret := xPixbufSaveToBuffer(x.GoPointer(), BufferVar, BufferSizeVar, TypeVar, ErrorVar, varArgs...)
11061106 return cret
11071107 }
11081108
1109-var xPixbufSaveToBufferv func(uintptr, uintptr, uint, string, []string, []string, **glib.Error) bool
1109+var xPixbufSaveToBufferv func(uintptr, []byte, uint, string, []string, []string, **glib.Error) bool
11101110
11111111 // Vector version of `gdk_pixbuf_save_to_buffer()`.
11121112 //
@@ -1114,7 +1114,7 @@ var xPixbufSaveToBufferv func(uintptr, uintptr, uint, string, []string, []string
11141114 // "tiff", "png", "ico" or "bmp".
11151115 //
11161116 // 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) {
11181118 var cerr *glib.Error
11191119
11201120 cret := xPixbufSaveToBufferv(x.GoPointer(), BufferVar, BufferSizeVar, TypeVar, OptionKeysVar, OptionValuesVar, &cerr)
@@ -1220,7 +1220,7 @@ func (x *Pixbuf) SaveToStreamv(StreamVar *gio.OutputStream, TypeVar string, Opti
12201220
12211221 }
12221222
1223-var xPixbufSaveToStreamvAsync func(uintptr, uintptr, string, uintptr, uintptr, uintptr, uintptr, uintptr)
1223+var xPixbufSaveToStreamvAsync func(uintptr, uintptr, string, []string, []string, uintptr, uintptr, uintptr)
12241224
12251225 // Saves `pixbuf` to an output stream asynchronously.
12261226 //
@@ -1231,7 +1231,7 @@ var xPixbufSaveToStreamvAsync func(uintptr, uintptr, string, uintptr, uintptr, u
12311231 //
12321232 // You can then call gdk_pixbuf_save_to_stream_finish() to get the result of
12331233 // 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) {
12351235
12361236 xPixbufSaveToStreamvAsync(x.GoPointer(), StreamVar.GoPointer(), TypeVar, OptionKeysVar, OptionValuesVar, CancellableVar.GoPointer(), glib.NewCallback(CallbackVar), UserDataVar)
12371237
M v4/gio/gactiongroup.go +3 -3
@@ -78,7 +78,7 @@ type ActionGroup interface {
7878 GetActionStateHint(ActionNameVar string) *glib.Variant
7979 GetActionStateType(ActionNameVar string) *glib.VariantType
8080 HasAction(ActionNameVar string) bool
81- ListActions() uintptr
81+ ListActions() []string
8282 QueryAction(ActionNameVar string, EnabledVar bool, ParameterTypeVar **glib.VariantType, StateTypeVar **glib.VariantType, StateHintVar **glib.Variant, StateVar **glib.Variant) bool
8383 }
8484 type ActionGroupBase struct {
@@ -285,7 +285,7 @@ func (x *ActionGroupBase) HasAction(ActionNameVar string) bool {
285285 //
286286 // The caller is responsible for freeing the list with g_strfreev() when
287287 // it is no longer required.
288-func (x *ActionGroupBase) ListActions() uintptr {
288+func (x *ActionGroupBase) ListActions() []string {
289289
290290 cret := XGActionGroupListActions(x.GoPointer())
291291 return cret
@@ -336,7 +336,7 @@ var XGActionGroupGetActionState func(uintptr, string) *glib.Variant
336336 var XGActionGroupGetActionStateHint func(uintptr, string) *glib.Variant
337337 var XGActionGroupGetActionStateType func(uintptr, string) *glib.VariantType
338338 var XGActionGroupHasAction func(uintptr, string) bool
339-var XGActionGroupListActions func(uintptr) uintptr
339+var XGActionGroupListActions func(uintptr) []string
340340 var XGActionGroupQueryAction func(uintptr, string, bool, **glib.VariantType, **glib.VariantType, **glib.Variant, **glib.Variant) bool
341341
342342 func init() {
M v4/gio/gactionmap.go +4 -4
@@ -26,7 +26,7 @@ type ActionEntry struct {
2626
2727 State uintptr
2828
29- Padding uintptr
29+ Padding [3]uint
3030 }
3131
3232 func (x *ActionEntry) GoPointer() uintptr {
@@ -55,7 +55,7 @@ type ActionMap interface {
5555 GoPointer() uintptr
5656 SetGoPointer(uintptr)
5757 AddAction(ActionVar Action)
58- AddActionEntries(EntriesVar uintptr, NEntriesVar int, UserDataVar uintptr)
58+ AddActionEntries(EntriesVar []ActionEntry, NEntriesVar int, UserDataVar uintptr)
5959 LookupAction(ActionNameVar string) *ActionBase
6060 RemoveAction(ActionNameVar string)
6161 }
@@ -126,7 +126,7 @@ func (x *ActionMapBase) AddAction(ActionVar Action) {
126126 // }
127127 //
128128 // ]|
129-func (x *ActionMapBase) AddActionEntries(EntriesVar uintptr, NEntriesVar int, UserDataVar uintptr) {
129+func (x *ActionMapBase) AddActionEntries(EntriesVar []ActionEntry, NEntriesVar int, UserDataVar uintptr) {
130130
131131 XGActionMapAddActionEntries(x.GoPointer(), EntriesVar, NEntriesVar, UserDataVar)
132132
@@ -159,7 +159,7 @@ func (x *ActionMapBase) RemoveAction(ActionNameVar string) {
159159 }
160160
161161 var XGActionMapAddAction func(uintptr, uintptr)
162-var XGActionMapAddActionEntries func(uintptr, uintptr, int, uintptr)
162+var XGActionMapAddActionEntries func(uintptr, []ActionEntry, int, uintptr)
163163 var XGActionMapLookupAction func(uintptr, string) uintptr
164164 var XGActionMapRemoveAction func(uintptr, string)
165165
M v4/gio/gapplication.go +5 -5
@@ -14,7 +14,7 @@ import (
1414 type ApplicationClass struct {
1515 ParentClass uintptr
1616
17- Padding uintptr
17+ Padding [7]uintptr
1818 }
1919
2020 func (x *ApplicationClass) GoPointer() uintptr {
@@ -209,7 +209,7 @@ func (x *Application) AddMainOption(LongNameVar string, ShortNameVar byte, Flags
209209
210210 }
211211
212-var xApplicationAddMainOptionEntries func(uintptr, uintptr)
212+var xApplicationAddMainOptionEntries func(uintptr, []glib.OptionEntry)
213213
214214 // Adds main option entries to be handled by @application.
215215 //
@@ -265,7 +265,7 @@ var xApplicationAddMainOptionEntries func(uintptr, uintptr)
265265 // - for %G_OPTION_ARG_FILENAME, use `^&ay`
266266 // - for %G_OPTION_ARG_STRING_ARRAY, use `^a&s`
267267 // - for %G_OPTION_ARG_FILENAME_ARRAY, use `^a&ay`
268-func (x *Application) AddMainOptionEntries(EntriesVar uintptr) {
268+func (x *Application) AddMainOptionEntries(EntriesVar []glib.OptionEntry) {
269269
270270 xApplicationAddMainOptionEntries(x.GoPointer(), EntriesVar)
271271
@@ -1287,7 +1287,7 @@ func (x *Application) HasAction(ActionNameVar string) bool {
12871287 //
12881288 // The caller is responsible for freeing the list with g_strfreev() when
12891289 // it is no longer required.
1290-func (x *Application) ListActions() uintptr {
1290+func (x *Application) ListActions() []string {
12911291
12921292 cret := XGActionGroupListActions(x.GoPointer())
12931293 return cret
@@ -1381,7 +1381,7 @@ func (x *Application) AddAction(ActionVar Action) {
13811381 // }
13821382 //
13831383 // ]|
1384-func (x *Application) AddActionEntries(EntriesVar uintptr, NEntriesVar int, UserDataVar uintptr) {
1384+func (x *Application) AddActionEntries(EntriesVar []ActionEntry, NEntriesVar int, UserDataVar uintptr) {
13851385
13861386 XGActionMapAddActionEntries(x.GoPointer(), EntriesVar, NEntriesVar, UserDataVar)
13871387
M v4/gio/gapplicationcommandline.go +5 -5
@@ -15,7 +15,7 @@ import (
1515 type ApplicationCommandLineClass struct {
1616 ParentClass uintptr
1717
18- Padding uintptr
18+ Padding [11]uintptr
1919 }
2020
2121 func (x *ApplicationCommandLineClass) GoPointer() uintptr {
@@ -231,7 +231,7 @@ func (x *ApplicationCommandLine) CreateFileForArg(ArgVar string) *FileBase {
231231 return cls
232232 }
233233
234-var xApplicationCommandLineGetArguments func(uintptr, int) uintptr
234+var xApplicationCommandLineGetArguments func(uintptr, int) []string
235235
236236 // Gets the list of arguments that was passed on the command line.
237237 //
@@ -244,7 +244,7 @@ var xApplicationCommandLineGetArguments func(uintptr, int) uintptr
244244 //
245245 // The return value is %NULL-terminated and should be freed using
246246 // g_strfreev().
247-func (x *ApplicationCommandLine) GetArguments(ArgcVar int) uintptr {
247+func (x *ApplicationCommandLine) GetArguments(ArgcVar int) []string {
248248
249249 cret := xApplicationCommandLineGetArguments(x.GoPointer(), ArgcVar)
250250 return cret
@@ -266,7 +266,7 @@ func (x *ApplicationCommandLine) GetCwd() string {
266266 return cret
267267 }
268268
269-var xApplicationCommandLineGetEnviron func(uintptr) uintptr
269+var xApplicationCommandLineGetEnviron func(uintptr) []string
270270
271271 // Gets the contents of the 'environ' variable of the command line
272272 // invocation, as would be returned by g_get_environ(), ie as a
@@ -283,7 +283,7 @@ var xApplicationCommandLineGetEnviron func(uintptr) uintptr
283283 //
284284 // See g_application_command_line_getenv() if you are only interested
285285 // in the value of a single environment variable.
286-func (x *ApplicationCommandLine) GetEnviron() uintptr {
286+func (x *ApplicationCommandLine) GetEnviron() []string {
287287
288288 cret := xApplicationCommandLineGetEnviron(x.GoPointer())
289289 return cret
M v4/gio/gasyncinitable.go +3 -2
@@ -8,6 +8,7 @@ import (
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/glib"
1010 "github.com/jwijenbergh/puregotk/v4/gobject"
11+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1112 )
1213
1314 // Provides an interface for asynchronous initializing object such that
@@ -226,7 +227,7 @@ var XGAsyncInitableInitAsync func(uintptr, int, uintptr, uintptr, uintptr)
226227 var XGAsyncInitableInitFinish func(uintptr, uintptr, **glib.Error) bool
227228 var XGAsyncInitableNewFinish func(uintptr, uintptr, **glib.Error) uintptr
228229
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)
230231
231232 // Helper function for constructing #GAsyncInitable object. This is
232233 // similar to g_object_newv() but also initializes the object asynchronously.
@@ -234,7 +235,7 @@ var xAsyncInitableNewvAsync func([]interface{}, uint, *gobject.Parameter, int, u
234235 // When the initialization is finished, @callback will be called. You can
235236 // then call g_async_initable_new_finish() to get the new object and check
236237 // 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) {
238239
239240 xAsyncInitableNewvAsync(ObjectTypeVar, NParametersVar, ParametersVar, IoPriorityVar, CancellableVar.GoPointer(), glib.NewCallback(CallbackVar), UserDataVar)
240241
M v4/gio/gbufferedinputstream.go +4 -4
@@ -165,22 +165,22 @@ func (x *BufferedInputStream) GetBufferSize() uint {
165165 return cret
166166 }
167167
168-var xBufferedInputStreamPeek func(uintptr, uintptr, uint, uint) uint
168+var xBufferedInputStreamPeek func(uintptr, []byte, uint, uint) uint
169169
170170 // Peeks in the buffer, copying data of size @count into @buffer,
171171 // 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 {
173173
174174 cret := xBufferedInputStreamPeek(x.GoPointer(), BufferVar, OffsetVar, CountVar)
175175 return cret
176176 }
177177
178-var xBufferedInputStreamPeekBuffer func(uintptr, uint) uintptr
178+var xBufferedInputStreamPeekBuffer func(uintptr, uint) []byte
179179
180180 // Returns the buffer with the currently available bytes. The returned
181181 // buffer must not be modified and will become invalid when reading from
182182 // the stream or filling the buffer.
183-func (x *BufferedInputStream) PeekBuffer(CountVar uint) uintptr {
183+func (x *BufferedInputStream) PeekBuffer(CountVar uint) []byte {
184184
185185 cret := xBufferedInputStreamPeekBuffer(x.GoPointer(), CountVar)
186186 return cret
M v4/gio/gcharsetconverter.go +1 -1
@@ -168,7 +168,7 @@ func (c *CharsetConverter) SetGoPointer(ptr uintptr) {
168168 // at a partial multibyte sequence). Converters are supposed to try
169169 // to produce as much output as possible and then return an error
170170 // (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) {
172172 var cerr *glib.Error
173173
174174 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 {
7373 return cls
7474 }
7575
76-var xContentTypeGetMimeDirs func() uintptr
76+var xContentTypeGetMimeDirs func() []string
7777
7878 // Get the list of directories which MIME data is loaded from. See
7979 // g_content_type_set_mime_dirs() for details.
80-func ContentTypeGetMimeDirs() uintptr {
80+func ContentTypeGetMimeDirs() []string {
8181
8282 cret := xContentTypeGetMimeDirs()
8383 return cret
@@ -108,19 +108,19 @@ func ContentTypeGetSymbolicIcon(TypeVar string) *IconBase {
108108 return cls
109109 }
110110
111-var xContentTypeGuess func(string, uintptr, uint, bool) string
111+var xContentTypeGuess func(string, []byte, uint, bool) string
112112
113113 // Guesses the content type based on example data. If the function is
114114 // uncertain, @result_uncertain will be set to %TRUE. Either @filename
115115 // or @data may be %NULL, in which case the guess will be based solely
116116 // 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 {
118118
119119 cret := xContentTypeGuess(FilenameVar, DataVar, DataSizeVar, ResultUncertainVar)
120120 return cret
121121 }
122122
123-var xContentTypeGuessForTree func(uintptr) uintptr
123+var xContentTypeGuessForTree func(uintptr) []string
124124
125125 // Tries to guess the type of the tree with root @root, by
126126 // looking at the files it contains. The result is an array
@@ -134,7 +134,7 @@ var xContentTypeGuessForTree func(uintptr) uintptr
134134 //
135135 // This function is useful in the implementation of
136136 // g_mount_guess_content_type().
137-func ContentTypeGuessForTree(RootVar File) uintptr {
137+func ContentTypeGuessForTree(RootVar File) []string {
138138
139139 cret := xContentTypeGuessForTree(RootVar.GoPointer())
140140 return cret
@@ -171,7 +171,7 @@ func ContentTypeIsUnknown(TypeVar string) bool {
171171 return cret
172172 }
173173
174-var xContentTypeSetMimeDirs func(uintptr)
174+var xContentTypeSetMimeDirs func([]string)
175175
176176 // Set the list of directories used by GIO to load the MIME database.
177177 // If @dirs is %NULL, the directories used are the default:
@@ -198,7 +198,7 @@ var xContentTypeSetMimeDirs func(uintptr)
198198 // return g_test_run ();
199199 //
200200 // ]|
201-func ContentTypeSetMimeDirs(DirsVar uintptr) {
201+func ContentTypeSetMimeDirs(DirsVar []string) {
202202
203203 xContentTypeSetMimeDirs(DirsVar)
204204
M v4/gio/gconverter.go +3 -3
@@ -30,7 +30,7 @@ func (x *ConverterIface) GoPointer() uintptr {
3030 type Converter interface {
3131 GoPointer() uintptr
3232 SetGoPointer(uintptr)
33- Convert(InbufVar uintptr, InbufSizeVar uint, OutbufVar uintptr, OutbufSizeVar uint, FlagsVar ConverterFlags, BytesReadVar uint, BytesWrittenVar uint) ConverterResult
33+ Convert(InbufVar []byte, InbufSizeVar uint, OutbufVar []byte, OutbufSizeVar uint, FlagsVar ConverterFlags, BytesReadVar uint, BytesWrittenVar uint) ConverterResult
3434 Reset()
3535 }
3636 type ConverterBase struct {
@@ -127,7 +127,7 @@ func (x *ConverterBase) SetGoPointer(ptr uintptr) {
127127 // at a partial multibyte sequence). Converters are supposed to try
128128 // to produce as much output as possible and then return an error
129129 // (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) {
131131 var cerr *glib.Error
132132
133133 cret := XGConverterConvert(x.GoPointer(), InbufVar, InbufSizeVar, OutbufVar, OutbufSizeVar, FlagsVar, BytesReadVar, BytesWrittenVar, &cerr)
@@ -147,7 +147,7 @@ func (x *ConverterBase) Reset() {
147147
148148 }
149149
150-var XGConverterConvert func(uintptr, uintptr, uint, uintptr, uint, ConverterFlags, uint, uint, **glib.Error) ConverterResult
150+var XGConverterConvert func(uintptr, []byte, uint, []byte, uint, ConverterFlags, uint, uint, **glib.Error) ConverterResult
151151 var XGConverterReset func(uintptr)
152152
153153 func init() {
M v4/gio/gconverterinputstream.go +1 -1
@@ -133,7 +133,7 @@ func (x *ConverterInputStream) IsReadable() bool {
133133 // if @cancellable has already been cancelled when you call, which
134134 // may happen if you call this method after a source triggers due
135135 // 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) {
137137 var cerr *glib.Error
138138
139139 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 {
137137 // Also note that if %G_IO_ERROR_WOULD_BLOCK is returned some underlying
138138 // transports like D/TLS require that you re-send the same @buffer and
139139 // @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) {
141141 var cerr *glib.Error
142142
143143 cret := XGPollableOutputStreamWriteNonblocking(x.GoPointer(), BufferVar, CountVar, CancellableVar.GoPointer(), &cerr)
@@ -164,7 +164,7 @@ func (x *ConverterOutputStream) WriteNonblocking(BufferVar uintptr, CountVar uin
164164 // Also note that if %G_POLLABLE_RETURN_WOULD_BLOCK is returned some underlying
165165 // transports like D/TLS require that you re-send the same @vectors and
166166 // @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) {
168168 var cerr *glib.Error
169169
170170 cret := XGPollableOutputStreamWritevNonblocking(x.GoPointer(), VectorsVar, NVectorsVar, BytesWrittenVar, CancellableVar.GoPointer(), &cerr)
M v4/gio/gdatagrambased.go +6 -6
@@ -75,8 +75,8 @@ type DatagramBased interface {
7575 ConditionCheck(ConditionVar glib.IOCondition) glib.IOCondition
7676 ConditionWait(ConditionVar glib.IOCondition, TimeoutVar int64, CancellableVar *Cancellable) bool
7777 CreateSource(ConditionVar glib.IOCondition, CancellableVar *Cancellable) *glib.Source
78- ReceiveMessages(MessagesVar uintptr, NumMessagesVar uint, FlagsVar int, TimeoutVar int64, CancellableVar *Cancellable) int
79- SendMessages(MessagesVar uintptr, NumMessagesVar uint, FlagsVar int, TimeoutVar int64, CancellableVar *Cancellable) int
78+ ReceiveMessages(MessagesVar []InputMessage, NumMessagesVar uint, FlagsVar int, TimeoutVar int64, CancellableVar *Cancellable) int
79+ SendMessages(MessagesVar []OutputMessage, NumMessagesVar uint, FlagsVar int, TimeoutVar int64, CancellableVar *Cancellable) int
8080 }
8181 type DatagramBasedBase struct {
8282 Ptr uintptr
@@ -219,7 +219,7 @@ func (x *DatagramBasedBase) CreateSource(ConditionVar glib.IOCondition, Cancella
219219 // messages successfully received before the error will be returned. If
220220 // @cancellable is cancelled, %G_IO_ERROR_CANCELLED is returned as with any
221221 // 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) {
223223 var cerr *glib.Error
224224
225225 cret := XGDatagramBasedReceiveMessages(x.GoPointer(), MessagesVar, NumMessagesVar, FlagsVar, TimeoutVar, CancellableVar.GoPointer(), &cerr)
@@ -271,7 +271,7 @@ func (x *DatagramBasedBase) ReceiveMessages(MessagesVar uintptr, NumMessagesVar
271271 // be returned if zero messages could be sent; otherwise the number of messages
272272 // successfully sent before the error will be returned. If @cancellable is
273273 // 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) {
275275 var cerr *glib.Error
276276
277277 cret := XGDatagramBasedSendMessages(x.GoPointer(), MessagesVar, NumMessagesVar, FlagsVar, TimeoutVar, CancellableVar.GoPointer(), &cerr)
@@ -285,8 +285,8 @@ func (x *DatagramBasedBase) SendMessages(MessagesVar uintptr, NumMessagesVar uin
285285 var XGDatagramBasedConditionCheck func(uintptr, glib.IOCondition) glib.IOCondition
286286 var XGDatagramBasedConditionWait func(uintptr, glib.IOCondition, int64, uintptr, **glib.Error) bool
287287 var XGDatagramBasedCreateSource func(uintptr, glib.IOCondition, uintptr) *glib.Source
288-var XGDatagramBasedReceiveMessages func(uintptr, uintptr, uint, int, int64, uintptr, **glib.Error) int
289-var XGDatagramBasedSendMessages func(uintptr, uintptr, uint, int, int64, uintptr, **glib.Error) int
288+var XGDatagramBasedReceiveMessages func(uintptr, []InputMessage, uint, int, int64, uintptr, **glib.Error) int
289+var XGDatagramBasedSendMessages func(uintptr, []OutputMessage, uint, int, int64, uintptr, **glib.Error) int
290290
291291 func init() {
292292 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)
143143
144144 }
145145
146-var xDataInputStreamReadLine func(uintptr, uint, uintptr, **glib.Error) uintptr
146+var xDataInputStreamReadLine func(uintptr, uint, uintptr, **glib.Error) []byte
147147
148148 // Reads a line from the data input stream. Note that no encoding
149149 // checks or conversion is performed; the input is not guaranteed to
@@ -152,7 +152,7 @@ var xDataInputStreamReadLine func(uintptr, uint, uintptr, **glib.Error) uintptr
152152 // If @cancellable is not %NULL, then the operation can be cancelled by
153153 // triggering the cancellable object from another thread. If the operation
154154 // 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) {
156156 var cerr *glib.Error
157157
158158 cret := xDataInputStreamReadLine(x.GoPointer(), LengthVar, CancellableVar.GoPointer(), &cerr)
@@ -177,13 +177,13 @@ func (x *DataInputStream) ReadLineAsync(IoPriorityVar int, CancellableVar *Cance
177177
178178 }
179179
180-var xDataInputStreamReadLineFinish func(uintptr, uintptr, uint, **glib.Error) uintptr
180+var xDataInputStreamReadLineFinish func(uintptr, uintptr, uint, **glib.Error) []byte
181181
182182 // Finish an asynchronous call started by
183183 // g_data_input_stream_read_line_async(). Note the warning about
184184 // string encoding in g_data_input_stream_read_line() applies here as
185185 // well.
186-func (x *DataInputStream) ReadLineFinish(ResultVar AsyncResult, LengthVar uint) (uintptr, error) {
186+func (x *DataInputStream) ReadLineFinish(ResultVar AsyncResult, LengthVar uint) ([]byte, error) {
187187 var cerr *glib.Error
188188
189189 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
108108 // contain the `/` character.
109109 //
110110 // The return value will be freed with g_strfreev().
111-type DBusSubtreeEnumerateFunc func(uintptr, string, string, uintptr) uintptr
111+type DBusSubtreeEnumerateFunc func(uintptr, string, string, uintptr) []string
112112
113113 // The type of the @introspect function in #GDBusSubtreeVTable.
114114 //
@@ -178,7 +178,7 @@ type DBusInterfaceVTable struct {
178178
179179 SetProperty DBusInterfaceSetPropertyFunc
180180
181- Padding uintptr
181+ Padding [8]uintptr
182182 }
183183
184184 func (x *DBusInterfaceVTable) GoPointer() uintptr {
@@ -193,7 +193,7 @@ type DBusSubtreeVTable struct {
193193
194194 Dispatch DBusSubtreeDispatchFunc
195195
196- Padding uintptr
196+ Padding [8]uintptr
197197 }
198198
199199 func (x *DBusSubtreeVTable) GoPointer() uintptr {
M v4/gio/gdbuserror.go +2 -2
@@ -110,13 +110,13 @@ func DbusErrorRegisterError(ErrorDomainVar glib.Quark, ErrorCodeVar int, DbusErr
110110 return cret
111111 }
112112
113-var xDbusErrorRegisterErrorDomain func(string, uint, uintptr, uint)
113+var xDbusErrorRegisterErrorDomain func(string, uint, []DBusErrorEntry, uint)
114114
115115 // Helper function for associating a #GError error domain with D-Bus error names.
116116 //
117117 // While @quark_volatile has a `volatile` qualifier, this is a historical
118118 // 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) {
120120
121121 xDbusErrorRegisterErrorDomain(ErrorDomainQuarkNameVar, QuarkVolatileVar, EntriesVar, NumEntriesVar)
122122
M v4/gio/gdbusinterfaceskeleton.go +2 -2
@@ -14,9 +14,9 @@ import (
1414 type DBusInterfaceSkeletonClass struct {
1515 ParentClass uintptr
1616
17- VfuncPadding uintptr
17+ VfuncPadding [8]uintptr
1818
19- SignalPadding uintptr
19+ SignalPadding [8]uintptr
2020 }
2121
2222 func (x *DBusInterfaceSkeletonClass) GoPointer() uintptr {
M v4/gio/gdbusobjectmanagerclient.go +3 -3
@@ -14,7 +14,7 @@ import (
1414 type DBusObjectManagerClientClass struct {
1515 ParentClass uintptr
1616
17- Padding uintptr
17+ Padding [8]uintptr
1818 }
1919
2020 func (x *DBusObjectManagerClientClass) GoPointer() uintptr {
@@ -273,13 +273,13 @@ func (c *DBusObjectManagerClient) SetGoPointer(ptr uintptr) {
273273 // This signal is emitted in the
274274 // [thread-default main context][g-main-context-push-thread-default]
275275 // 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 {
277277 cbPtr := uintptr(unsafe.Pointer(cb))
278278 if cbRefPtr, ok := glib.GetCallback(cbPtr); ok {
279279 return gobject.SignalConnect(x.GoPointer(), "interface-proxy-properties-changed", cbRefPtr)
280280 }
281281
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) {
283283 fa := DBusObjectManagerClient{}
284284 fa.Ptr = clsPtr
285285 cbFn := *cb
M v4/gio/gdbusobjectmanagerserver.go +1 -1
@@ -14,7 +14,7 @@ import (
1414 type DBusObjectManagerServerClass struct {
1515 ParentClass uintptr
1616
17- Padding uintptr
17+ Padding [8]uintptr
1818 }
1919
2020 func (x *DBusObjectManagerServerClass) GoPointer() uintptr {
M v4/gio/gdbusobjectproxy.go +1 -1
@@ -14,7 +14,7 @@ import (
1414 type DBusObjectProxyClass struct {
1515 ParentClass uintptr
1616
17- Padding uintptr
17+ Padding [8]uintptr
1818 }
1919
2020 func (x *DBusObjectProxyClass) GoPointer() uintptr {
M v4/gio/gdbusobjectskeleton.go +1 -1
@@ -14,7 +14,7 @@ import (
1414 type DBusObjectSkeletonClass struct {
1515 ParentClass uintptr
1616
17- Padding uintptr
17+ Padding [8]uintptr
1818 }
1919
2020 func (x *DBusObjectSkeletonClass) GoPointer() uintptr {
M v4/gio/gdbusproxy.go +5 -5
@@ -14,7 +14,7 @@ import (
1414 type DBusProxyClass struct {
1515 ParentClass uintptr
1616
17- Padding uintptr
17+ Padding [32]uintptr
1818 }
1919
2020 func (x *DBusProxyClass) GoPointer() uintptr {
@@ -359,10 +359,10 @@ func (x *DBusProxy) GetCachedProperty(PropertyNameVar string) *glib.Variant {
359359 return cret
360360 }
361361
362-var xDBusProxyGetCachedPropertyNames func(uintptr) uintptr
362+var xDBusProxyGetCachedPropertyNames func(uintptr) []string
363363
364364 // Gets the names of all cached properties on @proxy.
365-func (x *DBusProxy) GetCachedPropertyNames() uintptr {
365+func (x *DBusProxy) GetCachedPropertyNames() []string {
366366
367367 cret := xDBusProxyGetCachedPropertyNames(x.GoPointer())
368368 return cret
@@ -548,13 +548,13 @@ func (c *DBusProxy) SetGoPointer(ptr uintptr) {
548548 // This signal corresponds to the
549549 // `PropertiesChanged` D-Bus signal on the
550550 // `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 {
552552 cbPtr := uintptr(unsafe.Pointer(cb))
553553 if cbRefPtr, ok := glib.GetCallback(cbPtr); ok {
554554 return gobject.SignalConnect(x.GoPointer(), "g-properties-changed", cbRefPtr)
555555 }
556556
557- fcb := func(clsPtr uintptr, ChangedPropertiesVarp uintptr, InvalidatedPropertiesVarp uintptr) {
557+ fcb := func(clsPtr uintptr, ChangedPropertiesVarp uintptr, InvalidatedPropertiesVarp []string) {
558558 fa := DBusProxy{}
559559 fa.Ptr = clsPtr
560560 cbFn := *cb
M v4/gio/gdbusutils.go +4 -4
@@ -17,7 +17,7 @@ func DbusEscapeObjectPath(SVar string) string {
1717 return cret
1818 }
1919
20-var xDbusEscapeObjectPathBytestring func(uintptr) string
20+var xDbusEscapeObjectPathBytestring func([]byte) string
2121
2222 // Escapes @bytes for use in a D-Bus object path component.
2323 // @bytes is an array of zero or more nonzero bytes in an
@@ -35,7 +35,7 @@ var xDbusEscapeObjectPathBytestring func(uintptr) string
3535 // D-Bus object paths.
3636 //
3737 // This can be reversed with g_dbus_unescape_object_path().
38-func DbusEscapeObjectPathBytestring(BytesVar uintptr) string {
38+func DbusEscapeObjectPathBytestring(BytesVar []byte) string {
3939
4040 cret := xDbusEscapeObjectPathBytestring(BytesVar)
4141 return cret
@@ -176,7 +176,7 @@ func DbusIsUniqueName(StringVar string) bool {
176176 return cret
177177 }
178178
179-var xDbusUnescapeObjectPath func(string) uintptr
179+var xDbusUnescapeObjectPath func(string) []byte
180180
181181 // Unescapes an string that was previously escaped with
182182 // g_dbus_escape_object_path(). If the string is in a format that could
@@ -186,7 +186,7 @@ var xDbusUnescapeObjectPath func(string) uintptr
186186 // Encoding alphanumeric characters which do not need to be
187187 // encoded is not allowed (e.g `_63` is not valid, the string
188188 // should contain `c` instead).
189-func DbusUnescapeObjectPath(SVar string) uintptr {
189+func DbusUnescapeObjectPath(SVar string) []byte {
190190
191191 cret := xDbusUnescapeObjectPath(SVar)
192192 return cret
M v4/gio/gdebugcontrollerdbus.go +1 -1
@@ -14,7 +14,7 @@ import (
1414 type DebugControllerDBusClass struct {
1515 ParentClass uintptr
1616
17- Padding uintptr
17+ Padding [12]uintptr
1818 }
1919
2020 func (x *DebugControllerDBusClass) GoPointer() uintptr {
M v4/gio/gdesktopappinfo.go +6 -6
@@ -218,10 +218,10 @@ func (x *DesktopAppInfo) GetIsHidden() bool {
218218 return cret
219219 }
220220
221-var xDesktopAppInfoGetKeywords func(uintptr) uintptr
221+var xDesktopAppInfoGetKeywords func(uintptr) []string
222222
223223 // Gets the keywords from the desktop file.
224-func (x *DesktopAppInfo) GetKeywords() uintptr {
224+func (x *DesktopAppInfo) GetKeywords() []string {
225225
226226 cret := xDesktopAppInfoGetKeywords(x.GoPointer())
227227 return cret
@@ -291,12 +291,12 @@ func (x *DesktopAppInfo) GetString(KeyVar string) string {
291291 return cret
292292 }
293293
294-var xDesktopAppInfoGetStringList func(uintptr, string, uint) uintptr
294+var xDesktopAppInfoGetStringList func(uintptr, string, uint) []string
295295
296296 // Looks up a string list value in the keyfile backing @info.
297297 //
298298 // 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 {
300300
301301 cret := xDesktopAppInfoGetStringList(x.GoPointer(), KeyVar, LengthVar)
302302 return cret
@@ -382,14 +382,14 @@ func (x *DesktopAppInfo) LaunchUrisAsManagerWithFds(UrisVar *glib.List, LaunchCo
382382
383383 }
384384
385-var xDesktopAppInfoListActions func(uintptr) uintptr
385+var xDesktopAppInfoListActions func(uintptr) []string
386386
387387 // Returns the list of "additional application actions" supported on the
388388 // desktop file, as per the desktop file specification.
389389 //
390390 // As per the specification, this is the list of actions that are
391391 // explicitly listed in the "Actions" key of the [Desktop Entry] group.
392-func (x *DesktopAppInfo) ListActions() uintptr {
392+func (x *DesktopAppInfo) ListActions() []string {
393393
394394 cret := xDesktopAppInfoListActions(x.GoPointer())
395395 return cret
M v4/gio/gdtlsconnection.go +6 -6
@@ -46,7 +46,7 @@ type DtlsConnection interface {
4646 CloseFinish(ResultVar AsyncResult) bool
4747 EmitAcceptCertificate(PeerCertVar *TlsCertificate, ErrorsVar TlsCertificateFlags) bool
4848 GetCertificate() *TlsCertificate
49- GetChannelBindingData(TypeVar TlsChannelBindingType, DataVar uintptr) bool
49+ GetChannelBindingData(TypeVar TlsChannelBindingType, DataVar []byte) bool
5050 GetCiphersuiteName() string
5151 GetDatabase() *TlsDatabase
5252 GetInteraction() *TlsInteraction
@@ -59,7 +59,7 @@ type DtlsConnection interface {
5959 Handshake(CancellableVar *Cancellable) bool
6060 HandshakeAsync(IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr)
6161 HandshakeFinish(ResultVar AsyncResult) bool
62- SetAdvertisedProtocols(ProtocolsVar uintptr)
62+ SetAdvertisedProtocols(ProtocolsVar []string)
6363 SetCertificate(CertificateVar *TlsCertificate)
6464 SetDatabase(DatabaseVar *TlsDatabase)
6565 SetInteraction(InteractionVar *TlsInteraction)
@@ -169,7 +169,7 @@ func (x *DtlsConnectionBase) GetCertificate() *TlsCertificate {
169169 // will be available though. That could happen if TLS connection does not
170170 // support @type or the binding data is not available yet due to additional
171171 // 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) {
173173 var cerr *glib.Error
174174
175175 cret := XGDtlsConnectionGetChannelBindingData(x.GoPointer(), TypeVar, DataVar, &cerr)
@@ -361,7 +361,7 @@ func (x *DtlsConnectionBase) HandshakeFinish(ResultVar AsyncResult) (bool, error
361361 //
362362 // See [IANA TLS ALPN Protocol IDs](https://www.iana.org/assignments/tls-extensiontype-values/tls-extensiontype-values.xhtml#alpn-protocol-ids)
363363 // for a list of registered protocol IDs.
364-func (x *DtlsConnectionBase) SetAdvertisedProtocols(ProtocolsVar uintptr) {
364+func (x *DtlsConnectionBase) SetAdvertisedProtocols(ProtocolsVar []string) {
365365
366366 XGDtlsConnectionSetAdvertisedProtocols(x.GoPointer(), ProtocolsVar)
367367
@@ -514,7 +514,7 @@ var XGDtlsConnectionCloseAsync func(uintptr, int, uintptr, uintptr, uintptr)
514514 var XGDtlsConnectionCloseFinish func(uintptr, uintptr, **glib.Error) bool
515515 var XGDtlsConnectionEmitAcceptCertificate func(uintptr, uintptr, TlsCertificateFlags) bool
516516 var XGDtlsConnectionGetCertificate func(uintptr) uintptr
517-var XGDtlsConnectionGetChannelBindingData func(uintptr, TlsChannelBindingType, uintptr, **glib.Error) bool
517+var XGDtlsConnectionGetChannelBindingData func(uintptr, TlsChannelBindingType, []byte, **glib.Error) bool
518518 var XGDtlsConnectionGetCiphersuiteName func(uintptr) string
519519 var XGDtlsConnectionGetDatabase func(uintptr) uintptr
520520 var XGDtlsConnectionGetInteraction func(uintptr) uintptr
@@ -527,7 +527,7 @@ var XGDtlsConnectionGetRequireCloseNotify func(uintptr) bool
527527 var XGDtlsConnectionHandshake func(uintptr, uintptr, **glib.Error) bool
528528 var XGDtlsConnectionHandshakeAsync func(uintptr, int, uintptr, uintptr, uintptr)
529529 var XGDtlsConnectionHandshakeFinish func(uintptr, uintptr, **glib.Error) bool
530-var XGDtlsConnectionSetAdvertisedProtocols func(uintptr, uintptr)
530+var XGDtlsConnectionSetAdvertisedProtocols func(uintptr, []string)
531531 var XGDtlsConnectionSetCertificate func(uintptr, uintptr)
532532 var XGDtlsConnectionSetDatabase func(uintptr, uintptr)
533533 var XGDtlsConnectionSetInteraction func(uintptr, uintptr)
M v4/gio/ginetaddress.go +2 -2
@@ -61,12 +61,12 @@ func NewInetAddressAny(FamilyVar SocketFamily) *InetAddress {
6161 return cls
6262 }
6363
64-var xNewInetAddressFromBytes func(uintptr, SocketFamily) uintptr
64+var xNewInetAddressFromBytes func([]byte, SocketFamily) uintptr
6565
6666 // Creates a new #GInetAddress from the given @family and @bytes.
6767 // @bytes should be 4 bytes for %G_SOCKET_FAMILY_IPV4 and 16 bytes for
6868 // %G_SOCKET_FAMILY_IPV6.
69-func NewInetAddressFromBytes(BytesVar uintptr, FamilyVar SocketFamily) *InetAddress {
69+func NewInetAddressFromBytes(BytesVar []byte, FamilyVar SocketFamily) *InetAddress {
7070 var cls *InetAddress
7171
7272 cret := xNewInetAddressFromBytes(BytesVar, FamilyVar)
M v4/gio/ginitable.go +3 -2
@@ -8,6 +8,7 @@ import (
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/glib"
1010 "github.com/jwijenbergh/puregotk/v4/gobject"
11+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1112 )
1213
1314 // Provides an interface for initializing object such that initialization
@@ -112,12 +113,12 @@ func (x *InitableBase) Init(CancellableVar *Cancellable) (bool, error) {
112113
113114 var XGInitableInit func(uintptr, uintptr, **glib.Error) bool
114115
115-var xInitableNewv func([]interface{}, uint, uintptr, uintptr, **glib.Error) uintptr
116+var xInitableNewv func(types.GType, uint, []gobject.Parameter, uintptr, **glib.Error) uintptr
116117
117118 // Helper function for constructing #GInitable object. This is
118119 // similar to g_object_newv() but also initializes the object
119120 // 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) {
121122 var cls *gobject.Object
122123 var cerr *glib.Error
123124
M v4/gio/ginputstream.go +8 -8
@@ -141,7 +141,7 @@ func (x *InputStream) IsClosed() bool {
141141 return cret
142142 }
143143
144-var xInputStreamRead func(uintptr, uintptr, uint, uintptr, **glib.Error) int
144+var xInputStreamRead func(uintptr, []byte, uint, uintptr, **glib.Error) int
145145
146146 // Tries to read @count bytes from the stream into the buffer starting at
147147 // @buffer. Will block during this read.
@@ -164,7 +164,7 @@ var xInputStreamRead func(uintptr, uintptr, uint, uintptr, **glib.Error) int
164164 // partial result will be returned, without an error.
165165 //
166166 // 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) {
168168 var cerr *glib.Error
169169
170170 cret := xInputStreamRead(x.GoPointer(), BufferVar, CountVar, CancellableVar.GoPointer(), &cerr)
@@ -175,7 +175,7 @@ func (x *InputStream) Read(BufferVar uintptr, CountVar uint, CancellableVar *Can
175175
176176 }
177177
178-var xInputStreamReadAll func(uintptr, uintptr, uint, uint, uintptr, **glib.Error) bool
178+var xInputStreamReadAll func(uintptr, []byte, uint, uint, uintptr, **glib.Error) bool
179179
180180 // Tries to read @count bytes from the stream into the buffer starting at
181181 // @buffer. Will block during this read.
@@ -196,7 +196,7 @@ var xInputStreamReadAll func(uintptr, uintptr, uint, uint, uintptr, **glib.Error
196196 // read before the error was encountered. This functionality is only
197197 // available from C. If you need it from another language then you must
198198 // 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) {
200200 var cerr *glib.Error
201201
202202 cret := xInputStreamReadAll(x.GoPointer(), BufferVar, CountVar, BytesReadVar, CancellableVar.GoPointer(), &cerr)
@@ -207,7 +207,7 @@ func (x *InputStream) ReadAll(BufferVar uintptr, CountVar uint, BytesReadVar uin
207207
208208 }
209209
210-var xInputStreamReadAllAsync func(uintptr, uintptr, uint, int, uintptr, uintptr, uintptr)
210+var xInputStreamReadAllAsync func(uintptr, []byte, uint, int, uintptr, uintptr, uintptr)
211211
212212 // Request an asynchronous read of @count bytes from the stream into the
213213 // buffer starting at @buffer.
@@ -219,7 +219,7 @@ var xInputStreamReadAllAsync func(uintptr, uintptr, uint, int, uintptr, uintptr,
219219 // Any outstanding I/O request with higher priority (lower numerical
220220 // value) will be executed before an outstanding request with lower
221221 // 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) {
223223
224224 xInputStreamReadAllAsync(x.GoPointer(), BufferVar, CountVar, IoPriorityVar, CancellableVar.GoPointer(), glib.NewCallback(CallbackVar), UserDataVar)
225225
@@ -247,7 +247,7 @@ func (x *InputStream) ReadAllFinish(ResultVar AsyncResult, BytesReadVar uint) (b
247247
248248 }
249249
250-var xInputStreamReadAsync func(uintptr, uintptr, uint, int, uintptr, uintptr, uintptr)
250+var xInputStreamReadAsync func(uintptr, []byte, uint, int, uintptr, uintptr, uintptr)
251251
252252 // Request an asynchronous read of @count bytes from the stream into the buffer
253253 // 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
272272 // The asynchronous methods have a default fallback that uses threads to implement
273273 // asynchronicity, so they are optional for inheriting classes. However, if you
274274 // 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) {
276276
277277 xInputStreamReadAsync(x.GoPointer(), BufferVar, CountVar, IoPriorityVar, CancellableVar.GoPointer(), glib.NewCallback(CallbackVar), UserDataVar)
278278
M v4/gio/gio-2.0.go +15 -15
@@ -484,7 +484,7 @@ func (x *DBusActionGroup) HasAction(ActionNameVar string) bool {
484484 //
485485 // The caller is responsible for freeing the list with g_strfreev() when
486486 // it is no longer required.
487-func (x *DBusActionGroup) ListActions() uintptr {
487+func (x *DBusActionGroup) ListActions() []string {
488488
489489 cret := XGActionGroupListActions(x.GoPointer())
490490 return cret
@@ -2179,7 +2179,7 @@ func NewDBusMessage() *DBusMessage {
21792179 return cls
21802180 }
21812181
2182-var xNewDBusMessageFromBlob func(uintptr, uint, DBusCapabilityFlags, **glib.Error) uintptr
2182+var xNewDBusMessageFromBlob func([]byte, uint, DBusCapabilityFlags, **glib.Error) uintptr
21832183
21842184 // Creates a new #GDBusMessage from the data stored at @blob. The byte
21852185 // order that the message was in can be retrieved using
@@ -2187,7 +2187,7 @@ var xNewDBusMessageFromBlob func(uintptr, uint, DBusCapabilityFlags, **glib.Erro
21872187 //
21882188 // If the @blob cannot be parsed, contains invalid fields, or contains invalid
21892189 // 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) {
21912191 var cls *DBusMessage
21922192 var cerr *glib.Error
21932193
@@ -2329,10 +2329,10 @@ func (x *DBusMessage) GetHeader(HeaderFieldVar DBusMessageHeaderField) *glib.Var
23292329 return cret
23302330 }
23312331
2332-var xDBusMessageGetHeaderFields func(uintptr) uintptr
2332+var xDBusMessageGetHeaderFields func(uintptr) []byte
23332333
23342334 // Gets an array of all header fields on @message that are set.
2335-func (x *DBusMessage) GetHeaderFields() uintptr {
2335+func (x *DBusMessage) GetHeaderFields() []byte {
23362336
23372337 cret := xDBusMessageGetHeaderFields(x.GoPointer())
23382338 return cret
@@ -2738,11 +2738,11 @@ func (x *DBusMessage) SetUnixFdList(FdListVar *UnixFDList) {
27382738
27392739 }
27402740
2741-var xDBusMessageToBlob func(uintptr, uint, DBusCapabilityFlags, **glib.Error) uintptr
2741+var xDBusMessageToBlob func(uintptr, uint, DBusCapabilityFlags, **glib.Error) []byte
27422742
27432743 // Serializes @message to a blob. The byte order returned by
27442744 // 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) {
27462746 var cerr *glib.Error
27472747
27482748 cret := xDBusMessageToBlob(x.GoPointer(), OutSizeVar, CapabilitiesVar, &cerr)
@@ -2781,11 +2781,11 @@ func (c *DBusMessage) SetGoPointer(ptr uintptr) {
27812781 c.Ptr = ptr
27822782 }
27832783
2784-var xDBusMessageBytesNeeded func(uintptr, uint, **glib.Error) int
2784+var xDBusMessageBytesNeeded func([]byte, uint, **glib.Error) int
27852785
27862786 // Utility function to calculate how many bytes are needed to
27872787 // 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) {
27892789 var cerr *glib.Error
27902790
27912791 cret := xDBusMessageBytesNeeded(BlobVar, BlobLenVar, &cerr)
@@ -4929,12 +4929,12 @@ func NewSubprocess(FlagsVar SubprocessFlags, ErrorVar **glib.Error, Argv0Var str
49294929 return cls
49304930 }
49314931
4932-var xNewSubprocessv func(uintptr, SubprocessFlags, **glib.Error) uintptr
4932+var xNewSubprocessv func([]string, SubprocessFlags, **glib.Error) uintptr
49334933
49344934 // Create a new process with the given flags and argument list.
49354935 //
49364936 // 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) {
49384938 var cls *Subprocess
49394939 var cerr *glib.Error
49404940
@@ -5519,7 +5519,7 @@ func (x *SubprocessLauncher) SetCwd(CwdVar string) {
55195519
55205520 }
55215521
5522-var xSubprocessLauncherSetEnviron func(uintptr, uintptr)
5522+var xSubprocessLauncherSetEnviron func(uintptr, []string)
55235523
55245524 // Replace the entire environment of processes launched from this
55255525 // launcher with the given 'environ' variable.
@@ -5540,7 +5540,7 @@ var xSubprocessLauncherSetEnviron func(uintptr, uintptr)
55405540 //
55415541 // On UNIX, all strings in this array can be arbitrary byte strings.
55425542 // On Windows, they should be in UTF-8.
5543-func (x *SubprocessLauncher) SetEnviron(EnvVar uintptr) {
5543+func (x *SubprocessLauncher) SetEnviron(EnvVar []string) {
55445544
55455545 xSubprocessLauncherSetEnviron(x.GoPointer(), EnvVar)
55465546
@@ -5655,10 +5655,10 @@ func (x *SubprocessLauncher) Spawn(ErrorVar **glib.Error, Argv0Var string, varAr
56555655 return cls
56565656 }
56575657
5658-var xSubprocessLauncherSpawnv func(uintptr, uintptr, **glib.Error) uintptr
5658+var xSubprocessLauncherSpawnv func(uintptr, []string, **glib.Error) uintptr
56595659
56605660 // 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) {
56625662 var cls *Subprocess
56635663 var cerr *glib.Error
56645664
M v4/gio/giomodule.go +5 -4
@@ -8,6 +8,7 @@ import (
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/glib"
1010 "github.com/jwijenbergh/puregotk/v4/gobject"
11+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1112 )
1213
1314 type IOModuleClass struct {
@@ -49,14 +50,14 @@ func (x *IOModuleScope) Free() {
4950
5051 }
5152
52-var xIoExtensionPointImplement func(string, []interface{}, string, int) *IOExtension
53+var xIoExtensionPointImplement func(string, types.GType, string, int) *IOExtension
5354
5455 // Registers @type as extension for the extension point with name
5556 // @extension_point_name.
5657 //
5758 // If @type has already been registered as an extension for this
5859 // 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 {
6061
6162 cret := xIoExtensionPointImplement(ExtensionPointNameVar, TypeVar, ExtensionNameVar, PriorityVar)
6263 return cret
@@ -226,7 +227,7 @@ func (c *IOModule) SetGoPointer(ptr uintptr) {
226227 // Calls the @complete_interface_info function from the
227228 // #GTypePluginClass of @plugin. There should be no need to use this
228229 // 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) {
230231
231232 gobject.XGTypePluginCompleteInterfaceInfo(x.GoPointer(), InstanceTypeVar, InterfaceTypeVar, InfoVar)
232233
@@ -235,7 +236,7 @@ func (x *IOModule) CompleteInterfaceInfo(InstanceTypeVar []interface{}, Interfac
235236 // Calls the @complete_type_info function from the #GTypePluginClass of @plugin.
236237 // There should be no need to use this function outside of the GObject
237238 // 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) {
239240
240241 gobject.XGTypePluginCompleteTypeInfo(x.GoPointer(), GTypeVar, InfoVar, ValueTableVar)
241242
M v4/gio/giotypes.go +9 -8
@@ -8,6 +8,7 @@ import (
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/glib"
1010 "github.com/jwijenbergh/puregotk/v4/gobject"
11+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1112 )
1213
1314 // Type definition for a function that will be called back when an asynchronous
@@ -35,7 +36,7 @@ type CancellableSourceFunc func(uintptr, uintptr) bool
3536 // This function is called in the
3637 // [thread-default main loop][g-main-context-push-thread-default]
3738 // that @manager was constructed in.
38-type DBusProxyTypeFunc func(uintptr, string, string, uintptr) []interface{}
39+type DBusProxyTypeFunc func(uintptr, string, string, uintptr) types.GType
3940
4041 // This is the function type of the callback used for the #GSource
4142 // returned by g_datagram_based_create_source().
@@ -256,10 +257,10 @@ func (x *IOExtension) GetPriority() int {
256257 return cret
257258 }
258259
259-var xIOExtensionGetType func(uintptr) []interface{}
260+var xIOExtensionGetType func(uintptr) types.GType
260261
261262 // Gets the type associated with @extension.
262-func (x *IOExtension) GetType() []interface{} {
263+func (x *IOExtension) GetType() types.GType {
263264
264265 cret := xIOExtensionGetType(x.GoPointer())
265266 return cret
@@ -303,20 +304,20 @@ func (x *IOExtensionPoint) GetExtensions() *glib.List {
303304 return cret
304305 }
305306
306-var xIOExtensionPointGetRequiredType func(uintptr) []interface{}
307+var xIOExtensionPointGetRequiredType func(uintptr) types.GType
307308
308309 // Gets the required type for @extension_point.
309-func (x *IOExtensionPoint) GetRequiredType() []interface{} {
310+func (x *IOExtensionPoint) GetRequiredType() types.GType {
310311
311312 cret := xIOExtensionPointGetRequiredType(x.GoPointer())
312313 return cret
313314 }
314315
315-var xIOExtensionPointSetRequiredType func(uintptr, []interface{})
316+var xIOExtensionPointSetRequiredType func(uintptr, types.GType)
316317
317318 // Sets the required type for @extension_point to @type.
318319 // All implementations must henceforth have this type.
319-func (x *IOExtensionPoint) SetRequiredType(TypeVar []interface{}) {
320+func (x *IOExtensionPoint) SetRequiredType(TypeVar types.GType) {
320321
321322 xIOExtensionPointSetRequiredType(x.GoPointer(), TypeVar)
322323
@@ -387,7 +388,7 @@ func (x *IOStreamAdapter) GoPointer() uintptr {
387388 type InputMessage struct {
388389 Address **SocketAddress
389390
390- Vectors uintptr
391+ Vectors []InputVector
391392
392393 NumVectors uint
393394
M v4/gio/glistmodel.go +4 -3
@@ -7,6 +7,7 @@ import (
77 "github.com/jwijenbergh/purego"
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/gobject"
10+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1011 )
1112
1213 // The virtual function table for #GListModel.
@@ -69,7 +70,7 @@ type ListModel interface {
6970 GoPointer() uintptr
7071 SetGoPointer(uintptr)
7172 GetItem(PositionVar uint) uintptr
72- GetItemType() []interface{}
73+ GetItemType() types.GType
7374 GetNItems() uint
7475 GetObject(PositionVar uint) *gobject.Object
7576 ItemsChanged(PositionVar uint, RemovedVar uint, AddedVar uint)
@@ -109,7 +110,7 @@ func (x *ListModelBase) GetItem(PositionVar uint) uintptr {
109110 //
110111 // The item type of a #GListModel can not change during the life of the
111112 // model.
112-func (x *ListModelBase) GetItemType() []interface{} {
113+func (x *ListModelBase) GetItemType() types.GType {
113114
114115 cret := XGListModelGetItemType(x.GoPointer())
115116 return cret
@@ -178,7 +179,7 @@ func (x *ListModelBase) ItemsChanged(PositionVar uint, RemovedVar uint, AddedVar
178179 }
179180
180181 var XGListModelGetItem func(uintptr, uint) uintptr
181-var XGListModelGetItemType func(uintptr) []interface{}
182+var XGListModelGetItemType func(uintptr) types.GType
182183 var XGListModelGetNItems func(uintptr) uint
183184 var XGListModelGetObject func(uintptr, uint) uintptr
184185 var XGListModelItemsChanged func(uintptr, uint, uint, uint)
M v4/gio/gliststore.go +6 -5
@@ -8,6 +8,7 @@ import (
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/glib"
1010 "github.com/jwijenbergh/puregotk/v4/gobject"
11+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1112 )
1213
1314 type ListStoreClass struct {
@@ -33,11 +34,11 @@ func ListStoreNewFromInternalPtr(ptr uintptr) *ListStore {
3334 return cls
3435 }
3536
36-var xNewListStore func([]interface{}) uintptr
37+var xNewListStore func(types.GType) uintptr
3738
3839 // Creates a new #GListStore with items of type @item_type. @item_type
3940 // must be a subclass of #GObject.
40-func NewListStore(ItemTypeVar []interface{}) *ListStore {
41+func NewListStore(ItemTypeVar types.GType) *ListStore {
4142 var cls *ListStore
4243
4344 cret := xNewListStore(ItemTypeVar)
@@ -153,7 +154,7 @@ func (x *ListStore) Sort(CompareFuncVar *glib.CompareDataFunc, UserDataVar uintp
153154
154155 }
155156
156-var xListStoreSplice func(uintptr, uint, uint, uintptr, uint)
157+var xListStoreSplice func(uintptr, uint, uint, []gobject.Object, uint)
157158
158159 // Changes @store by removing @n_removals items and adding @n_additions
159160 // items to it. @additions must contain @n_additions items of type
@@ -168,7 +169,7 @@ var xListStoreSplice func(uintptr, uint, uint, uintptr, uint)
168169 // The parameters @position and @n_removals must be correct (ie:
169170 // @position + @n_removals must be less than or equal to the length of
170171 // 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) {
172173
173174 xListStoreSplice(x.GoPointer(), PositionVar, NRemovalsVar, AdditionsVar, NAdditionsVar)
174175
@@ -205,7 +206,7 @@ func (x *ListStore) GetItem(PositionVar uint) uintptr {
205206 //
206207 // The item type of a #GListModel can not change during the life of the
207208 // model.
208-func (x *ListStore) GetItemType() []interface{} {
209+func (x *ListStore) GetItemType() types.GType {
209210
210211 cret := XGListModelGetItemType(x.GoPointer())
211212 return cret
M v4/gio/gmemoryinputstream.go +5 -5
@@ -71,10 +71,10 @@ func NewMemoryInputStreamFromBytes(BytesVar *glib.Bytes) *MemoryInputStream {
7171 return cls
7272 }
7373
74-var xNewMemoryInputStreamFromData func(uintptr, int, uintptr) uintptr
74+var xNewMemoryInputStreamFromData func([]byte, int, uintptr) uintptr
7575
7676 // 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 {
7878 var cls *MemoryInputStream
7979
8080 cret := xNewMemoryInputStreamFromData(DataVar, LenVar, glib.NewCallback(DestroyVar))
@@ -96,10 +96,10 @@ func (x *MemoryInputStream) AddBytes(BytesVar *glib.Bytes) {
9696
9797 }
9898
99-var xMemoryInputStreamAddData func(uintptr, uintptr, int, uintptr)
99+var xMemoryInputStreamAddData func(uintptr, []byte, int, uintptr)
100100
101101 // 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) {
103103
104104 xMemoryInputStreamAddData(x.GoPointer(), DataVar, LenVar, glib.NewCallback(DestroyVar))
105105
@@ -165,7 +165,7 @@ func (x *MemoryInputStream) IsReadable() bool {
165165 // if @cancellable has already been cancelled when you call, which
166166 // may happen if you call this method after a source triggers due
167167 // 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) {
169169 var cerr *glib.Error
170170
171171 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 {
251251 // Also note that if %G_IO_ERROR_WOULD_BLOCK is returned some underlying
252252 // transports like D/TLS require that you re-send the same @buffer and
253253 // @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) {
255255 var cerr *glib.Error
256256
257257 cret := XGPollableOutputStreamWriteNonblocking(x.GoPointer(), BufferVar, CountVar, CancellableVar.GoPointer(), &cerr)
@@ -278,7 +278,7 @@ func (x *MemoryOutputStream) WriteNonblocking(BufferVar uintptr, CountVar uint,
278278 // Also note that if %G_POLLABLE_RETURN_WOULD_BLOCK is returned some underlying
279279 // transports like D/TLS require that you re-send the same @vectors and
280280 // @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) {
282282 var cerr *glib.Error
283283
284284 cret := XGPollableOutputStreamWritevNonblocking(x.GoPointer(), VectorsVar, NVectorsVar, BytesWrittenVar, CancellableVar.GoPointer(), &cerr)
M v4/gio/gmount.go +6 -6
@@ -56,8 +56,8 @@ type Mount interface {
5656 GetUuid() string
5757 GetVolume() *VolumeBase
5858 GuessContentType(ForceRescanVar bool, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr)
59- GuessContentTypeFinish(ResultVar AsyncResult) uintptr
60- GuessContentTypeSync(ForceRescanVar bool, CancellableVar *Cancellable) uintptr
59+ GuessContentTypeFinish(ResultVar AsyncResult) []string
60+ GuessContentTypeSync(ForceRescanVar bool, CancellableVar *Cancellable) []string
6161 IsShadowed() bool
6262 Remount(FlagsVar MountMountFlags, MountOperationVar *MountOperation, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr)
6363 RemountFinish(ResultVar AsyncResult) bool
@@ -273,7 +273,7 @@ func (x *MountBase) GuessContentType(ForceRescanVar bool, CancellableVar *Cancel
273273 // %FALSE will be returned. In particular, you may get an
274274 // %G_IO_ERROR_NOT_SUPPORTED if the mount does not support content
275275 // guessing.
276-func (x *MountBase) GuessContentTypeFinish(ResultVar AsyncResult) (uintptr, error) {
276+func (x *MountBase) GuessContentTypeFinish(ResultVar AsyncResult) ([]string, error) {
277277 var cerr *glib.Error
278278
279279 cret := XGMountGuessContentTypeFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)
@@ -293,7 +293,7 @@ func (x *MountBase) GuessContentTypeFinish(ResultVar AsyncResult) (uintptr, erro
293293 //
294294 // This is a synchronous operation and as such may block doing IO;
295295 // 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) {
297297 var cerr *glib.Error
298298
299299 cret := XGMountGuessContentTypeSync(x.GoPointer(), ForceRescanVar, CancellableVar.GoPointer(), &cerr)
@@ -441,8 +441,8 @@ var XGMountGetSymbolicIcon func(uintptr) uintptr
441441 var XGMountGetUuid func(uintptr) string
442442 var XGMountGetVolume func(uintptr) uintptr
443443 var XGMountGuessContentType func(uintptr, bool, uintptr, uintptr, uintptr)
444-var XGMountGuessContentTypeFinish func(uintptr, uintptr, **glib.Error) uintptr
445-var XGMountGuessContentTypeSync func(uintptr, bool, uintptr, **glib.Error) uintptr
444+var XGMountGuessContentTypeFinish func(uintptr, uintptr, **glib.Error) []string
445+var XGMountGuessContentTypeSync func(uintptr, bool, uintptr, **glib.Error) []string
446446 var XGMountIsShadowed func(uintptr) bool
447447 var XGMountRemount func(uintptr, MountMountFlags, uintptr, uintptr, uintptr, uintptr)
448448 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
308308 // If the message contains a line break, the first line should be
309309 // presented as a heading. For example, it may be used as the
310310 // 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 {
312312 cbPtr := uintptr(unsafe.Pointer(cb))
313313 if cbRefPtr, ok := glib.GetCallback(cbPtr); ok {
314314 return gobject.SignalConnect(x.GoPointer(), "ask-question", cbRefPtr)
315315 }
316316
317- fcb := func(clsPtr uintptr, MessageVarp string, ChoicesVarp uintptr) {
317+ fcb := func(clsPtr uintptr, MessageVarp string, ChoicesVarp []string) {
318318 fa := MountOperation{}
319319 fa.Ptr = clsPtr
320320 cbFn := *cb
@@ -359,13 +359,13 @@ func (x *MountOperation) ConnectReply(cb *func(MountOperation, MountOperationRes
359359 // If the message contains a line break, the first line should be
360360 // presented as a heading. For example, it may be used as the
361361 // 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 {
363363 cbPtr := uintptr(unsafe.Pointer(cb))
364364 if cbRefPtr, ok := glib.GetCallback(cbPtr); ok {
365365 return gobject.SignalConnect(x.GoPointer(), "show-processes", cbRefPtr)
366366 }
367367
368- fcb := func(clsPtr uintptr, MessageVarp string, ProcessesVarp uintptr, ChoicesVarp uintptr) {
368+ fcb := func(clsPtr uintptr, MessageVarp string, ProcessesVarp []glib.Pid, ChoicesVarp []string) {
369369 fa := MountOperation{}
370370 fa.Ptr = clsPtr
371371 cbFn := *cb
M v4/gio/goutputstream.go +16 -16
@@ -309,7 +309,7 @@ func (x *OutputStream) Vprintf(BytesWrittenVar uint, CancellableVar *Cancellable
309309 return cret
310310 }
311311
312-var xOutputStreamWrite func(uintptr, uintptr, uint, uintptr, **glib.Error) int
312+var xOutputStreamWrite func(uintptr, []byte, uint, uintptr, **glib.Error) int
313313
314314 // Tries to write @count bytes from @buffer into the stream. Will block
315315 // during the operation.
@@ -331,7 +331,7 @@ var xOutputStreamWrite func(uintptr, uintptr, uint, uintptr, **glib.Error) int
331331 // partial result will be returned, without an error.
332332 //
333333 // 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) {
335335 var cerr *glib.Error
336336
337337 cret := xOutputStreamWrite(x.GoPointer(), BufferVar, CountVar, CancellableVar.GoPointer(), &cerr)
@@ -342,7 +342,7 @@ func (x *OutputStream) Write(BufferVar uintptr, CountVar uint, CancellableVar *C
342342
343343 }
344344
345-var xOutputStreamWriteAll func(uintptr, uintptr, uint, uint, uintptr, **glib.Error) bool
345+var xOutputStreamWriteAll func(uintptr, []byte, uint, uint, uintptr, **glib.Error) bool
346346
347347 // Tries to write @count bytes from @buffer into the stream. Will block
348348 // during the operation.
@@ -363,7 +363,7 @@ var xOutputStreamWriteAll func(uintptr, uintptr, uint, uint, uintptr, **glib.Err
363363 // functionality is only available from C. If you need it from another
364364 // language then you must write your own loop around
365365 // 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) {
367367 var cerr *glib.Error
368368
369369 cret := xOutputStreamWriteAll(x.GoPointer(), BufferVar, CountVar, BytesWrittenVar, CancellableVar.GoPointer(), &cerr)
@@ -374,7 +374,7 @@ func (x *OutputStream) WriteAll(BufferVar uintptr, CountVar uint, BytesWrittenVa
374374
375375 }
376376
377-var xOutputStreamWriteAllAsync func(uintptr, uintptr, uint, int, uintptr, uintptr, uintptr)
377+var xOutputStreamWriteAllAsync func(uintptr, []byte, uint, int, uintptr, uintptr, uintptr)
378378
379379 // Request an asynchronous write of @count bytes from @buffer into
380380 // the stream. When the operation is finished @callback will be called.
@@ -391,7 +391,7 @@ var xOutputStreamWriteAllAsync func(uintptr, uintptr, uint, int, uintptr, uintpt
391391 //
392392 // Note that no copy of @buffer will be made, so it must stay valid
393393 // 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) {
395395
396396 xOutputStreamWriteAllAsync(x.GoPointer(), BufferVar, CountVar, IoPriorityVar, CancellableVar.GoPointer(), glib.NewCallback(CallbackVar), UserDataVar)
397397
@@ -420,7 +420,7 @@ func (x *OutputStream) WriteAllFinish(ResultVar AsyncResult, BytesWrittenVar uin
420420
421421 }
422422
423-var xOutputStreamWriteAsync func(uintptr, uintptr, uint, int, uintptr, uintptr, uintptr)
423+var xOutputStreamWriteAsync func(uintptr, []byte, uint, int, uintptr, uintptr, uintptr)
424424
425425 // Request an asynchronous write of @count bytes from @buffer into
426426 // the stream. When the operation is finished @callback will be called.
@@ -457,7 +457,7 @@ var xOutputStreamWriteAsync func(uintptr, uintptr, uint, int, uintptr, uintptr,
457457 // until @callback is called. See g_output_stream_write_bytes_async()
458458 // for a #GBytes version that will automatically hold a reference to
459459 // 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) {
461461
462462 xOutputStreamWriteAsync(x.GoPointer(), BufferVar, CountVar, IoPriorityVar, CancellableVar.GoPointer(), glib.NewCallback(CallbackVar), UserDataVar)
463463
@@ -536,7 +536,7 @@ func (x *OutputStream) WriteFinish(ResultVar AsyncResult) (int, error) {
536536
537537 }
538538
539-var xOutputStreamWritev func(uintptr, uintptr, uint, uint, uintptr, **glib.Error) bool
539+var xOutputStreamWritev func(uintptr, []OutputVector, uint, uint, uintptr, **glib.Error) bool
540540
541541 // Tries to write the bytes contained in the @n_vectors @vectors into the
542542 // stream. Will block during the operation.
@@ -561,7 +561,7 @@ var xOutputStreamWritev func(uintptr, uintptr, uint, uint, uintptr, **glib.Error
561561 // aggregate buffer size, and will return %G_IO_ERROR_INVALID_ARGUMENT if these
562562 // are exceeded. For example, when writing to a local file on UNIX platforms,
563563 // 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) {
565565 var cerr *glib.Error
566566
567567 cret := xOutputStreamWritev(x.GoPointer(), VectorsVar, NVectorsVar, BytesWrittenVar, CancellableVar.GoPointer(), &cerr)
@@ -572,7 +572,7 @@ func (x *OutputStream) Writev(VectorsVar uintptr, NVectorsVar uint, BytesWritten
572572
573573 }
574574
575-var xOutputStreamWritevAll func(uintptr, uintptr, uint, uint, uintptr, **glib.Error) bool
575+var xOutputStreamWritevAll func(uintptr, []OutputVector, uint, uint, uintptr, **glib.Error) bool
576576
577577 // Tries to write the bytes contained in the @n_vectors @vectors into the
578578 // stream. Will block during the operation.
@@ -596,7 +596,7 @@ var xOutputStreamWritevAll func(uintptr, uintptr, uint, uint, uintptr, **glib.Er
596596 //
597597 // The content of the individual elements of @vectors might be changed by this
598598 // 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) {
600600 var cerr *glib.Error
601601
602602 cret := xOutputStreamWritevAll(x.GoPointer(), VectorsVar, NVectorsVar, BytesWrittenVar, CancellableVar.GoPointer(), &cerr)
@@ -607,7 +607,7 @@ func (x *OutputStream) WritevAll(VectorsVar uintptr, NVectorsVar uint, BytesWrit
607607
608608 }
609609
610-var xOutputStreamWritevAllAsync func(uintptr, uintptr, uint, int, uintptr, uintptr, uintptr)
610+var xOutputStreamWritevAllAsync func(uintptr, []OutputVector, uint, int, uintptr, uintptr, uintptr)
611611
612612 // Request an asynchronous write of the bytes contained in the @n_vectors @vectors into
613613 // the stream. When the operation is finished @callback will be called.
@@ -625,7 +625,7 @@ var xOutputStreamWritevAllAsync func(uintptr, uintptr, uint, int, uintptr, uintp
625625 // Note that no copy of @vectors will be made, so it must stay valid
626626 // until @callback is called. The content of the individual elements
627627 // 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) {
629629
630630 xOutputStreamWritevAllAsync(x.GoPointer(), VectorsVar, NVectorsVar, IoPriorityVar, CancellableVar.GoPointer(), glib.NewCallback(CallbackVar), UserDataVar)
631631
@@ -654,7 +654,7 @@ func (x *OutputStream) WritevAllFinish(ResultVar AsyncResult, BytesWrittenVar ui
654654
655655 }
656656
657-var xOutputStreamWritevAsync func(uintptr, uintptr, uint, int, uintptr, uintptr, uintptr)
657+var xOutputStreamWritevAsync func(uintptr, []OutputVector, uint, int, uintptr, uintptr, uintptr)
658658
659659 // Request an asynchronous write of the bytes contained in @n_vectors @vectors into
660660 // the stream. When the operation is finished @callback will be called.
@@ -686,7 +686,7 @@ var xOutputStreamWritevAsync func(uintptr, uintptr, uint, int, uintptr, uintptr,
686686 //
687687 // Note that no copy of @vectors will be made, so it must stay valid
688688 // 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) {
690690
691691 xOutputStreamWritevAsync(x.GoPointer(), VectorsVar, NVectorsVar, IoPriorityVar, CancellableVar.GoPointer(), glib.NewCallback(CallbackVar), UserDataVar)
692692
M v4/gio/gpermission.go +1 -1
@@ -13,7 +13,7 @@ import (
1313 type PermissionClass struct {
1414 ParentClass uintptr
1515
16- Reserved uintptr
16+ Reserved [16]uintptr
1717 }
1818
1919 func (x *PermissionClass) GoPointer() uintptr {
M v4/gio/gpollableinputstream.go +3 -3
@@ -37,7 +37,7 @@ type PollableInputStream interface {
3737 CanPoll() bool
3838 CreateSource(CancellableVar *Cancellable) *glib.Source
3939 IsReadable() bool
40- ReadNonblocking(BufferVar uintptr, CountVar uint, CancellableVar *Cancellable) int
40+ ReadNonblocking(BufferVar []byte, CountVar uint, CancellableVar *Cancellable) int
4141 }
4242 type PollableInputStreamBase struct {
4343 Ptr uintptr
@@ -103,7 +103,7 @@ func (x *PollableInputStreamBase) IsReadable() bool {
103103 // if @cancellable has already been cancelled when you call, which
104104 // may happen if you call this method after a source triggers due
105105 // 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) {
107107 var cerr *glib.Error
108108
109109 cret := XGPollableInputStreamReadNonblocking(x.GoPointer(), BufferVar, CountVar, CancellableVar.GoPointer(), &cerr)
@@ -117,7 +117,7 @@ func (x *PollableInputStreamBase) ReadNonblocking(BufferVar uintptr, CountVar ui
117117 var XGPollableInputStreamCanPoll func(uintptr) bool
118118 var XGPollableInputStreamCreateSource func(uintptr, uintptr) *glib.Source
119119 var XGPollableInputStreamIsReadable func(uintptr) bool
120-var XGPollableInputStreamReadNonblocking func(uintptr, uintptr, uint, uintptr, **glib.Error) int
120+var XGPollableInputStreamReadNonblocking func(uintptr, []byte, uint, uintptr, **glib.Error) int
121121
122122 func init() {
123123 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 {
4343 CanPoll() bool
4444 CreateSource(CancellableVar *Cancellable) *glib.Source
4545 IsWritable() bool
46- WriteNonblocking(BufferVar uintptr, CountVar uint, CancellableVar *Cancellable) int
47- WritevNonblocking(VectorsVar uintptr, NVectorsVar uint, BytesWrittenVar uint, CancellableVar *Cancellable) PollableReturn
46+ WriteNonblocking(BufferVar []byte, CountVar uint, CancellableVar *Cancellable) int
47+ WritevNonblocking(VectorsVar []OutputVector, NVectorsVar uint, BytesWrittenVar uint, CancellableVar *Cancellable) PollableReturn
4848 }
4949 type PollableOutputStreamBase struct {
5050 Ptr uintptr
@@ -114,7 +114,7 @@ func (x *PollableOutputStreamBase) IsWritable() bool {
114114 // Also note that if %G_IO_ERROR_WOULD_BLOCK is returned some underlying
115115 // transports like D/TLS require that you re-send the same @buffer and
116116 // @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) {
118118 var cerr *glib.Error
119119
120120 cret := XGPollableOutputStreamWriteNonblocking(x.GoPointer(), BufferVar, CountVar, CancellableVar.GoPointer(), &cerr)
@@ -141,7 +141,7 @@ func (x *PollableOutputStreamBase) WriteNonblocking(BufferVar uintptr, CountVar
141141 // Also note that if %G_POLLABLE_RETURN_WOULD_BLOCK is returned some underlying
142142 // transports like D/TLS require that you re-send the same @vectors and
143143 // @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) {
145145 var cerr *glib.Error
146146
147147 cret := XGPollableOutputStreamWritevNonblocking(x.GoPointer(), VectorsVar, NVectorsVar, BytesWrittenVar, CancellableVar.GoPointer(), &cerr)
@@ -155,8 +155,8 @@ func (x *PollableOutputStreamBase) WritevNonblocking(VectorsVar uintptr, NVector
155155 var XGPollableOutputStreamCanPoll func(uintptr) bool
156156 var XGPollableOutputStreamCreateSource func(uintptr, uintptr) *glib.Source
157157 var XGPollableOutputStreamIsWritable func(uintptr) bool
158-var XGPollableOutputStreamWriteNonblocking func(uintptr, uintptr, uint, uintptr, **glib.Error) int
159-var XGPollableOutputStreamWritevNonblocking func(uintptr, uintptr, uint, uint, uintptr, **glib.Error) PollableReturn
158+var XGPollableOutputStreamWriteNonblocking func(uintptr, []byte, uint, uintptr, **glib.Error) int
159+var XGPollableOutputStreamWritevNonblocking func(uintptr, []OutputVector, uint, uint, uintptr, **glib.Error) PollableReturn
160160
161161 func init() {
162162 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
3333 return cret
3434 }
3535
36-var xPollableStreamRead func(uintptr, uintptr, uint, bool, uintptr, **glib.Error) int
36+var xPollableStreamRead func(uintptr, []byte, uint, bool, uintptr, **glib.Error) int
3737
3838 // Tries to read from @stream, as with g_input_stream_read() (if
3939 // @blocking is %TRUE) or g_pollable_input_stream_read_nonblocking()
@@ -44,7 +44,7 @@ var xPollableStreamRead func(uintptr, uintptr, uint, bool, uintptr, **glib.Error
4444 // #GPollableInputStream for which g_pollable_input_stream_can_poll()
4545 // returns %TRUE, or else the behavior is undefined. If @blocking is
4646 // %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) {
4848 var cerr *glib.Error
4949
5050 cret := xPollableStreamRead(StreamVar.GoPointer(), BufferVar, CountVar, BlockingVar, CancellableVar.GoPointer(), &cerr)
@@ -55,7 +55,7 @@ func PollableStreamRead(StreamVar *InputStream, BufferVar uintptr, CountVar uint
5555
5656 }
5757
58-var xPollableStreamWrite func(uintptr, uintptr, uint, bool, uintptr, **glib.Error) int
58+var xPollableStreamWrite func(uintptr, []byte, uint, bool, uintptr, **glib.Error) int
5959
6060 // Tries to write to @stream, as with g_output_stream_write() (if
6161 // @blocking is %TRUE) or g_pollable_output_stream_write_nonblocking()
@@ -67,7 +67,7 @@ var xPollableStreamWrite func(uintptr, uintptr, uint, bool, uintptr, **glib.Erro
6767 // g_pollable_output_stream_can_poll() returns %TRUE or else the
6868 // behavior is undefined. If @blocking is %TRUE, then @stream does not
6969 // 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) {
7171 var cerr *glib.Error
7272
7373 cret := xPollableStreamWrite(StreamVar.GoPointer(), BufferVar, CountVar, BlockingVar, CancellableVar.GoPointer(), &cerr)
@@ -78,7 +78,7 @@ func PollableStreamWrite(StreamVar *OutputStream, BufferVar uintptr, CountVar ui
7878
7979 }
8080
81-var xPollableStreamWriteAll func(uintptr, uintptr, uint, bool, uint, uintptr, **glib.Error) bool
81+var xPollableStreamWriteAll func(uintptr, []byte, uint, bool, uint, uintptr, **glib.Error) bool
8282
8383 // Tries to write @count bytes to @stream, as with
8484 // g_output_stream_write_all(), but using g_pollable_stream_write()
@@ -98,7 +98,7 @@ var xPollableStreamWriteAll func(uintptr, uintptr, uint, bool, uint, uintptr, **
9898 // g_pollable_output_stream_can_poll() returns %TRUE or else the
9999 // behavior is undefined. If @blocking is %TRUE, then @stream does not
100100 // 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) {
102102 var cerr *glib.Error
103103
104104 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 {
3030 GoPointer() uintptr
3131 SetGoPointer(uintptr)
3232 IsSupported() bool
33- Lookup(UriVar string, CancellableVar *Cancellable) uintptr
33+ Lookup(UriVar string, CancellableVar *Cancellable) []string
3434 LookupAsync(UriVar string, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr)
35- LookupFinish(ResultVar AsyncResult) uintptr
35+ LookupFinish(ResultVar AsyncResult) []string
3636 }
3737 type ProxyResolverBase struct {
3838 Ptr uintptr
@@ -70,7 +70,7 @@ func (x *ProxyResolverBase) IsSupported() bool {
7070 // `direct://` is used when no proxy is needed.
7171 // Direct connection should not be attempted unless it is part of the
7272 // 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) {
7474 var cerr *glib.Error
7575
7676 cret := XGProxyResolverLookup(x.GoPointer(), UriVar, CancellableVar.GoPointer(), &cerr)
@@ -92,7 +92,7 @@ func (x *ProxyResolverBase) LookupAsync(UriVar string, CancellableVar *Cancellab
9292 // Call this function to obtain the array of proxy URIs when
9393 // g_proxy_resolver_lookup_async() is complete. See
9494 // 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) {
9696 var cerr *glib.Error
9797
9898 cret := XGProxyResolverLookupFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)
@@ -104,9 +104,9 @@ func (x *ProxyResolverBase) LookupFinish(ResultVar AsyncResult) (uintptr, error)
104104 }
105105
106106 var XGProxyResolverIsSupported func(uintptr) bool
107-var XGProxyResolverLookup func(uintptr, string, uintptr, **glib.Error) uintptr
107+var XGProxyResolverLookup func(uintptr, string, uintptr, **glib.Error) []string
108108 var XGProxyResolverLookupAsync func(uintptr, string, uintptr, uintptr, uintptr)
109-var XGProxyResolverLookupFinish func(uintptr, uintptr, **glib.Error) uintptr
109+var XGProxyResolverLookupFinish func(uintptr, uintptr, **glib.Error) []string
110110
111111 const (
112112 // 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
3434 type SettingsClass struct {
3535 ParentClass uintptr
3636
37- Padding uintptr
37+ Padding [20]uintptr
3838 }
3939
4040 func (x *SettingsClass) GoPointer() uintptr {
@@ -873,13 +873,13 @@ func (x *Settings) GetString(KeyVar string) string {
873873 return cret
874874 }
875875
876-var xSettingsGetStrv func(uintptr, string) uintptr
876+var xSettingsGetStrv func(uintptr, string) []string
877877
878878 // A convenience variant of g_settings_get() for string arrays.
879879 //
880880 // It is a programmer error to give a @key that isn't specified as
881881 // 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 {
883883
884884 cret := xSettingsGetStrv(x.GoPointer(), KeyVar)
885885 return cret
@@ -962,7 +962,7 @@ func (x *Settings) IsWritable(NameVar string) bool {
962962 return cret
963963 }
964964
965-var xSettingsListChildren func(uintptr) uintptr
965+var xSettingsListChildren func(uintptr) []string
966966
967967 // Gets the list of children on @settings.
968968 //
@@ -975,13 +975,13 @@ var xSettingsListChildren func(uintptr) uintptr
975975 //
976976 // You should free the return value with g_strfreev() when you are done
977977 // with it.
978-func (x *Settings) ListChildren() uintptr {
978+func (x *Settings) ListChildren() []string {
979979
980980 cret := xSettingsListChildren(x.GoPointer())
981981 return cret
982982 }
983983
984-var xSettingsListKeys func(uintptr) uintptr
984+var xSettingsListKeys func(uintptr) []string
985985
986986 // Introspects the list of keys on @settings.
987987 //
@@ -991,7 +991,7 @@ var xSettingsListKeys func(uintptr) uintptr
991991 //
992992 // You should free the return value with g_strfreev() when you are done
993993 // with it.
994-func (x *Settings) ListKeys() uintptr {
994+func (x *Settings) ListKeys() []string {
995995
996996 cret := xSettingsListKeys(x.GoPointer())
997997 return cret
@@ -1157,7 +1157,7 @@ func (x *Settings) SetString(KeyVar string, ValueVar string) bool {
11571157 return cret
11581158 }
11591159
1160-var xSettingsSetStrv func(uintptr, string, uintptr) bool
1160+var xSettingsSetStrv func(uintptr, string, []string) bool
11611161
11621162 // Sets @key in @settings to @value.
11631163 //
@@ -1166,7 +1166,7 @@ var xSettingsSetStrv func(uintptr, string, uintptr) bool
11661166 //
11671167 // It is a programmer error to give a @key that isn't specified as
11681168 // 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 {
11701170
11711171 cret := xSettingsSetStrv(x.GoPointer(), KeyVar, ValueVar)
11721172 return cret
@@ -1351,19 +1351,19 @@ func (x *Settings) ConnectWritableChanged(cb *func(Settings, string)) uint32 {
13511351 return gobject.SignalConnect(x.GoPointer(), "writable-changed", cbRefPtr)
13521352 }
13531353
1354-var xSettingsListRelocatableSchemas func() uintptr
1354+var xSettingsListRelocatableSchemas func() []string
13551355
13561356 // Deprecated.
1357-func SettingsListRelocatableSchemas() uintptr {
1357+func SettingsListRelocatableSchemas() []string {
13581358
13591359 cret := xSettingsListRelocatableSchemas()
13601360 return cret
13611361 }
13621362
1363-var xSettingsListSchemas func() uintptr
1363+var xSettingsListSchemas func() []string
13641364
13651365 // Deprecated.
1366-func SettingsListSchemas() uintptr {
1366+func SettingsListSchemas() []string {
13671367
13681368 cret := xSettingsListSchemas()
13691369 return cret
M v4/gio/gsettingsbackend.go +5 -5
@@ -14,7 +14,7 @@ import (
1414 type SettingsBackendClass struct {
1515 ParentClass uintptr
1616
17- Padding uintptr
17+ Padding [23]uintptr
1818 }
1919
2020 func (x *SettingsBackendClass) GoPointer() uintptr {
@@ -215,7 +215,7 @@ func (x *SettingsBackend) ChangedTree(TreeVar *glib.Tree, OriginTagVar uintptr)
215215
216216 }
217217
218-var xSettingsBackendKeysChanged func(uintptr, string, uintptr, uintptr)
218+var xSettingsBackendKeysChanged func(uintptr, string, []string, uintptr)
219219
220220 // Signals that a list of keys have possibly changed. Backend
221221 // implementations should call this if keys have possibly changed their
@@ -238,7 +238,7 @@ var xSettingsBackendKeysChanged func(uintptr, string, uintptr, uintptr)
238238 // For efficiency reasons, the implementation should strive for @path to
239239 // be as long as possible (ie: the longest common prefix of all of the
240240 // 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) {
242242
243243 xSettingsBackendKeysChanged(x.GoPointer(), PathVar, ItemsVar, OriginTagVar)
244244
@@ -306,7 +306,7 @@ func (c *SettingsBackend) SetGoPointer(ptr uintptr) {
306306 c.Ptr = ptr
307307 }
308308
309-var xSettingsBackendFlattenTree func(*glib.Tree, string, uintptr, uintptr)
309+var xSettingsBackendFlattenTree func(*glib.Tree, string, []string, uintptr)
310310
311311 // Calculate the longest common prefix of all keys in a tree and write
312312 // out an array of the key names relative to that prefix and,
@@ -315,7 +315,7 @@ var xSettingsBackendFlattenTree func(*glib.Tree, string, uintptr, uintptr)
315315 // You must free the value returned in @path, @keys and @values using
316316 // g_free(). You should not attempt to free or unref the contents of
317317 // @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) {
319319
320320 xSettingsBackendFlattenTree(TreeVar, PathVar, KeysVar, ValuesVar)
321321
M v4/gio/gsettingsschema.go +6 -6
@@ -160,26 +160,26 @@ func (x *SettingsSchema) HasKey(NameVar string) bool {
160160 return cret
161161 }
162162
163-var xSettingsSchemaListChildren func(uintptr) uintptr
163+var xSettingsSchemaListChildren func(uintptr) []string
164164
165165 // Gets the list of children in @schema.
166166 //
167167 // You should free the return value with g_strfreev() when you are done
168168 // with it.
169-func (x *SettingsSchema) ListChildren() uintptr {
169+func (x *SettingsSchema) ListChildren() []string {
170170
171171 cret := xSettingsSchemaListChildren(x.GoPointer())
172172 return cret
173173 }
174174
175-var xSettingsSchemaListKeys func(uintptr) uintptr
175+var xSettingsSchemaListKeys func(uintptr) []string
176176
177177 // Introspects the list of keys on @schema.
178178 //
179179 // You should probably not be calling this function from "normal" code
180180 // (since you should already know what keys are in your schema). This
181181 // function is intended for introspection reasons.
182-func (x *SettingsSchema) ListKeys() uintptr {
182+func (x *SettingsSchema) ListKeys() []string {
183183
184184 cret := xSettingsSchemaListKeys(x.GoPointer())
185185 return cret
@@ -412,7 +412,7 @@ func NewSettingsSchemaSourceFromDirectory(DirectoryVar string, ParentVar *Settin
412412
413413 }
414414
415-var xSettingsSchemaSourceListSchemas func(uintptr, bool, uintptr, uintptr)
415+var xSettingsSchemaSourceListSchemas func(uintptr, bool, []string, []string)
416416
417417 // Lists the schemas in a given source.
418418 //
@@ -426,7 +426,7 @@ var xSettingsSchemaSourceListSchemas func(uintptr, bool, uintptr, uintptr)
426426 //
427427 // Do not call this function from normal programs. This is designed for
428428 // 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) {
430430
431431 xSettingsSchemaSourceListSchemas(x.GoPointer(), RecursiveVar, NonRelocatableVar, RelocatableVar)
432432
M v4/gio/gsimpleactiongroup.go +5 -5
@@ -13,7 +13,7 @@ import (
1313 type SimpleActionGroupClass struct {
1414 ParentClass uintptr
1515
16- Padding uintptr
16+ Padding [12]uintptr
1717 }
1818
1919 func (x *SimpleActionGroupClass) GoPointer() uintptr {
@@ -55,11 +55,11 @@ func NewSimpleActionGroup() *SimpleActionGroup {
5555 return cls
5656 }
5757
58-var xSimpleActionGroupAddEntries func(uintptr, uintptr, int, uintptr)
58+var xSimpleActionGroupAddEntries func(uintptr, []ActionEntry, int, uintptr)
5959
6060 // A convenience function for creating multiple #GSimpleAction instances
6161 // 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) {
6363
6464 xSimpleActionGroupAddEntries(x.GoPointer(), EntriesVar, NEntriesVar, UserDataVar)
6565
@@ -309,7 +309,7 @@ func (x *SimpleActionGroup) HasAction(ActionNameVar string) bool {
309309 //
310310 // The caller is responsible for freeing the list with g_strfreev() when
311311 // it is no longer required.
312-func (x *SimpleActionGroup) ListActions() uintptr {
312+func (x *SimpleActionGroup) ListActions() []string {
313313
314314 cret := XGActionGroupListActions(x.GoPointer())
315315 return cret
@@ -403,7 +403,7 @@ func (x *SimpleActionGroup) AddAction(ActionVar Action) {
403403 // }
404404 //
405405 // ]|
406-func (x *SimpleActionGroup) AddActionEntries(EntriesVar uintptr, NEntriesVar int, UserDataVar uintptr) {
406+func (x *SimpleActionGroup) AddActionEntries(EntriesVar []ActionEntry, NEntriesVar int, UserDataVar uintptr) {
407407
408408 XGActionMapAddActionEntries(x.GoPointer(), EntriesVar, NEntriesVar, UserDataVar)
409409
M v4/gio/gsimpleproxyresolver.go +6 -6
@@ -58,13 +58,13 @@ func (x *SimpleProxyResolver) SetDefaultProxy(DefaultProxyVar string) {
5858
5959 }
6060
61-var xSimpleProxyResolverSetIgnoreHosts func(uintptr, uintptr)
61+var xSimpleProxyResolverSetIgnoreHosts func(uintptr, []string)
6262
6363 // Sets the list of ignored hosts.
6464 //
6565 // See #GSimpleProxyResolver:ignore-hosts for more details on how the
6666 // @ignore_hosts argument is interpreted.
67-func (x *SimpleProxyResolver) SetIgnoreHosts(IgnoreHostsVar uintptr) {
67+func (x *SimpleProxyResolver) SetIgnoreHosts(IgnoreHostsVar []string) {
6868
6969 xSimpleProxyResolverSetIgnoreHosts(x.GoPointer(), IgnoreHostsVar)
7070
@@ -118,7 +118,7 @@ func (x *SimpleProxyResolver) IsSupported() bool {
118118 // `direct://` is used when no proxy is needed.
119119 // Direct connection should not be attempted unless it is part of the
120120 // 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) {
122122 var cerr *glib.Error
123123
124124 cret := XGProxyResolverLookup(x.GoPointer(), UriVar, CancellableVar.GoPointer(), &cerr)
@@ -140,7 +140,7 @@ func (x *SimpleProxyResolver) LookupAsync(UriVar string, CancellableVar *Cancell
140140 // Call this function to obtain the array of proxy URIs when
141141 // g_proxy_resolver_lookup_async() is complete. See
142142 // 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) {
144144 var cerr *glib.Error
145145
146146 cret := XGProxyResolverLookupFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)
@@ -151,13 +151,13 @@ func (x *SimpleProxyResolver) LookupFinish(ResultVar AsyncResult) (uintptr, erro
151151
152152 }
153153
154-var xSimpleProxyResolverNew func(string, uintptr) uintptr
154+var xSimpleProxyResolverNew func(string, []string) uintptr
155155
156156 // Creates a new #GSimpleProxyResolver. See
157157 // #GSimpleProxyResolver:default-proxy and
158158 // #GSimpleProxyResolver:ignore-hosts for more details on how the
159159 // arguments are interpreted.
160-func SimpleProxyResolverNew(DefaultProxyVar string, IgnoreHostsVar uintptr) *ProxyResolverBase {
160+func SimpleProxyResolverNew(DefaultProxyVar string, IgnoreHostsVar []string) *ProxyResolverBase {
161161 var cls *ProxyResolverBase
162162
163163 cret := xSimpleProxyResolverNew(DefaultProxyVar, IgnoreHostsVar)
M v4/gio/gsocket.go +22 -22
@@ -822,7 +822,7 @@ func (x *Socket) Listen() (bool, error) {
822822
823823 }
824824
825-var xSocketReceive func(uintptr, uintptr, uint, uintptr, **glib.Error) int
825+var xSocketReceive func(uintptr, []byte, uint, uintptr, **glib.Error) int
826826
827827 // Receive data (up to @size bytes) from a socket. This is mainly used by
828828 // 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
847847 // %G_IO_IN condition.
848848 //
849849 // 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) {
851851 var cerr *glib.Error
852852
853853 cret := xSocketReceive(x.GoPointer(), BufferVar, SizeVar, CancellableVar.GoPointer(), &cerr)
@@ -858,7 +858,7 @@ func (x *Socket) Receive(BufferVar uintptr, SizeVar uint, CancellableVar *Cancel
858858
859859 }
860860
861-var xSocketReceiveFrom func(uintptr, *uintptr, uintptr, uint, uintptr, **glib.Error) int
861+var xSocketReceiveFrom func(uintptr, *uintptr, []byte, uint, uintptr, **glib.Error) int
862862
863863 // Receive data (up to @size bytes) from a socket.
864864 //
@@ -867,7 +867,7 @@ var xSocketReceiveFrom func(uintptr, *uintptr, uintptr, uint, uintptr, **glib.Er
867867 // @address is owned by the caller.
868868 //
869869 // 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) {
871871 var cerr *glib.Error
872872
873873 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
878878
879879 }
880880
881-var xSocketReceiveMessage func(uintptr, *uintptr, uintptr, int, uintptr, int, int, uintptr, **glib.Error) int
881+var xSocketReceiveMessage func(uintptr, *uintptr, []InputVector, int, uintptr, int, int, uintptr, **glib.Error) int
882882
883883 // Receive data from a socket. For receiving multiple messages, see
884884 // g_socket_receive_messages(); for easier use, see
@@ -939,7 +939,7 @@ var xSocketReceiveMessage func(uintptr, *uintptr, uintptr, int, uintptr, int, in
939939 // %G_IO_IN condition.
940940 //
941941 // 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) {
943943 var cerr *glib.Error
944944
945945 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,
950950
951951 }
952952
953-var xSocketReceiveMessages func(uintptr, uintptr, uint, int, uintptr, **glib.Error) int
953+var xSocketReceiveMessages func(uintptr, []InputMessage, uint, int, uintptr, **glib.Error) int
954954
955955 // Receive multiple data messages from @socket in one go. This is the most
956956 // 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
10001000 // On error -1 is returned and @error is set accordingly. An error will only
10011001 // be returned if zero messages could be received; otherwise the number of
10021002 // 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) {
10041004 var cerr *glib.Error
10051005
10061006 cret := xSocketReceiveMessages(x.GoPointer(), MessagesVar, NumMessagesVar, FlagsVar, CancellableVar.GoPointer(), &cerr)
@@ -1011,12 +1011,12 @@ func (x *Socket) ReceiveMessages(MessagesVar uintptr, NumMessagesVar uint, Flags
10111011
10121012 }
10131013
1014-var xSocketReceiveWithBlocking func(uintptr, uintptr, uint, bool, uintptr, **glib.Error) int
1014+var xSocketReceiveWithBlocking func(uintptr, []byte, uint, bool, uintptr, **glib.Error) int
10151015
10161016 // This behaves exactly the same as g_socket_receive(), except that
10171017 // the choice of blocking or non-blocking behavior is determined by
10181018 // 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) {
10201020 var cerr *glib.Error
10211021
10221022 cret := xSocketReceiveWithBlocking(x.GoPointer(), BufferVar, SizeVar, BlockingVar, CancellableVar.GoPointer(), &cerr)
@@ -1027,7 +1027,7 @@ func (x *Socket) ReceiveWithBlocking(BufferVar uintptr, SizeVar uint, BlockingVa
10271027
10281028 }
10291029
1030-var xSocketSend func(uintptr, uintptr, uint, uintptr, **glib.Error) int
1030+var xSocketSend func(uintptr, []byte, uint, uintptr, **glib.Error) int
10311031
10321032 // Tries to send @size bytes from @buffer on the socket. This is
10331033 // mainly used by connection-oriented sockets; it is identical to
@@ -1043,7 +1043,7 @@ var xSocketSend func(uintptr, uintptr, uint, uintptr, **glib.Error) int
10431043 // very common due to the way the underlying APIs work.)
10441044 //
10451045 // 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) {
10471047 var cerr *glib.Error
10481048
10491049 cret := xSocketSend(x.GoPointer(), BufferVar, SizeVar, CancellableVar.GoPointer(), &cerr)
@@ -1054,7 +1054,7 @@ func (x *Socket) Send(BufferVar uintptr, SizeVar uint, CancellableVar *Cancellab
10541054
10551055 }
10561056
1057-var xSocketSendMessage func(uintptr, uintptr, uintptr, int, uintptr, int, int, uintptr, **glib.Error) int
1057+var xSocketSendMessage func(uintptr, uintptr, []OutputVector, int, uintptr, int, int, uintptr, **glib.Error) int
10581058
10591059 // Send data to @address on @socket. For sending multiple messages see
10601060 // g_socket_send_messages(); for easier use, see
@@ -1098,7 +1098,7 @@ var xSocketSendMessage func(uintptr, uintptr, uintptr, int, uintptr, int, int, u
10981098 // function.
10991099 //
11001100 // 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) {
11021102 var cerr *glib.Error
11031103
11041104 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
11091109
11101110 }
11111111
1112-var xSocketSendMessageWithTimeout func(uintptr, uintptr, uintptr, int, uintptr, int, int, int64, uint, uintptr, **glib.Error) PollableReturn
1112+var xSocketSendMessageWithTimeout func(uintptr, uintptr, []OutputVector, int, uintptr, int, int, int64, uint, uintptr, **glib.Error) PollableReturn
11131113
11141114 // This behaves exactly the same as g_socket_send_message(), except that
11151115 // the choice of timeout behavior is determined by the @timeout_us argument
@@ -1118,7 +1118,7 @@ var xSocketSendMessageWithTimeout func(uintptr, uintptr, uintptr, int, uintptr,
11181118 // On error %G_POLLABLE_RETURN_FAILED is returned and @error is set accordingly, or
11191119 // if the socket is currently not writable %G_POLLABLE_RETURN_WOULD_BLOCK is
11201120 // 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) {
11221122 var cerr *glib.Error
11231123
11241124 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
11291129
11301130 }
11311131
1132-var xSocketSendMessages func(uintptr, uintptr, uint, int, uintptr, **glib.Error) int
1132+var xSocketSendMessages func(uintptr, []OutputMessage, uint, int, uintptr, **glib.Error) int
11331133
11341134 // Send multiple data messages from @socket in one go. This is the most
11351135 // 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)
11651165 // On error -1 is returned and @error is set accordingly. An error will only
11661166 // be returned if zero messages could be sent; otherwise the number of messages
11671167 // 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) {
11691169 var cerr *glib.Error
11701170
11711171 cret := xSocketSendMessages(x.GoPointer(), MessagesVar, NumMessagesVar, FlagsVar, CancellableVar.GoPointer(), &cerr)
@@ -1176,14 +1176,14 @@ func (x *Socket) SendMessages(MessagesVar uintptr, NumMessagesVar uint, FlagsVar
11761176
11771177 }
11781178
1179-var xSocketSendTo func(uintptr, uintptr, uintptr, uint, uintptr, **glib.Error) int
1179+var xSocketSendTo func(uintptr, uintptr, []byte, uint, uintptr, **glib.Error) int
11801180
11811181 // Tries to send @size bytes from @buffer to @address. If @address is
11821182 // %NULL then the message is sent to the default receiver (set by
11831183 // g_socket_connect()).
11841184 //
11851185 // 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) {
11871187 var cerr *glib.Error
11881188
11891189 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
11941194
11951195 }
11961196
1197-var xSocketSendWithBlocking func(uintptr, uintptr, uint, bool, uintptr, **glib.Error) int
1197+var xSocketSendWithBlocking func(uintptr, []byte, uint, bool, uintptr, **glib.Error) int
11981198
11991199 // This behaves exactly the same as g_socket_send(), except that
12001200 // the choice of blocking or non-blocking behavior is determined by
12011201 // 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) {
12031203 var cerr *glib.Error
12041204
12051205 cret := xSocketSendWithBlocking(x.GoPointer(), BufferVar, SizeVar, BlockingVar, CancellableVar.GoPointer(), &cerr)
M v4/gio/gsocketconnection.go +5 -4
@@ -8,6 +8,7 @@ import (
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/glib"
1010 "github.com/jwijenbergh/puregotk/v4/gobject"
11+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1112 )
1213
1314 type SocketConnectionClass struct {
@@ -179,25 +180,25 @@ func (c *SocketConnection) SetGoPointer(ptr uintptr) {
179180 c.Ptr = ptr
180181 }
181182
182-var xSocketConnectionFactoryLookupType func(SocketFamily, SocketType, int) []interface{}
183+var xSocketConnectionFactoryLookupType func(SocketFamily, SocketType, int) types.GType
183184
184185 // Looks up the #GType to be used when creating socket connections on
185186 // sockets with the specified @family, @type and @protocol_id.
186187 //
187188 // 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 {
189190
190191 cret := xSocketConnectionFactoryLookupType(FamilyVar, TypeVar, ProtocolIdVar)
191192 return cret
192193 }
193194
194-var xSocketConnectionFactoryRegisterType func([]interface{}, SocketFamily, SocketType, int)
195+var xSocketConnectionFactoryRegisterType func(types.GType, SocketFamily, SocketType, int)
195196
196197 // Looks up the #GType to be used when creating socket connections on
197198 // sockets with the specified @family, @type and @protocol.
198199 //
199200 // 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) {
201202
202203 xSocketConnectionFactoryRegisterType(GTypeVar, FamilyVar, TypeVar, ProtocolVar)
203204
M v4/gio/gthemedicon.go +2 -2
@@ -109,10 +109,10 @@ func (x *ThemedIcon) AppendName(IconnameVar string) {
109109
110110 }
111111
112-var xThemedIconGetNames func(uintptr) uintptr
112+var xThemedIconGetNames func(uintptr) []string
113113
114114 // Gets the names of icons from within @icon.
115-func (x *ThemedIcon) GetNames() uintptr {
115+func (x *ThemedIcon) GetNames() []string {
116116
117117 cret := xThemedIconGetNames(x.GoPointer())
118118 return cret
M v4/gio/gtlsbackend.go +19 -18
@@ -7,6 +7,7 @@ import (
77 "github.com/jwijenbergh/purego"
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/gobject"
10+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1011 )
1112
1213 // Provides an interface for describing TLS-related types.
@@ -22,13 +23,13 @@ func (x *TlsBackendInterface) GoPointer() uintptr {
2223 type TlsBackend interface {
2324 GoPointer() uintptr
2425 SetGoPointer(uintptr)
25- GetCertificateType() []interface{}
26- GetClientConnectionType() []interface{}
26+ GetCertificateType() types.GType
27+ GetClientConnectionType() types.GType
2728 GetDefaultDatabase() *TlsDatabase
28- GetDtlsClientConnectionType() []interface{}
29- GetDtlsServerConnectionType() []interface{}
30- GetFileDatabaseType() []interface{}
31- GetServerConnectionType() []interface{}
29+ GetDtlsClientConnectionType() types.GType
30+ GetDtlsServerConnectionType() types.GType
31+ GetFileDatabaseType() types.GType
32+ GetServerConnectionType() types.GType
3233 SetDefaultDatabase(DatabaseVar *TlsDatabase)
3334 SupportsDtls() bool
3435 SupportsTls() bool
@@ -46,14 +47,14 @@ func (x *TlsBackendBase) SetGoPointer(ptr uintptr) {
4647 }
4748
4849 // Gets the #GType of @backend's #GTlsCertificate implementation.
49-func (x *TlsBackendBase) GetCertificateType() []interface{} {
50+func (x *TlsBackendBase) GetCertificateType() types.GType {
5051
5152 cret := XGTlsBackendGetCertificateType(x.GoPointer())
5253 return cret
5354 }
5455
5556 // Gets the #GType of @backend's #GTlsClientConnection implementation.
56-func (x *TlsBackendBase) GetClientConnectionType() []interface{} {
57+func (x *TlsBackendBase) GetClientConnectionType() types.GType {
5758
5859 cret := XGTlsBackendGetClientConnectionType(x.GoPointer())
5960 return cret
@@ -74,28 +75,28 @@ func (x *TlsBackendBase) GetDefaultDatabase() *TlsDatabase {
7475 }
7576
7677 // Gets the #GType of @backend’s #GDtlsClientConnection implementation.
77-func (x *TlsBackendBase) GetDtlsClientConnectionType() []interface{} {
78+func (x *TlsBackendBase) GetDtlsClientConnectionType() types.GType {
7879
7980 cret := XGTlsBackendGetDtlsClientConnectionType(x.GoPointer())
8081 return cret
8182 }
8283
8384 // Gets the #GType of @backend’s #GDtlsServerConnection implementation.
84-func (x *TlsBackendBase) GetDtlsServerConnectionType() []interface{} {
85+func (x *TlsBackendBase) GetDtlsServerConnectionType() types.GType {
8586
8687 cret := XGTlsBackendGetDtlsServerConnectionType(x.GoPointer())
8788 return cret
8889 }
8990
9091 // Gets the #GType of @backend's #GTlsFileDatabase implementation.
91-func (x *TlsBackendBase) GetFileDatabaseType() []interface{} {
92+func (x *TlsBackendBase) GetFileDatabaseType() types.GType {
9293
9394 cret := XGTlsBackendGetFileDatabaseType(x.GoPointer())
9495 return cret
9596 }
9697
9798 // Gets the #GType of @backend's #GTlsServerConnection implementation.
98-func (x *TlsBackendBase) GetServerConnectionType() []interface{} {
99+func (x *TlsBackendBase) GetServerConnectionType() types.GType {
99100
100101 cret := XGTlsBackendGetServerConnectionType(x.GoPointer())
101102 return cret
@@ -131,13 +132,13 @@ func (x *TlsBackendBase) SupportsTls() bool {
131132 return cret
132133 }
133134
134-var XGTlsBackendGetCertificateType func(uintptr) []interface{}
135-var XGTlsBackendGetClientConnectionType func(uintptr) []interface{}
135+var XGTlsBackendGetCertificateType func(uintptr) types.GType
136+var XGTlsBackendGetClientConnectionType func(uintptr) types.GType
136137 var XGTlsBackendGetDefaultDatabase func(uintptr) uintptr
137-var XGTlsBackendGetDtlsClientConnectionType func(uintptr) []interface{}
138-var XGTlsBackendGetDtlsServerConnectionType func(uintptr) []interface{}
139-var XGTlsBackendGetFileDatabaseType func(uintptr) []interface{}
140-var XGTlsBackendGetServerConnectionType func(uintptr) []interface{}
138+var XGTlsBackendGetDtlsClientConnectionType func(uintptr) types.GType
139+var XGTlsBackendGetDtlsServerConnectionType func(uintptr) types.GType
140+var XGTlsBackendGetFileDatabaseType func(uintptr) types.GType
141+var XGTlsBackendGetServerConnectionType func(uintptr) types.GType
141142 var XGTlsBackendSetDefaultDatabase func(uintptr, uintptr)
142143 var XGTlsBackendSupportsDtls func(uintptr) bool
143144 var XGTlsBackendSupportsTls func(uintptr) bool
M v4/gio/gtlscertificate.go +7 -7
@@ -13,7 +13,7 @@ import (
1313 type TlsCertificateClass struct {
1414 ParentClass uintptr
1515
16- Padding uintptr
16+ Padding [8]uintptr
1717 }
1818
1919 func (x *TlsCertificateClass) GoPointer() uintptr {
@@ -214,7 +214,7 @@ func NewTlsCertificateFromPkcs11Uris(Pkcs11UriVar string, PrivateKeyPkcs11UriVar
214214
215215 }
216216
217-var xNewTlsCertificateFromPkcs12 func(uintptr, uint, string, **glib.Error) uintptr
217+var xNewTlsCertificateFromPkcs12 func([]byte, uint, string, **glib.Error) uintptr
218218
219219 // Creates a #GTlsCertificate from the data in @data. It must contain
220220 // a certificate and matching private key.
@@ -233,7 +233,7 @@ var xNewTlsCertificateFromPkcs12 func(uintptr, uint, string, **glib.Error) uintp
233233 // %G_IO_ERROR_NOT_SUPPORTED.
234234 //
235235 // 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) {
237237 var cls *TlsCertificate
238238 var cerr *glib.Error
239239
@@ -251,19 +251,19 @@ func NewTlsCertificateFromPkcs12(DataVar uintptr, LengthVar uint, PasswordVar st
251251
252252 }
253253
254-var xTlsCertificateGetDnsNames func(uintptr) uintptr
254+var xTlsCertificateGetDnsNames func(uintptr) []glib.Bytes
255255
256256 // Gets the value of #GTlsCertificate:dns-names.
257-func (x *TlsCertificate) GetDnsNames() uintptr {
257+func (x *TlsCertificate) GetDnsNames() []glib.Bytes {
258258
259259 cret := xTlsCertificateGetDnsNames(x.GoPointer())
260260 return cret
261261 }
262262
263-var xTlsCertificateGetIpAddresses func(uintptr) uintptr
263+var xTlsCertificateGetIpAddresses func(uintptr) []InetAddress
264264
265265 // Gets the value of #GTlsCertificate:ip-addresses.
266-func (x *TlsCertificate) GetIpAddresses() uintptr {
266+func (x *TlsCertificate) GetIpAddresses() []InetAddress {
267267
268268 cret := xTlsCertificateGetIpAddresses(x.GoPointer())
269269 return cret
M v4/gio/gtlsconnection.go +5 -5
@@ -14,7 +14,7 @@ import (
1414 type TlsConnectionClass struct {
1515 ParentClass uintptr
1616
17- Padding uintptr
17+ Padding [6]uintptr
1818 }
1919
2020 func (x *TlsConnectionClass) GoPointer() uintptr {
@@ -72,7 +72,7 @@ func (x *TlsConnection) GetCertificate() *TlsCertificate {
7272 return cls
7373 }
7474
75-var xTlsConnectionGetChannelBindingData func(uintptr, TlsChannelBindingType, uintptr, **glib.Error) bool
75+var xTlsConnectionGetChannelBindingData func(uintptr, TlsChannelBindingType, []byte, **glib.Error) bool
7676
7777 // Query the TLS backend for TLS channel binding data of @type for @conn.
7878 //
@@ -87,7 +87,7 @@ var xTlsConnectionGetChannelBindingData func(uintptr, TlsChannelBindingType, uin
8787 // will be available though. That could happen if TLS connection does not
8888 // support @type or the binding data is not available yet due to additional
8989 // 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) {
9191 var cerr *glib.Error
9292
9393 cret := xTlsConnectionGetChannelBindingData(x.GoPointer(), TypeVar, DataVar, &cerr)
@@ -310,7 +310,7 @@ func (x *TlsConnection) HandshakeFinish(ResultVar AsyncResult) (bool, error) {
310310
311311 }
312312
313-var xTlsConnectionSetAdvertisedProtocols func(uintptr, uintptr)
313+var xTlsConnectionSetAdvertisedProtocols func(uintptr, []string)
314314
315315 // Sets the list of application-layer protocols to advertise that the
316316 // caller is willing to speak on this connection. The
@@ -322,7 +322,7 @@ var xTlsConnectionSetAdvertisedProtocols func(uintptr, uintptr)
322322 //
323323 // See [IANA TLS ALPN Protocol IDs](https://www.iana.org/assignments/tls-extensiontype-values/tls-extensiontype-values.xhtml#alpn-protocol-ids)
324324 // for a list of registered protocol IDs.
325-func (x *TlsConnection) SetAdvertisedProtocols(ProtocolsVar uintptr) {
325+func (x *TlsConnection) SetAdvertisedProtocols(ProtocolsVar []string) {
326326
327327 xTlsConnectionSetAdvertisedProtocols(x.GoPointer(), ProtocolsVar)
328328
M v4/gio/gtlsdatabase.go +5 -5
@@ -16,7 +16,7 @@ import (
1616 type TlsDatabaseClass struct {
1717 ParentClass uintptr
1818
19- Padding uintptr
19+ Padding [16]uintptr
2020 }
2121
2222 func (x *TlsDatabaseClass) GoPointer() uintptr {
@@ -213,13 +213,13 @@ func (x *TlsDatabase) LookupCertificateIssuerFinish(ResultVar AsyncResult) (*Tls
213213
214214 }
215215
216-var xTlsDatabaseLookupCertificatesIssuedBy func(uintptr, uintptr, uintptr, TlsDatabaseLookupFlags, uintptr, **glib.Error) *glib.List
216+var xTlsDatabaseLookupCertificatesIssuedBy func(uintptr, []byte, uintptr, TlsDatabaseLookupFlags, uintptr, **glib.Error) *glib.List
217217
218218 // Look up certificates issued by this issuer in the database.
219219 //
220220 // This function can block, use g_tls_database_lookup_certificates_issued_by_async() to perform
221221 // 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) {
223223 var cerr *glib.Error
224224
225225 cret := xTlsDatabaseLookupCertificatesIssuedBy(x.GoPointer(), IssuerRawDnVar, InteractionVar.GoPointer(), FlagsVar, CancellableVar.GoPointer(), &cerr)
@@ -230,7 +230,7 @@ func (x *TlsDatabase) LookupCertificatesIssuedBy(IssuerRawDnVar uintptr, Interac
230230
231231 }
232232
233-var xTlsDatabaseLookupCertificatesIssuedByAsync func(uintptr, uintptr, uintptr, TlsDatabaseLookupFlags, uintptr, uintptr, uintptr)
233+var xTlsDatabaseLookupCertificatesIssuedByAsync func(uintptr, []byte, uintptr, TlsDatabaseLookupFlags, uintptr, uintptr, uintptr)
234234
235235 // Asynchronously look up certificates issued by this issuer in the database. See
236236 // g_tls_database_lookup_certificates_issued_by() for more information.
@@ -238,7 +238,7 @@ var xTlsDatabaseLookupCertificatesIssuedByAsync func(uintptr, uintptr, uintptr,
238238 // The database may choose to hold a reference to the issuer byte array for the duration
239239 // of of this asynchronous operation. The byte array should not be modified during
240240 // 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) {
242242
243243 xTlsDatabaseLookupCertificatesIssuedByAsync(x.GoPointer(), IssuerRawDnVar, InteractionVar.GoPointer(), FlagsVar, CancellableVar.GoPointer(), glib.NewCallback(CallbackVar), UserDataVar)
244244
M v4/gio/gtlsfiledatabase.go +1 -1
@@ -13,7 +13,7 @@ import (
1313 type TlsFileDatabaseInterface struct {
1414 GIface uintptr
1515
16- Padding uintptr
16+ Padding [8]uintptr
1717 }
1818
1919 func (x *TlsFileDatabaseInterface) GoPointer() uintptr {
M v4/gio/gtlsinteraction.go +1 -1
@@ -27,7 +27,7 @@ import (
2727 type TlsInteractionClass struct {
2828 ParentClass uintptr
2929
30- Padding uintptr
30+ Padding [21]uintptr
3131 }
3232
3333 func (x *TlsInteractionClass) GoPointer() uintptr {
M v4/gio/gtlspassword.go +7 -7
@@ -14,7 +14,7 @@ import (
1414 type TlsPasswordClass struct {
1515 ParentClass uintptr
1616
17- Padding uintptr
17+ Padding [4]uintptr
1818 }
1919
2020 func (x *TlsPasswordClass) GoPointer() uintptr {
@@ -73,14 +73,14 @@ func (x *TlsPassword) GetFlags() TlsPasswordFlags {
7373 return cret
7474 }
7575
76-var xTlsPasswordGetValue func(uintptr, uint) uintptr
76+var xTlsPasswordGetValue func(uintptr, uint) []byte
7777
7878 // Get the password value. If @length is not %NULL then it will be
7979 // filled in with the length of the password value. (Note that the
8080 // password value is not nul-terminated, so you can only pass %NULL
8181 // for @length in contexts where you know the password will have a
8282 // certain fixed length.)
83-func (x *TlsPassword) GetValue(LengthVar uint) uintptr {
83+func (x *TlsPassword) GetValue(LengthVar uint) []byte {
8484
8585 cret := xTlsPasswordGetValue(x.GoPointer(), LengthVar)
8686 return cret
@@ -115,7 +115,7 @@ func (x *TlsPassword) SetFlags(FlagsVar TlsPasswordFlags) {
115115
116116 }
117117
118-var xTlsPasswordSetValue func(uintptr, uintptr, int)
118+var xTlsPasswordSetValue func(uintptr, []byte, int)
119119
120120 // Set the value for this password. The @value will be copied by the password
121121 // object.
@@ -124,13 +124,13 @@ var xTlsPasswordSetValue func(uintptr, uintptr, int)
124124 // @length if using a nul-terminated password, and @length will be
125125 // calculated automatically. (Note that the terminating nul is not
126126 // 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) {
128128
129129 xTlsPasswordSetValue(x.GoPointer(), ValueVar, LengthVar)
130130
131131 }
132132
133-var xTlsPasswordSetValueFull func(uintptr, uintptr, int, uintptr)
133+var xTlsPasswordSetValueFull func(uintptr, []byte, int, uintptr)
134134
135135 // Provide the value for this password.
136136 //
@@ -141,7 +141,7 @@ var xTlsPasswordSetValueFull func(uintptr, uintptr, int, uintptr)
141141 // @length if using a nul-terminated password, and @length will be
142142 // calculated automatically. (Note that the terminating nul is not
143143 // 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) {
145145
146146 xTlsPasswordSetValueFull(x.GoPointer(), ValueVar, LengthVar, glib.NewCallback(DestroyVar))
147147
M v4/gio/gunixfdlist.go +6 -6
@@ -61,7 +61,7 @@ func NewUnixFDList() *UnixFDList {
6161 return cls
6262 }
6363
64-var xNewUnixFDListFromArray func(uintptr, int) uintptr
64+var xNewUnixFDListFromArray func([]int, int) uintptr
6565
6666 // Creates a new #GUnixFDList containing the file descriptors given in
6767 // @fds. The file descriptors become the property of the new list and
@@ -71,7 +71,7 @@ var xNewUnixFDListFromArray func(uintptr, int) uintptr
7171 // Each file descriptor in the array should be set to close-on-exec.
7272 //
7373 // 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 {
7575 var cls *UnixFDList
7676
7777 cret := xNewUnixFDListFromArray(FdsVar, NFdsVar)
@@ -144,7 +144,7 @@ func (x *UnixFDList) GetLength() int {
144144 return cret
145145 }
146146
147-var xUnixFDListPeekFds func(uintptr, int) uintptr
147+var xUnixFDListPeekFds func(uintptr, int) []int
148148
149149 // Returns the array of file descriptors that is contained in this
150150 // object.
@@ -159,13 +159,13 @@ var xUnixFDListPeekFds func(uintptr, int) uintptr
159159 //
160160 // This function never returns %NULL. In case there are no file
161161 // 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 {
163163
164164 cret := xUnixFDListPeekFds(x.GoPointer(), LengthVar)
165165 return cret
166166 }
167167
168-var xUnixFDListStealFds func(uintptr, int) uintptr
168+var xUnixFDListStealFds func(uintptr, int) []int
169169
170170 // Returns the array of file descriptors that is contained in this
171171 // object.
@@ -185,7 +185,7 @@ var xUnixFDListStealFds func(uintptr, int) uintptr
185185 //
186186 // This function never returns %NULL. In case there are no file
187187 // 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 {
189189
190190 cret := xUnixFDListStealFds(x.GoPointer(), LengthVar)
191191 return cret
M v4/gio/gunixfdmessage.go +2 -2
@@ -121,7 +121,7 @@ func (x *UnixFDMessage) GetFdList() *UnixFDList {
121121 return cls
122122 }
123123
124-var xUnixFDMessageStealFds func(uintptr, int) uintptr
124+var xUnixFDMessageStealFds func(uintptr, int) []int
125125
126126 // Returns the array of file descriptors that is contained in this
127127 // object.
@@ -140,7 +140,7 @@ var xUnixFDMessageStealFds func(uintptr, int) uintptr
140140 //
141141 // This function never returns %NULL. In case there are no file
142142 // 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 {
144144
145145 cret := xUnixFDMessageStealFds(x.GoPointer(), LengthVar)
146146 return cret
M v4/gio/gunixinputstream.go +1 -1
@@ -151,7 +151,7 @@ func (x *UnixInputStream) IsReadable() bool {
151151 // if @cancellable has already been cancelled when you call, which
152152 // may happen if you call this method after a source triggers due
153153 // 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) {
155155 var cerr *glib.Error
156156
157157 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 {
155155 // Also note that if %G_IO_ERROR_WOULD_BLOCK is returned some underlying
156156 // transports like D/TLS require that you re-send the same @buffer and
157157 // @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) {
159159 var cerr *glib.Error
160160
161161 cret := XGPollableOutputStreamWriteNonblocking(x.GoPointer(), BufferVar, CountVar, CancellableVar.GoPointer(), &cerr)
@@ -182,7 +182,7 @@ func (x *UnixOutputStream) WriteNonblocking(BufferVar uintptr, CountVar uint, Ca
182182 // Also note that if %G_POLLABLE_RETURN_WOULD_BLOCK is returned some underlying
183183 // transports like D/TLS require that you re-send the same @vectors and
184184 // @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) {
186186 var cerr *glib.Error
187187
188188 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 {
7070 return cls
7171 }
7272
73-var xNewUnixSocketAddressAbstract func(uintptr, int) uintptr
73+var xNewUnixSocketAddressAbstract func([]byte, int) uintptr
7474
7575 // Creates a new %G_UNIX_SOCKET_ADDRESS_ABSTRACT_PADDED
7676 // #GUnixSocketAddress for @path.
77-func NewUnixSocketAddressAbstract(PathVar uintptr, PathLenVar int) *UnixSocketAddress {
77+func NewUnixSocketAddressAbstract(PathVar []byte, PathLenVar int) *UnixSocketAddress {
7878 var cls *UnixSocketAddress
7979
8080 cret := xNewUnixSocketAddressAbstract(PathVar, PathLenVar)
@@ -87,7 +87,7 @@ func NewUnixSocketAddressAbstract(PathVar uintptr, PathLenVar int) *UnixSocketAd
8787 return cls
8888 }
8989
90-var xNewUnixSocketAddressWithType func(uintptr, int, UnixSocketAddressType) uintptr
90+var xNewUnixSocketAddressWithType func([]byte, int, UnixSocketAddressType) uintptr
9191
9292 // Creates a new #GUnixSocketAddress of type @type with name @path.
9393 //
@@ -120,7 +120,7 @@ var xNewUnixSocketAddressWithType func(uintptr, int, UnixSocketAddressType) uint
120120 // when connecting to a server created by another process, you must
121121 // use the appropriate type corresponding to how that process created
122122 // its listening socket.
123-func NewUnixSocketAddressWithType(PathVar uintptr, PathLenVar int, TypeVar UnixSocketAddressType) *UnixSocketAddress {
123+func NewUnixSocketAddressWithType(PathVar []byte, PathLenVar int, TypeVar UnixSocketAddressType) *UnixSocketAddress {
124124 var cls *UnixSocketAddress
125125
126126 cret := xNewUnixSocketAddressWithType(PathVar, PathLenVar, TypeVar)
M v4/gio/gvfs.go +2 -2
@@ -79,10 +79,10 @@ func (x *Vfs) GetFileForUri(UriVar string) *FileBase {
7979 return cls
8080 }
8181
82-var xVfsGetSupportedUriSchemes func(uintptr) uintptr
82+var xVfsGetSupportedUriSchemes func(uintptr) []string
8383
8484 // Gets a list of URI schemes supported by @vfs.
85-func (x *Vfs) GetSupportedUriSchemes() uintptr {
85+func (x *Vfs) GetSupportedUriSchemes() []string {
8686
8787 cret := xVfsGetSupportedUriSchemes(x.GoPointer())
8888 return cret
M v4/gio/gzlibcompressor.go +1 -1
@@ -169,7 +169,7 @@ func (c *ZlibCompressor) SetGoPointer(ptr uintptr) {
169169 // at a partial multibyte sequence). Converters are supposed to try
170170 // to produce as much output as possible and then return an error
171171 // (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) {
173173 var cerr *glib.Error
174174
175175 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) {
157157 // at a partial multibyte sequence). Converters are supposed to try
158158 // to produce as much output as possible and then return an error
159159 // (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) {
161161 var cerr *glib.Error
162162
163163 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 {
6161 return uintptr(unsafe.Pointer(x))
6262 }
6363
64-var xNewBytes func(uintptr, uint) *Bytes
64+var xNewBytes func([]byte, uint) *Bytes
6565
6666 // Creates a new #GBytes from @data.
6767 //
6868 // @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 {
7070
7171 cret := xNewBytes(DataVar, SizeVar)
7272 return cret
7373 }
7474
75-var xNewBytesStatic func(uintptr, uint) *Bytes
75+var xNewBytesStatic func([]byte, uint) *Bytes
7676
7777 // Creates a new #GBytes from static data.
7878 //
7979 // @data must be static (ie: never modified or freed). It may be %NULL if @size
8080 // is 0.
81-func NewBytesStatic(DataVar uintptr, SizeVar uint) *Bytes {
81+func NewBytesStatic(DataVar []byte, SizeVar uint) *Bytes {
8282
8383 cret := xNewBytesStatic(DataVar, SizeVar)
8484 return cret
@@ -104,7 +104,7 @@ func NewBytesTake(DataVar uintptr, SizeVar uint) *Bytes {
104104 return cret
105105 }
106106
107-var xNewBytesWithFreeFunc func(uintptr, uint, uintptr, uintptr) *Bytes
107+var xNewBytesWithFreeFunc func([]byte, uint, uintptr, uintptr) *Bytes
108108
109109 // Creates a #GBytes from @data.
110110 //
@@ -115,7 +115,7 @@ var xNewBytesWithFreeFunc func(uintptr, uint, uintptr, uintptr) *Bytes
115115 // been called to indicate that the bytes is no longer in use.
116116 //
117117 // @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 {
119119
120120 cret := xNewBytesWithFreeFunc(DataVar, SizeVar, NewCallback(FreeFuncVar), UserDataVar)
121121 return cret
@@ -151,7 +151,7 @@ func (x *Bytes) Equal(Bytes2Var uintptr) bool {
151151 return cret
152152 }
153153
154-var xBytesGetData func(uintptr, uint) uintptr
154+var xBytesGetData func(uintptr, uint) []byte
155155
156156 // Get the byte data in the #GBytes. This data should not be modified.
157157 //
@@ -160,7 +160,7 @@ var xBytesGetData func(uintptr, uint) uintptr
160160 // %NULL may be returned if @size is 0. This is not guaranteed, as the #GBytes
161161 // may represent an empty string with @data non-%NULL and @size as 0. %NULL will
162162 // not be returned if @size is non-zero.
163-func (x *Bytes) GetData(SizeVar uint) uintptr {
163+func (x *Bytes) GetData(SizeVar uint) []byte {
164164
165165 cret := xBytesGetData(x.GoPointer(), SizeVar)
166166 return cret
@@ -255,7 +255,7 @@ func (x *Bytes) Unref() {
255255
256256 }
257257
258-var xBytesUnrefToArray func(uintptr) uintptr
258+var xBytesUnrefToArray func(uintptr) []byte
259259
260260 // Unreferences the bytes, and returns a new mutable #GByteArray containing
261261 // the same byte data.
@@ -268,7 +268,7 @@ var xBytesUnrefToArray func(uintptr) uintptr
268268 // Do not use it if @bytes contains more than %G_MAXUINT
269269 // bytes. #GByteArray stores the length of its data in #guint, which
270270 // may be shorter than #gsize, that @bytes is using.
271-func (x *Bytes) UnrefToArray() uintptr {
271+func (x *Bytes) UnrefToArray() []byte {
272272
273273 cret := xBytesUnrefToArray(x.GoPointer())
274274 return cret
@@ -300,19 +300,19 @@ func (x *PtrArray) GoPointer() uintptr {
300300 return uintptr(unsafe.Pointer(x))
301301 }
302302
303-var xByteArrayFree func(uintptr, bool) byte
303+var xByteArrayFree func([]byte, bool) byte
304304
305305 // Frees the memory allocated by the #GByteArray. If @free_segment is
306306 // %TRUE it frees the actual byte data. If the reference count of
307307 // @array is greater than one, the #GByteArray wrapper is preserved but
308308 // 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 {
310310
311311 cret := xByteArrayFree(ArrayVar, FreeSegmentVar)
312312 return cret
313313 }
314314
315-var xByteArrayFreeToBytes func(uintptr) *Bytes
315+var xByteArrayFreeToBytes func([]byte) *Bytes
316316
317317 // Transfers the data from the #GByteArray into a new immutable #GBytes.
318318 //
@@ -322,22 +322,22 @@ var xByteArrayFreeToBytes func(uintptr) *Bytes
322322 //
323323 // This is identical to using g_bytes_new_take() and g_byte_array_free()
324324 // together.
325-func ByteArrayFreeToBytes(ArrayVar uintptr) *Bytes {
325+func ByteArrayFreeToBytes(ArrayVar []byte) *Bytes {
326326
327327 cret := xByteArrayFreeToBytes(ArrayVar)
328328 return cret
329329 }
330330
331-var xByteArrayNew func() uintptr
331+var xByteArrayNew func() []byte
332332
333333 // Creates a new #GByteArray with a reference count of 1.
334-func ByteArrayNew() uintptr {
334+func ByteArrayNew() []byte {
335335
336336 cret := xByteArrayNew()
337337 return cret
338338 }
339339
340-var xByteArrayNewTake func(uintptr, uint) uintptr
340+var xByteArrayNewTake func([]byte, uint) []byte
341341
342342 // Create byte array containing the data. The data will be owned by the array
343343 // 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
345345 // Do not use it if @len is greater than %G_MAXUINT. #GByteArray
346346 // stores the length of its data in #guint, which may be shorter than
347347 // #gsize.
348-func ByteArrayNewTake(DataVar uintptr, LenVar uint) uintptr {
348+func ByteArrayNewTake(DataVar []byte, LenVar uint) []byte {
349349
350350 cret := xByteArrayNewTake(DataVar, LenVar)
351351 return cret
352352 }
353353
354-var xByteArraySteal func(uintptr, uint) byte
354+var xByteArraySteal func([]byte, uint) byte
355355
356356 // Frees the data in the array and resets the size to zero, while
357357 // the underlying array is preserved for use elsewhere and returned
358358 // to the caller.
359-func ByteArraySteal(ArrayVar uintptr, LenVar uint) byte {
359+func ByteArraySteal(ArrayVar []byte, LenVar uint) byte {
360360
361361 cret := xByteArraySteal(ArrayVar, LenVar)
362362 return cret
363363 }
364364
365-var xByteArrayUnref func(uintptr)
365+var xByteArrayUnref func([]byte)
366366
367367 // Atomically decrements the reference count of @array by one. If the
368368 // reference count drops to 0, all memory allocated by the array is
369369 // released. This function is thread-safe and may be called from any
370370 // thread.
371-func ByteArrayUnref(ArrayVar uintptr) {
371+func ByteArrayUnref(ArrayVar []byte) {
372372
373373 xByteArrayUnref(ArrayVar)
374374
375375 }
376376
377-var xPtrArrayFind func(uintptr, uintptr, uint) bool
377+var xPtrArrayFind func([]uintptr, uintptr, uint) bool
378378
379379 // Checks whether @needle exists in @haystack. If the element is found, %TRUE is
380380 // returned and the element’s index is returned in @index_ (if non-%NULL).
@@ -383,13 +383,13 @@ var xPtrArrayFind func(uintptr, uintptr, uint) bool
383383 //
384384 // This does pointer comparisons only. If you want to use more complex equality
385385 // 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 {
387387
388388 cret := xPtrArrayFind(HaystackVar, NeedleVar, IndexVar)
389389 return cret
390390 }
391391
392-var xPtrArrayFindWithEqualFunc func(uintptr, uintptr, uintptr, uint) bool
392+var xPtrArrayFindWithEqualFunc func([]uintptr, uintptr, uintptr, uint) bool
393393
394394 // Checks whether @needle exists in @haystack, using the given @equal_func.
395395 // 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
400400 // @equal_func is called with the element from the array as its first parameter,
401401 // and @needle as its second parameter. If @equal_func is %NULL, pointer
402402 // 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 {
404404
405405 cret := xPtrArrayFindWithEqualFunc(HaystackVar, NeedleVar, NewCallback(EqualFuncVar), IndexVar)
406406 return cret
M v4/glib/gbase64.go +12 -12
@@ -6,28 +6,28 @@ import (
66 "github.com/jwijenbergh/puregotk/internal/core"
77 )
88
9-var xBase64Decode func(string, uint) uintptr
9+var xBase64Decode func(string, uint) []byte
1010
1111 // Decode a sequence of Base-64 encoded text into binary data. Note
1212 // that the returned binary data is not necessarily zero-terminated,
1313 // 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 {
1515
1616 cret := xBase64Decode(TextVar, OutLenVar)
1717 return cret
1818 }
1919
20-var xBase64DecodeInplace func(uintptr, uint) byte
20+var xBase64DecodeInplace func([]byte, uint) byte
2121
2222 // Decode a sequence of Base-64 encoded text into binary data
2323 // by overwriting the input data.
24-func Base64DecodeInplace(TextVar uintptr, OutLenVar uint) byte {
24+func Base64DecodeInplace(TextVar []byte, OutLenVar uint) byte {
2525
2626 cret := xBase64DecodeInplace(TextVar, OutLenVar)
2727 return cret
2828 }
2929
30-var xBase64DecodeStep func(uintptr, uint, uintptr, int, uint) uint
30+var xBase64DecodeStep func([]byte, uint, []byte, int, uint) uint
3131
3232 // Incrementally decode a sequence of binary data from its Base-64 stringified
3333 // representation. By calling this function multiple times you can convert
@@ -37,23 +37,23 @@ var xBase64DecodeStep func(uintptr, uint, uintptr, int, uint) uint
3737 // be written to it. Since base64 encodes 3 bytes in 4 chars you need
3838 // at least: (@len / 4) * 3 + 3 bytes (+ 3 may be needed in case of non-zero
3939 // 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 {
4141
4242 cret := xBase64DecodeStep(InVar, LenVar, OutVar, StateVar, SaveVar)
4343 return cret
4444 }
4545
46-var xBase64Encode func(uintptr, uint) string
46+var xBase64Encode func([]byte, uint) string
4747
4848 // Encode a sequence of binary data into its Base-64 stringified
4949 // representation.
50-func Base64Encode(DataVar uintptr, LenVar uint) string {
50+func Base64Encode(DataVar []byte, LenVar uint) string {
5151
5252 cret := xBase64Encode(DataVar, LenVar)
5353 return cret
5454 }
5555
56-var xBase64EncodeClose func(bool, uintptr, int, int) uint
56+var xBase64EncodeClose func(bool, []byte, int, int) uint
5757
5858 // Flush the status from a sequence of calls to g_base64_encode_step().
5959 //
@@ -62,13 +62,13 @@ var xBase64EncodeClose func(bool, uintptr, int, int) uint
6262 // line-breaking is enabled.
6363 //
6464 // 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 {
6666
6767 cret := xBase64EncodeClose(BreakLinesVar, OutVar, StateVar, SaveVar)
6868 return cret
6969 }
7070
71-var xBase64EncodeStep func(uintptr, uint, bool, uintptr, int, int) uint
71+var xBase64EncodeStep func([]byte, uint, bool, []byte, int, int) uint
7272
7373 // Incrementally encode a sequence of binary data into its Base-64 stringified
7474 // representation. By calling this function multiple times you can convert
@@ -89,7 +89,7 @@ var xBase64EncodeStep func(uintptr, uint, bool, uintptr, int, int) uint
8989 // Note however that it breaks the lines with `LF` characters, not
9090 // `CR LF` sequences, so the result cannot be passed directly to SMTP
9191 // 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 {
9393
9494 cret := xBase64EncodeStep(InVar, LenVar, BreakLinesVar, OutVar, StateVar, SaveVar)
9595 return cret
M v4/glib/gbookmarkfile.go +12 -12
@@ -153,14 +153,14 @@ func (x *BookmarkFile) GetApplicationInfo(UriVar string, NameVar string, ExecVar
153153
154154 }
155155
156-var xBookmarkFileGetApplications func(uintptr, string, uint, **Error) uintptr
156+var xBookmarkFileGetApplications func(uintptr, string, uint, **Error) []string
157157
158158 // Retrieves the names of the applications that have registered the
159159 // bookmark for @uri.
160160 //
161161 // In the event the URI cannot be found, %NULL is returned and
162162 // @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) {
164164 var cerr *Error
165165
166166 cret := xBookmarkFileGetApplications(x.GoPointer(), UriVar, LengthVar, &cerr)
@@ -188,7 +188,7 @@ func (x *BookmarkFile) GetDescription(UriVar string) (string, error) {
188188
189189 }
190190
191-var xBookmarkFileGetGroups func(uintptr, string, uint, **Error) uintptr
191+var xBookmarkFileGetGroups func(uintptr, string, uint, **Error) []string
192192
193193 // Retrieves the list of group names of the bookmark for @uri.
194194 //
@@ -197,7 +197,7 @@ var xBookmarkFileGetGroups func(uintptr, string, uint, **Error) uintptr
197197 //
198198 // The returned array is %NULL terminated, so @length may optionally
199199 // be %NULL.
200-func (x *BookmarkFile) GetGroups(UriVar string, LengthVar uint) (uintptr, error) {
200+func (x *BookmarkFile) GetGroups(UriVar string, LengthVar uint) ([]string, error) {
201201 var cerr *Error
202202
203203 cret := xBookmarkFileGetGroups(x.GoPointer(), UriVar, LengthVar, &cerr)
@@ -325,12 +325,12 @@ func (x *BookmarkFile) GetTitle(UriVar string) (string, error) {
325325
326326 }
327327
328-var xBookmarkFileGetUris func(uintptr, uint) uintptr
328+var xBookmarkFileGetUris func(uintptr, uint) []string
329329
330330 // Returns all URIs of the bookmarks in the bookmark file @bookmark.
331331 // The array of returned URIs will be %NULL-terminated, so @length may
332332 // optionally be %NULL.
333-func (x *BookmarkFile) GetUris(LengthVar uint) uintptr {
333+func (x *BookmarkFile) GetUris(LengthVar uint) []string {
334334
335335 cret := xBookmarkFileGetUris(x.GoPointer(), LengthVar)
336336 return cret
@@ -415,12 +415,12 @@ func (x *BookmarkFile) HasItem(UriVar string) bool {
415415 return cret
416416 }
417417
418-var xBookmarkFileLoadFromData func(uintptr, uintptr, uint, **Error) bool
418+var xBookmarkFileLoadFromData func(uintptr, []byte, uint, **Error) bool
419419
420420 // Loads a bookmark file from memory into an empty #GBookmarkFile
421421 // structure. If the object cannot be created then @error is set to a
422422 // #GBookmarkFileError.
423-func (x *BookmarkFile) LoadFromData(DataVar uintptr, LengthVar uint) (bool, error) {
423+func (x *BookmarkFile) LoadFromData(DataVar []byte, LengthVar uint) (bool, error) {
424424 var cerr *Error
425425
426426 cret := xBookmarkFileLoadFromData(x.GoPointer(), DataVar, LengthVar, &cerr)
@@ -655,13 +655,13 @@ func (x *BookmarkFile) SetDescription(UriVar string, DescriptionVar string) {
655655
656656 }
657657
658-var xBookmarkFileSetGroups func(uintptr, string, uintptr, uint)
658+var xBookmarkFileSetGroups func(uintptr, string, []string, uint)
659659
660660 // Sets a list of group names for the item with URI @uri. Each previously
661661 // set group name list is removed.
662662 //
663663 // 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) {
665665
666666 xBookmarkFileSetGroups(x.GoPointer(), UriVar, GroupsVar, LengthVar)
667667
@@ -782,10 +782,10 @@ func (x *BookmarkFile) SetVisitedDateTime(UriVar string, VisitedVar *DateTime) {
782782
783783 }
784784
785-var xBookmarkFileToData func(uintptr, uint, **Error) uintptr
785+var xBookmarkFileToData func(uintptr, uint, **Error) []byte
786786
787787 // 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) {
789789 var cerr *Error
790790
791791 cret := xBookmarkFileToData(x.GoPointer(), LengthVar, &cerr)
M v4/glib/gcharset.go +6 -6
@@ -68,7 +68,7 @@ func GetConsoleCharset(CharsetVar string) bool {
6868 return cret
6969 }
7070
71-var xGetLanguageNames func() uintptr
71+var xGetLanguageNames func() []string
7272
7373 // Computes a list of applicable locale names, which can be used to
7474 // e.g. construct locale-dependent filenames or search paths. The returned
@@ -81,13 +81,13 @@ var xGetLanguageNames func() uintptr
8181 // This function consults the environment variables `LANGUAGE`, `LC_ALL`,
8282 // `LC_MESSAGES` and `LANG` to find the list of locales specified by the
8383 // user.
84-func GetLanguageNames() uintptr {
84+func GetLanguageNames() []string {
8585
8686 cret := xGetLanguageNames()
8787 return cret
8888 }
8989
90-var xGetLanguageNamesWithCategory func(string) uintptr
90+var xGetLanguageNamesWithCategory func(string) []string
9191
9292 // Computes a list of applicable locale names with a locale category name,
9393 // which can be used to construct the fallback locale-dependent filenames
@@ -99,13 +99,13 @@ var xGetLanguageNamesWithCategory func(string) uintptr
9999 // user.
100100 //
101101 // 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 {
103103
104104 cret := xGetLanguageNamesWithCategory(CategoryNameVar)
105105 return cret
106106 }
107107
108-var xGetLocaleVariants func(string) uintptr
108+var xGetLocaleVariants func(string) []string
109109
110110 // Returns a list of derived variants of @locale, which can be used to
111111 // e.g. construct locale-dependent filenames or search paths. The returned
@@ -122,7 +122,7 @@ var xGetLocaleVariants func(string) uintptr
122122 //
123123 // If you need the list of variants for the current locale,
124124 // use g_get_language_names().
125-func GetLocaleVariants(LocaleVar string) uintptr {
125+func GetLocaleVariants(LocaleVar string) []string {
126126
127127 cret := xGetLocaleVariants(LocaleVar)
128128 return cret
M v4/glib/gchecksum.go +6 -6
@@ -60,14 +60,14 @@ func (x *Checksum) Free() {
6060
6161 }
6262
63-var xChecksumGetDigest func(uintptr, uintptr, uint)
63+var xChecksumGetDigest func(uintptr, []byte, uint)
6464
6565 // Gets the digest from @checksum as a raw binary vector and places it
6666 // into @buffer. The size of the digest depends on the type of checksum.
6767 //
6868 // Once this function has been called, the #GChecksum is closed and can
6969 // 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) {
7171
7272 xChecksumGetDigest(x.GoPointer(), BufferVar, DigestLenVar)
7373
@@ -96,12 +96,12 @@ func (x *Checksum) Reset() {
9696
9797 }
9898
99-var xChecksumUpdate func(uintptr, uintptr, int)
99+var xChecksumUpdate func(uintptr, []byte, int)
100100
101101 // Feeds @data into an existing #GChecksum. The checksum must still be
102102 // open, that is g_checksum_get_string() or g_checksum_get_digest() must
103103 // not have been called on @checksum.
104-func (x *Checksum) Update(DataVar uintptr, LengthVar int) {
104+func (x *Checksum) Update(DataVar []byte, LengthVar int) {
105105
106106 xChecksumUpdate(x.GoPointer(), DataVar, LengthVar)
107107
@@ -150,14 +150,14 @@ func ComputeChecksumForBytes(ChecksumTypeVar ChecksumType, DataVar *Bytes) strin
150150 return cret
151151 }
152152
153-var xComputeChecksumForData func(ChecksumType, uintptr, uint) string
153+var xComputeChecksumForData func(ChecksumType, []byte, uint) string
154154
155155 // Computes the checksum for a binary @data of @length. This is a
156156 // convenience wrapper for g_checksum_new(), g_checksum_get_string()
157157 // and g_checksum_free().
158158 //
159159 // 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 {
161161
162162 cret := xComputeChecksumForData(ChecksumTypeVar, DataVar, LengthVar)
163163 return cret
M v4/glib/gconvert.go +14 -14
@@ -82,7 +82,7 @@ const (
8282 GConvertErrorEmbeddedNulValue ConvertError = 7
8383 )
8484
85-var xConvert func(uintptr, int, string, string, uint, uint, **Error) uintptr
85+var xConvert func([]byte, int, string, string, uint, uint, **Error) []byte
8686
8787 // Converts a string from one character set to another.
8888 //
@@ -98,7 +98,7 @@ var xConvert func(uintptr, int, string, string, uint, uint, **Error) uintptr
9898 //
9999 // Using extensions such as "//TRANSLIT" may not work (or may not work
100100 // 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) {
102102 var cerr *Error
103103
104104 cret := xConvert(StrVar, LenVar, ToCodesetVar, FromCodesetVar, BytesReadVar, BytesWrittenVar, &cerr)
@@ -109,7 +109,7 @@ func Convert(StrVar uintptr, LenVar int, ToCodesetVar string, FromCodesetVar str
109109
110110 }
111111
112-var xConvertWithFallback func(uintptr, int, string, string, string, uint, uint, **Error) uintptr
112+var xConvertWithFallback func([]byte, int, string, string, string, uint, uint, **Error) []byte
113113
114114 // Converts a string from one character set to another, possibly
115115 // including fallback sequences for characters not representable
@@ -128,7 +128,7 @@ var xConvertWithFallback func(uintptr, int, string, string, string, uint, uint,
128128 // this is the GNU C converter for CP1255 which does not emit a base
129129 // character until it knows that the next character is not a mark that
130130 // 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) {
132132 var cerr *Error
133133
134134 cret := xConvertWithFallback(StrVar, LenVar, ToCodesetVar, FromCodesetVar, FallbackVar, BytesReadVar, BytesWrittenVar, &cerr)
@@ -139,7 +139,7 @@ func ConvertWithFallback(StrVar uintptr, LenVar int, ToCodesetVar string, FromCo
139139
140140 }
141141
142-var xConvertWithIconv func(uintptr, int, uintptr, uint, uint, **Error) uintptr
142+var xConvertWithIconv func([]byte, int, uintptr, uint, uint, **Error) []byte
143143
144144 // Converts a string from one character set to another.
145145 //
@@ -160,7 +160,7 @@ var xConvertWithIconv func(uintptr, int, uintptr, uint, uint, **Error) uintptr
160160 // this is the same error code as is returned for an invalid byte sequence in
161161 // the input character set. To get defined behaviour for conversion of
162162 // 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) {
164164 var cerr *Error
165165
166166 cret := xConvertWithIconv(StrVar, LenVar, ConverterVar, BytesReadVar, BytesWrittenVar, &cerr)
@@ -296,7 +296,7 @@ func FilenameToUtf8(OpsysstringVar string, LenVar int, BytesReadVar uint, BytesW
296296
297297 }
298298
299-var xGetFilenameCharsets func(uintptr) bool
299+var xGetFilenameCharsets func([]string) bool
300300
301301 // Determines the preferred character sets used for filenames.
302302 // The first character set from the @charsets is the filename encoding, the
@@ -322,7 +322,7 @@ var xGetFilenameCharsets func(uintptr) bool
322322 // Note that on Unix, regardless of the locale character set or
323323 // `G_FILENAME_ENCODING` value, the actual file names present
324324 // on a system might be in any random encoding or just gibberish.
325-func GetFilenameCharsets(FilenameCharsetsVar uintptr) bool {
325+func GetFilenameCharsets(FilenameCharsetsVar []string) bool {
326326
327327 cret := xGetFilenameCharsets(FilenameCharsetsVar)
328328 return cret
@@ -363,7 +363,7 @@ func IconvOpen(ToCodesetVar string, FromCodesetVar string) uintptr {
363363 return cret
364364 }
365365
366-var xLocaleFromUtf8 func(string, int, uint, uint, **Error) uintptr
366+var xLocaleFromUtf8 func(string, int, uint, uint, **Error) []byte
367367
368368 // Converts a string from UTF-8 to the encoding used for strings by
369369 // 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
374374 // argument is positive. A nul character found inside the string will result
375375 // in error %G_CONVERT_ERROR_ILLEGAL_SEQUENCE. Use g_convert() to convert
376376 // 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) {
378378 var cerr *Error
379379
380380 cret := xLocaleFromUtf8(Utf8stringVar, LenVar, BytesReadVar, BytesWrittenVar, &cerr)
@@ -385,7 +385,7 @@ func LocaleFromUtf8(Utf8stringVar string, LenVar int, BytesReadVar uint, BytesWr
385385
386386 }
387387
388-var xLocaleToUtf8 func(uintptr, int, uint, uint, **Error) string
388+var xLocaleToUtf8 func([]byte, int, uint, uint, **Error) string
389389
390390 // Converts a string which is in the encoding used for strings by
391391 // 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
398398 // the %G_CONVERT_ERROR_ILLEGAL_SEQUENCE error for backward compatibility with
399399 // earlier versions of this library. Use g_convert() to produce output that
400400 // 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) {
402402 var cerr *Error
403403
404404 cret := xLocaleToUtf8(OpsysstringVar, LenVar, BytesReadVar, BytesWrittenVar, &cerr)
@@ -409,12 +409,12 @@ func LocaleToUtf8(OpsysstringVar uintptr, LenVar int, BytesReadVar uint, BytesWr
409409
410410 }
411411
412-var xUriListExtractUris func(string) uintptr
412+var xUriListExtractUris func(string) []string
413413
414414 // Splits an URI list conforming to the text/uri-list
415415 // mime type defined in RFC 2483 into individual URIs,
416416 // discarding any comments. The URIs are not validated.
417-func UriListExtractUris(UriListVar string) uintptr {
417+func UriListExtractUris(UriListVar string) []string {
418418
419419 cret := xUriListExtractUris(UriListVar)
420420 return cret
M v4/glib/genviron.go +10 -10
@@ -6,37 +6,37 @@ import (
66 "github.com/jwijenbergh/puregotk/internal/core"
77 )
88
9-var xEnvironGetenv func(uintptr, string) string
9+var xEnvironGetenv func([]string, string) string
1010
1111 // Returns the value of the environment variable @variable in the
1212 // provided list @envp.
13-func EnvironGetenv(EnvpVar uintptr, VariableVar string) string {
13+func EnvironGetenv(EnvpVar []string, VariableVar string) string {
1414
1515 cret := xEnvironGetenv(EnvpVar, VariableVar)
1616 return cret
1717 }
1818
19-var xEnvironSetenv func(uintptr, string, string, bool) uintptr
19+var xEnvironSetenv func([]string, string, string, bool) []string
2020
2121 // Sets the environment variable @variable in the provided list
2222 // @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 {
2424
2525 cret := xEnvironSetenv(EnvpVar, VariableVar, ValueVar, OverwriteVar)
2626 return cret
2727 }
2828
29-var xEnvironUnsetenv func(uintptr, string) uintptr
29+var xEnvironUnsetenv func([]string, string) []string
3030
3131 // Removes the environment variable @variable from the provided
3232 // environment @envp.
33-func EnvironUnsetenv(EnvpVar uintptr, VariableVar string) uintptr {
33+func EnvironUnsetenv(EnvpVar []string, VariableVar string) []string {
3434
3535 cret := xEnvironUnsetenv(EnvpVar, VariableVar)
3636 return cret
3737 }
3838
39-var xGetEnviron func() uintptr
39+var xGetEnviron func() []string
4040
4141 // Gets the list of environment variables for the current process.
4242 //
@@ -48,7 +48,7 @@ var xGetEnviron func() uintptr
4848 //
4949 // The return value is freshly allocated and it should be freed with
5050 // g_strfreev() when it is no longer needed.
51-func GetEnviron() uintptr {
51+func GetEnviron() []string {
5252
5353 cret := xGetEnviron()
5454 return cret
@@ -69,7 +69,7 @@ func Getenv(VariableVar string) string {
6969 return cret
7070 }
7171
72-var xListenv func() uintptr
72+var xListenv func() []string
7373
7474 // Gets the names of all variables set in the environment.
7575 //
@@ -79,7 +79,7 @@ var xListenv func() uintptr
7979 // array are in system codepage encoding, while in most of the typical
8080 // use cases for environment variables in GLib-using programs you want
8181 // the UTF-8 encoding that this function and g_getenv() provide.
82-func Listenv() uintptr {
82+func Listenv() []string {
8383
8484 cret := xListenv()
8585 return cret
M v4/glib/gfileutils.go +10 -10
@@ -208,12 +208,12 @@ func BuildFilenameValist(FirstElementVar string, ArgsVar []interface{}) string {
208208 return cret
209209 }
210210
211-var xBuildFilenamev func(uintptr) string
211+var xBuildFilenamev func([]string) string
212212
213213 // Behaves exactly like g_build_filename(), but takes the path elements
214214 // as a string array, instead of varargs. This function is mainly
215215 // meant for language bindings.
216-func BuildFilenamev(ArgsVar uintptr) string {
216+func BuildFilenamev(ArgsVar []string) string {
217217
218218 cret := xBuildFilenamev(ArgsVar)
219219 return cret
@@ -253,12 +253,12 @@ func BuildPath(SeparatorVar string, FirstElementVar string, varArgs ...interface
253253 return cret
254254 }
255255
256-var xBuildPathv func(string, uintptr) string
256+var xBuildPathv func(string, []string) string
257257
258258 // Behaves exactly like g_build_path(), but takes the path elements
259259 // as a string array, instead of varargs. This function is mainly
260260 // meant for language bindings.
261-func BuildPathv(SeparatorVar string, ArgsVar uintptr) string {
261+func BuildPathv(SeparatorVar string, ArgsVar []string) string {
262262
263263 cret := xBuildPathv(SeparatorVar, ArgsVar)
264264 return cret
@@ -327,7 +327,7 @@ func FileErrorFromErrno(ErrNoVar int) FileError {
327327 return cret
328328 }
329329
330-var xFileGetContents func(string, uintptr, uint, **Error) bool
330+var xFileGetContents func(string, []byte, uint, **Error) bool
331331
332332 // Reads an entire file into allocated memory, with good error
333333 // checking.
@@ -339,7 +339,7 @@ var xFileGetContents func(string, uintptr, uint, **Error) bool
339339 // %FALSE and sets @error. The error domain is %G_FILE_ERROR. Possible error
340340 // codes are those in the #GFileError enumeration. In the error case,
341341 // @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) {
343343 var cerr *Error
344344
345345 cret := xFileGetContents(FilenameVar, ContentsVar, LengthVar, &cerr)
@@ -395,13 +395,13 @@ func FileReadLink(FilenameVar string) (string, error) {
395395
396396 }
397397
398-var xFileSetContents func(string, uintptr, int, **Error) bool
398+var xFileSetContents func(string, []byte, int, **Error) bool
399399
400400 // Writes all of @contents to a file named @filename. This is a convenience
401401 // wrapper around calling g_file_set_contents_full() with `flags` set to
402402 // `G_FILE_SET_CONTENTS_CONSISTENT | G_FILE_SET_CONTENTS_ONLY_EXISTING` and
403403 // `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) {
405405 var cerr *Error
406406
407407 cret := xFileSetContents(FilenameVar, ContentsVar, LengthVar, &cerr)
@@ -412,7 +412,7 @@ func FileSetContents(FilenameVar string, ContentsVar uintptr, LengthVar int) (bo
412412
413413 }
414414
415-var xFileSetContentsFull func(string, uintptr, int, FileSetContentsFlags, int, **Error) bool
415+var xFileSetContentsFull func(string, []byte, int, FileSetContentsFlags, int, **Error) bool
416416
417417 // Writes all of @contents to a file named @filename, with good error checking.
418418 // If a file called @filename already exists it will be overwritten.
@@ -468,7 +468,7 @@ var xFileSetContentsFull func(string, uintptr, int, FileSetContentsFlags, int, *
468468 // If the file didn’t exist before and is created, it will be given the
469469 // permissions from @mode. Otherwise, the permissions of the existing file may
470470 // 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) {
472472 var cerr *Error
473473
474474 cret := xFileSetContentsFull(FilenameVar, ContentsVar, LengthVar, FlagsVar, ModeVar, &cerr)
M v4/glib/ghmac.go +8 -8
@@ -29,14 +29,14 @@ func (x *Hmac) Copy() *Hmac {
2929 return cret
3030 }
3131
32-var xHmacGetDigest func(uintptr, uintptr, uint)
32+var xHmacGetDigest func(uintptr, []byte, uint)
3333
3434 // Gets the digest from @checksum as a raw binary array and places it
3535 // into @buffer. The size of the digest depends on the type of checksum.
3636 //
3737 // Once this function has been called, the #GHmac is closed and can
3838 // 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) {
4040
4141 xHmacGetDigest(x.GoPointer(), BufferVar, DigestLenVar)
4242
@@ -81,13 +81,13 @@ func (x *Hmac) Unref() {
8181
8282 }
8383
84-var xHmacUpdate func(uintptr, uintptr, int)
84+var xHmacUpdate func(uintptr, []byte, int)
8585
8686 // Feeds @data into an existing #GHmac.
8787 //
8888 // The HMAC must still be open, that is g_hmac_get_string() or
8989 // 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) {
9191
9292 xHmacUpdate(x.GoPointer(), DataVar, LengthVar)
9393
@@ -106,25 +106,25 @@ func ComputeHmacForBytes(DigestTypeVar ChecksumType, KeyVar *Bytes, DataVar *Byt
106106 return cret
107107 }
108108
109-var xComputeHmacForData func(ChecksumType, uintptr, uint, uintptr, uint) string
109+var xComputeHmacForData func(ChecksumType, []byte, uint, []byte, uint) string
110110
111111 // Computes the HMAC for a binary @data of @length. This is a
112112 // convenience wrapper for g_hmac_new(), g_hmac_get_string()
113113 // and g_hmac_unref().
114114 //
115115 // 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 {
117117
118118 cret := xComputeHmacForData(DigestTypeVar, KeyVar, KeyLenVar, DataVar, LengthVar)
119119 return cret
120120 }
121121
122-var xComputeHmacForString func(ChecksumType, uintptr, uint, string, int) string
122+var xComputeHmacForString func(ChecksumType, []byte, uint, string, int) string
123123
124124 // Computes the HMAC for a string.
125125 //
126126 // 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 {
128128
129129 cret := xComputeHmacForString(DigestTypeVar, KeyVar, KeyLenVar, StrVar, LengthVar)
130130 return cret
M v4/glib/ghook.go +1 -1
@@ -80,7 +80,7 @@ type HookList struct {
8080
8181 FinalizeHook HookFinalizeFunc
8282
83- Dummy uintptr
83+ Dummy [2]uintptr
8484 }
8585
8686 func (x *HookList) GoPointer() uintptr {
M v4/glib/giochannel.go +7 -7
@@ -39,7 +39,7 @@ type IOChannel struct {
3939
4040 WriteBuf *String
4141
42- PartialWriteBuf uintptr
42+ PartialWriteBuf [6]byte
4343
4444 UseBuffer uint
4545
@@ -237,10 +237,10 @@ func (x *IOChannel) Read(BufVar string, CountVar uint, BytesReadVar uint) IOErro
237237 return cret
238238 }
239239
240-var xIOChannelReadChars func(uintptr, uintptr, uint, uint, **Error) IOStatus
240+var xIOChannelReadChars func(uintptr, []byte, uint, uint, **Error) IOStatus
241241
242242 // 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) {
244244 var cerr *Error
245245
246246 cret := xIOChannelReadChars(x.GoPointer(), BufVar, CountVar, BytesReadVar, &cerr)
@@ -282,10 +282,10 @@ func (x *IOChannel) ReadLineString(BufferVar *String, TerminatorPosVar uint) (IO
282282
283283 }
284284
285-var xIOChannelReadToEnd func(uintptr, uintptr, uint, **Error) IOStatus
285+var xIOChannelReadToEnd func(uintptr, []byte, uint, **Error) IOStatus
286286
287287 // 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) {
289289 var cerr *Error
290290
291291 cret := xIOChannelReadToEnd(x.GoPointer(), StrReturnVar, LengthVar, &cerr)
@@ -511,7 +511,7 @@ func (x *IOChannel) Write(BufVar string, CountVar uint, BytesWrittenVar uint) IO
511511 return cret
512512 }
513513
514-var xIOChannelWriteChars func(uintptr, uintptr, int, uint, **Error) IOStatus
514+var xIOChannelWriteChars func(uintptr, []byte, int, uint, **Error) IOStatus
515515
516516 // Replacement for g_io_channel_write() with the new API.
517517 //
@@ -519,7 +519,7 @@ var xIOChannelWriteChars func(uintptr, uintptr, int, uint, **Error) IOStatus
519519 // mixing of reading and writing is not allowed. A call to g_io_channel_write_chars ()
520520 // may only be made on a channel from which data has been read in the
521521 // 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) {
523523 var cerr *Error
524524
525525 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) {
6060
6161 }
6262
63-var xKeyFileGetBooleanList func(uintptr, string, string, uint, **Error) uintptr
63+var xKeyFileGetBooleanList func(uintptr, string, string, uint, **Error) []bool
6464
6565 // Returns the values associated with @key under @group_name as
6666 // booleans.
@@ -69,7 +69,7 @@ var xKeyFileGetBooleanList func(uintptr, string, string, uint, **Error) uintptr
6969 // %G_KEY_FILE_ERROR_KEY_NOT_FOUND. Likewise, if the values associated
7070 // with @key cannot be interpreted as booleans then %NULL is returned
7171 // 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) {
7373 var cerr *Error
7474
7575 cret := xKeyFileGetBooleanList(x.GoPointer(), GroupNameVar, KeyVar, LengthVar, &cerr)
@@ -121,7 +121,7 @@ func (x *KeyFile) GetDouble(GroupNameVar string, KeyVar string) (float64, error)
121121
122122 }
123123
124-var xKeyFileGetDoubleList func(uintptr, string, string, uint, **Error) uintptr
124+var xKeyFileGetDoubleList func(uintptr, string, string, uint, **Error) []float64
125125
126126 // Returns the values associated with @key under @group_name as
127127 // doubles.
@@ -130,7 +130,7 @@ var xKeyFileGetDoubleList func(uintptr, string, string, uint, **Error) uintptr
130130 // %G_KEY_FILE_ERROR_KEY_NOT_FOUND. Likewise, if the values associated
131131 // with @key cannot be interpreted as doubles then %NULL is returned
132132 // 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) {
134134 var cerr *Error
135135
136136 cret := xKeyFileGetDoubleList(x.GoPointer(), GroupNameVar, KeyVar, LengthVar, &cerr)
@@ -141,12 +141,12 @@ func (x *KeyFile) GetDoubleList(GroupNameVar string, KeyVar string, LengthVar ui
141141
142142 }
143143
144-var xKeyFileGetGroups func(uintptr, uint) uintptr
144+var xKeyFileGetGroups func(uintptr, uint) []string
145145
146146 // Returns all groups in the key file loaded with @key_file.
147147 // The array of returned groups will be %NULL-terminated, so
148148 // @length may optionally be %NULL.
149-func (x *KeyFile) GetGroups(LengthVar uint) uintptr {
149+func (x *KeyFile) GetGroups(LengthVar uint) []string {
150150
151151 cret := xKeyFileGetGroups(x.GoPointer(), LengthVar)
152152 return cret
@@ -189,7 +189,7 @@ func (x *KeyFile) GetInteger(GroupNameVar string, KeyVar string) (int, error) {
189189
190190 }
191191
192-var xKeyFileGetIntegerList func(uintptr, string, string, uint, **Error) uintptr
192+var xKeyFileGetIntegerList func(uintptr, string, string, uint, **Error) []int
193193
194194 // Returns the values associated with @key under @group_name as
195195 // integers.
@@ -199,7 +199,7 @@ var xKeyFileGetIntegerList func(uintptr, string, string, uint, **Error) uintptr
199199 // with @key cannot be interpreted as integers, or are out of range for
200200 // #gint, then %NULL is returned
201201 // 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) {
203203 var cerr *Error
204204
205205 cret := xKeyFileGetIntegerList(x.GoPointer(), GroupNameVar, KeyVar, LengthVar, &cerr)
@@ -210,14 +210,14 @@ func (x *KeyFile) GetIntegerList(GroupNameVar string, KeyVar string, LengthVar u
210210
211211 }
212212
213-var xKeyFileGetKeys func(uintptr, string, uint, **Error) uintptr
213+var xKeyFileGetKeys func(uintptr, string, uint, **Error) []string
214214
215215 // Returns all keys for the group name @group_name. The array of
216216 // returned keys will be %NULL-terminated, so @length may
217217 // optionally be %NULL. In the event that the @group_name cannot
218218 // be found, %NULL is returned and @error is set to
219219 // %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) {
221221 var cerr *Error
222222
223223 cret := xKeyFileGetKeys(x.GoPointer(), GroupNameVar, LengthVar, &cerr)
@@ -270,7 +270,7 @@ func (x *KeyFile) GetLocaleString(GroupNameVar string, KeyVar string, LocaleVar
270270
271271 }
272272
273-var xKeyFileGetLocaleStringList func(uintptr, string, string, string, uint, **Error) uintptr
273+var xKeyFileGetLocaleStringList func(uintptr, string, string, string, uint, **Error) []string
274274
275275 // Returns the values associated with @key under @group_name
276276 // translated in the given @locale if available. If @locale is
@@ -286,7 +286,7 @@ var xKeyFileGetLocaleStringList func(uintptr, string, string, string, uint, **Er
286286 // can be found then the untranslated values are returned. The
287287 // returned array is %NULL-terminated, so @length may optionally
288288 // 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) {
290290 var cerr *Error
291291
292292 cret := xKeyFileGetLocaleStringList(x.GoPointer(), GroupNameVar, KeyVar, LocaleVar, LengthVar, &cerr)
@@ -327,7 +327,7 @@ func (x *KeyFile) GetString(GroupNameVar string, KeyVar string) (string, error)
327327
328328 }
329329
330-var xKeyFileGetStringList func(uintptr, string, string, uint, **Error) uintptr
330+var xKeyFileGetStringList func(uintptr, string, string, uint, **Error) []string
331331
332332 // Returns the values associated with @key under @group_name.
333333 //
@@ -335,7 +335,7 @@ var xKeyFileGetStringList func(uintptr, string, string, uint, **Error) uintptr
335335 // @error is set to %G_KEY_FILE_ERROR_KEY_NOT_FOUND. In the
336336 // event that the @group_name cannot be found, %NULL is returned
337337 // 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) {
339339 var cerr *Error
340340
341341 cret := xKeyFileGetStringList(x.GoPointer(), GroupNameVar, KeyVar, LengthVar, &cerr)
@@ -462,7 +462,7 @@ func (x *KeyFile) LoadFromDataDirs(FileVar string, FullPathVar string, FlagsVar
462462
463463 }
464464
465-var xKeyFileLoadFromDirs func(uintptr, string, uintptr, string, KeyFileFlags, **Error) bool
465+var xKeyFileLoadFromDirs func(uintptr, string, []string, string, KeyFileFlags, **Error) bool
466466
467467 // This function looks for a key file named @file in the paths
468468 // specified in @search_dirs, loads the file into @key_file and
@@ -473,7 +473,7 @@ var xKeyFileLoadFromDirs func(uintptr, string, uintptr, string, KeyFileFlags, **
473473 // the file is found but the OS returns an error when opening or reading the
474474 // file, a %G_FILE_ERROR is returned. If there is a problem parsing the file, a
475475 // %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) {
477477 var cerr *Error
478478
479479 cret := xKeyFileLoadFromDirs(x.GoPointer(), FileVar, SearchDirsVar, FullPathVar, FlagsVar, &cerr)
@@ -590,12 +590,12 @@ func (x *KeyFile) SetBoolean(GroupNameVar string, KeyVar string, ValueVar bool)
590590
591591 }
592592
593-var xKeyFileSetBooleanList func(uintptr, string, string, uintptr, uint)
593+var xKeyFileSetBooleanList func(uintptr, string, string, []bool, uint)
594594
595595 // Associates a list of boolean values with @key under @group_name.
596596 // If @key cannot be found then it is created.
597597 // 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) {
599599
600600 xKeyFileSetBooleanList(x.GoPointer(), GroupNameVar, KeyVar, ListVar, LengthVar)
601601
@@ -632,11 +632,11 @@ func (x *KeyFile) SetDouble(GroupNameVar string, KeyVar string, ValueVar float64
632632
633633 }
634634
635-var xKeyFileSetDoubleList func(uintptr, string, string, uintptr, uint)
635+var xKeyFileSetDoubleList func(uintptr, string, string, []float64, uint)
636636
637637 // Associates a list of double values with @key under
638638 // @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) {
640640
641641 xKeyFileSetDoubleList(x.GoPointer(), GroupNameVar, KeyVar, ListVar, LengthVar)
642642
@@ -662,11 +662,11 @@ func (x *KeyFile) SetInteger(GroupNameVar string, KeyVar string, ValueVar int) {
662662
663663 }
664664
665-var xKeyFileSetIntegerList func(uintptr, string, string, uintptr, uint)
665+var xKeyFileSetIntegerList func(uintptr, string, string, []int, uint)
666666
667667 // Associates a list of integer values with @key under @group_name.
668668 // 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) {
670670
671671 xKeyFileSetIntegerList(x.GoPointer(), GroupNameVar, KeyVar, ListVar, LengthVar)
672672
@@ -693,12 +693,12 @@ func (x *KeyFile) SetLocaleString(GroupNameVar string, KeyVar string, LocaleVar
693693
694694 }
695695
696-var xKeyFileSetLocaleStringList func(uintptr, string, string, string, uintptr, uint)
696+var xKeyFileSetLocaleStringList func(uintptr, string, string, string, []string, uint)
697697
698698 // Associates a list of string values for @key and @locale under
699699 // @group_name. If the translation for @key cannot be found then
700700 // 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) {
702702
703703 xKeyFileSetLocaleStringList(x.GoPointer(), GroupNameVar, KeyVar, LocaleVar, ListVar, LengthVar)
704704
@@ -717,12 +717,12 @@ func (x *KeyFile) SetString(GroupNameVar string, KeyVar string, StringVar string
717717
718718 }
719719
720-var xKeyFileSetStringList func(uintptr, string, string, uintptr, uint)
720+var xKeyFileSetStringList func(uintptr, string, string, []string, uint)
721721
722722 // Associates a list of string values for @key under @group_name.
723723 // If @key cannot be found then it is created.
724724 // 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) {
726726
727727 xKeyFileSetStringList(x.GoPointer(), GroupNameVar, KeyVar, ListVar, LengthVar)
728728
M v4/glib/glib-types.go +5 -4
@@ -4,21 +4,22 @@ package glib
44 import (
55 "github.com/jwijenbergh/purego"
66 "github.com/jwijenbergh/puregotk/internal/core"
7+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
78 )
89
910 type Type = uint
1011
11-var xStrvGetType func() []interface{}
12+var xStrvGetType func() types.GType
1213
13-func StrvGetType() []interface{} {
14+func StrvGetType() types.GType {
1415
1516 cret := xStrvGetType()
1617 return cret
1718 }
1819
19-var xVariantGetGtype func() []interface{}
20+var xVariantGetGtype func() types.GType
2021
21-func VariantGetGtype() []interface{} {
22+func VariantGetGtype() types.GType {
2223
2324 cret := xVariantGetGtype()
2425 return cret
M v4/glib/gmain.go +4 -4
@@ -95,7 +95,7 @@ func (x *MainContext) AddPoll(FdVar *PollFD, PriorityVar int) {
9595
9696 }
9797
98-var xMainContextCheck func(uintptr, int, uintptr, int) bool
98+var xMainContextCheck func(uintptr, int, []PollFD, int) bool
9999
100100 // Passes the results of polling back to the main loop. You should be
101101 // careful to pass @fds and its length @n_fds as received from
@@ -104,7 +104,7 @@ var xMainContextCheck func(uintptr, int, uintptr, int) bool
104104 //
105105 // You must have successfully acquired the context with
106106 // 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 {
108108
109109 cret := xMainContextCheck(x.GoPointer(), MaxPriorityVar, FdsVar, NFdsVar)
110110 return cret
@@ -329,7 +329,7 @@ func (x *MainContext) PushThreadDefault() {
329329
330330 }
331331
332-var xMainContextQuery func(uintptr, int, int, uintptr, int) int
332+var xMainContextQuery func(uintptr, int, int, []PollFD, int) int
333333
334334 // Determines information necessary to poll this main loop. You should
335335 // 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
338338 //
339339 // You must have successfully acquired the context with
340340 // 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 {
342342
343343 cret := xMainContextQuery(x.GoPointer(), MaxPriorityVar, TimeoutVar, FdsVar, NFdsVar)
344344 return cret
M v4/glib/gmessages.go +11 -11
@@ -38,7 +38,7 @@ type LogFunc func(string, LogLevelFlags, string, uintptr)
3838 // send messages to a remote logging server and there is a network error), it
3939 // should return %G_LOG_WRITER_UNHANDLED. This allows writer functions to be
4040 // chained and fall back to simpler handlers in case of failure.
41-type LogWriterFunc func(LogLevelFlags, uintptr, uint, uintptr) LogWriterOutput
41+type LogWriterFunc func(LogLevelFlags, []LogField, uint, uintptr) LogWriterOutput
4242
4343 // Specifies the type of the print handler functions.
4444 // These are called with the complete formatted string to output.
@@ -481,7 +481,7 @@ func LogStructured(LogDomainVar string, LogLevelVar LogLevelFlags, varArgs ...in
481481
482482 }
483483
484-var xLogStructuredArray func(LogLevelFlags, uintptr, uint)
484+var xLogStructuredArray func(LogLevelFlags, []LogField, uint)
485485
486486 // Log a message with structured data. The message will be passed through to the
487487 // log writer set by the application using g_log_set_writer_func(). If the
@@ -492,7 +492,7 @@ var xLogStructuredArray func(LogLevelFlags, uintptr, uint)
492492 //
493493 // This assumes that @log_level is already present in @fields (typically as the
494494 // `PRIORITY` field).
495-func LogStructuredArray(LogLevelVar LogLevelFlags, FieldsVar uintptr, NFieldsVar uint) {
495+func LogStructuredArray(LogLevelVar LogLevelFlags, FieldsVar []LogField, NFieldsVar uint) {
496496
497497 xLogStructuredArray(LogLevelVar, FieldsVar, NFieldsVar)
498498
@@ -528,7 +528,7 @@ func LogVariant(LogDomainVar string, LogLevelVar LogLevelFlags, FieldsVar *Varia
528528
529529 }
530530
531-var xLogWriterDefault func(LogLevelFlags, uintptr, uint, uintptr) LogWriterOutput
531+var xLogWriterDefault func(LogLevelFlags, []LogField, uint, uintptr) LogWriterOutput
532532
533533 // Format a structured log message and output it to the default log destination
534534 // for the platform. On Linux, this is typically the systemd journal, falling
@@ -549,7 +549,7 @@ var xLogWriterDefault func(LogLevelFlags, uintptr, uint, uintptr) LogWriterOutpu
549549 // g_log_writer_default() uses the mask set by g_log_set_always_fatal() to
550550 // determine which messages are fatal. When using a custom writer func instead it is
551551 // 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 {
553553
554554 cret := xLogWriterDefault(LogLevelVar, FieldsVar, NFieldsVar, UserDataVar)
555555 return cret
@@ -615,7 +615,7 @@ func LogWriterDefaultWouldDrop(LogLevelVar LogLevelFlags, LogDomainVar string) b
615615 return cret
616616 }
617617
618-var xLogWriterFormatFields func(LogLevelFlags, uintptr, uint, bool) string
618+var xLogWriterFormatFields func(LogLevelFlags, []LogField, uint, bool) string
619619
620620 // Format a structured log message as a string suitable for outputting to the
621621 // 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
626626 // The returned string does **not** have a trailing new-line character. It is
627627 // encoded in the character set of the current locale, which is not necessarily
628628 // 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 {
630630
631631 cret := xLogWriterFormatFields(LogLevelVar, FieldsVar, NFieldsVar, UseColorVar)
632632 return cret
@@ -651,7 +651,7 @@ func LogWriterIsJournald(OutputFdVar int) bool {
651651 return cret
652652 }
653653
654-var xLogWriterJournald func(LogLevelFlags, uintptr, uint, uintptr) LogWriterOutput
654+var xLogWriterJournald func(LogLevelFlags, []LogField, uint, uintptr) LogWriterOutput
655655
656656 // Format a structured log message and send it to the systemd journal as a set
657657 // 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
662662 //
663663 // If GLib has been compiled without systemd support, this function is still
664664 // 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 {
666666
667667 cret := xLogWriterJournald(LogLevelVar, FieldsVar, NFieldsVar, UserDataVar)
668668 return cret
669669 }
670670
671-var xLogWriterStandardStreams func(LogLevelFlags, uintptr, uint, uintptr) LogWriterOutput
671+var xLogWriterStandardStreams func(LogLevelFlags, []LogField, uint, uintptr) LogWriterOutput
672672
673673 // Format a structured log message and print it to either `stdout` or `stderr`,
674674 // 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
684684 // A trailing new-line character is added to the log message when it is printed.
685685 //
686686 // 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 {
688688
689689 cret := xLogWriterStandardStreams(LogLevelVar, FieldsVar, NFieldsVar, UserDataVar)
690690 return cret
M v4/glib/goption.go +8 -8
@@ -39,11 +39,11 @@ func (x *OptionContext) AddGroup(GroupVar *OptionGroup) {
3939
4040 }
4141
42-var xOptionContextAddMainEntries func(uintptr, uintptr, string)
42+var xOptionContextAddMainEntries func(uintptr, []OptionEntry, string)
4343
4444 // A convenience function which creates a main group if it doesn't
4545 // 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) {
4747
4848 xOptionContextAddMainEntries(x.GoPointer(), EntriesVar, TranslationDomainVar)
4949
@@ -135,7 +135,7 @@ func (x *OptionContext) GetSummary() string {
135135 return cret
136136 }
137137
138-var xOptionContextParse func(uintptr, int, uintptr, **Error) bool
138+var xOptionContextParse func(uintptr, int, []string, **Error) bool
139139
140140 // Parses the command line arguments, recognizing options
141141 // which have been added to @context. A side-effect of
@@ -158,7 +158,7 @@ var xOptionContextParse func(uintptr, int, uintptr, **Error) bool
158158 // Note that function depends on the [current locale][setlocale] for
159159 // automatic character set conversion of string and filename
160160 // arguments.
161-func (x *OptionContext) Parse(ArgcVar int, ArgvVar uintptr) (bool, error) {
161+func (x *OptionContext) Parse(ArgcVar int, ArgvVar []string) (bool, error) {
162162 var cerr *Error
163163
164164 cret := xOptionContextParse(x.GoPointer(), ArgcVar, ArgvVar, &cerr)
@@ -169,7 +169,7 @@ func (x *OptionContext) Parse(ArgcVar int, ArgvVar uintptr) (bool, error) {
169169
170170 }
171171
172-var xOptionContextParseStrv func(uintptr, uintptr, **Error) bool
172+var xOptionContextParseStrv func(uintptr, []string, **Error) bool
173173
174174 // Parses the command line arguments.
175175 //
@@ -187,7 +187,7 @@ var xOptionContextParseStrv func(uintptr, uintptr, **Error) bool
187187 //
188188 // This function is useful if you are trying to use #GOptionContext with
189189 // #GApplication.
190-func (x *OptionContext) ParseStrv(ArgumentsVar uintptr) (bool, error) {
190+func (x *OptionContext) ParseStrv(ArgumentsVar []string) (bool, error) {
191191 var cerr *Error
192192
193193 cret := xOptionContextParseStrv(x.GoPointer(), ArgumentsVar, &cerr)
@@ -371,10 +371,10 @@ func NewOptionGroup(NameVar string, DescriptionVar string, HelpDescriptionVar st
371371 return cret
372372 }
373373
374-var xOptionGroupAddEntries func(uintptr, uintptr)
374+var xOptionGroupAddEntries func(uintptr, []OptionEntry)
375375
376376 // Adds the options specified in @entries to @group.
377-func (x *OptionGroup) AddEntries(EntriesVar uintptr) {
377+func (x *OptionGroup) AddEntries(EntriesVar []OptionEntry) {
378378
379379 xOptionGroupAddEntries(x.GoPointer(), EntriesVar)
380380
M v4/glib/gregex.go +20 -20
@@ -77,7 +77,7 @@ func (x *MatchInfo) Fetch(MatchNumVar int) string {
7777 return cret
7878 }
7979
80-var xMatchInfoFetchAll func(uintptr) uintptr
80+var xMatchInfoFetchAll func(uintptr) []string
8181
8282 // Bundles up pointers to each of the matching substrings from a match
8383 // and stores them in an array of gchar pointers. The first element in
@@ -95,7 +95,7 @@ var xMatchInfoFetchAll func(uintptr) uintptr
9595 //
9696 // The strings are fetched from the string passed to the match function,
9797 // so you cannot call this function after freeing the string.
98-func (x *MatchInfo) FetchAll() uintptr {
98+func (x *MatchInfo) FetchAll() []string {
9999
100100 cret := xMatchInfoFetchAll(x.GoPointer())
101101 return cret
@@ -527,7 +527,7 @@ func (x *Regex) MatchAll(StringVar string, MatchOptionsVar RegexMatchFlags, Matc
527527 return cret
528528 }
529529
530-var xRegexMatchAllFull func(uintptr, uintptr, int, int, RegexMatchFlags, **MatchInfo, **Error) bool
530+var xRegexMatchAllFull func(uintptr, []string, int, int, RegexMatchFlags, **MatchInfo, **Error) bool
531531
532532 // Using the standard algorithm for regular expression matching only
533533 // 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
567567 // @string is not copied and is used in #GMatchInfo internally. If
568568 // you use any #GMatchInfo method (except g_match_info_free()) after
569569 // 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) {
571571 var cerr *Error
572572
573573 cret := xRegexMatchAllFull(x.GoPointer(), StringVar, StringLenVar, StartPositionVar, MatchOptionsVar, MatchInfoVar, &cerr)
@@ -578,7 +578,7 @@ func (x *Regex) MatchAllFull(StringVar uintptr, StringLenVar int, StartPositionV
578578
579579 }
580580
581-var xRegexMatchFull func(uintptr, uintptr, int, int, RegexMatchFlags, **MatchInfo, **Error) bool
581+var xRegexMatchFull func(uintptr, []string, int, int, RegexMatchFlags, **MatchInfo, **Error) bool
582582
583583 // Scans for a match in @string for the pattern in @regex.
584584 // The @match_options are combined with the match options specified
@@ -633,7 +633,7 @@ var xRegexMatchFull func(uintptr, uintptr, int, int, RegexMatchFlags, **MatchInf
633633 // }
634634 //
635635 // ]|
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) {
637637 var cerr *Error
638638
639639 cret := xRegexMatchFull(x.GoPointer(), StringVar, StringLenVar, StartPositionVar, MatchOptionsVar, MatchInfoVar, &cerr)
@@ -653,7 +653,7 @@ func (x *Regex) Ref() *Regex {
653653 return cret
654654 }
655655
656-var xRegexReplace func(uintptr, uintptr, int, int, string, RegexMatchFlags, **Error) string
656+var xRegexReplace func(uintptr, []string, int, int, string, RegexMatchFlags, **Error) string
657657
658658 // Replaces all occurrences of the pattern in @regex with the
659659 // replacement text. Backreferences of the form '\number' or
@@ -681,7 +681,7 @@ var xRegexReplace func(uintptr, uintptr, int, int, string, RegexMatchFlags, **Er
681681 // Setting @start_position differs from just passing over a shortened
682682 // string and setting %G_REGEX_MATCH_NOTBOL in the case of a pattern that
683683 // 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) {
685685 var cerr *Error
686686
687687 cret := xRegexReplace(x.GoPointer(), StringVar, StringLenVar, StartPositionVar, ReplacementVar, MatchOptionsVar, &cerr)
@@ -692,7 +692,7 @@ func (x *Regex) Replace(StringVar uintptr, StringLenVar int, StartPositionVar in
692692
693693 }
694694
695-var xRegexReplaceEval func(uintptr, uintptr, int, int, RegexMatchFlags, uintptr, uintptr, **Error) string
695+var xRegexReplaceEval func(uintptr, []string, int, int, RegexMatchFlags, uintptr, uintptr, **Error) string
696696
697697 // Replaces occurrences of the pattern in regex with the output of
698698 // @eval for that occurrence.
@@ -741,7 +741,7 @@ var xRegexReplaceEval func(uintptr, uintptr, int, int, RegexMatchFlags, uintptr,
741741 //
742742 // ...
743743 // ]|
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) {
745745 var cerr *Error
746746
747747 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
752752
753753 }
754754
755-var xRegexReplaceLiteral func(uintptr, uintptr, int, int, string, RegexMatchFlags, **Error) string
755+var xRegexReplaceLiteral func(uintptr, []string, int, int, string, RegexMatchFlags, **Error) string
756756
757757 // Replaces all occurrences of the pattern in @regex with the
758758 // replacement text. @replacement is replaced literally, to
@@ -762,7 +762,7 @@ var xRegexReplaceLiteral func(uintptr, uintptr, int, int, string, RegexMatchFlag
762762 // shortened string and setting %G_REGEX_MATCH_NOTBOL in the
763763 // case of a pattern that begins with any kind of lookbehind
764764 // 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) {
766766 var cerr *Error
767767
768768 cret := xRegexReplaceLiteral(x.GoPointer(), StringVar, StringLenVar, StartPositionVar, ReplacementVar, MatchOptionsVar, &cerr)
@@ -773,7 +773,7 @@ func (x *Regex) ReplaceLiteral(StringVar uintptr, StringLenVar int, StartPositio
773773
774774 }
775775
776-var xRegexSplit func(uintptr, string, RegexMatchFlags) uintptr
776+var xRegexSplit func(uintptr, string, RegexMatchFlags) []string
777777
778778 // Breaks the string on the pattern, and returns an array of the tokens.
779779 // If the pattern contains capturing parentheses, then the text for each
@@ -792,13 +792,13 @@ var xRegexSplit func(uintptr, string, RegexMatchFlags) uintptr
792792 // characters wherever it matches the empty string between characters.
793793 // For example splitting "ab c" using as a separator "\s*", you will get
794794 // "a", "b" and "c".
795-func (x *Regex) Split(StringVar string, MatchOptionsVar RegexMatchFlags) uintptr {
795+func (x *Regex) Split(StringVar string, MatchOptionsVar RegexMatchFlags) []string {
796796
797797 cret := xRegexSplit(x.GoPointer(), StringVar, MatchOptionsVar)
798798 return cret
799799 }
800800
801-var xRegexSplitFull func(uintptr, uintptr, int, int, RegexMatchFlags, int, **Error) uintptr
801+var xRegexSplitFull func(uintptr, []string, int, int, RegexMatchFlags, int, **Error) []string
802802
803803 // Breaks the string on the pattern, and returns an array of the tokens.
804804 // 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
821821 // Setting @start_position differs from just passing over a shortened
822822 // string and setting %G_REGEX_MATCH_NOTBOL in the case of a pattern
823823 // 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) {
825825 var cerr *Error
826826
827827 cret := xRegexSplitFull(x.GoPointer(), StringVar, StringLenVar, StartPositionVar, MatchOptionsVar, MaxTokensVar, &cerr)
@@ -1216,7 +1216,7 @@ func RegexEscapeNul(StringVar string, LengthVar int) string {
12161216 return cret
12171217 }
12181218
1219-var xRegexEscapeString func(uintptr, int) string
1219+var xRegexEscapeString func([]string, int) string
12201220
12211221 // Escapes the special characters used for regular expressions
12221222 // in @string, for instance "a.b*c" becomes "a\.b\*c". This
@@ -1225,7 +1225,7 @@ var xRegexEscapeString func(uintptr, int) string
12251225 // @string can contain nul characters that are replaced with "\0",
12261226 // in this case remember to specify the correct length of @string
12271227 // in @length.
1228-func RegexEscapeString(StringVar uintptr, LengthVar int) string {
1228+func RegexEscapeString(StringVar []string, LengthVar int) string {
12291229
12301230 cret := xRegexEscapeString(StringVar, LengthVar)
12311231 return cret
@@ -1249,7 +1249,7 @@ func RegexMatchSimple(PatternVar string, StringVar string, CompileOptionsVar Reg
12491249 return cret
12501250 }
12511251
1252-var xRegexSplitSimple func(string, string, RegexCompileFlags, RegexMatchFlags) uintptr
1252+var xRegexSplitSimple func(string, string, RegexCompileFlags, RegexMatchFlags) []string
12531253
12541254 // Breaks the string on the pattern, and returns an array of
12551255 // the tokens. If the pattern contains capturing parentheses,
@@ -1278,7 +1278,7 @@ var xRegexSplitSimple func(string, string, RegexCompileFlags, RegexMatchFlags) u
12781278 // separate characters wherever it matches the empty string between
12791279 // characters. For example splitting "ab c" using as a separator
12801280 // "\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 {
12821282
12831283 cret := xRegexSplitSimple(PatternVar, StringVar, CompileOptionsVar, MatchOptionsVar)
12841284 return cret
M v4/glib/gshell.go +2 -2
@@ -19,7 +19,7 @@ const (
1919 GShellErrorFailedValue ShellError = 2
2020 )
2121
22-var xShellParseArgv func(string, int, uintptr, **Error) bool
22+var xShellParseArgv func(string, int, []string, **Error) bool
2323
2424 // Parses a command line into an argument vector, in much the same way
2525 // the shell would, but without many of the expansions the shell would
@@ -39,7 +39,7 @@ var xShellParseArgv func(string, int, uintptr, **Error) bool
3939 // successfully.
4040 //
4141 // 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) {
4343 var cerr *Error
4444
4545 cret := xShellParseArgv(CommandLineVar, ArgcpVar, ArgvpVar, &cerr)
M v4/glib/gspawn.go +12 -12
@@ -128,7 +128,7 @@ const (
128128 GSpawnErrorFailedValue SpawnError = 19
129129 )
130130
131-var xSpawnAsync func(string, uintptr, uintptr, SpawnFlags, uintptr, uintptr, *Pid, **Error) bool
131+var xSpawnAsync func(string, []string, []string, SpawnFlags, uintptr, uintptr, *Pid, **Error) bool
132132
133133 // Executes a child program asynchronously.
134134 //
@@ -146,7 +146,7 @@ var xSpawnAsync func(string, uintptr, uintptr, SpawnFlags, uintptr, uintptr, *Pi
146146 // Note that the returned @child_pid on Windows is a handle to the child
147147 // process and not its identifier. Process handles and process identifiers
148148 // 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) {
150150 var cerr *Error
151151
152152 cret := xSpawnAsync(WorkingDirectoryVar, ArgvVar, EnvpVar, FlagsVar, NewCallback(ChildSetupVar), UserDataVar, ChildPidVar, &cerr)
@@ -157,13 +157,13 @@ func SpawnAsync(WorkingDirectoryVar string, ArgvVar uintptr, EnvpVar uintptr, Fl
157157
158158 }
159159
160-var xSpawnAsyncWithFds func(string, uintptr, uintptr, SpawnFlags, uintptr, uintptr, *Pid, int, int, int, **Error) bool
160+var xSpawnAsyncWithFds func(string, []string, []string, SpawnFlags, uintptr, uintptr, *Pid, int, int, int, **Error) bool
161161
162162 // Executes a child program asynchronously.
163163 //
164164 // Identical to g_spawn_async_with_pipes_and_fds() but with `n_fds` set to zero,
165165 // 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) {
167167 var cerr *Error
168168
169169 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
174174
175175 }
176176
177-var xSpawnAsyncWithPipes func(string, uintptr, uintptr, SpawnFlags, uintptr, uintptr, *Pid, int, int, int, **Error) bool
177+var xSpawnAsyncWithPipes func(string, []string, []string, SpawnFlags, uintptr, uintptr, *Pid, int, int, int, **Error) bool
178178
179179 // Identical to g_spawn_async_with_pipes_and_fds() but with `n_fds` set to zero,
180180 // 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) {
182182 var cerr *Error
183183
184184 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
189189
190190 }
191191
192-var xSpawnAsyncWithPipesAndFds func(string, uintptr, uintptr, SpawnFlags, uintptr, uintptr, int, int, int, uintptr, uintptr, uint, *Pid, int, int, int, **Error) bool
192+var xSpawnAsyncWithPipesAndFds func(string, []string, []string, SpawnFlags, uintptr, uintptr, int, int, int, []int, []int, uint, *Pid, int, int, int, **Error) bool
193193
194194 // Executes a child program asynchronously (your program will not
195195 // block waiting for the child to exit).
@@ -379,7 +379,7 @@ var xSpawnAsyncWithPipesAndFds func(string, uintptr, uintptr, SpawnFlags, uintpt
379379 // graphical application too, then to ensure that the spawned program opens its
380380 // windows on the right screen, you may want to use #GdkAppLaunchContext,
381381 // #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) {
383383 var cerr *Error
384384
385385 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) {
498498
499499 }
500500
501-var xSpawnCommandLineSync func(string, uintptr, uintptr, int, **Error) bool
501+var xSpawnCommandLineSync func(string, []byte, []byte, int, **Error) bool
502502
503503 // A simple version of g_spawn_sync() with little-used parameters
504504 // removed, taking a command line instead of an argument vector.
@@ -529,7 +529,7 @@ var xSpawnCommandLineSync func(string, uintptr, uintptr, int, **Error) bool
529529 // the backslashes will be eaten, and the space will act as a
530530 // separator. You need to enclose such paths with single quotes, like
531531 // "'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) {
533533 var cerr *Error
534534
535535 cret := xSpawnCommandLineSync(CommandLineVar, StandardOutputVar, StandardErrorVar, WaitStatusVar, &cerr)
@@ -540,7 +540,7 @@ func SpawnCommandLineSync(CommandLineVar string, StandardOutputVar uintptr, Stan
540540
541541 }
542542
543-var xSpawnSync func(string, uintptr, uintptr, SpawnFlags, uintptr, uintptr, uintptr, uintptr, int, **Error) bool
543+var xSpawnSync func(string, []string, []string, SpawnFlags, uintptr, uintptr, []byte, []byte, int, **Error) bool
544544
545545 // Executes a child synchronously (waits for the child to exit before returning).
546546 //
@@ -565,7 +565,7 @@ var xSpawnSync func(string, uintptr, uintptr, SpawnFlags, uintptr, uintptr, uint
565565 // This function calls g_spawn_async_with_pipes() internally; see that
566566 // function for full details on the other parameters and details on
567567 // 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) {
569569 var cerr *Error
570570
571571 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 {
492492 return cret
493493 }
494494
495-var xStrTokenizeAndFold func(string, string, uintptr) uintptr
495+var xStrTokenizeAndFold func(string, string, []string) []string
496496
497497 // Tokenises @string and performs folding on each token.
498498 //
@@ -509,7 +509,7 @@ var xStrTokenizeAndFold func(string, string, uintptr) uintptr
509509 // for doing so is unspecified, but @translit_locale (if specified) may
510510 // improve the transliteration if the language of the source string is
511511 // known.
512-func StrTokenizeAndFold(StringVar string, TranslitLocaleVar string, AsciiAlternatesVar uintptr) uintptr {
512+func StrTokenizeAndFold(StringVar string, TranslitLocaleVar string, AsciiAlternatesVar []string) []string {
513513
514514 cret := xStrTokenizeAndFold(StringVar, TranslitLocaleVar, AsciiAlternatesVar)
515515 return cret
@@ -703,13 +703,13 @@ func StrdupVprintf(FormatVar string, ArgsVar []interface{}) string {
703703 return cret
704704 }
705705
706-var xStrdupv func(string) uintptr
706+var xStrdupv func(string) []string
707707
708708 // Copies %NULL-terminated array of strings. The copy is a deep copy;
709709 // the new array should be freed by first freeing each string, then
710710 // the array itself. g_strfreev() does this for you. If called
711711 // on a %NULL value, g_strdupv() simply returns %NULL.
712-func Strdupv(StrArrayVar string) uintptr {
712+func Strdupv(StrArrayVar string) []string {
713713
714714 cret := xStrdupv(StrArrayVar)
715715 return cret
@@ -925,7 +925,7 @@ func Strsignal(SignumVar int) string {
925925 return cret
926926 }
927927
928-var xStrsplit func(string, string, int) uintptr
928+var xStrsplit func(string, string, int) []string
929929
930930 // Splits a string into a maximum of @max_tokens pieces, using the given
931931 // @delimiter. If @max_tokens is reached, the remainder of @string is
@@ -941,13 +941,13 @@ var xStrsplit func(string, string, int) uintptr
941941 // more useful than consistent handling of empty elements. If you do need
942942 // to represent empty elements, you'll need to check for the empty string
943943 // before calling g_strsplit().
944-func Strsplit(StringVar string, DelimiterVar string, MaxTokensVar int) uintptr {
944+func Strsplit(StringVar string, DelimiterVar string, MaxTokensVar int) []string {
945945
946946 cret := xStrsplit(StringVar, DelimiterVar, MaxTokensVar)
947947 return cret
948948 }
949949
950-var xStrsplitSet func(string, string, int) uintptr
950+var xStrsplitSet func(string, string, int) []string
951951
952952 // Splits @string into a number of tokens not containing any of the characters
953953 // in @delimiter. A token is the (possibly empty) longest string that does not
@@ -970,7 +970,7 @@ var xStrsplitSet func(string, string, int) uintptr
970970 //
971971 // Note that this function works on bytes not characters, so it can't be used
972972 // 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 {
974974
975975 cret := xStrsplitSet(StringVar, DelimitersVar, MaxTokensVar)
976976 return cret
M v4/glib/gstrvbuilder.go +2 -2
@@ -61,12 +61,12 @@ func (x *StrvBuilder) Addv(ValueVar []string) {
6161
6262 }
6363
64-var xStrvBuilderEnd func(uintptr) uintptr
64+var xStrvBuilderEnd func(uintptr) []string
6565
6666 // Ends the builder process and returns the constructed NULL-terminated string
6767 // array. The returned value should be freed with g_strfreev() when no longer
6868 // needed.
69-func (x *StrvBuilder) End() uintptr {
69+func (x *StrvBuilder) End() []string {
7070
7171 cret := xStrvBuilderEnd(x.GoPointer())
7272 return cret
M v4/glib/gthread.go +4 -4
@@ -82,7 +82,7 @@ type ThreadFunc func(uintptr) uintptr
8282 type Cond struct {
8383 P uintptr
8484
85- I uintptr
85+ I [2]uint
8686 }
8787
8888 func (x *Cond) GoPointer() uintptr {
@@ -270,7 +270,7 @@ type Private struct {
270270
271271 Notify DestroyNotify
272272
273- Future uintptr
273+ Future [2]uintptr
274274 }
275275
276276 func (x *Private) GoPointer() uintptr {
@@ -385,7 +385,7 @@ func (x *Private) Set(ValueVar uintptr) {
385385 type RWLock struct {
386386 P uintptr
387387
388- I uintptr
388+ I [2]uint
389389 }
390390
391391 func (x *RWLock) GoPointer() uintptr {
@@ -541,7 +541,7 @@ func (x *RWLock) WriterUnlock() {
541541 type RecMutex struct {
542542 P uintptr
543543
544- I uintptr
544+ I [2]uint
545545 }
546546
547547 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
14941494
14951495 }
14961496
1497-var xUtf8Validate func(uintptr, int, string) bool
1497+var xUtf8Validate func([]byte, int, string) bool
14981498
14991499 // Validates UTF-8 encoded text. @str is the text to validate;
15001500 // if @str is nul-terminated, then @max_len can be -1, otherwise
@@ -1511,19 +1511,19 @@ var xUtf8Validate func(uintptr, int, string) bool
15111511 // routines require valid UTF-8 as input; so data read from a file
15121512 // or the network should be checked with g_utf8_validate() before
15131513 // 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 {
15151515
15161516 cret := xUtf8Validate(StrVar, MaxLenVar, EndVar)
15171517 return cret
15181518 }
15191519
1520-var xUtf8ValidateLen func(uintptr, uint, string) bool
1520+var xUtf8ValidateLen func([]byte, uint, string) bool
15211521
15221522 // Validates UTF-8 encoded text.
15231523 //
15241524 // As with g_utf8_validate(), but @max_len must be set, and hence this function
15251525 // 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 {
15271527
15281528 cret := xUtf8ValidateLen(StrVar, MaxLenVar, EndVar)
15291529 return cret
M v4/glib/guri.go +3 -3
@@ -333,7 +333,7 @@ type UriParamsIter struct {
333333
334334 Dummy2 uintptr
335335
336- Dummy3 uintptr
336+ Dummy3 [256]byte
337337 }
338338
339339 func (x *UriParamsIter) GoPointer() uintptr {
@@ -562,7 +562,7 @@ func UriBuildWithUser(FlagsVar UriFlags, SchemeVar string, UserVar string, Passw
562562 return cret
563563 }
564564
565-var xUriEscapeBytes func(uintptr, uint, string) string
565+var xUriEscapeBytes func([]byte, uint, string) string
566566
567567 // Escapes arbitrary data for use in a URI.
568568 //
@@ -575,7 +575,7 @@ var xUriEscapeBytes func(uintptr, uint, string) string
575575 //
576576 // Though technically incorrect, this will also allow escaping nul
577577 // bytes as `%“00`.
578-func UriEscapeBytes(UnescapedVar uintptr, LengthVar uint, ReservedCharsAllowedVar string) string {
578+func UriEscapeBytes(UnescapedVar []byte, LengthVar uint, ReservedCharsAllowedVar string) string {
579579
580580 cret := xUriEscapeBytes(UnescapedVar, LengthVar, ReservedCharsAllowedVar)
581581 return cret
M v4/glib/gutils.go +6 -6
@@ -334,7 +334,7 @@ func GetRealName() string {
334334 return cret
335335 }
336336
337-var xGetSystemConfigDirs func() uintptr
337+var xGetSystemConfigDirs func() []string
338338
339339 // Returns an ordered list of base directories in which to access
340340 // system-wide configuration information.
@@ -356,13 +356,13 @@ var xGetSystemConfigDirs func() uintptr
356356 //
357357 // The return value is cached and modifying it at runtime is not supported, as
358358 // it’s not thread-safe to modify environment variables at runtime.
359-func GetSystemConfigDirs() uintptr {
359+func GetSystemConfigDirs() []string {
360360
361361 cret := xGetSystemConfigDirs()
362362 return cret
363363 }
364364
365-var xGetSystemDataDirs func() uintptr
365+var xGetSystemDataDirs func() []string
366366
367367 // Returns an ordered list of base directories in which to access
368368 // system-wide application data.
@@ -398,7 +398,7 @@ var xGetSystemDataDirs func() uintptr
398398 //
399399 // The return value is cached and modifying it at runtime is not supported, as
400400 // it’s not thread-safe to modify environment variables at runtime.
401-func GetSystemDataDirs() uintptr {
401+func GetSystemDataDirs() []string {
402402
403403 cret := xGetSystemDataDirs()
404404 return cret
@@ -585,7 +585,7 @@ func NullifyPointer(NullifyLocationVar uintptr) {
585585
586586 }
587587
588-var xParseDebugString func(string, uintptr, uint) uint
588+var xParseDebugString func(string, []DebugKey, uint) uint
589589
590590 // Parses a string containing debugging options
591591 // into a %guint containing bit flags. This is used
@@ -599,7 +599,7 @@ var xParseDebugString func(string, uintptr, uint) uint
599599 //
600600 // If @string is equal to "help", all the available keys in @keys
601601 // 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 {
603603
604604 cret := xParseDebugString(StringVar, KeysVar, NkeysVar)
605605 return cret
M v4/glib/gvariant.go +29 -29
@@ -338,7 +338,7 @@ func NewVariantByte(ValueVar byte) *Variant {
338338 return cret
339339 }
340340
341-var xNewVariantBytestring func(uintptr) *Variant
341+var xNewVariantBytestring func([]byte) *Variant
342342
343343 // Creates an array-of-bytes #GVariant with the contents of @string.
344344 // This function is just like g_variant_new_string() except that the
@@ -346,19 +346,19 @@ var xNewVariantBytestring func(uintptr) *Variant
346346 //
347347 // The nul terminator character at the end of the string is stored in
348348 // the array.
349-func NewVariantBytestring(StringVar uintptr) *Variant {
349+func NewVariantBytestring(StringVar []byte) *Variant {
350350
351351 cret := xNewVariantBytestring(StringVar)
352352 return cret
353353 }
354354
355-var xNewVariantBytestringArray func(uintptr, int) *Variant
355+var xNewVariantBytestringArray func([]string, int) *Variant
356356
357357 // Constructs an array of bytestring #GVariant from the given array of
358358 // strings.
359359 //
360360 // 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 {
362362
363363 cret := xNewVariantBytestringArray(StrvVar, LengthVar)
364364 return cret
@@ -424,7 +424,7 @@ func NewVariantFromBytes(TypeVar *VariantType, BytesVar *Bytes, TrustedVar bool)
424424 return cret
425425 }
426426
427-var xNewVariantFromData func(*VariantType, uintptr, uint, bool, uintptr, uintptr) *Variant
427+var xNewVariantFromData func(*VariantType, []byte, uint, bool, uintptr, uintptr) *Variant
428428
429429 // Creates a new #GVariant instance from serialized data.
430430 //
@@ -455,7 +455,7 @@ var xNewVariantFromData func(*VariantType, uintptr, uint, bool, uintptr, uintptr
455455 // @type being loaded. Otherwise this function will internally create a copy of
456456 // the memory (since GLib 2.60) or (in older versions) fail and exit the
457457 // 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 {
459459
460460 cret := xNewVariantFromData(TypeVar, DataVar, SizeVar, TrustedVar, NewCallback(NotifyVar), UserDataVar)
461461 return cret
@@ -530,7 +530,7 @@ func NewVariantObjectPath(ObjectPathVar string) *Variant {
530530 return cret
531531 }
532532
533-var xNewVariantObjv func(uintptr, int) *Variant
533+var xNewVariantObjv func([]string, int) *Variant
534534
535535 // Constructs an array of object paths #GVariant from the given array of
536536 // strings.
@@ -539,7 +539,7 @@ var xNewVariantObjv func(uintptr, int) *Variant
539539 // g_variant_is_object_path().
540540 //
541541 // 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 {
543543
544544 cret := xNewVariantObjv(StrvVar, LengthVar)
545545 return cret
@@ -653,13 +653,13 @@ func NewVariantString(StringVar string) *Variant {
653653 return cret
654654 }
655655
656-var xNewVariantStrv func(uintptr, int) *Variant
656+var xNewVariantStrv func([]string, int) *Variant
657657
658658 // Constructs an array of strings #GVariant from the given array of
659659 // strings.
660660 //
661661 // 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 {
663663
664664 cret := xNewVariantStrv(StrvVar, LengthVar)
665665 return cret
@@ -861,19 +861,19 @@ func (x *Variant) Compare(TwoVar uintptr) int {
861861 return cret
862862 }
863863
864-var xVariantDupBytestring func(uintptr, uint) uintptr
864+var xVariantDupBytestring func(uintptr, uint) []byte
865865
866866 // Similar to g_variant_get_bytestring() except that instead of
867867 // returning a constant string, the string is duplicated.
868868 //
869869 // 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 {
871871
872872 cret := xVariantDupBytestring(x.GoPointer(), LengthVar)
873873 return cret
874874 }
875875
876-var xVariantDupBytestringArray func(uintptr, uint) uintptr
876+var xVariantDupBytestringArray func(uintptr, uint) []string
877877
878878 // Gets the contents of an array of array of bytes #GVariant. This call
879879 // makes a deep copy; the return result should be released with
@@ -885,13 +885,13 @@ var xVariantDupBytestringArray func(uintptr, uint) uintptr
885885 //
886886 // For an empty array, @length will be set to 0 and a pointer to a
887887 // %NULL pointer will be returned.
888-func (x *Variant) DupBytestringArray(LengthVar uint) uintptr {
888+func (x *Variant) DupBytestringArray(LengthVar uint) []string {
889889
890890 cret := xVariantDupBytestringArray(x.GoPointer(), LengthVar)
891891 return cret
892892 }
893893
894-var xVariantDupObjv func(uintptr, uint) uintptr
894+var xVariantDupObjv func(uintptr, uint) []string
895895
896896 // Gets the contents of an array of object paths #GVariant. This call
897897 // makes a deep copy; the return result should be released with
@@ -903,7 +903,7 @@ var xVariantDupObjv func(uintptr, uint) uintptr
903903 //
904904 // For an empty array, @length will be set to 0 and a pointer to a
905905 // %NULL pointer will be returned.
906-func (x *Variant) DupObjv(LengthVar uint) uintptr {
906+func (x *Variant) DupObjv(LengthVar uint) []string {
907907
908908 cret := xVariantDupObjv(x.GoPointer(), LengthVar)
909909 return cret
@@ -923,7 +923,7 @@ func (x *Variant) DupString(LengthVar uint) string {
923923 return cret
924924 }
925925
926-var xVariantDupStrv func(uintptr, uint) uintptr
926+var xVariantDupStrv func(uintptr, uint) []string
927927
928928 // Gets the contents of an array of strings #GVariant. This call
929929 // makes a deep copy; the return result should be released with
@@ -935,7 +935,7 @@ var xVariantDupStrv func(uintptr, uint) uintptr
935935 //
936936 // For an empty array, @length will be set to 0 and a pointer to a
937937 // %NULL pointer will be returned.
938-func (x *Variant) DupStrv(LengthVar uint) uintptr {
938+func (x *Variant) DupStrv(LengthVar uint) []string {
939939
940940 cret := xVariantDupStrv(x.GoPointer(), LengthVar)
941941 return cret
@@ -1001,7 +1001,7 @@ func (x *Variant) GetByte() byte {
10011001 return cret
10021002 }
10031003
1004-var xVariantGetBytestring func(uintptr) uintptr
1004+var xVariantGetBytestring func(uintptr) []byte
10051005
10061006 // Returns the string value of a #GVariant instance with an
10071007 // array-of-bytes type. The string has no particular encoding.
@@ -1021,13 +1021,13 @@ var xVariantGetBytestring func(uintptr) uintptr
10211021 // array of bytes.
10221022 //
10231023 // The return value remains valid as long as @value exists.
1024-func (x *Variant) GetBytestring() uintptr {
1024+func (x *Variant) GetBytestring() []byte {
10251025
10261026 cret := xVariantGetBytestring(x.GoPointer())
10271027 return cret
10281028 }
10291029
1030-var xVariantGetBytestringArray func(uintptr, uint) uintptr
1030+var xVariantGetBytestringArray func(uintptr, uint) []string
10311031
10321032 // Gets the contents of an array of array of bytes #GVariant. This call
10331033 // makes a shallow copy; the return result should be released with
@@ -1039,7 +1039,7 @@ var xVariantGetBytestringArray func(uintptr, uint) uintptr
10391039 //
10401040 // For an empty array, @length will be set to 0 and a pointer to a
10411041 // %NULL pointer will be returned.
1042-func (x *Variant) GetBytestringArray(LengthVar uint) uintptr {
1042+func (x *Variant) GetBytestringArray(LengthVar uint) []string {
10431043
10441044 cret := xVariantGetBytestringArray(x.GoPointer(), LengthVar)
10451045 return cret
@@ -1150,7 +1150,7 @@ func (x *Variant) GetDouble() float64 {
11501150 return cret
11511151 }
11521152
1153-var xVariantGetFixedArray func(uintptr, uint, uint) uintptr
1153+var xVariantGetFixedArray func(uintptr, uint, uint) []uintptr
11541154
11551155 // Provides access to the serialized data for an array of fixed-sized
11561156 // items.
@@ -1178,7 +1178,7 @@ var xVariantGetFixedArray func(uintptr, uint, uint) uintptr
11781178 //
11791179 // @n_elements, which must be non-%NULL, is set equal to the number of
11801180 // items in the array.
1181-func (x *Variant) GetFixedArray(NElementsVar uint, ElementSizeVar uint) uintptr {
1181+func (x *Variant) GetFixedArray(NElementsVar uint, ElementSizeVar uint) []uintptr {
11821182
11831183 cret := xVariantGetFixedArray(x.GoPointer(), NElementsVar, ElementSizeVar)
11841184 return cret
@@ -1277,7 +1277,7 @@ func (x *Variant) GetNormalForm() *Variant {
12771277 return cret
12781278 }
12791279
1280-var xVariantGetObjv func(uintptr, uint) uintptr
1280+var xVariantGetObjv func(uintptr, uint) []string
12811281
12821282 // Gets the contents of an array of object paths #GVariant. This call
12831283 // makes a shallow copy; the return result should be released with
@@ -1289,7 +1289,7 @@ var xVariantGetObjv func(uintptr, uint) uintptr
12891289 //
12901290 // For an empty array, @length will be set to 0 and a pointer to a
12911291 // %NULL pointer will be returned.
1292-func (x *Variant) GetObjv(LengthVar uint) uintptr {
1292+func (x *Variant) GetObjv(LengthVar uint) []string {
12931293
12941294 cret := xVariantGetObjv(x.GoPointer(), LengthVar)
12951295 return cret
@@ -1340,7 +1340,7 @@ func (x *Variant) GetString(LengthVar uint) string {
13401340 return cret
13411341 }
13421342
1343-var xVariantGetStrv func(uintptr, uint) uintptr
1343+var xVariantGetStrv func(uintptr, uint) []string
13441344
13451345 // Gets the contents of an array of strings #GVariant. This call
13461346 // makes a shallow copy; the return result should be released with
@@ -1352,7 +1352,7 @@ var xVariantGetStrv func(uintptr, uint) uintptr
13521352 //
13531353 // For an empty array, @length will be set to 0 and a pointer to a
13541354 // %NULL pointer will be returned.
1355-func (x *Variant) GetStrv(LengthVar uint) uintptr {
1355+func (x *Variant) GetStrv(LengthVar uint) []string {
13561356
13571357 cret := xVariantGetStrv(x.GoPointer(), LengthVar)
13581358 return cret
@@ -2335,7 +2335,7 @@ func (x *VariantDict) Unref() {
23352335 // #GVariantIter is an opaque data structure and can only be accessed
23362336 // using the following functions.
23372337 type VariantIter struct {
2338- X uintptr
2338+ X [16]uint
23392339 }
23402340
23412341 func (x *VariantIter) GoPointer() uintptr {
M v4/gobject/gboxed.go +7 -6
@@ -5,6 +5,7 @@ import (
55 "github.com/jwijenbergh/purego"
66 "github.com/jwijenbergh/puregotk/internal/core"
77 "github.com/jwijenbergh/puregotk/v4/glib"
8+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
89 )
910
1011 // This function is provided by the user and should produce a copy
@@ -15,25 +16,25 @@ type BoxedCopyFunc func(uintptr) uintptr
1516 // structure passed.
1617 type BoxedFreeFunc func(uintptr)
1718
18-var xBoxedCopy func([]interface{}, uintptr) uintptr
19+var xBoxedCopy func(types.GType, uintptr) uintptr
1920
2021 // 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 {
2223
2324 cret := xBoxedCopy(BoxedTypeVar, SrcBoxedVar)
2425 return cret
2526 }
2627
27-var xBoxedFree func([]interface{}, uintptr)
28+var xBoxedFree func(types.GType, uintptr)
2829
2930 // 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) {
3132
3233 xBoxedFree(BoxedTypeVar, BoxedVar)
3334
3435 }
3536
36-var xBoxedTypeRegisterStatic func(string, uintptr, uintptr) []interface{}
37+var xBoxedTypeRegisterStatic func(string, uintptr, uintptr) types.GType
3738
3839 // This function creates a new %G_TYPE_BOXED derived type id for a new
3940 // boxed type with name @name.
@@ -44,7 +45,7 @@ var xBoxedTypeRegisterStatic func(string, uintptr, uintptr) []interface{}
4445 // For the general case, it is recommended to use G_DEFINE_BOXED_TYPE()
4546 // instead of calling g_boxed_type_register_static() directly. The macro
4647 // 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 {
4849
4950 cret := xBoxedTypeRegisterStatic(NameVar, glib.NewCallback(BoxedCopyVar), glib.NewCallback(BoxedFreeVar))
5051 return cret
M v4/gobject/gclosure.go +7 -6
@@ -7,6 +7,7 @@ import (
77 "github.com/jwijenbergh/purego"
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/glib"
10+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1011 )
1112
1213 // The type used for callback functions in structure definitions and function
@@ -20,7 +21,7 @@ import (
2021 type Callback func()
2122
2223 // 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)
2425
2526 // The type used for the various notification callbacks which can be registered
2627 // on closures.
@@ -29,7 +30,7 @@ type ClosureNotify func(uintptr, *Closure)
2930 // This is the signature of va_list marshaller functions, an optional
3031 // marshaller that can be used in some situations to avoid
3132 // 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)
3334
3435 // A #GCClosure is a specialization of #GClosure for C function callbacks.
3536 type CClosure struct {
@@ -243,10 +244,10 @@ func (x *Closure) Invalidate() {
243244
244245 }
245246
246-var xClosureInvoke func(uintptr, *Value, uint, uintptr, uintptr)
247+var xClosureInvoke func(uintptr, *Value, uint, []Value, uintptr)
247248
248249 // 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) {
250251
251252 xClosureInvoke(x.GoPointer(), ReturnValueVar, NParamValuesVar, ParamValuesVar, InvocationHintVar)
252253
@@ -444,12 +445,12 @@ func CclosureNewSwap(CallbackFuncVar *Callback, UserDataVar uintptr, DestroyData
444445 return cret
445446 }
446447
447-var xSignalTypeCclosureNew func([]interface{}, uint) *Closure
448+var xSignalTypeCclosureNew func(types.GType, uint) *Closure
448449
449450 // Creates a new closure which invokes the function found at the offset
450451 // @struct_offset in the class structure of the interface or classed type
451452 // identified by @itype.
452-func SignalTypeCclosureNew(ItypeVar []interface{}, StructOffsetVar uint) *Closure {
453+func SignalTypeCclosureNew(ItypeVar types.GType, StructOffsetVar uint) *Closure {
453454
454455 cret := xSignalTypeCclosureNew(ItypeVar, StructOffsetVar)
455456 return cret
M v4/gobject/genums.go +13 -12
@@ -6,6 +6,7 @@ import (
66
77 "github.com/jwijenbergh/purego"
88 "github.com/jwijenbergh/puregotk/internal/core"
9+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
910 )
1011
1112 // The class of an enumeration type holds information about its
@@ -70,7 +71,7 @@ func (x *FlagsValue) GoPointer() uintptr {
7071 return uintptr(unsafe.Pointer(x))
7172 }
7273
73-var xEnumCompleteTypeInfo func([]interface{}, *TypeInfo, *EnumValue)
74+var xEnumCompleteTypeInfo func(types.GType, *TypeInfo, *EnumValue)
7475
7576 // This function is meant to be called from the `complete_type_info`
7677 // function of a #GTypePlugin implementation, as in the following
@@ -95,7 +96,7 @@ var xEnumCompleteTypeInfo func([]interface{}, *TypeInfo, *EnumValue)
9596 // }
9697 //
9798 // ]|
98-func EnumCompleteTypeInfo(GEnumTypeVar []interface{}, InfoVar *TypeInfo, ConstValuesVar *EnumValue) {
99+func EnumCompleteTypeInfo(GEnumTypeVar types.GType, InfoVar *TypeInfo, ConstValuesVar *EnumValue) {
99100
100101 xEnumCompleteTypeInfo(GEnumTypeVar, InfoVar, ConstValuesVar)
101102
@@ -128,37 +129,37 @@ func EnumGetValueByNick(EnumClassVar *EnumClass, NickVar string) *EnumValue {
128129 return cret
129130 }
130131
131-var xEnumRegisterStatic func(string, *EnumValue) []interface{}
132+var xEnumRegisterStatic func(string, *EnumValue) types.GType
132133
133134 // Registers a new static enumeration type with the name @name.
134135 //
135136 // It is normally more convenient to let [glib-mkenums][glib-mkenums],
136137 // generate a my_enum_get_type() function from a usual C enumeration
137138 // 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 {
139140
140141 cret := xEnumRegisterStatic(NameVar, ConstStaticValuesVar)
141142 return cret
142143 }
143144
144-var xEnumToString func([]interface{}, int) string
145+var xEnumToString func(types.GType, int) string
145146
146147 // Pretty-prints @value in the form of the enum’s name.
147148 //
148149 // This is intended to be used for debugging purposes. The format of the output
149150 // may change in the future.
150-func EnumToString(GEnumTypeVar []interface{}, ValueVar int) string {
151+func EnumToString(GEnumTypeVar types.GType, ValueVar int) string {
151152
152153 cret := xEnumToString(GEnumTypeVar, ValueVar)
153154 return cret
154155 }
155156
156-var xFlagsCompleteTypeInfo func([]interface{}, *TypeInfo, *FlagsValue)
157+var xFlagsCompleteTypeInfo func(types.GType, *TypeInfo, *FlagsValue)
157158
158159 // This function is meant to be called from the complete_type_info()
159160 // function of a #GTypePlugin implementation, see the example for
160161 // 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) {
162163
163164 xFlagsCompleteTypeInfo(GFlagsTypeVar, InfoVar, ConstValuesVar)
164165
@@ -191,27 +192,27 @@ func FlagsGetValueByNick(FlagsClassVar *FlagsClass, NickVar string) *FlagsValue
191192 return cret
192193 }
193194
194-var xFlagsRegisterStatic func(string, *FlagsValue) []interface{}
195+var xFlagsRegisterStatic func(string, *FlagsValue) types.GType
195196
196197 // Registers a new static flags type with the name @name.
197198 //
198199 // It is normally more convenient to let [glib-mkenums][glib-mkenums]
199200 // generate a my_flags_get_type() function from a usual C enumeration
200201 // 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 {
202203
203204 cret := xFlagsRegisterStatic(NameVar, ConstStaticValuesVar)
204205 return cret
205206 }
206207
207-var xFlagsToString func([]interface{}, uint) string
208+var xFlagsToString func(types.GType, uint) string
208209
209210 // Pretty-prints @value in the form of the flag names separated by ` | ` and
210211 // sorted. Any extra bits will be shown at the end as a hexadecimal number.
211212 //
212213 // This is intended to be used for debugging purposes. The format of the output
213214 // may change in the future.
214-func FlagsToString(FlagsTypeVar []interface{}, ValueVar uint) string {
215+func FlagsToString(FlagsTypeVar types.GType, ValueVar uint) string {
215216
216217 cret := xFlagsToString(FlagsTypeVar, ValueVar)
217218 return cret
M v4/gobject/gobject-2.0.go +9 -8
@@ -7,6 +7,7 @@ import (
77 "github.com/jwijenbergh/purego"
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/glib"
10+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1011 )
1112
1213 // An interface that handles the lifecycle of dynamically loaded types.
@@ -60,8 +61,8 @@ import (
6061 type TypePlugin interface {
6162 GoPointer() uintptr
6263 SetGoPointer(uintptr)
63- CompleteInterfaceInfo(InstanceTypeVar []interface{}, InterfaceTypeVar []interface{}, InfoVar *InterfaceInfo)
64- CompleteTypeInfo(GTypeVar []interface{}, InfoVar *TypeInfo, ValueTableVar *TypeValueTable)
64+ CompleteInterfaceInfo(InstanceTypeVar types.GType, InterfaceTypeVar types.GType, InfoVar *InterfaceInfo)
65+ CompleteTypeInfo(GTypeVar types.GType, InfoVar *TypeInfo, ValueTableVar *TypeValueTable)
6566 Unuse()
6667 Use()
6768 }
@@ -80,7 +81,7 @@ func (x *TypePluginBase) SetGoPointer(ptr uintptr) {
8081 // Calls the @complete_interface_info function from the
8182 // #GTypePluginClass of @plugin. There should be no need to use this
8283 // 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) {
8485
8586 XGTypePluginCompleteInterfaceInfo(x.GoPointer(), InstanceTypeVar, InterfaceTypeVar, InfoVar)
8687
@@ -89,7 +90,7 @@ func (x *TypePluginBase) CompleteInterfaceInfo(InstanceTypeVar []interface{}, In
8990 // Calls the @complete_type_info function from the #GTypePluginClass of @plugin.
9091 // There should be no need to use this function outside of the GObject
9192 // 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) {
9394
9495 XGTypePluginCompleteTypeInfo(x.GoPointer(), GTypeVar, InfoVar, ValueTableVar)
9596
@@ -113,8 +114,8 @@ func (x *TypePluginBase) Use() {
113114
114115 }
115116
116-var XGTypePluginCompleteInterfaceInfo func(uintptr, []interface{}, []interface{}, *InterfaceInfo)
117-var XGTypePluginCompleteTypeInfo func(uintptr, []interface{}, *TypeInfo, *TypeValueTable)
117+var XGTypePluginCompleteInterfaceInfo func(uintptr, types.GType, types.GType, *InterfaceInfo)
118+var XGTypePluginCompleteTypeInfo func(uintptr, types.GType, *TypeInfo, *TypeValueTable)
118119 var XGTypePluginUnuse func(uintptr)
119120 var XGTypePluginUse func(uintptr)
120121
@@ -505,10 +506,10 @@ func SignalGroupNewFromInternalPtr(ptr uintptr) *SignalGroup {
505506 return cls
506507 }
507508
508-var xNewSignalGroup func([]interface{}) uintptr
509+var xNewSignalGroup func(types.GType) uintptr
509510
510511 // Creates a new #GSignalGroup for target instances of @target_type.
511-func NewSignalGroup(TargetTypeVar []interface{}) *SignalGroup {
512+func NewSignalGroup(TargetTypeVar types.GType) *SignalGroup {
512513 var cls *SignalGroup
513514
514515 cret := xNewSignalGroup(TargetTypeVar)
M v4/gobject/gobject.go +15 -14
@@ -7,6 +7,7 @@ import (
77 "github.com/jwijenbergh/purego"
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/glib"
10+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1011 )
1112
1213 // The type of the @finalize function of #GObjectClass.
@@ -45,7 +46,7 @@ type InitiallyUnownedClass struct {
4546
4647 Flags uint
4748
48- Pdummy uintptr
49+ Pdummy [6]uintptr
4950 }
5051
5152 func (x *InitiallyUnownedClass) GoPointer() uintptr {
@@ -88,7 +89,7 @@ type ObjectClass struct {
8889
8990 Flags uint
9091
91- Pdummy uintptr
92+ Pdummy [6]uintptr
9293 }
9394
9495 func (x *ObjectClass) GoPointer() uintptr {
@@ -451,7 +452,7 @@ func ObjectNewFromInternalPtr(ptr uintptr) *Object {
451452 return cls
452453 }
453454
454-var xNewObject func([]interface{}, string, ...interface{}) uintptr
455+var xNewObject func(types.GType, string, ...interface{}) uintptr
455456
456457 // Creates a new instance of a #GObject subtype and sets its properties.
457458 //
@@ -479,7 +480,7 @@ var xNewObject func([]interface{}, string, ...interface{}) uintptr
479480 // #gdouble). If you need larger alignment for an element in a #GObject, you
480481 // should allocate it on the heap (aligned), or arrange for your #GObject to be
481482 // appropriately padded.
482-func NewObject(ObjectTypeVar []interface{}, FirstPropertyNameVar string, varArgs ...interface{}) *Object {
483+func NewObject(ObjectTypeVar types.GType, FirstPropertyNameVar string, varArgs ...interface{}) *Object {
483484 var cls *Object
484485
485486 cret := xNewObject(ObjectTypeVar, FirstPropertyNameVar, varArgs...)
@@ -492,13 +493,13 @@ func NewObject(ObjectTypeVar []interface{}, FirstPropertyNameVar string, varArgs
492493 return cls
493494 }
494495
495-var xNewObjectValist func([]interface{}, string, []interface{}) uintptr
496+var xNewObjectValist func(types.GType, string, []interface{}) uintptr
496497
497498 // Creates a new instance of a #GObject subtype and sets its properties.
498499 //
499500 // Construction parameters (see %G_PARAM_CONSTRUCT, %G_PARAM_CONSTRUCT_ONLY)
500501 // 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 {
502503 var cls *Object
503504
504505 cret := xNewObjectValist(ObjectTypeVar, FirstPropertyNameVar, VarArgsVar)
@@ -511,7 +512,7 @@ func NewObjectValist(ObjectTypeVar []interface{}, FirstPropertyNameVar string, V
511512 return cls
512513 }
513514
514-var xNewObjectWithProperties func([]interface{}, uint, []string, uintptr) uintptr
515+var xNewObjectWithProperties func(types.GType, uint, []string, []Value) uintptr
515516
516517 // Creates a new instance of a #GObject subtype and sets its properties using
517518 // the provided arrays. Both arrays must have exactly @n_properties elements,
@@ -519,7 +520,7 @@ var xNewObjectWithProperties func([]interface{}, uint, []string, uintptr) uintpt
519520 //
520521 // Construction parameters (see %G_PARAM_CONSTRUCT, %G_PARAM_CONSTRUCT_ONLY)
521522 // 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 {
523524 var cls *Object
524525
525526 cret := xNewObjectWithProperties(ObjectTypeVar, NPropertiesVar, NamesVar, ValuesVar)
@@ -532,13 +533,13 @@ func NewObjectWithProperties(ObjectTypeVar []interface{}, NPropertiesVar uint, N
532533 return cls
533534 }
534535
535-var xNewObjectv func([]interface{}, uint, uintptr) uintptr
536+var xNewObjectv func(types.GType, uint, []Parameter) uintptr
536537
537538 // Creates a new instance of a #GObject subtype and sets its properties.
538539 //
539540 // Construction parameters (see %G_PARAM_CONSTRUCT, %G_PARAM_CONSTRUCT_ONLY)
540541 // 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 {
542543 var cls *Object
543544
544545 cret := xNewObjectv(ObjectTypeVar, NParametersVar, ParametersVar)
@@ -939,13 +940,13 @@ func (x *Object) GetValist(FirstPropertyNameVar string, VarArgsVar []interface{}
939940
940941 }
941942
942-var xObjectGetv func(uintptr, uint, uintptr, uintptr)
943+var xObjectGetv func(uintptr, uint, []string, []Value)
943944
944945 // Gets @n_properties properties for an @object.
945946 // Obtained properties will be set to @values. All properties must be valid.
946947 // Warnings will be emitted and undefined behaviour may result if invalid
947948 // 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) {
949950
950951 xObjectGetv(x.GoPointer(), NPropertiesVar, NamesVar, ValuesVar)
951952
@@ -1251,13 +1252,13 @@ func (x *Object) SetValist(FirstPropertyNameVar string, VarArgsVar []interface{}
12511252
12521253 }
12531254
1254-var xObjectSetv func(uintptr, uint, uintptr, uintptr)
1255+var xObjectSetv func(uintptr, uint, []string, []Value)
12551256
12561257 // Sets @n_properties properties for an @object.
12571258 // Properties to be set will be taken from @values. All properties must be
12581259 // valid. Warnings will be emitted and undefined behaviour may result if invalid
12591260 // 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) {
12611262
12621263 xObjectSetv(x.GoPointer(), NPropertiesVar, NamesVar, ValuesVar)
12631264
M v4/gobject/gparam.go +16 -15
@@ -7,6 +7,7 @@ import (
77 "github.com/jwijenbergh/purego"
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/glib"
10+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1011 )
1112
1213 // The class structure for the GParamSpec type.
@@ -15,9 +16,9 @@ import (
1516 type ParamSpecClass struct {
1617 GTypeClass uintptr
1718
18- ValueType []interface{}
19+ ValueType types.GType
1920
20- Dummy uintptr
21+ Dummy [4]uintptr
2122 }
2223
2324 func (x *ParamSpecClass) GoPointer() uintptr {
@@ -36,39 +37,39 @@ func (x *ParamSpecPool) GoPointer() uintptr {
3637 return uintptr(unsafe.Pointer(x))
3738 }
3839
39-var xParamSpecPoolInsert func(uintptr, uintptr, []interface{})
40+var xParamSpecPoolInsert func(uintptr, uintptr, types.GType)
4041
4142 // 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) {
4344
4445 xParamSpecPoolInsert(x.GoPointer(), PspecVar.GoPointer(), OwnerTypeVar)
4546
4647 }
4748
48-var xParamSpecPoolList func(uintptr, []interface{}, uint) uintptr
49+var xParamSpecPoolList func(uintptr, types.GType, uint) uintptr
4950
5051 // Gets an array of all #GParamSpecs owned by @owner_type in
5152 // the pool.
52-func (x *ParamSpecPool) List(OwnerTypeVar []interface{}, NPspecsPVar uint) uintptr {
53+func (x *ParamSpecPool) List(OwnerTypeVar types.GType, NPspecsPVar uint) uintptr {
5354
5455 cret := xParamSpecPoolList(x.GoPointer(), OwnerTypeVar, NPspecsPVar)
5556 return cret
5657 }
5758
58-var xParamSpecPoolListOwned func(uintptr, []interface{}) *glib.List
59+var xParamSpecPoolListOwned func(uintptr, types.GType) *glib.List
5960
6061 // Gets an #GList of all #GParamSpecs owned by @owner_type in
6162 // the pool.
62-func (x *ParamSpecPool) ListOwned(OwnerTypeVar []interface{}) *glib.List {
63+func (x *ParamSpecPool) ListOwned(OwnerTypeVar types.GType) *glib.List {
6364
6465 cret := xParamSpecPoolListOwned(x.GoPointer(), OwnerTypeVar)
6566 return cret
6667 }
6768
68-var xParamSpecPoolLookup func(uintptr, string, []interface{}, bool) uintptr
69+var xParamSpecPoolLookup func(uintptr, string, types.GType, bool) uintptr
6970
7071 // 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 {
7273 var cls *ParamSpec
7374
7475 cret := xParamSpecPoolLookup(x.GoPointer(), ParamNameVar, OwnerTypeVar, WalkAncestorsVar)
@@ -104,7 +105,7 @@ type ParamSpecTypeInfo struct {
104105
105106 NPreallocs uint16
106107
107- ValueType []interface{}
108+ ValueType types.GType
108109 }
109110
110111 func (x *ParamSpecTypeInfo) GoPointer() uintptr {
@@ -185,7 +186,7 @@ const (
185186 GParamDeprecatedValue ParamFlags = 2147483648
186187 )
187188
188-var xParamTypeRegisterStatic func(string, *ParamSpecTypeInfo) []interface{}
189+var xParamTypeRegisterStatic func(string, *ParamSpecTypeInfo) types.GType
189190
190191 // Registers @name as the name of a new static type derived
191192 // from %G_TYPE_PARAM.
@@ -193,7 +194,7 @@ var xParamTypeRegisterStatic func(string, *ParamSpecTypeInfo) []interface{}
193194 // The type system uses the information contained in the #GParamSpecTypeInfo
194195 // structure pointed to by @info to manage the #GParamSpec type and its
195196 // instances.
196-func ParamTypeRegisterStatic(NameVar string, PspecInfoVar *ParamSpecTypeInfo) []interface{} {
197+func ParamTypeRegisterStatic(NameVar string, PspecInfoVar *ParamSpecTypeInfo) types.GType {
197198
198199 cret := xParamTypeRegisterStatic(NameVar, PspecInfoVar)
199200 return cret
@@ -465,7 +466,7 @@ func (c *ParamSpec) SetGoPointer(ptr uintptr) {
465466 c.Ptr = ptr
466467 }
467468
468-var xParamSpecInternal func([]interface{}, string, string, string, ParamFlags) uintptr
469+var xParamSpecInternal func(types.GType, string, string, string, ParamFlags) uintptr
469470
470471 // Creates a new #GParamSpec instance.
471472 //
@@ -478,7 +479,7 @@ var xParamSpecInternal func([]interface{}, string, string, string, ParamFlags) u
478479 // for use as a label for the property in a property editor, and the
479480 // @blurb, which should be a somewhat longer description, suitable for
480481 // 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 {
482483 var cls *ParamSpec
483484
484485 cret := xParamSpecInternal(ParamTypeVar, NameVar, NickVar, BlurbVar, FlagsVar)
M v4/gobject/gparamspecs.go +13 -12
@@ -5,6 +5,7 @@ import (
55 "github.com/jwijenbergh/purego"
66 "github.com/jwijenbergh/puregotk/internal/core"
77 "github.com/jwijenbergh/puregotk/v4/glib"
8+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
89 )
910
1011 var xNewParamSpecBoolean func(string, string, string, bool, ParamFlags) uintptr
@@ -29,13 +30,13 @@ func NewParamSpecBoolean(NameVar string, NickVar string, BlurbVar string, Defaul
2930 return cls
3031 }
3132
32-var xNewParamSpecBoxed func(string, string, string, []interface{}, ParamFlags) uintptr
33+var xNewParamSpecBoxed func(string, string, string, types.GType, ParamFlags) uintptr
3334
3435 // Creates a new #GParamSpecBoxed instance specifying a %G_TYPE_BOXED
3536 // derived property.
3637 //
3738 // 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 {
3940 var cls *ParamSpec
4041
4142 cret := xNewParamSpecBoxed(NameVar, NickVar, BlurbVar, BoxedTypeVar, FlagsVar)
@@ -83,13 +84,13 @@ func NewParamSpecDouble(NameVar string, NickVar string, BlurbVar string, Minimum
8384 return cls
8485 }
8586
86-var xNewParamSpecEnum func(string, string, string, []interface{}, int, ParamFlags) uintptr
87+var xNewParamSpecEnum func(string, string, string, types.GType, int, ParamFlags) uintptr
8788
8889 // Creates a new #GParamSpecEnum instance specifying a %G_TYPE_ENUM
8990 // property.
9091 //
9192 // 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 {
9394 var cls *ParamSpec
9495
9596 cret := xNewParamSpecEnum(NameVar, NickVar, BlurbVar, EnumTypeVar, DefaultValueVar, FlagsVar)
@@ -102,13 +103,13 @@ func NewParamSpecEnum(NameVar string, NickVar string, BlurbVar string, EnumTypeV
102103 return cls
103104 }
104105
105-var xNewParamSpecFlags func(string, string, string, []interface{}, uint, ParamFlags) uintptr
106+var xNewParamSpecFlags func(string, string, string, types.GType, uint, ParamFlags) uintptr
106107
107108 // Creates a new #GParamSpecFlags instance specifying a %G_TYPE_FLAGS
108109 // property.
109110 //
110111 // 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 {
112113 var cls *ParamSpec
113114
114115 cret := xNewParamSpecFlags(NameVar, NickVar, BlurbVar, FlagsTypeVar, DefaultValueVar, FlagsVar)
@@ -139,13 +140,13 @@ func NewParamSpecFloat(NameVar string, NickVar string, BlurbVar string, MinimumV
139140 return cls
140141 }
141142
142-var xParamSpecGtype func(string, string, string, []interface{}, ParamFlags) uintptr
143+var xParamSpecGtype func(string, string, string, types.GType, ParamFlags) uintptr
143144
144145 // Creates a new #GParamSpecGType instance specifying a
145146 // %G_TYPE_GTYPE property.
146147 //
147148 // 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 {
149150 var cls *ParamSpec
150151
151152 cret := xParamSpecGtype(NameVar, NickVar, BlurbVar, IsATypeVar, FlagsVar)
@@ -212,13 +213,13 @@ func NewParamSpecLong(NameVar string, NickVar string, BlurbVar string, MinimumVa
212213 return cls
213214 }
214215
215-var xNewParamSpecObject func(string, string, string, []interface{}, ParamFlags) uintptr
216+var xNewParamSpecObject func(string, string, string, types.GType, ParamFlags) uintptr
216217
217218 // Creates a new #GParamSpecBoxed instance specifying a %G_TYPE_OBJECT
218219 // derived property.
219220 //
220221 // 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 {
222223 var cls *ParamSpec
223224
224225 cret := xNewParamSpecObject(NameVar, NickVar, BlurbVar, ObjectTypeVar, FlagsVar)
@@ -249,13 +250,13 @@ func NewParamSpecOverride(NameVar string, OverriddenVar *ParamSpec) *ParamSpec {
249250 return cls
250251 }
251252
252-var xNewParamSpecParam func(string, string, string, []interface{}, ParamFlags) uintptr
253+var xNewParamSpecParam func(string, string, string, types.GType, ParamFlags) uintptr
253254
254255 // Creates a new #GParamSpecParam instance specifying a %G_TYPE_PARAM
255256 // property.
256257 //
257258 // 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 {
259260 var cls *ParamSpec
260261
261262 cret := xNewParamSpecParam(NameVar, NickVar, BlurbVar, ParamTypeVar, FlagsVar)
M v4/gobject/gsignal.go +29 -28
@@ -7,6 +7,7 @@ import (
77 "github.com/jwijenbergh/purego"
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/glib"
10+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1011 )
1112
1213 // The signal accumulator is a special callback function that can be used
@@ -25,7 +26,7 @@ type SignalAccumulator func(*SignalInvocationHint, *Value, *Value, uintptr) bool
2526 // trap all emissions of that signal, from any object.
2627 //
2728 // You may not attach these to signals created with the %G_SIGNAL_NO_HOOKS flag.
28-type SignalEmissionHook func(*SignalInvocationHint, uint, uintptr, uintptr) bool
29+type SignalEmissionHook func(*SignalInvocationHint, uint, []Value, uintptr) bool
2930
3031 // The #GSignalInvocationHint structure is used to pass on additional information
3132 // to callbacks during a signal emission.
@@ -49,15 +50,15 @@ type SignalQuery struct {
4950
5051 SignalName uintptr
5152
52- Itype []interface{}
53+ Itype types.GType
5354
5455 SignalFlags SignalFlags
5556
56- ReturnType []interface{}
57+ ReturnType types.GType
5758
5859 NParams uint
5960
60- ParamTypes uintptr
61+ ParamTypes []types.GType
6162 }
6263
6364 func (x *SignalQuery) GoPointer() uintptr {
@@ -220,13 +221,13 @@ func SignalAddEmissionHook(SignalIdVar uint, DetailVar glib.Quark, HookFuncVar *
220221 return cret
221222 }
222223
223-var xSignalChainFromOverridden func(uintptr, *Value)
224+var xSignalChainFromOverridden func([]Value, *Value)
224225
225226 // Calls the original class closure of a signal. This function should only
226227 // be called from an overridden class closure; see
227228 // g_signal_override_class_closure() and
228229 // g_signal_override_class_handler().
229-func SignalChainFromOverridden(InstanceAndParamsVar uintptr, ReturnValueVar *Value) {
230+func SignalChainFromOverridden(InstanceAndParamsVar []Value, ReturnValueVar *Value) {
230231
231232 xSignalChainFromOverridden(InstanceAndParamsVar, ReturnValueVar)
232233
@@ -314,14 +315,14 @@ func SignalEmitValist(InstanceVar *TypeInstance, SignalIdVar uint, DetailVar gli
314315
315316 }
316317
317-var xSignalEmitv func(uintptr, uint, glib.Quark, *Value)
318+var xSignalEmitv func([]Value, uint, glib.Quark, *Value)
318319
319320 // Emits a signal. Signal emission is done synchronously.
320321 // The method will only return control after all handlers are called or signal emission was stopped.
321322 //
322323 // Note that g_signal_emitv() doesn't change @return_value if no handlers are
323324 // 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) {
325326
326327 xSignalEmitv(InstanceAndParamsVar, SignalIdVar, DetailVar, ReturnValueVar)
327328
@@ -505,18 +506,18 @@ func SignalIsValidName(NameVar string) bool {
505506 return cret
506507 }
507508
508-var xSignalListIds func([]interface{}, uint) uintptr
509+var xSignalListIds func(types.GType, uint) []uint
509510
510511 // Lists the signals by id that a certain instance or interface type
511512 // created. Further information about the signals can be acquired through
512513 // g_signal_query().
513-func SignalListIds(ItypeVar []interface{}, NIdsVar uint) uintptr {
514+func SignalListIds(ItypeVar types.GType, NIdsVar uint) []uint {
514515
515516 cret := xSignalListIds(ItypeVar, NIdsVar)
516517 return cret
517518 }
518519
519-var xSignalLookup func(string, []interface{}) uint
520+var xSignalLookup func(string, types.GType) uint
520521
521522 // Given the name of the signal and the type of object it connects to, gets
522523 // the signal's identifying integer. Emitting the signal by number is
@@ -529,7 +530,7 @@ var xSignalLookup func(string, []interface{}) uint
529530 // always installed during class initialization.
530531 //
531532 // 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 {
533534
534535 cret := xSignalLookup(NameVar, ItypeVar)
535536 return cret
@@ -546,7 +547,7 @@ func SignalName(SignalIdVar uint) string {
546547 return cret
547548 }
548549
549-var xSignalNew func(string, []interface{}, SignalFlags, uint, uintptr, uintptr, SignalCMarshaller, []interface{}, uint, ...interface{}) uint
550+var xSignalNew func(string, types.GType, SignalFlags, uint, uintptr, uintptr, SignalCMarshaller, types.GType, uint, ...interface{}) uint
550551
551552 // Creates a new signal. (This is usually done in the class initializer.)
552553 //
@@ -572,13 +573,13 @@ var xSignalNew func(string, []interface{}, SignalFlags, uint, uintptr, uintptr,
572573 // If @c_marshaller is non-%NULL, you need to also specify a va_marshaller
573574 // using g_signal_set_va_marshaller() or the generic va_marshaller will
574575 // 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 {
576577
577578 cret := xSignalNew(SignalNameVar, ItypeVar, SignalFlagsVar, ClassOffsetVar, glib.NewCallback(AccumulatorVar), AccuDataVar, CMarshallerVar, ReturnTypeVar, NParamsVar, varArgs...)
578579 return cret
579580 }
580581
581-var xSignalNewClassHandler func(string, []interface{}, SignalFlags, uintptr, uintptr, uintptr, SignalCMarshaller, []interface{}, uint, ...interface{}) uint
582+var xSignalNewClassHandler func(string, types.GType, SignalFlags, uintptr, uintptr, uintptr, SignalCMarshaller, types.GType, uint, ...interface{}) uint
582583
583584 // Creates a new signal. (This is usually done in the class initializer.)
584585 //
@@ -596,13 +597,13 @@ var xSignalNewClassHandler func(string, []interface{}, SignalFlags, uintptr, uin
596597 //
597598 // If c_marshaller is %NULL, g_cclosure_marshal_generic() will be used as
598599 // 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 {
600601
601602 cret := xSignalNewClassHandler(SignalNameVar, ItypeVar, SignalFlagsVar, glib.NewCallback(ClassHandlerVar), glib.NewCallback(AccumulatorVar), AccuDataVar, CMarshallerVar, ReturnTypeVar, NParamsVar, varArgs...)
602603 return cret
603604 }
604605
605-var xSignalNewValist func(string, []interface{}, SignalFlags, *Closure, uintptr, uintptr, SignalCMarshaller, []interface{}, uint, []interface{}) uint
606+var xSignalNewValist func(string, types.GType, SignalFlags, *Closure, uintptr, uintptr, SignalCMarshaller, types.GType, uint, []interface{}) uint
606607
607608 // Creates a new signal. (This is usually done in the class initializer.)
608609 //
@@ -610,13 +611,13 @@ var xSignalNewValist func(string, []interface{}, SignalFlags, *Closure, uintptr,
610611 //
611612 // If c_marshaller is %NULL, g_cclosure_marshal_generic() will be used as
612613 // 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 {
614615
615616 cret := xSignalNewValist(SignalNameVar, ItypeVar, SignalFlagsVar, ClassClosureVar, glib.NewCallback(AccumulatorVar), AccuDataVar, CMarshallerVar, ReturnTypeVar, NParamsVar, ArgsVar)
616617 return cret
617618 }
618619
619-var xSignalNewv func(string, []interface{}, SignalFlags, *Closure, uintptr, uintptr, SignalCMarshaller, []interface{}, uint, uintptr) uint
620+var xSignalNewv func(string, types.GType, SignalFlags, *Closure, uintptr, uintptr, SignalCMarshaller, types.GType, uint, []types.GType) uint
620621
621622 // Creates a new signal. (This is usually done in the class initializer.)
622623 //
@@ -624,13 +625,13 @@ var xSignalNewv func(string, []interface{}, SignalFlags, *Closure, uintptr, uint
624625 //
625626 // If c_marshaller is %NULL, g_cclosure_marshal_generic() will be used as
626627 // 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 {
628629
629630 cret := xSignalNewv(SignalNameVar, ItypeVar, SignalFlagsVar, ClassClosureVar, glib.NewCallback(AccumulatorVar), AccuDataVar, CMarshallerVar, ReturnTypeVar, NParamsVar, ParamTypesVar)
630631 return cret
631632 }
632633
633-var xSignalOverrideClassClosure func(uint, []interface{}, *Closure)
634+var xSignalOverrideClassClosure func(uint, types.GType, *Closure)
634635
635636 // Overrides the class closure (i.e. the default handler) for the given signal
636637 // for emissions on instances of @instance_type. @instance_type must be derived
@@ -639,13 +640,13 @@ var xSignalOverrideClassClosure func(uint, []interface{}, *Closure)
639640 // See g_signal_chain_from_overridden() and
640641 // g_signal_chain_from_overridden_handler() for how to chain up to the
641642 // 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) {
643644
644645 xSignalOverrideClassClosure(SignalIdVar, InstanceTypeVar, ClassClosureVar)
645646
646647 }
647648
648-var xSignalOverrideClassHandler func(string, []interface{}, uintptr)
649+var xSignalOverrideClassHandler func(string, types.GType, uintptr)
649650
650651 // Overrides the class closure (i.e. the default handler) for the
651652 // given signal for emissions on instances of @instance_type with
@@ -655,17 +656,17 @@ var xSignalOverrideClassHandler func(string, []interface{}, uintptr)
655656 // See g_signal_chain_from_overridden() and
656657 // g_signal_chain_from_overridden_handler() for how to chain up to the
657658 // 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) {
659660
660661 xSignalOverrideClassHandler(SignalNameVar, InstanceTypeVar, glib.NewCallback(ClassHandlerVar))
661662
662663 }
663664
664-var xSignalParseName func(string, []interface{}, uint, *glib.Quark, bool) bool
665+var xSignalParseName func(string, types.GType, uint, *glib.Quark, bool) bool
665666
666667 // Internal function to parse a signal name into its @signal_id
667668 // 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 {
669670
670671 cret := xSignalParseName(DetailedSignalVar, ItypeVar, SignalIdPVar, DetailPVar, ForceDetailQuarkVar)
671672 return cret
@@ -694,13 +695,13 @@ func SignalRemoveEmissionHook(SignalIdVar uint, HookIdVar uint32) {
694695
695696 }
696697
697-var xSignalSetVaMarshaller func(uint, []interface{}, SignalCVaMarshaller)
698+var xSignalSetVaMarshaller func(uint, types.GType, SignalCVaMarshaller)
698699
699700 // Change the #GSignalCVaMarshaller used for a given signal. This is a
700701 // specialised form of the marshaller that can often be used for the
701702 // common case of a single connected signal handler and avoids the
702703 // 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) {
704705
705706 xSignalSetVaMarshaller(SignalIdVar, InstanceTypeVar, VaMarshallerVar)
706707
M v4/gobject/gtype.go +99 -98
@@ -7,6 +7,7 @@ import (
77 "github.com/jwijenbergh/purego"
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/glib"
10+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1011 )
1112
1213 // A callback function used by the type system to finalize those portions
@@ -220,7 +221,7 @@ func (x *InterfaceInfo) GoPointer() uintptr {
220221
221222 // An opaque structure used as the base of all classes.
222223 type TypeClass struct {
223- GType []interface{}
224+ GType types.GType
224225 }
225226
226227 func (x *TypeClass) GoPointer() uintptr {
@@ -317,9 +318,9 @@ func (x *TypeClass) GetInstancePrivateOffset() int {
317318 return cret
318319 }
319320
320-var xTypeClassGetPrivate func(uintptr, []interface{}) uintptr
321+var xTypeClassGetPrivate func(uintptr, types.GType) uintptr
321322
322-func (x *TypeClass) GetPrivate(PrivateTypeVar []interface{}) uintptr {
323+func (x *TypeClass) GetPrivate(PrivateTypeVar types.GType) uintptr {
323324
324325 cret := xTypeClassGetPrivate(x.GoPointer(), PrivateTypeVar)
325326 return cret
@@ -419,9 +420,9 @@ func (x *TypeInstance) GoPointer() uintptr {
419420 return uintptr(unsafe.Pointer(x))
420421 }
421422
422-var xTypeInstanceGetPrivate func(uintptr, []interface{}) uintptr
423+var xTypeInstanceGetPrivate func(uintptr, types.GType) uintptr
423424
424-func (x *TypeInstance) GetPrivate(PrivateTypeVar []interface{}) uintptr {
425+func (x *TypeInstance) GetPrivate(PrivateTypeVar types.GType) uintptr {
425426
426427 cret := xTypeInstanceGetPrivate(x.GoPointer(), PrivateTypeVar)
427428 return cret
@@ -429,9 +430,9 @@ func (x *TypeInstance) GetPrivate(PrivateTypeVar []interface{}) uintptr {
429430
430431 // An opaque structure used as the base of all interface types.
431432 type TypeInterface struct {
432- GType []interface{}
433+ GType types.GType
433434
434- GInstanceType []interface{}
435+ GInstanceType types.GType
435436 }
436437
437438 func (x *TypeInterface) GoPointer() uintptr {
@@ -454,7 +455,7 @@ func (x *TypeInterface) PeekParent() *TypeInterface {
454455 //
455456 // See also: g_type_query()
456457 type TypeQuery struct {
457- Type []interface{}
458+ Type types.GType
458459
459460 TypeName uintptr
460461
@@ -577,7 +578,7 @@ func TypeAddClassCacheFunc(CacheDataVar uintptr, CacheFuncVar *TypeClassCacheFun
577578
578579 }
579580
580-var xTypeAddClassPrivate func([]interface{}, uint)
581+var xTypeAddClassPrivate func(types.GType, uint)
581582
582583 // Registers a private class structure for a classed type;
583584 // when the class is allocated, the private structures for
@@ -589,15 +590,15 @@ var xTypeAddClassPrivate func([]interface{}, uint)
589590 // type's get_type() function after the type is registered.
590591 // The private structure can be retrieved using the
591592 // G_TYPE_CLASS_GET_PRIVATE() macro.
592-func TypeAddClassPrivate(ClassTypeVar []interface{}, PrivateSizeVar uint) {
593+func TypeAddClassPrivate(ClassTypeVar types.GType, PrivateSizeVar uint) {
593594
594595 xTypeAddClassPrivate(ClassTypeVar, PrivateSizeVar)
595596
596597 }
597598
598-var xTypeAddInstancePrivate func([]interface{}, uint) int
599+var xTypeAddInstancePrivate func(types.GType, uint) int
599600
600-func TypeAddInstancePrivate(ClassTypeVar []interface{}, PrivateSizeVar uint) int {
601+func TypeAddInstancePrivate(ClassTypeVar types.GType, PrivateSizeVar uint) int {
601602
602603 cret := xTypeAddInstancePrivate(ClassTypeVar, PrivateSizeVar)
603604 return cret
@@ -620,39 +621,39 @@ func TypeAddInterfaceCheck(CheckDataVar uintptr, CheckFuncVar *TypeInterfaceChec
620621
621622 }
622623
623-var xTypeAddInterfaceDynamic func([]interface{}, []interface{}, uintptr)
624+var xTypeAddInterfaceDynamic func(types.GType, types.GType, uintptr)
624625
625626 // Adds @interface_type to the dynamic @instance_type. The information
626627 // contained in the #GTypePlugin structure pointed to by @plugin
627628 // 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) {
629630
630631 xTypeAddInterfaceDynamic(InstanceTypeVar, InterfaceTypeVar, PluginVar.GoPointer())
631632
632633 }
633634
634-var xTypeAddInterfaceStatic func([]interface{}, []interface{}, *InterfaceInfo)
635+var xTypeAddInterfaceStatic func(types.GType, types.GType, *InterfaceInfo)
635636
636637 // Adds @interface_type to the static @instance_type.
637638 // The information contained in the #GInterfaceInfo structure
638639 // 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) {
640641
641642 xTypeAddInterfaceStatic(InstanceTypeVar, InterfaceTypeVar, InfoVar)
642643
643644 }
644645
645-var xTypeCheckClassCast func(*TypeClass, []interface{}) *TypeClass
646+var xTypeCheckClassCast func(*TypeClass, types.GType) *TypeClass
646647
647-func TypeCheckClassCast(GClassVar *TypeClass, IsATypeVar []interface{}) *TypeClass {
648+func TypeCheckClassCast(GClassVar *TypeClass, IsATypeVar types.GType) *TypeClass {
648649
649650 cret := xTypeCheckClassCast(GClassVar, IsATypeVar)
650651 return cret
651652 }
652653
653-var xTypeCheckClassIsA func(*TypeClass, []interface{}) bool
654+var xTypeCheckClassIsA func(*TypeClass, types.GType) bool
654655
655-func TypeCheckClassIsA(GClassVar *TypeClass, IsATypeVar []interface{}) bool {
656+func TypeCheckClassIsA(GClassVar *TypeClass, IsATypeVar types.GType) bool {
656657
657658 cret := xTypeCheckClassIsA(GClassVar, IsATypeVar)
658659 return cret
@@ -668,33 +669,33 @@ func TypeCheckInstance(InstanceVar *TypeInstance) bool {
668669 return cret
669670 }
670671
671-var xTypeCheckInstanceCast func(*TypeInstance, []interface{}) *TypeInstance
672+var xTypeCheckInstanceCast func(*TypeInstance, types.GType) *TypeInstance
672673
673-func TypeCheckInstanceCast(InstanceVar *TypeInstance, IfaceTypeVar []interface{}) *TypeInstance {
674+func TypeCheckInstanceCast(InstanceVar *TypeInstance, IfaceTypeVar types.GType) *TypeInstance {
674675
675676 cret := xTypeCheckInstanceCast(InstanceVar, IfaceTypeVar)
676677 return cret
677678 }
678679
679-var xTypeCheckInstanceIsA func(*TypeInstance, []interface{}) bool
680+var xTypeCheckInstanceIsA func(*TypeInstance, types.GType) bool
680681
681-func TypeCheckInstanceIsA(InstanceVar *TypeInstance, IfaceTypeVar []interface{}) bool {
682+func TypeCheckInstanceIsA(InstanceVar *TypeInstance, IfaceTypeVar types.GType) bool {
682683
683684 cret := xTypeCheckInstanceIsA(InstanceVar, IfaceTypeVar)
684685 return cret
685686 }
686687
687-var xTypeCheckInstanceIsFundamentallyA func(*TypeInstance, []interface{}) bool
688+var xTypeCheckInstanceIsFundamentallyA func(*TypeInstance, types.GType) bool
688689
689-func TypeCheckInstanceIsFundamentallyA(InstanceVar *TypeInstance, FundamentalTypeVar []interface{}) bool {
690+func TypeCheckInstanceIsFundamentallyA(InstanceVar *TypeInstance, FundamentalTypeVar types.GType) bool {
690691
691692 cret := xTypeCheckInstanceIsFundamentallyA(InstanceVar, FundamentalTypeVar)
692693 return cret
693694 }
694695
695-var xTypeCheckIsValueType func([]interface{}) bool
696+var xTypeCheckIsValueType func(types.GType) bool
696697
697-func TypeCheckIsValueType(TypeVar []interface{}) bool {
698+func TypeCheckIsValueType(TypeVar types.GType) bool {
698699
699700 cret := xTypeCheckIsValueType(TypeVar)
700701 return cret
@@ -708,19 +709,19 @@ func TypeCheckValue(ValueVar *Value) bool {
708709 return cret
709710 }
710711
711-var xTypeCheckValueHolds func(*Value, []interface{}) bool
712+var xTypeCheckValueHolds func(*Value, types.GType) bool
712713
713-func TypeCheckValueHolds(ValueVar *Value, TypeVar []interface{}) bool {
714+func TypeCheckValueHolds(ValueVar *Value, TypeVar types.GType) bool {
714715
715716 cret := xTypeCheckValueHolds(ValueVar, TypeVar)
716717 return cret
717718 }
718719
719-var xTypeChildren func([]interface{}, uint) uintptr
720+var xTypeChildren func(types.GType, uint) []types.GType
720721
721722 // Return a newly allocated and 0-terminated array of type IDs, listing
722723 // the child types of @type.
723-func TypeChildren(TypeVar []interface{}, NChildrenVar uint) uintptr {
724+func TypeChildren(TypeVar types.GType, NChildrenVar uint) []types.GType {
724725
725726 cret := xTypeChildren(TypeVar, NChildrenVar)
726727 return cret
@@ -734,41 +735,41 @@ func TypeClassAdjustPrivateOffset(GClassVar uintptr, PrivateSizeOrOffsetVar int)
734735
735736 }
736737
737-var xTypeClassPeek func([]interface{}) *TypeClass
738+var xTypeClassPeek func(types.GType) *TypeClass
738739
739740 // This function is essentially the same as g_type_class_ref(),
740741 // except that the classes reference count isn't incremented.
741742 // As a consequence, this function may return %NULL if the class
742743 // of the type passed in does not currently exist (hasn't been
743744 // referenced before).
744-func TypeClassPeek(TypeVar []interface{}) *TypeClass {
745+func TypeClassPeek(TypeVar types.GType) *TypeClass {
745746
746747 cret := xTypeClassPeek(TypeVar)
747748 return cret
748749 }
749750
750-var xTypeClassPeekStatic func([]interface{}) *TypeClass
751+var xTypeClassPeekStatic func(types.GType) *TypeClass
751752
752753 // A more efficient version of g_type_class_peek() which works only for
753754 // static types.
754-func TypeClassPeekStatic(TypeVar []interface{}) *TypeClass {
755+func TypeClassPeekStatic(TypeVar types.GType) *TypeClass {
755756
756757 cret := xTypeClassPeekStatic(TypeVar)
757758 return cret
758759 }
759760
760-var xTypeClassRef func([]interface{}) *TypeClass
761+var xTypeClassRef func(types.GType) *TypeClass
761762
762763 // Increments the reference count of the class structure belonging to
763764 // @type. This function will demand-create the class if it doesn't
764765 // exist already.
765-func TypeClassRef(TypeVar []interface{}) *TypeClass {
766+func TypeClassRef(TypeVar types.GType) *TypeClass {
766767
767768 cret := xTypeClassRef(TypeVar)
768769 return cret
769770 }
770771
771-var xTypeCreateInstance func([]interface{}) *TypeInstance
772+var xTypeCreateInstance func(types.GType) *TypeInstance
772773
773774 // Creates and initializes an instance of @type if @type is valid and
774775 // can be instantiated. The type system only performs basic allocation
@@ -786,23 +787,23 @@ var xTypeCreateInstance func([]interface{}) *TypeInstance
786787 // Note: Do not use this function, unless you're implementing a
787788 // fundamental type. Also language bindings should not use this
788789 // function, but g_object_new() instead.
789-func TypeCreateInstance(TypeVar []interface{}) *TypeInstance {
790+func TypeCreateInstance(TypeVar types.GType) *TypeInstance {
790791
791792 cret := xTypeCreateInstance(TypeVar)
792793 return cret
793794 }
794795
795-var xTypeDefaultInterfacePeek func([]interface{}) *TypeInterface
796+var xTypeDefaultInterfacePeek func(types.GType) *TypeInterface
796797
797798 // If the interface type @g_type is currently in use, returns its
798799 // default interface vtable.
799-func TypeDefaultInterfacePeek(GTypeVar []interface{}) *TypeInterface {
800+func TypeDefaultInterfacePeek(GTypeVar types.GType) *TypeInterface {
800801
801802 cret := xTypeDefaultInterfacePeek(GTypeVar)
802803 return cret
803804 }
804805
805-var xTypeDefaultInterfaceRef func([]interface{}) *TypeInterface
806+var xTypeDefaultInterfaceRef func(types.GType) *TypeInterface
806807
807808 // Increments the reference count for the interface type @g_type,
808809 // and returns the default interface vtable for the type.
@@ -814,7 +815,7 @@ var xTypeDefaultInterfaceRef func([]interface{}) *TypeInterface
814815 // Calling g_type_default_interface_ref() is useful when you
815816 // want to make sure that signals and properties for an interface
816817 // have been installed.
817-func TypeDefaultInterfaceRef(GTypeVar []interface{}) *TypeInterface {
818+func TypeDefaultInterfaceRef(GTypeVar types.GType) *TypeInterface {
818819
819820 cret := xTypeDefaultInterfaceRef(GTypeVar)
820821 return cret
@@ -833,17 +834,17 @@ func TypeDefaultInterfaceUnref(GIfaceVar *TypeInterface) {
833834
834835 }
835836
836-var xTypeDepth func([]interface{}) uint
837+var xTypeDepth func(types.GType) uint
837838
838839 // Returns the length of the ancestry of the passed in type. This
839840 // 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 {
841842
842843 cret := xTypeDepth(TypeVar)
843844 return cret
844845 }
845846
846-var xTypeEnsure func([]interface{})
847+var xTypeEnsure func(types.GType)
847848
848849 // Ensures that the indicated @type has been registered with the
849850 // type system, and its _class_init() method has been run.
@@ -857,7 +858,7 @@ var xTypeEnsure func([]interface{})
857858 // you write a bare call to a _get_type() macro, it may get optimized
858859 // out by the compiler. Using g_type_ensure() guarantees that the
859860 // type's _get_type() method is called.
860-func TypeEnsure(TypeVar []interface{}) {
861+func TypeEnsure(TypeVar types.GType) {
861862
862863 xTypeEnsure(TypeVar)
863864
@@ -876,56 +877,56 @@ func TypeFreeInstance(InstanceVar *TypeInstance) {
876877
877878 }
878879
879-var xTypeFromName func(string) []interface{}
880+var xTypeFromName func(string) types.GType
880881
881882 // Look up the type ID from a given type name, returning 0 if no type
882883 // has been registered under this name (this is the preferred method
883884 // to find out by name whether a specific type has been registered
884885 // yet).
885-func TypeFromName(NameVar string) []interface{} {
886+func TypeFromName(NameVar string) types.GType {
886887
887888 cret := xTypeFromName(NameVar)
888889 return cret
889890 }
890891
891-var xTypeFundamental func([]interface{}) []interface{}
892+var xTypeFundamental func(types.GType) types.GType
892893
893894 // Internal function, used to extract the fundamental type ID portion.
894895 // Use G_TYPE_FUNDAMENTAL() instead.
895-func TypeFundamental(TypeIdVar []interface{}) []interface{} {
896+func TypeFundamental(TypeIdVar types.GType) types.GType {
896897
897898 cret := xTypeFundamental(TypeIdVar)
898899 return cret
899900 }
900901
901-var xTypeFundamentalNext func() []interface{}
902+var xTypeFundamentalNext func() types.GType
902903
903904 // Returns the next free fundamental type id which can be used to
904905 // register a new fundamental type with g_type_register_fundamental().
905906 // The returned type ID represents the highest currently registered
906907 // fundamental type identifier.
907-func TypeFundamentalNext() []interface{} {
908+func TypeFundamentalNext() types.GType {
908909
909910 cret := xTypeFundamentalNext()
910911 return cret
911912 }
912913
913-var xTypeGetInstanceCount func([]interface{}) int
914+var xTypeGetInstanceCount func(types.GType) int
914915
915916 // Returns the number of instances allocated of the particular type;
916917 // this is only available if GLib is built with debugging support and
917918 // the instance_count debug flag is set (by setting the GOBJECT_DEBUG
918919 // variable to include instance-count).
919-func TypeGetInstanceCount(TypeVar []interface{}) int {
920+func TypeGetInstanceCount(TypeVar types.GType) int {
920921
921922 cret := xTypeGetInstanceCount(TypeVar)
922923 return cret
923924 }
924925
925-var xTypeGetPlugin func([]interface{}) uintptr
926+var xTypeGetPlugin func(types.GType) uintptr
926927
927928 // Returns the #GTypePlugin structure for @type.
928-func TypeGetPlugin(TypeVar []interface{}) *TypePluginBase {
929+func TypeGetPlugin(TypeVar types.GType) *TypePluginBase {
929930 var cls *TypePluginBase
930931
931932 cret := xTypeGetPlugin(TypeVar)
@@ -939,7 +940,7 @@ func TypeGetPlugin(TypeVar []interface{}) *TypePluginBase {
939940 return cls
940941 }
941942
942-var xTypeGetQdata func([]interface{}, glib.Quark) uintptr
943+var xTypeGetQdata func(types.GType, glib.Quark) uintptr
943944
944945 // Obtains data which has previously been attached to @type
945946 // with g_type_set_qdata().
@@ -947,7 +948,7 @@ var xTypeGetQdata func([]interface{}, glib.Quark) uintptr
947948 // Note that this does not take subtyping into account; data
948949 // attached to one type with g_type_set_qdata() cannot
949950 // 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 {
951952
952953 cret := xTypeGetQdata(TypeVar, QuarkVar)
953954 return cret
@@ -991,26 +992,26 @@ func TypeInitWithDebugFlags(DebugFlagsVar TypeDebugFlags) {
991992
992993 }
993994
994-var xTypeInterfaceAddPrerequisite func([]interface{}, []interface{})
995+var xTypeInterfaceAddPrerequisite func(types.GType, types.GType)
995996
996997 // Adds @prerequisite_type to the list of prerequisites of @interface_type.
997998 // This means that any type implementing @interface_type must also implement
998999 // @prerequisite_type. Prerequisites can be thought of as an alternative to
9991000 // interface derivation (which GType doesn't support). An interface can have
10001001 // at most one instantiatable prerequisite type.
1001-func TypeInterfaceAddPrerequisite(InterfaceTypeVar []interface{}, PrerequisiteTypeVar []interface{}) {
1002+func TypeInterfaceAddPrerequisite(InterfaceTypeVar types.GType, PrerequisiteTypeVar types.GType) {
10021003
10031004 xTypeInterfaceAddPrerequisite(InterfaceTypeVar, PrerequisiteTypeVar)
10041005
10051006 }
10061007
1007-var xTypeInterfaceGetPlugin func([]interface{}, []interface{}) uintptr
1008+var xTypeInterfaceGetPlugin func(types.GType, types.GType) uintptr
10081009
10091010 // Returns the #GTypePlugin structure for the dynamic interface
10101011 // @interface_type which has been added to @instance_type, or %NULL
10111012 // if @interface_type has not been added to @instance_type or does
10121013 // 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 {
10141015 var cls *TypePluginBase
10151016
10161017 cret := xTypeInterfaceGetPlugin(InstanceTypeVar, InterfaceTypeVar)
@@ -1024,7 +1025,7 @@ func TypeInterfaceGetPlugin(InstanceTypeVar []interface{}, InterfaceTypeVar []in
10241025 return cls
10251026 }
10261027
1027-var xTypeInterfaceInstantiatablePrerequisite func([]interface{}) []interface{}
1028+var xTypeInterfaceInstantiatablePrerequisite func(types.GType) types.GType
10281029
10291030 // Returns the most specific instantiatable prerequisite of an
10301031 // interface type. If the interface type has no instantiatable
@@ -1032,60 +1033,60 @@ var xTypeInterfaceInstantiatablePrerequisite func([]interface{}) []interface{}
10321033 //
10331034 // See g_type_interface_add_prerequisite() for more information
10341035 // about prerequisites.
1035-func TypeInterfaceInstantiatablePrerequisite(InterfaceTypeVar []interface{}) []interface{} {
1036+func TypeInterfaceInstantiatablePrerequisite(InterfaceTypeVar types.GType) types.GType {
10361037
10371038 cret := xTypeInterfaceInstantiatablePrerequisite(InterfaceTypeVar)
10381039 return cret
10391040 }
10401041
1041-var xTypeInterfacePeek func(*TypeClass, []interface{}) *TypeInterface
1042+var xTypeInterfacePeek func(*TypeClass, types.GType) *TypeInterface
10421043
10431044 // Returns the #GTypeInterface structure of an interface to which the
10441045 // passed in class conforms.
1045-func TypeInterfacePeek(InstanceClassVar *TypeClass, IfaceTypeVar []interface{}) *TypeInterface {
1046+func TypeInterfacePeek(InstanceClassVar *TypeClass, IfaceTypeVar types.GType) *TypeInterface {
10461047
10471048 cret := xTypeInterfacePeek(InstanceClassVar, IfaceTypeVar)
10481049 return cret
10491050 }
10501051
1051-var xTypeInterfacePrerequisites func([]interface{}, uint) uintptr
1052+var xTypeInterfacePrerequisites func(types.GType, uint) []types.GType
10521053
10531054 // 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 {
10551056
10561057 cret := xTypeInterfacePrerequisites(InterfaceTypeVar, NPrerequisitesVar)
10571058 return cret
10581059 }
10591060
1060-var xTypeInterfaces func([]interface{}, uint) uintptr
1061+var xTypeInterfaces func(types.GType, uint) []types.GType
10611062
10621063 // Return a newly allocated and 0-terminated array of type IDs, listing
10631064 // 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 {
10651066
10661067 cret := xTypeInterfaces(TypeVar, NInterfacesVar)
10671068 return cret
10681069 }
10691070
1070-var xTypeIsA func([]interface{}, []interface{}) bool
1071+var xTypeIsA func(types.GType, types.GType) bool
10711072
10721073 // If @is_a_type is a derivable type, check whether @type is a
10731074 // descendant of @is_a_type. If @is_a_type is an interface, check
10741075 // whether @type conforms to it.
1075-func TypeIsA(TypeVar []interface{}, IsATypeVar []interface{}) bool {
1076+func TypeIsA(TypeVar types.GType, IsATypeVar types.GType) bool {
10761077
10771078 cret := xTypeIsA(TypeVar, IsATypeVar)
10781079 return cret
10791080 }
10801081
1081-var xTypeName func([]interface{}) string
1082+var xTypeName func(types.GType) string
10821083
10831084 // Get the unique name that is assigned to a type ID. Note that this
10841085 // function (like all other GType API) cannot cope with invalid type
10851086 // IDs. %G_TYPE_INVALID may be passed to this function, as may be any
10861087 // other validly registered type ID, but randomized type IDs should
10871088 // 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 {
10891090
10901091 cret := xTypeName(TypeVar)
10911092 return cret
@@ -1107,7 +1108,7 @@ func TypeNameFromInstance(InstanceVar *TypeInstance) string {
11071108 return cret
11081109 }
11091110
1110-var xTypeNextBase func([]interface{}, []interface{}) []interface{}
1111+var xTypeNextBase func(types.GType, types.GType) types.GType
11111112
11121113 // Given a @leaf_type and a @root_type which is contained in its
11131114 // ancestry, return the type that @root_type is the immediate parent
@@ -1116,32 +1117,32 @@ var xTypeNextBase func([]interface{}, []interface{}) []interface{}
11161117 // @leaf_type. Given a root type and a leaf type, this function can
11171118 // be used to determine the types and order in which the leaf type is
11181119 // descended from the root type.
1119-func TypeNextBase(LeafTypeVar []interface{}, RootTypeVar []interface{}) []interface{} {
1120+func TypeNextBase(LeafTypeVar types.GType, RootTypeVar types.GType) types.GType {
11201121
11211122 cret := xTypeNextBase(LeafTypeVar, RootTypeVar)
11221123 return cret
11231124 }
11241125
1125-var xTypeParent func([]interface{}) []interface{}
1126+var xTypeParent func(types.GType) types.GType
11261127
11271128 // Return the direct parent type of the passed in type. If the passed
11281129 // 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 {
11301131
11311132 cret := xTypeParent(TypeVar)
11321133 return cret
11331134 }
11341135
1135-var xTypeQname func([]interface{}) glib.Quark
1136+var xTypeQname func(types.GType) glib.Quark
11361137
11371138 // Get the corresponding quark of the type IDs name.
1138-func TypeQname(TypeVar []interface{}) glib.Quark {
1139+func TypeQname(TypeVar types.GType) glib.Quark {
11391140
11401141 cret := xTypeQname(TypeVar)
11411142 return cret
11421143 }
11431144
1144-var xNewTypeQuery func([]interface{}, *TypeQuery)
1145+var xNewTypeQuery func(types.GType, *TypeQuery)
11451146
11461147 // Queries the type system for information about a specific type.
11471148 // This function will fill in a user-provided structure to hold
@@ -1149,26 +1150,26 @@ var xNewTypeQuery func([]interface{}, *TypeQuery)
11491150 // @type member of the #GTypeQuery is 0. All members filled into the
11501151 // #GTypeQuery structure should be considered constant and have to be
11511152 // left untouched.
1152-func NewTypeQuery(TypeVar []interface{}, QueryVar *TypeQuery) {
1153+func NewTypeQuery(TypeVar types.GType, QueryVar *TypeQuery) {
11531154
11541155 xNewTypeQuery(TypeVar, QueryVar)
11551156
11561157 }
11571158
1158-var xTypeRegisterDynamic func([]interface{}, string, uintptr, TypeFlags) []interface{}
1159+var xTypeRegisterDynamic func(types.GType, string, uintptr, TypeFlags) types.GType
11591160
11601161 // Registers @type_name as the name of a new dynamic type derived from
11611162 // @parent_type. The type system uses the information contained in the
11621163 // #GTypePlugin structure pointed to by @plugin to manage the type and its
11631164 // instances (if not abstract). The value of @flags determines the nature
11641165 // (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 {
11661167
11671168 cret := xTypeRegisterDynamic(ParentTypeVar, TypeNameVar, PluginVar.GoPointer(), FlagsVar)
11681169 return cret
11691170 }
11701171
1171-var xTypeRegisterFundamental func([]interface{}, string, *TypeInfo, *TypeFundamentalInfo, TypeFlags) []interface{}
1172+var xTypeRegisterFundamental func(types.GType, string, *TypeInfo, *TypeFundamentalInfo, TypeFlags) types.GType
11721173
11731174 // Registers @type_id as the predefined identifier and @type_name as the
11741175 // name of a fundamental type. If @type_id is already registered, or a
@@ -1177,32 +1178,32 @@ var xTypeRegisterFundamental func([]interface{}, string, *TypeInfo, *TypeFundame
11771178 // pointed to by @info and the #GTypeFundamentalInfo structure pointed to by
11781179 // @finfo to manage the type and its instances. The value of @flags determines
11791180 // 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 {
11811182
11821183 cret := xTypeRegisterFundamental(TypeIdVar, TypeNameVar, InfoVar, FinfoVar, FlagsVar)
11831184 return cret
11841185 }
11851186
1186-var xTypeRegisterStatic func([]interface{}, string, *TypeInfo, TypeFlags) []interface{}
1187+var xTypeRegisterStatic func(types.GType, string, *TypeInfo, TypeFlags) types.GType
11871188
11881189 // Registers @type_name as the name of a new static type derived from
11891190 // @parent_type. The type system uses the information contained in the
11901191 // #GTypeInfo structure pointed to by @info to manage the type and its
11911192 // instances (if not abstract). The value of @flags determines the nature
11921193 // (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 {
11941195
11951196 cret := xTypeRegisterStatic(ParentTypeVar, TypeNameVar, InfoVar, FlagsVar)
11961197 return cret
11971198 }
11981199
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
12001201
12011202 // Registers @type_name as the name of a new static type derived from
12021203 // @parent_type. The value of @flags determines the nature (e.g.
12031204 // abstract or not) of the type. It works by filling a #GTypeInfo
12041205 // 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 {
12061207
12071208 cret := xTypeRegisterStaticSimple(ParentTypeVar, TypeNameVar, ClassSizeVar, glib.NewCallback(ClassInitVar), InstanceSizeVar, glib.NewCallback(InstanceInitVar), FlagsVar)
12081209 return cret
@@ -1229,31 +1230,31 @@ func TypeRemoveInterfaceCheck(CheckDataVar uintptr, CheckFuncVar *TypeInterfaceC
12291230
12301231 }
12311232
1232-var xTypeSetQdata func([]interface{}, glib.Quark, uintptr)
1233+var xTypeSetQdata func(types.GType, glib.Quark, uintptr)
12331234
12341235 // 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) {
12361237
12371238 xTypeSetQdata(TypeVar, QuarkVar, DataVar)
12381239
12391240 }
12401241
1241-var xTypeTestFlags func([]interface{}, uint) bool
1242+var xTypeTestFlags func(types.GType, uint) bool
12421243
1243-func TypeTestFlags(TypeVar []interface{}, FlagsVar uint) bool {
1244+func TypeTestFlags(TypeVar types.GType, FlagsVar uint) bool {
12441245
12451246 cret := xTypeTestFlags(TypeVar, FlagsVar)
12461247 return cret
12471248 }
12481249
1249-var xTypeValueTablePeek func([]interface{}) *TypeValueTable
1250+var xTypeValueTablePeek func(types.GType) *TypeValueTable
12501251
12511252 // Returns the location of the #GTypeValueTable associated with @type.
12521253 //
12531254 // Note that this function should only be used from source code
12541255 // that implements or has internal knowledge of the implementation of
12551256 // @type.
1256-func TypeValueTablePeek(TypeVar []interface{}) *TypeValueTable {
1257+func TypeValueTablePeek(TypeVar types.GType) *TypeValueTable {
12571258
12581259 cret := xTypeValueTablePeek(TypeVar)
12591260 return cret
M v4/gobject/gtypemodule.go +11 -10
@@ -6,6 +6,7 @@ import (
66
77 "github.com/jwijenbergh/purego"
88 "github.com/jwijenbergh/puregotk/internal/core"
9+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
910 )
1011
1112 // In order to implement dynamic loading of types based on #GTypeModule,
@@ -58,7 +59,7 @@ func TypeModuleNewFromInternalPtr(ptr uintptr) *TypeModule {
5859 return cls
5960 }
6061
61-var xTypeModuleAddInterface func(uintptr, []interface{}, []interface{}, *InterfaceInfo)
62+var xTypeModuleAddInterface func(uintptr, types.GType, types.GType, *InterfaceInfo)
6263
6364 // Registers an additional interface for a type, whose interface lives
6465 // in the given type plugin. If the interface was already registered
@@ -69,13 +70,13 @@ var xTypeModuleAddInterface func(uintptr, []interface{}, []interface{}, *Interfa
6970 //
7071 // Since 2.56 if @module is %NULL this will call g_type_add_interface_static()
7172 // 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) {
7374
7475 xTypeModuleAddInterface(x.GoPointer(), InstanceTypeVar, InterfaceTypeVar, InterfaceInfoVar)
7576
7677 }
7778
78-var xTypeModuleRegisterEnum func(uintptr, string, *EnumValue) []interface{}
79+var xTypeModuleRegisterEnum func(uintptr, string, *EnumValue) types.GType
7980
8081 // Looks up or registers an enumeration that is implemented with a particular
8182 // type plugin. If a type with name @type_name was previously registered,
@@ -87,13 +88,13 @@ var xTypeModuleRegisterEnum func(uintptr, string, *EnumValue) []interface{}
8788 //
8889 // Since 2.56 if @module is %NULL this will call g_type_register_static()
8990 // 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 {
9192
9293 cret := xTypeModuleRegisterEnum(x.GoPointer(), NameVar, ConstStaticValuesVar)
9394 return cret
9495 }
9596
96-var xTypeModuleRegisterFlags func(uintptr, string, *FlagsValue) []interface{}
97+var xTypeModuleRegisterFlags func(uintptr, string, *FlagsValue) types.GType
9798
9899 // Looks up or registers a flags type that is implemented with a particular
99100 // type plugin. If a type with name @type_name was previously registered,
@@ -105,13 +106,13 @@ var xTypeModuleRegisterFlags func(uintptr, string, *FlagsValue) []interface{}
105106 //
106107 // Since 2.56 if @module is %NULL this will call g_type_register_static()
107108 // 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 {
109110
110111 cret := xTypeModuleRegisterFlags(x.GoPointer(), NameVar, ConstStaticValuesVar)
111112 return cret
112113 }
113114
114-var xTypeModuleRegisterType func(uintptr, []interface{}, string, *TypeInfo, TypeFlags) []interface{}
115+var xTypeModuleRegisterType func(uintptr, types.GType, string, *TypeInfo, TypeFlags) types.GType
115116
116117 // Looks up or registers a type that is implemented with a particular
117118 // type plugin. If a type with name @type_name was previously registered,
@@ -127,7 +128,7 @@ var xTypeModuleRegisterType func(uintptr, []interface{}, string, *TypeInfo, Type
127128 //
128129 // Since 2.56 if @module is %NULL this will call g_type_register_static()
129130 // 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 {
131132
132133 cret := xTypeModuleRegisterType(x.GoPointer(), ParentTypeVar, TypeNameVar, TypeInfoVar, FlagsVar)
133134 return cret
@@ -178,7 +179,7 @@ func (c *TypeModule) SetGoPointer(ptr uintptr) {
178179 // Calls the @complete_interface_info function from the
179180 // #GTypePluginClass of @plugin. There should be no need to use this
180181 // 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) {
182183
183184 XGTypePluginCompleteInterfaceInfo(x.GoPointer(), InstanceTypeVar, InterfaceTypeVar, InfoVar)
184185
@@ -187,7 +188,7 @@ func (x *TypeModule) CompleteInterfaceInfo(InstanceTypeVar []interface{}, Interf
187188 // Calls the @complete_type_info function from the #GTypePluginClass of @plugin.
188189 // There should be no need to use this function outside of the GObject
189190 // 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) {
191192
192193 XGTypePluginCompleteTypeInfo(x.GoPointer(), GTypeVar, InfoVar, ValueTableVar)
193194
M v4/gobject/gtypeplugin.go +7 -3
@@ -1,13 +1,17 @@
11 // Package gobject was automatically generated by github.com/jwijenbergh/puregotk DO NOT EDIT
22 package gobject
33
4-import "unsafe"
4+import (
5+ "unsafe"
6+
7+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
8+)
59
610 // 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)
812
913 // 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)
1115
1216 // The type of the @unuse_plugin function of #GTypePluginClass.
1317 type TypePluginUnuse func(uintptr)
M v4/gobject/gvalue.go +15 -14
@@ -7,6 +7,7 @@ import (
77 "github.com/jwijenbergh/purego"
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/glib"
10+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1011 )
1112
1213 // The type of value transformation functions which can be registered with
@@ -26,9 +27,9 @@ type ValueTransform func(*Value, *Value)
2627 // within the 2 element @data union, and the @g_type member should
2728 // only be accessed through the G_VALUE_TYPE() macro.
2829 type Value struct {
29- GType []interface{}
30+ GType types.GType
3031
31- Data uintptr
32+ Data [2]uint64
3233 }
3334
3435 func (x *Value) GoPointer() uintptr {
@@ -186,10 +187,10 @@ func (x *Value) GetFloat() float32 {
186187 return cret
187188 }
188189
189-var xValueGetGtype func(uintptr) []interface{}
190+var xValueGetGtype func(uintptr) types.GType
190191
191192 // Get the contents of a %G_TYPE_GTYPE #GValue.
192-func (x *Value) GetGtype() []interface{} {
193+func (x *Value) GetGtype() types.GType {
193194
194195 cret := xValueGetGtype(x.GoPointer())
195196 return cret
@@ -328,10 +329,10 @@ func (x *Value) GetVariant() *glib.Variant {
328329 return cret
329330 }
330331
331-var xValueInit func(uintptr, []interface{}) *Value
332+var xValueInit func(uintptr, types.GType) *Value
332333
333334 // 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 {
335336
336337 cret := xValueInit(x.GoPointer(), GTypeVar)
337338 return cret
@@ -445,10 +446,10 @@ func (x *Value) SetFloat(VFloatVar float32) {
445446
446447 }
447448
448-var xValueSetGtype func(uintptr, []interface{})
449+var xValueSetGtype func(uintptr, types.GType)
449450
450451 // 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) {
452453
453454 xValueSetGtype(x.GoPointer(), VGtypeVar)
454455
@@ -760,34 +761,34 @@ const (
760761 VALUE_NOCOPY_CONTENTS int = 134217728
761762 )
762763
763-var xValueRegisterTransformFunc func([]interface{}, []interface{}, uintptr)
764+var xValueRegisterTransformFunc func(types.GType, types.GType, uintptr)
764765
765766 // Registers a value transformation function for use in g_value_transform().
766767 // A previously registered transformation function for @src_type and @dest_type
767768 // will be replaced.
768-func ValueRegisterTransformFunc(SrcTypeVar []interface{}, DestTypeVar []interface{}, TransformFuncVar *ValueTransform) {
769+func ValueRegisterTransformFunc(SrcTypeVar types.GType, DestTypeVar types.GType, TransformFuncVar *ValueTransform) {
769770
770771 xValueRegisterTransformFunc(SrcTypeVar, DestTypeVar, glib.NewCallback(TransformFuncVar))
771772
772773 }
773774
774-var xValueTypeCompatible func([]interface{}, []interface{}) bool
775+var xValueTypeCompatible func(types.GType, types.GType) bool
775776
776777 // Returns whether a #GValue of type @src_type can be copied into
777778 // a #GValue of type @dest_type.
778-func ValueTypeCompatible(SrcTypeVar []interface{}, DestTypeVar []interface{}) bool {
779+func ValueTypeCompatible(SrcTypeVar types.GType, DestTypeVar types.GType) bool {
779780
780781 cret := xValueTypeCompatible(SrcTypeVar, DestTypeVar)
781782 return cret
782783 }
783784
784-var xValueTypeTransformable func([]interface{}, []interface{}) bool
785+var xValueTypeTransformable func(types.GType, types.GType) bool
785786
786787 // Check whether g_value_transform() is able to transform values
787788 // of type @src_type into values of type @dest_type. Note that for
788789 // the types to be transformable, they must be compatible or a
789790 // transformation function must be registered.
790-func ValueTypeTransformable(SrcTypeVar []interface{}, DestTypeVar []interface{}) bool {
791+func ValueTypeTransformable(SrcTypeVar types.GType, DestTypeVar types.GType) bool {
791792
792793 cret := xValueTypeTransformable(SrcTypeVar, DestTypeVar)
793794 return cret
M v4/gobject/gvaluetypes.go +5 -4
@@ -4,21 +4,22 @@ package gobject
44 import (
55 "github.com/jwijenbergh/purego"
66 "github.com/jwijenbergh/puregotk/internal/core"
7+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
78 )
89
9-var xGtypeGetType func() []interface{}
10+var xGtypeGetType func() types.GType
1011
11-func GtypeGetType() []interface{} {
12+func GtypeGetType() types.GType {
1213
1314 cret := xGtypeGetType()
1415 return cret
1516 }
1617
17-var xPointerTypeRegisterStatic func(string) []interface{}
18+var xPointerTypeRegisterStatic func(string) types.GType
1819
1920 // Creates a new %G_TYPE_POINTER derived type id for a new
2021 // pointer type with name @name.
21-func PointerTypeRegisterStatic(NameVar string) []interface{} {
22+func PointerTypeRegisterStatic(NameVar string) types.GType {
2223
2324 cret := xPointerTypeRegisterStatic(NameVar)
2425 return cret
M v4/graphene/graphene-box.go +6 -6
@@ -166,10 +166,10 @@ func (x *Box) GetSize(SizeVar *Vec3) {
166166
167167 }
168168
169-var xBoxGetVertices func(uintptr, uintptr)
169+var xBoxGetVertices func(uintptr, [8]Vec3)
170170
171171 // Computes the vertices of the given #graphene_box_t.
172-func (x *Box) GetVertices(VerticesVar uintptr) {
172+func (x *Box) GetVertices(VerticesVar [8]Vec3) {
173173
174174 xBoxGetVertices(x.GoPointer(), VerticesVar)
175175
@@ -203,14 +203,14 @@ func (x *Box) InitFromBox(SrcVar *Box) *Box {
203203 return cret
204204 }
205205
206-var xBoxInitFromPoints func(uintptr, uint, uintptr) *Box
206+var xBoxInitFromPoints func(uintptr, uint, []Point3D) *Box
207207
208208 // Initializes the given #graphene_box_t with the given array
209209 // of vertices.
210210 //
211211 // If @n_points is 0, the returned box is initialized with
212212 // graphene_box_empty().
213-func (x *Box) InitFromPoints(NPointsVar uint, PointsVar uintptr) *Box {
213+func (x *Box) InitFromPoints(NPointsVar uint, PointsVar []Point3D) *Box {
214214
215215 cret := xBoxInitFromPoints(x.GoPointer(), NPointsVar, PointsVar)
216216 return cret
@@ -226,14 +226,14 @@ func (x *Box) InitFromVec3(MinVar *Vec3, MaxVar *Vec3) *Box {
226226 return cret
227227 }
228228
229-var xBoxInitFromVectors func(uintptr, uint, uintptr) *Box
229+var xBoxInitFromVectors func(uintptr, uint, []Vec3) *Box
230230
231231 // Initializes the given #graphene_box_t with the given array
232232 // of vertices.
233233 //
234234 // If @n_vectors is 0, the returned box is initialized with
235235 // graphene_box_empty().
236-func (x *Box) InitFromVectors(NVectorsVar uint, VectorsVar uintptr) *Box {
236+func (x *Box) InitFromVectors(NVectorsVar uint, VectorsVar []Vec3) *Box {
237237
238238 cret := xBoxInitFromVectors(x.GoPointer(), NVectorsVar, VectorsVar)
239239 return cret
M v4/graphene/graphene-frustum.go +3 -3
@@ -13,7 +13,7 @@ import (
1313 // The contents of the `graphene_frustum_t` are private, and should not be
1414 // modified directly.
1515 type Frustum struct {
16- Planes uintptr
16+ Planes [6]Plane
1717 }
1818
1919 func (x *Frustum) GoPointer() uintptr {
@@ -59,10 +59,10 @@ func (x *Frustum) Free() {
5959
6060 }
6161
62-var xFrustumGetPlanes func(uintptr, uintptr)
62+var xFrustumGetPlanes func(uintptr, [6]Plane)
6363
6464 // 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) {
6666
6767 xFrustumGetPlanes(x.GoPointer(), PlanesVar)
6868
M v4/graphene/graphene-matrix.go +4 -4
@@ -199,11 +199,11 @@ func (x *Matrix) InitFrom2d(XxVar float64, YxVar float64, XyVar float64, YyVar f
199199 return cret
200200 }
201201
202-var xMatrixInitFromFloat func(uintptr, uintptr) *Matrix
202+var xMatrixInitFromFloat func(uintptr, [16]float32) *Matrix
203203
204204 // Initializes a #graphene_matrix_t with the given array of floating
205205 // point values.
206-func (x *Matrix) InitFromFloat(VVar uintptr) *Matrix {
206+func (x *Matrix) InitFromFloat(VVar [16]float32) *Matrix {
207207
208208 cret := xMatrixInitFromFloat(x.GoPointer(), VVar)
209209 return cret
@@ -610,11 +610,11 @@ func (x *Matrix) To2d(XxVar float64, YxVar float64, XyVar float64, YyVar float64
610610 return cret
611611 }
612612
613-var xMatrixToFloat func(uintptr, uintptr)
613+var xMatrixToFloat func(uintptr, [16]float32)
614614
615615 // Converts a #graphene_matrix_t to an array of floating point
616616 // values.
617-func (x *Matrix) ToFloat(VVar uintptr) {
617+func (x *Matrix) ToFloat(VVar [16]float32) {
618618
619619 xMatrixToFloat(x.GoPointer(), VVar)
620620
M v4/graphene/graphene-quad.go +3 -3
@@ -13,7 +13,7 @@ import (
1313 // The contents of a #graphene_quad_t are private and should never be
1414 // accessed directly.
1515 type Quad struct {
16- Points uintptr
16+ Points [4]Point
1717 }
1818
1919 func (x *Quad) GoPointer() uintptr {
@@ -76,10 +76,10 @@ func (x *Quad) Init(P1Var *Point, P2Var *Point, P3Var *Point, P4Var *Point) *Qua
7676 return cret
7777 }
7878
79-var xQuadInitFromPoints func(uintptr, uintptr) *Quad
79+var xQuadInitFromPoints func(uintptr, [4]Point) *Quad
8080
8181 // 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 {
8383
8484 cret := xQuadInitFromPoints(x.GoPointer(), PointsVar)
8585 return cret
M v4/graphene/graphene-rect.go +2 -2
@@ -139,10 +139,10 @@ func (x *Rect) GetTopRight(PVar *Point) {
139139
140140 }
141141
142-var xRectGetVertices func(uintptr, uintptr)
142+var xRectGetVertices func(uintptr, [4]Vec2)
143143
144144 // Computes the four vertices of a #graphene_rect_t.
145-func (x *Rect) GetVertices(VerticesVar uintptr) {
145+func (x *Rect) GetVertices(VerticesVar [4]Vec2) {
146146
147147 xRectGetVertices(x.GoPointer(), VerticesVar)
148148
M v4/graphene/graphene-sphere.go +4 -4
@@ -105,27 +105,27 @@ func (x *Sphere) Init(CenterVar *Point3D, RadiusVar float32) *Sphere {
105105 return cret
106106 }
107107
108-var xSphereInitFromPoints func(uintptr, uint, uintptr, *Point3D) *Sphere
108+var xSphereInitFromPoints func(uintptr, uint, []Point3D, *Point3D) *Sphere
109109
110110 // Initializes the given #graphene_sphere_t using the given array
111111 // of 3D coordinates so that the sphere includes them.
112112 //
113113 // The center of the sphere can either be specified, or will be center
114114 // 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 {
116116
117117 cret := xSphereInitFromPoints(x.GoPointer(), NPointsVar, PointsVar, CenterVar)
118118 return cret
119119 }
120120
121-var xSphereInitFromVectors func(uintptr, uint, uintptr, *Point3D) *Sphere
121+var xSphereInitFromVectors func(uintptr, uint, []Vec3, *Point3D) *Sphere
122122
123123 // Initializes the given #graphene_sphere_t using the given array
124124 // of 3D coordinates so that the sphere includes them.
125125 //
126126 // The center of the sphere can either be specified, or will be center
127127 // 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 {
129129
130130 cret := xSphereInitFromVectors(x.GoPointer(), NVectorsVar, VectorsVar, CenterVar)
131131 return cret
M v4/graphene/graphene-triangle.go +2 -2
@@ -170,12 +170,12 @@ func (x *Triangle) GetVertices(AVar *Vec3, BVar *Vec3, CVar *Vec3) {
170170
171171 }
172172
173-var xTriangleInitFromFloat func(uintptr, uintptr, uintptr, uintptr) *Triangle
173+var xTriangleInitFromFloat func(uintptr, [3]float32, [3]float32, [3]float32) *Triangle
174174
175175 // Initializes a #graphene_triangle_t using the three given arrays
176176 // of floating point values, each representing the coordinates of
177177 // 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 {
179179
180180 cret := xTriangleInitFromFloat(x.GoPointer(), AVar, BVar, CVar)
181181 return cret
M v4/graphene/graphene-vec2.go +4 -4
@@ -110,10 +110,10 @@ func (x *Vec2) Init(XVar float32, YVar float32) *Vec2 {
110110 return cret
111111 }
112112
113-var xVec2InitFromFloat func(uintptr, uintptr) *Vec2
113+var xVec2InitFromFloat func(uintptr, [2]float32) *Vec2
114114
115115 // 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 {
117117
118118 cret := xVec2InitFromFloat(x.GoPointer(), SrcVar)
119119 return cret
@@ -224,10 +224,10 @@ func (x *Vec2) Subtract(BVar *Vec2, ResVar *Vec2) {
224224
225225 }
226226
227-var xVec2ToFloat func(uintptr, uintptr)
227+var xVec2ToFloat func(uintptr, [2]float32)
228228
229229 // Stores the components of @v into an array.
230-func (x *Vec2) ToFloat(DestVar uintptr) {
230+func (x *Vec2) ToFloat(DestVar [2]float32) {
231231
232232 xVec2ToFloat(x.GoPointer(), DestVar)
233233
M v4/graphene/graphene-vec3.go +4 -4
@@ -177,10 +177,10 @@ func (x *Vec3) Init(XVar float32, YVar float32, ZVar float32) *Vec3 {
177177 return cret
178178 }
179179
180-var xVec3InitFromFloat func(uintptr, uintptr) *Vec3
180+var xVec3InitFromFloat func(uintptr, [3]float32) *Vec3
181181
182182 // 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 {
184184
185185 cret := xVec3InitFromFloat(x.GoPointer(), SrcVar)
186186 return cret
@@ -291,10 +291,10 @@ func (x *Vec3) Subtract(BVar *Vec3, ResVar *Vec3) {
291291
292292 }
293293
294-var xVec3ToFloat func(uintptr, uintptr)
294+var xVec3ToFloat func(uintptr, [3]float32)
295295
296296 // 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) {
298298
299299 xVec3ToFloat(x.GoPointer(), DestVar)
300300
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
147147 return cret
148148 }
149149
150-var xVec4InitFromFloat func(uintptr, uintptr) *Vec4
150+var xVec4InitFromFloat func(uintptr, [4]float32) *Vec4
151151
152152 // 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 {
154154
155155 cret := xVec4InitFromFloat(x.GoPointer(), SrcVar)
156156 return cret
@@ -281,11 +281,11 @@ func (x *Vec4) Subtract(BVar *Vec4, ResVar *Vec4) {
281281
282282 }
283283
284-var xVec4ToFloat func(uintptr, uintptr)
284+var xVec4ToFloat func(uintptr, [4]float32)
285285
286286 // Stores the components of the given #graphene_vec4_t into an array
287287 // of floating point values.
288-func (x *Vec4) ToFloat(DestVar uintptr) {
288+func (x *Vec4) ToFloat(DestVar [4]float32) {
289289
290290 xVec4ToFloat(x.GoPointer(), DestVar)
291291
M v4/gsk/gskrendernodeimpl.go +24 -24
@@ -163,13 +163,13 @@ func BorderNodeNewFromInternalPtr(ptr uintptr) *BorderNode {
163163 return cls
164164 }
165165
166-var xNewBorderNode func(*RoundedRect, uintptr, uintptr) uintptr
166+var xNewBorderNode func(*RoundedRect, [4]float32, [4]gdk.RGBA) uintptr
167167
168168 // Creates a `GskRenderNode` that will stroke a border rectangle inside the
169169 // given @outline.
170170 //
171171 // 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 {
173173 var cls *BorderNode
174174
175175 cret := xNewBorderNode(OutlineVar, BorderWidthVar, BorderColorVar)
@@ -200,10 +200,10 @@ func (x *BorderNode) GetOutline() *RoundedRect {
200200 return cret
201201 }
202202
203-var xBorderNodeGetWidths func(uintptr) uintptr
203+var xBorderNodeGetWidths func(uintptr) [4]float32
204204
205205 // Retrieves the stroke widths of the border.
206-func (x *BorderNode) GetWidths() uintptr {
206+func (x *BorderNode) GetWidths() [4]float32 {
207207
208208 cret := xBorderNodeGetWidths(x.GoPointer())
209209 return cret
@@ -472,14 +472,14 @@ func ConicGradientNodeNewFromInternalPtr(ptr uintptr) *ConicGradientNode {
472472 return cls
473473 }
474474
475-var xNewConicGradientNode func(*graphene.Rect, *graphene.Point, float32, uintptr, uint) uintptr
475+var xNewConicGradientNode func(*graphene.Rect, *graphene.Point, float32, []ColorStop, uint) uintptr
476476
477477 // Creates a `GskRenderNode` that draws a conic gradient.
478478 //
479479 // The conic gradient
480480 // starts around @center in the direction of @rotation. A rotation of 0 means
481481 // 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 {
483483 var cls *ConicGradientNode
484484
485485 cret := xNewConicGradientNode(BoundsVar, CenterVar, RotationVar, ColorStopsVar, NColorStopsVar)
@@ -515,10 +515,10 @@ func (x *ConicGradientNode) GetCenter() *graphene.Point {
515515 return cret
516516 }
517517
518-var xConicGradientNodeGetColorStops func(uintptr, uint) uintptr
518+var xConicGradientNodeGetColorStops func(uintptr, uint) []ColorStop
519519
520520 // Retrieves the color stops in the gradient.
521-func (x *ConicGradientNode) GetColorStops(NStopsVar uint) uintptr {
521+func (x *ConicGradientNode) GetColorStops(NStopsVar uint) []ColorStop {
522522
523523 cret := xConicGradientNodeGetColorStops(x.GoPointer(), NStopsVar)
524524 return cret
@@ -960,11 +960,11 @@ func LinearGradientNodeNewFromInternalPtr(ptr uintptr) *LinearGradientNode {
960960 return cls
961961 }
962962
963-var xNewLinearGradientNode func(*graphene.Rect, *graphene.Point, *graphene.Point, uintptr, uint) uintptr
963+var xNewLinearGradientNode func(*graphene.Rect, *graphene.Point, *graphene.Point, []ColorStop, uint) uintptr
964964
965965 // Creates a `GskRenderNode` that will create a linear gradient from the given
966966 // 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 {
968968 var cls *LinearGradientNode
969969
970970 cret := xNewLinearGradientNode(BoundsVar, StartVar, EndVar, ColorStopsVar, NColorStopsVar)
@@ -977,10 +977,10 @@ func NewLinearGradientNode(BoundsVar *graphene.Rect, StartVar *graphene.Point, E
977977 return cls
978978 }
979979
980-var xLinearGradientNodeGetColorStops func(uintptr, uint) uintptr
980+var xLinearGradientNodeGetColorStops func(uintptr, uint) []ColorStop
981981
982982 // Retrieves the color stops in the gradient.
983-func (x *LinearGradientNode) GetColorStops(NStopsVar uint) uintptr {
983+func (x *LinearGradientNode) GetColorStops(NStopsVar uint) []ColorStop {
984984
985985 cret := xLinearGradientNodeGetColorStops(x.GoPointer(), NStopsVar)
986986 return cret
@@ -1184,14 +1184,14 @@ func RadialGradientNodeNewFromInternalPtr(ptr uintptr) *RadialGradientNode {
11841184 return cls
11851185 }
11861186
1187-var xNewRadialGradientNode func(*graphene.Rect, *graphene.Point, float32, float32, float32, float32, uintptr, uint) uintptr
1187+var xNewRadialGradientNode func(*graphene.Rect, *graphene.Point, float32, float32, float32, float32, []ColorStop, uint) uintptr
11881188
11891189 // Creates a `GskRenderNode` that draws a radial gradient.
11901190 //
11911191 // The radial gradient
11921192 // starts around @center. The size of the gradient is dictated by @hradius
11931193 // 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 {
11951195 var cls *RadialGradientNode
11961196
11971197 cret := xNewRadialGradientNode(BoundsVar, CenterVar, HradiusVar, VradiusVar, StartVar, EndVar, ColorStopsVar, NColorStopsVar)
@@ -1213,10 +1213,10 @@ func (x *RadialGradientNode) GetCenter() *graphene.Point {
12131213 return cret
12141214 }
12151215
1216-var xRadialGradientNodeGetColorStops func(uintptr, uint) uintptr
1216+var xRadialGradientNodeGetColorStops func(uintptr, uint) []ColorStop
12171217
12181218 // Retrieves the color stops in the gradient.
1219-func (x *RadialGradientNode) GetColorStops(NStopsVar uint) uintptr {
1219+func (x *RadialGradientNode) GetColorStops(NStopsVar uint) []ColorStop {
12201220
12211221 cret := xRadialGradientNodeGetColorStops(x.GoPointer(), NStopsVar)
12221222 return cret
@@ -1348,12 +1348,12 @@ func RepeatingLinearGradientNodeNewFromInternalPtr(ptr uintptr) *RepeatingLinear
13481348 return cls
13491349 }
13501350
1351-var xNewRepeatingLinearGradientNode func(*graphene.Rect, *graphene.Point, *graphene.Point, uintptr, uint) uintptr
1351+var xNewRepeatingLinearGradientNode func(*graphene.Rect, *graphene.Point, *graphene.Point, []ColorStop, uint) uintptr
13521352
13531353 // Creates a `GskRenderNode` that will create a repeating linear gradient
13541354 // from the given points and color stops, and render that into the area
13551355 // 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 {
13571357 var cls *RepeatingLinearGradientNode
13581358
13591359 cret := xNewRepeatingLinearGradientNode(BoundsVar, StartVar, EndVar, ColorStopsVar, NColorStopsVar)
@@ -1385,14 +1385,14 @@ func RepeatingRadialGradientNodeNewFromInternalPtr(ptr uintptr) *RepeatingRadial
13851385 return cls
13861386 }
13871387
1388-var xNewRepeatingRadialGradientNode func(*graphene.Rect, *graphene.Point, float32, float32, float32, float32, uintptr, uint) uintptr
1388+var xNewRepeatingRadialGradientNode func(*graphene.Rect, *graphene.Point, float32, float32, float32, float32, []ColorStop, uint) uintptr
13891389
13901390 // Creates a `GskRenderNode` that draws a repeating radial gradient.
13911391 //
13921392 // The radial gradient starts around @center. The size of the gradient
13931393 // is dictated by @hradius in horizontal orientation and by @vradius
13941394 // 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 {
13961396 var cls *RepeatingRadialGradientNode
13971397
13981398 cret := xNewRepeatingRadialGradientNode(BoundsVar, CenterVar, HradiusVar, VradiusVar, StartVar, EndVar, ColorStopsVar, NColorStopsVar)
@@ -1486,11 +1486,11 @@ func ShadowNodeNewFromInternalPtr(ptr uintptr) *ShadowNode {
14861486 return cls
14871487 }
14881488
1489-var xNewShadowNode func(uintptr, uintptr, uint) uintptr
1489+var xNewShadowNode func(uintptr, []Shadow, uint) uintptr
14901490
14911491 // Creates a `GskRenderNode` that will draw a @child with the given
14921492 // @shadows below it.
1493-func NewShadowNode(ChildVar *RenderNode, ShadowsVar uintptr, NShadowsVar uint) *ShadowNode {
1493+func NewShadowNode(ChildVar *RenderNode, ShadowsVar []Shadow, NShadowsVar uint) *ShadowNode {
14941494 var cls *ShadowNode
14951495
14961496 cret := xNewShadowNode(ChildVar.GoPointer(), ShadowsVar, NShadowsVar)
@@ -1602,10 +1602,10 @@ func (x *TextNode) GetFont() *pango.Font {
16021602 return cls
16031603 }
16041604
1605-var xTextNodeGetGlyphs func(uintptr, uint) uintptr
1605+var xTextNodeGetGlyphs func(uintptr, uint) []pango.GlyphInfo
16061606
16071607 // Retrieves the glyph information in the @node.
1608-func (x *TextNode) GetGlyphs(NGlyphsVar uint) uintptr {
1608+func (x *TextNode) GetGlyphs(NGlyphsVar uint) []pango.GlyphInfo {
16091609
16101610 cret := xTextNodeGetGlyphs(x.GoPointer(), NGlyphsVar)
16111611 return cret
M v4/gsk/gskroundedrect.go +1 -1
@@ -25,7 +25,7 @@ import (
2525 type RoundedRect struct {
2626 Bounds uintptr
2727
28- Corner uintptr
28+ Corner [4]graphene.Size
2929 }
3030
3131 func (x *RoundedRect) GoPointer() uintptr {
M v4/gtk/gtkaboutdialog.go +9 -9
@@ -155,21 +155,21 @@ func (x *AboutDialog) AddCreditSection(SectionNameVar string, PeopleVar []string
155155
156156 }
157157
158-var xAboutDialogGetArtists func(uintptr) uintptr
158+var xAboutDialogGetArtists func(uintptr) []string
159159
160160 // Returns the names of the artists which are displayed
161161 // in the credits page.
162-func (x *AboutDialog) GetArtists() uintptr {
162+func (x *AboutDialog) GetArtists() []string {
163163
164164 cret := xAboutDialogGetArtists(x.GoPointer())
165165 return cret
166166 }
167167
168-var xAboutDialogGetAuthors func(uintptr) uintptr
168+var xAboutDialogGetAuthors func(uintptr) []string
169169
170170 // Returns the names of the authors which are displayed
171171 // in the credits page.
172-func (x *AboutDialog) GetAuthors() uintptr {
172+func (x *AboutDialog) GetAuthors() []string {
173173
174174 cret := xAboutDialogGetAuthors(x.GoPointer())
175175 return cret
@@ -193,11 +193,11 @@ func (x *AboutDialog) GetCopyright() string {
193193 return cret
194194 }
195195
196-var xAboutDialogGetDocumenters func(uintptr) uintptr
196+var xAboutDialogGetDocumenters func(uintptr) []string
197197
198198 // Returns the name of the documenters which are displayed
199199 // in the credits page.
200-func (x *AboutDialog) GetDocumenters() uintptr {
200+func (x *AboutDialog) GetDocumenters() []string {
201201
202202 cret := xAboutDialogGetDocumenters(x.GoPointer())
203203 return cret
@@ -588,7 +588,7 @@ func (x *AboutDialog) UpdateProperty(FirstPropertyVar AccessibleProperty, varArg
588588 // property change must be communicated to assistive technologies.
589589 //
590590 // 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) {
592592
593593 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
594594
@@ -624,7 +624,7 @@ func (x *AboutDialog) UpdateRelation(FirstRelationVar AccessibleRelation, varArg
624624 // relation change must be communicated to assistive technologies.
625625 //
626626 // 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) {
628628
629629 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
630630
@@ -657,7 +657,7 @@ func (x *AboutDialog) UpdateState(FirstStateVar AccessibleState, varArgs ...inte
657657 // state change must be communicated to assistive technologies.
658658 //
659659 // 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) {
661661
662662 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
663663
M v4/gtk/gtkaccelgroup.go +2 -2
@@ -108,7 +108,7 @@ func AcceleratorParse(AcceleratorVar string, AcceleratorKeyVar uint, Accelerator
108108 return cret
109109 }
110110
111-var xAcceleratorParseWithKeycode func(string, uintptr, uint, uintptr, *gdk.ModifierType) bool
111+var xAcceleratorParseWithKeycode func(string, uintptr, uint, []uint, *gdk.ModifierType) bool
112112
113113 // Parses a string representing an accelerator.
114114 //
@@ -124,7 +124,7 @@ var xAcceleratorParseWithKeycode func(string, uintptr, uint, uintptr, *gdk.Modif
124124 //
125125 // If the parse fails, @accelerator_key, @accelerator_mods and
126126 // @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 {
128128
129129 cret := xAcceleratorParseWithKeycode(AcceleratorVar, DisplayVar.GoPointer(), AcceleratorKeyVar, AcceleratorCodesVar, AcceleratorModsVar)
130130 return cret
M v4/gtk/gtkaccessible.go +9 -9
@@ -40,11 +40,11 @@ type Accessible interface {
4040 ResetRelation(RelationVar AccessibleRelation)
4141 ResetState(StateVar AccessibleState)
4242 UpdateProperty(FirstPropertyVar AccessibleProperty, varArgs ...interface{})
43- UpdatePropertyValue(NPropertiesVar int, PropertiesVar uintptr, ValuesVar uintptr)
43+ UpdatePropertyValue(NPropertiesVar int, PropertiesVar []AccessibleProperty, ValuesVar []gobject.Value)
4444 UpdateRelation(FirstRelationVar AccessibleRelation, varArgs ...interface{})
45- UpdateRelationValue(NRelationsVar int, RelationsVar uintptr, ValuesVar uintptr)
45+ UpdateRelationValue(NRelationsVar int, RelationsVar []AccessibleRelation, ValuesVar []gobject.Value)
4646 UpdateState(FirstStateVar AccessibleState, varArgs ...interface{})
47- UpdateStateValue(NStatesVar int, StatesVar uintptr, ValuesVar uintptr)
47+ UpdateStateValue(NStatesVar int, StatesVar []AccessibleState, ValuesVar []gobject.Value)
4848 }
4949 type AccessibleBase struct {
5050 Ptr uintptr
@@ -116,7 +116,7 @@ func (x *AccessibleBase) UpdateProperty(FirstPropertyVar AccessibleProperty, var
116116 // property change must be communicated to assistive technologies.
117117 //
118118 // 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) {
120120
121121 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
122122
@@ -152,7 +152,7 @@ func (x *AccessibleBase) UpdateRelation(FirstRelationVar AccessibleRelation, var
152152 // relation change must be communicated to assistive technologies.
153153 //
154154 // 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) {
156156
157157 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
158158
@@ -185,7 +185,7 @@ func (x *AccessibleBase) UpdateState(FirstStateVar AccessibleState, varArgs ...i
185185 // state change must be communicated to assistive technologies.
186186 //
187187 // 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) {
189189
190190 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
191191
@@ -196,11 +196,11 @@ var XGtkAccessibleResetProperty func(uintptr, AccessibleProperty)
196196 var XGtkAccessibleResetRelation func(uintptr, AccessibleRelation)
197197 var XGtkAccessibleResetState func(uintptr, AccessibleState)
198198 var XGtkAccessibleUpdateProperty func(uintptr, AccessibleProperty, ...interface{})
199-var XGtkAccessibleUpdatePropertyValue func(uintptr, int, uintptr, uintptr)
199+var XGtkAccessibleUpdatePropertyValue func(uintptr, int, []AccessibleProperty, []gobject.Value)
200200 var XGtkAccessibleUpdateRelation func(uintptr, AccessibleRelation, ...interface{})
201-var XGtkAccessibleUpdateRelationValue func(uintptr, int, uintptr, uintptr)
201+var XGtkAccessibleUpdateRelationValue func(uintptr, int, []AccessibleRelation, []gobject.Value)
202202 var XGtkAccessibleUpdateState func(uintptr, AccessibleState, ...interface{})
203-var XGtkAccessibleUpdateStateValue func(uintptr, int, uintptr, uintptr)
203+var XGtkAccessibleUpdateStateValue func(uintptr, int, []AccessibleState, []gobject.Value)
204204
205205 var xAccessiblePropertyInitValue func(AccessibleProperty, *gobject.Value)
206206
M v4/gtk/gtkactionbar.go +3 -3
@@ -217,7 +217,7 @@ func (x *ActionBar) UpdateProperty(FirstPropertyVar AccessibleProperty, varArgs
217217 // property change must be communicated to assistive technologies.
218218 //
219219 // 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) {
221221
222222 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
223223
@@ -253,7 +253,7 @@ func (x *ActionBar) UpdateRelation(FirstRelationVar AccessibleRelation, varArgs
253253 // relation change must be communicated to assistive technologies.
254254 //
255255 // 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) {
257257
258258 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
259259
@@ -286,7 +286,7 @@ func (x *ActionBar) UpdateState(FirstStateVar AccessibleState, varArgs ...interf
286286 // state change must be communicated to assistive technologies.
287287 //
288288 // 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) {
290290
291291 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
292292
M v4/gtk/gtkappchooserbutton.go +3 -3
@@ -317,7 +317,7 @@ func (x *AppChooserButton) UpdateProperty(FirstPropertyVar AccessibleProperty, v
317317 // property change must be communicated to assistive technologies.
318318 //
319319 // 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) {
321321
322322 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
323323
@@ -353,7 +353,7 @@ func (x *AppChooserButton) UpdateRelation(FirstRelationVar AccessibleRelation, v
353353 // relation change must be communicated to assistive technologies.
354354 //
355355 // 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) {
357357
358358 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
359359
@@ -386,7 +386,7 @@ func (x *AppChooserButton) UpdateState(FirstStateVar AccessibleState, varArgs ..
386386 // state change must be communicated to assistive technologies.
387387 //
388388 // 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) {
390390
391391 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
392392
M v4/gtk/gtkappchooserdialog.go +3 -3
@@ -173,7 +173,7 @@ func (x *AppChooserDialog) UpdateProperty(FirstPropertyVar AccessibleProperty, v
173173 // property change must be communicated to assistive technologies.
174174 //
175175 // 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) {
177177
178178 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
179179
@@ -209,7 +209,7 @@ func (x *AppChooserDialog) UpdateRelation(FirstRelationVar AccessibleRelation, v
209209 // relation change must be communicated to assistive technologies.
210210 //
211211 // 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) {
213213
214214 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
215215
@@ -242,7 +242,7 @@ func (x *AppChooserDialog) UpdateState(FirstStateVar AccessibleState, varArgs ..
242242 // state change must be communicated to assistive technologies.
243243 //
244244 // 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) {
246246
247247 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
248248
M v4/gtk/gtkappchooserwidget.go +3 -3
@@ -292,7 +292,7 @@ func (x *AppChooserWidget) UpdateProperty(FirstPropertyVar AccessibleProperty, v
292292 // property change must be communicated to assistive technologies.
293293 //
294294 // 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) {
296296
297297 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
298298
@@ -328,7 +328,7 @@ func (x *AppChooserWidget) UpdateRelation(FirstRelationVar AccessibleRelation, v
328328 // relation change must be communicated to assistive technologies.
329329 //
330330 // 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) {
332332
333333 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
334334
@@ -361,7 +361,7 @@ func (x *AppChooserWidget) UpdateState(FirstStateVar AccessibleState, varArgs ..
361361 // state change must be communicated to assistive technologies.
362362 //
363363 // 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) {
365365
366366 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
367367
M v4/gtk/gtkapplication.go +5 -5
@@ -14,7 +14,7 @@ import (
1414 type ApplicationClass struct {
1515 ParentClass uintptr
1616
17- Padding uintptr
17+ Padding [8]uintptr
1818 }
1919
2020 func (x *ApplicationClass) GoPointer() uintptr {
@@ -360,7 +360,7 @@ func (x *Application) RemoveWindow(WindowVar *Window) {
360360
361361 }
362362
363-var xApplicationSetAccelsForAction func(uintptr, string, uintptr)
363+var xApplicationSetAccelsForAction func(uintptr, string, []string)
364364
365365 // Sets zero or more keyboard accelerators that will trigger the
366366 // given action.
@@ -373,7 +373,7 @@ var xApplicationSetAccelsForAction func(uintptr, string, uintptr)
373373 //
374374 // For the `detailed_action_name`, see `g_action_parse_detailed_name()` and
375375 // `g_action_print_detailed_name()`.
376-func (x *Application) SetAccelsForAction(DetailedActionNameVar string, AccelsVar uintptr) {
376+func (x *Application) SetAccelsForAction(DetailedActionNameVar string, AccelsVar []string) {
377377
378378 xApplicationSetAccelsForAction(x.GoPointer(), DetailedActionNameVar, AccelsVar)
379379
@@ -687,7 +687,7 @@ func (x *Application) HasAction(ActionNameVar string) bool {
687687 //
688688 // The caller is responsible for freeing the list with g_strfreev() when
689689 // it is no longer required.
690-func (x *Application) ListActions() uintptr {
690+func (x *Application) ListActions() []string {
691691
692692 cret := gio.XGActionGroupListActions(x.GoPointer())
693693 return cret
@@ -781,7 +781,7 @@ func (x *Application) AddAction(ActionVar gio.Action) {
781781 // }
782782 //
783783 // ]|
784-func (x *Application) AddActionEntries(EntriesVar uintptr, NEntriesVar int, UserDataVar uintptr) {
784+func (x *Application) AddActionEntries(EntriesVar []gio.ActionEntry, NEntriesVar int, UserDataVar uintptr) {
785785
786786 gio.XGActionMapAddActionEntries(x.GoPointer(), EntriesVar, NEntriesVar, UserDataVar)
787787
M v4/gtk/gtkapplicationwindow.go +6 -6
@@ -16,7 +16,7 @@ import (
1616 type ApplicationWindowClass struct {
1717 ParentClass uintptr
1818
19- Padding uintptr
19+ Padding [8]uintptr
2020 }
2121
2222 func (x *ApplicationWindowClass) GoPointer() uintptr {
@@ -386,7 +386,7 @@ func (x *ApplicationWindow) HasAction(ActionNameVar string) bool {
386386 //
387387 // The caller is responsible for freeing the list with g_strfreev() when
388388 // it is no longer required.
389-func (x *ApplicationWindow) ListActions() uintptr {
389+func (x *ApplicationWindow) ListActions() []string {
390390
391391 cret := gio.XGActionGroupListActions(x.GoPointer())
392392 return cret
@@ -480,7 +480,7 @@ func (x *ApplicationWindow) AddAction(ActionVar gio.Action) {
480480 // }
481481 //
482482 // ]|
483-func (x *ApplicationWindow) AddActionEntries(EntriesVar uintptr, NEntriesVar int, UserDataVar uintptr) {
483+func (x *ApplicationWindow) AddActionEntries(EntriesVar []gio.ActionEntry, NEntriesVar int, UserDataVar uintptr) {
484484
485485 gio.XGActionMapAddActionEntries(x.GoPointer(), EntriesVar, NEntriesVar, UserDataVar)
486486
@@ -570,7 +570,7 @@ func (x *ApplicationWindow) UpdateProperty(FirstPropertyVar AccessibleProperty,
570570 // property change must be communicated to assistive technologies.
571571 //
572572 // 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) {
574574
575575 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
576576
@@ -606,7 +606,7 @@ func (x *ApplicationWindow) UpdateRelation(FirstRelationVar AccessibleRelation,
606606 // relation change must be communicated to assistive technologies.
607607 //
608608 // 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) {
610610
611611 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
612612
@@ -639,7 +639,7 @@ func (x *ApplicationWindow) UpdateState(FirstStateVar AccessibleState, varArgs .
639639 // state change must be communicated to assistive technologies.
640640 //
641641 // 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) {
643643
644644 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
645645
M v4/gtk/gtkaspectframe.go +3 -3
@@ -213,7 +213,7 @@ func (x *AspectFrame) UpdateProperty(FirstPropertyVar AccessibleProperty, varArg
213213 // property change must be communicated to assistive technologies.
214214 //
215215 // 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) {
217217
218218 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
219219
@@ -249,7 +249,7 @@ func (x *AspectFrame) UpdateRelation(FirstRelationVar AccessibleRelation, varArg
249249 // relation change must be communicated to assistive technologies.
250250 //
251251 // 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) {
253253
254254 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
255255
@@ -282,7 +282,7 @@ func (x *AspectFrame) UpdateState(FirstStateVar AccessibleState, varArgs ...inte
282282 // state change must be communicated to assistive technologies.
283283 //
284284 // 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) {
286286
287287 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
288288
M v4/gtk/gtkassistant.go +3 -3
@@ -580,7 +580,7 @@ func (x *Assistant) UpdateProperty(FirstPropertyVar AccessibleProperty, varArgs
580580 // property change must be communicated to assistive technologies.
581581 //
582582 // 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) {
584584
585585 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
586586
@@ -616,7 +616,7 @@ func (x *Assistant) UpdateRelation(FirstRelationVar AccessibleRelation, varArgs
616616 // relation change must be communicated to assistive technologies.
617617 //
618618 // 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) {
620620
621621 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
622622
@@ -649,7 +649,7 @@ func (x *Assistant) UpdateState(FirstStateVar AccessibleState, varArgs ...interf
649649 // state change must be communicated to assistive technologies.
650650 //
651651 // 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) {
653653
654654 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
655655
M v4/gtk/gtkbitset.go +1 -1
@@ -15,7 +15,7 @@ import (
1515 // [func@Gtk.BitsetIter.init_first], [func@Gtk.BitsetIter.init_last]
1616 // or [func@Gtk.BitsetIter.init_at].
1717 type BitsetIter struct {
18- PrivateData uintptr
18+ PrivateData [10]uintptr
1919 }
2020
2121 func (x *BitsetIter) GoPointer() uintptr {
M v4/gtk/gtkbookmarklist.go +2 -1
@@ -8,6 +8,7 @@ import (
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/gio"
1010 "github.com/jwijenbergh/puregotk/v4/gobject"
11+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1112 )
1213
1314 type BookmarkListClass struct {
@@ -147,7 +148,7 @@ func (x *BookmarkList) GetItem(PositionVar uint) uintptr {
147148 //
148149 // The item type of a #GListModel can not change during the life of the
149150 // model.
150-func (x *BookmarkList) GetItemType() []interface{} {
151+func (x *BookmarkList) GetItemType() types.GType {
151152
152153 cret := gio.XGListModelGetItemType(x.GoPointer())
153154 return cret
M v4/gtk/gtkbox.go +4 -4
@@ -12,7 +12,7 @@ import (
1212 type BoxClass struct {
1313 ParentClass uintptr
1414
15- Padding uintptr
15+ Padding [8]uintptr
1616 }
1717
1818 func (x *BoxClass) GoPointer() uintptr {
@@ -261,7 +261,7 @@ func (x *Box) UpdateProperty(FirstPropertyVar AccessibleProperty, varArgs ...int
261261 // property change must be communicated to assistive technologies.
262262 //
263263 // 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) {
265265
266266 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
267267
@@ -297,7 +297,7 @@ func (x *Box) UpdateRelation(FirstRelationVar AccessibleRelation, varArgs ...int
297297 // relation change must be communicated to assistive technologies.
298298 //
299299 // 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) {
301301
302302 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
303303
@@ -330,7 +330,7 @@ func (x *Box) UpdateState(FirstStateVar AccessibleState, varArgs ...interface{})
330330 // state change must be communicated to assistive technologies.
331331 //
332332 // 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) {
334334
335335 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
336336
M v4/gtk/gtkbuildable.go +3 -3
@@ -40,7 +40,7 @@ func (x *BuildableParseContext) GetElement() string {
4040 return cret
4141 }
4242
43-var xBuildableParseContextGetElementStack func(uintptr) uintptr
43+var xBuildableParseContextGetElementStack func(uintptr) []string
4444
4545 // Retrieves the element stack from the internal state of the parser.
4646 //
@@ -53,7 +53,7 @@ var xBuildableParseContextGetElementStack func(uintptr) uintptr
5353 // end_element handlers where gtk_buildable_parse_context_get_element()
5454 // would merely return the name of the element that is being
5555 // processed.
56-func (x *BuildableParseContext) GetElementStack() uintptr {
56+func (x *BuildableParseContext) GetElementStack() []string {
5757
5858 cret := xBuildableParseContextGetElementStack(x.GoPointer())
5959 return cret
@@ -131,7 +131,7 @@ func (x *BuildableParseContext) Push(ParserVar *BuildableParser, UserDataVar uin
131131
132132 // A sub-parser for `GtkBuildable` implementations.
133133 type BuildableParser struct {
134- Padding uintptr
134+ Padding [4]uintptr
135135 }
136136
137137 func (x *BuildableParser) GoPointer() uintptr {
M v4/gtk/gtkbuilder.go +7 -6
@@ -8,6 +8,7 @@ import (
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/glib"
1010 "github.com/jwijenbergh/puregotk/v4/gobject"
11+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1112 )
1213
1314 type BuilderClass struct {
@@ -534,14 +535,14 @@ func (x *Builder) ExposeObject(NameVar string, ObjectVar *gobject.Object) {
534535
535536 }
536537
537-var xBuilderExtendWithTemplate func(uintptr, uintptr, []interface{}, string, int, **glib.Error) bool
538+var xBuilderExtendWithTemplate func(uintptr, uintptr, types.GType, string, int, **glib.Error) bool
538539
539540 // Main private entry point for building composite components
540541 // from template XML.
541542 //
542543 // Most likely you do not need to call this function in applications as
543544 // 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) {
545546 var cerr *glib.Error
546547
547548 cret := xBuilderExtendWithTemplate(x.GoPointer(), ObjectVar.GoPointer(), TemplateTypeVar, BufferVar, LengthVar, &cerr)
@@ -627,14 +628,14 @@ func (x *Builder) GetTranslationDomain() string {
627628 return cret
628629 }
629630
630-var xBuilderGetTypeFromName func(uintptr, string) []interface{}
631+var xBuilderGetTypeFromName func(uintptr, string) types.GType
631632
632633 // Looks up a type by name.
633634 //
634635 // This is using the virtual function that `GtkBuilder` has
635636 // for that purpose. This is mainly used when implementing
636637 // the `GtkBuildable` interface on a type.
637-func (x *Builder) GetTypeFromName(TypeNameVar string) []interface{} {
638+func (x *Builder) GetTypeFromName(TypeNameVar string) types.GType {
638639
639640 cret := xBuilderGetTypeFromName(x.GoPointer(), TypeNameVar)
640641 return cret
@@ -701,7 +702,7 @@ func (x *Builder) ValueFromString(PspecVar *gobject.ParamSpec, StringVar string,
701702
702703 }
703704
704-var xBuilderValueFromStringType func(uintptr, []interface{}, string, *gobject.Value, **glib.Error) bool
705+var xBuilderValueFromStringType func(uintptr, types.GType, string, *gobject.Value, **glib.Error) bool
705706
706707 // Demarshals a value from a string.
707708 //
@@ -713,7 +714,7 @@ var xBuilderValueFromStringType func(uintptr, []interface{}, string, *gobject.Va
713714 //
714715 // Upon errors %FALSE will be returned and @error will be
715716 // 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) {
717718 var cerr *glib.Error
718719
719720 cret := xBuilderValueFromStringType(x.GoPointer(), TypeVar, StringVar, ValueVar, &cerr)
M v4/gtk/gtkbutton.go +4 -4
@@ -13,7 +13,7 @@ import (
1313 type ButtonClass struct {
1414 ParentClass uintptr
1515
16- Padding uintptr
16+ Padding [8]uintptr
1717 }
1818
1919 func (x *ButtonClass) GoPointer() uintptr {
@@ -379,7 +379,7 @@ func (x *Button) UpdateProperty(FirstPropertyVar AccessibleProperty, varArgs ...
379379 // property change must be communicated to assistive technologies.
380380 //
381381 // 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) {
383383
384384 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
385385
@@ -415,7 +415,7 @@ func (x *Button) UpdateRelation(FirstRelationVar AccessibleRelation, varArgs ...
415415 // relation change must be communicated to assistive technologies.
416416 //
417417 // 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) {
419419
420420 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
421421
@@ -448,7 +448,7 @@ func (x *Button) UpdateState(FirstStateVar AccessibleState, varArgs ...interface
448448 // state change must be communicated to assistive technologies.
449449 //
450450 // 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) {
452452
453453 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
454454
M v4/gtk/gtkcalendar.go +3 -3
@@ -379,7 +379,7 @@ func (x *Calendar) UpdateProperty(FirstPropertyVar AccessibleProperty, varArgs .
379379 // property change must be communicated to assistive technologies.
380380 //
381381 // 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) {
383383
384384 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
385385
@@ -415,7 +415,7 @@ func (x *Calendar) UpdateRelation(FirstRelationVar AccessibleRelation, varArgs .
415415 // relation change must be communicated to assistive technologies.
416416 //
417417 // 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) {
419419
420420 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
421421
@@ -448,7 +448,7 @@ func (x *Calendar) UpdateState(FirstStateVar AccessibleState, varArgs ...interfa
448448 // state change must be communicated to assistive technologies.
449449 //
450450 // 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) {
452452
453453 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
454454
M v4/gtk/gtkcellarea.go +1 -1
@@ -23,7 +23,7 @@ type CellCallback func(uintptr, uintptr) bool
2323 type CellAreaClass struct {
2424 ParentClass uintptr
2525
26- Padding uintptr
26+ Padding [8]uintptr
2727 }
2828
2929 func (x *CellAreaClass) GoPointer() uintptr {
M v4/gtk/gtkcellareacontext.go +1 -1
@@ -12,7 +12,7 @@ import (
1212 type CellAreaContextClass struct {
1313 ParentClass uintptr
1414
15- Padding uintptr
15+ Padding [8]uintptr
1616 }
1717
1818 func (x *CellAreaContextClass) GoPointer() uintptr {
M v4/gtk/gtkcellrenderer.go +1 -1
@@ -14,7 +14,7 @@ import (
1414 type CellRendererClass struct {
1515 ParentClass uintptr
1616
17- Padding uintptr
17+ Padding [8]uintptr
1818 }
1919
2020 func (x *CellRendererClass) GoPointer() uintptr {
M v4/gtk/gtkcellrenderertext.go +1 -1
@@ -13,7 +13,7 @@ import (
1313 type CellRendererTextClass struct {
1414 ParentClass uintptr
1515
16- Padding uintptr
16+ Padding [8]uintptr
1717 }
1818
1919 func (x *CellRendererTextClass) GoPointer() uintptr {
M v4/gtk/gtkcellview.go +3 -3
@@ -298,7 +298,7 @@ func (x *CellView) UpdateProperty(FirstPropertyVar AccessibleProperty, varArgs .
298298 // property change must be communicated to assistive technologies.
299299 //
300300 // 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) {
302302
303303 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
304304
@@ -334,7 +334,7 @@ func (x *CellView) UpdateRelation(FirstRelationVar AccessibleRelation, varArgs .
334334 // relation change must be communicated to assistive technologies.
335335 //
336336 // 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) {
338338
339339 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
340340
@@ -367,7 +367,7 @@ func (x *CellView) UpdateState(FirstStateVar AccessibleState, varArgs ...interfa
367367 // state change must be communicated to assistive technologies.
368368 //
369369 // 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) {
371371
372372 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
373373
M v4/gtk/gtkcenterbox.go +3 -3
@@ -249,7 +249,7 @@ func (x *CenterBox) UpdateProperty(FirstPropertyVar AccessibleProperty, varArgs
249249 // property change must be communicated to assistive technologies.
250250 //
251251 // 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) {
253253
254254 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
255255
@@ -285,7 +285,7 @@ func (x *CenterBox) UpdateRelation(FirstRelationVar AccessibleRelation, varArgs
285285 // relation change must be communicated to assistive technologies.
286286 //
287287 // 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) {
289289
290290 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
291291
@@ -318,7 +318,7 @@ func (x *CenterBox) UpdateState(FirstStateVar AccessibleState, varArgs ...interf
318318 // state change must be communicated to assistive technologies.
319319 //
320320 // 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) {
322322
323323 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
324324
M v4/gtk/gtkcheckbutton.go +4 -4
@@ -13,7 +13,7 @@ import (
1313 type CheckButtonClass struct {
1414 ParentClass uintptr
1515
16- Padding uintptr
16+ Padding [7]uintptr
1717 }
1818
1919 func (x *CheckButtonClass) GoPointer() uintptr {
@@ -384,7 +384,7 @@ func (x *CheckButton) UpdateProperty(FirstPropertyVar AccessibleProperty, varArg
384384 // property change must be communicated to assistive technologies.
385385 //
386386 // 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) {
388388
389389 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
390390
@@ -420,7 +420,7 @@ func (x *CheckButton) UpdateRelation(FirstRelationVar AccessibleRelation, varArg
420420 // relation change must be communicated to assistive technologies.
421421 //
422422 // 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) {
424424
425425 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
426426
@@ -453,7 +453,7 @@ func (x *CheckButton) UpdateState(FirstStateVar AccessibleState, varArgs ...inte
453453 // state change must be communicated to assistive technologies.
454454 //
455455 // 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) {
457457
458458 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
459459
M v4/gtk/gtkcolorbutton.go +4 -4
@@ -233,7 +233,7 @@ func (x *ColorButton) UpdateProperty(FirstPropertyVar AccessibleProperty, varArg
233233 // property change must be communicated to assistive technologies.
234234 //
235235 // 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) {
237237
238238 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
239239
@@ -269,7 +269,7 @@ func (x *ColorButton) UpdateRelation(FirstRelationVar AccessibleRelation, varArg
269269 // relation change must be communicated to assistive technologies.
270270 //
271271 // 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) {
273273
274274 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
275275
@@ -302,7 +302,7 @@ func (x *ColorButton) UpdateState(FirstStateVar AccessibleState, varArgs ...inte
302302 // state change must be communicated to assistive technologies.
303303 //
304304 // 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) {
306306
307307 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
308308
@@ -335,7 +335,7 @@ func (x *ColorButton) GetBuildableId() string {
335335 // of removing the default color palette from the color chooser.
336336 //
337337 // 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) {
339339
340340 XGtkColorChooserAddPalette(x.GoPointer(), OrientationVar, ColorsPerLineVar, NColorsVar, ColorsVar)
341341
M v4/gtk/gtkcolorchooser.go +4 -4
@@ -12,7 +12,7 @@ import (
1212 type ColorChooserInterface struct {
1313 BaseInterface uintptr
1414
15- Padding uintptr
15+ Padding [12]uintptr
1616 }
1717
1818 func (x *ColorChooserInterface) GoPointer() uintptr {
@@ -30,7 +30,7 @@ func (x *ColorChooserInterface) GoPointer() uintptr {
3030 type ColorChooser interface {
3131 GoPointer() uintptr
3232 SetGoPointer(uintptr)
33- AddPalette(OrientationVar Orientation, ColorsPerLineVar int, NColorsVar int, ColorsVar uintptr)
33+ AddPalette(OrientationVar Orientation, ColorsPerLineVar int, NColorsVar int, ColorsVar []gdk.RGBA)
3434 GetRgba(ColorVar *gdk.RGBA)
3535 GetUseAlpha() bool
3636 SetRgba(ColorVar *gdk.RGBA)
@@ -65,7 +65,7 @@ func (x *ColorChooserBase) SetGoPointer(ptr uintptr) {
6565 // of removing the default color palette from the color chooser.
6666 //
6767 // 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) {
6969
7070 XGtkColorChooserAddPalette(x.GoPointer(), OrientationVar, ColorsPerLineVar, NColorsVar, ColorsVar)
7171
@@ -99,7 +99,7 @@ func (x *ColorChooserBase) SetUseAlpha(UseAlphaVar bool) {
9999
100100 }
101101
102-var XGtkColorChooserAddPalette func(uintptr, Orientation, int, int, uintptr)
102+var XGtkColorChooserAddPalette func(uintptr, Orientation, int, int, []gdk.RGBA)
103103 var XGtkColorChooserGetRgba func(uintptr, *gdk.RGBA)
104104 var XGtkColorChooserGetUseAlpha func(uintptr) bool
105105 var XGtkColorChooserSetRgba func(uintptr, *gdk.RGBA)
M v4/gtk/gtkcolorchooserdialog.go +4 -4
@@ -114,7 +114,7 @@ func (x *ColorChooserDialog) UpdateProperty(FirstPropertyVar AccessibleProperty,
114114 // property change must be communicated to assistive technologies.
115115 //
116116 // 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) {
118118
119119 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
120120
@@ -150,7 +150,7 @@ func (x *ColorChooserDialog) UpdateRelation(FirstRelationVar AccessibleRelation,
150150 // relation change must be communicated to assistive technologies.
151151 //
152152 // 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) {
154154
155155 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
156156
@@ -183,7 +183,7 @@ func (x *ColorChooserDialog) UpdateState(FirstStateVar AccessibleState, varArgs
183183 // state change must be communicated to assistive technologies.
184184 //
185185 // 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) {
187187
188188 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
189189
@@ -216,7 +216,7 @@ func (x *ColorChooserDialog) GetBuildableId() string {
216216 // of removing the default color palette from the color chooser.
217217 //
218218 // 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) {
220220
221221 XGtkColorChooserAddPalette(x.GoPointer(), OrientationVar, ColorsPerLineVar, NColorsVar, ColorsVar)
222222
M v4/gtk/gtkcolorchooserwidget.go +4 -4
@@ -125,7 +125,7 @@ func (x *ColorChooserWidget) UpdateProperty(FirstPropertyVar AccessibleProperty,
125125 // property change must be communicated to assistive technologies.
126126 //
127127 // 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) {
129129
130130 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
131131
@@ -161,7 +161,7 @@ func (x *ColorChooserWidget) UpdateRelation(FirstRelationVar AccessibleRelation,
161161 // relation change must be communicated to assistive technologies.
162162 //
163163 // 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) {
165165
166166 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
167167
@@ -194,7 +194,7 @@ func (x *ColorChooserWidget) UpdateState(FirstStateVar AccessibleState, varArgs
194194 // state change must be communicated to assistive technologies.
195195 //
196196 // 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) {
198198
199199 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
200200
@@ -227,7 +227,7 @@ func (x *ColorChooserWidget) GetBuildableId() string {
227227 // of removing the default color palette from the color chooser.
228228 //
229229 // 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) {
231231
232232 XGtkColorChooserAddPalette(x.GoPointer(), OrientationVar, ColorsPerLineVar, NColorsVar, ColorsVar)
233233
M v4/gtk/gtkcolumnview.go +3 -3
@@ -433,7 +433,7 @@ func (x *ColumnView) UpdateProperty(FirstPropertyVar AccessibleProperty, varArgs
433433 // property change must be communicated to assistive technologies.
434434 //
435435 // 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) {
437437
438438 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
439439
@@ -469,7 +469,7 @@ func (x *ColumnView) UpdateRelation(FirstRelationVar AccessibleRelation, varArgs
469469 // relation change must be communicated to assistive technologies.
470470 //
471471 // 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) {
473473
474474 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
475475
@@ -502,7 +502,7 @@ func (x *ColumnView) UpdateState(FirstStateVar AccessibleState, varArgs ...inter
502502 // state change must be communicated to assistive technologies.
503503 //
504504 // 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) {
506506
507507 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
508508
M v4/gtk/gtkcombobox.go +4 -4
@@ -14,7 +14,7 @@ import (
1414 type ComboBoxClass struct {
1515 ParentClass uintptr
1616
17- Padding uintptr
17+ Padding [7]uintptr
1818 }
1919
2020 func (x *ComboBoxClass) GoPointer() uintptr {
@@ -707,7 +707,7 @@ func (x *ComboBox) UpdateProperty(FirstPropertyVar AccessibleProperty, varArgs .
707707 // property change must be communicated to assistive technologies.
708708 //
709709 // 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) {
711711
712712 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
713713
@@ -743,7 +743,7 @@ func (x *ComboBox) UpdateRelation(FirstRelationVar AccessibleRelation, varArgs .
743743 // relation change must be communicated to assistive technologies.
744744 //
745745 // 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) {
747747
748748 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
749749
@@ -776,7 +776,7 @@ func (x *ComboBox) UpdateState(FirstStateVar AccessibleState, varArgs ...interfa
776776 // state change must be communicated to assistive technologies.
777777 //
778778 // 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) {
780780
781781 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
782782
M v4/gtk/gtkcomboboxtext.go +3 -3
@@ -290,7 +290,7 @@ func (x *ComboBoxText) UpdateProperty(FirstPropertyVar AccessibleProperty, varAr
290290 // property change must be communicated to assistive technologies.
291291 //
292292 // 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) {
294294
295295 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
296296
@@ -326,7 +326,7 @@ func (x *ComboBoxText) UpdateRelation(FirstRelationVar AccessibleRelation, varAr
326326 // relation change must be communicated to assistive technologies.
327327 //
328328 // 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) {
330330
331331 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
332332
@@ -359,7 +359,7 @@ func (x *ComboBoxText) UpdateState(FirstStateVar AccessibleState, varArgs ...int
359359 // state change must be communicated to assistive technologies.
360360 //
361361 // 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) {
363363
364364 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
365365
M v4/gtk/gtkconstraintlayout.go +4 -4
@@ -250,20 +250,20 @@ func (x *ConstraintLayout) AddConstraint(ConstraintVar *Constraint) {
250250
251251 }
252252
253-var xConstraintLayoutAddConstraintsFromDescription func(uintptr, uintptr, uint, int, int, **glib.Error, string, ...interface{}) *glib.List
253+var xConstraintLayoutAddConstraintsFromDescription func(uintptr, []string, uint, int, int, **glib.Error, string, ...interface{}) *glib.List
254254
255255 // Creates a list of constraints from a VFL description.
256256 //
257257 // This function is a convenience wrapper around
258258 // [method@Gtk.ConstraintLayout.add_constraints_from_descriptionv], using
259259 // 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 {
261261
262262 cret := xConstraintLayoutAddConstraintsFromDescription(x.GoPointer(), LinesVar, NLinesVar, HspacingVar, VspacingVar, ErrorVar, FirstViewVar, varArgs...)
263263 return cret
264264 }
265265
266-var xConstraintLayoutAddConstraintsFromDescriptionv func(uintptr, uintptr, uint, int, int, *glib.HashTable, **glib.Error) *glib.List
266+var xConstraintLayoutAddConstraintsFromDescriptionv func(uintptr, []string, uint, int, int, *glib.HashTable, **glib.Error) *glib.List
267267
268268 // Creates a list of constraints from a VFL description.
269269 //
@@ -346,7 +346,7 @@ var xConstraintLayoutAddConstraintsFromDescriptionv func(uintptr, uintptr, uint,
346346 // [button1(==button2.height)]
347347 //
348348 // ```
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) {
350350 var cerr *glib.Error
351351
352352 cret := xConstraintLayoutAddConstraintsFromDescriptionv(x.GoPointer(), LinesVar, NLinesVar, HspacingVar, VspacingVar, ViewsVar, &cerr)
M v4/gtk/gtkdialog.go +4 -4
@@ -15,7 +15,7 @@ import (
1515 type DialogClass struct {
1616 ParentClass uintptr
1717
18- Padding uintptr
18+ Padding [8]uintptr
1919 }
2020
2121 func (x *DialogClass) GoPointer() uintptr {
@@ -543,7 +543,7 @@ func (x *Dialog) UpdateProperty(FirstPropertyVar AccessibleProperty, varArgs ...
543543 // property change must be communicated to assistive technologies.
544544 //
545545 // 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) {
547547
548548 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
549549
@@ -579,7 +579,7 @@ func (x *Dialog) UpdateRelation(FirstRelationVar AccessibleRelation, varArgs ...
579579 // relation change must be communicated to assistive technologies.
580580 //
581581 // 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) {
583583
584584 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
585585
@@ -612,7 +612,7 @@ func (x *Dialog) UpdateState(FirstStateVar AccessibleState, varArgs ...interface
612612 // state change must be communicated to assistive technologies.
613613 //
614614 // 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) {
616616
617617 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
618618
M v4/gtk/gtkdirectorylist.go +2 -1
@@ -9,6 +9,7 @@ import (
99 "github.com/jwijenbergh/puregotk/v4/gio"
1010 "github.com/jwijenbergh/puregotk/v4/glib"
1111 "github.com/jwijenbergh/puregotk/v4/gobject"
12+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1213 )
1314
1415 type DirectoryListClass struct {
@@ -234,7 +235,7 @@ func (x *DirectoryList) GetItem(PositionVar uint) uintptr {
234235 //
235236 // The item type of a #GListModel can not change during the life of the
236237 // model.
237-func (x *DirectoryList) GetItemType() []interface{} {
238+func (x *DirectoryList) GetItemType() types.GType {
238239
239240 cret := gio.XGListModelGetItemType(x.GoPointer())
240241 return cret
M v4/gtk/gtkdragicon.go +3 -3
@@ -132,7 +132,7 @@ func (x *DragIcon) UpdateProperty(FirstPropertyVar AccessibleProperty, varArgs .
132132 // property change must be communicated to assistive technologies.
133133 //
134134 // 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) {
136136
137137 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
138138
@@ -168,7 +168,7 @@ func (x *DragIcon) UpdateRelation(FirstRelationVar AccessibleRelation, varArgs .
168168 // relation change must be communicated to assistive technologies.
169169 //
170170 // 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) {
172172
173173 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
174174
@@ -201,7 +201,7 @@ func (x *DragIcon) UpdateState(FirstStateVar AccessibleState, varArgs ...interfa
201201 // state change must be communicated to assistive technologies.
202202 //
203203 // 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) {
205205
206206 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
207207
M v4/gtk/gtkdrawingarea.go +4 -4
@@ -20,7 +20,7 @@ type DrawingAreaDrawFunc func(uintptr, *cairo.Context, int, int, uintptr)
2020 type DrawingAreaClass struct {
2121 ParentClass uintptr
2222
23- Padding uintptr
23+ Padding [8]uintptr
2424 }
2525
2626 func (x *DrawingAreaClass) GoPointer() uintptr {
@@ -301,7 +301,7 @@ func (x *DrawingArea) UpdateProperty(FirstPropertyVar AccessibleProperty, varArg
301301 // property change must be communicated to assistive technologies.
302302 //
303303 // 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) {
305305
306306 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
307307
@@ -337,7 +337,7 @@ func (x *DrawingArea) UpdateRelation(FirstRelationVar AccessibleRelation, varArg
337337 // relation change must be communicated to assistive technologies.
338338 //
339339 // 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) {
341341
342342 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
343343
@@ -370,7 +370,7 @@ func (x *DrawingArea) UpdateState(FirstStateVar AccessibleState, varArgs ...inte
370370 // state change must be communicated to assistive technologies.
371371 //
372372 // 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) {
374374
375375 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
376376
M v4/gtk/gtkdropdown.go +5 -5
@@ -93,11 +93,11 @@ func NewDropDown(ModelVar gio.ListModel, ExpressionVar *Expression) *DropDown {
9393 return cls
9494 }
9595
96-var xNewDropDownFromStrings func(uintptr) uintptr
96+var xNewDropDownFromStrings func([]string) uintptr
9797
9898 // Creates a new `GtkDropDown` that is populated with
9999 // the strings.
100-func NewDropDownFromStrings(StringsVar uintptr) *DropDown {
100+func NewDropDownFromStrings(StringsVar []string) *DropDown {
101101 var cls *DropDown
102102
103103 cret := xNewDropDownFromStrings(StringsVar)
@@ -388,7 +388,7 @@ func (x *DropDown) UpdateProperty(FirstPropertyVar AccessibleProperty, varArgs .
388388 // property change must be communicated to assistive technologies.
389389 //
390390 // 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) {
392392
393393 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
394394
@@ -424,7 +424,7 @@ func (x *DropDown) UpdateRelation(FirstRelationVar AccessibleRelation, varArgs .
424424 // relation change must be communicated to assistive technologies.
425425 //
426426 // 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) {
428428
429429 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
430430
@@ -457,7 +457,7 @@ func (x *DropDown) UpdateState(FirstStateVar AccessibleState, varArgs ...interfa
457457 // state change must be communicated to assistive technologies.
458458 //
459459 // 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) {
461461
462462 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
463463
M v4/gtk/gtkdroptarget.go +7 -6
@@ -9,6 +9,7 @@ import (
99 "github.com/jwijenbergh/puregotk/v4/gdk"
1010 "github.com/jwijenbergh/puregotk/v4/glib"
1111 "github.com/jwijenbergh/puregotk/v4/gobject"
12+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1213 )
1314
1415 type DropTargetClass struct {
@@ -103,14 +104,14 @@ func DropTargetNewFromInternalPtr(ptr uintptr) *DropTarget {
103104 return cls
104105 }
105106
106-var xNewDropTarget func([]interface{}, gdk.DragAction) uintptr
107+var xNewDropTarget func(types.GType, gdk.DragAction) uintptr
107108
108109 // Creates a new `GtkDropTarget` object.
109110 //
110111 // If the drop target should support more than 1 type, pass
111112 // %G_TYPE_INVALID for @type and then call
112113 // [method@Gtk.DropTarget.set_gtypes].
113-func NewDropTarget(TypeVar []interface{}, ActionsVar gdk.DragAction) *DropTarget {
114+func NewDropTarget(TypeVar types.GType, ActionsVar gdk.DragAction) *DropTarget {
114115 var cls *DropTarget
115116
116117 cret := xNewDropTarget(TypeVar, ActionsVar)
@@ -181,12 +182,12 @@ func (x *DropTarget) GetFormats() *gdk.ContentFormats {
181182 return cret
182183 }
183184
184-var xDropTargetGetGtypes func(uintptr, uint) uintptr
185+var xDropTargetGetGtypes func(uintptr, uint) []types.GType
185186
186187 // Gets the list of supported `GType`s that can be dropped on the target.
187188 //
188189 // 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 {
190191
191192 cret := xDropTargetGetGtypes(x.GoPointer(), NTypesVar)
192193 return cret
@@ -235,10 +236,10 @@ func (x *DropTarget) SetActions(ActionsVar gdk.DragAction) {
235236
236237 }
237238
238-var xDropTargetSetGtypes func(uintptr, uintptr, uint)
239+var xDropTargetSetGtypes func(uintptr, []types.GType, uint)
239240
240241 // 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) {
242243
243244 xDropTargetSetGtypes(x.GoPointer(), TypesVar, NTypesVar)
244245
M v4/gtk/gtkeditablelabel.go +3 -3
@@ -172,7 +172,7 @@ func (x *EditableLabel) UpdateProperty(FirstPropertyVar AccessibleProperty, varA
172172 // property change must be communicated to assistive technologies.
173173 //
174174 // 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) {
176176
177177 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
178178
@@ -208,7 +208,7 @@ func (x *EditableLabel) UpdateRelation(FirstRelationVar AccessibleRelation, varA
208208 // relation change must be communicated to assistive technologies.
209209 //
210210 // 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) {
212212
213213 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
214214
@@ -241,7 +241,7 @@ func (x *EditableLabel) UpdateState(FirstStateVar AccessibleState, varArgs ...in
241241 // state change must be communicated to assistive technologies.
242242 //
243243 // 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) {
245245
246246 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
247247
M v4/gtk/gtkemojichooser.go +3 -3
@@ -162,7 +162,7 @@ func (x *EmojiChooser) UpdateProperty(FirstPropertyVar AccessibleProperty, varAr
162162 // property change must be communicated to assistive technologies.
163163 //
164164 // 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) {
166166
167167 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
168168
@@ -198,7 +198,7 @@ func (x *EmojiChooser) UpdateRelation(FirstRelationVar AccessibleRelation, varAr
198198 // relation change must be communicated to assistive technologies.
199199 //
200200 // 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) {
202202
203203 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
204204
@@ -231,7 +231,7 @@ func (x *EmojiChooser) UpdateState(FirstStateVar AccessibleState, varArgs ...int
231231 // state change must be communicated to assistive technologies.
232232 //
233233 // 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) {
235235
236236 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
237237
M v4/gtk/gtkentry.go +4 -4
@@ -21,7 +21,7 @@ import (
2121 type EntryClass struct {
2222 ParentClass uintptr
2323
24- Padding uintptr
24+ Padding [8]uintptr
2525 }
2626
2727 func (x *EntryClass) GoPointer() uintptr {
@@ -1035,7 +1035,7 @@ func (x *Entry) UpdateProperty(FirstPropertyVar AccessibleProperty, varArgs ...i
10351035 // property change must be communicated to assistive technologies.
10361036 //
10371037 // 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) {
10391039
10401040 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
10411041
@@ -1071,7 +1071,7 @@ func (x *Entry) UpdateRelation(FirstRelationVar AccessibleRelation, varArgs ...i
10711071 // relation change must be communicated to assistive technologies.
10721072 //
10731073 // 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) {
10751075
10761076 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
10771077
@@ -1104,7 +1104,7 @@ func (x *Entry) UpdateState(FirstStateVar AccessibleState, varArgs ...interface{
11041104 // state change must be communicated to assistive technologies.
11051105 //
11061106 // 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) {
11081108
11091109 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
11101110
M v4/gtk/gtkexpander.go +3 -3
@@ -406,7 +406,7 @@ func (x *Expander) UpdateProperty(FirstPropertyVar AccessibleProperty, varArgs .
406406 // property change must be communicated to assistive technologies.
407407 //
408408 // 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) {
410410
411411 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
412412
@@ -442,7 +442,7 @@ func (x *Expander) UpdateRelation(FirstRelationVar AccessibleRelation, varArgs .
442442 // relation change must be communicated to assistive technologies.
443443 //
444444 // 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) {
446446
447447 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
448448
@@ -475,7 +475,7 @@ func (x *Expander) UpdateState(FirstStateVar AccessibleState, varArgs ...interfa
475475 // state change must be communicated to assistive technologies.
476476 //
477477 // 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) {
479479
480480 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
481481
M v4/gtk/gtkexpression.go +11 -10
@@ -8,6 +8,7 @@ import (
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/glib"
1010 "github.com/jwijenbergh/puregotk/v4/gobject"
11+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1112 )
1213
1314 // Callback called by gtk_expression_watch() when the
@@ -156,14 +157,14 @@ func CClosureExpressionNewFromInternalPtr(ptr uintptr) *CClosureExpression {
156157 return cls
157158 }
158159
159-var xNewCClosureExpression func([]interface{}, uintptr, uint, uintptr, uintptr, uintptr, uintptr) uintptr
160+var xNewCClosureExpression func(types.GType, uintptr, uint, uintptr, uintptr, uintptr, uintptr) uintptr
160161
161162 // Creates a `GtkExpression` that calls `callback_func` when it is evaluated.
162163 //
163164 // This function is a variant of [ctor@Gtk.ClosureExpression.new] that
164165 // creates a `GClosure` by calling g_cclosure_new() with the given
165166 // `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 {
167168 var cls *CClosureExpression
168169
169170 cret := xNewCClosureExpression(ValueTypeVar, glib.NewCallback(MarshalVar), NParamsVar, ParamsVar, glib.NewCallback(CallbackFuncVar), UserDataVar, glib.NewCallback(UserDestroyVar))
@@ -196,13 +197,13 @@ func ClosureExpressionNewFromInternalPtr(ptr uintptr) *ClosureExpression {
196197 return cls
197198 }
198199
199-var xNewClosureExpression func([]interface{}, *gobject.Closure, uint, uintptr) uintptr
200+var xNewClosureExpression func(types.GType, *gobject.Closure, uint, uintptr) uintptr
200201
201202 // Creates a `GtkExpression` that calls `closure` when it is evaluated.
202203 //
203204 // `closure` is called with the `this` object and the results of evaluating
204205 // 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 {
206207 var cls *ClosureExpression
207208
208209 cret := xNewClosureExpression(ValueTypeVar, ClosureVar, NParamsVar, ParamsVar)
@@ -234,11 +235,11 @@ func ConstantExpressionNewFromInternalPtr(ptr uintptr) *ConstantExpression {
234235 return cls
235236 }
236237
237-var xNewConstantExpression func([]interface{}, ...interface{}) uintptr
238+var xNewConstantExpression func(types.GType, ...interface{}) uintptr
238239
239240 // Creates a `GtkExpression` that evaluates to the
240241 // object given by the arguments.
241-func NewConstantExpression(ValueTypeVar []interface{}, varArgs ...interface{}) *ConstantExpression {
242+func NewConstantExpression(ValueTypeVar types.GType, varArgs ...interface{}) *ConstantExpression {
242243 var cls *ConstantExpression
243244
244245 cret := xNewConstantExpression(ValueTypeVar, varArgs...)
@@ -473,13 +474,13 @@ func (x *Expression) Evaluate(ThisVar *gobject.Object, ValueVar *gobject.Value)
473474 return cret
474475 }
475476
476-var xExpressionGetValueType func(uintptr) []interface{}
477+var xExpressionGetValueType func(uintptr) types.GType
477478
478479 // Gets the `GType` that this expression evaluates to.
479480 //
480481 // This type is constant and will not change over the lifetime
481482 // of this expression.
482-func (x *Expression) GetValueType() []interface{} {
483+func (x *Expression) GetValueType() types.GType {
483484
484485 cret := xExpressionGetValueType(x.GoPointer())
485486 return cret
@@ -640,7 +641,7 @@ func PropertyExpressionNewFromInternalPtr(ptr uintptr) *PropertyExpression {
640641 return cls
641642 }
642643
643-var xNewPropertyExpression func([]interface{}, uintptr, string) uintptr
644+var xNewPropertyExpression func(types.GType, uintptr, string) uintptr
644645
645646 // Creates an expression that looks up a property.
646647 //
@@ -652,7 +653,7 @@ var xNewPropertyExpression func([]interface{}, uintptr, string) uintptr
652653 // evaluation will fail.
653654 //
654655 // 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 {
656657 var cls *PropertyExpression
657658
658659 cret := xNewPropertyExpression(ThisTypeVar, ExpressionVar.GoPointer(), PropertyNameVar)
M v4/gtk/gtkfilechooserdialog.go +3 -3
@@ -281,7 +281,7 @@ func (x *FileChooserDialog) UpdateProperty(FirstPropertyVar AccessibleProperty,
281281 // property change must be communicated to assistive technologies.
282282 //
283283 // 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) {
285285
286286 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
287287
@@ -317,7 +317,7 @@ func (x *FileChooserDialog) UpdateRelation(FirstRelationVar AccessibleRelation,
317317 // relation change must be communicated to assistive technologies.
318318 //
319319 // 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) {
321321
322322 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
323323
@@ -350,7 +350,7 @@ func (x *FileChooserDialog) UpdateState(FirstStateVar AccessibleState, varArgs .
350350 // state change must be communicated to assistive technologies.
351351 //
352352 // 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) {
354354
355355 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
356356
M v4/gtk/gtkfilechooserwidget.go +3 -3
@@ -453,7 +453,7 @@ func (x *FileChooserWidget) UpdateProperty(FirstPropertyVar AccessibleProperty,
453453 // property change must be communicated to assistive technologies.
454454 //
455455 // 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) {
457457
458458 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
459459
@@ -489,7 +489,7 @@ func (x *FileChooserWidget) UpdateRelation(FirstRelationVar AccessibleRelation,
489489 // relation change must be communicated to assistive technologies.
490490 //
491491 // 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) {
493493
494494 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
495495
@@ -522,7 +522,7 @@ func (x *FileChooserWidget) UpdateState(FirstStateVar AccessibleState, varArgs .
522522 // state change must be communicated to assistive technologies.
523523 //
524524 // 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) {
526526
527527 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
528528
M v4/gtk/gtkfilterlistmodel.go +2 -1
@@ -8,6 +8,7 @@ import (
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/gio"
1010 "github.com/jwijenbergh/puregotk/v4/gobject"
11+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1112 )
1213
1314 type FilterListModelClass struct {
@@ -201,7 +202,7 @@ func (x *FilterListModel) GetItem(PositionVar uint) uintptr {
201202 //
202203 // The item type of a #GListModel can not change during the life of the
203204 // model.
204-func (x *FilterListModel) GetItemType() []interface{} {
205+func (x *FilterListModel) GetItemType() types.GType {
205206
206207 cret := gio.XGListModelGetItemType(x.GoPointer())
207208 return cret
M v4/gtk/gtkfixed.go +4 -4
@@ -13,7 +13,7 @@ import (
1313 type FixedClass struct {
1414 ParentClass uintptr
1515
16- Padding uintptr
16+ Padding [8]uintptr
1717 }
1818
1919 func (x *FixedClass) GoPointer() uintptr {
@@ -213,7 +213,7 @@ func (x *Fixed) UpdateProperty(FirstPropertyVar AccessibleProperty, varArgs ...i
213213 // property change must be communicated to assistive technologies.
214214 //
215215 // 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) {
217217
218218 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
219219
@@ -249,7 +249,7 @@ func (x *Fixed) UpdateRelation(FirstRelationVar AccessibleRelation, varArgs ...i
249249 // relation change must be communicated to assistive technologies.
250250 //
251251 // 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) {
253253
254254 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
255255
@@ -282,7 +282,7 @@ func (x *Fixed) UpdateState(FirstStateVar AccessibleState, varArgs ...interface{
282282 // state change must be communicated to assistive technologies.
283283 //
284284 // 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) {
286286
287287 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
288288
M v4/gtk/gtkflattenlistmodel.go +2 -1
@@ -8,6 +8,7 @@ import (
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/gio"
1010 "github.com/jwijenbergh/puregotk/v4/gobject"
11+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1112 )
1213
1314 type FlattenListModelClass struct {
@@ -123,7 +124,7 @@ func (x *FlattenListModel) GetItem(PositionVar uint) uintptr {
123124 //
124125 // The item type of a #GListModel can not change during the life of the
125126 // model.
126-func (x *FlattenListModel) GetItemType() []interface{} {
127+func (x *FlattenListModel) GetItemType() types.GType {
127128
128129 cret := gio.XGListModelGetItemType(x.GoPointer())
129130 return cret
M v4/gtk/gtkflowbox.go +7 -7
@@ -34,7 +34,7 @@ type FlowBoxSortFunc func(uintptr, uintptr, uintptr) int
3434 type FlowBoxChildClass struct {
3535 ParentClass uintptr
3636
37- Padding uintptr
37+ Padding [8]uintptr
3838 }
3939
4040 func (x *FlowBoxChildClass) GoPointer() uintptr {
@@ -766,7 +766,7 @@ func (x *FlowBox) UpdateProperty(FirstPropertyVar AccessibleProperty, varArgs ..
766766 // property change must be communicated to assistive technologies.
767767 //
768768 // 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) {
770770
771771 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
772772
@@ -802,7 +802,7 @@ func (x *FlowBox) UpdateRelation(FirstRelationVar AccessibleRelation, varArgs ..
802802 // relation change must be communicated to assistive technologies.
803803 //
804804 // 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) {
806806
807807 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
808808
@@ -835,7 +835,7 @@ func (x *FlowBox) UpdateState(FirstStateVar AccessibleState, varArgs ...interfac
835835 // state change must be communicated to assistive technologies.
836836 //
837837 // 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) {
839839
840840 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
841841
@@ -1061,7 +1061,7 @@ func (x *FlowBoxChild) UpdateProperty(FirstPropertyVar AccessibleProperty, varAr
10611061 // property change must be communicated to assistive technologies.
10621062 //
10631063 // 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) {
10651065
10661066 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
10671067
@@ -1097,7 +1097,7 @@ func (x *FlowBoxChild) UpdateRelation(FirstRelationVar AccessibleRelation, varAr
10971097 // relation change must be communicated to assistive technologies.
10981098 //
10991099 // 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) {
11011101
11021102 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
11031103
@@ -1130,7 +1130,7 @@ func (x *FlowBoxChild) UpdateState(FirstStateVar AccessibleState, varArgs ...int
11301130 // state change must be communicated to assistive technologies.
11311131 //
11321132 // 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) {
11341134
11351135 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
11361136
M v4/gtk/gtkfontbutton.go +3 -3
@@ -264,7 +264,7 @@ func (x *FontButton) UpdateProperty(FirstPropertyVar AccessibleProperty, varArgs
264264 // property change must be communicated to assistive technologies.
265265 //
266266 // 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) {
268268
269269 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
270270
@@ -300,7 +300,7 @@ func (x *FontButton) UpdateRelation(FirstRelationVar AccessibleRelation, varArgs
300300 // relation change must be communicated to assistive technologies.
301301 //
302302 // 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) {
304304
305305 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
306306
@@ -333,7 +333,7 @@ func (x *FontButton) UpdateState(FirstStateVar AccessibleState, varArgs ...inter
333333 // state change must be communicated to assistive technologies.
334334 //
335335 // 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) {
337337
338338 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
339339
M v4/gtk/gtkfontchooser.go +1 -1
@@ -20,7 +20,7 @@ type FontFilterFunc func(uintptr, uintptr, uintptr) bool
2020 type FontChooserIface struct {
2121 BaseIface uintptr
2222
23- Padding uintptr
23+ Padding [10]uintptr
2424 }
2525
2626 func (x *FontChooserIface) GoPointer() uintptr {
M v4/gtk/gtkfontchooserdialog.go +3 -3
@@ -118,7 +118,7 @@ func (x *FontChooserDialog) UpdateProperty(FirstPropertyVar AccessibleProperty,
118118 // property change must be communicated to assistive technologies.
119119 //
120120 // 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) {
122122
123123 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
124124
@@ -154,7 +154,7 @@ func (x *FontChooserDialog) UpdateRelation(FirstRelationVar AccessibleRelation,
154154 // relation change must be communicated to assistive technologies.
155155 //
156156 // 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) {
158158
159159 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
160160
@@ -187,7 +187,7 @@ func (x *FontChooserDialog) UpdateState(FirstStateVar AccessibleState, varArgs .
187187 // state change must be communicated to assistive technologies.
188188 //
189189 // 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) {
191191
192192 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
193193
M v4/gtk/gtkfontchooserwidget.go +3 -3
@@ -119,7 +119,7 @@ func (x *FontChooserWidget) UpdateProperty(FirstPropertyVar AccessibleProperty,
119119 // property change must be communicated to assistive technologies.
120120 //
121121 // 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) {
123123
124124 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
125125
@@ -155,7 +155,7 @@ func (x *FontChooserWidget) UpdateRelation(FirstRelationVar AccessibleRelation,
155155 // relation change must be communicated to assistive technologies.
156156 //
157157 // 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) {
159159
160160 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
161161
@@ -188,7 +188,7 @@ func (x *FontChooserWidget) UpdateState(FirstStateVar AccessibleState, varArgs .
188188 // state change must be communicated to assistive technologies.
189189 //
190190 // 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) {
192192
193193 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
194194
M v4/gtk/gtkframe.go +4 -4
@@ -12,7 +12,7 @@ import (
1212 type FrameClass struct {
1313 ParentClass uintptr
1414
15- Padding uintptr
15+ Padding [8]uintptr
1616 }
1717
1818 func (x *FrameClass) GoPointer() uintptr {
@@ -255,7 +255,7 @@ func (x *Frame) UpdateProperty(FirstPropertyVar AccessibleProperty, varArgs ...i
255255 // property change must be communicated to assistive technologies.
256256 //
257257 // 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) {
259259
260260 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
261261
@@ -291,7 +291,7 @@ func (x *Frame) UpdateRelation(FirstRelationVar AccessibleRelation, varArgs ...i
291291 // relation change must be communicated to assistive technologies.
292292 //
293293 // 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) {
295295
296296 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
297297
@@ -324,7 +324,7 @@ func (x *Frame) UpdateState(FirstStateVar AccessibleState, varArgs ...interface{
324324 // state change must be communicated to assistive technologies.
325325 //
326326 // 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) {
328328
329329 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
330330
M v4/gtk/gtkgesturestylus.go +2 -2
@@ -48,7 +48,7 @@ func NewGestureStylus() *GestureStylus {
4848 return cls
4949 }
5050
51-var xGestureStylusGetAxes func(uintptr, uintptr, uintptr) bool
51+var xGestureStylusGetAxes func(uintptr, []gdk.AxisUse, []float64) bool
5252
5353 // Returns the current values for the requested @axes.
5454 //
@@ -56,7 +56,7 @@ var xGestureStylusGetAxes func(uintptr, uintptr, uintptr) bool
5656 // [signal@Gtk.GestureStylus::down], [signal@Gtk.GestureStylus::motion],
5757 // [signal@Gtk.GestureStylus::up] or [signal@Gtk.GestureStylus::proximity]
5858 // signals.
59-func (x *GestureStylus) GetAxes(AxesVar uintptr, ValuesVar uintptr) bool {
59+func (x *GestureStylus) GetAxes(AxesVar []gdk.AxisUse, ValuesVar []float64) bool {
6060
6161 cret := xGestureStylusGetAxes(x.GoPointer(), AxesVar, ValuesVar)
6262 return cret
M v4/gtk/gtkglarea.go +4 -4
@@ -15,7 +15,7 @@ import (
1515 type GLAreaClass struct {
1616 ParentClass uintptr
1717
18- Padding uintptr
18+ Padding [8]uintptr
1919 }
2020
2121 func (x *GLAreaClass) GoPointer() uintptr {
@@ -509,7 +509,7 @@ func (x *GLArea) UpdateProperty(FirstPropertyVar AccessibleProperty, varArgs ...
509509 // property change must be communicated to assistive technologies.
510510 //
511511 // 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) {
513513
514514 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
515515
@@ -545,7 +545,7 @@ func (x *GLArea) UpdateRelation(FirstRelationVar AccessibleRelation, varArgs ...
545545 // relation change must be communicated to assistive technologies.
546546 //
547547 // 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) {
549549
550550 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
551551
@@ -578,7 +578,7 @@ func (x *GLArea) UpdateState(FirstStateVar AccessibleState, varArgs ...interface
578578 // state change must be communicated to assistive technologies.
579579 //
580580 // 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) {
582582
583583 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
584584
M v4/gtk/gtkgrid.go +4 -4
@@ -12,7 +12,7 @@ import (
1212 type GridClass struct {
1313 ParentClass uintptr
1414
15- Padding uintptr
15+ Padding [8]uintptr
1616 }
1717
1818 func (x *GridClass) GoPointer() uintptr {
@@ -450,7 +450,7 @@ func (x *Grid) UpdateProperty(FirstPropertyVar AccessibleProperty, varArgs ...in
450450 // property change must be communicated to assistive technologies.
451451 //
452452 // 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) {
454454
455455 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
456456
@@ -486,7 +486,7 @@ func (x *Grid) UpdateRelation(FirstRelationVar AccessibleRelation, varArgs ...in
486486 // relation change must be communicated to assistive technologies.
487487 //
488488 // 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) {
490490
491491 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
492492
@@ -519,7 +519,7 @@ func (x *Grid) UpdateState(FirstStateVar AccessibleState, varArgs ...interface{}
519519 // state change must be communicated to assistive technologies.
520520 //
521521 // 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) {
523523
524524 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
525525
M v4/gtk/gtkgridview.go +3 -3
@@ -318,7 +318,7 @@ func (x *GridView) UpdateProperty(FirstPropertyVar AccessibleProperty, varArgs .
318318 // property change must be communicated to assistive technologies.
319319 //
320320 // 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) {
322322
323323 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
324324
@@ -354,7 +354,7 @@ func (x *GridView) UpdateRelation(FirstRelationVar AccessibleRelation, varArgs .
354354 // relation change must be communicated to assistive technologies.
355355 //
356356 // 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) {
358358
359359 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
360360
@@ -387,7 +387,7 @@ func (x *GridView) UpdateState(FirstStateVar AccessibleState, varArgs ...interfa
387387 // state change must be communicated to assistive technologies.
388388 //
389389 // 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) {
391391
392392 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
393393
M v4/gtk/gtkheaderbar.go +3 -3
@@ -301,7 +301,7 @@ func (x *HeaderBar) UpdateProperty(FirstPropertyVar AccessibleProperty, varArgs
301301 // property change must be communicated to assistive technologies.
302302 //
303303 // 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) {
305305
306306 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
307307
@@ -337,7 +337,7 @@ func (x *HeaderBar) UpdateRelation(FirstRelationVar AccessibleRelation, varArgs
337337 // relation change must be communicated to assistive technologies.
338338 //
339339 // 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) {
341341
342342 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
343343
@@ -370,7 +370,7 @@ func (x *HeaderBar) UpdateState(FirstStateVar AccessibleState, varArgs ...interf
370370 // state change must be communicated to assistive technologies.
371371 //
372372 // 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) {
374374
375375 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
376376
M v4/gtk/gtkicontheme.go +7 -7
@@ -276,7 +276,7 @@ func (x *IconPaintable) Snapshot(SnapshotVar *gdk.Snapshot, WidthVar float64, He
276276 //
277277 // If less than 4 colors are provided, GTK will pad the array with default
278278 // 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) {
280280
281281 XGtkSymbolicPaintableSnapshotSymbolic(x.GoPointer(), SnapshotVar.GoPointer(), WidthVar, HeightVar, ColorsVar, NColorsVar)
282282
@@ -400,14 +400,14 @@ func (x *IconTheme) GetIconNames() []string {
400400 return cret
401401 }
402402
403-var xIconThemeGetIconSizes func(uintptr, string) uintptr
403+var xIconThemeGetIconSizes func(uintptr, string) []int
404404
405405 // Returns an array of integers describing the sizes at which
406406 // the icon is available without scaling.
407407 //
408408 // A size of -1 means that the icon is available in a scalable
409409 // format. The array is zero-terminated.
410-func (x *IconTheme) GetIconSizes(IconNameVar string) uintptr {
410+func (x *IconTheme) GetIconSizes(IconNameVar string) []int {
411411
412412 cret := xIconThemeGetIconSizes(x.GoPointer(), IconNameVar)
413413 return cret
@@ -516,7 +516,7 @@ func (x *IconTheme) LookupIcon(IconNameVar string, FallbacksVar []string, SizeVa
516516 return cls
517517 }
518518
519-var xIconThemeSetResourcePath func(uintptr, uintptr)
519+var xIconThemeSetResourcePath func(uintptr, []string)
520520
521521 // Sets the resource paths that will be looked at when
522522 // looking for icons, similar to search paths.
@@ -529,13 +529,13 @@ var xIconThemeSetResourcePath func(uintptr, uintptr)
529529 // Icons that are directly placed in the resource path instead
530530 // of a subdirectory are also considered as ultimate fallback,
531531 // but they are treated like unthemed icons.
532-func (x *IconTheme) SetResourcePath(PathVar uintptr) {
532+func (x *IconTheme) SetResourcePath(PathVar []string) {
533533
534534 xIconThemeSetResourcePath(x.GoPointer(), PathVar)
535535
536536 }
537537
538-var xIconThemeSetSearchPath func(uintptr, uintptr)
538+var xIconThemeSetSearchPath func(uintptr, []string)
539539
540540 // Sets the search path for the icon theme object.
541541 //
@@ -552,7 +552,7 @@ var xIconThemeSetSearchPath func(uintptr, uintptr)
552552 // (This is legacy feature, and new icons should be put
553553 // into the fallback icon theme, which is called hicolor,
554554 // rather than directly on the icon path.)
555-func (x *IconTheme) SetSearchPath(PathVar uintptr) {
555+func (x *IconTheme) SetSearchPath(PathVar []string) {
556556
557557 xIconThemeSetSearchPath(x.GoPointer(), PathVar)
558558
M v4/gtk/gtkiconview.go +3 -3
@@ -1077,7 +1077,7 @@ func (x *IconView) UpdateProperty(FirstPropertyVar AccessibleProperty, varArgs .
10771077 // property change must be communicated to assistive technologies.
10781078 //
10791079 // 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) {
10811081
10821082 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
10831083
@@ -1113,7 +1113,7 @@ func (x *IconView) UpdateRelation(FirstRelationVar AccessibleRelation, varArgs .
11131113 // relation change must be communicated to assistive technologies.
11141114 //
11151115 // 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) {
11171117
11181118 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
11191119
@@ -1146,7 +1146,7 @@ func (x *IconView) UpdateState(FirstStateVar AccessibleState, varArgs ...interfa
11461146 // state change must be communicated to assistive technologies.
11471147 //
11481148 // 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) {
11501150
11511151 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
11521152
M v4/gtk/gtkimage.go +3 -3
@@ -505,7 +505,7 @@ func (x *Image) UpdateProperty(FirstPropertyVar AccessibleProperty, varArgs ...i
505505 // property change must be communicated to assistive technologies.
506506 //
507507 // 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) {
509509
510510 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
511511
@@ -541,7 +541,7 @@ func (x *Image) UpdateRelation(FirstRelationVar AccessibleRelation, varArgs ...i
541541 // relation change must be communicated to assistive technologies.
542542 //
543543 // 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) {
545545
546546 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
547547
@@ -574,7 +574,7 @@ func (x *Image) UpdateState(FirstStateVar AccessibleState, varArgs ...interface{
574574 // state change must be communicated to assistive technologies.
575575 //
576576 // 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) {
578578
579579 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
580580
M v4/gtk/gtkimcontextsimple.go +2 -2
@@ -99,7 +99,7 @@ func (x *IMContextSimple) AddComposeFile(ComposeFileVar string) {
9999
100100 }
101101
102-var xIMContextSimpleAddTable func(uintptr, uintptr, int, int)
102+var xIMContextSimpleAddTable func(uintptr, []uint16, int, int)
103103
104104 // Adds an additional table to search to the input context.
105105 // Each row of the table consists of @max_seq_len key symbols
@@ -110,7 +110,7 @@ var xIMContextSimpleAddTable func(uintptr, uintptr, int, int)
110110 // The table must be sorted in dictionary order on the
111111 // numeric value of the key symbol fields. (Values beyond
112112 // 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) {
114114
115115 xIMContextSimpleAddTable(x.GoPointer(), DataVar, MaxSeqLenVar, NSeqsVar)
116116
M v4/gtk/gtkinfobar.go +3 -3
@@ -435,7 +435,7 @@ func (x *InfoBar) UpdateProperty(FirstPropertyVar AccessibleProperty, varArgs ..
435435 // property change must be communicated to assistive technologies.
436436 //
437437 // 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) {
439439
440440 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
441441
@@ -471,7 +471,7 @@ func (x *InfoBar) UpdateRelation(FirstRelationVar AccessibleRelation, varArgs ..
471471 // relation change must be communicated to assistive technologies.
472472 //
473473 // 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) {
475475
476476 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
477477
@@ -504,7 +504,7 @@ func (x *InfoBar) UpdateState(FirstStateVar AccessibleState, varArgs ...interfac
504504 // state change must be communicated to assistive technologies.
505505 //
506506 // 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) {
508508
509509 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
510510
M v4/gtk/gtkinscription.go +3 -3
@@ -358,7 +358,7 @@ func (x *Inscription) UpdateProperty(FirstPropertyVar AccessibleProperty, varArg
358358 // property change must be communicated to assistive technologies.
359359 //
360360 // 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) {
362362
363363 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
364364
@@ -394,7 +394,7 @@ func (x *Inscription) UpdateRelation(FirstRelationVar AccessibleRelation, varArg
394394 // relation change must be communicated to assistive technologies.
395395 //
396396 // 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) {
398398
399399 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
400400
@@ -427,7 +427,7 @@ func (x *Inscription) UpdateState(FirstStateVar AccessibleState, varArgs ...inte
427427 // state change must be communicated to assistive technologies.
428428 //
429429 // 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) {
431431
432432 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
433433
M v4/gtk/gtklabel.go +3 -3
@@ -1088,7 +1088,7 @@ func (x *Label) UpdateProperty(FirstPropertyVar AccessibleProperty, varArgs ...i
10881088 // property change must be communicated to assistive technologies.
10891089 //
10901090 // 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) {
10921092
10931093 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
10941094
@@ -1124,7 +1124,7 @@ func (x *Label) UpdateRelation(FirstRelationVar AccessibleRelation, varArgs ...i
11241124 // relation change must be communicated to assistive technologies.
11251125 //
11261126 // 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) {
11281128
11291129 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
11301130
@@ -1157,7 +1157,7 @@ func (x *Label) UpdateState(FirstStateVar AccessibleState, varArgs ...interface{
11571157 // state change must be communicated to assistive technologies.
11581158 //
11591159 // 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) {
11611161
11621162 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
11631163
M v4/gtk/gtklayoutmanager.go +3 -2
@@ -7,6 +7,7 @@ import (
77 "github.com/jwijenbergh/purego"
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/gobject"
10+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1011 )
1112
1213 // The `GtkLayoutManagerClass` structure contains only private data, and
@@ -15,9 +16,9 @@ import (
1516 type LayoutManagerClass struct {
1617 ParentClass uintptr
1718
18- LayoutChildType []interface{}
19+ LayoutChildType types.GType
1920
20- Padding uintptr
21+ Padding [16]uintptr
2122 }
2223
2324 func (x *LayoutManagerClass) GoPointer() uintptr {
M v4/gtk/gtklevelbar.go +3 -3
@@ -391,7 +391,7 @@ func (x *LevelBar) UpdateProperty(FirstPropertyVar AccessibleProperty, varArgs .
391391 // property change must be communicated to assistive technologies.
392392 //
393393 // 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) {
395395
396396 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
397397
@@ -427,7 +427,7 @@ func (x *LevelBar) UpdateRelation(FirstRelationVar AccessibleRelation, varArgs .
427427 // relation change must be communicated to assistive technologies.
428428 //
429429 // 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) {
431431
432432 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
433433
@@ -460,7 +460,7 @@ func (x *LevelBar) UpdateState(FirstStateVar AccessibleState, varArgs ...interfa
460460 // state change must be communicated to assistive technologies.
461461 //
462462 // 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) {
464464
465465 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
466466
M v4/gtk/gtklinkbutton.go +3 -3
@@ -218,7 +218,7 @@ func (x *LinkButton) UpdateProperty(FirstPropertyVar AccessibleProperty, varArgs
218218 // property change must be communicated to assistive technologies.
219219 //
220220 // 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) {
222222
223223 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
224224
@@ -254,7 +254,7 @@ func (x *LinkButton) UpdateRelation(FirstRelationVar AccessibleRelation, varArgs
254254 // relation change must be communicated to assistive technologies.
255255 //
256256 // 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) {
258258
259259 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
260260
@@ -287,7 +287,7 @@ func (x *LinkButton) UpdateState(FirstStateVar AccessibleState, varArgs ...inter
287287 // state change must be communicated to assistive technologies.
288288 //
289289 // 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) {
291291
292292 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
293293
M v4/gtk/gtklistbase.go +3 -3
@@ -91,7 +91,7 @@ func (x *ListBase) UpdateProperty(FirstPropertyVar AccessibleProperty, varArgs .
9191 // property change must be communicated to assistive technologies.
9292 //
9393 // 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) {
9595
9696 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
9797
@@ -127,7 +127,7 @@ func (x *ListBase) UpdateRelation(FirstRelationVar AccessibleRelation, varArgs .
127127 // relation change must be communicated to assistive technologies.
128128 //
129129 // 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) {
131131
132132 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
133133
@@ -160,7 +160,7 @@ func (x *ListBase) UpdateState(FirstStateVar AccessibleState, varArgs ...interfa
160160 // state change must be communicated to assistive technologies.
161161 //
162162 // 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) {
164164
165165 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
166166
M v4/gtk/gtklistbox.go +7 -7
@@ -40,7 +40,7 @@ type ListBoxUpdateHeaderFunc func(uintptr, uintptr, uintptr)
4040 type ListBoxRowClass struct {
4141 ParentClass uintptr
4242
43- Padding uintptr
43+ Padding [8]uintptr
4444 }
4545
4646 func (x *ListBoxRowClass) GoPointer() uintptr {
@@ -793,7 +793,7 @@ func (x *ListBox) UpdateProperty(FirstPropertyVar AccessibleProperty, varArgs ..
793793 // property change must be communicated to assistive technologies.
794794 //
795795 // 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) {
797797
798798 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
799799
@@ -829,7 +829,7 @@ func (x *ListBox) UpdateRelation(FirstRelationVar AccessibleRelation, varArgs ..
829829 // relation change must be communicated to assistive technologies.
830830 //
831831 // 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) {
833833
834834 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
835835
@@ -862,7 +862,7 @@ func (x *ListBox) UpdateState(FirstStateVar AccessibleState, varArgs ...interfac
862862 // state change must be communicated to assistive technologies.
863863 //
864864 // 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) {
866866
867867 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
868868
@@ -1139,7 +1139,7 @@ func (x *ListBoxRow) UpdateProperty(FirstPropertyVar AccessibleProperty, varArgs
11391139 // property change must be communicated to assistive technologies.
11401140 //
11411141 // 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) {
11431143
11441144 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
11451145
@@ -1175,7 +1175,7 @@ func (x *ListBoxRow) UpdateRelation(FirstRelationVar AccessibleRelation, varArgs
11751175 // relation change must be communicated to assistive technologies.
11761176 //
11771177 // 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) {
11791179
11801180 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
11811181
@@ -1208,7 +1208,7 @@ func (x *ListBoxRow) UpdateState(FirstStateVar AccessibleState, varArgs ...inter
12081208 // state change must be communicated to assistive technologies.
12091209 //
12101210 // 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) {
12121212
12131213 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
12141214
M v4/gtk/gtkliststore.go +14 -13
@@ -9,12 +9,13 @@ import (
99 "github.com/jwijenbergh/puregotk/v4/gdk"
1010 "github.com/jwijenbergh/puregotk/v4/glib"
1111 "github.com/jwijenbergh/puregotk/v4/gobject"
12+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1213 )
1314
1415 type ListStoreClass struct {
1516 ParentClass uintptr
1617
17- Padding uintptr
18+ Padding [8]uintptr
1819 }
1920
2021 func (x *ListStoreClass) GoPointer() uintptr {
@@ -203,10 +204,10 @@ func NewListStore(NColumnsVar int, varArgs ...interface{}) *ListStore {
203204 return cls
204205 }
205206
206-var xNewListStorev func(int, uintptr) uintptr
207+var xNewListStorev func(int, []types.GType) uintptr
207208
208209 // 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 {
210211 var cls *ListStore
211212
212213 cret := xNewListStorev(NColumnsVar, TypesVar)
@@ -318,14 +319,14 @@ func (x *ListStore) InsertWithValues(IterVar *TreeIter, PositionVar int, varArgs
318319
319320 }
320321
321-var xListStoreInsertWithValuesv func(uintptr, *TreeIter, int, uintptr, uintptr, int)
322+var xListStoreInsertWithValuesv func(uintptr, *TreeIter, int, []int, []gobject.Value, int)
322323
323324 // A variant of gtk_list_store_insert_with_values() which
324325 // takes the columns and values as two arrays, instead of
325326 // varargs.
326327 //
327328 // 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) {
329330
330331 xListStoreInsertWithValuesv(x.GoPointer(), IterVar, PositionVar, ColumnsVar, ValuesVar, NValuesVar)
331332
@@ -387,11 +388,11 @@ func (x *ListStore) Remove(IterVar *TreeIter) bool {
387388 return cret
388389 }
389390
390-var xListStoreReorder func(uintptr, uintptr)
391+var xListStoreReorder func(uintptr, []int)
391392
392393 // Reorders @store to follow the order indicated by @new_order. Note that
393394 // this function only works with unsorted stores.
394-func (x *ListStore) Reorder(NewOrderVar uintptr) {
395+func (x *ListStore) Reorder(NewOrderVar []int) {
395396
396397 xListStoreReorder(x.GoPointer(), NewOrderVar)
397398
@@ -414,13 +415,13 @@ func (x *ListStore) Set(IterVar *TreeIter, varArgs ...interface{}) {
414415
415416 }
416417
417-var xListStoreSetColumnTypes func(uintptr, int, uintptr)
418+var xListStoreSetColumnTypes func(uintptr, int, []types.GType)
418419
419420 // This function is meant primarily for `GObject`s that inherit from `GtkListStore`,
420421 // and should only be used when constructing a new `GtkListStore`. It will not
421422 // function after a row has been added, or a method on the `GtkTreeModel`
422423 // interface is called.
423-func (x *ListStore) SetColumnTypes(NColumnsVar int, TypesVar uintptr) {
424+func (x *ListStore) SetColumnTypes(NColumnsVar int, TypesVar []types.GType) {
424425
425426 xListStoreSetColumnTypes(x.GoPointer(), NColumnsVar, TypesVar)
426427
@@ -447,14 +448,14 @@ func (x *ListStore) SetValue(IterVar *TreeIter, ColumnVar int, ValueVar *gobject
447448
448449 }
449450
450-var xListStoreSetValuesv func(uintptr, *TreeIter, uintptr, uintptr, int)
451+var xListStoreSetValuesv func(uintptr, *TreeIter, []int, []gobject.Value, int)
451452
452453 // A variant of gtk_list_store_set_valist() which
453454 // takes the columns and values as two arrays, instead of
454455 // varargs. This function is mainly intended for
455456 // language-bindings and in case the number of columns to
456457 // 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) {
458459
459460 xListStoreSetValuesv(x.GoPointer(), IterVar, ColumnsVar, ValuesVar, NValuesVar)
460461
@@ -592,7 +593,7 @@ func (x *ListStore) Get(IterVar *TreeIter, varArgs ...interface{}) {
592593 }
593594
594595 // Returns the type of the column.
595-func (x *ListStore) GetColumnType(IndexVar int) []interface{} {
596+func (x *ListStore) GetColumnType(IndexVar int) types.GType {
596597
597598 cret := XGtkTreeModelGetColumnType(x.GoPointer(), IndexVar)
598599 return cret
@@ -852,7 +853,7 @@ func (x *ListStore) RowsReordered(PathVar *TreePath, IterVar *TreeIter, NewOrder
852853 //
853854 // This should be called by models when their rows have been
854855 // 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) {
856857
857858 XGtkTreeModelRowsReorderedWithLength(x.GoPointer(), PathVar, IterVar, NewOrderVar, LengthVar)
858859
M v4/gtk/gtklistview.go +3 -3
@@ -361,7 +361,7 @@ func (x *ListView) UpdateProperty(FirstPropertyVar AccessibleProperty, varArgs .
361361 // property change must be communicated to assistive technologies.
362362 //
363363 // 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) {
365365
366366 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
367367
@@ -397,7 +397,7 @@ func (x *ListView) UpdateRelation(FirstRelationVar AccessibleRelation, varArgs .
397397 // relation change must be communicated to assistive technologies.
398398 //
399399 // 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) {
401401
402402 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
403403
@@ -430,7 +430,7 @@ func (x *ListView) UpdateState(FirstStateVar AccessibleState, varArgs ...interfa
430430 // state change must be communicated to assistive technologies.
431431 //
432432 // 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) {
434434
435435 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
436436
M v4/gtk/gtklockbutton.go +3 -3
@@ -165,7 +165,7 @@ func (x *LockButton) UpdateProperty(FirstPropertyVar AccessibleProperty, varArgs
165165 // property change must be communicated to assistive technologies.
166166 //
167167 // 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) {
169169
170170 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
171171
@@ -201,7 +201,7 @@ func (x *LockButton) UpdateRelation(FirstRelationVar AccessibleRelation, varArgs
201201 // relation change must be communicated to assistive technologies.
202202 //
203203 // 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) {
205205
206206 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
207207
@@ -234,7 +234,7 @@ func (x *LockButton) UpdateState(FirstStateVar AccessibleState, varArgs ...inter
234234 // state change must be communicated to assistive technologies.
235235 //
236236 // 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) {
238238
239239 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
240240
M v4/gtk/gtkmaplistmodel.go +2 -1
@@ -9,6 +9,7 @@ import (
99 "github.com/jwijenbergh/puregotk/v4/gio"
1010 "github.com/jwijenbergh/puregotk/v4/glib"
1111 "github.com/jwijenbergh/puregotk/v4/gobject"
12+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1213 )
1314
1415 // 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 {
173174 //
174175 // The item type of a #GListModel can not change during the life of the
175176 // model.
176-func (x *MapListModel) GetItemType() []interface{} {
177+func (x *MapListModel) GetItemType() types.GType {
177178
178179 cret := gio.XGListModelGetItemType(x.GoPointer())
179180 return cret
M v4/gtk/gtkmediacontrols.go +3 -3
@@ -141,7 +141,7 @@ func (x *MediaControls) UpdateProperty(FirstPropertyVar AccessibleProperty, varA
141141 // property change must be communicated to assistive technologies.
142142 //
143143 // 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) {
145145
146146 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
147147
@@ -177,7 +177,7 @@ func (x *MediaControls) UpdateRelation(FirstRelationVar AccessibleRelation, varA
177177 // relation change must be communicated to assistive technologies.
178178 //
179179 // 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) {
181181
182182 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
183183
@@ -210,7 +210,7 @@ func (x *MediaControls) UpdateState(FirstStateVar AccessibleState, varArgs ...in
210210 // state change must be communicated to assistive technologies.
211211 //
212212 // 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) {
214214
215215 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
216216
M v4/gtk/gtkmenubutton.go +3 -3
@@ -495,7 +495,7 @@ func (x *MenuButton) UpdateProperty(FirstPropertyVar AccessibleProperty, varArgs
495495 // property change must be communicated to assistive technologies.
496496 //
497497 // 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) {
499499
500500 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
501501
@@ -531,7 +531,7 @@ func (x *MenuButton) UpdateRelation(FirstRelationVar AccessibleRelation, varArgs
531531 // relation change must be communicated to assistive technologies.
532532 //
533533 // 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) {
535535
536536 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
537537
@@ -564,7 +564,7 @@ func (x *MenuButton) UpdateState(FirstStateVar AccessibleState, varArgs ...inter
564564 // state change must be communicated to assistive technologies.
565565 //
566566 // 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) {
568568
569569 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
570570
M v4/gtk/gtkmessagedialog.go +3 -3
@@ -320,7 +320,7 @@ func (x *MessageDialog) UpdateProperty(FirstPropertyVar AccessibleProperty, varA
320320 // property change must be communicated to assistive technologies.
321321 //
322322 // 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) {
324324
325325 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
326326
@@ -356,7 +356,7 @@ func (x *MessageDialog) UpdateRelation(FirstRelationVar AccessibleRelation, varA
356356 // relation change must be communicated to assistive technologies.
357357 //
358358 // 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) {
360360
361361 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
362362
@@ -389,7 +389,7 @@ func (x *MessageDialog) UpdateState(FirstStateVar AccessibleState, varArgs ...in
389389 // state change must be communicated to assistive technologies.
390390 //
391391 // 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) {
393393
394394 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
395395
M v4/gtk/gtkmultifilter.go +4 -3
@@ -8,6 +8,7 @@ import (
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/gio"
1010 "github.com/jwijenbergh/puregotk/v4/gobject"
11+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1112 )
1213
1314 type AnyFilterClass struct {
@@ -97,7 +98,7 @@ func (x *AnyFilter) GetItem(PositionVar uint) uintptr {
9798 //
9899 // The item type of a #GListModel can not change during the life of the
99100 // model.
100-func (x *AnyFilter) GetItemType() []interface{} {
101+func (x *AnyFilter) GetItemType() types.GType {
101102
102103 cret := gio.XGListModelGetItemType(x.GoPointer())
103104 return cret
@@ -241,7 +242,7 @@ func (x *EveryFilter) GetItem(PositionVar uint) uintptr {
241242 //
242243 // The item type of a #GListModel can not change during the life of the
243244 // model.
244-func (x *EveryFilter) GetItemType() []interface{} {
245+func (x *EveryFilter) GetItemType() types.GType {
245246
246247 cret := gio.XGListModelGetItemType(x.GoPointer())
247248 return cret
@@ -383,7 +384,7 @@ func (x *MultiFilter) GetItem(PositionVar uint) uintptr {
383384 //
384385 // The item type of a #GListModel can not change during the life of the
385386 // model.
386-func (x *MultiFilter) GetItemType() []interface{} {
387+func (x *MultiFilter) GetItemType() types.GType {
387388
388389 cret := gio.XGListModelGetItemType(x.GoPointer())
389390 return cret
M v4/gtk/gtkmultiselection.go +2 -1
@@ -8,6 +8,7 @@ import (
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/gio"
1010 "github.com/jwijenbergh/puregotk/v4/gobject"
11+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1112 )
1213
1314 type MultiSelectionClass struct {
@@ -105,7 +106,7 @@ func (x *MultiSelection) GetItem(PositionVar uint) uintptr {
105106 //
106107 // The item type of a #GListModel can not change during the life of the
107108 // model.
108-func (x *MultiSelection) GetItemType() []interface{} {
109+func (x *MultiSelection) GetItemType() types.GType {
109110
110111 cret := gio.XGListModelGetItemType(x.GoPointer())
111112 return cret
M v4/gtk/gtkmultisorter.go +2 -1
@@ -8,6 +8,7 @@ import (
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/gio"
1010 "github.com/jwijenbergh/puregotk/v4/gobject"
11+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1112 )
1213
1314 type MultiSorterClass struct {
@@ -109,7 +110,7 @@ func (x *MultiSorter) GetItem(PositionVar uint) uintptr {
109110 //
110111 // The item type of a #GListModel can not change during the life of the
111112 // model.
112-func (x *MultiSorter) GetItemType() []interface{} {
113+func (x *MultiSorter) GetItemType() types.GType {
113114
114115 cret := gio.XGListModelGetItemType(x.GoPointer())
115116 return cret
M v4/gtk/gtknoselection.go +2 -1
@@ -8,6 +8,7 @@ import (
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/gio"
1010 "github.com/jwijenbergh/puregotk/v4/gobject"
11+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1112 )
1213
1314 type NoSelectionClass struct {
@@ -108,7 +109,7 @@ func (x *NoSelection) GetItem(PositionVar uint) uintptr {
108109 //
109110 // The item type of a #GListModel can not change during the life of the
110111 // model.
111-func (x *NoSelection) GetItemType() []interface{} {
112+func (x *NoSelection) GetItemType() types.GType {
112113
113114 cret := gio.XGListModelGetItemType(x.GoPointer())
114115 return cret
M v4/gtk/gtknotebook.go +3 -3
@@ -959,7 +959,7 @@ func (x *Notebook) UpdateProperty(FirstPropertyVar AccessibleProperty, varArgs .
959959 // property change must be communicated to assistive technologies.
960960 //
961961 // 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) {
963963
964964 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
965965
@@ -995,7 +995,7 @@ func (x *Notebook) UpdateRelation(FirstRelationVar AccessibleRelation, varArgs .
995995 // relation change must be communicated to assistive technologies.
996996 //
997997 // 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) {
999999
10001000 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
10011001
@@ -1028,7 +1028,7 @@ func (x *Notebook) UpdateState(FirstStateVar AccessibleState, varArgs ...interfa
10281028 // state change must be communicated to assistive technologies.
10291029 //
10301030 // 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) {
10321032
10331033 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
10341034
M v4/gtk/gtkoverlay.go +3 -3
@@ -260,7 +260,7 @@ func (x *Overlay) UpdateProperty(FirstPropertyVar AccessibleProperty, varArgs ..
260260 // property change must be communicated to assistive technologies.
261261 //
262262 // 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) {
264264
265265 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
266266
@@ -296,7 +296,7 @@ func (x *Overlay) UpdateRelation(FirstRelationVar AccessibleRelation, varArgs ..
296296 // relation change must be communicated to assistive technologies.
297297 //
298298 // 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) {
300300
301301 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
302302
@@ -329,7 +329,7 @@ func (x *Overlay) UpdateState(FirstStateVar AccessibleState, varArgs ...interfac
329329 // state change must be communicated to assistive technologies.
330330 //
331331 // 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) {
333333
334334 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
335335
M v4/gtk/gtkpadcontroller.go +2 -2
@@ -151,13 +151,13 @@ func (x *PadController) SetAction(TypeVar PadActionType, IndexVar int, ModeVar i
151151
152152 }
153153
154-var xPadControllerSetActionEntries func(uintptr, uintptr, int)
154+var xPadControllerSetActionEntries func(uintptr, []PadActionEntry, int)
155155
156156 // A convenience function to add a group of action entries on
157157 // @controller.
158158 //
159159 // 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) {
161161
162162 xPadControllerSetActionEntries(x.GoPointer(), EntriesVar, NEntriesVar)
163163
M v4/gtk/gtkpagesetupunixdialog.go +3 -3
@@ -164,7 +164,7 @@ func (x *PageSetupUnixDialog) UpdateProperty(FirstPropertyVar AccessibleProperty
164164 // property change must be communicated to assistive technologies.
165165 //
166166 // 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) {
168168
169169 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
170170
@@ -200,7 +200,7 @@ func (x *PageSetupUnixDialog) UpdateRelation(FirstRelationVar AccessibleRelation
200200 // relation change must be communicated to assistive technologies.
201201 //
202202 // 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) {
204204
205205 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
206206
@@ -233,7 +233,7 @@ func (x *PageSetupUnixDialog) UpdateState(FirstStateVar AccessibleState, varArgs
233233 // state change must be communicated to assistive technologies.
234234 //
235235 // 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) {
237237
238238 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
239239
M v4/gtk/gtkpaned.go +3 -3
@@ -484,7 +484,7 @@ func (x *Paned) UpdateProperty(FirstPropertyVar AccessibleProperty, varArgs ...i
484484 // property change must be communicated to assistive technologies.
485485 //
486486 // 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) {
488488
489489 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
490490
@@ -520,7 +520,7 @@ func (x *Paned) UpdateRelation(FirstRelationVar AccessibleRelation, varArgs ...i
520520 // relation change must be communicated to assistive technologies.
521521 //
522522 // 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) {
524524
525525 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
526526
@@ -553,7 +553,7 @@ func (x *Paned) UpdateState(FirstStateVar AccessibleState, varArgs ...interface{
553553 // state change must be communicated to assistive technologies.
554554 //
555555 // 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) {
557557
558558 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
559559
M v4/gtk/gtkpasswordentry.go +3 -3
@@ -216,7 +216,7 @@ func (x *PasswordEntry) UpdateProperty(FirstPropertyVar AccessibleProperty, varA
216216 // property change must be communicated to assistive technologies.
217217 //
218218 // 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) {
220220
221221 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
222222
@@ -252,7 +252,7 @@ func (x *PasswordEntry) UpdateRelation(FirstRelationVar AccessibleRelation, varA
252252 // relation change must be communicated to assistive technologies.
253253 //
254254 // 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) {
256256
257257 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
258258
@@ -285,7 +285,7 @@ func (x *PasswordEntry) UpdateState(FirstStateVar AccessibleState, varArgs ...in
285285 // state change must be communicated to assistive technologies.
286286 //
287287 // 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) {
289289
290290 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
291291
M v4/gtk/gtkpicture.go +3 -3
@@ -462,7 +462,7 @@ func (x *Picture) UpdateProperty(FirstPropertyVar AccessibleProperty, varArgs ..
462462 // property change must be communicated to assistive technologies.
463463 //
464464 // 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) {
466466
467467 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
468468
@@ -498,7 +498,7 @@ func (x *Picture) UpdateRelation(FirstRelationVar AccessibleRelation, varArgs ..
498498 // relation change must be communicated to assistive technologies.
499499 //
500500 // 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) {
502502
503503 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
504504
@@ -531,7 +531,7 @@ func (x *Picture) UpdateState(FirstStateVar AccessibleState, varArgs ...interfac
531531 // state change must be communicated to assistive technologies.
532532 //
533533 // 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) {
535535
536536 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
537537
M v4/gtk/gtkpopover.go +4 -4
@@ -15,7 +15,7 @@ import (
1515 type PopoverClass struct {
1616 ParentClass uintptr
1717
18- Reserved uintptr
18+ Reserved [8]uintptr
1919 }
2020
2121 func (x *PopoverClass) GoPointer() uintptr {
@@ -466,7 +466,7 @@ func (x *Popover) UpdateProperty(FirstPropertyVar AccessibleProperty, varArgs ..
466466 // property change must be communicated to assistive technologies.
467467 //
468468 // 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) {
470470
471471 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
472472
@@ -502,7 +502,7 @@ func (x *Popover) UpdateRelation(FirstRelationVar AccessibleRelation, varArgs ..
502502 // relation change must be communicated to assistive technologies.
503503 //
504504 // 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) {
506506
507507 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
508508
@@ -535,7 +535,7 @@ func (x *Popover) UpdateState(FirstStateVar AccessibleState, varArgs ...interfac
535535 // state change must be communicated to assistive technologies.
536536 //
537537 // 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) {
539539
540540 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
541541
M v4/gtk/gtkpopovermenu.go +3 -3
@@ -310,7 +310,7 @@ func (x *PopoverMenu) UpdateProperty(FirstPropertyVar AccessibleProperty, varArg
310310 // property change must be communicated to assistive technologies.
311311 //
312312 // 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) {
314314
315315 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
316316
@@ -346,7 +346,7 @@ func (x *PopoverMenu) UpdateRelation(FirstRelationVar AccessibleRelation, varArg
346346 // relation change must be communicated to assistive technologies.
347347 //
348348 // 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) {
350350
351351 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
352352
@@ -379,7 +379,7 @@ func (x *PopoverMenu) UpdateState(FirstStateVar AccessibleState, varArgs ...inte
379379 // state change must be communicated to assistive technologies.
380380 //
381381 // 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) {
383383
384384 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
385385
M v4/gtk/gtkpopovermenubar.go +3 -3
@@ -181,7 +181,7 @@ func (x *PopoverMenuBar) UpdateProperty(FirstPropertyVar AccessibleProperty, var
181181 // property change must be communicated to assistive technologies.
182182 //
183183 // 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) {
185185
186186 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
187187
@@ -217,7 +217,7 @@ func (x *PopoverMenuBar) UpdateRelation(FirstRelationVar AccessibleRelation, var
217217 // relation change must be communicated to assistive technologies.
218218 //
219219 // 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) {
221221
222222 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
223223
@@ -250,7 +250,7 @@ func (x *PopoverMenuBar) UpdateState(FirstStateVar AccessibleState, varArgs ...i
250250 // state change must be communicated to assistive technologies.
251251 //
252252 // 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) {
254254
255255 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
256256
M v4/gtk/gtkprintjob.go +4 -4
@@ -88,10 +88,10 @@ func (x *PrintJob) GetNumCopies() int {
8888 return cret
8989 }
9090
91-var xPrintJobGetPageRanges func(uintptr, int) uintptr
91+var xPrintJobGetPageRanges func(uintptr, int) []PageRange
9292
9393 // Gets the page ranges for this job.
94-func (x *PrintJob) GetPageRanges(NRangesVar int) uintptr {
94+func (x *PrintJob) GetPageRanges(NRangesVar int) []PageRange {
9595
9696 cret := xPrintJobGetPageRanges(x.GoPointer(), NRangesVar)
9797 return cret
@@ -265,10 +265,10 @@ func (x *PrintJob) SetNumCopies(NumCopiesVar int) {
265265
266266 }
267267
268-var xPrintJobSetPageRanges func(uintptr, uintptr, int)
268+var xPrintJobSetPageRanges func(uintptr, []PageRange, int)
269269
270270 // 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) {
272272
273273 xPrintJobSetPageRanges(x.GoPointer(), RangesVar, NRangesVar)
274274
M v4/gtk/gtkprintoperation.go +1 -1
@@ -20,7 +20,7 @@ type PageSetupDoneFunc func(uintptr, uintptr)
2020 type PrintOperationClass struct {
2121 ParentClass uintptr
2222
23- Padding uintptr
23+ Padding [8]uintptr
2424 }
2525
2626 func (x *PrintOperationClass) GoPointer() uintptr {
M v4/gtk/gtkprintsettings.go +4 -4
@@ -408,10 +408,10 @@ func (x *PrintSettings) GetOutputBin() string {
408408 return cret
409409 }
410410
411-var xPrintSettingsGetPageRanges func(uintptr, int) uintptr
411+var xPrintSettingsGetPageRanges func(uintptr, int) []PageRange
412412
413413 // 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 {
415415
416416 cret := xPrintSettingsGetPageRanges(x.GoPointer(), NumRangesVar)
417417 return cret
@@ -738,10 +738,10 @@ func (x *PrintSettings) SetOutputBin(OutputBinVar string) {
738738
739739 }
740740
741-var xPrintSettingsSetPageRanges func(uintptr, uintptr, int)
741+var xPrintSettingsSetPageRanges func(uintptr, []PageRange, int)
742742
743743 // 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) {
745745
746746 xPrintSettingsSetPageRanges(x.GoPointer(), PageRangesVar, NumRangesVar)
747747
M v4/gtk/gtkprintunixdialog.go +3 -3
@@ -353,7 +353,7 @@ func (x *PrintUnixDialog) UpdateProperty(FirstPropertyVar AccessibleProperty, va
353353 // property change must be communicated to assistive technologies.
354354 //
355355 // 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) {
357357
358358 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
359359
@@ -389,7 +389,7 @@ func (x *PrintUnixDialog) UpdateRelation(FirstRelationVar AccessibleRelation, va
389389 // relation change must be communicated to assistive technologies.
390390 //
391391 // 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) {
393393
394394 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
395395
@@ -422,7 +422,7 @@ func (x *PrintUnixDialog) UpdateState(FirstStateVar AccessibleState, varArgs ...
422422 // state change must be communicated to assistive technologies.
423423 //
424424 // 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) {
426426
427427 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
428428
M v4/gtk/gtkprogressbar.go +3 -3
@@ -311,7 +311,7 @@ func (x *ProgressBar) UpdateProperty(FirstPropertyVar AccessibleProperty, varArg
311311 // property change must be communicated to assistive technologies.
312312 //
313313 // 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) {
315315
316316 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
317317
@@ -347,7 +347,7 @@ func (x *ProgressBar) UpdateRelation(FirstRelationVar AccessibleRelation, varArg
347347 // relation change must be communicated to assistive technologies.
348348 //
349349 // 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) {
351351
352352 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
353353
@@ -380,7 +380,7 @@ func (x *ProgressBar) UpdateState(FirstStateVar AccessibleState, varArgs ...inte
380380 // state change must be communicated to assistive technologies.
381381 //
382382 // 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) {
384384
385385 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
386386
M v4/gtk/gtkrange.go +4 -4
@@ -14,7 +14,7 @@ import (
1414 type RangeClass struct {
1515 ParentClass uintptr
1616
17- Padding uintptr
17+ Padding [8]uintptr
1818 }
1919
2020 func (x *RangeClass) GoPointer() uintptr {
@@ -479,7 +479,7 @@ func (x *Range) UpdateProperty(FirstPropertyVar AccessibleProperty, varArgs ...i
479479 // property change must be communicated to assistive technologies.
480480 //
481481 // 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) {
483483
484484 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
485485
@@ -515,7 +515,7 @@ func (x *Range) UpdateRelation(FirstRelationVar AccessibleRelation, varArgs ...i
515515 // relation change must be communicated to assistive technologies.
516516 //
517517 // 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) {
519519
520520 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
521521
@@ -548,7 +548,7 @@ func (x *Range) UpdateState(FirstStateVar AccessibleState, varArgs ...interface{
548548 // state change must be communicated to assistive technologies.
549549 //
550550 // 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) {
552552
553553 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
554554
M v4/gtk/gtkrevealer.go +3 -3
@@ -254,7 +254,7 @@ func (x *Revealer) UpdateProperty(FirstPropertyVar AccessibleProperty, varArgs .
254254 // property change must be communicated to assistive technologies.
255255 //
256256 // 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) {
258258
259259 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
260260
@@ -290,7 +290,7 @@ func (x *Revealer) UpdateRelation(FirstRelationVar AccessibleRelation, varArgs .
290290 // relation change must be communicated to assistive technologies.
291291 //
292292 // 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) {
294294
295295 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
296296
@@ -323,7 +323,7 @@ func (x *Revealer) UpdateState(FirstStateVar AccessibleState, varArgs ...interfa
323323 // state change must be communicated to assistive technologies.
324324 //
325325 // 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) {
327327
328328 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
329329
M v4/gtk/gtkscale.go +4 -4
@@ -16,7 +16,7 @@ type ScaleFormatValueFunc func(uintptr, float64, uintptr) string
1616 type ScaleClass struct {
1717 ParentClass uintptr
1818
19- Padding uintptr
19+ Padding [8]uintptr
2020 }
2121
2222 func (x *ScaleClass) GoPointer() uintptr {
@@ -392,7 +392,7 @@ func (x *Scale) UpdateProperty(FirstPropertyVar AccessibleProperty, varArgs ...i
392392 // property change must be communicated to assistive technologies.
393393 //
394394 // 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) {
396396
397397 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
398398
@@ -428,7 +428,7 @@ func (x *Scale) UpdateRelation(FirstRelationVar AccessibleRelation, varArgs ...i
428428 // relation change must be communicated to assistive technologies.
429429 //
430430 // 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) {
432432
433433 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
434434
@@ -461,7 +461,7 @@ func (x *Scale) UpdateState(FirstStateVar AccessibleState, varArgs ...interface{
461461 // state change must be communicated to assistive technologies.
462462 //
463463 // 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) {
465465
466466 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
467467
M v4/gtk/gtkscalebutton.go +4 -4
@@ -13,7 +13,7 @@ import (
1313 type ScaleButtonClass struct {
1414 ParentClass uintptr
1515
16- Padding uintptr
16+ Padding [8]uintptr
1717 }
1818
1919 func (x *ScaleButtonClass) GoPointer() uintptr {
@@ -310,7 +310,7 @@ func (x *ScaleButton) UpdateProperty(FirstPropertyVar AccessibleProperty, varArg
310310 // property change must be communicated to assistive technologies.
311311 //
312312 // 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) {
314314
315315 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
316316
@@ -346,7 +346,7 @@ func (x *ScaleButton) UpdateRelation(FirstRelationVar AccessibleRelation, varArg
346346 // relation change must be communicated to assistive technologies.
347347 //
348348 // 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) {
350350
351351 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
352352
@@ -379,7 +379,7 @@ func (x *ScaleButton) UpdateState(FirstStateVar AccessibleState, varArgs ...inte
379379 // state change must be communicated to assistive technologies.
380380 //
381381 // 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) {
383383
384384 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
385385
M v4/gtk/gtkscrollbar.go +3 -3
@@ -170,7 +170,7 @@ func (x *Scrollbar) UpdateProperty(FirstPropertyVar AccessibleProperty, varArgs
170170 // property change must be communicated to assistive technologies.
171171 //
172172 // 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) {
174174
175175 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
176176
@@ -206,7 +206,7 @@ func (x *Scrollbar) UpdateRelation(FirstRelationVar AccessibleRelation, varArgs
206206 // relation change must be communicated to assistive technologies.
207207 //
208208 // 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) {
210210
211211 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
212212
@@ -239,7 +239,7 @@ func (x *Scrollbar) UpdateState(FirstStateVar AccessibleState, varArgs ...interf
239239 // state change must be communicated to assistive technologies.
240240 //
241241 // 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) {
243243
244244 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
245245
M v4/gtk/gtkscrolledwindow.go +3 -3
@@ -717,7 +717,7 @@ func (x *ScrolledWindow) UpdateProperty(FirstPropertyVar AccessibleProperty, var
717717 // property change must be communicated to assistive technologies.
718718 //
719719 // 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) {
721721
722722 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
723723
@@ -753,7 +753,7 @@ func (x *ScrolledWindow) UpdateRelation(FirstRelationVar AccessibleRelation, var
753753 // relation change must be communicated to assistive technologies.
754754 //
755755 // 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) {
757757
758758 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
759759
@@ -786,7 +786,7 @@ func (x *ScrolledWindow) UpdateState(FirstStateVar AccessibleState, varArgs ...i
786786 // state change must be communicated to assistive technologies.
787787 //
788788 // 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) {
790790
791791 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
792792
M v4/gtk/gtksearchbar.go +3 -3
@@ -266,7 +266,7 @@ func (x *SearchBar) UpdateProperty(FirstPropertyVar AccessibleProperty, varArgs
266266 // property change must be communicated to assistive technologies.
267267 //
268268 // 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) {
270270
271271 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
272272
@@ -302,7 +302,7 @@ func (x *SearchBar) UpdateRelation(FirstRelationVar AccessibleRelation, varArgs
302302 // relation change must be communicated to assistive technologies.
303303 //
304304 // 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) {
306306
307307 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
308308
@@ -335,7 +335,7 @@ func (x *SearchBar) UpdateState(FirstStateVar AccessibleState, varArgs ...interf
335335 // state change must be communicated to assistive technologies.
336336 //
337337 // 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) {
339339
340340 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
341341
M v4/gtk/gtksearchentry.go +3 -3
@@ -356,7 +356,7 @@ func (x *SearchEntry) UpdateProperty(FirstPropertyVar AccessibleProperty, varArg
356356 // property change must be communicated to assistive technologies.
357357 //
358358 // 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) {
360360
361361 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
362362
@@ -392,7 +392,7 @@ func (x *SearchEntry) UpdateRelation(FirstRelationVar AccessibleRelation, varArg
392392 // relation change must be communicated to assistive technologies.
393393 //
394394 // 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) {
396396
397397 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
398398
@@ -425,7 +425,7 @@ func (x *SearchEntry) UpdateState(FirstStateVar AccessibleState, varArgs ...inte
425425 // state change must be communicated to assistive technologies.
426426 //
427427 // 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) {
429429
430430 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
431431
M v4/gtk/gtkselectionfiltermodel.go +2 -1
@@ -8,6 +8,7 @@ import (
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/gio"
1010 "github.com/jwijenbergh/puregotk/v4/gobject"
11+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1112 )
1213
1314 type SelectionFilterModelClass struct {
@@ -109,7 +110,7 @@ func (x *SelectionFilterModel) GetItem(PositionVar uint) uintptr {
109110 //
110111 // The item type of a #GListModel can not change during the life of the
111112 // model.
112-func (x *SelectionFilterModel) GetItemType() []interface{} {
113+func (x *SelectionFilterModel) GetItemType() types.GType {
113114
114115 cret := gio.XGListModelGetItemType(x.GoPointer())
115116 return cret
M v4/gtk/gtkseparator.go +3 -3
@@ -116,7 +116,7 @@ func (x *Separator) UpdateProperty(FirstPropertyVar AccessibleProperty, varArgs
116116 // property change must be communicated to assistive technologies.
117117 //
118118 // 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) {
120120
121121 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
122122
@@ -152,7 +152,7 @@ func (x *Separator) UpdateRelation(FirstRelationVar AccessibleRelation, varArgs
152152 // relation change must be communicated to assistive technologies.
153153 //
154154 // 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) {
156156
157157 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
158158
@@ -185,7 +185,7 @@ func (x *Separator) UpdateState(FirstStateVar AccessibleState, varArgs ...interf
185185 // state change must be communicated to assistive technologies.
186186 //
187187 // 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) {
189189
190190 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
191191
M v4/gtk/gtkshortcutcontroller.go +2 -1
@@ -9,6 +9,7 @@ import (
99 "github.com/jwijenbergh/puregotk/v4/gdk"
1010 "github.com/jwijenbergh/puregotk/v4/gio"
1111 "github.com/jwijenbergh/puregotk/v4/gobject"
12+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1213 )
1314
1415 type ShortcutControllerClass struct {
@@ -220,7 +221,7 @@ func (x *ShortcutController) GetItem(PositionVar uint) uintptr {
220221 //
221222 // The item type of a #GListModel can not change during the life of the
222223 // model.
223-func (x *ShortcutController) GetItemType() []interface{} {
224+func (x *ShortcutController) GetItemType() types.GType {
224225
225226 cret := gio.XGListModelGetItemType(x.GoPointer())
226227 return cret
M v4/gtk/gtkshortcutlabel.go +3 -3
@@ -148,7 +148,7 @@ func (x *ShortcutLabel) UpdateProperty(FirstPropertyVar AccessibleProperty, varA
148148 // property change must be communicated to assistive technologies.
149149 //
150150 // 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) {
152152
153153 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
154154
@@ -184,7 +184,7 @@ func (x *ShortcutLabel) UpdateRelation(FirstRelationVar AccessibleRelation, varA
184184 // relation change must be communicated to assistive technologies.
185185 //
186186 // 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) {
188188
189189 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
190190
@@ -217,7 +217,7 @@ func (x *ShortcutLabel) UpdateState(FirstStateVar AccessibleState, varArgs ...in
217217 // state change must be communicated to assistive technologies.
218218 //
219219 // 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) {
221221
222222 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
223223
M v4/gtk/gtkshortcutsgroup.go +8 -4
@@ -1,7 +1,11 @@
11 // Package gtk was automatically generated by github.com/jwijenbergh/puregotk DO NOT EDIT
22 package gtk
33
4-import "unsafe"
4+import (
5+ "unsafe"
6+
7+ "github.com/jwijenbergh/puregotk/v4/gobject"
8+)
59
610 type ShortcutsGroupClass struct {
711 }
@@ -94,7 +98,7 @@ func (x *ShortcutsGroup) UpdateProperty(FirstPropertyVar AccessibleProperty, var
9498 // property change must be communicated to assistive technologies.
9599 //
96100 // 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) {
98102
99103 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
100104
@@ -130,7 +134,7 @@ func (x *ShortcutsGroup) UpdateRelation(FirstRelationVar AccessibleRelation, var
130134 // relation change must be communicated to assistive technologies.
131135 //
132136 // 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) {
134138
135139 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
136140
@@ -163,7 +167,7 @@ func (x *ShortcutsGroup) UpdateState(FirstStateVar AccessibleState, varArgs ...i
163167 // state change must be communicated to assistive technologies.
164168 //
165169 // 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) {
167171
168172 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
169173
M v4/gtk/gtkshortcutssection.go +3 -3
@@ -124,7 +124,7 @@ func (x *ShortcutsSection) UpdateProperty(FirstPropertyVar AccessibleProperty, v
124124 // property change must be communicated to assistive technologies.
125125 //
126126 // 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) {
128128
129129 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
130130
@@ -160,7 +160,7 @@ func (x *ShortcutsSection) UpdateRelation(FirstRelationVar AccessibleRelation, v
160160 // relation change must be communicated to assistive technologies.
161161 //
162162 // 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) {
164164
165165 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
166166
@@ -193,7 +193,7 @@ func (x *ShortcutsSection) UpdateState(FirstStateVar AccessibleState, varArgs ..
193193 // state change must be communicated to assistive technologies.
194194 //
195195 // 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) {
197197
198198 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
199199
M v4/gtk/gtkshortcutsshortcut.go +8 -4
@@ -1,7 +1,11 @@
11 // Package gtk was automatically generated by github.com/jwijenbergh/puregotk DO NOT EDIT
22 package gtk
33
4-import "unsafe"
4+import (
5+ "unsafe"
6+
7+ "github.com/jwijenbergh/puregotk/v4/gobject"
8+)
59
610 type ShortcutsShortcutClass struct {
711 }
@@ -121,7 +125,7 @@ func (x *ShortcutsShortcut) UpdateProperty(FirstPropertyVar AccessibleProperty,
121125 // property change must be communicated to assistive technologies.
122126 //
123127 // 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) {
125129
126130 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
127131
@@ -157,7 +161,7 @@ func (x *ShortcutsShortcut) UpdateRelation(FirstRelationVar AccessibleRelation,
157161 // relation change must be communicated to assistive technologies.
158162 //
159163 // 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) {
161165
162166 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
163167
@@ -190,7 +194,7 @@ func (x *ShortcutsShortcut) UpdateState(FirstStateVar AccessibleState, varArgs .
190194 // state change must be communicated to assistive technologies.
191195 //
192196 // 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) {
194198
195199 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
196200
M v4/gtk/gtkshortcutswindow.go +3 -3
@@ -176,7 +176,7 @@ func (x *ShortcutsWindow) UpdateProperty(FirstPropertyVar AccessibleProperty, va
176176 // property change must be communicated to assistive technologies.
177177 //
178178 // 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) {
180180
181181 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
182182
@@ -212,7 +212,7 @@ func (x *ShortcutsWindow) UpdateRelation(FirstRelationVar AccessibleRelation, va
212212 // relation change must be communicated to assistive technologies.
213213 //
214214 // 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) {
216216
217217 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
218218
@@ -245,7 +245,7 @@ func (x *ShortcutsWindow) UpdateState(FirstStateVar AccessibleState, varArgs ...
245245 // state change must be communicated to assistive technologies.
246246 //
247247 // 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) {
249249
250250 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
251251
M v4/gtk/gtksingleselection.go +2 -1
@@ -8,6 +8,7 @@ import (
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/gio"
1010 "github.com/jwijenbergh/puregotk/v4/gobject"
11+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1112 )
1213
1314 type SingleSelectionClass struct {
@@ -203,7 +204,7 @@ func (x *SingleSelection) GetItem(PositionVar uint) uintptr {
203204 //
204205 // The item type of a #GListModel can not change during the life of the
205206 // model.
206-func (x *SingleSelection) GetItemType() []interface{} {
207+func (x *SingleSelection) GetItemType() types.GType {
207208
208209 cret := gio.XGListModelGetItemType(x.GoPointer())
209210 return cret
M v4/gtk/gtksizerequest.go +2 -2
@@ -23,7 +23,7 @@ func (x *RequestedSize) GoPointer() uintptr {
2323 return uintptr(unsafe.Pointer(x))
2424 }
2525
26-var xDistributeNaturalAllocation func(int, uint, uintptr) int
26+var xDistributeNaturalAllocation func(int, uint, []RequestedSize) int
2727
2828 // Distributes @extra_space to child @sizes by bringing smaller
2929 // children up to natural size first.
@@ -31,7 +31,7 @@ var xDistributeNaturalAllocation func(int, uint, uintptr) int
3131 // The remaining space will be added to the @minimum_size member of the
3232 // `GtkRequestedSize` struct. If all sizes reach their natural size then
3333 // 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 {
3535
3636 cret := xDistributeNaturalAllocation(ExtraSpaceVar, NRequestedSizesVar, SizesVar)
3737 return cret
M v4/gtk/gtkslicelistmodel.go +2 -1
@@ -8,6 +8,7 @@ import (
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/gio"
1010 "github.com/jwijenbergh/puregotk/v4/gobject"
11+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1112 )
1213
1314 type SliceListModelClass struct {
@@ -154,7 +155,7 @@ func (x *SliceListModel) GetItem(PositionVar uint) uintptr {
154155 //
155156 // The item type of a #GListModel can not change during the life of the
156157 // model.
157-func (x *SliceListModel) GetItemType() []interface{} {
158+func (x *SliceListModel) GetItemType() types.GType {
158159
159160 cret := gio.XGListModelGetItemType(x.GoPointer())
160161 return cret
M v4/gtk/gtksnapshot.go +14 -14
@@ -59,12 +59,12 @@ func NewSnapshot() *Snapshot {
5959 return cls
6060 }
6161
62-var xSnapshotAppendBorder func(uintptr, *gsk.RoundedRect, uintptr, uintptr)
62+var xSnapshotAppendBorder func(uintptr, *gsk.RoundedRect, [4]float32, [4]gdk.RGBA)
6363
6464 // Appends a stroked border rectangle inside the given @outline.
6565 //
6666 // 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) {
6868
6969 xSnapshotAppendBorder(x.GoPointer(), OutlineVar, BorderWidthVar, BorderColorVar)
7070
@@ -94,10 +94,10 @@ func (x *Snapshot) AppendColor(ColorVar *gdk.RGBA, BoundsVar *graphene.Rect) {
9494
9595 }
9696
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)
9898
9999 // 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) {
101101
102102 xSnapshotAppendConicGradient(x.GoPointer(), BoundsVar, CenterVar, RotationVar, StopsVar, NStopsVar)
103103
@@ -120,10 +120,10 @@ func (x *Snapshot) AppendLayout(LayoutVar *pango.Layout, ColorVar *gdk.RGBA) {
120120
121121 }
122122
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)
124124
125125 // 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) {
127127
128128 xSnapshotAppendLinearGradient(x.GoPointer(), BoundsVar, StartPointVar, EndPointVar, StopsVar, NStopsVar)
129129
@@ -151,28 +151,28 @@ func (x *Snapshot) AppendOutsetShadow(OutlineVar *gsk.RoundedRect, ColorVar *gdk
151151
152152 }
153153
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)
155155
156156 // 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) {
158158
159159 xSnapshotAppendRadialGradient(x.GoPointer(), BoundsVar, CenterVar, HradiusVar, VradiusVar, StartVar, EndVar, StopsVar, NStopsVar)
160160
161161 }
162162
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)
164164
165165 // 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) {
167167
168168 xSnapshotAppendRepeatingLinearGradient(x.GoPointer(), BoundsVar, StartPointVar, EndPointVar, StopsVar, NStopsVar)
169169
170170 }
171171
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)
173173
174174 // 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) {
176176
177177 xSnapshotAppendRepeatingRadialGradient(x.GoPointer(), BoundsVar, CenterVar, HradiusVar, VradiusVar, StartVar, EndVar, StopsVar, NStopsVar)
178178
@@ -414,12 +414,12 @@ func (x *Snapshot) PushRoundedClip(BoundsVar *gsk.RoundedRect) {
414414
415415 }
416416
417-var xSnapshotPushShadow func(uintptr, uintptr, uint)
417+var xSnapshotPushShadow func(uintptr, []gsk.Shadow, uint)
418418
419419 // Applies a shadow to an image.
420420 //
421421 // 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) {
423423
424424 xSnapshotPushShadow(x.GoPointer(), ShadowVar, NShadowsVar)
425425
M v4/gtk/gtksortlistmodel.go +2 -1
@@ -8,6 +8,7 @@ import (
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/gio"
1010 "github.com/jwijenbergh/puregotk/v4/gobject"
11+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1112 )
1213
1314 type SortListModelClass struct {
@@ -208,7 +209,7 @@ func (x *SortListModel) GetItem(PositionVar uint) uintptr {
208209 //
209210 // The item type of a #GListModel can not change during the life of the
210211 // model.
211-func (x *SortListModel) GetItemType() []interface{} {
212+func (x *SortListModel) GetItemType() types.GType {
212213
213214 cret := gio.XGListModelGetItemType(x.GoPointer())
214215 return cret
M v4/gtk/gtkspinbutton.go +3 -3
@@ -693,7 +693,7 @@ func (x *SpinButton) UpdateProperty(FirstPropertyVar AccessibleProperty, varArgs
693693 // property change must be communicated to assistive technologies.
694694 //
695695 // 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) {
697697
698698 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
699699
@@ -729,7 +729,7 @@ func (x *SpinButton) UpdateRelation(FirstRelationVar AccessibleRelation, varArgs
729729 // relation change must be communicated to assistive technologies.
730730 //
731731 // 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) {
733733
734734 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
735735
@@ -762,7 +762,7 @@ func (x *SpinButton) UpdateState(FirstStateVar AccessibleState, varArgs ...inter
762762 // state change must be communicated to assistive technologies.
763763 //
764764 // 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) {
766766
767767 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
768768
M v4/gtk/gtkspinner.go +3 -3
@@ -151,7 +151,7 @@ func (x *Spinner) UpdateProperty(FirstPropertyVar AccessibleProperty, varArgs ..
151151 // property change must be communicated to assistive technologies.
152152 //
153153 // 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) {
155155
156156 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
157157
@@ -187,7 +187,7 @@ func (x *Spinner) UpdateRelation(FirstRelationVar AccessibleRelation, varArgs ..
187187 // relation change must be communicated to assistive technologies.
188188 //
189189 // 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) {
191191
192192 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
193193
@@ -220,7 +220,7 @@ func (x *Spinner) UpdateState(FirstStateVar AccessibleState, varArgs ...interfac
220220 // state change must be communicated to assistive technologies.
221221 //
222222 // 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) {
224224
225225 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
226226
M v4/gtk/gtkstack.go +6 -6
@@ -528,7 +528,7 @@ func (x *Stack) UpdateProperty(FirstPropertyVar AccessibleProperty, varArgs ...i
528528 // property change must be communicated to assistive technologies.
529529 //
530530 // 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) {
532532
533533 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
534534
@@ -564,7 +564,7 @@ func (x *Stack) UpdateRelation(FirstRelationVar AccessibleRelation, varArgs ...i
564564 // relation change must be communicated to assistive technologies.
565565 //
566566 // 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) {
568568
569569 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
570570
@@ -597,7 +597,7 @@ func (x *Stack) UpdateState(FirstStateVar AccessibleState, varArgs ...interface{
597597 // state change must be communicated to assistive technologies.
598598 //
599599 // 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) {
601601
602602 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
603603
@@ -818,7 +818,7 @@ func (x *StackPage) UpdateProperty(FirstPropertyVar AccessibleProperty, varArgs
818818 // property change must be communicated to assistive technologies.
819819 //
820820 // 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) {
822822
823823 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
824824
@@ -854,7 +854,7 @@ func (x *StackPage) UpdateRelation(FirstRelationVar AccessibleRelation, varArgs
854854 // relation change must be communicated to assistive technologies.
855855 //
856856 // 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) {
858858
859859 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
860860
@@ -887,7 +887,7 @@ func (x *StackPage) UpdateState(FirstStateVar AccessibleState, varArgs ...interf
887887 // state change must be communicated to assistive technologies.
888888 //
889889 // 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) {
891891
892892 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
893893
M v4/gtk/gtkstacksidebar.go +3 -3
@@ -144,7 +144,7 @@ func (x *StackSidebar) UpdateProperty(FirstPropertyVar AccessibleProperty, varAr
144144 // property change must be communicated to assistive technologies.
145145 //
146146 // 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) {
148148
149149 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
150150
@@ -180,7 +180,7 @@ func (x *StackSidebar) UpdateRelation(FirstRelationVar AccessibleRelation, varAr
180180 // relation change must be communicated to assistive technologies.
181181 //
182182 // 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) {
184184
185185 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
186186
@@ -213,7 +213,7 @@ func (x *StackSidebar) UpdateState(FirstStateVar AccessibleState, varArgs ...int
213213 // state change must be communicated to assistive technologies.
214214 //
215215 // 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) {
217217
218218 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
219219
M v4/gtk/gtkstackswitcher.go +3 -3
@@ -159,7 +159,7 @@ func (x *StackSwitcher) UpdateProperty(FirstPropertyVar AccessibleProperty, varA
159159 // property change must be communicated to assistive technologies.
160160 //
161161 // 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) {
163163
164164 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
165165
@@ -195,7 +195,7 @@ func (x *StackSwitcher) UpdateRelation(FirstRelationVar AccessibleRelation, varA
195195 // relation change must be communicated to assistive technologies.
196196 //
197197 // 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) {
199199
200200 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
201201
@@ -228,7 +228,7 @@ func (x *StackSwitcher) UpdateState(FirstStateVar AccessibleState, varArgs ...in
228228 // state change must be communicated to assistive technologies.
229229 //
230230 // 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) {
232232
233233 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
234234
M v4/gtk/gtkstatusbar.go +3 -3
@@ -234,7 +234,7 @@ func (x *Statusbar) UpdateProperty(FirstPropertyVar AccessibleProperty, varArgs
234234 // property change must be communicated to assistive technologies.
235235 //
236236 // 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) {
238238
239239 XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
240240
@@ -270,7 +270,7 @@ func (x *Statusbar) UpdateRelation(FirstRelationVar AccessibleRelation, varArgs
270270 // relation change must be communicated to assistive technologies.
271271 //
272272 // 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) {
274274
275275 XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
276276
@@ -303,7 +303,7 @@ func (x *Statusbar) UpdateState(FirstStateVar AccessibleState, varArgs ...interf
303303 // state change must be communicated to assistive technologies.
304304 //
305305 // 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) {
307307
308308 XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
309309
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
@@ -74,7 +74,7 @@ func (x *GlyphItem) Free() {
7474
7575 }
7676
77-var xGlyphItemGetLogicalWidths func(uintptr, string, uintptr)
77+var xGlyphItemGetLogicalWidths func(uintptr, string, []int)
7878
7979 // Given a `PangoGlyphItem` and the corresponding text, determine the
8080 // width corresponding to each character.
@@ -83,17 +83,17 @@ var xGlyphItemGetLogicalWidths func(uintptr, string, uintptr)
8383 // entire cluster is divided equally among the characters.
8484 //
8585 // See also [method@Pango.GlyphString.get_logical_widths].
86-func (x *GlyphItem) GetLogicalWidths(TextVar string, LogicalWidthsVar uintptr) {
86+func (x *GlyphItem) GetLogicalWidths(TextVar string, LogicalWidthsVar []int) {
8787
8888 xGlyphItemGetLogicalWidths(x.GoPointer(), TextVar, LogicalWidthsVar)
8989
9090 }
9191
92-var xGlyphItemLetterSpace func(uintptr, string, uintptr, int)
92+var xGlyphItemLetterSpace func(uintptr, string, []LogAttr, int)
9393
9494 // Adds spacing between the graphemes of @glyph_item to
9595 // give the effect of typographic letter spacing.
96-func (x *GlyphItem) LetterSpace(TextVar string, LogAttrsVar uintptr, LetterSpacingVar int) {
96+func (x *GlyphItem) LetterSpace(TextVar string, LogAttrsVar []LogAttr, LetterSpacingVar int) {
9797
9898 xGlyphItemLetterSpace(x.GoPointer(), TextVar, LogAttrsVar, LetterSpacingVar)
9999
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