detached 850b37a

Gen: Re-run script

commit
850b37a6a7b7cb22d444817990b7434d32c51e41
author
Jeroen Wijenbergh · · 2025-04-07 12:27 UTC
committer
Jeroen Wijenbergh · · 2025-04-07 12:28 UTC
parent
d0403f8
signature
unsigned
483 files · +1674 -2
M v4/adw/adw-about-window.go +3 -0
@@ -2,6 +2,7 @@
22 package adw
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -15,6 +16,8 @@ import (
1516 )
1617
1718 type AboutWindowClass struct {
19+ _ structs.HostLayout
20+
1821 ParentClass uintptr
1922 }
2023
M v4/adw/adw-action-row.go +3 -0
@@ -2,6 +2,7 @@
22 package adw
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -13,6 +14,8 @@ import (
1314 )
1415
1516 type ActionRowClass struct {
17+ _ structs.HostLayout
18+
1619 ParentClass uintptr
1720
1821 Padding [4]uintptr
M v4/adw/adw-animation-target.go +4 -0
@@ -2,6 +2,7 @@
22 package adw
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -15,6 +16,7 @@ import (
1516 type AnimationTargetFunc func(float64, uintptr)
1617
1718 type AnimationTargetClass struct {
19+ _ structs.HostLayout
1820 }
1921
2022 func (x *AnimationTargetClass) GoPointer() uintptr {
@@ -22,6 +24,7 @@ func (x *AnimationTargetClass) GoPointer() uintptr {
2224 }
2325
2426 type CallbackAnimationTargetClass struct {
27+ _ structs.HostLayout
2528 }
2629
2730 func (x *CallbackAnimationTargetClass) GoPointer() uintptr {
@@ -29,6 +32,7 @@ func (x *CallbackAnimationTargetClass) GoPointer() uintptr {
2932 }
3033
3134 type PropertyAnimationTargetClass struct {
35+ _ structs.HostLayout
3236 }
3337
3438 func (x *PropertyAnimationTargetClass) GoPointer() uintptr {
M v4/adw/adw-animation.go +2 -0
@@ -2,6 +2,7 @@
22 package adw
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -13,6 +14,7 @@ import (
1314 )
1415
1516 type AnimationClass struct {
17+ _ structs.HostLayout
1618 }
1719
1820 func (x *AnimationClass) GoPointer() uintptr {
M v4/adw/adw-application-window.go +3 -0
@@ -2,6 +2,7 @@
22 package adw
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -16,6 +17,8 @@ import (
1617 )
1718
1819 type ApplicationWindowClass struct {
20+ _ structs.HostLayout
21+
1922 ParentClass uintptr
2023
2124 Padding [4]uintptr
M v4/adw/adw-application.go +3 -0
@@ -2,6 +2,7 @@
22 package adw
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -14,6 +15,8 @@ import (
1415 )
1516
1617 type ApplicationClass struct {
18+ _ structs.HostLayout
19+
1720 ParentClass uintptr
1821
1922 Padding [4]uintptr
M v4/adw/adw-avatar.go +3 -0
@@ -2,6 +2,7 @@
22 package adw
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -13,6 +14,8 @@ import (
1314 )
1415
1516 type AvatarClass struct {
17+ _ structs.HostLayout
18+
1619 ParentClass uintptr
1720 }
1821
M v4/adw/adw-banner.go +3 -0
@@ -2,6 +2,7 @@
22 package adw
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -13,6 +14,8 @@ import (
1314 )
1415
1516 type BannerClass struct {
17+ _ structs.HostLayout
18+
1619 ParentClass uintptr
1720 }
1821
M v4/adw/adw-bin.go +3 -0
@@ -2,6 +2,7 @@
22 package adw
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -12,6 +13,8 @@ import (
1213 )
1314
1415 type BinClass struct {
16+ _ structs.HostLayout
17+
1518 ParentClass uintptr
1619 }
1720
M v4/adw/adw-button-content.go +3 -0
@@ -2,6 +2,7 @@
22 package adw
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -12,6 +13,8 @@ import (
1213 )
1314
1415 type ButtonContentClass struct {
16+ _ structs.HostLayout
17+
1518 ParentClass uintptr
1619 }
1720
M v4/adw/adw-carousel-indicator-dots.go +3 -0
@@ -2,6 +2,7 @@
22 package adw
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -12,6 +13,8 @@ import (
1213 )
1314
1415 type CarouselIndicatorDotsClass struct {
16+ _ structs.HostLayout
17+
1518 ParentClass uintptr
1619 }
1720
M v4/adw/adw-carousel-indicator-lines.go +3 -0
@@ -2,6 +2,7 @@
22 package adw
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -12,6 +13,8 @@ import (
1213 )
1314
1415 type CarouselIndicatorLinesClass struct {
16+ _ structs.HostLayout
17+
1518 ParentClass uintptr
1619 }
1720
M v4/adw/adw-carousel.go +3 -0
@@ -2,6 +2,7 @@
22 package adw
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -14,6 +15,8 @@ import (
1415 )
1516
1617 type CarouselClass struct {
18+ _ structs.HostLayout
19+
1720 ParentClass uintptr
1821 }
1922
M v4/adw/adw-clamp-layout.go +3 -0
@@ -2,6 +2,7 @@
22 package adw
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -11,6 +12,8 @@ import (
1112 )
1213
1314 type ClampLayoutClass struct {
15+ _ structs.HostLayout
16+
1417 ParentClass uintptr
1518 }
1619
M v4/adw/adw-clamp-scrollable.go +3 -0
@@ -2,6 +2,7 @@
22 package adw
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -12,6 +13,8 @@ import (
1213 )
1314
1415 type ClampScrollableClass struct {
16+ _ structs.HostLayout
17+
1518 ParentClass uintptr
1619 }
1720
M v4/adw/adw-clamp.go +3 -0
@@ -2,6 +2,7 @@
22 package adw
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -12,6 +13,8 @@ import (
1213 )
1314
1415 type ClampClass struct {
16+ _ structs.HostLayout
17+
1518 ParentClass uintptr
1619 }
1720
M v4/adw/adw-combo-row.go +3 -0
@@ -2,6 +2,7 @@
22 package adw
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -14,6 +15,8 @@ import (
1415 )
1516
1617 type ComboRowClass struct {
18+ _ structs.HostLayout
19+
1720 ParentClass uintptr
1821
1922 Padding [4]uintptr
M v4/adw/adw-entry-row.go +3 -0
@@ -2,6 +2,7 @@
22 package adw
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -14,6 +15,8 @@ import (
1415 )
1516
1617 type EntryRowClass struct {
18+ _ structs.HostLayout
19+
1720 ParentClass uintptr
1821 }
1922
M v4/adw/adw-enum-list-model.go +5 -0
@@ -2,6 +2,7 @@
22 package adw
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -12,6 +13,8 @@ import (
1213 )
1314
1415 type EnumListItemClass struct {
16+ _ structs.HostLayout
17+
1518 ParentClass uintptr
1619 }
1720
@@ -20,6 +23,8 @@ func (x *EnumListItemClass) GoPointer() uintptr {
2023 }
2124
2225 type EnumListModelClass struct {
26+ _ structs.HostLayout
27+
2328 ParentClass uintptr
2429 }
2530
M v4/adw/adw-expander-row.go +3 -0
@@ -2,6 +2,7 @@
22 package adw
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -13,6 +14,8 @@ import (
1314 )
1415
1516 type ExpanderRowClass struct {
17+ _ structs.HostLayout
18+
1619 ParentClass uintptr
1720
1821 Padding [4]uintptr
M v4/adw/adw-flap.go +3 -0
@@ -2,6 +2,7 @@
22 package adw
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -13,6 +14,8 @@ import (
1314 )
1415
1516 type FlapClass struct {
17+ _ structs.HostLayout
18+
1619 ParentClass uintptr
1720 }
1821
M v4/adw/adw-header-bar.go +3 -0
@@ -2,6 +2,7 @@
22 package adw
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -12,6 +13,8 @@ import (
1213 )
1314
1415 type HeaderBarClass struct {
16+ _ structs.HostLayout
17+
1518 ParentClass uintptr
1619 }
1720
M v4/adw/adw-leaflet.go +5 -0
@@ -2,6 +2,7 @@
22 package adw
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -13,6 +14,8 @@ import (
1314 )
1415
1516 type LeafletClass struct {
17+ _ structs.HostLayout
18+
1619 ParentClass uintptr
1720 }
1821
@@ -21,6 +24,8 @@ func (x *LeafletClass) GoPointer() uintptr {
2124 }
2225
2326 type LeafletPageClass struct {
27+ _ structs.HostLayout
28+
2429 ParentClass uintptr
2530 }
2631
M v4/adw/adw-message-dialog.go +3 -0
@@ -2,6 +2,7 @@
22 package adw
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -16,6 +17,8 @@ import (
1617 )
1718
1819 type MessageDialogClass struct {
20+ _ structs.HostLayout
21+
1922 ParentClass uintptr
2023
2124 Padding [4]uintptr
M v4/adw/adw-password-entry-row.go +3 -0
@@ -2,6 +2,7 @@
22 package adw
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -13,6 +14,8 @@ import (
1314 )
1415
1516 type PasswordEntryRowClass struct {
17+ _ structs.HostLayout
18+
1619 ParentClass uintptr
1720 }
1821
M v4/adw/adw-preferences-group.go +3 -0
@@ -2,6 +2,7 @@
22 package adw
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -12,6 +13,8 @@ import (
1213 )
1314
1415 type PreferencesGroupClass struct {
16+ _ structs.HostLayout
17+
1518 ParentClass uintptr
1619
1720 Padding [4]uintptr
M v4/adw/adw-preferences-page.go +3 -0
@@ -2,6 +2,7 @@
22 package adw
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -12,6 +13,8 @@ import (
1213 )
1314
1415 type PreferencesPageClass struct {
16+ _ structs.HostLayout
17+
1518 ParentClass uintptr
1619
1720 Padding [4]uintptr
M v4/adw/adw-preferences-row.go +3 -0
@@ -2,6 +2,7 @@
22 package adw
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -13,6 +14,8 @@ import (
1314 )
1415
1516 type PreferencesRowClass struct {
17+ _ structs.HostLayout
18+
1619 ParentClass uintptr
1720
1821 Padding [4]uintptr
M v4/adw/adw-preferences-window.go +3 -0
@@ -2,6 +2,7 @@
22 package adw
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -14,6 +15,8 @@ import (
1415 )
1516
1617 type PreferencesWindowClass struct {
18+ _ structs.HostLayout
19+
1720 ParentClass uintptr
1821
1922 Padding [4]uintptr
M v4/adw/adw-split-button.go +3 -0
@@ -2,6 +2,7 @@
22 package adw
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -14,6 +15,8 @@ import (
1415 )
1516
1617 type SplitButtonClass struct {
18+ _ structs.HostLayout
19+
1720 ParentClass uintptr
1821 }
1922
M v4/adw/adw-spring-animation.go +2 -0
@@ -2,6 +2,7 @@
22 package adw
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -12,6 +13,7 @@ import (
1213 )
1314
1415 type SpringAnimationClass struct {
16+ _ structs.HostLayout
1517 }
1618
1719 func (x *SpringAnimationClass) GoPointer() uintptr {
M v4/adw/adw-spring-params.go +2 -0
@@ -2,6 +2,7 @@
22 package adw
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -40,6 +41,7 @@ import (
4041 //
4142 // As such
4243 type SpringParams struct {
44+ _ structs.HostLayout
4345 }
4446
4547 var xSpringParamsGLibType func() types.GType
M v4/adw/adw-squeezer.go +5 -0
@@ -2,6 +2,7 @@
22 package adw
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -12,6 +13,8 @@ import (
1213 )
1314
1415 type SqueezerClass struct {
16+ _ structs.HostLayout
17+
1518 ParentClass uintptr
1619 }
1720
@@ -20,6 +23,8 @@ func (x *SqueezerClass) GoPointer() uintptr {
2023 }
2124
2225 type SqueezerPageClass struct {
26+ _ structs.HostLayout
27+
2328 ParentClass uintptr
2429 }
2530
M v4/adw/adw-status-page.go +3 -0
@@ -2,6 +2,7 @@
22 package adw
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -13,6 +14,8 @@ import (
1314 )
1415
1516 type StatusPageClass struct {
17+ _ structs.HostLayout
18+
1619 ParentClass uintptr
1720 }
1821
M v4/adw/adw-style-manager.go +3 -0
@@ -2,6 +2,7 @@
22 package adw
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -12,6 +13,8 @@ import (
1213 )
1314
1415 type StyleManagerClass struct {
16+ _ structs.HostLayout
17+
1518 ParentClass uintptr
1619 }
1720
M v4/adw/adw-swipe-tracker.go +3 -0
@@ -2,6 +2,7 @@
22 package adw
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -13,6 +14,8 @@ import (
1314 )
1415
1516 type SwipeTrackerClass struct {
17+ _ structs.HostLayout
18+
1619 ParentClass uintptr
1720 }
1821
M v4/adw/adw-swipeable.go +3 -0
@@ -2,6 +2,7 @@
22 package adw
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -12,6 +13,8 @@ import (
1213
1314 // An interface for swipeable widgets.
1415 type SwipeableInterface struct {
16+ _ structs.HostLayout
17+
1518 Parent uintptr
1619
1720 Padding [4]uintptr
M v4/adw/adw-tab-bar.go +3 -0
@@ -2,6 +2,7 @@
22 package adw
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -14,6 +15,8 @@ import (
1415 )
1516
1617 type TabBarClass struct {
18+ _ structs.HostLayout
19+
1720 ParentClass uintptr
1821 }
1922
M v4/adw/adw-tab-button.go +3 -0
@@ -2,6 +2,7 @@
22 package adw
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -13,6 +14,8 @@ import (
1314 )
1415
1516 type TabButtonClass struct {
17+ _ structs.HostLayout
18+
1619 ParentClass uintptr
1720 }
1821
M v4/adw/adw-tab-overview.go +3 -0
@@ -2,6 +2,7 @@
22 package adw
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -15,6 +16,8 @@ import (
1516 )
1617
1718 type TabOverviewClass struct {
19+ _ structs.HostLayout
20+
1821 ParentClass uintptr
1922 }
2023
M v4/adw/adw-tab-view.go +5 -0
@@ -2,6 +2,7 @@
22 package adw
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -14,6 +15,8 @@ import (
1415 )
1516
1617 type TabPageClass struct {
18+ _ structs.HostLayout
19+
1720 ParentClass uintptr
1821 }
1922
@@ -22,6 +25,8 @@ func (x *TabPageClass) GoPointer() uintptr {
2225 }
2326
2427 type TabViewClass struct {
28+ _ structs.HostLayout
29+
2530 ParentClass uintptr
2631 }
2732
M v4/adw/adw-timed-animation.go +2 -0
@@ -2,6 +2,7 @@
22 package adw
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -12,6 +13,7 @@ import (
1213 )
1314
1415 type TimedAnimationClass struct {
16+ _ structs.HostLayout
1517 }
1618
1719 func (x *TimedAnimationClass) GoPointer() uintptr {
M v4/adw/adw-toast-overlay.go +3 -0
@@ -2,6 +2,7 @@
22 package adw
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -12,6 +13,8 @@ import (
1213 )
1314
1415 type ToastOverlayClass struct {
16+ _ structs.HostLayout
17+
1518 ParentClass uintptr
1619 }
1720
M v4/adw/adw-toast.go +3 -0
@@ -2,6 +2,7 @@
22 package adw
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -13,6 +14,8 @@ import (
1314 )
1415
1516 type ToastClass struct {
17+ _ structs.HostLayout
18+
1619 ParentClass uintptr
1720 }
1821
M v4/adw/adw-view-stack.go +5 -0
@@ -2,6 +2,7 @@
22 package adw
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -12,6 +13,8 @@ import (
1213 )
1314
1415 type ViewStackClass struct {
16+ _ structs.HostLayout
17+
1518 ParentClass uintptr
1619 }
1720
@@ -20,6 +23,8 @@ func (x *ViewStackClass) GoPointer() uintptr {
2023 }
2124
2225 type ViewStackPageClass struct {
26+ _ structs.HostLayout
27+
2328 ParentClass uintptr
2429 }
2530
M v4/adw/adw-view-switcher-bar.go +3 -0
@@ -2,6 +2,7 @@
22 package adw
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -12,6 +13,8 @@ import (
1213 )
1314
1415 type ViewSwitcherBarClass struct {
16+ _ structs.HostLayout
17+
1518 ParentClass uintptr
1619 }
1720
M v4/adw/adw-view-switcher-title.go +3 -0
@@ -2,6 +2,7 @@
22 package adw
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -12,6 +13,8 @@ import (
1213 )
1314
1415 type ViewSwitcherTitleClass struct {
16+ _ structs.HostLayout
17+
1518 ParentClass uintptr
1619 }
1720
M v4/adw/adw-view-switcher.go +3 -0
@@ -2,6 +2,7 @@
22 package adw
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -12,6 +13,8 @@ import (
1213 )
1314
1415 type ViewSwitcherClass struct {
16+ _ structs.HostLayout
17+
1518 ParentClass uintptr
1619 }
1720
M v4/adw/adw-window-title.go +3 -0
@@ -2,6 +2,7 @@
22 package adw
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -12,6 +13,8 @@ import (
1213 )
1314
1415 type WindowTitleClass struct {
16+ _ structs.HostLayout
17+
1518 ParentClass uintptr
1619 }
1720
M v4/adw/adw-window.go +3 -0
@@ -2,6 +2,7 @@
22 package adw
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -14,6 +15,8 @@ import (
1415 )
1516
1617 type WindowClass struct {
18+ _ structs.HostLayout
19+
1720 ParentClass uintptr
1821
1922 Padding [4]uintptr
M v4/cairo/main.go +15 -0
@@ -2,6 +2,7 @@
22 package cairo
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -10,6 +11,7 @@ import (
1011 )
1112
1213 type Context struct {
14+ _ structs.HostLayout
1315 }
1416
1517 var xContextGLibType func() types.GType
@@ -23,6 +25,7 @@ func (x *Context) GoPointer() uintptr {
2325 }
2426
2527 type Device struct {
28+ _ structs.HostLayout
2629 }
2730
2831 var xDeviceGLibType func() types.GType
@@ -36,6 +39,7 @@ func (x *Device) GoPointer() uintptr {
3639 }
3740
3841 type Surface struct {
42+ _ structs.HostLayout
3943 }
4044
4145 var xSurfaceGLibType func() types.GType
@@ -49,6 +53,7 @@ func (x *Surface) GoPointer() uintptr {
4953 }
5054
5155 type Matrix struct {
56+ _ structs.HostLayout
5257 }
5358
5459 func (x *Matrix) GoPointer() uintptr {
@@ -56,6 +61,7 @@ func (x *Matrix) GoPointer() uintptr {
5661 }
5762
5863 type Pattern struct {
64+ _ structs.HostLayout
5965 }
6066
6167 var xPatternGLibType func() types.GType
@@ -69,6 +75,7 @@ func (x *Pattern) GoPointer() uintptr {
6975 }
7076
7177 type Region struct {
78+ _ structs.HostLayout
7279 }
7380
7481 var xRegionGLibType func() types.GType
@@ -82,6 +89,7 @@ func (x *Region) GoPointer() uintptr {
8289 }
8390
8491 type FontOptions struct {
92+ _ structs.HostLayout
8593 }
8694
8795 var xFontOptionsGLibType func() types.GType
@@ -95,6 +103,7 @@ func (x *FontOptions) GoPointer() uintptr {
95103 }
96104
97105 type FontFace struct {
106+ _ structs.HostLayout
98107 }
99108
100109 var xFontFaceGLibType func() types.GType
@@ -108,6 +117,7 @@ func (x *FontFace) GoPointer() uintptr {
108117 }
109118
110119 type ScaledFont struct {
120+ _ structs.HostLayout
111121 }
112122
113123 var xScaledFontGLibType func() types.GType
@@ -121,6 +131,7 @@ func (x *ScaledFont) GoPointer() uintptr {
121131 }
122132
123133 type Path struct {
134+ _ structs.HostLayout
124135 }
125136
126137 func (x *Path) GoPointer() uintptr {
@@ -128,6 +139,8 @@ func (x *Path) GoPointer() uintptr {
128139 }
129140
130141 type Rectangle struct {
142+ _ structs.HostLayout
143+
131144 X float64
132145
133146 Y float64
@@ -148,6 +161,8 @@ func (x *Rectangle) GoPointer() uintptr {
148161 }
149162
150163 type RectangleInt struct {
164+ _ structs.HostLayout
165+
151166 X int32
152167
153168 Y int32
M v4/gdk/gdkcontentformats.go +3 -0
@@ -2,6 +2,7 @@
22 package gdk
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -13,6 +14,7 @@ import (
1314 // A `GdkContentFormatsBuilder` is an auxiliary struct used to create
1415 // new `GdkContentFormats`, and should not be kept around.
1516 type ContentFormatsBuilder struct {
17+ _ structs.HostLayout
1618 }
1719
1820 var xContentFormatsBuilderGLibType func() types.GType
@@ -113,6 +115,7 @@ func (x *ContentFormatsBuilder) Unref() {
113115
114116 // An opaque type representing a list of files.
115117 type FileList struct {
118+ _ structs.HostLayout
116119 }
117120
118121 var xFileListGLibType func() types.GType
M v4/gdk/gdkcontentprovider.go +3 -0
@@ -2,6 +2,7 @@
22 package gdk
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -14,6 +15,8 @@ import (
1415
1516 // Class structure for `GdkContentProvider`.
1617 type ContentProviderClass struct {
18+ _ structs.HostLayout
19+
1720 ParentClass uintptr
1821
1922 Padding [8]uintptr
M v4/gdk/gdkdevice.go +3 -0
@@ -2,6 +2,7 @@
22 package gdk
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -19,6 +20,8 @@ import (
1920 // To access individual axis values, use the values of the values of
2021 // the [enum@Gdk.AxisUse] enumerations as indices.
2122 type TimeCoord struct {
23+ _ structs.HostLayout
24+
2225 Time uint32
2326
2427 Flags AxisFlags
M v4/gdk/gdkdevicepad.go +2 -0
@@ -2,6 +2,7 @@
22 package gdk
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -10,6 +11,7 @@ import (
1011 )
1112
1213 type DevicePadInterface struct {
14+ _ structs.HostLayout
1315 }
1416
1517 func (x *DevicePadInterface) GoPointer() uintptr {
M v4/gdk/gdkdragsurface.go +2 -0
@@ -2,6 +2,7 @@
22 package gdk
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -11,6 +12,7 @@ import (
1112
1213 // The `GdkDragSurfaceInterface` implementation is private to GDK.
1314 type DragSurfaceInterface struct {
15+ _ structs.HostLayout
1416 }
1517
1618 func (x *DragSurfaceInterface) GoPointer() uintptr {
M v4/gdk/gdkevents.go +2 -0
@@ -2,6 +2,7 @@
22 package gdk
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -13,6 +14,7 @@ import (
1314 // `GdkEventSequence` is an opaque type representing a sequence
1415 // of related touch events.
1516 type EventSequence struct {
17+ _ structs.HostLayout
1618 }
1719
1820 var xEventSequenceGLibType func() types.GType
M v4/gdk/gdkframeclock.go +3 -0
@@ -2,6 +2,7 @@
22 package gdk
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -12,6 +13,7 @@ import (
1213 )
1314
1415 type FrameClockClass struct {
16+ _ structs.HostLayout
1517 }
1618
1719 func (x *FrameClockClass) GoPointer() uintptr {
@@ -19,6 +21,7 @@ func (x *FrameClockClass) GoPointer() uintptr {
1921 }
2022
2123 type FrameClockPrivate struct {
24+ _ structs.HostLayout
2225 }
2326
2427 func (x *FrameClockPrivate) GoPointer() uintptr {
M v4/gdk/gdkframetimings.go +2 -0
@@ -2,6 +2,7 @@
22 package gdk
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -18,6 +19,7 @@ import (
1819 // the event or audio streams, and for measuring quality metrics for the
1920 // application’s display, such as latency and jitter.
2021 type FrameTimings struct {
22+ _ structs.HostLayout
2123 }
2224
2325 var xFrameTimingsGLibType func() types.GType
M v4/gdk/gdkgltexture.go +2 -0
@@ -2,6 +2,7 @@
22 package gdk
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -12,6 +13,7 @@ import (
1213 )
1314
1415 type GLTextureClass struct {
16+ _ structs.HostLayout
1517 }
1618
1719 func (x *GLTextureClass) GoPointer() uintptr {
M v4/gdk/gdkmemorytexture.go +2 -0
@@ -2,6 +2,7 @@
22 package gdk
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -12,6 +13,7 @@ import (
1213 )
1314
1415 type MemoryTextureClass struct {
16+ _ structs.HostLayout
1517 }
1618
1719 func (x *MemoryTextureClass) GoPointer() uintptr {
M v4/gdk/gdkmonitor.go +2 -0
@@ -2,6 +2,7 @@
22 package gdk
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -12,6 +13,7 @@ import (
1213 )
1314
1415 type MonitorClass struct {
16+ _ structs.HostLayout
1517 }
1618
1719 func (x *MonitorClass) GoPointer() uintptr {
M v4/gdk/gdkpaintable.go +3 -0
@@ -2,6 +2,7 @@
22 package gdk
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -19,6 +20,8 @@ import (
1920 // image is not dynamic as the default implementation returns no flags and
2021 // that will make the implementation likely quite slow.
2122 type PaintableInterface struct {
23+ _ structs.HostLayout
24+
2225 GIface uintptr
2326 }
2427
M v4/gdk/gdkpopup.go +2 -0
@@ -2,6 +2,7 @@
22 package gdk
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -11,6 +12,7 @@ import (
1112 )
1213
1314 type PopupInterface struct {
15+ _ structs.HostLayout
1416 }
1517
1618 func (x *PopupInterface) GoPointer() uintptr {
M v4/gdk/gdkpopuplayout.go +2 -0
@@ -2,6 +2,7 @@
22 package gdk
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -43,6 +44,7 @@ import (
4344 // But you have to be careful avoid changing the size of the popover, or it
4445 // has to be presented again.
4546 type PopupLayout struct {
47+ _ structs.HostLayout
4648 }
4749
4850 var xPopupLayoutGLibType func() types.GType
M v4/gdk/gdkrgba.go +3 -0
@@ -2,6 +2,7 @@
22 package gdk
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -19,6 +20,8 @@ import (
1920 // (1.0, 1.0, 1.0, 1.0) is opaque white. Other values will
2021 // be clamped to this range when drawing.
2122 type RGBA struct {
23+ _ structs.HostLayout
24+
2225 Red float32
2326
2427 Green float32
M v4/gdk/gdksnapshot.go +2 -0
@@ -2,6 +2,7 @@
22 package gdk
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/puregotk/v4/gobject"
@@ -9,6 +10,7 @@ import (
910 )
1011
1112 type SnapshotClass struct {
13+ _ structs.HostLayout
1214 }
1315
1416 func (x *SnapshotClass) GoPointer() uintptr {
M v4/gdk/gdksurface.go +2 -0
@@ -2,6 +2,7 @@
22 package gdk
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -13,6 +14,7 @@ import (
1314 )
1415
1516 type SurfaceClass struct {
17+ _ structs.HostLayout
1618 }
1719
1820 func (x *SurfaceClass) GoPointer() uintptr {
M v4/gdk/gdktexture.go +2 -0
@@ -2,6 +2,7 @@
22 package gdk
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -14,6 +15,7 @@ import (
1415 )
1516
1617 type TextureClass struct {
18+ _ structs.HostLayout
1719 }
1820
1921 func (x *TextureClass) GoPointer() uintptr {
M v4/gdk/gdktoplevel.go +2 -0
@@ -2,6 +2,7 @@
22 package gdk
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -11,6 +12,7 @@ import (
1112 )
1213
1314 type ToplevelInterface struct {
15+ _ structs.HostLayout
1416 }
1517
1618 func (x *ToplevelInterface) GoPointer() uintptr {
M v4/gdk/gdktoplevellayout.go +2 -0
@@ -2,6 +2,7 @@
22 package gdk
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -20,6 +21,7 @@ import (
2021 // to the user in various states (maximized, on all workspaces,
2122 // etc).
2223 type ToplevelLayout struct {
24+ _ structs.HostLayout
2325 }
2426
2527 var xToplevelLayoutGLibType func() types.GType
M v4/gdk/gdktoplevelsize.go +2 -0
@@ -2,6 +2,7 @@
22 package gdk
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -12,6 +13,7 @@ import (
1213 // The `GdkToplevelSize` struct contains information that is useful
1314 // to compute the size of a toplevel.
1415 type ToplevelSize struct {
16+ _ structs.HostLayout
1517 }
1618
1719 func (x *ToplevelSize) GoPointer() uintptr {
M v4/gdk/gdktypes.go +6 -0
@@ -2,6 +2,7 @@
22 package gdk
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -43,6 +44,7 @@ import (
4344 // The [struct@Gdk.ContentFormatsBuilder] structure is meant to help in this
4445 // endeavor.
4546 type ContentFormats struct {
47+ _ structs.HostLayout
4648 }
4749
4850 var xContentFormatsGLibType func() types.GType
@@ -250,6 +252,8 @@ func (x *ContentFormats) Unref() {
250252
251253 // A `GdkKeymapKey` is a hardware key that can be mapped to a keyval.
252254 type KeymapKey struct {
255+ _ structs.HostLayout
256+
253257 Keycode uint
254258
255259 Group int
@@ -277,6 +281,8 @@ func (x *KeymapKey) GoPointer() uintptr {
277281 // The Graphene library has a number of other data types for regions and
278282 // volumes in 2D and 3D.
279283 type Rectangle struct {
284+ _ structs.HostLayout
285+
280286 X int
281287
282288 Y int
M v4/gdkpixbuf/gdk-pixbuf-animation.go +5 -0
@@ -2,6 +2,7 @@
22 package gdkpixbuf
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -16,6 +17,8 @@ import (
1617 // #GdkPixbufAnimation, providing suitable implementations of the
1718 // virtual functions.
1819 type PixbufAnimationClass struct {
20+ _ structs.HostLayout
21+
1922 ParentClass uintptr
2023 }
2124
@@ -27,6 +30,8 @@ func (x *PixbufAnimationClass) GoPointer() uintptr {
2730 // #GdkPixbufAnimationIter, providing suitable implementations of the
2831 // virtual functions.
2932 type PixbufAnimationIterClass struct {
33+ _ structs.HostLayout
34+
3035 ParentClass uintptr
3136 }
3237
M v4/gdkpixbuf/gdk-pixbuf-io.go +7 -0
@@ -2,6 +2,7 @@
22 package gdkpixbuf
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -105,6 +106,8 @@ type PixbufModuleUpdatedFunc func(uintptr, int, int, int, int, uintptr)
105106 // Only modules should access the fields directly, applications should
106107 // use the `gdk_pixbuf_format_*` family of functions.
107108 type PixbufFormat struct {
109+ _ structs.HostLayout
110+
108111 Name uintptr
109112
110113 Signature *PixbufModulePattern
@@ -308,6 +311,8 @@ func (x *PixbufFormat) SetDisabled(DisabledVar bool) {
308311 // `$libdir/gdk-pixbuf-2.0/$version/loaders.cache`, unless overridden
309312 // by the environment variable `GDK_PIXBUF_MODULE_FILE`)
310313 type PixbufModule struct {
314+ _ structs.HostLayout
315+
311316 ModuleName uintptr
312317
313318 ModulePath uintptr
@@ -372,6 +377,8 @@ func (x *PixbufModule) GoPointer() uintptr {
372377 // In the example above, the signature matches e.g. "auud\0" with
373378 // relevance 100, and "blau" with relevance 90.
374379 type PixbufModulePattern struct {
380+ _ structs.HostLayout
381+
375382 Prefix uintptr
376383
377384 Mask uintptr
M v4/gdkpixbuf/gdk-pixbuf-loader.go +3 -0
@@ -2,6 +2,7 @@
22 package gdkpixbuf
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -12,6 +13,8 @@ import (
1213 )
1314
1415 type PixbufLoaderClass struct {
16+ _ structs.HostLayout
17+
1518 ParentClass uintptr
1619 }
1720
M v4/gdkpixbuf/gdk-pixbuf-simple-anim.go +2 -0
@@ -2,6 +2,7 @@
22 package gdkpixbuf
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -10,6 +11,7 @@ import (
1011 )
1112
1213 type PixbufSimpleAnimClass struct {
14+ _ structs.HostLayout
1315 }
1416
1517 func (x *PixbufSimpleAnimClass) GoPointer() uintptr {
M v4/gio/gaction.go +3 -0
@@ -2,6 +2,7 @@
22 package gio
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -12,6 +13,8 @@ import (
1213
1314 // The virtual function table for #GAction.
1415 type ActionInterface struct {
16+ _ structs.HostLayout
17+
1518 GIface uintptr
1619 }
1720
M v4/gio/gactiongroup.go +3 -0
@@ -2,6 +2,7 @@
22 package gio
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -12,6 +13,8 @@ import (
1213
1314 // The virtual function table for #GActionGroup.
1415 type ActionGroupInterface struct {
16+ _ structs.HostLayout
17+
1518 GIface uintptr
1619 }
1720
M v4/gio/gactionmap.go +5 -0
@@ -2,6 +2,7 @@
22 package gio
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -21,6 +22,8 @@ import (
2122 //
2223 // See g_action_map_add_action_entries() for an example.
2324 type ActionEntry struct {
25+ _ structs.HostLayout
26+
2427 Name uintptr
2528
2629 ParameterType uintptr
@@ -36,6 +39,8 @@ func (x *ActionEntry) GoPointer() uintptr {
3639
3740 // The virtual function table for #GActionMap.
3841 type ActionMapInterface struct {
42+ _ structs.HostLayout
43+
3944 GIface uintptr
4045 }
4146
M v4/gio/gappinfo.go +6 -0
@@ -2,6 +2,7 @@
22 package gio
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -13,6 +14,8 @@ import (
1314
1415 // Application Information interface, for operating system portability.
1516 type AppInfoIface struct {
17+ _ structs.HostLayout
18+
1619 GIface uintptr
1720 }
1821
@@ -21,6 +24,8 @@ func (x *AppInfoIface) GoPointer() uintptr {
2124 }
2225
2326 type AppLaunchContextClass struct {
27+ _ structs.HostLayout
28+
2429 ParentClass uintptr
2530 }
2631
@@ -29,6 +34,7 @@ func (x *AppLaunchContextClass) GoPointer() uintptr {
2934 }
3035
3136 type AppLaunchContextPrivate struct {
37+ _ structs.HostLayout
3238 }
3339
3440 func (x *AppLaunchContextPrivate) GoPointer() uintptr {
M v4/gio/gapplication.go +4 -0
@@ -2,6 +2,7 @@
22 package gio
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -13,6 +14,8 @@ import (
1314
1415 // Virtual function table for #GApplication.
1516 type ApplicationClass struct {
17+ _ structs.HostLayout
18+
1619 ParentClass uintptr
1720
1821 Padding [7]uintptr
@@ -23,6 +26,7 @@ func (x *ApplicationClass) GoPointer() uintptr {
2326 }
2427
2528 type ApplicationPrivate struct {
29+ _ structs.HostLayout
2630 }
2731
2832 func (x *ApplicationPrivate) GoPointer() uintptr {
M v4/gio/gapplicationcommandline.go +4 -0
@@ -2,6 +2,7 @@
22 package gio
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -14,6 +15,8 @@ import (
1415 // The #GApplicationCommandLineClass-struct
1516 // contains private data only.
1617 type ApplicationCommandLineClass struct {
18+ _ structs.HostLayout
19+
1720 ParentClass uintptr
1821
1922 Padding [11]uintptr
@@ -24,6 +27,7 @@ func (x *ApplicationCommandLineClass) GoPointer() uintptr {
2427 }
2528
2629 type ApplicationCommandLinePrivate struct {
30+ _ structs.HostLayout
2731 }
2832
2933 func (x *ApplicationCommandLinePrivate) GoPointer() uintptr {
M v4/gio/gasyncinitable.go +3 -0
@@ -2,6 +2,7 @@
22 package gio
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -14,6 +15,8 @@ import (
1415 // Provides an interface for asynchronous initializing object such that
1516 // initialization may fail.
1617 type AsyncInitableIface struct {
18+ _ structs.HostLayout
19+
1720 GIface uintptr
1821 }
1922
M v4/gio/gasyncresult.go +3 -0
@@ -2,6 +2,7 @@
22 package gio
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -13,6 +14,8 @@ import (
1314
1415 // Interface definition for #GAsyncResult.
1516 type AsyncResultIface struct {
17+ _ structs.HostLayout
18+
1619 GIface uintptr
1720 }
1821
M v4/gio/gbufferedinputstream.go +4 -0
@@ -2,6 +2,7 @@
22 package gio
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -11,6 +12,8 @@ import (
1112 )
1213
1314 type BufferedInputStreamClass struct {
15+ _ structs.HostLayout
16+
1417 ParentClass uintptr
1518 }
1619
@@ -19,6 +22,7 @@ func (x *BufferedInputStreamClass) GoPointer() uintptr {
1922 }
2023
2124 type BufferedInputStreamPrivate struct {
25+ _ structs.HostLayout
2226 }
2327
2428 func (x *BufferedInputStreamPrivate) GoPointer() uintptr {
M v4/gio/gbufferedoutputstream.go +4 -0
@@ -2,6 +2,7 @@
22 package gio
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -11,6 +12,8 @@ import (
1112 )
1213
1314 type BufferedOutputStreamClass struct {
15+ _ structs.HostLayout
16+
1417 ParentClass uintptr
1518 }
1619
@@ -19,6 +22,7 @@ func (x *BufferedOutputStreamClass) GoPointer() uintptr {
1922 }
2023
2124 type BufferedOutputStreamPrivate struct {
25+ _ structs.HostLayout
2226 }
2327
2428 func (x *BufferedOutputStreamPrivate) GoPointer() uintptr {
M v4/gio/gcancellable.go +4 -0
@@ -2,6 +2,7 @@
22 package gio
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -12,6 +13,8 @@ import (
1213 )
1314
1415 type CancellableClass struct {
16+ _ structs.HostLayout
17+
1518 ParentClass uintptr
1619 }
1720
@@ -20,6 +23,7 @@ func (x *CancellableClass) GoPointer() uintptr {
2023 }
2124
2225 type CancellablePrivate struct {
26+ _ structs.HostLayout
2327 }
2428
2529 func (x *CancellablePrivate) GoPointer() uintptr {
M v4/gio/gcharsetconverter.go +3 -0
@@ -2,6 +2,7 @@
22 package gio
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -12,6 +13,8 @@ import (
1213 )
1314
1415 type CharsetConverterClass struct {
16+ _ structs.HostLayout
17+
1518 ParentClass uintptr
1619 }
1720
M v4/gio/gconverter.go +3 -0
@@ -2,6 +2,7 @@
22 package gio
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -14,6 +15,8 @@ import (
1415 // to another type. The conversion can be stateful
1516 // and may fail at any place.
1617 type ConverterIface struct {
18+ _ structs.HostLayout
19+
1720 GIface uintptr
1821 }
1922
M v4/gio/gconverterinputstream.go +4 -0
@@ -2,6 +2,7 @@
22 package gio
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -12,6 +13,8 @@ import (
1213 )
1314
1415 type ConverterInputStreamClass struct {
16+ _ structs.HostLayout
17+
1518 ParentClass uintptr
1619 }
1720
@@ -20,6 +23,7 @@ func (x *ConverterInputStreamClass) GoPointer() uintptr {
2023 }
2124
2225 type ConverterInputStreamPrivate struct {
26+ _ structs.HostLayout
2327 }
2428
2529 func (x *ConverterInputStreamPrivate) GoPointer() uintptr {
M v4/gio/gconverteroutputstream.go +4 -0
@@ -2,6 +2,7 @@
22 package gio
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -12,6 +13,8 @@ import (
1213 )
1314
1415 type ConverterOutputStreamClass struct {
16+ _ structs.HostLayout
17+
1518 ParentClass uintptr
1619 }
1720
@@ -20,6 +23,7 @@ func (x *ConverterOutputStreamClass) GoPointer() uintptr {
2023 }
2124
2225 type ConverterOutputStreamPrivate struct {
26+ _ structs.HostLayout
2327 }
2428
2529 func (x *ConverterOutputStreamPrivate) GoPointer() uintptr {
M v4/gio/gcredentials.go +2 -0
@@ -2,6 +2,7 @@
22 package gio
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -13,6 +14,7 @@ import (
1314
1415 // Class structure for #GCredentials.
1516 type CredentialsClass struct {
17+ _ structs.HostLayout
1618 }
1719
1820 func (x *CredentialsClass) GoPointer() uintptr {
M v4/gio/gdatagrambased.go +3 -0
@@ -2,6 +2,7 @@
22 package gio
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -16,6 +17,8 @@ import (
1617 // implemented — so implementations of this API must handle all functionality
1718 // documented in the interface methods.
1819 type DatagramBasedInterface struct {
20+ _ structs.HostLayout
21+
1922 GIface uintptr
2023 }
2124
M v4/gio/gdatainputstream.go +4 -0
@@ -2,6 +2,7 @@
22 package gio
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -11,6 +12,8 @@ import (
1112 )
1213
1314 type DataInputStreamClass struct {
15+ _ structs.HostLayout
16+
1417 ParentClass uintptr
1518 }
1619
@@ -19,6 +22,7 @@ func (x *DataInputStreamClass) GoPointer() uintptr {
1922 }
2023
2124 type DataInputStreamPrivate struct {
25+ _ structs.HostLayout
2226 }
2327
2428 func (x *DataInputStreamPrivate) GoPointer() uintptr {
M v4/gio/gdataoutputstream.go +4 -0
@@ -2,6 +2,7 @@
22 package gio
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -11,6 +12,8 @@ import (
1112 )
1213
1314 type DataOutputStreamClass struct {
15+ _ structs.HostLayout
16+
1417 ParentClass uintptr
1518 }
1619
@@ -19,6 +22,7 @@ func (x *DataOutputStreamClass) GoPointer() uintptr {
1922 }
2023
2124 type DataOutputStreamPrivate struct {
25+ _ structs.HostLayout
2226 }
2327
2428 func (x *DataOutputStreamPrivate) GoPointer() uintptr {
M v4/gio/gdbusconnection.go +5 -0
@@ -2,6 +2,7 @@
22 package gio
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -172,6 +173,8 @@ type DBusSubtreeIntrospectFunc func(uintptr, string, string, string, uintptr) ui
172173 // function or provide an implementation of the `Set` call. If implementing
173174 // the call, you must return the value of type %G_VARIANT_TYPE_UNIT.
174175 type DBusInterfaceVTable struct {
176+ _ structs.HostLayout
177+
175178 MethodCall DBusInterfaceMethodCallFunc
176179
177180 GetProperty DBusInterfaceGetPropertyFunc
@@ -187,6 +190,8 @@ func (x *DBusInterfaceVTable) GoPointer() uintptr {
187190
188191 // Virtual table for handling subtrees registered with g_dbus_connection_register_subtree().
189192 type DBusSubtreeVTable struct {
193+ _ structs.HostLayout
194+
190195 Enumerate DBusSubtreeEnumerateFunc
191196
192197 Introspect DBusSubtreeIntrospectFunc
M v4/gio/gdbuserror.go +3 -0
@@ -2,6 +2,7 @@
22 package gio
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -11,6 +12,8 @@ import (
1112
1213 // Struct used in g_dbus_error_register_error_domain().
1314 type DBusErrorEntry struct {
15+ _ structs.HostLayout
16+
1417 ErrorCode int32
1518
1619 DbusErrorName uintptr
M v4/gio/gdbusinterface.go +3 -0
@@ -2,6 +2,7 @@
22 package gio
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -12,6 +13,8 @@ import (
1213
1314 // Base type for D-Bus interfaces.
1415 type DBusInterfaceIface struct {
16+ _ structs.HostLayout
17+
1518 ParentIface uintptr
1619 }
1720
M v4/gio/gdbusinterfaceskeleton.go +4 -0
@@ -2,6 +2,7 @@
22 package gio
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -13,6 +14,8 @@ import (
1314
1415 // Class structure for #GDBusInterfaceSkeleton.
1516 type DBusInterfaceSkeletonClass struct {
17+ _ structs.HostLayout
18+
1619 ParentClass uintptr
1720
1821 VfuncPadding [8]uintptr
@@ -25,6 +28,7 @@ func (x *DBusInterfaceSkeletonClass) GoPointer() uintptr {
2528 }
2629
2730 type DBusInterfaceSkeletonPrivate struct {
31+ _ structs.HostLayout
2832 }
2933
3034 func (x *DBusInterfaceSkeletonPrivate) GoPointer() uintptr {
M v4/gio/gdbusintrospection.go +15 -0
@@ -2,6 +2,7 @@
22 package gio
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -12,6 +13,8 @@ import (
1213
1314 // Information about an annotation.
1415 type DBusAnnotationInfo struct {
16+ _ structs.HostLayout
17+
1518 RefCount int32
1619
1720 Key uintptr
@@ -54,6 +57,8 @@ func (x *DBusAnnotationInfo) Unref() {
5457
5558 // Information about an argument for a method or a signal.
5659 type DBusArgInfo struct {
60+ _ structs.HostLayout
61+
5762 RefCount int32
5863
5964 Name uintptr
@@ -96,6 +101,8 @@ func (x *DBusArgInfo) Unref() {
96101
97102 // Information about a D-Bus interface.
98103 type DBusInterfaceInfo struct {
104+ _ structs.HostLayout
105+
99106 RefCount int32
100107
101108 Name uintptr
@@ -221,6 +228,8 @@ func (x *DBusInterfaceInfo) Unref() {
221228
222229 // Information about a method on an D-Bus interface.
223230 type DBusMethodInfo struct {
231+ _ structs.HostLayout
232+
224233 RefCount int32
225234
226235 Name uintptr
@@ -265,6 +274,8 @@ func (x *DBusMethodInfo) Unref() {
265274
266275 // Information about nodes in a remote object hierarchy.
267276 type DBusNodeInfo struct {
277+ _ structs.HostLayout
278+
268279 RefCount int32
269280
270281 Path uintptr
@@ -353,6 +364,8 @@ func (x *DBusNodeInfo) Unref() {
353364
354365 // Information about a D-Bus property on a D-Bus interface.
355366 type DBusPropertyInfo struct {
367+ _ structs.HostLayout
368+
356369 RefCount int32
357370
358371 Name uintptr
@@ -397,6 +410,8 @@ func (x *DBusPropertyInfo) Unref() {
397410
398411 // Information about a signal on a D-Bus interface.
399412 type DBusSignalInfo struct {
413+ _ structs.HostLayout
414+
400415 RefCount int32
401416
402417 Name uintptr
M v4/gio/gdbusobject.go +3 -0
@@ -2,6 +2,7 @@
22 package gio
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -12,6 +13,8 @@ import (
1213
1314 // Base object type for D-Bus objects.
1415 type DBusObjectIface struct {
16+ _ structs.HostLayout
17+
1518 ParentIface uintptr
1619 }
1720
M v4/gio/gdbusobjectmanager.go +3 -0
@@ -2,6 +2,7 @@
22 package gio
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -12,6 +13,8 @@ import (
1213
1314 // Base type for D-Bus object managers.
1415 type DBusObjectManagerIface struct {
16+ _ structs.HostLayout
17+
1518 ParentIface uintptr
1619 }
1720
M v4/gio/gdbusobjectmanagerclient.go +4 -0
@@ -2,6 +2,7 @@
22 package gio
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -13,6 +14,8 @@ import (
1314
1415 // Class structure for #GDBusObjectManagerClient.
1516 type DBusObjectManagerClientClass struct {
17+ _ structs.HostLayout
18+
1619 ParentClass uintptr
1720
1821 Padding [8]uintptr
@@ -23,6 +26,7 @@ func (x *DBusObjectManagerClientClass) GoPointer() uintptr {
2326 }
2427
2528 type DBusObjectManagerClientPrivate struct {
29+ _ structs.HostLayout
2630 }
2731
2832 func (x *DBusObjectManagerClientPrivate) GoPointer() uintptr {
M v4/gio/gdbusobjectmanagerserver.go +4 -0
@@ -2,6 +2,7 @@
22 package gio
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -13,6 +14,8 @@ import (
1314
1415 // Class structure for #GDBusObjectManagerServer.
1516 type DBusObjectManagerServerClass struct {
17+ _ structs.HostLayout
18+
1619 ParentClass uintptr
1720
1821 Padding [8]uintptr
@@ -23,6 +26,7 @@ func (x *DBusObjectManagerServerClass) GoPointer() uintptr {
2326 }
2427
2528 type DBusObjectManagerServerPrivate struct {
29+ _ structs.HostLayout
2630 }
2731
2832 func (x *DBusObjectManagerServerPrivate) GoPointer() uintptr {
M v4/gio/gdbusobjectproxy.go +4 -0
@@ -2,6 +2,7 @@
22 package gio
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -13,6 +14,8 @@ import (
1314
1415 // Class structure for #GDBusObjectProxy.
1516 type DBusObjectProxyClass struct {
17+ _ structs.HostLayout
18+
1619 ParentClass uintptr
1720
1821 Padding [8]uintptr
@@ -23,6 +26,7 @@ func (x *DBusObjectProxyClass) GoPointer() uintptr {
2326 }
2427
2528 type DBusObjectProxyPrivate struct {
29+ _ structs.HostLayout
2630 }
2731
2832 func (x *DBusObjectProxyPrivate) GoPointer() uintptr {
M v4/gio/gdbusobjectskeleton.go +4 -0
@@ -2,6 +2,7 @@
22 package gio
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -13,6 +14,8 @@ import (
1314
1415 // Class structure for #GDBusObjectSkeleton.
1516 type DBusObjectSkeletonClass struct {
17+ _ structs.HostLayout
18+
1619 ParentClass uintptr
1720
1821 Padding [8]uintptr
@@ -23,6 +26,7 @@ func (x *DBusObjectSkeletonClass) GoPointer() uintptr {
2326 }
2427
2528 type DBusObjectSkeletonPrivate struct {
29+ _ structs.HostLayout
2630 }
2731
2832 func (x *DBusObjectSkeletonPrivate) GoPointer() uintptr {
M v4/gio/gdbusproxy.go +4 -0
@@ -2,6 +2,7 @@
22 package gio
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -13,6 +14,8 @@ import (
1314
1415 // Class structure for #GDBusProxy.
1516 type DBusProxyClass struct {
17+ _ structs.HostLayout
18+
1619 ParentClass uintptr
1720
1821 Padding [32]uintptr
@@ -23,6 +26,7 @@ func (x *DBusProxyClass) GoPointer() uintptr {
2326 }
2427
2528 type DBusProxyPrivate struct {
29+ _ structs.HostLayout
2630 }
2731
2832 func (x *DBusProxyPrivate) GoPointer() uintptr {
M v4/gio/gdebugcontroller.go +3 -0
@@ -2,6 +2,7 @@
22 package gio
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -11,6 +12,8 @@ import (
1112
1213 // The virtual function table for #GDebugController.
1314 type DebugControllerInterface struct {
15+ _ structs.HostLayout
16+
1417 GIface uintptr
1518 }
1619
M v4/gio/gdebugcontrollerdbus.go +3 -0
@@ -2,6 +2,7 @@
22 package gio
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -13,6 +14,8 @@ import (
1314
1415 // The virtual function table for #GDebugControllerDBus.
1516 type DebugControllerDBusClass struct {
17+ _ structs.HostLayout
18+
1619 ParentClass uintptr
1720
1821 Padding [12]uintptr
M v4/gio/gdesktopappinfo.go +5 -0
@@ -2,6 +2,7 @@
22 package gio
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -17,6 +18,8 @@ import (
1718 type DesktopAppLaunchCallback func(uintptr, glib.Pid, uintptr)
1819
1920 type DesktopAppInfoClass struct {
21+ _ structs.HostLayout
22+
2023 ParentClass uintptr
2124 }
2225
@@ -27,6 +30,8 @@ func (x *DesktopAppInfoClass) GoPointer() uintptr {
2730 // Interface that is used by backends to associate default
2831 // handlers with URI schemes.
2932 type DesktopAppInfoLookupIface struct {
33+ _ structs.HostLayout
34+
3035 GIface uintptr
3136 }
3237
M v4/gio/gdrive.go +3 -0
@@ -2,6 +2,7 @@
22 package gio
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -12,6 +13,8 @@ import (
1213
1314 // Interface for creating #GDrive implementations.
1415 type DriveIface struct {
16+ _ structs.HostLayout
17+
1518 GIface uintptr
1619 }
1720
M v4/gio/gdtlsclientconnection.go +3 -0
@@ -2,6 +2,7 @@
22 package gio
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -13,6 +14,8 @@ import (
1314
1415 // vtable for a #GDtlsClientConnection implementation.
1516 type DtlsClientConnectionInterface struct {
17+ _ structs.HostLayout
18+
1619 GIface uintptr
1720 }
1821
M v4/gio/gdtlsconnection.go +3 -0
@@ -2,6 +2,7 @@
22 package gio
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -13,6 +14,8 @@ import (
1314
1415 // Virtual method table for a #GDtlsConnection implementation.
1516 type DtlsConnectionInterface struct {
17+ _ structs.HostLayout
18+
1619 GIface uintptr
1720 }
1821
M v4/gio/gdtlsserverconnection.go +3 -0
@@ -2,6 +2,7 @@
22 package gio
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -12,6 +13,8 @@ import (
1213
1314 // vtable for a #GDtlsServerConnection implementation.
1415 type DtlsServerConnectionInterface struct {
16+ _ structs.HostLayout
17+
1518 GIface uintptr
1619 }
1720
M v4/gio/gemblem.go +2 -0
@@ -2,6 +2,7 @@
22 package gio
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -12,6 +13,7 @@ import (
1213 )
1314
1415 type EmblemClass struct {
16+ _ structs.HostLayout
1517 }
1618
1719 func (x *EmblemClass) GoPointer() uintptr {
M v4/gio/gemblemedicon.go +4 -0
@@ -2,6 +2,7 @@
22 package gio
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -12,6 +13,8 @@ import (
1213 )
1314
1415 type EmblemedIconClass struct {
16+ _ structs.HostLayout
17+
1518 ParentClass uintptr
1619 }
1720
@@ -20,6 +23,7 @@ func (x *EmblemedIconClass) GoPointer() uintptr {
2023 }
2124
2225 type EmblemedIconPrivate struct {
26+ _ structs.HostLayout
2327 }
2428
2529 func (x *EmblemedIconPrivate) GoPointer() uintptr {
M v4/gio/gfile.go +3 -0
@@ -2,6 +2,7 @@
22 package gio
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -13,6 +14,8 @@ import (
1314
1415 // An interface for writing VFS file handles.
1516 type FileIface struct {
17+ _ structs.HostLayout
18+
1619 GIface uintptr
1720
1821 SupportsThreadContexts bool
M v4/gio/gfileattribute.go +5 -0
@@ -2,6 +2,7 @@
22 package gio
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -11,6 +12,8 @@ import (
1112
1213 // Information about a specific attribute.
1314 type FileAttributeInfo struct {
15+ _ structs.HostLayout
16+
1417 Name uintptr
1518
1619 Type FileAttributeType
@@ -25,6 +28,8 @@ func (x *FileAttributeInfo) GoPointer() uintptr {
2528 // Acts as a lightweight registry for possible valid file attributes.
2629 // The registry stores Key-Value pair formats as #GFileAttributeInfos.
2730 type FileAttributeInfoList struct {
31+ _ structs.HostLayout
32+
2833 Infos *FileAttributeInfo
2934
3035 NInfos int
M v4/gio/gfiledescriptorbased.go +3 -0
@@ -2,6 +2,7 @@
22 package gio
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -11,6 +12,8 @@ import (
1112
1213 // An interface for file descriptor based io objects.
1314 type FileDescriptorBasedIface struct {
15+ _ structs.HostLayout
16+
1417 GIface uintptr
1518 }
1619
M v4/gio/gfileenumerator.go +4 -0
@@ -2,6 +2,7 @@
22 package gio
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -12,6 +13,8 @@ import (
1213 )
1314
1415 type FileEnumeratorClass struct {
16+ _ structs.HostLayout
17+
1518 ParentClass uintptr
1619 }
1720
@@ -20,6 +23,7 @@ func (x *FileEnumeratorClass) GoPointer() uintptr {
2023 }
2124
2225 type FileEnumeratorPrivate struct {
26+ _ structs.HostLayout
2327 }
2428
2529 func (x *FileEnumeratorPrivate) GoPointer() uintptr {
M v4/gio/gfileicon.go +2 -0
@@ -2,6 +2,7 @@
22 package gio
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -12,6 +13,7 @@ import (
1213 )
1314
1415 type FileIconClass struct {
16+ _ structs.HostLayout
1517 }
1618
1719 func (x *FileIconClass) GoPointer() uintptr {
M v4/gio/gfileinfo.go +2 -0
@@ -2,6 +2,7 @@
22 package gio
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -12,6 +13,7 @@ import (
1213 )
1314
1415 type FileInfoClass struct {
16+ _ structs.HostLayout
1517 }
1618
1719 func (x *FileInfoClass) GoPointer() uintptr {
M v4/gio/gfileinputstream.go +4 -0
@@ -2,6 +2,7 @@
22 package gio
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -11,6 +12,8 @@ import (
1112 )
1213
1314 type FileInputStreamClass struct {
15+ _ structs.HostLayout
16+
1417 ParentClass uintptr
1518 }
1619
@@ -19,6 +22,7 @@ func (x *FileInputStreamClass) GoPointer() uintptr {
1922 }
2023
2124 type FileInputStreamPrivate struct {
25+ _ structs.HostLayout
2226 }
2327
2428 func (x *FileInputStreamPrivate) GoPointer() uintptr {
M v4/gio/gfileiostream.go +4 -0
@@ -2,6 +2,7 @@
22 package gio
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -11,6 +12,8 @@ import (
1112 )
1213
1314 type FileIOStreamClass struct {
15+ _ structs.HostLayout
16+
1417 ParentClass uintptr
1518 }
1619
@@ -19,6 +22,7 @@ func (x *FileIOStreamClass) GoPointer() uintptr {
1922 }
2023
2124 type FileIOStreamPrivate struct {
25+ _ structs.HostLayout
2226 }
2327
2428 func (x *FileIOStreamPrivate) GoPointer() uintptr {
M v4/gio/gfilemonitor.go +4 -0
@@ -2,6 +2,7 @@
22 package gio
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -12,6 +13,8 @@ import (
1213 )
1314
1415 type FileMonitorClass struct {
16+ _ structs.HostLayout
17+
1518 ParentClass uintptr
1619 }
1720
@@ -20,6 +23,7 @@ func (x *FileMonitorClass) GoPointer() uintptr {
2023 }
2124
2225 type FileMonitorPrivate struct {
26+ _ structs.HostLayout
2327 }
2428
2529 func (x *FileMonitorPrivate) GoPointer() uintptr {
M v4/gio/gfilenamecompleter.go +3 -0
@@ -2,6 +2,7 @@
22 package gio
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -12,6 +13,8 @@ import (
1213 )
1314
1415 type FilenameCompleterClass struct {
16+ _ structs.HostLayout
17+
1518 ParentClass uintptr
1619 }
1720
M v4/gio/gfileoutputstream.go +4 -0
@@ -2,6 +2,7 @@
22 package gio
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -11,6 +12,8 @@ import (
1112 )
1213
1314 type FileOutputStreamClass struct {
15+ _ structs.HostLayout
16+
1417 ParentClass uintptr
1518 }
1619
@@ -19,6 +22,7 @@ func (x *FileOutputStreamClass) GoPointer() uintptr {
1922 }
2023
2124 type FileOutputStreamPrivate struct {
25+ _ structs.HostLayout
2226 }
2327
2428 func (x *FileOutputStreamPrivate) GoPointer() uintptr {
M v4/gio/gfilterinputstream.go +3 -0
@@ -2,6 +2,7 @@
22 package gio
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -11,6 +12,8 @@ import (
1112 )
1213
1314 type FilterInputStreamClass struct {
15+ _ structs.HostLayout
16+
1417 ParentClass uintptr
1518 }
1619
M v4/gio/gfilteroutputstream.go +3 -0
@@ -2,6 +2,7 @@
22 package gio
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -11,6 +12,8 @@ import (
1112 )
1213
1314 type FilterOutputStreamClass struct {
15+ _ structs.HostLayout
16+
1417 ParentClass uintptr
1518 }
1619
M v4/gio/gicon.go +3 -0
@@ -2,6 +2,7 @@
22 package gio
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -14,6 +15,8 @@ import (
1415 // different systems. See #GThemedIcon and #GLoadableIcon for
1516 // examples of how to implement this interface.
1617 type IconIface struct {
18+ _ structs.HostLayout
19+
1720 GIface uintptr
1821 }
1922
M v4/gio/ginetaddress.go +4 -0
@@ -2,6 +2,7 @@
22 package gio
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -11,6 +12,8 @@ import (
1112 )
1213
1314 type InetAddressClass struct {
15+ _ structs.HostLayout
16+
1417 ParentClass uintptr
1518 }
1619
@@ -19,6 +22,7 @@ func (x *InetAddressClass) GoPointer() uintptr {
1922 }
2023
2124 type InetAddressPrivate struct {
25+ _ structs.HostLayout
2226 }
2327
2428 func (x *InetAddressPrivate) GoPointer() uintptr {
M v4/gio/ginetaddressmask.go +4 -0
@@ -2,6 +2,7 @@
22 package gio
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -12,6 +13,8 @@ import (
1213 )
1314
1415 type InetAddressMaskClass struct {
16+ _ structs.HostLayout
17+
1518 ParentClass uintptr
1619 }
1720
@@ -20,6 +23,7 @@ func (x *InetAddressMaskClass) GoPointer() uintptr {
2023 }
2124
2225 type InetAddressMaskPrivate struct {
26+ _ structs.HostLayout
2327 }
2428
2529 func (x *InetAddressMaskPrivate) GoPointer() uintptr {
M v4/gio/ginetsocketaddress.go +4 -0
@@ -2,6 +2,7 @@
22 package gio
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -11,6 +12,8 @@ import (
1112 )
1213
1314 type InetSocketAddressClass struct {
15+ _ structs.HostLayout
16+
1417 ParentClass uintptr
1518 }
1619
@@ -19,6 +22,7 @@ func (x *InetSocketAddressClass) GoPointer() uintptr {
1922 }
2023
2124 type InetSocketAddressPrivate struct {
25+ _ structs.HostLayout
2226 }
2327
2428 func (x *InetSocketAddressPrivate) GoPointer() uintptr {
M v4/gio/ginitable.go +3 -0
@@ -2,6 +2,7 @@
22 package gio
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -14,6 +15,8 @@ import (
1415 // Provides an interface for initializing object such that initialization
1516 // may fail.
1617 type InitableIface struct {
18+ _ structs.HostLayout
19+
1720 GIface uintptr
1821 }
1922
M v4/gio/ginputstream.go +4 -0
@@ -2,6 +2,7 @@
22 package gio
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -12,6 +13,8 @@ import (
1213 )
1314
1415 type InputStreamClass struct {
16+ _ structs.HostLayout
17+
1518 ParentClass uintptr
1619 }
1720
@@ -20,6 +23,7 @@ func (x *InputStreamClass) GoPointer() uintptr {
2023 }
2124
2225 type InputStreamPrivate struct {
26+ _ structs.HostLayout
2327 }
2428
2529 func (x *InputStreamPrivate) GoPointer() uintptr {
M v4/gio/giomodule.go +3 -0
@@ -2,6 +2,7 @@
22 package gio
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -12,6 +13,7 @@ import (
1213 )
1314
1415 type IOModuleClass struct {
16+ _ structs.HostLayout
1517 }
1618
1719 func (x *IOModuleClass) GoPointer() uintptr {
@@ -24,6 +26,7 @@ func (x *IOModuleClass) GoPointer() uintptr {
2426 // The scope can be used with g_io_modules_load_all_in_directory_with_scope()
2527 // or g_io_modules_scan_all_in_directory_with_scope().
2628 type IOModuleScope struct {
29+ _ structs.HostLayout
2730 }
2831
2932 func (x *IOModuleScope) GoPointer() uintptr {
M v4/gio/giostream.go +4 -0
@@ -2,6 +2,7 @@
22 package gio
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -12,6 +13,8 @@ import (
1213 )
1314
1415 type IOStreamClass struct {
16+ _ structs.HostLayout
17+
1518 ParentClass uintptr
1619 }
1720
@@ -20,6 +23,7 @@ func (x *IOStreamClass) GoPointer() uintptr {
2023 }
2124
2225 type IOStreamPrivate struct {
26+ _ structs.HostLayout
2327 }
2428
2529 func (x *IOStreamPrivate) GoPointer() uintptr {
M v4/gio/giotypes.go +16 -0
@@ -2,6 +2,7 @@
22 package gio
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -103,6 +104,7 @@ type SocketSourceFunc func(uintptr, glib.IOCondition, uintptr) bool
103104
104105 // Determines if a string matches a file attribute.
105106 type FileAttributeMatcher struct {
107+ _ structs.HostLayout
106108 }
107109
108110 var xFileAttributeMatcherGLibType func() types.GType
@@ -236,6 +238,7 @@ func (x *FileAttributeMatcher) Unref() {
236238 // #GIOExtension is an opaque data structure and can only be accessed
237239 // using the following functions.
238240 type IOExtension struct {
241+ _ structs.HostLayout
239242 }
240243
241244 func (x *IOExtension) GoPointer() uintptr {
@@ -285,6 +288,7 @@ func (x *IOExtension) RefClass() *gobject.TypeClass {
285288 // #GIOExtensionPoint is an opaque data structure and can only be accessed
286289 // using the following functions.
287290 type IOExtensionPoint struct {
291+ _ structs.HostLayout
288292 }
289293
290294 func (x *IOExtensionPoint) GoPointer() uintptr {
@@ -331,6 +335,7 @@ func (x *IOExtensionPoint) SetRequiredType(TypeVar types.GType) {
331335
332336 // Opaque class for defining and scheduling IO jobs.
333337 type IOSchedulerJob struct {
338+ _ structs.HostLayout
334339 }
335340
336341 func (x *IOSchedulerJob) GoPointer() uintptr {
@@ -366,6 +371,7 @@ func (x *IOSchedulerJob) SendToMainloopAsync(FuncVar *glib.SourceFunc, UserDataV
366371 }
367372
368373 type IOStreamAdapter struct {
374+ _ structs.HostLayout
369375 }
370376
371377 func (x *IOStreamAdapter) GoPointer() uintptr {
@@ -392,6 +398,8 @@ func (x *IOStreamAdapter) GoPointer() uintptr {
392398 // Flags relevant to this message will be returned in @flags. For example,
393399 // `MSG_EOR` or `MSG_TRUNC`.
394400 type InputMessage struct {
401+ _ structs.HostLayout
402+
395403 Address **SocketAddress
396404
397405 Vectors []InputVector
@@ -416,6 +424,8 @@ func (x *InputMessage) GoPointer() uintptr {
416424 // and the operation will store the read data starting in the
417425 // first buffer, switching to the next as needed.
418426 type InputVector struct {
427+ _ structs.HostLayout
428+
419429 Buffer uintptr
420430
421431 Size uint
@@ -433,6 +443,8 @@ func (x *InputVector) GoPointer() uintptr {
433443 // If @address is %NULL then the message is sent to the default receiver
434444 // (as previously set by g_socket_connect()).
435445 type OutputMessage struct {
446+ _ structs.HostLayout
447+
436448 Address *SocketAddress
437449
438450 Vectors *OutputVector
@@ -455,6 +467,8 @@ func (x *OutputMessage) GoPointer() uintptr {
455467 // and the operation will use all the buffers as if they were
456468 // one buffer.
457469 type OutputVector struct {
470+ _ structs.HostLayout
471+
458472 Buffer uintptr
459473
460474 Size uint
@@ -605,6 +619,7 @@ func (x *OutputVector) GoPointer() uintptr {
605619 // the slash should ideally be absolute, but this is not strictly required. It is possible to overlay the
606620 // location of a single resource with an individual file.
607621 type Resource struct {
622+ _ structs.HostLayout
608623 }
609624
610625 var xResourceGLibType func() types.GType
@@ -788,6 +803,7 @@ func (x *Resource) Unref() {
788803 // #GSocketConnectable interface and not need to worry about
789804 // #GSrvTarget at all.
790805 type SrvTarget struct {
806+ _ structs.HostLayout
791807 }
792808
793809 var xSrvTargetGLibType func() types.GType
M v4/gio/glistmodel.go +3 -0
@@ -2,6 +2,7 @@
22 package gio
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -12,6 +13,8 @@ import (
1213
1314 // The virtual function table for #GListModel.
1415 type ListModelInterface struct {
16+ _ structs.HostLayout
17+
1518 GIface uintptr
1619 }
1720
M v4/gio/gliststore.go +3 -0
@@ -2,6 +2,7 @@
22 package gio
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -12,6 +13,8 @@ import (
1213 )
1314
1415 type ListStoreClass struct {
16+ _ structs.HostLayout
17+
1518 ParentClass uintptr
1619 }
1720
M v4/gio/gloadableicon.go +3 -0
@@ -2,6 +2,7 @@
22 package gio
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -12,6 +13,8 @@ import (
1213
1314 // Interface for icons that can be loaded as a stream.
1415 type LoadableIconIface struct {
16+ _ structs.HostLayout
17+
1518 GIface uintptr
1619 }
1720
M v4/gio/gmemoryinputstream.go +4 -0
@@ -2,6 +2,7 @@
22 package gio
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -11,6 +12,8 @@ import (
1112 )
1213
1314 type MemoryInputStreamClass struct {
15+ _ structs.HostLayout
16+
1417 ParentClass uintptr
1518 }
1619
@@ -19,6 +22,7 @@ func (x *MemoryInputStreamClass) GoPointer() uintptr {
1922 }
2023
2124 type MemoryInputStreamPrivate struct {
25+ _ structs.HostLayout
2226 }
2327
2428 func (x *MemoryInputStreamPrivate) GoPointer() uintptr {
M v4/gio/gmemorymonitor.go +3 -0
@@ -2,6 +2,7 @@
22 package gio
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -11,6 +12,8 @@ import (
1112
1213 // The virtual function table for #GMemoryMonitor.
1314 type MemoryMonitorInterface struct {
15+ _ structs.HostLayout
16+
1417 GIface uintptr
1518 }
1619
M v4/gio/gmemoryoutputstream.go +4 -0
@@ -2,6 +2,7 @@
22 package gio
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -17,6 +18,8 @@ import (
1718 type ReallocFunc func(uintptr, uint) uintptr
1819
1920 type MemoryOutputStreamClass struct {
21+ _ structs.HostLayout
22+
2023 ParentClass uintptr
2124 }
2225
@@ -25,6 +28,7 @@ func (x *MemoryOutputStreamClass) GoPointer() uintptr {
2528 }
2629
2730 type MemoryOutputStreamPrivate struct {
31+ _ structs.HostLayout
2832 }
2933
3034 func (x *MemoryOutputStreamPrivate) GoPointer() uintptr {
M v4/gio/gmenumodel.go +10 -0
@@ -2,6 +2,7 @@
22 package gio
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -12,6 +13,8 @@ import (
1213 )
1314
1415 type MenuAttributeIterClass struct {
16+ _ structs.HostLayout
17+
1518 ParentClass uintptr
1619 }
1720
@@ -20,6 +23,7 @@ func (x *MenuAttributeIterClass) GoPointer() uintptr {
2023 }
2124
2225 type MenuAttributeIterPrivate struct {
26+ _ structs.HostLayout
2327 }
2428
2529 func (x *MenuAttributeIterPrivate) GoPointer() uintptr {
@@ -27,6 +31,8 @@ func (x *MenuAttributeIterPrivate) GoPointer() uintptr {
2731 }
2832
2933 type MenuLinkIterClass struct {
34+ _ structs.HostLayout
35+
3036 ParentClass uintptr
3137 }
3238
@@ -35,6 +41,7 @@ func (x *MenuLinkIterClass) GoPointer() uintptr {
3541 }
3642
3743 type MenuLinkIterPrivate struct {
44+ _ structs.HostLayout
3845 }
3946
4047 func (x *MenuLinkIterPrivate) GoPointer() uintptr {
@@ -42,6 +49,8 @@ func (x *MenuLinkIterPrivate) GoPointer() uintptr {
4249 }
4350
4451 type MenuModelClass struct {
52+ _ structs.HostLayout
53+
4554 ParentClass uintptr
4655 }
4756
@@ -50,6 +59,7 @@ func (x *MenuModelClass) GoPointer() uintptr {
5059 }
5160
5261 type MenuModelPrivate struct {
62+ _ structs.HostLayout
5363 }
5464
5565 func (x *MenuModelPrivate) GoPointer() uintptr {
M v4/gio/gmount.go +3 -0
@@ -2,6 +2,7 @@
22 package gio
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -12,6 +13,8 @@ import (
1213
1314 // Interface for implementing operations for mounts.
1415 type MountIface struct {
16+ _ structs.HostLayout
17+
1518 GIface uintptr
1619 }
1720
M v4/gio/gmountoperation.go +4 -0
@@ -2,6 +2,7 @@
22 package gio
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -12,6 +13,8 @@ import (
1213 )
1314
1415 type MountOperationClass struct {
16+ _ structs.HostLayout
17+
1518 ParentClass uintptr
1619 }
1720
@@ -20,6 +23,7 @@ func (x *MountOperationClass) GoPointer() uintptr {
2023 }
2124
2225 type MountOperationPrivate struct {
26+ _ structs.HostLayout
2327 }
2428
2529 func (x *MountOperationPrivate) GoPointer() uintptr {
M v4/gio/gnativesocketaddress.go +4 -0
@@ -2,6 +2,7 @@
22 package gio
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -10,6 +11,8 @@ import (
1011 )
1112
1213 type NativeSocketAddressClass struct {
14+ _ structs.HostLayout
15+
1316 ParentClass uintptr
1417 }
1518
@@ -18,6 +21,7 @@ func (x *NativeSocketAddressClass) GoPointer() uintptr {
1821 }
1922
2023 type NativeSocketAddressPrivate struct {
24+ _ structs.HostLayout
2125 }
2226
2327 func (x *NativeSocketAddressPrivate) GoPointer() uintptr {
M v4/gio/gnativevolumemonitor.go +3 -0
@@ -2,12 +2,15 @@
22 package gio
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/puregotk/v4/gobject/types"
89 )
910
1011 type NativeVolumeMonitorClass struct {
12+ _ structs.HostLayout
13+
1114 ParentClass uintptr
1215 }
1316
M v4/gio/gnetworkaddress.go +4 -0
@@ -2,6 +2,7 @@
22 package gio
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -12,6 +13,8 @@ import (
1213 )
1314
1415 type NetworkAddressClass struct {
16+ _ structs.HostLayout
17+
1518 ParentClass uintptr
1619 }
1720
@@ -20,6 +23,7 @@ func (x *NetworkAddressClass) GoPointer() uintptr {
2023 }
2124
2225 type NetworkAddressPrivate struct {
26+ _ structs.HostLayout
2327 }
2428
2529 func (x *NetworkAddressPrivate) GoPointer() uintptr {
M v4/gio/gnetworkmonitor.go +3 -0
@@ -2,6 +2,7 @@
22 package gio
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -13,6 +14,8 @@ import (
1314
1415 // The virtual function table for #GNetworkMonitor.
1516 type NetworkMonitorInterface struct {
17+ _ structs.HostLayout
18+
1619 GIface uintptr
1720 }
1821
M v4/gio/gnetworkservice.go +4 -0
@@ -2,6 +2,7 @@
22 package gio
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -11,6 +12,8 @@ import (
1112 )
1213
1314 type NetworkServiceClass struct {
15+ _ structs.HostLayout
16+
1417 ParentClass uintptr
1518 }
1619
@@ -19,6 +22,7 @@ func (x *NetworkServiceClass) GoPointer() uintptr {
1922 }
2023
2124 type NetworkServicePrivate struct {
25+ _ structs.HostLayout
2226 }
2327
2428 func (x *NetworkServicePrivate) GoPointer() uintptr {
M v4/gio/goutputstream.go +4 -0
@@ -2,6 +2,7 @@
22 package gio
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -12,6 +13,8 @@ import (
1213 )
1314
1415 type OutputStreamClass struct {
16+ _ structs.HostLayout
17+
1518 ParentClass uintptr
1619 }
1720
@@ -20,6 +23,7 @@ func (x *OutputStreamClass) GoPointer() uintptr {
2023 }
2124
2225 type OutputStreamPrivate struct {
26+ _ structs.HostLayout
2327 }
2428
2529 func (x *OutputStreamPrivate) GoPointer() uintptr {
M v4/gio/gpermission.go +4 -0
@@ -2,6 +2,7 @@
22 package gio
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -12,6 +13,8 @@ import (
1213 )
1314
1415 type PermissionClass struct {
16+ _ structs.HostLayout
17+
1518 ParentClass uintptr
1619
1720 Reserved [16]uintptr
@@ -22,6 +25,7 @@ func (x *PermissionClass) GoPointer() uintptr {
2225 }
2326
2427 type PermissionPrivate struct {
28+ _ structs.HostLayout
2529 }
2630
2731 func (x *PermissionPrivate) GoPointer() uintptr {
M v4/gio/gpollableinputstream.go +3 -0
@@ -2,6 +2,7 @@
22 package gio
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -21,6 +22,8 @@ import (
2122 // implementation may return %TRUE when the stream is not actually
2223 // readable.
2324 type PollableInputStreamInterface struct {
25+ _ structs.HostLayout
26+
2427 GIface uintptr
2528 }
2629
M v4/gio/gpollableoutputstream.go +3 -0
@@ -2,6 +2,7 @@
22 package gio
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -27,6 +28,8 @@ import (
2728 // override this where possible to avoid having to allocate a #GError to return
2829 // %G_IO_ERROR_WOULD_BLOCK.
2930 type PollableOutputStreamInterface struct {
31+ _ structs.HostLayout
32+
3033 GIface uintptr
3134 }
3235
M v4/gio/gpowerprofilemonitor.go +3 -0
@@ -2,6 +2,7 @@
22 package gio
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -11,6 +12,8 @@ import (
1112
1213 // The virtual function table for #GPowerProfileMonitor.
1314 type PowerProfileMonitorInterface struct {
15+ _ structs.HostLayout
16+
1417 GIface uintptr
1518 }
1619
M v4/gio/gproxy.go +3 -0
@@ -2,6 +2,7 @@
22 package gio
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -12,6 +13,8 @@ import (
1213
1314 // Provides an interface for handling proxy connection and payload.
1415 type ProxyInterface struct {
16+ _ structs.HostLayout
17+
1518 GIface uintptr
1619 }
1720
M v4/gio/gproxyaddress.go +4 -0
@@ -2,6 +2,7 @@
22 package gio
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -11,6 +12,8 @@ import (
1112
1213 // Class structure for #GProxyAddress.
1314 type ProxyAddressClass struct {
15+ _ structs.HostLayout
16+
1417 ParentClass uintptr
1518 }
1619
@@ -19,6 +22,7 @@ func (x *ProxyAddressClass) GoPointer() uintptr {
1922 }
2023
2124 type ProxyAddressPrivate struct {
25+ _ structs.HostLayout
2226 }
2327
2428 func (x *ProxyAddressPrivate) GoPointer() uintptr {
M v4/gio/gproxyaddressenumerator.go +4 -0
@@ -2,6 +2,7 @@
22 package gio
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/puregotk/v4/gobject/types"
@@ -9,6 +10,8 @@ import (
910
1011 // Class structure for #GProxyAddressEnumerator.
1112 type ProxyAddressEnumeratorClass struct {
13+ _ structs.HostLayout
14+
1215 ParentClass uintptr
1316 }
1417
@@ -17,6 +20,7 @@ func (x *ProxyAddressEnumeratorClass) GoPointer() uintptr {
1720 }
1821
1922 type ProxyAddressEnumeratorPrivate struct {
23+ _ structs.HostLayout
2024 }
2125
2226 func (x *ProxyAddressEnumeratorPrivate) GoPointer() uintptr {
M v4/gio/gproxyresolver.go +3 -0
@@ -2,6 +2,7 @@
22 package gio
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -13,6 +14,8 @@ import (
1314
1415 // The virtual function table for #GProxyResolver.
1516 type ProxyResolverInterface struct {
17+ _ structs.HostLayout
18+
1619 GIface uintptr
1720 }
1821
M v4/gio/gremoteactiongroup.go +3 -0
@@ -2,6 +2,7 @@
22 package gio
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -12,6 +13,8 @@ import (
1213
1314 // The virtual function table for #GRemoteActionGroup.
1415 type RemoteActionGroupInterface struct {
16+ _ structs.HostLayout
17+
1518 GIface uintptr
1619 }
1720
M v4/gio/gresolver.go +4 -0
@@ -2,6 +2,7 @@
22 package gio
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -12,6 +13,8 @@ import (
1213 )
1314
1415 type ResolverClass struct {
16+ _ structs.HostLayout
17+
1518 ParentClass uintptr
1619 }
1720
@@ -20,6 +23,7 @@ func (x *ResolverClass) GoPointer() uintptr {
2023 }
2124
2225 type ResolverPrivate struct {
26+ _ structs.HostLayout
2327 }
2428
2529 func (x *ResolverPrivate) GoPointer() uintptr {
M v4/gio/gresource.go +3 -0
@@ -2,6 +2,7 @@
22 package gio
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -12,6 +13,8 @@ import (
1213 // #GStaticResource is an opaque data structure and can only be accessed
1314 // using the following functions.
1415 type StaticResource struct {
16+ _ structs.HostLayout
17+
1518 Data byte
1619
1720 DataLen uint
M v4/gio/gseekable.go +3 -0
@@ -2,6 +2,7 @@
22 package gio
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -12,6 +13,8 @@ import (
1213
1314 // Provides an interface for implementing seekable functionality on I/O Streams.
1415 type SeekableIface struct {
16+ _ structs.HostLayout
17+
1518 GIface uintptr
1619 }
1720
M v4/gio/gsettings.go +4 -0
@@ -2,6 +2,7 @@
22 package gio
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -33,6 +34,8 @@ type SettingsBindSetMapping func(*gobject.Value, *glib.VariantType, uintptr) *gl
3334 type SettingsGetMapping func(*glib.Variant, uintptr, uintptr) bool
3435
3536 type SettingsClass struct {
37+ _ structs.HostLayout
38+
3639 ParentClass uintptr
3740
3841 Padding [20]uintptr
@@ -43,6 +46,7 @@ func (x *SettingsClass) GoPointer() uintptr {
4346 }
4447
4548 type SettingsPrivate struct {
49+ _ structs.HostLayout
4650 }
4751
4852 func (x *SettingsPrivate) GoPointer() uintptr {
M v4/gio/gsettingsbackend.go +4 -0
@@ -2,6 +2,7 @@
22 package gio
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -13,6 +14,8 @@ import (
1314
1415 // Class structure for #GSettingsBackend.
1516 type SettingsBackendClass struct {
17+ _ structs.HostLayout
18+
1619 ParentClass uintptr
1720
1821 Padding [23]uintptr
@@ -23,6 +26,7 @@ func (x *SettingsBackendClass) GoPointer() uintptr {
2326 }
2427
2528 type SettingsBackendPrivate struct {
29+ _ structs.HostLayout
2630 }
2731
2832 func (x *SettingsBackendPrivate) GoPointer() uintptr {
M v4/gio/gsettingsschema.go +4 -0
@@ -2,6 +2,7 @@
22 package gio
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -108,6 +109,7 @@ import (
108109 // In that case, the plugin loading system must compile the schemas for
109110 // itself before attempting to create the settings source.
110111 type SettingsSchema struct {
112+ _ structs.HostLayout
111113 }
112114
113115 var xSettingsSchemaGLibType func() types.GType
@@ -213,6 +215,7 @@ func (x *SettingsSchema) Unref() {
213215 // #GSettingsSchemaKey is an opaque data structure and can only be accessed
214216 // using the following functions.
215217 type SettingsSchemaKey struct {
218+ _ structs.HostLayout
216219 }
217220
218221 var xSettingsSchemaKeyGLibType func() types.GType
@@ -375,6 +378,7 @@ func (x *SettingsSchemaKey) Unref() {
375378
376379 // This is an opaque structure type. You may not access it directly.
377380 type SettingsSchemaSource struct {
381+ _ structs.HostLayout
378382 }
379383
380384 var xSettingsSchemaSourceGLibType func() types.GType
M v4/gio/gsimpleactiongroup.go +4 -0
@@ -2,6 +2,7 @@
22 package gio
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -12,6 +13,8 @@ import (
1213 )
1314
1415 type SimpleActionGroupClass struct {
16+ _ structs.HostLayout
17+
1518 ParentClass uintptr
1619
1720 Padding [12]uintptr
@@ -22,6 +25,7 @@ func (x *SimpleActionGroupClass) GoPointer() uintptr {
2225 }
2326
2427 type SimpleActionGroupPrivate struct {
28+ _ structs.HostLayout
2529 }
2630
2731 func (x *SimpleActionGroupPrivate) GoPointer() uintptr {
M v4/gio/gsimpleasyncresult.go +2 -0
@@ -2,6 +2,7 @@
22 package gio
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -12,6 +13,7 @@ import (
1213 )
1314
1415 type SimpleAsyncResultClass struct {
16+ _ structs.HostLayout
1517 }
1618
1719 func (x *SimpleAsyncResultClass) GoPointer() uintptr {
M v4/gio/gsimpleproxyresolver.go +4 -0
@@ -2,6 +2,7 @@
22 package gio
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -12,6 +13,8 @@ import (
1213 )
1314
1415 type SimpleProxyResolverClass struct {
16+ _ structs.HostLayout
17+
1518 ParentClass uintptr
1619 }
1720
@@ -20,6 +23,7 @@ func (x *SimpleProxyResolverClass) GoPointer() uintptr {
2023 }
2124
2225 type SimpleProxyResolverPrivate struct {
26+ _ structs.HostLayout
2327 }
2428
2529 func (x *SimpleProxyResolverPrivate) GoPointer() uintptr {
M v4/gio/gsocket.go +4 -0
@@ -2,6 +2,7 @@
22 package gio
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -12,6 +13,8 @@ import (
1213 )
1314
1415 type SocketClass struct {
16+ _ structs.HostLayout
17+
1518 ParentClass uintptr
1619 }
1720
@@ -20,6 +23,7 @@ func (x *SocketClass) GoPointer() uintptr {
2023 }
2124
2225 type SocketPrivate struct {
26+ _ structs.HostLayout
2327 }
2428
2529 func (x *SocketPrivate) GoPointer() uintptr {
M v4/gio/gsocketaddress.go +3 -0
@@ -2,6 +2,7 @@
22 package gio
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -12,6 +13,8 @@ import (
1213 )
1314
1415 type SocketAddressClass struct {
16+ _ structs.HostLayout
17+
1518 ParentClass uintptr
1619 }
1720
M v4/gio/gsocketaddressenumerator.go +3 -0
@@ -2,6 +2,7 @@
22 package gio
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -13,6 +14,8 @@ import (
1314
1415 // Class structure for #GSocketAddressEnumerator.
1516 type SocketAddressEnumeratorClass struct {
17+ _ structs.HostLayout
18+
1619 ParentClass uintptr
1720 }
1821
M v4/gio/gsocketclient.go +4 -0
@@ -2,6 +2,7 @@
22 package gio
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -12,6 +13,8 @@ import (
1213 )
1314
1415 type SocketClientClass struct {
16+ _ structs.HostLayout
17+
1518 ParentClass uintptr
1619 }
1720
@@ -20,6 +23,7 @@ func (x *SocketClientClass) GoPointer() uintptr {
2023 }
2124
2225 type SocketClientPrivate struct {
26+ _ structs.HostLayout
2327 }
2428
2529 func (x *SocketClientPrivate) GoPointer() uintptr {
M v4/gio/gsocketconnectable.go +3 -0
@@ -2,6 +2,7 @@
22 package gio
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -12,6 +13,8 @@ import (
1213 // Provides an interface for returning a #GSocketAddressEnumerator
1314 // and #GProxyAddressEnumerator
1415 type SocketConnectableIface struct {
16+ _ structs.HostLayout
17+
1518 GIface uintptr
1619 }
1720
M v4/gio/gsocketconnection.go +4 -0
@@ -2,6 +2,7 @@
22 package gio
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -12,6 +13,8 @@ import (
1213 )
1314
1415 type SocketConnectionClass struct {
16+ _ structs.HostLayout
17+
1518 ParentClass uintptr
1619 }
1720
@@ -20,6 +23,7 @@ func (x *SocketConnectionClass) GoPointer() uintptr {
2023 }
2124
2225 type SocketConnectionPrivate struct {
26+ _ structs.HostLayout
2327 }
2428
2529 func (x *SocketConnectionPrivate) GoPointer() uintptr {
M v4/gio/gsocketcontrolmessage.go +4 -0
@@ -2,6 +2,7 @@
22 package gio
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -12,6 +13,8 @@ import (
1213
1314 // Class structure for #GSocketControlMessage.
1415 type SocketControlMessageClass struct {
16+ _ structs.HostLayout
17+
1518 ParentClass uintptr
1619 }
1720
@@ -20,6 +23,7 @@ func (x *SocketControlMessageClass) GoPointer() uintptr {
2023 }
2124
2225 type SocketControlMessagePrivate struct {
26+ _ structs.HostLayout
2327 }
2428
2529 func (x *SocketControlMessagePrivate) GoPointer() uintptr {
M v4/gio/gsocketlistener.go +4 -0
@@ -2,6 +2,7 @@
22 package gio
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -13,6 +14,8 @@ import (
1314
1415 // Class structure for #GSocketListener.
1516 type SocketListenerClass struct {
17+ _ structs.HostLayout
18+
1619 ParentClass uintptr
1720 }
1821
@@ -21,6 +24,7 @@ func (x *SocketListenerClass) GoPointer() uintptr {
2124 }
2225
2326 type SocketListenerPrivate struct {
27+ _ structs.HostLayout
2428 }
2529
2630 func (x *SocketListenerPrivate) GoPointer() uintptr {
M v4/gio/gsocketservice.go +4 -0
@@ -2,6 +2,7 @@
22 package gio
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -13,6 +14,8 @@ import (
1314
1415 // Class structure for #GSocketService.
1516 type SocketServiceClass struct {
17+ _ structs.HostLayout
18+
1619 ParentClass uintptr
1720 }
1821
@@ -21,6 +24,7 @@ func (x *SocketServiceClass) GoPointer() uintptr {
2124 }
2225
2326 type SocketServicePrivate struct {
27+ _ structs.HostLayout
2428 }
2529
2630 func (x *SocketServicePrivate) GoPointer() uintptr {
M v4/gio/gtask.go +2 -0
@@ -2,6 +2,7 @@
22 package gio
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -29,6 +30,7 @@ import (
2930 type TaskThreadFunc func(uintptr, uintptr, uintptr, uintptr)
3031
3132 type TaskClass struct {
33+ _ structs.HostLayout
3234 }
3335
3436 func (x *TaskClass) GoPointer() uintptr {
M v4/gio/gtcpconnection.go +4 -0
@@ -2,6 +2,7 @@
22 package gio
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -10,6 +11,8 @@ import (
1011 )
1112
1213 type TcpConnectionClass struct {
14+ _ structs.HostLayout
15+
1316 ParentClass uintptr
1417 }
1518
@@ -18,6 +21,7 @@ func (x *TcpConnectionClass) GoPointer() uintptr {
1821 }
1922
2023 type TcpConnectionPrivate struct {
24+ _ structs.HostLayout
2125 }
2226
2327 func (x *TcpConnectionPrivate) GoPointer() uintptr {
M v4/gio/gtcpwrapperconnection.go +4 -0
@@ -2,6 +2,7 @@
22 package gio
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -11,6 +12,8 @@ import (
1112 )
1213
1314 type TcpWrapperConnectionClass struct {
15+ _ structs.HostLayout
16+
1417 ParentClass uintptr
1518 }
1619
@@ -19,6 +22,7 @@ func (x *TcpWrapperConnectionClass) GoPointer() uintptr {
1922 }
2023
2124 type TcpWrapperConnectionPrivate struct {
25+ _ structs.HostLayout
2226 }
2327
2428 func (x *TcpWrapperConnectionPrivate) GoPointer() uintptr {
M v4/gio/gthemedicon.go +2 -0
@@ -2,6 +2,7 @@
22 package gio
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -12,6 +13,7 @@ import (
1213 )
1314
1415 type ThemedIconClass struct {
16+ _ structs.HostLayout
1517 }
1618
1719 func (x *ThemedIconClass) GoPointer() uintptr {
M v4/gio/gthreadedsocketservice.go +4 -0
@@ -2,6 +2,7 @@
22 package gio
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -12,6 +13,8 @@ import (
1213 )
1314
1415 type ThreadedSocketServiceClass struct {
16+ _ structs.HostLayout
17+
1518 ParentClass uintptr
1619 }
1720
@@ -20,6 +23,7 @@ func (x *ThreadedSocketServiceClass) GoPointer() uintptr {
2023 }
2124
2225 type ThreadedSocketServicePrivate struct {
26+ _ structs.HostLayout
2327 }
2428
2529 func (x *ThreadedSocketServicePrivate) GoPointer() uintptr {
M v4/gio/gtlsbackend.go +3 -0
@@ -2,6 +2,7 @@
22 package gio
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -12,6 +13,8 @@ import (
1213
1314 // Provides an interface for describing TLS-related types.
1415 type TlsBackendInterface struct {
16+ _ structs.HostLayout
17+
1518 GIface uintptr
1619 }
1720
M v4/gio/gtlscertificate.go +4 -0
@@ -2,6 +2,7 @@
22 package gio
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -12,6 +13,8 @@ import (
1213 )
1314
1415 type TlsCertificateClass struct {
16+ _ structs.HostLayout
17+
1518 ParentClass uintptr
1619
1720 Padding [8]uintptr
@@ -22,6 +25,7 @@ func (x *TlsCertificateClass) GoPointer() uintptr {
2225 }
2326
2427 type TlsCertificatePrivate struct {
28+ _ structs.HostLayout
2529 }
2630
2731 func (x *TlsCertificatePrivate) GoPointer() uintptr {
M v4/gio/gtlsclientconnection.go +3 -0
@@ -2,6 +2,7 @@
22 package gio
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -13,6 +14,8 @@ import (
1314
1415 // vtable for a #GTlsClientConnection implementation.
1516 type TlsClientConnectionInterface struct {
17+ _ structs.HostLayout
18+
1619 GIface uintptr
1720 }
1821
M v4/gio/gtlsconnection.go +4 -0
@@ -2,6 +2,7 @@
22 package gio
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -13,6 +14,8 @@ import (
1314
1415 // The class structure for the #GTlsConnection type.
1516 type TlsConnectionClass struct {
17+ _ structs.HostLayout
18+
1619 ParentClass uintptr
1720
1821 Padding [6]uintptr
@@ -23,6 +26,7 @@ func (x *TlsConnectionClass) GoPointer() uintptr {
2326 }
2427
2528 type TlsConnectionPrivate struct {
29+ _ structs.HostLayout
2630 }
2731
2832 func (x *TlsConnectionPrivate) GoPointer() uintptr {
M v4/gio/gtlsdatabase.go +4 -0
@@ -2,6 +2,7 @@
22 package gio
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -15,6 +16,8 @@ import (
1516 // virtual methods. _async and _finish methods have a default
1617 // implementation that runs the corresponding sync method in a thread.
1718 type TlsDatabaseClass struct {
19+ _ structs.HostLayout
20+
1821 ParentClass uintptr
1922
2023 Padding [16]uintptr
@@ -25,6 +28,7 @@ func (x *TlsDatabaseClass) GoPointer() uintptr {
2528 }
2629
2730 type TlsDatabasePrivate struct {
31+ _ structs.HostLayout
2832 }
2933
3034 func (x *TlsDatabasePrivate) GoPointer() uintptr {
M v4/gio/gtlsfiledatabase.go +3 -0
@@ -2,6 +2,7 @@
22 package gio
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -12,6 +13,8 @@ import (
1213
1314 // Provides an interface for #GTlsFileDatabase implementations.
1415 type TlsFileDatabaseInterface struct {
16+ _ structs.HostLayout
17+
1518 GIface uintptr
1619
1720 Padding [8]uintptr
M v4/gio/gtlsinteraction.go +4 -0
@@ -2,6 +2,7 @@
22 package gio
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -26,6 +27,8 @@ import (
2627 // %G_TLS_INTERACTION_FAILED and the error should be set with a domain of
2728 // %G_IO_ERROR and code of %G_IO_ERROR_CANCELLED.
2829 type TlsInteractionClass struct {
30+ _ structs.HostLayout
31+
2932 ParentClass uintptr
3033
3134 Padding [21]uintptr
@@ -36,6 +39,7 @@ func (x *TlsInteractionClass) GoPointer() uintptr {
3639 }
3740
3841 type TlsInteractionPrivate struct {
42+ _ structs.HostLayout
3943 }
4044
4145 func (x *TlsInteractionPrivate) GoPointer() uintptr {
M v4/gio/gtlspassword.go +4 -0
@@ -2,6 +2,7 @@
22 package gio
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -13,6 +14,8 @@ import (
1314
1415 // Class structure for #GTlsPassword.
1516 type TlsPasswordClass struct {
17+ _ structs.HostLayout
18+
1619 ParentClass uintptr
1720
1821 Padding [4]uintptr
@@ -23,6 +26,7 @@ func (x *TlsPasswordClass) GoPointer() uintptr {
2326 }
2427
2528 type TlsPasswordPrivate struct {
29+ _ structs.HostLayout
2630 }
2731
2832 func (x *TlsPasswordPrivate) GoPointer() uintptr {
M v4/gio/gtlsserverconnection.go +3 -0
@@ -2,6 +2,7 @@
22 package gio
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -12,6 +13,8 @@ import (
1213
1314 // vtable for a #GTlsServerConnection implementation.
1415 type TlsServerConnectionInterface struct {
16+ _ structs.HostLayout
17+
1518 GIface uintptr
1619 }
1720
M v4/gio/gunixconnection.go +4 -0
@@ -2,6 +2,7 @@
22 package gio
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -11,6 +12,8 @@ import (
1112 )
1213
1314 type UnixConnectionClass struct {
15+ _ structs.HostLayout
16+
1417 ParentClass uintptr
1518 }
1619
@@ -19,6 +22,7 @@ func (x *UnixConnectionClass) GoPointer() uintptr {
1922 }
2023
2124 type UnixConnectionPrivate struct {
25+ _ structs.HostLayout
2226 }
2327
2428 func (x *UnixConnectionPrivate) GoPointer() uintptr {
M v4/gio/gunixcredentialsmessage.go +4 -0
@@ -2,6 +2,7 @@
22 package gio
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -12,6 +13,8 @@ import (
1213
1314 // Class structure for #GUnixCredentialsMessage.
1415 type UnixCredentialsMessageClass struct {
16+ _ structs.HostLayout
17+
1518 ParentClass uintptr
1619 }
1720
@@ -20,6 +23,7 @@ func (x *UnixCredentialsMessageClass) GoPointer() uintptr {
2023 }
2124
2225 type UnixCredentialsMessagePrivate struct {
26+ _ structs.HostLayout
2327 }
2428
2529 func (x *UnixCredentialsMessagePrivate) GoPointer() uintptr {
M v4/gio/gunixfdlist.go +4 -0
@@ -2,6 +2,7 @@
22 package gio
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -12,6 +13,8 @@ import (
1213 )
1314
1415 type UnixFDListClass struct {
16+ _ structs.HostLayout
17+
1518 ParentClass uintptr
1619 }
1720
@@ -20,6 +23,7 @@ func (x *UnixFDListClass) GoPointer() uintptr {
2023 }
2124
2225 type UnixFDListPrivate struct {
26+ _ structs.HostLayout
2327 }
2428
2529 func (x *UnixFDListPrivate) GoPointer() uintptr {
M v4/gio/gunixfdmessage.go +4 -0
@@ -2,6 +2,7 @@
22 package gio
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -12,6 +13,8 @@ import (
1213 )
1314
1415 type UnixFDMessageClass struct {
16+ _ structs.HostLayout
17+
1518 ParentClass uintptr
1619 }
1720
@@ -20,6 +23,7 @@ func (x *UnixFDMessageClass) GoPointer() uintptr {
2023 }
2124
2225 type UnixFDMessagePrivate struct {
26+ _ structs.HostLayout
2327 }
2428
2529 func (x *UnixFDMessagePrivate) GoPointer() uintptr {
M v4/gio/gunixinputstream.go +4 -0
@@ -2,6 +2,7 @@
22 package gio
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -11,6 +12,8 @@ import (
1112 )
1213
1314 type UnixInputStreamClass struct {
15+ _ structs.HostLayout
16+
1417 ParentClass uintptr
1518 }
1619
@@ -19,6 +22,7 @@ func (x *UnixInputStreamClass) GoPointer() uintptr {
1922 }
2023
2124 type UnixInputStreamPrivate struct {
25+ _ structs.HostLayout
2226 }
2327
2428 func (x *UnixInputStreamPrivate) GoPointer() uintptr {
M v4/gio/gunixmounts.go +4 -0
@@ -2,6 +2,7 @@
22 package gio
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -14,6 +15,7 @@ import (
1415 // Defines a Unix mount entry (e.g. <filename>/media/cdrom</filename>).
1516 // This corresponds roughly to a mtab entry.
1617 type UnixMountEntry struct {
18+ _ structs.HostLayout
1719 }
1820
1921 var xUnixMountEntryGLibType func() types.GType
@@ -27,6 +29,7 @@ func (x *UnixMountEntry) GoPointer() uintptr {
2729 }
2830
2931 type UnixMountMonitorClass struct {
32+ _ structs.HostLayout
3033 }
3134
3235 func (x *UnixMountMonitorClass) GoPointer() uintptr {
@@ -36,6 +39,7 @@ func (x *UnixMountMonitorClass) GoPointer() uintptr {
3639 // Defines a Unix mount point (e.g. <filename>/dev</filename>).
3740 // This corresponds roughly to a fstab entry.
3841 type UnixMountPoint struct {
42+ _ structs.HostLayout
3943 }
4044
4145 var xUnixMountPointGLibType func() types.GType
M v4/gio/gunixoutputstream.go +4 -0
@@ -2,6 +2,7 @@
22 package gio
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -11,6 +12,8 @@ import (
1112 )
1213
1314 type UnixOutputStreamClass struct {
15+ _ structs.HostLayout
16+
1417 ParentClass uintptr
1518 }
1619
@@ -19,6 +22,7 @@ func (x *UnixOutputStreamClass) GoPointer() uintptr {
1922 }
2023
2124 type UnixOutputStreamPrivate struct {
25+ _ structs.HostLayout
2226 }
2327
2428 func (x *UnixOutputStreamPrivate) GoPointer() uintptr {
M v4/gio/gunixsocketaddress.go +4 -0
@@ -2,6 +2,7 @@
22 package gio
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -10,6 +11,8 @@ import (
1011 )
1112
1213 type UnixSocketAddressClass struct {
14+ _ structs.HostLayout
15+
1316 ParentClass uintptr
1417 }
1518
@@ -18,6 +21,7 @@ func (x *UnixSocketAddressClass) GoPointer() uintptr {
1821 }
1922
2023 type UnixSocketAddressPrivate struct {
24+ _ structs.HostLayout
2125 }
2226
2327 func (x *UnixSocketAddressPrivate) GoPointer() uintptr {
M v4/gio/gvfs.go +3 -0
@@ -2,6 +2,7 @@
22 package gio
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -20,6 +21,8 @@ import (
2021 type VfsFileLookupFunc func(uintptr, string, uintptr) uintptr
2122
2223 type VfsClass struct {
24+ _ structs.HostLayout
25+
2326 ParentClass uintptr
2427 }
2528
M v4/gio/gvolume.go +3 -0
@@ -2,6 +2,7 @@
22 package gio
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -12,6 +13,8 @@ import (
1213
1314 // Interface for implementing operations for mountable volumes.
1415 type VolumeIface struct {
16+ _ structs.HostLayout
17+
1518 GIface uintptr
1619 }
1720
M v4/gio/gvolumemonitor.go +3 -0
@@ -2,6 +2,7 @@
22 package gio
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -12,6 +13,8 @@ import (
1213 )
1314
1415 type VolumeMonitorClass struct {
16+ _ structs.HostLayout
17+
1518 ParentClass uintptr
1619 }
1720
M v4/gio/gzlibcompressor.go +3 -0
@@ -2,6 +2,7 @@
22 package gio
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -12,6 +13,8 @@ import (
1213 )
1314
1415 type ZlibCompressorClass struct {
16+ _ structs.HostLayout
17+
1518 ParentClass uintptr
1619 }
1720
M v4/gio/gzlibdecompressor.go +3 -0
@@ -2,6 +2,7 @@
22 package gio
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -12,6 +13,8 @@ import (
1213 )
1314
1415 type ZlibDecompressorClass struct {
16+ _ structs.HostLayout
17+
1518 ParentClass uintptr
1619 }
1720
M v4/glib/garray.go +8 -0
@@ -2,6 +2,7 @@
22 package glib
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -11,6 +12,8 @@ import (
1112
1213 // Contains the public fields of a GArray.
1314 type Array struct {
15+ _ structs.HostLayout
16+
1417 Data uintptr
1518
1619 Len uint
@@ -28,6 +31,8 @@ func (x *Array) GoPointer() uintptr {
2831
2932 // Contains the public fields of a GByteArray.
3033 type ByteArray struct {
34+ _ structs.HostLayout
35+
3136 Data byte
3237
3338 Len uint
@@ -68,6 +73,7 @@ func (x *ByteArray) GoPointer() uintptr {
6873 // mutable array for a #GBytes sequence. To create an immutable #GBytes from
6974 // a mutable #GByteArray, use the g_byte_array_free_to_bytes() function.
7075 type Bytes struct {
76+ _ structs.HostLayout
7177 }
7278
7379 var xBytesGLibType func() types.GType
@@ -310,6 +316,8 @@ func (x *Bytes) UnrefToData(SizeVar uint) uintptr {
310316
311317 // Contains the public fields of a pointer array.
312318 type PtrArray struct {
319+ _ structs.HostLayout
320+
313321 Pdata uintptr
314322
315323 Len uint
M v4/glib/gasyncqueue.go +2 -0
@@ -2,6 +2,7 @@
22 package glib
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -12,6 +13,7 @@ import (
1213 //
1314 // It should only be accessed through the `g_async_queue_*` functions.
1415 type AsyncQueue struct {
16+ _ structs.HostLayout
1517 }
1618
1719 func (x *AsyncQueue) GoPointer() uintptr {
M v4/glib/gbookmarkfile.go +2 -0
@@ -2,6 +2,7 @@
22 package glib
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -10,6 +11,7 @@ import (
1011
1112 // An opaque data structure representing a set of bookmarks.
1213 type BookmarkFile struct {
14+ _ structs.HostLayout
1315 }
1416
1517 func (x *BookmarkFile) GoPointer() uintptr {
M v4/glib/gchecksum.go +2 -0
@@ -2,6 +2,7 @@
22 package glib
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -14,6 +15,7 @@ import (
1415 // To create a new GChecksum, use g_checksum_new(). To free
1516 // a GChecksum, use g_checksum_free().
1617 type Checksum struct {
18+ _ structs.HostLayout
1719 }
1820
1921 var xChecksumGLibType func() types.GType
M v4/glib/gconvert.go +2 -0
@@ -2,6 +2,7 @@
22 package glib
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -11,6 +12,7 @@ import (
1112 // The GIConv struct wraps an iconv() conversion descriptor. It contains
1213 // private data and should only be accessed using the following functions.
1314 type IConv struct {
15+ _ structs.HostLayout
1416 }
1517
1618 func (x *IConv) GoPointer() uintptr {
M v4/glib/gdataset.go +2 -0
@@ -2,6 +2,7 @@
22 package glib
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -23,6 +24,7 @@ type DuplicateFunc func(uintptr, uintptr) uintptr
2324 //
2425 // See also: [Keyed data lists][glib-Keyed-Data-Lists].
2526 type Data struct {
27+ _ structs.HostLayout
2628 }
2729
2830 func (x *Data) GoPointer() uintptr {
M v4/glib/gdate.go +3 -0
@@ -2,6 +2,7 @@
22 package glib
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -21,6 +22,8 @@ import (
2122 // becomes valid after you set it to a Julian day or you set a day, month,
2223 // and year.
2324 type Date struct {
25+ _ structs.HostLayout
26+
2427 JulianDays uint
2528
2629 Julian uint
M v4/glib/gdatetime.go +2 -0
@@ -2,6 +2,7 @@
22 package glib
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -11,6 +12,7 @@ import (
1112
1213 // An opaque structure that represents a date and time, including a time zone.
1314 type DateTime struct {
15+ _ structs.HostLayout
1416 }
1517
1618 var xDateTimeGLibType func() types.GType
M v4/glib/gdir.go +2 -0
@@ -2,6 +2,7 @@
22 package glib
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -10,6 +11,7 @@ import (
1011
1112 // An opaque structure representing an opened directory.
1213 type Dir struct {
14+ _ structs.HostLayout
1315 }
1416
1517 func (x *Dir) GoPointer() uintptr {
M v4/glib/gerror.go +3 -0
@@ -2,6 +2,7 @@
22 package glib
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -39,6 +40,8 @@ type ErrorInitFunc func(*Error)
3940 // The `GError` structure contains information about
4041 // an error that has occurred.
4142 type Error struct {
43+ _ structs.HostLayout
44+
4245 Domain Quark
4346
4447 Code int32
M v4/glib/ghash.go +4 -0
@@ -2,6 +2,7 @@
22 package glib
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -20,6 +21,7 @@ type HRFunc func(uintptr, uintptr, uintptr) bool
2021 // [Hash Table][glib-Hash-Tables]. It should only be accessed via the
2122 // following functions.
2223 type HashTable struct {
24+ _ structs.HostLayout
2325 }
2426
2527 var xHashTableGLibType func() types.GType
@@ -40,6 +42,8 @@ func (x *HashTable) GoPointer() uintptr {
4042 // The iteration order of a #GHashTableIter over the keys/values in a hash
4143 // table is not defined.
4244 type HashTableIter struct {
45+ _ structs.HostLayout
46+
4347 Dummy1 uintptr
4448
4549 Dummy2 uintptr
M v4/glib/ghmac.go +2 -0
@@ -2,6 +2,7 @@
22 package glib
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -12,6 +13,7 @@ import (
1213 // To create a new GHmac, use g_hmac_new(). To free
1314 // a GHmac, use g_hmac_unref().
1415 type Hmac struct {
16+ _ structs.HostLayout
1517 }
1618
1719 func (x *Hmac) GoPointer() uintptr {
M v4/glib/ghook.go +5 -0
@@ -2,6 +2,7 @@
22 package glib
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -35,6 +36,8 @@ type HookMarshaller func(*Hook, uintptr)
3536
3637 // The #GHook struct represents a single hook function in a #GHookList.
3738 type Hook struct {
39+ _ structs.HostLayout
40+
3841 Data uintptr
3942
4043 Next *Hook
@@ -68,6 +71,8 @@ func (x *Hook) CompareIds(SiblingVar *Hook) int {
6871
6972 // The #GHookList struct represents a list of hook functions.
7073 type HookList struct {
74+ _ structs.HostLayout
75+
7176 SeqId uint32
7277
7378 HookSize uint
M v4/glib/giochannel.go +4 -0
@@ -2,6 +2,7 @@
22 package glib
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -18,6 +19,8 @@ type IOFunc func(*IOChannel, IOCondition, uintptr) bool
1819 // considered private and should only be accessed with the following
1920 // functions.
2021 type IOChannel struct {
22+ _ structs.HostLayout
23+
2124 RefCount int32
2225
2326 Funcs *IOFuncs
@@ -555,6 +558,7 @@ func (x *IOChannel) WriteUnichar(ThecharVar uint32) (IOStatus, error) {
555558 // A table of functions used to handle different types of #GIOChannel
556559 // in a generic way.
557560 type IOFuncs struct {
561+ _ structs.HostLayout
558562 }
559563
560564 func (x *IOFuncs) GoPointer() uintptr {
M v4/glib/gkeyfile.go +2 -0
@@ -2,6 +2,7 @@
22 package glib
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -12,6 +13,7 @@ import (
1213 // The GKeyFile struct contains only private data
1314 // and should not be accessed directly.
1415 type KeyFile struct {
16+ _ structs.HostLayout
1517 }
1618
1719 var xKeyFileGLibType func() types.GType
M v4/glib/glist.go +3 -0
@@ -2,6 +2,7 @@
22 package glib
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -10,6 +11,8 @@ import (
1011
1112 // The #GList struct is used for each element in a doubly-linked list.
1213 type List struct {
14+ _ structs.HostLayout
15+
1316 Data uintptr
1417
1518 Next *List
M v4/glib/gmain.go +9 -0
@@ -2,6 +2,7 @@
22 package glib
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -43,6 +44,7 @@ type SourceFunc func(uintptr) bool
4344 // The `GMainContext` struct is an opaque data
4445 // type representing a set of sources to be handled in a main loop.
4546 type MainContext struct {
47+ _ structs.HostLayout
4648 }
4749
4850 var xMainContextGLibType func() types.GType
@@ -463,6 +465,7 @@ func (x *MainContext) Wakeup() {
463465 // The `GMainLoop` struct is an opaque data type
464466 // representing the main event loop of a GLib or GTK+ application.
465467 type MainLoop struct {
468+ _ structs.HostLayout
466469 }
467470
468471 var xMainLoopGLibType func() types.GType
@@ -549,6 +552,8 @@ func (x *MainLoop) Unref() {
549552 // The `GSource` struct is an opaque data type
550553 // representing an event source.
551554 type Source struct {
555+ _ structs.HostLayout
556+
552557 CallbackData uintptr
553558
554559 CallbackFuncs *SourceCallbackFuncs
@@ -1174,6 +1179,7 @@ func (x *Source) Unref() {
11741179 // The `GSourceCallbackFuncs` struct contains
11751180 // functions for managing callback objects.
11761181 type SourceCallbackFuncs struct {
1182+ _ structs.HostLayout
11771183 }
11781184
11791185 func (x *SourceCallbackFuncs) GoPointer() uintptr {
@@ -1201,6 +1207,8 @@ func (x *SourceCallbackFuncs) GoPointer() uintptr {
12011207 // check function, it tests the results of the poll() call to see if the
12021208 // required condition has been met, and returns %TRUE if so.
12031209 type SourceFuncs struct {
1210+ _ structs.HostLayout
1211+
12041212 ClosureCallback SourceFunc
12051213
12061214 ClosureMarshal SourceDummyMarshal
@@ -1211,6 +1219,7 @@ func (x *SourceFuncs) GoPointer() uintptr {
12111219 }
12121220
12131221 type SourcePrivate struct {
1222+ _ structs.HostLayout
12141223 }
12151224
12161225 func (x *SourcePrivate) GoPointer() uintptr {
M v4/glib/gmappedfile.go +2 -0
@@ -2,6 +2,7 @@
22 package glib
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -13,6 +14,7 @@ import (
1314 // g_mapped_file_new(). It has only private members and should
1415 // not be accessed directly.
1516 type MappedFile struct {
17+ _ structs.HostLayout
1618 }
1719
1820 var xMappedFileGLibType func() types.GType
M v4/glib/gmarkup.go +3 -0
@@ -2,6 +2,7 @@
22 package glib
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -15,6 +16,7 @@ import (
1516 // See g_markup_parse_context_new(), #GMarkupParser, and so
1617 // on for more details.
1718 type MarkupParseContext struct {
19+ _ structs.HostLayout
1820 }
1921
2022 var xMarkupParseContextGLibType func() types.GType
@@ -333,6 +335,7 @@ func (x *MarkupParseContext) Unref() {
333335 // from a callback, g_markup_parse_context_parse() will report that error
334336 // back to its caller.
335337 type MarkupParser struct {
338+ _ structs.HostLayout
336339 }
337340
338341 func (x *MarkupParser) GoPointer() uintptr {
M v4/glib/gmem.go +2 -0
@@ -2,6 +2,7 @@
22 package glib
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -14,6 +15,7 @@ import (
1415 //
1516 // This functions related to this has been deprecated in 2.46, and no longer work.
1617 type MemVTable struct {
18+ _ structs.HostLayout
1719 }
1820
1921 func (x *MemVTable) GoPointer() uintptr {
M v4/glib/gmessages.go +3 -0
@@ -2,6 +2,7 @@
22 package glib
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -52,6 +53,8 @@ type PrintFunc func(string)
5253 // have a trailing nul byte. Otherwise, @length must be set to a non-negative
5354 // value.
5455 type LogField struct {
56+ _ structs.HostLayout
57+
5558 Key uintptr
5659
5760 Value uintptr
M v4/glib/gnode.go +3 -0
@@ -2,6 +2,7 @@
22 package glib
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -21,6 +22,8 @@ type NodeTraverseFunc func(*Node, uintptr) bool
2122
2223 // The #GNode struct represents one node in a [n-ary tree][glib-N-ary-Trees].
2324 type Node struct {
25+ _ structs.HostLayout
26+
2427 Data uintptr
2528
2629 Next *Node
M v4/glib/goption.go +5 -0
@@ -2,6 +2,7 @@
22 package glib
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -23,6 +24,7 @@ type OptionParseFunc func(*OptionContext, *OptionGroup, uintptr, **Error) bool
2324 // are accepted by the commandline option parser. The struct has only private
2425 // fields and should not be directly accessed.
2526 type OptionContext struct {
27+ _ structs.HostLayout
2628 }
2729
2830 func (x *OptionContext) GoPointer() uintptr {
@@ -330,6 +332,8 @@ func (x *OptionContext) SetTranslationDomain(DomainVar string) {
330332 // must be added to a #GOptionGroup with g_option_context_add_main_entries()
331333 // or g_option_group_add_entries().
332334 type OptionEntry struct {
335+ _ structs.HostLayout
336+
333337 LongName uintptr
334338
335339 ShortName byte
@@ -357,6 +361,7 @@ func (x *OptionEntry) GoPointer() uintptr {
357361 // getting a `GOptionGroup` holding their options, which
358362 // the application can then add to its #GOptionContext.
359363 type OptionGroup struct {
364+ _ structs.HostLayout
360365 }
361366
362367 var xOptionGroupGLibType func() types.GType
M v4/glib/gpattern.go +2 -0
@@ -2,6 +2,7 @@
22 package glib
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -12,6 +13,7 @@ import (
1213 // A GPatternSpec struct is the 'compiled' form of a pattern. This
1314 // structure is opaque and its fields cannot be accessed directly.
1415 type PatternSpec struct {
16+ _ structs.HostLayout
1517 }
1618
1719 var xPatternSpecGLibType func() types.GType
M v4/glib/gpoll.go +3 -0
@@ -2,6 +2,7 @@
22 package glib
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -16,6 +17,8 @@ type PollFunc func(*PollFD, uint, int) int
1617 // Represents a file descriptor, which events to poll for, and which events
1718 // occurred.
1819 type PollFD struct {
20+ _ structs.HostLayout
21+
1922 Fd int32
2023
2124 Events uint16
M v4/glib/gqueue.go +3 -0
@@ -2,6 +2,7 @@
22 package glib
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -11,6 +12,8 @@ import (
1112 // Contains the public fields of a
1213 // [Queue][glib-Double-ended-Queues].
1314 type Queue struct {
15+ _ structs.HostLayout
16+
1417 Head *List
1518
1619 Tail *List
M v4/glib/grand.go +2 -0
@@ -2,6 +2,7 @@
22 package glib
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -11,6 +12,7 @@ import (
1112 // The GRand struct is an opaque data structure. It should only be
1213 // accessed through the g_rand_* functions.
1314 type Rand struct {
15+ _ structs.HostLayout
1416 }
1517
1618 func (x *Rand) GoPointer() uintptr {
M v4/glib/gregex.go +3 -0
@@ -2,6 +2,7 @@
22 package glib
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -18,6 +19,7 @@ type RegexEvalCallback func(*MatchInfo, *String, uintptr) bool
1819 // A GMatchInfo is an opaque struct used to return information about
1920 // matches.
2021 type MatchInfo struct {
22+ _ structs.HostLayout
2123 }
2224
2325 var xMatchInfoGLibType func() types.GType
@@ -360,6 +362,7 @@ func (x *MatchInfo) Unref() {
360362 // [PCRE](http://www.pcre.org/)
361363 // library written by Philip Hazel.
362364 type Regex struct {
365+ _ structs.HostLayout
363366 }
364367
365368 var xRegexGLibType func() types.GType
M v4/glib/gscanner.go +5 -0
@@ -2,6 +2,7 @@
22 package glib
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -26,6 +27,8 @@ type ScannerMsgFunc func(*Scanner, string, bool)
2627 // @msg_handler field. The type of the message handler function
2728 // is declared by #GScannerMsgFunc.
2829 type Scanner struct {
30+ _ structs.HostLayout
31+
2932 UserData uintptr
3033
3134 MaxParseErrors uint
@@ -292,6 +295,8 @@ func (x *Scanner) Warn(FormatVar string, varArgs ...interface{}) {
292295 // be changed during the parsing phase and will affect the lexical
293296 // parsing of the next unpeeked token.
294297 type ScannerConfig struct {
298+ _ structs.HostLayout
299+
295300 CsetSkipCharacters uintptr
296301
297302 CsetIdentifierFirst uintptr
M v4/glib/gsequence.go +3 -0
@@ -2,6 +2,7 @@
22 package glib
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -16,6 +17,7 @@ type SequenceIterCompareFunc func(*SequenceIter, *SequenceIter, uintptr) int
1617 // The #GSequence struct is an opaque data type representing a
1718 // [sequence][glib-Sequences] data type.
1819 type Sequence struct {
20+ _ structs.HostLayout
1921 }
2022
2123 func (x *Sequence) GoPointer() uintptr {
@@ -266,6 +268,7 @@ func (x *Sequence) SortIter(CmpFuncVar *SequenceIterCompareFunc, CmpDataVar uint
266268 // The #GSequenceIter struct is an opaque data type representing an
267269 // iterator pointing into a #GSequence.
268270 type SequenceIter struct {
271+ _ structs.HostLayout
269272 }
270273
271274 func (x *SequenceIter) GoPointer() uintptr {
M v4/glib/gslist.go +3 -0
@@ -2,6 +2,7 @@
22 package glib
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -11,6 +12,8 @@ import (
1112 // The #GSList struct is used for each element in the singly-linked
1213 // list.
1314 type SList struct {
15+ _ structs.HostLayout
16+
1417 Data uintptr
1518
1619 Next *SList
M v4/glib/gstdio.go +2 -0
@@ -2,6 +2,7 @@
22 package glib
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -13,6 +14,7 @@ import (
1314 //
1415 // See g_stat() for more information.
1516 type StatBuf struct {
17+ _ structs.HostLayout
1618 }
1719
1820 func (x *StatBuf) GoPointer() uintptr {
M v4/glib/gstring.go +3 -0
@@ -2,6 +2,7 @@
22 package glib
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -11,6 +12,8 @@ import (
1112
1213 // The GString struct contains the public fields of a GString.
1314 type String struct {
15+ _ structs.HostLayout
16+
1417 Str uintptr
1518
1619 Len uint
M v4/glib/gstringchunk.go +2 -0
@@ -2,6 +2,7 @@
22 package glib
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -11,6 +12,7 @@ import (
1112 // An opaque data structure representing String Chunks.
1213 // It should only be accessed by using the following functions.
1314 type StringChunk struct {
15+ _ structs.HostLayout
1416 }
1517
1618 func (x *StringChunk) GoPointer() uintptr {
M v4/glib/gstrvbuilder.go +2 -0
@@ -2,6 +2,7 @@
22 package glib
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -22,6 +23,7 @@ import (
2223 //
2324 // ]|
2425 type StrvBuilder struct {
26+ _ structs.HostLayout
2527 }
2628
2729 func (x *StrvBuilder) GoPointer() uintptr {
M v4/glib/gtestutils.go +9 -0
@@ -2,6 +2,7 @@
22 package glib
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -32,6 +33,7 @@ type TestLogFatalFunc func(string, LogLevelFlags, string, uintptr) bool
3233
3334 // An opaque structure representing a test case.
3435 type TestCase struct {
36+ _ structs.HostLayout
3537 }
3638
3739 func (x *TestCase) GoPointer() uintptr {
@@ -48,6 +50,8 @@ func (x *TestCase) Free() {
4850 }
4951
5052 type TestConfig struct {
53+ _ structs.HostLayout
54+
5155 TestInitialized bool
5256
5357 TestQuick bool
@@ -66,6 +70,8 @@ func (x *TestConfig) GoPointer() uintptr {
6670 }
6771
6872 type TestLogBuffer struct {
73+ _ structs.HostLayout
74+
6975 Data *String
7076
7177 Msgs *SList
@@ -103,6 +109,8 @@ func (x *TestLogBuffer) Push(NBytesVar uint, BytesVar byte) {
103109 }
104110
105111 type TestLogMsg struct {
112+ _ structs.HostLayout
113+
106114 LogType TestLogType
107115
108116 NStrings uint
@@ -129,6 +137,7 @@ func (x *TestLogMsg) Free() {
129137
130138 // An opaque structure representing a test suite.
131139 type TestSuite struct {
140+ _ structs.HostLayout
132141 }
133142
134143 func (x *TestSuite) GoPointer() uintptr {
M v4/glib/gthread.go +12 -0
@@ -2,6 +2,7 @@
22 package glib
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -81,6 +82,8 @@ type ThreadFunc func(uintptr) uintptr
8182 //
8283 // A #GCond should only be accessed via the g_cond_ functions.
8384 type Cond struct {
85+ _ structs.HostLayout
86+
8487 P uintptr
8588
8689 I [2]uint
@@ -232,6 +235,8 @@ func (x *Cond) WaitUntil(MutexVar *Mutex, EndTimeVar int64) bool {
232235 // one-time initialization function must have its own unique #GOnce
233236 // struct.
234237 type Once struct {
238+ _ structs.HostLayout
239+
235240 Status OnceStatus
236241
237242 Retval uintptr
@@ -267,6 +272,8 @@ func (x *Once) Impl(FuncVar *ThreadFunc, ArgVar uintptr) uintptr {
267272 // The #GPrivate structure should be considered opaque. It should only
268273 // be accessed via the g_private_ functions.
269274 type Private struct {
275+ _ structs.HostLayout
276+
270277 P uintptr
271278
272279 Notify DestroyNotify
@@ -384,6 +391,8 @@ func (x *Private) Set(ValueVar uintptr) {
384391 //
385392 // A GRWLock should only be accessed with the g_rw_lock_ functions.
386393 type RWLock struct {
394+ _ structs.HostLayout
395+
387396 P uintptr
388397
389398 I [2]uint
@@ -540,6 +549,8 @@ func (x *RWLock) WriterUnlock() {
540549 // A GRecMutex should only be accessed with the
541550 // g_rec_mutex_ functions.
542551 type RecMutex struct {
552+ _ structs.HostLayout
553+
543554 P uintptr
544555
545556 I [2]uint
@@ -655,6 +666,7 @@ func (x *RecMutex) Unlock() {
655666 // The structure is opaque -- none of its fields may be directly
656667 // accessed.
657668 type Thread struct {
669+ _ structs.HostLayout
658670 }
659671
660672 var xThreadGLibType func() types.GType
M v4/glib/gthreadpool.go +3 -0
@@ -2,6 +2,7 @@
22 package glib
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -12,6 +13,8 @@ import (
1213 // public read-only members, but the underlying struct is bigger,
1314 // so you must not copy this struct.
1415 type ThreadPool struct {
16+ _ structs.HostLayout
17+
1518 Func Func
1619
1720 UserData uintptr
M v4/glib/gtimer.go +2 -0
@@ -2,6 +2,7 @@
22 package glib
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -10,6 +11,7 @@ import (
1011
1112 // Opaque datatype that records a start time.
1213 type Timer struct {
14+ _ structs.HostLayout
1315 }
1416
1517 func (x *Timer) GoPointer() uintptr {
M v4/glib/gtimezone.go +2 -0
@@ -2,6 +2,7 @@
22 package glib
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -12,6 +13,7 @@ import (
1213 // #GTimeZone is an opaque structure whose members cannot be accessed
1314 // directly.
1415 type TimeZone struct {
16+ _ structs.HostLayout
1517 }
1618
1719 var xTimeZoneGLibType func() types.GType
M v4/glib/gtrashstack.go +3 -0
@@ -2,6 +2,7 @@
22 package glib
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -11,6 +12,8 @@ import (
1112 // Each piece of memory that is pushed onto the stack
1213 // is cast to a GTrashStack*.
1314 type TrashStack struct {
15+ _ structs.HostLayout
16+
1417 Next *TrashStack
1518 }
1619
M v4/glib/gtree.go +3 -0
@@ -2,6 +2,7 @@
22 package glib
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -25,6 +26,7 @@ type TraverseNodeFunc func(*TreeNode, uintptr) bool
2526 // [balanced binary tree][glib-Balanced-Binary-Trees]. It should be
2627 // accessed only by using the following functions.
2728 type Tree struct {
29+ _ structs.HostLayout
2830 }
2931
3032 var xTreeGLibType func() types.GType
@@ -387,6 +389,7 @@ func (x *Tree) UpperBound(KeyVar uintptr) *TreeNode {
387389
388390 // An opaque type which identifies a specific node in a #GTree.
389391 type TreeNode struct {
392+ _ structs.HostLayout
390393 }
391394
392395 func (x *TreeNode) GoPointer() uintptr {
M v4/glib/gtypes.go +3 -0
@@ -2,6 +2,7 @@
22 package glib
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -95,6 +96,8 @@ type TranslateFunc func(string, uintptr) string
9596 // `tv_sec` is that on 32-bit systems `GTimeVal` is subject to the year 2038
9697 // problem.
9798 type TimeVal struct {
99+ _ structs.HostLayout
100+
98101 TvSec int32
99102
100103 TvUsec int32
M v4/glib/guri.go +4 -0
@@ -2,6 +2,7 @@
22 package glib
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -118,6 +119,7 @@ import (
118119 // thing according to the `data:` URI specification which GLib does not
119120 // handle.
120121 type Uri struct {
122+ _ structs.HostLayout
121123 }
122124
123125 var xUriGLibType func() types.GType
@@ -334,6 +336,8 @@ func (x *Uri) Unref() {
334336 // g_uri_params_iter_init(). See the documentation for g_uri_params_iter_init()
335337 // for a usage example.
336338 type UriParamsIter struct {
339+ _ structs.HostLayout
340+
337341 Dummy0 int32
338342
339343 Dummy1 uintptr
M v4/glib/gutils.go +3 -0
@@ -2,6 +2,7 @@
22 package glib
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -16,6 +17,8 @@ type VoidFunc func()
1617 // Associates a string with a bit flag.
1718 // Used in g_parse_debug_string().
1819 type DebugKey struct {
20+ _ structs.HostLayout
21+
1922 Key uintptr
2023
2124 Value uint
M v4/glib/gvariant.go +6 -0
@@ -2,6 +2,7 @@
22 package glib
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -254,6 +255,7 @@ import (
254255 // management for those dictionaries, but the type information would
255256 // be shared.
256257 type Variant struct {
258+ _ structs.HostLayout
257259 }
258260
259261 var xVariantGLibType func() types.GType
@@ -1768,6 +1770,7 @@ func (x *Variant) Unref() {
17681770 // #GVariantBuilder is not threadsafe in any way. Do not attempt to
17691771 // access it from more than one thread.
17701772 type VariantBuilder struct {
1773+ _ structs.HostLayout
17711774 }
17721775
17731776 var xVariantBuilderGLibType func() types.GType
@@ -2155,6 +2158,7 @@ func (x *VariantBuilder) Unref() {
21552158 //
21562159 // ]|
21572160 type VariantDict struct {
2161+ _ structs.HostLayout
21582162 }
21592163
21602164 var xVariantDictGLibType func() types.GType
@@ -2354,6 +2358,8 @@ func (x *VariantDict) Unref() {
23542358 // #GVariantIter is an opaque data structure and can only be accessed
23552359 // using the following functions.
23562360 type VariantIter struct {
2361+ _ structs.HostLayout
2362+
23572363 X [16]uint
23582364 }
23592365
M v4/glib/gvarianttype.go +2 -0
@@ -2,6 +2,7 @@
22 package glib
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -178,6 +179,7 @@ import (
178179 // that, due to the restriction that the key of a dictionary entry must
179180 // be a basic type, "{**}" is not a valid type string.
180181 type VariantType struct {
182+ _ structs.HostLayout
181183 }
182184
183185 var xVariantTypeGLibType func() types.GType
M v4/gmodule/gmodule.go +2 -0
@@ -2,6 +2,7 @@
22 package gmodule
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -25,6 +26,7 @@ type ModuleUnload func(*Module)
2526 // [dynamically-loaded module][glib-Dynamic-Loading-of-Modules].
2627 // It should only be accessed via the following functions.
2728 type Module struct {
29+ _ structs.HostLayout
2830 }
2931
3032 func (x *Module) GoPointer() uintptr {
M v4/gobject/gclosure.go +7 -0
@@ -2,6 +2,7 @@
22 package gobject
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -34,6 +35,8 @@ type VaClosureMarshal func(*Closure, *Value, *TypeInstance, []interface{}, uintp
3435
3536 // A #GCClosure is a specialization of #GClosure for C function callbacks.
3637 type CClosure struct {
38+ _ structs.HostLayout
39+
3740 Closure uintptr
3841
3942 Callback uintptr
@@ -88,6 +91,8 @@ func (x *CClosure) GoPointer() uintptr {
8891 // - g_closure_invalidate() and invalidation notifiers allow callbacks to be
8992 // automatically removed when the objects they point to go away.
9093 type Closure struct {
94+ _ structs.HostLayout
95+
9196 RefCount uint
9297
9398 MetaMarshalNouse uint
@@ -405,6 +410,8 @@ func (x *Closure) Unref() {
405410 }
406411
407412 type ClosureNotifyData struct {
413+ _ structs.HostLayout
414+
408415 Data uintptr
409416
410417 Notify ClosureNotify
M v4/gobject/genums.go +9 -0
@@ -2,6 +2,7 @@
22 package gobject
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -12,6 +13,8 @@ import (
1213 // The class of an enumeration type holds information about its
1314 // possible values.
1415 type EnumClass struct {
16+ _ structs.HostLayout
17+
1518 GTypeClass uintptr
1619
1720 Minimum int32
@@ -30,6 +33,8 @@ func (x *EnumClass) GoPointer() uintptr {
3033 // A structure which contains a single enum value, its name, and its
3134 // nickname.
3235 type EnumValue struct {
36+ _ structs.HostLayout
37+
3338 Value int32
3439
3540 ValueName uintptr
@@ -44,6 +49,8 @@ func (x *EnumValue) GoPointer() uintptr {
4449 // The class of a flags type holds information about its
4550 // possible values.
4651 type FlagsClass struct {
52+ _ structs.HostLayout
53+
4754 GTypeClass uintptr
4855
4956 Mask uint
@@ -60,6 +67,8 @@ func (x *FlagsClass) GoPointer() uintptr {
6067 // A structure which contains a single flags value, its name, and its
6168 // nickname.
6269 type FlagsValue struct {
70+ _ structs.HostLayout
71+
6372 Value uint
6473
6574 ValueName uintptr
M v4/gobject/gobject.go +8 -0
@@ -2,6 +2,7 @@
22 package gobject
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -40,6 +41,8 @@ type WeakNotify func(uintptr, uintptr)
4041
4142 // The class structure for the GInitiallyUnowned type.
4243 type InitiallyUnownedClass struct {
44+ _ structs.HostLayout
45+
4346 GTypeClass uintptr
4447
4548 ConstructProperties *glib.SList
@@ -83,6 +86,8 @@ func (x *InitiallyUnownedClass) GoPointer() uintptr {
8386 //
8487 // ]|
8588 type ObjectClass struct {
89+ _ structs.HostLayout
90+
8691 GTypeClass uintptr
8792
8893 ConstructProperties *glib.SList
@@ -241,6 +246,8 @@ func (x *ObjectClass) OverrideProperty(PropertyIdVar uint, NameVar string) {
241246 // The GObjectConstructParam struct is an auxiliary structure used to hand
242247 // #GParamSpec/#GValue pairs to the @constructor of a #GObjectClass.
243248 type ObjectConstructParam struct {
249+ _ structs.HostLayout
250+
244251 Pspec *ParamSpec
245252
246253 Value *Value
@@ -275,6 +282,7 @@ func (x *ObjectConstructParam) GoPointer() uintptr {
275282 // It is invalid to take a #GWeakRef on an object during #GObjectClass.dispose
276283 // without first having or creating a strong reference to the object.
277284 type WeakRef struct {
285+ _ structs.HostLayout
278286 }
279287
280288 func (x *WeakRef) GoPointer() uintptr {
M v4/gobject/gparam.go +8 -0
@@ -2,6 +2,7 @@
22 package gobject
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -14,6 +15,8 @@ import (
1415 // Normally, GParamSpec classes are filled by
1516 // g_param_type_register_static().
1617 type ParamSpecClass struct {
18+ _ structs.HostLayout
19+
1720 GTypeClass uintptr
1821
1922 ValueType types.GType
@@ -31,6 +34,7 @@ func (x *ParamSpecClass) GoPointer() uintptr {
3134 // The implementation of the #GObject property system uses such a pool to
3235 // store the #GParamSpecs of the properties all object types.
3336 type ParamSpecPool struct {
37+ _ structs.HostLayout
3438 }
3539
3640 func (x *ParamSpecPool) GoPointer() uintptr {
@@ -101,6 +105,8 @@ func (x *ParamSpecPool) Remove(PspecVar *ParamSpec) {
101105 // does not need to be persistent across invocation of
102106 // g_param_type_register_static().
103107 type ParamSpecTypeInfo struct {
108+ _ structs.HostLayout
109+
104110 InstanceSize uint16
105111
106112 NPreallocs uint16
@@ -115,6 +121,8 @@ func (x *ParamSpecTypeInfo) GoPointer() uintptr {
115121 // The GParameter struct is an auxiliary structure used
116122 // to hand parameter name/value pairs to g_object_newv().
117123 type Parameter struct {
124+ _ structs.HostLayout
125+
118126 Name uintptr
119127
120128 Value uintptr
M v4/gobject/gsignal.go +5 -0
@@ -2,6 +2,7 @@
22 package gobject
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -31,6 +32,8 @@ type SignalEmissionHook func(*SignalInvocationHint, uint, []Value, uintptr) bool
3132 // The #GSignalInvocationHint structure is used to pass on additional information
3233 // to callbacks during a signal emission.
3334 type SignalInvocationHint struct {
35+ _ structs.HostLayout
36+
3437 SignalId uint
3538
3639 Detail glib.Quark
@@ -46,6 +49,8 @@ func (x *SignalInvocationHint) GoPointer() uintptr {
4649 //
4750 // See also: g_signal_query()
4851 type SignalQuery struct {
52+ _ structs.HostLayout
53+
4954 SignalId uint
5055
5156 SignalName uintptr
M v4/gobject/gtype.go +17 -0
@@ -2,6 +2,7 @@
22 package gobject
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -208,6 +209,8 @@ type TypeInterfaceCheckFunc func(uintptr, *TypeInterface)
208209 // A structure that provides information to the type system which is
209210 // used specifically for managing interface types.
210211 type InterfaceInfo struct {
212+ _ structs.HostLayout
213+
211214 InterfaceInit InterfaceInitFunc
212215
213216 InterfaceFinalize InterfaceFinalizeFunc
@@ -221,6 +224,8 @@ func (x *InterfaceInfo) GoPointer() uintptr {
221224
222225 // An opaque structure used as the base of all classes.
223226 type TypeClass struct {
227+ _ structs.HostLayout
228+
224229 GType types.GType
225230 }
226231
@@ -369,6 +374,8 @@ func (x *TypeClass) UnrefUncached() {
369374 // A structure that provides information to the type system which is
370375 // used specifically for managing fundamental types.
371376 type TypeFundamentalInfo struct {
377+ _ structs.HostLayout
378+
372379 TypeFlags TypeFundamentalFlags
373380 }
374381
@@ -386,6 +393,8 @@ func (x *TypeFundamentalInfo) GoPointer() uintptr {
386393 // copy of this structure, so its memory does not need to be persistent
387394 // across invocation of g_type_register_static().
388395 type TypeInfo struct {
396+ _ structs.HostLayout
397+
389398 ClassSize uint16
390399
391400 BaseInit BaseInitFunc
@@ -413,6 +422,8 @@ func (x *TypeInfo) GoPointer() uintptr {
413422
414423 // An opaque structure used as the base of all type instances.
415424 type TypeInstance struct {
425+ _ structs.HostLayout
426+
416427 GClass *TypeClass
417428 }
418429
@@ -430,6 +441,8 @@ func (x *TypeInstance) GetPrivate(PrivateTypeVar types.GType) uintptr {
430441
431442 // An opaque structure used as the base of all interface types.
432443 type TypeInterface struct {
444+ _ structs.HostLayout
445+
433446 GType types.GType
434447
435448 GInstanceType types.GType
@@ -455,6 +468,8 @@ func (x *TypeInterface) PeekParent() *TypeInterface {
455468 //
456469 // See also: g_type_query()
457470 type TypeQuery struct {
471+ _ structs.HostLayout
472+
458473 Type types.GType
459474
460475 TypeName uintptr
@@ -471,6 +486,8 @@ func (x *TypeQuery) GoPointer() uintptr {
471486 // The #GTypeValueTable provides the functions required by the #GValue
472487 // implementation, to serve as a container for values of a type.
473488 type TypeValueTable struct {
489+ _ structs.HostLayout
490+
474491 CollectFormat uintptr
475492
476493 LcopyFormat uintptr
M v4/gobject/gtypemodule.go +3 -0
@@ -2,6 +2,7 @@
22 package gobject
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -12,6 +13,8 @@ import (
1213 // In order to implement dynamic loading of types based on #GTypeModule,
1314 // the @load and @unload functions in #GTypeModuleClass must be implemented.
1415 type TypeModuleClass struct {
16+ _ structs.HostLayout
17+
1518 ParentClass uintptr
1619 }
1720
M v4/gobject/gtypeplugin.go +3 -0
@@ -2,6 +2,7 @@
22 package gobject
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/puregotk/v4/gobject/types"
@@ -23,6 +24,8 @@ type TypePluginUse func(uintptr)
2324 // The #GTypePlugin interface is used by the type system in order to handle
2425 // the lifecycle of dynamically loaded types.
2526 type TypePluginClass struct {
27+ _ structs.HostLayout
28+
2629 BaseIface uintptr
2730
2831 UsePlugin TypePluginUse
M v4/gobject/gvalue.go +3 -0
@@ -2,6 +2,7 @@
22 package gobject
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -27,6 +28,8 @@ type ValueTransform func(*Value, *Value)
2728 // within the 2 element @data union, and the @g_type member should
2829 // only be accessed through the G_VALUE_TYPE() macro.
2930 type Value struct {
31+ _ structs.HostLayout
32+
3033 GType types.GType
3134
3235 Data [2]uint64
M v4/gobject/gvaluearray.go +3 -0
@@ -2,6 +2,7 @@
22 package gobject
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -12,6 +13,8 @@ import (
1213
1314 // A #GValueArray contains an array of #GValue elements.
1415 type ValueArray struct {
16+ _ structs.HostLayout
17+
1518 NValues uint
1619
1720 Values *Value
M v4/graphene/graphene-box.go +3 -0
@@ -2,6 +2,7 @@
22 package graphene
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -12,6 +13,8 @@ import (
1213 // A 3D box, described as the volume between a minimum and
1314 // a maximum vertices.
1415 type Box struct {
16+ _ structs.HostLayout
17+
1518 Min uintptr
1619
1720 Max uintptr
M v4/graphene/graphene-config.go +8 -1
@@ -1,9 +1,14 @@
11 // Package graphene was automatically generated by github.com/jwijenbergh/puregotk DO NOT EDIT
22 package graphene
33
4-import "unsafe"
4+import (
5+ "structs"
6+ "unsafe"
7+)
58
69 type Simd4F struct {
10+ _ structs.HostLayout
11+
712 X float32
813
914 Y float32
@@ -18,6 +23,8 @@ func (x *Simd4F) GoPointer() uintptr {
1823 }
1924
2025 type Simd4X4F struct {
26+ _ structs.HostLayout
27+
2128 X uintptr
2229
2330 Y uintptr
M v4/graphene/graphene-euler.go +3 -0
@@ -2,6 +2,7 @@
22 package graphene
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -14,6 +15,8 @@ import (
1415 // The contents of the #graphene_euler_t structure are private
1516 // and should never be accessed directly.
1617 type Euler struct {
18+ _ structs.HostLayout
19+
1720 Angles uintptr
1821
1922 Order EulerOrder
M v4/graphene/graphene-frustum.go +3 -0
@@ -2,6 +2,7 @@
22 package graphene
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -14,6 +15,8 @@ import (
1415 // The contents of the `graphene_frustum_t` are private, and should not be
1516 // modified directly.
1617 type Frustum struct {
18+ _ structs.HostLayout
19+
1720 Planes [6]Plane
1821 }
1922
M v4/graphene/graphene-matrix.go +3 -0
@@ -2,6 +2,7 @@
22 package graphene
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -14,6 +15,8 @@ import (
1415 // The contents of the #graphene_matrix_t structure are private and
1516 // should never be accessed directly.
1617 type Matrix struct {
18+ _ structs.HostLayout
19+
1720 Value uintptr
1821 }
1922
M v4/graphene/graphene-plane.go +3 -0
@@ -2,6 +2,7 @@
22 package graphene
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -14,6 +15,8 @@ import (
1415 // The contents of the `graphene_plane_t` are private, and should not be
1516 // modified directly.
1617 type Plane struct {
18+ _ structs.HostLayout
19+
1720 Normal uintptr
1821
1922 Constant float32
M v4/graphene/graphene-point.go +3 -0
@@ -2,6 +2,7 @@
22 package graphene
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -11,6 +12,8 @@ import (
1112
1213 // A point with two coordinates.
1314 type Point struct {
15+ _ structs.HostLayout
16+
1417 X float32
1518
1619 Y float32
M v4/graphene/graphene-point3d.go +3 -0
@@ -2,6 +2,7 @@
22 package graphene
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -11,6 +12,8 @@ import (
1112
1213 // A point with three components: X, Y, and Z.
1314 type Point3D struct {
15+ _ structs.HostLayout
16+
1417 X float32
1518
1619 Y float32
M v4/graphene/graphene-quad.go +3 -0
@@ -2,6 +2,7 @@
22 package graphene
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -14,6 +15,8 @@ import (
1415 // The contents of a #graphene_quad_t are private and should never be
1516 // accessed directly.
1617 type Quad struct {
18+ _ structs.HostLayout
19+
1720 Points [4]Point
1821 }
1922
M v4/graphene/graphene-quaternion.go +3 -0
@@ -2,6 +2,7 @@
22 package graphene
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -14,6 +15,8 @@ import (
1415 // The contents of the #graphene_quaternion_t structure are private
1516 // and should never be accessed directly.
1617 type Quaternion struct {
18+ _ structs.HostLayout
19+
1720 X float32
1821
1922 Y float32
M v4/graphene/graphene-ray.go +3 -0
@@ -2,6 +2,7 @@
22 package graphene
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -14,6 +15,8 @@ import (
1415 // The contents of the `graphene_ray_t` structure are private, and should not
1516 // be modified directly.
1617 type Ray struct {
18+ _ structs.HostLayout
19+
1720 Origin uintptr
1821
1922 Direction uintptr
M v4/graphene/graphene-rect.go +3 -0
@@ -2,6 +2,7 @@
22 package graphene
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -22,6 +23,8 @@ import (
2223 // will internally operate on a normalized copy; all functions returning a
2324 // #graphene_rect_t will always return a normalized rectangle.
2425 type Rect struct {
26+ _ structs.HostLayout
27+
2528 Origin uintptr
2629
2730 Size uintptr
M v4/graphene/graphene-size.go +3 -0
@@ -2,6 +2,7 @@
22 package graphene
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -11,6 +12,8 @@ import (
1112
1213 // A size.
1314 type Size struct {
15+ _ structs.HostLayout
16+
1417 Width float32
1518
1619 Height float32
M v4/graphene/graphene-sphere.go +3 -0
@@ -2,6 +2,7 @@
22 package graphene
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -11,6 +12,8 @@ import (
1112
1213 // A sphere, represented by its center and radius.
1314 type Sphere struct {
15+ _ structs.HostLayout
16+
1417 Center uintptr
1518
1619 Radius float32
M v4/graphene/graphene-triangle.go +3 -0
@@ -2,6 +2,7 @@
22 package graphene
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -11,6 +12,8 @@ import (
1112
1213 // A triangle.
1314 type Triangle struct {
15+ _ structs.HostLayout
16+
1417 A uintptr
1518
1619 B uintptr
M v4/graphene/graphene-vec2.go +3 -0
@@ -2,6 +2,7 @@
22 package graphene
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -14,6 +15,8 @@ import (
1415 // The contents of the #graphene_vec2_t structure are private and should
1516 // never be accessed directly.
1617 type Vec2 struct {
18+ _ structs.HostLayout
19+
1720 Value uintptr
1821 }
1922
M v4/graphene/graphene-vec3.go +3 -0
@@ -2,6 +2,7 @@
22 package graphene
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -14,6 +15,8 @@ import (
1415 // The contents of the #graphene_vec3_t structure are private and should
1516 // never be accessed directly.
1617 type Vec3 struct {
18+ _ structs.HostLayout
19+
1720 Value uintptr
1821 }
1922
M v4/graphene/graphene-vec4.go +3 -0
@@ -2,6 +2,7 @@
22 package graphene
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -14,6 +15,8 @@ import (
1415 // The contents of the #graphene_vec4_t structure are private and should
1516 // never be accessed directly.
1617 type Vec4 struct {
18+ _ structs.HostLayout
19+
1720 Value uintptr
1821 }
1922
M v4/gsk/gskbroadwayrenderer.go +2 -0
@@ -2,6 +2,7 @@
22 package gsk
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -10,6 +11,7 @@ import (
1011 )
1112
1213 type BroadwayRendererClass struct {
14+ _ structs.HostLayout
1315 }
1416
1517 func (x *BroadwayRendererClass) GoPointer() uintptr {
M v4/gsk/gskcairorenderer.go +2 -0
@@ -2,6 +2,7 @@
22 package gsk
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -10,6 +11,7 @@ import (
1011 )
1112
1213 type CairoRendererClass struct {
14+ _ structs.HostLayout
1315 }
1416
1517 func (x *CairoRendererClass) GoPointer() uintptr {
M v4/gsk/gskglrenderer.go +2 -0
@@ -2,6 +2,7 @@
22 package gsk
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -10,6 +11,7 @@ import (
1011 )
1112
1213 type GLRendererClass struct {
14+ _ structs.HostLayout
1315 }
1416
1517 func (x *GLRendererClass) GoPointer() uintptr {
M v4/gsk/gskglshader.go +4 -0
@@ -2,6 +2,7 @@
22 package gsk
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -13,6 +14,8 @@ import (
1314 )
1415
1516 type GLShaderClass struct {
17+ _ structs.HostLayout
18+
1619 ParentClass uintptr
1720 }
1821
@@ -22,6 +25,7 @@ func (x *GLShaderClass) GoPointer() uintptr {
2225
2326 // An object to build the uniforms data for a `GskGLShader`.
2427 type ShaderArgsBuilder struct {
28+ _ structs.HostLayout
2529 }
2630
2731 var xShaderArgsBuilderGLibType func() types.GType
M v4/gsk/gskrenderer.go +2 -0
@@ -2,6 +2,7 @@
22 package gsk
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -15,6 +16,7 @@ import (
1516 )
1617
1718 type RendererClass struct {
19+ _ structs.HostLayout
1820 }
1921
2022 func (x *RendererClass) GoPointer() uintptr {
M v4/gsk/gskrendernode.go +7 -0
@@ -2,6 +2,7 @@
22 package gsk
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -19,6 +20,8 @@ type ParseErrorFunc func(*ParseLocation, *ParseLocation, *glib.Error, uintptr)
1920
2021 // A color stop in a gradient node.
2122 type ColorStop struct {
23+ _ structs.HostLayout
24+
2225 Offset float32
2326
2427 Color uintptr
@@ -30,6 +33,8 @@ func (x *ColorStop) GoPointer() uintptr {
3033
3134 // A location in a parse buffer.
3235 type ParseLocation struct {
36+ _ structs.HostLayout
37+
3338 Bytes uint
3439
3540 Chars uint
@@ -47,6 +52,8 @@ func (x *ParseLocation) GoPointer() uintptr {
4752
4853 // The shadow parameters in a shadow node.
4954 type Shadow struct {
55+ _ structs.HostLayout
56+
5057 Color uintptr
5158
5259 Dx float32
M v4/gsk/gskroundedrect.go +3 -0
@@ -2,6 +2,7 @@
22 package gsk
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -23,6 +24,8 @@ import (
2324 // The algorithm used for normalizing corner sizes is described in
2425 // [the CSS specification](https://drafts.csswg.org/css-backgrounds-3/#border-radius).
2526 type RoundedRect struct {
27+ _ structs.HostLayout
28+
2629 Bounds uintptr
2730
2831 Corner [4]graphene.Size
M v4/gsk/gsktypes.go +2 -0
@@ -2,6 +2,7 @@
22 package gsk
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -21,6 +22,7 @@ import (
2122 // This means code can safely expose them as properties of objects without
2223 // having to worry about others changing them.
2324 type Transform struct {
25+ _ structs.HostLayout
2426 }
2527
2628 var xTransformGLibType func() types.GType
M v4/gtk/gtkaccessible.go +2 -0
@@ -2,6 +2,7 @@
22 package gtk
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -11,6 +12,7 @@ import (
1112 )
1213
1314 type AccessibleInterface struct {
15+ _ structs.HostLayout
1416 }
1517
1618 func (x *AccessibleInterface) GoPointer() uintptr {
M v4/gtk/gtkactionable.go +3 -0
@@ -2,6 +2,7 @@
22 package gtk
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -12,6 +13,8 @@ import (
1213
1314 // The interface vtable for `GtkActionable`.
1415 type ActionableInterface struct {
16+ _ structs.HostLayout
17+
1518 GIface uintptr
1619 }
1720
M v4/gtk/gtkadjustment.go +3 -0
@@ -2,6 +2,7 @@
22 package gtk
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -12,6 +13,8 @@ import (
1213 )
1314
1415 type AdjustmentClass struct {
16+ _ structs.HostLayout
17+
1518 ParentClass uintptr
1619 }
1720
M v4/gtk/gtkapplication.go +3 -0
@@ -2,6 +2,7 @@
22 package gtk
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -13,6 +14,8 @@ import (
1314 )
1415
1516 type ApplicationClass struct {
17+ _ structs.HostLayout
18+
1619 ParentClass uintptr
1720
1821 Padding [8]uintptr
M v4/gtk/gtkapplicationwindow.go +3 -0
@@ -2,6 +2,7 @@
22 package gtk
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -15,6 +16,8 @@ import (
1516 )
1617
1718 type ApplicationWindowClass struct {
19+ _ structs.HostLayout
20+
1821 ParentClass uintptr
1922
2023 Padding [8]uintptr
M v4/gtk/gtkatcontext.go +2 -0
@@ -2,6 +2,7 @@
22 package gtk
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -13,6 +14,7 @@ import (
1314 )
1415
1516 type ATContextClass struct {
17+ _ structs.HostLayout
1618 }
1719
1820 func (x *ATContextClass) GoPointer() uintptr {
M v4/gtk/gtkbinlayout.go +3 -0
@@ -2,6 +2,7 @@
22 package gtk
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -10,6 +11,8 @@ import (
1011 )
1112
1213 type BinLayoutClass struct {
14+ _ structs.HostLayout
15+
1316 ParentClass uintptr
1417 }
1518
M v4/gtk/gtkbitset.go +3 -0
@@ -2,6 +2,7 @@
22 package gtk
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -16,6 +17,8 @@ import (
1617 // [func@Gtk.BitsetIter.init_first], [func@Gtk.BitsetIter.init_last]
1718 // or [func@Gtk.BitsetIter.init_at].
1819 type BitsetIter struct {
20+ _ structs.HostLayout
21+
1922 PrivateData [10]uintptr
2023 }
2124
M v4/gtk/gtkbookmarklist.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkboolfilter.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkborder.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkbox.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkboxlayout.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkbuildable.go +6 -0 collapsed to keep the page light
M v4/gtk/gtkbuilder.go +2 -0 collapsed to keep the page light
M v4/gtk/gtkbuilderlistitemfactory.go +2 -0 collapsed to keep the page light
M v4/gtk/gtkbuilderscope.go +5 -0 collapsed to keep the page light
M v4/gtk/gtkbutton.go +4 -0 collapsed to keep the page light
M v4/gtk/gtkcellarea.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkcellareacontext.go +4 -0 collapsed to keep the page light
M v4/gtk/gtkcelleditable.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkcelllayout.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkcellrenderer.go +5 -0 collapsed to keep the page light
M v4/gtk/gtkcellrenderertext.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkcenterbox.go +2 -0 collapsed to keep the page light
M v4/gtk/gtkcenterlayout.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkcheckbutton.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkcolorchooser.go +3 -0
@@ -2,6 +2,7 @@
22 package gtk
33
44 import (
5+ "structs"
56 "unsafe"
67
78 "github.com/jwijenbergh/purego"
@@ -11,6 +12,8 @@ import (
1112 )
1213
1314 type ColorChooserInterface struct {
15+ _ structs.HostLayout
16+
1417 BaseInterface uintptr
1518
1619 Padding [12]uintptr
M v4/gtk/gtkcolumnview.go +2 -0 collapsed to keep the page light
M v4/gtk/gtkcolumnviewcolumn.go +2 -0 collapsed to keep the page light
M v4/gtk/gtkcombobox.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkconstraint.go +4 -0 collapsed to keep the page light
M v4/gtk/gtkconstraintguide.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkconstraintlayout.go +5 -0 collapsed to keep the page light
M v4/gtk/gtkcsslocation.go +6 -1 collapsed to keep the page light
M v4/gtk/gtkcssprovider.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkcsssection.go +2 -0 collapsed to keep the page light
M v4/gtk/gtkcustomfilter.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkcustomlayout.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkcustomsorter.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkdialog.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkdirectorylist.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkdragicon.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkdragsource.go +2 -0 collapsed to keep the page light
M v4/gtk/gtkdrawingarea.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkdropcontrollermotion.go +2 -0 collapsed to keep the page light
M v4/gtk/gtkdropdown.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkdroptarget.go +2 -0 collapsed to keep the page light
M v4/gtk/gtkdroptargetasync.go +2 -0 collapsed to keep the page light
M v4/gtk/gtkeditable.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkeditablelabel.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkemojichooser.go +2 -0 collapsed to keep the page light
M v4/gtk/gtkentry.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkentrybuffer.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkeventcontroller.go +2 -0 collapsed to keep the page light
M v4/gtk/gtkeventcontrollerfocus.go +2 -0 collapsed to keep the page light
M v4/gtk/gtkeventcontrollerkey.go +2 -0 collapsed to keep the page light
M v4/gtk/gtkeventcontrollerlegacy.go +2 -0 collapsed to keep the page light
M v4/gtk/gtkeventcontrollermotion.go +2 -0 collapsed to keep the page light
M v4/gtk/gtkeventcontrollerscroll.go +2 -0 collapsed to keep the page light
M v4/gtk/gtkexpression.go +2 -0 collapsed to keep the page light
M v4/gtk/gtkfilechoosernative.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkfilter.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkfilterlistmodel.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkfixed.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkfixedlayout.go +5 -0 collapsed to keep the page light
M v4/gtk/gtkflattenlistmodel.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkflowbox.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkfontchooser.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkframe.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkgesture.go +2 -0 collapsed to keep the page light
M v4/gtk/gtkgestureclick.go +2 -0 collapsed to keep the page light
M v4/gtk/gtkgesturedrag.go +2 -0 collapsed to keep the page light
M v4/gtk/gtkgesturelongpress.go +2 -0 collapsed to keep the page light
M v4/gtk/gtkgesturepan.go +2 -0 collapsed to keep the page light
M v4/gtk/gtkgesturerotate.go +2 -0 collapsed to keep the page light
M v4/gtk/gtkgesturesingle.go +2 -0 collapsed to keep the page light
M v4/gtk/gtkgesturestylus.go +2 -0 collapsed to keep the page light
M v4/gtk/gtkgestureswipe.go +2 -0 collapsed to keep the page light
M v4/gtk/gtkgesturezoom.go +2 -0 collapsed to keep the page light
M v4/gtk/gtkglarea.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkgrid.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkgridlayout.go +5 -0 collapsed to keep the page light
M v4/gtk/gtkgridview.go +2 -0 collapsed to keep the page light
M v4/gtk/gtkimcontext.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkimcontextsimple.go +4 -0 collapsed to keep the page light
M v4/gtk/gtkimmulticontext.go +4 -0 collapsed to keep the page light
M v4/gtk/gtkinscription.go +3 -0 collapsed to keep the page light
M v4/gtk/gtklayoutchild.go +3 -0 collapsed to keep the page light
M v4/gtk/gtklayoutmanager.go +3 -0 collapsed to keep the page light
M v4/gtk/gtklistbase.go +2 -0 collapsed to keep the page light
M v4/gtk/gtklistbox.go +3 -0 collapsed to keep the page light
M v4/gtk/gtklistitem.go +2 -0 collapsed to keep the page light
M v4/gtk/gtklistitemfactory.go +2 -0 collapsed to keep the page light
M v4/gtk/gtkliststore.go +4 -0 collapsed to keep the page light
M v4/gtk/gtklistview.go +2 -0 collapsed to keep the page light
M v4/gtk/gtkmaplistmodel.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkmediacontrols.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkmediafile.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkmediastream.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkmessagedialog.go +2 -0 collapsed to keep the page light
M v4/gtk/gtkmountoperation.go +4 -0 collapsed to keep the page light
M v4/gtk/gtkmultifilter.go +4 -0 collapsed to keep the page light
M v4/gtk/gtkmultiselection.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkmultisorter.go +3 -0 collapsed to keep the page light
M v4/gtk/gtknative.go +2 -0 collapsed to keep the page light
M v4/gtk/gtknativedialog.go +3 -0 collapsed to keep the page light
M v4/gtk/gtknoselection.go +3 -0 collapsed to keep the page light
M v4/gtk/gtknumericsorter.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkorientable.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkoverlaylayout.go +5 -0 collapsed to keep the page light
M v4/gtk/gtkpadcontroller.go +4 -0 collapsed to keep the page light
M v4/gtk/gtkpapersize.go +2 -0 collapsed to keep the page light
M v4/gtk/gtkpasswordentry.go +2 -0 collapsed to keep the page light
M v4/gtk/gtkpasswordentrybuffer.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkpicture.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkpopover.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkprinter.go +2 -0 collapsed to keep the page light
M v4/gtk/gtkprintoperation.go +4 -0 collapsed to keep the page light
M v4/gtk/gtkprintoperationpreview.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkprintsettings.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkrange.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkrecentmanager.go +7 -0 collapsed to keep the page light
M v4/gtk/gtkroot.go +2 -0 collapsed to keep the page light
M v4/gtk/gtkscale.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkscalebutton.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkscrollable.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkselectionfiltermodel.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkselectionmodel.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkshortcut.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkshortcutaction.go +8 -0 collapsed to keep the page light
M v4/gtk/gtkshortcutcontroller.go +2 -0 collapsed to keep the page light
M v4/gtk/gtkshortcutlabel.go +2 -0 collapsed to keep the page light
M v4/gtk/gtkshortcutmanager.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkshortcutsgroup.go +2 -0 collapsed to keep the page light
M v4/gtk/gtkshortcutssection.go +2 -0 collapsed to keep the page light
M v4/gtk/gtkshortcutsshortcut.go +2 -0 collapsed to keep the page light
M v4/gtk/gtkshortcuttrigger.go +6 -0 collapsed to keep the page light
M v4/gtk/gtksignallistitemfactory.go +2 -0 collapsed to keep the page light
M v4/gtk/gtksingleselection.go +3 -0 collapsed to keep the page light
M v4/gtk/gtksizerequest.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkslicelistmodel.go +3 -0 collapsed to keep the page light
M v4/gtk/gtksnapshot.go +2 -0 collapsed to keep the page light
M v4/gtk/gtksorter.go +3 -0 collapsed to keep the page light
M v4/gtk/gtksortlistmodel.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkstringfilter.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkstringlist.go +5 -0 collapsed to keep the page light
M v4/gtk/gtkstringsorter.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkstylecontext.go +3 -0 collapsed to keep the page light
M v4/gtk/gtksymbolicpaintable.go +3 -0 collapsed to keep the page light
M v4/gtk/gtktextbuffer.go +4 -0 collapsed to keep the page light
M v4/gtk/gtktextchild.go +3 -0 collapsed to keep the page light
M v4/gtk/gtktextiter.go +3 -0 collapsed to keep the page light
M v4/gtk/gtktextmark.go +3 -0 collapsed to keep the page light
M v4/gtk/gtktexttag.go +4 -0 collapsed to keep the page light
M v4/gtk/gtktextview.go +4 -0 collapsed to keep the page light
M v4/gtk/gtktogglebutton.go +3 -0 collapsed to keep the page light
M v4/gtk/gtktreednd.go +5 -0 collapsed to keep the page light
M v4/gtk/gtktreeexpander.go +3 -0 collapsed to keep the page light
M v4/gtk/gtktreelistmodel.go +5 -0 collapsed to keep the page light
M v4/gtk/gtktreelistrowsorter.go +3 -0 collapsed to keep the page light
M v4/gtk/gtktreemodel.go +7 -0 collapsed to keep the page light
M v4/gtk/gtktreemodelfilter.go +4 -0 collapsed to keep the page light
M v4/gtk/gtktreemodelsort.go +4 -0 collapsed to keep the page light
M v4/gtk/gtktreesortable.go +3 -0 collapsed to keep the page light
M v4/gtk/gtktreestore.go +4 -0 collapsed to keep the page light
M v4/gtk/gtktreeview.go +3 -0 collapsed to keep the page light
M v4/gtk/gtktypes.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkvideo.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkwidget.go +7 -0 collapsed to keep the page light
M v4/gtk/gtkwidgetpaintable.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkwindow.go +4 -0 collapsed to keep the page light
M v4/gtk/gtkwindowcontrols.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkwindowgroup.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkwindowhandle.go +3 -0 collapsed to keep the page light
M v4/pango/pango-attributes.go +25 -0 collapsed to keep the page light
M v4/pango/pango-break.go +3 -0 collapsed to keep the page light
M v4/pango/pango-color.go +3 -0 collapsed to keep the page light
M v4/pango/pango-context.go +2 -0 collapsed to keep the page light
M v4/pango/pango-font.go +10 -0 collapsed to keep the page light
M v4/pango/pango-fontmap.go +3 -0 collapsed to keep the page light
M v4/pango/pango-fontset.go +4 -0 collapsed to keep the page light
M v4/pango/pango-glyph-item.go +5 -0 collapsed to keep the page light
M v4/pango/pango-glyph.go +9 -0 collapsed to keep the page light
M v4/pango/pango-item.go +5 -0 collapsed to keep the page light
M v4/pango/pango-layout.go +5 -0 collapsed to keep the page light
M v4/pango/pango-matrix.go +3 -0 collapsed to keep the page light
M v4/pango/pango-renderer.go +4 -0 collapsed to keep the page light
M v4/pango/pango-script.go +2 -0 collapsed to keep the page light
M v4/pango/pango-tabs.go +2 -0 collapsed to keep the page light
M v4/pango/pango-types.go +4 -0 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