fix(deps): repin puregotk lazy registration fix
- commit
- d685b6e820d6baba0d0dea254169664012ed203d
- author
- brice · · 2026-07-14 18:24 UTC
- parent
- ec6db2e
- signature
- GPG Verified
CD88F9E564E0102646FB6077A1A07C7C7C3E349D· arch-gpg Verified for the committer email
907 files · +27874 -25294
M go.mod +3 -1
| @@ -11,7 +11,7 @@ require ( | |||
| 11 | 11 | github.com/bnema/purego-pipewire v0.1.5-0.20260714124450-6504b9cdf02a | |
| 12 | 12 | github.com/bnema/purego-sqlite v0.1.4-0.20260714131321-3614fe683b9c | |
| 13 | 13 | github.com/bnema/purego-webp v0.2.1-0.20260714152238-7bc9c402fdf6 | |
| 14 | - | github.com/bnema/puregotk v0.7.0 | |
| 14 | + | github.com/bnema/puregotk v0.7.1-0.20260714181430-679a9ed72959 | |
| 15 | 15 | github.com/charmbracelet/bubbles v1.0.0 | |
| 16 | 16 | github.com/charmbracelet/bubbletea v1.3.10 | |
| 17 | 17 | github.com/charmbracelet/lipgloss v1.1.0 | |
| @@ -47,6 +47,7 @@ require ( | |||
| 47 | 47 | github.com/erikgeiser/coninput v0.0.0-20211004153227-1c3628e74d0f // indirect | |
| 48 | 48 | github.com/fatih/color v1.19.0 // indirect | |
| 49 | 49 | github.com/go-viper/mapstructure/v2 v2.5.0 // indirect | |
| 50 | + | github.com/google/go-cmp v0.7.0 // indirect | |
| 50 | 51 | github.com/inconshreveable/mousetrap v1.1.0 // indirect | |
| 51 | 52 | github.com/lucasb-eyer/go-colorful v1.4.0 // indirect | |
| 52 | 53 | github.com/mattn/go-colorable v0.1.14 // indirect | |
| @@ -80,6 +81,7 @@ require ( | |||
| 80 | 81 | golang.org/x/text v0.40.0 // indirect | |
| 81 | 82 | golang.org/x/tools v0.47.0 // indirect | |
| 82 | 83 | gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect | |
| 84 | + | mvdan.cc/gofumpt v0.9.2 // indirect | |
| 83 | 85 | ) | |
| 84 | 86 | ||
| 85 | 87 | tool github.com/a-h/templ/cmd/templ | |
| @@ -11,7 +11,7 @@ require ( | |||||
| 11 | github.com/bnema/purego-pipewire v0.1.5-0.20260714124450-6504b9cdf02a | 11 | github.com/bnema/purego-pipewire v0.1.5-0.20260714124450-6504b9cdf02a | ||
| 12 | github.com/bnema/purego-sqlite v0.1.4-0.20260714131321-3614fe683b9c | 12 | github.com/bnema/purego-sqlite v0.1.4-0.20260714131321-3614fe683b9c | ||
| 13 | github.com/bnema/purego-webp v0.2.1-0.20260714152238-7bc9c402fdf6 | 13 | github.com/bnema/purego-webp v0.2.1-0.20260714152238-7bc9c402fdf6 | ||
| 14 | - | github.com/bnema/puregotk v0.7.0 | 14 | + | github.com/bnema/puregotk v0.7.1-0.20260714181430-679a9ed72959 |
| 15 | github.com/charmbracelet/bubbles v1.0.0 | 15 | github.com/charmbracelet/bubbles v1.0.0 | ||
| 16 | github.com/charmbracelet/bubbletea v1.3.10 | 16 | github.com/charmbracelet/bubbletea v1.3.10 | ||
| 17 | github.com/charmbracelet/lipgloss v1.1.0 | 17 | github.com/charmbracelet/lipgloss v1.1.0 | ||
| @@ -47,6 +47,7 @@ require ( | |||||
| 47 | github.com/erikgeiser/coninput v0.0.0-20211004153227-1c3628e74d0f // indirect | 47 | github.com/erikgeiser/coninput v0.0.0-20211004153227-1c3628e74d0f // indirect | ||
| 48 | github.com/fatih/color v1.19.0 // indirect | 48 | github.com/fatih/color v1.19.0 // indirect | ||
| 49 | github.com/go-viper/mapstructure/v2 v2.5.0 // indirect | 49 | github.com/go-viper/mapstructure/v2 v2.5.0 // indirect | ||
| 50 | + | github.com/google/go-cmp v0.7.0 // indirect | |||
| 50 | github.com/inconshreveable/mousetrap v1.1.0 // indirect | 51 | github.com/inconshreveable/mousetrap v1.1.0 // indirect | ||
| 51 | github.com/lucasb-eyer/go-colorful v1.4.0 // indirect | 52 | github.com/lucasb-eyer/go-colorful v1.4.0 // indirect | ||
| 52 | github.com/mattn/go-colorable v0.1.14 // indirect | 53 | github.com/mattn/go-colorable v0.1.14 // indirect | ||
| @@ -80,6 +81,7 @@ require ( | |||||
| 80 | golang.org/x/text v0.40.0 // indirect | 81 | golang.org/x/text v0.40.0 // indirect | ||
| 81 | golang.org/x/tools v0.47.0 // indirect | 82 | golang.org/x/tools v0.47.0 // indirect | ||
| 82 | gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect | 83 | gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect | ||
| 84 | + | mvdan.cc/gofumpt v0.9.2 // indirect | |||
| 83 | ) | 85 | ) | ||
| 84 | 86 | ||||
| 85 | tool github.com/a-h/templ/cmd/templ | 87 | tool github.com/a-h/templ/cmd/templ | ||
M go.sum +4 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/internal/core/core.go +197 -4 generated file: collapsed
M vendor/github.com/bnema/puregotk/pkg/core/core.go +10 -0 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-about-dialog.go +99 -64 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-about-window.go +95 -62 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-accent-color.go +7 -15 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-action-row.go +33 -29 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-alert-dialog.go +66 -47 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-animation-target.go +10 -27 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-animation-util.go +4 -12 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-animation.go +24 -26 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-application-window.go +14 -22 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-application.go +3 -15 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-avatar.go +22 -25 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-banner.go +23 -26 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-bin.go +5 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-bottom-sheet.go +47 -38 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-breakpoint-bin.go +10 -19 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-breakpoint.go +33 -37 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-button-content.go +18 -22 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-button-row.go +10 -18 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-carousel-indicator-dots.go +5 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-carousel-indicator-lines.go +5 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-carousel.go +47 -37 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-clamp-layout.go +14 -20 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-clamp-scrollable.go +17 -22 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-clamp.go +17 -22 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-combo-row.go +34 -33 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-dialog.go +45 -38 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-easing.go +3 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-entry-row.go +40 -33 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-enum-list-model.go +13 -22 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-expander-row.go +40 -33 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-flap.go +61 -48 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-fold-threshold-policy.go +10 -1 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-header-bar.go +36 -33 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-inline-view-switcher.go +18 -24 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-layout-slot.go +4 -15 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-layout.go +7 -17 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-leaflet.go +69 -56 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-length-unit.go +5 -14 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-main.go +5 -15 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-message-dialog.go +63 -44 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-multi-layout-view.go +17 -23 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-navigation-direction.go +10 -1 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-navigation-split-view.go +36 -32 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-navigation-view.go +60 -49 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-overlay-split-view.go +48 -38 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-password-entry-row.go +2 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-preferences-dialog.go +23 -25 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-preferences-group.go +24 -26 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-preferences-page.go +38 -33 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-preferences-row.go +18 -22 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-preferences-window.go +31 -29 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-shortcut-label.go +10 -18 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-shortcuts-dialog.go +4 -15 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-shortcuts-item.go +23 -25 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-shortcuts-section.go +8 -17 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-sidebar-item.go +45 -37 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-sidebar-section.go +24 -27 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-sidebar.go +41 -39 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-spin-row.go +40 -34 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-spinner-paintable.go +5 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-spinner.go +2 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-split-button.go +39 -34 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-spring-animation.go +34 -30 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-spring-params.go +17 -21 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-squeezer.go +49 -44 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-status-page.go +20 -24 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-style-manager.go +25 -28 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-swipe-tracker.go +33 -30 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-swipeable.go +33 -21 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-switch-row.go +6 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-tab-bar.go +35 -32 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-tab-button.go +5 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-tab-overview.go +45 -37 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-tab-view.go +123 -87 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-timed-animation.go +30 -28 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-toast-overlay.go +9 -18 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-toast.go +41 -36 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-toggle-group.go +64 -51 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-toolbar-view.go +40 -35 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-version.go +7 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-view-stack.go +78 -62 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-view-switcher-bar.go +9 -18 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-view-switcher-sidebar.go +15 -22 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-view-switcher-title.go +19 -23 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-view-switcher.go +10 -20 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-window-title.go +10 -18 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-window.go +14 -22 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-wrap-box.go +66 -46 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-wrap-layout.go +57 -46 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/cairo/main.go +36 -79 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkapplaunchcontext.go +10 -17 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkcairo.go +12 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkcairocontext.go +3 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkcicpparams.go +20 -25 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkclipboard.go +34 -32 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkcolorstate.go +12 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkcontentdeserializer.go +26 -27 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkcontentformats.go +28 -31 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkcontentprovider.go +23 -28 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkcontentserializer.go +26 -27 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkcursor.go +12 -21 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdevice.go +36 -33 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdevicepad.go +27 -22 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdevicetool.go +10 -18 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdisplay.go +51 -43 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdisplaymanager.go +10 -20 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdmabuftexture.go +3 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdmabuftexturebuilder.go +53 -41 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdmabuftexturebuilder_extra.go +6 -0 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdrag.go +20 -28 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdragsurface.go +6 -14 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdragsurfacesize.go +3 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdrawcontext.go +11 -18 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdrop.go +19 -24 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkenums.go +21 -1 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkevents.go +120 -118 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkframeclock.go +22 -24 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkframetimings.go +17 -20 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkglcontext.go +40 -36 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkgltexture.go +4 -15 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkgltexturebuilder.go +41 -35 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkkeys.go +19 -22 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkmemorytexture.go +2 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkmemorytexturebuilder.go +42 -35 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkmonitor.go +27 -27 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkpaintable.go +63 -33 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkpango.go +4 -12 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkpixbuf.go +2 -12 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkpopup.go +47 -26 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkpopuplayout.go +36 -32 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkrgba.go +19 -21 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkseat.go +11 -20 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdksnapshot.go +7 -0 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdksurface.go +46 -40 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdktexture.go +27 -31 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdktoplevel.go +157 -66 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdktoplevellayout.go +24 -25 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdktoplevelsize.go +9 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdktypes.go +95 -72 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkvulkancontext.go +3 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdkpixbuf/gdk-pixbuf-animation.go +26 -32 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdkpixbuf/gdk-pixbuf-core.go +9 -0 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdkpixbuf/gdk-pixbuf-io.go +25 -23 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdkpixbuf/gdk-pixbuf-loader.go +13 -22 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdkpixbuf/gdk-pixbuf-simple-anim.go +8 -17 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdkpixbuf/gdk-pixbuf-transform.go +11 -1 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdkpixbuf/gdk-pixbuf.go +102 -79 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdkpixbuf/main.go +5 -17 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gaction.go +59 -31 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gactiongroup.go +96 -39 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gactionmap.go +33 -21 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gappinfo.go +244 -116 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gapplication.go +79 -55 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gapplicationcommandline.go +31 -27 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gasyncinitable.go +25 -22 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gasyncresult.go +26 -19 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gbufferedinputstream.go +26 -29 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gbufferedoutputstream.go +11 -18 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gbytesicon.go +4 -15 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gcancellable.go +26 -27 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gcharsetconverter.go +8 -17 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gcontenttype.go +30 -26 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gconverter.go +23 -20 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gconverterinputstream.go +3 -14 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gconverteroutputstream.go +3 -14 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gcredentials.go +12 -21 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdatagrambased.go +45 -30 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdatainputstream.go +31 -35 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdataoutputstream.go +14 -23 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusactiongroup.go +2 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusaddress.go +10 -17 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusauthobserver.go +6 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusconnection.go +77 -66 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbuserror.go +16 -18 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusinterface.go +26 -19 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusinterfaceskeleton.go +25 -24 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusintrospection.go +54 -56 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusmenumodel.go +2 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusmessage.go +88 -64 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusmethodinvocation.go +35 -30 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusnameowning.go +10 -15 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusnamewatching.go +10 -15 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusobject.go +19 -17 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusobjectmanager.go +26 -19 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusobjectmanagerclient.go +16 -23 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusobjectmanagerserver.go +13 -20 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusobjectproxy.go +3 -15 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusobjectskeleton.go +12 -18 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusproxy.go +42 -38 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusserver.go +14 -20 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusutils.go +24 -22 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdebugcontroller.go +12 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdebugcontrollerdbus.go +4 -14 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdrive.go +214 -82 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdtlsclientconnection.go +34 -24 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdtlsconnection.go +207 -80 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdtlsserverconnection.go +2 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gemblem.go +6 -17 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gemblemedicon.go +9 -18 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gfile.go +1148 -450 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gfileattribute.go +13 -19 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gfileenumerator.go +34 -35 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gfileicon.go +3 -15 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gfileinfo.go +138 -84 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gfileinputstream.go +17 -23 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gfileiostream.go +23 -27 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gfilemonitor.go +9 -15 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gfilenamecompleter.go +8 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gfileoutputstream.go +23 -27 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gfilterinputstream.go +6 -14 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gfilteroutputstream.go +6 -14 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gicon.go +32 -25 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/ginetaddress.go +40 -34 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/ginetaddressmask.go +14 -21 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/ginetsocketaddress.go +10 -19 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/ginitable.go +11 -18 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/ginputstream.go +52 -48 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gioenums.go +90 -1 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gioerror.go +6 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/giomodule.go +26 -29 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gioscheduler.go +4 -12 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/giostream.go +25 -29 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/giotypes.go +70 -60 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/giptosmessage.go +6 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gipv6tclassmessage.go +6 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/glistmodel.go +33 -21 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gliststore.go +22 -24 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gloadableicon.go +27 -23 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gmemoryinputstream.go +8 -17 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gmemorymonitor.go +2 -12 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gmemoryoutputstream.go +13 -19 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gmenu.go +62 -50 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gmenumodel.go +31 -33 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gmount.go +215 -86 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gmountoperation.go +40 -32 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gnativesocketaddress.go +2 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gnativevolumemonitor.go +7 -0 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gnetworkaddress.go +11 -21 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gnetworking.go +3 -14 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gnetworkmonitor.go +49 -31 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gnetworkservice.go +12 -19 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gnotification.go +26 -26 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/goutputstream.go +86 -72 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gpermission.go +33 -33 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gpollableinputstream.go +30 -22 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gpollableoutputstream.go +41 -27 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gpollableutils.go +7 -15 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gpowerprofilemonitor.go +7 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gpropertyaction.go +2 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gproxy.go +35 -27 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gproxyaddress.go +16 -21 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gproxyaddressenumerator.go +7 -0 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gproxyresolver.go +35 -27 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gremoteactiongroup.go +12 -15 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gresolver.go +75 -67 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gresource.go +19 -23 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gseekable.go +41 -27 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsettings.go +99 -67 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsettingsbackend.go +19 -24 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsettingsschema.go +48 -43 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsimpleaction.go +9 -18 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsimpleactiongroup.go +9 -18 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsimpleasyncresult.go +46 -40 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsimpleiostream.go +2 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsimplepermission.go +2 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsimpleproxyresolver.go +8 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsocket.go +87 -72 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsocketaddress.go +11 -19 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsocketaddressenumerator.go +13 -20 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsocketclient.go +54 -44
| @@ -191,6 +191,7 @@ type SocketClient struct { | |||
| 191 | 191 | var xSocketClientGLibType func() types.GType | |
| 192 | 192 | ||
| 193 | 193 | func SocketClientGLibType() types.GType { | |
| 194 | + | core.LazyRegister(&xSocketClientGLibType, "GIO", "g_socket_client_get_type", false) | |
| 194 | 195 | return xSocketClientGLibType() | |
| 195 | 196 | } | |
| 196 | 197 | ||
| @@ -204,6 +205,7 @@ var xNewSocketClient func() uintptr | |||
| 204 | 205 | ||
| 205 | 206 | // Creates a new #GSocketClient with the default options. | |
| 206 | 207 | func NewSocketClient() *SocketClient { | |
| 208 | + | core.LazyRegister(&xNewSocketClient, "GIO", "g_socket_client_new", false) | |
| 207 | 209 | var cls *SocketClient | |
| 208 | 210 | ||
| 209 | 211 | cret := xNewSocketClient() | |
| @@ -238,6 +240,8 @@ var xSocketClientAddApplicationProxy func(uintptr, string) | |||
| 238 | 240 | // will be skipped. This is required to let the application do the proxy | |
| 239 | 241 | // specific handshake. | |
| 240 | 242 | func (x *SocketClient) AddApplicationProxy(ProtocolVar string) { | |
| 243 | + | core.LazyRegister(&xSocketClientAddApplicationProxy, "GIO", "g_socket_client_add_application_proxy", false) | |
| 244 | + | ||
| 241 | 245 | xSocketClientAddApplicationProxy(x.GoPointer(), ProtocolVar) | |
| 242 | 246 | } | |
| 243 | 247 | ||
| @@ -262,6 +266,7 @@ var xSocketClientConnect func(uintptr, uintptr, uintptr, **glib.Error) uintptr | |||
| 262 | 266 | // If a local address is specified with g_socket_client_set_local_address() the | |
| 263 | 267 | // socket will be bound to this address before connecting. | |
| 264 | 268 | func (x *SocketClient) Connect(ConnectableVar SocketConnectable, CancellableVar *Cancellable) (*SocketConnection, error) { | |
| 269 | + | core.LazyRegister(&xSocketClientConnect, "GIO", "g_socket_client_connect", false) | |
| 265 | 270 | var cls *SocketConnection | |
| 266 | 271 | var cerr *glib.Error | |
| 267 | 272 | ||
| @@ -295,6 +300,8 @@ var xSocketClientConnectAsync func(uintptr, uintptr, uintptr, uintptr, uintptr) | |||
| 295 | 300 | // called. You can then call g_socket_client_connect_finish() to get | |
| 296 | 301 | // the result of the operation. | |
| 297 | 302 | func (x *SocketClient) ConnectAsync(ConnectableVar SocketConnectable, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | |
| 303 | + | core.LazyRegister(&xSocketClientConnectAsync, "GIO", "g_socket_client_connect_async", false) | |
| 304 | + | ||
| 298 | 305 | xSocketClientConnectAsync(x.GoPointer(), ConnectableVar.GoPointer(), CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | |
| 299 | 306 | } | |
| 300 | 307 | ||
| @@ -302,6 +309,7 @@ var xSocketClientConnectFinish func(uintptr, uintptr, **glib.Error) uintptr | |||
| 302 | 309 | ||
| 303 | 310 | // Finishes an async connect operation. See g_socket_client_connect_async() | |
| 304 | 311 | func (x *SocketClient) ConnectFinish(ResultVar AsyncResult) (*SocketConnection, error) { | |
| 312 | + | core.LazyRegister(&xSocketClientConnectFinish, "GIO", "g_socket_client_connect_finish", false) | |
| 305 | 313 | var cls *SocketConnection | |
| 306 | 314 | var cerr *glib.Error | |
| 307 | 315 | ||
| @@ -351,6 +359,7 @@ var xSocketClientConnectToHost func(uintptr, string, uint16, uintptr, **glib.Err | |||
| 351 | 359 | // connectable) %NULL is returned and @error (if non-%NULL) is set | |
| 352 | 360 | // accordingly. | |
| 353 | 361 | func (x *SocketClient) ConnectToHost(HostAndPortVar string, DefaultPortVar uint16, CancellableVar *Cancellable) (*SocketConnection, error) { | |
| 362 | + | core.LazyRegister(&xSocketClientConnectToHost, "GIO", "g_socket_client_connect_to_host", false) | |
| 354 | 363 | var cls *SocketConnection | |
| 355 | 364 | var cerr *glib.Error | |
| 356 | 365 | ||
| @@ -375,6 +384,8 @@ var xSocketClientConnectToHostAsync func(uintptr, string, uint16, uintptr, uintp | |||
| 375 | 384 | // called. You can then call g_socket_client_connect_to_host_finish() to get | |
| 376 | 385 | // the result of the operation. | |
| 377 | 386 | func (x *SocketClient) ConnectToHostAsync(HostAndPortVar string, DefaultPortVar uint16, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | |
| 387 | + | core.LazyRegister(&xSocketClientConnectToHostAsync, "GIO", "g_socket_client_connect_to_host_async", false) | |
| 388 | + | ||
| 378 | 389 | xSocketClientConnectToHostAsync(x.GoPointer(), HostAndPortVar, DefaultPortVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | |
| 379 | 390 | } | |
| 380 | 391 | ||
| @@ -382,6 +393,7 @@ var xSocketClientConnectToHostFinish func(uintptr, uintptr, **glib.Error) uintpt | |||
| 382 | 393 | ||
| 383 | 394 | // Finishes an async connect operation. See g_socket_client_connect_to_host_async() | |
| 384 | 395 | func (x *SocketClient) ConnectToHostFinish(ResultVar AsyncResult) (*SocketConnection, error) { | |
| 396 | + | core.LazyRegister(&xSocketClientConnectToHostFinish, "GIO", "g_socket_client_connect_to_host_finish", false) | |
| 385 | 397 | var cls *SocketConnection | |
| 386 | 398 | var cerr *glib.Error | |
| 387 | 399 | ||
| @@ -415,6 +427,7 @@ var xSocketClientConnectToService func(uintptr, string, string, uintptr, **glib. | |||
| 415 | 427 | // connectable) %NULL is returned and @error (if non-%NULL) is set | |
| 416 | 428 | // accordingly. | |
| 417 | 429 | func (x *SocketClient) ConnectToService(DomainVar string, ServiceVar string, CancellableVar *Cancellable) (*SocketConnection, error) { | |
| 430 | + | core.LazyRegister(&xSocketClientConnectToService, "GIO", "g_socket_client_connect_to_service", false) | |
| 418 | 431 | var cls *SocketConnection | |
| 419 | 432 | var cerr *glib.Error | |
| 420 | 433 | ||
| @@ -436,6 +449,8 @@ var xSocketClientConnectToServiceAsync func(uintptr, string, string, uintptr, ui | |||
| 436 | 449 | // This is the asynchronous version of | |
| 437 | 450 | // g_socket_client_connect_to_service(). | |
| 438 | 451 | func (x *SocketClient) ConnectToServiceAsync(DomainVar string, ServiceVar string, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | |
| 452 | + | core.LazyRegister(&xSocketClientConnectToServiceAsync, "GIO", "g_socket_client_connect_to_service_async", false) | |
| 453 | + | ||
| 439 | 454 | xSocketClientConnectToServiceAsync(x.GoPointer(), DomainVar, ServiceVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | |
| 440 | 455 | } | |
| 441 | 456 | ||
| @@ -443,6 +458,7 @@ var xSocketClientConnectToServiceFinish func(uintptr, uintptr, **glib.Error) uin | |||
| 443 | 458 | ||
| 444 | 459 | // Finishes an async connect operation. See g_socket_client_connect_to_service_async() | |
| 445 | 460 | func (x *SocketClient) ConnectToServiceFinish(ResultVar AsyncResult) (*SocketConnection, error) { | |
| 461 | + | core.LazyRegister(&xSocketClientConnectToServiceFinish, "GIO", "g_socket_client_connect_to_service_finish", false) | |
| 446 | 462 | var cls *SocketConnection | |
| 447 | 463 | var cerr *glib.Error | |
| 448 | 464 | ||
| @@ -483,6 +499,7 @@ var xSocketClientConnectToUri func(uintptr, string, uint16, uintptr, **glib.Erro | |||
| 483 | 499 | // connectable) %NULL is returned and @error (if non-%NULL) is set | |
| 484 | 500 | // accordingly. | |
| 485 | 501 | func (x *SocketClient) ConnectToUri(UriVar string, DefaultPortVar uint16, CancellableVar *Cancellable) (*SocketConnection, error) { | |
| 502 | + | core.LazyRegister(&xSocketClientConnectToUri, "GIO", "g_socket_client_connect_to_uri", false) | |
| 486 | 503 | var cls *SocketConnection | |
| 487 | 504 | var cerr *glib.Error | |
| 488 | 505 | ||
| @@ -507,6 +524,8 @@ var xSocketClientConnectToUriAsync func(uintptr, string, uint16, uintptr, uintpt | |||
| 507 | 524 | // called. You can then call g_socket_client_connect_to_uri_finish() to get | |
| 508 | 525 | // the result of the operation. | |
| 509 | 526 | func (x *SocketClient) ConnectToUriAsync(UriVar string, DefaultPortVar uint16, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | |
| 527 | + | core.LazyRegister(&xSocketClientConnectToUriAsync, "GIO", "g_socket_client_connect_to_uri_async", false) | |
| 528 | + | ||
| 510 | 529 | xSocketClientConnectToUriAsync(x.GoPointer(), UriVar, DefaultPortVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | |
| 511 | 530 | } | |
| 512 | 531 | ||
| @@ -514,6 +533,7 @@ var xSocketClientConnectToUriFinish func(uintptr, uintptr, **glib.Error) uintptr | |||
| 514 | 533 | ||
| 515 | 534 | // Finishes an async connect operation. See g_socket_client_connect_to_uri_async() | |
| 516 | 535 | func (x *SocketClient) ConnectToUriFinish(ResultVar AsyncResult) (*SocketConnection, error) { | |
| 536 | + | core.LazyRegister(&xSocketClientConnectToUriFinish, "GIO", "g_socket_client_connect_to_uri_finish", false) | |
| 517 | 537 | var cls *SocketConnection | |
| 518 | 538 | var cerr *glib.Error | |
| 519 | 539 | ||
| @@ -534,6 +554,8 @@ var xSocketClientGetEnableProxy func(uintptr) bool | |||
| 534 | 554 | ||
| 535 | 555 | // Gets the proxy enable state; see g_socket_client_set_enable_proxy() | |
| 536 | 556 | func (x *SocketClient) GetEnableProxy() bool { | |
| 557 | + | core.LazyRegister(&xSocketClientGetEnableProxy, "GIO", "g_socket_client_get_enable_proxy", false) | |
| 558 | + | ||
| 537 | 559 | cret := xSocketClientGetEnableProxy(x.GoPointer()) | |
| 538 | 560 | return cret | |
| 539 | 561 | } | |
| @@ -544,6 +566,8 @@ var xSocketClientGetFamily func(uintptr) SocketFamily | |||
| 544 | 566 | // | |
| 545 | 567 | // See g_socket_client_set_family() for details. | |
| 546 | 568 | func (x *SocketClient) GetFamily() SocketFamily { | |
| 569 | + | core.LazyRegister(&xSocketClientGetFamily, "GIO", "g_socket_client_get_family", false) | |
| 570 | + | ||
| 547 | 571 | cret := xSocketClientGetFamily(x.GoPointer()) | |
| 548 | 572 | return cret | |
| 549 | 573 | } | |
| @@ -554,6 +578,7 @@ var xSocketClientGetLocalAddress func(uintptr) uintptr | |||
| 554 | 578 | // | |
| 555 | 579 | // See g_socket_client_set_local_address() for details. | |
| 556 | 580 | func (x *SocketClient) GetLocalAddress() *SocketAddress { | |
| 581 | + | core.LazyRegister(&xSocketClientGetLocalAddress, "GIO", "g_socket_client_get_local_address", false) | |
| 557 | 582 | var cls *SocketAddress | |
| 558 | 583 | ||
| 559 | 584 | cret := xSocketClientGetLocalAddress(x.GoPointer()) | |
| @@ -573,6 +598,8 @@ var xSocketClientGetProtocol func(uintptr) SocketProtocol | |||
| 573 | 598 | // | |
| 574 | 599 | // See g_socket_client_set_protocol() for details. | |
| 575 | 600 | func (x *SocketClient) GetProtocol() SocketProtocol { | |
| 601 | + | core.LazyRegister(&xSocketClientGetProtocol, "GIO", "g_socket_client_get_protocol", false) | |
| 602 | + | ||
| 576 | 603 | cret := xSocketClientGetProtocol(x.GoPointer()) | |
| 577 | 604 | return cret | |
| 578 | 605 | } | |
| @@ -583,6 +610,7 @@ var xSocketClientGetProxyResolver func(uintptr) uintptr | |||
| 583 | 610 | // be the resolver returned by g_proxy_resolver_get_default(), but you | |
| 584 | 611 | // can override it with g_socket_client_set_proxy_resolver(). | |
| 585 | 612 | func (x *SocketClient) GetProxyResolver() *ProxyResolverBase { | |
| 613 | + | core.LazyRegister(&xSocketClientGetProxyResolver, "GIO", "g_socket_client_get_proxy_resolver", false) | |
| 586 | 614 | var cls *ProxyResolverBase | |
| 587 | 615 | ||
| 588 | 616 | cret := xSocketClientGetProxyResolver(x.GoPointer()) | |
| @@ -602,6 +630,8 @@ var xSocketClientGetSocketType func(uintptr) SocketType | |||
| 602 | 630 | // | |
| 603 | 631 | // See g_socket_client_set_socket_type() for details. | |
| 604 | 632 | func (x *SocketClient) GetSocketType() SocketType { | |
| 633 | + | core.LazyRegister(&xSocketClientGetSocketType, "GIO", "g_socket_client_get_socket_type", false) | |
| 634 | + | ||
| 605 | 635 | cret := xSocketClientGetSocketType(x.GoPointer()) | |
| 606 | 636 | return cret | |
| 607 | 637 | } | |
| @@ -612,6 +642,8 @@ var xSocketClientGetTimeout func(uintptr) uint | |||
| 612 | 642 | // | |
| 613 | 643 | // See g_socket_client_set_timeout() for details. | |
| 614 | 644 | func (x *SocketClient) GetTimeout() uint { | |
| 645 | + | core.LazyRegister(&xSocketClientGetTimeout, "GIO", "g_socket_client_get_timeout", false) | |
| 646 | + | ||
| 615 | 647 | cret := xSocketClientGetTimeout(x.GoPointer()) | |
| 616 | 648 | return cret | |
| 617 | 649 | } | |
| @@ -621,6 +653,8 @@ var xSocketClientGetTls func(uintptr) bool | |||
| 621 | 653 | // Gets whether @client creates TLS connections. See | |
| 622 | 654 | // g_socket_client_set_tls() for details. | |
| 623 | 655 | func (x *SocketClient) GetTls() bool { | |
| 656 | + | core.LazyRegister(&xSocketClientGetTls, "GIO", "g_socket_client_get_tls", false) | |
| 657 | + | ||
| 624 | 658 | cret := xSocketClientGetTls(x.GoPointer()) | |
| 625 | 659 | return cret | |
| 626 | 660 | } | |
| @@ -634,6 +668,8 @@ var xSocketClientGetTlsValidationFlags func(uintptr) TlsCertificateFlags | |||
| 634 | 668 | // to use correctly. See #GSocketClient:tls-validation-flags for more | |
| 635 | 669 | // information. | |
| 636 | 670 | func (x *SocketClient) GetTlsValidationFlags() TlsCertificateFlags { | |
| 671 | + | core.LazyRegister(&xSocketClientGetTlsValidationFlags, "GIO", "g_socket_client_get_tls_validation_flags", false) | |
| 672 | + | ||
| 637 | 673 | cret := xSocketClientGetTlsValidationFlags(x.GoPointer()) | |
| 638 | 674 | return cret | |
| 639 | 675 | } | |
| @@ -647,6 +683,8 @@ var xSocketClientSetEnableProxy func(uintptr, bool) | |||
| 647 | 683 | // | |
| 648 | 684 | // See also g_socket_client_set_proxy_resolver(). | |
| 649 | 685 | func (x *SocketClient) SetEnableProxy(EnableVar bool) { | |
| 686 | + | core.LazyRegister(&xSocketClientSetEnableProxy, "GIO", "g_socket_client_set_enable_proxy", false) | |
| 687 | + | ||
| 650 | 688 | xSocketClientSetEnableProxy(x.GoPointer(), EnableVar) | |
| 651 | 689 | } | |
| 652 | 690 | ||
| @@ -661,6 +699,8 @@ var xSocketClientSetFamily func(uintptr, SocketFamily) | |||
| 661 | 699 | // connection to be an ipv4 socket, even though the address might | |
| 662 | 700 | // be an ipv6 mapped to ipv4 address. | |
| 663 | 701 | func (x *SocketClient) SetFamily(FamilyVar SocketFamily) { | |
| 702 | + | core.LazyRegister(&xSocketClientSetFamily, "GIO", "g_socket_client_set_family", false) | |
| 703 | + | ||
| 664 | 704 | xSocketClientSetFamily(x.GoPointer(), FamilyVar) | |
| 665 | 705 | } | |
| 666 | 706 | ||
| @@ -674,6 +714,8 @@ var xSocketClientSetLocalAddress func(uintptr, uintptr) | |||
| 674 | 714 | // side of the connection is on a specific port, or on | |
| 675 | 715 | // a specific interface. | |
| 676 | 716 | func (x *SocketClient) SetLocalAddress(AddressVar *SocketAddress) { | |
| 717 | + | core.LazyRegister(&xSocketClientSetLocalAddress, "GIO", "g_socket_client_set_local_address", false) | |
| 718 | + | ||
| 677 | 719 | xSocketClientSetLocalAddress(x.GoPointer(), AddressVar.GoPointer()) | |
| 678 | 720 | } | |
| 679 | 721 | ||
| @@ -686,6 +728,8 @@ var xSocketClientSetProtocol func(uintptr, SocketProtocol) | |||
| 686 | 728 | // If @protocol is %G_SOCKET_PROTOCOL_DEFAULT that means to use the default | |
| 687 | 729 | // protocol for the socket family and type. | |
| 688 | 730 | func (x *SocketClient) SetProtocol(ProtocolVar SocketProtocol) { | |
| 731 | + | core.LazyRegister(&xSocketClientSetProtocol, "GIO", "g_socket_client_set_protocol", false) | |
| 732 | + | ||
| 689 | 733 | xSocketClientSetProtocol(x.GoPointer(), ProtocolVar) | |
| 690 | 734 | } | |
| 691 | 735 | ||
| @@ -699,6 +743,8 @@ var xSocketClientSetProxyResolver func(uintptr, uintptr) | |||
| 699 | 743 | // depends on the setting of #GSocketClient:enable-proxy, which is not | |
| 700 | 744 | // changed by this function (but which is %TRUE by default) | |
| 701 | 745 | func (x *SocketClient) SetProxyResolver(ProxyResolverVar ProxyResolver) { | |
| 746 | + | core.LazyRegister(&xSocketClientSetProxyResolver, "GIO", "g_socket_client_set_proxy_resolver", false) | |
| 747 | + | ||
| 702 | 748 | xSocketClientSetProxyResolver(x.GoPointer(), ProxyResolverVar.GoPointer()) | |
| 703 | 749 | } | |
| 704 | 750 | ||
| @@ -711,6 +757,8 @@ var xSocketClientSetSocketType func(uintptr, SocketType) | |||
| 711 | 757 | // It doesn't make sense to specify a type of %G_SOCKET_TYPE_DATAGRAM, | |
| 712 | 758 | // as GSocketClient is used for connection oriented services. | |
| 713 | 759 | func (x *SocketClient) SetSocketType(TypeVar SocketType) { | |
| 760 | + | core.LazyRegister(&xSocketClientSetSocketType, "GIO", "g_socket_client_set_socket_type", false) | |
| 761 | + | ||
| 714 | 762 | xSocketClientSetSocketType(x.GoPointer(), TypeVar) | |
| 715 | 763 | } | |
| 716 | 764 | ||
| @@ -723,6 +771,8 @@ var xSocketClientSetTimeout func(uintptr, uint) | |||
| 723 | 771 | // so setting this may cause calls to g_socket_client_connect(), etc, | |
| 724 | 772 | // to fail with %G_IO_ERROR_TIMED_OUT. | |
| 725 | 773 | func (x *SocketClient) SetTimeout(TimeoutVar uint) { | |
| 774 | + | core.LazyRegister(&xSocketClientSetTimeout, "GIO", "g_socket_client_set_timeout", false) | |
| 775 | + | ||
| 726 | 776 | xSocketClientSetTimeout(x.GoPointer(), TimeoutVar) | |
| 727 | 777 | } | |
| 728 | 778 | ||
| @@ -747,6 +797,8 @@ var xSocketClientSetTls func(uintptr, bool) | |||
| 747 | 797 | // a chance to see the #GTlsClientConnection before the handshake | |
| 748 | 798 | // starts. | |
| 749 | 799 | func (x *SocketClient) SetTls(TlsVar bool) { | |
| 800 | + | core.LazyRegister(&xSocketClientSetTls, "GIO", "g_socket_client_set_tls", false) | |
| 801 | + | ||
| 750 | 802 | xSocketClientSetTls(x.GoPointer(), TlsVar) | |
| 751 | 803 | } | |
| 752 | 804 | ||
| @@ -759,6 +811,8 @@ var xSocketClientSetTlsValidationFlags func(uintptr, TlsCertificateFlags) | |||
| 759 | 811 | // to use correctly. See #GSocketClient:tls-validation-flags for more | |
| 760 | 812 | // information. | |
| 761 | 813 | func (x *SocketClient) SetTlsValidationFlags(FlagsVar TlsCertificateFlags) { | |
| 814 | + | core.LazyRegister(&xSocketClientSetTlsValidationFlags, "GIO", "g_socket_client_set_tls_validation_flags", false) | |
| 815 | + | ||
| 762 | 816 | xSocketClientSetTlsValidationFlags(x.GoPointer(), FlagsVar) | |
| 763 | 817 | } | |
| 764 | 818 | ||
| @@ -898,48 +952,4 @@ func (x *SocketClient) ConnectEvent(cb *func(SocketClient, SocketClientEvent, ui | |||
| 898 | 952 | func init() { | |
| 899 | 953 | core.SetPackageName("GIO", "gio-2.0") | |
| 900 | 954 | core.SetSharedLibraries("GIO", []string{"libgio-2.0.so.0", "libgio-2.0.0.dylib"}) | |
| 901 | - | var libs []uintptr | |
| 902 | - | for _, libPath := range core.GetPaths("GIO") { | |
| 903 | - | lib, err := purego.Dlopen(libPath, purego.RTLD_NOW|purego.RTLD_GLOBAL) | |
| 904 | - | if err != nil { | |
| 905 | - | panic(err) | |
| 906 | - | } | |
| 907 | - | libs = append(libs, lib) | |
| 908 | - | } | |
| 909 | - | ||
| 910 | - | core.PuregoSafeRegister(&xSocketClientGLibType, libs, "g_socket_client_get_type") | |
| 911 | - | ||
| 912 | - | core.PuregoSafeRegister(&xNewSocketClient, libs, "g_socket_client_new") | |
| 913 | - | ||
| 914 | - | core.PuregoSafeRegister(&xSocketClientAddApplicationProxy, libs, "g_socket_client_add_application_proxy") | |
| 915 | - | core.PuregoSafeRegister(&xSocketClientConnect, libs, "g_socket_client_connect") | |
| 916 | - | core.PuregoSafeRegister(&xSocketClientConnectAsync, libs, "g_socket_client_connect_async") | |
| 917 | - | core.PuregoSafeRegister(&xSocketClientConnectFinish, libs, "g_socket_client_connect_finish") | |
| 918 | - | core.PuregoSafeRegister(&xSocketClientConnectToHost, libs, "g_socket_client_connect_to_host") | |
| 919 | - | core.PuregoSafeRegister(&xSocketClientConnectToHostAsync, libs, "g_socket_client_connect_to_host_async") | |
| 920 | - | core.PuregoSafeRegister(&xSocketClientConnectToHostFinish, libs, "g_socket_client_connect_to_host_finish") | |
| 921 | - | core.PuregoSafeRegister(&xSocketClientConnectToService, libs, "g_socket_client_connect_to_service") | |
| 922 | - | core.PuregoSafeRegister(&xSocketClientConnectToServiceAsync, libs, "g_socket_client_connect_to_service_async") | |
| 923 | - | core.PuregoSafeRegister(&xSocketClientConnectToServiceFinish, libs, "g_socket_client_connect_to_service_finish") | |
| 924 | - | core.PuregoSafeRegister(&xSocketClientConnectToUri, libs, "g_socket_client_connect_to_uri") | |
| 925 | - | core.PuregoSafeRegister(&xSocketClientConnectToUriAsync, libs, "g_socket_client_connect_to_uri_async") | |
| 926 | - | core.PuregoSafeRegister(&xSocketClientConnectToUriFinish, libs, "g_socket_client_connect_to_uri_finish") | |
| 927 | - | core.PuregoSafeRegister(&xSocketClientGetEnableProxy, libs, "g_socket_client_get_enable_proxy") | |
| 928 | - | core.PuregoSafeRegister(&xSocketClientGetFamily, libs, "g_socket_client_get_family") | |
| 929 | - | core.PuregoSafeRegister(&xSocketClientGetLocalAddress, libs, "g_socket_client_get_local_address") | |
| 930 | - | core.PuregoSafeRegister(&xSocketClientGetProtocol, libs, "g_socket_client_get_protocol") | |
| 931 | - | core.PuregoSafeRegister(&xSocketClientGetProxyResolver, libs, "g_socket_client_get_proxy_resolver") | |
| 932 | - | core.PuregoSafeRegister(&xSocketClientGetSocketType, libs, "g_socket_client_get_socket_type") | |
| 933 | - | core.PuregoSafeRegister(&xSocketClientGetTimeout, libs, "g_socket_client_get_timeout") | |
| 934 | - | core.PuregoSafeRegister(&xSocketClientGetTls, libs, "g_socket_client_get_tls") | |
| 935 | - | core.PuregoSafeRegister(&xSocketClientGetTlsValidationFlags, libs, "g_socket_client_get_tls_validation_flags") | |
| 936 | - | core.PuregoSafeRegister(&xSocketClientSetEnableProxy, libs, "g_socket_client_set_enable_proxy") | |
| 937 | - | core.PuregoSafeRegister(&xSocketClientSetFamily, libs, "g_socket_client_set_family") | |
| 938 | - | core.PuregoSafeRegister(&xSocketClientSetLocalAddress, libs, "g_socket_client_set_local_address") | |
| 939 | - | core.PuregoSafeRegister(&xSocketClientSetProtocol, libs, "g_socket_client_set_protocol") | |
| 940 | - | core.PuregoSafeRegister(&xSocketClientSetProxyResolver, libs, "g_socket_client_set_proxy_resolver") | |
| 941 | - | core.PuregoSafeRegister(&xSocketClientSetSocketType, libs, "g_socket_client_set_socket_type") | |
| 942 | - | core.PuregoSafeRegister(&xSocketClientSetTimeout, libs, "g_socket_client_set_timeout") | |
| 943 | - | core.PuregoSafeRegister(&xSocketClientSetTls, libs, "g_socket_client_set_tls") | |
| 944 | - | core.PuregoSafeRegister(&xSocketClientSetTlsValidationFlags, libs, "g_socket_client_set_tls_validation_flags") | |
| 945 | 955 | } | |
| @@ -191,6 +191,7 @@ type SocketClient struct { | |||||
| 191 | var xSocketClientGLibType func() types.GType | 191 | var xSocketClientGLibType func() types.GType | ||
| 192 | 192 | ||||
| 193 | func SocketClientGLibType() types.GType { | 193 | func SocketClientGLibType() types.GType { | ||
| 194 | + | core.LazyRegister(&xSocketClientGLibType, "GIO", "g_socket_client_get_type", false) | |||
| 194 | return xSocketClientGLibType() | 195 | return xSocketClientGLibType() | ||
| 195 | } | 196 | } | ||
| 196 | 197 | ||||
| @@ -204,6 +205,7 @@ var xNewSocketClient func() uintptr | |||||
| 204 | 205 | ||||
| 205 | // Creates a new #GSocketClient with the default options. | 206 | // Creates a new #GSocketClient with the default options. | ||
| 206 | func NewSocketClient() *SocketClient { | 207 | func NewSocketClient() *SocketClient { | ||
| 208 | + | core.LazyRegister(&xNewSocketClient, "GIO", "g_socket_client_new", false) | |||
| 207 | var cls *SocketClient | 209 | var cls *SocketClient | ||
| 208 | 210 | ||||
| 209 | cret := xNewSocketClient() | 211 | cret := xNewSocketClient() | ||
| @@ -238,6 +240,8 @@ var xSocketClientAddApplicationProxy func(uintptr, string) | |||||
| 238 | // will be skipped. This is required to let the application do the proxy | 240 | // will be skipped. This is required to let the application do the proxy | ||
| 239 | // specific handshake. | 241 | // specific handshake. | ||
| 240 | func (x *SocketClient) AddApplicationProxy(ProtocolVar string) { | 242 | func (x *SocketClient) AddApplicationProxy(ProtocolVar string) { | ||
| 243 | + | core.LazyRegister(&xSocketClientAddApplicationProxy, "GIO", "g_socket_client_add_application_proxy", false) | |||
| 244 | + | ||||
| 241 | xSocketClientAddApplicationProxy(x.GoPointer(), ProtocolVar) | 245 | xSocketClientAddApplicationProxy(x.GoPointer(), ProtocolVar) | ||
| 242 | } | 246 | } | ||
| 243 | 247 | ||||
| @@ -262,6 +266,7 @@ var xSocketClientConnect func(uintptr, uintptr, uintptr, **glib.Error) uintptr | |||||
| 262 | // If a local address is specified with g_socket_client_set_local_address() the | 266 | // If a local address is specified with g_socket_client_set_local_address() the | ||
| 263 | // socket will be bound to this address before connecting. | 267 | // socket will be bound to this address before connecting. | ||
| 264 | func (x *SocketClient) Connect(ConnectableVar SocketConnectable, CancellableVar *Cancellable) (*SocketConnection, error) { | 268 | func (x *SocketClient) Connect(ConnectableVar SocketConnectable, CancellableVar *Cancellable) (*SocketConnection, error) { | ||
| 269 | + | core.LazyRegister(&xSocketClientConnect, "GIO", "g_socket_client_connect", false) | |||
| 265 | var cls *SocketConnection | 270 | var cls *SocketConnection | ||
| 266 | var cerr *glib.Error | 271 | var cerr *glib.Error | ||
| 267 | 272 | ||||
| @@ -295,6 +300,8 @@ var xSocketClientConnectAsync func(uintptr, uintptr, uintptr, uintptr, uintptr) | |||||
| 295 | // called. You can then call g_socket_client_connect_finish() to get | 300 | // called. You can then call g_socket_client_connect_finish() to get | ||
| 296 | // the result of the operation. | 301 | // the result of the operation. | ||
| 297 | func (x *SocketClient) ConnectAsync(ConnectableVar SocketConnectable, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | 302 | func (x *SocketClient) ConnectAsync(ConnectableVar SocketConnectable, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | ||
| 303 | + | core.LazyRegister(&xSocketClientConnectAsync, "GIO", "g_socket_client_connect_async", false) | |||
| 304 | + | ||||
| 298 | xSocketClientConnectAsync(x.GoPointer(), ConnectableVar.GoPointer(), CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | 305 | xSocketClientConnectAsync(x.GoPointer(), ConnectableVar.GoPointer(), CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | ||
| 299 | } | 306 | } | ||
| 300 | 307 | ||||
| @@ -302,6 +309,7 @@ var xSocketClientConnectFinish func(uintptr, uintptr, **glib.Error) uintptr | |||||
| 302 | 309 | ||||
| 303 | // Finishes an async connect operation. See g_socket_client_connect_async() | 310 | // Finishes an async connect operation. See g_socket_client_connect_async() | ||
| 304 | func (x *SocketClient) ConnectFinish(ResultVar AsyncResult) (*SocketConnection, error) { | 311 | func (x *SocketClient) ConnectFinish(ResultVar AsyncResult) (*SocketConnection, error) { | ||
| 312 | + | core.LazyRegister(&xSocketClientConnectFinish, "GIO", "g_socket_client_connect_finish", false) | |||
| 305 | var cls *SocketConnection | 313 | var cls *SocketConnection | ||
| 306 | var cerr *glib.Error | 314 | var cerr *glib.Error | ||
| 307 | 315 | ||||
| @@ -351,6 +359,7 @@ var xSocketClientConnectToHost func(uintptr, string, uint16, uintptr, **glib.Err | |||||
| 351 | // connectable) %NULL is returned and @error (if non-%NULL) is set | 359 | // connectable) %NULL is returned and @error (if non-%NULL) is set | ||
| 352 | // accordingly. | 360 | // accordingly. | ||
| 353 | func (x *SocketClient) ConnectToHost(HostAndPortVar string, DefaultPortVar uint16, CancellableVar *Cancellable) (*SocketConnection, error) { | 361 | func (x *SocketClient) ConnectToHost(HostAndPortVar string, DefaultPortVar uint16, CancellableVar *Cancellable) (*SocketConnection, error) { | ||
| 362 | + | core.LazyRegister(&xSocketClientConnectToHost, "GIO", "g_socket_client_connect_to_host", false) | |||
| 354 | var cls *SocketConnection | 363 | var cls *SocketConnection | ||
| 355 | var cerr *glib.Error | 364 | var cerr *glib.Error | ||
| 356 | 365 | ||||
| @@ -375,6 +384,8 @@ var xSocketClientConnectToHostAsync func(uintptr, string, uint16, uintptr, uintp | |||||
| 375 | // called. You can then call g_socket_client_connect_to_host_finish() to get | 384 | // called. You can then call g_socket_client_connect_to_host_finish() to get | ||
| 376 | // the result of the operation. | 385 | // the result of the operation. | ||
| 377 | func (x *SocketClient) ConnectToHostAsync(HostAndPortVar string, DefaultPortVar uint16, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | 386 | func (x *SocketClient) ConnectToHostAsync(HostAndPortVar string, DefaultPortVar uint16, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | ||
| 387 | + | core.LazyRegister(&xSocketClientConnectToHostAsync, "GIO", "g_socket_client_connect_to_host_async", false) | |||
| 388 | + | ||||
| 378 | xSocketClientConnectToHostAsync(x.GoPointer(), HostAndPortVar, DefaultPortVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | 389 | xSocketClientConnectToHostAsync(x.GoPointer(), HostAndPortVar, DefaultPortVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | ||
| 379 | } | 390 | } | ||
| 380 | 391 | ||||
| @@ -382,6 +393,7 @@ var xSocketClientConnectToHostFinish func(uintptr, uintptr, **glib.Error) uintpt | |||||
| 382 | 393 | ||||
| 383 | // Finishes an async connect operation. See g_socket_client_connect_to_host_async() | 394 | // Finishes an async connect operation. See g_socket_client_connect_to_host_async() | ||
| 384 | func (x *SocketClient) ConnectToHostFinish(ResultVar AsyncResult) (*SocketConnection, error) { | 395 | func (x *SocketClient) ConnectToHostFinish(ResultVar AsyncResult) (*SocketConnection, error) { | ||
| 396 | + | core.LazyRegister(&xSocketClientConnectToHostFinish, "GIO", "g_socket_client_connect_to_host_finish", false) | |||
| 385 | var cls *SocketConnection | 397 | var cls *SocketConnection | ||
| 386 | var cerr *glib.Error | 398 | var cerr *glib.Error | ||
| 387 | 399 | ||||
| @@ -415,6 +427,7 @@ var xSocketClientConnectToService func(uintptr, string, string, uintptr, **glib. | |||||
| 415 | // connectable) %NULL is returned and @error (if non-%NULL) is set | 427 | // connectable) %NULL is returned and @error (if non-%NULL) is set | ||
| 416 | // accordingly. | 428 | // accordingly. | ||
| 417 | func (x *SocketClient) ConnectToService(DomainVar string, ServiceVar string, CancellableVar *Cancellable) (*SocketConnection, error) { | 429 | func (x *SocketClient) ConnectToService(DomainVar string, ServiceVar string, CancellableVar *Cancellable) (*SocketConnection, error) { | ||
| 430 | + | core.LazyRegister(&xSocketClientConnectToService, "GIO", "g_socket_client_connect_to_service", false) | |||
| 418 | var cls *SocketConnection | 431 | var cls *SocketConnection | ||
| 419 | var cerr *glib.Error | 432 | var cerr *glib.Error | ||
| 420 | 433 | ||||
| @@ -436,6 +449,8 @@ var xSocketClientConnectToServiceAsync func(uintptr, string, string, uintptr, ui | |||||
| 436 | // This is the asynchronous version of | 449 | // This is the asynchronous version of | ||
| 437 | // g_socket_client_connect_to_service(). | 450 | // g_socket_client_connect_to_service(). | ||
| 438 | func (x *SocketClient) ConnectToServiceAsync(DomainVar string, ServiceVar string, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | 451 | func (x *SocketClient) ConnectToServiceAsync(DomainVar string, ServiceVar string, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | ||
| 452 | + | core.LazyRegister(&xSocketClientConnectToServiceAsync, "GIO", "g_socket_client_connect_to_service_async", false) | |||
| 453 | + | ||||
| 439 | xSocketClientConnectToServiceAsync(x.GoPointer(), DomainVar, ServiceVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | 454 | xSocketClientConnectToServiceAsync(x.GoPointer(), DomainVar, ServiceVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | ||
| 440 | } | 455 | } | ||
| 441 | 456 | ||||
| @@ -443,6 +458,7 @@ var xSocketClientConnectToServiceFinish func(uintptr, uintptr, **glib.Error) uin | |||||
| 443 | 458 | ||||
| 444 | // Finishes an async connect operation. See g_socket_client_connect_to_service_async() | 459 | // Finishes an async connect operation. See g_socket_client_connect_to_service_async() | ||
| 445 | func (x *SocketClient) ConnectToServiceFinish(ResultVar AsyncResult) (*SocketConnection, error) { | 460 | func (x *SocketClient) ConnectToServiceFinish(ResultVar AsyncResult) (*SocketConnection, error) { | ||
| 461 | + | core.LazyRegister(&xSocketClientConnectToServiceFinish, "GIO", "g_socket_client_connect_to_service_finish", false) | |||
| 446 | var cls *SocketConnection | 462 | var cls *SocketConnection | ||
| 447 | var cerr *glib.Error | 463 | var cerr *glib.Error | ||
| 448 | 464 | ||||
| @@ -483,6 +499,7 @@ var xSocketClientConnectToUri func(uintptr, string, uint16, uintptr, **glib.Erro | |||||
| 483 | // connectable) %NULL is returned and @error (if non-%NULL) is set | 499 | // connectable) %NULL is returned and @error (if non-%NULL) is set | ||
| 484 | // accordingly. | 500 | // accordingly. | ||
| 485 | func (x *SocketClient) ConnectToUri(UriVar string, DefaultPortVar uint16, CancellableVar *Cancellable) (*SocketConnection, error) { | 501 | func (x *SocketClient) ConnectToUri(UriVar string, DefaultPortVar uint16, CancellableVar *Cancellable) (*SocketConnection, error) { | ||
| 502 | + | core.LazyRegister(&xSocketClientConnectToUri, "GIO", "g_socket_client_connect_to_uri", false) | |||
| 486 | var cls *SocketConnection | 503 | var cls *SocketConnection | ||
| 487 | var cerr *glib.Error | 504 | var cerr *glib.Error | ||
| 488 | 505 | ||||
| @@ -507,6 +524,8 @@ var xSocketClientConnectToUriAsync func(uintptr, string, uint16, uintptr, uintpt | |||||
| 507 | // called. You can then call g_socket_client_connect_to_uri_finish() to get | 524 | // called. You can then call g_socket_client_connect_to_uri_finish() to get | ||
| 508 | // the result of the operation. | 525 | // the result of the operation. | ||
| 509 | func (x *SocketClient) ConnectToUriAsync(UriVar string, DefaultPortVar uint16, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | 526 | func (x *SocketClient) ConnectToUriAsync(UriVar string, DefaultPortVar uint16, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | ||
| 527 | + | core.LazyRegister(&xSocketClientConnectToUriAsync, "GIO", "g_socket_client_connect_to_uri_async", false) | |||
| 528 | + | ||||
| 510 | xSocketClientConnectToUriAsync(x.GoPointer(), UriVar, DefaultPortVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | 529 | xSocketClientConnectToUriAsync(x.GoPointer(), UriVar, DefaultPortVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | ||
| 511 | } | 530 | } | ||
| 512 | 531 | ||||
| @@ -514,6 +533,7 @@ var xSocketClientConnectToUriFinish func(uintptr, uintptr, **glib.Error) uintptr | |||||
| 514 | 533 | ||||
| 515 | // Finishes an async connect operation. See g_socket_client_connect_to_uri_async() | 534 | // Finishes an async connect operation. See g_socket_client_connect_to_uri_async() | ||
| 516 | func (x *SocketClient) ConnectToUriFinish(ResultVar AsyncResult) (*SocketConnection, error) { | 535 | func (x *SocketClient) ConnectToUriFinish(ResultVar AsyncResult) (*SocketConnection, error) { | ||
| 536 | + | core.LazyRegister(&xSocketClientConnectToUriFinish, "GIO", "g_socket_client_connect_to_uri_finish", false) | |||
| 517 | var cls *SocketConnection | 537 | var cls *SocketConnection | ||
| 518 | var cerr *glib.Error | 538 | var cerr *glib.Error | ||
| 519 | 539 | ||||
| @@ -534,6 +554,8 @@ var xSocketClientGetEnableProxy func(uintptr) bool | |||||
| 534 | 554 | ||||
| 535 | // Gets the proxy enable state; see g_socket_client_set_enable_proxy() | 555 | // Gets the proxy enable state; see g_socket_client_set_enable_proxy() | ||
| 536 | func (x *SocketClient) GetEnableProxy() bool { | 556 | func (x *SocketClient) GetEnableProxy() bool { | ||
| 557 | + | core.LazyRegister(&xSocketClientGetEnableProxy, "GIO", "g_socket_client_get_enable_proxy", false) | |||
| 558 | + | ||||
| 537 | cret := xSocketClientGetEnableProxy(x.GoPointer()) | 559 | cret := xSocketClientGetEnableProxy(x.GoPointer()) | ||
| 538 | return cret | 560 | return cret | ||
| 539 | } | 561 | } | ||
| @@ -544,6 +566,8 @@ var xSocketClientGetFamily func(uintptr) SocketFamily | |||||
| 544 | // | 566 | // | ||
| 545 | // See g_socket_client_set_family() for details. | 567 | // See g_socket_client_set_family() for details. | ||
| 546 | func (x *SocketClient) GetFamily() SocketFamily { | 568 | func (x *SocketClient) GetFamily() SocketFamily { | ||
| 569 | + | core.LazyRegister(&xSocketClientGetFamily, "GIO", "g_socket_client_get_family", false) | |||
| 570 | + | ||||
| 547 | cret := xSocketClientGetFamily(x.GoPointer()) | 571 | cret := xSocketClientGetFamily(x.GoPointer()) | ||
| 548 | return cret | 572 | return cret | ||
| 549 | } | 573 | } | ||
| @@ -554,6 +578,7 @@ var xSocketClientGetLocalAddress func(uintptr) uintptr | |||||
| 554 | // | 578 | // | ||
| 555 | // See g_socket_client_set_local_address() for details. | 579 | // See g_socket_client_set_local_address() for details. | ||
| 556 | func (x *SocketClient) GetLocalAddress() *SocketAddress { | 580 | func (x *SocketClient) GetLocalAddress() *SocketAddress { | ||
| 581 | + | core.LazyRegister(&xSocketClientGetLocalAddress, "GIO", "g_socket_client_get_local_address", false) | |||
| 557 | var cls *SocketAddress | 582 | var cls *SocketAddress | ||
| 558 | 583 | ||||
| 559 | cret := xSocketClientGetLocalAddress(x.GoPointer()) | 584 | cret := xSocketClientGetLocalAddress(x.GoPointer()) | ||
| @@ -573,6 +598,8 @@ var xSocketClientGetProtocol func(uintptr) SocketProtocol | |||||
| 573 | // | 598 | // | ||
| 574 | // See g_socket_client_set_protocol() for details. | 599 | // See g_socket_client_set_protocol() for details. | ||
| 575 | func (x *SocketClient) GetProtocol() SocketProtocol { | 600 | func (x *SocketClient) GetProtocol() SocketProtocol { | ||
| 601 | + | core.LazyRegister(&xSocketClientGetProtocol, "GIO", "g_socket_client_get_protocol", false) | |||
| 602 | + | ||||
| 576 | cret := xSocketClientGetProtocol(x.GoPointer()) | 603 | cret := xSocketClientGetProtocol(x.GoPointer()) | ||
| 577 | return cret | 604 | return cret | ||
| 578 | } | 605 | } | ||
| @@ -583,6 +610,7 @@ var xSocketClientGetProxyResolver func(uintptr) uintptr | |||||
| 583 | // be the resolver returned by g_proxy_resolver_get_default(), but you | 610 | // be the resolver returned by g_proxy_resolver_get_default(), but you | ||
| 584 | // can override it with g_socket_client_set_proxy_resolver(). | 611 | // can override it with g_socket_client_set_proxy_resolver(). | ||
| 585 | func (x *SocketClient) GetProxyResolver() *ProxyResolverBase { | 612 | func (x *SocketClient) GetProxyResolver() *ProxyResolverBase { | ||
| 613 | + | core.LazyRegister(&xSocketClientGetProxyResolver, "GIO", "g_socket_client_get_proxy_resolver", false) | |||
| 586 | var cls *ProxyResolverBase | 614 | var cls *ProxyResolverBase | ||
| 587 | 615 | ||||
| 588 | cret := xSocketClientGetProxyResolver(x.GoPointer()) | 616 | cret := xSocketClientGetProxyResolver(x.GoPointer()) | ||
| @@ -602,6 +630,8 @@ var xSocketClientGetSocketType func(uintptr) SocketType | |||||
| 602 | // | 630 | // | ||
| 603 | // See g_socket_client_set_socket_type() for details. | 631 | // See g_socket_client_set_socket_type() for details. | ||
| 604 | func (x *SocketClient) GetSocketType() SocketType { | 632 | func (x *SocketClient) GetSocketType() SocketType { | ||
| 633 | + | core.LazyRegister(&xSocketClientGetSocketType, "GIO", "g_socket_client_get_socket_type", false) | |||
| 634 | + | ||||
| 605 | cret := xSocketClientGetSocketType(x.GoPointer()) | 635 | cret := xSocketClientGetSocketType(x.GoPointer()) | ||
| 606 | return cret | 636 | return cret | ||
| 607 | } | 637 | } | ||
| @@ -612,6 +642,8 @@ var xSocketClientGetTimeout func(uintptr) uint | |||||
| 612 | // | 642 | // | ||
| 613 | // See g_socket_client_set_timeout() for details. | 643 | // See g_socket_client_set_timeout() for details. | ||
| 614 | func (x *SocketClient) GetTimeout() uint { | 644 | func (x *SocketClient) GetTimeout() uint { | ||
| 645 | + | core.LazyRegister(&xSocketClientGetTimeout, "GIO", "g_socket_client_get_timeout", false) | |||
| 646 | + | ||||
| 615 | cret := xSocketClientGetTimeout(x.GoPointer()) | 647 | cret := xSocketClientGetTimeout(x.GoPointer()) | ||
| 616 | return cret | 648 | return cret | ||
| 617 | } | 649 | } | ||
| @@ -621,6 +653,8 @@ var xSocketClientGetTls func(uintptr) bool | |||||
| 621 | // Gets whether @client creates TLS connections. See | 653 | // Gets whether @client creates TLS connections. See | ||
| 622 | // g_socket_client_set_tls() for details. | 654 | // g_socket_client_set_tls() for details. | ||
| 623 | func (x *SocketClient) GetTls() bool { | 655 | func (x *SocketClient) GetTls() bool { | ||
| 656 | + | core.LazyRegister(&xSocketClientGetTls, "GIO", "g_socket_client_get_tls", false) | |||
| 657 | + | ||||
| 624 | cret := xSocketClientGetTls(x.GoPointer()) | 658 | cret := xSocketClientGetTls(x.GoPointer()) | ||
| 625 | return cret | 659 | return cret | ||
| 626 | } | 660 | } | ||
| @@ -634,6 +668,8 @@ var xSocketClientGetTlsValidationFlags func(uintptr) TlsCertificateFlags | |||||
| 634 | // to use correctly. See #GSocketClient:tls-validation-flags for more | 668 | // to use correctly. See #GSocketClient:tls-validation-flags for more | ||
| 635 | // information. | 669 | // information. | ||
| 636 | func (x *SocketClient) GetTlsValidationFlags() TlsCertificateFlags { | 670 | func (x *SocketClient) GetTlsValidationFlags() TlsCertificateFlags { | ||
| 671 | + | core.LazyRegister(&xSocketClientGetTlsValidationFlags, "GIO", "g_socket_client_get_tls_validation_flags", false) | |||
| 672 | + | ||||
| 637 | cret := xSocketClientGetTlsValidationFlags(x.GoPointer()) | 673 | cret := xSocketClientGetTlsValidationFlags(x.GoPointer()) | ||
| 638 | return cret | 674 | return cret | ||
| 639 | } | 675 | } | ||
| @@ -647,6 +683,8 @@ var xSocketClientSetEnableProxy func(uintptr, bool) | |||||
| 647 | // | 683 | // | ||
| 648 | // See also g_socket_client_set_proxy_resolver(). | 684 | // See also g_socket_client_set_proxy_resolver(). | ||
| 649 | func (x *SocketClient) SetEnableProxy(EnableVar bool) { | 685 | func (x *SocketClient) SetEnableProxy(EnableVar bool) { | ||
| 686 | + | core.LazyRegister(&xSocketClientSetEnableProxy, "GIO", "g_socket_client_set_enable_proxy", false) | |||
| 687 | + | ||||
| 650 | xSocketClientSetEnableProxy(x.GoPointer(), EnableVar) | 688 | xSocketClientSetEnableProxy(x.GoPointer(), EnableVar) | ||
| 651 | } | 689 | } | ||
| 652 | 690 | ||||
| @@ -661,6 +699,8 @@ var xSocketClientSetFamily func(uintptr, SocketFamily) | |||||
| 661 | // connection to be an ipv4 socket, even though the address might | 699 | // connection to be an ipv4 socket, even though the address might | ||
| 662 | // be an ipv6 mapped to ipv4 address. | 700 | // be an ipv6 mapped to ipv4 address. | ||
| 663 | func (x *SocketClient) SetFamily(FamilyVar SocketFamily) { | 701 | func (x *SocketClient) SetFamily(FamilyVar SocketFamily) { | ||
| 702 | + | core.LazyRegister(&xSocketClientSetFamily, "GIO", "g_socket_client_set_family", false) | |||
| 703 | + | ||||
| 664 | xSocketClientSetFamily(x.GoPointer(), FamilyVar) | 704 | xSocketClientSetFamily(x.GoPointer(), FamilyVar) | ||
| 665 | } | 705 | } | ||
| 666 | 706 | ||||
| @@ -674,6 +714,8 @@ var xSocketClientSetLocalAddress func(uintptr, uintptr) | |||||
| 674 | // side of the connection is on a specific port, or on | 714 | // side of the connection is on a specific port, or on | ||
| 675 | // a specific interface. | 715 | // a specific interface. | ||
| 676 | func (x *SocketClient) SetLocalAddress(AddressVar *SocketAddress) { | 716 | func (x *SocketClient) SetLocalAddress(AddressVar *SocketAddress) { | ||
| 717 | + | core.LazyRegister(&xSocketClientSetLocalAddress, "GIO", "g_socket_client_set_local_address", false) | |||
| 718 | + | ||||
| 677 | xSocketClientSetLocalAddress(x.GoPointer(), AddressVar.GoPointer()) | 719 | xSocketClientSetLocalAddress(x.GoPointer(), AddressVar.GoPointer()) | ||
| 678 | } | 720 | } | ||
| 679 | 721 | ||||
| @@ -686,6 +728,8 @@ var xSocketClientSetProtocol func(uintptr, SocketProtocol) | |||||
| 686 | // If @protocol is %G_SOCKET_PROTOCOL_DEFAULT that means to use the default | 728 | // If @protocol is %G_SOCKET_PROTOCOL_DEFAULT that means to use the default | ||
| 687 | // protocol for the socket family and type. | 729 | // protocol for the socket family and type. | ||
| 688 | func (x *SocketClient) SetProtocol(ProtocolVar SocketProtocol) { | 730 | func (x *SocketClient) SetProtocol(ProtocolVar SocketProtocol) { | ||
| 731 | + | core.LazyRegister(&xSocketClientSetProtocol, "GIO", "g_socket_client_set_protocol", false) | |||
| 732 | + | ||||
| 689 | xSocketClientSetProtocol(x.GoPointer(), ProtocolVar) | 733 | xSocketClientSetProtocol(x.GoPointer(), ProtocolVar) | ||
| 690 | } | 734 | } | ||
| 691 | 735 | ||||
| @@ -699,6 +743,8 @@ var xSocketClientSetProxyResolver func(uintptr, uintptr) | |||||
| 699 | // depends on the setting of #GSocketClient:enable-proxy, which is not | 743 | // depends on the setting of #GSocketClient:enable-proxy, which is not | ||
| 700 | // changed by this function (but which is %TRUE by default) | 744 | // changed by this function (but which is %TRUE by default) | ||
| 701 | func (x *SocketClient) SetProxyResolver(ProxyResolverVar ProxyResolver) { | 745 | func (x *SocketClient) SetProxyResolver(ProxyResolverVar ProxyResolver) { | ||
| 746 | + | core.LazyRegister(&xSocketClientSetProxyResolver, "GIO", "g_socket_client_set_proxy_resolver", false) | |||
| 747 | + | ||||
| 702 | xSocketClientSetProxyResolver(x.GoPointer(), ProxyResolverVar.GoPointer()) | 748 | xSocketClientSetProxyResolver(x.GoPointer(), ProxyResolverVar.GoPointer()) | ||
| 703 | } | 749 | } | ||
| 704 | 750 | ||||
| @@ -711,6 +757,8 @@ var xSocketClientSetSocketType func(uintptr, SocketType) | |||||
| 711 | // It doesn't make sense to specify a type of %G_SOCKET_TYPE_DATAGRAM, | 757 | // It doesn't make sense to specify a type of %G_SOCKET_TYPE_DATAGRAM, | ||
| 712 | // as GSocketClient is used for connection oriented services. | 758 | // as GSocketClient is used for connection oriented services. | ||
| 713 | func (x *SocketClient) SetSocketType(TypeVar SocketType) { | 759 | func (x *SocketClient) SetSocketType(TypeVar SocketType) { | ||
| 760 | + | core.LazyRegister(&xSocketClientSetSocketType, "GIO", "g_socket_client_set_socket_type", false) | |||
| 761 | + | ||||
| 714 | xSocketClientSetSocketType(x.GoPointer(), TypeVar) | 762 | xSocketClientSetSocketType(x.GoPointer(), TypeVar) | ||
| 715 | } | 763 | } | ||
| 716 | 764 | ||||
| @@ -723,6 +771,8 @@ var xSocketClientSetTimeout func(uintptr, uint) | |||||
| 723 | // so setting this may cause calls to g_socket_client_connect(), etc, | 771 | // so setting this may cause calls to g_socket_client_connect(), etc, | ||
| 724 | // to fail with %G_IO_ERROR_TIMED_OUT. | 772 | // to fail with %G_IO_ERROR_TIMED_OUT. | ||
| 725 | func (x *SocketClient) SetTimeout(TimeoutVar uint) { | 773 | func (x *SocketClient) SetTimeout(TimeoutVar uint) { | ||
| 774 | + | core.LazyRegister(&xSocketClientSetTimeout, "GIO", "g_socket_client_set_timeout", false) | |||
| 775 | + | ||||
| 726 | xSocketClientSetTimeout(x.GoPointer(), TimeoutVar) | 776 | xSocketClientSetTimeout(x.GoPointer(), TimeoutVar) | ||
| 727 | } | 777 | } | ||
| 728 | 778 | ||||
| @@ -747,6 +797,8 @@ var xSocketClientSetTls func(uintptr, bool) | |||||
| 747 | // a chance to see the #GTlsClientConnection before the handshake | 797 | // a chance to see the #GTlsClientConnection before the handshake | ||
| 748 | // starts. | 798 | // starts. | ||
| 749 | func (x *SocketClient) SetTls(TlsVar bool) { | 799 | func (x *SocketClient) SetTls(TlsVar bool) { | ||
| 800 | + | core.LazyRegister(&xSocketClientSetTls, "GIO", "g_socket_client_set_tls", false) | |||
| 801 | + | ||||
| 750 | xSocketClientSetTls(x.GoPointer(), TlsVar) | 802 | xSocketClientSetTls(x.GoPointer(), TlsVar) | ||
| 751 | } | 803 | } | ||
| 752 | 804 | ||||
| @@ -759,6 +811,8 @@ var xSocketClientSetTlsValidationFlags func(uintptr, TlsCertificateFlags) | |||||
| 759 | // to use correctly. See #GSocketClient:tls-validation-flags for more | 811 | // to use correctly. See #GSocketClient:tls-validation-flags for more | ||
| 760 | // information. | 812 | // information. | ||
| 761 | func (x *SocketClient) SetTlsValidationFlags(FlagsVar TlsCertificateFlags) { | 813 | func (x *SocketClient) SetTlsValidationFlags(FlagsVar TlsCertificateFlags) { | ||
| 814 | + | core.LazyRegister(&xSocketClientSetTlsValidationFlags, "GIO", "g_socket_client_set_tls_validation_flags", false) | |||
| 815 | + | ||||
| 762 | xSocketClientSetTlsValidationFlags(x.GoPointer(), FlagsVar) | 816 | xSocketClientSetTlsValidationFlags(x.GoPointer(), FlagsVar) | ||
| 763 | } | 817 | } | ||
| 764 | 818 | ||||
| @@ -898,48 +952,4 @@ func (x *SocketClient) ConnectEvent(cb *func(SocketClient, SocketClientEvent, ui | |||||
| 898 | func init() { | 952 | func init() { | ||
| 899 | core.SetPackageName("GIO", "gio-2.0") | 953 | core.SetPackageName("GIO", "gio-2.0") | ||
| 900 | core.SetSharedLibraries("GIO", []string{"libgio-2.0.so.0", "libgio-2.0.0.dylib"}) | 954 | core.SetSharedLibraries("GIO", []string{"libgio-2.0.so.0", "libgio-2.0.0.dylib"}) | ||
| 901 | - | var libs []uintptr | |||
| 902 | - | for _, libPath := range core.GetPaths("GIO") { | |||
| 903 | - | lib, err := purego.Dlopen(libPath, purego.RTLD_NOW|purego.RTLD_GLOBAL) | |||
| 904 | - | if err != nil { | |||
| 905 | - | panic(err) | |||
| 906 | - | } | |||
| 907 | - | libs = append(libs, lib) | |||
| 908 | - | } | |||
| 909 | - | ||||
| 910 | - | core.PuregoSafeRegister(&xSocketClientGLibType, libs, "g_socket_client_get_type") | |||
| 911 | - | ||||
| 912 | - | core.PuregoSafeRegister(&xNewSocketClient, libs, "g_socket_client_new") | |||
| 913 | - | ||||
| 914 | - | core.PuregoSafeRegister(&xSocketClientAddApplicationProxy, libs, "g_socket_client_add_application_proxy") | |||
| 915 | - | core.PuregoSafeRegister(&xSocketClientConnect, libs, "g_socket_client_connect") | |||
| 916 | - | core.PuregoSafeRegister(&xSocketClientConnectAsync, libs, "g_socket_client_connect_async") | |||
| 917 | - | core.PuregoSafeRegister(&xSocketClientConnectFinish, libs, "g_socket_client_connect_finish") | |||
| 918 | - | core.PuregoSafeRegister(&xSocketClientConnectToHost, libs, "g_socket_client_connect_to_host") | |||
| 919 | - | core.PuregoSafeRegister(&xSocketClientConnectToHostAsync, libs, "g_socket_client_connect_to_host_async") | |||
| 920 | - | core.PuregoSafeRegister(&xSocketClientConnectToHostFinish, libs, "g_socket_client_connect_to_host_finish") | |||
| 921 | - | core.PuregoSafeRegister(&xSocketClientConnectToService, libs, "g_socket_client_connect_to_service") | |||
| 922 | - | core.PuregoSafeRegister(&xSocketClientConnectToServiceAsync, libs, "g_socket_client_connect_to_service_async") | |||
| 923 | - | core.PuregoSafeRegister(&xSocketClientConnectToServiceFinish, libs, "g_socket_client_connect_to_service_finish") | |||
| 924 | - | core.PuregoSafeRegister(&xSocketClientConnectToUri, libs, "g_socket_client_connect_to_uri") | |||
| 925 | - | core.PuregoSafeRegister(&xSocketClientConnectToUriAsync, libs, "g_socket_client_connect_to_uri_async") | |||
| 926 | - | core.PuregoSafeRegister(&xSocketClientConnectToUriFinish, libs, "g_socket_client_connect_to_uri_finish") | |||
| 927 | - | core.PuregoSafeRegister(&xSocketClientGetEnableProxy, libs, "g_socket_client_get_enable_proxy") | |||
| 928 | - | core.PuregoSafeRegister(&xSocketClientGetFamily, libs, "g_socket_client_get_family") | |||
| 929 | - | core.PuregoSafeRegister(&xSocketClientGetLocalAddress, libs, "g_socket_client_get_local_address") | |||
| 930 | - | core.PuregoSafeRegister(&xSocketClientGetProtocol, libs, "g_socket_client_get_protocol") | |||
| 931 | - | core.PuregoSafeRegister(&xSocketClientGetProxyResolver, libs, "g_socket_client_get_proxy_resolver") | |||
| 932 | - | core.PuregoSafeRegister(&xSocketClientGetSocketType, libs, "g_socket_client_get_socket_type") | |||
| 933 | - | core.PuregoSafeRegister(&xSocketClientGetTimeout, libs, "g_socket_client_get_timeout") | |||
| 934 | - | core.PuregoSafeRegister(&xSocketClientGetTls, libs, "g_socket_client_get_tls") | |||
| 935 | - | core.PuregoSafeRegister(&xSocketClientGetTlsValidationFlags, libs, "g_socket_client_get_tls_validation_flags") | |||
| 936 | - | core.PuregoSafeRegister(&xSocketClientSetEnableProxy, libs, "g_socket_client_set_enable_proxy") | |||
| 937 | - | core.PuregoSafeRegister(&xSocketClientSetFamily, libs, "g_socket_client_set_family") | |||
| 938 | - | core.PuregoSafeRegister(&xSocketClientSetLocalAddress, libs, "g_socket_client_set_local_address") | |||
| 939 | - | core.PuregoSafeRegister(&xSocketClientSetProtocol, libs, "g_socket_client_set_protocol") | |||
| 940 | - | core.PuregoSafeRegister(&xSocketClientSetProxyResolver, libs, "g_socket_client_set_proxy_resolver") | |||
| 941 | - | core.PuregoSafeRegister(&xSocketClientSetSocketType, libs, "g_socket_client_set_socket_type") | |||
| 942 | - | core.PuregoSafeRegister(&xSocketClientSetTimeout, libs, "g_socket_client_set_timeout") | |||
| 943 | - | core.PuregoSafeRegister(&xSocketClientSetTls, libs, "g_socket_client_set_tls") | |||
| 944 | - | core.PuregoSafeRegister(&xSocketClientSetTlsValidationFlags, libs, "g_socket_client_set_tls_validation_flags") | |||
| 945 | } | 955 | } | ||