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 @@ | |||||
| 2 | package adw | 2 | package adw | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -15,6 +16,8 @@ import ( | |||||
| 15 | ) | 16 | ) | ||
| 16 | 17 | ||||
| 17 | type AboutWindowClass struct { | 18 | type AboutWindowClass struct { | ||
| 19 | + | _ structs.HostLayout | |||
| 20 | + | ||||
| 18 | ParentClass uintptr | 21 | ParentClass uintptr | ||
| 19 | } | 22 | } | ||
| 20 | 23 | ||||
M v4/adw/adw-action-row.go +3 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package adw | 2 | package adw | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -13,6 +14,8 @@ import ( | |||||
| 13 | ) | 14 | ) | ||
| 14 | 15 | ||||
| 15 | type ActionRowClass struct { | 16 | type ActionRowClass struct { | ||
| 17 | + | _ structs.HostLayout | |||
| 18 | + | ||||
| 16 | ParentClass uintptr | 19 | ParentClass uintptr | ||
| 17 | 20 | ||||
| 18 | Padding [4]uintptr | 21 | Padding [4]uintptr | ||
M v4/adw/adw-animation-target.go +4 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package adw | 2 | package adw | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -15,6 +16,7 @@ import ( | |||||
| 15 | type AnimationTargetFunc func(float64, uintptr) | 16 | type AnimationTargetFunc func(float64, uintptr) | ||
| 16 | 17 | ||||
| 17 | type AnimationTargetClass struct { | 18 | type AnimationTargetClass struct { | ||
| 19 | + | _ structs.HostLayout | |||
| 18 | } | 20 | } | ||
| 19 | 21 | ||||
| 20 | func (x *AnimationTargetClass) GoPointer() uintptr { | 22 | func (x *AnimationTargetClass) GoPointer() uintptr { | ||
| @@ -22,6 +24,7 @@ func (x *AnimationTargetClass) GoPointer() uintptr { | |||||
| 22 | } | 24 | } | ||
| 23 | 25 | ||||
| 24 | type CallbackAnimationTargetClass struct { | 26 | type CallbackAnimationTargetClass struct { | ||
| 27 | + | _ structs.HostLayout | |||
| 25 | } | 28 | } | ||
| 26 | 29 | ||||
| 27 | func (x *CallbackAnimationTargetClass) GoPointer() uintptr { | 30 | func (x *CallbackAnimationTargetClass) GoPointer() uintptr { | ||
| @@ -29,6 +32,7 @@ func (x *CallbackAnimationTargetClass) GoPointer() uintptr { | |||||
| 29 | } | 32 | } | ||
| 30 | 33 | ||||
| 31 | type PropertyAnimationTargetClass struct { | 34 | type PropertyAnimationTargetClass struct { | ||
| 35 | + | _ structs.HostLayout | |||
| 32 | } | 36 | } | ||
| 33 | 37 | ||||
| 34 | func (x *PropertyAnimationTargetClass) GoPointer() uintptr { | 38 | func (x *PropertyAnimationTargetClass) GoPointer() uintptr { | ||
M v4/adw/adw-animation.go +2 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package adw | 2 | package adw | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -13,6 +14,7 @@ import ( | |||||
| 13 | ) | 14 | ) | ||
| 14 | 15 | ||||
| 15 | type AnimationClass struct { | 16 | type AnimationClass struct { | ||
| 17 | + | _ structs.HostLayout | |||
| 16 | } | 18 | } | ||
| 17 | 19 | ||||
| 18 | func (x *AnimationClass) GoPointer() uintptr { | 20 | func (x *AnimationClass) GoPointer() uintptr { | ||
M v4/adw/adw-application-window.go +3 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package adw | 2 | package adw | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -16,6 +17,8 @@ import ( | |||||
| 16 | ) | 17 | ) | ||
| 17 | 18 | ||||
| 18 | type ApplicationWindowClass struct { | 19 | type ApplicationWindowClass struct { | ||
| 20 | + | _ structs.HostLayout | |||
| 21 | + | ||||
| 19 | ParentClass uintptr | 22 | ParentClass uintptr | ||
| 20 | 23 | ||||
| 21 | Padding [4]uintptr | 24 | Padding [4]uintptr | ||
M v4/adw/adw-application.go +3 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package adw | 2 | package adw | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -14,6 +15,8 @@ import ( | |||||
| 14 | ) | 15 | ) | ||
| 15 | 16 | ||||
| 16 | type ApplicationClass struct { | 17 | type ApplicationClass struct { | ||
| 18 | + | _ structs.HostLayout | |||
| 19 | + | ||||
| 17 | ParentClass uintptr | 20 | ParentClass uintptr | ||
| 18 | 21 | ||||
| 19 | Padding [4]uintptr | 22 | Padding [4]uintptr | ||
M v4/adw/adw-avatar.go +3 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package adw | 2 | package adw | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -13,6 +14,8 @@ import ( | |||||
| 13 | ) | 14 | ) | ||
| 14 | 15 | ||||
| 15 | type AvatarClass struct { | 16 | type AvatarClass struct { | ||
| 17 | + | _ structs.HostLayout | |||
| 18 | + | ||||
| 16 | ParentClass uintptr | 19 | ParentClass uintptr | ||
| 17 | } | 20 | } | ||
| 18 | 21 | ||||
M v4/adw/adw-banner.go +3 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package adw | 2 | package adw | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -13,6 +14,8 @@ import ( | |||||
| 13 | ) | 14 | ) | ||
| 14 | 15 | ||||
| 15 | type BannerClass struct { | 16 | type BannerClass struct { | ||
| 17 | + | _ structs.HostLayout | |||
| 18 | + | ||||
| 16 | ParentClass uintptr | 19 | ParentClass uintptr | ||
| 17 | } | 20 | } | ||
| 18 | 21 | ||||
M v4/adw/adw-bin.go +3 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package adw | 2 | package adw | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -12,6 +13,8 @@ import ( | |||||
| 12 | ) | 13 | ) | ||
| 13 | 14 | ||||
| 14 | type BinClass struct { | 15 | type BinClass struct { | ||
| 16 | + | _ structs.HostLayout | |||
| 17 | + | ||||
| 15 | ParentClass uintptr | 18 | ParentClass uintptr | ||
| 16 | } | 19 | } | ||
| 17 | 20 | ||||
M v4/adw/adw-button-content.go +3 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package adw | 2 | package adw | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -12,6 +13,8 @@ import ( | |||||
| 12 | ) | 13 | ) | ||
| 13 | 14 | ||||
| 14 | type ButtonContentClass struct { | 15 | type ButtonContentClass struct { | ||
| 16 | + | _ structs.HostLayout | |||
| 17 | + | ||||
| 15 | ParentClass uintptr | 18 | ParentClass uintptr | ||
| 16 | } | 19 | } | ||
| 17 | 20 | ||||
M v4/adw/adw-carousel-indicator-dots.go +3 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package adw | 2 | package adw | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -12,6 +13,8 @@ import ( | |||||
| 12 | ) | 13 | ) | ||
| 13 | 14 | ||||
| 14 | type CarouselIndicatorDotsClass struct { | 15 | type CarouselIndicatorDotsClass struct { | ||
| 16 | + | _ structs.HostLayout | |||
| 17 | + | ||||
| 15 | ParentClass uintptr | 18 | ParentClass uintptr | ||
| 16 | } | 19 | } | ||
| 17 | 20 | ||||
M v4/adw/adw-carousel-indicator-lines.go +3 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package adw | 2 | package adw | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -12,6 +13,8 @@ import ( | |||||
| 12 | ) | 13 | ) | ||
| 13 | 14 | ||||
| 14 | type CarouselIndicatorLinesClass struct { | 15 | type CarouselIndicatorLinesClass struct { | ||
| 16 | + | _ structs.HostLayout | |||
| 17 | + | ||||
| 15 | ParentClass uintptr | 18 | ParentClass uintptr | ||
| 16 | } | 19 | } | ||
| 17 | 20 | ||||
M v4/adw/adw-carousel.go +3 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package adw | 2 | package adw | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -14,6 +15,8 @@ import ( | |||||
| 14 | ) | 15 | ) | ||
| 15 | 16 | ||||
| 16 | type CarouselClass struct { | 17 | type CarouselClass struct { | ||
| 18 | + | _ structs.HostLayout | |||
| 19 | + | ||||
| 17 | ParentClass uintptr | 20 | ParentClass uintptr | ||
| 18 | } | 21 | } | ||
| 19 | 22 | ||||
M v4/adw/adw-clamp-layout.go +3 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package adw | 2 | package adw | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -11,6 +12,8 @@ import ( | |||||
| 11 | ) | 12 | ) | ||
| 12 | 13 | ||||
| 13 | type ClampLayoutClass struct { | 14 | type ClampLayoutClass struct { | ||
| 15 | + | _ structs.HostLayout | |||
| 16 | + | ||||
| 14 | ParentClass uintptr | 17 | ParentClass uintptr | ||
| 15 | } | 18 | } | ||
| 16 | 19 | ||||
M v4/adw/adw-clamp-scrollable.go +3 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package adw | 2 | package adw | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -12,6 +13,8 @@ import ( | |||||
| 12 | ) | 13 | ) | ||
| 13 | 14 | ||||
| 14 | type ClampScrollableClass struct { | 15 | type ClampScrollableClass struct { | ||
| 16 | + | _ structs.HostLayout | |||
| 17 | + | ||||
| 15 | ParentClass uintptr | 18 | ParentClass uintptr | ||
| 16 | } | 19 | } | ||
| 17 | 20 | ||||
M v4/adw/adw-clamp.go +3 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package adw | 2 | package adw | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -12,6 +13,8 @@ import ( | |||||
| 12 | ) | 13 | ) | ||
| 13 | 14 | ||||
| 14 | type ClampClass struct { | 15 | type ClampClass struct { | ||
| 16 | + | _ structs.HostLayout | |||
| 17 | + | ||||
| 15 | ParentClass uintptr | 18 | ParentClass uintptr | ||
| 16 | } | 19 | } | ||
| 17 | 20 | ||||
M v4/adw/adw-combo-row.go +3 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package adw | 2 | package adw | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -14,6 +15,8 @@ import ( | |||||
| 14 | ) | 15 | ) | ||
| 15 | 16 | ||||
| 16 | type ComboRowClass struct { | 17 | type ComboRowClass struct { | ||
| 18 | + | _ structs.HostLayout | |||
| 19 | + | ||||
| 17 | ParentClass uintptr | 20 | ParentClass uintptr | ||
| 18 | 21 | ||||
| 19 | Padding [4]uintptr | 22 | Padding [4]uintptr | ||
M v4/adw/adw-entry-row.go +3 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package adw | 2 | package adw | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -14,6 +15,8 @@ import ( | |||||
| 14 | ) | 15 | ) | ||
| 15 | 16 | ||||
| 16 | type EntryRowClass struct { | 17 | type EntryRowClass struct { | ||
| 18 | + | _ structs.HostLayout | |||
| 19 | + | ||||
| 17 | ParentClass uintptr | 20 | ParentClass uintptr | ||
| 18 | } | 21 | } | ||
| 19 | 22 | ||||
M v4/adw/adw-enum-list-model.go +5 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package adw | 2 | package adw | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -12,6 +13,8 @@ import ( | |||||
| 12 | ) | 13 | ) | ||
| 13 | 14 | ||||
| 14 | type EnumListItemClass struct { | 15 | type EnumListItemClass struct { | ||
| 16 | + | _ structs.HostLayout | |||
| 17 | + | ||||
| 15 | ParentClass uintptr | 18 | ParentClass uintptr | ||
| 16 | } | 19 | } | ||
| 17 | 20 | ||||
| @@ -20,6 +23,8 @@ func (x *EnumListItemClass) GoPointer() uintptr { | |||||
| 20 | } | 23 | } | ||
| 21 | 24 | ||||
| 22 | type EnumListModelClass struct { | 25 | type EnumListModelClass struct { | ||
| 26 | + | _ structs.HostLayout | |||
| 27 | + | ||||
| 23 | ParentClass uintptr | 28 | ParentClass uintptr | ||
| 24 | } | 29 | } | ||
| 25 | 30 | ||||
M v4/adw/adw-expander-row.go +3 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package adw | 2 | package adw | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -13,6 +14,8 @@ import ( | |||||
| 13 | ) | 14 | ) | ||
| 14 | 15 | ||||
| 15 | type ExpanderRowClass struct { | 16 | type ExpanderRowClass struct { | ||
| 17 | + | _ structs.HostLayout | |||
| 18 | + | ||||
| 16 | ParentClass uintptr | 19 | ParentClass uintptr | ||
| 17 | 20 | ||||
| 18 | Padding [4]uintptr | 21 | Padding [4]uintptr | ||
M v4/adw/adw-flap.go +3 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package adw | 2 | package adw | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -13,6 +14,8 @@ import ( | |||||
| 13 | ) | 14 | ) | ||
| 14 | 15 | ||||
| 15 | type FlapClass struct { | 16 | type FlapClass struct { | ||
| 17 | + | _ structs.HostLayout | |||
| 18 | + | ||||
| 16 | ParentClass uintptr | 19 | ParentClass uintptr | ||
| 17 | } | 20 | } | ||
| 18 | 21 | ||||
M v4/adw/adw-header-bar.go +3 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package adw | 2 | package adw | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -12,6 +13,8 @@ import ( | |||||
| 12 | ) | 13 | ) | ||
| 13 | 14 | ||||
| 14 | type HeaderBarClass struct { | 15 | type HeaderBarClass struct { | ||
| 16 | + | _ structs.HostLayout | |||
| 17 | + | ||||
| 15 | ParentClass uintptr | 18 | ParentClass uintptr | ||
| 16 | } | 19 | } | ||
| 17 | 20 | ||||
M v4/adw/adw-leaflet.go +5 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package adw | 2 | package adw | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -13,6 +14,8 @@ import ( | |||||
| 13 | ) | 14 | ) | ||
| 14 | 15 | ||||
| 15 | type LeafletClass struct { | 16 | type LeafletClass struct { | ||
| 17 | + | _ structs.HostLayout | |||
| 18 | + | ||||
| 16 | ParentClass uintptr | 19 | ParentClass uintptr | ||
| 17 | } | 20 | } | ||
| 18 | 21 | ||||
| @@ -21,6 +24,8 @@ func (x *LeafletClass) GoPointer() uintptr { | |||||
| 21 | } | 24 | } | ||
| 22 | 25 | ||||
| 23 | type LeafletPageClass struct { | 26 | type LeafletPageClass struct { | ||
| 27 | + | _ structs.HostLayout | |||
| 28 | + | ||||
| 24 | ParentClass uintptr | 29 | ParentClass uintptr | ||
| 25 | } | 30 | } | ||
| 26 | 31 | ||||
M v4/adw/adw-message-dialog.go +3 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package adw | 2 | package adw | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -16,6 +17,8 @@ import ( | |||||
| 16 | ) | 17 | ) | ||
| 17 | 18 | ||||
| 18 | type MessageDialogClass struct { | 19 | type MessageDialogClass struct { | ||
| 20 | + | _ structs.HostLayout | |||
| 21 | + | ||||
| 19 | ParentClass uintptr | 22 | ParentClass uintptr | ||
| 20 | 23 | ||||
| 21 | Padding [4]uintptr | 24 | Padding [4]uintptr | ||
M v4/adw/adw-password-entry-row.go +3 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package adw | 2 | package adw | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -13,6 +14,8 @@ import ( | |||||
| 13 | ) | 14 | ) | ||
| 14 | 15 | ||||
| 15 | type PasswordEntryRowClass struct { | 16 | type PasswordEntryRowClass struct { | ||
| 17 | + | _ structs.HostLayout | |||
| 18 | + | ||||
| 16 | ParentClass uintptr | 19 | ParentClass uintptr | ||
| 17 | } | 20 | } | ||
| 18 | 21 | ||||
M v4/adw/adw-preferences-group.go +3 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package adw | 2 | package adw | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -12,6 +13,8 @@ import ( | |||||
| 12 | ) | 13 | ) | ||
| 13 | 14 | ||||
| 14 | type PreferencesGroupClass struct { | 15 | type PreferencesGroupClass struct { | ||
| 16 | + | _ structs.HostLayout | |||
| 17 | + | ||||
| 15 | ParentClass uintptr | 18 | ParentClass uintptr | ||
| 16 | 19 | ||||
| 17 | Padding [4]uintptr | 20 | Padding [4]uintptr | ||
M v4/adw/adw-preferences-page.go +3 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package adw | 2 | package adw | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -12,6 +13,8 @@ import ( | |||||
| 12 | ) | 13 | ) | ||
| 13 | 14 | ||||
| 14 | type PreferencesPageClass struct { | 15 | type PreferencesPageClass struct { | ||
| 16 | + | _ structs.HostLayout | |||
| 17 | + | ||||
| 15 | ParentClass uintptr | 18 | ParentClass uintptr | ||
| 16 | 19 | ||||
| 17 | Padding [4]uintptr | 20 | Padding [4]uintptr | ||
M v4/adw/adw-preferences-row.go +3 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package adw | 2 | package adw | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -13,6 +14,8 @@ import ( | |||||
| 13 | ) | 14 | ) | ||
| 14 | 15 | ||||
| 15 | type PreferencesRowClass struct { | 16 | type PreferencesRowClass struct { | ||
| 17 | + | _ structs.HostLayout | |||
| 18 | + | ||||
| 16 | ParentClass uintptr | 19 | ParentClass uintptr | ||
| 17 | 20 | ||||
| 18 | Padding [4]uintptr | 21 | Padding [4]uintptr | ||
M v4/adw/adw-preferences-window.go +3 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package adw | 2 | package adw | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -14,6 +15,8 @@ import ( | |||||
| 14 | ) | 15 | ) | ||
| 15 | 16 | ||||
| 16 | type PreferencesWindowClass struct { | 17 | type PreferencesWindowClass struct { | ||
| 18 | + | _ structs.HostLayout | |||
| 19 | + | ||||
| 17 | ParentClass uintptr | 20 | ParentClass uintptr | ||
| 18 | 21 | ||||
| 19 | Padding [4]uintptr | 22 | Padding [4]uintptr | ||
M v4/adw/adw-split-button.go +3 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package adw | 2 | package adw | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -14,6 +15,8 @@ import ( | |||||
| 14 | ) | 15 | ) | ||
| 15 | 16 | ||||
| 16 | type SplitButtonClass struct { | 17 | type SplitButtonClass struct { | ||
| 18 | + | _ structs.HostLayout | |||
| 19 | + | ||||
| 17 | ParentClass uintptr | 20 | ParentClass uintptr | ||
| 18 | } | 21 | } | ||
| 19 | 22 | ||||
M v4/adw/adw-spring-animation.go +2 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package adw | 2 | package adw | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -12,6 +13,7 @@ import ( | |||||
| 12 | ) | 13 | ) | ||
| 13 | 14 | ||||
| 14 | type SpringAnimationClass struct { | 15 | type SpringAnimationClass struct { | ||
| 16 | + | _ structs.HostLayout | |||
| 15 | } | 17 | } | ||
| 16 | 18 | ||||
| 17 | func (x *SpringAnimationClass) GoPointer() uintptr { | 19 | func (x *SpringAnimationClass) GoPointer() uintptr { | ||
M v4/adw/adw-spring-params.go +2 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package adw | 2 | package adw | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -40,6 +41,7 @@ import ( | |||||
| 40 | // | 41 | // | ||
| 41 | // As such | 42 | // As such | ||
| 42 | type SpringParams struct { | 43 | type SpringParams struct { | ||
| 44 | + | _ structs.HostLayout | |||
| 43 | } | 45 | } | ||
| 44 | 46 | ||||
| 45 | var xSpringParamsGLibType func() types.GType | 47 | var xSpringParamsGLibType func() types.GType | ||
M v4/adw/adw-squeezer.go +5 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package adw | 2 | package adw | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -12,6 +13,8 @@ import ( | |||||
| 12 | ) | 13 | ) | ||
| 13 | 14 | ||||
| 14 | type SqueezerClass struct { | 15 | type SqueezerClass struct { | ||
| 16 | + | _ structs.HostLayout | |||
| 17 | + | ||||
| 15 | ParentClass uintptr | 18 | ParentClass uintptr | ||
| 16 | } | 19 | } | ||
| 17 | 20 | ||||
| @@ -20,6 +23,8 @@ func (x *SqueezerClass) GoPointer() uintptr { | |||||
| 20 | } | 23 | } | ||
| 21 | 24 | ||||
| 22 | type SqueezerPageClass struct { | 25 | type SqueezerPageClass struct { | ||
| 26 | + | _ structs.HostLayout | |||
| 27 | + | ||||
| 23 | ParentClass uintptr | 28 | ParentClass uintptr | ||
| 24 | } | 29 | } | ||
| 25 | 30 | ||||
M v4/adw/adw-status-page.go +3 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package adw | 2 | package adw | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -13,6 +14,8 @@ import ( | |||||
| 13 | ) | 14 | ) | ||
| 14 | 15 | ||||
| 15 | type StatusPageClass struct { | 16 | type StatusPageClass struct { | ||
| 17 | + | _ structs.HostLayout | |||
| 18 | + | ||||
| 16 | ParentClass uintptr | 19 | ParentClass uintptr | ||
| 17 | } | 20 | } | ||
| 18 | 21 | ||||
M v4/adw/adw-style-manager.go +3 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package adw | 2 | package adw | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -12,6 +13,8 @@ import ( | |||||
| 12 | ) | 13 | ) | ||
| 13 | 14 | ||||
| 14 | type StyleManagerClass struct { | 15 | type StyleManagerClass struct { | ||
| 16 | + | _ structs.HostLayout | |||
| 17 | + | ||||
| 15 | ParentClass uintptr | 18 | ParentClass uintptr | ||
| 16 | } | 19 | } | ||
| 17 | 20 | ||||
M v4/adw/adw-swipe-tracker.go +3 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package adw | 2 | package adw | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -13,6 +14,8 @@ import ( | |||||
| 13 | ) | 14 | ) | ||
| 14 | 15 | ||||
| 15 | type SwipeTrackerClass struct { | 16 | type SwipeTrackerClass struct { | ||
| 17 | + | _ structs.HostLayout | |||
| 18 | + | ||||
| 16 | ParentClass uintptr | 19 | ParentClass uintptr | ||
| 17 | } | 20 | } | ||
| 18 | 21 | ||||
M v4/adw/adw-swipeable.go +3 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package adw | 2 | package adw | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -12,6 +13,8 @@ import ( | |||||
| 12 | 13 | ||||
| 13 | // An interface for swipeable widgets. | 14 | // An interface for swipeable widgets. | ||
| 14 | type SwipeableInterface struct { | 15 | type SwipeableInterface struct { | ||
| 16 | + | _ structs.HostLayout | |||
| 17 | + | ||||
| 15 | Parent uintptr | 18 | Parent uintptr | ||
| 16 | 19 | ||||
| 17 | Padding [4]uintptr | 20 | Padding [4]uintptr | ||
M v4/adw/adw-tab-bar.go +3 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package adw | 2 | package adw | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -14,6 +15,8 @@ import ( | |||||
| 14 | ) | 15 | ) | ||
| 15 | 16 | ||||
| 16 | type TabBarClass struct { | 17 | type TabBarClass struct { | ||
| 18 | + | _ structs.HostLayout | |||
| 19 | + | ||||
| 17 | ParentClass uintptr | 20 | ParentClass uintptr | ||
| 18 | } | 21 | } | ||
| 19 | 22 | ||||
M v4/adw/adw-tab-button.go +3 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package adw | 2 | package adw | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -13,6 +14,8 @@ import ( | |||||
| 13 | ) | 14 | ) | ||
| 14 | 15 | ||||
| 15 | type TabButtonClass struct { | 16 | type TabButtonClass struct { | ||
| 17 | + | _ structs.HostLayout | |||
| 18 | + | ||||
| 16 | ParentClass uintptr | 19 | ParentClass uintptr | ||
| 17 | } | 20 | } | ||
| 18 | 21 | ||||
M v4/adw/adw-tab-overview.go +3 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package adw | 2 | package adw | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -15,6 +16,8 @@ import ( | |||||
| 15 | ) | 16 | ) | ||
| 16 | 17 | ||||
| 17 | type TabOverviewClass struct { | 18 | type TabOverviewClass struct { | ||
| 19 | + | _ structs.HostLayout | |||
| 20 | + | ||||
| 18 | ParentClass uintptr | 21 | ParentClass uintptr | ||
| 19 | } | 22 | } | ||
| 20 | 23 | ||||
M v4/adw/adw-tab-view.go +5 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package adw | 2 | package adw | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -14,6 +15,8 @@ import ( | |||||
| 14 | ) | 15 | ) | ||
| 15 | 16 | ||||
| 16 | type TabPageClass struct { | 17 | type TabPageClass struct { | ||
| 18 | + | _ structs.HostLayout | |||
| 19 | + | ||||
| 17 | ParentClass uintptr | 20 | ParentClass uintptr | ||
| 18 | } | 21 | } | ||
| 19 | 22 | ||||
| @@ -22,6 +25,8 @@ func (x *TabPageClass) GoPointer() uintptr { | |||||
| 22 | } | 25 | } | ||
| 23 | 26 | ||||
| 24 | type TabViewClass struct { | 27 | type TabViewClass struct { | ||
| 28 | + | _ structs.HostLayout | |||
| 29 | + | ||||
| 25 | ParentClass uintptr | 30 | ParentClass uintptr | ||
| 26 | } | 31 | } | ||
| 27 | 32 | ||||
M v4/adw/adw-timed-animation.go +2 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package adw | 2 | package adw | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -12,6 +13,7 @@ import ( | |||||
| 12 | ) | 13 | ) | ||
| 13 | 14 | ||||
| 14 | type TimedAnimationClass struct { | 15 | type TimedAnimationClass struct { | ||
| 16 | + | _ structs.HostLayout | |||
| 15 | } | 17 | } | ||
| 16 | 18 | ||||
| 17 | func (x *TimedAnimationClass) GoPointer() uintptr { | 19 | func (x *TimedAnimationClass) GoPointer() uintptr { | ||
M v4/adw/adw-toast-overlay.go +3 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package adw | 2 | package adw | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -12,6 +13,8 @@ import ( | |||||
| 12 | ) | 13 | ) | ||
| 13 | 14 | ||||
| 14 | type ToastOverlayClass struct { | 15 | type ToastOverlayClass struct { | ||
| 16 | + | _ structs.HostLayout | |||
| 17 | + | ||||
| 15 | ParentClass uintptr | 18 | ParentClass uintptr | ||
| 16 | } | 19 | } | ||
| 17 | 20 | ||||
M v4/adw/adw-toast.go +3 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package adw | 2 | package adw | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -13,6 +14,8 @@ import ( | |||||
| 13 | ) | 14 | ) | ||
| 14 | 15 | ||||
| 15 | type ToastClass struct { | 16 | type ToastClass struct { | ||
| 17 | + | _ structs.HostLayout | |||
| 18 | + | ||||
| 16 | ParentClass uintptr | 19 | ParentClass uintptr | ||
| 17 | } | 20 | } | ||
| 18 | 21 | ||||
M v4/adw/adw-view-stack.go +5 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package adw | 2 | package adw | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -12,6 +13,8 @@ import ( | |||||
| 12 | ) | 13 | ) | ||
| 13 | 14 | ||||
| 14 | type ViewStackClass struct { | 15 | type ViewStackClass struct { | ||
| 16 | + | _ structs.HostLayout | |||
| 17 | + | ||||
| 15 | ParentClass uintptr | 18 | ParentClass uintptr | ||
| 16 | } | 19 | } | ||
| 17 | 20 | ||||
| @@ -20,6 +23,8 @@ func (x *ViewStackClass) GoPointer() uintptr { | |||||
| 20 | } | 23 | } | ||
| 21 | 24 | ||||
| 22 | type ViewStackPageClass struct { | 25 | type ViewStackPageClass struct { | ||
| 26 | + | _ structs.HostLayout | |||
| 27 | + | ||||
| 23 | ParentClass uintptr | 28 | ParentClass uintptr | ||
| 24 | } | 29 | } | ||
| 25 | 30 | ||||
M v4/adw/adw-view-switcher-bar.go +3 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package adw | 2 | package adw | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -12,6 +13,8 @@ import ( | |||||
| 12 | ) | 13 | ) | ||
| 13 | 14 | ||||
| 14 | type ViewSwitcherBarClass struct { | 15 | type ViewSwitcherBarClass struct { | ||
| 16 | + | _ structs.HostLayout | |||
| 17 | + | ||||
| 15 | ParentClass uintptr | 18 | ParentClass uintptr | ||
| 16 | } | 19 | } | ||
| 17 | 20 | ||||
M v4/adw/adw-view-switcher-title.go +3 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package adw | 2 | package adw | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -12,6 +13,8 @@ import ( | |||||
| 12 | ) | 13 | ) | ||
| 13 | 14 | ||||
| 14 | type ViewSwitcherTitleClass struct { | 15 | type ViewSwitcherTitleClass struct { | ||
| 16 | + | _ structs.HostLayout | |||
| 17 | + | ||||
| 15 | ParentClass uintptr | 18 | ParentClass uintptr | ||
| 16 | } | 19 | } | ||
| 17 | 20 | ||||
M v4/adw/adw-view-switcher.go +3 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package adw | 2 | package adw | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -12,6 +13,8 @@ import ( | |||||
| 12 | ) | 13 | ) | ||
| 13 | 14 | ||||
| 14 | type ViewSwitcherClass struct { | 15 | type ViewSwitcherClass struct { | ||
| 16 | + | _ structs.HostLayout | |||
| 17 | + | ||||
| 15 | ParentClass uintptr | 18 | ParentClass uintptr | ||
| 16 | } | 19 | } | ||
| 17 | 20 | ||||
M v4/adw/adw-window-title.go +3 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package adw | 2 | package adw | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -12,6 +13,8 @@ import ( | |||||
| 12 | ) | 13 | ) | ||
| 13 | 14 | ||||
| 14 | type WindowTitleClass struct { | 15 | type WindowTitleClass struct { | ||
| 16 | + | _ structs.HostLayout | |||
| 17 | + | ||||
| 15 | ParentClass uintptr | 18 | ParentClass uintptr | ||
| 16 | } | 19 | } | ||
| 17 | 20 | ||||
M v4/adw/adw-window.go +3 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package adw | 2 | package adw | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -14,6 +15,8 @@ import ( | |||||
| 14 | ) | 15 | ) | ||
| 15 | 16 | ||||
| 16 | type WindowClass struct { | 17 | type WindowClass struct { | ||
| 18 | + | _ structs.HostLayout | |||
| 19 | + | ||||
| 17 | ParentClass uintptr | 20 | ParentClass uintptr | ||
| 18 | 21 | ||||
| 19 | Padding [4]uintptr | 22 | Padding [4]uintptr | ||
M v4/cairo/main.go +15 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package cairo | 2 | package cairo | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -10,6 +11,7 @@ import ( | |||||
| 10 | ) | 11 | ) | ||
| 11 | 12 | ||||
| 12 | type Context struct { | 13 | type Context struct { | ||
| 14 | + | _ structs.HostLayout | |||
| 13 | } | 15 | } | ||
| 14 | 16 | ||||
| 15 | var xContextGLibType func() types.GType | 17 | var xContextGLibType func() types.GType | ||
| @@ -23,6 +25,7 @@ func (x *Context) GoPointer() uintptr { | |||||
| 23 | } | 25 | } | ||
| 24 | 26 | ||||
| 25 | type Device struct { | 27 | type Device struct { | ||
| 28 | + | _ structs.HostLayout | |||
| 26 | } | 29 | } | ||
| 27 | 30 | ||||
| 28 | var xDeviceGLibType func() types.GType | 31 | var xDeviceGLibType func() types.GType | ||
| @@ -36,6 +39,7 @@ func (x *Device) GoPointer() uintptr { | |||||
| 36 | } | 39 | } | ||
| 37 | 40 | ||||
| 38 | type Surface struct { | 41 | type Surface struct { | ||
| 42 | + | _ structs.HostLayout | |||
| 39 | } | 43 | } | ||
| 40 | 44 | ||||
| 41 | var xSurfaceGLibType func() types.GType | 45 | var xSurfaceGLibType func() types.GType | ||
| @@ -49,6 +53,7 @@ func (x *Surface) GoPointer() uintptr { | |||||
| 49 | } | 53 | } | ||
| 50 | 54 | ||||
| 51 | type Matrix struct { | 55 | type Matrix struct { | ||
| 56 | + | _ structs.HostLayout | |||
| 52 | } | 57 | } | ||
| 53 | 58 | ||||
| 54 | func (x *Matrix) GoPointer() uintptr { | 59 | func (x *Matrix) GoPointer() uintptr { | ||
| @@ -56,6 +61,7 @@ func (x *Matrix) GoPointer() uintptr { | |||||
| 56 | } | 61 | } | ||
| 57 | 62 | ||||
| 58 | type Pattern struct { | 63 | type Pattern struct { | ||
| 64 | + | _ structs.HostLayout | |||
| 59 | } | 65 | } | ||
| 60 | 66 | ||||
| 61 | var xPatternGLibType func() types.GType | 67 | var xPatternGLibType func() types.GType | ||
| @@ -69,6 +75,7 @@ func (x *Pattern) GoPointer() uintptr { | |||||
| 69 | } | 75 | } | ||
| 70 | 76 | ||||
| 71 | type Region struct { | 77 | type Region struct { | ||
| 78 | + | _ structs.HostLayout | |||
| 72 | } | 79 | } | ||
| 73 | 80 | ||||
| 74 | var xRegionGLibType func() types.GType | 81 | var xRegionGLibType func() types.GType | ||
| @@ -82,6 +89,7 @@ func (x *Region) GoPointer() uintptr { | |||||
| 82 | } | 89 | } | ||
| 83 | 90 | ||||
| 84 | type FontOptions struct { | 91 | type FontOptions struct { | ||
| 92 | + | _ structs.HostLayout | |||
| 85 | } | 93 | } | ||
| 86 | 94 | ||||
| 87 | var xFontOptionsGLibType func() types.GType | 95 | var xFontOptionsGLibType func() types.GType | ||
| @@ -95,6 +103,7 @@ func (x *FontOptions) GoPointer() uintptr { | |||||
| 95 | } | 103 | } | ||
| 96 | 104 | ||||
| 97 | type FontFace struct { | 105 | type FontFace struct { | ||
| 106 | + | _ structs.HostLayout | |||
| 98 | } | 107 | } | ||
| 99 | 108 | ||||
| 100 | var xFontFaceGLibType func() types.GType | 109 | var xFontFaceGLibType func() types.GType | ||
| @@ -108,6 +117,7 @@ func (x *FontFace) GoPointer() uintptr { | |||||
| 108 | } | 117 | } | ||
| 109 | 118 | ||||
| 110 | type ScaledFont struct { | 119 | type ScaledFont struct { | ||
| 120 | + | _ structs.HostLayout | |||
| 111 | } | 121 | } | ||
| 112 | 122 | ||||
| 113 | var xScaledFontGLibType func() types.GType | 123 | var xScaledFontGLibType func() types.GType | ||
| @@ -121,6 +131,7 @@ func (x *ScaledFont) GoPointer() uintptr { | |||||
| 121 | } | 131 | } | ||
| 122 | 132 | ||||
| 123 | type Path struct { | 133 | type Path struct { | ||
| 134 | + | _ structs.HostLayout | |||
| 124 | } | 135 | } | ||
| 125 | 136 | ||||
| 126 | func (x *Path) GoPointer() uintptr { | 137 | func (x *Path) GoPointer() uintptr { | ||
| @@ -128,6 +139,8 @@ func (x *Path) GoPointer() uintptr { | |||||
| 128 | } | 139 | } | ||
| 129 | 140 | ||||
| 130 | type Rectangle struct { | 141 | type Rectangle struct { | ||
| 142 | + | _ structs.HostLayout | |||
| 143 | + | ||||
| 131 | X float64 | 144 | X float64 | ||
| 132 | 145 | ||||
| 133 | Y float64 | 146 | Y float64 | ||
| @@ -148,6 +161,8 @@ func (x *Rectangle) GoPointer() uintptr { | |||||
| 148 | } | 161 | } | ||
| 149 | 162 | ||||
| 150 | type RectangleInt struct { | 163 | type RectangleInt struct { | ||
| 164 | + | _ structs.HostLayout | |||
| 165 | + | ||||
| 151 | X int32 | 166 | X int32 | ||
| 152 | 167 | ||||
| 153 | Y int32 | 168 | Y int32 | ||
M v4/gdk/gdkcontentformats.go +3 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gdk | 2 | package gdk | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -13,6 +14,7 @@ import ( | |||||
| 13 | // A `GdkContentFormatsBuilder` is an auxiliary struct used to create | 14 | // A `GdkContentFormatsBuilder` is an auxiliary struct used to create | ||
| 14 | // new `GdkContentFormats`, and should not be kept around. | 15 | // new `GdkContentFormats`, and should not be kept around. | ||
| 15 | type ContentFormatsBuilder struct { | 16 | type ContentFormatsBuilder struct { | ||
| 17 | + | _ structs.HostLayout | |||
| 16 | } | 18 | } | ||
| 17 | 19 | ||||
| 18 | var xContentFormatsBuilderGLibType func() types.GType | 20 | var xContentFormatsBuilderGLibType func() types.GType | ||
| @@ -113,6 +115,7 @@ func (x *ContentFormatsBuilder) Unref() { | |||||
| 113 | 115 | ||||
| 114 | // An opaque type representing a list of files. | 116 | // An opaque type representing a list of files. | ||
| 115 | type FileList struct { | 117 | type FileList struct { | ||
| 118 | + | _ structs.HostLayout | |||
| 116 | } | 119 | } | ||
| 117 | 120 | ||||
| 118 | var xFileListGLibType func() types.GType | 121 | var xFileListGLibType func() types.GType | ||
M v4/gdk/gdkcontentprovider.go +3 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gdk | 2 | package gdk | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -14,6 +15,8 @@ import ( | |||||
| 14 | 15 | ||||
| 15 | // Class structure for `GdkContentProvider`. | 16 | // Class structure for `GdkContentProvider`. | ||
| 16 | type ContentProviderClass struct { | 17 | type ContentProviderClass struct { | ||
| 18 | + | _ structs.HostLayout | |||
| 19 | + | ||||
| 17 | ParentClass uintptr | 20 | ParentClass uintptr | ||
| 18 | 21 | ||||
| 19 | Padding [8]uintptr | 22 | Padding [8]uintptr | ||
M v4/gdk/gdkdevice.go +3 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gdk | 2 | package gdk | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -19,6 +20,8 @@ import ( | |||||
| 19 | // To access individual axis values, use the values of the values of | 20 | // To access individual axis values, use the values of the values of | ||
| 20 | // the [enum@Gdk.AxisUse] enumerations as indices. | 21 | // the [enum@Gdk.AxisUse] enumerations as indices. | ||
| 21 | type TimeCoord struct { | 22 | type TimeCoord struct { | ||
| 23 | + | _ structs.HostLayout | |||
| 24 | + | ||||
| 22 | Time uint32 | 25 | Time uint32 | ||
| 23 | 26 | ||||
| 24 | Flags AxisFlags | 27 | Flags AxisFlags | ||
M v4/gdk/gdkdevicepad.go +2 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gdk | 2 | package gdk | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -10,6 +11,7 @@ import ( | |||||
| 10 | ) | 11 | ) | ||
| 11 | 12 | ||||
| 12 | type DevicePadInterface struct { | 13 | type DevicePadInterface struct { | ||
| 14 | + | _ structs.HostLayout | |||
| 13 | } | 15 | } | ||
| 14 | 16 | ||||
| 15 | func (x *DevicePadInterface) GoPointer() uintptr { | 17 | func (x *DevicePadInterface) GoPointer() uintptr { | ||
M v4/gdk/gdkdragsurface.go +2 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gdk | 2 | package gdk | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -11,6 +12,7 @@ import ( | |||||
| 11 | 12 | ||||
| 12 | // The `GdkDragSurfaceInterface` implementation is private to GDK. | 13 | // The `GdkDragSurfaceInterface` implementation is private to GDK. | ||
| 13 | type DragSurfaceInterface struct { | 14 | type DragSurfaceInterface struct { | ||
| 15 | + | _ structs.HostLayout | |||
| 14 | } | 16 | } | ||
| 15 | 17 | ||||
| 16 | func (x *DragSurfaceInterface) GoPointer() uintptr { | 18 | func (x *DragSurfaceInterface) GoPointer() uintptr { | ||
M v4/gdk/gdkevents.go +2 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gdk | 2 | package gdk | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -13,6 +14,7 @@ import ( | |||||
| 13 | // `GdkEventSequence` is an opaque type representing a sequence | 14 | // `GdkEventSequence` is an opaque type representing a sequence | ||
| 14 | // of related touch events. | 15 | // of related touch events. | ||
| 15 | type EventSequence struct { | 16 | type EventSequence struct { | ||
| 17 | + | _ structs.HostLayout | |||
| 16 | } | 18 | } | ||
| 17 | 19 | ||||
| 18 | var xEventSequenceGLibType func() types.GType | 20 | var xEventSequenceGLibType func() types.GType | ||
M v4/gdk/gdkframeclock.go +3 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gdk | 2 | package gdk | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -12,6 +13,7 @@ import ( | |||||
| 12 | ) | 13 | ) | ||
| 13 | 14 | ||||
| 14 | type FrameClockClass struct { | 15 | type FrameClockClass struct { | ||
| 16 | + | _ structs.HostLayout | |||
| 15 | } | 17 | } | ||
| 16 | 18 | ||||
| 17 | func (x *FrameClockClass) GoPointer() uintptr { | 19 | func (x *FrameClockClass) GoPointer() uintptr { | ||
| @@ -19,6 +21,7 @@ func (x *FrameClockClass) GoPointer() uintptr { | |||||
| 19 | } | 21 | } | ||
| 20 | 22 | ||||
| 21 | type FrameClockPrivate struct { | 23 | type FrameClockPrivate struct { | ||
| 24 | + | _ structs.HostLayout | |||
| 22 | } | 25 | } | ||
| 23 | 26 | ||||
| 24 | func (x *FrameClockPrivate) GoPointer() uintptr { | 27 | func (x *FrameClockPrivate) GoPointer() uintptr { | ||
M v4/gdk/gdkframetimings.go +2 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gdk | 2 | package gdk | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -18,6 +19,7 @@ import ( | |||||
| 18 | // the event or audio streams, and for measuring quality metrics for the | 19 | // the event or audio streams, and for measuring quality metrics for the | ||
| 19 | // application’s display, such as latency and jitter. | 20 | // application’s display, such as latency and jitter. | ||
| 20 | type FrameTimings struct { | 21 | type FrameTimings struct { | ||
| 22 | + | _ structs.HostLayout | |||
| 21 | } | 23 | } | ||
| 22 | 24 | ||||
| 23 | var xFrameTimingsGLibType func() types.GType | 25 | var xFrameTimingsGLibType func() types.GType | ||
M v4/gdk/gdkgltexture.go +2 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gdk | 2 | package gdk | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -12,6 +13,7 @@ import ( | |||||
| 12 | ) | 13 | ) | ||
| 13 | 14 | ||||
| 14 | type GLTextureClass struct { | 15 | type GLTextureClass struct { | ||
| 16 | + | _ structs.HostLayout | |||
| 15 | } | 17 | } | ||
| 16 | 18 | ||||
| 17 | func (x *GLTextureClass) GoPointer() uintptr { | 19 | func (x *GLTextureClass) GoPointer() uintptr { | ||
M v4/gdk/gdkmemorytexture.go +2 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gdk | 2 | package gdk | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -12,6 +13,7 @@ import ( | |||||
| 12 | ) | 13 | ) | ||
| 13 | 14 | ||||
| 14 | type MemoryTextureClass struct { | 15 | type MemoryTextureClass struct { | ||
| 16 | + | _ structs.HostLayout | |||
| 15 | } | 17 | } | ||
| 16 | 18 | ||||
| 17 | func (x *MemoryTextureClass) GoPointer() uintptr { | 19 | func (x *MemoryTextureClass) GoPointer() uintptr { | ||
M v4/gdk/gdkmonitor.go +2 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gdk | 2 | package gdk | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -12,6 +13,7 @@ import ( | |||||
| 12 | ) | 13 | ) | ||
| 13 | 14 | ||||
| 14 | type MonitorClass struct { | 15 | type MonitorClass struct { | ||
| 16 | + | _ structs.HostLayout | |||
| 15 | } | 17 | } | ||
| 16 | 18 | ||||
| 17 | func (x *MonitorClass) GoPointer() uintptr { | 19 | func (x *MonitorClass) GoPointer() uintptr { | ||
M v4/gdk/gdkpaintable.go +3 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gdk | 2 | package gdk | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -19,6 +20,8 @@ import ( | |||||
| 19 | // image is not dynamic as the default implementation returns no flags and | 20 | // image is not dynamic as the default implementation returns no flags and | ||
| 20 | // that will make the implementation likely quite slow. | 21 | // that will make the implementation likely quite slow. | ||
| 21 | type PaintableInterface struct { | 22 | type PaintableInterface struct { | ||
| 23 | + | _ structs.HostLayout | |||
| 24 | + | ||||
| 22 | GIface uintptr | 25 | GIface uintptr | ||
| 23 | } | 26 | } | ||
| 24 | 27 | ||||
M v4/gdk/gdkpopup.go +2 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gdk | 2 | package gdk | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -11,6 +12,7 @@ import ( | |||||
| 11 | ) | 12 | ) | ||
| 12 | 13 | ||||
| 13 | type PopupInterface struct { | 14 | type PopupInterface struct { | ||
| 15 | + | _ structs.HostLayout | |||
| 14 | } | 16 | } | ||
| 15 | 17 | ||||
| 16 | func (x *PopupInterface) GoPointer() uintptr { | 18 | func (x *PopupInterface) GoPointer() uintptr { | ||
M v4/gdk/gdkpopuplayout.go +2 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gdk | 2 | package gdk | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -43,6 +44,7 @@ import ( | |||||
| 43 | // But you have to be careful avoid changing the size of the popover, or it | 44 | // But you have to be careful avoid changing the size of the popover, or it | ||
| 44 | // has to be presented again. | 45 | // has to be presented again. | ||
| 45 | type PopupLayout struct { | 46 | type PopupLayout struct { | ||
| 47 | + | _ structs.HostLayout | |||
| 46 | } | 48 | } | ||
| 47 | 49 | ||||
| 48 | var xPopupLayoutGLibType func() types.GType | 50 | var xPopupLayoutGLibType func() types.GType | ||
M v4/gdk/gdkrgba.go +3 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gdk | 2 | package gdk | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -19,6 +20,8 @@ import ( | |||||
| 19 | // (1.0, 1.0, 1.0, 1.0) is opaque white. Other values will | 20 | // (1.0, 1.0, 1.0, 1.0) is opaque white. Other values will | ||
| 20 | // be clamped to this range when drawing. | 21 | // be clamped to this range when drawing. | ||
| 21 | type RGBA struct { | 22 | type RGBA struct { | ||
| 23 | + | _ structs.HostLayout | |||
| 24 | + | ||||
| 22 | Red float32 | 25 | Red float32 | ||
| 23 | 26 | ||||
| 24 | Green float32 | 27 | Green float32 | ||
M v4/gdk/gdksnapshot.go +2 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gdk | 2 | package gdk | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/puregotk/v4/gobject" | 8 | "github.com/jwijenbergh/puregotk/v4/gobject" | ||
| @@ -9,6 +10,7 @@ import ( | |||||
| 9 | ) | 10 | ) | ||
| 10 | 11 | ||||
| 11 | type SnapshotClass struct { | 12 | type SnapshotClass struct { | ||
| 13 | + | _ structs.HostLayout | |||
| 12 | } | 14 | } | ||
| 13 | 15 | ||||
| 14 | func (x *SnapshotClass) GoPointer() uintptr { | 16 | func (x *SnapshotClass) GoPointer() uintptr { | ||
M v4/gdk/gdksurface.go +2 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gdk | 2 | package gdk | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -13,6 +14,7 @@ import ( | |||||
| 13 | ) | 14 | ) | ||
| 14 | 15 | ||||
| 15 | type SurfaceClass struct { | 16 | type SurfaceClass struct { | ||
| 17 | + | _ structs.HostLayout | |||
| 16 | } | 18 | } | ||
| 17 | 19 | ||||
| 18 | func (x *SurfaceClass) GoPointer() uintptr { | 20 | func (x *SurfaceClass) GoPointer() uintptr { | ||
M v4/gdk/gdktexture.go +2 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gdk | 2 | package gdk | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -14,6 +15,7 @@ import ( | |||||
| 14 | ) | 15 | ) | ||
| 15 | 16 | ||||
| 16 | type TextureClass struct { | 17 | type TextureClass struct { | ||
| 18 | + | _ structs.HostLayout | |||
| 17 | } | 19 | } | ||
| 18 | 20 | ||||
| 19 | func (x *TextureClass) GoPointer() uintptr { | 21 | func (x *TextureClass) GoPointer() uintptr { | ||
M v4/gdk/gdktoplevel.go +2 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gdk | 2 | package gdk | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -11,6 +12,7 @@ import ( | |||||
| 11 | ) | 12 | ) | ||
| 12 | 13 | ||||
| 13 | type ToplevelInterface struct { | 14 | type ToplevelInterface struct { | ||
| 15 | + | _ structs.HostLayout | |||
| 14 | } | 16 | } | ||
| 15 | 17 | ||||
| 16 | func (x *ToplevelInterface) GoPointer() uintptr { | 18 | func (x *ToplevelInterface) GoPointer() uintptr { | ||
M v4/gdk/gdktoplevellayout.go +2 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gdk | 2 | package gdk | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -20,6 +21,7 @@ import ( | |||||
| 20 | // to the user in various states (maximized, on all workspaces, | 21 | // to the user in various states (maximized, on all workspaces, | ||
| 21 | // etc). | 22 | // etc). | ||
| 22 | type ToplevelLayout struct { | 23 | type ToplevelLayout struct { | ||
| 24 | + | _ structs.HostLayout | |||
| 23 | } | 25 | } | ||
| 24 | 26 | ||||
| 25 | var xToplevelLayoutGLibType func() types.GType | 27 | var xToplevelLayoutGLibType func() types.GType | ||
M v4/gdk/gdktoplevelsize.go +2 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gdk | 2 | package gdk | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -12,6 +13,7 @@ import ( | |||||
| 12 | // The `GdkToplevelSize` struct contains information that is useful | 13 | // The `GdkToplevelSize` struct contains information that is useful | ||
| 13 | // to compute the size of a toplevel. | 14 | // to compute the size of a toplevel. | ||
| 14 | type ToplevelSize struct { | 15 | type ToplevelSize struct { | ||
| 16 | + | _ structs.HostLayout | |||
| 15 | } | 17 | } | ||
| 16 | 18 | ||||
| 17 | func (x *ToplevelSize) GoPointer() uintptr { | 19 | func (x *ToplevelSize) GoPointer() uintptr { | ||
M v4/gdk/gdktypes.go +6 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gdk | 2 | package gdk | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -43,6 +44,7 @@ import ( | |||||
| 43 | // The [struct@Gdk.ContentFormatsBuilder] structure is meant to help in this | 44 | // The [struct@Gdk.ContentFormatsBuilder] structure is meant to help in this | ||
| 44 | // endeavor. | 45 | // endeavor. | ||
| 45 | type ContentFormats struct { | 46 | type ContentFormats struct { | ||
| 47 | + | _ structs.HostLayout | |||
| 46 | } | 48 | } | ||
| 47 | 49 | ||||
| 48 | var xContentFormatsGLibType func() types.GType | 50 | var xContentFormatsGLibType func() types.GType | ||
| @@ -250,6 +252,8 @@ func (x *ContentFormats) Unref() { | |||||
| 250 | 252 | ||||
| 251 | // A `GdkKeymapKey` is a hardware key that can be mapped to a keyval. | 253 | // A `GdkKeymapKey` is a hardware key that can be mapped to a keyval. | ||
| 252 | type KeymapKey struct { | 254 | type KeymapKey struct { | ||
| 255 | + | _ structs.HostLayout | |||
| 256 | + | ||||
| 253 | Keycode uint | 257 | Keycode uint | ||
| 254 | 258 | ||||
| 255 | Group int | 259 | Group int | ||
| @@ -277,6 +281,8 @@ func (x *KeymapKey) GoPointer() uintptr { | |||||
| 277 | // The Graphene library has a number of other data types for regions and | 281 | // The Graphene library has a number of other data types for regions and | ||
| 278 | // volumes in 2D and 3D. | 282 | // volumes in 2D and 3D. | ||
| 279 | type Rectangle struct { | 283 | type Rectangle struct { | ||
| 284 | + | _ structs.HostLayout | |||
| 285 | + | ||||
| 280 | X int | 286 | X int | ||
| 281 | 287 | ||||
| 282 | Y int | 288 | Y int | ||
M v4/gdkpixbuf/gdk-pixbuf-animation.go +5 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gdkpixbuf | 2 | package gdkpixbuf | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -16,6 +17,8 @@ import ( | |||||
| 16 | // #GdkPixbufAnimation, providing suitable implementations of the | 17 | // #GdkPixbufAnimation, providing suitable implementations of the | ||
| 17 | // virtual functions. | 18 | // virtual functions. | ||
| 18 | type PixbufAnimationClass struct { | 19 | type PixbufAnimationClass struct { | ||
| 20 | + | _ structs.HostLayout | |||
| 21 | + | ||||
| 19 | ParentClass uintptr | 22 | ParentClass uintptr | ||
| 20 | } | 23 | } | ||
| 21 | 24 | ||||
| @@ -27,6 +30,8 @@ func (x *PixbufAnimationClass) GoPointer() uintptr { | |||||
| 27 | // #GdkPixbufAnimationIter, providing suitable implementations of the | 30 | // #GdkPixbufAnimationIter, providing suitable implementations of the | ||
| 28 | // virtual functions. | 31 | // virtual functions. | ||
| 29 | type PixbufAnimationIterClass struct { | 32 | type PixbufAnimationIterClass struct { | ||
| 33 | + | _ structs.HostLayout | |||
| 34 | + | ||||
| 30 | ParentClass uintptr | 35 | ParentClass uintptr | ||
| 31 | } | 36 | } | ||
| 32 | 37 | ||||
M v4/gdkpixbuf/gdk-pixbuf-io.go +7 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gdkpixbuf | 2 | package gdkpixbuf | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -105,6 +106,8 @@ type PixbufModuleUpdatedFunc func(uintptr, int, int, int, int, uintptr) | |||||
| 105 | // Only modules should access the fields directly, applications should | 106 | // Only modules should access the fields directly, applications should | ||
| 106 | // use the `gdk_pixbuf_format_*` family of functions. | 107 | // use the `gdk_pixbuf_format_*` family of functions. | ||
| 107 | type PixbufFormat struct { | 108 | type PixbufFormat struct { | ||
| 109 | + | _ structs.HostLayout | |||
| 110 | + | ||||
| 108 | Name uintptr | 111 | Name uintptr | ||
| 109 | 112 | ||||
| 110 | Signature *PixbufModulePattern | 113 | Signature *PixbufModulePattern | ||
| @@ -308,6 +311,8 @@ func (x *PixbufFormat) SetDisabled(DisabledVar bool) { | |||||
| 308 | // `$libdir/gdk-pixbuf-2.0/$version/loaders.cache`, unless overridden | 311 | // `$libdir/gdk-pixbuf-2.0/$version/loaders.cache`, unless overridden | ||
| 309 | // by the environment variable `GDK_PIXBUF_MODULE_FILE`) | 312 | // by the environment variable `GDK_PIXBUF_MODULE_FILE`) | ||
| 310 | type PixbufModule struct { | 313 | type PixbufModule struct { | ||
| 314 | + | _ structs.HostLayout | |||
| 315 | + | ||||
| 311 | ModuleName uintptr | 316 | ModuleName uintptr | ||
| 312 | 317 | ||||
| 313 | ModulePath uintptr | 318 | ModulePath uintptr | ||
| @@ -372,6 +377,8 @@ func (x *PixbufModule) GoPointer() uintptr { | |||||
| 372 | // In the example above, the signature matches e.g. "auud\0" with | 377 | // In the example above, the signature matches e.g. "auud\0" with | ||
| 373 | // relevance 100, and "blau" with relevance 90. | 378 | // relevance 100, and "blau" with relevance 90. | ||
| 374 | type PixbufModulePattern struct { | 379 | type PixbufModulePattern struct { | ||
| 380 | + | _ structs.HostLayout | |||
| 381 | + | ||||
| 375 | Prefix uintptr | 382 | Prefix uintptr | ||
| 376 | 383 | ||||
| 377 | Mask uintptr | 384 | Mask uintptr | ||
M v4/gdkpixbuf/gdk-pixbuf-loader.go +3 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gdkpixbuf | 2 | package gdkpixbuf | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -12,6 +13,8 @@ import ( | |||||
| 12 | ) | 13 | ) | ||
| 13 | 14 | ||||
| 14 | type PixbufLoaderClass struct { | 15 | type PixbufLoaderClass struct { | ||
| 16 | + | _ structs.HostLayout | |||
| 17 | + | ||||
| 15 | ParentClass uintptr | 18 | ParentClass uintptr | ||
| 16 | } | 19 | } | ||
| 17 | 20 | ||||
M v4/gdkpixbuf/gdk-pixbuf-simple-anim.go +2 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gdkpixbuf | 2 | package gdkpixbuf | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -10,6 +11,7 @@ import ( | |||||
| 10 | ) | 11 | ) | ||
| 11 | 12 | ||||
| 12 | type PixbufSimpleAnimClass struct { | 13 | type PixbufSimpleAnimClass struct { | ||
| 14 | + | _ structs.HostLayout | |||
| 13 | } | 15 | } | ||
| 14 | 16 | ||||
| 15 | func (x *PixbufSimpleAnimClass) GoPointer() uintptr { | 17 | func (x *PixbufSimpleAnimClass) GoPointer() uintptr { | ||
M v4/gio/gaction.go +3 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gio | 2 | package gio | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -12,6 +13,8 @@ import ( | |||||
| 12 | 13 | ||||
| 13 | // The virtual function table for #GAction. | 14 | // The virtual function table for #GAction. | ||
| 14 | type ActionInterface struct { | 15 | type ActionInterface struct { | ||
| 16 | + | _ structs.HostLayout | |||
| 17 | + | ||||
| 15 | GIface uintptr | 18 | GIface uintptr | ||
| 16 | } | 19 | } | ||
| 17 | 20 | ||||
M v4/gio/gactiongroup.go +3 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gio | 2 | package gio | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -12,6 +13,8 @@ import ( | |||||
| 12 | 13 | ||||
| 13 | // The virtual function table for #GActionGroup. | 14 | // The virtual function table for #GActionGroup. | ||
| 14 | type ActionGroupInterface struct { | 15 | type ActionGroupInterface struct { | ||
| 16 | + | _ structs.HostLayout | |||
| 17 | + | ||||
| 15 | GIface uintptr | 18 | GIface uintptr | ||
| 16 | } | 19 | } | ||
| 17 | 20 | ||||
M v4/gio/gactionmap.go +5 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gio | 2 | package gio | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -21,6 +22,8 @@ import ( | |||||
| 21 | // | 22 | // | ||
| 22 | // See g_action_map_add_action_entries() for an example. | 23 | // See g_action_map_add_action_entries() for an example. | ||
| 23 | type ActionEntry struct { | 24 | type ActionEntry struct { | ||
| 25 | + | _ structs.HostLayout | |||
| 26 | + | ||||
| 24 | Name uintptr | 27 | Name uintptr | ||
| 25 | 28 | ||||
| 26 | ParameterType uintptr | 29 | ParameterType uintptr | ||
| @@ -36,6 +39,8 @@ func (x *ActionEntry) GoPointer() uintptr { | |||||
| 36 | 39 | ||||
| 37 | // The virtual function table for #GActionMap. | 40 | // The virtual function table for #GActionMap. | ||
| 38 | type ActionMapInterface struct { | 41 | type ActionMapInterface struct { | ||
| 42 | + | _ structs.HostLayout | |||
| 43 | + | ||||
| 39 | GIface uintptr | 44 | GIface uintptr | ||
| 40 | } | 45 | } | ||
| 41 | 46 | ||||
M v4/gio/gappinfo.go +6 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gio | 2 | package gio | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -13,6 +14,8 @@ import ( | |||||
| 13 | 14 | ||||
| 14 | // Application Information interface, for operating system portability. | 15 | // Application Information interface, for operating system portability. | ||
| 15 | type AppInfoIface struct { | 16 | type AppInfoIface struct { | ||
| 17 | + | _ structs.HostLayout | |||
| 18 | + | ||||
| 16 | GIface uintptr | 19 | GIface uintptr | ||
| 17 | } | 20 | } | ||
| 18 | 21 | ||||
| @@ -21,6 +24,8 @@ func (x *AppInfoIface) GoPointer() uintptr { | |||||
| 21 | } | 24 | } | ||
| 22 | 25 | ||||
| 23 | type AppLaunchContextClass struct { | 26 | type AppLaunchContextClass struct { | ||
| 27 | + | _ structs.HostLayout | |||
| 28 | + | ||||
| 24 | ParentClass uintptr | 29 | ParentClass uintptr | ||
| 25 | } | 30 | } | ||
| 26 | 31 | ||||
| @@ -29,6 +34,7 @@ func (x *AppLaunchContextClass) GoPointer() uintptr { | |||||
| 29 | } | 34 | } | ||
| 30 | 35 | ||||
| 31 | type AppLaunchContextPrivate struct { | 36 | type AppLaunchContextPrivate struct { | ||
| 37 | + | _ structs.HostLayout | |||
| 32 | } | 38 | } | ||
| 33 | 39 | ||||
| 34 | func (x *AppLaunchContextPrivate) GoPointer() uintptr { | 40 | func (x *AppLaunchContextPrivate) GoPointer() uintptr { | ||
M v4/gio/gapplication.go +4 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gio | 2 | package gio | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -13,6 +14,8 @@ import ( | |||||
| 13 | 14 | ||||
| 14 | // Virtual function table for #GApplication. | 15 | // Virtual function table for #GApplication. | ||
| 15 | type ApplicationClass struct { | 16 | type ApplicationClass struct { | ||
| 17 | + | _ structs.HostLayout | |||
| 18 | + | ||||
| 16 | ParentClass uintptr | 19 | ParentClass uintptr | ||
| 17 | 20 | ||||
| 18 | Padding [7]uintptr | 21 | Padding [7]uintptr | ||
| @@ -23,6 +26,7 @@ func (x *ApplicationClass) GoPointer() uintptr { | |||||
| 23 | } | 26 | } | ||
| 24 | 27 | ||||
| 25 | type ApplicationPrivate struct { | 28 | type ApplicationPrivate struct { | ||
| 29 | + | _ structs.HostLayout | |||
| 26 | } | 30 | } | ||
| 27 | 31 | ||||
| 28 | func (x *ApplicationPrivate) GoPointer() uintptr { | 32 | func (x *ApplicationPrivate) GoPointer() uintptr { | ||
M v4/gio/gapplicationcommandline.go +4 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gio | 2 | package gio | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -14,6 +15,8 @@ import ( | |||||
| 14 | // The #GApplicationCommandLineClass-struct | 15 | // The #GApplicationCommandLineClass-struct | ||
| 15 | // contains private data only. | 16 | // contains private data only. | ||
| 16 | type ApplicationCommandLineClass struct { | 17 | type ApplicationCommandLineClass struct { | ||
| 18 | + | _ structs.HostLayout | |||
| 19 | + | ||||
| 17 | ParentClass uintptr | 20 | ParentClass uintptr | ||
| 18 | 21 | ||||
| 19 | Padding [11]uintptr | 22 | Padding [11]uintptr | ||
| @@ -24,6 +27,7 @@ func (x *ApplicationCommandLineClass) GoPointer() uintptr { | |||||
| 24 | } | 27 | } | ||
| 25 | 28 | ||||
| 26 | type ApplicationCommandLinePrivate struct { | 29 | type ApplicationCommandLinePrivate struct { | ||
| 30 | + | _ structs.HostLayout | |||
| 27 | } | 31 | } | ||
| 28 | 32 | ||||
| 29 | func (x *ApplicationCommandLinePrivate) GoPointer() uintptr { | 33 | func (x *ApplicationCommandLinePrivate) GoPointer() uintptr { | ||
M v4/gio/gasyncinitable.go +3 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gio | 2 | package gio | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -14,6 +15,8 @@ import ( | |||||
| 14 | // Provides an interface for asynchronous initializing object such that | 15 | // Provides an interface for asynchronous initializing object such that | ||
| 15 | // initialization may fail. | 16 | // initialization may fail. | ||
| 16 | type AsyncInitableIface struct { | 17 | type AsyncInitableIface struct { | ||
| 18 | + | _ structs.HostLayout | |||
| 19 | + | ||||
| 17 | GIface uintptr | 20 | GIface uintptr | ||
| 18 | } | 21 | } | ||
| 19 | 22 | ||||
M v4/gio/gasyncresult.go +3 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gio | 2 | package gio | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -13,6 +14,8 @@ import ( | |||||
| 13 | 14 | ||||
| 14 | // Interface definition for #GAsyncResult. | 15 | // Interface definition for #GAsyncResult. | ||
| 15 | type AsyncResultIface struct { | 16 | type AsyncResultIface struct { | ||
| 17 | + | _ structs.HostLayout | |||
| 18 | + | ||||
| 16 | GIface uintptr | 19 | GIface uintptr | ||
| 17 | } | 20 | } | ||
| 18 | 21 | ||||
M v4/gio/gbufferedinputstream.go +4 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gio | 2 | package gio | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -11,6 +12,8 @@ import ( | |||||
| 11 | ) | 12 | ) | ||
| 12 | 13 | ||||
| 13 | type BufferedInputStreamClass struct { | 14 | type BufferedInputStreamClass struct { | ||
| 15 | + | _ structs.HostLayout | |||
| 16 | + | ||||
| 14 | ParentClass uintptr | 17 | ParentClass uintptr | ||
| 15 | } | 18 | } | ||
| 16 | 19 | ||||
| @@ -19,6 +22,7 @@ func (x *BufferedInputStreamClass) GoPointer() uintptr { | |||||
| 19 | } | 22 | } | ||
| 20 | 23 | ||||
| 21 | type BufferedInputStreamPrivate struct { | 24 | type BufferedInputStreamPrivate struct { | ||
| 25 | + | _ structs.HostLayout | |||
| 22 | } | 26 | } | ||
| 23 | 27 | ||||
| 24 | func (x *BufferedInputStreamPrivate) GoPointer() uintptr { | 28 | func (x *BufferedInputStreamPrivate) GoPointer() uintptr { | ||
M v4/gio/gbufferedoutputstream.go +4 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gio | 2 | package gio | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -11,6 +12,8 @@ import ( | |||||
| 11 | ) | 12 | ) | ||
| 12 | 13 | ||||
| 13 | type BufferedOutputStreamClass struct { | 14 | type BufferedOutputStreamClass struct { | ||
| 15 | + | _ structs.HostLayout | |||
| 16 | + | ||||
| 14 | ParentClass uintptr | 17 | ParentClass uintptr | ||
| 15 | } | 18 | } | ||
| 16 | 19 | ||||
| @@ -19,6 +22,7 @@ func (x *BufferedOutputStreamClass) GoPointer() uintptr { | |||||
| 19 | } | 22 | } | ||
| 20 | 23 | ||||
| 21 | type BufferedOutputStreamPrivate struct { | 24 | type BufferedOutputStreamPrivate struct { | ||
| 25 | + | _ structs.HostLayout | |||
| 22 | } | 26 | } | ||
| 23 | 27 | ||||
| 24 | func (x *BufferedOutputStreamPrivate) GoPointer() uintptr { | 28 | func (x *BufferedOutputStreamPrivate) GoPointer() uintptr { | ||
M v4/gio/gcancellable.go +4 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gio | 2 | package gio | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -12,6 +13,8 @@ import ( | |||||
| 12 | ) | 13 | ) | ||
| 13 | 14 | ||||
| 14 | type CancellableClass struct { | 15 | type CancellableClass struct { | ||
| 16 | + | _ structs.HostLayout | |||
| 17 | + | ||||
| 15 | ParentClass uintptr | 18 | ParentClass uintptr | ||
| 16 | } | 19 | } | ||
| 17 | 20 | ||||
| @@ -20,6 +23,7 @@ func (x *CancellableClass) GoPointer() uintptr { | |||||
| 20 | } | 23 | } | ||
| 21 | 24 | ||||
| 22 | type CancellablePrivate struct { | 25 | type CancellablePrivate struct { | ||
| 26 | + | _ structs.HostLayout | |||
| 23 | } | 27 | } | ||
| 24 | 28 | ||||
| 25 | func (x *CancellablePrivate) GoPointer() uintptr { | 29 | func (x *CancellablePrivate) GoPointer() uintptr { | ||
M v4/gio/gcharsetconverter.go +3 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gio | 2 | package gio | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -12,6 +13,8 @@ import ( | |||||
| 12 | ) | 13 | ) | ||
| 13 | 14 | ||||
| 14 | type CharsetConverterClass struct { | 15 | type CharsetConverterClass struct { | ||
| 16 | + | _ structs.HostLayout | |||
| 17 | + | ||||
| 15 | ParentClass uintptr | 18 | ParentClass uintptr | ||
| 16 | } | 19 | } | ||
| 17 | 20 | ||||
M v4/gio/gconverter.go +3 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gio | 2 | package gio | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -14,6 +15,8 @@ import ( | |||||
| 14 | // to another type. The conversion can be stateful | 15 | // to another type. The conversion can be stateful | ||
| 15 | // and may fail at any place. | 16 | // and may fail at any place. | ||
| 16 | type ConverterIface struct { | 17 | type ConverterIface struct { | ||
| 18 | + | _ structs.HostLayout | |||
| 19 | + | ||||
| 17 | GIface uintptr | 20 | GIface uintptr | ||
| 18 | } | 21 | } | ||
| 19 | 22 | ||||
M v4/gio/gconverterinputstream.go +4 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gio | 2 | package gio | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -12,6 +13,8 @@ import ( | |||||
| 12 | ) | 13 | ) | ||
| 13 | 14 | ||||
| 14 | type ConverterInputStreamClass struct { | 15 | type ConverterInputStreamClass struct { | ||
| 16 | + | _ structs.HostLayout | |||
| 17 | + | ||||
| 15 | ParentClass uintptr | 18 | ParentClass uintptr | ||
| 16 | } | 19 | } | ||
| 17 | 20 | ||||
| @@ -20,6 +23,7 @@ func (x *ConverterInputStreamClass) GoPointer() uintptr { | |||||
| 20 | } | 23 | } | ||
| 21 | 24 | ||||
| 22 | type ConverterInputStreamPrivate struct { | 25 | type ConverterInputStreamPrivate struct { | ||
| 26 | + | _ structs.HostLayout | |||
| 23 | } | 27 | } | ||
| 24 | 28 | ||||
| 25 | func (x *ConverterInputStreamPrivate) GoPointer() uintptr { | 29 | func (x *ConverterInputStreamPrivate) GoPointer() uintptr { | ||
M v4/gio/gconverteroutputstream.go +4 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gio | 2 | package gio | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -12,6 +13,8 @@ import ( | |||||
| 12 | ) | 13 | ) | ||
| 13 | 14 | ||||
| 14 | type ConverterOutputStreamClass struct { | 15 | type ConverterOutputStreamClass struct { | ||
| 16 | + | _ structs.HostLayout | |||
| 17 | + | ||||
| 15 | ParentClass uintptr | 18 | ParentClass uintptr | ||
| 16 | } | 19 | } | ||
| 17 | 20 | ||||
| @@ -20,6 +23,7 @@ func (x *ConverterOutputStreamClass) GoPointer() uintptr { | |||||
| 20 | } | 23 | } | ||
| 21 | 24 | ||||
| 22 | type ConverterOutputStreamPrivate struct { | 25 | type ConverterOutputStreamPrivate struct { | ||
| 26 | + | _ structs.HostLayout | |||
| 23 | } | 27 | } | ||
| 24 | 28 | ||||
| 25 | func (x *ConverterOutputStreamPrivate) GoPointer() uintptr { | 29 | func (x *ConverterOutputStreamPrivate) GoPointer() uintptr { | ||
M v4/gio/gcredentials.go +2 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gio | 2 | package gio | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -13,6 +14,7 @@ import ( | |||||
| 13 | 14 | ||||
| 14 | // Class structure for #GCredentials. | 15 | // Class structure for #GCredentials. | ||
| 15 | type CredentialsClass struct { | 16 | type CredentialsClass struct { | ||
| 17 | + | _ structs.HostLayout | |||
| 16 | } | 18 | } | ||
| 17 | 19 | ||||
| 18 | func (x *CredentialsClass) GoPointer() uintptr { | 20 | func (x *CredentialsClass) GoPointer() uintptr { | ||
M v4/gio/gdatagrambased.go +3 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gio | 2 | package gio | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -16,6 +17,8 @@ import ( | |||||
| 16 | // implemented — so implementations of this API must handle all functionality | 17 | // implemented — so implementations of this API must handle all functionality | ||
| 17 | // documented in the interface methods. | 18 | // documented in the interface methods. | ||
| 18 | type DatagramBasedInterface struct { | 19 | type DatagramBasedInterface struct { | ||
| 20 | + | _ structs.HostLayout | |||
| 21 | + | ||||
| 19 | GIface uintptr | 22 | GIface uintptr | ||
| 20 | } | 23 | } | ||
| 21 | 24 | ||||
M v4/gio/gdatainputstream.go +4 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gio | 2 | package gio | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -11,6 +12,8 @@ import ( | |||||
| 11 | ) | 12 | ) | ||
| 12 | 13 | ||||
| 13 | type DataInputStreamClass struct { | 14 | type DataInputStreamClass struct { | ||
| 15 | + | _ structs.HostLayout | |||
| 16 | + | ||||
| 14 | ParentClass uintptr | 17 | ParentClass uintptr | ||
| 15 | } | 18 | } | ||
| 16 | 19 | ||||
| @@ -19,6 +22,7 @@ func (x *DataInputStreamClass) GoPointer() uintptr { | |||||
| 19 | } | 22 | } | ||
| 20 | 23 | ||||
| 21 | type DataInputStreamPrivate struct { | 24 | type DataInputStreamPrivate struct { | ||
| 25 | + | _ structs.HostLayout | |||
| 22 | } | 26 | } | ||
| 23 | 27 | ||||
| 24 | func (x *DataInputStreamPrivate) GoPointer() uintptr { | 28 | func (x *DataInputStreamPrivate) GoPointer() uintptr { | ||
M v4/gio/gdataoutputstream.go +4 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gio | 2 | package gio | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -11,6 +12,8 @@ import ( | |||||
| 11 | ) | 12 | ) | ||
| 12 | 13 | ||||
| 13 | type DataOutputStreamClass struct { | 14 | type DataOutputStreamClass struct { | ||
| 15 | + | _ structs.HostLayout | |||
| 16 | + | ||||
| 14 | ParentClass uintptr | 17 | ParentClass uintptr | ||
| 15 | } | 18 | } | ||
| 16 | 19 | ||||
| @@ -19,6 +22,7 @@ func (x *DataOutputStreamClass) GoPointer() uintptr { | |||||
| 19 | } | 22 | } | ||
| 20 | 23 | ||||
| 21 | type DataOutputStreamPrivate struct { | 24 | type DataOutputStreamPrivate struct { | ||
| 25 | + | _ structs.HostLayout | |||
| 22 | } | 26 | } | ||
| 23 | 27 | ||||
| 24 | func (x *DataOutputStreamPrivate) GoPointer() uintptr { | 28 | func (x *DataOutputStreamPrivate) GoPointer() uintptr { | ||
M v4/gio/gdbusconnection.go +5 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gio | 2 | package gio | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -172,6 +173,8 @@ type DBusSubtreeIntrospectFunc func(uintptr, string, string, string, uintptr) ui | |||||
| 172 | // function or provide an implementation of the `Set` call. If implementing | 173 | // function or provide an implementation of the `Set` call. If implementing | ||
| 173 | // the call, you must return the value of type %G_VARIANT_TYPE_UNIT. | 174 | // the call, you must return the value of type %G_VARIANT_TYPE_UNIT. | ||
| 174 | type DBusInterfaceVTable struct { | 175 | type DBusInterfaceVTable struct { | ||
| 176 | + | _ structs.HostLayout | |||
| 177 | + | ||||
| 175 | MethodCall DBusInterfaceMethodCallFunc | 178 | MethodCall DBusInterfaceMethodCallFunc | ||
| 176 | 179 | ||||
| 177 | GetProperty DBusInterfaceGetPropertyFunc | 180 | GetProperty DBusInterfaceGetPropertyFunc | ||
| @@ -187,6 +190,8 @@ func (x *DBusInterfaceVTable) GoPointer() uintptr { | |||||
| 187 | 190 | ||||
| 188 | // Virtual table for handling subtrees registered with g_dbus_connection_register_subtree(). | 191 | // Virtual table for handling subtrees registered with g_dbus_connection_register_subtree(). | ||
| 189 | type DBusSubtreeVTable struct { | 192 | type DBusSubtreeVTable struct { | ||
| 193 | + | _ structs.HostLayout | |||
| 194 | + | ||||
| 190 | Enumerate DBusSubtreeEnumerateFunc | 195 | Enumerate DBusSubtreeEnumerateFunc | ||
| 191 | 196 | ||||
| 192 | Introspect DBusSubtreeIntrospectFunc | 197 | Introspect DBusSubtreeIntrospectFunc | ||
M v4/gio/gdbuserror.go +3 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gio | 2 | package gio | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -11,6 +12,8 @@ import ( | |||||
| 11 | 12 | ||||
| 12 | // Struct used in g_dbus_error_register_error_domain(). | 13 | // Struct used in g_dbus_error_register_error_domain(). | ||
| 13 | type DBusErrorEntry struct { | 14 | type DBusErrorEntry struct { | ||
| 15 | + | _ structs.HostLayout | |||
| 16 | + | ||||
| 14 | ErrorCode int32 | 17 | ErrorCode int32 | ||
| 15 | 18 | ||||
| 16 | DbusErrorName uintptr | 19 | DbusErrorName uintptr | ||
M v4/gio/gdbusinterface.go +3 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gio | 2 | package gio | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -12,6 +13,8 @@ import ( | |||||
| 12 | 13 | ||||
| 13 | // Base type for D-Bus interfaces. | 14 | // Base type for D-Bus interfaces. | ||
| 14 | type DBusInterfaceIface struct { | 15 | type DBusInterfaceIface struct { | ||
| 16 | + | _ structs.HostLayout | |||
| 17 | + | ||||
| 15 | ParentIface uintptr | 18 | ParentIface uintptr | ||
| 16 | } | 19 | } | ||
| 17 | 20 | ||||
M v4/gio/gdbusinterfaceskeleton.go +4 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gio | 2 | package gio | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -13,6 +14,8 @@ import ( | |||||
| 13 | 14 | ||||
| 14 | // Class structure for #GDBusInterfaceSkeleton. | 15 | // Class structure for #GDBusInterfaceSkeleton. | ||
| 15 | type DBusInterfaceSkeletonClass struct { | 16 | type DBusInterfaceSkeletonClass struct { | ||
| 17 | + | _ structs.HostLayout | |||
| 18 | + | ||||
| 16 | ParentClass uintptr | 19 | ParentClass uintptr | ||
| 17 | 20 | ||||
| 18 | VfuncPadding [8]uintptr | 21 | VfuncPadding [8]uintptr | ||
| @@ -25,6 +28,7 @@ func (x *DBusInterfaceSkeletonClass) GoPointer() uintptr { | |||||
| 25 | } | 28 | } | ||
| 26 | 29 | ||||
| 27 | type DBusInterfaceSkeletonPrivate struct { | 30 | type DBusInterfaceSkeletonPrivate struct { | ||
| 31 | + | _ structs.HostLayout | |||
| 28 | } | 32 | } | ||
| 29 | 33 | ||||
| 30 | func (x *DBusInterfaceSkeletonPrivate) GoPointer() uintptr { | 34 | func (x *DBusInterfaceSkeletonPrivate) GoPointer() uintptr { | ||
M v4/gio/gdbusintrospection.go +15 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gio | 2 | package gio | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -12,6 +13,8 @@ import ( | |||||
| 12 | 13 | ||||
| 13 | // Information about an annotation. | 14 | // Information about an annotation. | ||
| 14 | type DBusAnnotationInfo struct { | 15 | type DBusAnnotationInfo struct { | ||
| 16 | + | _ structs.HostLayout | |||
| 17 | + | ||||
| 15 | RefCount int32 | 18 | RefCount int32 | ||
| 16 | 19 | ||||
| 17 | Key uintptr | 20 | Key uintptr | ||
| @@ -54,6 +57,8 @@ func (x *DBusAnnotationInfo) Unref() { | |||||
| 54 | 57 | ||||
| 55 | // Information about an argument for a method or a signal. | 58 | // Information about an argument for a method or a signal. | ||
| 56 | type DBusArgInfo struct { | 59 | type DBusArgInfo struct { | ||
| 60 | + | _ structs.HostLayout | |||
| 61 | + | ||||
| 57 | RefCount int32 | 62 | RefCount int32 | ||
| 58 | 63 | ||||
| 59 | Name uintptr | 64 | Name uintptr | ||
| @@ -96,6 +101,8 @@ func (x *DBusArgInfo) Unref() { | |||||
| 96 | 101 | ||||
| 97 | // Information about a D-Bus interface. | 102 | // Information about a D-Bus interface. | ||
| 98 | type DBusInterfaceInfo struct { | 103 | type DBusInterfaceInfo struct { | ||
| 104 | + | _ structs.HostLayout | |||
| 105 | + | ||||
| 99 | RefCount int32 | 106 | RefCount int32 | ||
| 100 | 107 | ||||
| 101 | Name uintptr | 108 | Name uintptr | ||
| @@ -221,6 +228,8 @@ func (x *DBusInterfaceInfo) Unref() { | |||||
| 221 | 228 | ||||
| 222 | // Information about a method on an D-Bus interface. | 229 | // Information about a method on an D-Bus interface. | ||
| 223 | type DBusMethodInfo struct { | 230 | type DBusMethodInfo struct { | ||
| 231 | + | _ structs.HostLayout | |||
| 232 | + | ||||
| 224 | RefCount int32 | 233 | RefCount int32 | ||
| 225 | 234 | ||||
| 226 | Name uintptr | 235 | Name uintptr | ||
| @@ -265,6 +274,8 @@ func (x *DBusMethodInfo) Unref() { | |||||
| 265 | 274 | ||||
| 266 | // Information about nodes in a remote object hierarchy. | 275 | // Information about nodes in a remote object hierarchy. | ||
| 267 | type DBusNodeInfo struct { | 276 | type DBusNodeInfo struct { | ||
| 277 | + | _ structs.HostLayout | |||
| 278 | + | ||||
| 268 | RefCount int32 | 279 | RefCount int32 | ||
| 269 | 280 | ||||
| 270 | Path uintptr | 281 | Path uintptr | ||
| @@ -353,6 +364,8 @@ func (x *DBusNodeInfo) Unref() { | |||||
| 353 | 364 | ||||
| 354 | // Information about a D-Bus property on a D-Bus interface. | 365 | // Information about a D-Bus property on a D-Bus interface. | ||
| 355 | type DBusPropertyInfo struct { | 366 | type DBusPropertyInfo struct { | ||
| 367 | + | _ structs.HostLayout | |||
| 368 | + | ||||
| 356 | RefCount int32 | 369 | RefCount int32 | ||
| 357 | 370 | ||||
| 358 | Name uintptr | 371 | Name uintptr | ||
| @@ -397,6 +410,8 @@ func (x *DBusPropertyInfo) Unref() { | |||||
| 397 | 410 | ||||
| 398 | // Information about a signal on a D-Bus interface. | 411 | // Information about a signal on a D-Bus interface. | ||
| 399 | type DBusSignalInfo struct { | 412 | type DBusSignalInfo struct { | ||
| 413 | + | _ structs.HostLayout | |||
| 414 | + | ||||
| 400 | RefCount int32 | 415 | RefCount int32 | ||
| 401 | 416 | ||||
| 402 | Name uintptr | 417 | Name uintptr | ||
M v4/gio/gdbusobject.go +3 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gio | 2 | package gio | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -12,6 +13,8 @@ import ( | |||||
| 12 | 13 | ||||
| 13 | // Base object type for D-Bus objects. | 14 | // Base object type for D-Bus objects. | ||
| 14 | type DBusObjectIface struct { | 15 | type DBusObjectIface struct { | ||
| 16 | + | _ structs.HostLayout | |||
| 17 | + | ||||
| 15 | ParentIface uintptr | 18 | ParentIface uintptr | ||
| 16 | } | 19 | } | ||
| 17 | 20 | ||||
M v4/gio/gdbusobjectmanager.go +3 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gio | 2 | package gio | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -12,6 +13,8 @@ import ( | |||||
| 12 | 13 | ||||
| 13 | // Base type for D-Bus object managers. | 14 | // Base type for D-Bus object managers. | ||
| 14 | type DBusObjectManagerIface struct { | 15 | type DBusObjectManagerIface struct { | ||
| 16 | + | _ structs.HostLayout | |||
| 17 | + | ||||
| 15 | ParentIface uintptr | 18 | ParentIface uintptr | ||
| 16 | } | 19 | } | ||
| 17 | 20 | ||||
M v4/gio/gdbusobjectmanagerclient.go +4 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gio | 2 | package gio | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -13,6 +14,8 @@ import ( | |||||
| 13 | 14 | ||||
| 14 | // Class structure for #GDBusObjectManagerClient. | 15 | // Class structure for #GDBusObjectManagerClient. | ||
| 15 | type DBusObjectManagerClientClass struct { | 16 | type DBusObjectManagerClientClass struct { | ||
| 17 | + | _ structs.HostLayout | |||
| 18 | + | ||||
| 16 | ParentClass uintptr | 19 | ParentClass uintptr | ||
| 17 | 20 | ||||
| 18 | Padding [8]uintptr | 21 | Padding [8]uintptr | ||
| @@ -23,6 +26,7 @@ func (x *DBusObjectManagerClientClass) GoPointer() uintptr { | |||||
| 23 | } | 26 | } | ||
| 24 | 27 | ||||
| 25 | type DBusObjectManagerClientPrivate struct { | 28 | type DBusObjectManagerClientPrivate struct { | ||
| 29 | + | _ structs.HostLayout | |||
| 26 | } | 30 | } | ||
| 27 | 31 | ||||
| 28 | func (x *DBusObjectManagerClientPrivate) GoPointer() uintptr { | 32 | func (x *DBusObjectManagerClientPrivate) GoPointer() uintptr { | ||
M v4/gio/gdbusobjectmanagerserver.go +4 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gio | 2 | package gio | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -13,6 +14,8 @@ import ( | |||||
| 13 | 14 | ||||
| 14 | // Class structure for #GDBusObjectManagerServer. | 15 | // Class structure for #GDBusObjectManagerServer. | ||
| 15 | type DBusObjectManagerServerClass struct { | 16 | type DBusObjectManagerServerClass struct { | ||
| 17 | + | _ structs.HostLayout | |||
| 18 | + | ||||
| 16 | ParentClass uintptr | 19 | ParentClass uintptr | ||
| 17 | 20 | ||||
| 18 | Padding [8]uintptr | 21 | Padding [8]uintptr | ||
| @@ -23,6 +26,7 @@ func (x *DBusObjectManagerServerClass) GoPointer() uintptr { | |||||
| 23 | } | 26 | } | ||
| 24 | 27 | ||||
| 25 | type DBusObjectManagerServerPrivate struct { | 28 | type DBusObjectManagerServerPrivate struct { | ||
| 29 | + | _ structs.HostLayout | |||
| 26 | } | 30 | } | ||
| 27 | 31 | ||||
| 28 | func (x *DBusObjectManagerServerPrivate) GoPointer() uintptr { | 32 | func (x *DBusObjectManagerServerPrivate) GoPointer() uintptr { | ||
M v4/gio/gdbusobjectproxy.go +4 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gio | 2 | package gio | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -13,6 +14,8 @@ import ( | |||||
| 13 | 14 | ||||
| 14 | // Class structure for #GDBusObjectProxy. | 15 | // Class structure for #GDBusObjectProxy. | ||
| 15 | type DBusObjectProxyClass struct { | 16 | type DBusObjectProxyClass struct { | ||
| 17 | + | _ structs.HostLayout | |||
| 18 | + | ||||
| 16 | ParentClass uintptr | 19 | ParentClass uintptr | ||
| 17 | 20 | ||||
| 18 | Padding [8]uintptr | 21 | Padding [8]uintptr | ||
| @@ -23,6 +26,7 @@ func (x *DBusObjectProxyClass) GoPointer() uintptr { | |||||
| 23 | } | 26 | } | ||
| 24 | 27 | ||||
| 25 | type DBusObjectProxyPrivate struct { | 28 | type DBusObjectProxyPrivate struct { | ||
| 29 | + | _ structs.HostLayout | |||
| 26 | } | 30 | } | ||
| 27 | 31 | ||||
| 28 | func (x *DBusObjectProxyPrivate) GoPointer() uintptr { | 32 | func (x *DBusObjectProxyPrivate) GoPointer() uintptr { | ||
M v4/gio/gdbusobjectskeleton.go +4 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gio | 2 | package gio | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -13,6 +14,8 @@ import ( | |||||
| 13 | 14 | ||||
| 14 | // Class structure for #GDBusObjectSkeleton. | 15 | // Class structure for #GDBusObjectSkeleton. | ||
| 15 | type DBusObjectSkeletonClass struct { | 16 | type DBusObjectSkeletonClass struct { | ||
| 17 | + | _ structs.HostLayout | |||
| 18 | + | ||||
| 16 | ParentClass uintptr | 19 | ParentClass uintptr | ||
| 17 | 20 | ||||
| 18 | Padding [8]uintptr | 21 | Padding [8]uintptr | ||
| @@ -23,6 +26,7 @@ func (x *DBusObjectSkeletonClass) GoPointer() uintptr { | |||||
| 23 | } | 26 | } | ||
| 24 | 27 | ||||
| 25 | type DBusObjectSkeletonPrivate struct { | 28 | type DBusObjectSkeletonPrivate struct { | ||
| 29 | + | _ structs.HostLayout | |||
| 26 | } | 30 | } | ||
| 27 | 31 | ||||
| 28 | func (x *DBusObjectSkeletonPrivate) GoPointer() uintptr { | 32 | func (x *DBusObjectSkeletonPrivate) GoPointer() uintptr { | ||
M v4/gio/gdbusproxy.go +4 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gio | 2 | package gio | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -13,6 +14,8 @@ import ( | |||||
| 13 | 14 | ||||
| 14 | // Class structure for #GDBusProxy. | 15 | // Class structure for #GDBusProxy. | ||
| 15 | type DBusProxyClass struct { | 16 | type DBusProxyClass struct { | ||
| 17 | + | _ structs.HostLayout | |||
| 18 | + | ||||
| 16 | ParentClass uintptr | 19 | ParentClass uintptr | ||
| 17 | 20 | ||||
| 18 | Padding [32]uintptr | 21 | Padding [32]uintptr | ||
| @@ -23,6 +26,7 @@ func (x *DBusProxyClass) GoPointer() uintptr { | |||||
| 23 | } | 26 | } | ||
| 24 | 27 | ||||
| 25 | type DBusProxyPrivate struct { | 28 | type DBusProxyPrivate struct { | ||
| 29 | + | _ structs.HostLayout | |||
| 26 | } | 30 | } | ||
| 27 | 31 | ||||
| 28 | func (x *DBusProxyPrivate) GoPointer() uintptr { | 32 | func (x *DBusProxyPrivate) GoPointer() uintptr { | ||
M v4/gio/gdebugcontroller.go +3 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gio | 2 | package gio | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -11,6 +12,8 @@ import ( | |||||
| 11 | 12 | ||||
| 12 | // The virtual function table for #GDebugController. | 13 | // The virtual function table for #GDebugController. | ||
| 13 | type DebugControllerInterface struct { | 14 | type DebugControllerInterface struct { | ||
| 15 | + | _ structs.HostLayout | |||
| 16 | + | ||||
| 14 | GIface uintptr | 17 | GIface uintptr | ||
| 15 | } | 18 | } | ||
| 16 | 19 | ||||
M v4/gio/gdebugcontrollerdbus.go +3 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gio | 2 | package gio | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -13,6 +14,8 @@ import ( | |||||
| 13 | 14 | ||||
| 14 | // The virtual function table for #GDebugControllerDBus. | 15 | // The virtual function table for #GDebugControllerDBus. | ||
| 15 | type DebugControllerDBusClass struct { | 16 | type DebugControllerDBusClass struct { | ||
| 17 | + | _ structs.HostLayout | |||
| 18 | + | ||||
| 16 | ParentClass uintptr | 19 | ParentClass uintptr | ||
| 17 | 20 | ||||
| 18 | Padding [12]uintptr | 21 | Padding [12]uintptr | ||
M v4/gio/gdesktopappinfo.go +5 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gio | 2 | package gio | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -17,6 +18,8 @@ import ( | |||||
| 17 | type DesktopAppLaunchCallback func(uintptr, glib.Pid, uintptr) | 18 | type DesktopAppLaunchCallback func(uintptr, glib.Pid, uintptr) | ||
| 18 | 19 | ||||
| 19 | type DesktopAppInfoClass struct { | 20 | type DesktopAppInfoClass struct { | ||
| 21 | + | _ structs.HostLayout | |||
| 22 | + | ||||
| 20 | ParentClass uintptr | 23 | ParentClass uintptr | ||
| 21 | } | 24 | } | ||
| 22 | 25 | ||||
| @@ -27,6 +30,8 @@ func (x *DesktopAppInfoClass) GoPointer() uintptr { | |||||
| 27 | // Interface that is used by backends to associate default | 30 | // Interface that is used by backends to associate default | ||
| 28 | // handlers with URI schemes. | 31 | // handlers with URI schemes. | ||
| 29 | type DesktopAppInfoLookupIface struct { | 32 | type DesktopAppInfoLookupIface struct { | ||
| 33 | + | _ structs.HostLayout | |||
| 34 | + | ||||
| 30 | GIface uintptr | 35 | GIface uintptr | ||
| 31 | } | 36 | } | ||
| 32 | 37 | ||||
M v4/gio/gdrive.go +3 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gio | 2 | package gio | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -12,6 +13,8 @@ import ( | |||||
| 12 | 13 | ||||
| 13 | // Interface for creating #GDrive implementations. | 14 | // Interface for creating #GDrive implementations. | ||
| 14 | type DriveIface struct { | 15 | type DriveIface struct { | ||
| 16 | + | _ structs.HostLayout | |||
| 17 | + | ||||
| 15 | GIface uintptr | 18 | GIface uintptr | ||
| 16 | } | 19 | } | ||
| 17 | 20 | ||||
M v4/gio/gdtlsclientconnection.go +3 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gio | 2 | package gio | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -13,6 +14,8 @@ import ( | |||||
| 13 | 14 | ||||
| 14 | // vtable for a #GDtlsClientConnection implementation. | 15 | // vtable for a #GDtlsClientConnection implementation. | ||
| 15 | type DtlsClientConnectionInterface struct { | 16 | type DtlsClientConnectionInterface struct { | ||
| 17 | + | _ structs.HostLayout | |||
| 18 | + | ||||
| 16 | GIface uintptr | 19 | GIface uintptr | ||
| 17 | } | 20 | } | ||
| 18 | 21 | ||||
M v4/gio/gdtlsconnection.go +3 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gio | 2 | package gio | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -13,6 +14,8 @@ import ( | |||||
| 13 | 14 | ||||
| 14 | // Virtual method table for a #GDtlsConnection implementation. | 15 | // Virtual method table for a #GDtlsConnection implementation. | ||
| 15 | type DtlsConnectionInterface struct { | 16 | type DtlsConnectionInterface struct { | ||
| 17 | + | _ structs.HostLayout | |||
| 18 | + | ||||
| 16 | GIface uintptr | 19 | GIface uintptr | ||
| 17 | } | 20 | } | ||
| 18 | 21 | ||||
M v4/gio/gdtlsserverconnection.go +3 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gio | 2 | package gio | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -12,6 +13,8 @@ import ( | |||||
| 12 | 13 | ||||
| 13 | // vtable for a #GDtlsServerConnection implementation. | 14 | // vtable for a #GDtlsServerConnection implementation. | ||
| 14 | type DtlsServerConnectionInterface struct { | 15 | type DtlsServerConnectionInterface struct { | ||
| 16 | + | _ structs.HostLayout | |||
| 17 | + | ||||
| 15 | GIface uintptr | 18 | GIface uintptr | ||
| 16 | } | 19 | } | ||
| 17 | 20 | ||||
M v4/gio/gemblem.go +2 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gio | 2 | package gio | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -12,6 +13,7 @@ import ( | |||||
| 12 | ) | 13 | ) | ||
| 13 | 14 | ||||
| 14 | type EmblemClass struct { | 15 | type EmblemClass struct { | ||
| 16 | + | _ structs.HostLayout | |||
| 15 | } | 17 | } | ||
| 16 | 18 | ||||
| 17 | func (x *EmblemClass) GoPointer() uintptr { | 19 | func (x *EmblemClass) GoPointer() uintptr { | ||
M v4/gio/gemblemedicon.go +4 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gio | 2 | package gio | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -12,6 +13,8 @@ import ( | |||||
| 12 | ) | 13 | ) | ||
| 13 | 14 | ||||
| 14 | type EmblemedIconClass struct { | 15 | type EmblemedIconClass struct { | ||
| 16 | + | _ structs.HostLayout | |||
| 17 | + | ||||
| 15 | ParentClass uintptr | 18 | ParentClass uintptr | ||
| 16 | } | 19 | } | ||
| 17 | 20 | ||||
| @@ -20,6 +23,7 @@ func (x *EmblemedIconClass) GoPointer() uintptr { | |||||
| 20 | } | 23 | } | ||
| 21 | 24 | ||||
| 22 | type EmblemedIconPrivate struct { | 25 | type EmblemedIconPrivate struct { | ||
| 26 | + | _ structs.HostLayout | |||
| 23 | } | 27 | } | ||
| 24 | 28 | ||||
| 25 | func (x *EmblemedIconPrivate) GoPointer() uintptr { | 29 | func (x *EmblemedIconPrivate) GoPointer() uintptr { | ||
M v4/gio/gfile.go +3 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gio | 2 | package gio | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -13,6 +14,8 @@ import ( | |||||
| 13 | 14 | ||||
| 14 | // An interface for writing VFS file handles. | 15 | // An interface for writing VFS file handles. | ||
| 15 | type FileIface struct { | 16 | type FileIface struct { | ||
| 17 | + | _ structs.HostLayout | |||
| 18 | + | ||||
| 16 | GIface uintptr | 19 | GIface uintptr | ||
| 17 | 20 | ||||
| 18 | SupportsThreadContexts bool | 21 | SupportsThreadContexts bool | ||
M v4/gio/gfileattribute.go +5 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gio | 2 | package gio | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -11,6 +12,8 @@ import ( | |||||
| 11 | 12 | ||||
| 12 | // Information about a specific attribute. | 13 | // Information about a specific attribute. | ||
| 13 | type FileAttributeInfo struct { | 14 | type FileAttributeInfo struct { | ||
| 15 | + | _ structs.HostLayout | |||
| 16 | + | ||||
| 14 | Name uintptr | 17 | Name uintptr | ||
| 15 | 18 | ||||
| 16 | Type FileAttributeType | 19 | Type FileAttributeType | ||
| @@ -25,6 +28,8 @@ func (x *FileAttributeInfo) GoPointer() uintptr { | |||||
| 25 | // Acts as a lightweight registry for possible valid file attributes. | 28 | // Acts as a lightweight registry for possible valid file attributes. | ||
| 26 | // The registry stores Key-Value pair formats as #GFileAttributeInfos. | 29 | // The registry stores Key-Value pair formats as #GFileAttributeInfos. | ||
| 27 | type FileAttributeInfoList struct { | 30 | type FileAttributeInfoList struct { | ||
| 31 | + | _ structs.HostLayout | |||
| 32 | + | ||||
| 28 | Infos *FileAttributeInfo | 33 | Infos *FileAttributeInfo | ||
| 29 | 34 | ||||
| 30 | NInfos int | 35 | NInfos int | ||
M v4/gio/gfiledescriptorbased.go +3 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gio | 2 | package gio | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -11,6 +12,8 @@ import ( | |||||
| 11 | 12 | ||||
| 12 | // An interface for file descriptor based io objects. | 13 | // An interface for file descriptor based io objects. | ||
| 13 | type FileDescriptorBasedIface struct { | 14 | type FileDescriptorBasedIface struct { | ||
| 15 | + | _ structs.HostLayout | |||
| 16 | + | ||||
| 14 | GIface uintptr | 17 | GIface uintptr | ||
| 15 | } | 18 | } | ||
| 16 | 19 | ||||
M v4/gio/gfileenumerator.go +4 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gio | 2 | package gio | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -12,6 +13,8 @@ import ( | |||||
| 12 | ) | 13 | ) | ||
| 13 | 14 | ||||
| 14 | type FileEnumeratorClass struct { | 15 | type FileEnumeratorClass struct { | ||
| 16 | + | _ structs.HostLayout | |||
| 17 | + | ||||
| 15 | ParentClass uintptr | 18 | ParentClass uintptr | ||
| 16 | } | 19 | } | ||
| 17 | 20 | ||||
| @@ -20,6 +23,7 @@ func (x *FileEnumeratorClass) GoPointer() uintptr { | |||||
| 20 | } | 23 | } | ||
| 21 | 24 | ||||
| 22 | type FileEnumeratorPrivate struct { | 25 | type FileEnumeratorPrivate struct { | ||
| 26 | + | _ structs.HostLayout | |||
| 23 | } | 27 | } | ||
| 24 | 28 | ||||
| 25 | func (x *FileEnumeratorPrivate) GoPointer() uintptr { | 29 | func (x *FileEnumeratorPrivate) GoPointer() uintptr { | ||
M v4/gio/gfileicon.go +2 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gio | 2 | package gio | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -12,6 +13,7 @@ import ( | |||||
| 12 | ) | 13 | ) | ||
| 13 | 14 | ||||
| 14 | type FileIconClass struct { | 15 | type FileIconClass struct { | ||
| 16 | + | _ structs.HostLayout | |||
| 15 | } | 17 | } | ||
| 16 | 18 | ||||
| 17 | func (x *FileIconClass) GoPointer() uintptr { | 19 | func (x *FileIconClass) GoPointer() uintptr { | ||
M v4/gio/gfileinfo.go +2 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gio | 2 | package gio | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -12,6 +13,7 @@ import ( | |||||
| 12 | ) | 13 | ) | ||
| 13 | 14 | ||||
| 14 | type FileInfoClass struct { | 15 | type FileInfoClass struct { | ||
| 16 | + | _ structs.HostLayout | |||
| 15 | } | 17 | } | ||
| 16 | 18 | ||||
| 17 | func (x *FileInfoClass) GoPointer() uintptr { | 19 | func (x *FileInfoClass) GoPointer() uintptr { | ||
M v4/gio/gfileinputstream.go +4 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gio | 2 | package gio | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -11,6 +12,8 @@ import ( | |||||
| 11 | ) | 12 | ) | ||
| 12 | 13 | ||||
| 13 | type FileInputStreamClass struct { | 14 | type FileInputStreamClass struct { | ||
| 15 | + | _ structs.HostLayout | |||
| 16 | + | ||||
| 14 | ParentClass uintptr | 17 | ParentClass uintptr | ||
| 15 | } | 18 | } | ||
| 16 | 19 | ||||
| @@ -19,6 +22,7 @@ func (x *FileInputStreamClass) GoPointer() uintptr { | |||||
| 19 | } | 22 | } | ||
| 20 | 23 | ||||
| 21 | type FileInputStreamPrivate struct { | 24 | type FileInputStreamPrivate struct { | ||
| 25 | + | _ structs.HostLayout | |||
| 22 | } | 26 | } | ||
| 23 | 27 | ||||
| 24 | func (x *FileInputStreamPrivate) GoPointer() uintptr { | 28 | func (x *FileInputStreamPrivate) GoPointer() uintptr { | ||
M v4/gio/gfileiostream.go +4 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gio | 2 | package gio | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -11,6 +12,8 @@ import ( | |||||
| 11 | ) | 12 | ) | ||
| 12 | 13 | ||||
| 13 | type FileIOStreamClass struct { | 14 | type FileIOStreamClass struct { | ||
| 15 | + | _ structs.HostLayout | |||
| 16 | + | ||||
| 14 | ParentClass uintptr | 17 | ParentClass uintptr | ||
| 15 | } | 18 | } | ||
| 16 | 19 | ||||
| @@ -19,6 +22,7 @@ func (x *FileIOStreamClass) GoPointer() uintptr { | |||||
| 19 | } | 22 | } | ||
| 20 | 23 | ||||
| 21 | type FileIOStreamPrivate struct { | 24 | type FileIOStreamPrivate struct { | ||
| 25 | + | _ structs.HostLayout | |||
| 22 | } | 26 | } | ||
| 23 | 27 | ||||
| 24 | func (x *FileIOStreamPrivate) GoPointer() uintptr { | 28 | func (x *FileIOStreamPrivate) GoPointer() uintptr { | ||
M v4/gio/gfilemonitor.go +4 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gio | 2 | package gio | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -12,6 +13,8 @@ import ( | |||||
| 12 | ) | 13 | ) | ||
| 13 | 14 | ||||
| 14 | type FileMonitorClass struct { | 15 | type FileMonitorClass struct { | ||
| 16 | + | _ structs.HostLayout | |||
| 17 | + | ||||
| 15 | ParentClass uintptr | 18 | ParentClass uintptr | ||
| 16 | } | 19 | } | ||
| 17 | 20 | ||||
| @@ -20,6 +23,7 @@ func (x *FileMonitorClass) GoPointer() uintptr { | |||||
| 20 | } | 23 | } | ||
| 21 | 24 | ||||
| 22 | type FileMonitorPrivate struct { | 25 | type FileMonitorPrivate struct { | ||
| 26 | + | _ structs.HostLayout | |||
| 23 | } | 27 | } | ||
| 24 | 28 | ||||
| 25 | func (x *FileMonitorPrivate) GoPointer() uintptr { | 29 | func (x *FileMonitorPrivate) GoPointer() uintptr { | ||
M v4/gio/gfilenamecompleter.go +3 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gio | 2 | package gio | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -12,6 +13,8 @@ import ( | |||||
| 12 | ) | 13 | ) | ||
| 13 | 14 | ||||
| 14 | type FilenameCompleterClass struct { | 15 | type FilenameCompleterClass struct { | ||
| 16 | + | _ structs.HostLayout | |||
| 17 | + | ||||
| 15 | ParentClass uintptr | 18 | ParentClass uintptr | ||
| 16 | } | 19 | } | ||
| 17 | 20 | ||||
M v4/gio/gfileoutputstream.go +4 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gio | 2 | package gio | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -11,6 +12,8 @@ import ( | |||||
| 11 | ) | 12 | ) | ||
| 12 | 13 | ||||
| 13 | type FileOutputStreamClass struct { | 14 | type FileOutputStreamClass struct { | ||
| 15 | + | _ structs.HostLayout | |||
| 16 | + | ||||
| 14 | ParentClass uintptr | 17 | ParentClass uintptr | ||
| 15 | } | 18 | } | ||
| 16 | 19 | ||||
| @@ -19,6 +22,7 @@ func (x *FileOutputStreamClass) GoPointer() uintptr { | |||||
| 19 | } | 22 | } | ||
| 20 | 23 | ||||
| 21 | type FileOutputStreamPrivate struct { | 24 | type FileOutputStreamPrivate struct { | ||
| 25 | + | _ structs.HostLayout | |||
| 22 | } | 26 | } | ||
| 23 | 27 | ||||
| 24 | func (x *FileOutputStreamPrivate) GoPointer() uintptr { | 28 | func (x *FileOutputStreamPrivate) GoPointer() uintptr { | ||
M v4/gio/gfilterinputstream.go +3 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gio | 2 | package gio | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -11,6 +12,8 @@ import ( | |||||
| 11 | ) | 12 | ) | ||
| 12 | 13 | ||||
| 13 | type FilterInputStreamClass struct { | 14 | type FilterInputStreamClass struct { | ||
| 15 | + | _ structs.HostLayout | |||
| 16 | + | ||||
| 14 | ParentClass uintptr | 17 | ParentClass uintptr | ||
| 15 | } | 18 | } | ||
| 16 | 19 | ||||
M v4/gio/gfilteroutputstream.go +3 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gio | 2 | package gio | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -11,6 +12,8 @@ import ( | |||||
| 11 | ) | 12 | ) | ||
| 12 | 13 | ||||
| 13 | type FilterOutputStreamClass struct { | 14 | type FilterOutputStreamClass struct { | ||
| 15 | + | _ structs.HostLayout | |||
| 16 | + | ||||
| 14 | ParentClass uintptr | 17 | ParentClass uintptr | ||
| 15 | } | 18 | } | ||
| 16 | 19 | ||||
M v4/gio/gicon.go +3 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gio | 2 | package gio | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -14,6 +15,8 @@ import ( | |||||
| 14 | // different systems. See #GThemedIcon and #GLoadableIcon for | 15 | // different systems. See #GThemedIcon and #GLoadableIcon for | ||
| 15 | // examples of how to implement this interface. | 16 | // examples of how to implement this interface. | ||
| 16 | type IconIface struct { | 17 | type IconIface struct { | ||
| 18 | + | _ structs.HostLayout | |||
| 19 | + | ||||
| 17 | GIface uintptr | 20 | GIface uintptr | ||
| 18 | } | 21 | } | ||
| 19 | 22 | ||||
M v4/gio/ginetaddress.go +4 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gio | 2 | package gio | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -11,6 +12,8 @@ import ( | |||||
| 11 | ) | 12 | ) | ||
| 12 | 13 | ||||
| 13 | type InetAddressClass struct { | 14 | type InetAddressClass struct { | ||
| 15 | + | _ structs.HostLayout | |||
| 16 | + | ||||
| 14 | ParentClass uintptr | 17 | ParentClass uintptr | ||
| 15 | } | 18 | } | ||
| 16 | 19 | ||||
| @@ -19,6 +22,7 @@ func (x *InetAddressClass) GoPointer() uintptr { | |||||
| 19 | } | 22 | } | ||
| 20 | 23 | ||||
| 21 | type InetAddressPrivate struct { | 24 | type InetAddressPrivate struct { | ||
| 25 | + | _ structs.HostLayout | |||
| 22 | } | 26 | } | ||
| 23 | 27 | ||||
| 24 | func (x *InetAddressPrivate) GoPointer() uintptr { | 28 | func (x *InetAddressPrivate) GoPointer() uintptr { | ||
M v4/gio/ginetaddressmask.go +4 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gio | 2 | package gio | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -12,6 +13,8 @@ import ( | |||||
| 12 | ) | 13 | ) | ||
| 13 | 14 | ||||
| 14 | type InetAddressMaskClass struct { | 15 | type InetAddressMaskClass struct { | ||
| 16 | + | _ structs.HostLayout | |||
| 17 | + | ||||
| 15 | ParentClass uintptr | 18 | ParentClass uintptr | ||
| 16 | } | 19 | } | ||
| 17 | 20 | ||||
| @@ -20,6 +23,7 @@ func (x *InetAddressMaskClass) GoPointer() uintptr { | |||||
| 20 | } | 23 | } | ||
| 21 | 24 | ||||
| 22 | type InetAddressMaskPrivate struct { | 25 | type InetAddressMaskPrivate struct { | ||
| 26 | + | _ structs.HostLayout | |||
| 23 | } | 27 | } | ||
| 24 | 28 | ||||
| 25 | func (x *InetAddressMaskPrivate) GoPointer() uintptr { | 29 | func (x *InetAddressMaskPrivate) GoPointer() uintptr { | ||
M v4/gio/ginetsocketaddress.go +4 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gio | 2 | package gio | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -11,6 +12,8 @@ import ( | |||||
| 11 | ) | 12 | ) | ||
| 12 | 13 | ||||
| 13 | type InetSocketAddressClass struct { | 14 | type InetSocketAddressClass struct { | ||
| 15 | + | _ structs.HostLayout | |||
| 16 | + | ||||
| 14 | ParentClass uintptr | 17 | ParentClass uintptr | ||
| 15 | } | 18 | } | ||
| 16 | 19 | ||||
| @@ -19,6 +22,7 @@ func (x *InetSocketAddressClass) GoPointer() uintptr { | |||||
| 19 | } | 22 | } | ||
| 20 | 23 | ||||
| 21 | type InetSocketAddressPrivate struct { | 24 | type InetSocketAddressPrivate struct { | ||
| 25 | + | _ structs.HostLayout | |||
| 22 | } | 26 | } | ||
| 23 | 27 | ||||
| 24 | func (x *InetSocketAddressPrivate) GoPointer() uintptr { | 28 | func (x *InetSocketAddressPrivate) GoPointer() uintptr { | ||
M v4/gio/ginitable.go +3 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gio | 2 | package gio | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -14,6 +15,8 @@ import ( | |||||
| 14 | // Provides an interface for initializing object such that initialization | 15 | // Provides an interface for initializing object such that initialization | ||
| 15 | // may fail. | 16 | // may fail. | ||
| 16 | type InitableIface struct { | 17 | type InitableIface struct { | ||
| 18 | + | _ structs.HostLayout | |||
| 19 | + | ||||
| 17 | GIface uintptr | 20 | GIface uintptr | ||
| 18 | } | 21 | } | ||
| 19 | 22 | ||||
M v4/gio/ginputstream.go +4 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gio | 2 | package gio | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -12,6 +13,8 @@ import ( | |||||
| 12 | ) | 13 | ) | ||
| 13 | 14 | ||||
| 14 | type InputStreamClass struct { | 15 | type InputStreamClass struct { | ||
| 16 | + | _ structs.HostLayout | |||
| 17 | + | ||||
| 15 | ParentClass uintptr | 18 | ParentClass uintptr | ||
| 16 | } | 19 | } | ||
| 17 | 20 | ||||
| @@ -20,6 +23,7 @@ func (x *InputStreamClass) GoPointer() uintptr { | |||||
| 20 | } | 23 | } | ||
| 21 | 24 | ||||
| 22 | type InputStreamPrivate struct { | 25 | type InputStreamPrivate struct { | ||
| 26 | + | _ structs.HostLayout | |||
| 23 | } | 27 | } | ||
| 24 | 28 | ||||
| 25 | func (x *InputStreamPrivate) GoPointer() uintptr { | 29 | func (x *InputStreamPrivate) GoPointer() uintptr { | ||
M v4/gio/giomodule.go +3 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gio | 2 | package gio | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -12,6 +13,7 @@ import ( | |||||
| 12 | ) | 13 | ) | ||
| 13 | 14 | ||||
| 14 | type IOModuleClass struct { | 15 | type IOModuleClass struct { | ||
| 16 | + | _ structs.HostLayout | |||
| 15 | } | 17 | } | ||
| 16 | 18 | ||||
| 17 | func (x *IOModuleClass) GoPointer() uintptr { | 19 | func (x *IOModuleClass) GoPointer() uintptr { | ||
| @@ -24,6 +26,7 @@ func (x *IOModuleClass) GoPointer() uintptr { | |||||
| 24 | // The scope can be used with g_io_modules_load_all_in_directory_with_scope() | 26 | // The scope can be used with g_io_modules_load_all_in_directory_with_scope() | ||
| 25 | // or g_io_modules_scan_all_in_directory_with_scope(). | 27 | // or g_io_modules_scan_all_in_directory_with_scope(). | ||
| 26 | type IOModuleScope struct { | 28 | type IOModuleScope struct { | ||
| 29 | + | _ structs.HostLayout | |||
| 27 | } | 30 | } | ||
| 28 | 31 | ||||
| 29 | func (x *IOModuleScope) GoPointer() uintptr { | 32 | func (x *IOModuleScope) GoPointer() uintptr { | ||
M v4/gio/giostream.go +4 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gio | 2 | package gio | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -12,6 +13,8 @@ import ( | |||||
| 12 | ) | 13 | ) | ||
| 13 | 14 | ||||
| 14 | type IOStreamClass struct { | 15 | type IOStreamClass struct { | ||
| 16 | + | _ structs.HostLayout | |||
| 17 | + | ||||
| 15 | ParentClass uintptr | 18 | ParentClass uintptr | ||
| 16 | } | 19 | } | ||
| 17 | 20 | ||||
| @@ -20,6 +23,7 @@ func (x *IOStreamClass) GoPointer() uintptr { | |||||
| 20 | } | 23 | } | ||
| 21 | 24 | ||||
| 22 | type IOStreamPrivate struct { | 25 | type IOStreamPrivate struct { | ||
| 26 | + | _ structs.HostLayout | |||
| 23 | } | 27 | } | ||
| 24 | 28 | ||||
| 25 | func (x *IOStreamPrivate) GoPointer() uintptr { | 29 | func (x *IOStreamPrivate) GoPointer() uintptr { | ||
M v4/gio/giotypes.go +16 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gio | 2 | package gio | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -103,6 +104,7 @@ type SocketSourceFunc func(uintptr, glib.IOCondition, uintptr) bool | |||||
| 103 | 104 | ||||
| 104 | // Determines if a string matches a file attribute. | 105 | // Determines if a string matches a file attribute. | ||
| 105 | type FileAttributeMatcher struct { | 106 | type FileAttributeMatcher struct { | ||
| 107 | + | _ structs.HostLayout | |||
| 106 | } | 108 | } | ||
| 107 | 109 | ||||
| 108 | var xFileAttributeMatcherGLibType func() types.GType | 110 | var xFileAttributeMatcherGLibType func() types.GType | ||
| @@ -236,6 +238,7 @@ func (x *FileAttributeMatcher) Unref() { | |||||
| 236 | // #GIOExtension is an opaque data structure and can only be accessed | 238 | // #GIOExtension is an opaque data structure and can only be accessed | ||
| 237 | // using the following functions. | 239 | // using the following functions. | ||
| 238 | type IOExtension struct { | 240 | type IOExtension struct { | ||
| 241 | + | _ structs.HostLayout | |||
| 239 | } | 242 | } | ||
| 240 | 243 | ||||
| 241 | func (x *IOExtension) GoPointer() uintptr { | 244 | func (x *IOExtension) GoPointer() uintptr { | ||
| @@ -285,6 +288,7 @@ func (x *IOExtension) RefClass() *gobject.TypeClass { | |||||
| 285 | // #GIOExtensionPoint is an opaque data structure and can only be accessed | 288 | // #GIOExtensionPoint is an opaque data structure and can only be accessed | ||
| 286 | // using the following functions. | 289 | // using the following functions. | ||
| 287 | type IOExtensionPoint struct { | 290 | type IOExtensionPoint struct { | ||
| 291 | + | _ structs.HostLayout | |||
| 288 | } | 292 | } | ||
| 289 | 293 | ||||
| 290 | func (x *IOExtensionPoint) GoPointer() uintptr { | 294 | func (x *IOExtensionPoint) GoPointer() uintptr { | ||
| @@ -331,6 +335,7 @@ func (x *IOExtensionPoint) SetRequiredType(TypeVar types.GType) { | |||||
| 331 | 335 | ||||
| 332 | // Opaque class for defining and scheduling IO jobs. | 336 | // Opaque class for defining and scheduling IO jobs. | ||
| 333 | type IOSchedulerJob struct { | 337 | type IOSchedulerJob struct { | ||
| 338 | + | _ structs.HostLayout | |||
| 334 | } | 339 | } | ||
| 335 | 340 | ||||
| 336 | func (x *IOSchedulerJob) GoPointer() uintptr { | 341 | func (x *IOSchedulerJob) GoPointer() uintptr { | ||
| @@ -366,6 +371,7 @@ func (x *IOSchedulerJob) SendToMainloopAsync(FuncVar *glib.SourceFunc, UserDataV | |||||
| 366 | } | 371 | } | ||
| 367 | 372 | ||||
| 368 | type IOStreamAdapter struct { | 373 | type IOStreamAdapter struct { | ||
| 374 | + | _ structs.HostLayout | |||
| 369 | } | 375 | } | ||
| 370 | 376 | ||||
| 371 | func (x *IOStreamAdapter) GoPointer() uintptr { | 377 | func (x *IOStreamAdapter) GoPointer() uintptr { | ||
| @@ -392,6 +398,8 @@ func (x *IOStreamAdapter) GoPointer() uintptr { | |||||
| 392 | // Flags relevant to this message will be returned in @flags. For example, | 398 | // Flags relevant to this message will be returned in @flags. For example, | ||
| 393 | // `MSG_EOR` or `MSG_TRUNC`. | 399 | // `MSG_EOR` or `MSG_TRUNC`. | ||
| 394 | type InputMessage struct { | 400 | type InputMessage struct { | ||
| 401 | + | _ structs.HostLayout | |||
| 402 | + | ||||
| 395 | Address **SocketAddress | 403 | Address **SocketAddress | ||
| 396 | 404 | ||||
| 397 | Vectors []InputVector | 405 | Vectors []InputVector | ||
| @@ -416,6 +424,8 @@ func (x *InputMessage) GoPointer() uintptr { | |||||
| 416 | // and the operation will store the read data starting in the | 424 | // and the operation will store the read data starting in the | ||
| 417 | // first buffer, switching to the next as needed. | 425 | // first buffer, switching to the next as needed. | ||
| 418 | type InputVector struct { | 426 | type InputVector struct { | ||
| 427 | + | _ structs.HostLayout | |||
| 428 | + | ||||
| 419 | Buffer uintptr | 429 | Buffer uintptr | ||
| 420 | 430 | ||||
| 421 | Size uint | 431 | Size uint | ||
| @@ -433,6 +443,8 @@ func (x *InputVector) GoPointer() uintptr { | |||||
| 433 | // If @address is %NULL then the message is sent to the default receiver | 443 | // If @address is %NULL then the message is sent to the default receiver | ||
| 434 | // (as previously set by g_socket_connect()). | 444 | // (as previously set by g_socket_connect()). | ||
| 435 | type OutputMessage struct { | 445 | type OutputMessage struct { | ||
| 446 | + | _ structs.HostLayout | |||
| 447 | + | ||||
| 436 | Address *SocketAddress | 448 | Address *SocketAddress | ||
| 437 | 449 | ||||
| 438 | Vectors *OutputVector | 450 | Vectors *OutputVector | ||
| @@ -455,6 +467,8 @@ func (x *OutputMessage) GoPointer() uintptr { | |||||
| 455 | // and the operation will use all the buffers as if they were | 467 | // and the operation will use all the buffers as if they were | ||
| 456 | // one buffer. | 468 | // one buffer. | ||
| 457 | type OutputVector struct { | 469 | type OutputVector struct { | ||
| 470 | + | _ structs.HostLayout | |||
| 471 | + | ||||
| 458 | Buffer uintptr | 472 | Buffer uintptr | ||
| 459 | 473 | ||||
| 460 | Size uint | 474 | Size uint | ||
| @@ -605,6 +619,7 @@ func (x *OutputVector) GoPointer() uintptr { | |||||
| 605 | // the slash should ideally be absolute, but this is not strictly required. It is possible to overlay the | 619 | // the slash should ideally be absolute, but this is not strictly required. It is possible to overlay the | ||
| 606 | // location of a single resource with an individual file. | 620 | // location of a single resource with an individual file. | ||
| 607 | type Resource struct { | 621 | type Resource struct { | ||
| 622 | + | _ structs.HostLayout | |||
| 608 | } | 623 | } | ||
| 609 | 624 | ||||
| 610 | var xResourceGLibType func() types.GType | 625 | var xResourceGLibType func() types.GType | ||
| @@ -788,6 +803,7 @@ func (x *Resource) Unref() { | |||||
| 788 | // #GSocketConnectable interface and not need to worry about | 803 | // #GSocketConnectable interface and not need to worry about | ||
| 789 | // #GSrvTarget at all. | 804 | // #GSrvTarget at all. | ||
| 790 | type SrvTarget struct { | 805 | type SrvTarget struct { | ||
| 806 | + | _ structs.HostLayout | |||
| 791 | } | 807 | } | ||
| 792 | 808 | ||||
| 793 | var xSrvTargetGLibType func() types.GType | 809 | var xSrvTargetGLibType func() types.GType | ||
M v4/gio/glistmodel.go +3 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gio | 2 | package gio | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -12,6 +13,8 @@ import ( | |||||
| 12 | 13 | ||||
| 13 | // The virtual function table for #GListModel. | 14 | // The virtual function table for #GListModel. | ||
| 14 | type ListModelInterface struct { | 15 | type ListModelInterface struct { | ||
| 16 | + | _ structs.HostLayout | |||
| 17 | + | ||||
| 15 | GIface uintptr | 18 | GIface uintptr | ||
| 16 | } | 19 | } | ||
| 17 | 20 | ||||
M v4/gio/gliststore.go +3 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gio | 2 | package gio | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -12,6 +13,8 @@ import ( | |||||
| 12 | ) | 13 | ) | ||
| 13 | 14 | ||||
| 14 | type ListStoreClass struct { | 15 | type ListStoreClass struct { | ||
| 16 | + | _ structs.HostLayout | |||
| 17 | + | ||||
| 15 | ParentClass uintptr | 18 | ParentClass uintptr | ||
| 16 | } | 19 | } | ||
| 17 | 20 | ||||
M v4/gio/gloadableicon.go +3 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gio | 2 | package gio | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -12,6 +13,8 @@ import ( | |||||
| 12 | 13 | ||||
| 13 | // Interface for icons that can be loaded as a stream. | 14 | // Interface for icons that can be loaded as a stream. | ||
| 14 | type LoadableIconIface struct { | 15 | type LoadableIconIface struct { | ||
| 16 | + | _ structs.HostLayout | |||
| 17 | + | ||||
| 15 | GIface uintptr | 18 | GIface uintptr | ||
| 16 | } | 19 | } | ||
| 17 | 20 | ||||
M v4/gio/gmemoryinputstream.go +4 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gio | 2 | package gio | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -11,6 +12,8 @@ import ( | |||||
| 11 | ) | 12 | ) | ||
| 12 | 13 | ||||
| 13 | type MemoryInputStreamClass struct { | 14 | type MemoryInputStreamClass struct { | ||
| 15 | + | _ structs.HostLayout | |||
| 16 | + | ||||
| 14 | ParentClass uintptr | 17 | ParentClass uintptr | ||
| 15 | } | 18 | } | ||
| 16 | 19 | ||||
| @@ -19,6 +22,7 @@ func (x *MemoryInputStreamClass) GoPointer() uintptr { | |||||
| 19 | } | 22 | } | ||
| 20 | 23 | ||||
| 21 | type MemoryInputStreamPrivate struct { | 24 | type MemoryInputStreamPrivate struct { | ||
| 25 | + | _ structs.HostLayout | |||
| 22 | } | 26 | } | ||
| 23 | 27 | ||||
| 24 | func (x *MemoryInputStreamPrivate) GoPointer() uintptr { | 28 | func (x *MemoryInputStreamPrivate) GoPointer() uintptr { | ||
M v4/gio/gmemorymonitor.go +3 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gio | 2 | package gio | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -11,6 +12,8 @@ import ( | |||||
| 11 | 12 | ||||
| 12 | // The virtual function table for #GMemoryMonitor. | 13 | // The virtual function table for #GMemoryMonitor. | ||
| 13 | type MemoryMonitorInterface struct { | 14 | type MemoryMonitorInterface struct { | ||
| 15 | + | _ structs.HostLayout | |||
| 16 | + | ||||
| 14 | GIface uintptr | 17 | GIface uintptr | ||
| 15 | } | 18 | } | ||
| 16 | 19 | ||||
M v4/gio/gmemoryoutputstream.go +4 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gio | 2 | package gio | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -17,6 +18,8 @@ import ( | |||||
| 17 | type ReallocFunc func(uintptr, uint) uintptr | 18 | type ReallocFunc func(uintptr, uint) uintptr | ||
| 18 | 19 | ||||
| 19 | type MemoryOutputStreamClass struct { | 20 | type MemoryOutputStreamClass struct { | ||
| 21 | + | _ structs.HostLayout | |||
| 22 | + | ||||
| 20 | ParentClass uintptr | 23 | ParentClass uintptr | ||
| 21 | } | 24 | } | ||
| 22 | 25 | ||||
| @@ -25,6 +28,7 @@ func (x *MemoryOutputStreamClass) GoPointer() uintptr { | |||||
| 25 | } | 28 | } | ||
| 26 | 29 | ||||
| 27 | type MemoryOutputStreamPrivate struct { | 30 | type MemoryOutputStreamPrivate struct { | ||
| 31 | + | _ structs.HostLayout | |||
| 28 | } | 32 | } | ||
| 29 | 33 | ||||
| 30 | func (x *MemoryOutputStreamPrivate) GoPointer() uintptr { | 34 | func (x *MemoryOutputStreamPrivate) GoPointer() uintptr { | ||
M v4/gio/gmenumodel.go +10 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gio | 2 | package gio | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -12,6 +13,8 @@ import ( | |||||
| 12 | ) | 13 | ) | ||
| 13 | 14 | ||||
| 14 | type MenuAttributeIterClass struct { | 15 | type MenuAttributeIterClass struct { | ||
| 16 | + | _ structs.HostLayout | |||
| 17 | + | ||||
| 15 | ParentClass uintptr | 18 | ParentClass uintptr | ||
| 16 | } | 19 | } | ||
| 17 | 20 | ||||
| @@ -20,6 +23,7 @@ func (x *MenuAttributeIterClass) GoPointer() uintptr { | |||||
| 20 | } | 23 | } | ||
| 21 | 24 | ||||
| 22 | type MenuAttributeIterPrivate struct { | 25 | type MenuAttributeIterPrivate struct { | ||
| 26 | + | _ structs.HostLayout | |||
| 23 | } | 27 | } | ||
| 24 | 28 | ||||
| 25 | func (x *MenuAttributeIterPrivate) GoPointer() uintptr { | 29 | func (x *MenuAttributeIterPrivate) GoPointer() uintptr { | ||
| @@ -27,6 +31,8 @@ func (x *MenuAttributeIterPrivate) GoPointer() uintptr { | |||||
| 27 | } | 31 | } | ||
| 28 | 32 | ||||
| 29 | type MenuLinkIterClass struct { | 33 | type MenuLinkIterClass struct { | ||
| 34 | + | _ structs.HostLayout | |||
| 35 | + | ||||
| 30 | ParentClass uintptr | 36 | ParentClass uintptr | ||
| 31 | } | 37 | } | ||
| 32 | 38 | ||||
| @@ -35,6 +41,7 @@ func (x *MenuLinkIterClass) GoPointer() uintptr { | |||||
| 35 | } | 41 | } | ||
| 36 | 42 | ||||
| 37 | type MenuLinkIterPrivate struct { | 43 | type MenuLinkIterPrivate struct { | ||
| 44 | + | _ structs.HostLayout | |||
| 38 | } | 45 | } | ||
| 39 | 46 | ||||
| 40 | func (x *MenuLinkIterPrivate) GoPointer() uintptr { | 47 | func (x *MenuLinkIterPrivate) GoPointer() uintptr { | ||
| @@ -42,6 +49,8 @@ func (x *MenuLinkIterPrivate) GoPointer() uintptr { | |||||
| 42 | } | 49 | } | ||
| 43 | 50 | ||||
| 44 | type MenuModelClass struct { | 51 | type MenuModelClass struct { | ||
| 52 | + | _ structs.HostLayout | |||
| 53 | + | ||||
| 45 | ParentClass uintptr | 54 | ParentClass uintptr | ||
| 46 | } | 55 | } | ||
| 47 | 56 | ||||
| @@ -50,6 +59,7 @@ func (x *MenuModelClass) GoPointer() uintptr { | |||||
| 50 | } | 59 | } | ||
| 51 | 60 | ||||
| 52 | type MenuModelPrivate struct { | 61 | type MenuModelPrivate struct { | ||
| 62 | + | _ structs.HostLayout | |||
| 53 | } | 63 | } | ||
| 54 | 64 | ||||
| 55 | func (x *MenuModelPrivate) GoPointer() uintptr { | 65 | func (x *MenuModelPrivate) GoPointer() uintptr { | ||
M v4/gio/gmount.go +3 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gio | 2 | package gio | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -12,6 +13,8 @@ import ( | |||||
| 12 | 13 | ||||
| 13 | // Interface for implementing operations for mounts. | 14 | // Interface for implementing operations for mounts. | ||
| 14 | type MountIface struct { | 15 | type MountIface struct { | ||
| 16 | + | _ structs.HostLayout | |||
| 17 | + | ||||
| 15 | GIface uintptr | 18 | GIface uintptr | ||
| 16 | } | 19 | } | ||
| 17 | 20 | ||||
M v4/gio/gmountoperation.go +4 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gio | 2 | package gio | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -12,6 +13,8 @@ import ( | |||||
| 12 | ) | 13 | ) | ||
| 13 | 14 | ||||
| 14 | type MountOperationClass struct { | 15 | type MountOperationClass struct { | ||
| 16 | + | _ structs.HostLayout | |||
| 17 | + | ||||
| 15 | ParentClass uintptr | 18 | ParentClass uintptr | ||
| 16 | } | 19 | } | ||
| 17 | 20 | ||||
| @@ -20,6 +23,7 @@ func (x *MountOperationClass) GoPointer() uintptr { | |||||
| 20 | } | 23 | } | ||
| 21 | 24 | ||||
| 22 | type MountOperationPrivate struct { | 25 | type MountOperationPrivate struct { | ||
| 26 | + | _ structs.HostLayout | |||
| 23 | } | 27 | } | ||
| 24 | 28 | ||||
| 25 | func (x *MountOperationPrivate) GoPointer() uintptr { | 29 | func (x *MountOperationPrivate) GoPointer() uintptr { | ||
M v4/gio/gnativesocketaddress.go +4 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gio | 2 | package gio | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -10,6 +11,8 @@ import ( | |||||
| 10 | ) | 11 | ) | ||
| 11 | 12 | ||||
| 12 | type NativeSocketAddressClass struct { | 13 | type NativeSocketAddressClass struct { | ||
| 14 | + | _ structs.HostLayout | |||
| 15 | + | ||||
| 13 | ParentClass uintptr | 16 | ParentClass uintptr | ||
| 14 | } | 17 | } | ||
| 15 | 18 | ||||
| @@ -18,6 +21,7 @@ func (x *NativeSocketAddressClass) GoPointer() uintptr { | |||||
| 18 | } | 21 | } | ||
| 19 | 22 | ||||
| 20 | type NativeSocketAddressPrivate struct { | 23 | type NativeSocketAddressPrivate struct { | ||
| 24 | + | _ structs.HostLayout | |||
| 21 | } | 25 | } | ||
| 22 | 26 | ||||
| 23 | func (x *NativeSocketAddressPrivate) GoPointer() uintptr { | 27 | func (x *NativeSocketAddressPrivate) GoPointer() uintptr { | ||
M v4/gio/gnativevolumemonitor.go +3 -0
| @@ -2,12 +2,15 @@ | |||||
| 2 | package gio | 2 | package gio | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/puregotk/v4/gobject/types" | 8 | "github.com/jwijenbergh/puregotk/v4/gobject/types" | ||
| 8 | ) | 9 | ) | ||
| 9 | 10 | ||||
| 10 | type NativeVolumeMonitorClass struct { | 11 | type NativeVolumeMonitorClass struct { | ||
| 12 | + | _ structs.HostLayout | |||
| 13 | + | ||||
| 11 | ParentClass uintptr | 14 | ParentClass uintptr | ||
| 12 | } | 15 | } | ||
| 13 | 16 | ||||
M v4/gio/gnetworkaddress.go +4 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gio | 2 | package gio | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -12,6 +13,8 @@ import ( | |||||
| 12 | ) | 13 | ) | ||
| 13 | 14 | ||||
| 14 | type NetworkAddressClass struct { | 15 | type NetworkAddressClass struct { | ||
| 16 | + | _ structs.HostLayout | |||
| 17 | + | ||||
| 15 | ParentClass uintptr | 18 | ParentClass uintptr | ||
| 16 | } | 19 | } | ||
| 17 | 20 | ||||
| @@ -20,6 +23,7 @@ func (x *NetworkAddressClass) GoPointer() uintptr { | |||||
| 20 | } | 23 | } | ||
| 21 | 24 | ||||
| 22 | type NetworkAddressPrivate struct { | 25 | type NetworkAddressPrivate struct { | ||
| 26 | + | _ structs.HostLayout | |||
| 23 | } | 27 | } | ||
| 24 | 28 | ||||
| 25 | func (x *NetworkAddressPrivate) GoPointer() uintptr { | 29 | func (x *NetworkAddressPrivate) GoPointer() uintptr { | ||
M v4/gio/gnetworkmonitor.go +3 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gio | 2 | package gio | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -13,6 +14,8 @@ import ( | |||||
| 13 | 14 | ||||
| 14 | // The virtual function table for #GNetworkMonitor. | 15 | // The virtual function table for #GNetworkMonitor. | ||
| 15 | type NetworkMonitorInterface struct { | 16 | type NetworkMonitorInterface struct { | ||
| 17 | + | _ structs.HostLayout | |||
| 18 | + | ||||
| 16 | GIface uintptr | 19 | GIface uintptr | ||
| 17 | } | 20 | } | ||
| 18 | 21 | ||||
M v4/gio/gnetworkservice.go +4 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gio | 2 | package gio | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -11,6 +12,8 @@ import ( | |||||
| 11 | ) | 12 | ) | ||
| 12 | 13 | ||||
| 13 | type NetworkServiceClass struct { | 14 | type NetworkServiceClass struct { | ||
| 15 | + | _ structs.HostLayout | |||
| 16 | + | ||||
| 14 | ParentClass uintptr | 17 | ParentClass uintptr | ||
| 15 | } | 18 | } | ||
| 16 | 19 | ||||
| @@ -19,6 +22,7 @@ func (x *NetworkServiceClass) GoPointer() uintptr { | |||||
| 19 | } | 22 | } | ||
| 20 | 23 | ||||
| 21 | type NetworkServicePrivate struct { | 24 | type NetworkServicePrivate struct { | ||
| 25 | + | _ structs.HostLayout | |||
| 22 | } | 26 | } | ||
| 23 | 27 | ||||
| 24 | func (x *NetworkServicePrivate) GoPointer() uintptr { | 28 | func (x *NetworkServicePrivate) GoPointer() uintptr { | ||
M v4/gio/goutputstream.go +4 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gio | 2 | package gio | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -12,6 +13,8 @@ import ( | |||||
| 12 | ) | 13 | ) | ||
| 13 | 14 | ||||
| 14 | type OutputStreamClass struct { | 15 | type OutputStreamClass struct { | ||
| 16 | + | _ structs.HostLayout | |||
| 17 | + | ||||
| 15 | ParentClass uintptr | 18 | ParentClass uintptr | ||
| 16 | } | 19 | } | ||
| 17 | 20 | ||||
| @@ -20,6 +23,7 @@ func (x *OutputStreamClass) GoPointer() uintptr { | |||||
| 20 | } | 23 | } | ||
| 21 | 24 | ||||
| 22 | type OutputStreamPrivate struct { | 25 | type OutputStreamPrivate struct { | ||
| 26 | + | _ structs.HostLayout | |||
| 23 | } | 27 | } | ||
| 24 | 28 | ||||
| 25 | func (x *OutputStreamPrivate) GoPointer() uintptr { | 29 | func (x *OutputStreamPrivate) GoPointer() uintptr { | ||
M v4/gio/gpermission.go +4 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gio | 2 | package gio | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -12,6 +13,8 @@ import ( | |||||
| 12 | ) | 13 | ) | ||
| 13 | 14 | ||||
| 14 | type PermissionClass struct { | 15 | type PermissionClass struct { | ||
| 16 | + | _ structs.HostLayout | |||
| 17 | + | ||||
| 15 | ParentClass uintptr | 18 | ParentClass uintptr | ||
| 16 | 19 | ||||
| 17 | Reserved [16]uintptr | 20 | Reserved [16]uintptr | ||
| @@ -22,6 +25,7 @@ func (x *PermissionClass) GoPointer() uintptr { | |||||
| 22 | } | 25 | } | ||
| 23 | 26 | ||||
| 24 | type PermissionPrivate struct { | 27 | type PermissionPrivate struct { | ||
| 28 | + | _ structs.HostLayout | |||
| 25 | } | 29 | } | ||
| 26 | 30 | ||||
| 27 | func (x *PermissionPrivate) GoPointer() uintptr { | 31 | func (x *PermissionPrivate) GoPointer() uintptr { | ||
M v4/gio/gpollableinputstream.go +3 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gio | 2 | package gio | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -21,6 +22,8 @@ import ( | |||||
| 21 | // implementation may return %TRUE when the stream is not actually | 22 | // implementation may return %TRUE when the stream is not actually | ||
| 22 | // readable. | 23 | // readable. | ||
| 23 | type PollableInputStreamInterface struct { | 24 | type PollableInputStreamInterface struct { | ||
| 25 | + | _ structs.HostLayout | |||
| 26 | + | ||||
| 24 | GIface uintptr | 27 | GIface uintptr | ||
| 25 | } | 28 | } | ||
| 26 | 29 | ||||
M v4/gio/gpollableoutputstream.go +3 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gio | 2 | package gio | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -27,6 +28,8 @@ import ( | |||||
| 27 | // override this where possible to avoid having to allocate a #GError to return | 28 | // override this where possible to avoid having to allocate a #GError to return | ||
| 28 | // %G_IO_ERROR_WOULD_BLOCK. | 29 | // %G_IO_ERROR_WOULD_BLOCK. | ||
| 29 | type PollableOutputStreamInterface struct { | 30 | type PollableOutputStreamInterface struct { | ||
| 31 | + | _ structs.HostLayout | |||
| 32 | + | ||||
| 30 | GIface uintptr | 33 | GIface uintptr | ||
| 31 | } | 34 | } | ||
| 32 | 35 | ||||
M v4/gio/gpowerprofilemonitor.go +3 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gio | 2 | package gio | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -11,6 +12,8 @@ import ( | |||||
| 11 | 12 | ||||
| 12 | // The virtual function table for #GPowerProfileMonitor. | 13 | // The virtual function table for #GPowerProfileMonitor. | ||
| 13 | type PowerProfileMonitorInterface struct { | 14 | type PowerProfileMonitorInterface struct { | ||
| 15 | + | _ structs.HostLayout | |||
| 16 | + | ||||
| 14 | GIface uintptr | 17 | GIface uintptr | ||
| 15 | } | 18 | } | ||
| 16 | 19 | ||||
M v4/gio/gproxy.go +3 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gio | 2 | package gio | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -12,6 +13,8 @@ import ( | |||||
| 12 | 13 | ||||
| 13 | // Provides an interface for handling proxy connection and payload. | 14 | // Provides an interface for handling proxy connection and payload. | ||
| 14 | type ProxyInterface struct { | 15 | type ProxyInterface struct { | ||
| 16 | + | _ structs.HostLayout | |||
| 17 | + | ||||
| 15 | GIface uintptr | 18 | GIface uintptr | ||
| 16 | } | 19 | } | ||
| 17 | 20 | ||||
M v4/gio/gproxyaddress.go +4 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gio | 2 | package gio | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -11,6 +12,8 @@ import ( | |||||
| 11 | 12 | ||||
| 12 | // Class structure for #GProxyAddress. | 13 | // Class structure for #GProxyAddress. | ||
| 13 | type ProxyAddressClass struct { | 14 | type ProxyAddressClass struct { | ||
| 15 | + | _ structs.HostLayout | |||
| 16 | + | ||||
| 14 | ParentClass uintptr | 17 | ParentClass uintptr | ||
| 15 | } | 18 | } | ||
| 16 | 19 | ||||
| @@ -19,6 +22,7 @@ func (x *ProxyAddressClass) GoPointer() uintptr { | |||||
| 19 | } | 22 | } | ||
| 20 | 23 | ||||
| 21 | type ProxyAddressPrivate struct { | 24 | type ProxyAddressPrivate struct { | ||
| 25 | + | _ structs.HostLayout | |||
| 22 | } | 26 | } | ||
| 23 | 27 | ||||
| 24 | func (x *ProxyAddressPrivate) GoPointer() uintptr { | 28 | func (x *ProxyAddressPrivate) GoPointer() uintptr { | ||
M v4/gio/gproxyaddressenumerator.go +4 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gio | 2 | package gio | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/puregotk/v4/gobject/types" | 8 | "github.com/jwijenbergh/puregotk/v4/gobject/types" | ||
| @@ -9,6 +10,8 @@ import ( | |||||
| 9 | 10 | ||||
| 10 | // Class structure for #GProxyAddressEnumerator. | 11 | // Class structure for #GProxyAddressEnumerator. | ||
| 11 | type ProxyAddressEnumeratorClass struct { | 12 | type ProxyAddressEnumeratorClass struct { | ||
| 13 | + | _ structs.HostLayout | |||
| 14 | + | ||||
| 12 | ParentClass uintptr | 15 | ParentClass uintptr | ||
| 13 | } | 16 | } | ||
| 14 | 17 | ||||
| @@ -17,6 +20,7 @@ func (x *ProxyAddressEnumeratorClass) GoPointer() uintptr { | |||||
| 17 | } | 20 | } | ||
| 18 | 21 | ||||
| 19 | type ProxyAddressEnumeratorPrivate struct { | 22 | type ProxyAddressEnumeratorPrivate struct { | ||
| 23 | + | _ structs.HostLayout | |||
| 20 | } | 24 | } | ||
| 21 | 25 | ||||
| 22 | func (x *ProxyAddressEnumeratorPrivate) GoPointer() uintptr { | 26 | func (x *ProxyAddressEnumeratorPrivate) GoPointer() uintptr { | ||
M v4/gio/gproxyresolver.go +3 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gio | 2 | package gio | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -13,6 +14,8 @@ import ( | |||||
| 13 | 14 | ||||
| 14 | // The virtual function table for #GProxyResolver. | 15 | // The virtual function table for #GProxyResolver. | ||
| 15 | type ProxyResolverInterface struct { | 16 | type ProxyResolverInterface struct { | ||
| 17 | + | _ structs.HostLayout | |||
| 18 | + | ||||
| 16 | GIface uintptr | 19 | GIface uintptr | ||
| 17 | } | 20 | } | ||
| 18 | 21 | ||||
M v4/gio/gremoteactiongroup.go +3 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gio | 2 | package gio | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -12,6 +13,8 @@ import ( | |||||
| 12 | 13 | ||||
| 13 | // The virtual function table for #GRemoteActionGroup. | 14 | // The virtual function table for #GRemoteActionGroup. | ||
| 14 | type RemoteActionGroupInterface struct { | 15 | type RemoteActionGroupInterface struct { | ||
| 16 | + | _ structs.HostLayout | |||
| 17 | + | ||||
| 15 | GIface uintptr | 18 | GIface uintptr | ||
| 16 | } | 19 | } | ||
| 17 | 20 | ||||
M v4/gio/gresolver.go +4 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gio | 2 | package gio | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -12,6 +13,8 @@ import ( | |||||
| 12 | ) | 13 | ) | ||
| 13 | 14 | ||||
| 14 | type ResolverClass struct { | 15 | type ResolverClass struct { | ||
| 16 | + | _ structs.HostLayout | |||
| 17 | + | ||||
| 15 | ParentClass uintptr | 18 | ParentClass uintptr | ||
| 16 | } | 19 | } | ||
| 17 | 20 | ||||
| @@ -20,6 +23,7 @@ func (x *ResolverClass) GoPointer() uintptr { | |||||
| 20 | } | 23 | } | ||
| 21 | 24 | ||||
| 22 | type ResolverPrivate struct { | 25 | type ResolverPrivate struct { | ||
| 26 | + | _ structs.HostLayout | |||
| 23 | } | 27 | } | ||
| 24 | 28 | ||||
| 25 | func (x *ResolverPrivate) GoPointer() uintptr { | 29 | func (x *ResolverPrivate) GoPointer() uintptr { | ||
M v4/gio/gresource.go +3 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gio | 2 | package gio | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -12,6 +13,8 @@ import ( | |||||
| 12 | // #GStaticResource is an opaque data structure and can only be accessed | 13 | // #GStaticResource is an opaque data structure and can only be accessed | ||
| 13 | // using the following functions. | 14 | // using the following functions. | ||
| 14 | type StaticResource struct { | 15 | type StaticResource struct { | ||
| 16 | + | _ structs.HostLayout | |||
| 17 | + | ||||
| 15 | Data byte | 18 | Data byte | ||
| 16 | 19 | ||||
| 17 | DataLen uint | 20 | DataLen uint | ||
M v4/gio/gseekable.go +3 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gio | 2 | package gio | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -12,6 +13,8 @@ import ( | |||||
| 12 | 13 | ||||
| 13 | // Provides an interface for implementing seekable functionality on I/O Streams. | 14 | // Provides an interface for implementing seekable functionality on I/O Streams. | ||
| 14 | type SeekableIface struct { | 15 | type SeekableIface struct { | ||
| 16 | + | _ structs.HostLayout | |||
| 17 | + | ||||
| 15 | GIface uintptr | 18 | GIface uintptr | ||
| 16 | } | 19 | } | ||
| 17 | 20 | ||||
M v4/gio/gsettings.go +4 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gio | 2 | package gio | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -33,6 +34,8 @@ type SettingsBindSetMapping func(*gobject.Value, *glib.VariantType, uintptr) *gl | |||||
| 33 | type SettingsGetMapping func(*glib.Variant, uintptr, uintptr) bool | 34 | type SettingsGetMapping func(*glib.Variant, uintptr, uintptr) bool | ||
| 34 | 35 | ||||
| 35 | type SettingsClass struct { | 36 | type SettingsClass struct { | ||
| 37 | + | _ structs.HostLayout | |||
| 38 | + | ||||
| 36 | ParentClass uintptr | 39 | ParentClass uintptr | ||
| 37 | 40 | ||||
| 38 | Padding [20]uintptr | 41 | Padding [20]uintptr | ||
| @@ -43,6 +46,7 @@ func (x *SettingsClass) GoPointer() uintptr { | |||||
| 43 | } | 46 | } | ||
| 44 | 47 | ||||
| 45 | type SettingsPrivate struct { | 48 | type SettingsPrivate struct { | ||
| 49 | + | _ structs.HostLayout | |||
| 46 | } | 50 | } | ||
| 47 | 51 | ||||
| 48 | func (x *SettingsPrivate) GoPointer() uintptr { | 52 | func (x *SettingsPrivate) GoPointer() uintptr { | ||
M v4/gio/gsettingsbackend.go +4 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gio | 2 | package gio | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -13,6 +14,8 @@ import ( | |||||
| 13 | 14 | ||||
| 14 | // Class structure for #GSettingsBackend. | 15 | // Class structure for #GSettingsBackend. | ||
| 15 | type SettingsBackendClass struct { | 16 | type SettingsBackendClass struct { | ||
| 17 | + | _ structs.HostLayout | |||
| 18 | + | ||||
| 16 | ParentClass uintptr | 19 | ParentClass uintptr | ||
| 17 | 20 | ||||
| 18 | Padding [23]uintptr | 21 | Padding [23]uintptr | ||
| @@ -23,6 +26,7 @@ func (x *SettingsBackendClass) GoPointer() uintptr { | |||||
| 23 | } | 26 | } | ||
| 24 | 27 | ||||
| 25 | type SettingsBackendPrivate struct { | 28 | type SettingsBackendPrivate struct { | ||
| 29 | + | _ structs.HostLayout | |||
| 26 | } | 30 | } | ||
| 27 | 31 | ||||
| 28 | func (x *SettingsBackendPrivate) GoPointer() uintptr { | 32 | func (x *SettingsBackendPrivate) GoPointer() uintptr { | ||
M v4/gio/gsettingsschema.go +4 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gio | 2 | package gio | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -108,6 +109,7 @@ import ( | |||||
| 108 | // In that case, the plugin loading system must compile the schemas for | 109 | // In that case, the plugin loading system must compile the schemas for | ||
| 109 | // itself before attempting to create the settings source. | 110 | // itself before attempting to create the settings source. | ||
| 110 | type SettingsSchema struct { | 111 | type SettingsSchema struct { | ||
| 112 | + | _ structs.HostLayout | |||
| 111 | } | 113 | } | ||
| 112 | 114 | ||||
| 113 | var xSettingsSchemaGLibType func() types.GType | 115 | var xSettingsSchemaGLibType func() types.GType | ||
| @@ -213,6 +215,7 @@ func (x *SettingsSchema) Unref() { | |||||
| 213 | // #GSettingsSchemaKey is an opaque data structure and can only be accessed | 215 | // #GSettingsSchemaKey is an opaque data structure and can only be accessed | ||
| 214 | // using the following functions. | 216 | // using the following functions. | ||
| 215 | type SettingsSchemaKey struct { | 217 | type SettingsSchemaKey struct { | ||
| 218 | + | _ structs.HostLayout | |||
| 216 | } | 219 | } | ||
| 217 | 220 | ||||
| 218 | var xSettingsSchemaKeyGLibType func() types.GType | 221 | var xSettingsSchemaKeyGLibType func() types.GType | ||
| @@ -375,6 +378,7 @@ func (x *SettingsSchemaKey) Unref() { | |||||
| 375 | 378 | ||||
| 376 | // This is an opaque structure type. You may not access it directly. | 379 | // This is an opaque structure type. You may not access it directly. | ||
| 377 | type SettingsSchemaSource struct { | 380 | type SettingsSchemaSource struct { | ||
| 381 | + | _ structs.HostLayout | |||
| 378 | } | 382 | } | ||
| 379 | 383 | ||||
| 380 | var xSettingsSchemaSourceGLibType func() types.GType | 384 | var xSettingsSchemaSourceGLibType func() types.GType | ||
M v4/gio/gsimpleactiongroup.go +4 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gio | 2 | package gio | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -12,6 +13,8 @@ import ( | |||||
| 12 | ) | 13 | ) | ||
| 13 | 14 | ||||
| 14 | type SimpleActionGroupClass struct { | 15 | type SimpleActionGroupClass struct { | ||
| 16 | + | _ structs.HostLayout | |||
| 17 | + | ||||
| 15 | ParentClass uintptr | 18 | ParentClass uintptr | ||
| 16 | 19 | ||||
| 17 | Padding [12]uintptr | 20 | Padding [12]uintptr | ||
| @@ -22,6 +25,7 @@ func (x *SimpleActionGroupClass) GoPointer() uintptr { | |||||
| 22 | } | 25 | } | ||
| 23 | 26 | ||||
| 24 | type SimpleActionGroupPrivate struct { | 27 | type SimpleActionGroupPrivate struct { | ||
| 28 | + | _ structs.HostLayout | |||
| 25 | } | 29 | } | ||
| 26 | 30 | ||||
| 27 | func (x *SimpleActionGroupPrivate) GoPointer() uintptr { | 31 | func (x *SimpleActionGroupPrivate) GoPointer() uintptr { | ||
M v4/gio/gsimpleasyncresult.go +2 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gio | 2 | package gio | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -12,6 +13,7 @@ import ( | |||||
| 12 | ) | 13 | ) | ||
| 13 | 14 | ||||
| 14 | type SimpleAsyncResultClass struct { | 15 | type SimpleAsyncResultClass struct { | ||
| 16 | + | _ structs.HostLayout | |||
| 15 | } | 17 | } | ||
| 16 | 18 | ||||
| 17 | func (x *SimpleAsyncResultClass) GoPointer() uintptr { | 19 | func (x *SimpleAsyncResultClass) GoPointer() uintptr { | ||
M v4/gio/gsimpleproxyresolver.go +4 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gio | 2 | package gio | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -12,6 +13,8 @@ import ( | |||||
| 12 | ) | 13 | ) | ||
| 13 | 14 | ||||
| 14 | type SimpleProxyResolverClass struct { | 15 | type SimpleProxyResolverClass struct { | ||
| 16 | + | _ structs.HostLayout | |||
| 17 | + | ||||
| 15 | ParentClass uintptr | 18 | ParentClass uintptr | ||
| 16 | } | 19 | } | ||
| 17 | 20 | ||||
| @@ -20,6 +23,7 @@ func (x *SimpleProxyResolverClass) GoPointer() uintptr { | |||||
| 20 | } | 23 | } | ||
| 21 | 24 | ||||
| 22 | type SimpleProxyResolverPrivate struct { | 25 | type SimpleProxyResolverPrivate struct { | ||
| 26 | + | _ structs.HostLayout | |||
| 23 | } | 27 | } | ||
| 24 | 28 | ||||
| 25 | func (x *SimpleProxyResolverPrivate) GoPointer() uintptr { | 29 | func (x *SimpleProxyResolverPrivate) GoPointer() uintptr { | ||
M v4/gio/gsocket.go +4 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gio | 2 | package gio | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -12,6 +13,8 @@ import ( | |||||
| 12 | ) | 13 | ) | ||
| 13 | 14 | ||||
| 14 | type SocketClass struct { | 15 | type SocketClass struct { | ||
| 16 | + | _ structs.HostLayout | |||
| 17 | + | ||||
| 15 | ParentClass uintptr | 18 | ParentClass uintptr | ||
| 16 | } | 19 | } | ||
| 17 | 20 | ||||
| @@ -20,6 +23,7 @@ func (x *SocketClass) GoPointer() uintptr { | |||||
| 20 | } | 23 | } | ||
| 21 | 24 | ||||
| 22 | type SocketPrivate struct { | 25 | type SocketPrivate struct { | ||
| 26 | + | _ structs.HostLayout | |||
| 23 | } | 27 | } | ||
| 24 | 28 | ||||
| 25 | func (x *SocketPrivate) GoPointer() uintptr { | 29 | func (x *SocketPrivate) GoPointer() uintptr { | ||
M v4/gio/gsocketaddress.go +3 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gio | 2 | package gio | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -12,6 +13,8 @@ import ( | |||||
| 12 | ) | 13 | ) | ||
| 13 | 14 | ||||
| 14 | type SocketAddressClass struct { | 15 | type SocketAddressClass struct { | ||
| 16 | + | _ structs.HostLayout | |||
| 17 | + | ||||
| 15 | ParentClass uintptr | 18 | ParentClass uintptr | ||
| 16 | } | 19 | } | ||
| 17 | 20 | ||||
M v4/gio/gsocketaddressenumerator.go +3 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gio | 2 | package gio | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -13,6 +14,8 @@ import ( | |||||
| 13 | 14 | ||||
| 14 | // Class structure for #GSocketAddressEnumerator. | 15 | // Class structure for #GSocketAddressEnumerator. | ||
| 15 | type SocketAddressEnumeratorClass struct { | 16 | type SocketAddressEnumeratorClass struct { | ||
| 17 | + | _ structs.HostLayout | |||
| 18 | + | ||||
| 16 | ParentClass uintptr | 19 | ParentClass uintptr | ||
| 17 | } | 20 | } | ||
| 18 | 21 | ||||
M v4/gio/gsocketclient.go +4 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gio | 2 | package gio | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -12,6 +13,8 @@ import ( | |||||
| 12 | ) | 13 | ) | ||
| 13 | 14 | ||||
| 14 | type SocketClientClass struct { | 15 | type SocketClientClass struct { | ||
| 16 | + | _ structs.HostLayout | |||
| 17 | + | ||||
| 15 | ParentClass uintptr | 18 | ParentClass uintptr | ||
| 16 | } | 19 | } | ||
| 17 | 20 | ||||
| @@ -20,6 +23,7 @@ func (x *SocketClientClass) GoPointer() uintptr { | |||||
| 20 | } | 23 | } | ||
| 21 | 24 | ||||
| 22 | type SocketClientPrivate struct { | 25 | type SocketClientPrivate struct { | ||
| 26 | + | _ structs.HostLayout | |||
| 23 | } | 27 | } | ||
| 24 | 28 | ||||
| 25 | func (x *SocketClientPrivate) GoPointer() uintptr { | 29 | func (x *SocketClientPrivate) GoPointer() uintptr { | ||
M v4/gio/gsocketconnectable.go +3 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gio | 2 | package gio | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -12,6 +13,8 @@ import ( | |||||
| 12 | // Provides an interface for returning a #GSocketAddressEnumerator | 13 | // Provides an interface for returning a #GSocketAddressEnumerator | ||
| 13 | // and #GProxyAddressEnumerator | 14 | // and #GProxyAddressEnumerator | ||
| 14 | type SocketConnectableIface struct { | 15 | type SocketConnectableIface struct { | ||
| 16 | + | _ structs.HostLayout | |||
| 17 | + | ||||
| 15 | GIface uintptr | 18 | GIface uintptr | ||
| 16 | } | 19 | } | ||
| 17 | 20 | ||||
M v4/gio/gsocketconnection.go +4 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gio | 2 | package gio | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -12,6 +13,8 @@ import ( | |||||
| 12 | ) | 13 | ) | ||
| 13 | 14 | ||||
| 14 | type SocketConnectionClass struct { | 15 | type SocketConnectionClass struct { | ||
| 16 | + | _ structs.HostLayout | |||
| 17 | + | ||||
| 15 | ParentClass uintptr | 18 | ParentClass uintptr | ||
| 16 | } | 19 | } | ||
| 17 | 20 | ||||
| @@ -20,6 +23,7 @@ func (x *SocketConnectionClass) GoPointer() uintptr { | |||||
| 20 | } | 23 | } | ||
| 21 | 24 | ||||
| 22 | type SocketConnectionPrivate struct { | 25 | type SocketConnectionPrivate struct { | ||
| 26 | + | _ structs.HostLayout | |||
| 23 | } | 27 | } | ||
| 24 | 28 | ||||
| 25 | func (x *SocketConnectionPrivate) GoPointer() uintptr { | 29 | func (x *SocketConnectionPrivate) GoPointer() uintptr { | ||
M v4/gio/gsocketcontrolmessage.go +4 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gio | 2 | package gio | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -12,6 +13,8 @@ import ( | |||||
| 12 | 13 | ||||
| 13 | // Class structure for #GSocketControlMessage. | 14 | // Class structure for #GSocketControlMessage. | ||
| 14 | type SocketControlMessageClass struct { | 15 | type SocketControlMessageClass struct { | ||
| 16 | + | _ structs.HostLayout | |||
| 17 | + | ||||
| 15 | ParentClass uintptr | 18 | ParentClass uintptr | ||
| 16 | } | 19 | } | ||
| 17 | 20 | ||||
| @@ -20,6 +23,7 @@ func (x *SocketControlMessageClass) GoPointer() uintptr { | |||||
| 20 | } | 23 | } | ||
| 21 | 24 | ||||
| 22 | type SocketControlMessagePrivate struct { | 25 | type SocketControlMessagePrivate struct { | ||
| 26 | + | _ structs.HostLayout | |||
| 23 | } | 27 | } | ||
| 24 | 28 | ||||
| 25 | func (x *SocketControlMessagePrivate) GoPointer() uintptr { | 29 | func (x *SocketControlMessagePrivate) GoPointer() uintptr { | ||
M v4/gio/gsocketlistener.go +4 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gio | 2 | package gio | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -13,6 +14,8 @@ import ( | |||||
| 13 | 14 | ||||
| 14 | // Class structure for #GSocketListener. | 15 | // Class structure for #GSocketListener. | ||
| 15 | type SocketListenerClass struct { | 16 | type SocketListenerClass struct { | ||
| 17 | + | _ structs.HostLayout | |||
| 18 | + | ||||
| 16 | ParentClass uintptr | 19 | ParentClass uintptr | ||
| 17 | } | 20 | } | ||
| 18 | 21 | ||||
| @@ -21,6 +24,7 @@ func (x *SocketListenerClass) GoPointer() uintptr { | |||||
| 21 | } | 24 | } | ||
| 22 | 25 | ||||
| 23 | type SocketListenerPrivate struct { | 26 | type SocketListenerPrivate struct { | ||
| 27 | + | _ structs.HostLayout | |||
| 24 | } | 28 | } | ||
| 25 | 29 | ||||
| 26 | func (x *SocketListenerPrivate) GoPointer() uintptr { | 30 | func (x *SocketListenerPrivate) GoPointer() uintptr { | ||
M v4/gio/gsocketservice.go +4 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gio | 2 | package gio | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -13,6 +14,8 @@ import ( | |||||
| 13 | 14 | ||||
| 14 | // Class structure for #GSocketService. | 15 | // Class structure for #GSocketService. | ||
| 15 | type SocketServiceClass struct { | 16 | type SocketServiceClass struct { | ||
| 17 | + | _ structs.HostLayout | |||
| 18 | + | ||||
| 16 | ParentClass uintptr | 19 | ParentClass uintptr | ||
| 17 | } | 20 | } | ||
| 18 | 21 | ||||
| @@ -21,6 +24,7 @@ func (x *SocketServiceClass) GoPointer() uintptr { | |||||
| 21 | } | 24 | } | ||
| 22 | 25 | ||||
| 23 | type SocketServicePrivate struct { | 26 | type SocketServicePrivate struct { | ||
| 27 | + | _ structs.HostLayout | |||
| 24 | } | 28 | } | ||
| 25 | 29 | ||||
| 26 | func (x *SocketServicePrivate) GoPointer() uintptr { | 30 | func (x *SocketServicePrivate) GoPointer() uintptr { | ||
M v4/gio/gtask.go +2 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gio | 2 | package gio | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -29,6 +30,7 @@ import ( | |||||
| 29 | type TaskThreadFunc func(uintptr, uintptr, uintptr, uintptr) | 30 | type TaskThreadFunc func(uintptr, uintptr, uintptr, uintptr) | ||
| 30 | 31 | ||||
| 31 | type TaskClass struct { | 32 | type TaskClass struct { | ||
| 33 | + | _ structs.HostLayout | |||
| 32 | } | 34 | } | ||
| 33 | 35 | ||||
| 34 | func (x *TaskClass) GoPointer() uintptr { | 36 | func (x *TaskClass) GoPointer() uintptr { | ||
M v4/gio/gtcpconnection.go +4 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gio | 2 | package gio | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -10,6 +11,8 @@ import ( | |||||
| 10 | ) | 11 | ) | ||
| 11 | 12 | ||||
| 12 | type TcpConnectionClass struct { | 13 | type TcpConnectionClass struct { | ||
| 14 | + | _ structs.HostLayout | |||
| 15 | + | ||||
| 13 | ParentClass uintptr | 16 | ParentClass uintptr | ||
| 14 | } | 17 | } | ||
| 15 | 18 | ||||
| @@ -18,6 +21,7 @@ func (x *TcpConnectionClass) GoPointer() uintptr { | |||||
| 18 | } | 21 | } | ||
| 19 | 22 | ||||
| 20 | type TcpConnectionPrivate struct { | 23 | type TcpConnectionPrivate struct { | ||
| 24 | + | _ structs.HostLayout | |||
| 21 | } | 25 | } | ||
| 22 | 26 | ||||
| 23 | func (x *TcpConnectionPrivate) GoPointer() uintptr { | 27 | func (x *TcpConnectionPrivate) GoPointer() uintptr { | ||
M v4/gio/gtcpwrapperconnection.go +4 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gio | 2 | package gio | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -11,6 +12,8 @@ import ( | |||||
| 11 | ) | 12 | ) | ||
| 12 | 13 | ||||
| 13 | type TcpWrapperConnectionClass struct { | 14 | type TcpWrapperConnectionClass struct { | ||
| 15 | + | _ structs.HostLayout | |||
| 16 | + | ||||
| 14 | ParentClass uintptr | 17 | ParentClass uintptr | ||
| 15 | } | 18 | } | ||
| 16 | 19 | ||||
| @@ -19,6 +22,7 @@ func (x *TcpWrapperConnectionClass) GoPointer() uintptr { | |||||
| 19 | } | 22 | } | ||
| 20 | 23 | ||||
| 21 | type TcpWrapperConnectionPrivate struct { | 24 | type TcpWrapperConnectionPrivate struct { | ||
| 25 | + | _ structs.HostLayout | |||
| 22 | } | 26 | } | ||
| 23 | 27 | ||||
| 24 | func (x *TcpWrapperConnectionPrivate) GoPointer() uintptr { | 28 | func (x *TcpWrapperConnectionPrivate) GoPointer() uintptr { | ||
M v4/gio/gthemedicon.go +2 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gio | 2 | package gio | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -12,6 +13,7 @@ import ( | |||||
| 12 | ) | 13 | ) | ||
| 13 | 14 | ||||
| 14 | type ThemedIconClass struct { | 15 | type ThemedIconClass struct { | ||
| 16 | + | _ structs.HostLayout | |||
| 15 | } | 17 | } | ||
| 16 | 18 | ||||
| 17 | func (x *ThemedIconClass) GoPointer() uintptr { | 19 | func (x *ThemedIconClass) GoPointer() uintptr { | ||
M v4/gio/gthreadedsocketservice.go +4 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gio | 2 | package gio | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -12,6 +13,8 @@ import ( | |||||
| 12 | ) | 13 | ) | ||
| 13 | 14 | ||||
| 14 | type ThreadedSocketServiceClass struct { | 15 | type ThreadedSocketServiceClass struct { | ||
| 16 | + | _ structs.HostLayout | |||
| 17 | + | ||||
| 15 | ParentClass uintptr | 18 | ParentClass uintptr | ||
| 16 | } | 19 | } | ||
| 17 | 20 | ||||
| @@ -20,6 +23,7 @@ func (x *ThreadedSocketServiceClass) GoPointer() uintptr { | |||||
| 20 | } | 23 | } | ||
| 21 | 24 | ||||
| 22 | type ThreadedSocketServicePrivate struct { | 25 | type ThreadedSocketServicePrivate struct { | ||
| 26 | + | _ structs.HostLayout | |||
| 23 | } | 27 | } | ||
| 24 | 28 | ||||
| 25 | func (x *ThreadedSocketServicePrivate) GoPointer() uintptr { | 29 | func (x *ThreadedSocketServicePrivate) GoPointer() uintptr { | ||
M v4/gio/gtlsbackend.go +3 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gio | 2 | package gio | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -12,6 +13,8 @@ import ( | |||||
| 12 | 13 | ||||
| 13 | // Provides an interface for describing TLS-related types. | 14 | // Provides an interface for describing TLS-related types. | ||
| 14 | type TlsBackendInterface struct { | 15 | type TlsBackendInterface struct { | ||
| 16 | + | _ structs.HostLayout | |||
| 17 | + | ||||
| 15 | GIface uintptr | 18 | GIface uintptr | ||
| 16 | } | 19 | } | ||
| 17 | 20 | ||||
M v4/gio/gtlscertificate.go +4 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gio | 2 | package gio | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -12,6 +13,8 @@ import ( | |||||
| 12 | ) | 13 | ) | ||
| 13 | 14 | ||||
| 14 | type TlsCertificateClass struct { | 15 | type TlsCertificateClass struct { | ||
| 16 | + | _ structs.HostLayout | |||
| 17 | + | ||||
| 15 | ParentClass uintptr | 18 | ParentClass uintptr | ||
| 16 | 19 | ||||
| 17 | Padding [8]uintptr | 20 | Padding [8]uintptr | ||
| @@ -22,6 +25,7 @@ func (x *TlsCertificateClass) GoPointer() uintptr { | |||||
| 22 | } | 25 | } | ||
| 23 | 26 | ||||
| 24 | type TlsCertificatePrivate struct { | 27 | type TlsCertificatePrivate struct { | ||
| 28 | + | _ structs.HostLayout | |||
| 25 | } | 29 | } | ||
| 26 | 30 | ||||
| 27 | func (x *TlsCertificatePrivate) GoPointer() uintptr { | 31 | func (x *TlsCertificatePrivate) GoPointer() uintptr { | ||
M v4/gio/gtlsclientconnection.go +3 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gio | 2 | package gio | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -13,6 +14,8 @@ import ( | |||||
| 13 | 14 | ||||
| 14 | // vtable for a #GTlsClientConnection implementation. | 15 | // vtable for a #GTlsClientConnection implementation. | ||
| 15 | type TlsClientConnectionInterface struct { | 16 | type TlsClientConnectionInterface struct { | ||
| 17 | + | _ structs.HostLayout | |||
| 18 | + | ||||
| 16 | GIface uintptr | 19 | GIface uintptr | ||
| 17 | } | 20 | } | ||
| 18 | 21 | ||||
M v4/gio/gtlsconnection.go +4 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gio | 2 | package gio | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -13,6 +14,8 @@ import ( | |||||
| 13 | 14 | ||||
| 14 | // The class structure for the #GTlsConnection type. | 15 | // The class structure for the #GTlsConnection type. | ||
| 15 | type TlsConnectionClass struct { | 16 | type TlsConnectionClass struct { | ||
| 17 | + | _ structs.HostLayout | |||
| 18 | + | ||||
| 16 | ParentClass uintptr | 19 | ParentClass uintptr | ||
| 17 | 20 | ||||
| 18 | Padding [6]uintptr | 21 | Padding [6]uintptr | ||
| @@ -23,6 +26,7 @@ func (x *TlsConnectionClass) GoPointer() uintptr { | |||||
| 23 | } | 26 | } | ||
| 24 | 27 | ||||
| 25 | type TlsConnectionPrivate struct { | 28 | type TlsConnectionPrivate struct { | ||
| 29 | + | _ structs.HostLayout | |||
| 26 | } | 30 | } | ||
| 27 | 31 | ||||
| 28 | func (x *TlsConnectionPrivate) GoPointer() uintptr { | 32 | func (x *TlsConnectionPrivate) GoPointer() uintptr { | ||
M v4/gio/gtlsdatabase.go +4 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gio | 2 | package gio | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -15,6 +16,8 @@ import ( | |||||
| 15 | // virtual methods. _async and _finish methods have a default | 16 | // virtual methods. _async and _finish methods have a default | ||
| 16 | // implementation that runs the corresponding sync method in a thread. | 17 | // implementation that runs the corresponding sync method in a thread. | ||
| 17 | type TlsDatabaseClass struct { | 18 | type TlsDatabaseClass struct { | ||
| 19 | + | _ structs.HostLayout | |||
| 20 | + | ||||
| 18 | ParentClass uintptr | 21 | ParentClass uintptr | ||
| 19 | 22 | ||||
| 20 | Padding [16]uintptr | 23 | Padding [16]uintptr | ||
| @@ -25,6 +28,7 @@ func (x *TlsDatabaseClass) GoPointer() uintptr { | |||||
| 25 | } | 28 | } | ||
| 26 | 29 | ||||
| 27 | type TlsDatabasePrivate struct { | 30 | type TlsDatabasePrivate struct { | ||
| 31 | + | _ structs.HostLayout | |||
| 28 | } | 32 | } | ||
| 29 | 33 | ||||
| 30 | func (x *TlsDatabasePrivate) GoPointer() uintptr { | 34 | func (x *TlsDatabasePrivate) GoPointer() uintptr { | ||
M v4/gio/gtlsfiledatabase.go +3 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gio | 2 | package gio | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -12,6 +13,8 @@ import ( | |||||
| 12 | 13 | ||||
| 13 | // Provides an interface for #GTlsFileDatabase implementations. | 14 | // Provides an interface for #GTlsFileDatabase implementations. | ||
| 14 | type TlsFileDatabaseInterface struct { | 15 | type TlsFileDatabaseInterface struct { | ||
| 16 | + | _ structs.HostLayout | |||
| 17 | + | ||||
| 15 | GIface uintptr | 18 | GIface uintptr | ||
| 16 | 19 | ||||
| 17 | Padding [8]uintptr | 20 | Padding [8]uintptr | ||
M v4/gio/gtlsinteraction.go +4 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gio | 2 | package gio | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -26,6 +27,8 @@ import ( | |||||
| 26 | // %G_TLS_INTERACTION_FAILED and the error should be set with a domain of | 27 | // %G_TLS_INTERACTION_FAILED and the error should be set with a domain of | ||
| 27 | // %G_IO_ERROR and code of %G_IO_ERROR_CANCELLED. | 28 | // %G_IO_ERROR and code of %G_IO_ERROR_CANCELLED. | ||
| 28 | type TlsInteractionClass struct { | 29 | type TlsInteractionClass struct { | ||
| 30 | + | _ structs.HostLayout | |||
| 31 | + | ||||
| 29 | ParentClass uintptr | 32 | ParentClass uintptr | ||
| 30 | 33 | ||||
| 31 | Padding [21]uintptr | 34 | Padding [21]uintptr | ||
| @@ -36,6 +39,7 @@ func (x *TlsInteractionClass) GoPointer() uintptr { | |||||
| 36 | } | 39 | } | ||
| 37 | 40 | ||||
| 38 | type TlsInteractionPrivate struct { | 41 | type TlsInteractionPrivate struct { | ||
| 42 | + | _ structs.HostLayout | |||
| 39 | } | 43 | } | ||
| 40 | 44 | ||||
| 41 | func (x *TlsInteractionPrivate) GoPointer() uintptr { | 45 | func (x *TlsInteractionPrivate) GoPointer() uintptr { | ||
M v4/gio/gtlspassword.go +4 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gio | 2 | package gio | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -13,6 +14,8 @@ import ( | |||||
| 13 | 14 | ||||
| 14 | // Class structure for #GTlsPassword. | 15 | // Class structure for #GTlsPassword. | ||
| 15 | type TlsPasswordClass struct { | 16 | type TlsPasswordClass struct { | ||
| 17 | + | _ structs.HostLayout | |||
| 18 | + | ||||
| 16 | ParentClass uintptr | 19 | ParentClass uintptr | ||
| 17 | 20 | ||||
| 18 | Padding [4]uintptr | 21 | Padding [4]uintptr | ||
| @@ -23,6 +26,7 @@ func (x *TlsPasswordClass) GoPointer() uintptr { | |||||
| 23 | } | 26 | } | ||
| 24 | 27 | ||||
| 25 | type TlsPasswordPrivate struct { | 28 | type TlsPasswordPrivate struct { | ||
| 29 | + | _ structs.HostLayout | |||
| 26 | } | 30 | } | ||
| 27 | 31 | ||||
| 28 | func (x *TlsPasswordPrivate) GoPointer() uintptr { | 32 | func (x *TlsPasswordPrivate) GoPointer() uintptr { | ||
M v4/gio/gtlsserverconnection.go +3 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gio | 2 | package gio | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -12,6 +13,8 @@ import ( | |||||
| 12 | 13 | ||||
| 13 | // vtable for a #GTlsServerConnection implementation. | 14 | // vtable for a #GTlsServerConnection implementation. | ||
| 14 | type TlsServerConnectionInterface struct { | 15 | type TlsServerConnectionInterface struct { | ||
| 16 | + | _ structs.HostLayout | |||
| 17 | + | ||||
| 15 | GIface uintptr | 18 | GIface uintptr | ||
| 16 | } | 19 | } | ||
| 17 | 20 | ||||
M v4/gio/gunixconnection.go +4 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gio | 2 | package gio | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -11,6 +12,8 @@ import ( | |||||
| 11 | ) | 12 | ) | ||
| 12 | 13 | ||||
| 13 | type UnixConnectionClass struct { | 14 | type UnixConnectionClass struct { | ||
| 15 | + | _ structs.HostLayout | |||
| 16 | + | ||||
| 14 | ParentClass uintptr | 17 | ParentClass uintptr | ||
| 15 | } | 18 | } | ||
| 16 | 19 | ||||
| @@ -19,6 +22,7 @@ func (x *UnixConnectionClass) GoPointer() uintptr { | |||||
| 19 | } | 22 | } | ||
| 20 | 23 | ||||
| 21 | type UnixConnectionPrivate struct { | 24 | type UnixConnectionPrivate struct { | ||
| 25 | + | _ structs.HostLayout | |||
| 22 | } | 26 | } | ||
| 23 | 27 | ||||
| 24 | func (x *UnixConnectionPrivate) GoPointer() uintptr { | 28 | func (x *UnixConnectionPrivate) GoPointer() uintptr { | ||
M v4/gio/gunixcredentialsmessage.go +4 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gio | 2 | package gio | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -12,6 +13,8 @@ import ( | |||||
| 12 | 13 | ||||
| 13 | // Class structure for #GUnixCredentialsMessage. | 14 | // Class structure for #GUnixCredentialsMessage. | ||
| 14 | type UnixCredentialsMessageClass struct { | 15 | type UnixCredentialsMessageClass struct { | ||
| 16 | + | _ structs.HostLayout | |||
| 17 | + | ||||
| 15 | ParentClass uintptr | 18 | ParentClass uintptr | ||
| 16 | } | 19 | } | ||
| 17 | 20 | ||||
| @@ -20,6 +23,7 @@ func (x *UnixCredentialsMessageClass) GoPointer() uintptr { | |||||
| 20 | } | 23 | } | ||
| 21 | 24 | ||||
| 22 | type UnixCredentialsMessagePrivate struct { | 25 | type UnixCredentialsMessagePrivate struct { | ||
| 26 | + | _ structs.HostLayout | |||
| 23 | } | 27 | } | ||
| 24 | 28 | ||||
| 25 | func (x *UnixCredentialsMessagePrivate) GoPointer() uintptr { | 29 | func (x *UnixCredentialsMessagePrivate) GoPointer() uintptr { | ||
M v4/gio/gunixfdlist.go +4 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gio | 2 | package gio | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -12,6 +13,8 @@ import ( | |||||
| 12 | ) | 13 | ) | ||
| 13 | 14 | ||||
| 14 | type UnixFDListClass struct { | 15 | type UnixFDListClass struct { | ||
| 16 | + | _ structs.HostLayout | |||
| 17 | + | ||||
| 15 | ParentClass uintptr | 18 | ParentClass uintptr | ||
| 16 | } | 19 | } | ||
| 17 | 20 | ||||
| @@ -20,6 +23,7 @@ func (x *UnixFDListClass) GoPointer() uintptr { | |||||
| 20 | } | 23 | } | ||
| 21 | 24 | ||||
| 22 | type UnixFDListPrivate struct { | 25 | type UnixFDListPrivate struct { | ||
| 26 | + | _ structs.HostLayout | |||
| 23 | } | 27 | } | ||
| 24 | 28 | ||||
| 25 | func (x *UnixFDListPrivate) GoPointer() uintptr { | 29 | func (x *UnixFDListPrivate) GoPointer() uintptr { | ||
M v4/gio/gunixfdmessage.go +4 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gio | 2 | package gio | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -12,6 +13,8 @@ import ( | |||||
| 12 | ) | 13 | ) | ||
| 13 | 14 | ||||
| 14 | type UnixFDMessageClass struct { | 15 | type UnixFDMessageClass struct { | ||
| 16 | + | _ structs.HostLayout | |||
| 17 | + | ||||
| 15 | ParentClass uintptr | 18 | ParentClass uintptr | ||
| 16 | } | 19 | } | ||
| 17 | 20 | ||||
| @@ -20,6 +23,7 @@ func (x *UnixFDMessageClass) GoPointer() uintptr { | |||||
| 20 | } | 23 | } | ||
| 21 | 24 | ||||
| 22 | type UnixFDMessagePrivate struct { | 25 | type UnixFDMessagePrivate struct { | ||
| 26 | + | _ structs.HostLayout | |||
| 23 | } | 27 | } | ||
| 24 | 28 | ||||
| 25 | func (x *UnixFDMessagePrivate) GoPointer() uintptr { | 29 | func (x *UnixFDMessagePrivate) GoPointer() uintptr { | ||
M v4/gio/gunixinputstream.go +4 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gio | 2 | package gio | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -11,6 +12,8 @@ import ( | |||||
| 11 | ) | 12 | ) | ||
| 12 | 13 | ||||
| 13 | type UnixInputStreamClass struct { | 14 | type UnixInputStreamClass struct { | ||
| 15 | + | _ structs.HostLayout | |||
| 16 | + | ||||
| 14 | ParentClass uintptr | 17 | ParentClass uintptr | ||
| 15 | } | 18 | } | ||
| 16 | 19 | ||||
| @@ -19,6 +22,7 @@ func (x *UnixInputStreamClass) GoPointer() uintptr { | |||||
| 19 | } | 22 | } | ||
| 20 | 23 | ||||
| 21 | type UnixInputStreamPrivate struct { | 24 | type UnixInputStreamPrivate struct { | ||
| 25 | + | _ structs.HostLayout | |||
| 22 | } | 26 | } | ||
| 23 | 27 | ||||
| 24 | func (x *UnixInputStreamPrivate) GoPointer() uintptr { | 28 | func (x *UnixInputStreamPrivate) GoPointer() uintptr { | ||
M v4/gio/gunixmounts.go +4 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gio | 2 | package gio | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -14,6 +15,7 @@ import ( | |||||
| 14 | // Defines a Unix mount entry (e.g. <filename>/media/cdrom</filename>). | 15 | // Defines a Unix mount entry (e.g. <filename>/media/cdrom</filename>). | ||
| 15 | // This corresponds roughly to a mtab entry. | 16 | // This corresponds roughly to a mtab entry. | ||
| 16 | type UnixMountEntry struct { | 17 | type UnixMountEntry struct { | ||
| 18 | + | _ structs.HostLayout | |||
| 17 | } | 19 | } | ||
| 18 | 20 | ||||
| 19 | var xUnixMountEntryGLibType func() types.GType | 21 | var xUnixMountEntryGLibType func() types.GType | ||
| @@ -27,6 +29,7 @@ func (x *UnixMountEntry) GoPointer() uintptr { | |||||
| 27 | } | 29 | } | ||
| 28 | 30 | ||||
| 29 | type UnixMountMonitorClass struct { | 31 | type UnixMountMonitorClass struct { | ||
| 32 | + | _ structs.HostLayout | |||
| 30 | } | 33 | } | ||
| 31 | 34 | ||||
| 32 | func (x *UnixMountMonitorClass) GoPointer() uintptr { | 35 | func (x *UnixMountMonitorClass) GoPointer() uintptr { | ||
| @@ -36,6 +39,7 @@ func (x *UnixMountMonitorClass) GoPointer() uintptr { | |||||
| 36 | // Defines a Unix mount point (e.g. <filename>/dev</filename>). | 39 | // Defines a Unix mount point (e.g. <filename>/dev</filename>). | ||
| 37 | // This corresponds roughly to a fstab entry. | 40 | // This corresponds roughly to a fstab entry. | ||
| 38 | type UnixMountPoint struct { | 41 | type UnixMountPoint struct { | ||
| 42 | + | _ structs.HostLayout | |||
| 39 | } | 43 | } | ||
| 40 | 44 | ||||
| 41 | var xUnixMountPointGLibType func() types.GType | 45 | var xUnixMountPointGLibType func() types.GType | ||
M v4/gio/gunixoutputstream.go +4 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gio | 2 | package gio | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -11,6 +12,8 @@ import ( | |||||
| 11 | ) | 12 | ) | ||
| 12 | 13 | ||||
| 13 | type UnixOutputStreamClass struct { | 14 | type UnixOutputStreamClass struct { | ||
| 15 | + | _ structs.HostLayout | |||
| 16 | + | ||||
| 14 | ParentClass uintptr | 17 | ParentClass uintptr | ||
| 15 | } | 18 | } | ||
| 16 | 19 | ||||
| @@ -19,6 +22,7 @@ func (x *UnixOutputStreamClass) GoPointer() uintptr { | |||||
| 19 | } | 22 | } | ||
| 20 | 23 | ||||
| 21 | type UnixOutputStreamPrivate struct { | 24 | type UnixOutputStreamPrivate struct { | ||
| 25 | + | _ structs.HostLayout | |||
| 22 | } | 26 | } | ||
| 23 | 27 | ||||
| 24 | func (x *UnixOutputStreamPrivate) GoPointer() uintptr { | 28 | func (x *UnixOutputStreamPrivate) GoPointer() uintptr { | ||
M v4/gio/gunixsocketaddress.go +4 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gio | 2 | package gio | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -10,6 +11,8 @@ import ( | |||||
| 10 | ) | 11 | ) | ||
| 11 | 12 | ||||
| 12 | type UnixSocketAddressClass struct { | 13 | type UnixSocketAddressClass struct { | ||
| 14 | + | _ structs.HostLayout | |||
| 15 | + | ||||
| 13 | ParentClass uintptr | 16 | ParentClass uintptr | ||
| 14 | } | 17 | } | ||
| 15 | 18 | ||||
| @@ -18,6 +21,7 @@ func (x *UnixSocketAddressClass) GoPointer() uintptr { | |||||
| 18 | } | 21 | } | ||
| 19 | 22 | ||||
| 20 | type UnixSocketAddressPrivate struct { | 23 | type UnixSocketAddressPrivate struct { | ||
| 24 | + | _ structs.HostLayout | |||
| 21 | } | 25 | } | ||
| 22 | 26 | ||||
| 23 | func (x *UnixSocketAddressPrivate) GoPointer() uintptr { | 27 | func (x *UnixSocketAddressPrivate) GoPointer() uintptr { | ||
M v4/gio/gvfs.go +3 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gio | 2 | package gio | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -20,6 +21,8 @@ import ( | |||||
| 20 | type VfsFileLookupFunc func(uintptr, string, uintptr) uintptr | 21 | type VfsFileLookupFunc func(uintptr, string, uintptr) uintptr | ||
| 21 | 22 | ||||
| 22 | type VfsClass struct { | 23 | type VfsClass struct { | ||
| 24 | + | _ structs.HostLayout | |||
| 25 | + | ||||
| 23 | ParentClass uintptr | 26 | ParentClass uintptr | ||
| 24 | } | 27 | } | ||
| 25 | 28 | ||||
M v4/gio/gvolume.go +3 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gio | 2 | package gio | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -12,6 +13,8 @@ import ( | |||||
| 12 | 13 | ||||
| 13 | // Interface for implementing operations for mountable volumes. | 14 | // Interface for implementing operations for mountable volumes. | ||
| 14 | type VolumeIface struct { | 15 | type VolumeIface struct { | ||
| 16 | + | _ structs.HostLayout | |||
| 17 | + | ||||
| 15 | GIface uintptr | 18 | GIface uintptr | ||
| 16 | } | 19 | } | ||
| 17 | 20 | ||||
M v4/gio/gvolumemonitor.go +3 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gio | 2 | package gio | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -12,6 +13,8 @@ import ( | |||||
| 12 | ) | 13 | ) | ||
| 13 | 14 | ||||
| 14 | type VolumeMonitorClass struct { | 15 | type VolumeMonitorClass struct { | ||
| 16 | + | _ structs.HostLayout | |||
| 17 | + | ||||
| 15 | ParentClass uintptr | 18 | ParentClass uintptr | ||
| 16 | } | 19 | } | ||
| 17 | 20 | ||||
M v4/gio/gzlibcompressor.go +3 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gio | 2 | package gio | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -12,6 +13,8 @@ import ( | |||||
| 12 | ) | 13 | ) | ||
| 13 | 14 | ||||
| 14 | type ZlibCompressorClass struct { | 15 | type ZlibCompressorClass struct { | ||
| 16 | + | _ structs.HostLayout | |||
| 17 | + | ||||
| 15 | ParentClass uintptr | 18 | ParentClass uintptr | ||
| 16 | } | 19 | } | ||
| 17 | 20 | ||||
M v4/gio/gzlibdecompressor.go +3 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gio | 2 | package gio | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -12,6 +13,8 @@ import ( | |||||
| 12 | ) | 13 | ) | ||
| 13 | 14 | ||||
| 14 | type ZlibDecompressorClass struct { | 15 | type ZlibDecompressorClass struct { | ||
| 16 | + | _ structs.HostLayout | |||
| 17 | + | ||||
| 15 | ParentClass uintptr | 18 | ParentClass uintptr | ||
| 16 | } | 19 | } | ||
| 17 | 20 | ||||
M v4/glib/garray.go +8 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package glib | 2 | package glib | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -11,6 +12,8 @@ import ( | |||||
| 11 | 12 | ||||
| 12 | // Contains the public fields of a GArray. | 13 | // Contains the public fields of a GArray. | ||
| 13 | type Array struct { | 14 | type Array struct { | ||
| 15 | + | _ structs.HostLayout | |||
| 16 | + | ||||
| 14 | Data uintptr | 17 | Data uintptr | ||
| 15 | 18 | ||||
| 16 | Len uint | 19 | Len uint | ||
| @@ -28,6 +31,8 @@ func (x *Array) GoPointer() uintptr { | |||||
| 28 | 31 | ||||
| 29 | // Contains the public fields of a GByteArray. | 32 | // Contains the public fields of a GByteArray. | ||
| 30 | type ByteArray struct { | 33 | type ByteArray struct { | ||
| 34 | + | _ structs.HostLayout | |||
| 35 | + | ||||
| 31 | Data byte | 36 | Data byte | ||
| 32 | 37 | ||||
| 33 | Len uint | 38 | Len uint | ||
| @@ -68,6 +73,7 @@ func (x *ByteArray) GoPointer() uintptr { | |||||
| 68 | // mutable array for a #GBytes sequence. To create an immutable #GBytes from | 73 | // mutable array for a #GBytes sequence. To create an immutable #GBytes from | ||
| 69 | // a mutable #GByteArray, use the g_byte_array_free_to_bytes() function. | 74 | // a mutable #GByteArray, use the g_byte_array_free_to_bytes() function. | ||
| 70 | type Bytes struct { | 75 | type Bytes struct { | ||
| 76 | + | _ structs.HostLayout | |||
| 71 | } | 77 | } | ||
| 72 | 78 | ||||
| 73 | var xBytesGLibType func() types.GType | 79 | var xBytesGLibType func() types.GType | ||
| @@ -310,6 +316,8 @@ func (x *Bytes) UnrefToData(SizeVar uint) uintptr { | |||||
| 310 | 316 | ||||
| 311 | // Contains the public fields of a pointer array. | 317 | // Contains the public fields of a pointer array. | ||
| 312 | type PtrArray struct { | 318 | type PtrArray struct { | ||
| 319 | + | _ structs.HostLayout | |||
| 320 | + | ||||
| 313 | Pdata uintptr | 321 | Pdata uintptr | ||
| 314 | 322 | ||||
| 315 | Len uint | 323 | Len uint | ||
M v4/glib/gasyncqueue.go +2 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package glib | 2 | package glib | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -12,6 +13,7 @@ import ( | |||||
| 12 | // | 13 | // | ||
| 13 | // It should only be accessed through the `g_async_queue_*` functions. | 14 | // It should only be accessed through the `g_async_queue_*` functions. | ||
| 14 | type AsyncQueue struct { | 15 | type AsyncQueue struct { | ||
| 16 | + | _ structs.HostLayout | |||
| 15 | } | 17 | } | ||
| 16 | 18 | ||||
| 17 | func (x *AsyncQueue) GoPointer() uintptr { | 19 | func (x *AsyncQueue) GoPointer() uintptr { | ||
M v4/glib/gbookmarkfile.go +2 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package glib | 2 | package glib | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -10,6 +11,7 @@ import ( | |||||
| 10 | 11 | ||||
| 11 | // An opaque data structure representing a set of bookmarks. | 12 | // An opaque data structure representing a set of bookmarks. | ||
| 12 | type BookmarkFile struct { | 13 | type BookmarkFile struct { | ||
| 14 | + | _ structs.HostLayout | |||
| 13 | } | 15 | } | ||
| 14 | 16 | ||||
| 15 | func (x *BookmarkFile) GoPointer() uintptr { | 17 | func (x *BookmarkFile) GoPointer() uintptr { | ||
M v4/glib/gchecksum.go +2 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package glib | 2 | package glib | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -14,6 +15,7 @@ import ( | |||||
| 14 | // To create a new GChecksum, use g_checksum_new(). To free | 15 | // To create a new GChecksum, use g_checksum_new(). To free | ||
| 15 | // a GChecksum, use g_checksum_free(). | 16 | // a GChecksum, use g_checksum_free(). | ||
| 16 | type Checksum struct { | 17 | type Checksum struct { | ||
| 18 | + | _ structs.HostLayout | |||
| 17 | } | 19 | } | ||
| 18 | 20 | ||||
| 19 | var xChecksumGLibType func() types.GType | 21 | var xChecksumGLibType func() types.GType | ||
M v4/glib/gconvert.go +2 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package glib | 2 | package glib | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -11,6 +12,7 @@ import ( | |||||
| 11 | // The GIConv struct wraps an iconv() conversion descriptor. It contains | 12 | // The GIConv struct wraps an iconv() conversion descriptor. It contains | ||
| 12 | // private data and should only be accessed using the following functions. | 13 | // private data and should only be accessed using the following functions. | ||
| 13 | type IConv struct { | 14 | type IConv struct { | ||
| 15 | + | _ structs.HostLayout | |||
| 14 | } | 16 | } | ||
| 15 | 17 | ||||
| 16 | func (x *IConv) GoPointer() uintptr { | 18 | func (x *IConv) GoPointer() uintptr { | ||
M v4/glib/gdataset.go +2 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package glib | 2 | package glib | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -23,6 +24,7 @@ type DuplicateFunc func(uintptr, uintptr) uintptr | |||||
| 23 | // | 24 | // | ||
| 24 | // See also: [Keyed data lists][glib-Keyed-Data-Lists]. | 25 | // See also: [Keyed data lists][glib-Keyed-Data-Lists]. | ||
| 25 | type Data struct { | 26 | type Data struct { | ||
| 27 | + | _ structs.HostLayout | |||
| 26 | } | 28 | } | ||
| 27 | 29 | ||||
| 28 | func (x *Data) GoPointer() uintptr { | 30 | func (x *Data) GoPointer() uintptr { | ||
M v4/glib/gdate.go +3 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package glib | 2 | package glib | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -21,6 +22,8 @@ import ( | |||||
| 21 | // becomes valid after you set it to a Julian day or you set a day, month, | 22 | // becomes valid after you set it to a Julian day or you set a day, month, | ||
| 22 | // and year. | 23 | // and year. | ||
| 23 | type Date struct { | 24 | type Date struct { | ||
| 25 | + | _ structs.HostLayout | |||
| 26 | + | ||||
| 24 | JulianDays uint | 27 | JulianDays uint | ||
| 25 | 28 | ||||
| 26 | Julian uint | 29 | Julian uint | ||
M v4/glib/gdatetime.go +2 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package glib | 2 | package glib | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -11,6 +12,7 @@ import ( | |||||
| 11 | 12 | ||||
| 12 | // An opaque structure that represents a date and time, including a time zone. | 13 | // An opaque structure that represents a date and time, including a time zone. | ||
| 13 | type DateTime struct { | 14 | type DateTime struct { | ||
| 15 | + | _ structs.HostLayout | |||
| 14 | } | 16 | } | ||
| 15 | 17 | ||||
| 16 | var xDateTimeGLibType func() types.GType | 18 | var xDateTimeGLibType func() types.GType | ||
M v4/glib/gdir.go +2 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package glib | 2 | package glib | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -10,6 +11,7 @@ import ( | |||||
| 10 | 11 | ||||
| 11 | // An opaque structure representing an opened directory. | 12 | // An opaque structure representing an opened directory. | ||
| 12 | type Dir struct { | 13 | type Dir struct { | ||
| 14 | + | _ structs.HostLayout | |||
| 13 | } | 15 | } | ||
| 14 | 16 | ||||
| 15 | func (x *Dir) GoPointer() uintptr { | 17 | func (x *Dir) GoPointer() uintptr { | ||
M v4/glib/gerror.go +3 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package glib | 2 | package glib | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -39,6 +40,8 @@ type ErrorInitFunc func(*Error) | |||||
| 39 | // The `GError` structure contains information about | 40 | // The `GError` structure contains information about | ||
| 40 | // an error that has occurred. | 41 | // an error that has occurred. | ||
| 41 | type Error struct { | 42 | type Error struct { | ||
| 43 | + | _ structs.HostLayout | |||
| 44 | + | ||||
| 42 | Domain Quark | 45 | Domain Quark | ||
| 43 | 46 | ||||
| 44 | Code int32 | 47 | Code int32 | ||
M v4/glib/ghash.go +4 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package glib | 2 | package glib | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -20,6 +21,7 @@ type HRFunc func(uintptr, uintptr, uintptr) bool | |||||
| 20 | // [Hash Table][glib-Hash-Tables]. It should only be accessed via the | 21 | // [Hash Table][glib-Hash-Tables]. It should only be accessed via the | ||
| 21 | // following functions. | 22 | // following functions. | ||
| 22 | type HashTable struct { | 23 | type HashTable struct { | ||
| 24 | + | _ structs.HostLayout | |||
| 23 | } | 25 | } | ||
| 24 | 26 | ||||
| 25 | var xHashTableGLibType func() types.GType | 27 | var xHashTableGLibType func() types.GType | ||
| @@ -40,6 +42,8 @@ func (x *HashTable) GoPointer() uintptr { | |||||
| 40 | // The iteration order of a #GHashTableIter over the keys/values in a hash | 42 | // The iteration order of a #GHashTableIter over the keys/values in a hash | ||
| 41 | // table is not defined. | 43 | // table is not defined. | ||
| 42 | type HashTableIter struct { | 44 | type HashTableIter struct { | ||
| 45 | + | _ structs.HostLayout | |||
| 46 | + | ||||
| 43 | Dummy1 uintptr | 47 | Dummy1 uintptr | ||
| 44 | 48 | ||||
| 45 | Dummy2 uintptr | 49 | Dummy2 uintptr | ||
M v4/glib/ghmac.go +2 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package glib | 2 | package glib | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -12,6 +13,7 @@ import ( | |||||
| 12 | // To create a new GHmac, use g_hmac_new(). To free | 13 | // To create a new GHmac, use g_hmac_new(). To free | ||
| 13 | // a GHmac, use g_hmac_unref(). | 14 | // a GHmac, use g_hmac_unref(). | ||
| 14 | type Hmac struct { | 15 | type Hmac struct { | ||
| 16 | + | _ structs.HostLayout | |||
| 15 | } | 17 | } | ||
| 16 | 18 | ||||
| 17 | func (x *Hmac) GoPointer() uintptr { | 19 | func (x *Hmac) GoPointer() uintptr { | ||
M v4/glib/ghook.go +5 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package glib | 2 | package glib | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -35,6 +36,8 @@ type HookMarshaller func(*Hook, uintptr) | |||||
| 35 | 36 | ||||
| 36 | // The #GHook struct represents a single hook function in a #GHookList. | 37 | // The #GHook struct represents a single hook function in a #GHookList. | ||
| 37 | type Hook struct { | 38 | type Hook struct { | ||
| 39 | + | _ structs.HostLayout | |||
| 40 | + | ||||
| 38 | Data uintptr | 41 | Data uintptr | ||
| 39 | 42 | ||||
| 40 | Next *Hook | 43 | Next *Hook | ||
| @@ -68,6 +71,8 @@ func (x *Hook) CompareIds(SiblingVar *Hook) int { | |||||
| 68 | 71 | ||||
| 69 | // The #GHookList struct represents a list of hook functions. | 72 | // The #GHookList struct represents a list of hook functions. | ||
| 70 | type HookList struct { | 73 | type HookList struct { | ||
| 74 | + | _ structs.HostLayout | |||
| 75 | + | ||||
| 71 | SeqId uint32 | 76 | SeqId uint32 | ||
| 72 | 77 | ||||
| 73 | HookSize uint | 78 | HookSize uint | ||
M v4/glib/giochannel.go +4 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package glib | 2 | package glib | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -18,6 +19,8 @@ type IOFunc func(*IOChannel, IOCondition, uintptr) bool | |||||
| 18 | // considered private and should only be accessed with the following | 19 | // considered private and should only be accessed with the following | ||
| 19 | // functions. | 20 | // functions. | ||
| 20 | type IOChannel struct { | 21 | type IOChannel struct { | ||
| 22 | + | _ structs.HostLayout | |||
| 23 | + | ||||
| 21 | RefCount int32 | 24 | RefCount int32 | ||
| 22 | 25 | ||||
| 23 | Funcs *IOFuncs | 26 | Funcs *IOFuncs | ||
| @@ -555,6 +558,7 @@ func (x *IOChannel) WriteUnichar(ThecharVar uint32) (IOStatus, error) { | |||||
| 555 | // A table of functions used to handle different types of #GIOChannel | 558 | // A table of functions used to handle different types of #GIOChannel | ||
| 556 | // in a generic way. | 559 | // in a generic way. | ||
| 557 | type IOFuncs struct { | 560 | type IOFuncs struct { | ||
| 561 | + | _ structs.HostLayout | |||
| 558 | } | 562 | } | ||
| 559 | 563 | ||||
| 560 | func (x *IOFuncs) GoPointer() uintptr { | 564 | func (x *IOFuncs) GoPointer() uintptr { | ||
M v4/glib/gkeyfile.go +2 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package glib | 2 | package glib | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -12,6 +13,7 @@ import ( | |||||
| 12 | // The GKeyFile struct contains only private data | 13 | // The GKeyFile struct contains only private data | ||
| 13 | // and should not be accessed directly. | 14 | // and should not be accessed directly. | ||
| 14 | type KeyFile struct { | 15 | type KeyFile struct { | ||
| 16 | + | _ structs.HostLayout | |||
| 15 | } | 17 | } | ||
| 16 | 18 | ||||
| 17 | var xKeyFileGLibType func() types.GType | 19 | var xKeyFileGLibType func() types.GType | ||
M v4/glib/glist.go +3 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package glib | 2 | package glib | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -10,6 +11,8 @@ import ( | |||||
| 10 | 11 | ||||
| 11 | // The #GList struct is used for each element in a doubly-linked list. | 12 | // The #GList struct is used for each element in a doubly-linked list. | ||
| 12 | type List struct { | 13 | type List struct { | ||
| 14 | + | _ structs.HostLayout | |||
| 15 | + | ||||
| 13 | Data uintptr | 16 | Data uintptr | ||
| 14 | 17 | ||||
| 15 | Next *List | 18 | Next *List | ||
M v4/glib/gmain.go +9 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package glib | 2 | package glib | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -43,6 +44,7 @@ type SourceFunc func(uintptr) bool | |||||
| 43 | // The `GMainContext` struct is an opaque data | 44 | // The `GMainContext` struct is an opaque data | ||
| 44 | // type representing a set of sources to be handled in a main loop. | 45 | // type representing a set of sources to be handled in a main loop. | ||
| 45 | type MainContext struct { | 46 | type MainContext struct { | ||
| 47 | + | _ structs.HostLayout | |||
| 46 | } | 48 | } | ||
| 47 | 49 | ||||
| 48 | var xMainContextGLibType func() types.GType | 50 | var xMainContextGLibType func() types.GType | ||
| @@ -463,6 +465,7 @@ func (x *MainContext) Wakeup() { | |||||
| 463 | // The `GMainLoop` struct is an opaque data type | 465 | // The `GMainLoop` struct is an opaque data type | ||
| 464 | // representing the main event loop of a GLib or GTK+ application. | 466 | // representing the main event loop of a GLib or GTK+ application. | ||
| 465 | type MainLoop struct { | 467 | type MainLoop struct { | ||
| 468 | + | _ structs.HostLayout | |||
| 466 | } | 469 | } | ||
| 467 | 470 | ||||
| 468 | var xMainLoopGLibType func() types.GType | 471 | var xMainLoopGLibType func() types.GType | ||
| @@ -549,6 +552,8 @@ func (x *MainLoop) Unref() { | |||||
| 549 | // The `GSource` struct is an opaque data type | 552 | // The `GSource` struct is an opaque data type | ||
| 550 | // representing an event source. | 553 | // representing an event source. | ||
| 551 | type Source struct { | 554 | type Source struct { | ||
| 555 | + | _ structs.HostLayout | |||
| 556 | + | ||||
| 552 | CallbackData uintptr | 557 | CallbackData uintptr | ||
| 553 | 558 | ||||
| 554 | CallbackFuncs *SourceCallbackFuncs | 559 | CallbackFuncs *SourceCallbackFuncs | ||
| @@ -1174,6 +1179,7 @@ func (x *Source) Unref() { | |||||
| 1174 | // The `GSourceCallbackFuncs` struct contains | 1179 | // The `GSourceCallbackFuncs` struct contains | ||
| 1175 | // functions for managing callback objects. | 1180 | // functions for managing callback objects. | ||
| 1176 | type SourceCallbackFuncs struct { | 1181 | type SourceCallbackFuncs struct { | ||
| 1182 | + | _ structs.HostLayout | |||
| 1177 | } | 1183 | } | ||
| 1178 | 1184 | ||||
| 1179 | func (x *SourceCallbackFuncs) GoPointer() uintptr { | 1185 | func (x *SourceCallbackFuncs) GoPointer() uintptr { | ||
| @@ -1201,6 +1207,8 @@ func (x *SourceCallbackFuncs) GoPointer() uintptr { | |||||
| 1201 | // check function, it tests the results of the poll() call to see if the | 1207 | // check function, it tests the results of the poll() call to see if the | ||
| 1202 | // required condition has been met, and returns %TRUE if so. | 1208 | // required condition has been met, and returns %TRUE if so. | ||
| 1203 | type SourceFuncs struct { | 1209 | type SourceFuncs struct { | ||
| 1210 | + | _ structs.HostLayout | |||
| 1211 | + | ||||
| 1204 | ClosureCallback SourceFunc | 1212 | ClosureCallback SourceFunc | ||
| 1205 | 1213 | ||||
| 1206 | ClosureMarshal SourceDummyMarshal | 1214 | ClosureMarshal SourceDummyMarshal | ||
| @@ -1211,6 +1219,7 @@ func (x *SourceFuncs) GoPointer() uintptr { | |||||
| 1211 | } | 1219 | } | ||
| 1212 | 1220 | ||||
| 1213 | type SourcePrivate struct { | 1221 | type SourcePrivate struct { | ||
| 1222 | + | _ structs.HostLayout | |||
| 1214 | } | 1223 | } | ||
| 1215 | 1224 | ||||
| 1216 | func (x *SourcePrivate) GoPointer() uintptr { | 1225 | func (x *SourcePrivate) GoPointer() uintptr { | ||
M v4/glib/gmappedfile.go +2 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package glib | 2 | package glib | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -13,6 +14,7 @@ import ( | |||||
| 13 | // g_mapped_file_new(). It has only private members and should | 14 | // g_mapped_file_new(). It has only private members and should | ||
| 14 | // not be accessed directly. | 15 | // not be accessed directly. | ||
| 15 | type MappedFile struct { | 16 | type MappedFile struct { | ||
| 17 | + | _ structs.HostLayout | |||
| 16 | } | 18 | } | ||
| 17 | 19 | ||||
| 18 | var xMappedFileGLibType func() types.GType | 20 | var xMappedFileGLibType func() types.GType | ||
M v4/glib/gmarkup.go +3 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package glib | 2 | package glib | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -15,6 +16,7 @@ import ( | |||||
| 15 | // See g_markup_parse_context_new(), #GMarkupParser, and so | 16 | // See g_markup_parse_context_new(), #GMarkupParser, and so | ||
| 16 | // on for more details. | 17 | // on for more details. | ||
| 17 | type MarkupParseContext struct { | 18 | type MarkupParseContext struct { | ||
| 19 | + | _ structs.HostLayout | |||
| 18 | } | 20 | } | ||
| 19 | 21 | ||||
| 20 | var xMarkupParseContextGLibType func() types.GType | 22 | var xMarkupParseContextGLibType func() types.GType | ||
| @@ -333,6 +335,7 @@ func (x *MarkupParseContext) Unref() { | |||||
| 333 | // from a callback, g_markup_parse_context_parse() will report that error | 335 | // from a callback, g_markup_parse_context_parse() will report that error | ||
| 334 | // back to its caller. | 336 | // back to its caller. | ||
| 335 | type MarkupParser struct { | 337 | type MarkupParser struct { | ||
| 338 | + | _ structs.HostLayout | |||
| 336 | } | 339 | } | ||
| 337 | 340 | ||||
| 338 | func (x *MarkupParser) GoPointer() uintptr { | 341 | func (x *MarkupParser) GoPointer() uintptr { | ||
M v4/glib/gmem.go +2 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package glib | 2 | package glib | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -14,6 +15,7 @@ import ( | |||||
| 14 | // | 15 | // | ||
| 15 | // This functions related to this has been deprecated in 2.46, and no longer work. | 16 | // This functions related to this has been deprecated in 2.46, and no longer work. | ||
| 16 | type MemVTable struct { | 17 | type MemVTable struct { | ||
| 18 | + | _ structs.HostLayout | |||
| 17 | } | 19 | } | ||
| 18 | 20 | ||||
| 19 | func (x *MemVTable) GoPointer() uintptr { | 21 | func (x *MemVTable) GoPointer() uintptr { | ||
M v4/glib/gmessages.go +3 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package glib | 2 | package glib | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -52,6 +53,8 @@ type PrintFunc func(string) | |||||
| 52 | // have a trailing nul byte. Otherwise, @length must be set to a non-negative | 53 | // have a trailing nul byte. Otherwise, @length must be set to a non-negative | ||
| 53 | // value. | 54 | // value. | ||
| 54 | type LogField struct { | 55 | type LogField struct { | ||
| 56 | + | _ structs.HostLayout | |||
| 57 | + | ||||
| 55 | Key uintptr | 58 | Key uintptr | ||
| 56 | 59 | ||||
| 57 | Value uintptr | 60 | Value uintptr | ||
M v4/glib/gnode.go +3 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package glib | 2 | package glib | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -21,6 +22,8 @@ type NodeTraverseFunc func(*Node, uintptr) bool | |||||
| 21 | 22 | ||||
| 22 | // The #GNode struct represents one node in a [n-ary tree][glib-N-ary-Trees]. | 23 | // The #GNode struct represents one node in a [n-ary tree][glib-N-ary-Trees]. | ||
| 23 | type Node struct { | 24 | type Node struct { | ||
| 25 | + | _ structs.HostLayout | |||
| 26 | + | ||||
| 24 | Data uintptr | 27 | Data uintptr | ||
| 25 | 28 | ||||
| 26 | Next *Node | 29 | Next *Node | ||
M v4/glib/goption.go +5 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package glib | 2 | package glib | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -23,6 +24,7 @@ type OptionParseFunc func(*OptionContext, *OptionGroup, uintptr, **Error) bool | |||||
| 23 | // are accepted by the commandline option parser. The struct has only private | 24 | // are accepted by the commandline option parser. The struct has only private | ||
| 24 | // fields and should not be directly accessed. | 25 | // fields and should not be directly accessed. | ||
| 25 | type OptionContext struct { | 26 | type OptionContext struct { | ||
| 27 | + | _ structs.HostLayout | |||
| 26 | } | 28 | } | ||
| 27 | 29 | ||||
| 28 | func (x *OptionContext) GoPointer() uintptr { | 30 | func (x *OptionContext) GoPointer() uintptr { | ||
| @@ -330,6 +332,8 @@ func (x *OptionContext) SetTranslationDomain(DomainVar string) { | |||||
| 330 | // must be added to a #GOptionGroup with g_option_context_add_main_entries() | 332 | // must be added to a #GOptionGroup with g_option_context_add_main_entries() | ||
| 331 | // or g_option_group_add_entries(). | 333 | // or g_option_group_add_entries(). | ||
| 332 | type OptionEntry struct { | 334 | type OptionEntry struct { | ||
| 335 | + | _ structs.HostLayout | |||
| 336 | + | ||||
| 333 | LongName uintptr | 337 | LongName uintptr | ||
| 334 | 338 | ||||
| 335 | ShortName byte | 339 | ShortName byte | ||
| @@ -357,6 +361,7 @@ func (x *OptionEntry) GoPointer() uintptr { | |||||
| 357 | // getting a `GOptionGroup` holding their options, which | 361 | // getting a `GOptionGroup` holding their options, which | ||
| 358 | // the application can then add to its #GOptionContext. | 362 | // the application can then add to its #GOptionContext. | ||
| 359 | type OptionGroup struct { | 363 | type OptionGroup struct { | ||
| 364 | + | _ structs.HostLayout | |||
| 360 | } | 365 | } | ||
| 361 | 366 | ||||
| 362 | var xOptionGroupGLibType func() types.GType | 367 | var xOptionGroupGLibType func() types.GType | ||
M v4/glib/gpattern.go +2 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package glib | 2 | package glib | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -12,6 +13,7 @@ import ( | |||||
| 12 | // A GPatternSpec struct is the 'compiled' form of a pattern. This | 13 | // A GPatternSpec struct is the 'compiled' form of a pattern. This | ||
| 13 | // structure is opaque and its fields cannot be accessed directly. | 14 | // structure is opaque and its fields cannot be accessed directly. | ||
| 14 | type PatternSpec struct { | 15 | type PatternSpec struct { | ||
| 16 | + | _ structs.HostLayout | |||
| 15 | } | 17 | } | ||
| 16 | 18 | ||||
| 17 | var xPatternSpecGLibType func() types.GType | 19 | var xPatternSpecGLibType func() types.GType | ||
M v4/glib/gpoll.go +3 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package glib | 2 | package glib | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -16,6 +17,8 @@ type PollFunc func(*PollFD, uint, int) int | |||||
| 16 | // Represents a file descriptor, which events to poll for, and which events | 17 | // Represents a file descriptor, which events to poll for, and which events | ||
| 17 | // occurred. | 18 | // occurred. | ||
| 18 | type PollFD struct { | 19 | type PollFD struct { | ||
| 20 | + | _ structs.HostLayout | |||
| 21 | + | ||||
| 19 | Fd int32 | 22 | Fd int32 | ||
| 20 | 23 | ||||
| 21 | Events uint16 | 24 | Events uint16 | ||
M v4/glib/gqueue.go +3 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package glib | 2 | package glib | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -11,6 +12,8 @@ import ( | |||||
| 11 | // Contains the public fields of a | 12 | // Contains the public fields of a | ||
| 12 | // [Queue][glib-Double-ended-Queues]. | 13 | // [Queue][glib-Double-ended-Queues]. | ||
| 13 | type Queue struct { | 14 | type Queue struct { | ||
| 15 | + | _ structs.HostLayout | |||
| 16 | + | ||||
| 14 | Head *List | 17 | Head *List | ||
| 15 | 18 | ||||
| 16 | Tail *List | 19 | Tail *List | ||
M v4/glib/grand.go +2 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package glib | 2 | package glib | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -11,6 +12,7 @@ import ( | |||||
| 11 | // The GRand struct is an opaque data structure. It should only be | 12 | // The GRand struct is an opaque data structure. It should only be | ||
| 12 | // accessed through the g_rand_* functions. | 13 | // accessed through the g_rand_* functions. | ||
| 13 | type Rand struct { | 14 | type Rand struct { | ||
| 15 | + | _ structs.HostLayout | |||
| 14 | } | 16 | } | ||
| 15 | 17 | ||||
| 16 | func (x *Rand) GoPointer() uintptr { | 18 | func (x *Rand) GoPointer() uintptr { | ||
M v4/glib/gregex.go +3 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package glib | 2 | package glib | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -18,6 +19,7 @@ type RegexEvalCallback func(*MatchInfo, *String, uintptr) bool | |||||
| 18 | // A GMatchInfo is an opaque struct used to return information about | 19 | // A GMatchInfo is an opaque struct used to return information about | ||
| 19 | // matches. | 20 | // matches. | ||
| 20 | type MatchInfo struct { | 21 | type MatchInfo struct { | ||
| 22 | + | _ structs.HostLayout | |||
| 21 | } | 23 | } | ||
| 22 | 24 | ||||
| 23 | var xMatchInfoGLibType func() types.GType | 25 | var xMatchInfoGLibType func() types.GType | ||
| @@ -360,6 +362,7 @@ func (x *MatchInfo) Unref() { | |||||
| 360 | // [PCRE](http://www.pcre.org/) | 362 | // [PCRE](http://www.pcre.org/) | ||
| 361 | // library written by Philip Hazel. | 363 | // library written by Philip Hazel. | ||
| 362 | type Regex struct { | 364 | type Regex struct { | ||
| 365 | + | _ structs.HostLayout | |||
| 363 | } | 366 | } | ||
| 364 | 367 | ||||
| 365 | var xRegexGLibType func() types.GType | 368 | var xRegexGLibType func() types.GType | ||
M v4/glib/gscanner.go +5 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package glib | 2 | package glib | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -26,6 +27,8 @@ type ScannerMsgFunc func(*Scanner, string, bool) | |||||
| 26 | // @msg_handler field. The type of the message handler function | 27 | // @msg_handler field. The type of the message handler function | ||
| 27 | // is declared by #GScannerMsgFunc. | 28 | // is declared by #GScannerMsgFunc. | ||
| 28 | type Scanner struct { | 29 | type Scanner struct { | ||
| 30 | + | _ structs.HostLayout | |||
| 31 | + | ||||
| 29 | UserData uintptr | 32 | UserData uintptr | ||
| 30 | 33 | ||||
| 31 | MaxParseErrors uint | 34 | MaxParseErrors uint | ||
| @@ -292,6 +295,8 @@ func (x *Scanner) Warn(FormatVar string, varArgs ...interface{}) { | |||||
| 292 | // be changed during the parsing phase and will affect the lexical | 295 | // be changed during the parsing phase and will affect the lexical | ||
| 293 | // parsing of the next unpeeked token. | 296 | // parsing of the next unpeeked token. | ||
| 294 | type ScannerConfig struct { | 297 | type ScannerConfig struct { | ||
| 298 | + | _ structs.HostLayout | |||
| 299 | + | ||||
| 295 | CsetSkipCharacters uintptr | 300 | CsetSkipCharacters uintptr | ||
| 296 | 301 | ||||
| 297 | CsetIdentifierFirst uintptr | 302 | CsetIdentifierFirst uintptr | ||
M v4/glib/gsequence.go +3 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package glib | 2 | package glib | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -16,6 +17,7 @@ type SequenceIterCompareFunc func(*SequenceIter, *SequenceIter, uintptr) int | |||||
| 16 | // The #GSequence struct is an opaque data type representing a | 17 | // The #GSequence struct is an opaque data type representing a | ||
| 17 | // [sequence][glib-Sequences] data type. | 18 | // [sequence][glib-Sequences] data type. | ||
| 18 | type Sequence struct { | 19 | type Sequence struct { | ||
| 20 | + | _ structs.HostLayout | |||
| 19 | } | 21 | } | ||
| 20 | 22 | ||||
| 21 | func (x *Sequence) GoPointer() uintptr { | 23 | func (x *Sequence) GoPointer() uintptr { | ||
| @@ -266,6 +268,7 @@ func (x *Sequence) SortIter(CmpFuncVar *SequenceIterCompareFunc, CmpDataVar uint | |||||
| 266 | // The #GSequenceIter struct is an opaque data type representing an | 268 | // The #GSequenceIter struct is an opaque data type representing an | ||
| 267 | // iterator pointing into a #GSequence. | 269 | // iterator pointing into a #GSequence. | ||
| 268 | type SequenceIter struct { | 270 | type SequenceIter struct { | ||
| 271 | + | _ structs.HostLayout | |||
| 269 | } | 272 | } | ||
| 270 | 273 | ||||
| 271 | func (x *SequenceIter) GoPointer() uintptr { | 274 | func (x *SequenceIter) GoPointer() uintptr { | ||
M v4/glib/gslist.go +3 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package glib | 2 | package glib | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -11,6 +12,8 @@ import ( | |||||
| 11 | // The #GSList struct is used for each element in the singly-linked | 12 | // The #GSList struct is used for each element in the singly-linked | ||
| 12 | // list. | 13 | // list. | ||
| 13 | type SList struct { | 14 | type SList struct { | ||
| 15 | + | _ structs.HostLayout | |||
| 16 | + | ||||
| 14 | Data uintptr | 17 | Data uintptr | ||
| 15 | 18 | ||||
| 16 | Next *SList | 19 | Next *SList | ||
M v4/glib/gstdio.go +2 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package glib | 2 | package glib | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -13,6 +14,7 @@ import ( | |||||
| 13 | // | 14 | // | ||
| 14 | // See g_stat() for more information. | 15 | // See g_stat() for more information. | ||
| 15 | type StatBuf struct { | 16 | type StatBuf struct { | ||
| 17 | + | _ structs.HostLayout | |||
| 16 | } | 18 | } | ||
| 17 | 19 | ||||
| 18 | func (x *StatBuf) GoPointer() uintptr { | 20 | func (x *StatBuf) GoPointer() uintptr { | ||
M v4/glib/gstring.go +3 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package glib | 2 | package glib | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -11,6 +12,8 @@ import ( | |||||
| 11 | 12 | ||||
| 12 | // The GString struct contains the public fields of a GString. | 13 | // The GString struct contains the public fields of a GString. | ||
| 13 | type String struct { | 14 | type String struct { | ||
| 15 | + | _ structs.HostLayout | |||
| 16 | + | ||||
| 14 | Str uintptr | 17 | Str uintptr | ||
| 15 | 18 | ||||
| 16 | Len uint | 19 | Len uint | ||
M v4/glib/gstringchunk.go +2 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package glib | 2 | package glib | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -11,6 +12,7 @@ import ( | |||||
| 11 | // An opaque data structure representing String Chunks. | 12 | // An opaque data structure representing String Chunks. | ||
| 12 | // It should only be accessed by using the following functions. | 13 | // It should only be accessed by using the following functions. | ||
| 13 | type StringChunk struct { | 14 | type StringChunk struct { | ||
| 15 | + | _ structs.HostLayout | |||
| 14 | } | 16 | } | ||
| 15 | 17 | ||||
| 16 | func (x *StringChunk) GoPointer() uintptr { | 18 | func (x *StringChunk) GoPointer() uintptr { | ||
M v4/glib/gstrvbuilder.go +2 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package glib | 2 | package glib | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -22,6 +23,7 @@ import ( | |||||
| 22 | // | 23 | // | ||
| 23 | // ]| | 24 | // ]| | ||
| 24 | type StrvBuilder struct { | 25 | type StrvBuilder struct { | ||
| 26 | + | _ structs.HostLayout | |||
| 25 | } | 27 | } | ||
| 26 | 28 | ||||
| 27 | func (x *StrvBuilder) GoPointer() uintptr { | 29 | func (x *StrvBuilder) GoPointer() uintptr { | ||
M v4/glib/gtestutils.go +9 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package glib | 2 | package glib | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -32,6 +33,7 @@ type TestLogFatalFunc func(string, LogLevelFlags, string, uintptr) bool | |||||
| 32 | 33 | ||||
| 33 | // An opaque structure representing a test case. | 34 | // An opaque structure representing a test case. | ||
| 34 | type TestCase struct { | 35 | type TestCase struct { | ||
| 36 | + | _ structs.HostLayout | |||
| 35 | } | 37 | } | ||
| 36 | 38 | ||||
| 37 | func (x *TestCase) GoPointer() uintptr { | 39 | func (x *TestCase) GoPointer() uintptr { | ||
| @@ -48,6 +50,8 @@ func (x *TestCase) Free() { | |||||
| 48 | } | 50 | } | ||
| 49 | 51 | ||||
| 50 | type TestConfig struct { | 52 | type TestConfig struct { | ||
| 53 | + | _ structs.HostLayout | |||
| 54 | + | ||||
| 51 | TestInitialized bool | 55 | TestInitialized bool | ||
| 52 | 56 | ||||
| 53 | TestQuick bool | 57 | TestQuick bool | ||
| @@ -66,6 +70,8 @@ func (x *TestConfig) GoPointer() uintptr { | |||||
| 66 | } | 70 | } | ||
| 67 | 71 | ||||
| 68 | type TestLogBuffer struct { | 72 | type TestLogBuffer struct { | ||
| 73 | + | _ structs.HostLayout | |||
| 74 | + | ||||
| 69 | Data *String | 75 | Data *String | ||
| 70 | 76 | ||||
| 71 | Msgs *SList | 77 | Msgs *SList | ||
| @@ -103,6 +109,8 @@ func (x *TestLogBuffer) Push(NBytesVar uint, BytesVar byte) { | |||||
| 103 | } | 109 | } | ||
| 104 | 110 | ||||
| 105 | type TestLogMsg struct { | 111 | type TestLogMsg struct { | ||
| 112 | + | _ structs.HostLayout | |||
| 113 | + | ||||
| 106 | LogType TestLogType | 114 | LogType TestLogType | ||
| 107 | 115 | ||||
| 108 | NStrings uint | 116 | NStrings uint | ||
| @@ -129,6 +137,7 @@ func (x *TestLogMsg) Free() { | |||||
| 129 | 137 | ||||
| 130 | // An opaque structure representing a test suite. | 138 | // An opaque structure representing a test suite. | ||
| 131 | type TestSuite struct { | 139 | type TestSuite struct { | ||
| 140 | + | _ structs.HostLayout | |||
| 132 | } | 141 | } | ||
| 133 | 142 | ||||
| 134 | func (x *TestSuite) GoPointer() uintptr { | 143 | func (x *TestSuite) GoPointer() uintptr { | ||
M v4/glib/gthread.go +12 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package glib | 2 | package glib | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -81,6 +82,8 @@ type ThreadFunc func(uintptr) uintptr | |||||
| 81 | // | 82 | // | ||
| 82 | // A #GCond should only be accessed via the g_cond_ functions. | 83 | // A #GCond should only be accessed via the g_cond_ functions. | ||
| 83 | type Cond struct { | 84 | type Cond struct { | ||
| 85 | + | _ structs.HostLayout | |||
| 86 | + | ||||
| 84 | P uintptr | 87 | P uintptr | ||
| 85 | 88 | ||||
| 86 | I [2]uint | 89 | I [2]uint | ||
| @@ -232,6 +235,8 @@ func (x *Cond) WaitUntil(MutexVar *Mutex, EndTimeVar int64) bool { | |||||
| 232 | // one-time initialization function must have its own unique #GOnce | 235 | // one-time initialization function must have its own unique #GOnce | ||
| 233 | // struct. | 236 | // struct. | ||
| 234 | type Once struct { | 237 | type Once struct { | ||
| 238 | + | _ structs.HostLayout | |||
| 239 | + | ||||
| 235 | Status OnceStatus | 240 | Status OnceStatus | ||
| 236 | 241 | ||||
| 237 | Retval uintptr | 242 | Retval uintptr | ||
| @@ -267,6 +272,8 @@ func (x *Once) Impl(FuncVar *ThreadFunc, ArgVar uintptr) uintptr { | |||||
| 267 | // The #GPrivate structure should be considered opaque. It should only | 272 | // The #GPrivate structure should be considered opaque. It should only | ||
| 268 | // be accessed via the g_private_ functions. | 273 | // be accessed via the g_private_ functions. | ||
| 269 | type Private struct { | 274 | type Private struct { | ||
| 275 | + | _ structs.HostLayout | |||
| 276 | + | ||||
| 270 | P uintptr | 277 | P uintptr | ||
| 271 | 278 | ||||
| 272 | Notify DestroyNotify | 279 | Notify DestroyNotify | ||
| @@ -384,6 +391,8 @@ func (x *Private) Set(ValueVar uintptr) { | |||||
| 384 | // | 391 | // | ||
| 385 | // A GRWLock should only be accessed with the g_rw_lock_ functions. | 392 | // A GRWLock should only be accessed with the g_rw_lock_ functions. | ||
| 386 | type RWLock struct { | 393 | type RWLock struct { | ||
| 394 | + | _ structs.HostLayout | |||
| 395 | + | ||||
| 387 | P uintptr | 396 | P uintptr | ||
| 388 | 397 | ||||
| 389 | I [2]uint | 398 | I [2]uint | ||
| @@ -540,6 +549,8 @@ func (x *RWLock) WriterUnlock() { | |||||
| 540 | // A GRecMutex should only be accessed with the | 549 | // A GRecMutex should only be accessed with the | ||
| 541 | // g_rec_mutex_ functions. | 550 | // g_rec_mutex_ functions. | ||
| 542 | type RecMutex struct { | 551 | type RecMutex struct { | ||
| 552 | + | _ structs.HostLayout | |||
| 553 | + | ||||
| 543 | P uintptr | 554 | P uintptr | ||
| 544 | 555 | ||||
| 545 | I [2]uint | 556 | I [2]uint | ||
| @@ -655,6 +666,7 @@ func (x *RecMutex) Unlock() { | |||||
| 655 | // The structure is opaque -- none of its fields may be directly | 666 | // The structure is opaque -- none of its fields may be directly | ||
| 656 | // accessed. | 667 | // accessed. | ||
| 657 | type Thread struct { | 668 | type Thread struct { | ||
| 669 | + | _ structs.HostLayout | |||
| 658 | } | 670 | } | ||
| 659 | 671 | ||||
| 660 | var xThreadGLibType func() types.GType | 672 | var xThreadGLibType func() types.GType | ||
M v4/glib/gthreadpool.go +3 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package glib | 2 | package glib | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -12,6 +13,8 @@ import ( | |||||
| 12 | // public read-only members, but the underlying struct is bigger, | 13 | // public read-only members, but the underlying struct is bigger, | ||
| 13 | // so you must not copy this struct. | 14 | // so you must not copy this struct. | ||
| 14 | type ThreadPool struct { | 15 | type ThreadPool struct { | ||
| 16 | + | _ structs.HostLayout | |||
| 17 | + | ||||
| 15 | Func Func | 18 | Func Func | ||
| 16 | 19 | ||||
| 17 | UserData uintptr | 20 | UserData uintptr | ||
M v4/glib/gtimer.go +2 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package glib | 2 | package glib | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -10,6 +11,7 @@ import ( | |||||
| 10 | 11 | ||||
| 11 | // Opaque datatype that records a start time. | 12 | // Opaque datatype that records a start time. | ||
| 12 | type Timer struct { | 13 | type Timer struct { | ||
| 14 | + | _ structs.HostLayout | |||
| 13 | } | 15 | } | ||
| 14 | 16 | ||||
| 15 | func (x *Timer) GoPointer() uintptr { | 17 | func (x *Timer) GoPointer() uintptr { | ||
M v4/glib/gtimezone.go +2 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package glib | 2 | package glib | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -12,6 +13,7 @@ import ( | |||||
| 12 | // #GTimeZone is an opaque structure whose members cannot be accessed | 13 | // #GTimeZone is an opaque structure whose members cannot be accessed | ||
| 13 | // directly. | 14 | // directly. | ||
| 14 | type TimeZone struct { | 15 | type TimeZone struct { | ||
| 16 | + | _ structs.HostLayout | |||
| 15 | } | 17 | } | ||
| 16 | 18 | ||||
| 17 | var xTimeZoneGLibType func() types.GType | 19 | var xTimeZoneGLibType func() types.GType | ||
M v4/glib/gtrashstack.go +3 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package glib | 2 | package glib | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -11,6 +12,8 @@ import ( | |||||
| 11 | // Each piece of memory that is pushed onto the stack | 12 | // Each piece of memory that is pushed onto the stack | ||
| 12 | // is cast to a GTrashStack*. | 13 | // is cast to a GTrashStack*. | ||
| 13 | type TrashStack struct { | 14 | type TrashStack struct { | ||
| 15 | + | _ structs.HostLayout | |||
| 16 | + | ||||
| 14 | Next *TrashStack | 17 | Next *TrashStack | ||
| 15 | } | 18 | } | ||
| 16 | 19 | ||||
M v4/glib/gtree.go +3 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package glib | 2 | package glib | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -25,6 +26,7 @@ type TraverseNodeFunc func(*TreeNode, uintptr) bool | |||||
| 25 | // [balanced binary tree][glib-Balanced-Binary-Trees]. It should be | 26 | // [balanced binary tree][glib-Balanced-Binary-Trees]. It should be | ||
| 26 | // accessed only by using the following functions. | 27 | // accessed only by using the following functions. | ||
| 27 | type Tree struct { | 28 | type Tree struct { | ||
| 29 | + | _ structs.HostLayout | |||
| 28 | } | 30 | } | ||
| 29 | 31 | ||||
| 30 | var xTreeGLibType func() types.GType | 32 | var xTreeGLibType func() types.GType | ||
| @@ -387,6 +389,7 @@ func (x *Tree) UpperBound(KeyVar uintptr) *TreeNode { | |||||
| 387 | 389 | ||||
| 388 | // An opaque type which identifies a specific node in a #GTree. | 390 | // An opaque type which identifies a specific node in a #GTree. | ||
| 389 | type TreeNode struct { | 391 | type TreeNode struct { | ||
| 392 | + | _ structs.HostLayout | |||
| 390 | } | 393 | } | ||
| 391 | 394 | ||||
| 392 | func (x *TreeNode) GoPointer() uintptr { | 395 | func (x *TreeNode) GoPointer() uintptr { | ||
M v4/glib/gtypes.go +3 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package glib | 2 | package glib | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -95,6 +96,8 @@ type TranslateFunc func(string, uintptr) string | |||||
| 95 | // `tv_sec` is that on 32-bit systems `GTimeVal` is subject to the year 2038 | 96 | // `tv_sec` is that on 32-bit systems `GTimeVal` is subject to the year 2038 | ||
| 96 | // problem. | 97 | // problem. | ||
| 97 | type TimeVal struct { | 98 | type TimeVal struct { | ||
| 99 | + | _ structs.HostLayout | |||
| 100 | + | ||||
| 98 | TvSec int32 | 101 | TvSec int32 | ||
| 99 | 102 | ||||
| 100 | TvUsec int32 | 103 | TvUsec int32 | ||
M v4/glib/guri.go +4 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package glib | 2 | package glib | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -118,6 +119,7 @@ import ( | |||||
| 118 | // thing according to the `data:` URI specification which GLib does not | 119 | // thing according to the `data:` URI specification which GLib does not | ||
| 119 | // handle. | 120 | // handle. | ||
| 120 | type Uri struct { | 121 | type Uri struct { | ||
| 122 | + | _ structs.HostLayout | |||
| 121 | } | 123 | } | ||
| 122 | 124 | ||||
| 123 | var xUriGLibType func() types.GType | 125 | var xUriGLibType func() types.GType | ||
| @@ -334,6 +336,8 @@ func (x *Uri) Unref() { | |||||
| 334 | // g_uri_params_iter_init(). See the documentation for g_uri_params_iter_init() | 336 | // g_uri_params_iter_init(). See the documentation for g_uri_params_iter_init() | ||
| 335 | // for a usage example. | 337 | // for a usage example. | ||
| 336 | type UriParamsIter struct { | 338 | type UriParamsIter struct { | ||
| 339 | + | _ structs.HostLayout | |||
| 340 | + | ||||
| 337 | Dummy0 int32 | 341 | Dummy0 int32 | ||
| 338 | 342 | ||||
| 339 | Dummy1 uintptr | 343 | Dummy1 uintptr | ||
M v4/glib/gutils.go +3 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package glib | 2 | package glib | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -16,6 +17,8 @@ type VoidFunc func() | |||||
| 16 | // Associates a string with a bit flag. | 17 | // Associates a string with a bit flag. | ||
| 17 | // Used in g_parse_debug_string(). | 18 | // Used in g_parse_debug_string(). | ||
| 18 | type DebugKey struct { | 19 | type DebugKey struct { | ||
| 20 | + | _ structs.HostLayout | |||
| 21 | + | ||||
| 19 | Key uintptr | 22 | Key uintptr | ||
| 20 | 23 | ||||
| 21 | Value uint | 24 | Value uint | ||
M v4/glib/gvariant.go +6 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package glib | 2 | package glib | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -254,6 +255,7 @@ import ( | |||||
| 254 | // management for those dictionaries, but the type information would | 255 | // management for those dictionaries, but the type information would | ||
| 255 | // be shared. | 256 | // be shared. | ||
| 256 | type Variant struct { | 257 | type Variant struct { | ||
| 258 | + | _ structs.HostLayout | |||
| 257 | } | 259 | } | ||
| 258 | 260 | ||||
| 259 | var xVariantGLibType func() types.GType | 261 | var xVariantGLibType func() types.GType | ||
| @@ -1768,6 +1770,7 @@ func (x *Variant) Unref() { | |||||
| 1768 | // #GVariantBuilder is not threadsafe in any way. Do not attempt to | 1770 | // #GVariantBuilder is not threadsafe in any way. Do not attempt to | ||
| 1769 | // access it from more than one thread. | 1771 | // access it from more than one thread. | ||
| 1770 | type VariantBuilder struct { | 1772 | type VariantBuilder struct { | ||
| 1773 | + | _ structs.HostLayout | |||
| 1771 | } | 1774 | } | ||
| 1772 | 1775 | ||||
| 1773 | var xVariantBuilderGLibType func() types.GType | 1776 | var xVariantBuilderGLibType func() types.GType | ||
| @@ -2155,6 +2158,7 @@ func (x *VariantBuilder) Unref() { | |||||
| 2155 | // | 2158 | // | ||
| 2156 | // ]| | 2159 | // ]| | ||
| 2157 | type VariantDict struct { | 2160 | type VariantDict struct { | ||
| 2161 | + | _ structs.HostLayout | |||
| 2158 | } | 2162 | } | ||
| 2159 | 2163 | ||||
| 2160 | var xVariantDictGLibType func() types.GType | 2164 | var xVariantDictGLibType func() types.GType | ||
| @@ -2354,6 +2358,8 @@ func (x *VariantDict) Unref() { | |||||
| 2354 | // #GVariantIter is an opaque data structure and can only be accessed | 2358 | // #GVariantIter is an opaque data structure and can only be accessed | ||
| 2355 | // using the following functions. | 2359 | // using the following functions. | ||
| 2356 | type VariantIter struct { | 2360 | type VariantIter struct { | ||
| 2361 | + | _ structs.HostLayout | |||
| 2362 | + | ||||
| 2357 | X [16]uint | 2363 | X [16]uint | ||
| 2358 | } | 2364 | } | ||
| 2359 | 2365 | ||||
M v4/glib/gvarianttype.go +2 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package glib | 2 | package glib | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -178,6 +179,7 @@ import ( | |||||
| 178 | // that, due to the restriction that the key of a dictionary entry must | 179 | // that, due to the restriction that the key of a dictionary entry must | ||
| 179 | // be a basic type, "{**}" is not a valid type string. | 180 | // be a basic type, "{**}" is not a valid type string. | ||
| 180 | type VariantType struct { | 181 | type VariantType struct { | ||
| 182 | + | _ structs.HostLayout | |||
| 181 | } | 183 | } | ||
| 182 | 184 | ||||
| 183 | var xVariantTypeGLibType func() types.GType | 185 | var xVariantTypeGLibType func() types.GType | ||
M v4/gmodule/gmodule.go +2 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gmodule | 2 | package gmodule | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -25,6 +26,7 @@ type ModuleUnload func(*Module) | |||||
| 25 | // [dynamically-loaded module][glib-Dynamic-Loading-of-Modules]. | 26 | // [dynamically-loaded module][glib-Dynamic-Loading-of-Modules]. | ||
| 26 | // It should only be accessed via the following functions. | 27 | // It should only be accessed via the following functions. | ||
| 27 | type Module struct { | 28 | type Module struct { | ||
| 29 | + | _ structs.HostLayout | |||
| 28 | } | 30 | } | ||
| 29 | 31 | ||||
| 30 | func (x *Module) GoPointer() uintptr { | 32 | func (x *Module) GoPointer() uintptr { | ||
M v4/gobject/gclosure.go +7 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gobject | 2 | package gobject | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -34,6 +35,8 @@ type VaClosureMarshal func(*Closure, *Value, *TypeInstance, []interface{}, uintp | |||||
| 34 | 35 | ||||
| 35 | // A #GCClosure is a specialization of #GClosure for C function callbacks. | 36 | // A #GCClosure is a specialization of #GClosure for C function callbacks. | ||
| 36 | type CClosure struct { | 37 | type CClosure struct { | ||
| 38 | + | _ structs.HostLayout | |||
| 39 | + | ||||
| 37 | Closure uintptr | 40 | Closure uintptr | ||
| 38 | 41 | ||||
| 39 | Callback uintptr | 42 | Callback uintptr | ||
| @@ -88,6 +91,8 @@ func (x *CClosure) GoPointer() uintptr { | |||||
| 88 | // - g_closure_invalidate() and invalidation notifiers allow callbacks to be | 91 | // - g_closure_invalidate() and invalidation notifiers allow callbacks to be | ||
| 89 | // automatically removed when the objects they point to go away. | 92 | // automatically removed when the objects they point to go away. | ||
| 90 | type Closure struct { | 93 | type Closure struct { | ||
| 94 | + | _ structs.HostLayout | |||
| 95 | + | ||||
| 91 | RefCount uint | 96 | RefCount uint | ||
| 92 | 97 | ||||
| 93 | MetaMarshalNouse uint | 98 | MetaMarshalNouse uint | ||
| @@ -405,6 +410,8 @@ func (x *Closure) Unref() { | |||||
| 405 | } | 410 | } | ||
| 406 | 411 | ||||
| 407 | type ClosureNotifyData struct { | 412 | type ClosureNotifyData struct { | ||
| 413 | + | _ structs.HostLayout | |||
| 414 | + | ||||
| 408 | Data uintptr | 415 | Data uintptr | ||
| 409 | 416 | ||||
| 410 | Notify ClosureNotify | 417 | Notify ClosureNotify | ||
M v4/gobject/genums.go +9 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gobject | 2 | package gobject | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -12,6 +13,8 @@ import ( | |||||
| 12 | // The class of an enumeration type holds information about its | 13 | // The class of an enumeration type holds information about its | ||
| 13 | // possible values. | 14 | // possible values. | ||
| 14 | type EnumClass struct { | 15 | type EnumClass struct { | ||
| 16 | + | _ structs.HostLayout | |||
| 17 | + | ||||
| 15 | GTypeClass uintptr | 18 | GTypeClass uintptr | ||
| 16 | 19 | ||||
| 17 | Minimum int32 | 20 | Minimum int32 | ||
| @@ -30,6 +33,8 @@ func (x *EnumClass) GoPointer() uintptr { | |||||
| 30 | // A structure which contains a single enum value, its name, and its | 33 | // A structure which contains a single enum value, its name, and its | ||
| 31 | // nickname. | 34 | // nickname. | ||
| 32 | type EnumValue struct { | 35 | type EnumValue struct { | ||
| 36 | + | _ structs.HostLayout | |||
| 37 | + | ||||
| 33 | Value int32 | 38 | Value int32 | ||
| 34 | 39 | ||||
| 35 | ValueName uintptr | 40 | ValueName uintptr | ||
| @@ -44,6 +49,8 @@ func (x *EnumValue) GoPointer() uintptr { | |||||
| 44 | // The class of a flags type holds information about its | 49 | // The class of a flags type holds information about its | ||
| 45 | // possible values. | 50 | // possible values. | ||
| 46 | type FlagsClass struct { | 51 | type FlagsClass struct { | ||
| 52 | + | _ structs.HostLayout | |||
| 53 | + | ||||
| 47 | GTypeClass uintptr | 54 | GTypeClass uintptr | ||
| 48 | 55 | ||||
| 49 | Mask uint | 56 | Mask uint | ||
| @@ -60,6 +67,8 @@ func (x *FlagsClass) GoPointer() uintptr { | |||||
| 60 | // A structure which contains a single flags value, its name, and its | 67 | // A structure which contains a single flags value, its name, and its | ||
| 61 | // nickname. | 68 | // nickname. | ||
| 62 | type FlagsValue struct { | 69 | type FlagsValue struct { | ||
| 70 | + | _ structs.HostLayout | |||
| 71 | + | ||||
| 63 | Value uint | 72 | Value uint | ||
| 64 | 73 | ||||
| 65 | ValueName uintptr | 74 | ValueName uintptr | ||
M v4/gobject/gobject.go +8 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gobject | 2 | package gobject | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -40,6 +41,8 @@ type WeakNotify func(uintptr, uintptr) | |||||
| 40 | 41 | ||||
| 41 | // The class structure for the GInitiallyUnowned type. | 42 | // The class structure for the GInitiallyUnowned type. | ||
| 42 | type InitiallyUnownedClass struct { | 43 | type InitiallyUnownedClass struct { | ||
| 44 | + | _ structs.HostLayout | |||
| 45 | + | ||||
| 43 | GTypeClass uintptr | 46 | GTypeClass uintptr | ||
| 44 | 47 | ||||
| 45 | ConstructProperties *glib.SList | 48 | ConstructProperties *glib.SList | ||
| @@ -83,6 +86,8 @@ func (x *InitiallyUnownedClass) GoPointer() uintptr { | |||||
| 83 | // | 86 | // | ||
| 84 | // ]| | 87 | // ]| | ||
| 85 | type ObjectClass struct { | 88 | type ObjectClass struct { | ||
| 89 | + | _ structs.HostLayout | |||
| 90 | + | ||||
| 86 | GTypeClass uintptr | 91 | GTypeClass uintptr | ||
| 87 | 92 | ||||
| 88 | ConstructProperties *glib.SList | 93 | ConstructProperties *glib.SList | ||
| @@ -241,6 +246,8 @@ func (x *ObjectClass) OverrideProperty(PropertyIdVar uint, NameVar string) { | |||||
| 241 | // The GObjectConstructParam struct is an auxiliary structure used to hand | 246 | // The GObjectConstructParam struct is an auxiliary structure used to hand | ||
| 242 | // #GParamSpec/#GValue pairs to the @constructor of a #GObjectClass. | 247 | // #GParamSpec/#GValue pairs to the @constructor of a #GObjectClass. | ||
| 243 | type ObjectConstructParam struct { | 248 | type ObjectConstructParam struct { | ||
| 249 | + | _ structs.HostLayout | |||
| 250 | + | ||||
| 244 | Pspec *ParamSpec | 251 | Pspec *ParamSpec | ||
| 245 | 252 | ||||
| 246 | Value *Value | 253 | Value *Value | ||
| @@ -275,6 +282,7 @@ func (x *ObjectConstructParam) GoPointer() uintptr { | |||||
| 275 | // It is invalid to take a #GWeakRef on an object during #GObjectClass.dispose | 282 | // It is invalid to take a #GWeakRef on an object during #GObjectClass.dispose | ||
| 276 | // without first having or creating a strong reference to the object. | 283 | // without first having or creating a strong reference to the object. | ||
| 277 | type WeakRef struct { | 284 | type WeakRef struct { | ||
| 285 | + | _ structs.HostLayout | |||
| 278 | } | 286 | } | ||
| 279 | 287 | ||||
| 280 | func (x *WeakRef) GoPointer() uintptr { | 288 | func (x *WeakRef) GoPointer() uintptr { | ||
M v4/gobject/gparam.go +8 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gobject | 2 | package gobject | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -14,6 +15,8 @@ import ( | |||||
| 14 | // Normally, GParamSpec classes are filled by | 15 | // Normally, GParamSpec classes are filled by | ||
| 15 | // g_param_type_register_static(). | 16 | // g_param_type_register_static(). | ||
| 16 | type ParamSpecClass struct { | 17 | type ParamSpecClass struct { | ||
| 18 | + | _ structs.HostLayout | |||
| 19 | + | ||||
| 17 | GTypeClass uintptr | 20 | GTypeClass uintptr | ||
| 18 | 21 | ||||
| 19 | ValueType types.GType | 22 | ValueType types.GType | ||
| @@ -31,6 +34,7 @@ func (x *ParamSpecClass) GoPointer() uintptr { | |||||
| 31 | // The implementation of the #GObject property system uses such a pool to | 34 | // The implementation of the #GObject property system uses such a pool to | ||
| 32 | // store the #GParamSpecs of the properties all object types. | 35 | // store the #GParamSpecs of the properties all object types. | ||
| 33 | type ParamSpecPool struct { | 36 | type ParamSpecPool struct { | ||
| 37 | + | _ structs.HostLayout | |||
| 34 | } | 38 | } | ||
| 35 | 39 | ||||
| 36 | func (x *ParamSpecPool) GoPointer() uintptr { | 40 | func (x *ParamSpecPool) GoPointer() uintptr { | ||
| @@ -101,6 +105,8 @@ func (x *ParamSpecPool) Remove(PspecVar *ParamSpec) { | |||||
| 101 | // does not need to be persistent across invocation of | 105 | // does not need to be persistent across invocation of | ||
| 102 | // g_param_type_register_static(). | 106 | // g_param_type_register_static(). | ||
| 103 | type ParamSpecTypeInfo struct { | 107 | type ParamSpecTypeInfo struct { | ||
| 108 | + | _ structs.HostLayout | |||
| 109 | + | ||||
| 104 | InstanceSize uint16 | 110 | InstanceSize uint16 | ||
| 105 | 111 | ||||
| 106 | NPreallocs uint16 | 112 | NPreallocs uint16 | ||
| @@ -115,6 +121,8 @@ func (x *ParamSpecTypeInfo) GoPointer() uintptr { | |||||
| 115 | // The GParameter struct is an auxiliary structure used | 121 | // The GParameter struct is an auxiliary structure used | ||
| 116 | // to hand parameter name/value pairs to g_object_newv(). | 122 | // to hand parameter name/value pairs to g_object_newv(). | ||
| 117 | type Parameter struct { | 123 | type Parameter struct { | ||
| 124 | + | _ structs.HostLayout | |||
| 125 | + | ||||
| 118 | Name uintptr | 126 | Name uintptr | ||
| 119 | 127 | ||||
| 120 | Value uintptr | 128 | Value uintptr | ||
M v4/gobject/gsignal.go +5 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gobject | 2 | package gobject | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -31,6 +32,8 @@ type SignalEmissionHook func(*SignalInvocationHint, uint, []Value, uintptr) bool | |||||
| 31 | // The #GSignalInvocationHint structure is used to pass on additional information | 32 | // The #GSignalInvocationHint structure is used to pass on additional information | ||
| 32 | // to callbacks during a signal emission. | 33 | // to callbacks during a signal emission. | ||
| 33 | type SignalInvocationHint struct { | 34 | type SignalInvocationHint struct { | ||
| 35 | + | _ structs.HostLayout | |||
| 36 | + | ||||
| 34 | SignalId uint | 37 | SignalId uint | ||
| 35 | 38 | ||||
| 36 | Detail glib.Quark | 39 | Detail glib.Quark | ||
| @@ -46,6 +49,8 @@ func (x *SignalInvocationHint) GoPointer() uintptr { | |||||
| 46 | // | 49 | // | ||
| 47 | // See also: g_signal_query() | 50 | // See also: g_signal_query() | ||
| 48 | type SignalQuery struct { | 51 | type SignalQuery struct { | ||
| 52 | + | _ structs.HostLayout | |||
| 53 | + | ||||
| 49 | SignalId uint | 54 | SignalId uint | ||
| 50 | 55 | ||||
| 51 | SignalName uintptr | 56 | SignalName uintptr | ||
M v4/gobject/gtype.go +17 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gobject | 2 | package gobject | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -208,6 +209,8 @@ type TypeInterfaceCheckFunc func(uintptr, *TypeInterface) | |||||
| 208 | // A structure that provides information to the type system which is | 209 | // A structure that provides information to the type system which is | ||
| 209 | // used specifically for managing interface types. | 210 | // used specifically for managing interface types. | ||
| 210 | type InterfaceInfo struct { | 211 | type InterfaceInfo struct { | ||
| 212 | + | _ structs.HostLayout | |||
| 213 | + | ||||
| 211 | InterfaceInit InterfaceInitFunc | 214 | InterfaceInit InterfaceInitFunc | ||
| 212 | 215 | ||||
| 213 | InterfaceFinalize InterfaceFinalizeFunc | 216 | InterfaceFinalize InterfaceFinalizeFunc | ||
| @@ -221,6 +224,8 @@ func (x *InterfaceInfo) GoPointer() uintptr { | |||||
| 221 | 224 | ||||
| 222 | // An opaque structure used as the base of all classes. | 225 | // An opaque structure used as the base of all classes. | ||
| 223 | type TypeClass struct { | 226 | type TypeClass struct { | ||
| 227 | + | _ structs.HostLayout | |||
| 228 | + | ||||
| 224 | GType types.GType | 229 | GType types.GType | ||
| 225 | } | 230 | } | ||
| 226 | 231 | ||||
| @@ -369,6 +374,8 @@ func (x *TypeClass) UnrefUncached() { | |||||
| 369 | // A structure that provides information to the type system which is | 374 | // A structure that provides information to the type system which is | ||
| 370 | // used specifically for managing fundamental types. | 375 | // used specifically for managing fundamental types. | ||
| 371 | type TypeFundamentalInfo struct { | 376 | type TypeFundamentalInfo struct { | ||
| 377 | + | _ structs.HostLayout | |||
| 378 | + | ||||
| 372 | TypeFlags TypeFundamentalFlags | 379 | TypeFlags TypeFundamentalFlags | ||
| 373 | } | 380 | } | ||
| 374 | 381 | ||||
| @@ -386,6 +393,8 @@ func (x *TypeFundamentalInfo) GoPointer() uintptr { | |||||
| 386 | // copy of this structure, so its memory does not need to be persistent | 393 | // copy of this structure, so its memory does not need to be persistent | ||
| 387 | // across invocation of g_type_register_static(). | 394 | // across invocation of g_type_register_static(). | ||
| 388 | type TypeInfo struct { | 395 | type TypeInfo struct { | ||
| 396 | + | _ structs.HostLayout | |||
| 397 | + | ||||
| 389 | ClassSize uint16 | 398 | ClassSize uint16 | ||
| 390 | 399 | ||||
| 391 | BaseInit BaseInitFunc | 400 | BaseInit BaseInitFunc | ||
| @@ -413,6 +422,8 @@ func (x *TypeInfo) GoPointer() uintptr { | |||||
| 413 | 422 | ||||
| 414 | // An opaque structure used as the base of all type instances. | 423 | // An opaque structure used as the base of all type instances. | ||
| 415 | type TypeInstance struct { | 424 | type TypeInstance struct { | ||
| 425 | + | _ structs.HostLayout | |||
| 426 | + | ||||
| 416 | GClass *TypeClass | 427 | GClass *TypeClass | ||
| 417 | } | 428 | } | ||
| 418 | 429 | ||||
| @@ -430,6 +441,8 @@ func (x *TypeInstance) GetPrivate(PrivateTypeVar types.GType) uintptr { | |||||
| 430 | 441 | ||||
| 431 | // An opaque structure used as the base of all interface types. | 442 | // An opaque structure used as the base of all interface types. | ||
| 432 | type TypeInterface struct { | 443 | type TypeInterface struct { | ||
| 444 | + | _ structs.HostLayout | |||
| 445 | + | ||||
| 433 | GType types.GType | 446 | GType types.GType | ||
| 434 | 447 | ||||
| 435 | GInstanceType types.GType | 448 | GInstanceType types.GType | ||
| @@ -455,6 +468,8 @@ func (x *TypeInterface) PeekParent() *TypeInterface { | |||||
| 455 | // | 468 | // | ||
| 456 | // See also: g_type_query() | 469 | // See also: g_type_query() | ||
| 457 | type TypeQuery struct { | 470 | type TypeQuery struct { | ||
| 471 | + | _ structs.HostLayout | |||
| 472 | + | ||||
| 458 | Type types.GType | 473 | Type types.GType | ||
| 459 | 474 | ||||
| 460 | TypeName uintptr | 475 | TypeName uintptr | ||
| @@ -471,6 +486,8 @@ func (x *TypeQuery) GoPointer() uintptr { | |||||
| 471 | // The #GTypeValueTable provides the functions required by the #GValue | 486 | // The #GTypeValueTable provides the functions required by the #GValue | ||
| 472 | // implementation, to serve as a container for values of a type. | 487 | // implementation, to serve as a container for values of a type. | ||
| 473 | type TypeValueTable struct { | 488 | type TypeValueTable struct { | ||
| 489 | + | _ structs.HostLayout | |||
| 490 | + | ||||
| 474 | CollectFormat uintptr | 491 | CollectFormat uintptr | ||
| 475 | 492 | ||||
| 476 | LcopyFormat uintptr | 493 | LcopyFormat uintptr | ||
M v4/gobject/gtypemodule.go +3 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gobject | 2 | package gobject | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -12,6 +13,8 @@ import ( | |||||
| 12 | // In order to implement dynamic loading of types based on #GTypeModule, | 13 | // In order to implement dynamic loading of types based on #GTypeModule, | ||
| 13 | // the @load and @unload functions in #GTypeModuleClass must be implemented. | 14 | // the @load and @unload functions in #GTypeModuleClass must be implemented. | ||
| 14 | type TypeModuleClass struct { | 15 | type TypeModuleClass struct { | ||
| 16 | + | _ structs.HostLayout | |||
| 17 | + | ||||
| 15 | ParentClass uintptr | 18 | ParentClass uintptr | ||
| 16 | } | 19 | } | ||
| 17 | 20 | ||||
M v4/gobject/gtypeplugin.go +3 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gobject | 2 | package gobject | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/puregotk/v4/gobject/types" | 8 | "github.com/jwijenbergh/puregotk/v4/gobject/types" | ||
| @@ -23,6 +24,8 @@ type TypePluginUse func(uintptr) | |||||
| 23 | // The #GTypePlugin interface is used by the type system in order to handle | 24 | // The #GTypePlugin interface is used by the type system in order to handle | ||
| 24 | // the lifecycle of dynamically loaded types. | 25 | // the lifecycle of dynamically loaded types. | ||
| 25 | type TypePluginClass struct { | 26 | type TypePluginClass struct { | ||
| 27 | + | _ structs.HostLayout | |||
| 28 | + | ||||
| 26 | BaseIface uintptr | 29 | BaseIface uintptr | ||
| 27 | 30 | ||||
| 28 | UsePlugin TypePluginUse | 31 | UsePlugin TypePluginUse | ||
M v4/gobject/gvalue.go +3 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gobject | 2 | package gobject | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -27,6 +28,8 @@ type ValueTransform func(*Value, *Value) | |||||
| 27 | // within the 2 element @data union, and the @g_type member should | 28 | // within the 2 element @data union, and the @g_type member should | ||
| 28 | // only be accessed through the G_VALUE_TYPE() macro. | 29 | // only be accessed through the G_VALUE_TYPE() macro. | ||
| 29 | type Value struct { | 30 | type Value struct { | ||
| 31 | + | _ structs.HostLayout | |||
| 32 | + | ||||
| 30 | GType types.GType | 33 | GType types.GType | ||
| 31 | 34 | ||||
| 32 | Data [2]uint64 | 35 | Data [2]uint64 | ||
M v4/gobject/gvaluearray.go +3 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gobject | 2 | package gobject | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -12,6 +13,8 @@ import ( | |||||
| 12 | 13 | ||||
| 13 | // A #GValueArray contains an array of #GValue elements. | 14 | // A #GValueArray contains an array of #GValue elements. | ||
| 14 | type ValueArray struct { | 15 | type ValueArray struct { | ||
| 16 | + | _ structs.HostLayout | |||
| 17 | + | ||||
| 15 | NValues uint | 18 | NValues uint | ||
| 16 | 19 | ||||
| 17 | Values *Value | 20 | Values *Value | ||
M v4/graphene/graphene-box.go +3 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package graphene | 2 | package graphene | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -12,6 +13,8 @@ import ( | |||||
| 12 | // A 3D box, described as the volume between a minimum and | 13 | // A 3D box, described as the volume between a minimum and | ||
| 13 | // a maximum vertices. | 14 | // a maximum vertices. | ||
| 14 | type Box struct { | 15 | type Box struct { | ||
| 16 | + | _ structs.HostLayout | |||
| 17 | + | ||||
| 15 | Min uintptr | 18 | Min uintptr | ||
| 16 | 19 | ||||
| 17 | Max uintptr | 20 | Max uintptr | ||
M v4/graphene/graphene-config.go +8 -1
| @@ -1,9 +1,14 @@ | |||||
| 1 | // Package graphene was automatically generated by github.com/jwijenbergh/puregotk DO NOT EDIT | 1 | // Package graphene was automatically generated by github.com/jwijenbergh/puregotk DO NOT EDIT | ||
| 2 | package graphene | 2 | package graphene | ||
| 3 | 3 | ||||
| 4 | - | import "unsafe" | 4 | + | import ( |
| 5 | + | "structs" | |||
| 6 | + | "unsafe" | |||
| 7 | + | ) | |||
| 5 | 8 | ||||
| 6 | type Simd4F struct { | 9 | type Simd4F struct { | ||
| 10 | + | _ structs.HostLayout | |||
| 11 | + | ||||
| 7 | X float32 | 12 | X float32 | ||
| 8 | 13 | ||||
| 9 | Y float32 | 14 | Y float32 | ||
| @@ -18,6 +23,8 @@ func (x *Simd4F) GoPointer() uintptr { | |||||
| 18 | } | 23 | } | ||
| 19 | 24 | ||||
| 20 | type Simd4X4F struct { | 25 | type Simd4X4F struct { | ||
| 26 | + | _ structs.HostLayout | |||
| 27 | + | ||||
| 21 | X uintptr | 28 | X uintptr | ||
| 22 | 29 | ||||
| 23 | Y uintptr | 30 | Y uintptr | ||
M v4/graphene/graphene-euler.go +3 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package graphene | 2 | package graphene | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -14,6 +15,8 @@ import ( | |||||
| 14 | // The contents of the #graphene_euler_t structure are private | 15 | // The contents of the #graphene_euler_t structure are private | ||
| 15 | // and should never be accessed directly. | 16 | // and should never be accessed directly. | ||
| 16 | type Euler struct { | 17 | type Euler struct { | ||
| 18 | + | _ structs.HostLayout | |||
| 19 | + | ||||
| 17 | Angles uintptr | 20 | Angles uintptr | ||
| 18 | 21 | ||||
| 19 | Order EulerOrder | 22 | Order EulerOrder | ||
M v4/graphene/graphene-frustum.go +3 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package graphene | 2 | package graphene | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -14,6 +15,8 @@ import ( | |||||
| 14 | // The contents of the `graphene_frustum_t` are private, and should not be | 15 | // The contents of the `graphene_frustum_t` are private, and should not be | ||
| 15 | // modified directly. | 16 | // modified directly. | ||
| 16 | type Frustum struct { | 17 | type Frustum struct { | ||
| 18 | + | _ structs.HostLayout | |||
| 19 | + | ||||
| 17 | Planes [6]Plane | 20 | Planes [6]Plane | ||
| 18 | } | 21 | } | ||
| 19 | 22 | ||||
M v4/graphene/graphene-matrix.go +3 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package graphene | 2 | package graphene | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -14,6 +15,8 @@ import ( | |||||
| 14 | // The contents of the #graphene_matrix_t structure are private and | 15 | // The contents of the #graphene_matrix_t structure are private and | ||
| 15 | // should never be accessed directly. | 16 | // should never be accessed directly. | ||
| 16 | type Matrix struct { | 17 | type Matrix struct { | ||
| 18 | + | _ structs.HostLayout | |||
| 19 | + | ||||
| 17 | Value uintptr | 20 | Value uintptr | ||
| 18 | } | 21 | } | ||
| 19 | 22 | ||||
M v4/graphene/graphene-plane.go +3 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package graphene | 2 | package graphene | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -14,6 +15,8 @@ import ( | |||||
| 14 | // The contents of the `graphene_plane_t` are private, and should not be | 15 | // The contents of the `graphene_plane_t` are private, and should not be | ||
| 15 | // modified directly. | 16 | // modified directly. | ||
| 16 | type Plane struct { | 17 | type Plane struct { | ||
| 18 | + | _ structs.HostLayout | |||
| 19 | + | ||||
| 17 | Normal uintptr | 20 | Normal uintptr | ||
| 18 | 21 | ||||
| 19 | Constant float32 | 22 | Constant float32 | ||
M v4/graphene/graphene-point.go +3 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package graphene | 2 | package graphene | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -11,6 +12,8 @@ import ( | |||||
| 11 | 12 | ||||
| 12 | // A point with two coordinates. | 13 | // A point with two coordinates. | ||
| 13 | type Point struct { | 14 | type Point struct { | ||
| 15 | + | _ structs.HostLayout | |||
| 16 | + | ||||
| 14 | X float32 | 17 | X float32 | ||
| 15 | 18 | ||||
| 16 | Y float32 | 19 | Y float32 | ||
M v4/graphene/graphene-point3d.go +3 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package graphene | 2 | package graphene | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -11,6 +12,8 @@ import ( | |||||
| 11 | 12 | ||||
| 12 | // A point with three components: X, Y, and Z. | 13 | // A point with three components: X, Y, and Z. | ||
| 13 | type Point3D struct { | 14 | type Point3D struct { | ||
| 15 | + | _ structs.HostLayout | |||
| 16 | + | ||||
| 14 | X float32 | 17 | X float32 | ||
| 15 | 18 | ||||
| 16 | Y float32 | 19 | Y float32 | ||
M v4/graphene/graphene-quad.go +3 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package graphene | 2 | package graphene | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -14,6 +15,8 @@ import ( | |||||
| 14 | // The contents of a #graphene_quad_t are private and should never be | 15 | // The contents of a #graphene_quad_t are private and should never be | ||
| 15 | // accessed directly. | 16 | // accessed directly. | ||
| 16 | type Quad struct { | 17 | type Quad struct { | ||
| 18 | + | _ structs.HostLayout | |||
| 19 | + | ||||
| 17 | Points [4]Point | 20 | Points [4]Point | ||
| 18 | } | 21 | } | ||
| 19 | 22 | ||||
M v4/graphene/graphene-quaternion.go +3 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package graphene | 2 | package graphene | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -14,6 +15,8 @@ import ( | |||||
| 14 | // The contents of the #graphene_quaternion_t structure are private | 15 | // The contents of the #graphene_quaternion_t structure are private | ||
| 15 | // and should never be accessed directly. | 16 | // and should never be accessed directly. | ||
| 16 | type Quaternion struct { | 17 | type Quaternion struct { | ||
| 18 | + | _ structs.HostLayout | |||
| 19 | + | ||||
| 17 | X float32 | 20 | X float32 | ||
| 18 | 21 | ||||
| 19 | Y float32 | 22 | Y float32 | ||
M v4/graphene/graphene-ray.go +3 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package graphene | 2 | package graphene | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -14,6 +15,8 @@ import ( | |||||
| 14 | // The contents of the `graphene_ray_t` structure are private, and should not | 15 | // The contents of the `graphene_ray_t` structure are private, and should not | ||
| 15 | // be modified directly. | 16 | // be modified directly. | ||
| 16 | type Ray struct { | 17 | type Ray struct { | ||
| 18 | + | _ structs.HostLayout | |||
| 19 | + | ||||
| 17 | Origin uintptr | 20 | Origin uintptr | ||
| 18 | 21 | ||||
| 19 | Direction uintptr | 22 | Direction uintptr | ||
M v4/graphene/graphene-rect.go +3 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package graphene | 2 | package graphene | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -22,6 +23,8 @@ import ( | |||||
| 22 | // will internally operate on a normalized copy; all functions returning a | 23 | // will internally operate on a normalized copy; all functions returning a | ||
| 23 | // #graphene_rect_t will always return a normalized rectangle. | 24 | // #graphene_rect_t will always return a normalized rectangle. | ||
| 24 | type Rect struct { | 25 | type Rect struct { | ||
| 26 | + | _ structs.HostLayout | |||
| 27 | + | ||||
| 25 | Origin uintptr | 28 | Origin uintptr | ||
| 26 | 29 | ||||
| 27 | Size uintptr | 30 | Size uintptr | ||
M v4/graphene/graphene-size.go +3 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package graphene | 2 | package graphene | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -11,6 +12,8 @@ import ( | |||||
| 11 | 12 | ||||
| 12 | // A size. | 13 | // A size. | ||
| 13 | type Size struct { | 14 | type Size struct { | ||
| 15 | + | _ structs.HostLayout | |||
| 16 | + | ||||
| 14 | Width float32 | 17 | Width float32 | ||
| 15 | 18 | ||||
| 16 | Height float32 | 19 | Height float32 | ||
M v4/graphene/graphene-sphere.go +3 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package graphene | 2 | package graphene | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -11,6 +12,8 @@ import ( | |||||
| 11 | 12 | ||||
| 12 | // A sphere, represented by its center and radius. | 13 | // A sphere, represented by its center and radius. | ||
| 13 | type Sphere struct { | 14 | type Sphere struct { | ||
| 15 | + | _ structs.HostLayout | |||
| 16 | + | ||||
| 14 | Center uintptr | 17 | Center uintptr | ||
| 15 | 18 | ||||
| 16 | Radius float32 | 19 | Radius float32 | ||
M v4/graphene/graphene-triangle.go +3 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package graphene | 2 | package graphene | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -11,6 +12,8 @@ import ( | |||||
| 11 | 12 | ||||
| 12 | // A triangle. | 13 | // A triangle. | ||
| 13 | type Triangle struct { | 14 | type Triangle struct { | ||
| 15 | + | _ structs.HostLayout | |||
| 16 | + | ||||
| 14 | A uintptr | 17 | A uintptr | ||
| 15 | 18 | ||||
| 16 | B uintptr | 19 | B uintptr | ||
M v4/graphene/graphene-vec2.go +3 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package graphene | 2 | package graphene | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -14,6 +15,8 @@ import ( | |||||
| 14 | // The contents of the #graphene_vec2_t structure are private and should | 15 | // The contents of the #graphene_vec2_t structure are private and should | ||
| 15 | // never be accessed directly. | 16 | // never be accessed directly. | ||
| 16 | type Vec2 struct { | 17 | type Vec2 struct { | ||
| 18 | + | _ structs.HostLayout | |||
| 19 | + | ||||
| 17 | Value uintptr | 20 | Value uintptr | ||
| 18 | } | 21 | } | ||
| 19 | 22 | ||||
M v4/graphene/graphene-vec3.go +3 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package graphene | 2 | package graphene | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -14,6 +15,8 @@ import ( | |||||
| 14 | // The contents of the #graphene_vec3_t structure are private and should | 15 | // The contents of the #graphene_vec3_t structure are private and should | ||
| 15 | // never be accessed directly. | 16 | // never be accessed directly. | ||
| 16 | type Vec3 struct { | 17 | type Vec3 struct { | ||
| 18 | + | _ structs.HostLayout | |||
| 19 | + | ||||
| 17 | Value uintptr | 20 | Value uintptr | ||
| 18 | } | 21 | } | ||
| 19 | 22 | ||||
M v4/graphene/graphene-vec4.go +3 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package graphene | 2 | package graphene | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -14,6 +15,8 @@ import ( | |||||
| 14 | // The contents of the #graphene_vec4_t structure are private and should | 15 | // The contents of the #graphene_vec4_t structure are private and should | ||
| 15 | // never be accessed directly. | 16 | // never be accessed directly. | ||
| 16 | type Vec4 struct { | 17 | type Vec4 struct { | ||
| 18 | + | _ structs.HostLayout | |||
| 19 | + | ||||
| 17 | Value uintptr | 20 | Value uintptr | ||
| 18 | } | 21 | } | ||
| 19 | 22 | ||||
M v4/gsk/gskbroadwayrenderer.go +2 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gsk | 2 | package gsk | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -10,6 +11,7 @@ import ( | |||||
| 10 | ) | 11 | ) | ||
| 11 | 12 | ||||
| 12 | type BroadwayRendererClass struct { | 13 | type BroadwayRendererClass struct { | ||
| 14 | + | _ structs.HostLayout | |||
| 13 | } | 15 | } | ||
| 14 | 16 | ||||
| 15 | func (x *BroadwayRendererClass) GoPointer() uintptr { | 17 | func (x *BroadwayRendererClass) GoPointer() uintptr { | ||
M v4/gsk/gskcairorenderer.go +2 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gsk | 2 | package gsk | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -10,6 +11,7 @@ import ( | |||||
| 10 | ) | 11 | ) | ||
| 11 | 12 | ||||
| 12 | type CairoRendererClass struct { | 13 | type CairoRendererClass struct { | ||
| 14 | + | _ structs.HostLayout | |||
| 13 | } | 15 | } | ||
| 14 | 16 | ||||
| 15 | func (x *CairoRendererClass) GoPointer() uintptr { | 17 | func (x *CairoRendererClass) GoPointer() uintptr { | ||
M v4/gsk/gskglrenderer.go +2 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gsk | 2 | package gsk | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -10,6 +11,7 @@ import ( | |||||
| 10 | ) | 11 | ) | ||
| 11 | 12 | ||||
| 12 | type GLRendererClass struct { | 13 | type GLRendererClass struct { | ||
| 14 | + | _ structs.HostLayout | |||
| 13 | } | 15 | } | ||
| 14 | 16 | ||||
| 15 | func (x *GLRendererClass) GoPointer() uintptr { | 17 | func (x *GLRendererClass) GoPointer() uintptr { | ||
M v4/gsk/gskglshader.go +4 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gsk | 2 | package gsk | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -13,6 +14,8 @@ import ( | |||||
| 13 | ) | 14 | ) | ||
| 14 | 15 | ||||
| 15 | type GLShaderClass struct { | 16 | type GLShaderClass struct { | ||
| 17 | + | _ structs.HostLayout | |||
| 18 | + | ||||
| 16 | ParentClass uintptr | 19 | ParentClass uintptr | ||
| 17 | } | 20 | } | ||
| 18 | 21 | ||||
| @@ -22,6 +25,7 @@ func (x *GLShaderClass) GoPointer() uintptr { | |||||
| 22 | 25 | ||||
| 23 | // An object to build the uniforms data for a `GskGLShader`. | 26 | // An object to build the uniforms data for a `GskGLShader`. | ||
| 24 | type ShaderArgsBuilder struct { | 27 | type ShaderArgsBuilder struct { | ||
| 28 | + | _ structs.HostLayout | |||
| 25 | } | 29 | } | ||
| 26 | 30 | ||||
| 27 | var xShaderArgsBuilderGLibType func() types.GType | 31 | var xShaderArgsBuilderGLibType func() types.GType | ||
M v4/gsk/gskrenderer.go +2 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gsk | 2 | package gsk | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -15,6 +16,7 @@ import ( | |||||
| 15 | ) | 16 | ) | ||
| 16 | 17 | ||||
| 17 | type RendererClass struct { | 18 | type RendererClass struct { | ||
| 19 | + | _ structs.HostLayout | |||
| 18 | } | 20 | } | ||
| 19 | 21 | ||||
| 20 | func (x *RendererClass) GoPointer() uintptr { | 22 | func (x *RendererClass) GoPointer() uintptr { | ||
M v4/gsk/gskrendernode.go +7 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gsk | 2 | package gsk | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -19,6 +20,8 @@ type ParseErrorFunc func(*ParseLocation, *ParseLocation, *glib.Error, uintptr) | |||||
| 19 | 20 | ||||
| 20 | // A color stop in a gradient node. | 21 | // A color stop in a gradient node. | ||
| 21 | type ColorStop struct { | 22 | type ColorStop struct { | ||
| 23 | + | _ structs.HostLayout | |||
| 24 | + | ||||
| 22 | Offset float32 | 25 | Offset float32 | ||
| 23 | 26 | ||||
| 24 | Color uintptr | 27 | Color uintptr | ||
| @@ -30,6 +33,8 @@ func (x *ColorStop) GoPointer() uintptr { | |||||
| 30 | 33 | ||||
| 31 | // A location in a parse buffer. | 34 | // A location in a parse buffer. | ||
| 32 | type ParseLocation struct { | 35 | type ParseLocation struct { | ||
| 36 | + | _ structs.HostLayout | |||
| 37 | + | ||||
| 33 | Bytes uint | 38 | Bytes uint | ||
| 34 | 39 | ||||
| 35 | Chars uint | 40 | Chars uint | ||
| @@ -47,6 +52,8 @@ func (x *ParseLocation) GoPointer() uintptr { | |||||
| 47 | 52 | ||||
| 48 | // The shadow parameters in a shadow node. | 53 | // The shadow parameters in a shadow node. | ||
| 49 | type Shadow struct { | 54 | type Shadow struct { | ||
| 55 | + | _ structs.HostLayout | |||
| 56 | + | ||||
| 50 | Color uintptr | 57 | Color uintptr | ||
| 51 | 58 | ||||
| 52 | Dx float32 | 59 | Dx float32 | ||
M v4/gsk/gskroundedrect.go +3 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gsk | 2 | package gsk | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -23,6 +24,8 @@ import ( | |||||
| 23 | // The algorithm used for normalizing corner sizes is described in | 24 | // The algorithm used for normalizing corner sizes is described in | ||
| 24 | // [the CSS specification](https://drafts.csswg.org/css-backgrounds-3/#border-radius). | 25 | // [the CSS specification](https://drafts.csswg.org/css-backgrounds-3/#border-radius). | ||
| 25 | type RoundedRect struct { | 26 | type RoundedRect struct { | ||
| 27 | + | _ structs.HostLayout | |||
| 28 | + | ||||
| 26 | Bounds uintptr | 29 | Bounds uintptr | ||
| 27 | 30 | ||||
| 28 | Corner [4]graphene.Size | 31 | Corner [4]graphene.Size | ||
M v4/gsk/gsktypes.go +2 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gsk | 2 | package gsk | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -21,6 +22,7 @@ import ( | |||||
| 21 | // This means code can safely expose them as properties of objects without | 22 | // This means code can safely expose them as properties of objects without | ||
| 22 | // having to worry about others changing them. | 23 | // having to worry about others changing them. | ||
| 23 | type Transform struct { | 24 | type Transform struct { | ||
| 25 | + | _ structs.HostLayout | |||
| 24 | } | 26 | } | ||
| 25 | 27 | ||||
| 26 | var xTransformGLibType func() types.GType | 28 | var xTransformGLibType func() types.GType | ||
M v4/gtk/gtkaccessible.go +2 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gtk | 2 | package gtk | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -11,6 +12,7 @@ import ( | |||||
| 11 | ) | 12 | ) | ||
| 12 | 13 | ||||
| 13 | type AccessibleInterface struct { | 14 | type AccessibleInterface struct { | ||
| 15 | + | _ structs.HostLayout | |||
| 14 | } | 16 | } | ||
| 15 | 17 | ||||
| 16 | func (x *AccessibleInterface) GoPointer() uintptr { | 18 | func (x *AccessibleInterface) GoPointer() uintptr { | ||
M v4/gtk/gtkactionable.go +3 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gtk | 2 | package gtk | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -12,6 +13,8 @@ import ( | |||||
| 12 | 13 | ||||
| 13 | // The interface vtable for `GtkActionable`. | 14 | // The interface vtable for `GtkActionable`. | ||
| 14 | type ActionableInterface struct { | 15 | type ActionableInterface struct { | ||
| 16 | + | _ structs.HostLayout | |||
| 17 | + | ||||
| 15 | GIface uintptr | 18 | GIface uintptr | ||
| 16 | } | 19 | } | ||
| 17 | 20 | ||||
M v4/gtk/gtkadjustment.go +3 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gtk | 2 | package gtk | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -12,6 +13,8 @@ import ( | |||||
| 12 | ) | 13 | ) | ||
| 13 | 14 | ||||
| 14 | type AdjustmentClass struct { | 15 | type AdjustmentClass struct { | ||
| 16 | + | _ structs.HostLayout | |||
| 17 | + | ||||
| 15 | ParentClass uintptr | 18 | ParentClass uintptr | ||
| 16 | } | 19 | } | ||
| 17 | 20 | ||||
M v4/gtk/gtkapplication.go +3 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gtk | 2 | package gtk | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -13,6 +14,8 @@ import ( | |||||
| 13 | ) | 14 | ) | ||
| 14 | 15 | ||||
| 15 | type ApplicationClass struct { | 16 | type ApplicationClass struct { | ||
| 17 | + | _ structs.HostLayout | |||
| 18 | + | ||||
| 16 | ParentClass uintptr | 19 | ParentClass uintptr | ||
| 17 | 20 | ||||
| 18 | Padding [8]uintptr | 21 | Padding [8]uintptr | ||
M v4/gtk/gtkapplicationwindow.go +3 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gtk | 2 | package gtk | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -15,6 +16,8 @@ import ( | |||||
| 15 | ) | 16 | ) | ||
| 16 | 17 | ||||
| 17 | type ApplicationWindowClass struct { | 18 | type ApplicationWindowClass struct { | ||
| 19 | + | _ structs.HostLayout | |||
| 20 | + | ||||
| 18 | ParentClass uintptr | 21 | ParentClass uintptr | ||
| 19 | 22 | ||||
| 20 | Padding [8]uintptr | 23 | Padding [8]uintptr | ||
M v4/gtk/gtkatcontext.go +2 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gtk | 2 | package gtk | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -13,6 +14,7 @@ import ( | |||||
| 13 | ) | 14 | ) | ||
| 14 | 15 | ||||
| 15 | type ATContextClass struct { | 16 | type ATContextClass struct { | ||
| 17 | + | _ structs.HostLayout | |||
| 16 | } | 18 | } | ||
| 17 | 19 | ||||
| 18 | func (x *ATContextClass) GoPointer() uintptr { | 20 | func (x *ATContextClass) GoPointer() uintptr { | ||
M v4/gtk/gtkbinlayout.go +3 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gtk | 2 | package gtk | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -10,6 +11,8 @@ import ( | |||||
| 10 | ) | 11 | ) | ||
| 11 | 12 | ||||
| 12 | type BinLayoutClass struct { | 13 | type BinLayoutClass struct { | ||
| 14 | + | _ structs.HostLayout | |||
| 15 | + | ||||
| 13 | ParentClass uintptr | 16 | ParentClass uintptr | ||
| 14 | } | 17 | } | ||
| 15 | 18 | ||||
M v4/gtk/gtkbitset.go +3 -0
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gtk | 2 | package gtk | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "structs" | |||
| 5 | "unsafe" | 6 | "unsafe" | ||
| 6 | 7 | ||||
| 7 | "github.com/jwijenbergh/purego" | 8 | "github.com/jwijenbergh/purego" | ||
| @@ -16,6 +17,8 @@ import ( | |||||
| 16 | // [func@Gtk.BitsetIter.init_first], [func@Gtk.BitsetIter.init_last] | 17 | // [func@Gtk.BitsetIter.init_first], [func@Gtk.BitsetIter.init_last] | ||
| 17 | // or [func@Gtk.BitsetIter.init_at]. | 18 | // or [func@Gtk.BitsetIter.init_at]. | ||
| 18 | type BitsetIter struct { | 19 | type BitsetIter struct { | ||
| 20 | + | _ structs.HostLayout | |||
| 21 | + | ||||
| 19 | PrivateData [10]uintptr | 22 | PrivateData [10]uintptr | ||
| 20 | } | 23 | } | ||
| 21 | 24 | ||||