fix(deps): repin puregotk lazy registration fix
- commit
- d685b6e820d6baba0d0dea254169664012ed203d
- author
- brice · · 2026-07-14 18:24 UTC
- parent
- ec6db2e
- signature
- GPG Verified
CD88F9E564E0102646FB6077A1A07C7C7C3E349D· arch-gpg Verified for the committer email
907 files · +27874 -25294
M go.mod +3 -1
| @@ -11,7 +11,7 @@ require ( | |||
| 11 | 11 | github.com/bnema/purego-pipewire v0.1.5-0.20260714124450-6504b9cdf02a | |
| 12 | 12 | github.com/bnema/purego-sqlite v0.1.4-0.20260714131321-3614fe683b9c | |
| 13 | 13 | github.com/bnema/purego-webp v0.2.1-0.20260714152238-7bc9c402fdf6 | |
| 14 | - | github.com/bnema/puregotk v0.7.0 | |
| 14 | + | github.com/bnema/puregotk v0.7.1-0.20260714181430-679a9ed72959 | |
| 15 | 15 | github.com/charmbracelet/bubbles v1.0.0 | |
| 16 | 16 | github.com/charmbracelet/bubbletea v1.3.10 | |
| 17 | 17 | github.com/charmbracelet/lipgloss v1.1.0 | |
| @@ -47,6 +47,7 @@ require ( | |||
| 47 | 47 | github.com/erikgeiser/coninput v0.0.0-20211004153227-1c3628e74d0f // indirect | |
| 48 | 48 | github.com/fatih/color v1.19.0 // indirect | |
| 49 | 49 | github.com/go-viper/mapstructure/v2 v2.5.0 // indirect | |
| 50 | + | github.com/google/go-cmp v0.7.0 // indirect | |
| 50 | 51 | github.com/inconshreveable/mousetrap v1.1.0 // indirect | |
| 51 | 52 | github.com/lucasb-eyer/go-colorful v1.4.0 // indirect | |
| 52 | 53 | github.com/mattn/go-colorable v0.1.14 // indirect | |
| @@ -80,6 +81,7 @@ require ( | |||
| 80 | 81 | golang.org/x/text v0.40.0 // indirect | |
| 81 | 82 | golang.org/x/tools v0.47.0 // indirect | |
| 82 | 83 | gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect | |
| 84 | + | mvdan.cc/gofumpt v0.9.2 // indirect | |
| 83 | 85 | ) | |
| 84 | 86 | ||
| 85 | 87 | tool github.com/a-h/templ/cmd/templ | |
| @@ -11,7 +11,7 @@ require ( | |||||
| 11 | github.com/bnema/purego-pipewire v0.1.5-0.20260714124450-6504b9cdf02a | 11 | github.com/bnema/purego-pipewire v0.1.5-0.20260714124450-6504b9cdf02a | ||
| 12 | github.com/bnema/purego-sqlite v0.1.4-0.20260714131321-3614fe683b9c | 12 | github.com/bnema/purego-sqlite v0.1.4-0.20260714131321-3614fe683b9c | ||
| 13 | github.com/bnema/purego-webp v0.2.1-0.20260714152238-7bc9c402fdf6 | 13 | github.com/bnema/purego-webp v0.2.1-0.20260714152238-7bc9c402fdf6 | ||
| 14 | - | github.com/bnema/puregotk v0.7.0 | 14 | + | github.com/bnema/puregotk v0.7.1-0.20260714181430-679a9ed72959 |
| 15 | github.com/charmbracelet/bubbles v1.0.0 | 15 | github.com/charmbracelet/bubbles v1.0.0 | ||
| 16 | github.com/charmbracelet/bubbletea v1.3.10 | 16 | github.com/charmbracelet/bubbletea v1.3.10 | ||
| 17 | github.com/charmbracelet/lipgloss v1.1.0 | 17 | github.com/charmbracelet/lipgloss v1.1.0 | ||
| @@ -47,6 +47,7 @@ require ( | |||||
| 47 | github.com/erikgeiser/coninput v0.0.0-20211004153227-1c3628e74d0f // indirect | 47 | github.com/erikgeiser/coninput v0.0.0-20211004153227-1c3628e74d0f // indirect | ||
| 48 | github.com/fatih/color v1.19.0 // indirect | 48 | github.com/fatih/color v1.19.0 // indirect | ||
| 49 | github.com/go-viper/mapstructure/v2 v2.5.0 // indirect | 49 | github.com/go-viper/mapstructure/v2 v2.5.0 // indirect | ||
| 50 | + | github.com/google/go-cmp v0.7.0 // indirect | |||
| 50 | github.com/inconshreveable/mousetrap v1.1.0 // indirect | 51 | github.com/inconshreveable/mousetrap v1.1.0 // indirect | ||
| 51 | github.com/lucasb-eyer/go-colorful v1.4.0 // indirect | 52 | github.com/lucasb-eyer/go-colorful v1.4.0 // indirect | ||
| 52 | github.com/mattn/go-colorable v0.1.14 // indirect | 53 | github.com/mattn/go-colorable v0.1.14 // indirect | ||
| @@ -80,6 +81,7 @@ require ( | |||||
| 80 | golang.org/x/text v0.40.0 // indirect | 81 | golang.org/x/text v0.40.0 // indirect | ||
| 81 | golang.org/x/tools v0.47.0 // indirect | 82 | golang.org/x/tools v0.47.0 // indirect | ||
| 82 | gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect | 83 | gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect | ||
| 84 | + | mvdan.cc/gofumpt v0.9.2 // indirect | |||
| 83 | ) | 85 | ) | ||
| 84 | 86 | ||||
| 85 | tool github.com/a-h/templ/cmd/templ | 87 | tool github.com/a-h/templ/cmd/templ | ||
M go.sum +4 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/internal/core/core.go +197 -4 generated file: collapsed
M vendor/github.com/bnema/puregotk/pkg/core/core.go +10 -0 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-about-dialog.go +99 -64 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-about-window.go +95 -62 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-accent-color.go +7 -15 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-action-row.go +33 -29 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-alert-dialog.go +66 -47 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-animation-target.go +10 -27 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-animation-util.go +4 -12 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-animation.go +24 -26 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-application-window.go +14 -22 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-application.go +3 -15 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-avatar.go +22 -25 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-banner.go +23 -26 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-bin.go +5 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-bottom-sheet.go +47 -38 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-breakpoint-bin.go +10 -19 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-breakpoint.go +33 -37 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-button-content.go +18 -22 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-button-row.go +10 -18 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-carousel-indicator-dots.go +5 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-carousel-indicator-lines.go +5 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-carousel.go +47 -37 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-clamp-layout.go +14 -20 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-clamp-scrollable.go +17 -22 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-clamp.go +17 -22 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-combo-row.go +34 -33 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-dialog.go +45 -38 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-easing.go +3 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-entry-row.go +40 -33 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-enum-list-model.go +13 -22 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-expander-row.go +40 -33 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-flap.go +61 -48 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-fold-threshold-policy.go +10 -1 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-header-bar.go +36 -33 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-inline-view-switcher.go +18 -24 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-layout-slot.go +4 -15 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-layout.go +7 -17 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-leaflet.go +69 -56 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-length-unit.go +5 -14 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-main.go +5 -15 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-message-dialog.go +63 -44 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-multi-layout-view.go +17 -23 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-navigation-direction.go +10 -1 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-navigation-split-view.go +36 -32 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-navigation-view.go +60 -49 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-overlay-split-view.go +48 -38 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-password-entry-row.go +2 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-preferences-dialog.go +23 -25 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-preferences-group.go +24 -26 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-preferences-page.go +38 -33 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-preferences-row.go +18 -22 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-preferences-window.go +31 -29 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-shortcut-label.go +10 -18 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-shortcuts-dialog.go +4 -15 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-shortcuts-item.go +23 -25 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-shortcuts-section.go +8 -17 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-sidebar-item.go +45 -37 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-sidebar-section.go +24 -27 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-sidebar.go +41 -39 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-spin-row.go +40 -34 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-spinner-paintable.go +5 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-spinner.go +2 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-split-button.go +39 -34 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-spring-animation.go +34 -30 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-spring-params.go +17 -21 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-squeezer.go +49 -44 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-status-page.go +20 -24 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-style-manager.go +25 -28 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-swipe-tracker.go +33 -30 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-swipeable.go +33 -21 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-switch-row.go +6 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-tab-bar.go +35 -32 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-tab-button.go +5 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-tab-overview.go +45 -37 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-tab-view.go +123 -87 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-timed-animation.go +30 -28 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-toast-overlay.go +9 -18 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-toast.go +41 -36 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-toggle-group.go +64 -51 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-toolbar-view.go +40 -35 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-version.go +7 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-view-stack.go +78 -62 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-view-switcher-bar.go +9 -18 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-view-switcher-sidebar.go +15 -22 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-view-switcher-title.go +19 -23 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-view-switcher.go +10 -20 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-window-title.go +10 -18 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-window.go +14 -22 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-wrap-box.go +66 -46 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-wrap-layout.go +57 -46 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/cairo/main.go +36 -79 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkapplaunchcontext.go +10 -17 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkcairo.go +12 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkcairocontext.go +3 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkcicpparams.go +20 -25 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkclipboard.go +34 -32 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkcolorstate.go +12 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkcontentdeserializer.go +26 -27 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkcontentformats.go +28 -31 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkcontentprovider.go +23 -28 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkcontentserializer.go +26 -27 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkcursor.go +12 -21 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdevice.go +36 -33 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdevicepad.go +27 -22 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdevicetool.go +10 -18 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdisplay.go +51 -43 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdisplaymanager.go +10 -20 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdmabuftexture.go +3 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdmabuftexturebuilder.go +53 -41 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdmabuftexturebuilder_extra.go +6 -0 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdrag.go +20 -28 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdragsurface.go +6 -14 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdragsurfacesize.go +3 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdrawcontext.go +11 -18 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdrop.go +19 -24 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkenums.go +21 -1 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkevents.go +120 -118 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkframeclock.go +22 -24 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkframetimings.go +17 -20 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkglcontext.go +40 -36 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkgltexture.go +4 -15 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkgltexturebuilder.go +41 -35 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkkeys.go +19 -22 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkmemorytexture.go +2 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkmemorytexturebuilder.go +42 -35 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkmonitor.go +27 -27 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkpaintable.go +63 -33 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkpango.go +4 -12 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkpixbuf.go +2 -12 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkpopup.go +47 -26 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkpopuplayout.go +36 -32 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkrgba.go +19 -21 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkseat.go +11 -20 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdksnapshot.go +7 -0 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdksurface.go +46 -40 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdktexture.go +27 -31 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdktoplevel.go +157 -66 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdktoplevellayout.go +24 -25 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdktoplevelsize.go +9 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdktypes.go +95 -72 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkvulkancontext.go +3 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdkpixbuf/gdk-pixbuf-animation.go +26 -32 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdkpixbuf/gdk-pixbuf-core.go +9 -0 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdkpixbuf/gdk-pixbuf-io.go +25 -23 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdkpixbuf/gdk-pixbuf-loader.go +13 -22 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdkpixbuf/gdk-pixbuf-simple-anim.go +8 -17 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdkpixbuf/gdk-pixbuf-transform.go +11 -1 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdkpixbuf/gdk-pixbuf.go +102 -79 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdkpixbuf/main.go +5 -17 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gaction.go +59 -31 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gactiongroup.go +96 -39 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gactionmap.go +33 -21 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gappinfo.go +244 -116 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gapplication.go +79 -55 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gapplicationcommandline.go +31 -27 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gasyncinitable.go +25 -22 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gasyncresult.go +26 -19 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gbufferedinputstream.go +26 -29 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gbufferedoutputstream.go +11 -18 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gbytesicon.go +4 -15 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gcancellable.go +26 -27 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gcharsetconverter.go +8 -17 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gcontenttype.go +30 -26 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gconverter.go +23 -20 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gconverterinputstream.go +3 -14 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gconverteroutputstream.go +3 -14 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gcredentials.go +12 -21 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdatagrambased.go +45 -30 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdatainputstream.go +31 -35 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdataoutputstream.go +14 -23 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusactiongroup.go +2 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusaddress.go +10 -17 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusauthobserver.go +6 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusconnection.go +77 -66 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbuserror.go +16 -18 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusinterface.go +26 -19 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusinterfaceskeleton.go +25 -24 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusintrospection.go +54 -56 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusmenumodel.go +2 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusmessage.go +88 -64 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusmethodinvocation.go +35 -30 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusnameowning.go +10 -15 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusnamewatching.go +10 -15 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusobject.go +19 -17 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusobjectmanager.go +26 -19 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusobjectmanagerclient.go +16 -23 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusobjectmanagerserver.go +13 -20 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusobjectproxy.go +3 -15 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusobjectskeleton.go +12 -18 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusproxy.go +42 -38 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusserver.go +14 -20 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusutils.go +24 -22 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdebugcontroller.go +12 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdebugcontrollerdbus.go +4 -14 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdrive.go +214 -82 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdtlsclientconnection.go +34 -24 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdtlsconnection.go +207 -80 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdtlsserverconnection.go +2 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gemblem.go +6 -17 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gemblemedicon.go +9 -18 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gfile.go +1148 -450 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gfileattribute.go +13 -19 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gfileenumerator.go +34 -35 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gfileicon.go +3 -15 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gfileinfo.go +138 -84 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gfileinputstream.go +17 -23 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gfileiostream.go +23 -27 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gfilemonitor.go +9 -15 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gfilenamecompleter.go +8 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gfileoutputstream.go +23 -27 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gfilterinputstream.go +6 -14 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gfilteroutputstream.go +6 -14 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gicon.go +32 -25 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/ginetaddress.go +40 -34 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/ginetaddressmask.go +14 -21 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/ginetsocketaddress.go +10 -19 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/ginitable.go +11 -18 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/ginputstream.go +52 -48 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gioenums.go +90 -1 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gioerror.go +6 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/giomodule.go +26 -29 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gioscheduler.go +4 -12 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/giostream.go +25 -29 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/giotypes.go +70 -60 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/giptosmessage.go +6 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gipv6tclassmessage.go +6 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/glistmodel.go +33 -21 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gliststore.go +22 -24 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gloadableicon.go +27 -23 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gmemoryinputstream.go +8 -17 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gmemorymonitor.go +2 -12 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gmemoryoutputstream.go +13 -19 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gmenu.go +62 -50 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gmenumodel.go +31 -33 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gmount.go +215 -86 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gmountoperation.go +40 -32 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gnativesocketaddress.go +2 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gnativevolumemonitor.go +7 -0 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gnetworkaddress.go +11 -21 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gnetworking.go +3 -14 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gnetworkmonitor.go +49 -31 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gnetworkservice.go +12 -19 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gnotification.go +26 -26 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/goutputstream.go +86 -72 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gpermission.go +33 -33 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gpollableinputstream.go +30 -22 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gpollableoutputstream.go +41 -27 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gpollableutils.go +7 -15 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gpowerprofilemonitor.go +7 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gpropertyaction.go +2 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gproxy.go +35 -27 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gproxyaddress.go +16 -21 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gproxyaddressenumerator.go +7 -0 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gproxyresolver.go +35 -27 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gremoteactiongroup.go +12 -15 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gresolver.go +75 -67 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gresource.go +19 -23 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gseekable.go +41 -27 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsettings.go +99 -67 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsettingsbackend.go +19 -24 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsettingsschema.go +48 -43 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsimpleaction.go +9 -18 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsimpleactiongroup.go +9 -18 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsimpleasyncresult.go +46 -40 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsimpleiostream.go +2 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsimplepermission.go +2 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsimpleproxyresolver.go +8 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsocket.go +87 -72 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsocketaddress.go +11 -19 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsocketaddressenumerator.go +13 -20 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsocketclient.go +54 -44 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsocketconnectable.go +19 -17 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsocketconnection.go +14 -21 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsocketcontrolmessage.go +10 -17 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsocketlistener.go +18 -25 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsocketservice.go +8 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsrvtarget.go +2 -11 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsubprocess.go +40 -39 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsubprocesslauncher.go +34 -31 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gtask.go +70 -52 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gtcpconnection.go +5 -14 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gtcpwrapperconnection.go +3 -15 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gtestdbus.go +16 -22 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gthemedicon.go +10 -19 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gthreadedresolver.go +7 -0 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gthreadedsocketservice.go +2 -12 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gtlsbackend.go +69 -33 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gtlscertificate.go +25 -29 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gtlsclientconnection.go +55 -29 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gtlsconnection.go +56 -46 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gtlsdatabase.go +51 -48 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gtlsfiledatabase.go +2 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gtlsinteraction.go +27 -31 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gtlspassword.go +20 -22 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gtlsserverconnection.go +2 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gunixconnection.go +11 -20 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gunixcredentialsmessage.go +6 -17 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gunixfdlist.go +11 -19 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gio/gunixsocketaddress.go +14 -22 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gio/gvfs.go +18 -24 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gio/gvolume.go +143 -58 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gio/gvolumemonitor.go +11 -19 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gio/gzlibcompressor.go +9 -18 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gio/gzlibdecompressor.go +3 -15 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gio/main.go +2 -11 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gallocator.go +32 -28 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/garray.go +82 -59 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gasyncqueue.go +56 -39 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gatomic.go +43 -34 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gbacktrace.go +5 -15 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gbase64.go +13 -19 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gbitlock.go +23 -24 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gbookmarkfile.go +69 -61 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gcache.go +10 -15 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gcharset.go +13 -19 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gchecksum.go +23 -25 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gcompletion.go +14 -17 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gconvert.go +25 -28 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gdataset.go +36 -28 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gdate.go +103 -65 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gdatetime.go +107 -66 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gdir.go +12 -19 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/genviron.go +17 -21 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gerror.go +30 -29 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gfileutils.go +45 -38 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/ggettext.go +13 -19 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/ghash.go +81 -53 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/ghmac.go +21 -24 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/ghook.go +28 -26 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/ghostutils.go +11 -18 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/giochannel.go +83 -67 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gkeyfile.go +72 -62 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/glib-types.go +4 -12 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/glist.go +2 -11 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gmain.go +181 -117 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gmappedfile.go +15 -21 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gmarkup.go +51 -43 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gmem.go +44 -31 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gmessages.go +70 -45 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gnode.go +50 -35 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/goption.go +57 -43 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gpathbuf.go +26 -24 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gpattern.go +19 -23 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gpoll.go +3 -13 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gprimes.go +3 -14 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gprintf.go +15 -20 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gqsort.go +5 -15 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gquark.go +13 -19 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gqueue.go +84 -52 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/grand.go +33 -30 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/grcbox.go +29 -27 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/grefcount.go +17 -21 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/grefstring.go +15 -20 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gregex.go +72 -57 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/grel.go +20 -21 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gscanner.go +40 -30 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gsequence.go +74 -49 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gshell.go +5 -16 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gslice.go +17 -21 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gslist.go +2 -11 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gspawn.go +12 -23 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gstdio.go +33 -27 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gstrfuncs.go +115 -71 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gstring.go +77 -51 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gstringchunk.go +10 -15 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gstrvbuilder.go +19 -22 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gtestutils.go +132 -80 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gthread.go +146 -97 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gthreadpool.go +26 -25 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gtimer.go +18 -20 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gtimezone.go +27 -26 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gtrashstack.go +8 -14 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gtree.go +63 -45 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gtypes.go +4 -12 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gunicode.go +132 -85 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/guri.go +63 -50 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gutils.go +62 -41 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/guuid.go +5 -15 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gvariant-parser.go +3 -14 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gvariant.go +242 -143 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gvarianttype.go +63 -45
| @@ -5,7 +5,6 @@ import ( | |||
| 5 | 5 | "structs" | |
| 6 | 6 | "unsafe" | |
| 7 | 7 | ||
| 8 | - | "github.com/bnema/purego" | |
| 9 | 8 | "github.com/bnema/puregotk/pkg/core" | |
| 10 | 9 | "github.com/bnema/puregotk/v4/gobject/types" | |
| 11 | 10 | ) | |
| @@ -201,6 +200,7 @@ type VariantType struct { | |||
| 201 | 200 | var xVariantTypeGLibType func() types.GType | |
| 202 | 201 | ||
| 203 | 202 | func VariantTypeGLibType() types.GType { | |
| 203 | + | core.LazyRegister(&xVariantTypeGLibType, "GLIB", "g_variant_type_get_gtype", false) | |
| 204 | 204 | return xVariantTypeGLibType() | |
| 205 | 205 | } | |
| 206 | 206 | ||
| @@ -226,6 +226,8 @@ var xNewVariantType func(string) uintptr | |||
| 226 | 226 | // It is a programmer error to call this function with an invalid type | |
| 227 | 227 | // string. Use [func@GLib.VariantType.string_is_valid] if you are unsure. | |
| 228 | 228 | func NewVariantType(TypeStringVar string) *VariantType { | |
| 229 | + | core.LazyRegister(&xNewVariantType, "GLIB", "g_variant_type_new", false) | |
| 230 | + | ||
| 229 | 231 | cret := xNewVariantType(TypeStringVar) | |
| 230 | 232 | if cret == 0 { | |
| 231 | 233 | return nil | |
| @@ -240,6 +242,8 @@ var xNewVariantTypeArray func(*VariantType) uintptr | |||
| 240 | 242 | // | |
| 241 | 243 | // It is appropriate to call [method@GLib.VariantType.first] on the return value. | |
| 242 | 244 | func NewVariantTypeArray(ElementVar *VariantType) *VariantType { | |
| 245 | + | core.LazyRegister(&xNewVariantTypeArray, "GLIB", "g_variant_type_new_array", false) | |
| 246 | + | ||
| 243 | 247 | cret := xNewVariantTypeArray(ElementVar) | |
| 244 | 248 | if cret == 0 { | |
| 245 | 249 | return nil | |
| @@ -254,6 +258,8 @@ var xNewVariantTypeDictEntry func(*VariantType, *VariantType) uintptr | |||
| 254 | 258 | // | |
| 255 | 259 | // It is appropriate to call [method@GLib.VariantType.free] on the return value. | |
| 256 | 260 | func NewVariantTypeDictEntry(KeyVar *VariantType, ValueVar *VariantType) *VariantType { | |
| 261 | + | core.LazyRegister(&xNewVariantTypeDictEntry, "GLIB", "g_variant_type_new_dict_entry", false) | |
| 262 | + | ||
| 257 | 263 | cret := xNewVariantTypeDictEntry(KeyVar, ValueVar) | |
| 258 | 264 | if cret == 0 { | |
| 259 | 265 | return nil | |
| @@ -268,6 +274,8 @@ var xNewVariantTypeMaybe func(*VariantType) uintptr | |||
| 268 | 274 | // | |
| 269 | 275 | // It is appropriate to call [method@GLib.VariantType.free] on the return value. | |
| 270 | 276 | func NewVariantTypeMaybe(ElementVar *VariantType) *VariantType { | |
| 277 | + | core.LazyRegister(&xNewVariantTypeMaybe, "GLIB", "g_variant_type_new_maybe", false) | |
| 278 | + | ||
| 271 | 279 | cret := xNewVariantTypeMaybe(ElementVar) | |
| 272 | 280 | if cret == 0 { | |
| 273 | 281 | return nil | |
| @@ -284,6 +292,8 @@ var xNewVariantTypeTuple func(uintptr, int) uintptr | |||
| 284 | 292 | // | |
| 285 | 293 | // It is appropriate to call [method@GLib.VariantType.free] on the return value. | |
| 286 | 294 | func NewVariantTypeTuple(ItemsVar uintptr, LengthVar int) *VariantType { | |
| 295 | + | core.LazyRegister(&xNewVariantTypeTuple, "GLIB", "g_variant_type_new_tuple", false) | |
| 296 | + | ||
| 287 | 297 | cret := xNewVariantTypeTuple(ItemsVar, LengthVar) | |
| 288 | 298 | if cret == 0 { | |
| 289 | 299 | return nil | |
| @@ -298,6 +308,8 @@ var xVariantTypeCopy func(uintptr) uintptr | |||
| 298 | 308 | // It is appropriate to call [method@GLib.VariantType.free] on the return value. | |
| 299 | 309 | // @type may not be `NULL`. | |
| 300 | 310 | func (x *VariantType) Copy() *VariantType { | |
| 311 | + | core.LazyRegister(&xVariantTypeCopy, "GLIB", "g_variant_type_copy", false) | |
| 312 | + | ||
| 301 | 313 | cret := xVariantTypeCopy(x.GoPointer()) | |
| 302 | 314 | if cret == 0 { | |
| 303 | 315 | return nil | |
| @@ -312,6 +324,8 @@ var xVariantTypeDupString func(uintptr) string | |||
| 312 | 324 | // The returned string is nul-terminated. It is appropriate to call | |
| 313 | 325 | // [func@GLib.free] on the return value. | |
| 314 | 326 | func (x *VariantType) DupString() string { | |
| 327 | + | core.LazyRegister(&xVariantTypeDupString, "GLIB", "g_variant_type_dup_string", false) | |
| 328 | + | ||
| 315 | 329 | cret := xVariantTypeDupString(x.GoPointer()) | |
| 316 | 330 | return cret | |
| 317 | 331 | } | |
| @@ -322,6 +336,8 @@ var xVariantTypeElement func(uintptr) uintptr | |||
| 322 | 336 | // | |
| 323 | 337 | // This function may only be used with array or ‘maybe’ types. | |
| 324 | 338 | func (x *VariantType) Element() *VariantType { | |
| 339 | + | core.LazyRegister(&xVariantTypeElement, "GLIB", "g_variant_type_element", false) | |
| 340 | + | ||
| 325 | 341 | cret := xVariantTypeElement(x.GoPointer()) | |
| 326 | 342 | if cret == 0 { | |
| 327 | 343 | return nil | |
| @@ -342,6 +358,8 @@ var xVariantTypeEqual func(uintptr, uintptr) bool | |||
| 342 | 358 | // allow use with [type@GLib.HashTable] without function pointer casting. For | |
| 343 | 359 | // both arguments, a valid [type@GLib.VariantType] must be provided. | |
| 344 | 360 | func (x *VariantType) Equal(Type2Var uintptr) bool { | |
| 361 | + | core.LazyRegister(&xVariantTypeEqual, "GLIB", "g_variant_type_equal", false) | |
| 362 | + | ||
| 345 | 363 | cret := xVariantTypeEqual(x.GoPointer(), Type2Var) | |
| 346 | 364 | return cret | |
| 347 | 365 | } | |
| @@ -363,6 +381,8 @@ var xVariantTypeFirst func(uintptr) uintptr | |||
| 363 | 381 | // This call, together with [method@GLib.VariantType.next] provides an iterator | |
| 364 | 382 | // interface over tuple and dictionary entry types. | |
| 365 | 383 | func (x *VariantType) First() *VariantType { | |
| 384 | + | core.LazyRegister(&xVariantTypeFirst, "GLIB", "g_variant_type_first", false) | |
| 385 | + | ||
| 366 | 386 | cret := xVariantTypeFirst(x.GoPointer()) | |
| 367 | 387 | if cret == 0 { | |
| 368 | 388 | return nil | |
| @@ -380,6 +400,8 @@ var xVariantTypeFree func(uintptr) | |||
| 380 | 400 | // | |
| 381 | 401 | // Since 2.24 | |
| 382 | 402 | func (x *VariantType) Free() { | |
| 403 | + | core.LazyRegister(&xVariantTypeFree, "GLIB", "g_variant_type_free", false) | |
| 404 | + | ||
| 383 | 405 | xVariantTypeFree(x.GoPointer()) | |
| 384 | 406 | } | |
| 385 | 407 | ||
| @@ -390,6 +412,8 @@ var xVariantTypeGetStringLength func(uintptr) uint | |||
| 390 | 412 | // This function must be used to determine the valid extent of | |
| 391 | 413 | // the memory region returned by [method@GLib.VariantType.peek_string]. | |
| 392 | 414 | func (x *VariantType) GetStringLength() uint { | |
| 415 | + | core.LazyRegister(&xVariantTypeGetStringLength, "GLIB", "g_variant_type_get_string_length", false) | |
| 416 | + | ||
| 393 | 417 | cret := xVariantTypeGetStringLength(x.GoPointer()) | |
| 394 | 418 | return cret | |
| 395 | 419 | } | |
| @@ -402,6 +426,8 @@ var xVariantTypeHash func(uintptr) uint | |||
| 402 | 426 | // [type@GLib.HashTable] without function pointer casting. A valid | |
| 403 | 427 | // [type@GLib.VariantType] must be provided. | |
| 404 | 428 | func (x *VariantType) Hash() uint { | |
| 429 | + | core.LazyRegister(&xVariantTypeHash, "GLIB", "g_variant_type_hash", false) | |
| 430 | + | ||
| 405 | 431 | cret := xVariantTypeHash(x.GoPointer()) | |
| 406 | 432 | return cret | |
| 407 | 433 | } | |
| @@ -416,6 +442,8 @@ var xVariantTypeIsArray func(uintptr) bool | |||
| 416 | 442 | // definite subtype is an array type — `G_VARIANT_TYPE_ARRAY`, for | |
| 417 | 443 | // example. | |
| 418 | 444 | func (x *VariantType) IsArray() bool { | |
| 445 | + | core.LazyRegister(&xVariantTypeIsArray, "GLIB", "g_variant_type_is_array", false) | |
| 446 | + | ||
| 419 | 447 | cret := xVariantTypeIsArray(x.GoPointer()) | |
| 420 | 448 | return cret | |
| 421 | 449 | } | |
| @@ -432,6 +460,8 @@ var xVariantTypeIsBasic func(uintptr) bool | |||
| 432 | 460 | // This function returns `FALSE` for all indefinite types except | |
| 433 | 461 | // `G_VARIANT_TYPE_BASIC`. | |
| 434 | 462 | func (x *VariantType) IsBasic() bool { | |
| 463 | + | core.LazyRegister(&xVariantTypeIsBasic, "GLIB", "g_variant_type_is_basic", false) | |
| 464 | + | ||
| 435 | 465 | cret := xVariantTypeIsBasic(x.GoPointer()) | |
| 436 | 466 | return cret | |
| 437 | 467 | } | |
| @@ -447,6 +477,8 @@ var xVariantTypeIsContainer func(uintptr) bool | |||
| 447 | 477 | // definite subtype is a container — `G_VARIANT_TYPE_ARRAY`, for | |
| 448 | 478 | // example. | |
| 449 | 479 | func (x *VariantType) IsContainer() bool { | |
| 480 | + | core.LazyRegister(&xVariantTypeIsContainer, "GLIB", "g_variant_type_is_container", false) | |
| 481 | + | ||
| 450 | 482 | cret := xVariantTypeIsContainer(x.GoPointer()) | |
| 451 | 483 | return cret | |
| 452 | 484 | } | |
| @@ -464,6 +496,8 @@ var xVariantTypeIsDefinite func(uintptr) bool | |||
| 464 | 496 | // indefinite type like `G_VARIANT_TYPE_ARRAY`, however, will result in | |
| 465 | 497 | // `FALSE` being returned. | |
| 466 | 498 | func (x *VariantType) IsDefinite() bool { | |
| 499 | + | core.LazyRegister(&xVariantTypeIsDefinite, "GLIB", "g_variant_type_is_definite", false) | |
| 500 | + | ||
| 467 | 501 | cret := xVariantTypeIsDefinite(x.GoPointer()) | |
| 468 | 502 | return cret | |
| 469 | 503 | } | |
| @@ -478,6 +512,8 @@ var xVariantTypeIsDictEntry func(uintptr) bool | |||
| 478 | 512 | // definite subtype is a dictionary entry type — | |
| 479 | 513 | // `G_VARIANT_TYPE_DICT_ENTRY`, for example. | |
| 480 | 514 | func (x *VariantType) IsDictEntry() bool { | |
| 515 | + | core.LazyRegister(&xVariantTypeIsDictEntry, "GLIB", "g_variant_type_is_dict_entry", false) | |
| 516 | + | ||
| 481 | 517 | cret := xVariantTypeIsDictEntry(x.GoPointer()) | |
| 482 | 518 | return cret | |
| 483 | 519 | } | |
| @@ -492,6 +528,8 @@ var xVariantTypeIsMaybe func(uintptr) bool | |||
| 492 | 528 | // definite subtype is a ‘maybe’ type — `G_VARIANT_TYPE_MAYBE`, for | |
| 493 | 529 | // example. | |
| 494 | 530 | func (x *VariantType) IsMaybe() bool { | |
| 531 | + | core.LazyRegister(&xVariantTypeIsMaybe, "GLIB", "g_variant_type_is_maybe", false) | |
| 532 | + | ||
| 495 | 533 | cret := xVariantTypeIsMaybe(x.GoPointer()) | |
| 496 | 534 | return cret | |
| 497 | 535 | } | |
| @@ -504,6 +542,8 @@ var xVariantTypeIsSubtypeOf func(uintptr, *VariantType) bool | |||
| 504 | 542 | // types are considered to be subtypes of themselves. Aside from that, | |
| 505 | 543 | // only indefinite types can have subtypes. | |
| 506 | 544 | func (x *VariantType) IsSubtypeOf(SupertypeVar *VariantType) bool { | |
| 545 | + | core.LazyRegister(&xVariantTypeIsSubtypeOf, "GLIB", "g_variant_type_is_subtype_of", false) | |
| 546 | + | ||
| 507 | 547 | cret := xVariantTypeIsSubtypeOf(x.GoPointer(), SupertypeVar) | |
| 508 | 548 | return cret | |
| 509 | 549 | } | |
| @@ -519,6 +559,8 @@ var xVariantTypeIsTuple func(uintptr) bool | |||
| 519 | 559 | // definite subtype is a tuple type — `G_VARIANT_TYPE_TUPLE`, for | |
| 520 | 560 | // example. | |
| 521 | 561 | func (x *VariantType) IsTuple() bool { | |
| 562 | + | core.LazyRegister(&xVariantTypeIsTuple, "GLIB", "g_variant_type_is_tuple", false) | |
| 563 | + | ||
| 522 | 564 | cret := xVariantTypeIsTuple(x.GoPointer()) | |
| 523 | 565 | return cret | |
| 524 | 566 | } | |
| @@ -527,6 +569,8 @@ var xVariantTypeIsVariant func(uintptr) bool | |||
| 527 | 569 | ||
| 528 | 570 | // Determines if the given @type is the variant type. | |
| 529 | 571 | func (x *VariantType) IsVariant() bool { | |
| 572 | + | core.LazyRegister(&xVariantTypeIsVariant, "GLIB", "g_variant_type_is_variant", false) | |
| 573 | + | ||
| 530 | 574 | cret := xVariantTypeIsVariant(x.GoPointer()) | |
| 531 | 575 | return cret | |
| 532 | 576 | } | |
| @@ -539,6 +583,8 @@ var xVariantTypeKey func(uintptr) uintptr | |||
| 539 | 583 | // than the additional restriction, this call is equivalent to | |
| 540 | 584 | // [method@GLib.VariantType.first]. | |
| 541 | 585 | func (x *VariantType) Key() *VariantType { | |
| 586 | + | core.LazyRegister(&xVariantTypeKey, "GLIB", "g_variant_type_key", false) | |
| 587 | + | ||
| 542 | 588 | cret := xVariantTypeKey(x.GoPointer()) | |
| 543 | 589 | if cret == 0 { | |
| 544 | 590 | return nil | |
| @@ -558,6 +604,8 @@ var xVariantTypeNItems func(uintptr) uint | |||
| 558 | 604 | // In the case of a dictionary entry type, this function will always | |
| 559 | 605 | // return `2`. | |
| 560 | 606 | func (x *VariantType) NItems() uint { | |
| 607 | + | core.LazyRegister(&xVariantTypeNItems, "GLIB", "g_variant_type_n_items", false) | |
| 608 | + | ||
| 561 | 609 | cret := xVariantTypeNItems(x.GoPointer()) | |
| 562 | 610 | return cret | |
| 563 | 611 | } | |
| @@ -576,6 +624,8 @@ var xVariantTypeNext func(uintptr) uintptr | |||
| 576 | 624 | // | |
| 577 | 625 | // For tuples, `NULL` is returned when @type is the last item in the tuple. | |
| 578 | 626 | func (x *VariantType) Next() *VariantType { | |
| 627 | + | core.LazyRegister(&xVariantTypeNext, "GLIB", "g_variant_type_next", false) | |
| 628 | + | ||
| 579 | 629 | cret := xVariantTypeNext(x.GoPointer()) | |
| 580 | 630 | if cret == 0 { | |
| 581 | 631 | return nil | |
| @@ -592,6 +642,8 @@ var xVariantTypePeekString func(uintptr) string | |||
| 592 | 642 | // | |
| 593 | 643 | // To get a nul-terminated string, see [method@GLib.VariantType.dup_string]. | |
| 594 | 644 | func (x *VariantType) PeekString() string { | |
| 645 | + | core.LazyRegister(&xVariantTypePeekString, "GLIB", "g_variant_type_peek_string", false) | |
| 646 | + | ||
| 595 | 647 | cret := xVariantTypePeekString(x.GoPointer()) | |
| 596 | 648 | return cret | |
| 597 | 649 | } | |
| @@ -602,6 +654,8 @@ var xVariantTypeValue func(uintptr) uintptr | |||
| 602 | 654 | // | |
| 603 | 655 | // This function may only be used with a dictionary entry type. | |
| 604 | 656 | func (x *VariantType) Value() *VariantType { | |
| 657 | + | core.LazyRegister(&xVariantTypeValue, "GLIB", "g_variant_type_value", false) | |
| 658 | + | ||
| 605 | 659 | cret := xVariantTypeValue(x.GoPointer()) | |
| 606 | 660 | if cret == 0 { | |
| 607 | 661 | return nil | |
| @@ -612,6 +666,8 @@ func (x *VariantType) Value() *VariantType { | |||
| 612 | 666 | var xVariantTypeChecked func(string) uintptr | |
| 613 | 667 | ||
| 614 | 668 | func VariantTypeChecked(TypeStringVar string) *VariantType { | |
| 669 | + | core.LazyRegister(&xVariantTypeChecked, "GLIB", "g_variant_type_checked_", false) | |
| 670 | + | ||
| 615 | 671 | cret := xVariantTypeChecked(TypeStringVar) | |
| 616 | 672 | if cret == 0 { | |
| 617 | 673 | return nil | |
| @@ -622,6 +678,8 @@ func VariantTypeChecked(TypeStringVar string) *VariantType { | |||
| 622 | 678 | var xVariantTypeStringGetDepth func(string) uint | |
| 623 | 679 | ||
| 624 | 680 | func VariantTypeStringGetDepth(TypeStringVar string) uint { | |
| 681 | + | core.LazyRegister(&xVariantTypeStringGetDepth, "GLIB", "g_variant_type_string_get_depth_", false) | |
| 682 | + | ||
| 625 | 683 | cret := xVariantTypeStringGetDepth(TypeStringVar) | |
| 626 | 684 | return cret | |
| 627 | 685 | } | |
| @@ -634,6 +692,8 @@ var xVariantTypeStringIsValid func(string) bool | |||
| 634 | 692 | // This call is equivalent to calling [func@GLib.VariantType.string_scan] and | |
| 635 | 693 | // confirming that the following character is a nul terminator. | |
| 636 | 694 | func VariantTypeStringIsValid(TypeStringVar string) bool { | |
| 695 | + | core.LazyRegister(&xVariantTypeStringIsValid, "GLIB", "g_variant_type_string_is_valid", false) | |
| 696 | + | ||
| 637 | 697 | cret := xVariantTypeStringIsValid(TypeStringVar) | |
| 638 | 698 | return cret | |
| 639 | 699 | } | |
| @@ -655,6 +715,8 @@ var xVariantTypeStringScan func(string, uintptr, *string) bool | |||
| 655 | 715 | // For the simple case of checking if a string is a valid type string, | |
| 656 | 716 | // see [func@GLib.VariantType.string_is_valid]. | |
| 657 | 717 | func VariantTypeStringScan(StringVar string, LimitVar *string, EndptrVar *string) bool { | |
| 718 | + | core.LazyRegister(&xVariantTypeStringScan, "GLIB", "g_variant_type_string_scan", false) | |
| 719 | + | ||
| 658 | 720 | LimitVarPtr := core.GStrdupNullable(LimitVar) | |
| 659 | 721 | defer core.GFreeNullable(LimitVarPtr) | |
| 660 | 722 | ||
| @@ -665,48 +727,4 @@ func VariantTypeStringScan(StringVar string, LimitVar *string, EndptrVar *string | |||
| 665 | 727 | func init() { | |
| 666 | 728 | core.SetPackageName("GLIB", "glib-2.0") | |
| 667 | 729 | core.SetSharedLibraries("GLIB", []string{"libgobject-2.0.so.0", "libglib-2.0.so.0", "libgobject-2.0.0.dylib", "libglib-2.0.0.dylib"}) | |
| 668 | - | var libs []uintptr | |
| 669 | - | for _, libPath := range core.GetPaths("GLIB") { | |
| 670 | - | lib, err := purego.Dlopen(libPath, purego.RTLD_NOW|purego.RTLD_GLOBAL) | |
| 671 | - | if err != nil { | |
| 672 | - | panic(err) | |
| 673 | - | } | |
| 674 | - | libs = append(libs, lib) | |
| 675 | - | } | |
| 676 | - | ||
| 677 | - | core.PuregoSafeRegister(&xVariantTypeChecked, libs, "g_variant_type_checked_") | |
| 678 | - | core.PuregoSafeRegister(&xVariantTypeStringGetDepth, libs, "g_variant_type_string_get_depth_") | |
| 679 | - | core.PuregoSafeRegister(&xVariantTypeStringIsValid, libs, "g_variant_type_string_is_valid") | |
| 680 | - | core.PuregoSafeRegister(&xVariantTypeStringScan, libs, "g_variant_type_string_scan") | |
| 681 | - | ||
| 682 | - | core.PuregoSafeRegister(&xVariantTypeGLibType, libs, "g_variant_type_get_gtype") | |
| 683 | - | ||
| 684 | - | core.PuregoSafeRegister(&xNewVariantType, libs, "g_variant_type_new") | |
| 685 | - | core.PuregoSafeRegister(&xNewVariantTypeArray, libs, "g_variant_type_new_array") | |
| 686 | - | core.PuregoSafeRegister(&xNewVariantTypeDictEntry, libs, "g_variant_type_new_dict_entry") | |
| 687 | - | core.PuregoSafeRegister(&xNewVariantTypeMaybe, libs, "g_variant_type_new_maybe") | |
| 688 | - | core.PuregoSafeRegister(&xNewVariantTypeTuple, libs, "g_variant_type_new_tuple") | |
| 689 | - | ||
| 690 | - | core.PuregoSafeRegister(&xVariantTypeCopy, libs, "g_variant_type_copy") | |
| 691 | - | core.PuregoSafeRegister(&xVariantTypeDupString, libs, "g_variant_type_dup_string") | |
| 692 | - | core.PuregoSafeRegister(&xVariantTypeElement, libs, "g_variant_type_element") | |
| 693 | - | core.PuregoSafeRegister(&xVariantTypeEqual, libs, "g_variant_type_equal") | |
| 694 | - | core.PuregoSafeRegister(&xVariantTypeFirst, libs, "g_variant_type_first") | |
| 695 | - | core.PuregoSafeRegister(&xVariantTypeFree, libs, "g_variant_type_free") | |
| 696 | - | core.PuregoSafeRegister(&xVariantTypeGetStringLength, libs, "g_variant_type_get_string_length") | |
| 697 | - | core.PuregoSafeRegister(&xVariantTypeHash, libs, "g_variant_type_hash") | |
| 698 | - | core.PuregoSafeRegister(&xVariantTypeIsArray, libs, "g_variant_type_is_array") | |
| 699 | - | core.PuregoSafeRegister(&xVariantTypeIsBasic, libs, "g_variant_type_is_basic") | |
| 700 | - | core.PuregoSafeRegister(&xVariantTypeIsContainer, libs, "g_variant_type_is_container") | |
| 701 | - | core.PuregoSafeRegister(&xVariantTypeIsDefinite, libs, "g_variant_type_is_definite") | |
| 702 | - | core.PuregoSafeRegister(&xVariantTypeIsDictEntry, libs, "g_variant_type_is_dict_entry") | |
| 703 | - | core.PuregoSafeRegister(&xVariantTypeIsMaybe, libs, "g_variant_type_is_maybe") | |
| 704 | - | core.PuregoSafeRegister(&xVariantTypeIsSubtypeOf, libs, "g_variant_type_is_subtype_of") | |
| 705 | - | core.PuregoSafeRegister(&xVariantTypeIsTuple, libs, "g_variant_type_is_tuple") | |
| 706 | - | core.PuregoSafeRegister(&xVariantTypeIsVariant, libs, "g_variant_type_is_variant") | |
| 707 | - | core.PuregoSafeRegister(&xVariantTypeKey, libs, "g_variant_type_key") | |
| 708 | - | core.PuregoSafeRegister(&xVariantTypeNItems, libs, "g_variant_type_n_items") | |
| 709 | - | core.PuregoSafeRegister(&xVariantTypeNext, libs, "g_variant_type_next") | |
| 710 | - | core.PuregoSafeRegister(&xVariantTypePeekString, libs, "g_variant_type_peek_string") | |
| 711 | - | core.PuregoSafeRegister(&xVariantTypeValue, libs, "g_variant_type_value") | |
| 712 | 730 | } | |
| @@ -5,7 +5,6 @@ import ( | |||||
| 5 | "structs" | 5 | "structs" | ||
| 6 | "unsafe" | 6 | "unsafe" | ||
| 7 | 7 | ||||
| 8 | - | "github.com/bnema/purego" | |||
| 9 | "github.com/bnema/puregotk/pkg/core" | 8 | "github.com/bnema/puregotk/pkg/core" | ||
| 10 | "github.com/bnema/puregotk/v4/gobject/types" | 9 | "github.com/bnema/puregotk/v4/gobject/types" | ||
| 11 | ) | 10 | ) | ||
| @@ -201,6 +200,7 @@ type VariantType struct { | |||||
| 201 | var xVariantTypeGLibType func() types.GType | 200 | var xVariantTypeGLibType func() types.GType | ||
| 202 | 201 | ||||
| 203 | func VariantTypeGLibType() types.GType { | 202 | func VariantTypeGLibType() types.GType { | ||
| 203 | + | core.LazyRegister(&xVariantTypeGLibType, "GLIB", "g_variant_type_get_gtype", false) | |||
| 204 | return xVariantTypeGLibType() | 204 | return xVariantTypeGLibType() | ||
| 205 | } | 205 | } | ||
| 206 | 206 | ||||
| @@ -226,6 +226,8 @@ var xNewVariantType func(string) uintptr | |||||
| 226 | // It is a programmer error to call this function with an invalid type | 226 | // It is a programmer error to call this function with an invalid type | ||
| 227 | // string. Use [func@GLib.VariantType.string_is_valid] if you are unsure. | 227 | // string. Use [func@GLib.VariantType.string_is_valid] if you are unsure. | ||
| 228 | func NewVariantType(TypeStringVar string) *VariantType { | 228 | func NewVariantType(TypeStringVar string) *VariantType { | ||
| 229 | + | core.LazyRegister(&xNewVariantType, "GLIB", "g_variant_type_new", false) | |||
| 230 | + | ||||
| 229 | cret := xNewVariantType(TypeStringVar) | 231 | cret := xNewVariantType(TypeStringVar) | ||
| 230 | if cret == 0 { | 232 | if cret == 0 { | ||
| 231 | return nil | 233 | return nil | ||
| @@ -240,6 +242,8 @@ var xNewVariantTypeArray func(*VariantType) uintptr | |||||
| 240 | // | 242 | // | ||
| 241 | // It is appropriate to call [method@GLib.VariantType.first] on the return value. | 243 | // It is appropriate to call [method@GLib.VariantType.first] on the return value. | ||
| 242 | func NewVariantTypeArray(ElementVar *VariantType) *VariantType { | 244 | func NewVariantTypeArray(ElementVar *VariantType) *VariantType { | ||
| 245 | + | core.LazyRegister(&xNewVariantTypeArray, "GLIB", "g_variant_type_new_array", false) | |||
| 246 | + | ||||
| 243 | cret := xNewVariantTypeArray(ElementVar) | 247 | cret := xNewVariantTypeArray(ElementVar) | ||
| 244 | if cret == 0 { | 248 | if cret == 0 { | ||
| 245 | return nil | 249 | return nil | ||
| @@ -254,6 +258,8 @@ var xNewVariantTypeDictEntry func(*VariantType, *VariantType) uintptr | |||||
| 254 | // | 258 | // | ||
| 255 | // It is appropriate to call [method@GLib.VariantType.free] on the return value. | 259 | // It is appropriate to call [method@GLib.VariantType.free] on the return value. | ||
| 256 | func NewVariantTypeDictEntry(KeyVar *VariantType, ValueVar *VariantType) *VariantType { | 260 | func NewVariantTypeDictEntry(KeyVar *VariantType, ValueVar *VariantType) *VariantType { | ||
| 261 | + | core.LazyRegister(&xNewVariantTypeDictEntry, "GLIB", "g_variant_type_new_dict_entry", false) | |||
| 262 | + | ||||
| 257 | cret := xNewVariantTypeDictEntry(KeyVar, ValueVar) | 263 | cret := xNewVariantTypeDictEntry(KeyVar, ValueVar) | ||
| 258 | if cret == 0 { | 264 | if cret == 0 { | ||
| 259 | return nil | 265 | return nil | ||
| @@ -268,6 +274,8 @@ var xNewVariantTypeMaybe func(*VariantType) uintptr | |||||
| 268 | // | 274 | // | ||
| 269 | // It is appropriate to call [method@GLib.VariantType.free] on the return value. | 275 | // It is appropriate to call [method@GLib.VariantType.free] on the return value. | ||
| 270 | func NewVariantTypeMaybe(ElementVar *VariantType) *VariantType { | 276 | func NewVariantTypeMaybe(ElementVar *VariantType) *VariantType { | ||
| 277 | + | core.LazyRegister(&xNewVariantTypeMaybe, "GLIB", "g_variant_type_new_maybe", false) | |||
| 278 | + | ||||
| 271 | cret := xNewVariantTypeMaybe(ElementVar) | 279 | cret := xNewVariantTypeMaybe(ElementVar) | ||
| 272 | if cret == 0 { | 280 | if cret == 0 { | ||
| 273 | return nil | 281 | return nil | ||
| @@ -284,6 +292,8 @@ var xNewVariantTypeTuple func(uintptr, int) uintptr | |||||
| 284 | // | 292 | // | ||
| 285 | // It is appropriate to call [method@GLib.VariantType.free] on the return value. | 293 | // It is appropriate to call [method@GLib.VariantType.free] on the return value. | ||
| 286 | func NewVariantTypeTuple(ItemsVar uintptr, LengthVar int) *VariantType { | 294 | func NewVariantTypeTuple(ItemsVar uintptr, LengthVar int) *VariantType { | ||
| 295 | + | core.LazyRegister(&xNewVariantTypeTuple, "GLIB", "g_variant_type_new_tuple", false) | |||
| 296 | + | ||||
| 287 | cret := xNewVariantTypeTuple(ItemsVar, LengthVar) | 297 | cret := xNewVariantTypeTuple(ItemsVar, LengthVar) | ||
| 288 | if cret == 0 { | 298 | if cret == 0 { | ||
| 289 | return nil | 299 | return nil | ||
| @@ -298,6 +308,8 @@ var xVariantTypeCopy func(uintptr) uintptr | |||||
| 298 | // It is appropriate to call [method@GLib.VariantType.free] on the return value. | 308 | // It is appropriate to call [method@GLib.VariantType.free] on the return value. | ||
| 299 | // @type may not be `NULL`. | 309 | // @type may not be `NULL`. | ||
| 300 | func (x *VariantType) Copy() *VariantType { | 310 | func (x *VariantType) Copy() *VariantType { | ||
| 311 | + | core.LazyRegister(&xVariantTypeCopy, "GLIB", "g_variant_type_copy", false) | |||
| 312 | + | ||||
| 301 | cret := xVariantTypeCopy(x.GoPointer()) | 313 | cret := xVariantTypeCopy(x.GoPointer()) | ||
| 302 | if cret == 0 { | 314 | if cret == 0 { | ||
| 303 | return nil | 315 | return nil | ||
| @@ -312,6 +324,8 @@ var xVariantTypeDupString func(uintptr) string | |||||
| 312 | // The returned string is nul-terminated. It is appropriate to call | 324 | // The returned string is nul-terminated. It is appropriate to call | ||
| 313 | // [func@GLib.free] on the return value. | 325 | // [func@GLib.free] on the return value. | ||
| 314 | func (x *VariantType) DupString() string { | 326 | func (x *VariantType) DupString() string { | ||
| 327 | + | core.LazyRegister(&xVariantTypeDupString, "GLIB", "g_variant_type_dup_string", false) | |||
| 328 | + | ||||
| 315 | cret := xVariantTypeDupString(x.GoPointer()) | 329 | cret := xVariantTypeDupString(x.GoPointer()) | ||
| 316 | return cret | 330 | return cret | ||
| 317 | } | 331 | } | ||
| @@ -322,6 +336,8 @@ var xVariantTypeElement func(uintptr) uintptr | |||||
| 322 | // | 336 | // | ||
| 323 | // This function may only be used with array or ‘maybe’ types. | 337 | // This function may only be used with array or ‘maybe’ types. | ||
| 324 | func (x *VariantType) Element() *VariantType { | 338 | func (x *VariantType) Element() *VariantType { | ||
| 339 | + | core.LazyRegister(&xVariantTypeElement, "GLIB", "g_variant_type_element", false) | |||
| 340 | + | ||||
| 325 | cret := xVariantTypeElement(x.GoPointer()) | 341 | cret := xVariantTypeElement(x.GoPointer()) | ||
| 326 | if cret == 0 { | 342 | if cret == 0 { | ||
| 327 | return nil | 343 | return nil | ||
| @@ -342,6 +358,8 @@ var xVariantTypeEqual func(uintptr, uintptr) bool | |||||
| 342 | // allow use with [type@GLib.HashTable] without function pointer casting. For | 358 | // allow use with [type@GLib.HashTable] without function pointer casting. For | ||
| 343 | // both arguments, a valid [type@GLib.VariantType] must be provided. | 359 | // both arguments, a valid [type@GLib.VariantType] must be provided. | ||
| 344 | func (x *VariantType) Equal(Type2Var uintptr) bool { | 360 | func (x *VariantType) Equal(Type2Var uintptr) bool { | ||
| 361 | + | core.LazyRegister(&xVariantTypeEqual, "GLIB", "g_variant_type_equal", false) | |||
| 362 | + | ||||
| 345 | cret := xVariantTypeEqual(x.GoPointer(), Type2Var) | 363 | cret := xVariantTypeEqual(x.GoPointer(), Type2Var) | ||
| 346 | return cret | 364 | return cret | ||
| 347 | } | 365 | } | ||
| @@ -363,6 +381,8 @@ var xVariantTypeFirst func(uintptr) uintptr | |||||
| 363 | // This call, together with [method@GLib.VariantType.next] provides an iterator | 381 | // This call, together with [method@GLib.VariantType.next] provides an iterator | ||
| 364 | // interface over tuple and dictionary entry types. | 382 | // interface over tuple and dictionary entry types. | ||
| 365 | func (x *VariantType) First() *VariantType { | 383 | func (x *VariantType) First() *VariantType { | ||
| 384 | + | core.LazyRegister(&xVariantTypeFirst, "GLIB", "g_variant_type_first", false) | |||
| 385 | + | ||||
| 366 | cret := xVariantTypeFirst(x.GoPointer()) | 386 | cret := xVariantTypeFirst(x.GoPointer()) | ||
| 367 | if cret == 0 { | 387 | if cret == 0 { | ||
| 368 | return nil | 388 | return nil | ||
| @@ -380,6 +400,8 @@ var xVariantTypeFree func(uintptr) | |||||
| 380 | // | 400 | // | ||
| 381 | // Since 2.24 | 401 | // Since 2.24 | ||
| 382 | func (x *VariantType) Free() { | 402 | func (x *VariantType) Free() { | ||
| 403 | + | core.LazyRegister(&xVariantTypeFree, "GLIB", "g_variant_type_free", false) | |||
| 404 | + | ||||
| 383 | xVariantTypeFree(x.GoPointer()) | 405 | xVariantTypeFree(x.GoPointer()) | ||
| 384 | } | 406 | } | ||
| 385 | 407 | ||||
| @@ -390,6 +412,8 @@ var xVariantTypeGetStringLength func(uintptr) uint | |||||
| 390 | // This function must be used to determine the valid extent of | 412 | // This function must be used to determine the valid extent of | ||
| 391 | // the memory region returned by [method@GLib.VariantType.peek_string]. | 413 | // the memory region returned by [method@GLib.VariantType.peek_string]. | ||
| 392 | func (x *VariantType) GetStringLength() uint { | 414 | func (x *VariantType) GetStringLength() uint { | ||
| 415 | + | core.LazyRegister(&xVariantTypeGetStringLength, "GLIB", "g_variant_type_get_string_length", false) | |||
| 416 | + | ||||
| 393 | cret := xVariantTypeGetStringLength(x.GoPointer()) | 417 | cret := xVariantTypeGetStringLength(x.GoPointer()) | ||
| 394 | return cret | 418 | return cret | ||
| 395 | } | 419 | } | ||
| @@ -402,6 +426,8 @@ var xVariantTypeHash func(uintptr) uint | |||||
| 402 | // [type@GLib.HashTable] without function pointer casting. A valid | 426 | // [type@GLib.HashTable] without function pointer casting. A valid | ||
| 403 | // [type@GLib.VariantType] must be provided. | 427 | // [type@GLib.VariantType] must be provided. | ||
| 404 | func (x *VariantType) Hash() uint { | 428 | func (x *VariantType) Hash() uint { | ||
| 429 | + | core.LazyRegister(&xVariantTypeHash, "GLIB", "g_variant_type_hash", false) | |||
| 430 | + | ||||
| 405 | cret := xVariantTypeHash(x.GoPointer()) | 431 | cret := xVariantTypeHash(x.GoPointer()) | ||
| 406 | return cret | 432 | return cret | ||
| 407 | } | 433 | } | ||
| @@ -416,6 +442,8 @@ var xVariantTypeIsArray func(uintptr) bool | |||||
| 416 | // definite subtype is an array type — `G_VARIANT_TYPE_ARRAY`, for | 442 | // definite subtype is an array type — `G_VARIANT_TYPE_ARRAY`, for | ||
| 417 | // example. | 443 | // example. | ||
| 418 | func (x *VariantType) IsArray() bool { | 444 | func (x *VariantType) IsArray() bool { | ||
| 445 | + | core.LazyRegister(&xVariantTypeIsArray, "GLIB", "g_variant_type_is_array", false) | |||
| 446 | + | ||||
| 419 | cret := xVariantTypeIsArray(x.GoPointer()) | 447 | cret := xVariantTypeIsArray(x.GoPointer()) | ||
| 420 | return cret | 448 | return cret | ||
| 421 | } | 449 | } | ||
| @@ -432,6 +460,8 @@ var xVariantTypeIsBasic func(uintptr) bool | |||||
| 432 | // This function returns `FALSE` for all indefinite types except | 460 | // This function returns `FALSE` for all indefinite types except | ||
| 433 | // `G_VARIANT_TYPE_BASIC`. | 461 | // `G_VARIANT_TYPE_BASIC`. | ||
| 434 | func (x *VariantType) IsBasic() bool { | 462 | func (x *VariantType) IsBasic() bool { | ||
| 463 | + | core.LazyRegister(&xVariantTypeIsBasic, "GLIB", "g_variant_type_is_basic", false) | |||
| 464 | + | ||||
| 435 | cret := xVariantTypeIsBasic(x.GoPointer()) | 465 | cret := xVariantTypeIsBasic(x.GoPointer()) | ||
| 436 | return cret | 466 | return cret | ||
| 437 | } | 467 | } | ||
| @@ -447,6 +477,8 @@ var xVariantTypeIsContainer func(uintptr) bool | |||||
| 447 | // definite subtype is a container — `G_VARIANT_TYPE_ARRAY`, for | 477 | // definite subtype is a container — `G_VARIANT_TYPE_ARRAY`, for | ||
| 448 | // example. | 478 | // example. | ||
| 449 | func (x *VariantType) IsContainer() bool { | 479 | func (x *VariantType) IsContainer() bool { | ||
| 480 | + | core.LazyRegister(&xVariantTypeIsContainer, "GLIB", "g_variant_type_is_container", false) | |||
| 481 | + | ||||
| 450 | cret := xVariantTypeIsContainer(x.GoPointer()) | 482 | cret := xVariantTypeIsContainer(x.GoPointer()) | ||
| 451 | return cret | 483 | return cret | ||
| 452 | } | 484 | } | ||
| @@ -464,6 +496,8 @@ var xVariantTypeIsDefinite func(uintptr) bool | |||||
| 464 | // indefinite type like `G_VARIANT_TYPE_ARRAY`, however, will result in | 496 | // indefinite type like `G_VARIANT_TYPE_ARRAY`, however, will result in | ||
| 465 | // `FALSE` being returned. | 497 | // `FALSE` being returned. | ||
| 466 | func (x *VariantType) IsDefinite() bool { | 498 | func (x *VariantType) IsDefinite() bool { | ||
| 499 | + | core.LazyRegister(&xVariantTypeIsDefinite, "GLIB", "g_variant_type_is_definite", false) | |||
| 500 | + | ||||
| 467 | cret := xVariantTypeIsDefinite(x.GoPointer()) | 501 | cret := xVariantTypeIsDefinite(x.GoPointer()) | ||
| 468 | return cret | 502 | return cret | ||
| 469 | } | 503 | } | ||
| @@ -478,6 +512,8 @@ var xVariantTypeIsDictEntry func(uintptr) bool | |||||
| 478 | // definite subtype is a dictionary entry type — | 512 | // definite subtype is a dictionary entry type — | ||
| 479 | // `G_VARIANT_TYPE_DICT_ENTRY`, for example. | 513 | // `G_VARIANT_TYPE_DICT_ENTRY`, for example. | ||
| 480 | func (x *VariantType) IsDictEntry() bool { | 514 | func (x *VariantType) IsDictEntry() bool { | ||
| 515 | + | core.LazyRegister(&xVariantTypeIsDictEntry, "GLIB", "g_variant_type_is_dict_entry", false) | |||
| 516 | + | ||||
| 481 | cret := xVariantTypeIsDictEntry(x.GoPointer()) | 517 | cret := xVariantTypeIsDictEntry(x.GoPointer()) | ||
| 482 | return cret | 518 | return cret | ||
| 483 | } | 519 | } | ||
| @@ -492,6 +528,8 @@ var xVariantTypeIsMaybe func(uintptr) bool | |||||
| 492 | // definite subtype is a ‘maybe’ type — `G_VARIANT_TYPE_MAYBE`, for | 528 | // definite subtype is a ‘maybe’ type — `G_VARIANT_TYPE_MAYBE`, for | ||
| 493 | // example. | 529 | // example. | ||
| 494 | func (x *VariantType) IsMaybe() bool { | 530 | func (x *VariantType) IsMaybe() bool { | ||
| 531 | + | core.LazyRegister(&xVariantTypeIsMaybe, "GLIB", "g_variant_type_is_maybe", false) | |||
| 532 | + | ||||
| 495 | cret := xVariantTypeIsMaybe(x.GoPointer()) | 533 | cret := xVariantTypeIsMaybe(x.GoPointer()) | ||
| 496 | return cret | 534 | return cret | ||
| 497 | } | 535 | } | ||
| @@ -504,6 +542,8 @@ var xVariantTypeIsSubtypeOf func(uintptr, *VariantType) bool | |||||
| 504 | // types are considered to be subtypes of themselves. Aside from that, | 542 | // types are considered to be subtypes of themselves. Aside from that, | ||
| 505 | // only indefinite types can have subtypes. | 543 | // only indefinite types can have subtypes. | ||
| 506 | func (x *VariantType) IsSubtypeOf(SupertypeVar *VariantType) bool { | 544 | func (x *VariantType) IsSubtypeOf(SupertypeVar *VariantType) bool { | ||
| 545 | + | core.LazyRegister(&xVariantTypeIsSubtypeOf, "GLIB", "g_variant_type_is_subtype_of", false) | |||
| 546 | + | ||||
| 507 | cret := xVariantTypeIsSubtypeOf(x.GoPointer(), SupertypeVar) | 547 | cret := xVariantTypeIsSubtypeOf(x.GoPointer(), SupertypeVar) | ||
| 508 | return cret | 548 | return cret | ||
| 509 | } | 549 | } | ||
| @@ -519,6 +559,8 @@ var xVariantTypeIsTuple func(uintptr) bool | |||||
| 519 | // definite subtype is a tuple type — `G_VARIANT_TYPE_TUPLE`, for | 559 | // definite subtype is a tuple type — `G_VARIANT_TYPE_TUPLE`, for | ||
| 520 | // example. | 560 | // example. | ||
| 521 | func (x *VariantType) IsTuple() bool { | 561 | func (x *VariantType) IsTuple() bool { | ||
| 562 | + | core.LazyRegister(&xVariantTypeIsTuple, "GLIB", "g_variant_type_is_tuple", false) | |||
| 563 | + | ||||
| 522 | cret := xVariantTypeIsTuple(x.GoPointer()) | 564 | cret := xVariantTypeIsTuple(x.GoPointer()) | ||
| 523 | return cret | 565 | return cret | ||
| 524 | } | 566 | } | ||
| @@ -527,6 +569,8 @@ var xVariantTypeIsVariant func(uintptr) bool | |||||
| 527 | 569 | ||||
| 528 | // Determines if the given @type is the variant type. | 570 | // Determines if the given @type is the variant type. | ||
| 529 | func (x *VariantType) IsVariant() bool { | 571 | func (x *VariantType) IsVariant() bool { | ||
| 572 | + | core.LazyRegister(&xVariantTypeIsVariant, "GLIB", "g_variant_type_is_variant", false) | |||
| 573 | + | ||||
| 530 | cret := xVariantTypeIsVariant(x.GoPointer()) | 574 | cret := xVariantTypeIsVariant(x.GoPointer()) | ||
| 531 | return cret | 575 | return cret | ||
| 532 | } | 576 | } | ||
| @@ -539,6 +583,8 @@ var xVariantTypeKey func(uintptr) uintptr | |||||
| 539 | // than the additional restriction, this call is equivalent to | 583 | // than the additional restriction, this call is equivalent to | ||
| 540 | // [method@GLib.VariantType.first]. | 584 | // [method@GLib.VariantType.first]. | ||
| 541 | func (x *VariantType) Key() *VariantType { | 585 | func (x *VariantType) Key() *VariantType { | ||
| 586 | + | core.LazyRegister(&xVariantTypeKey, "GLIB", "g_variant_type_key", false) | |||
| 587 | + | ||||
| 542 | cret := xVariantTypeKey(x.GoPointer()) | 588 | cret := xVariantTypeKey(x.GoPointer()) | ||
| 543 | if cret == 0 { | 589 | if cret == 0 { | ||
| 544 | return nil | 590 | return nil | ||
| @@ -558,6 +604,8 @@ var xVariantTypeNItems func(uintptr) uint | |||||
| 558 | // In the case of a dictionary entry type, this function will always | 604 | // In the case of a dictionary entry type, this function will always | ||
| 559 | // return `2`. | 605 | // return `2`. | ||
| 560 | func (x *VariantType) NItems() uint { | 606 | func (x *VariantType) NItems() uint { | ||
| 607 | + | core.LazyRegister(&xVariantTypeNItems, "GLIB", "g_variant_type_n_items", false) | |||
| 608 | + | ||||
| 561 | cret := xVariantTypeNItems(x.GoPointer()) | 609 | cret := xVariantTypeNItems(x.GoPointer()) | ||
| 562 | return cret | 610 | return cret | ||
| 563 | } | 611 | } | ||
| @@ -576,6 +624,8 @@ var xVariantTypeNext func(uintptr) uintptr | |||||
| 576 | // | 624 | // | ||
| 577 | // For tuples, `NULL` is returned when @type is the last item in the tuple. | 625 | // For tuples, `NULL` is returned when @type is the last item in the tuple. | ||
| 578 | func (x *VariantType) Next() *VariantType { | 626 | func (x *VariantType) Next() *VariantType { | ||
| 627 | + | core.LazyRegister(&xVariantTypeNext, "GLIB", "g_variant_type_next", false) | |||
| 628 | + | ||||
| 579 | cret := xVariantTypeNext(x.GoPointer()) | 629 | cret := xVariantTypeNext(x.GoPointer()) | ||
| 580 | if cret == 0 { | 630 | if cret == 0 { | ||
| 581 | return nil | 631 | return nil | ||
| @@ -592,6 +642,8 @@ var xVariantTypePeekString func(uintptr) string | |||||
| 592 | // | 642 | // | ||
| 593 | // To get a nul-terminated string, see [method@GLib.VariantType.dup_string]. | 643 | // To get a nul-terminated string, see [method@GLib.VariantType.dup_string]. | ||
| 594 | func (x *VariantType) PeekString() string { | 644 | func (x *VariantType) PeekString() string { | ||
| 645 | + | core.LazyRegister(&xVariantTypePeekString, "GLIB", "g_variant_type_peek_string", false) | |||
| 646 | + | ||||
| 595 | cret := xVariantTypePeekString(x.GoPointer()) | 647 | cret := xVariantTypePeekString(x.GoPointer()) | ||
| 596 | return cret | 648 | return cret | ||
| 597 | } | 649 | } | ||
| @@ -602,6 +654,8 @@ var xVariantTypeValue func(uintptr) uintptr | |||||
| 602 | // | 654 | // | ||
| 603 | // This function may only be used with a dictionary entry type. | 655 | // This function may only be used with a dictionary entry type. | ||
| 604 | func (x *VariantType) Value() *VariantType { | 656 | func (x *VariantType) Value() *VariantType { | ||
| 657 | + | core.LazyRegister(&xVariantTypeValue, "GLIB", "g_variant_type_value", false) | |||
| 658 | + | ||||
| 605 | cret := xVariantTypeValue(x.GoPointer()) | 659 | cret := xVariantTypeValue(x.GoPointer()) | ||
| 606 | if cret == 0 { | 660 | if cret == 0 { | ||
| 607 | return nil | 661 | return nil | ||
| @@ -612,6 +666,8 @@ func (x *VariantType) Value() *VariantType { | |||||
| 612 | var xVariantTypeChecked func(string) uintptr | 666 | var xVariantTypeChecked func(string) uintptr | ||
| 613 | 667 | ||||
| 614 | func VariantTypeChecked(TypeStringVar string) *VariantType { | 668 | func VariantTypeChecked(TypeStringVar string) *VariantType { | ||
| 669 | + | core.LazyRegister(&xVariantTypeChecked, "GLIB", "g_variant_type_checked_", false) | |||
| 670 | + | ||||
| 615 | cret := xVariantTypeChecked(TypeStringVar) | 671 | cret := xVariantTypeChecked(TypeStringVar) | ||
| 616 | if cret == 0 { | 672 | if cret == 0 { | ||
| 617 | return nil | 673 | return nil | ||
| @@ -622,6 +678,8 @@ func VariantTypeChecked(TypeStringVar string) *VariantType { | |||||
| 622 | var xVariantTypeStringGetDepth func(string) uint | 678 | var xVariantTypeStringGetDepth func(string) uint | ||
| 623 | 679 | ||||
| 624 | func VariantTypeStringGetDepth(TypeStringVar string) uint { | 680 | func VariantTypeStringGetDepth(TypeStringVar string) uint { | ||
| 681 | + | core.LazyRegister(&xVariantTypeStringGetDepth, "GLIB", "g_variant_type_string_get_depth_", false) | |||
| 682 | + | ||||
| 625 | cret := xVariantTypeStringGetDepth(TypeStringVar) | 683 | cret := xVariantTypeStringGetDepth(TypeStringVar) | ||
| 626 | return cret | 684 | return cret | ||
| 627 | } | 685 | } | ||
| @@ -634,6 +692,8 @@ var xVariantTypeStringIsValid func(string) bool | |||||
| 634 | // This call is equivalent to calling [func@GLib.VariantType.string_scan] and | 692 | // This call is equivalent to calling [func@GLib.VariantType.string_scan] and | ||
| 635 | // confirming that the following character is a nul terminator. | 693 | // confirming that the following character is a nul terminator. | ||
| 636 | func VariantTypeStringIsValid(TypeStringVar string) bool { | 694 | func VariantTypeStringIsValid(TypeStringVar string) bool { | ||
| 695 | + | core.LazyRegister(&xVariantTypeStringIsValid, "GLIB", "g_variant_type_string_is_valid", false) | |||
| 696 | + | ||||
| 637 | cret := xVariantTypeStringIsValid(TypeStringVar) | 697 | cret := xVariantTypeStringIsValid(TypeStringVar) | ||
| 638 | return cret | 698 | return cret | ||
| 639 | } | 699 | } | ||
| @@ -655,6 +715,8 @@ var xVariantTypeStringScan func(string, uintptr, *string) bool | |||||
| 655 | // For the simple case of checking if a string is a valid type string, | 715 | // For the simple case of checking if a string is a valid type string, | ||
| 656 | // see [func@GLib.VariantType.string_is_valid]. | 716 | // see [func@GLib.VariantType.string_is_valid]. | ||
| 657 | func VariantTypeStringScan(StringVar string, LimitVar *string, EndptrVar *string) bool { | 717 | func VariantTypeStringScan(StringVar string, LimitVar *string, EndptrVar *string) bool { | ||
| 718 | + | core.LazyRegister(&xVariantTypeStringScan, "GLIB", "g_variant_type_string_scan", false) | |||
| 719 | + | ||||
| 658 | LimitVarPtr := core.GStrdupNullable(LimitVar) | 720 | LimitVarPtr := core.GStrdupNullable(LimitVar) | ||
| 659 | defer core.GFreeNullable(LimitVarPtr) | 721 | defer core.GFreeNullable(LimitVarPtr) | ||
| 660 | 722 | ||||
| @@ -665,48 +727,4 @@ func VariantTypeStringScan(StringVar string, LimitVar *string, EndptrVar *string | |||||
| 665 | func init() { | 727 | func init() { | ||
| 666 | core.SetPackageName("GLIB", "glib-2.0") | 728 | core.SetPackageName("GLIB", "glib-2.0") | ||
| 667 | core.SetSharedLibraries("GLIB", []string{"libgobject-2.0.so.0", "libglib-2.0.so.0", "libgobject-2.0.0.dylib", "libglib-2.0.0.dylib"}) | 729 | core.SetSharedLibraries("GLIB", []string{"libgobject-2.0.so.0", "libglib-2.0.so.0", "libgobject-2.0.0.dylib", "libglib-2.0.0.dylib"}) | ||
| 668 | - | var libs []uintptr | |||
| 669 | - | for _, libPath := range core.GetPaths("GLIB") { | |||
| 670 | - | lib, err := purego.Dlopen(libPath, purego.RTLD_NOW|purego.RTLD_GLOBAL) | |||
| 671 | - | if err != nil { | |||
| 672 | - | panic(err) | |||
| 673 | - | } | |||
| 674 | - | libs = append(libs, lib) | |||
| 675 | - | } | |||
| 676 | - | ||||
| 677 | - | core.PuregoSafeRegister(&xVariantTypeChecked, libs, "g_variant_type_checked_") | |||
| 678 | - | core.PuregoSafeRegister(&xVariantTypeStringGetDepth, libs, "g_variant_type_string_get_depth_") | |||
| 679 | - | core.PuregoSafeRegister(&xVariantTypeStringIsValid, libs, "g_variant_type_string_is_valid") | |||
| 680 | - | core.PuregoSafeRegister(&xVariantTypeStringScan, libs, "g_variant_type_string_scan") | |||
| 681 | - | ||||
| 682 | - | core.PuregoSafeRegister(&xVariantTypeGLibType, libs, "g_variant_type_get_gtype") | |||
| 683 | - | ||||
| 684 | - | core.PuregoSafeRegister(&xNewVariantType, libs, "g_variant_type_new") | |||
| 685 | - | core.PuregoSafeRegister(&xNewVariantTypeArray, libs, "g_variant_type_new_array") | |||
| 686 | - | core.PuregoSafeRegister(&xNewVariantTypeDictEntry, libs, "g_variant_type_new_dict_entry") | |||
| 687 | - | core.PuregoSafeRegister(&xNewVariantTypeMaybe, libs, "g_variant_type_new_maybe") | |||
| 688 | - | core.PuregoSafeRegister(&xNewVariantTypeTuple, libs, "g_variant_type_new_tuple") | |||
| 689 | - | ||||
| 690 | - | core.PuregoSafeRegister(&xVariantTypeCopy, libs, "g_variant_type_copy") | |||
| 691 | - | core.PuregoSafeRegister(&xVariantTypeDupString, libs, "g_variant_type_dup_string") | |||
| 692 | - | core.PuregoSafeRegister(&xVariantTypeElement, libs, "g_variant_type_element") | |||
| 693 | - | core.PuregoSafeRegister(&xVariantTypeEqual, libs, "g_variant_type_equal") | |||
| 694 | - | core.PuregoSafeRegister(&xVariantTypeFirst, libs, "g_variant_type_first") | |||
| 695 | - | core.PuregoSafeRegister(&xVariantTypeFree, libs, "g_variant_type_free") | |||
| 696 | - | core.PuregoSafeRegister(&xVariantTypeGetStringLength, libs, "g_variant_type_get_string_length") | |||
| 697 | - | core.PuregoSafeRegister(&xVariantTypeHash, libs, "g_variant_type_hash") | |||
| 698 | - | core.PuregoSafeRegister(&xVariantTypeIsArray, libs, "g_variant_type_is_array") | |||
| 699 | - | core.PuregoSafeRegister(&xVariantTypeIsBasic, libs, "g_variant_type_is_basic") | |||
| 700 | - | core.PuregoSafeRegister(&xVariantTypeIsContainer, libs, "g_variant_type_is_container") | |||
| 701 | - | core.PuregoSafeRegister(&xVariantTypeIsDefinite, libs, "g_variant_type_is_definite") | |||
| 702 | - | core.PuregoSafeRegister(&xVariantTypeIsDictEntry, libs, "g_variant_type_is_dict_entry") | |||
| 703 | - | core.PuregoSafeRegister(&xVariantTypeIsMaybe, libs, "g_variant_type_is_maybe") | |||
| 704 | - | core.PuregoSafeRegister(&xVariantTypeIsSubtypeOf, libs, "g_variant_type_is_subtype_of") | |||
| 705 | - | core.PuregoSafeRegister(&xVariantTypeIsTuple, libs, "g_variant_type_is_tuple") | |||
| 706 | - | core.PuregoSafeRegister(&xVariantTypeIsVariant, libs, "g_variant_type_is_variant") | |||
| 707 | - | core.PuregoSafeRegister(&xVariantTypeKey, libs, "g_variant_type_key") | |||
| 708 | - | core.PuregoSafeRegister(&xVariantTypeNItems, libs, "g_variant_type_n_items") | |||
| 709 | - | core.PuregoSafeRegister(&xVariantTypeNext, libs, "g_variant_type_next") | |||
| 710 | - | core.PuregoSafeRegister(&xVariantTypePeekString, libs, "g_variant_type_peek_string") | |||
| 711 | - | core.PuregoSafeRegister(&xVariantTypeValue, libs, "g_variant_type_value") | |||
| 712 | } | 730 | } | ||