Merge pull request #350 from bnema/fix/repin-fixed-puregotk
fix(deps): validate puregotk lazy registration fix
907 files · +27874 -25296
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.20260714200603-7370c78950ef | |
| 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.20260714200603-7370c78950ef |
| 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 -18 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 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gversion.go +3 -14 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/main.go +31 -28 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gmodule/gmodule.go +14 -18 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gmodule/main.go +2 -11 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/gbinding.go +14 -22 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/gbindinggroup.go +11 -19 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/gboxed.go +6 -13 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/gclosure.go +37 -31 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/genums.go +24 -22 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/glib-types.go +2 -11 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/gmarshal.go +45 -35 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/gobject.go +116 -82 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/gparam.go +54 -43 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/gparamspecs.go +46 -79 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/gsignal.go +79 -50 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/gsignalgroup.go +21 -24 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/gsourceclosure.go +4 -12 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/gtype.go +136 -82 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/gtypemodule.go +15 -18 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/gtypeplugin.go +26 -20 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/gvalue.go +141 -85
| @@ -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/glib" | |
| 11 | 10 | "github.com/bnema/puregotk/v4/gobject/types" | |
| @@ -47,6 +46,7 @@ type Value struct { | |||
| 47 | 46 | var xValueGLibType func() types.GType | |
| 48 | 47 | ||
| 49 | 48 | func ValueGLibType() types.GType { | |
| 49 | + | core.LazyRegister(&xValueGLibType, "GOBJECT", "g_value_get_type", false) | |
| 50 | 50 | return xValueGLibType() | |
| 51 | 51 | } | |
| 52 | 52 | ||
| @@ -66,6 +66,8 @@ var xValueCopy func(uintptr, *Value) | |||
| 66 | 66 | ||
| 67 | 67 | // Copies the value of @src_value into @dest_value. | |
| 68 | 68 | func (x *Value) Copy(DestValueVar *Value) { | |
| 69 | + | core.LazyRegister(&xValueCopy, "GOBJECT", "g_value_copy", false) | |
| 70 | + | ||
| 69 | 71 | xValueCopy(x.GoPointer(), DestValueVar) | |
| 70 | 72 | } | |
| 71 | 73 | ||
| @@ -76,6 +78,8 @@ var xValueDupBoxed func(uintptr) uintptr | |||
| 76 | 78 | // g_boxed_free(), e.g. like: g_boxed_free (G_VALUE_TYPE (@value), | |
| 77 | 79 | // return_value); | |
| 78 | 80 | func (x *Value) DupBoxed() uintptr { | |
| 81 | + | core.LazyRegister(&xValueDupBoxed, "GOBJECT", "g_value_dup_boxed", false) | |
| 82 | + | ||
| 79 | 83 | cret := xValueDupBoxed(x.GoPointer()) | |
| 80 | 84 | return cret | |
| 81 | 85 | } | |
| @@ -86,6 +90,7 @@ var xValueDupObject func(uintptr) uintptr | |||
| 86 | 90 | // its reference count. If the contents of the #GValue are %NULL, then | |
| 87 | 91 | // %NULL will be returned. | |
| 88 | 92 | func (x *Value) DupObject() *Object { | |
| 93 | + | core.LazyRegister(&xValueDupObject, "GOBJECT", "g_value_dup_object", false) | |
| 89 | 94 | var cls *Object | |
| 90 | 95 | ||
| 91 | 96 | cret := xValueDupObject(x.GoPointer()) | |
| @@ -103,6 +108,7 @@ var xValueDupParam func(uintptr) uintptr | |||
| 103 | 108 | // Get the contents of a %G_TYPE_PARAM #GValue, increasing its | |
| 104 | 109 | // reference count. | |
| 105 | 110 | func (x *Value) DupParam() *ParamSpec { | |
| 111 | + | core.LazyRegister(&xValueDupParam, "GOBJECT", "g_value_dup_param", false) | |
| 106 | 112 | var cls *ParamSpec | |
| 107 | 113 | ||
| 108 | 114 | cret := xValueDupParam(x.GoPointer()) | |
| @@ -119,6 +125,8 @@ var xValueDupString func(uintptr) string | |||
| 119 | 125 | ||
| 120 | 126 | // Get a copy the contents of a %G_TYPE_STRING #GValue. | |
| 121 | 127 | func (x *Value) DupString() string { | |
| 128 | + | core.LazyRegister(&xValueDupString, "GOBJECT", "g_value_dup_string", false) | |
| 129 | + | ||
| 122 | 130 | cret := xValueDupString(x.GoPointer()) | |
| 123 | 131 | return cret | |
| 124 | 132 | } | |
| @@ -128,6 +136,8 @@ var xValueDupVariant func(uintptr) uintptr | |||
| 128 | 136 | // Get the contents of a variant #GValue, increasing its refcount. The returned | |
| 129 | 137 | // #GVariant is never floating. | |
| 130 | 138 | func (x *Value) DupVariant() *glib.Variant { | |
| 139 | + | core.LazyRegister(&xValueDupVariant, "GOBJECT", "g_value_dup_variant", false) | |
| 140 | + | ||
| 131 | 141 | cret := xValueDupVariant(x.GoPointer()) | |
| 132 | 142 | if cret == 0 { | |
| 133 | 143 | return nil | |
| @@ -141,6 +151,8 @@ var xValueFitsPointer func(uintptr) bool | |||
| 141 | 151 | // | |
| 142 | 152 | // This is an internal function introduced mainly for C marshallers. | |
| 143 | 153 | func (x *Value) FitsPointer() bool { | |
| 154 | + | core.LazyRegister(&xValueFitsPointer, "GOBJECT", "g_value_fits_pointer", false) | |
| 155 | + | ||
| 144 | 156 | cret := xValueFitsPointer(x.GoPointer()) | |
| 145 | 157 | return cret | |
| 146 | 158 | } | |
| @@ -149,6 +161,8 @@ var xValueGetBoolean func(uintptr) bool | |||
| 149 | 161 | ||
| 150 | 162 | // Get the contents of a %G_TYPE_BOOLEAN #GValue. | |
| 151 | 163 | func (x *Value) GetBoolean() bool { | |
| 164 | + | core.LazyRegister(&xValueGetBoolean, "GOBJECT", "g_value_get_boolean", false) | |
| 165 | + | ||
| 152 | 166 | cret := xValueGetBoolean(x.GoPointer()) | |
| 153 | 167 | return cret | |
| 154 | 168 | } | |
| @@ -157,6 +171,8 @@ var xValueGetBoxed func(uintptr) uintptr | |||
| 157 | 171 | ||
| 158 | 172 | // Get the contents of a %G_TYPE_BOXED derived #GValue. | |
| 159 | 173 | func (x *Value) GetBoxed() uintptr { | |
| 174 | + | core.LazyRegister(&xValueGetBoxed, "GOBJECT", "g_value_get_boxed", false) | |
| 175 | + | ||
| 160 | 176 | cret := xValueGetBoxed(x.GoPointer()) | |
| 161 | 177 | return cret | |
| 162 | 178 | } | |
| @@ -168,6 +184,8 @@ var xValueGetChar func(uintptr) byte | |||
| 168 | 184 | // | |
| 169 | 185 | // Get the contents of a %G_TYPE_CHAR #GValue. | |
| 170 | 186 | func (x *Value) GetChar() byte { | |
| 187 | + | core.LazyRegister(&xValueGetChar, "GOBJECT", "g_value_get_char", false) | |
| 188 | + | ||
| 171 | 189 | cret := xValueGetChar(x.GoPointer()) | |
| 172 | 190 | return cret | |
| 173 | 191 | } | |
| @@ -176,6 +194,8 @@ var xValueGetDouble func(uintptr) float64 | |||
| 176 | 194 | ||
| 177 | 195 | // Get the contents of a %G_TYPE_DOUBLE #GValue. | |
| 178 | 196 | func (x *Value) GetDouble() float64 { | |
| 197 | + | core.LazyRegister(&xValueGetDouble, "GOBJECT", "g_value_get_double", false) | |
| 198 | + | ||
| 179 | 199 | cret := xValueGetDouble(x.GoPointer()) | |
| 180 | 200 | return cret | |
| 181 | 201 | } | |
| @@ -184,6 +204,8 @@ var xValueGetEnum func(uintptr) int | |||
| 184 | 204 | ||
| 185 | 205 | // Get the contents of a %G_TYPE_ENUM #GValue. | |
| 186 | 206 | func (x *Value) GetEnum() int { | |
| 207 | + | core.LazyRegister(&xValueGetEnum, "GOBJECT", "g_value_get_enum", false) | |
| 208 | + | ||
| 187 | 209 | cret := xValueGetEnum(x.GoPointer()) | |
| 188 | 210 | return cret | |
| 189 | 211 | } | |
| @@ -192,6 +214,8 @@ var xValueGetFlags func(uintptr) uint | |||
| 192 | 214 | ||
| 193 | 215 | // Get the contents of a %G_TYPE_FLAGS #GValue. | |
| 194 | 216 | func (x *Value) GetFlags() uint { | |
| 217 | + | core.LazyRegister(&xValueGetFlags, "GOBJECT", "g_value_get_flags", false) | |
| 218 | + | ||
| 195 | 219 | cret := xValueGetFlags(x.GoPointer()) | |
| 196 | 220 | return cret | |
| 197 | 221 | } | |
| @@ -200,6 +224,8 @@ var xValueGetFloat func(uintptr) float32 | |||
| 200 | 224 | ||
| 201 | 225 | // Get the contents of a %G_TYPE_FLOAT #GValue. | |
| 202 | 226 | func (x *Value) GetFloat() float32 { | |
| 227 | + | core.LazyRegister(&xValueGetFloat, "GOBJECT", "g_value_get_float", false) | |
| 228 | + | ||
| 203 | 229 | cret := xValueGetFloat(x.GoPointer()) | |
| 204 | 230 | return cret | |
| 205 | 231 | } | |
| @@ -208,6 +234,8 @@ var xValueGetGtype func(uintptr) types.GType | |||
| 208 | 234 | ||
| 209 | 235 | // Get the contents of a %G_TYPE_GTYPE #GValue. | |
| 210 | 236 | func (x *Value) GetGtype() types.GType { | |
| 237 | + | core.LazyRegister(&xValueGetGtype, "GOBJECT", "g_value_get_gtype", false) | |
| 238 | + | ||
| 211 | 239 | cret := xValueGetGtype(x.GoPointer()) | |
| 212 | 240 | return cret | |
| 213 | 241 | } | |
| @@ -216,6 +244,8 @@ var xValueGetInt func(uintptr) int | |||
| 216 | 244 | ||
| 217 | 245 | // Get the contents of a %G_TYPE_INT #GValue. | |
| 218 | 246 | func (x *Value) GetInt() int { | |
| 247 | + | core.LazyRegister(&xValueGetInt, "GOBJECT", "g_value_get_int", false) | |
| 248 | + | ||
| 219 | 249 | cret := xValueGetInt(x.GoPointer()) | |
| 220 | 250 | return cret | |
| 221 | 251 | } | |
| @@ -224,6 +254,8 @@ var xValueGetInt64 func(uintptr) int64 | |||
| 224 | 254 | ||
| 225 | 255 | // Get the contents of a %G_TYPE_INT64 #GValue. | |
| 226 | 256 | func (x *Value) GetInt64() int64 { | |
| 257 | + | core.LazyRegister(&xValueGetInt64, "GOBJECT", "g_value_get_int64", false) | |
| 258 | + | ||
| 227 | 259 | cret := xValueGetInt64(x.GoPointer()) | |
| 228 | 260 | return cret | |
| 229 | 261 | } | |
| @@ -232,6 +264,8 @@ var xValueGetLong func(uintptr) int | |||
| 232 | 264 | ||
| 233 | 265 | // Get the contents of a %G_TYPE_LONG #GValue. | |
| 234 | 266 | func (x *Value) GetLong() int { | |
| 267 | + | core.LazyRegister(&xValueGetLong, "GOBJECT", "g_value_get_long", false) | |
| 268 | + | ||
| 235 | 269 | cret := xValueGetLong(x.GoPointer()) | |
| 236 | 270 | return cret | |
| 237 | 271 | } | |
| @@ -240,6 +274,7 @@ var xValueGetObject func(uintptr) uintptr | |||
| 240 | 274 | ||
| 241 | 275 | // Get the contents of a %G_TYPE_OBJECT derived #GValue. | |
| 242 | 276 | func (x *Value) GetObject() *Object { | |
| 277 | + | core.LazyRegister(&xValueGetObject, "GOBJECT", "g_value_get_object", false) | |
| 243 | 278 | var cls *Object | |
| 244 | 279 | ||
| 245 | 280 | cret := xValueGetObject(x.GoPointer()) | |
| @@ -257,6 +292,7 @@ var xValueGetParam func(uintptr) uintptr | |||
| 257 | 292 | ||
| 258 | 293 | // Get the contents of a %G_TYPE_PARAM #GValue. | |
| 259 | 294 | func (x *Value) GetParam() *ParamSpec { | |
| 295 | + | core.LazyRegister(&xValueGetParam, "GOBJECT", "g_value_get_param", false) | |
| 260 | 296 | var cls *ParamSpec | |
| 261 | 297 | ||
| 262 | 298 | cret := xValueGetParam(x.GoPointer()) | |
| @@ -274,6 +310,8 @@ var xValueGetPointer func(uintptr) uintptr | |||
| 274 | 310 | ||
| 275 | 311 | // Get the contents of a pointer #GValue. | |
| 276 | 312 | func (x *Value) GetPointer() uintptr { | |
| 313 | + | core.LazyRegister(&xValueGetPointer, "GOBJECT", "g_value_get_pointer", false) | |
| 314 | + | ||
| 277 | 315 | cret := xValueGetPointer(x.GoPointer()) | |
| 278 | 316 | return cret | |
| 279 | 317 | } | |
| @@ -282,6 +320,8 @@ var xValueGetSchar func(uintptr) int8 | |||
| 282 | 320 | ||
| 283 | 321 | // Get the contents of a %G_TYPE_CHAR #GValue. | |
| 284 | 322 | func (x *Value) GetSchar() int8 { | |
| 323 | + | core.LazyRegister(&xValueGetSchar, "GOBJECT", "g_value_get_schar", false) | |
| 324 | + | ||
| 285 | 325 | cret := xValueGetSchar(x.GoPointer()) | |
| 286 | 326 | return cret | |
| 287 | 327 | } | |
| @@ -290,6 +330,8 @@ var xValueGetString func(uintptr) string | |||
| 290 | 330 | ||
| 291 | 331 | // Get the contents of a %G_TYPE_STRING #GValue. | |
| 292 | 332 | func (x *Value) GetString() string { | |
| 333 | + | core.LazyRegister(&xValueGetString, "GOBJECT", "g_value_get_string", false) | |
| 334 | + | ||
| 293 | 335 | cret := xValueGetString(x.GoPointer()) | |
| 294 | 336 | return cret | |
| 295 | 337 | } | |
| @@ -298,6 +340,8 @@ var xValueGetUchar func(uintptr) byte | |||
| 298 | 340 | ||
| 299 | 341 | // Get the contents of a %G_TYPE_UCHAR #GValue. | |
| 300 | 342 | func (x *Value) GetUchar() byte { | |
| 343 | + | core.LazyRegister(&xValueGetUchar, "GOBJECT", "g_value_get_uchar", false) | |
| 344 | + | ||
| 301 | 345 | cret := xValueGetUchar(x.GoPointer()) | |
| 302 | 346 | return cret | |
| 303 | 347 | } | |
| @@ -306,6 +350,8 @@ var xValueGetUint func(uintptr) uint | |||
| 306 | 350 | ||
| 307 | 351 | // Get the contents of a %G_TYPE_UINT #GValue. | |
| 308 | 352 | func (x *Value) GetUint() uint { | |
| 353 | + | core.LazyRegister(&xValueGetUint, "GOBJECT", "g_value_get_uint", false) | |
| 354 | + | ||
| 309 | 355 | cret := xValueGetUint(x.GoPointer()) | |
| 310 | 356 | return cret | |
| 311 | 357 | } | |
| @@ -314,6 +360,8 @@ var xValueGetUint64 func(uintptr) uint64 | |||
| 314 | 360 | ||
| 315 | 361 | // Get the contents of a %G_TYPE_UINT64 #GValue. | |
| 316 | 362 | func (x *Value) GetUint64() uint64 { | |
| 363 | + | core.LazyRegister(&xValueGetUint64, "GOBJECT", "g_value_get_uint64", false) | |
| 364 | + | ||
| 317 | 365 | cret := xValueGetUint64(x.GoPointer()) | |
| 318 | 366 | return cret | |
| 319 | 367 | } | |
| @@ -322,6 +370,8 @@ var xValueGetUlong func(uintptr) uint | |||
| 322 | 370 | ||
| 323 | 371 | // Get the contents of a %G_TYPE_ULONG #GValue. | |
| 324 | 372 | func (x *Value) GetUlong() uint { | |
| 373 | + | core.LazyRegister(&xValueGetUlong, "GOBJECT", "g_value_get_ulong", false) | |
| 374 | + | ||
| 325 | 375 | cret := xValueGetUlong(x.GoPointer()) | |
| 326 | 376 | return cret | |
| 327 | 377 | } | |
| @@ -330,6 +380,8 @@ var xValueGetVariant func(uintptr) uintptr | |||
| 330 | 380 | ||
| 331 | 381 | // Get the contents of a variant #GValue. | |
| 332 | 382 | func (x *Value) GetVariant() *glib.Variant { | |
| 383 | + | core.LazyRegister(&xValueGetVariant, "GOBJECT", "g_value_get_variant", false) | |
| 384 | + | ||
| 333 | 385 | cret := xValueGetVariant(x.GoPointer()) | |
| 334 | 386 | if cret == 0 { | |
| 335 | 387 | return nil | |
| @@ -355,6 +407,8 @@ var xValueInit func(uintptr, types.GType) uintptr | |||
| 355 | 407 | // | |
| 356 | 408 | // ``` | |
| 357 | 409 | func (x *Value) Init(GTypeVar types.GType) *Value { | |
| 410 | + | core.LazyRegister(&xValueInit, "GOBJECT", "g_value_init", false) | |
| 411 | + | ||
| 358 | 412 | cret := xValueInit(x.GoPointer(), GTypeVar) | |
| 359 | 413 | if cret == 0 { | |
| 360 | 414 | return nil | |
| @@ -374,6 +428,8 @@ var xValueInitFromInstance func(uintptr, *TypeInstance) | |||
| 374 | 428 | // [type@GObject.Type] (such as a parent class type), you need to manually call | |
| 375 | 429 | // [method@GObject.Value.init] and [method@GObject.Value.set_instance]. | |
| 376 | 430 | func (x *Value) InitFromInstance(InstanceVar *TypeInstance) { | |
| 431 | + | core.LazyRegister(&xValueInitFromInstance, "GOBJECT", "g_value_init_from_instance", false) | |
| 432 | + | ||
| 377 | 433 | xValueInitFromInstance(x.GoPointer(), InstanceVar) | |
| 378 | 434 | } | |
| 379 | 435 | ||
| @@ -386,6 +442,8 @@ var xValuePeekPointer func(uintptr) uintptr | |||
| 386 | 442 | // | |
| 387 | 443 | // This is an internal function introduced mainly for C marshallers. | |
| 388 | 444 | func (x *Value) PeekPointer() uintptr { | |
| 445 | + | core.LazyRegister(&xValuePeekPointer, "GOBJECT", "g_value_peek_pointer", false) | |
| 446 | + | ||
| 389 | 447 | cret := xValuePeekPointer(x.GoPointer()) | |
| 390 | 448 | return cret | |
| 391 | 449 | } | |
| @@ -396,6 +454,8 @@ var xValueReset func(uintptr) uintptr | |||
| 396 | 454 | // (as if the value had just been initialized using | |
| 397 | 455 | // [method@GObject.Value.init]). | |
| 398 | 456 | func (x *Value) Reset() *Value { | |
| 457 | + | core.LazyRegister(&xValueReset, "GOBJECT", "g_value_reset", false) | |
| 458 | + | ||
| 399 | 459 | cret := xValueReset(x.GoPointer()) | |
| 400 | 460 | if cret == 0 { | |
| 401 | 461 | return nil | |
| @@ -407,6 +467,8 @@ var xValueSetBoolean func(uintptr, bool) | |||
| 407 | 467 | ||
| 408 | 468 | // Set the contents of a %G_TYPE_BOOLEAN #GValue to @v_boolean. | |
| 409 | 469 | func (x *Value) SetBoolean(VBooleanVar bool) { | |
| 470 | + | core.LazyRegister(&xValueSetBoolean, "GOBJECT", "g_value_set_boolean", false) | |
| 471 | + | ||
| 410 | 472 | xValueSetBoolean(x.GoPointer(), VBooleanVar) | |
| 411 | 473 | } | |
| 412 | 474 | ||
| @@ -414,6 +476,8 @@ var xValueSetBoxed func(uintptr, uintptr) | |||
| 414 | 476 | ||
| 415 | 477 | // Set the contents of a %G_TYPE_BOXED derived #GValue to @v_boxed. | |
| 416 | 478 | func (x *Value) SetBoxed(VBoxedVar uintptr) { | |
| 479 | + | core.LazyRegister(&xValueSetBoxed, "GOBJECT", "g_value_set_boxed", false) | |
| 480 | + | ||
| 417 | 481 | xValueSetBoxed(x.GoPointer(), VBoxedVar) | |
| 418 | 482 | } | |
| 419 | 483 | ||
| @@ -421,6 +485,8 @@ var xValueSetBoxedTakeOwnership func(uintptr, uintptr) | |||
| 421 | 485 | ||
| 422 | 486 | // This is an internal function introduced mainly for C marshallers. | |
| 423 | 487 | func (x *Value) SetBoxedTakeOwnership(VBoxedVar uintptr) { | |
| 488 | + | core.LazyRegister(&xValueSetBoxedTakeOwnership, "GOBJECT", "g_value_set_boxed_take_ownership", false) | |
| 489 | + | ||
| 424 | 490 | xValueSetBoxedTakeOwnership(x.GoPointer(), VBoxedVar) | |
| 425 | 491 | } | |
| 426 | 492 | ||
| @@ -428,6 +494,8 @@ var xValueSetChar func(uintptr, byte) | |||
| 428 | 494 | ||
| 429 | 495 | // Set the contents of a %G_TYPE_CHAR #GValue to @v_char. | |
| 430 | 496 | func (x *Value) SetChar(VCharVar byte) { | |
| 497 | + | core.LazyRegister(&xValueSetChar, "GOBJECT", "g_value_set_char", false) | |
| 498 | + | ||
| 431 | 499 | xValueSetChar(x.GoPointer(), VCharVar) | |
| 432 | 500 | } | |
| 433 | 501 | ||
| @@ -435,6 +503,8 @@ var xValueSetDouble func(uintptr, float64) | |||
| 435 | 503 | ||
| 436 | 504 | // Set the contents of a %G_TYPE_DOUBLE #GValue to @v_double. | |
| 437 | 505 | func (x *Value) SetDouble(VDoubleVar float64) { | |
| 506 | + | core.LazyRegister(&xValueSetDouble, "GOBJECT", "g_value_set_double", false) | |
| 507 | + | ||
| 438 | 508 | xValueSetDouble(x.GoPointer(), VDoubleVar) | |
| 439 | 509 | } | |
| 440 | 510 | ||
| @@ -442,6 +512,8 @@ var xValueSetEnum func(uintptr, int) | |||
| 442 | 512 | ||
| 443 | 513 | // Set the contents of a %G_TYPE_ENUM #GValue to @v_enum. | |
| 444 | 514 | func (x *Value) SetEnum(VEnumVar int) { | |
| 515 | + | core.LazyRegister(&xValueSetEnum, "GOBJECT", "g_value_set_enum", false) | |
| 516 | + | ||
| 445 | 517 | xValueSetEnum(x.GoPointer(), VEnumVar) | |
| 446 | 518 | } | |
| 447 | 519 | ||
| @@ -449,6 +521,8 @@ var xValueSetFlags func(uintptr, uint) | |||
| 449 | 521 | ||
| 450 | 522 | // Set the contents of a %G_TYPE_FLAGS #GValue to @v_flags. | |
| 451 | 523 | func (x *Value) SetFlags(VFlagsVar uint) { | |
| 524 | + | core.LazyRegister(&xValueSetFlags, "GOBJECT", "g_value_set_flags", false) | |
| 525 | + | ||
| 452 | 526 | xValueSetFlags(x.GoPointer(), VFlagsVar) | |
| 453 | 527 | } | |
| 454 | 528 | ||
| @@ -456,6 +530,8 @@ var xValueSetFloat func(uintptr, float32) | |||
| 456 | 530 | ||
| 457 | 531 | // Set the contents of a %G_TYPE_FLOAT #GValue to @v_float. | |
| 458 | 532 | func (x *Value) SetFloat(VFloatVar float32) { | |
| 533 | + | core.LazyRegister(&xValueSetFloat, "GOBJECT", "g_value_set_float", false) | |
| 534 | + | ||
| 459 | 535 | xValueSetFloat(x.GoPointer(), VFloatVar) | |
| 460 | 536 | } | |
| 461 | 537 | ||
| @@ -463,6 +539,8 @@ var xValueSetGtype func(uintptr, types.GType) | |||
| 463 | 539 | ||
| 464 | 540 | // Set the contents of a %G_TYPE_GTYPE #GValue to @v_gtype. | |
| 465 | 541 | func (x *Value) SetGtype(VGtypeVar types.GType) { | |
| 542 | + | core.LazyRegister(&xValueSetGtype, "GOBJECT", "g_value_set_gtype", false) | |
| 543 | + | ||
| 466 | 544 | xValueSetGtype(x.GoPointer(), VGtypeVar) | |
| 467 | 545 | } | |
| 468 | 546 | ||
| @@ -473,6 +551,8 @@ var xValueSetInstance func(uintptr, uintptr) | |||
| 473 | 551 | // This calls the [callback@GObject.TypeValueCollectFunc] function for the type | |
| 474 | 552 | // the [struct@GObject.Value] contains. | |
| 475 | 553 | func (x *Value) SetInstance(InstanceVar uintptr) { | |
| 554 | + | core.LazyRegister(&xValueSetInstance, "GOBJECT", "g_value_set_instance", false) | |
| 555 | + | ||
| 476 | 556 | xValueSetInstance(x.GoPointer(), InstanceVar) | |
| 477 | 557 | } | |
| 478 | 558 | ||
| @@ -480,6 +560,8 @@ var xValueSetInt func(uintptr, int) | |||
| 480 | 560 | ||
| 481 | 561 | // Set the contents of a %G_TYPE_INT #GValue to @v_int. | |
| 482 | 562 | func (x *Value) SetInt(VIntVar int) { | |
| 563 | + | core.LazyRegister(&xValueSetInt, "GOBJECT", "g_value_set_int", false) | |
| 564 | + | ||
| 483 | 565 | xValueSetInt(x.GoPointer(), VIntVar) | |
| 484 | 566 | } | |
| 485 | 567 | ||
| @@ -487,6 +569,8 @@ var xValueSetInt64 func(uintptr, int64) | |||
| 487 | 569 | ||
| 488 | 570 | // Set the contents of a %G_TYPE_INT64 #GValue to @v_int64. | |
| 489 | 571 | func (x *Value) SetInt64(VInt64Var int64) { | |
| 572 | + | core.LazyRegister(&xValueSetInt64, "GOBJECT", "g_value_set_int64", false) | |
| 573 | + | ||
| 490 | 574 | xValueSetInt64(x.GoPointer(), VInt64Var) | |
| 491 | 575 | } | |
| 492 | 576 | ||
| @@ -496,6 +580,8 @@ var xValueSetInternedString func(uintptr, uintptr) | |||
| 496 | 580 | // assumed to be static and interned (canonical, for example from | |
| 497 | 581 | // g_intern_string()), and is thus not duplicated when setting the #GValue. | |
| 498 | 582 | func (x *Value) SetInternedString(VStringVar *string) { | |
| 583 | + | core.LazyRegister(&xValueSetInternedString, "GOBJECT", "g_value_set_interned_string", false) | |
| 584 | + | ||
| 499 | 585 | VStringVarPtr := core.GStrdupNullable(VStringVar) | |
| 500 | 586 | defer core.GFreeNullable(VStringVarPtr) | |
| 501 | 587 | ||
| @@ -506,6 +592,8 @@ var xValueSetLong func(uintptr, int) | |||
| 506 | 592 | ||
| 507 | 593 | // Set the contents of a %G_TYPE_LONG #GValue to @v_long. | |
| 508 | 594 | func (x *Value) SetLong(VLongVar int) { | |
| 595 | + | core.LazyRegister(&xValueSetLong, "GOBJECT", "g_value_set_long", false) | |
| 596 | + | ||
| 509 | 597 | xValueSetLong(x.GoPointer(), VLongVar) | |
| 510 | 598 | } | |
| 511 | 599 | ||
| @@ -523,6 +611,8 @@ var xValueSetObject func(uintptr, uintptr) | |||
| 523 | 611 | // own, or one it has taken) to ensure that the object won't be destroyed while | |
| 524 | 612 | // the #GValue still exists). | |
| 525 | 613 | func (x *Value) SetObject(VObjectVar *Object) { | |
| 614 | + | core.LazyRegister(&xValueSetObject, "GOBJECT", "g_value_set_object", false) | |
| 615 | + | ||
| 526 | 616 | xValueSetObject(x.GoPointer(), VObjectVar.GoPointer()) | |
| 527 | 617 | } | |
| 528 | 618 | ||
| @@ -530,6 +620,8 @@ var xValueSetObjectTakeOwnership func(uintptr, uintptr) | |||
| 530 | 620 | ||
| 531 | 621 | // This is an internal function introduced mainly for C marshallers. | |
| 532 | 622 | func (x *Value) SetObjectTakeOwnership(VObjectVar uintptr) { | |
| 623 | + | core.LazyRegister(&xValueSetObjectTakeOwnership, "GOBJECT", "g_value_set_object_take_ownership", false) | |
| 624 | + | ||
| 533 | 625 | xValueSetObjectTakeOwnership(x.GoPointer(), VObjectVar) | |
| 534 | 626 | } | |
| 535 | 627 | ||
| @@ -537,6 +629,8 @@ var xValueSetParam func(uintptr, uintptr) | |||
| 537 | 629 | ||
| 538 | 630 | // Set the contents of a %G_TYPE_PARAM #GValue to @param. | |
| 539 | 631 | func (x *Value) SetParam(ParamVar *ParamSpec) { | |
| 632 | + | core.LazyRegister(&xValueSetParam, "GOBJECT", "g_value_set_param", false) | |
| 633 | + | ||
| 540 | 634 | xValueSetParam(x.GoPointer(), ParamVar.GoPointer()) | |
| 541 | 635 | } | |
| 542 | 636 | ||
| @@ -544,6 +638,8 @@ var xValueSetParamTakeOwnership func(uintptr, uintptr) | |||
| 544 | 638 | ||
| 545 | 639 | // This is an internal function introduced mainly for C marshallers. | |
| 546 | 640 | func (x *Value) SetParamTakeOwnership(ParamVar *ParamSpec) { | |
| 641 | + | core.LazyRegister(&xValueSetParamTakeOwnership, "GOBJECT", "g_value_set_param_take_ownership", false) | |
| 642 | + | ||
| 547 | 643 | xValueSetParamTakeOwnership(x.GoPointer(), ParamVar.GoPointer()) | |
| 548 | 644 | } | |
| 549 | 645 | ||
| @@ -551,6 +647,8 @@ var xValueSetPointer func(uintptr, uintptr) | |||
| 551 | 647 | ||
| 552 | 648 | // Set the contents of a pointer #GValue to @v_pointer. | |
| 553 | 649 | func (x *Value) SetPointer(VPointerVar uintptr) { | |
| 650 | + | core.LazyRegister(&xValueSetPointer, "GOBJECT", "g_value_set_pointer", false) | |
| 651 | + | ||
| 554 | 652 | xValueSetPointer(x.GoPointer(), VPointerVar) | |
| 555 | 653 | } | |
| 556 | 654 | ||
| @@ -558,6 +656,8 @@ var xValueSetSchar func(uintptr, int8) | |||
| 558 | 656 | ||
| 559 | 657 | // Set the contents of a %G_TYPE_CHAR #GValue to @v_char. | |
| 560 | 658 | func (x *Value) SetSchar(VCharVar int8) { | |
| 659 | + | core.LazyRegister(&xValueSetSchar, "GOBJECT", "g_value_set_schar", false) | |
| 660 | + | ||
| 561 | 661 | xValueSetSchar(x.GoPointer(), VCharVar) | |
| 562 | 662 | } | |
| 563 | 663 | ||
| @@ -568,6 +668,8 @@ var xValueSetStaticBoxed func(uintptr, uintptr) | |||
| 568 | 668 | // The boxed value is assumed to be static, and is thus not duplicated | |
| 569 | 669 | // when setting the #GValue. | |
| 570 | 670 | func (x *Value) SetStaticBoxed(VBoxedVar uintptr) { | |
| 671 | + | core.LazyRegister(&xValueSetStaticBoxed, "GOBJECT", "g_value_set_static_boxed", false) | |
| 672 | + | ||
| 571 | 673 | xValueSetStaticBoxed(x.GoPointer(), VBoxedVar) | |
| 572 | 674 | } | |
| 573 | 675 | ||
| @@ -580,6 +682,8 @@ var xValueSetStaticString func(uintptr, uintptr) | |||
| 580 | 682 | // If the the string is a canonical string, using g_value_set_interned_string() | |
| 581 | 683 | // is more appropriate. | |
| 582 | 684 | func (x *Value) SetStaticString(VStringVar *string) { | |
| 685 | + | core.LazyRegister(&xValueSetStaticString, "GOBJECT", "g_value_set_static_string", false) | |
| 686 | + | ||
| 583 | 687 | VStringVarPtr := core.GStrdupNullable(VStringVar) | |
| 584 | 688 | defer core.GFreeNullable(VStringVarPtr) | |
| 585 | 689 | ||
| @@ -590,6 +694,8 @@ var xValueSetString func(uintptr, uintptr) | |||
| 590 | 694 | ||
| 591 | 695 | // Set the contents of a %G_TYPE_STRING #GValue to a copy of @v_string. | |
| 592 | 696 | func (x *Value) SetString(VStringVar *string) { | |
| 697 | + | core.LazyRegister(&xValueSetString, "GOBJECT", "g_value_set_string", false) | |
| 698 | + | ||
| 593 | 699 | VStringVarPtr := core.GStrdupNullable(VStringVar) | |
| 594 | 700 | defer core.GFreeNullable(VStringVarPtr) | |
| 595 | 701 | ||
| @@ -600,6 +706,8 @@ var xValueSetStringTakeOwnership func(uintptr, uintptr) | |||
| 600 | 706 | ||
| 601 | 707 | // This is an internal function introduced mainly for C marshallers. | |
| 602 | 708 | func (x *Value) SetStringTakeOwnership(VStringVar *string) { | |
| 709 | + | core.LazyRegister(&xValueSetStringTakeOwnership, "GOBJECT", "g_value_set_string_take_ownership", false) | |
| 710 | + | ||
| 603 | 711 | VStringVarPtr := core.GStrdupNullable(VStringVar) | |
| 604 | 712 | defer core.GFreeNullable(VStringVarPtr) | |
| 605 | 713 | ||
| @@ -610,6 +718,8 @@ var xValueSetUchar func(uintptr, byte) | |||
| 610 | 718 | ||
| 611 | 719 | // Set the contents of a %G_TYPE_UCHAR #GValue to @v_uchar. | |
| 612 | 720 | func (x *Value) SetUchar(VUcharVar byte) { | |
| 721 | + | core.LazyRegister(&xValueSetUchar, "GOBJECT", "g_value_set_uchar", false) | |
| 722 | + | ||
| 613 | 723 | xValueSetUchar(x.GoPointer(), VUcharVar) | |
| 614 | 724 | } | |
| 615 | 725 | ||
| @@ -617,6 +727,8 @@ var xValueSetUint func(uintptr, uint) | |||
| 617 | 727 | ||
| 618 | 728 | // Set the contents of a %G_TYPE_UINT #GValue to @v_uint. | |
| 619 | 729 | func (x *Value) SetUint(VUintVar uint) { | |
| 730 | + | core.LazyRegister(&xValueSetUint, "GOBJECT", "g_value_set_uint", false) | |
| 731 | + | ||
| 620 | 732 | xValueSetUint(x.GoPointer(), VUintVar) | |
| 621 | 733 | } | |
| 622 | 734 | ||
| @@ -624,6 +736,8 @@ var xValueSetUint64 func(uintptr, uint64) | |||
| 624 | 736 | ||
| 625 | 737 | // Set the contents of a %G_TYPE_UINT64 #GValue to @v_uint64. | |
| 626 | 738 | func (x *Value) SetUint64(VUint64Var uint64) { | |
| 739 | + | core.LazyRegister(&xValueSetUint64, "GOBJECT", "g_value_set_uint64", false) | |
| 740 | + | ||
| 627 | 741 | xValueSetUint64(x.GoPointer(), VUint64Var) | |
| 628 | 742 | } | |
| 629 | 743 | ||
| @@ -631,6 +745,8 @@ var xValueSetUlong func(uintptr, uint) | |||
| 631 | 745 | ||
| 632 | 746 | // Set the contents of a %G_TYPE_ULONG #GValue to @v_ulong. | |
| 633 | 747 | func (x *Value) SetUlong(VUlongVar uint) { | |
| 748 | + | core.LazyRegister(&xValueSetUlong, "GOBJECT", "g_value_set_ulong", false) | |
| 749 | + | ||
| 634 | 750 | xValueSetUlong(x.GoPointer(), VUlongVar) | |
| 635 | 751 | } | |
| 636 | 752 | ||
| @@ -639,6 +755,8 @@ var xValueSetVariant func(uintptr, *glib.Variant) | |||
| 639 | 755 | // Set the contents of a variant #GValue to @variant. | |
| 640 | 756 | // If the variant is floating, it is consumed. | |
| 641 | 757 | func (x *Value) SetVariant(VariantVar *glib.Variant) { | |
| 758 | + | core.LazyRegister(&xValueSetVariant, "GOBJECT", "g_value_set_variant", false) | |
| 759 | + | ||
| 642 | 760 | xValueSetVariant(x.GoPointer(), VariantVar) | |
| 643 | 761 | } | |
| 644 | 762 | ||
| @@ -654,6 +772,8 @@ var xValueStealString func(uintptr) string | |||
| 654 | 772 | // static string, or an interned one, this function will return a copy | |
| 655 | 773 | // of the string. Otherwise the transfer notation would be ambiguous. | |
| 656 | 774 | func (x *Value) StealString() string { | |
| 775 | + | core.LazyRegister(&xValueStealString, "GOBJECT", "g_value_steal_string", false) | |
| 776 | + | ||
| 657 | 777 | cret := xValueStealString(x.GoPointer()) | |
| 658 | 778 | return cret | |
| 659 | 779 | } | |
| @@ -664,6 +784,8 @@ var xValueTakeBoxed func(uintptr, uintptr) | |||
| 664 | 784 | // and takes over the ownership of the caller’s reference to @v_boxed; | |
| 665 | 785 | // the caller doesn’t have to unref it any more. | |
| 666 | 786 | func (x *Value) TakeBoxed(VBoxedVar uintptr) { | |
| 787 | + | core.LazyRegister(&xValueTakeBoxed, "GOBJECT", "g_value_take_boxed", false) | |
| 788 | + | ||
| 667 | 789 | xValueTakeBoxed(x.GoPointer(), VBoxedVar) | |
| 668 | 790 | } | |
| 669 | 791 | ||
| @@ -677,6 +799,8 @@ var xValueTakeObject func(uintptr, uintptr) | |||
| 677 | 799 | // If you want the #GValue to hold its own reference to @v_object, use | |
| 678 | 800 | // g_value_set_object() instead. | |
| 679 | 801 | func (x *Value) TakeObject(VObjectVar uintptr) { | |
| 802 | + | core.LazyRegister(&xValueTakeObject, "GOBJECT", "g_value_take_object", false) | |
| 803 | + | ||
| 680 | 804 | xValueTakeObject(x.GoPointer(), VObjectVar) | |
| 681 | 805 | } | |
| 682 | 806 | ||
| @@ -686,6 +810,8 @@ var xValueTakeParam func(uintptr, uintptr) | |||
| 686 | 810 | // over the ownership of the caller’s reference to @param; the caller | |
| 687 | 811 | // doesn’t have to unref it any more. | |
| 688 | 812 | func (x *Value) TakeParam(ParamVar *ParamSpec) { | |
| 813 | + | core.LazyRegister(&xValueTakeParam, "GOBJECT", "g_value_take_param", false) | |
| 814 | + | ||
| 689 | 815 | xValueTakeParam(x.GoPointer(), ParamVar.GoPointer()) | |
| 690 | 816 | } | |
| 691 | 817 | ||
| @@ -693,6 +819,8 @@ var xValueTakeString func(uintptr, uintptr) | |||
| 693 | 819 | ||
| 694 | 820 | // Sets the contents of a %G_TYPE_STRING #GValue to @v_string. | |
| 695 | 821 | func (x *Value) TakeString(VStringVar *string) { | |
| 822 | + | core.LazyRegister(&xValueTakeString, "GOBJECT", "g_value_take_string", false) | |
| 823 | + | ||
| 696 | 824 | VStringVarPtr := core.GStrdupNullable(VStringVar) | |
| 697 | 825 | defer core.GFreeNullable(VStringVarPtr) | |
| 698 | 826 | ||
| @@ -714,6 +842,8 @@ var xValueTakeVariant func(uintptr, *glib.Variant) | |||
| 714 | 842 | // | |
| 715 | 843 | // This is an internal function introduced mainly for C marshallers. | |
| 716 | 844 | func (x *Value) TakeVariant(VariantVar *glib.Variant) { | |
| 845 | + | core.LazyRegister(&xValueTakeVariant, "GOBJECT", "g_value_take_variant", false) | |
| 846 | + | ||
| 717 | 847 | xValueTakeVariant(x.GoPointer(), VariantVar) | |
| 718 | 848 | } | |
| 719 | 849 | ||
| @@ -732,6 +862,8 @@ var xValueTransform func(uintptr, *Value) bool | |||
| 732 | 862 | // results and the format of particular transformations to strings is not | |
| 733 | 863 | // guaranteed over time. | |
| 734 | 864 | func (x *Value) Transform(DestValueVar *Value) bool { | |
| 865 | + | core.LazyRegister(&xValueTransform, "GOBJECT", "g_value_transform", false) | |
| 866 | + | ||
| 735 | 867 | cret := xValueTransform(x.GoPointer(), DestValueVar) | |
| 736 | 868 | return cret | |
| 737 | 869 | } | |
| @@ -744,6 +876,8 @@ var xValueUnset func(uintptr) | |||
| 744 | 876 | // unset value is the same as a cleared (zero-filled) | |
| 745 | 877 | // [struct@GObject.Value] structure set to `G_VALUE_INIT`. | |
| 746 | 878 | func (x *Value) Unset() { | |
| 879 | + | core.LazyRegister(&xValueUnset, "GOBJECT", "g_value_unset", false) | |
| 880 | + | ||
| 747 | 881 | xValueUnset(x.GoPointer()) | |
| 748 | 882 | } | |
| 749 | 883 | ||
| @@ -780,6 +914,8 @@ var xValueRegisterTransformFunc func(types.GType, types.GType, uintptr) | |||
| 780 | 914 | // Any previously registered transformation function for @src_type and | |
| 781 | 915 | // @dest_type will be replaced. | |
| 782 | 916 | func ValueRegisterTransformFunc(SrcTypeVar types.GType, DestTypeVar types.GType, TransformFuncVar *ValueTransform) { | |
| 917 | + | core.LazyRegister(&xValueRegisterTransformFunc, "GOBJECT", "g_value_register_transform_func", false) | |
| 918 | + | ||
| 783 | 919 | xValueRegisterTransformFunc(SrcTypeVar, DestTypeVar, glib.NewCallback(TransformFuncVar)) | |
| 784 | 920 | } | |
| 785 | 921 | ||
| @@ -788,6 +924,8 @@ var xValueTypeCompatible func(types.GType, types.GType) bool | |||
| 788 | 924 | // Checks whether a [method@GObject.Value.copy] is able to copy values of type | |
| 789 | 925 | // @src_type into values of type @dest_type. | |
| 790 | 926 | func ValueTypeCompatible(SrcTypeVar types.GType, DestTypeVar types.GType) bool { | |
| 927 | + | core.LazyRegister(&xValueTypeCompatible, "GOBJECT", "g_value_type_compatible", false) | |
| 928 | + | ||
| 791 | 929 | cret := xValueTypeCompatible(SrcTypeVar, DestTypeVar) | |
| 792 | 930 | return cret | |
| 793 | 931 | } | |
| @@ -801,6 +939,8 @@ var xValueTypeTransformable func(types.GType, types.GType) bool | |||
| 801 | 939 | // transformation function must be registered using | |
| 802 | 940 | // [func@GObject.Value.register_transform_func]. | |
| 803 | 941 | func ValueTypeTransformable(SrcTypeVar types.GType, DestTypeVar types.GType) bool { | |
| 942 | + | core.LazyRegister(&xValueTypeTransformable, "GOBJECT", "g_value_type_transformable", false) | |
| 943 | + | ||
| 804 | 944 | cret := xValueTypeTransformable(SrcTypeVar, DestTypeVar) | |
| 805 | 945 | return cret | |
| 806 | 946 | } | |
| @@ -808,88 +948,4 @@ func ValueTypeTransformable(SrcTypeVar types.GType, DestTypeVar types.GType) boo | |||
| 808 | 948 | func init() { | |
| 809 | 949 | core.SetPackageName("GOBJECT", "gobject-2.0") | |
| 810 | 950 | core.SetSharedLibraries("GOBJECT", []string{"libgobject-2.0.so.0", "libgobject-2.0.0.dylib"}) | |
| 811 | - | var libs []uintptr | |
| 812 | - | for _, libPath := range core.GetPaths("GOBJECT") { | |
| 813 | - | lib, err := purego.Dlopen(libPath, purego.RTLD_NOW|purego.RTLD_GLOBAL) | |
| 814 | - | if err != nil { | |
| 815 | - | panic(err) | |
| 816 | - | } | |
| 817 | - | libs = append(libs, lib) | |
| 818 | - | } | |
| 819 | - | ||
| 820 | - | core.PuregoSafeRegister(&xValueRegisterTransformFunc, libs, "g_value_register_transform_func") | |
| 821 | - | core.PuregoSafeRegister(&xValueTypeCompatible, libs, "g_value_type_compatible") | |
| 822 | - | core.PuregoSafeRegister(&xValueTypeTransformable, libs, "g_value_type_transformable") | |
| 823 | - | ||
| 824 | - | core.PuregoSafeRegister(&xValueGLibType, libs, "g_value_get_type") | |
| 825 | - | ||
| 826 | - | core.PuregoSafeRegister(&xValueCopy, libs, "g_value_copy") | |
| 827 | - | core.PuregoSafeRegister(&xValueDupBoxed, libs, "g_value_dup_boxed") | |
| 828 | - | core.PuregoSafeRegister(&xValueDupObject, libs, "g_value_dup_object") | |
| 829 | - | core.PuregoSafeRegister(&xValueDupParam, libs, "g_value_dup_param") | |
| 830 | - | core.PuregoSafeRegister(&xValueDupString, libs, "g_value_dup_string") | |
| 831 | - | core.PuregoSafeRegister(&xValueDupVariant, libs, "g_value_dup_variant") | |
| 832 | - | core.PuregoSafeRegister(&xValueFitsPointer, libs, "g_value_fits_pointer") | |
| 833 | - | core.PuregoSafeRegister(&xValueGetBoolean, libs, "g_value_get_boolean") | |
| 834 | - | core.PuregoSafeRegister(&xValueGetBoxed, libs, "g_value_get_boxed") | |
| 835 | - | core.PuregoSafeRegister(&xValueGetChar, libs, "g_value_get_char") | |
| 836 | - | core.PuregoSafeRegister(&xValueGetDouble, libs, "g_value_get_double") | |
| 837 | - | core.PuregoSafeRegister(&xValueGetEnum, libs, "g_value_get_enum") | |
| 838 | - | core.PuregoSafeRegister(&xValueGetFlags, libs, "g_value_get_flags") | |
| 839 | - | core.PuregoSafeRegister(&xValueGetFloat, libs, "g_value_get_float") | |
| 840 | - | core.PuregoSafeRegister(&xValueGetGtype, libs, "g_value_get_gtype") | |
| 841 | - | core.PuregoSafeRegister(&xValueGetInt, libs, "g_value_get_int") | |
| 842 | - | core.PuregoSafeRegister(&xValueGetInt64, libs, "g_value_get_int64") | |
| 843 | - | core.PuregoSafeRegister(&xValueGetLong, libs, "g_value_get_long") | |
| 844 | - | core.PuregoSafeRegister(&xValueGetObject, libs, "g_value_get_object") | |
| 845 | - | core.PuregoSafeRegister(&xValueGetParam, libs, "g_value_get_param") | |
| 846 | - | core.PuregoSafeRegister(&xValueGetPointer, libs, "g_value_get_pointer") | |
| 847 | - | core.PuregoSafeRegister(&xValueGetSchar, libs, "g_value_get_schar") | |
| 848 | - | core.PuregoSafeRegister(&xValueGetString, libs, "g_value_get_string") | |
| 849 | - | core.PuregoSafeRegister(&xValueGetUchar, libs, "g_value_get_uchar") | |
| 850 | - | core.PuregoSafeRegister(&xValueGetUint, libs, "g_value_get_uint") | |
| 851 | - | core.PuregoSafeRegister(&xValueGetUint64, libs, "g_value_get_uint64") | |
| 852 | - | core.PuregoSafeRegister(&xValueGetUlong, libs, "g_value_get_ulong") | |
| 853 | - | core.PuregoSafeRegister(&xValueGetVariant, libs, "g_value_get_variant") | |
| 854 | - | core.PuregoSafeRegister(&xValueInit, libs, "g_value_init") | |
| 855 | - | core.PuregoSafeRegister(&xValueInitFromInstance, libs, "g_value_init_from_instance") | |
| 856 | - | core.PuregoSafeRegister(&xValuePeekPointer, libs, "g_value_peek_pointer") | |
| 857 | - | core.PuregoSafeRegister(&xValueReset, libs, "g_value_reset") | |
| 858 | - | core.PuregoSafeRegister(&xValueSetBoolean, libs, "g_value_set_boolean") | |
| 859 | - | core.PuregoSafeRegister(&xValueSetBoxed, libs, "g_value_set_boxed") | |
| 860 | - | core.PuregoSafeRegister(&xValueSetBoxedTakeOwnership, libs, "g_value_set_boxed_take_ownership") | |
| 861 | - | core.PuregoSafeRegister(&xValueSetChar, libs, "g_value_set_char") | |
| 862 | - | core.PuregoSafeRegister(&xValueSetDouble, libs, "g_value_set_double") | |
| 863 | - | core.PuregoSafeRegister(&xValueSetEnum, libs, "g_value_set_enum") | |
| 864 | - | core.PuregoSafeRegister(&xValueSetFlags, libs, "g_value_set_flags") | |
| 865 | - | core.PuregoSafeRegister(&xValueSetFloat, libs, "g_value_set_float") | |
| 866 | - | core.PuregoSafeRegister(&xValueSetGtype, libs, "g_value_set_gtype") | |
| 867 | - | core.PuregoSafeRegister(&xValueSetInstance, libs, "g_value_set_instance") | |
| 868 | - | core.PuregoSafeRegister(&xValueSetInt, libs, "g_value_set_int") | |
| 869 | - | core.PuregoSafeRegister(&xValueSetInt64, libs, "g_value_set_int64") | |
| 870 | - | core.PuregoSafeRegister(&xValueSetInternedString, libs, "g_value_set_interned_string") | |
| 871 | - | core.PuregoSafeRegister(&xValueSetLong, libs, "g_value_set_long") | |
| 872 | - | core.PuregoSafeRegister(&xValueSetObject, libs, "g_value_set_object") | |
| 873 | - | core.PuregoSafeRegister(&xValueSetObjectTakeOwnership, libs, "g_value_set_object_take_ownership") | |
| 874 | - | core.PuregoSafeRegister(&xValueSetParam, libs, "g_value_set_param") | |
| 875 | - | core.PuregoSafeRegister(&xValueSetParamTakeOwnership, libs, "g_value_set_param_take_ownership") | |
| 876 | - | core.PuregoSafeRegister(&xValueSetPointer, libs, "g_value_set_pointer") | |
| 877 | - | core.PuregoSafeRegister(&xValueSetSchar, libs, "g_value_set_schar") | |
| 878 | - | core.PuregoSafeRegister(&xValueSetStaticBoxed, libs, "g_value_set_static_boxed") | |
| 879 | - | core.PuregoSafeRegister(&xValueSetStaticString, libs, "g_value_set_static_string") | |
| 880 | - | core.PuregoSafeRegister(&xValueSetString, libs, "g_value_set_string") | |
| 881 | - | core.PuregoSafeRegister(&xValueSetStringTakeOwnership, libs, "g_value_set_string_take_ownership") | |
| 882 | - | core.PuregoSafeRegister(&xValueSetUchar, libs, "g_value_set_uchar") | |
| 883 | - | core.PuregoSafeRegister(&xValueSetUint, libs, "g_value_set_uint") | |
| 884 | - | core.PuregoSafeRegister(&xValueSetUint64, libs, "g_value_set_uint64") | |
| 885 | - | core.PuregoSafeRegister(&xValueSetUlong, libs, "g_value_set_ulong") | |
| 886 | - | core.PuregoSafeRegister(&xValueSetVariant, libs, "g_value_set_variant") | |
| 887 | - | core.PuregoSafeRegister(&xValueStealString, libs, "g_value_steal_string") | |
| 888 | - | core.PuregoSafeRegister(&xValueTakeBoxed, libs, "g_value_take_boxed") | |
| 889 | - | core.PuregoSafeRegister(&xValueTakeObject, libs, "g_value_take_object") | |
| 890 | - | core.PuregoSafeRegister(&xValueTakeParam, libs, "g_value_take_param") | |
| 891 | - | core.PuregoSafeRegister(&xValueTakeString, libs, "g_value_take_string") | |
| 892 | - | core.PuregoSafeRegister(&xValueTakeVariant, libs, "g_value_take_variant") | |
| 893 | - | core.PuregoSafeRegister(&xValueTransform, libs, "g_value_transform") | |
| 894 | - | core.PuregoSafeRegister(&xValueUnset, libs, "g_value_unset") | |
| 895 | 951 | } | |
| @@ -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/glib" | 9 | "github.com/bnema/puregotk/v4/glib" | ||
| 11 | "github.com/bnema/puregotk/v4/gobject/types" | 10 | "github.com/bnema/puregotk/v4/gobject/types" | ||
| @@ -47,6 +46,7 @@ type Value struct { | |||||
| 47 | var xValueGLibType func() types.GType | 46 | var xValueGLibType func() types.GType | ||
| 48 | 47 | ||||
| 49 | func ValueGLibType() types.GType { | 48 | func ValueGLibType() types.GType { | ||
| 49 | + | core.LazyRegister(&xValueGLibType, "GOBJECT", "g_value_get_type", false) | |||
| 50 | return xValueGLibType() | 50 | return xValueGLibType() | ||
| 51 | } | 51 | } | ||
| 52 | 52 | ||||
| @@ -66,6 +66,8 @@ var xValueCopy func(uintptr, *Value) | |||||
| 66 | 66 | ||||
| 67 | // Copies the value of @src_value into @dest_value. | 67 | // Copies the value of @src_value into @dest_value. | ||
| 68 | func (x *Value) Copy(DestValueVar *Value) { | 68 | func (x *Value) Copy(DestValueVar *Value) { | ||
| 69 | + | core.LazyRegister(&xValueCopy, "GOBJECT", "g_value_copy", false) | |||
| 70 | + | ||||
| 69 | xValueCopy(x.GoPointer(), DestValueVar) | 71 | xValueCopy(x.GoPointer(), DestValueVar) | ||
| 70 | } | 72 | } | ||
| 71 | 73 | ||||
| @@ -76,6 +78,8 @@ var xValueDupBoxed func(uintptr) uintptr | |||||
| 76 | // g_boxed_free(), e.g. like: g_boxed_free (G_VALUE_TYPE (@value), | 78 | // g_boxed_free(), e.g. like: g_boxed_free (G_VALUE_TYPE (@value), | ||
| 77 | // return_value); | 79 | // return_value); | ||
| 78 | func (x *Value) DupBoxed() uintptr { | 80 | func (x *Value) DupBoxed() uintptr { | ||
| 81 | + | core.LazyRegister(&xValueDupBoxed, "GOBJECT", "g_value_dup_boxed", false) | |||
| 82 | + | ||||
| 79 | cret := xValueDupBoxed(x.GoPointer()) | 83 | cret := xValueDupBoxed(x.GoPointer()) | ||
| 80 | return cret | 84 | return cret | ||
| 81 | } | 85 | } | ||
| @@ -86,6 +90,7 @@ var xValueDupObject func(uintptr) uintptr | |||||
| 86 | // its reference count. If the contents of the #GValue are %NULL, then | 90 | // its reference count. If the contents of the #GValue are %NULL, then | ||
| 87 | // %NULL will be returned. | 91 | // %NULL will be returned. | ||
| 88 | func (x *Value) DupObject() *Object { | 92 | func (x *Value) DupObject() *Object { | ||
| 93 | + | core.LazyRegister(&xValueDupObject, "GOBJECT", "g_value_dup_object", false) | |||
| 89 | var cls *Object | 94 | var cls *Object | ||
| 90 | 95 | ||||
| 91 | cret := xValueDupObject(x.GoPointer()) | 96 | cret := xValueDupObject(x.GoPointer()) | ||
| @@ -103,6 +108,7 @@ var xValueDupParam func(uintptr) uintptr | |||||
| 103 | // Get the contents of a %G_TYPE_PARAM #GValue, increasing its | 108 | // Get the contents of a %G_TYPE_PARAM #GValue, increasing its | ||
| 104 | // reference count. | 109 | // reference count. | ||
| 105 | func (x *Value) DupParam() *ParamSpec { | 110 | func (x *Value) DupParam() *ParamSpec { | ||
| 111 | + | core.LazyRegister(&xValueDupParam, "GOBJECT", "g_value_dup_param", false) | |||
| 106 | var cls *ParamSpec | 112 | var cls *ParamSpec | ||
| 107 | 113 | ||||
| 108 | cret := xValueDupParam(x.GoPointer()) | 114 | cret := xValueDupParam(x.GoPointer()) | ||
| @@ -119,6 +125,8 @@ var xValueDupString func(uintptr) string | |||||
| 119 | 125 | ||||
| 120 | // Get a copy the contents of a %G_TYPE_STRING #GValue. | 126 | // Get a copy the contents of a %G_TYPE_STRING #GValue. | ||
| 121 | func (x *Value) DupString() string { | 127 | func (x *Value) DupString() string { | ||
| 128 | + | core.LazyRegister(&xValueDupString, "GOBJECT", "g_value_dup_string", false) | |||
| 129 | + | ||||
| 122 | cret := xValueDupString(x.GoPointer()) | 130 | cret := xValueDupString(x.GoPointer()) | ||
| 123 | return cret | 131 | return cret | ||
| 124 | } | 132 | } | ||
| @@ -128,6 +136,8 @@ var xValueDupVariant func(uintptr) uintptr | |||||
| 128 | // Get the contents of a variant #GValue, increasing its refcount. The returned | 136 | // Get the contents of a variant #GValue, increasing its refcount. The returned | ||
| 129 | // #GVariant is never floating. | 137 | // #GVariant is never floating. | ||
| 130 | func (x *Value) DupVariant() *glib.Variant { | 138 | func (x *Value) DupVariant() *glib.Variant { | ||
| 139 | + | core.LazyRegister(&xValueDupVariant, "GOBJECT", "g_value_dup_variant", false) | |||
| 140 | + | ||||
| 131 | cret := xValueDupVariant(x.GoPointer()) | 141 | cret := xValueDupVariant(x.GoPointer()) | ||
| 132 | if cret == 0 { | 142 | if cret == 0 { | ||
| 133 | return nil | 143 | return nil | ||
| @@ -141,6 +151,8 @@ var xValueFitsPointer func(uintptr) bool | |||||
| 141 | // | 151 | // | ||
| 142 | // This is an internal function introduced mainly for C marshallers. | 152 | // This is an internal function introduced mainly for C marshallers. | ||
| 143 | func (x *Value) FitsPointer() bool { | 153 | func (x *Value) FitsPointer() bool { | ||
| 154 | + | core.LazyRegister(&xValueFitsPointer, "GOBJECT", "g_value_fits_pointer", false) | |||
| 155 | + | ||||
| 144 | cret := xValueFitsPointer(x.GoPointer()) | 156 | cret := xValueFitsPointer(x.GoPointer()) | ||
| 145 | return cret | 157 | return cret | ||
| 146 | } | 158 | } | ||
| @@ -149,6 +161,8 @@ var xValueGetBoolean func(uintptr) bool | |||||
| 149 | 161 | ||||
| 150 | // Get the contents of a %G_TYPE_BOOLEAN #GValue. | 162 | // Get the contents of a %G_TYPE_BOOLEAN #GValue. | ||
| 151 | func (x *Value) GetBoolean() bool { | 163 | func (x *Value) GetBoolean() bool { | ||
| 164 | + | core.LazyRegister(&xValueGetBoolean, "GOBJECT", "g_value_get_boolean", false) | |||
| 165 | + | ||||
| 152 | cret := xValueGetBoolean(x.GoPointer()) | 166 | cret := xValueGetBoolean(x.GoPointer()) | ||
| 153 | return cret | 167 | return cret | ||
| 154 | } | 168 | } | ||
| @@ -157,6 +171,8 @@ var xValueGetBoxed func(uintptr) uintptr | |||||
| 157 | 171 | ||||
| 158 | // Get the contents of a %G_TYPE_BOXED derived #GValue. | 172 | // Get the contents of a %G_TYPE_BOXED derived #GValue. | ||
| 159 | func (x *Value) GetBoxed() uintptr { | 173 | func (x *Value) GetBoxed() uintptr { | ||
| 174 | + | core.LazyRegister(&xValueGetBoxed, "GOBJECT", "g_value_get_boxed", false) | |||
| 175 | + | ||||
| 160 | cret := xValueGetBoxed(x.GoPointer()) | 176 | cret := xValueGetBoxed(x.GoPointer()) | ||
| 161 | return cret | 177 | return cret | ||
| 162 | } | 178 | } | ||
| @@ -168,6 +184,8 @@ var xValueGetChar func(uintptr) byte | |||||
| 168 | // | 184 | // | ||
| 169 | // Get the contents of a %G_TYPE_CHAR #GValue. | 185 | // Get the contents of a %G_TYPE_CHAR #GValue. | ||
| 170 | func (x *Value) GetChar() byte { | 186 | func (x *Value) GetChar() byte { | ||
| 187 | + | core.LazyRegister(&xValueGetChar, "GOBJECT", "g_value_get_char", false) | |||
| 188 | + | ||||
| 171 | cret := xValueGetChar(x.GoPointer()) | 189 | cret := xValueGetChar(x.GoPointer()) | ||
| 172 | return cret | 190 | return cret | ||
| 173 | } | 191 | } | ||
| @@ -176,6 +194,8 @@ var xValueGetDouble func(uintptr) float64 | |||||
| 176 | 194 | ||||
| 177 | // Get the contents of a %G_TYPE_DOUBLE #GValue. | 195 | // Get the contents of a %G_TYPE_DOUBLE #GValue. | ||
| 178 | func (x *Value) GetDouble() float64 { | 196 | func (x *Value) GetDouble() float64 { | ||
| 197 | + | core.LazyRegister(&xValueGetDouble, "GOBJECT", "g_value_get_double", false) | |||
| 198 | + | ||||
| 179 | cret := xValueGetDouble(x.GoPointer()) | 199 | cret := xValueGetDouble(x.GoPointer()) | ||
| 180 | return cret | 200 | return cret | ||
| 181 | } | 201 | } | ||
| @@ -184,6 +204,8 @@ var xValueGetEnum func(uintptr) int | |||||
| 184 | 204 | ||||
| 185 | // Get the contents of a %G_TYPE_ENUM #GValue. | 205 | // Get the contents of a %G_TYPE_ENUM #GValue. | ||
| 186 | func (x *Value) GetEnum() int { | 206 | func (x *Value) GetEnum() int { | ||
| 207 | + | core.LazyRegister(&xValueGetEnum, "GOBJECT", "g_value_get_enum", false) | |||
| 208 | + | ||||
| 187 | cret := xValueGetEnum(x.GoPointer()) | 209 | cret := xValueGetEnum(x.GoPointer()) | ||
| 188 | return cret | 210 | return cret | ||
| 189 | } | 211 | } | ||
| @@ -192,6 +214,8 @@ var xValueGetFlags func(uintptr) uint | |||||
| 192 | 214 | ||||
| 193 | // Get the contents of a %G_TYPE_FLAGS #GValue. | 215 | // Get the contents of a %G_TYPE_FLAGS #GValue. | ||
| 194 | func (x *Value) GetFlags() uint { | 216 | func (x *Value) GetFlags() uint { | ||
| 217 | + | core.LazyRegister(&xValueGetFlags, "GOBJECT", "g_value_get_flags", false) | |||
| 218 | + | ||||
| 195 | cret := xValueGetFlags(x.GoPointer()) | 219 | cret := xValueGetFlags(x.GoPointer()) | ||
| 196 | return cret | 220 | return cret | ||
| 197 | } | 221 | } | ||
| @@ -200,6 +224,8 @@ var xValueGetFloat func(uintptr) float32 | |||||
| 200 | 224 | ||||
| 201 | // Get the contents of a %G_TYPE_FLOAT #GValue. | 225 | // Get the contents of a %G_TYPE_FLOAT #GValue. | ||
| 202 | func (x *Value) GetFloat() float32 { | 226 | func (x *Value) GetFloat() float32 { | ||
| 227 | + | core.LazyRegister(&xValueGetFloat, "GOBJECT", "g_value_get_float", false) | |||
| 228 | + | ||||
| 203 | cret := xValueGetFloat(x.GoPointer()) | 229 | cret := xValueGetFloat(x.GoPointer()) | ||
| 204 | return cret | 230 | return cret | ||
| 205 | } | 231 | } | ||
| @@ -208,6 +234,8 @@ var xValueGetGtype func(uintptr) types.GType | |||||
| 208 | 234 | ||||
| 209 | // Get the contents of a %G_TYPE_GTYPE #GValue. | 235 | // Get the contents of a %G_TYPE_GTYPE #GValue. | ||
| 210 | func (x *Value) GetGtype() types.GType { | 236 | func (x *Value) GetGtype() types.GType { | ||
| 237 | + | core.LazyRegister(&xValueGetGtype, "GOBJECT", "g_value_get_gtype", false) | |||
| 238 | + | ||||
| 211 | cret := xValueGetGtype(x.GoPointer()) | 239 | cret := xValueGetGtype(x.GoPointer()) | ||
| 212 | return cret | 240 | return cret | ||
| 213 | } | 241 | } | ||
| @@ -216,6 +244,8 @@ var xValueGetInt func(uintptr) int | |||||
| 216 | 244 | ||||
| 217 | // Get the contents of a %G_TYPE_INT #GValue. | 245 | // Get the contents of a %G_TYPE_INT #GValue. | ||
| 218 | func (x *Value) GetInt() int { | 246 | func (x *Value) GetInt() int { | ||
| 247 | + | core.LazyRegister(&xValueGetInt, "GOBJECT", "g_value_get_int", false) | |||
| 248 | + | ||||
| 219 | cret := xValueGetInt(x.GoPointer()) | 249 | cret := xValueGetInt(x.GoPointer()) | ||
| 220 | return cret | 250 | return cret | ||
| 221 | } | 251 | } | ||
| @@ -224,6 +254,8 @@ var xValueGetInt64 func(uintptr) int64 | |||||
| 224 | 254 | ||||
| 225 | // Get the contents of a %G_TYPE_INT64 #GValue. | 255 | // Get the contents of a %G_TYPE_INT64 #GValue. | ||
| 226 | func (x *Value) GetInt64() int64 { | 256 | func (x *Value) GetInt64() int64 { | ||
| 257 | + | core.LazyRegister(&xValueGetInt64, "GOBJECT", "g_value_get_int64", false) | |||
| 258 | + | ||||
| 227 | cret := xValueGetInt64(x.GoPointer()) | 259 | cret := xValueGetInt64(x.GoPointer()) | ||
| 228 | return cret | 260 | return cret | ||
| 229 | } | 261 | } | ||
| @@ -232,6 +264,8 @@ var xValueGetLong func(uintptr) int | |||||
| 232 | 264 | ||||
| 233 | // Get the contents of a %G_TYPE_LONG #GValue. | 265 | // Get the contents of a %G_TYPE_LONG #GValue. | ||
| 234 | func (x *Value) GetLong() int { | 266 | func (x *Value) GetLong() int { | ||
| 267 | + | core.LazyRegister(&xValueGetLong, "GOBJECT", "g_value_get_long", false) | |||
| 268 | + | ||||
| 235 | cret := xValueGetLong(x.GoPointer()) | 269 | cret := xValueGetLong(x.GoPointer()) | ||
| 236 | return cret | 270 | return cret | ||
| 237 | } | 271 | } | ||
| @@ -240,6 +274,7 @@ var xValueGetObject func(uintptr) uintptr | |||||
| 240 | 274 | ||||
| 241 | // Get the contents of a %G_TYPE_OBJECT derived #GValue. | 275 | // Get the contents of a %G_TYPE_OBJECT derived #GValue. | ||
| 242 | func (x *Value) GetObject() *Object { | 276 | func (x *Value) GetObject() *Object { | ||
| 277 | + | core.LazyRegister(&xValueGetObject, "GOBJECT", "g_value_get_object", false) | |||
| 243 | var cls *Object | 278 | var cls *Object | ||
| 244 | 279 | ||||
| 245 | cret := xValueGetObject(x.GoPointer()) | 280 | cret := xValueGetObject(x.GoPointer()) | ||
| @@ -257,6 +292,7 @@ var xValueGetParam func(uintptr) uintptr | |||||
| 257 | 292 | ||||
| 258 | // Get the contents of a %G_TYPE_PARAM #GValue. | 293 | // Get the contents of a %G_TYPE_PARAM #GValue. | ||
| 259 | func (x *Value) GetParam() *ParamSpec { | 294 | func (x *Value) GetParam() *ParamSpec { | ||
| 295 | + | core.LazyRegister(&xValueGetParam, "GOBJECT", "g_value_get_param", false) | |||
| 260 | var cls *ParamSpec | 296 | var cls *ParamSpec | ||
| 261 | 297 | ||||
| 262 | cret := xValueGetParam(x.GoPointer()) | 298 | cret := xValueGetParam(x.GoPointer()) | ||
| @@ -274,6 +310,8 @@ var xValueGetPointer func(uintptr) uintptr | |||||
| 274 | 310 | ||||
| 275 | // Get the contents of a pointer #GValue. | 311 | // Get the contents of a pointer #GValue. | ||
| 276 | func (x *Value) GetPointer() uintptr { | 312 | func (x *Value) GetPointer() uintptr { | ||
| 313 | + | core.LazyRegister(&xValueGetPointer, "GOBJECT", "g_value_get_pointer", false) | |||
| 314 | + | ||||
| 277 | cret := xValueGetPointer(x.GoPointer()) | 315 | cret := xValueGetPointer(x.GoPointer()) | ||
| 278 | return cret | 316 | return cret | ||
| 279 | } | 317 | } | ||
| @@ -282,6 +320,8 @@ var xValueGetSchar func(uintptr) int8 | |||||
| 282 | 320 | ||||
| 283 | // Get the contents of a %G_TYPE_CHAR #GValue. | 321 | // Get the contents of a %G_TYPE_CHAR #GValue. | ||
| 284 | func (x *Value) GetSchar() int8 { | 322 | func (x *Value) GetSchar() int8 { | ||
| 323 | + | core.LazyRegister(&xValueGetSchar, "GOBJECT", "g_value_get_schar", false) | |||
| 324 | + | ||||
| 285 | cret := xValueGetSchar(x.GoPointer()) | 325 | cret := xValueGetSchar(x.GoPointer()) | ||
| 286 | return cret | 326 | return cret | ||
| 287 | } | 327 | } | ||
| @@ -290,6 +330,8 @@ var xValueGetString func(uintptr) string | |||||
| 290 | 330 | ||||
| 291 | // Get the contents of a %G_TYPE_STRING #GValue. | 331 | // Get the contents of a %G_TYPE_STRING #GValue. | ||
| 292 | func (x *Value) GetString() string { | 332 | func (x *Value) GetString() string { | ||
| 333 | + | core.LazyRegister(&xValueGetString, "GOBJECT", "g_value_get_string", false) | |||
| 334 | + | ||||
| 293 | cret := xValueGetString(x.GoPointer()) | 335 | cret := xValueGetString(x.GoPointer()) | ||
| 294 | return cret | 336 | return cret | ||
| 295 | } | 337 | } | ||
| @@ -298,6 +340,8 @@ var xValueGetUchar func(uintptr) byte | |||||
| 298 | 340 | ||||
| 299 | // Get the contents of a %G_TYPE_UCHAR #GValue. | 341 | // Get the contents of a %G_TYPE_UCHAR #GValue. | ||
| 300 | func (x *Value) GetUchar() byte { | 342 | func (x *Value) GetUchar() byte { | ||
| 343 | + | core.LazyRegister(&xValueGetUchar, "GOBJECT", "g_value_get_uchar", false) | |||
| 344 | + | ||||
| 301 | cret := xValueGetUchar(x.GoPointer()) | 345 | cret := xValueGetUchar(x.GoPointer()) | ||
| 302 | return cret | 346 | return cret | ||
| 303 | } | 347 | } | ||
| @@ -306,6 +350,8 @@ var xValueGetUint func(uintptr) uint | |||||
| 306 | 350 | ||||
| 307 | // Get the contents of a %G_TYPE_UINT #GValue. | 351 | // Get the contents of a %G_TYPE_UINT #GValue. | ||
| 308 | func (x *Value) GetUint() uint { | 352 | func (x *Value) GetUint() uint { | ||
| 353 | + | core.LazyRegister(&xValueGetUint, "GOBJECT", "g_value_get_uint", false) | |||
| 354 | + | ||||
| 309 | cret := xValueGetUint(x.GoPointer()) | 355 | cret := xValueGetUint(x.GoPointer()) | ||
| 310 | return cret | 356 | return cret | ||
| 311 | } | 357 | } | ||
| @@ -314,6 +360,8 @@ var xValueGetUint64 func(uintptr) uint64 | |||||
| 314 | 360 | ||||
| 315 | // Get the contents of a %G_TYPE_UINT64 #GValue. | 361 | // Get the contents of a %G_TYPE_UINT64 #GValue. | ||
| 316 | func (x *Value) GetUint64() uint64 { | 362 | func (x *Value) GetUint64() uint64 { | ||
| 363 | + | core.LazyRegister(&xValueGetUint64, "GOBJECT", "g_value_get_uint64", false) | |||
| 364 | + | ||||
| 317 | cret := xValueGetUint64(x.GoPointer()) | 365 | cret := xValueGetUint64(x.GoPointer()) | ||
| 318 | return cret | 366 | return cret | ||
| 319 | } | 367 | } | ||
| @@ -322,6 +370,8 @@ var xValueGetUlong func(uintptr) uint | |||||
| 322 | 370 | ||||
| 323 | // Get the contents of a %G_TYPE_ULONG #GValue. | 371 | // Get the contents of a %G_TYPE_ULONG #GValue. | ||
| 324 | func (x *Value) GetUlong() uint { | 372 | func (x *Value) GetUlong() uint { | ||
| 373 | + | core.LazyRegister(&xValueGetUlong, "GOBJECT", "g_value_get_ulong", false) | |||
| 374 | + | ||||
| 325 | cret := xValueGetUlong(x.GoPointer()) | 375 | cret := xValueGetUlong(x.GoPointer()) | ||
| 326 | return cret | 376 | return cret | ||
| 327 | } | 377 | } | ||
| @@ -330,6 +380,8 @@ var xValueGetVariant func(uintptr) uintptr | |||||
| 330 | 380 | ||||
| 331 | // Get the contents of a variant #GValue. | 381 | // Get the contents of a variant #GValue. | ||
| 332 | func (x *Value) GetVariant() *glib.Variant { | 382 | func (x *Value) GetVariant() *glib.Variant { | ||
| 383 | + | core.LazyRegister(&xValueGetVariant, "GOBJECT", "g_value_get_variant", false) | |||
| 384 | + | ||||
| 333 | cret := xValueGetVariant(x.GoPointer()) | 385 | cret := xValueGetVariant(x.GoPointer()) | ||
| 334 | if cret == 0 { | 386 | if cret == 0 { | ||
| 335 | return nil | 387 | return nil | ||
| @@ -355,6 +407,8 @@ var xValueInit func(uintptr, types.GType) uintptr | |||||
| 355 | // | 407 | // | ||
| 356 | // ``` | 408 | // ``` | ||
| 357 | func (x *Value) Init(GTypeVar types.GType) *Value { | 409 | func (x *Value) Init(GTypeVar types.GType) *Value { | ||
| 410 | + | core.LazyRegister(&xValueInit, "GOBJECT", "g_value_init", false) | |||
| 411 | + | ||||
| 358 | cret := xValueInit(x.GoPointer(), GTypeVar) | 412 | cret := xValueInit(x.GoPointer(), GTypeVar) | ||
| 359 | if cret == 0 { | 413 | if cret == 0 { | ||
| 360 | return nil | 414 | return nil | ||
| @@ -374,6 +428,8 @@ var xValueInitFromInstance func(uintptr, *TypeInstance) | |||||
| 374 | // [type@GObject.Type] (such as a parent class type), you need to manually call | 428 | // [type@GObject.Type] (such as a parent class type), you need to manually call | ||
| 375 | // [method@GObject.Value.init] and [method@GObject.Value.set_instance]. | 429 | // [method@GObject.Value.init] and [method@GObject.Value.set_instance]. | ||
| 376 | func (x *Value) InitFromInstance(InstanceVar *TypeInstance) { | 430 | func (x *Value) InitFromInstance(InstanceVar *TypeInstance) { | ||
| 431 | + | core.LazyRegister(&xValueInitFromInstance, "GOBJECT", "g_value_init_from_instance", false) | |||
| 432 | + | ||||
| 377 | xValueInitFromInstance(x.GoPointer(), InstanceVar) | 433 | xValueInitFromInstance(x.GoPointer(), InstanceVar) | ||
| 378 | } | 434 | } | ||
| 379 | 435 | ||||
| @@ -386,6 +442,8 @@ var xValuePeekPointer func(uintptr) uintptr | |||||
| 386 | // | 442 | // | ||
| 387 | // This is an internal function introduced mainly for C marshallers. | 443 | // This is an internal function introduced mainly for C marshallers. | ||
| 388 | func (x *Value) PeekPointer() uintptr { | 444 | func (x *Value) PeekPointer() uintptr { | ||
| 445 | + | core.LazyRegister(&xValuePeekPointer, "GOBJECT", "g_value_peek_pointer", false) | |||
| 446 | + | ||||
| 389 | cret := xValuePeekPointer(x.GoPointer()) | 447 | cret := xValuePeekPointer(x.GoPointer()) | ||
| 390 | return cret | 448 | return cret | ||
| 391 | } | 449 | } | ||
| @@ -396,6 +454,8 @@ var xValueReset func(uintptr) uintptr | |||||
| 396 | // (as if the value had just been initialized using | 454 | // (as if the value had just been initialized using | ||
| 397 | // [method@GObject.Value.init]). | 455 | // [method@GObject.Value.init]). | ||
| 398 | func (x *Value) Reset() *Value { | 456 | func (x *Value) Reset() *Value { | ||
| 457 | + | core.LazyRegister(&xValueReset, "GOBJECT", "g_value_reset", false) | |||
| 458 | + | ||||
| 399 | cret := xValueReset(x.GoPointer()) | 459 | cret := xValueReset(x.GoPointer()) | ||
| 400 | if cret == 0 { | 460 | if cret == 0 { | ||
| 401 | return nil | 461 | return nil | ||
| @@ -407,6 +467,8 @@ var xValueSetBoolean func(uintptr, bool) | |||||
| 407 | 467 | ||||
| 408 | // Set the contents of a %G_TYPE_BOOLEAN #GValue to @v_boolean. | 468 | // Set the contents of a %G_TYPE_BOOLEAN #GValue to @v_boolean. | ||
| 409 | func (x *Value) SetBoolean(VBooleanVar bool) { | 469 | func (x *Value) SetBoolean(VBooleanVar bool) { | ||
| 470 | + | core.LazyRegister(&xValueSetBoolean, "GOBJECT", "g_value_set_boolean", false) | |||
| 471 | + | ||||
| 410 | xValueSetBoolean(x.GoPointer(), VBooleanVar) | 472 | xValueSetBoolean(x.GoPointer(), VBooleanVar) | ||
| 411 | } | 473 | } | ||
| 412 | 474 | ||||
| @@ -414,6 +476,8 @@ var xValueSetBoxed func(uintptr, uintptr) | |||||
| 414 | 476 | ||||
| 415 | // Set the contents of a %G_TYPE_BOXED derived #GValue to @v_boxed. | 477 | // Set the contents of a %G_TYPE_BOXED derived #GValue to @v_boxed. | ||
| 416 | func (x *Value) SetBoxed(VBoxedVar uintptr) { | 478 | func (x *Value) SetBoxed(VBoxedVar uintptr) { | ||
| 479 | + | core.LazyRegister(&xValueSetBoxed, "GOBJECT", "g_value_set_boxed", false) | |||
| 480 | + | ||||
| 417 | xValueSetBoxed(x.GoPointer(), VBoxedVar) | 481 | xValueSetBoxed(x.GoPointer(), VBoxedVar) | ||
| 418 | } | 482 | } | ||
| 419 | 483 | ||||
| @@ -421,6 +485,8 @@ var xValueSetBoxedTakeOwnership func(uintptr, uintptr) | |||||
| 421 | 485 | ||||
| 422 | // This is an internal function introduced mainly for C marshallers. | 486 | // This is an internal function introduced mainly for C marshallers. | ||
| 423 | func (x *Value) SetBoxedTakeOwnership(VBoxedVar uintptr) { | 487 | func (x *Value) SetBoxedTakeOwnership(VBoxedVar uintptr) { | ||
| 488 | + | core.LazyRegister(&xValueSetBoxedTakeOwnership, "GOBJECT", "g_value_set_boxed_take_ownership", false) | |||
| 489 | + | ||||
| 424 | xValueSetBoxedTakeOwnership(x.GoPointer(), VBoxedVar) | 490 | xValueSetBoxedTakeOwnership(x.GoPointer(), VBoxedVar) | ||
| 425 | } | 491 | } | ||
| 426 | 492 | ||||
| @@ -428,6 +494,8 @@ var xValueSetChar func(uintptr, byte) | |||||
| 428 | 494 | ||||
| 429 | // Set the contents of a %G_TYPE_CHAR #GValue to @v_char. | 495 | // Set the contents of a %G_TYPE_CHAR #GValue to @v_char. | ||
| 430 | func (x *Value) SetChar(VCharVar byte) { | 496 | func (x *Value) SetChar(VCharVar byte) { | ||
| 497 | + | core.LazyRegister(&xValueSetChar, "GOBJECT", "g_value_set_char", false) | |||
| 498 | + | ||||
| 431 | xValueSetChar(x.GoPointer(), VCharVar) | 499 | xValueSetChar(x.GoPointer(), VCharVar) | ||
| 432 | } | 500 | } | ||
| 433 | 501 | ||||
| @@ -435,6 +503,8 @@ var xValueSetDouble func(uintptr, float64) | |||||
| 435 | 503 | ||||
| 436 | // Set the contents of a %G_TYPE_DOUBLE #GValue to @v_double. | 504 | // Set the contents of a %G_TYPE_DOUBLE #GValue to @v_double. | ||
| 437 | func (x *Value) SetDouble(VDoubleVar float64) { | 505 | func (x *Value) SetDouble(VDoubleVar float64) { | ||
| 506 | + | core.LazyRegister(&xValueSetDouble, "GOBJECT", "g_value_set_double", false) | |||
| 507 | + | ||||
| 438 | xValueSetDouble(x.GoPointer(), VDoubleVar) | 508 | xValueSetDouble(x.GoPointer(), VDoubleVar) | ||
| 439 | } | 509 | } | ||
| 440 | 510 | ||||
| @@ -442,6 +512,8 @@ var xValueSetEnum func(uintptr, int) | |||||
| 442 | 512 | ||||
| 443 | // Set the contents of a %G_TYPE_ENUM #GValue to @v_enum. | 513 | // Set the contents of a %G_TYPE_ENUM #GValue to @v_enum. | ||
| 444 | func (x *Value) SetEnum(VEnumVar int) { | 514 | func (x *Value) SetEnum(VEnumVar int) { | ||
| 515 | + | core.LazyRegister(&xValueSetEnum, "GOBJECT", "g_value_set_enum", false) | |||
| 516 | + | ||||
| 445 | xValueSetEnum(x.GoPointer(), VEnumVar) | 517 | xValueSetEnum(x.GoPointer(), VEnumVar) | ||
| 446 | } | 518 | } | ||
| 447 | 519 | ||||
| @@ -449,6 +521,8 @@ var xValueSetFlags func(uintptr, uint) | |||||
| 449 | 521 | ||||
| 450 | // Set the contents of a %G_TYPE_FLAGS #GValue to @v_flags. | 522 | // Set the contents of a %G_TYPE_FLAGS #GValue to @v_flags. | ||
| 451 | func (x *Value) SetFlags(VFlagsVar uint) { | 523 | func (x *Value) SetFlags(VFlagsVar uint) { | ||
| 524 | + | core.LazyRegister(&xValueSetFlags, "GOBJECT", "g_value_set_flags", false) | |||
| 525 | + | ||||
| 452 | xValueSetFlags(x.GoPointer(), VFlagsVar) | 526 | xValueSetFlags(x.GoPointer(), VFlagsVar) | ||
| 453 | } | 527 | } | ||
| 454 | 528 | ||||
| @@ -456,6 +530,8 @@ var xValueSetFloat func(uintptr, float32) | |||||
| 456 | 530 | ||||
| 457 | // Set the contents of a %G_TYPE_FLOAT #GValue to @v_float. | 531 | // Set the contents of a %G_TYPE_FLOAT #GValue to @v_float. | ||
| 458 | func (x *Value) SetFloat(VFloatVar float32) { | 532 | func (x *Value) SetFloat(VFloatVar float32) { | ||
| 533 | + | core.LazyRegister(&xValueSetFloat, "GOBJECT", "g_value_set_float", false) | |||
| 534 | + | ||||
| 459 | xValueSetFloat(x.GoPointer(), VFloatVar) | 535 | xValueSetFloat(x.GoPointer(), VFloatVar) | ||
| 460 | } | 536 | } | ||
| 461 | 537 | ||||
| @@ -463,6 +539,8 @@ var xValueSetGtype func(uintptr, types.GType) | |||||
| 463 | 539 | ||||
| 464 | // Set the contents of a %G_TYPE_GTYPE #GValue to @v_gtype. | 540 | // Set the contents of a %G_TYPE_GTYPE #GValue to @v_gtype. | ||
| 465 | func (x *Value) SetGtype(VGtypeVar types.GType) { | 541 | func (x *Value) SetGtype(VGtypeVar types.GType) { | ||
| 542 | + | core.LazyRegister(&xValueSetGtype, "GOBJECT", "g_value_set_gtype", false) | |||
| 543 | + | ||||
| 466 | xValueSetGtype(x.GoPointer(), VGtypeVar) | 544 | xValueSetGtype(x.GoPointer(), VGtypeVar) | ||
| 467 | } | 545 | } | ||
| 468 | 546 | ||||
| @@ -473,6 +551,8 @@ var xValueSetInstance func(uintptr, uintptr) | |||||
| 473 | // This calls the [callback@GObject.TypeValueCollectFunc] function for the type | 551 | // This calls the [callback@GObject.TypeValueCollectFunc] function for the type | ||
| 474 | // the [struct@GObject.Value] contains. | 552 | // the [struct@GObject.Value] contains. | ||
| 475 | func (x *Value) SetInstance(InstanceVar uintptr) { | 553 | func (x *Value) SetInstance(InstanceVar uintptr) { | ||
| 554 | + | core.LazyRegister(&xValueSetInstance, "GOBJECT", "g_value_set_instance", false) | |||
| 555 | + | ||||
| 476 | xValueSetInstance(x.GoPointer(), InstanceVar) | 556 | xValueSetInstance(x.GoPointer(), InstanceVar) | ||
| 477 | } | 557 | } | ||
| 478 | 558 | ||||
| @@ -480,6 +560,8 @@ var xValueSetInt func(uintptr, int) | |||||
| 480 | 560 | ||||
| 481 | // Set the contents of a %G_TYPE_INT #GValue to @v_int. | 561 | // Set the contents of a %G_TYPE_INT #GValue to @v_int. | ||
| 482 | func (x *Value) SetInt(VIntVar int) { | 562 | func (x *Value) SetInt(VIntVar int) { | ||
| 563 | + | core.LazyRegister(&xValueSetInt, "GOBJECT", "g_value_set_int", false) | |||
| 564 | + | ||||
| 483 | xValueSetInt(x.GoPointer(), VIntVar) | 565 | xValueSetInt(x.GoPointer(), VIntVar) | ||
| 484 | } | 566 | } | ||
| 485 | 567 | ||||
| @@ -487,6 +569,8 @@ var xValueSetInt64 func(uintptr, int64) | |||||
| 487 | 569 | ||||
| 488 | // Set the contents of a %G_TYPE_INT64 #GValue to @v_int64. | 570 | // Set the contents of a %G_TYPE_INT64 #GValue to @v_int64. | ||
| 489 | func (x *Value) SetInt64(VInt64Var int64) { | 571 | func (x *Value) SetInt64(VInt64Var int64) { | ||
| 572 | + | core.LazyRegister(&xValueSetInt64, "GOBJECT", "g_value_set_int64", false) | |||
| 573 | + | ||||
| 490 | xValueSetInt64(x.GoPointer(), VInt64Var) | 574 | xValueSetInt64(x.GoPointer(), VInt64Var) | ||
| 491 | } | 575 | } | ||
| 492 | 576 | ||||
| @@ -496,6 +580,8 @@ var xValueSetInternedString func(uintptr, uintptr) | |||||
| 496 | // assumed to be static and interned (canonical, for example from | 580 | // assumed to be static and interned (canonical, for example from | ||
| 497 | // g_intern_string()), and is thus not duplicated when setting the #GValue. | 581 | // g_intern_string()), and is thus not duplicated when setting the #GValue. | ||
| 498 | func (x *Value) SetInternedString(VStringVar *string) { | 582 | func (x *Value) SetInternedString(VStringVar *string) { | ||
| 583 | + | core.LazyRegister(&xValueSetInternedString, "GOBJECT", "g_value_set_interned_string", false) | |||
| 584 | + | ||||
| 499 | VStringVarPtr := core.GStrdupNullable(VStringVar) | 585 | VStringVarPtr := core.GStrdupNullable(VStringVar) | ||
| 500 | defer core.GFreeNullable(VStringVarPtr) | 586 | defer core.GFreeNullable(VStringVarPtr) | ||
| 501 | 587 | ||||
| @@ -506,6 +592,8 @@ var xValueSetLong func(uintptr, int) | |||||
| 506 | 592 | ||||
| 507 | // Set the contents of a %G_TYPE_LONG #GValue to @v_long. | 593 | // Set the contents of a %G_TYPE_LONG #GValue to @v_long. | ||
| 508 | func (x *Value) SetLong(VLongVar int) { | 594 | func (x *Value) SetLong(VLongVar int) { | ||
| 595 | + | core.LazyRegister(&xValueSetLong, "GOBJECT", "g_value_set_long", false) | |||
| 596 | + | ||||
| 509 | xValueSetLong(x.GoPointer(), VLongVar) | 597 | xValueSetLong(x.GoPointer(), VLongVar) | ||
| 510 | } | 598 | } | ||
| 511 | 599 | ||||
| @@ -523,6 +611,8 @@ var xValueSetObject func(uintptr, uintptr) | |||||
| 523 | // own, or one it has taken) to ensure that the object won't be destroyed while | 611 | // own, or one it has taken) to ensure that the object won't be destroyed while | ||
| 524 | // the #GValue still exists). | 612 | // the #GValue still exists). | ||
| 525 | func (x *Value) SetObject(VObjectVar *Object) { | 613 | func (x *Value) SetObject(VObjectVar *Object) { | ||
| 614 | + | core.LazyRegister(&xValueSetObject, "GOBJECT", "g_value_set_object", false) | |||
| 615 | + | ||||
| 526 | xValueSetObject(x.GoPointer(), VObjectVar.GoPointer()) | 616 | xValueSetObject(x.GoPointer(), VObjectVar.GoPointer()) | ||
| 527 | } | 617 | } | ||
| 528 | 618 | ||||
| @@ -530,6 +620,8 @@ var xValueSetObjectTakeOwnership func(uintptr, uintptr) | |||||
| 530 | 620 | ||||
| 531 | // This is an internal function introduced mainly for C marshallers. | 621 | // This is an internal function introduced mainly for C marshallers. | ||
| 532 | func (x *Value) SetObjectTakeOwnership(VObjectVar uintptr) { | 622 | func (x *Value) SetObjectTakeOwnership(VObjectVar uintptr) { | ||
| 623 | + | core.LazyRegister(&xValueSetObjectTakeOwnership, "GOBJECT", "g_value_set_object_take_ownership", false) | |||
| 624 | + | ||||
| 533 | xValueSetObjectTakeOwnership(x.GoPointer(), VObjectVar) | 625 | xValueSetObjectTakeOwnership(x.GoPointer(), VObjectVar) | ||
| 534 | } | 626 | } | ||
| 535 | 627 | ||||
| @@ -537,6 +629,8 @@ var xValueSetParam func(uintptr, uintptr) | |||||
| 537 | 629 | ||||
| 538 | // Set the contents of a %G_TYPE_PARAM #GValue to @param. | 630 | // Set the contents of a %G_TYPE_PARAM #GValue to @param. | ||
| 539 | func (x *Value) SetParam(ParamVar *ParamSpec) { | 631 | func (x *Value) SetParam(ParamVar *ParamSpec) { | ||
| 632 | + | core.LazyRegister(&xValueSetParam, "GOBJECT", "g_value_set_param", false) | |||
| 633 | + | ||||
| 540 | xValueSetParam(x.GoPointer(), ParamVar.GoPointer()) | 634 | xValueSetParam(x.GoPointer(), ParamVar.GoPointer()) | ||
| 541 | } | 635 | } | ||
| 542 | 636 | ||||
| @@ -544,6 +638,8 @@ var xValueSetParamTakeOwnership func(uintptr, uintptr) | |||||
| 544 | 638 | ||||
| 545 | // This is an internal function introduced mainly for C marshallers. | 639 | // This is an internal function introduced mainly for C marshallers. | ||
| 546 | func (x *Value) SetParamTakeOwnership(ParamVar *ParamSpec) { | 640 | func (x *Value) SetParamTakeOwnership(ParamVar *ParamSpec) { | ||
| 641 | + | core.LazyRegister(&xValueSetParamTakeOwnership, "GOBJECT", "g_value_set_param_take_ownership", false) | |||
| 642 | + | ||||
| 547 | xValueSetParamTakeOwnership(x.GoPointer(), ParamVar.GoPointer()) | 643 | xValueSetParamTakeOwnership(x.GoPointer(), ParamVar.GoPointer()) | ||
| 548 | } | 644 | } | ||
| 549 | 645 | ||||
| @@ -551,6 +647,8 @@ var xValueSetPointer func(uintptr, uintptr) | |||||
| 551 | 647 | ||||
| 552 | // Set the contents of a pointer #GValue to @v_pointer. | 648 | // Set the contents of a pointer #GValue to @v_pointer. | ||
| 553 | func (x *Value) SetPointer(VPointerVar uintptr) { | 649 | func (x *Value) SetPointer(VPointerVar uintptr) { | ||
| 650 | + | core.LazyRegister(&xValueSetPointer, "GOBJECT", "g_value_set_pointer", false) | |||
| 651 | + | ||||
| 554 | xValueSetPointer(x.GoPointer(), VPointerVar) | 652 | xValueSetPointer(x.GoPointer(), VPointerVar) | ||
| 555 | } | 653 | } | ||
| 556 | 654 | ||||
| @@ -558,6 +656,8 @@ var xValueSetSchar func(uintptr, int8) | |||||
| 558 | 656 | ||||
| 559 | // Set the contents of a %G_TYPE_CHAR #GValue to @v_char. | 657 | // Set the contents of a %G_TYPE_CHAR #GValue to @v_char. | ||
| 560 | func (x *Value) SetSchar(VCharVar int8) { | 658 | func (x *Value) SetSchar(VCharVar int8) { | ||
| 659 | + | core.LazyRegister(&xValueSetSchar, "GOBJECT", "g_value_set_schar", false) | |||
| 660 | + | ||||
| 561 | xValueSetSchar(x.GoPointer(), VCharVar) | 661 | xValueSetSchar(x.GoPointer(), VCharVar) | ||
| 562 | } | 662 | } | ||
| 563 | 663 | ||||
| @@ -568,6 +668,8 @@ var xValueSetStaticBoxed func(uintptr, uintptr) | |||||
| 568 | // The boxed value is assumed to be static, and is thus not duplicated | 668 | // The boxed value is assumed to be static, and is thus not duplicated | ||
| 569 | // when setting the #GValue. | 669 | // when setting the #GValue. | ||
| 570 | func (x *Value) SetStaticBoxed(VBoxedVar uintptr) { | 670 | func (x *Value) SetStaticBoxed(VBoxedVar uintptr) { | ||
| 671 | + | core.LazyRegister(&xValueSetStaticBoxed, "GOBJECT", "g_value_set_static_boxed", false) | |||
| 672 | + | ||||
| 571 | xValueSetStaticBoxed(x.GoPointer(), VBoxedVar) | 673 | xValueSetStaticBoxed(x.GoPointer(), VBoxedVar) | ||
| 572 | } | 674 | } | ||
| 573 | 675 | ||||
| @@ -580,6 +682,8 @@ var xValueSetStaticString func(uintptr, uintptr) | |||||
| 580 | // If the the string is a canonical string, using g_value_set_interned_string() | 682 | // If the the string is a canonical string, using g_value_set_interned_string() | ||
| 581 | // is more appropriate. | 683 | // is more appropriate. | ||
| 582 | func (x *Value) SetStaticString(VStringVar *string) { | 684 | func (x *Value) SetStaticString(VStringVar *string) { | ||
| 685 | + | core.LazyRegister(&xValueSetStaticString, "GOBJECT", "g_value_set_static_string", false) | |||
| 686 | + | ||||
| 583 | VStringVarPtr := core.GStrdupNullable(VStringVar) | 687 | VStringVarPtr := core.GStrdupNullable(VStringVar) | ||
| 584 | defer core.GFreeNullable(VStringVarPtr) | 688 | defer core.GFreeNullable(VStringVarPtr) | ||
| 585 | 689 | ||||
| @@ -590,6 +694,8 @@ var xValueSetString func(uintptr, uintptr) | |||||
| 590 | 694 | ||||
| 591 | // Set the contents of a %G_TYPE_STRING #GValue to a copy of @v_string. | 695 | // Set the contents of a %G_TYPE_STRING #GValue to a copy of @v_string. | ||
| 592 | func (x *Value) SetString(VStringVar *string) { | 696 | func (x *Value) SetString(VStringVar *string) { | ||
| 697 | + | core.LazyRegister(&xValueSetString, "GOBJECT", "g_value_set_string", false) | |||
| 698 | + | ||||
| 593 | VStringVarPtr := core.GStrdupNullable(VStringVar) | 699 | VStringVarPtr := core.GStrdupNullable(VStringVar) | ||
| 594 | defer core.GFreeNullable(VStringVarPtr) | 700 | defer core.GFreeNullable(VStringVarPtr) | ||
| 595 | 701 | ||||
| @@ -600,6 +706,8 @@ var xValueSetStringTakeOwnership func(uintptr, uintptr) | |||||
| 600 | 706 | ||||
| 601 | // This is an internal function introduced mainly for C marshallers. | 707 | // This is an internal function introduced mainly for C marshallers. | ||
| 602 | func (x *Value) SetStringTakeOwnership(VStringVar *string) { | 708 | func (x *Value) SetStringTakeOwnership(VStringVar *string) { | ||
| 709 | + | core.LazyRegister(&xValueSetStringTakeOwnership, "GOBJECT", "g_value_set_string_take_ownership", false) | |||
| 710 | + | ||||
| 603 | VStringVarPtr := core.GStrdupNullable(VStringVar) | 711 | VStringVarPtr := core.GStrdupNullable(VStringVar) | ||
| 604 | defer core.GFreeNullable(VStringVarPtr) | 712 | defer core.GFreeNullable(VStringVarPtr) | ||
| 605 | 713 | ||||
| @@ -610,6 +718,8 @@ var xValueSetUchar func(uintptr, byte) | |||||
| 610 | 718 | ||||
| 611 | // Set the contents of a %G_TYPE_UCHAR #GValue to @v_uchar. | 719 | // Set the contents of a %G_TYPE_UCHAR #GValue to @v_uchar. | ||
| 612 | func (x *Value) SetUchar(VUcharVar byte) { | 720 | func (x *Value) SetUchar(VUcharVar byte) { | ||
| 721 | + | core.LazyRegister(&xValueSetUchar, "GOBJECT", "g_value_set_uchar", false) | |||
| 722 | + | ||||
| 613 | xValueSetUchar(x.GoPointer(), VUcharVar) | 723 | xValueSetUchar(x.GoPointer(), VUcharVar) | ||
| 614 | } | 724 | } | ||
| 615 | 725 | ||||
| @@ -617,6 +727,8 @@ var xValueSetUint func(uintptr, uint) | |||||
| 617 | 727 | ||||
| 618 | // Set the contents of a %G_TYPE_UINT #GValue to @v_uint. | 728 | // Set the contents of a %G_TYPE_UINT #GValue to @v_uint. | ||
| 619 | func (x *Value) SetUint(VUintVar uint) { | 729 | func (x *Value) SetUint(VUintVar uint) { | ||
| 730 | + | core.LazyRegister(&xValueSetUint, "GOBJECT", "g_value_set_uint", false) | |||
| 731 | + | ||||
| 620 | xValueSetUint(x.GoPointer(), VUintVar) | 732 | xValueSetUint(x.GoPointer(), VUintVar) | ||
| 621 | } | 733 | } | ||
| 622 | 734 | ||||
| @@ -624,6 +736,8 @@ var xValueSetUint64 func(uintptr, uint64) | |||||
| 624 | 736 | ||||
| 625 | // Set the contents of a %G_TYPE_UINT64 #GValue to @v_uint64. | 737 | // Set the contents of a %G_TYPE_UINT64 #GValue to @v_uint64. | ||
| 626 | func (x *Value) SetUint64(VUint64Var uint64) { | 738 | func (x *Value) SetUint64(VUint64Var uint64) { | ||
| 739 | + | core.LazyRegister(&xValueSetUint64, "GOBJECT", "g_value_set_uint64", false) | |||
| 740 | + | ||||
| 627 | xValueSetUint64(x.GoPointer(), VUint64Var) | 741 | xValueSetUint64(x.GoPointer(), VUint64Var) | ||
| 628 | } | 742 | } | ||
| 629 | 743 | ||||
| @@ -631,6 +745,8 @@ var xValueSetUlong func(uintptr, uint) | |||||
| 631 | 745 | ||||
| 632 | // Set the contents of a %G_TYPE_ULONG #GValue to @v_ulong. | 746 | // Set the contents of a %G_TYPE_ULONG #GValue to @v_ulong. | ||
| 633 | func (x *Value) SetUlong(VUlongVar uint) { | 747 | func (x *Value) SetUlong(VUlongVar uint) { | ||
| 748 | + | core.LazyRegister(&xValueSetUlong, "GOBJECT", "g_value_set_ulong", false) | |||
| 749 | + | ||||
| 634 | xValueSetUlong(x.GoPointer(), VUlongVar) | 750 | xValueSetUlong(x.GoPointer(), VUlongVar) | ||
| 635 | } | 751 | } | ||
| 636 | 752 | ||||
| @@ -639,6 +755,8 @@ var xValueSetVariant func(uintptr, *glib.Variant) | |||||
| 639 | // Set the contents of a variant #GValue to @variant. | 755 | // Set the contents of a variant #GValue to @variant. | ||
| 640 | // If the variant is floating, it is consumed. | 756 | // If the variant is floating, it is consumed. | ||
| 641 | func (x *Value) SetVariant(VariantVar *glib.Variant) { | 757 | func (x *Value) SetVariant(VariantVar *glib.Variant) { | ||
| 758 | + | core.LazyRegister(&xValueSetVariant, "GOBJECT", "g_value_set_variant", false) | |||
| 759 | + | ||||
| 642 | xValueSetVariant(x.GoPointer(), VariantVar) | 760 | xValueSetVariant(x.GoPointer(), VariantVar) | ||
| 643 | } | 761 | } | ||
| 644 | 762 | ||||
| @@ -654,6 +772,8 @@ var xValueStealString func(uintptr) string | |||||
| 654 | // static string, or an interned one, this function will return a copy | 772 | // static string, or an interned one, this function will return a copy | ||
| 655 | // of the string. Otherwise the transfer notation would be ambiguous. | 773 | // of the string. Otherwise the transfer notation would be ambiguous. | ||
| 656 | func (x *Value) StealString() string { | 774 | func (x *Value) StealString() string { | ||
| 775 | + | core.LazyRegister(&xValueStealString, "GOBJECT", "g_value_steal_string", false) | |||
| 776 | + | ||||
| 657 | cret := xValueStealString(x.GoPointer()) | 777 | cret := xValueStealString(x.GoPointer()) | ||
| 658 | return cret | 778 | return cret | ||
| 659 | } | 779 | } | ||
| @@ -664,6 +784,8 @@ var xValueTakeBoxed func(uintptr, uintptr) | |||||
| 664 | // and takes over the ownership of the caller’s reference to @v_boxed; | 784 | // and takes over the ownership of the caller’s reference to @v_boxed; | ||
| 665 | // the caller doesn’t have to unref it any more. | 785 | // the caller doesn’t have to unref it any more. | ||
| 666 | func (x *Value) TakeBoxed(VBoxedVar uintptr) { | 786 | func (x *Value) TakeBoxed(VBoxedVar uintptr) { | ||
| 787 | + | core.LazyRegister(&xValueTakeBoxed, "GOBJECT", "g_value_take_boxed", false) | |||
| 788 | + | ||||
| 667 | xValueTakeBoxed(x.GoPointer(), VBoxedVar) | 789 | xValueTakeBoxed(x.GoPointer(), VBoxedVar) | ||
| 668 | } | 790 | } | ||
| 669 | 791 | ||||
| @@ -677,6 +799,8 @@ var xValueTakeObject func(uintptr, uintptr) | |||||
| 677 | // If you want the #GValue to hold its own reference to @v_object, use | 799 | // If you want the #GValue to hold its own reference to @v_object, use | ||
| 678 | // g_value_set_object() instead. | 800 | // g_value_set_object() instead. | ||
| 679 | func (x *Value) TakeObject(VObjectVar uintptr) { | 801 | func (x *Value) TakeObject(VObjectVar uintptr) { | ||
| 802 | + | core.LazyRegister(&xValueTakeObject, "GOBJECT", "g_value_take_object", false) | |||
| 803 | + | ||||
| 680 | xValueTakeObject(x.GoPointer(), VObjectVar) | 804 | xValueTakeObject(x.GoPointer(), VObjectVar) | ||
| 681 | } | 805 | } | ||
| 682 | 806 | ||||
| @@ -686,6 +810,8 @@ var xValueTakeParam func(uintptr, uintptr) | |||||
| 686 | // over the ownership of the caller’s reference to @param; the caller | 810 | // over the ownership of the caller’s reference to @param; the caller | ||
| 687 | // doesn’t have to unref it any more. | 811 | // doesn’t have to unref it any more. | ||
| 688 | func (x *Value) TakeParam(ParamVar *ParamSpec) { | 812 | func (x *Value) TakeParam(ParamVar *ParamSpec) { | ||
| 813 | + | core.LazyRegister(&xValueTakeParam, "GOBJECT", "g_value_take_param", false) | |||
| 814 | + | ||||
| 689 | xValueTakeParam(x.GoPointer(), ParamVar.GoPointer()) | 815 | xValueTakeParam(x.GoPointer(), ParamVar.GoPointer()) | ||
| 690 | } | 816 | } | ||
| 691 | 817 | ||||
| @@ -693,6 +819,8 @@ var xValueTakeString func(uintptr, uintptr) | |||||
| 693 | 819 | ||||
| 694 | // Sets the contents of a %G_TYPE_STRING #GValue to @v_string. | 820 | // Sets the contents of a %G_TYPE_STRING #GValue to @v_string. | ||
| 695 | func (x *Value) TakeString(VStringVar *string) { | 821 | func (x *Value) TakeString(VStringVar *string) { | ||
| 822 | + | core.LazyRegister(&xValueTakeString, "GOBJECT", "g_value_take_string", false) | |||
| 823 | + | ||||
| 696 | VStringVarPtr := core.GStrdupNullable(VStringVar) | 824 | VStringVarPtr := core.GStrdupNullable(VStringVar) | ||
| 697 | defer core.GFreeNullable(VStringVarPtr) | 825 | defer core.GFreeNullable(VStringVarPtr) | ||
| 698 | 826 | ||||
| @@ -714,6 +842,8 @@ var xValueTakeVariant func(uintptr, *glib.Variant) | |||||
| 714 | // | 842 | // | ||
| 715 | // This is an internal function introduced mainly for C marshallers. | 843 | // This is an internal function introduced mainly for C marshallers. | ||
| 716 | func (x *Value) TakeVariant(VariantVar *glib.Variant) { | 844 | func (x *Value) TakeVariant(VariantVar *glib.Variant) { | ||
| 845 | + | core.LazyRegister(&xValueTakeVariant, "GOBJECT", "g_value_take_variant", false) | |||
| 846 | + | ||||
| 717 | xValueTakeVariant(x.GoPointer(), VariantVar) | 847 | xValueTakeVariant(x.GoPointer(), VariantVar) | ||
| 718 | } | 848 | } | ||
| 719 | 849 | ||||
| @@ -732,6 +862,8 @@ var xValueTransform func(uintptr, *Value) bool | |||||
| 732 | // results and the format of particular transformations to strings is not | 862 | // results and the format of particular transformations to strings is not | ||
| 733 | // guaranteed over time. | 863 | // guaranteed over time. | ||
| 734 | func (x *Value) Transform(DestValueVar *Value) bool { | 864 | func (x *Value) Transform(DestValueVar *Value) bool { | ||
| 865 | + | core.LazyRegister(&xValueTransform, "GOBJECT", "g_value_transform", false) | |||
| 866 | + | ||||
| 735 | cret := xValueTransform(x.GoPointer(), DestValueVar) | 867 | cret := xValueTransform(x.GoPointer(), DestValueVar) | ||
| 736 | return cret | 868 | return cret | ||
| 737 | } | 869 | } | ||
| @@ -744,6 +876,8 @@ var xValueUnset func(uintptr) | |||||
| 744 | // unset value is the same as a cleared (zero-filled) | 876 | // unset value is the same as a cleared (zero-filled) | ||
| 745 | // [struct@GObject.Value] structure set to `G_VALUE_INIT`. | 877 | // [struct@GObject.Value] structure set to `G_VALUE_INIT`. | ||
| 746 | func (x *Value) Unset() { | 878 | func (x *Value) Unset() { | ||
| 879 | + | core.LazyRegister(&xValueUnset, "GOBJECT", "g_value_unset", false) | |||
| 880 | + | ||||
| 747 | xValueUnset(x.GoPointer()) | 881 | xValueUnset(x.GoPointer()) | ||
| 748 | } | 882 | } | ||
| 749 | 883 | ||||
| @@ -780,6 +914,8 @@ var xValueRegisterTransformFunc func(types.GType, types.GType, uintptr) | |||||
| 780 | // Any previously registered transformation function for @src_type and | 914 | // Any previously registered transformation function for @src_type and | ||
| 781 | // @dest_type will be replaced. | 915 | // @dest_type will be replaced. | ||
| 782 | func ValueRegisterTransformFunc(SrcTypeVar types.GType, DestTypeVar types.GType, TransformFuncVar *ValueTransform) { | 916 | func ValueRegisterTransformFunc(SrcTypeVar types.GType, DestTypeVar types.GType, TransformFuncVar *ValueTransform) { | ||
| 917 | + | core.LazyRegister(&xValueRegisterTransformFunc, "GOBJECT", "g_value_register_transform_func", false) | |||
| 918 | + | ||||
| 783 | xValueRegisterTransformFunc(SrcTypeVar, DestTypeVar, glib.NewCallback(TransformFuncVar)) | 919 | xValueRegisterTransformFunc(SrcTypeVar, DestTypeVar, glib.NewCallback(TransformFuncVar)) | ||
| 784 | } | 920 | } | ||
| 785 | 921 | ||||
| @@ -788,6 +924,8 @@ var xValueTypeCompatible func(types.GType, types.GType) bool | |||||
| 788 | // Checks whether a [method@GObject.Value.copy] is able to copy values of type | 924 | // Checks whether a [method@GObject.Value.copy] is able to copy values of type | ||
| 789 | // @src_type into values of type @dest_type. | 925 | // @src_type into values of type @dest_type. | ||
| 790 | func ValueTypeCompatible(SrcTypeVar types.GType, DestTypeVar types.GType) bool { | 926 | func ValueTypeCompatible(SrcTypeVar types.GType, DestTypeVar types.GType) bool { | ||
| 927 | + | core.LazyRegister(&xValueTypeCompatible, "GOBJECT", "g_value_type_compatible", false) | |||
| 928 | + | ||||
| 791 | cret := xValueTypeCompatible(SrcTypeVar, DestTypeVar) | 929 | cret := xValueTypeCompatible(SrcTypeVar, DestTypeVar) | ||
| 792 | return cret | 930 | return cret | ||
| 793 | } | 931 | } | ||
| @@ -801,6 +939,8 @@ var xValueTypeTransformable func(types.GType, types.GType) bool | |||||
| 801 | // transformation function must be registered using | 939 | // transformation function must be registered using | ||
| 802 | // [func@GObject.Value.register_transform_func]. | 940 | // [func@GObject.Value.register_transform_func]. | ||
| 803 | func ValueTypeTransformable(SrcTypeVar types.GType, DestTypeVar types.GType) bool { | 941 | func ValueTypeTransformable(SrcTypeVar types.GType, DestTypeVar types.GType) bool { | ||
| 942 | + | core.LazyRegister(&xValueTypeTransformable, "GOBJECT", "g_value_type_transformable", false) | |||
| 943 | + | ||||
| 804 | cret := xValueTypeTransformable(SrcTypeVar, DestTypeVar) | 944 | cret := xValueTypeTransformable(SrcTypeVar, DestTypeVar) | ||
| 805 | return cret | 945 | return cret | ||
| 806 | } | 946 | } | ||
| @@ -808,88 +948,4 @@ func ValueTypeTransformable(SrcTypeVar types.GType, DestTypeVar types.GType) boo | |||||
| 808 | func init() { | 948 | func init() { | ||
| 809 | core.SetPackageName("GOBJECT", "gobject-2.0") | 949 | core.SetPackageName("GOBJECT", "gobject-2.0") | ||
| 810 | core.SetSharedLibraries("GOBJECT", []string{"libgobject-2.0.so.0", "libgobject-2.0.0.dylib"}) | 950 | core.SetSharedLibraries("GOBJECT", []string{"libgobject-2.0.so.0", "libgobject-2.0.0.dylib"}) | ||
| 811 | - | var libs []uintptr | |||
| 812 | - | for _, libPath := range core.GetPaths("GOBJECT") { | |||
| 813 | - | lib, err := purego.Dlopen(libPath, purego.RTLD_NOW|purego.RTLD_GLOBAL) | |||
| 814 | - | if err != nil { | |||
| 815 | - | panic(err) | |||
| 816 | - | } | |||
| 817 | - | libs = append(libs, lib) | |||
| 818 | - | } | |||
| 819 | - | ||||
| 820 | - | core.PuregoSafeRegister(&xValueRegisterTransformFunc, libs, "g_value_register_transform_func") | |||
| 821 | - | core.PuregoSafeRegister(&xValueTypeCompatible, libs, "g_value_type_compatible") | |||
| 822 | - | core.PuregoSafeRegister(&xValueTypeTransformable, libs, "g_value_type_transformable") | |||
| 823 | - | ||||
| 824 | - | core.PuregoSafeRegister(&xValueGLibType, libs, "g_value_get_type") | |||
| 825 | - | ||||
| 826 | - | core.PuregoSafeRegister(&xValueCopy, libs, "g_value_copy") | |||
| 827 | - | core.PuregoSafeRegister(&xValueDupBoxed, libs, "g_value_dup_boxed") | |||
| 828 | - | core.PuregoSafeRegister(&xValueDupObject, libs, "g_value_dup_object") | |||
| 829 | - | core.PuregoSafeRegister(&xValueDupParam, libs, "g_value_dup_param") | |||
| 830 | - | core.PuregoSafeRegister(&xValueDupString, libs, "g_value_dup_string") | |||
| 831 | - | core.PuregoSafeRegister(&xValueDupVariant, libs, "g_value_dup_variant") | |||
| 832 | - | core.PuregoSafeRegister(&xValueFitsPointer, libs, "g_value_fits_pointer") | |||
| 833 | - | core.PuregoSafeRegister(&xValueGetBoolean, libs, "g_value_get_boolean") | |||
| 834 | - | core.PuregoSafeRegister(&xValueGetBoxed, libs, "g_value_get_boxed") | |||
| 835 | - | core.PuregoSafeRegister(&xValueGetChar, libs, "g_value_get_char") | |||
| 836 | - | core.PuregoSafeRegister(&xValueGetDouble, libs, "g_value_get_double") | |||
| 837 | - | core.PuregoSafeRegister(&xValueGetEnum, libs, "g_value_get_enum") | |||
| 838 | - | core.PuregoSafeRegister(&xValueGetFlags, libs, "g_value_get_flags") | |||
| 839 | - | core.PuregoSafeRegister(&xValueGetFloat, libs, "g_value_get_float") | |||
| 840 | - | core.PuregoSafeRegister(&xValueGetGtype, libs, "g_value_get_gtype") | |||
| 841 | - | core.PuregoSafeRegister(&xValueGetInt, libs, "g_value_get_int") | |||
| 842 | - | core.PuregoSafeRegister(&xValueGetInt64, libs, "g_value_get_int64") | |||
| 843 | - | core.PuregoSafeRegister(&xValueGetLong, libs, "g_value_get_long") | |||
| 844 | - | core.PuregoSafeRegister(&xValueGetObject, libs, "g_value_get_object") | |||
| 845 | - | core.PuregoSafeRegister(&xValueGetParam, libs, "g_value_get_param") | |||
| 846 | - | core.PuregoSafeRegister(&xValueGetPointer, libs, "g_value_get_pointer") | |||
| 847 | - | core.PuregoSafeRegister(&xValueGetSchar, libs, "g_value_get_schar") | |||
| 848 | - | core.PuregoSafeRegister(&xValueGetString, libs, "g_value_get_string") | |||
| 849 | - | core.PuregoSafeRegister(&xValueGetUchar, libs, "g_value_get_uchar") | |||
| 850 | - | core.PuregoSafeRegister(&xValueGetUint, libs, "g_value_get_uint") | |||
| 851 | - | core.PuregoSafeRegister(&xValueGetUint64, libs, "g_value_get_uint64") | |||
| 852 | - | core.PuregoSafeRegister(&xValueGetUlong, libs, "g_value_get_ulong") | |||
| 853 | - | core.PuregoSafeRegister(&xValueGetVariant, libs, "g_value_get_variant") | |||
| 854 | - | core.PuregoSafeRegister(&xValueInit, libs, "g_value_init") | |||
| 855 | - | core.PuregoSafeRegister(&xValueInitFromInstance, libs, "g_value_init_from_instance") | |||
| 856 | - | core.PuregoSafeRegister(&xValuePeekPointer, libs, "g_value_peek_pointer") | |||
| 857 | - | core.PuregoSafeRegister(&xValueReset, libs, "g_value_reset") | |||
| 858 | - | core.PuregoSafeRegister(&xValueSetBoolean, libs, "g_value_set_boolean") | |||
| 859 | - | core.PuregoSafeRegister(&xValueSetBoxed, libs, "g_value_set_boxed") | |||
| 860 | - | core.PuregoSafeRegister(&xValueSetBoxedTakeOwnership, libs, "g_value_set_boxed_take_ownership") | |||
| 861 | - | core.PuregoSafeRegister(&xValueSetChar, libs, "g_value_set_char") | |||
| 862 | - | core.PuregoSafeRegister(&xValueSetDouble, libs, "g_value_set_double") | |||
| 863 | - | core.PuregoSafeRegister(&xValueSetEnum, libs, "g_value_set_enum") | |||
| 864 | - | core.PuregoSafeRegister(&xValueSetFlags, libs, "g_value_set_flags") | |||
| 865 | - | core.PuregoSafeRegister(&xValueSetFloat, libs, "g_value_set_float") | |||
| 866 | - | core.PuregoSafeRegister(&xValueSetGtype, libs, "g_value_set_gtype") | |||
| 867 | - | core.PuregoSafeRegister(&xValueSetInstance, libs, "g_value_set_instance") | |||
| 868 | - | core.PuregoSafeRegister(&xValueSetInt, libs, "g_value_set_int") | |||
| 869 | - | core.PuregoSafeRegister(&xValueSetInt64, libs, "g_value_set_int64") | |||
| 870 | - | core.PuregoSafeRegister(&xValueSetInternedString, libs, "g_value_set_interned_string") | |||
| 871 | - | core.PuregoSafeRegister(&xValueSetLong, libs, "g_value_set_long") | |||
| 872 | - | core.PuregoSafeRegister(&xValueSetObject, libs, "g_value_set_object") | |||
| 873 | - | core.PuregoSafeRegister(&xValueSetObjectTakeOwnership, libs, "g_value_set_object_take_ownership") | |||
| 874 | - | core.PuregoSafeRegister(&xValueSetParam, libs, "g_value_set_param") | |||
| 875 | - | core.PuregoSafeRegister(&xValueSetParamTakeOwnership, libs, "g_value_set_param_take_ownership") | |||
| 876 | - | core.PuregoSafeRegister(&xValueSetPointer, libs, "g_value_set_pointer") | |||
| 877 | - | core.PuregoSafeRegister(&xValueSetSchar, libs, "g_value_set_schar") | |||
| 878 | - | core.PuregoSafeRegister(&xValueSetStaticBoxed, libs, "g_value_set_static_boxed") | |||
| 879 | - | core.PuregoSafeRegister(&xValueSetStaticString, libs, "g_value_set_static_string") | |||
| 880 | - | core.PuregoSafeRegister(&xValueSetString, libs, "g_value_set_string") | |||
| 881 | - | core.PuregoSafeRegister(&xValueSetStringTakeOwnership, libs, "g_value_set_string_take_ownership") | |||
| 882 | - | core.PuregoSafeRegister(&xValueSetUchar, libs, "g_value_set_uchar") | |||
| 883 | - | core.PuregoSafeRegister(&xValueSetUint, libs, "g_value_set_uint") | |||
| 884 | - | core.PuregoSafeRegister(&xValueSetUint64, libs, "g_value_set_uint64") | |||
| 885 | - | core.PuregoSafeRegister(&xValueSetUlong, libs, "g_value_set_ulong") | |||
| 886 | - | core.PuregoSafeRegister(&xValueSetVariant, libs, "g_value_set_variant") | |||
| 887 | - | core.PuregoSafeRegister(&xValueStealString, libs, "g_value_steal_string") | |||
| 888 | - | core.PuregoSafeRegister(&xValueTakeBoxed, libs, "g_value_take_boxed") | |||
| 889 | - | core.PuregoSafeRegister(&xValueTakeObject, libs, "g_value_take_object") | |||
| 890 | - | core.PuregoSafeRegister(&xValueTakeParam, libs, "g_value_take_param") | |||
| 891 | - | core.PuregoSafeRegister(&xValueTakeString, libs, "g_value_take_string") | |||
| 892 | - | core.PuregoSafeRegister(&xValueTakeVariant, libs, "g_value_take_variant") | |||
| 893 | - | core.PuregoSafeRegister(&xValueTransform, libs, "g_value_transform") | |||
| 894 | - | core.PuregoSafeRegister(&xValueUnset, libs, "g_value_unset") | |||
| 895 | } | 951 | } | ||