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 | 2 | package adw | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -15,6 +16,8 @@ import ( | |||
| 15 | 16 | ) | |
| 16 | 17 | ||
| 17 | 18 | type AboutWindowClass struct { | |
| 19 | + | _ structs.HostLayout | |
| 20 | + | ||
| 18 | 21 | ParentClass uintptr | |
| 19 | 22 | } | |
| 20 | 23 | ||
M v4/adw/adw-action-row.go +3 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package adw | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -13,6 +14,8 @@ import ( | |||
| 13 | 14 | ) | |
| 14 | 15 | ||
| 15 | 16 | type ActionRowClass struct { | |
| 17 | + | _ structs.HostLayout | |
| 18 | + | ||
| 16 | 19 | ParentClass uintptr | |
| 17 | 20 | ||
| 18 | 21 | Padding [4]uintptr | |
M v4/adw/adw-animation-target.go +4 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package adw | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -15,6 +16,7 @@ import ( | |||
| 15 | 16 | type AnimationTargetFunc func(float64, uintptr) | |
| 16 | 17 | ||
| 17 | 18 | type AnimationTargetClass struct { | |
| 19 | + | _ structs.HostLayout | |
| 18 | 20 | } | |
| 19 | 21 | ||
| 20 | 22 | func (x *AnimationTargetClass) GoPointer() uintptr { | |
| @@ -22,6 +24,7 @@ func (x *AnimationTargetClass) GoPointer() uintptr { | |||
| 22 | 24 | } | |
| 23 | 25 | ||
| 24 | 26 | type CallbackAnimationTargetClass struct { | |
| 27 | + | _ structs.HostLayout | |
| 25 | 28 | } | |
| 26 | 29 | ||
| 27 | 30 | func (x *CallbackAnimationTargetClass) GoPointer() uintptr { | |
| @@ -29,6 +32,7 @@ func (x *CallbackAnimationTargetClass) GoPointer() uintptr { | |||
| 29 | 32 | } | |
| 30 | 33 | ||
| 31 | 34 | type PropertyAnimationTargetClass struct { | |
| 35 | + | _ structs.HostLayout | |
| 32 | 36 | } | |
| 33 | 37 | ||
| 34 | 38 | func (x *PropertyAnimationTargetClass) GoPointer() uintptr { | |
M v4/adw/adw-animation.go +2 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package adw | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -13,6 +14,7 @@ import ( | |||
| 13 | 14 | ) | |
| 14 | 15 | ||
| 15 | 16 | type AnimationClass struct { | |
| 17 | + | _ structs.HostLayout | |
| 16 | 18 | } | |
| 17 | 19 | ||
| 18 | 20 | func (x *AnimationClass) GoPointer() uintptr { | |
M v4/adw/adw-application-window.go +3 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package adw | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -16,6 +17,8 @@ import ( | |||
| 16 | 17 | ) | |
| 17 | 18 | ||
| 18 | 19 | type ApplicationWindowClass struct { | |
| 20 | + | _ structs.HostLayout | |
| 21 | + | ||
| 19 | 22 | ParentClass uintptr | |
| 20 | 23 | ||
| 21 | 24 | Padding [4]uintptr | |
M v4/adw/adw-application.go +3 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package adw | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -14,6 +15,8 @@ import ( | |||
| 14 | 15 | ) | |
| 15 | 16 | ||
| 16 | 17 | type ApplicationClass struct { | |
| 18 | + | _ structs.HostLayout | |
| 19 | + | ||
| 17 | 20 | ParentClass uintptr | |
| 18 | 21 | ||
| 19 | 22 | Padding [4]uintptr | |
M v4/adw/adw-avatar.go +3 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package adw | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -13,6 +14,8 @@ import ( | |||
| 13 | 14 | ) | |
| 14 | 15 | ||
| 15 | 16 | type AvatarClass struct { | |
| 17 | + | _ structs.HostLayout | |
| 18 | + | ||
| 16 | 19 | ParentClass uintptr | |
| 17 | 20 | } | |
| 18 | 21 | ||
M v4/adw/adw-banner.go +3 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package adw | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -13,6 +14,8 @@ import ( | |||
| 13 | 14 | ) | |
| 14 | 15 | ||
| 15 | 16 | type BannerClass struct { | |
| 17 | + | _ structs.HostLayout | |
| 18 | + | ||
| 16 | 19 | ParentClass uintptr | |
| 17 | 20 | } | |
| 18 | 21 | ||
M v4/adw/adw-bin.go +3 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package adw | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -12,6 +13,8 @@ import ( | |||
| 12 | 13 | ) | |
| 13 | 14 | ||
| 14 | 15 | type BinClass struct { | |
| 16 | + | _ structs.HostLayout | |
| 17 | + | ||
| 15 | 18 | ParentClass uintptr | |
| 16 | 19 | } | |
| 17 | 20 | ||
M v4/adw/adw-button-content.go +3 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package adw | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -12,6 +13,8 @@ import ( | |||
| 12 | 13 | ) | |
| 13 | 14 | ||
| 14 | 15 | type ButtonContentClass struct { | |
| 16 | + | _ structs.HostLayout | |
| 17 | + | ||
| 15 | 18 | ParentClass uintptr | |
| 16 | 19 | } | |
| 17 | 20 | ||
M v4/adw/adw-carousel-indicator-dots.go +3 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package adw | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -12,6 +13,8 @@ import ( | |||
| 12 | 13 | ) | |
| 13 | 14 | ||
| 14 | 15 | type CarouselIndicatorDotsClass struct { | |
| 16 | + | _ structs.HostLayout | |
| 17 | + | ||
| 15 | 18 | ParentClass uintptr | |
| 16 | 19 | } | |
| 17 | 20 | ||
M v4/adw/adw-carousel-indicator-lines.go +3 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package adw | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -12,6 +13,8 @@ import ( | |||
| 12 | 13 | ) | |
| 13 | 14 | ||
| 14 | 15 | type CarouselIndicatorLinesClass struct { | |
| 16 | + | _ structs.HostLayout | |
| 17 | + | ||
| 15 | 18 | ParentClass uintptr | |
| 16 | 19 | } | |
| 17 | 20 | ||
M v4/adw/adw-carousel.go +3 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package adw | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -14,6 +15,8 @@ import ( | |||
| 14 | 15 | ) | |
| 15 | 16 | ||
| 16 | 17 | type CarouselClass struct { | |
| 18 | + | _ structs.HostLayout | |
| 19 | + | ||
| 17 | 20 | ParentClass uintptr | |
| 18 | 21 | } | |
| 19 | 22 | ||
M v4/adw/adw-clamp-layout.go +3 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package adw | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -11,6 +12,8 @@ import ( | |||
| 11 | 12 | ) | |
| 12 | 13 | ||
| 13 | 14 | type ClampLayoutClass struct { | |
| 15 | + | _ structs.HostLayout | |
| 16 | + | ||
| 14 | 17 | ParentClass uintptr | |
| 15 | 18 | } | |
| 16 | 19 | ||
M v4/adw/adw-clamp-scrollable.go +3 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package adw | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -12,6 +13,8 @@ import ( | |||
| 12 | 13 | ) | |
| 13 | 14 | ||
| 14 | 15 | type ClampScrollableClass struct { | |
| 16 | + | _ structs.HostLayout | |
| 17 | + | ||
| 15 | 18 | ParentClass uintptr | |
| 16 | 19 | } | |
| 17 | 20 | ||
M v4/adw/adw-clamp.go +3 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package adw | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -12,6 +13,8 @@ import ( | |||
| 12 | 13 | ) | |
| 13 | 14 | ||
| 14 | 15 | type ClampClass struct { | |
| 16 | + | _ structs.HostLayout | |
| 17 | + | ||
| 15 | 18 | ParentClass uintptr | |
| 16 | 19 | } | |
| 17 | 20 | ||
M v4/adw/adw-combo-row.go +3 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package adw | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -14,6 +15,8 @@ import ( | |||
| 14 | 15 | ) | |
| 15 | 16 | ||
| 16 | 17 | type ComboRowClass struct { | |
| 18 | + | _ structs.HostLayout | |
| 19 | + | ||
| 17 | 20 | ParentClass uintptr | |
| 18 | 21 | ||
| 19 | 22 | Padding [4]uintptr | |
M v4/adw/adw-entry-row.go +3 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package adw | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -14,6 +15,8 @@ import ( | |||
| 14 | 15 | ) | |
| 15 | 16 | ||
| 16 | 17 | type EntryRowClass struct { | |
| 18 | + | _ structs.HostLayout | |
| 19 | + | ||
| 17 | 20 | ParentClass uintptr | |
| 18 | 21 | } | |
| 19 | 22 | ||
M v4/adw/adw-enum-list-model.go +5 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package adw | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -12,6 +13,8 @@ import ( | |||
| 12 | 13 | ) | |
| 13 | 14 | ||
| 14 | 15 | type EnumListItemClass struct { | |
| 16 | + | _ structs.HostLayout | |
| 17 | + | ||
| 15 | 18 | ParentClass uintptr | |
| 16 | 19 | } | |
| 17 | 20 | ||
| @@ -20,6 +23,8 @@ func (x *EnumListItemClass) GoPointer() uintptr { | |||
| 20 | 23 | } | |
| 21 | 24 | ||
| 22 | 25 | type EnumListModelClass struct { | |
| 26 | + | _ structs.HostLayout | |
| 27 | + | ||
| 23 | 28 | ParentClass uintptr | |
| 24 | 29 | } | |
| 25 | 30 | ||
M v4/adw/adw-expander-row.go +3 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package adw | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -13,6 +14,8 @@ import ( | |||
| 13 | 14 | ) | |
| 14 | 15 | ||
| 15 | 16 | type ExpanderRowClass struct { | |
| 17 | + | _ structs.HostLayout | |
| 18 | + | ||
| 16 | 19 | ParentClass uintptr | |
| 17 | 20 | ||
| 18 | 21 | Padding [4]uintptr | |
M v4/adw/adw-flap.go +3 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package adw | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -13,6 +14,8 @@ import ( | |||
| 13 | 14 | ) | |
| 14 | 15 | ||
| 15 | 16 | type FlapClass struct { | |
| 17 | + | _ structs.HostLayout | |
| 18 | + | ||
| 16 | 19 | ParentClass uintptr | |
| 17 | 20 | } | |
| 18 | 21 | ||
M v4/adw/adw-header-bar.go +3 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package adw | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -12,6 +13,8 @@ import ( | |||
| 12 | 13 | ) | |
| 13 | 14 | ||
| 14 | 15 | type HeaderBarClass struct { | |
| 16 | + | _ structs.HostLayout | |
| 17 | + | ||
| 15 | 18 | ParentClass uintptr | |
| 16 | 19 | } | |
| 17 | 20 | ||
M v4/adw/adw-leaflet.go +5 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package adw | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -13,6 +14,8 @@ import ( | |||
| 13 | 14 | ) | |
| 14 | 15 | ||
| 15 | 16 | type LeafletClass struct { | |
| 17 | + | _ structs.HostLayout | |
| 18 | + | ||
| 16 | 19 | ParentClass uintptr | |
| 17 | 20 | } | |
| 18 | 21 | ||
| @@ -21,6 +24,8 @@ func (x *LeafletClass) GoPointer() uintptr { | |||
| 21 | 24 | } | |
| 22 | 25 | ||
| 23 | 26 | type LeafletPageClass struct { | |
| 27 | + | _ structs.HostLayout | |
| 28 | + | ||
| 24 | 29 | ParentClass uintptr | |
| 25 | 30 | } | |
| 26 | 31 | ||
M v4/adw/adw-message-dialog.go +3 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package adw | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -16,6 +17,8 @@ import ( | |||
| 16 | 17 | ) | |
| 17 | 18 | ||
| 18 | 19 | type MessageDialogClass struct { | |
| 20 | + | _ structs.HostLayout | |
| 21 | + | ||
| 19 | 22 | ParentClass uintptr | |
| 20 | 23 | ||
| 21 | 24 | Padding [4]uintptr | |
M v4/adw/adw-password-entry-row.go +3 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package adw | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -13,6 +14,8 @@ import ( | |||
| 13 | 14 | ) | |
| 14 | 15 | ||
| 15 | 16 | type PasswordEntryRowClass struct { | |
| 17 | + | _ structs.HostLayout | |
| 18 | + | ||
| 16 | 19 | ParentClass uintptr | |
| 17 | 20 | } | |
| 18 | 21 | ||
M v4/adw/adw-preferences-group.go +3 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package adw | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -12,6 +13,8 @@ import ( | |||
| 12 | 13 | ) | |
| 13 | 14 | ||
| 14 | 15 | type PreferencesGroupClass struct { | |
| 16 | + | _ structs.HostLayout | |
| 17 | + | ||
| 15 | 18 | ParentClass uintptr | |
| 16 | 19 | ||
| 17 | 20 | Padding [4]uintptr | |
M v4/adw/adw-preferences-page.go +3 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package adw | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -12,6 +13,8 @@ import ( | |||
| 12 | 13 | ) | |
| 13 | 14 | ||
| 14 | 15 | type PreferencesPageClass struct { | |
| 16 | + | _ structs.HostLayout | |
| 17 | + | ||
| 15 | 18 | ParentClass uintptr | |
| 16 | 19 | ||
| 17 | 20 | Padding [4]uintptr | |
M v4/adw/adw-preferences-row.go +3 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package adw | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -13,6 +14,8 @@ import ( | |||
| 13 | 14 | ) | |
| 14 | 15 | ||
| 15 | 16 | type PreferencesRowClass struct { | |
| 17 | + | _ structs.HostLayout | |
| 18 | + | ||
| 16 | 19 | ParentClass uintptr | |
| 17 | 20 | ||
| 18 | 21 | Padding [4]uintptr | |
M v4/adw/adw-preferences-window.go +3 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package adw | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -14,6 +15,8 @@ import ( | |||
| 14 | 15 | ) | |
| 15 | 16 | ||
| 16 | 17 | type PreferencesWindowClass struct { | |
| 18 | + | _ structs.HostLayout | |
| 19 | + | ||
| 17 | 20 | ParentClass uintptr | |
| 18 | 21 | ||
| 19 | 22 | Padding [4]uintptr | |
M v4/adw/adw-split-button.go +3 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package adw | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -14,6 +15,8 @@ import ( | |||
| 14 | 15 | ) | |
| 15 | 16 | ||
| 16 | 17 | type SplitButtonClass struct { | |
| 18 | + | _ structs.HostLayout | |
| 19 | + | ||
| 17 | 20 | ParentClass uintptr | |
| 18 | 21 | } | |
| 19 | 22 | ||
M v4/adw/adw-spring-animation.go +2 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package adw | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -12,6 +13,7 @@ import ( | |||
| 12 | 13 | ) | |
| 13 | 14 | ||
| 14 | 15 | type SpringAnimationClass struct { | |
| 16 | + | _ structs.HostLayout | |
| 15 | 17 | } | |
| 16 | 18 | ||
| 17 | 19 | func (x *SpringAnimationClass) GoPointer() uintptr { | |
M v4/adw/adw-spring-params.go +2 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package adw | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -40,6 +41,7 @@ import ( | |||
| 40 | 41 | // | |
| 41 | 42 | // As such | |
| 42 | 43 | type SpringParams struct { | |
| 44 | + | _ structs.HostLayout | |
| 43 | 45 | } | |
| 44 | 46 | ||
| 45 | 47 | var xSpringParamsGLibType func() types.GType | |
M v4/adw/adw-squeezer.go +5 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package adw | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -12,6 +13,8 @@ import ( | |||
| 12 | 13 | ) | |
| 13 | 14 | ||
| 14 | 15 | type SqueezerClass struct { | |
| 16 | + | _ structs.HostLayout | |
| 17 | + | ||
| 15 | 18 | ParentClass uintptr | |
| 16 | 19 | } | |
| 17 | 20 | ||
| @@ -20,6 +23,8 @@ func (x *SqueezerClass) GoPointer() uintptr { | |||
| 20 | 23 | } | |
| 21 | 24 | ||
| 22 | 25 | type SqueezerPageClass struct { | |
| 26 | + | _ structs.HostLayout | |
| 27 | + | ||
| 23 | 28 | ParentClass uintptr | |
| 24 | 29 | } | |
| 25 | 30 | ||
M v4/adw/adw-status-page.go +3 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package adw | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -13,6 +14,8 @@ import ( | |||
| 13 | 14 | ) | |
| 14 | 15 | ||
| 15 | 16 | type StatusPageClass struct { | |
| 17 | + | _ structs.HostLayout | |
| 18 | + | ||
| 16 | 19 | ParentClass uintptr | |
| 17 | 20 | } | |
| 18 | 21 | ||
M v4/adw/adw-style-manager.go +3 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package adw | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -12,6 +13,8 @@ import ( | |||
| 12 | 13 | ) | |
| 13 | 14 | ||
| 14 | 15 | type StyleManagerClass struct { | |
| 16 | + | _ structs.HostLayout | |
| 17 | + | ||
| 15 | 18 | ParentClass uintptr | |
| 16 | 19 | } | |
| 17 | 20 | ||
M v4/adw/adw-swipe-tracker.go +3 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package adw | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -13,6 +14,8 @@ import ( | |||
| 13 | 14 | ) | |
| 14 | 15 | ||
| 15 | 16 | type SwipeTrackerClass struct { | |
| 17 | + | _ structs.HostLayout | |
| 18 | + | ||
| 16 | 19 | ParentClass uintptr | |
| 17 | 20 | } | |
| 18 | 21 | ||
M v4/adw/adw-swipeable.go +3 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package adw | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -12,6 +13,8 @@ import ( | |||
| 12 | 13 | ||
| 13 | 14 | // An interface for swipeable widgets. | |
| 14 | 15 | type SwipeableInterface struct { | |
| 16 | + | _ structs.HostLayout | |
| 17 | + | ||
| 15 | 18 | Parent uintptr | |
| 16 | 19 | ||
| 17 | 20 | Padding [4]uintptr | |
M v4/adw/adw-tab-bar.go +3 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package adw | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -14,6 +15,8 @@ import ( | |||
| 14 | 15 | ) | |
| 15 | 16 | ||
| 16 | 17 | type TabBarClass struct { | |
| 18 | + | _ structs.HostLayout | |
| 19 | + | ||
| 17 | 20 | ParentClass uintptr | |
| 18 | 21 | } | |
| 19 | 22 | ||
M v4/adw/adw-tab-button.go +3 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package adw | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -13,6 +14,8 @@ import ( | |||
| 13 | 14 | ) | |
| 14 | 15 | ||
| 15 | 16 | type TabButtonClass struct { | |
| 17 | + | _ structs.HostLayout | |
| 18 | + | ||
| 16 | 19 | ParentClass uintptr | |
| 17 | 20 | } | |
| 18 | 21 | ||
M v4/adw/adw-tab-overview.go +3 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package adw | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -15,6 +16,8 @@ import ( | |||
| 15 | 16 | ) | |
| 16 | 17 | ||
| 17 | 18 | type TabOverviewClass struct { | |
| 19 | + | _ structs.HostLayout | |
| 20 | + | ||
| 18 | 21 | ParentClass uintptr | |
| 19 | 22 | } | |
| 20 | 23 | ||
M v4/adw/adw-tab-view.go +5 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package adw | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -14,6 +15,8 @@ import ( | |||
| 14 | 15 | ) | |
| 15 | 16 | ||
| 16 | 17 | type TabPageClass struct { | |
| 18 | + | _ structs.HostLayout | |
| 19 | + | ||
| 17 | 20 | ParentClass uintptr | |
| 18 | 21 | } | |
| 19 | 22 | ||
| @@ -22,6 +25,8 @@ func (x *TabPageClass) GoPointer() uintptr { | |||
| 22 | 25 | } | |
| 23 | 26 | ||
| 24 | 27 | type TabViewClass struct { | |
| 28 | + | _ structs.HostLayout | |
| 29 | + | ||
| 25 | 30 | ParentClass uintptr | |
| 26 | 31 | } | |
| 27 | 32 | ||
M v4/adw/adw-timed-animation.go +2 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package adw | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -12,6 +13,7 @@ import ( | |||
| 12 | 13 | ) | |
| 13 | 14 | ||
| 14 | 15 | type TimedAnimationClass struct { | |
| 16 | + | _ structs.HostLayout | |
| 15 | 17 | } | |
| 16 | 18 | ||
| 17 | 19 | func (x *TimedAnimationClass) GoPointer() uintptr { | |
M v4/adw/adw-toast-overlay.go +3 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package adw | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -12,6 +13,8 @@ import ( | |||
| 12 | 13 | ) | |
| 13 | 14 | ||
| 14 | 15 | type ToastOverlayClass struct { | |
| 16 | + | _ structs.HostLayout | |
| 17 | + | ||
| 15 | 18 | ParentClass uintptr | |
| 16 | 19 | } | |
| 17 | 20 | ||
M v4/adw/adw-toast.go +3 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package adw | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -13,6 +14,8 @@ import ( | |||
| 13 | 14 | ) | |
| 14 | 15 | ||
| 15 | 16 | type ToastClass struct { | |
| 17 | + | _ structs.HostLayout | |
| 18 | + | ||
| 16 | 19 | ParentClass uintptr | |
| 17 | 20 | } | |
| 18 | 21 | ||
M v4/adw/adw-view-stack.go +5 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package adw | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -12,6 +13,8 @@ import ( | |||
| 12 | 13 | ) | |
| 13 | 14 | ||
| 14 | 15 | type ViewStackClass struct { | |
| 16 | + | _ structs.HostLayout | |
| 17 | + | ||
| 15 | 18 | ParentClass uintptr | |
| 16 | 19 | } | |
| 17 | 20 | ||
| @@ -20,6 +23,8 @@ func (x *ViewStackClass) GoPointer() uintptr { | |||
| 20 | 23 | } | |
| 21 | 24 | ||
| 22 | 25 | type ViewStackPageClass struct { | |
| 26 | + | _ structs.HostLayout | |
| 27 | + | ||
| 23 | 28 | ParentClass uintptr | |
| 24 | 29 | } | |
| 25 | 30 | ||
M v4/adw/adw-view-switcher-bar.go +3 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package adw | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -12,6 +13,8 @@ import ( | |||
| 12 | 13 | ) | |
| 13 | 14 | ||
| 14 | 15 | type ViewSwitcherBarClass struct { | |
| 16 | + | _ structs.HostLayout | |
| 17 | + | ||
| 15 | 18 | ParentClass uintptr | |
| 16 | 19 | } | |
| 17 | 20 | ||
M v4/adw/adw-view-switcher-title.go +3 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package adw | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -12,6 +13,8 @@ import ( | |||
| 12 | 13 | ) | |
| 13 | 14 | ||
| 14 | 15 | type ViewSwitcherTitleClass struct { | |
| 16 | + | _ structs.HostLayout | |
| 17 | + | ||
| 15 | 18 | ParentClass uintptr | |
| 16 | 19 | } | |
| 17 | 20 | ||
M v4/adw/adw-view-switcher.go +3 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package adw | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -12,6 +13,8 @@ import ( | |||
| 12 | 13 | ) | |
| 13 | 14 | ||
| 14 | 15 | type ViewSwitcherClass struct { | |
| 16 | + | _ structs.HostLayout | |
| 17 | + | ||
| 15 | 18 | ParentClass uintptr | |
| 16 | 19 | } | |
| 17 | 20 | ||
M v4/adw/adw-window-title.go +3 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package adw | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -12,6 +13,8 @@ import ( | |||
| 12 | 13 | ) | |
| 13 | 14 | ||
| 14 | 15 | type WindowTitleClass struct { | |
| 16 | + | _ structs.HostLayout | |
| 17 | + | ||
| 15 | 18 | ParentClass uintptr | |
| 16 | 19 | } | |
| 17 | 20 | ||
M v4/adw/adw-window.go +3 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package adw | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -14,6 +15,8 @@ import ( | |||
| 14 | 15 | ) | |
| 15 | 16 | ||
| 16 | 17 | type WindowClass struct { | |
| 18 | + | _ structs.HostLayout | |
| 19 | + | ||
| 17 | 20 | ParentClass uintptr | |
| 18 | 21 | ||
| 19 | 22 | Padding [4]uintptr | |
M v4/cairo/main.go +15 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package cairo | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -10,6 +11,7 @@ import ( | |||
| 10 | 11 | ) | |
| 11 | 12 | ||
| 12 | 13 | type Context struct { | |
| 14 | + | _ structs.HostLayout | |
| 13 | 15 | } | |
| 14 | 16 | ||
| 15 | 17 | var xContextGLibType func() types.GType | |
| @@ -23,6 +25,7 @@ func (x *Context) GoPointer() uintptr { | |||
| 23 | 25 | } | |
| 24 | 26 | ||
| 25 | 27 | type Device struct { | |
| 28 | + | _ structs.HostLayout | |
| 26 | 29 | } | |
| 27 | 30 | ||
| 28 | 31 | var xDeviceGLibType func() types.GType | |
| @@ -36,6 +39,7 @@ func (x *Device) GoPointer() uintptr { | |||
| 36 | 39 | } | |
| 37 | 40 | ||
| 38 | 41 | type Surface struct { | |
| 42 | + | _ structs.HostLayout | |
| 39 | 43 | } | |
| 40 | 44 | ||
| 41 | 45 | var xSurfaceGLibType func() types.GType | |
| @@ -49,6 +53,7 @@ func (x *Surface) GoPointer() uintptr { | |||
| 49 | 53 | } | |
| 50 | 54 | ||
| 51 | 55 | type Matrix struct { | |
| 56 | + | _ structs.HostLayout | |
| 52 | 57 | } | |
| 53 | 58 | ||
| 54 | 59 | func (x *Matrix) GoPointer() uintptr { | |
| @@ -56,6 +61,7 @@ func (x *Matrix) GoPointer() uintptr { | |||
| 56 | 61 | } | |
| 57 | 62 | ||
| 58 | 63 | type Pattern struct { | |
| 64 | + | _ structs.HostLayout | |
| 59 | 65 | } | |
| 60 | 66 | ||
| 61 | 67 | var xPatternGLibType func() types.GType | |
| @@ -69,6 +75,7 @@ func (x *Pattern) GoPointer() uintptr { | |||
| 69 | 75 | } | |
| 70 | 76 | ||
| 71 | 77 | type Region struct { | |
| 78 | + | _ structs.HostLayout | |
| 72 | 79 | } | |
| 73 | 80 | ||
| 74 | 81 | var xRegionGLibType func() types.GType | |
| @@ -82,6 +89,7 @@ func (x *Region) GoPointer() uintptr { | |||
| 82 | 89 | } | |
| 83 | 90 | ||
| 84 | 91 | type FontOptions struct { | |
| 92 | + | _ structs.HostLayout | |
| 85 | 93 | } | |
| 86 | 94 | ||
| 87 | 95 | var xFontOptionsGLibType func() types.GType | |
| @@ -95,6 +103,7 @@ func (x *FontOptions) GoPointer() uintptr { | |||
| 95 | 103 | } | |
| 96 | 104 | ||
| 97 | 105 | type FontFace struct { | |
| 106 | + | _ structs.HostLayout | |
| 98 | 107 | } | |
| 99 | 108 | ||
| 100 | 109 | var xFontFaceGLibType func() types.GType | |
| @@ -108,6 +117,7 @@ func (x *FontFace) GoPointer() uintptr { | |||
| 108 | 117 | } | |
| 109 | 118 | ||
| 110 | 119 | type ScaledFont struct { | |
| 120 | + | _ structs.HostLayout | |
| 111 | 121 | } | |
| 112 | 122 | ||
| 113 | 123 | var xScaledFontGLibType func() types.GType | |
| @@ -121,6 +131,7 @@ func (x *ScaledFont) GoPointer() uintptr { | |||
| 121 | 131 | } | |
| 122 | 132 | ||
| 123 | 133 | type Path struct { | |
| 134 | + | _ structs.HostLayout | |
| 124 | 135 | } | |
| 125 | 136 | ||
| 126 | 137 | func (x *Path) GoPointer() uintptr { | |
| @@ -128,6 +139,8 @@ func (x *Path) GoPointer() uintptr { | |||
| 128 | 139 | } | |
| 129 | 140 | ||
| 130 | 141 | type Rectangle struct { | |
| 142 | + | _ structs.HostLayout | |
| 143 | + | ||
| 131 | 144 | X float64 | |
| 132 | 145 | ||
| 133 | 146 | Y float64 | |
| @@ -148,6 +161,8 @@ func (x *Rectangle) GoPointer() uintptr { | |||
| 148 | 161 | } | |
| 149 | 162 | ||
| 150 | 163 | type RectangleInt struct { | |
| 164 | + | _ structs.HostLayout | |
| 165 | + | ||
| 151 | 166 | X int32 | |
| 152 | 167 | ||
| 153 | 168 | Y int32 | |
M v4/gdk/gdkcontentformats.go +3 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gdk | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -13,6 +14,7 @@ import ( | |||
| 13 | 14 | // A `GdkContentFormatsBuilder` is an auxiliary struct used to create | |
| 14 | 15 | // new `GdkContentFormats`, and should not be kept around. | |
| 15 | 16 | type ContentFormatsBuilder struct { | |
| 17 | + | _ structs.HostLayout | |
| 16 | 18 | } | |
| 17 | 19 | ||
| 18 | 20 | var xContentFormatsBuilderGLibType func() types.GType | |
| @@ -113,6 +115,7 @@ func (x *ContentFormatsBuilder) Unref() { | |||
| 113 | 115 | ||
| 114 | 116 | // An opaque type representing a list of files. | |
| 115 | 117 | type FileList struct { | |
| 118 | + | _ structs.HostLayout | |
| 116 | 119 | } | |
| 117 | 120 | ||
| 118 | 121 | var xFileListGLibType func() types.GType | |
M v4/gdk/gdkcontentprovider.go +3 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gdk | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -14,6 +15,8 @@ import ( | |||
| 14 | 15 | ||
| 15 | 16 | // Class structure for `GdkContentProvider`. | |
| 16 | 17 | type ContentProviderClass struct { | |
| 18 | + | _ structs.HostLayout | |
| 19 | + | ||
| 17 | 20 | ParentClass uintptr | |
| 18 | 21 | ||
| 19 | 22 | Padding [8]uintptr | |
M v4/gdk/gdkdevice.go +3 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gdk | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -19,6 +20,8 @@ import ( | |||
| 19 | 20 | // To access individual axis values, use the values of the values of | |
| 20 | 21 | // the [enum@Gdk.AxisUse] enumerations as indices. | |
| 21 | 22 | type TimeCoord struct { | |
| 23 | + | _ structs.HostLayout | |
| 24 | + | ||
| 22 | 25 | Time uint32 | |
| 23 | 26 | ||
| 24 | 27 | Flags AxisFlags | |
M v4/gdk/gdkdevicepad.go +2 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gdk | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -10,6 +11,7 @@ import ( | |||
| 10 | 11 | ) | |
| 11 | 12 | ||
| 12 | 13 | type DevicePadInterface struct { | |
| 14 | + | _ structs.HostLayout | |
| 13 | 15 | } | |
| 14 | 16 | ||
| 15 | 17 | func (x *DevicePadInterface) GoPointer() uintptr { | |
M v4/gdk/gdkdragsurface.go +2 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gdk | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -11,6 +12,7 @@ import ( | |||
| 11 | 12 | ||
| 12 | 13 | // The `GdkDragSurfaceInterface` implementation is private to GDK. | |
| 13 | 14 | type DragSurfaceInterface struct { | |
| 15 | + | _ structs.HostLayout | |
| 14 | 16 | } | |
| 15 | 17 | ||
| 16 | 18 | func (x *DragSurfaceInterface) GoPointer() uintptr { | |
M v4/gdk/gdkevents.go +2 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gdk | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -13,6 +14,7 @@ import ( | |||
| 13 | 14 | // `GdkEventSequence` is an opaque type representing a sequence | |
| 14 | 15 | // of related touch events. | |
| 15 | 16 | type EventSequence struct { | |
| 17 | + | _ structs.HostLayout | |
| 16 | 18 | } | |
| 17 | 19 | ||
| 18 | 20 | var xEventSequenceGLibType func() types.GType | |
M v4/gdk/gdkframeclock.go +3 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gdk | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -12,6 +13,7 @@ import ( | |||
| 12 | 13 | ) | |
| 13 | 14 | ||
| 14 | 15 | type FrameClockClass struct { | |
| 16 | + | _ structs.HostLayout | |
| 15 | 17 | } | |
| 16 | 18 | ||
| 17 | 19 | func (x *FrameClockClass) GoPointer() uintptr { | |
| @@ -19,6 +21,7 @@ func (x *FrameClockClass) GoPointer() uintptr { | |||
| 19 | 21 | } | |
| 20 | 22 | ||
| 21 | 23 | type FrameClockPrivate struct { | |
| 24 | + | _ structs.HostLayout | |
| 22 | 25 | } | |
| 23 | 26 | ||
| 24 | 27 | func (x *FrameClockPrivate) GoPointer() uintptr { | |
M v4/gdk/gdkframetimings.go +2 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gdk | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -18,6 +19,7 @@ import ( | |||
| 18 | 19 | // the event or audio streams, and for measuring quality metrics for the | |
| 19 | 20 | // application’s display, such as latency and jitter. | |
| 20 | 21 | type FrameTimings struct { | |
| 22 | + | _ structs.HostLayout | |
| 21 | 23 | } | |
| 22 | 24 | ||
| 23 | 25 | var xFrameTimingsGLibType func() types.GType | |
M v4/gdk/gdkgltexture.go +2 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gdk | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -12,6 +13,7 @@ import ( | |||
| 12 | 13 | ) | |
| 13 | 14 | ||
| 14 | 15 | type GLTextureClass struct { | |
| 16 | + | _ structs.HostLayout | |
| 15 | 17 | } | |
| 16 | 18 | ||
| 17 | 19 | func (x *GLTextureClass) GoPointer() uintptr { | |
M v4/gdk/gdkmemorytexture.go +2 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gdk | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -12,6 +13,7 @@ import ( | |||
| 12 | 13 | ) | |
| 13 | 14 | ||
| 14 | 15 | type MemoryTextureClass struct { | |
| 16 | + | _ structs.HostLayout | |
| 15 | 17 | } | |
| 16 | 18 | ||
| 17 | 19 | func (x *MemoryTextureClass) GoPointer() uintptr { | |
M v4/gdk/gdkmonitor.go +2 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gdk | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -12,6 +13,7 @@ import ( | |||
| 12 | 13 | ) | |
| 13 | 14 | ||
| 14 | 15 | type MonitorClass struct { | |
| 16 | + | _ structs.HostLayout | |
| 15 | 17 | } | |
| 16 | 18 | ||
| 17 | 19 | func (x *MonitorClass) GoPointer() uintptr { | |
M v4/gdk/gdkpaintable.go +3 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gdk | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -19,6 +20,8 @@ import ( | |||
| 19 | 20 | // image is not dynamic as the default implementation returns no flags and | |
| 20 | 21 | // that will make the implementation likely quite slow. | |
| 21 | 22 | type PaintableInterface struct { | |
| 23 | + | _ structs.HostLayout | |
| 24 | + | ||
| 22 | 25 | GIface uintptr | |
| 23 | 26 | } | |
| 24 | 27 | ||
M v4/gdk/gdkpopup.go +2 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gdk | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -11,6 +12,7 @@ import ( | |||
| 11 | 12 | ) | |
| 12 | 13 | ||
| 13 | 14 | type PopupInterface struct { | |
| 15 | + | _ structs.HostLayout | |
| 14 | 16 | } | |
| 15 | 17 | ||
| 16 | 18 | func (x *PopupInterface) GoPointer() uintptr { | |
M v4/gdk/gdkpopuplayout.go +2 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gdk | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -43,6 +44,7 @@ import ( | |||
| 43 | 44 | // But you have to be careful avoid changing the size of the popover, or it | |
| 44 | 45 | // has to be presented again. | |
| 45 | 46 | type PopupLayout struct { | |
| 47 | + | _ structs.HostLayout | |
| 46 | 48 | } | |
| 47 | 49 | ||
| 48 | 50 | var xPopupLayoutGLibType func() types.GType | |
M v4/gdk/gdkrgba.go +3 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gdk | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -19,6 +20,8 @@ import ( | |||
| 19 | 20 | // (1.0, 1.0, 1.0, 1.0) is opaque white. Other values will | |
| 20 | 21 | // be clamped to this range when drawing. | |
| 21 | 22 | type RGBA struct { | |
| 23 | + | _ structs.HostLayout | |
| 24 | + | ||
| 22 | 25 | Red float32 | |
| 23 | 26 | ||
| 24 | 27 | Green float32 | |
M v4/gdk/gdksnapshot.go +2 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gdk | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/puregotk/v4/gobject" | |
| @@ -9,6 +10,7 @@ import ( | |||
| 9 | 10 | ) | |
| 10 | 11 | ||
| 11 | 12 | type SnapshotClass struct { | |
| 13 | + | _ structs.HostLayout | |
| 12 | 14 | } | |
| 13 | 15 | ||
| 14 | 16 | func (x *SnapshotClass) GoPointer() uintptr { | |
M v4/gdk/gdksurface.go +2 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gdk | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -13,6 +14,7 @@ import ( | |||
| 13 | 14 | ) | |
| 14 | 15 | ||
| 15 | 16 | type SurfaceClass struct { | |
| 17 | + | _ structs.HostLayout | |
| 16 | 18 | } | |
| 17 | 19 | ||
| 18 | 20 | func (x *SurfaceClass) GoPointer() uintptr { | |
M v4/gdk/gdktexture.go +2 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gdk | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -14,6 +15,7 @@ import ( | |||
| 14 | 15 | ) | |
| 15 | 16 | ||
| 16 | 17 | type TextureClass struct { | |
| 18 | + | _ structs.HostLayout | |
| 17 | 19 | } | |
| 18 | 20 | ||
| 19 | 21 | func (x *TextureClass) GoPointer() uintptr { | |
M v4/gdk/gdktoplevel.go +2 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gdk | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -11,6 +12,7 @@ import ( | |||
| 11 | 12 | ) | |
| 12 | 13 | ||
| 13 | 14 | type ToplevelInterface struct { | |
| 15 | + | _ structs.HostLayout | |
| 14 | 16 | } | |
| 15 | 17 | ||
| 16 | 18 | func (x *ToplevelInterface) GoPointer() uintptr { | |
M v4/gdk/gdktoplevellayout.go +2 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gdk | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -20,6 +21,7 @@ import ( | |||
| 20 | 21 | // to the user in various states (maximized, on all workspaces, | |
| 21 | 22 | // etc). | |
| 22 | 23 | type ToplevelLayout struct { | |
| 24 | + | _ structs.HostLayout | |
| 23 | 25 | } | |
| 24 | 26 | ||
| 25 | 27 | var xToplevelLayoutGLibType func() types.GType | |
M v4/gdk/gdktoplevelsize.go +2 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gdk | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -12,6 +13,7 @@ import ( | |||
| 12 | 13 | // The `GdkToplevelSize` struct contains information that is useful | |
| 13 | 14 | // to compute the size of a toplevel. | |
| 14 | 15 | type ToplevelSize struct { | |
| 16 | + | _ structs.HostLayout | |
| 15 | 17 | } | |
| 16 | 18 | ||
| 17 | 19 | func (x *ToplevelSize) GoPointer() uintptr { | |
M v4/gdk/gdktypes.go +6 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gdk | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -43,6 +44,7 @@ import ( | |||
| 43 | 44 | // The [struct@Gdk.ContentFormatsBuilder] structure is meant to help in this | |
| 44 | 45 | // endeavor. | |
| 45 | 46 | type ContentFormats struct { | |
| 47 | + | _ structs.HostLayout | |
| 46 | 48 | } | |
| 47 | 49 | ||
| 48 | 50 | var xContentFormatsGLibType func() types.GType | |
| @@ -250,6 +252,8 @@ func (x *ContentFormats) Unref() { | |||
| 250 | 252 | ||
| 251 | 253 | // A `GdkKeymapKey` is a hardware key that can be mapped to a keyval. | |
| 252 | 254 | type KeymapKey struct { | |
| 255 | + | _ structs.HostLayout | |
| 256 | + | ||
| 253 | 257 | Keycode uint | |
| 254 | 258 | ||
| 255 | 259 | Group int | |
| @@ -277,6 +281,8 @@ func (x *KeymapKey) GoPointer() uintptr { | |||
| 277 | 281 | // The Graphene library has a number of other data types for regions and | |
| 278 | 282 | // volumes in 2D and 3D. | |
| 279 | 283 | type Rectangle struct { | |
| 284 | + | _ structs.HostLayout | |
| 285 | + | ||
| 280 | 286 | X int | |
| 281 | 287 | ||
| 282 | 288 | Y int | |
M v4/gdkpixbuf/gdk-pixbuf-animation.go +5 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gdkpixbuf | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -16,6 +17,8 @@ import ( | |||
| 16 | 17 | // #GdkPixbufAnimation, providing suitable implementations of the | |
| 17 | 18 | // virtual functions. | |
| 18 | 19 | type PixbufAnimationClass struct { | |
| 20 | + | _ structs.HostLayout | |
| 21 | + | ||
| 19 | 22 | ParentClass uintptr | |
| 20 | 23 | } | |
| 21 | 24 | ||
| @@ -27,6 +30,8 @@ func (x *PixbufAnimationClass) GoPointer() uintptr { | |||
| 27 | 30 | // #GdkPixbufAnimationIter, providing suitable implementations of the | |
| 28 | 31 | // virtual functions. | |
| 29 | 32 | type PixbufAnimationIterClass struct { | |
| 33 | + | _ structs.HostLayout | |
| 34 | + | ||
| 30 | 35 | ParentClass uintptr | |
| 31 | 36 | } | |
| 32 | 37 | ||
M v4/gdkpixbuf/gdk-pixbuf-io.go +7 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gdkpixbuf | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -105,6 +106,8 @@ type PixbufModuleUpdatedFunc func(uintptr, int, int, int, int, uintptr) | |||
| 105 | 106 | // Only modules should access the fields directly, applications should | |
| 106 | 107 | // use the `gdk_pixbuf_format_*` family of functions. | |
| 107 | 108 | type PixbufFormat struct { | |
| 109 | + | _ structs.HostLayout | |
| 110 | + | ||
| 108 | 111 | Name uintptr | |
| 109 | 112 | ||
| 110 | 113 | Signature *PixbufModulePattern | |
| @@ -308,6 +311,8 @@ func (x *PixbufFormat) SetDisabled(DisabledVar bool) { | |||
| 308 | 311 | // `$libdir/gdk-pixbuf-2.0/$version/loaders.cache`, unless overridden | |
| 309 | 312 | // by the environment variable `GDK_PIXBUF_MODULE_FILE`) | |
| 310 | 313 | type PixbufModule struct { | |
| 314 | + | _ structs.HostLayout | |
| 315 | + | ||
| 311 | 316 | ModuleName uintptr | |
| 312 | 317 | ||
| 313 | 318 | ModulePath uintptr | |
| @@ -372,6 +377,8 @@ func (x *PixbufModule) GoPointer() uintptr { | |||
| 372 | 377 | // In the example above, the signature matches e.g. "auud\0" with | |
| 373 | 378 | // relevance 100, and "blau" with relevance 90. | |
| 374 | 379 | type PixbufModulePattern struct { | |
| 380 | + | _ structs.HostLayout | |
| 381 | + | ||
| 375 | 382 | Prefix uintptr | |
| 376 | 383 | ||
| 377 | 384 | Mask uintptr | |
M v4/gdkpixbuf/gdk-pixbuf-loader.go +3 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gdkpixbuf | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -12,6 +13,8 @@ import ( | |||
| 12 | 13 | ) | |
| 13 | 14 | ||
| 14 | 15 | type PixbufLoaderClass struct { | |
| 16 | + | _ structs.HostLayout | |
| 17 | + | ||
| 15 | 18 | ParentClass uintptr | |
| 16 | 19 | } | |
| 17 | 20 | ||
M v4/gdkpixbuf/gdk-pixbuf-simple-anim.go +2 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gdkpixbuf | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -10,6 +11,7 @@ import ( | |||
| 10 | 11 | ) | |
| 11 | 12 | ||
| 12 | 13 | type PixbufSimpleAnimClass struct { | |
| 14 | + | _ structs.HostLayout | |
| 13 | 15 | } | |
| 14 | 16 | ||
| 15 | 17 | func (x *PixbufSimpleAnimClass) GoPointer() uintptr { | |
M v4/gio/gaction.go +3 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gio | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -12,6 +13,8 @@ import ( | |||
| 12 | 13 | ||
| 13 | 14 | // The virtual function table for #GAction. | |
| 14 | 15 | type ActionInterface struct { | |
| 16 | + | _ structs.HostLayout | |
| 17 | + | ||
| 15 | 18 | GIface uintptr | |
| 16 | 19 | } | |
| 17 | 20 | ||
M v4/gio/gactiongroup.go +3 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gio | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -12,6 +13,8 @@ import ( | |||
| 12 | 13 | ||
| 13 | 14 | // The virtual function table for #GActionGroup. | |
| 14 | 15 | type ActionGroupInterface struct { | |
| 16 | + | _ structs.HostLayout | |
| 17 | + | ||
| 15 | 18 | GIface uintptr | |
| 16 | 19 | } | |
| 17 | 20 | ||
M v4/gio/gactionmap.go +5 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gio | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -21,6 +22,8 @@ import ( | |||
| 21 | 22 | // | |
| 22 | 23 | // See g_action_map_add_action_entries() for an example. | |
| 23 | 24 | type ActionEntry struct { | |
| 25 | + | _ structs.HostLayout | |
| 26 | + | ||
| 24 | 27 | Name uintptr | |
| 25 | 28 | ||
| 26 | 29 | ParameterType uintptr | |
| @@ -36,6 +39,8 @@ func (x *ActionEntry) GoPointer() uintptr { | |||
| 36 | 39 | ||
| 37 | 40 | // The virtual function table for #GActionMap. | |
| 38 | 41 | type ActionMapInterface struct { | |
| 42 | + | _ structs.HostLayout | |
| 43 | + | ||
| 39 | 44 | GIface uintptr | |
| 40 | 45 | } | |
| 41 | 46 | ||
M v4/gio/gappinfo.go +6 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gio | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -13,6 +14,8 @@ import ( | |||
| 13 | 14 | ||
| 14 | 15 | // Application Information interface, for operating system portability. | |
| 15 | 16 | type AppInfoIface struct { | |
| 17 | + | _ structs.HostLayout | |
| 18 | + | ||
| 16 | 19 | GIface uintptr | |
| 17 | 20 | } | |
| 18 | 21 | ||
| @@ -21,6 +24,8 @@ func (x *AppInfoIface) GoPointer() uintptr { | |||
| 21 | 24 | } | |
| 22 | 25 | ||
| 23 | 26 | type AppLaunchContextClass struct { | |
| 27 | + | _ structs.HostLayout | |
| 28 | + | ||
| 24 | 29 | ParentClass uintptr | |
| 25 | 30 | } | |
| 26 | 31 | ||
| @@ -29,6 +34,7 @@ func (x *AppLaunchContextClass) GoPointer() uintptr { | |||
| 29 | 34 | } | |
| 30 | 35 | ||
| 31 | 36 | type AppLaunchContextPrivate struct { | |
| 37 | + | _ structs.HostLayout | |
| 32 | 38 | } | |
| 33 | 39 | ||
| 34 | 40 | func (x *AppLaunchContextPrivate) GoPointer() uintptr { | |
M v4/gio/gapplication.go +4 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gio | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -13,6 +14,8 @@ import ( | |||
| 13 | 14 | ||
| 14 | 15 | // Virtual function table for #GApplication. | |
| 15 | 16 | type ApplicationClass struct { | |
| 17 | + | _ structs.HostLayout | |
| 18 | + | ||
| 16 | 19 | ParentClass uintptr | |
| 17 | 20 | ||
| 18 | 21 | Padding [7]uintptr | |
| @@ -23,6 +26,7 @@ func (x *ApplicationClass) GoPointer() uintptr { | |||
| 23 | 26 | } | |
| 24 | 27 | ||
| 25 | 28 | type ApplicationPrivate struct { | |
| 29 | + | _ structs.HostLayout | |
| 26 | 30 | } | |
| 27 | 31 | ||
| 28 | 32 | func (x *ApplicationPrivate) GoPointer() uintptr { | |
M v4/gio/gapplicationcommandline.go +4 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gio | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -14,6 +15,8 @@ import ( | |||
| 14 | 15 | // The #GApplicationCommandLineClass-struct | |
| 15 | 16 | // contains private data only. | |
| 16 | 17 | type ApplicationCommandLineClass struct { | |
| 18 | + | _ structs.HostLayout | |
| 19 | + | ||
| 17 | 20 | ParentClass uintptr | |
| 18 | 21 | ||
| 19 | 22 | Padding [11]uintptr | |
| @@ -24,6 +27,7 @@ func (x *ApplicationCommandLineClass) GoPointer() uintptr { | |||
| 24 | 27 | } | |
| 25 | 28 | ||
| 26 | 29 | type ApplicationCommandLinePrivate struct { | |
| 30 | + | _ structs.HostLayout | |
| 27 | 31 | } | |
| 28 | 32 | ||
| 29 | 33 | func (x *ApplicationCommandLinePrivate) GoPointer() uintptr { | |
M v4/gio/gasyncinitable.go +3 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gio | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -14,6 +15,8 @@ import ( | |||
| 14 | 15 | // Provides an interface for asynchronous initializing object such that | |
| 15 | 16 | // initialization may fail. | |
| 16 | 17 | type AsyncInitableIface struct { | |
| 18 | + | _ structs.HostLayout | |
| 19 | + | ||
| 17 | 20 | GIface uintptr | |
| 18 | 21 | } | |
| 19 | 22 | ||
M v4/gio/gasyncresult.go +3 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gio | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -13,6 +14,8 @@ import ( | |||
| 13 | 14 | ||
| 14 | 15 | // Interface definition for #GAsyncResult. | |
| 15 | 16 | type AsyncResultIface struct { | |
| 17 | + | _ structs.HostLayout | |
| 18 | + | ||
| 16 | 19 | GIface uintptr | |
| 17 | 20 | } | |
| 18 | 21 | ||
M v4/gio/gbufferedinputstream.go +4 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gio | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -11,6 +12,8 @@ import ( | |||
| 11 | 12 | ) | |
| 12 | 13 | ||
| 13 | 14 | type BufferedInputStreamClass struct { | |
| 15 | + | _ structs.HostLayout | |
| 16 | + | ||
| 14 | 17 | ParentClass uintptr | |
| 15 | 18 | } | |
| 16 | 19 | ||
| @@ -19,6 +22,7 @@ func (x *BufferedInputStreamClass) GoPointer() uintptr { | |||
| 19 | 22 | } | |
| 20 | 23 | ||
| 21 | 24 | type BufferedInputStreamPrivate struct { | |
| 25 | + | _ structs.HostLayout | |
| 22 | 26 | } | |
| 23 | 27 | ||
| 24 | 28 | func (x *BufferedInputStreamPrivate) GoPointer() uintptr { | |
M v4/gio/gbufferedoutputstream.go +4 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gio | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -11,6 +12,8 @@ import ( | |||
| 11 | 12 | ) | |
| 12 | 13 | ||
| 13 | 14 | type BufferedOutputStreamClass struct { | |
| 15 | + | _ structs.HostLayout | |
| 16 | + | ||
| 14 | 17 | ParentClass uintptr | |
| 15 | 18 | } | |
| 16 | 19 | ||
| @@ -19,6 +22,7 @@ func (x *BufferedOutputStreamClass) GoPointer() uintptr { | |||
| 19 | 22 | } | |
| 20 | 23 | ||
| 21 | 24 | type BufferedOutputStreamPrivate struct { | |
| 25 | + | _ structs.HostLayout | |
| 22 | 26 | } | |
| 23 | 27 | ||
| 24 | 28 | func (x *BufferedOutputStreamPrivate) GoPointer() uintptr { | |
M v4/gio/gcancellable.go +4 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gio | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -12,6 +13,8 @@ import ( | |||
| 12 | 13 | ) | |
| 13 | 14 | ||
| 14 | 15 | type CancellableClass struct { | |
| 16 | + | _ structs.HostLayout | |
| 17 | + | ||
| 15 | 18 | ParentClass uintptr | |
| 16 | 19 | } | |
| 17 | 20 | ||
| @@ -20,6 +23,7 @@ func (x *CancellableClass) GoPointer() uintptr { | |||
| 20 | 23 | } | |
| 21 | 24 | ||
| 22 | 25 | type CancellablePrivate struct { | |
| 26 | + | _ structs.HostLayout | |
| 23 | 27 | } | |
| 24 | 28 | ||
| 25 | 29 | func (x *CancellablePrivate) GoPointer() uintptr { | |
M v4/gio/gcharsetconverter.go +3 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gio | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -12,6 +13,8 @@ import ( | |||
| 12 | 13 | ) | |
| 13 | 14 | ||
| 14 | 15 | type CharsetConverterClass struct { | |
| 16 | + | _ structs.HostLayout | |
| 17 | + | ||
| 15 | 18 | ParentClass uintptr | |
| 16 | 19 | } | |
| 17 | 20 | ||
M v4/gio/gconverter.go +3 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gio | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -14,6 +15,8 @@ import ( | |||
| 14 | 15 | // to another type. The conversion can be stateful | |
| 15 | 16 | // and may fail at any place. | |
| 16 | 17 | type ConverterIface struct { | |
| 18 | + | _ structs.HostLayout | |
| 19 | + | ||
| 17 | 20 | GIface uintptr | |
| 18 | 21 | } | |
| 19 | 22 | ||
M v4/gio/gconverterinputstream.go +4 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gio | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -12,6 +13,8 @@ import ( | |||
| 12 | 13 | ) | |
| 13 | 14 | ||
| 14 | 15 | type ConverterInputStreamClass struct { | |
| 16 | + | _ structs.HostLayout | |
| 17 | + | ||
| 15 | 18 | ParentClass uintptr | |
| 16 | 19 | } | |
| 17 | 20 | ||
| @@ -20,6 +23,7 @@ func (x *ConverterInputStreamClass) GoPointer() uintptr { | |||
| 20 | 23 | } | |
| 21 | 24 | ||
| 22 | 25 | type ConverterInputStreamPrivate struct { | |
| 26 | + | _ structs.HostLayout | |
| 23 | 27 | } | |
| 24 | 28 | ||
| 25 | 29 | func (x *ConverterInputStreamPrivate) GoPointer() uintptr { | |
M v4/gio/gconverteroutputstream.go +4 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gio | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -12,6 +13,8 @@ import ( | |||
| 12 | 13 | ) | |
| 13 | 14 | ||
| 14 | 15 | type ConverterOutputStreamClass struct { | |
| 16 | + | _ structs.HostLayout | |
| 17 | + | ||
| 15 | 18 | ParentClass uintptr | |
| 16 | 19 | } | |
| 17 | 20 | ||
| @@ -20,6 +23,7 @@ func (x *ConverterOutputStreamClass) GoPointer() uintptr { | |||
| 20 | 23 | } | |
| 21 | 24 | ||
| 22 | 25 | type ConverterOutputStreamPrivate struct { | |
| 26 | + | _ structs.HostLayout | |
| 23 | 27 | } | |
| 24 | 28 | ||
| 25 | 29 | func (x *ConverterOutputStreamPrivate) GoPointer() uintptr { | |
M v4/gio/gcredentials.go +2 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gio | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -13,6 +14,7 @@ import ( | |||
| 13 | 14 | ||
| 14 | 15 | // Class structure for #GCredentials. | |
| 15 | 16 | type CredentialsClass struct { | |
| 17 | + | _ structs.HostLayout | |
| 16 | 18 | } | |
| 17 | 19 | ||
| 18 | 20 | func (x *CredentialsClass) GoPointer() uintptr { | |
M v4/gio/gdatagrambased.go +3 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gio | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -16,6 +17,8 @@ import ( | |||
| 16 | 17 | // implemented — so implementations of this API must handle all functionality | |
| 17 | 18 | // documented in the interface methods. | |
| 18 | 19 | type DatagramBasedInterface struct { | |
| 20 | + | _ structs.HostLayout | |
| 21 | + | ||
| 19 | 22 | GIface uintptr | |
| 20 | 23 | } | |
| 21 | 24 | ||
M v4/gio/gdatainputstream.go +4 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gio | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -11,6 +12,8 @@ import ( | |||
| 11 | 12 | ) | |
| 12 | 13 | ||
| 13 | 14 | type DataInputStreamClass struct { | |
| 15 | + | _ structs.HostLayout | |
| 16 | + | ||
| 14 | 17 | ParentClass uintptr | |
| 15 | 18 | } | |
| 16 | 19 | ||
| @@ -19,6 +22,7 @@ func (x *DataInputStreamClass) GoPointer() uintptr { | |||
| 19 | 22 | } | |
| 20 | 23 | ||
| 21 | 24 | type DataInputStreamPrivate struct { | |
| 25 | + | _ structs.HostLayout | |
| 22 | 26 | } | |
| 23 | 27 | ||
| 24 | 28 | func (x *DataInputStreamPrivate) GoPointer() uintptr { | |
M v4/gio/gdataoutputstream.go +4 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gio | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -11,6 +12,8 @@ import ( | |||
| 11 | 12 | ) | |
| 12 | 13 | ||
| 13 | 14 | type DataOutputStreamClass struct { | |
| 15 | + | _ structs.HostLayout | |
| 16 | + | ||
| 14 | 17 | ParentClass uintptr | |
| 15 | 18 | } | |
| 16 | 19 | ||
| @@ -19,6 +22,7 @@ func (x *DataOutputStreamClass) GoPointer() uintptr { | |||
| 19 | 22 | } | |
| 20 | 23 | ||
| 21 | 24 | type DataOutputStreamPrivate struct { | |
| 25 | + | _ structs.HostLayout | |
| 22 | 26 | } | |
| 23 | 27 | ||
| 24 | 28 | func (x *DataOutputStreamPrivate) GoPointer() uintptr { | |
M v4/gio/gdbusconnection.go +5 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gio | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -172,6 +173,8 @@ type DBusSubtreeIntrospectFunc func(uintptr, string, string, string, uintptr) ui | |||
| 172 | 173 | // function or provide an implementation of the `Set` call. If implementing | |
| 173 | 174 | // the call, you must return the value of type %G_VARIANT_TYPE_UNIT. | |
| 174 | 175 | type DBusInterfaceVTable struct { | |
| 176 | + | _ structs.HostLayout | |
| 177 | + | ||
| 175 | 178 | MethodCall DBusInterfaceMethodCallFunc | |
| 176 | 179 | ||
| 177 | 180 | GetProperty DBusInterfaceGetPropertyFunc | |
| @@ -187,6 +190,8 @@ func (x *DBusInterfaceVTable) GoPointer() uintptr { | |||
| 187 | 190 | ||
| 188 | 191 | // Virtual table for handling subtrees registered with g_dbus_connection_register_subtree(). | |
| 189 | 192 | type DBusSubtreeVTable struct { | |
| 193 | + | _ structs.HostLayout | |
| 194 | + | ||
| 190 | 195 | Enumerate DBusSubtreeEnumerateFunc | |
| 191 | 196 | ||
| 192 | 197 | Introspect DBusSubtreeIntrospectFunc | |
M v4/gio/gdbuserror.go +3 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gio | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -11,6 +12,8 @@ import ( | |||
| 11 | 12 | ||
| 12 | 13 | // Struct used in g_dbus_error_register_error_domain(). | |
| 13 | 14 | type DBusErrorEntry struct { | |
| 15 | + | _ structs.HostLayout | |
| 16 | + | ||
| 14 | 17 | ErrorCode int32 | |
| 15 | 18 | ||
| 16 | 19 | DbusErrorName uintptr | |
M v4/gio/gdbusinterface.go +3 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gio | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -12,6 +13,8 @@ import ( | |||
| 12 | 13 | ||
| 13 | 14 | // Base type for D-Bus interfaces. | |
| 14 | 15 | type DBusInterfaceIface struct { | |
| 16 | + | _ structs.HostLayout | |
| 17 | + | ||
| 15 | 18 | ParentIface uintptr | |
| 16 | 19 | } | |
| 17 | 20 | ||
M v4/gio/gdbusinterfaceskeleton.go +4 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gio | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -13,6 +14,8 @@ import ( | |||
| 13 | 14 | ||
| 14 | 15 | // Class structure for #GDBusInterfaceSkeleton. | |
| 15 | 16 | type DBusInterfaceSkeletonClass struct { | |
| 17 | + | _ structs.HostLayout | |
| 18 | + | ||
| 16 | 19 | ParentClass uintptr | |
| 17 | 20 | ||
| 18 | 21 | VfuncPadding [8]uintptr | |
| @@ -25,6 +28,7 @@ func (x *DBusInterfaceSkeletonClass) GoPointer() uintptr { | |||
| 25 | 28 | } | |
| 26 | 29 | ||
| 27 | 30 | type DBusInterfaceSkeletonPrivate struct { | |
| 31 | + | _ structs.HostLayout | |
| 28 | 32 | } | |
| 29 | 33 | ||
| 30 | 34 | func (x *DBusInterfaceSkeletonPrivate) GoPointer() uintptr { | |
M v4/gio/gdbusintrospection.go +15 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gio | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -12,6 +13,8 @@ import ( | |||
| 12 | 13 | ||
| 13 | 14 | // Information about an annotation. | |
| 14 | 15 | type DBusAnnotationInfo struct { | |
| 16 | + | _ structs.HostLayout | |
| 17 | + | ||
| 15 | 18 | RefCount int32 | |
| 16 | 19 | ||
| 17 | 20 | Key uintptr | |
| @@ -54,6 +57,8 @@ func (x *DBusAnnotationInfo) Unref() { | |||
| 54 | 57 | ||
| 55 | 58 | // Information about an argument for a method or a signal. | |
| 56 | 59 | type DBusArgInfo struct { | |
| 60 | + | _ structs.HostLayout | |
| 61 | + | ||
| 57 | 62 | RefCount int32 | |
| 58 | 63 | ||
| 59 | 64 | Name uintptr | |
| @@ -96,6 +101,8 @@ func (x *DBusArgInfo) Unref() { | |||
| 96 | 101 | ||
| 97 | 102 | // Information about a D-Bus interface. | |
| 98 | 103 | type DBusInterfaceInfo struct { | |
| 104 | + | _ structs.HostLayout | |
| 105 | + | ||
| 99 | 106 | RefCount int32 | |
| 100 | 107 | ||
| 101 | 108 | Name uintptr | |
| @@ -221,6 +228,8 @@ func (x *DBusInterfaceInfo) Unref() { | |||
| 221 | 228 | ||
| 222 | 229 | // Information about a method on an D-Bus interface. | |
| 223 | 230 | type DBusMethodInfo struct { | |
| 231 | + | _ structs.HostLayout | |
| 232 | + | ||
| 224 | 233 | RefCount int32 | |
| 225 | 234 | ||
| 226 | 235 | Name uintptr | |
| @@ -265,6 +274,8 @@ func (x *DBusMethodInfo) Unref() { | |||
| 265 | 274 | ||
| 266 | 275 | // Information about nodes in a remote object hierarchy. | |
| 267 | 276 | type DBusNodeInfo struct { | |
| 277 | + | _ structs.HostLayout | |
| 278 | + | ||
| 268 | 279 | RefCount int32 | |
| 269 | 280 | ||
| 270 | 281 | Path uintptr | |
| @@ -353,6 +364,8 @@ func (x *DBusNodeInfo) Unref() { | |||
| 353 | 364 | ||
| 354 | 365 | // Information about a D-Bus property on a D-Bus interface. | |
| 355 | 366 | type DBusPropertyInfo struct { | |
| 367 | + | _ structs.HostLayout | |
| 368 | + | ||
| 356 | 369 | RefCount int32 | |
| 357 | 370 | ||
| 358 | 371 | Name uintptr | |
| @@ -397,6 +410,8 @@ func (x *DBusPropertyInfo) Unref() { | |||
| 397 | 410 | ||
| 398 | 411 | // Information about a signal on a D-Bus interface. | |
| 399 | 412 | type DBusSignalInfo struct { | |
| 413 | + | _ structs.HostLayout | |
| 414 | + | ||
| 400 | 415 | RefCount int32 | |
| 401 | 416 | ||
| 402 | 417 | Name uintptr | |
M v4/gio/gdbusobject.go +3 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gio | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -12,6 +13,8 @@ import ( | |||
| 12 | 13 | ||
| 13 | 14 | // Base object type for D-Bus objects. | |
| 14 | 15 | type DBusObjectIface struct { | |
| 16 | + | _ structs.HostLayout | |
| 17 | + | ||
| 15 | 18 | ParentIface uintptr | |
| 16 | 19 | } | |
| 17 | 20 | ||
M v4/gio/gdbusobjectmanager.go +3 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gio | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -12,6 +13,8 @@ import ( | |||
| 12 | 13 | ||
| 13 | 14 | // Base type for D-Bus object managers. | |
| 14 | 15 | type DBusObjectManagerIface struct { | |
| 16 | + | _ structs.HostLayout | |
| 17 | + | ||
| 15 | 18 | ParentIface uintptr | |
| 16 | 19 | } | |
| 17 | 20 | ||
M v4/gio/gdbusobjectmanagerclient.go +4 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gio | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -13,6 +14,8 @@ import ( | |||
| 13 | 14 | ||
| 14 | 15 | // Class structure for #GDBusObjectManagerClient. | |
| 15 | 16 | type DBusObjectManagerClientClass struct { | |
| 17 | + | _ structs.HostLayout | |
| 18 | + | ||
| 16 | 19 | ParentClass uintptr | |
| 17 | 20 | ||
| 18 | 21 | Padding [8]uintptr | |
| @@ -23,6 +26,7 @@ func (x *DBusObjectManagerClientClass) GoPointer() uintptr { | |||
| 23 | 26 | } | |
| 24 | 27 | ||
| 25 | 28 | type DBusObjectManagerClientPrivate struct { | |
| 29 | + | _ structs.HostLayout | |
| 26 | 30 | } | |
| 27 | 31 | ||
| 28 | 32 | func (x *DBusObjectManagerClientPrivate) GoPointer() uintptr { | |
M v4/gio/gdbusobjectmanagerserver.go +4 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gio | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -13,6 +14,8 @@ import ( | |||
| 13 | 14 | ||
| 14 | 15 | // Class structure for #GDBusObjectManagerServer. | |
| 15 | 16 | type DBusObjectManagerServerClass struct { | |
| 17 | + | _ structs.HostLayout | |
| 18 | + | ||
| 16 | 19 | ParentClass uintptr | |
| 17 | 20 | ||
| 18 | 21 | Padding [8]uintptr | |
| @@ -23,6 +26,7 @@ func (x *DBusObjectManagerServerClass) GoPointer() uintptr { | |||
| 23 | 26 | } | |
| 24 | 27 | ||
| 25 | 28 | type DBusObjectManagerServerPrivate struct { | |
| 29 | + | _ structs.HostLayout | |
| 26 | 30 | } | |
| 27 | 31 | ||
| 28 | 32 | func (x *DBusObjectManagerServerPrivate) GoPointer() uintptr { | |
M v4/gio/gdbusobjectproxy.go +4 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gio | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -13,6 +14,8 @@ import ( | |||
| 13 | 14 | ||
| 14 | 15 | // Class structure for #GDBusObjectProxy. | |
| 15 | 16 | type DBusObjectProxyClass struct { | |
| 17 | + | _ structs.HostLayout | |
| 18 | + | ||
| 16 | 19 | ParentClass uintptr | |
| 17 | 20 | ||
| 18 | 21 | Padding [8]uintptr | |
| @@ -23,6 +26,7 @@ func (x *DBusObjectProxyClass) GoPointer() uintptr { | |||
| 23 | 26 | } | |
| 24 | 27 | ||
| 25 | 28 | type DBusObjectProxyPrivate struct { | |
| 29 | + | _ structs.HostLayout | |
| 26 | 30 | } | |
| 27 | 31 | ||
| 28 | 32 | func (x *DBusObjectProxyPrivate) GoPointer() uintptr { | |
M v4/gio/gdbusobjectskeleton.go +4 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gio | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -13,6 +14,8 @@ import ( | |||
| 13 | 14 | ||
| 14 | 15 | // Class structure for #GDBusObjectSkeleton. | |
| 15 | 16 | type DBusObjectSkeletonClass struct { | |
| 17 | + | _ structs.HostLayout | |
| 18 | + | ||
| 16 | 19 | ParentClass uintptr | |
| 17 | 20 | ||
| 18 | 21 | Padding [8]uintptr | |
| @@ -23,6 +26,7 @@ func (x *DBusObjectSkeletonClass) GoPointer() uintptr { | |||
| 23 | 26 | } | |
| 24 | 27 | ||
| 25 | 28 | type DBusObjectSkeletonPrivate struct { | |
| 29 | + | _ structs.HostLayout | |
| 26 | 30 | } | |
| 27 | 31 | ||
| 28 | 32 | func (x *DBusObjectSkeletonPrivate) GoPointer() uintptr { | |
M v4/gio/gdbusproxy.go +4 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gio | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -13,6 +14,8 @@ import ( | |||
| 13 | 14 | ||
| 14 | 15 | // Class structure for #GDBusProxy. | |
| 15 | 16 | type DBusProxyClass struct { | |
| 17 | + | _ structs.HostLayout | |
| 18 | + | ||
| 16 | 19 | ParentClass uintptr | |
| 17 | 20 | ||
| 18 | 21 | Padding [32]uintptr | |
| @@ -23,6 +26,7 @@ func (x *DBusProxyClass) GoPointer() uintptr { | |||
| 23 | 26 | } | |
| 24 | 27 | ||
| 25 | 28 | type DBusProxyPrivate struct { | |
| 29 | + | _ structs.HostLayout | |
| 26 | 30 | } | |
| 27 | 31 | ||
| 28 | 32 | func (x *DBusProxyPrivate) GoPointer() uintptr { | |
M v4/gio/gdebugcontroller.go +3 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gio | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -11,6 +12,8 @@ import ( | |||
| 11 | 12 | ||
| 12 | 13 | // The virtual function table for #GDebugController. | |
| 13 | 14 | type DebugControllerInterface struct { | |
| 15 | + | _ structs.HostLayout | |
| 16 | + | ||
| 14 | 17 | GIface uintptr | |
| 15 | 18 | } | |
| 16 | 19 | ||
M v4/gio/gdebugcontrollerdbus.go +3 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gio | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -13,6 +14,8 @@ import ( | |||
| 13 | 14 | ||
| 14 | 15 | // The virtual function table for #GDebugControllerDBus. | |
| 15 | 16 | type DebugControllerDBusClass struct { | |
| 17 | + | _ structs.HostLayout | |
| 18 | + | ||
| 16 | 19 | ParentClass uintptr | |
| 17 | 20 | ||
| 18 | 21 | Padding [12]uintptr | |
M v4/gio/gdesktopappinfo.go +5 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gio | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -17,6 +18,8 @@ import ( | |||
| 17 | 18 | type DesktopAppLaunchCallback func(uintptr, glib.Pid, uintptr) | |
| 18 | 19 | ||
| 19 | 20 | type DesktopAppInfoClass struct { | |
| 21 | + | _ structs.HostLayout | |
| 22 | + | ||
| 20 | 23 | ParentClass uintptr | |
| 21 | 24 | } | |
| 22 | 25 | ||
| @@ -27,6 +30,8 @@ func (x *DesktopAppInfoClass) GoPointer() uintptr { | |||
| 27 | 30 | // Interface that is used by backends to associate default | |
| 28 | 31 | // handlers with URI schemes. | |
| 29 | 32 | type DesktopAppInfoLookupIface struct { | |
| 33 | + | _ structs.HostLayout | |
| 34 | + | ||
| 30 | 35 | GIface uintptr | |
| 31 | 36 | } | |
| 32 | 37 | ||
M v4/gio/gdrive.go +3 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gio | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -12,6 +13,8 @@ import ( | |||
| 12 | 13 | ||
| 13 | 14 | // Interface for creating #GDrive implementations. | |
| 14 | 15 | type DriveIface struct { | |
| 16 | + | _ structs.HostLayout | |
| 17 | + | ||
| 15 | 18 | GIface uintptr | |
| 16 | 19 | } | |
| 17 | 20 | ||
M v4/gio/gdtlsclientconnection.go +3 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gio | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -13,6 +14,8 @@ import ( | |||
| 13 | 14 | ||
| 14 | 15 | // vtable for a #GDtlsClientConnection implementation. | |
| 15 | 16 | type DtlsClientConnectionInterface struct { | |
| 17 | + | _ structs.HostLayout | |
| 18 | + | ||
| 16 | 19 | GIface uintptr | |
| 17 | 20 | } | |
| 18 | 21 | ||
M v4/gio/gdtlsconnection.go +3 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gio | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -13,6 +14,8 @@ import ( | |||
| 13 | 14 | ||
| 14 | 15 | // Virtual method table for a #GDtlsConnection implementation. | |
| 15 | 16 | type DtlsConnectionInterface struct { | |
| 17 | + | _ structs.HostLayout | |
| 18 | + | ||
| 16 | 19 | GIface uintptr | |
| 17 | 20 | } | |
| 18 | 21 | ||
M v4/gio/gdtlsserverconnection.go +3 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gio | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -12,6 +13,8 @@ import ( | |||
| 12 | 13 | ||
| 13 | 14 | // vtable for a #GDtlsServerConnection implementation. | |
| 14 | 15 | type DtlsServerConnectionInterface struct { | |
| 16 | + | _ structs.HostLayout | |
| 17 | + | ||
| 15 | 18 | GIface uintptr | |
| 16 | 19 | } | |
| 17 | 20 | ||
M v4/gio/gemblem.go +2 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gio | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -12,6 +13,7 @@ import ( | |||
| 12 | 13 | ) | |
| 13 | 14 | ||
| 14 | 15 | type EmblemClass struct { | |
| 16 | + | _ structs.HostLayout | |
| 15 | 17 | } | |
| 16 | 18 | ||
| 17 | 19 | func (x *EmblemClass) GoPointer() uintptr { | |
M v4/gio/gemblemedicon.go +4 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gio | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -12,6 +13,8 @@ import ( | |||
| 12 | 13 | ) | |
| 13 | 14 | ||
| 14 | 15 | type EmblemedIconClass struct { | |
| 16 | + | _ structs.HostLayout | |
| 17 | + | ||
| 15 | 18 | ParentClass uintptr | |
| 16 | 19 | } | |
| 17 | 20 | ||
| @@ -20,6 +23,7 @@ func (x *EmblemedIconClass) GoPointer() uintptr { | |||
| 20 | 23 | } | |
| 21 | 24 | ||
| 22 | 25 | type EmblemedIconPrivate struct { | |
| 26 | + | _ structs.HostLayout | |
| 23 | 27 | } | |
| 24 | 28 | ||
| 25 | 29 | func (x *EmblemedIconPrivate) GoPointer() uintptr { | |
M v4/gio/gfile.go +3 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gio | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -13,6 +14,8 @@ import ( | |||
| 13 | 14 | ||
| 14 | 15 | // An interface for writing VFS file handles. | |
| 15 | 16 | type FileIface struct { | |
| 17 | + | _ structs.HostLayout | |
| 18 | + | ||
| 16 | 19 | GIface uintptr | |
| 17 | 20 | ||
| 18 | 21 | SupportsThreadContexts bool | |
M v4/gio/gfileattribute.go +5 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gio | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -11,6 +12,8 @@ import ( | |||
| 11 | 12 | ||
| 12 | 13 | // Information about a specific attribute. | |
| 13 | 14 | type FileAttributeInfo struct { | |
| 15 | + | _ structs.HostLayout | |
| 16 | + | ||
| 14 | 17 | Name uintptr | |
| 15 | 18 | ||
| 16 | 19 | Type FileAttributeType | |
| @@ -25,6 +28,8 @@ func (x *FileAttributeInfo) GoPointer() uintptr { | |||
| 25 | 28 | // Acts as a lightweight registry for possible valid file attributes. | |
| 26 | 29 | // The registry stores Key-Value pair formats as #GFileAttributeInfos. | |
| 27 | 30 | type FileAttributeInfoList struct { | |
| 31 | + | _ structs.HostLayout | |
| 32 | + | ||
| 28 | 33 | Infos *FileAttributeInfo | |
| 29 | 34 | ||
| 30 | 35 | NInfos int | |
M v4/gio/gfiledescriptorbased.go +3 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gio | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -11,6 +12,8 @@ import ( | |||
| 11 | 12 | ||
| 12 | 13 | // An interface for file descriptor based io objects. | |
| 13 | 14 | type FileDescriptorBasedIface struct { | |
| 15 | + | _ structs.HostLayout | |
| 16 | + | ||
| 14 | 17 | GIface uintptr | |
| 15 | 18 | } | |
| 16 | 19 | ||
M v4/gio/gfileenumerator.go +4 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gio | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -12,6 +13,8 @@ import ( | |||
| 12 | 13 | ) | |
| 13 | 14 | ||
| 14 | 15 | type FileEnumeratorClass struct { | |
| 16 | + | _ structs.HostLayout | |
| 17 | + | ||
| 15 | 18 | ParentClass uintptr | |
| 16 | 19 | } | |
| 17 | 20 | ||
| @@ -20,6 +23,7 @@ func (x *FileEnumeratorClass) GoPointer() uintptr { | |||
| 20 | 23 | } | |
| 21 | 24 | ||
| 22 | 25 | type FileEnumeratorPrivate struct { | |
| 26 | + | _ structs.HostLayout | |
| 23 | 27 | } | |
| 24 | 28 | ||
| 25 | 29 | func (x *FileEnumeratorPrivate) GoPointer() uintptr { | |
M v4/gio/gfileicon.go +2 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gio | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -12,6 +13,7 @@ import ( | |||
| 12 | 13 | ) | |
| 13 | 14 | ||
| 14 | 15 | type FileIconClass struct { | |
| 16 | + | _ structs.HostLayout | |
| 15 | 17 | } | |
| 16 | 18 | ||
| 17 | 19 | func (x *FileIconClass) GoPointer() uintptr { | |
M v4/gio/gfileinfo.go +2 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gio | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -12,6 +13,7 @@ import ( | |||
| 12 | 13 | ) | |
| 13 | 14 | ||
| 14 | 15 | type FileInfoClass struct { | |
| 16 | + | _ structs.HostLayout | |
| 15 | 17 | } | |
| 16 | 18 | ||
| 17 | 19 | func (x *FileInfoClass) GoPointer() uintptr { | |
M v4/gio/gfileinputstream.go +4 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gio | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -11,6 +12,8 @@ import ( | |||
| 11 | 12 | ) | |
| 12 | 13 | ||
| 13 | 14 | type FileInputStreamClass struct { | |
| 15 | + | _ structs.HostLayout | |
| 16 | + | ||
| 14 | 17 | ParentClass uintptr | |
| 15 | 18 | } | |
| 16 | 19 | ||
| @@ -19,6 +22,7 @@ func (x *FileInputStreamClass) GoPointer() uintptr { | |||
| 19 | 22 | } | |
| 20 | 23 | ||
| 21 | 24 | type FileInputStreamPrivate struct { | |
| 25 | + | _ structs.HostLayout | |
| 22 | 26 | } | |
| 23 | 27 | ||
| 24 | 28 | func (x *FileInputStreamPrivate) GoPointer() uintptr { | |
M v4/gio/gfileiostream.go +4 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gio | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -11,6 +12,8 @@ import ( | |||
| 11 | 12 | ) | |
| 12 | 13 | ||
| 13 | 14 | type FileIOStreamClass struct { | |
| 15 | + | _ structs.HostLayout | |
| 16 | + | ||
| 14 | 17 | ParentClass uintptr | |
| 15 | 18 | } | |
| 16 | 19 | ||
| @@ -19,6 +22,7 @@ func (x *FileIOStreamClass) GoPointer() uintptr { | |||
| 19 | 22 | } | |
| 20 | 23 | ||
| 21 | 24 | type FileIOStreamPrivate struct { | |
| 25 | + | _ structs.HostLayout | |
| 22 | 26 | } | |
| 23 | 27 | ||
| 24 | 28 | func (x *FileIOStreamPrivate) GoPointer() uintptr { | |
M v4/gio/gfilemonitor.go +4 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gio | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -12,6 +13,8 @@ import ( | |||
| 12 | 13 | ) | |
| 13 | 14 | ||
| 14 | 15 | type FileMonitorClass struct { | |
| 16 | + | _ structs.HostLayout | |
| 17 | + | ||
| 15 | 18 | ParentClass uintptr | |
| 16 | 19 | } | |
| 17 | 20 | ||
| @@ -20,6 +23,7 @@ func (x *FileMonitorClass) GoPointer() uintptr { | |||
| 20 | 23 | } | |
| 21 | 24 | ||
| 22 | 25 | type FileMonitorPrivate struct { | |
| 26 | + | _ structs.HostLayout | |
| 23 | 27 | } | |
| 24 | 28 | ||
| 25 | 29 | func (x *FileMonitorPrivate) GoPointer() uintptr { | |
M v4/gio/gfilenamecompleter.go +3 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gio | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -12,6 +13,8 @@ import ( | |||
| 12 | 13 | ) | |
| 13 | 14 | ||
| 14 | 15 | type FilenameCompleterClass struct { | |
| 16 | + | _ structs.HostLayout | |
| 17 | + | ||
| 15 | 18 | ParentClass uintptr | |
| 16 | 19 | } | |
| 17 | 20 | ||
M v4/gio/gfileoutputstream.go +4 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gio | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -11,6 +12,8 @@ import ( | |||
| 11 | 12 | ) | |
| 12 | 13 | ||
| 13 | 14 | type FileOutputStreamClass struct { | |
| 15 | + | _ structs.HostLayout | |
| 16 | + | ||
| 14 | 17 | ParentClass uintptr | |
| 15 | 18 | } | |
| 16 | 19 | ||
| @@ -19,6 +22,7 @@ func (x *FileOutputStreamClass) GoPointer() uintptr { | |||
| 19 | 22 | } | |
| 20 | 23 | ||
| 21 | 24 | type FileOutputStreamPrivate struct { | |
| 25 | + | _ structs.HostLayout | |
| 22 | 26 | } | |
| 23 | 27 | ||
| 24 | 28 | func (x *FileOutputStreamPrivate) GoPointer() uintptr { | |
M v4/gio/gfilterinputstream.go +3 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gio | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -11,6 +12,8 @@ import ( | |||
| 11 | 12 | ) | |
| 12 | 13 | ||
| 13 | 14 | type FilterInputStreamClass struct { | |
| 15 | + | _ structs.HostLayout | |
| 16 | + | ||
| 14 | 17 | ParentClass uintptr | |
| 15 | 18 | } | |
| 16 | 19 | ||
M v4/gio/gfilteroutputstream.go +3 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gio | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -11,6 +12,8 @@ import ( | |||
| 11 | 12 | ) | |
| 12 | 13 | ||
| 13 | 14 | type FilterOutputStreamClass struct { | |
| 15 | + | _ structs.HostLayout | |
| 16 | + | ||
| 14 | 17 | ParentClass uintptr | |
| 15 | 18 | } | |
| 16 | 19 | ||
M v4/gio/gicon.go +3 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gio | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -14,6 +15,8 @@ import ( | |||
| 14 | 15 | // different systems. See #GThemedIcon and #GLoadableIcon for | |
| 15 | 16 | // examples of how to implement this interface. | |
| 16 | 17 | type IconIface struct { | |
| 18 | + | _ structs.HostLayout | |
| 19 | + | ||
| 17 | 20 | GIface uintptr | |
| 18 | 21 | } | |
| 19 | 22 | ||
M v4/gio/ginetaddress.go +4 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gio | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -11,6 +12,8 @@ import ( | |||
| 11 | 12 | ) | |
| 12 | 13 | ||
| 13 | 14 | type InetAddressClass struct { | |
| 15 | + | _ structs.HostLayout | |
| 16 | + | ||
| 14 | 17 | ParentClass uintptr | |
| 15 | 18 | } | |
| 16 | 19 | ||
| @@ -19,6 +22,7 @@ func (x *InetAddressClass) GoPointer() uintptr { | |||
| 19 | 22 | } | |
| 20 | 23 | ||
| 21 | 24 | type InetAddressPrivate struct { | |
| 25 | + | _ structs.HostLayout | |
| 22 | 26 | } | |
| 23 | 27 | ||
| 24 | 28 | func (x *InetAddressPrivate) GoPointer() uintptr { | |
M v4/gio/ginetaddressmask.go +4 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gio | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -12,6 +13,8 @@ import ( | |||
| 12 | 13 | ) | |
| 13 | 14 | ||
| 14 | 15 | type InetAddressMaskClass struct { | |
| 16 | + | _ structs.HostLayout | |
| 17 | + | ||
| 15 | 18 | ParentClass uintptr | |
| 16 | 19 | } | |
| 17 | 20 | ||
| @@ -20,6 +23,7 @@ func (x *InetAddressMaskClass) GoPointer() uintptr { | |||
| 20 | 23 | } | |
| 21 | 24 | ||
| 22 | 25 | type InetAddressMaskPrivate struct { | |
| 26 | + | _ structs.HostLayout | |
| 23 | 27 | } | |
| 24 | 28 | ||
| 25 | 29 | func (x *InetAddressMaskPrivate) GoPointer() uintptr { | |
M v4/gio/ginetsocketaddress.go +4 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gio | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -11,6 +12,8 @@ import ( | |||
| 11 | 12 | ) | |
| 12 | 13 | ||
| 13 | 14 | type InetSocketAddressClass struct { | |
| 15 | + | _ structs.HostLayout | |
| 16 | + | ||
| 14 | 17 | ParentClass uintptr | |
| 15 | 18 | } | |
| 16 | 19 | ||
| @@ -19,6 +22,7 @@ func (x *InetSocketAddressClass) GoPointer() uintptr { | |||
| 19 | 22 | } | |
| 20 | 23 | ||
| 21 | 24 | type InetSocketAddressPrivate struct { | |
| 25 | + | _ structs.HostLayout | |
| 22 | 26 | } | |
| 23 | 27 | ||
| 24 | 28 | func (x *InetSocketAddressPrivate) GoPointer() uintptr { | |
M v4/gio/ginitable.go +3 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gio | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -14,6 +15,8 @@ import ( | |||
| 14 | 15 | // Provides an interface for initializing object such that initialization | |
| 15 | 16 | // may fail. | |
| 16 | 17 | type InitableIface struct { | |
| 18 | + | _ structs.HostLayout | |
| 19 | + | ||
| 17 | 20 | GIface uintptr | |
| 18 | 21 | } | |
| 19 | 22 | ||
M v4/gio/ginputstream.go +4 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gio | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -12,6 +13,8 @@ import ( | |||
| 12 | 13 | ) | |
| 13 | 14 | ||
| 14 | 15 | type InputStreamClass struct { | |
| 16 | + | _ structs.HostLayout | |
| 17 | + | ||
| 15 | 18 | ParentClass uintptr | |
| 16 | 19 | } | |
| 17 | 20 | ||
| @@ -20,6 +23,7 @@ func (x *InputStreamClass) GoPointer() uintptr { | |||
| 20 | 23 | } | |
| 21 | 24 | ||
| 22 | 25 | type InputStreamPrivate struct { | |
| 26 | + | _ structs.HostLayout | |
| 23 | 27 | } | |
| 24 | 28 | ||
| 25 | 29 | func (x *InputStreamPrivate) GoPointer() uintptr { | |
M v4/gio/giomodule.go +3 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gio | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -12,6 +13,7 @@ import ( | |||
| 12 | 13 | ) | |
| 13 | 14 | ||
| 14 | 15 | type IOModuleClass struct { | |
| 16 | + | _ structs.HostLayout | |
| 15 | 17 | } | |
| 16 | 18 | ||
| 17 | 19 | func (x *IOModuleClass) GoPointer() uintptr { | |
| @@ -24,6 +26,7 @@ func (x *IOModuleClass) GoPointer() uintptr { | |||
| 24 | 26 | // The scope can be used with g_io_modules_load_all_in_directory_with_scope() | |
| 25 | 27 | // or g_io_modules_scan_all_in_directory_with_scope(). | |
| 26 | 28 | type IOModuleScope struct { | |
| 29 | + | _ structs.HostLayout | |
| 27 | 30 | } | |
| 28 | 31 | ||
| 29 | 32 | func (x *IOModuleScope) GoPointer() uintptr { | |
M v4/gio/giostream.go +4 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gio | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -12,6 +13,8 @@ import ( | |||
| 12 | 13 | ) | |
| 13 | 14 | ||
| 14 | 15 | type IOStreamClass struct { | |
| 16 | + | _ structs.HostLayout | |
| 17 | + | ||
| 15 | 18 | ParentClass uintptr | |
| 16 | 19 | } | |
| 17 | 20 | ||
| @@ -20,6 +23,7 @@ func (x *IOStreamClass) GoPointer() uintptr { | |||
| 20 | 23 | } | |
| 21 | 24 | ||
| 22 | 25 | type IOStreamPrivate struct { | |
| 26 | + | _ structs.HostLayout | |
| 23 | 27 | } | |
| 24 | 28 | ||
| 25 | 29 | func (x *IOStreamPrivate) GoPointer() uintptr { | |
M v4/gio/giotypes.go +16 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gio | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -103,6 +104,7 @@ type SocketSourceFunc func(uintptr, glib.IOCondition, uintptr) bool | |||
| 103 | 104 | ||
| 104 | 105 | // Determines if a string matches a file attribute. | |
| 105 | 106 | type FileAttributeMatcher struct { | |
| 107 | + | _ structs.HostLayout | |
| 106 | 108 | } | |
| 107 | 109 | ||
| 108 | 110 | var xFileAttributeMatcherGLibType func() types.GType | |
| @@ -236,6 +238,7 @@ func (x *FileAttributeMatcher) Unref() { | |||
| 236 | 238 | // #GIOExtension is an opaque data structure and can only be accessed | |
| 237 | 239 | // using the following functions. | |
| 238 | 240 | type IOExtension struct { | |
| 241 | + | _ structs.HostLayout | |
| 239 | 242 | } | |
| 240 | 243 | ||
| 241 | 244 | func (x *IOExtension) GoPointer() uintptr { | |
| @@ -285,6 +288,7 @@ func (x *IOExtension) RefClass() *gobject.TypeClass { | |||
| 285 | 288 | // #GIOExtensionPoint is an opaque data structure and can only be accessed | |
| 286 | 289 | // using the following functions. | |
| 287 | 290 | type IOExtensionPoint struct { | |
| 291 | + | _ structs.HostLayout | |
| 288 | 292 | } | |
| 289 | 293 | ||
| 290 | 294 | func (x *IOExtensionPoint) GoPointer() uintptr { | |
| @@ -331,6 +335,7 @@ func (x *IOExtensionPoint) SetRequiredType(TypeVar types.GType) { | |||
| 331 | 335 | ||
| 332 | 336 | // Opaque class for defining and scheduling IO jobs. | |
| 333 | 337 | type IOSchedulerJob struct { | |
| 338 | + | _ structs.HostLayout | |
| 334 | 339 | } | |
| 335 | 340 | ||
| 336 | 341 | func (x *IOSchedulerJob) GoPointer() uintptr { | |
| @@ -366,6 +371,7 @@ func (x *IOSchedulerJob) SendToMainloopAsync(FuncVar *glib.SourceFunc, UserDataV | |||
| 366 | 371 | } | |
| 367 | 372 | ||
| 368 | 373 | type IOStreamAdapter struct { | |
| 374 | + | _ structs.HostLayout | |
| 369 | 375 | } | |
| 370 | 376 | ||
| 371 | 377 | func (x *IOStreamAdapter) GoPointer() uintptr { | |
| @@ -392,6 +398,8 @@ func (x *IOStreamAdapter) GoPointer() uintptr { | |||
| 392 | 398 | // Flags relevant to this message will be returned in @flags. For example, | |
| 393 | 399 | // `MSG_EOR` or `MSG_TRUNC`. | |
| 394 | 400 | type InputMessage struct { | |
| 401 | + | _ structs.HostLayout | |
| 402 | + | ||
| 395 | 403 | Address **SocketAddress | |
| 396 | 404 | ||
| 397 | 405 | Vectors []InputVector | |
| @@ -416,6 +424,8 @@ func (x *InputMessage) GoPointer() uintptr { | |||
| 416 | 424 | // and the operation will store the read data starting in the | |
| 417 | 425 | // first buffer, switching to the next as needed. | |
| 418 | 426 | type InputVector struct { | |
| 427 | + | _ structs.HostLayout | |
| 428 | + | ||
| 419 | 429 | Buffer uintptr | |
| 420 | 430 | ||
| 421 | 431 | Size uint | |
| @@ -433,6 +443,8 @@ func (x *InputVector) GoPointer() uintptr { | |||
| 433 | 443 | // If @address is %NULL then the message is sent to the default receiver | |
| 434 | 444 | // (as previously set by g_socket_connect()). | |
| 435 | 445 | type OutputMessage struct { | |
| 446 | + | _ structs.HostLayout | |
| 447 | + | ||
| 436 | 448 | Address *SocketAddress | |
| 437 | 449 | ||
| 438 | 450 | Vectors *OutputVector | |
| @@ -455,6 +467,8 @@ func (x *OutputMessage) GoPointer() uintptr { | |||
| 455 | 467 | // and the operation will use all the buffers as if they were | |
| 456 | 468 | // one buffer. | |
| 457 | 469 | type OutputVector struct { | |
| 470 | + | _ structs.HostLayout | |
| 471 | + | ||
| 458 | 472 | Buffer uintptr | |
| 459 | 473 | ||
| 460 | 474 | Size uint | |
| @@ -605,6 +619,7 @@ func (x *OutputVector) GoPointer() uintptr { | |||
| 605 | 619 | // the slash should ideally be absolute, but this is not strictly required. It is possible to overlay the | |
| 606 | 620 | // location of a single resource with an individual file. | |
| 607 | 621 | type Resource struct { | |
| 622 | + | _ structs.HostLayout | |
| 608 | 623 | } | |
| 609 | 624 | ||
| 610 | 625 | var xResourceGLibType func() types.GType | |
| @@ -788,6 +803,7 @@ func (x *Resource) Unref() { | |||
| 788 | 803 | // #GSocketConnectable interface and not need to worry about | |
| 789 | 804 | // #GSrvTarget at all. | |
| 790 | 805 | type SrvTarget struct { | |
| 806 | + | _ structs.HostLayout | |
| 791 | 807 | } | |
| 792 | 808 | ||
| 793 | 809 | var xSrvTargetGLibType func() types.GType | |
M v4/gio/glistmodel.go +3 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gio | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -12,6 +13,8 @@ import ( | |||
| 12 | 13 | ||
| 13 | 14 | // The virtual function table for #GListModel. | |
| 14 | 15 | type ListModelInterface struct { | |
| 16 | + | _ structs.HostLayout | |
| 17 | + | ||
| 15 | 18 | GIface uintptr | |
| 16 | 19 | } | |
| 17 | 20 | ||
M v4/gio/gliststore.go +3 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gio | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -12,6 +13,8 @@ import ( | |||
| 12 | 13 | ) | |
| 13 | 14 | ||
| 14 | 15 | type ListStoreClass struct { | |
| 16 | + | _ structs.HostLayout | |
| 17 | + | ||
| 15 | 18 | ParentClass uintptr | |
| 16 | 19 | } | |
| 17 | 20 | ||
M v4/gio/gloadableicon.go +3 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gio | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -12,6 +13,8 @@ import ( | |||
| 12 | 13 | ||
| 13 | 14 | // Interface for icons that can be loaded as a stream. | |
| 14 | 15 | type LoadableIconIface struct { | |
| 16 | + | _ structs.HostLayout | |
| 17 | + | ||
| 15 | 18 | GIface uintptr | |
| 16 | 19 | } | |
| 17 | 20 | ||
M v4/gio/gmemoryinputstream.go +4 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gio | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -11,6 +12,8 @@ import ( | |||
| 11 | 12 | ) | |
| 12 | 13 | ||
| 13 | 14 | type MemoryInputStreamClass struct { | |
| 15 | + | _ structs.HostLayout | |
| 16 | + | ||
| 14 | 17 | ParentClass uintptr | |
| 15 | 18 | } | |
| 16 | 19 | ||
| @@ -19,6 +22,7 @@ func (x *MemoryInputStreamClass) GoPointer() uintptr { | |||
| 19 | 22 | } | |
| 20 | 23 | ||
| 21 | 24 | type MemoryInputStreamPrivate struct { | |
| 25 | + | _ structs.HostLayout | |
| 22 | 26 | } | |
| 23 | 27 | ||
| 24 | 28 | func (x *MemoryInputStreamPrivate) GoPointer() uintptr { | |
M v4/gio/gmemorymonitor.go +3 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gio | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -11,6 +12,8 @@ import ( | |||
| 11 | 12 | ||
| 12 | 13 | // The virtual function table for #GMemoryMonitor. | |
| 13 | 14 | type MemoryMonitorInterface struct { | |
| 15 | + | _ structs.HostLayout | |
| 16 | + | ||
| 14 | 17 | GIface uintptr | |
| 15 | 18 | } | |
| 16 | 19 | ||
M v4/gio/gmemoryoutputstream.go +4 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gio | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -17,6 +18,8 @@ import ( | |||
| 17 | 18 | type ReallocFunc func(uintptr, uint) uintptr | |
| 18 | 19 | ||
| 19 | 20 | type MemoryOutputStreamClass struct { | |
| 21 | + | _ structs.HostLayout | |
| 22 | + | ||
| 20 | 23 | ParentClass uintptr | |
| 21 | 24 | } | |
| 22 | 25 | ||
| @@ -25,6 +28,7 @@ func (x *MemoryOutputStreamClass) GoPointer() uintptr { | |||
| 25 | 28 | } | |
| 26 | 29 | ||
| 27 | 30 | type MemoryOutputStreamPrivate struct { | |
| 31 | + | _ structs.HostLayout | |
| 28 | 32 | } | |
| 29 | 33 | ||
| 30 | 34 | func (x *MemoryOutputStreamPrivate) GoPointer() uintptr { | |
M v4/gio/gmenumodel.go +10 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gio | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -12,6 +13,8 @@ import ( | |||
| 12 | 13 | ) | |
| 13 | 14 | ||
| 14 | 15 | type MenuAttributeIterClass struct { | |
| 16 | + | _ structs.HostLayout | |
| 17 | + | ||
| 15 | 18 | ParentClass uintptr | |
| 16 | 19 | } | |
| 17 | 20 | ||
| @@ -20,6 +23,7 @@ func (x *MenuAttributeIterClass) GoPointer() uintptr { | |||
| 20 | 23 | } | |
| 21 | 24 | ||
| 22 | 25 | type MenuAttributeIterPrivate struct { | |
| 26 | + | _ structs.HostLayout | |
| 23 | 27 | } | |
| 24 | 28 | ||
| 25 | 29 | func (x *MenuAttributeIterPrivate) GoPointer() uintptr { | |
| @@ -27,6 +31,8 @@ func (x *MenuAttributeIterPrivate) GoPointer() uintptr { | |||
| 27 | 31 | } | |
| 28 | 32 | ||
| 29 | 33 | type MenuLinkIterClass struct { | |
| 34 | + | _ structs.HostLayout | |
| 35 | + | ||
| 30 | 36 | ParentClass uintptr | |
| 31 | 37 | } | |
| 32 | 38 | ||
| @@ -35,6 +41,7 @@ func (x *MenuLinkIterClass) GoPointer() uintptr { | |||
| 35 | 41 | } | |
| 36 | 42 | ||
| 37 | 43 | type MenuLinkIterPrivate struct { | |
| 44 | + | _ structs.HostLayout | |
| 38 | 45 | } | |
| 39 | 46 | ||
| 40 | 47 | func (x *MenuLinkIterPrivate) GoPointer() uintptr { | |
| @@ -42,6 +49,8 @@ func (x *MenuLinkIterPrivate) GoPointer() uintptr { | |||
| 42 | 49 | } | |
| 43 | 50 | ||
| 44 | 51 | type MenuModelClass struct { | |
| 52 | + | _ structs.HostLayout | |
| 53 | + | ||
| 45 | 54 | ParentClass uintptr | |
| 46 | 55 | } | |
| 47 | 56 | ||
| @@ -50,6 +59,7 @@ func (x *MenuModelClass) GoPointer() uintptr { | |||
| 50 | 59 | } | |
| 51 | 60 | ||
| 52 | 61 | type MenuModelPrivate struct { | |
| 62 | + | _ structs.HostLayout | |
| 53 | 63 | } | |
| 54 | 64 | ||
| 55 | 65 | func (x *MenuModelPrivate) GoPointer() uintptr { | |
M v4/gio/gmount.go +3 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gio | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -12,6 +13,8 @@ import ( | |||
| 12 | 13 | ||
| 13 | 14 | // Interface for implementing operations for mounts. | |
| 14 | 15 | type MountIface struct { | |
| 16 | + | _ structs.HostLayout | |
| 17 | + | ||
| 15 | 18 | GIface uintptr | |
| 16 | 19 | } | |
| 17 | 20 | ||
M v4/gio/gmountoperation.go +4 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gio | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -12,6 +13,8 @@ import ( | |||
| 12 | 13 | ) | |
| 13 | 14 | ||
| 14 | 15 | type MountOperationClass struct { | |
| 16 | + | _ structs.HostLayout | |
| 17 | + | ||
| 15 | 18 | ParentClass uintptr | |
| 16 | 19 | } | |
| 17 | 20 | ||
| @@ -20,6 +23,7 @@ func (x *MountOperationClass) GoPointer() uintptr { | |||
| 20 | 23 | } | |
| 21 | 24 | ||
| 22 | 25 | type MountOperationPrivate struct { | |
| 26 | + | _ structs.HostLayout | |
| 23 | 27 | } | |
| 24 | 28 | ||
| 25 | 29 | func (x *MountOperationPrivate) GoPointer() uintptr { | |
M v4/gio/gnativesocketaddress.go +4 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gio | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -10,6 +11,8 @@ import ( | |||
| 10 | 11 | ) | |
| 11 | 12 | ||
| 12 | 13 | type NativeSocketAddressClass struct { | |
| 14 | + | _ structs.HostLayout | |
| 15 | + | ||
| 13 | 16 | ParentClass uintptr | |
| 14 | 17 | } | |
| 15 | 18 | ||
| @@ -18,6 +21,7 @@ func (x *NativeSocketAddressClass) GoPointer() uintptr { | |||
| 18 | 21 | } | |
| 19 | 22 | ||
| 20 | 23 | type NativeSocketAddressPrivate struct { | |
| 24 | + | _ structs.HostLayout | |
| 21 | 25 | } | |
| 22 | 26 | ||
| 23 | 27 | func (x *NativeSocketAddressPrivate) GoPointer() uintptr { | |
M v4/gio/gnativevolumemonitor.go +3 -0
| @@ -2,12 +2,15 @@ | |||
| 2 | 2 | package gio | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/puregotk/v4/gobject/types" | |
| 8 | 9 | ) | |
| 9 | 10 | ||
| 10 | 11 | type NativeVolumeMonitorClass struct { | |
| 12 | + | _ structs.HostLayout | |
| 13 | + | ||
| 11 | 14 | ParentClass uintptr | |
| 12 | 15 | } | |
| 13 | 16 | ||
M v4/gio/gnetworkaddress.go +4 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gio | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -12,6 +13,8 @@ import ( | |||
| 12 | 13 | ) | |
| 13 | 14 | ||
| 14 | 15 | type NetworkAddressClass struct { | |
| 16 | + | _ structs.HostLayout | |
| 17 | + | ||
| 15 | 18 | ParentClass uintptr | |
| 16 | 19 | } | |
| 17 | 20 | ||
| @@ -20,6 +23,7 @@ func (x *NetworkAddressClass) GoPointer() uintptr { | |||
| 20 | 23 | } | |
| 21 | 24 | ||
| 22 | 25 | type NetworkAddressPrivate struct { | |
| 26 | + | _ structs.HostLayout | |
| 23 | 27 | } | |
| 24 | 28 | ||
| 25 | 29 | func (x *NetworkAddressPrivate) GoPointer() uintptr { | |
M v4/gio/gnetworkmonitor.go +3 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gio | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -13,6 +14,8 @@ import ( | |||
| 13 | 14 | ||
| 14 | 15 | // The virtual function table for #GNetworkMonitor. | |
| 15 | 16 | type NetworkMonitorInterface struct { | |
| 17 | + | _ structs.HostLayout | |
| 18 | + | ||
| 16 | 19 | GIface uintptr | |
| 17 | 20 | } | |
| 18 | 21 | ||
M v4/gio/gnetworkservice.go +4 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gio | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -11,6 +12,8 @@ import ( | |||
| 11 | 12 | ) | |
| 12 | 13 | ||
| 13 | 14 | type NetworkServiceClass struct { | |
| 15 | + | _ structs.HostLayout | |
| 16 | + | ||
| 14 | 17 | ParentClass uintptr | |
| 15 | 18 | } | |
| 16 | 19 | ||
| @@ -19,6 +22,7 @@ func (x *NetworkServiceClass) GoPointer() uintptr { | |||
| 19 | 22 | } | |
| 20 | 23 | ||
| 21 | 24 | type NetworkServicePrivate struct { | |
| 25 | + | _ structs.HostLayout | |
| 22 | 26 | } | |
| 23 | 27 | ||
| 24 | 28 | func (x *NetworkServicePrivate) GoPointer() uintptr { | |
M v4/gio/goutputstream.go +4 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gio | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -12,6 +13,8 @@ import ( | |||
| 12 | 13 | ) | |
| 13 | 14 | ||
| 14 | 15 | type OutputStreamClass struct { | |
| 16 | + | _ structs.HostLayout | |
| 17 | + | ||
| 15 | 18 | ParentClass uintptr | |
| 16 | 19 | } | |
| 17 | 20 | ||
| @@ -20,6 +23,7 @@ func (x *OutputStreamClass) GoPointer() uintptr { | |||
| 20 | 23 | } | |
| 21 | 24 | ||
| 22 | 25 | type OutputStreamPrivate struct { | |
| 26 | + | _ structs.HostLayout | |
| 23 | 27 | } | |
| 24 | 28 | ||
| 25 | 29 | func (x *OutputStreamPrivate) GoPointer() uintptr { | |
M v4/gio/gpermission.go +4 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gio | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -12,6 +13,8 @@ import ( | |||
| 12 | 13 | ) | |
| 13 | 14 | ||
| 14 | 15 | type PermissionClass struct { | |
| 16 | + | _ structs.HostLayout | |
| 17 | + | ||
| 15 | 18 | ParentClass uintptr | |
| 16 | 19 | ||
| 17 | 20 | Reserved [16]uintptr | |
| @@ -22,6 +25,7 @@ func (x *PermissionClass) GoPointer() uintptr { | |||
| 22 | 25 | } | |
| 23 | 26 | ||
| 24 | 27 | type PermissionPrivate struct { | |
| 28 | + | _ structs.HostLayout | |
| 25 | 29 | } | |
| 26 | 30 | ||
| 27 | 31 | func (x *PermissionPrivate) GoPointer() uintptr { | |
M v4/gio/gpollableinputstream.go +3 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gio | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -21,6 +22,8 @@ import ( | |||
| 21 | 22 | // implementation may return %TRUE when the stream is not actually | |
| 22 | 23 | // readable. | |
| 23 | 24 | type PollableInputStreamInterface struct { | |
| 25 | + | _ structs.HostLayout | |
| 26 | + | ||
| 24 | 27 | GIface uintptr | |
| 25 | 28 | } | |
| 26 | 29 | ||
M v4/gio/gpollableoutputstream.go +3 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gio | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -27,6 +28,8 @@ import ( | |||
| 27 | 28 | // override this where possible to avoid having to allocate a #GError to return | |
| 28 | 29 | // %G_IO_ERROR_WOULD_BLOCK. | |
| 29 | 30 | type PollableOutputStreamInterface struct { | |
| 31 | + | _ structs.HostLayout | |
| 32 | + | ||
| 30 | 33 | GIface uintptr | |
| 31 | 34 | } | |
| 32 | 35 | ||
M v4/gio/gpowerprofilemonitor.go +3 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gio | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -11,6 +12,8 @@ import ( | |||
| 11 | 12 | ||
| 12 | 13 | // The virtual function table for #GPowerProfileMonitor. | |
| 13 | 14 | type PowerProfileMonitorInterface struct { | |
| 15 | + | _ structs.HostLayout | |
| 16 | + | ||
| 14 | 17 | GIface uintptr | |
| 15 | 18 | } | |
| 16 | 19 | ||
M v4/gio/gproxy.go +3 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gio | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -12,6 +13,8 @@ import ( | |||
| 12 | 13 | ||
| 13 | 14 | // Provides an interface for handling proxy connection and payload. | |
| 14 | 15 | type ProxyInterface struct { | |
| 16 | + | _ structs.HostLayout | |
| 17 | + | ||
| 15 | 18 | GIface uintptr | |
| 16 | 19 | } | |
| 17 | 20 | ||
M v4/gio/gproxyaddress.go +4 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gio | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -11,6 +12,8 @@ import ( | |||
| 11 | 12 | ||
| 12 | 13 | // Class structure for #GProxyAddress. | |
| 13 | 14 | type ProxyAddressClass struct { | |
| 15 | + | _ structs.HostLayout | |
| 16 | + | ||
| 14 | 17 | ParentClass uintptr | |
| 15 | 18 | } | |
| 16 | 19 | ||
| @@ -19,6 +22,7 @@ func (x *ProxyAddressClass) GoPointer() uintptr { | |||
| 19 | 22 | } | |
| 20 | 23 | ||
| 21 | 24 | type ProxyAddressPrivate struct { | |
| 25 | + | _ structs.HostLayout | |
| 22 | 26 | } | |
| 23 | 27 | ||
| 24 | 28 | func (x *ProxyAddressPrivate) GoPointer() uintptr { | |
M v4/gio/gproxyaddressenumerator.go +4 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gio | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/puregotk/v4/gobject/types" | |
| @@ -9,6 +10,8 @@ import ( | |||
| 9 | 10 | ||
| 10 | 11 | // Class structure for #GProxyAddressEnumerator. | |
| 11 | 12 | type ProxyAddressEnumeratorClass struct { | |
| 13 | + | _ structs.HostLayout | |
| 14 | + | ||
| 12 | 15 | ParentClass uintptr | |
| 13 | 16 | } | |
| 14 | 17 | ||
| @@ -17,6 +20,7 @@ func (x *ProxyAddressEnumeratorClass) GoPointer() uintptr { | |||
| 17 | 20 | } | |
| 18 | 21 | ||
| 19 | 22 | type ProxyAddressEnumeratorPrivate struct { | |
| 23 | + | _ structs.HostLayout | |
| 20 | 24 | } | |
| 21 | 25 | ||
| 22 | 26 | func (x *ProxyAddressEnumeratorPrivate) GoPointer() uintptr { | |
M v4/gio/gproxyresolver.go +3 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gio | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -13,6 +14,8 @@ import ( | |||
| 13 | 14 | ||
| 14 | 15 | // The virtual function table for #GProxyResolver. | |
| 15 | 16 | type ProxyResolverInterface struct { | |
| 17 | + | _ structs.HostLayout | |
| 18 | + | ||
| 16 | 19 | GIface uintptr | |
| 17 | 20 | } | |
| 18 | 21 | ||
M v4/gio/gremoteactiongroup.go +3 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gio | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -12,6 +13,8 @@ import ( | |||
| 12 | 13 | ||
| 13 | 14 | // The virtual function table for #GRemoteActionGroup. | |
| 14 | 15 | type RemoteActionGroupInterface struct { | |
| 16 | + | _ structs.HostLayout | |
| 17 | + | ||
| 15 | 18 | GIface uintptr | |
| 16 | 19 | } | |
| 17 | 20 | ||
M v4/gio/gresolver.go +4 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gio | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -12,6 +13,8 @@ import ( | |||
| 12 | 13 | ) | |
| 13 | 14 | ||
| 14 | 15 | type ResolverClass struct { | |
| 16 | + | _ structs.HostLayout | |
| 17 | + | ||
| 15 | 18 | ParentClass uintptr | |
| 16 | 19 | } | |
| 17 | 20 | ||
| @@ -20,6 +23,7 @@ func (x *ResolverClass) GoPointer() uintptr { | |||
| 20 | 23 | } | |
| 21 | 24 | ||
| 22 | 25 | type ResolverPrivate struct { | |
| 26 | + | _ structs.HostLayout | |
| 23 | 27 | } | |
| 24 | 28 | ||
| 25 | 29 | func (x *ResolverPrivate) GoPointer() uintptr { | |
M v4/gio/gresource.go +3 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gio | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -12,6 +13,8 @@ import ( | |||
| 12 | 13 | // #GStaticResource is an opaque data structure and can only be accessed | |
| 13 | 14 | // using the following functions. | |
| 14 | 15 | type StaticResource struct { | |
| 16 | + | _ structs.HostLayout | |
| 17 | + | ||
| 15 | 18 | Data byte | |
| 16 | 19 | ||
| 17 | 20 | DataLen uint | |
M v4/gio/gseekable.go +3 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gio | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -12,6 +13,8 @@ import ( | |||
| 12 | 13 | ||
| 13 | 14 | // Provides an interface for implementing seekable functionality on I/O Streams. | |
| 14 | 15 | type SeekableIface struct { | |
| 16 | + | _ structs.HostLayout | |
| 17 | + | ||
| 15 | 18 | GIface uintptr | |
| 16 | 19 | } | |
| 17 | 20 | ||
M v4/gio/gsettings.go +4 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gio | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -33,6 +34,8 @@ type SettingsBindSetMapping func(*gobject.Value, *glib.VariantType, uintptr) *gl | |||
| 33 | 34 | type SettingsGetMapping func(*glib.Variant, uintptr, uintptr) bool | |
| 34 | 35 | ||
| 35 | 36 | type SettingsClass struct { | |
| 37 | + | _ structs.HostLayout | |
| 38 | + | ||
| 36 | 39 | ParentClass uintptr | |
| 37 | 40 | ||
| 38 | 41 | Padding [20]uintptr | |
| @@ -43,6 +46,7 @@ func (x *SettingsClass) GoPointer() uintptr { | |||
| 43 | 46 | } | |
| 44 | 47 | ||
| 45 | 48 | type SettingsPrivate struct { | |
| 49 | + | _ structs.HostLayout | |
| 46 | 50 | } | |
| 47 | 51 | ||
| 48 | 52 | func (x *SettingsPrivate) GoPointer() uintptr { | |
M v4/gio/gsettingsbackend.go +4 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gio | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -13,6 +14,8 @@ import ( | |||
| 13 | 14 | ||
| 14 | 15 | // Class structure for #GSettingsBackend. | |
| 15 | 16 | type SettingsBackendClass struct { | |
| 17 | + | _ structs.HostLayout | |
| 18 | + | ||
| 16 | 19 | ParentClass uintptr | |
| 17 | 20 | ||
| 18 | 21 | Padding [23]uintptr | |
| @@ -23,6 +26,7 @@ func (x *SettingsBackendClass) GoPointer() uintptr { | |||
| 23 | 26 | } | |
| 24 | 27 | ||
| 25 | 28 | type SettingsBackendPrivate struct { | |
| 29 | + | _ structs.HostLayout | |
| 26 | 30 | } | |
| 27 | 31 | ||
| 28 | 32 | func (x *SettingsBackendPrivate) GoPointer() uintptr { | |
M v4/gio/gsettingsschema.go +4 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gio | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -108,6 +109,7 @@ import ( | |||
| 108 | 109 | // In that case, the plugin loading system must compile the schemas for | |
| 109 | 110 | // itself before attempting to create the settings source. | |
| 110 | 111 | type SettingsSchema struct { | |
| 112 | + | _ structs.HostLayout | |
| 111 | 113 | } | |
| 112 | 114 | ||
| 113 | 115 | var xSettingsSchemaGLibType func() types.GType | |
| @@ -213,6 +215,7 @@ func (x *SettingsSchema) Unref() { | |||
| 213 | 215 | // #GSettingsSchemaKey is an opaque data structure and can only be accessed | |
| 214 | 216 | // using the following functions. | |
| 215 | 217 | type SettingsSchemaKey struct { | |
| 218 | + | _ structs.HostLayout | |
| 216 | 219 | } | |
| 217 | 220 | ||
| 218 | 221 | var xSettingsSchemaKeyGLibType func() types.GType | |
| @@ -375,6 +378,7 @@ func (x *SettingsSchemaKey) Unref() { | |||
| 375 | 378 | ||
| 376 | 379 | // This is an opaque structure type. You may not access it directly. | |
| 377 | 380 | type SettingsSchemaSource struct { | |
| 381 | + | _ structs.HostLayout | |
| 378 | 382 | } | |
| 379 | 383 | ||
| 380 | 384 | var xSettingsSchemaSourceGLibType func() types.GType | |
M v4/gio/gsimpleactiongroup.go +4 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gio | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -12,6 +13,8 @@ import ( | |||
| 12 | 13 | ) | |
| 13 | 14 | ||
| 14 | 15 | type SimpleActionGroupClass struct { | |
| 16 | + | _ structs.HostLayout | |
| 17 | + | ||
| 15 | 18 | ParentClass uintptr | |
| 16 | 19 | ||
| 17 | 20 | Padding [12]uintptr | |
| @@ -22,6 +25,7 @@ func (x *SimpleActionGroupClass) GoPointer() uintptr { | |||
| 22 | 25 | } | |
| 23 | 26 | ||
| 24 | 27 | type SimpleActionGroupPrivate struct { | |
| 28 | + | _ structs.HostLayout | |
| 25 | 29 | } | |
| 26 | 30 | ||
| 27 | 31 | func (x *SimpleActionGroupPrivate) GoPointer() uintptr { | |
M v4/gio/gsimpleasyncresult.go +2 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gio | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -12,6 +13,7 @@ import ( | |||
| 12 | 13 | ) | |
| 13 | 14 | ||
| 14 | 15 | type SimpleAsyncResultClass struct { | |
| 16 | + | _ structs.HostLayout | |
| 15 | 17 | } | |
| 16 | 18 | ||
| 17 | 19 | func (x *SimpleAsyncResultClass) GoPointer() uintptr { | |
M v4/gio/gsimpleproxyresolver.go +4 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gio | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -12,6 +13,8 @@ import ( | |||
| 12 | 13 | ) | |
| 13 | 14 | ||
| 14 | 15 | type SimpleProxyResolverClass struct { | |
| 16 | + | _ structs.HostLayout | |
| 17 | + | ||
| 15 | 18 | ParentClass uintptr | |
| 16 | 19 | } | |
| 17 | 20 | ||
| @@ -20,6 +23,7 @@ func (x *SimpleProxyResolverClass) GoPointer() uintptr { | |||
| 20 | 23 | } | |
| 21 | 24 | ||
| 22 | 25 | type SimpleProxyResolverPrivate struct { | |
| 26 | + | _ structs.HostLayout | |
| 23 | 27 | } | |
| 24 | 28 | ||
| 25 | 29 | func (x *SimpleProxyResolverPrivate) GoPointer() uintptr { | |
M v4/gio/gsocket.go +4 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gio | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -12,6 +13,8 @@ import ( | |||
| 12 | 13 | ) | |
| 13 | 14 | ||
| 14 | 15 | type SocketClass struct { | |
| 16 | + | _ structs.HostLayout | |
| 17 | + | ||
| 15 | 18 | ParentClass uintptr | |
| 16 | 19 | } | |
| 17 | 20 | ||
| @@ -20,6 +23,7 @@ func (x *SocketClass) GoPointer() uintptr { | |||
| 20 | 23 | } | |
| 21 | 24 | ||
| 22 | 25 | type SocketPrivate struct { | |
| 26 | + | _ structs.HostLayout | |
| 23 | 27 | } | |
| 24 | 28 | ||
| 25 | 29 | func (x *SocketPrivate) GoPointer() uintptr { | |
M v4/gio/gsocketaddress.go +3 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gio | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -12,6 +13,8 @@ import ( | |||
| 12 | 13 | ) | |
| 13 | 14 | ||
| 14 | 15 | type SocketAddressClass struct { | |
| 16 | + | _ structs.HostLayout | |
| 17 | + | ||
| 15 | 18 | ParentClass uintptr | |
| 16 | 19 | } | |
| 17 | 20 | ||
M v4/gio/gsocketaddressenumerator.go +3 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gio | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -13,6 +14,8 @@ import ( | |||
| 13 | 14 | ||
| 14 | 15 | // Class structure for #GSocketAddressEnumerator. | |
| 15 | 16 | type SocketAddressEnumeratorClass struct { | |
| 17 | + | _ structs.HostLayout | |
| 18 | + | ||
| 16 | 19 | ParentClass uintptr | |
| 17 | 20 | } | |
| 18 | 21 | ||
M v4/gio/gsocketclient.go +4 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gio | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -12,6 +13,8 @@ import ( | |||
| 12 | 13 | ) | |
| 13 | 14 | ||
| 14 | 15 | type SocketClientClass struct { | |
| 16 | + | _ structs.HostLayout | |
| 17 | + | ||
| 15 | 18 | ParentClass uintptr | |
| 16 | 19 | } | |
| 17 | 20 | ||
| @@ -20,6 +23,7 @@ func (x *SocketClientClass) GoPointer() uintptr { | |||
| 20 | 23 | } | |
| 21 | 24 | ||
| 22 | 25 | type SocketClientPrivate struct { | |
| 26 | + | _ structs.HostLayout | |
| 23 | 27 | } | |
| 24 | 28 | ||
| 25 | 29 | func (x *SocketClientPrivate) GoPointer() uintptr { | |
M v4/gio/gsocketconnectable.go +3 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gio | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -12,6 +13,8 @@ import ( | |||
| 12 | 13 | // Provides an interface for returning a #GSocketAddressEnumerator | |
| 13 | 14 | // and #GProxyAddressEnumerator | |
| 14 | 15 | type SocketConnectableIface struct { | |
| 16 | + | _ structs.HostLayout | |
| 17 | + | ||
| 15 | 18 | GIface uintptr | |
| 16 | 19 | } | |
| 17 | 20 | ||
M v4/gio/gsocketconnection.go +4 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gio | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -12,6 +13,8 @@ import ( | |||
| 12 | 13 | ) | |
| 13 | 14 | ||
| 14 | 15 | type SocketConnectionClass struct { | |
| 16 | + | _ structs.HostLayout | |
| 17 | + | ||
| 15 | 18 | ParentClass uintptr | |
| 16 | 19 | } | |
| 17 | 20 | ||
| @@ -20,6 +23,7 @@ func (x *SocketConnectionClass) GoPointer() uintptr { | |||
| 20 | 23 | } | |
| 21 | 24 | ||
| 22 | 25 | type SocketConnectionPrivate struct { | |
| 26 | + | _ structs.HostLayout | |
| 23 | 27 | } | |
| 24 | 28 | ||
| 25 | 29 | func (x *SocketConnectionPrivate) GoPointer() uintptr { | |
M v4/gio/gsocketcontrolmessage.go +4 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gio | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -12,6 +13,8 @@ import ( | |||
| 12 | 13 | ||
| 13 | 14 | // Class structure for #GSocketControlMessage. | |
| 14 | 15 | type SocketControlMessageClass struct { | |
| 16 | + | _ structs.HostLayout | |
| 17 | + | ||
| 15 | 18 | ParentClass uintptr | |
| 16 | 19 | } | |
| 17 | 20 | ||
| @@ -20,6 +23,7 @@ func (x *SocketControlMessageClass) GoPointer() uintptr { | |||
| 20 | 23 | } | |
| 21 | 24 | ||
| 22 | 25 | type SocketControlMessagePrivate struct { | |
| 26 | + | _ structs.HostLayout | |
| 23 | 27 | } | |
| 24 | 28 | ||
| 25 | 29 | func (x *SocketControlMessagePrivate) GoPointer() uintptr { | |
M v4/gio/gsocketlistener.go +4 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gio | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -13,6 +14,8 @@ import ( | |||
| 13 | 14 | ||
| 14 | 15 | // Class structure for #GSocketListener. | |
| 15 | 16 | type SocketListenerClass struct { | |
| 17 | + | _ structs.HostLayout | |
| 18 | + | ||
| 16 | 19 | ParentClass uintptr | |
| 17 | 20 | } | |
| 18 | 21 | ||
| @@ -21,6 +24,7 @@ func (x *SocketListenerClass) GoPointer() uintptr { | |||
| 21 | 24 | } | |
| 22 | 25 | ||
| 23 | 26 | type SocketListenerPrivate struct { | |
| 27 | + | _ structs.HostLayout | |
| 24 | 28 | } | |
| 25 | 29 | ||
| 26 | 30 | func (x *SocketListenerPrivate) GoPointer() uintptr { | |
M v4/gio/gsocketservice.go +4 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gio | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -13,6 +14,8 @@ import ( | |||
| 13 | 14 | ||
| 14 | 15 | // Class structure for #GSocketService. | |
| 15 | 16 | type SocketServiceClass struct { | |
| 17 | + | _ structs.HostLayout | |
| 18 | + | ||
| 16 | 19 | ParentClass uintptr | |
| 17 | 20 | } | |
| 18 | 21 | ||
| @@ -21,6 +24,7 @@ func (x *SocketServiceClass) GoPointer() uintptr { | |||
| 21 | 24 | } | |
| 22 | 25 | ||
| 23 | 26 | type SocketServicePrivate struct { | |
| 27 | + | _ structs.HostLayout | |
| 24 | 28 | } | |
| 25 | 29 | ||
| 26 | 30 | func (x *SocketServicePrivate) GoPointer() uintptr { | |
M v4/gio/gtask.go +2 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gio | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -29,6 +30,7 @@ import ( | |||
| 29 | 30 | type TaskThreadFunc func(uintptr, uintptr, uintptr, uintptr) | |
| 30 | 31 | ||
| 31 | 32 | type TaskClass struct { | |
| 33 | + | _ structs.HostLayout | |
| 32 | 34 | } | |
| 33 | 35 | ||
| 34 | 36 | func (x *TaskClass) GoPointer() uintptr { | |
M v4/gio/gtcpconnection.go +4 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gio | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -10,6 +11,8 @@ import ( | |||
| 10 | 11 | ) | |
| 11 | 12 | ||
| 12 | 13 | type TcpConnectionClass struct { | |
| 14 | + | _ structs.HostLayout | |
| 15 | + | ||
| 13 | 16 | ParentClass uintptr | |
| 14 | 17 | } | |
| 15 | 18 | ||
| @@ -18,6 +21,7 @@ func (x *TcpConnectionClass) GoPointer() uintptr { | |||
| 18 | 21 | } | |
| 19 | 22 | ||
| 20 | 23 | type TcpConnectionPrivate struct { | |
| 24 | + | _ structs.HostLayout | |
| 21 | 25 | } | |
| 22 | 26 | ||
| 23 | 27 | func (x *TcpConnectionPrivate) GoPointer() uintptr { | |
M v4/gio/gtcpwrapperconnection.go +4 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gio | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -11,6 +12,8 @@ import ( | |||
| 11 | 12 | ) | |
| 12 | 13 | ||
| 13 | 14 | type TcpWrapperConnectionClass struct { | |
| 15 | + | _ structs.HostLayout | |
| 16 | + | ||
| 14 | 17 | ParentClass uintptr | |
| 15 | 18 | } | |
| 16 | 19 | ||
| @@ -19,6 +22,7 @@ func (x *TcpWrapperConnectionClass) GoPointer() uintptr { | |||
| 19 | 22 | } | |
| 20 | 23 | ||
| 21 | 24 | type TcpWrapperConnectionPrivate struct { | |
| 25 | + | _ structs.HostLayout | |
| 22 | 26 | } | |
| 23 | 27 | ||
| 24 | 28 | func (x *TcpWrapperConnectionPrivate) GoPointer() uintptr { | |
M v4/gio/gthemedicon.go +2 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gio | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -12,6 +13,7 @@ import ( | |||
| 12 | 13 | ) | |
| 13 | 14 | ||
| 14 | 15 | type ThemedIconClass struct { | |
| 16 | + | _ structs.HostLayout | |
| 15 | 17 | } | |
| 16 | 18 | ||
| 17 | 19 | func (x *ThemedIconClass) GoPointer() uintptr { | |
M v4/gio/gthreadedsocketservice.go +4 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gio | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -12,6 +13,8 @@ import ( | |||
| 12 | 13 | ) | |
| 13 | 14 | ||
| 14 | 15 | type ThreadedSocketServiceClass struct { | |
| 16 | + | _ structs.HostLayout | |
| 17 | + | ||
| 15 | 18 | ParentClass uintptr | |
| 16 | 19 | } | |
| 17 | 20 | ||
| @@ -20,6 +23,7 @@ func (x *ThreadedSocketServiceClass) GoPointer() uintptr { | |||
| 20 | 23 | } | |
| 21 | 24 | ||
| 22 | 25 | type ThreadedSocketServicePrivate struct { | |
| 26 | + | _ structs.HostLayout | |
| 23 | 27 | } | |
| 24 | 28 | ||
| 25 | 29 | func (x *ThreadedSocketServicePrivate) GoPointer() uintptr { | |
M v4/gio/gtlsbackend.go +3 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gio | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -12,6 +13,8 @@ import ( | |||
| 12 | 13 | ||
| 13 | 14 | // Provides an interface for describing TLS-related types. | |
| 14 | 15 | type TlsBackendInterface struct { | |
| 16 | + | _ structs.HostLayout | |
| 17 | + | ||
| 15 | 18 | GIface uintptr | |
| 16 | 19 | } | |
| 17 | 20 | ||
M v4/gio/gtlscertificate.go +4 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gio | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -12,6 +13,8 @@ import ( | |||
| 12 | 13 | ) | |
| 13 | 14 | ||
| 14 | 15 | type TlsCertificateClass struct { | |
| 16 | + | _ structs.HostLayout | |
| 17 | + | ||
| 15 | 18 | ParentClass uintptr | |
| 16 | 19 | ||
| 17 | 20 | Padding [8]uintptr | |
| @@ -22,6 +25,7 @@ func (x *TlsCertificateClass) GoPointer() uintptr { | |||
| 22 | 25 | } | |
| 23 | 26 | ||
| 24 | 27 | type TlsCertificatePrivate struct { | |
| 28 | + | _ structs.HostLayout | |
| 25 | 29 | } | |
| 26 | 30 | ||
| 27 | 31 | func (x *TlsCertificatePrivate) GoPointer() uintptr { | |
M v4/gio/gtlsclientconnection.go +3 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gio | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -13,6 +14,8 @@ import ( | |||
| 13 | 14 | ||
| 14 | 15 | // vtable for a #GTlsClientConnection implementation. | |
| 15 | 16 | type TlsClientConnectionInterface struct { | |
| 17 | + | _ structs.HostLayout | |
| 18 | + | ||
| 16 | 19 | GIface uintptr | |
| 17 | 20 | } | |
| 18 | 21 | ||
M v4/gio/gtlsconnection.go +4 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gio | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -13,6 +14,8 @@ import ( | |||
| 13 | 14 | ||
| 14 | 15 | // The class structure for the #GTlsConnection type. | |
| 15 | 16 | type TlsConnectionClass struct { | |
| 17 | + | _ structs.HostLayout | |
| 18 | + | ||
| 16 | 19 | ParentClass uintptr | |
| 17 | 20 | ||
| 18 | 21 | Padding [6]uintptr | |
| @@ -23,6 +26,7 @@ func (x *TlsConnectionClass) GoPointer() uintptr { | |||
| 23 | 26 | } | |
| 24 | 27 | ||
| 25 | 28 | type TlsConnectionPrivate struct { | |
| 29 | + | _ structs.HostLayout | |
| 26 | 30 | } | |
| 27 | 31 | ||
| 28 | 32 | func (x *TlsConnectionPrivate) GoPointer() uintptr { | |
M v4/gio/gtlsdatabase.go +4 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gio | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -15,6 +16,8 @@ import ( | |||
| 15 | 16 | // virtual methods. _async and _finish methods have a default | |
| 16 | 17 | // implementation that runs the corresponding sync method in a thread. | |
| 17 | 18 | type TlsDatabaseClass struct { | |
| 19 | + | _ structs.HostLayout | |
| 20 | + | ||
| 18 | 21 | ParentClass uintptr | |
| 19 | 22 | ||
| 20 | 23 | Padding [16]uintptr | |
| @@ -25,6 +28,7 @@ func (x *TlsDatabaseClass) GoPointer() uintptr { | |||
| 25 | 28 | } | |
| 26 | 29 | ||
| 27 | 30 | type TlsDatabasePrivate struct { | |
| 31 | + | _ structs.HostLayout | |
| 28 | 32 | } | |
| 29 | 33 | ||
| 30 | 34 | func (x *TlsDatabasePrivate) GoPointer() uintptr { | |
M v4/gio/gtlsfiledatabase.go +3 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gio | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -12,6 +13,8 @@ import ( | |||
| 12 | 13 | ||
| 13 | 14 | // Provides an interface for #GTlsFileDatabase implementations. | |
| 14 | 15 | type TlsFileDatabaseInterface struct { | |
| 16 | + | _ structs.HostLayout | |
| 17 | + | ||
| 15 | 18 | GIface uintptr | |
| 16 | 19 | ||
| 17 | 20 | Padding [8]uintptr | |
M v4/gio/gtlsinteraction.go +4 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gio | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -26,6 +27,8 @@ import ( | |||
| 26 | 27 | // %G_TLS_INTERACTION_FAILED and the error should be set with a domain of | |
| 27 | 28 | // %G_IO_ERROR and code of %G_IO_ERROR_CANCELLED. | |
| 28 | 29 | type TlsInteractionClass struct { | |
| 30 | + | _ structs.HostLayout | |
| 31 | + | ||
| 29 | 32 | ParentClass uintptr | |
| 30 | 33 | ||
| 31 | 34 | Padding [21]uintptr | |
| @@ -36,6 +39,7 @@ func (x *TlsInteractionClass) GoPointer() uintptr { | |||
| 36 | 39 | } | |
| 37 | 40 | ||
| 38 | 41 | type TlsInteractionPrivate struct { | |
| 42 | + | _ structs.HostLayout | |
| 39 | 43 | } | |
| 40 | 44 | ||
| 41 | 45 | func (x *TlsInteractionPrivate) GoPointer() uintptr { | |
M v4/gio/gtlspassword.go +4 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gio | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -13,6 +14,8 @@ import ( | |||
| 13 | 14 | ||
| 14 | 15 | // Class structure for #GTlsPassword. | |
| 15 | 16 | type TlsPasswordClass struct { | |
| 17 | + | _ structs.HostLayout | |
| 18 | + | ||
| 16 | 19 | ParentClass uintptr | |
| 17 | 20 | ||
| 18 | 21 | Padding [4]uintptr | |
| @@ -23,6 +26,7 @@ func (x *TlsPasswordClass) GoPointer() uintptr { | |||
| 23 | 26 | } | |
| 24 | 27 | ||
| 25 | 28 | type TlsPasswordPrivate struct { | |
| 29 | + | _ structs.HostLayout | |
| 26 | 30 | } | |
| 27 | 31 | ||
| 28 | 32 | func (x *TlsPasswordPrivate) GoPointer() uintptr { | |
M v4/gio/gtlsserverconnection.go +3 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gio | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -12,6 +13,8 @@ import ( | |||
| 12 | 13 | ||
| 13 | 14 | // vtable for a #GTlsServerConnection implementation. | |
| 14 | 15 | type TlsServerConnectionInterface struct { | |
| 16 | + | _ structs.HostLayout | |
| 17 | + | ||
| 15 | 18 | GIface uintptr | |
| 16 | 19 | } | |
| 17 | 20 | ||
M v4/gio/gunixconnection.go +4 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gio | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -11,6 +12,8 @@ import ( | |||
| 11 | 12 | ) | |
| 12 | 13 | ||
| 13 | 14 | type UnixConnectionClass struct { | |
| 15 | + | _ structs.HostLayout | |
| 16 | + | ||
| 14 | 17 | ParentClass uintptr | |
| 15 | 18 | } | |
| 16 | 19 | ||
| @@ -19,6 +22,7 @@ func (x *UnixConnectionClass) GoPointer() uintptr { | |||
| 19 | 22 | } | |
| 20 | 23 | ||
| 21 | 24 | type UnixConnectionPrivate struct { | |
| 25 | + | _ structs.HostLayout | |
| 22 | 26 | } | |
| 23 | 27 | ||
| 24 | 28 | func (x *UnixConnectionPrivate) GoPointer() uintptr { | |
M v4/gio/gunixcredentialsmessage.go +4 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gio | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -12,6 +13,8 @@ import ( | |||
| 12 | 13 | ||
| 13 | 14 | // Class structure for #GUnixCredentialsMessage. | |
| 14 | 15 | type UnixCredentialsMessageClass struct { | |
| 16 | + | _ structs.HostLayout | |
| 17 | + | ||
| 15 | 18 | ParentClass uintptr | |
| 16 | 19 | } | |
| 17 | 20 | ||
| @@ -20,6 +23,7 @@ func (x *UnixCredentialsMessageClass) GoPointer() uintptr { | |||
| 20 | 23 | } | |
| 21 | 24 | ||
| 22 | 25 | type UnixCredentialsMessagePrivate struct { | |
| 26 | + | _ structs.HostLayout | |
| 23 | 27 | } | |
| 24 | 28 | ||
| 25 | 29 | func (x *UnixCredentialsMessagePrivate) GoPointer() uintptr { | |
M v4/gio/gunixfdlist.go +4 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gio | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -12,6 +13,8 @@ import ( | |||
| 12 | 13 | ) | |
| 13 | 14 | ||
| 14 | 15 | type UnixFDListClass struct { | |
| 16 | + | _ structs.HostLayout | |
| 17 | + | ||
| 15 | 18 | ParentClass uintptr | |
| 16 | 19 | } | |
| 17 | 20 | ||
| @@ -20,6 +23,7 @@ func (x *UnixFDListClass) GoPointer() uintptr { | |||
| 20 | 23 | } | |
| 21 | 24 | ||
| 22 | 25 | type UnixFDListPrivate struct { | |
| 26 | + | _ structs.HostLayout | |
| 23 | 27 | } | |
| 24 | 28 | ||
| 25 | 29 | func (x *UnixFDListPrivate) GoPointer() uintptr { | |
M v4/gio/gunixfdmessage.go +4 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gio | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -12,6 +13,8 @@ import ( | |||
| 12 | 13 | ) | |
| 13 | 14 | ||
| 14 | 15 | type UnixFDMessageClass struct { | |
| 16 | + | _ structs.HostLayout | |
| 17 | + | ||
| 15 | 18 | ParentClass uintptr | |
| 16 | 19 | } | |
| 17 | 20 | ||
| @@ -20,6 +23,7 @@ func (x *UnixFDMessageClass) GoPointer() uintptr { | |||
| 20 | 23 | } | |
| 21 | 24 | ||
| 22 | 25 | type UnixFDMessagePrivate struct { | |
| 26 | + | _ structs.HostLayout | |
| 23 | 27 | } | |
| 24 | 28 | ||
| 25 | 29 | func (x *UnixFDMessagePrivate) GoPointer() uintptr { | |
M v4/gio/gunixinputstream.go +4 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gio | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -11,6 +12,8 @@ import ( | |||
| 11 | 12 | ) | |
| 12 | 13 | ||
| 13 | 14 | type UnixInputStreamClass struct { | |
| 15 | + | _ structs.HostLayout | |
| 16 | + | ||
| 14 | 17 | ParentClass uintptr | |
| 15 | 18 | } | |
| 16 | 19 | ||
| @@ -19,6 +22,7 @@ func (x *UnixInputStreamClass) GoPointer() uintptr { | |||
| 19 | 22 | } | |
| 20 | 23 | ||
| 21 | 24 | type UnixInputStreamPrivate struct { | |
| 25 | + | _ structs.HostLayout | |
| 22 | 26 | } | |
| 23 | 27 | ||
| 24 | 28 | func (x *UnixInputStreamPrivate) GoPointer() uintptr { | |
M v4/gio/gunixmounts.go +4 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gio | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -14,6 +15,7 @@ import ( | |||
| 14 | 15 | // Defines a Unix mount entry (e.g. <filename>/media/cdrom</filename>). | |
| 15 | 16 | // This corresponds roughly to a mtab entry. | |
| 16 | 17 | type UnixMountEntry struct { | |
| 18 | + | _ structs.HostLayout | |
| 17 | 19 | } | |
| 18 | 20 | ||
| 19 | 21 | var xUnixMountEntryGLibType func() types.GType | |
| @@ -27,6 +29,7 @@ func (x *UnixMountEntry) GoPointer() uintptr { | |||
| 27 | 29 | } | |
| 28 | 30 | ||
| 29 | 31 | type UnixMountMonitorClass struct { | |
| 32 | + | _ structs.HostLayout | |
| 30 | 33 | } | |
| 31 | 34 | ||
| 32 | 35 | func (x *UnixMountMonitorClass) GoPointer() uintptr { | |
| @@ -36,6 +39,7 @@ func (x *UnixMountMonitorClass) GoPointer() uintptr { | |||
| 36 | 39 | // Defines a Unix mount point (e.g. <filename>/dev</filename>). | |
| 37 | 40 | // This corresponds roughly to a fstab entry. | |
| 38 | 41 | type UnixMountPoint struct { | |
| 42 | + | _ structs.HostLayout | |
| 39 | 43 | } | |
| 40 | 44 | ||
| 41 | 45 | var xUnixMountPointGLibType func() types.GType | |
M v4/gio/gunixoutputstream.go +4 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gio | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -11,6 +12,8 @@ import ( | |||
| 11 | 12 | ) | |
| 12 | 13 | ||
| 13 | 14 | type UnixOutputStreamClass struct { | |
| 15 | + | _ structs.HostLayout | |
| 16 | + | ||
| 14 | 17 | ParentClass uintptr | |
| 15 | 18 | } | |
| 16 | 19 | ||
| @@ -19,6 +22,7 @@ func (x *UnixOutputStreamClass) GoPointer() uintptr { | |||
| 19 | 22 | } | |
| 20 | 23 | ||
| 21 | 24 | type UnixOutputStreamPrivate struct { | |
| 25 | + | _ structs.HostLayout | |
| 22 | 26 | } | |
| 23 | 27 | ||
| 24 | 28 | func (x *UnixOutputStreamPrivate) GoPointer() uintptr { | |
M v4/gio/gunixsocketaddress.go +4 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gio | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -10,6 +11,8 @@ import ( | |||
| 10 | 11 | ) | |
| 11 | 12 | ||
| 12 | 13 | type UnixSocketAddressClass struct { | |
| 14 | + | _ structs.HostLayout | |
| 15 | + | ||
| 13 | 16 | ParentClass uintptr | |
| 14 | 17 | } | |
| 15 | 18 | ||
| @@ -18,6 +21,7 @@ func (x *UnixSocketAddressClass) GoPointer() uintptr { | |||
| 18 | 21 | } | |
| 19 | 22 | ||
| 20 | 23 | type UnixSocketAddressPrivate struct { | |
| 24 | + | _ structs.HostLayout | |
| 21 | 25 | } | |
| 22 | 26 | ||
| 23 | 27 | func (x *UnixSocketAddressPrivate) GoPointer() uintptr { | |
M v4/gio/gvfs.go +3 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gio | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -20,6 +21,8 @@ import ( | |||
| 20 | 21 | type VfsFileLookupFunc func(uintptr, string, uintptr) uintptr | |
| 21 | 22 | ||
| 22 | 23 | type VfsClass struct { | |
| 24 | + | _ structs.HostLayout | |
| 25 | + | ||
| 23 | 26 | ParentClass uintptr | |
| 24 | 27 | } | |
| 25 | 28 | ||
M v4/gio/gvolume.go +3 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gio | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -12,6 +13,8 @@ import ( | |||
| 12 | 13 | ||
| 13 | 14 | // Interface for implementing operations for mountable volumes. | |
| 14 | 15 | type VolumeIface struct { | |
| 16 | + | _ structs.HostLayout | |
| 17 | + | ||
| 15 | 18 | GIface uintptr | |
| 16 | 19 | } | |
| 17 | 20 | ||
M v4/gio/gvolumemonitor.go +3 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gio | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -12,6 +13,8 @@ import ( | |||
| 12 | 13 | ) | |
| 13 | 14 | ||
| 14 | 15 | type VolumeMonitorClass struct { | |
| 16 | + | _ structs.HostLayout | |
| 17 | + | ||
| 15 | 18 | ParentClass uintptr | |
| 16 | 19 | } | |
| 17 | 20 | ||
M v4/gio/gzlibcompressor.go +3 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gio | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -12,6 +13,8 @@ import ( | |||
| 12 | 13 | ) | |
| 13 | 14 | ||
| 14 | 15 | type ZlibCompressorClass struct { | |
| 16 | + | _ structs.HostLayout | |
| 17 | + | ||
| 15 | 18 | ParentClass uintptr | |
| 16 | 19 | } | |
| 17 | 20 | ||
M v4/gio/gzlibdecompressor.go +3 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gio | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -12,6 +13,8 @@ import ( | |||
| 12 | 13 | ) | |
| 13 | 14 | ||
| 14 | 15 | type ZlibDecompressorClass struct { | |
| 16 | + | _ structs.HostLayout | |
| 17 | + | ||
| 15 | 18 | ParentClass uintptr | |
| 16 | 19 | } | |
| 17 | 20 | ||
M v4/glib/garray.go +8 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package glib | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -11,6 +12,8 @@ import ( | |||
| 11 | 12 | ||
| 12 | 13 | // Contains the public fields of a GArray. | |
| 13 | 14 | type Array struct { | |
| 15 | + | _ structs.HostLayout | |
| 16 | + | ||
| 14 | 17 | Data uintptr | |
| 15 | 18 | ||
| 16 | 19 | Len uint | |
| @@ -28,6 +31,8 @@ func (x *Array) GoPointer() uintptr { | |||
| 28 | 31 | ||
| 29 | 32 | // Contains the public fields of a GByteArray. | |
| 30 | 33 | type ByteArray struct { | |
| 34 | + | _ structs.HostLayout | |
| 35 | + | ||
| 31 | 36 | Data byte | |
| 32 | 37 | ||
| 33 | 38 | Len uint | |
| @@ -68,6 +73,7 @@ func (x *ByteArray) GoPointer() uintptr { | |||
| 68 | 73 | // mutable array for a #GBytes sequence. To create an immutable #GBytes from | |
| 69 | 74 | // a mutable #GByteArray, use the g_byte_array_free_to_bytes() function. | |
| 70 | 75 | type Bytes struct { | |
| 76 | + | _ structs.HostLayout | |
| 71 | 77 | } | |
| 72 | 78 | ||
| 73 | 79 | var xBytesGLibType func() types.GType | |
| @@ -310,6 +316,8 @@ func (x *Bytes) UnrefToData(SizeVar uint) uintptr { | |||
| 310 | 316 | ||
| 311 | 317 | // Contains the public fields of a pointer array. | |
| 312 | 318 | type PtrArray struct { | |
| 319 | + | _ structs.HostLayout | |
| 320 | + | ||
| 313 | 321 | Pdata uintptr | |
| 314 | 322 | ||
| 315 | 323 | Len uint | |
M v4/glib/gasyncqueue.go +2 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package glib | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -12,6 +13,7 @@ import ( | |||
| 12 | 13 | // | |
| 13 | 14 | // It should only be accessed through the `g_async_queue_*` functions. | |
| 14 | 15 | type AsyncQueue struct { | |
| 16 | + | _ structs.HostLayout | |
| 15 | 17 | } | |
| 16 | 18 | ||
| 17 | 19 | func (x *AsyncQueue) GoPointer() uintptr { | |
M v4/glib/gbookmarkfile.go +2 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package glib | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -10,6 +11,7 @@ import ( | |||
| 10 | 11 | ||
| 11 | 12 | // An opaque data structure representing a set of bookmarks. | |
| 12 | 13 | type BookmarkFile struct { | |
| 14 | + | _ structs.HostLayout | |
| 13 | 15 | } | |
| 14 | 16 | ||
| 15 | 17 | func (x *BookmarkFile) GoPointer() uintptr { | |
M v4/glib/gchecksum.go +2 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package glib | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -14,6 +15,7 @@ import ( | |||
| 14 | 15 | // To create a new GChecksum, use g_checksum_new(). To free | |
| 15 | 16 | // a GChecksum, use g_checksum_free(). | |
| 16 | 17 | type Checksum struct { | |
| 18 | + | _ structs.HostLayout | |
| 17 | 19 | } | |
| 18 | 20 | ||
| 19 | 21 | var xChecksumGLibType func() types.GType | |
M v4/glib/gconvert.go +2 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package glib | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -11,6 +12,7 @@ import ( | |||
| 11 | 12 | // The GIConv struct wraps an iconv() conversion descriptor. It contains | |
| 12 | 13 | // private data and should only be accessed using the following functions. | |
| 13 | 14 | type IConv struct { | |
| 15 | + | _ structs.HostLayout | |
| 14 | 16 | } | |
| 15 | 17 | ||
| 16 | 18 | func (x *IConv) GoPointer() uintptr { | |
M v4/glib/gdataset.go +2 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package glib | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -23,6 +24,7 @@ type DuplicateFunc func(uintptr, uintptr) uintptr | |||
| 23 | 24 | // | |
| 24 | 25 | // See also: [Keyed data lists][glib-Keyed-Data-Lists]. | |
| 25 | 26 | type Data struct { | |
| 27 | + | _ structs.HostLayout | |
| 26 | 28 | } | |
| 27 | 29 | ||
| 28 | 30 | func (x *Data) GoPointer() uintptr { | |
M v4/glib/gdate.go +3 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package glib | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -21,6 +22,8 @@ import ( | |||
| 21 | 22 | // becomes valid after you set it to a Julian day or you set a day, month, | |
| 22 | 23 | // and year. | |
| 23 | 24 | type Date struct { | |
| 25 | + | _ structs.HostLayout | |
| 26 | + | ||
| 24 | 27 | JulianDays uint | |
| 25 | 28 | ||
| 26 | 29 | Julian uint | |
M v4/glib/gdatetime.go +2 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package glib | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -11,6 +12,7 @@ import ( | |||
| 11 | 12 | ||
| 12 | 13 | // An opaque structure that represents a date and time, including a time zone. | |
| 13 | 14 | type DateTime struct { | |
| 15 | + | _ structs.HostLayout | |
| 14 | 16 | } | |
| 15 | 17 | ||
| 16 | 18 | var xDateTimeGLibType func() types.GType | |
M v4/glib/gdir.go +2 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package glib | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -10,6 +11,7 @@ import ( | |||
| 10 | 11 | ||
| 11 | 12 | // An opaque structure representing an opened directory. | |
| 12 | 13 | type Dir struct { | |
| 14 | + | _ structs.HostLayout | |
| 13 | 15 | } | |
| 14 | 16 | ||
| 15 | 17 | func (x *Dir) GoPointer() uintptr { | |
M v4/glib/gerror.go +3 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package glib | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -39,6 +40,8 @@ type ErrorInitFunc func(*Error) | |||
| 39 | 40 | // The `GError` structure contains information about | |
| 40 | 41 | // an error that has occurred. | |
| 41 | 42 | type Error struct { | |
| 43 | + | _ structs.HostLayout | |
| 44 | + | ||
| 42 | 45 | Domain Quark | |
| 43 | 46 | ||
| 44 | 47 | Code int32 | |
M v4/glib/ghash.go +4 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package glib | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -20,6 +21,7 @@ type HRFunc func(uintptr, uintptr, uintptr) bool | |||
| 20 | 21 | // [Hash Table][glib-Hash-Tables]. It should only be accessed via the | |
| 21 | 22 | // following functions. | |
| 22 | 23 | type HashTable struct { | |
| 24 | + | _ structs.HostLayout | |
| 23 | 25 | } | |
| 24 | 26 | ||
| 25 | 27 | var xHashTableGLibType func() types.GType | |
| @@ -40,6 +42,8 @@ func (x *HashTable) GoPointer() uintptr { | |||
| 40 | 42 | // The iteration order of a #GHashTableIter over the keys/values in a hash | |
| 41 | 43 | // table is not defined. | |
| 42 | 44 | type HashTableIter struct { | |
| 45 | + | _ structs.HostLayout | |
| 46 | + | ||
| 43 | 47 | Dummy1 uintptr | |
| 44 | 48 | ||
| 45 | 49 | Dummy2 uintptr | |
M v4/glib/ghmac.go +2 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package glib | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -12,6 +13,7 @@ import ( | |||
| 12 | 13 | // To create a new GHmac, use g_hmac_new(). To free | |
| 13 | 14 | // a GHmac, use g_hmac_unref(). | |
| 14 | 15 | type Hmac struct { | |
| 16 | + | _ structs.HostLayout | |
| 15 | 17 | } | |
| 16 | 18 | ||
| 17 | 19 | func (x *Hmac) GoPointer() uintptr { | |
M v4/glib/ghook.go +5 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package glib | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -35,6 +36,8 @@ type HookMarshaller func(*Hook, uintptr) | |||
| 35 | 36 | ||
| 36 | 37 | // The #GHook struct represents a single hook function in a #GHookList. | |
| 37 | 38 | type Hook struct { | |
| 39 | + | _ structs.HostLayout | |
| 40 | + | ||
| 38 | 41 | Data uintptr | |
| 39 | 42 | ||
| 40 | 43 | Next *Hook | |
| @@ -68,6 +71,8 @@ func (x *Hook) CompareIds(SiblingVar *Hook) int { | |||
| 68 | 71 | ||
| 69 | 72 | // The #GHookList struct represents a list of hook functions. | |
| 70 | 73 | type HookList struct { | |
| 74 | + | _ structs.HostLayout | |
| 75 | + | ||
| 71 | 76 | SeqId uint32 | |
| 72 | 77 | ||
| 73 | 78 | HookSize uint | |
M v4/glib/giochannel.go +4 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package glib | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -18,6 +19,8 @@ type IOFunc func(*IOChannel, IOCondition, uintptr) bool | |||
| 18 | 19 | // considered private and should only be accessed with the following | |
| 19 | 20 | // functions. | |
| 20 | 21 | type IOChannel struct { | |
| 22 | + | _ structs.HostLayout | |
| 23 | + | ||
| 21 | 24 | RefCount int32 | |
| 22 | 25 | ||
| 23 | 26 | Funcs *IOFuncs | |
| @@ -555,6 +558,7 @@ func (x *IOChannel) WriteUnichar(ThecharVar uint32) (IOStatus, error) { | |||
| 555 | 558 | // A table of functions used to handle different types of #GIOChannel | |
| 556 | 559 | // in a generic way. | |
| 557 | 560 | type IOFuncs struct { | |
| 561 | + | _ structs.HostLayout | |
| 558 | 562 | } | |
| 559 | 563 | ||
| 560 | 564 | func (x *IOFuncs) GoPointer() uintptr { | |
M v4/glib/gkeyfile.go +2 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package glib | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -12,6 +13,7 @@ import ( | |||
| 12 | 13 | // The GKeyFile struct contains only private data | |
| 13 | 14 | // and should not be accessed directly. | |
| 14 | 15 | type KeyFile struct { | |
| 16 | + | _ structs.HostLayout | |
| 15 | 17 | } | |
| 16 | 18 | ||
| 17 | 19 | var xKeyFileGLibType func() types.GType | |
M v4/glib/glist.go +3 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package glib | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -10,6 +11,8 @@ import ( | |||
| 10 | 11 | ||
| 11 | 12 | // The #GList struct is used for each element in a doubly-linked list. | |
| 12 | 13 | type List struct { | |
| 14 | + | _ structs.HostLayout | |
| 15 | + | ||
| 13 | 16 | Data uintptr | |
| 14 | 17 | ||
| 15 | 18 | Next *List | |
M v4/glib/gmain.go +9 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package glib | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -43,6 +44,7 @@ type SourceFunc func(uintptr) bool | |||
| 43 | 44 | // The `GMainContext` struct is an opaque data | |
| 44 | 45 | // type representing a set of sources to be handled in a main loop. | |
| 45 | 46 | type MainContext struct { | |
| 47 | + | _ structs.HostLayout | |
| 46 | 48 | } | |
| 47 | 49 | ||
| 48 | 50 | var xMainContextGLibType func() types.GType | |
| @@ -463,6 +465,7 @@ func (x *MainContext) Wakeup() { | |||
| 463 | 465 | // The `GMainLoop` struct is an opaque data type | |
| 464 | 466 | // representing the main event loop of a GLib or GTK+ application. | |
| 465 | 467 | type MainLoop struct { | |
| 468 | + | _ structs.HostLayout | |
| 466 | 469 | } | |
| 467 | 470 | ||
| 468 | 471 | var xMainLoopGLibType func() types.GType | |
| @@ -549,6 +552,8 @@ func (x *MainLoop) Unref() { | |||
| 549 | 552 | // The `GSource` struct is an opaque data type | |
| 550 | 553 | // representing an event source. | |
| 551 | 554 | type Source struct { | |
| 555 | + | _ structs.HostLayout | |
| 556 | + | ||
| 552 | 557 | CallbackData uintptr | |
| 553 | 558 | ||
| 554 | 559 | CallbackFuncs *SourceCallbackFuncs | |
| @@ -1174,6 +1179,7 @@ func (x *Source) Unref() { | |||
| 1174 | 1179 | // The `GSourceCallbackFuncs` struct contains | |
| 1175 | 1180 | // functions for managing callback objects. | |
| 1176 | 1181 | type SourceCallbackFuncs struct { | |
| 1182 | + | _ structs.HostLayout | |
| 1177 | 1183 | } | |
| 1178 | 1184 | ||
| 1179 | 1185 | func (x *SourceCallbackFuncs) GoPointer() uintptr { | |
| @@ -1201,6 +1207,8 @@ func (x *SourceCallbackFuncs) GoPointer() uintptr { | |||
| 1201 | 1207 | // check function, it tests the results of the poll() call to see if the | |
| 1202 | 1208 | // required condition has been met, and returns %TRUE if so. | |
| 1203 | 1209 | type SourceFuncs struct { | |
| 1210 | + | _ structs.HostLayout | |
| 1211 | + | ||
| 1204 | 1212 | ClosureCallback SourceFunc | |
| 1205 | 1213 | ||
| 1206 | 1214 | ClosureMarshal SourceDummyMarshal | |
| @@ -1211,6 +1219,7 @@ func (x *SourceFuncs) GoPointer() uintptr { | |||
| 1211 | 1219 | } | |
| 1212 | 1220 | ||
| 1213 | 1221 | type SourcePrivate struct { | |
| 1222 | + | _ structs.HostLayout | |
| 1214 | 1223 | } | |
| 1215 | 1224 | ||
| 1216 | 1225 | func (x *SourcePrivate) GoPointer() uintptr { | |
M v4/glib/gmappedfile.go +2 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package glib | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -13,6 +14,7 @@ import ( | |||
| 13 | 14 | // g_mapped_file_new(). It has only private members and should | |
| 14 | 15 | // not be accessed directly. | |
| 15 | 16 | type MappedFile struct { | |
| 17 | + | _ structs.HostLayout | |
| 16 | 18 | } | |
| 17 | 19 | ||
| 18 | 20 | var xMappedFileGLibType func() types.GType | |
M v4/glib/gmarkup.go +3 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package glib | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -15,6 +16,7 @@ import ( | |||
| 15 | 16 | // See g_markup_parse_context_new(), #GMarkupParser, and so | |
| 16 | 17 | // on for more details. | |
| 17 | 18 | type MarkupParseContext struct { | |
| 19 | + | _ structs.HostLayout | |
| 18 | 20 | } | |
| 19 | 21 | ||
| 20 | 22 | var xMarkupParseContextGLibType func() types.GType | |
| @@ -333,6 +335,7 @@ func (x *MarkupParseContext) Unref() { | |||
| 333 | 335 | // from a callback, g_markup_parse_context_parse() will report that error | |
| 334 | 336 | // back to its caller. | |
| 335 | 337 | type MarkupParser struct { | |
| 338 | + | _ structs.HostLayout | |
| 336 | 339 | } | |
| 337 | 340 | ||
| 338 | 341 | func (x *MarkupParser) GoPointer() uintptr { | |
M v4/glib/gmem.go +2 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package glib | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -14,6 +15,7 @@ import ( | |||
| 14 | 15 | // | |
| 15 | 16 | // This functions related to this has been deprecated in 2.46, and no longer work. | |
| 16 | 17 | type MemVTable struct { | |
| 18 | + | _ structs.HostLayout | |
| 17 | 19 | } | |
| 18 | 20 | ||
| 19 | 21 | func (x *MemVTable) GoPointer() uintptr { | |
M v4/glib/gmessages.go +3 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package glib | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -52,6 +53,8 @@ type PrintFunc func(string) | |||
| 52 | 53 | // have a trailing nul byte. Otherwise, @length must be set to a non-negative | |
| 53 | 54 | // value. | |
| 54 | 55 | type LogField struct { | |
| 56 | + | _ structs.HostLayout | |
| 57 | + | ||
| 55 | 58 | Key uintptr | |
| 56 | 59 | ||
| 57 | 60 | Value uintptr | |
M v4/glib/gnode.go +3 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package glib | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -21,6 +22,8 @@ type NodeTraverseFunc func(*Node, uintptr) bool | |||
| 21 | 22 | ||
| 22 | 23 | // The #GNode struct represents one node in a [n-ary tree][glib-N-ary-Trees]. | |
| 23 | 24 | type Node struct { | |
| 25 | + | _ structs.HostLayout | |
| 26 | + | ||
| 24 | 27 | Data uintptr | |
| 25 | 28 | ||
| 26 | 29 | Next *Node | |
M v4/glib/goption.go +5 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package glib | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -23,6 +24,7 @@ type OptionParseFunc func(*OptionContext, *OptionGroup, uintptr, **Error) bool | |||
| 23 | 24 | // are accepted by the commandline option parser. The struct has only private | |
| 24 | 25 | // fields and should not be directly accessed. | |
| 25 | 26 | type OptionContext struct { | |
| 27 | + | _ structs.HostLayout | |
| 26 | 28 | } | |
| 27 | 29 | ||
| 28 | 30 | func (x *OptionContext) GoPointer() uintptr { | |
| @@ -330,6 +332,8 @@ func (x *OptionContext) SetTranslationDomain(DomainVar string) { | |||
| 330 | 332 | // must be added to a #GOptionGroup with g_option_context_add_main_entries() | |
| 331 | 333 | // or g_option_group_add_entries(). | |
| 332 | 334 | type OptionEntry struct { | |
| 335 | + | _ structs.HostLayout | |
| 336 | + | ||
| 333 | 337 | LongName uintptr | |
| 334 | 338 | ||
| 335 | 339 | ShortName byte | |
| @@ -357,6 +361,7 @@ func (x *OptionEntry) GoPointer() uintptr { | |||
| 357 | 361 | // getting a `GOptionGroup` holding their options, which | |
| 358 | 362 | // the application can then add to its #GOptionContext. | |
| 359 | 363 | type OptionGroup struct { | |
| 364 | + | _ structs.HostLayout | |
| 360 | 365 | } | |
| 361 | 366 | ||
| 362 | 367 | var xOptionGroupGLibType func() types.GType | |
M v4/glib/gpattern.go +2 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package glib | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -12,6 +13,7 @@ import ( | |||
| 12 | 13 | // A GPatternSpec struct is the 'compiled' form of a pattern. This | |
| 13 | 14 | // structure is opaque and its fields cannot be accessed directly. | |
| 14 | 15 | type PatternSpec struct { | |
| 16 | + | _ structs.HostLayout | |
| 15 | 17 | } | |
| 16 | 18 | ||
| 17 | 19 | var xPatternSpecGLibType func() types.GType | |
M v4/glib/gpoll.go +3 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package glib | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -16,6 +17,8 @@ type PollFunc func(*PollFD, uint, int) int | |||
| 16 | 17 | // Represents a file descriptor, which events to poll for, and which events | |
| 17 | 18 | // occurred. | |
| 18 | 19 | type PollFD struct { | |
| 20 | + | _ structs.HostLayout | |
| 21 | + | ||
| 19 | 22 | Fd int32 | |
| 20 | 23 | ||
| 21 | 24 | Events uint16 | |
M v4/glib/gqueue.go +3 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package glib | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -11,6 +12,8 @@ import ( | |||
| 11 | 12 | // Contains the public fields of a | |
| 12 | 13 | // [Queue][glib-Double-ended-Queues]. | |
| 13 | 14 | type Queue struct { | |
| 15 | + | _ structs.HostLayout | |
| 16 | + | ||
| 14 | 17 | Head *List | |
| 15 | 18 | ||
| 16 | 19 | Tail *List | |
M v4/glib/grand.go +2 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package glib | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -11,6 +12,7 @@ import ( | |||
| 11 | 12 | // The GRand struct is an opaque data structure. It should only be | |
| 12 | 13 | // accessed through the g_rand_* functions. | |
| 13 | 14 | type Rand struct { | |
| 15 | + | _ structs.HostLayout | |
| 14 | 16 | } | |
| 15 | 17 | ||
| 16 | 18 | func (x *Rand) GoPointer() uintptr { | |
M v4/glib/gregex.go +3 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package glib | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -18,6 +19,7 @@ type RegexEvalCallback func(*MatchInfo, *String, uintptr) bool | |||
| 18 | 19 | // A GMatchInfo is an opaque struct used to return information about | |
| 19 | 20 | // matches. | |
| 20 | 21 | type MatchInfo struct { | |
| 22 | + | _ structs.HostLayout | |
| 21 | 23 | } | |
| 22 | 24 | ||
| 23 | 25 | var xMatchInfoGLibType func() types.GType | |
| @@ -360,6 +362,7 @@ func (x *MatchInfo) Unref() { | |||
| 360 | 362 | // [PCRE](http://www.pcre.org/) | |
| 361 | 363 | // library written by Philip Hazel. | |
| 362 | 364 | type Regex struct { | |
| 365 | + | _ structs.HostLayout | |
| 363 | 366 | } | |
| 364 | 367 | ||
| 365 | 368 | var xRegexGLibType func() types.GType | |
M v4/glib/gscanner.go +5 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package glib | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -26,6 +27,8 @@ type ScannerMsgFunc func(*Scanner, string, bool) | |||
| 26 | 27 | // @msg_handler field. The type of the message handler function | |
| 27 | 28 | // is declared by #GScannerMsgFunc. | |
| 28 | 29 | type Scanner struct { | |
| 30 | + | _ structs.HostLayout | |
| 31 | + | ||
| 29 | 32 | UserData uintptr | |
| 30 | 33 | ||
| 31 | 34 | MaxParseErrors uint | |
| @@ -292,6 +295,8 @@ func (x *Scanner) Warn(FormatVar string, varArgs ...interface{}) { | |||
| 292 | 295 | // be changed during the parsing phase and will affect the lexical | |
| 293 | 296 | // parsing of the next unpeeked token. | |
| 294 | 297 | type ScannerConfig struct { | |
| 298 | + | _ structs.HostLayout | |
| 299 | + | ||
| 295 | 300 | CsetSkipCharacters uintptr | |
| 296 | 301 | ||
| 297 | 302 | CsetIdentifierFirst uintptr | |
M v4/glib/gsequence.go +3 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package glib | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -16,6 +17,7 @@ type SequenceIterCompareFunc func(*SequenceIter, *SequenceIter, uintptr) int | |||
| 16 | 17 | // The #GSequence struct is an opaque data type representing a | |
| 17 | 18 | // [sequence][glib-Sequences] data type. | |
| 18 | 19 | type Sequence struct { | |
| 20 | + | _ structs.HostLayout | |
| 19 | 21 | } | |
| 20 | 22 | ||
| 21 | 23 | func (x *Sequence) GoPointer() uintptr { | |
| @@ -266,6 +268,7 @@ func (x *Sequence) SortIter(CmpFuncVar *SequenceIterCompareFunc, CmpDataVar uint | |||
| 266 | 268 | // The #GSequenceIter struct is an opaque data type representing an | |
| 267 | 269 | // iterator pointing into a #GSequence. | |
| 268 | 270 | type SequenceIter struct { | |
| 271 | + | _ structs.HostLayout | |
| 269 | 272 | } | |
| 270 | 273 | ||
| 271 | 274 | func (x *SequenceIter) GoPointer() uintptr { | |
M v4/glib/gslist.go +3 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package glib | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -11,6 +12,8 @@ import ( | |||
| 11 | 12 | // The #GSList struct is used for each element in the singly-linked | |
| 12 | 13 | // list. | |
| 13 | 14 | type SList struct { | |
| 15 | + | _ structs.HostLayout | |
| 16 | + | ||
| 14 | 17 | Data uintptr | |
| 15 | 18 | ||
| 16 | 19 | Next *SList | |
M v4/glib/gstdio.go +2 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package glib | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -13,6 +14,7 @@ import ( | |||
| 13 | 14 | // | |
| 14 | 15 | // See g_stat() for more information. | |
| 15 | 16 | type StatBuf struct { | |
| 17 | + | _ structs.HostLayout | |
| 16 | 18 | } | |
| 17 | 19 | ||
| 18 | 20 | func (x *StatBuf) GoPointer() uintptr { | |
M v4/glib/gstring.go +3 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package glib | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -11,6 +12,8 @@ import ( | |||
| 11 | 12 | ||
| 12 | 13 | // The GString struct contains the public fields of a GString. | |
| 13 | 14 | type String struct { | |
| 15 | + | _ structs.HostLayout | |
| 16 | + | ||
| 14 | 17 | Str uintptr | |
| 15 | 18 | ||
| 16 | 19 | Len uint | |
M v4/glib/gstringchunk.go +2 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package glib | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -11,6 +12,7 @@ import ( | |||
| 11 | 12 | // An opaque data structure representing String Chunks. | |
| 12 | 13 | // It should only be accessed by using the following functions. | |
| 13 | 14 | type StringChunk struct { | |
| 15 | + | _ structs.HostLayout | |
| 14 | 16 | } | |
| 15 | 17 | ||
| 16 | 18 | func (x *StringChunk) GoPointer() uintptr { | |
M v4/glib/gstrvbuilder.go +2 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package glib | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -22,6 +23,7 @@ import ( | |||
| 22 | 23 | // | |
| 23 | 24 | // ]| | |
| 24 | 25 | type StrvBuilder struct { | |
| 26 | + | _ structs.HostLayout | |
| 25 | 27 | } | |
| 26 | 28 | ||
| 27 | 29 | func (x *StrvBuilder) GoPointer() uintptr { | |
M v4/glib/gtestutils.go +9 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package glib | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -32,6 +33,7 @@ type TestLogFatalFunc func(string, LogLevelFlags, string, uintptr) bool | |||
| 32 | 33 | ||
| 33 | 34 | // An opaque structure representing a test case. | |
| 34 | 35 | type TestCase struct { | |
| 36 | + | _ structs.HostLayout | |
| 35 | 37 | } | |
| 36 | 38 | ||
| 37 | 39 | func (x *TestCase) GoPointer() uintptr { | |
| @@ -48,6 +50,8 @@ func (x *TestCase) Free() { | |||
| 48 | 50 | } | |
| 49 | 51 | ||
| 50 | 52 | type TestConfig struct { | |
| 53 | + | _ structs.HostLayout | |
| 54 | + | ||
| 51 | 55 | TestInitialized bool | |
| 52 | 56 | ||
| 53 | 57 | TestQuick bool | |
| @@ -66,6 +70,8 @@ func (x *TestConfig) GoPointer() uintptr { | |||
| 66 | 70 | } | |
| 67 | 71 | ||
| 68 | 72 | type TestLogBuffer struct { | |
| 73 | + | _ structs.HostLayout | |
| 74 | + | ||
| 69 | 75 | Data *String | |
| 70 | 76 | ||
| 71 | 77 | Msgs *SList | |
| @@ -103,6 +109,8 @@ func (x *TestLogBuffer) Push(NBytesVar uint, BytesVar byte) { | |||
| 103 | 109 | } | |
| 104 | 110 | ||
| 105 | 111 | type TestLogMsg struct { | |
| 112 | + | _ structs.HostLayout | |
| 113 | + | ||
| 106 | 114 | LogType TestLogType | |
| 107 | 115 | ||
| 108 | 116 | NStrings uint | |
| @@ -129,6 +137,7 @@ func (x *TestLogMsg) Free() { | |||
| 129 | 137 | ||
| 130 | 138 | // An opaque structure representing a test suite. | |
| 131 | 139 | type TestSuite struct { | |
| 140 | + | _ structs.HostLayout | |
| 132 | 141 | } | |
| 133 | 142 | ||
| 134 | 143 | func (x *TestSuite) GoPointer() uintptr { | |
M v4/glib/gthread.go +12 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package glib | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -81,6 +82,8 @@ type ThreadFunc func(uintptr) uintptr | |||
| 81 | 82 | // | |
| 82 | 83 | // A #GCond should only be accessed via the g_cond_ functions. | |
| 83 | 84 | type Cond struct { | |
| 85 | + | _ structs.HostLayout | |
| 86 | + | ||
| 84 | 87 | P uintptr | |
| 85 | 88 | ||
| 86 | 89 | I [2]uint | |
| @@ -232,6 +235,8 @@ func (x *Cond) WaitUntil(MutexVar *Mutex, EndTimeVar int64) bool { | |||
| 232 | 235 | // one-time initialization function must have its own unique #GOnce | |
| 233 | 236 | // struct. | |
| 234 | 237 | type Once struct { | |
| 238 | + | _ structs.HostLayout | |
| 239 | + | ||
| 235 | 240 | Status OnceStatus | |
| 236 | 241 | ||
| 237 | 242 | Retval uintptr | |
| @@ -267,6 +272,8 @@ func (x *Once) Impl(FuncVar *ThreadFunc, ArgVar uintptr) uintptr { | |||
| 267 | 272 | // The #GPrivate structure should be considered opaque. It should only | |
| 268 | 273 | // be accessed via the g_private_ functions. | |
| 269 | 274 | type Private struct { | |
| 275 | + | _ structs.HostLayout | |
| 276 | + | ||
| 270 | 277 | P uintptr | |
| 271 | 278 | ||
| 272 | 279 | Notify DestroyNotify | |
| @@ -384,6 +391,8 @@ func (x *Private) Set(ValueVar uintptr) { | |||
| 384 | 391 | // | |
| 385 | 392 | // A GRWLock should only be accessed with the g_rw_lock_ functions. | |
| 386 | 393 | type RWLock struct { | |
| 394 | + | _ structs.HostLayout | |
| 395 | + | ||
| 387 | 396 | P uintptr | |
| 388 | 397 | ||
| 389 | 398 | I [2]uint | |
| @@ -540,6 +549,8 @@ func (x *RWLock) WriterUnlock() { | |||
| 540 | 549 | // A GRecMutex should only be accessed with the | |
| 541 | 550 | // g_rec_mutex_ functions. | |
| 542 | 551 | type RecMutex struct { | |
| 552 | + | _ structs.HostLayout | |
| 553 | + | ||
| 543 | 554 | P uintptr | |
| 544 | 555 | ||
| 545 | 556 | I [2]uint | |
| @@ -655,6 +666,7 @@ func (x *RecMutex) Unlock() { | |||
| 655 | 666 | // The structure is opaque -- none of its fields may be directly | |
| 656 | 667 | // accessed. | |
| 657 | 668 | type Thread struct { | |
| 669 | + | _ structs.HostLayout | |
| 658 | 670 | } | |
| 659 | 671 | ||
| 660 | 672 | var xThreadGLibType func() types.GType | |
M v4/glib/gthreadpool.go +3 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package glib | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -12,6 +13,8 @@ import ( | |||
| 12 | 13 | // public read-only members, but the underlying struct is bigger, | |
| 13 | 14 | // so you must not copy this struct. | |
| 14 | 15 | type ThreadPool struct { | |
| 16 | + | _ structs.HostLayout | |
| 17 | + | ||
| 15 | 18 | Func Func | |
| 16 | 19 | ||
| 17 | 20 | UserData uintptr | |
M v4/glib/gtimer.go +2 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package glib | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -10,6 +11,7 @@ import ( | |||
| 10 | 11 | ||
| 11 | 12 | // Opaque datatype that records a start time. | |
| 12 | 13 | type Timer struct { | |
| 14 | + | _ structs.HostLayout | |
| 13 | 15 | } | |
| 14 | 16 | ||
| 15 | 17 | func (x *Timer) GoPointer() uintptr { | |
M v4/glib/gtimezone.go +2 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package glib | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -12,6 +13,7 @@ import ( | |||
| 12 | 13 | // #GTimeZone is an opaque structure whose members cannot be accessed | |
| 13 | 14 | // directly. | |
| 14 | 15 | type TimeZone struct { | |
| 16 | + | _ structs.HostLayout | |
| 15 | 17 | } | |
| 16 | 18 | ||
| 17 | 19 | var xTimeZoneGLibType func() types.GType | |
M v4/glib/gtrashstack.go +3 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package glib | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -11,6 +12,8 @@ import ( | |||
| 11 | 12 | // Each piece of memory that is pushed onto the stack | |
| 12 | 13 | // is cast to a GTrashStack*. | |
| 13 | 14 | type TrashStack struct { | |
| 15 | + | _ structs.HostLayout | |
| 16 | + | ||
| 14 | 17 | Next *TrashStack | |
| 15 | 18 | } | |
| 16 | 19 | ||
M v4/glib/gtree.go +3 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package glib | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -25,6 +26,7 @@ type TraverseNodeFunc func(*TreeNode, uintptr) bool | |||
| 25 | 26 | // [balanced binary tree][glib-Balanced-Binary-Trees]. It should be | |
| 26 | 27 | // accessed only by using the following functions. | |
| 27 | 28 | type Tree struct { | |
| 29 | + | _ structs.HostLayout | |
| 28 | 30 | } | |
| 29 | 31 | ||
| 30 | 32 | var xTreeGLibType func() types.GType | |
| @@ -387,6 +389,7 @@ func (x *Tree) UpperBound(KeyVar uintptr) *TreeNode { | |||
| 387 | 389 | ||
| 388 | 390 | // An opaque type which identifies a specific node in a #GTree. | |
| 389 | 391 | type TreeNode struct { | |
| 392 | + | _ structs.HostLayout | |
| 390 | 393 | } | |
| 391 | 394 | ||
| 392 | 395 | func (x *TreeNode) GoPointer() uintptr { | |
M v4/glib/gtypes.go +3 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package glib | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -95,6 +96,8 @@ type TranslateFunc func(string, uintptr) string | |||
| 95 | 96 | // `tv_sec` is that on 32-bit systems `GTimeVal` is subject to the year 2038 | |
| 96 | 97 | // problem. | |
| 97 | 98 | type TimeVal struct { | |
| 99 | + | _ structs.HostLayout | |
| 100 | + | ||
| 98 | 101 | TvSec int32 | |
| 99 | 102 | ||
| 100 | 103 | TvUsec int32 | |
M v4/glib/guri.go +4 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package glib | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -118,6 +119,7 @@ import ( | |||
| 118 | 119 | // thing according to the `data:` URI specification which GLib does not | |
| 119 | 120 | // handle. | |
| 120 | 121 | type Uri struct { | |
| 122 | + | _ structs.HostLayout | |
| 121 | 123 | } | |
| 122 | 124 | ||
| 123 | 125 | var xUriGLibType func() types.GType | |
| @@ -334,6 +336,8 @@ func (x *Uri) Unref() { | |||
| 334 | 336 | // g_uri_params_iter_init(). See the documentation for g_uri_params_iter_init() | |
| 335 | 337 | // for a usage example. | |
| 336 | 338 | type UriParamsIter struct { | |
| 339 | + | _ structs.HostLayout | |
| 340 | + | ||
| 337 | 341 | Dummy0 int32 | |
| 338 | 342 | ||
| 339 | 343 | Dummy1 uintptr | |
M v4/glib/gutils.go +3 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package glib | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -16,6 +17,8 @@ type VoidFunc func() | |||
| 16 | 17 | // Associates a string with a bit flag. | |
| 17 | 18 | // Used in g_parse_debug_string(). | |
| 18 | 19 | type DebugKey struct { | |
| 20 | + | _ structs.HostLayout | |
| 21 | + | ||
| 19 | 22 | Key uintptr | |
| 20 | 23 | ||
| 21 | 24 | Value uint | |
M v4/glib/gvariant.go +6 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package glib | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -254,6 +255,7 @@ import ( | |||
| 254 | 255 | // management for those dictionaries, but the type information would | |
| 255 | 256 | // be shared. | |
| 256 | 257 | type Variant struct { | |
| 258 | + | _ structs.HostLayout | |
| 257 | 259 | } | |
| 258 | 260 | ||
| 259 | 261 | var xVariantGLibType func() types.GType | |
| @@ -1768,6 +1770,7 @@ func (x *Variant) Unref() { | |||
| 1768 | 1770 | // #GVariantBuilder is not threadsafe in any way. Do not attempt to | |
| 1769 | 1771 | // access it from more than one thread. | |
| 1770 | 1772 | type VariantBuilder struct { | |
| 1773 | + | _ structs.HostLayout | |
| 1771 | 1774 | } | |
| 1772 | 1775 | ||
| 1773 | 1776 | var xVariantBuilderGLibType func() types.GType | |
| @@ -2155,6 +2158,7 @@ func (x *VariantBuilder) Unref() { | |||
| 2155 | 2158 | // | |
| 2156 | 2159 | // ]| | |
| 2157 | 2160 | type VariantDict struct { | |
| 2161 | + | _ structs.HostLayout | |
| 2158 | 2162 | } | |
| 2159 | 2163 | ||
| 2160 | 2164 | var xVariantDictGLibType func() types.GType | |
| @@ -2354,6 +2358,8 @@ func (x *VariantDict) Unref() { | |||
| 2354 | 2358 | // #GVariantIter is an opaque data structure and can only be accessed | |
| 2355 | 2359 | // using the following functions. | |
| 2356 | 2360 | type VariantIter struct { | |
| 2361 | + | _ structs.HostLayout | |
| 2362 | + | ||
| 2357 | 2363 | X [16]uint | |
| 2358 | 2364 | } | |
| 2359 | 2365 | ||
M v4/glib/gvarianttype.go +2 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package glib | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -178,6 +179,7 @@ import ( | |||
| 178 | 179 | // that, due to the restriction that the key of a dictionary entry must | |
| 179 | 180 | // be a basic type, "{**}" is not a valid type string. | |
| 180 | 181 | type VariantType struct { | |
| 182 | + | _ structs.HostLayout | |
| 181 | 183 | } | |
| 182 | 184 | ||
| 183 | 185 | var xVariantTypeGLibType func() types.GType | |
M v4/gmodule/gmodule.go +2 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gmodule | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -25,6 +26,7 @@ type ModuleUnload func(*Module) | |||
| 25 | 26 | // [dynamically-loaded module][glib-Dynamic-Loading-of-Modules]. | |
| 26 | 27 | // It should only be accessed via the following functions. | |
| 27 | 28 | type Module struct { | |
| 29 | + | _ structs.HostLayout | |
| 28 | 30 | } | |
| 29 | 31 | ||
| 30 | 32 | func (x *Module) GoPointer() uintptr { | |
M v4/gobject/gclosure.go +7 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gobject | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -34,6 +35,8 @@ type VaClosureMarshal func(*Closure, *Value, *TypeInstance, []interface{}, uintp | |||
| 34 | 35 | ||
| 35 | 36 | // A #GCClosure is a specialization of #GClosure for C function callbacks. | |
| 36 | 37 | type CClosure struct { | |
| 38 | + | _ structs.HostLayout | |
| 39 | + | ||
| 37 | 40 | Closure uintptr | |
| 38 | 41 | ||
| 39 | 42 | Callback uintptr | |
| @@ -88,6 +91,8 @@ func (x *CClosure) GoPointer() uintptr { | |||
| 88 | 91 | // - g_closure_invalidate() and invalidation notifiers allow callbacks to be | |
| 89 | 92 | // automatically removed when the objects they point to go away. | |
| 90 | 93 | type Closure struct { | |
| 94 | + | _ structs.HostLayout | |
| 95 | + | ||
| 91 | 96 | RefCount uint | |
| 92 | 97 | ||
| 93 | 98 | MetaMarshalNouse uint | |
| @@ -405,6 +410,8 @@ func (x *Closure) Unref() { | |||
| 405 | 410 | } | |
| 406 | 411 | ||
| 407 | 412 | type ClosureNotifyData struct { | |
| 413 | + | _ structs.HostLayout | |
| 414 | + | ||
| 408 | 415 | Data uintptr | |
| 409 | 416 | ||
| 410 | 417 | Notify ClosureNotify | |
M v4/gobject/genums.go +9 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gobject | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -12,6 +13,8 @@ import ( | |||
| 12 | 13 | // The class of an enumeration type holds information about its | |
| 13 | 14 | // possible values. | |
| 14 | 15 | type EnumClass struct { | |
| 16 | + | _ structs.HostLayout | |
| 17 | + | ||
| 15 | 18 | GTypeClass uintptr | |
| 16 | 19 | ||
| 17 | 20 | Minimum int32 | |
| @@ -30,6 +33,8 @@ func (x *EnumClass) GoPointer() uintptr { | |||
| 30 | 33 | // A structure which contains a single enum value, its name, and its | |
| 31 | 34 | // nickname. | |
| 32 | 35 | type EnumValue struct { | |
| 36 | + | _ structs.HostLayout | |
| 37 | + | ||
| 33 | 38 | Value int32 | |
| 34 | 39 | ||
| 35 | 40 | ValueName uintptr | |
| @@ -44,6 +49,8 @@ func (x *EnumValue) GoPointer() uintptr { | |||
| 44 | 49 | // The class of a flags type holds information about its | |
| 45 | 50 | // possible values. | |
| 46 | 51 | type FlagsClass struct { | |
| 52 | + | _ structs.HostLayout | |
| 53 | + | ||
| 47 | 54 | GTypeClass uintptr | |
| 48 | 55 | ||
| 49 | 56 | Mask uint | |
| @@ -60,6 +67,8 @@ func (x *FlagsClass) GoPointer() uintptr { | |||
| 60 | 67 | // A structure which contains a single flags value, its name, and its | |
| 61 | 68 | // nickname. | |
| 62 | 69 | type FlagsValue struct { | |
| 70 | + | _ structs.HostLayout | |
| 71 | + | ||
| 63 | 72 | Value uint | |
| 64 | 73 | ||
| 65 | 74 | ValueName uintptr | |
M v4/gobject/gobject.go +8 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gobject | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -40,6 +41,8 @@ type WeakNotify func(uintptr, uintptr) | |||
| 40 | 41 | ||
| 41 | 42 | // The class structure for the GInitiallyUnowned type. | |
| 42 | 43 | type InitiallyUnownedClass struct { | |
| 44 | + | _ structs.HostLayout | |
| 45 | + | ||
| 43 | 46 | GTypeClass uintptr | |
| 44 | 47 | ||
| 45 | 48 | ConstructProperties *glib.SList | |
| @@ -83,6 +86,8 @@ func (x *InitiallyUnownedClass) GoPointer() uintptr { | |||
| 83 | 86 | // | |
| 84 | 87 | // ]| | |
| 85 | 88 | type ObjectClass struct { | |
| 89 | + | _ structs.HostLayout | |
| 90 | + | ||
| 86 | 91 | GTypeClass uintptr | |
| 87 | 92 | ||
| 88 | 93 | ConstructProperties *glib.SList | |
| @@ -241,6 +246,8 @@ func (x *ObjectClass) OverrideProperty(PropertyIdVar uint, NameVar string) { | |||
| 241 | 246 | // The GObjectConstructParam struct is an auxiliary structure used to hand | |
| 242 | 247 | // #GParamSpec/#GValue pairs to the @constructor of a #GObjectClass. | |
| 243 | 248 | type ObjectConstructParam struct { | |
| 249 | + | _ structs.HostLayout | |
| 250 | + | ||
| 244 | 251 | Pspec *ParamSpec | |
| 245 | 252 | ||
| 246 | 253 | Value *Value | |
| @@ -275,6 +282,7 @@ func (x *ObjectConstructParam) GoPointer() uintptr { | |||
| 275 | 282 | // It is invalid to take a #GWeakRef on an object during #GObjectClass.dispose | |
| 276 | 283 | // without first having or creating a strong reference to the object. | |
| 277 | 284 | type WeakRef struct { | |
| 285 | + | _ structs.HostLayout | |
| 278 | 286 | } | |
| 279 | 287 | ||
| 280 | 288 | func (x *WeakRef) GoPointer() uintptr { | |
M v4/gobject/gparam.go +8 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gobject | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -14,6 +15,8 @@ import ( | |||
| 14 | 15 | // Normally, GParamSpec classes are filled by | |
| 15 | 16 | // g_param_type_register_static(). | |
| 16 | 17 | type ParamSpecClass struct { | |
| 18 | + | _ structs.HostLayout | |
| 19 | + | ||
| 17 | 20 | GTypeClass uintptr | |
| 18 | 21 | ||
| 19 | 22 | ValueType types.GType | |
| @@ -31,6 +34,7 @@ func (x *ParamSpecClass) GoPointer() uintptr { | |||
| 31 | 34 | // The implementation of the #GObject property system uses such a pool to | |
| 32 | 35 | // store the #GParamSpecs of the properties all object types. | |
| 33 | 36 | type ParamSpecPool struct { | |
| 37 | + | _ structs.HostLayout | |
| 34 | 38 | } | |
| 35 | 39 | ||
| 36 | 40 | func (x *ParamSpecPool) GoPointer() uintptr { | |
| @@ -101,6 +105,8 @@ func (x *ParamSpecPool) Remove(PspecVar *ParamSpec) { | |||
| 101 | 105 | // does not need to be persistent across invocation of | |
| 102 | 106 | // g_param_type_register_static(). | |
| 103 | 107 | type ParamSpecTypeInfo struct { | |
| 108 | + | _ structs.HostLayout | |
| 109 | + | ||
| 104 | 110 | InstanceSize uint16 | |
| 105 | 111 | ||
| 106 | 112 | NPreallocs uint16 | |
| @@ -115,6 +121,8 @@ func (x *ParamSpecTypeInfo) GoPointer() uintptr { | |||
| 115 | 121 | // The GParameter struct is an auxiliary structure used | |
| 116 | 122 | // to hand parameter name/value pairs to g_object_newv(). | |
| 117 | 123 | type Parameter struct { | |
| 124 | + | _ structs.HostLayout | |
| 125 | + | ||
| 118 | 126 | Name uintptr | |
| 119 | 127 | ||
| 120 | 128 | Value uintptr | |
M v4/gobject/gsignal.go +5 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gobject | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -31,6 +32,8 @@ type SignalEmissionHook func(*SignalInvocationHint, uint, []Value, uintptr) bool | |||
| 31 | 32 | // The #GSignalInvocationHint structure is used to pass on additional information | |
| 32 | 33 | // to callbacks during a signal emission. | |
| 33 | 34 | type SignalInvocationHint struct { | |
| 35 | + | _ structs.HostLayout | |
| 36 | + | ||
| 34 | 37 | SignalId uint | |
| 35 | 38 | ||
| 36 | 39 | Detail glib.Quark | |
| @@ -46,6 +49,8 @@ func (x *SignalInvocationHint) GoPointer() uintptr { | |||
| 46 | 49 | // | |
| 47 | 50 | // See also: g_signal_query() | |
| 48 | 51 | type SignalQuery struct { | |
| 52 | + | _ structs.HostLayout | |
| 53 | + | ||
| 49 | 54 | SignalId uint | |
| 50 | 55 | ||
| 51 | 56 | SignalName uintptr | |
M v4/gobject/gtype.go +17 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gobject | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -208,6 +209,8 @@ type TypeInterfaceCheckFunc func(uintptr, *TypeInterface) | |||
| 208 | 209 | // A structure that provides information to the type system which is | |
| 209 | 210 | // used specifically for managing interface types. | |
| 210 | 211 | type InterfaceInfo struct { | |
| 212 | + | _ structs.HostLayout | |
| 213 | + | ||
| 211 | 214 | InterfaceInit InterfaceInitFunc | |
| 212 | 215 | ||
| 213 | 216 | InterfaceFinalize InterfaceFinalizeFunc | |
| @@ -221,6 +224,8 @@ func (x *InterfaceInfo) GoPointer() uintptr { | |||
| 221 | 224 | ||
| 222 | 225 | // An opaque structure used as the base of all classes. | |
| 223 | 226 | type TypeClass struct { | |
| 227 | + | _ structs.HostLayout | |
| 228 | + | ||
| 224 | 229 | GType types.GType | |
| 225 | 230 | } | |
| 226 | 231 | ||
| @@ -369,6 +374,8 @@ func (x *TypeClass) UnrefUncached() { | |||
| 369 | 374 | // A structure that provides information to the type system which is | |
| 370 | 375 | // used specifically for managing fundamental types. | |
| 371 | 376 | type TypeFundamentalInfo struct { | |
| 377 | + | _ structs.HostLayout | |
| 378 | + | ||
| 372 | 379 | TypeFlags TypeFundamentalFlags | |
| 373 | 380 | } | |
| 374 | 381 | ||
| @@ -386,6 +393,8 @@ func (x *TypeFundamentalInfo) GoPointer() uintptr { | |||
| 386 | 393 | // copy of this structure, so its memory does not need to be persistent | |
| 387 | 394 | // across invocation of g_type_register_static(). | |
| 388 | 395 | type TypeInfo struct { | |
| 396 | + | _ structs.HostLayout | |
| 397 | + | ||
| 389 | 398 | ClassSize uint16 | |
| 390 | 399 | ||
| 391 | 400 | BaseInit BaseInitFunc | |
| @@ -413,6 +422,8 @@ func (x *TypeInfo) GoPointer() uintptr { | |||
| 413 | 422 | ||
| 414 | 423 | // An opaque structure used as the base of all type instances. | |
| 415 | 424 | type TypeInstance struct { | |
| 425 | + | _ structs.HostLayout | |
| 426 | + | ||
| 416 | 427 | GClass *TypeClass | |
| 417 | 428 | } | |
| 418 | 429 | ||
| @@ -430,6 +441,8 @@ func (x *TypeInstance) GetPrivate(PrivateTypeVar types.GType) uintptr { | |||
| 430 | 441 | ||
| 431 | 442 | // An opaque structure used as the base of all interface types. | |
| 432 | 443 | type TypeInterface struct { | |
| 444 | + | _ structs.HostLayout | |
| 445 | + | ||
| 433 | 446 | GType types.GType | |
| 434 | 447 | ||
| 435 | 448 | GInstanceType types.GType | |
| @@ -455,6 +468,8 @@ func (x *TypeInterface) PeekParent() *TypeInterface { | |||
| 455 | 468 | // | |
| 456 | 469 | // See also: g_type_query() | |
| 457 | 470 | type TypeQuery struct { | |
| 471 | + | _ structs.HostLayout | |
| 472 | + | ||
| 458 | 473 | Type types.GType | |
| 459 | 474 | ||
| 460 | 475 | TypeName uintptr | |
| @@ -471,6 +486,8 @@ func (x *TypeQuery) GoPointer() uintptr { | |||
| 471 | 486 | // The #GTypeValueTable provides the functions required by the #GValue | |
| 472 | 487 | // implementation, to serve as a container for values of a type. | |
| 473 | 488 | type TypeValueTable struct { | |
| 489 | + | _ structs.HostLayout | |
| 490 | + | ||
| 474 | 491 | CollectFormat uintptr | |
| 475 | 492 | ||
| 476 | 493 | LcopyFormat uintptr | |
M v4/gobject/gtypemodule.go +3 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gobject | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -12,6 +13,8 @@ import ( | |||
| 12 | 13 | // In order to implement dynamic loading of types based on #GTypeModule, | |
| 13 | 14 | // the @load and @unload functions in #GTypeModuleClass must be implemented. | |
| 14 | 15 | type TypeModuleClass struct { | |
| 16 | + | _ structs.HostLayout | |
| 17 | + | ||
| 15 | 18 | ParentClass uintptr | |
| 16 | 19 | } | |
| 17 | 20 | ||
M v4/gobject/gtypeplugin.go +3 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gobject | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/puregotk/v4/gobject/types" | |
| @@ -23,6 +24,8 @@ type TypePluginUse func(uintptr) | |||
| 23 | 24 | // The #GTypePlugin interface is used by the type system in order to handle | |
| 24 | 25 | // the lifecycle of dynamically loaded types. | |
| 25 | 26 | type TypePluginClass struct { | |
| 27 | + | _ structs.HostLayout | |
| 28 | + | ||
| 26 | 29 | BaseIface uintptr | |
| 27 | 30 | ||
| 28 | 31 | UsePlugin TypePluginUse | |
M v4/gobject/gvalue.go +3 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gobject | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -27,6 +28,8 @@ type ValueTransform func(*Value, *Value) | |||
| 27 | 28 | // within the 2 element @data union, and the @g_type member should | |
| 28 | 29 | // only be accessed through the G_VALUE_TYPE() macro. | |
| 29 | 30 | type Value struct { | |
| 31 | + | _ structs.HostLayout | |
| 32 | + | ||
| 30 | 33 | GType types.GType | |
| 31 | 34 | ||
| 32 | 35 | Data [2]uint64 | |
M v4/gobject/gvaluearray.go +3 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gobject | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -12,6 +13,8 @@ import ( | |||
| 12 | 13 | ||
| 13 | 14 | // A #GValueArray contains an array of #GValue elements. | |
| 14 | 15 | type ValueArray struct { | |
| 16 | + | _ structs.HostLayout | |
| 17 | + | ||
| 15 | 18 | NValues uint | |
| 16 | 19 | ||
| 17 | 20 | Values *Value | |
M v4/graphene/graphene-box.go +3 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package graphene | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -12,6 +13,8 @@ import ( | |||
| 12 | 13 | // A 3D box, described as the volume between a minimum and | |
| 13 | 14 | // a maximum vertices. | |
| 14 | 15 | type Box struct { | |
| 16 | + | _ structs.HostLayout | |
| 17 | + | ||
| 15 | 18 | Min uintptr | |
| 16 | 19 | ||
| 17 | 20 | Max uintptr | |
M v4/graphene/graphene-config.go +8 -1
| @@ -1,9 +1,14 @@ | |||
| 1 | 1 | // Package graphene was automatically generated by github.com/jwijenbergh/puregotk DO NOT EDIT | |
| 2 | 2 | package graphene | |
| 3 | 3 | ||
| 4 | - | import "unsafe" | |
| 4 | + | import ( | |
| 5 | + | "structs" | |
| 6 | + | "unsafe" | |
| 7 | + | ) | |
| 5 | 8 | ||
| 6 | 9 | type Simd4F struct { | |
| 10 | + | _ structs.HostLayout | |
| 11 | + | ||
| 7 | 12 | X float32 | |
| 8 | 13 | ||
| 9 | 14 | Y float32 | |
| @@ -18,6 +23,8 @@ func (x *Simd4F) GoPointer() uintptr { | |||
| 18 | 23 | } | |
| 19 | 24 | ||
| 20 | 25 | type Simd4X4F struct { | |
| 26 | + | _ structs.HostLayout | |
| 27 | + | ||
| 21 | 28 | X uintptr | |
| 22 | 29 | ||
| 23 | 30 | Y uintptr | |
M v4/graphene/graphene-euler.go +3 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package graphene | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -14,6 +15,8 @@ import ( | |||
| 14 | 15 | // The contents of the #graphene_euler_t structure are private | |
| 15 | 16 | // and should never be accessed directly. | |
| 16 | 17 | type Euler struct { | |
| 18 | + | _ structs.HostLayout | |
| 19 | + | ||
| 17 | 20 | Angles uintptr | |
| 18 | 21 | ||
| 19 | 22 | Order EulerOrder | |
M v4/graphene/graphene-frustum.go +3 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package graphene | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -14,6 +15,8 @@ import ( | |||
| 14 | 15 | // The contents of the `graphene_frustum_t` are private, and should not be | |
| 15 | 16 | // modified directly. | |
| 16 | 17 | type Frustum struct { | |
| 18 | + | _ structs.HostLayout | |
| 19 | + | ||
| 17 | 20 | Planes [6]Plane | |
| 18 | 21 | } | |
| 19 | 22 | ||
M v4/graphene/graphene-matrix.go +3 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package graphene | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -14,6 +15,8 @@ import ( | |||
| 14 | 15 | // The contents of the #graphene_matrix_t structure are private and | |
| 15 | 16 | // should never be accessed directly. | |
| 16 | 17 | type Matrix struct { | |
| 18 | + | _ structs.HostLayout | |
| 19 | + | ||
| 17 | 20 | Value uintptr | |
| 18 | 21 | } | |
| 19 | 22 | ||
M v4/graphene/graphene-plane.go +3 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package graphene | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -14,6 +15,8 @@ import ( | |||
| 14 | 15 | // The contents of the `graphene_plane_t` are private, and should not be | |
| 15 | 16 | // modified directly. | |
| 16 | 17 | type Plane struct { | |
| 18 | + | _ structs.HostLayout | |
| 19 | + | ||
| 17 | 20 | Normal uintptr | |
| 18 | 21 | ||
| 19 | 22 | Constant float32 | |
M v4/graphene/graphene-point.go +3 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package graphene | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -11,6 +12,8 @@ import ( | |||
| 11 | 12 | ||
| 12 | 13 | // A point with two coordinates. | |
| 13 | 14 | type Point struct { | |
| 15 | + | _ structs.HostLayout | |
| 16 | + | ||
| 14 | 17 | X float32 | |
| 15 | 18 | ||
| 16 | 19 | Y float32 | |
M v4/graphene/graphene-point3d.go +3 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package graphene | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -11,6 +12,8 @@ import ( | |||
| 11 | 12 | ||
| 12 | 13 | // A point with three components: X, Y, and Z. | |
| 13 | 14 | type Point3D struct { | |
| 15 | + | _ structs.HostLayout | |
| 16 | + | ||
| 14 | 17 | X float32 | |
| 15 | 18 | ||
| 16 | 19 | Y float32 | |
M v4/graphene/graphene-quad.go +3 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package graphene | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -14,6 +15,8 @@ import ( | |||
| 14 | 15 | // The contents of a #graphene_quad_t are private and should never be | |
| 15 | 16 | // accessed directly. | |
| 16 | 17 | type Quad struct { | |
| 18 | + | _ structs.HostLayout | |
| 19 | + | ||
| 17 | 20 | Points [4]Point | |
| 18 | 21 | } | |
| 19 | 22 | ||
M v4/graphene/graphene-quaternion.go +3 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package graphene | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -14,6 +15,8 @@ import ( | |||
| 14 | 15 | // The contents of the #graphene_quaternion_t structure are private | |
| 15 | 16 | // and should never be accessed directly. | |
| 16 | 17 | type Quaternion struct { | |
| 18 | + | _ structs.HostLayout | |
| 19 | + | ||
| 17 | 20 | X float32 | |
| 18 | 21 | ||
| 19 | 22 | Y float32 | |
M v4/graphene/graphene-ray.go +3 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package graphene | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -14,6 +15,8 @@ import ( | |||
| 14 | 15 | // The contents of the `graphene_ray_t` structure are private, and should not | |
| 15 | 16 | // be modified directly. | |
| 16 | 17 | type Ray struct { | |
| 18 | + | _ structs.HostLayout | |
| 19 | + | ||
| 17 | 20 | Origin uintptr | |
| 18 | 21 | ||
| 19 | 22 | Direction uintptr | |
M v4/graphene/graphene-rect.go +3 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package graphene | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -22,6 +23,8 @@ import ( | |||
| 22 | 23 | // will internally operate on a normalized copy; all functions returning a | |
| 23 | 24 | // #graphene_rect_t will always return a normalized rectangle. | |
| 24 | 25 | type Rect struct { | |
| 26 | + | _ structs.HostLayout | |
| 27 | + | ||
| 25 | 28 | Origin uintptr | |
| 26 | 29 | ||
| 27 | 30 | Size uintptr | |
M v4/graphene/graphene-size.go +3 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package graphene | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -11,6 +12,8 @@ import ( | |||
| 11 | 12 | ||
| 12 | 13 | // A size. | |
| 13 | 14 | type Size struct { | |
| 15 | + | _ structs.HostLayout | |
| 16 | + | ||
| 14 | 17 | Width float32 | |
| 15 | 18 | ||
| 16 | 19 | Height float32 | |
M v4/graphene/graphene-sphere.go +3 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package graphene | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -11,6 +12,8 @@ import ( | |||
| 11 | 12 | ||
| 12 | 13 | // A sphere, represented by its center and radius. | |
| 13 | 14 | type Sphere struct { | |
| 15 | + | _ structs.HostLayout | |
| 16 | + | ||
| 14 | 17 | Center uintptr | |
| 15 | 18 | ||
| 16 | 19 | Radius float32 | |
M v4/graphene/graphene-triangle.go +3 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package graphene | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -11,6 +12,8 @@ import ( | |||
| 11 | 12 | ||
| 12 | 13 | // A triangle. | |
| 13 | 14 | type Triangle struct { | |
| 15 | + | _ structs.HostLayout | |
| 16 | + | ||
| 14 | 17 | A uintptr | |
| 15 | 18 | ||
| 16 | 19 | B uintptr | |
M v4/graphene/graphene-vec2.go +3 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package graphene | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -14,6 +15,8 @@ import ( | |||
| 14 | 15 | // The contents of the #graphene_vec2_t structure are private and should | |
| 15 | 16 | // never be accessed directly. | |
| 16 | 17 | type Vec2 struct { | |
| 18 | + | _ structs.HostLayout | |
| 19 | + | ||
| 17 | 20 | Value uintptr | |
| 18 | 21 | } | |
| 19 | 22 | ||
M v4/graphene/graphene-vec3.go +3 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package graphene | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -14,6 +15,8 @@ import ( | |||
| 14 | 15 | // The contents of the #graphene_vec3_t structure are private and should | |
| 15 | 16 | // never be accessed directly. | |
| 16 | 17 | type Vec3 struct { | |
| 18 | + | _ structs.HostLayout | |
| 19 | + | ||
| 17 | 20 | Value uintptr | |
| 18 | 21 | } | |
| 19 | 22 | ||
M v4/graphene/graphene-vec4.go +3 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package graphene | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -14,6 +15,8 @@ import ( | |||
| 14 | 15 | // The contents of the #graphene_vec4_t structure are private and should | |
| 15 | 16 | // never be accessed directly. | |
| 16 | 17 | type Vec4 struct { | |
| 18 | + | _ structs.HostLayout | |
| 19 | + | ||
| 17 | 20 | Value uintptr | |
| 18 | 21 | } | |
| 19 | 22 | ||
M v4/gsk/gskbroadwayrenderer.go +2 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gsk | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -10,6 +11,7 @@ import ( | |||
| 10 | 11 | ) | |
| 11 | 12 | ||
| 12 | 13 | type BroadwayRendererClass struct { | |
| 14 | + | _ structs.HostLayout | |
| 13 | 15 | } | |
| 14 | 16 | ||
| 15 | 17 | func (x *BroadwayRendererClass) GoPointer() uintptr { | |
M v4/gsk/gskcairorenderer.go +2 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gsk | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -10,6 +11,7 @@ import ( | |||
| 10 | 11 | ) | |
| 11 | 12 | ||
| 12 | 13 | type CairoRendererClass struct { | |
| 14 | + | _ structs.HostLayout | |
| 13 | 15 | } | |
| 14 | 16 | ||
| 15 | 17 | func (x *CairoRendererClass) GoPointer() uintptr { | |
M v4/gsk/gskglrenderer.go +2 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gsk | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -10,6 +11,7 @@ import ( | |||
| 10 | 11 | ) | |
| 11 | 12 | ||
| 12 | 13 | type GLRendererClass struct { | |
| 14 | + | _ structs.HostLayout | |
| 13 | 15 | } | |
| 14 | 16 | ||
| 15 | 17 | func (x *GLRendererClass) GoPointer() uintptr { | |
M v4/gsk/gskglshader.go +4 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gsk | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -13,6 +14,8 @@ import ( | |||
| 13 | 14 | ) | |
| 14 | 15 | ||
| 15 | 16 | type GLShaderClass struct { | |
| 17 | + | _ structs.HostLayout | |
| 18 | + | ||
| 16 | 19 | ParentClass uintptr | |
| 17 | 20 | } | |
| 18 | 21 | ||
| @@ -22,6 +25,7 @@ func (x *GLShaderClass) GoPointer() uintptr { | |||
| 22 | 25 | ||
| 23 | 26 | // An object to build the uniforms data for a `GskGLShader`. | |
| 24 | 27 | type ShaderArgsBuilder struct { | |
| 28 | + | _ structs.HostLayout | |
| 25 | 29 | } | |
| 26 | 30 | ||
| 27 | 31 | var xShaderArgsBuilderGLibType func() types.GType | |
M v4/gsk/gskrenderer.go +2 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gsk | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -15,6 +16,7 @@ import ( | |||
| 15 | 16 | ) | |
| 16 | 17 | ||
| 17 | 18 | type RendererClass struct { | |
| 19 | + | _ structs.HostLayout | |
| 18 | 20 | } | |
| 19 | 21 | ||
| 20 | 22 | func (x *RendererClass) GoPointer() uintptr { | |
M v4/gsk/gskrendernode.go +7 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gsk | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -19,6 +20,8 @@ type ParseErrorFunc func(*ParseLocation, *ParseLocation, *glib.Error, uintptr) | |||
| 19 | 20 | ||
| 20 | 21 | // A color stop in a gradient node. | |
| 21 | 22 | type ColorStop struct { | |
| 23 | + | _ structs.HostLayout | |
| 24 | + | ||
| 22 | 25 | Offset float32 | |
| 23 | 26 | ||
| 24 | 27 | Color uintptr | |
| @@ -30,6 +33,8 @@ func (x *ColorStop) GoPointer() uintptr { | |||
| 30 | 33 | ||
| 31 | 34 | // A location in a parse buffer. | |
| 32 | 35 | type ParseLocation struct { | |
| 36 | + | _ structs.HostLayout | |
| 37 | + | ||
| 33 | 38 | Bytes uint | |
| 34 | 39 | ||
| 35 | 40 | Chars uint | |
| @@ -47,6 +52,8 @@ func (x *ParseLocation) GoPointer() uintptr { | |||
| 47 | 52 | ||
| 48 | 53 | // The shadow parameters in a shadow node. | |
| 49 | 54 | type Shadow struct { | |
| 55 | + | _ structs.HostLayout | |
| 56 | + | ||
| 50 | 57 | Color uintptr | |
| 51 | 58 | ||
| 52 | 59 | Dx float32 | |
M v4/gsk/gskroundedrect.go +3 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gsk | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -23,6 +24,8 @@ import ( | |||
| 23 | 24 | // The algorithm used for normalizing corner sizes is described in | |
| 24 | 25 | // [the CSS specification](https://drafts.csswg.org/css-backgrounds-3/#border-radius). | |
| 25 | 26 | type RoundedRect struct { | |
| 27 | + | _ structs.HostLayout | |
| 28 | + | ||
| 26 | 29 | Bounds uintptr | |
| 27 | 30 | ||
| 28 | 31 | Corner [4]graphene.Size | |
M v4/gsk/gsktypes.go +2 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gsk | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -21,6 +22,7 @@ import ( | |||
| 21 | 22 | // This means code can safely expose them as properties of objects without | |
| 22 | 23 | // having to worry about others changing them. | |
| 23 | 24 | type Transform struct { | |
| 25 | + | _ structs.HostLayout | |
| 24 | 26 | } | |
| 25 | 27 | ||
| 26 | 28 | var xTransformGLibType func() types.GType | |
M v4/gtk/gtkaccessible.go +2 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gtk | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -11,6 +12,7 @@ import ( | |||
| 11 | 12 | ) | |
| 12 | 13 | ||
| 13 | 14 | type AccessibleInterface struct { | |
| 15 | + | _ structs.HostLayout | |
| 14 | 16 | } | |
| 15 | 17 | ||
| 16 | 18 | func (x *AccessibleInterface) GoPointer() uintptr { | |
M v4/gtk/gtkactionable.go +3 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gtk | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -12,6 +13,8 @@ import ( | |||
| 12 | 13 | ||
| 13 | 14 | // The interface vtable for `GtkActionable`. | |
| 14 | 15 | type ActionableInterface struct { | |
| 16 | + | _ structs.HostLayout | |
| 17 | + | ||
| 15 | 18 | GIface uintptr | |
| 16 | 19 | } | |
| 17 | 20 | ||
M v4/gtk/gtkadjustment.go +3 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gtk | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -12,6 +13,8 @@ import ( | |||
| 12 | 13 | ) | |
| 13 | 14 | ||
| 14 | 15 | type AdjustmentClass struct { | |
| 16 | + | _ structs.HostLayout | |
| 17 | + | ||
| 15 | 18 | ParentClass uintptr | |
| 16 | 19 | } | |
| 17 | 20 | ||
M v4/gtk/gtkapplication.go +3 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gtk | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -13,6 +14,8 @@ import ( | |||
| 13 | 14 | ) | |
| 14 | 15 | ||
| 15 | 16 | type ApplicationClass struct { | |
| 17 | + | _ structs.HostLayout | |
| 18 | + | ||
| 16 | 19 | ParentClass uintptr | |
| 17 | 20 | ||
| 18 | 21 | Padding [8]uintptr | |
M v4/gtk/gtkapplicationwindow.go +3 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gtk | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -15,6 +16,8 @@ import ( | |||
| 15 | 16 | ) | |
| 16 | 17 | ||
| 17 | 18 | type ApplicationWindowClass struct { | |
| 19 | + | _ structs.HostLayout | |
| 20 | + | ||
| 18 | 21 | ParentClass uintptr | |
| 19 | 22 | ||
| 20 | 23 | Padding [8]uintptr | |
M v4/gtk/gtkatcontext.go +2 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gtk | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -13,6 +14,7 @@ import ( | |||
| 13 | 14 | ) | |
| 14 | 15 | ||
| 15 | 16 | type ATContextClass struct { | |
| 17 | + | _ structs.HostLayout | |
| 16 | 18 | } | |
| 17 | 19 | ||
| 18 | 20 | func (x *ATContextClass) GoPointer() uintptr { | |
M v4/gtk/gtkbinlayout.go +3 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gtk | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -10,6 +11,8 @@ import ( | |||
| 10 | 11 | ) | |
| 11 | 12 | ||
| 12 | 13 | type BinLayoutClass struct { | |
| 14 | + | _ structs.HostLayout | |
| 15 | + | ||
| 13 | 16 | ParentClass uintptr | |
| 14 | 17 | } | |
| 15 | 18 | ||
M v4/gtk/gtkbitset.go +3 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gtk | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -16,6 +17,8 @@ import ( | |||
| 16 | 17 | // [func@Gtk.BitsetIter.init_first], [func@Gtk.BitsetIter.init_last] | |
| 17 | 18 | // or [func@Gtk.BitsetIter.init_at]. | |
| 18 | 19 | type BitsetIter struct { | |
| 20 | + | _ structs.HostLayout | |
| 21 | + | ||
| 19 | 22 | PrivateData [10]uintptr | |
| 20 | 23 | } | |
| 21 | 24 | ||
M v4/gtk/gtkbookmarklist.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkboolfilter.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkborder.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkbox.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkboxlayout.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkbuildable.go +6 -0 collapsed to keep the page light
M v4/gtk/gtkbuilder.go +2 -0 collapsed to keep the page light
M v4/gtk/gtkbuilderlistitemfactory.go +2 -0 collapsed to keep the page light
M v4/gtk/gtkbuilderscope.go +5 -0 collapsed to keep the page light
M v4/gtk/gtkbutton.go +4 -0 collapsed to keep the page light
M v4/gtk/gtkcellarea.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkcellareacontext.go +4 -0 collapsed to keep the page light
M v4/gtk/gtkcelleditable.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkcelllayout.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkcellrenderer.go +5 -0 collapsed to keep the page light
M v4/gtk/gtkcellrenderertext.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkcenterbox.go +2 -0 collapsed to keep the page light
M v4/gtk/gtkcenterlayout.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkcheckbutton.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkcolorchooser.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkcolumnview.go +2 -0 collapsed to keep the page light
M v4/gtk/gtkcolumnviewcolumn.go +2 -0 collapsed to keep the page light
M v4/gtk/gtkcombobox.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkconstraint.go +4 -0 collapsed to keep the page light
M v4/gtk/gtkconstraintguide.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkconstraintlayout.go +5 -0 collapsed to keep the page light
M v4/gtk/gtkcsslocation.go +6 -1 collapsed to keep the page light
M v4/gtk/gtkcssprovider.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkcsssection.go +2 -0 collapsed to keep the page light
M v4/gtk/gtkcustomfilter.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkcustomlayout.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkcustomsorter.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkdialog.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkdirectorylist.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkdragicon.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkdragsource.go +2 -0 collapsed to keep the page light
M v4/gtk/gtkdrawingarea.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkdropcontrollermotion.go +2 -0 collapsed to keep the page light
M v4/gtk/gtkdropdown.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkdroptarget.go +2 -0 collapsed to keep the page light
M v4/gtk/gtkdroptargetasync.go +2 -0 collapsed to keep the page light
M v4/gtk/gtkeditable.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkeditablelabel.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkemojichooser.go +2 -0 collapsed to keep the page light
M v4/gtk/gtkentry.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkentrybuffer.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkeventcontroller.go +2 -0 collapsed to keep the page light
M v4/gtk/gtkeventcontrollerfocus.go +2 -0 collapsed to keep the page light
M v4/gtk/gtkeventcontrollerkey.go +2 -0 collapsed to keep the page light
M v4/gtk/gtkeventcontrollerlegacy.go +2 -0 collapsed to keep the page light
M v4/gtk/gtkeventcontrollermotion.go +2 -0 collapsed to keep the page light
M v4/gtk/gtkeventcontrollerscroll.go +2 -0 collapsed to keep the page light
M v4/gtk/gtkexpression.go +2 -0 collapsed to keep the page light
M v4/gtk/gtkfilechoosernative.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkfilter.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkfilterlistmodel.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkfixed.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkfixedlayout.go +5 -0 collapsed to keep the page light
M v4/gtk/gtkflattenlistmodel.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkflowbox.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkfontchooser.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkframe.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkgesture.go +2 -0 collapsed to keep the page light
M v4/gtk/gtkgestureclick.go +2 -0 collapsed to keep the page light
M v4/gtk/gtkgesturedrag.go +2 -0 collapsed to keep the page light
M v4/gtk/gtkgesturelongpress.go +2 -0 collapsed to keep the page light
M v4/gtk/gtkgesturepan.go +2 -0 collapsed to keep the page light
M v4/gtk/gtkgesturerotate.go +2 -0 collapsed to keep the page light
M v4/gtk/gtkgesturesingle.go +2 -0 collapsed to keep the page light
M v4/gtk/gtkgesturestylus.go +2 -0 collapsed to keep the page light
M v4/gtk/gtkgestureswipe.go +2 -0 collapsed to keep the page light
M v4/gtk/gtkgesturezoom.go +2 -0 collapsed to keep the page light
M v4/gtk/gtkglarea.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkgrid.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkgridlayout.go +5 -0 collapsed to keep the page light
M v4/gtk/gtkgridview.go +2 -0 collapsed to keep the page light
M v4/gtk/gtkimcontext.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkimcontextsimple.go +4 -0 collapsed to keep the page light
M v4/gtk/gtkimmulticontext.go +4 -0 collapsed to keep the page light
M v4/gtk/gtkinscription.go +3 -0 collapsed to keep the page light
M v4/gtk/gtklayoutchild.go +3 -0 collapsed to keep the page light
M v4/gtk/gtklayoutmanager.go +3 -0 collapsed to keep the page light
M v4/gtk/gtklistbase.go +2 -0 collapsed to keep the page light
M v4/gtk/gtklistbox.go +3 -0 collapsed to keep the page light
M v4/gtk/gtklistitem.go +2 -0 collapsed to keep the page light
M v4/gtk/gtklistitemfactory.go +2 -0 collapsed to keep the page light
M v4/gtk/gtkliststore.go +4 -0 collapsed to keep the page light
M v4/gtk/gtklistview.go +2 -0 collapsed to keep the page light
M v4/gtk/gtkmaplistmodel.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkmediacontrols.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkmediafile.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkmediastream.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkmessagedialog.go +2 -0 collapsed to keep the page light
M v4/gtk/gtkmountoperation.go +4 -0 collapsed to keep the page light
M v4/gtk/gtkmultifilter.go +4 -0 collapsed to keep the page light
M v4/gtk/gtkmultiselection.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkmultisorter.go +3 -0 collapsed to keep the page light
M v4/gtk/gtknative.go +2 -0 collapsed to keep the page light
M v4/gtk/gtknativedialog.go +3 -0 collapsed to keep the page light
M v4/gtk/gtknoselection.go +3 -0 collapsed to keep the page light
M v4/gtk/gtknumericsorter.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkorientable.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkoverlaylayout.go +5 -0 collapsed to keep the page light
M v4/gtk/gtkpadcontroller.go +4 -0 collapsed to keep the page light
M v4/gtk/gtkpapersize.go +2 -0 collapsed to keep the page light
M v4/gtk/gtkpasswordentry.go +2 -0 collapsed to keep the page light
M v4/gtk/gtkpasswordentrybuffer.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkpicture.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkpopover.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkprinter.go +2 -0 collapsed to keep the page light
M v4/gtk/gtkprintoperation.go +4 -0 collapsed to keep the page light
M v4/gtk/gtkprintoperationpreview.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkprintsettings.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkrange.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkrecentmanager.go +7 -0 collapsed to keep the page light
M v4/gtk/gtkroot.go +2 -0 collapsed to keep the page light
M v4/gtk/gtkscale.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkscalebutton.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkscrollable.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkselectionfiltermodel.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkselectionmodel.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkshortcut.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkshortcutaction.go +8 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gtk | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "structs" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -15,6 +16,7 @@ import ( | |||
| 15 | 16 | type ShortcutFunc func(uintptr, *glib.Variant, uintptr) bool | |
| 16 | 17 | ||
| 17 | 18 | type ActivateActionClass struct { | |
| 19 | + | _ structs.HostLayout | |
| 18 | 20 | } | |
| 19 | 21 | ||
| 20 | 22 | func (x *ActivateActionClass) GoPointer() uintptr { | |
| @@ -22,6 +24,7 @@ func (x *ActivateActionClass) GoPointer() uintptr { | |||
| 22 | 24 | } | |
| 23 | 25 | ||
| 24 | 26 | type CallbackActionClass struct { | |
| 27 | + | _ structs.HostLayout | |
| 25 | 28 | } | |
| 26 | 29 | ||
| 27 | 30 | func (x *CallbackActionClass) GoPointer() uintptr { | |
| @@ -29,6 +32,7 @@ func (x *CallbackActionClass) GoPointer() uintptr { | |||
| 29 | 32 | } | |
| 30 | 33 | ||
| 31 | 34 | type MnemonicActionClass struct { | |
| 35 | + | _ structs.HostLayout | |
| 32 | 36 | } | |
| 33 | 37 | ||
| 34 | 38 | func (x *MnemonicActionClass) GoPointer() uintptr { | |
| @@ -36,6 +40,7 @@ func (x *MnemonicActionClass) GoPointer() uintptr { | |||
| 36 | 40 | } | |
| 37 | 41 | ||
| 38 | 42 | type NamedActionClass struct { | |
| 43 | + | _ structs.HostLayout | |
| 39 | 44 | } | |
| 40 | 45 | ||
| 41 | 46 | func (x *NamedActionClass) GoPointer() uintptr { | |
| @@ -43,6 +48,7 @@ func (x *NamedActionClass) GoPointer() uintptr { | |||
| 43 | 48 | } | |
| 44 | 49 | ||
| 45 | 50 | type NothingActionClass struct { | |
| 51 | + | _ structs.HostLayout | |
| 46 | 52 | } | |
| 47 | 53 | ||
| 48 | 54 | func (x *NothingActionClass) GoPointer() uintptr { | |
| @@ -50,6 +56,7 @@ func (x *NothingActionClass) GoPointer() uintptr { | |||
| 50 | 56 | } | |
| 51 | 57 | ||
| 52 | 58 | type ShortcutActionClass struct { | |
| 59 | + | _ structs.HostLayout | |
| 53 | 60 | } | |
| 54 | 61 | ||
| 55 | 62 | func (x *ShortcutActionClass) GoPointer() uintptr { | |
| @@ -57,6 +64,7 @@ func (x *ShortcutActionClass) GoPointer() uintptr { | |||
| 57 | 64 | } | |
| 58 | 65 | ||
| 59 | 66 | type SignalActionClass struct { | |
| 67 | + | _ structs.HostLayout | |
| 60 | 68 | } | |
| 61 | 69 | ||
| 62 | 70 | func (x *SignalActionClass) GoPointer() uintptr { | |