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
| @@ -179,6 +179,7 @@ type DataOutputStream struct { | |||
| 179 | 179 | var xDataOutputStreamGLibType func() types.GType | |
| 180 | 180 | ||
| 181 | 181 | func DataOutputStreamGLibType() types.GType { | |
| 182 | + | core.LazyRegister(&xDataOutputStreamGLibType, "GIO", "g_data_output_stream_get_type", false) | |
| 182 | 183 | return xDataOutputStreamGLibType() | |
| 183 | 184 | } | |
| 184 | 185 | ||
| @@ -192,6 +193,7 @@ var xNewDataOutputStream func(uintptr) uintptr | |||
| 192 | 193 | ||
| 193 | 194 | // Creates a new data output stream for @base_stream. | |
| 194 | 195 | func NewDataOutputStream(BaseStreamVar *OutputStream) *DataOutputStream { | |
| 196 | + | core.LazyRegister(&xNewDataOutputStream, "GIO", "g_data_output_stream_new", false) | |
| 195 | 197 | var cls *DataOutputStream | |
| 196 | 198 | ||
| 197 | 199 | cret := xNewDataOutputStream(BaseStreamVar.GoPointer()) | |
| @@ -208,6 +210,8 @@ var xDataOutputStreamGetByteOrder func(uintptr) DataStreamByteOrder | |||
| 208 | 210 | ||
| 209 | 211 | // Gets the byte order for the stream. | |
| 210 | 212 | func (x *DataOutputStream) GetByteOrder() DataStreamByteOrder { | |
| 213 | + | core.LazyRegister(&xDataOutputStreamGetByteOrder, "GIO", "g_data_output_stream_get_byte_order", false) | |
| 214 | + | ||
| 211 | 215 | cret := xDataOutputStreamGetByteOrder(x.GoPointer()) | |
| 212 | 216 | return cret | |
| 213 | 217 | } | |
| @@ -216,6 +220,7 @@ var xDataOutputStreamPutByte func(uintptr, byte, uintptr, **glib.Error) bool | |||
| 216 | 220 | ||
| 217 | 221 | // Puts a byte into the output stream. | |
| 218 | 222 | func (x *DataOutputStream) PutByte(DataVar byte, CancellableVar *Cancellable) (bool, error) { | |
| 223 | + | core.LazyRegister(&xDataOutputStreamPutByte, "GIO", "g_data_output_stream_put_byte", false) | |
| 219 | 224 | var cerr *glib.Error | |
| 220 | 225 | ||
| 221 | 226 | cret := xDataOutputStreamPutByte(x.GoPointer(), DataVar, CancellableVar.GoPointer(), &cerr) | |
| @@ -229,6 +234,7 @@ var xDataOutputStreamPutInt16 func(uintptr, int16, uintptr, **glib.Error) bool | |||
| 229 | 234 | ||
| 230 | 235 | // Puts a signed 16-bit integer into the output stream. | |
| 231 | 236 | func (x *DataOutputStream) PutInt16(DataVar int16, CancellableVar *Cancellable) (bool, error) { | |
| 237 | + | core.LazyRegister(&xDataOutputStreamPutInt16, "GIO", "g_data_output_stream_put_int16", false) | |
| 232 | 238 | var cerr *glib.Error | |
| 233 | 239 | ||
| 234 | 240 | cret := xDataOutputStreamPutInt16(x.GoPointer(), DataVar, CancellableVar.GoPointer(), &cerr) | |
| @@ -242,6 +248,7 @@ var xDataOutputStreamPutInt32 func(uintptr, int32, uintptr, **glib.Error) bool | |||
| 242 | 248 | ||
| 243 | 249 | // Puts a signed 32-bit integer into the output stream. | |
| 244 | 250 | func (x *DataOutputStream) PutInt32(DataVar int32, CancellableVar *Cancellable) (bool, error) { | |
| 251 | + | core.LazyRegister(&xDataOutputStreamPutInt32, "GIO", "g_data_output_stream_put_int32", false) | |
| 245 | 252 | var cerr *glib.Error | |
| 246 | 253 | ||
| 247 | 254 | cret := xDataOutputStreamPutInt32(x.GoPointer(), DataVar, CancellableVar.GoPointer(), &cerr) | |
| @@ -255,6 +262,7 @@ var xDataOutputStreamPutInt64 func(uintptr, int64, uintptr, **glib.Error) bool | |||
| 255 | 262 | ||
| 256 | 263 | // Puts a signed 64-bit integer into the stream. | |
| 257 | 264 | func (x *DataOutputStream) PutInt64(DataVar int64, CancellableVar *Cancellable) (bool, error) { | |
| 265 | + | core.LazyRegister(&xDataOutputStreamPutInt64, "GIO", "g_data_output_stream_put_int64", false) | |
| 258 | 266 | var cerr *glib.Error | |
| 259 | 267 | ||
| 260 | 268 | cret := xDataOutputStreamPutInt64(x.GoPointer(), DataVar, CancellableVar.GoPointer(), &cerr) | |
| @@ -268,6 +276,7 @@ var xDataOutputStreamPutString func(uintptr, string, uintptr, **glib.Error) bool | |||
| 268 | 276 | ||
| 269 | 277 | // Puts a string into the output stream. | |
| 270 | 278 | func (x *DataOutputStream) PutString(StrVar string, CancellableVar *Cancellable) (bool, error) { | |
| 279 | + | core.LazyRegister(&xDataOutputStreamPutString, "GIO", "g_data_output_stream_put_string", false) | |
| 271 | 280 | var cerr *glib.Error | |
| 272 | 281 | ||
| 273 | 282 | cret := xDataOutputStreamPutString(x.GoPointer(), StrVar, CancellableVar.GoPointer(), &cerr) | |
| @@ -281,6 +290,7 @@ var xDataOutputStreamPutUint16 func(uintptr, uint16, uintptr, **glib.Error) bool | |||
| 281 | 290 | ||
| 282 | 291 | // Puts an unsigned 16-bit integer into the output stream. | |
| 283 | 292 | func (x *DataOutputStream) PutUint16(DataVar uint16, CancellableVar *Cancellable) (bool, error) { | |
| 293 | + | core.LazyRegister(&xDataOutputStreamPutUint16, "GIO", "g_data_output_stream_put_uint16", false) | |
| 284 | 294 | var cerr *glib.Error | |
| 285 | 295 | ||
| 286 | 296 | cret := xDataOutputStreamPutUint16(x.GoPointer(), DataVar, CancellableVar.GoPointer(), &cerr) | |
| @@ -294,6 +304,7 @@ var xDataOutputStreamPutUint32 func(uintptr, uint32, uintptr, **glib.Error) bool | |||
| 294 | 304 | ||
| 295 | 305 | // Puts an unsigned 32-bit integer into the stream. | |
| 296 | 306 | func (x *DataOutputStream) PutUint32(DataVar uint32, CancellableVar *Cancellable) (bool, error) { | |
| 307 | + | core.LazyRegister(&xDataOutputStreamPutUint32, "GIO", "g_data_output_stream_put_uint32", false) | |
| 297 | 308 | var cerr *glib.Error | |
| 298 | 309 | ||
| 299 | 310 | cret := xDataOutputStreamPutUint32(x.GoPointer(), DataVar, CancellableVar.GoPointer(), &cerr) | |
| @@ -307,6 +318,7 @@ var xDataOutputStreamPutUint64 func(uintptr, uint64, uintptr, **glib.Error) bool | |||
| 307 | 318 | ||
| 308 | 319 | // Puts an unsigned 64-bit integer into the stream. | |
| 309 | 320 | func (x *DataOutputStream) PutUint64(DataVar uint64, CancellableVar *Cancellable) (bool, error) { | |
| 321 | + | core.LazyRegister(&xDataOutputStreamPutUint64, "GIO", "g_data_output_stream_put_uint64", false) | |
| 310 | 322 | var cerr *glib.Error | |
| 311 | 323 | ||
| 312 | 324 | cret := xDataOutputStreamPutUint64(x.GoPointer(), DataVar, CancellableVar.GoPointer(), &cerr) | |
| @@ -320,6 +332,8 @@ var xDataOutputStreamSetByteOrder func(uintptr, DataStreamByteOrder) | |||
| 320 | 332 | ||
| 321 | 333 | // Sets the byte order of the data output stream to @order. | |
| 322 | 334 | func (x *DataOutputStream) SetByteOrder(OrderVar DataStreamByteOrder) { | |
| 335 | + | core.LazyRegister(&xDataOutputStreamSetByteOrder, "GIO", "g_data_output_stream_set_byte_order", false) | |
| 336 | + | ||
| 323 | 337 | xDataOutputStreamSetByteOrder(x.GoPointer(), OrderVar) | |
| 324 | 338 | } | |
| 325 | 339 | ||
| @@ -399,27 +413,4 @@ func (x *DataOutputStream) Truncate(OffsetVar int64, CancellableVar *Cancellable | |||
| 399 | 413 | func init() { | |
| 400 | 414 | core.SetPackageName("GIO", "gio-2.0") | |
| 401 | 415 | core.SetSharedLibraries("GIO", []string{"libgio-2.0.so.0", "libgio-2.0.0.dylib"}) | |
| 402 | - | var libs []uintptr | |
| 403 | - | for _, libPath := range core.GetPaths("GIO") { | |
| 404 | - | lib, err := purego.Dlopen(libPath, purego.RTLD_NOW|purego.RTLD_GLOBAL) | |
| 405 | - | if err != nil { | |
| 406 | - | panic(err) | |
| 407 | - | } | |
| 408 | - | libs = append(libs, lib) | |
| 409 | - | } | |
| 410 | - | ||
| 411 | - | core.PuregoSafeRegister(&xDataOutputStreamGLibType, libs, "g_data_output_stream_get_type") | |
| 412 | - | ||
| 413 | - | core.PuregoSafeRegister(&xNewDataOutputStream, libs, "g_data_output_stream_new") | |
| 414 | - | ||
| 415 | - | core.PuregoSafeRegister(&xDataOutputStreamGetByteOrder, libs, "g_data_output_stream_get_byte_order") | |
| 416 | - | core.PuregoSafeRegister(&xDataOutputStreamPutByte, libs, "g_data_output_stream_put_byte") | |
| 417 | - | core.PuregoSafeRegister(&xDataOutputStreamPutInt16, libs, "g_data_output_stream_put_int16") | |
| 418 | - | core.PuregoSafeRegister(&xDataOutputStreamPutInt32, libs, "g_data_output_stream_put_int32") | |
| 419 | - | core.PuregoSafeRegister(&xDataOutputStreamPutInt64, libs, "g_data_output_stream_put_int64") | |
| 420 | - | core.PuregoSafeRegister(&xDataOutputStreamPutString, libs, "g_data_output_stream_put_string") | |
| 421 | - | core.PuregoSafeRegister(&xDataOutputStreamPutUint16, libs, "g_data_output_stream_put_uint16") | |
| 422 | - | core.PuregoSafeRegister(&xDataOutputStreamPutUint32, libs, "g_data_output_stream_put_uint32") | |
| 423 | - | core.PuregoSafeRegister(&xDataOutputStreamPutUint64, libs, "g_data_output_stream_put_uint64") | |
| 424 | - | core.PuregoSafeRegister(&xDataOutputStreamSetByteOrder, libs, "g_data_output_stream_set_byte_order") | |
| 425 | 416 | } | |
| @@ -179,6 +179,7 @@ type DataOutputStream struct { | |||||
| 179 | var xDataOutputStreamGLibType func() types.GType | 179 | var xDataOutputStreamGLibType func() types.GType | ||
| 180 | 180 | ||||
| 181 | func DataOutputStreamGLibType() types.GType { | 181 | func DataOutputStreamGLibType() types.GType { | ||
| 182 | + | core.LazyRegister(&xDataOutputStreamGLibType, "GIO", "g_data_output_stream_get_type", false) | |||
| 182 | return xDataOutputStreamGLibType() | 183 | return xDataOutputStreamGLibType() | ||
| 183 | } | 184 | } | ||
| 184 | 185 | ||||
| @@ -192,6 +193,7 @@ var xNewDataOutputStream func(uintptr) uintptr | |||||
| 192 | 193 | ||||
| 193 | // Creates a new data output stream for @base_stream. | 194 | // Creates a new data output stream for @base_stream. | ||
| 194 | func NewDataOutputStream(BaseStreamVar *OutputStream) *DataOutputStream { | 195 | func NewDataOutputStream(BaseStreamVar *OutputStream) *DataOutputStream { | ||
| 196 | + | core.LazyRegister(&xNewDataOutputStream, "GIO", "g_data_output_stream_new", false) | |||
| 195 | var cls *DataOutputStream | 197 | var cls *DataOutputStream | ||
| 196 | 198 | ||||
| 197 | cret := xNewDataOutputStream(BaseStreamVar.GoPointer()) | 199 | cret := xNewDataOutputStream(BaseStreamVar.GoPointer()) | ||
| @@ -208,6 +210,8 @@ var xDataOutputStreamGetByteOrder func(uintptr) DataStreamByteOrder | |||||
| 208 | 210 | ||||
| 209 | // Gets the byte order for the stream. | 211 | // Gets the byte order for the stream. | ||
| 210 | func (x *DataOutputStream) GetByteOrder() DataStreamByteOrder { | 212 | func (x *DataOutputStream) GetByteOrder() DataStreamByteOrder { | ||
| 213 | + | core.LazyRegister(&xDataOutputStreamGetByteOrder, "GIO", "g_data_output_stream_get_byte_order", false) | |||
| 214 | + | ||||
| 211 | cret := xDataOutputStreamGetByteOrder(x.GoPointer()) | 215 | cret := xDataOutputStreamGetByteOrder(x.GoPointer()) | ||
| 212 | return cret | 216 | return cret | ||
| 213 | } | 217 | } | ||
| @@ -216,6 +220,7 @@ var xDataOutputStreamPutByte func(uintptr, byte, uintptr, **glib.Error) bool | |||||
| 216 | 220 | ||||
| 217 | // Puts a byte into the output stream. | 221 | // Puts a byte into the output stream. | ||
| 218 | func (x *DataOutputStream) PutByte(DataVar byte, CancellableVar *Cancellable) (bool, error) { | 222 | func (x *DataOutputStream) PutByte(DataVar byte, CancellableVar *Cancellable) (bool, error) { | ||
| 223 | + | core.LazyRegister(&xDataOutputStreamPutByte, "GIO", "g_data_output_stream_put_byte", false) | |||
| 219 | var cerr *glib.Error | 224 | var cerr *glib.Error | ||
| 220 | 225 | ||||
| 221 | cret := xDataOutputStreamPutByte(x.GoPointer(), DataVar, CancellableVar.GoPointer(), &cerr) | 226 | cret := xDataOutputStreamPutByte(x.GoPointer(), DataVar, CancellableVar.GoPointer(), &cerr) | ||
| @@ -229,6 +234,7 @@ var xDataOutputStreamPutInt16 func(uintptr, int16, uintptr, **glib.Error) bool | |||||
| 229 | 234 | ||||
| 230 | // Puts a signed 16-bit integer into the output stream. | 235 | // Puts a signed 16-bit integer into the output stream. | ||
| 231 | func (x *DataOutputStream) PutInt16(DataVar int16, CancellableVar *Cancellable) (bool, error) { | 236 | func (x *DataOutputStream) PutInt16(DataVar int16, CancellableVar *Cancellable) (bool, error) { | ||
| 237 | + | core.LazyRegister(&xDataOutputStreamPutInt16, "GIO", "g_data_output_stream_put_int16", false) | |||
| 232 | var cerr *glib.Error | 238 | var cerr *glib.Error | ||
| 233 | 239 | ||||
| 234 | cret := xDataOutputStreamPutInt16(x.GoPointer(), DataVar, CancellableVar.GoPointer(), &cerr) | 240 | cret := xDataOutputStreamPutInt16(x.GoPointer(), DataVar, CancellableVar.GoPointer(), &cerr) | ||
| @@ -242,6 +248,7 @@ var xDataOutputStreamPutInt32 func(uintptr, int32, uintptr, **glib.Error) bool | |||||
| 242 | 248 | ||||
| 243 | // Puts a signed 32-bit integer into the output stream. | 249 | // Puts a signed 32-bit integer into the output stream. | ||
| 244 | func (x *DataOutputStream) PutInt32(DataVar int32, CancellableVar *Cancellable) (bool, error) { | 250 | func (x *DataOutputStream) PutInt32(DataVar int32, CancellableVar *Cancellable) (bool, error) { | ||
| 251 | + | core.LazyRegister(&xDataOutputStreamPutInt32, "GIO", "g_data_output_stream_put_int32", false) | |||
| 245 | var cerr *glib.Error | 252 | var cerr *glib.Error | ||
| 246 | 253 | ||||
| 247 | cret := xDataOutputStreamPutInt32(x.GoPointer(), DataVar, CancellableVar.GoPointer(), &cerr) | 254 | cret := xDataOutputStreamPutInt32(x.GoPointer(), DataVar, CancellableVar.GoPointer(), &cerr) | ||
| @@ -255,6 +262,7 @@ var xDataOutputStreamPutInt64 func(uintptr, int64, uintptr, **glib.Error) bool | |||||
| 255 | 262 | ||||
| 256 | // Puts a signed 64-bit integer into the stream. | 263 | // Puts a signed 64-bit integer into the stream. | ||
| 257 | func (x *DataOutputStream) PutInt64(DataVar int64, CancellableVar *Cancellable) (bool, error) { | 264 | func (x *DataOutputStream) PutInt64(DataVar int64, CancellableVar *Cancellable) (bool, error) { | ||
| 265 | + | core.LazyRegister(&xDataOutputStreamPutInt64, "GIO", "g_data_output_stream_put_int64", false) | |||
| 258 | var cerr *glib.Error | 266 | var cerr *glib.Error | ||
| 259 | 267 | ||||
| 260 | cret := xDataOutputStreamPutInt64(x.GoPointer(), DataVar, CancellableVar.GoPointer(), &cerr) | 268 | cret := xDataOutputStreamPutInt64(x.GoPointer(), DataVar, CancellableVar.GoPointer(), &cerr) | ||
| @@ -268,6 +276,7 @@ var xDataOutputStreamPutString func(uintptr, string, uintptr, **glib.Error) bool | |||||
| 268 | 276 | ||||
| 269 | // Puts a string into the output stream. | 277 | // Puts a string into the output stream. | ||
| 270 | func (x *DataOutputStream) PutString(StrVar string, CancellableVar *Cancellable) (bool, error) { | 278 | func (x *DataOutputStream) PutString(StrVar string, CancellableVar *Cancellable) (bool, error) { | ||
| 279 | + | core.LazyRegister(&xDataOutputStreamPutString, "GIO", "g_data_output_stream_put_string", false) | |||
| 271 | var cerr *glib.Error | 280 | var cerr *glib.Error | ||
| 272 | 281 | ||||
| 273 | cret := xDataOutputStreamPutString(x.GoPointer(), StrVar, CancellableVar.GoPointer(), &cerr) | 282 | cret := xDataOutputStreamPutString(x.GoPointer(), StrVar, CancellableVar.GoPointer(), &cerr) | ||
| @@ -281,6 +290,7 @@ var xDataOutputStreamPutUint16 func(uintptr, uint16, uintptr, **glib.Error) bool | |||||
| 281 | 290 | ||||
| 282 | // Puts an unsigned 16-bit integer into the output stream. | 291 | // Puts an unsigned 16-bit integer into the output stream. | ||
| 283 | func (x *DataOutputStream) PutUint16(DataVar uint16, CancellableVar *Cancellable) (bool, error) { | 292 | func (x *DataOutputStream) PutUint16(DataVar uint16, CancellableVar *Cancellable) (bool, error) { | ||
| 293 | + | core.LazyRegister(&xDataOutputStreamPutUint16, "GIO", "g_data_output_stream_put_uint16", false) | |||
| 284 | var cerr *glib.Error | 294 | var cerr *glib.Error | ||
| 285 | 295 | ||||
| 286 | cret := xDataOutputStreamPutUint16(x.GoPointer(), DataVar, CancellableVar.GoPointer(), &cerr) | 296 | cret := xDataOutputStreamPutUint16(x.GoPointer(), DataVar, CancellableVar.GoPointer(), &cerr) | ||
| @@ -294,6 +304,7 @@ var xDataOutputStreamPutUint32 func(uintptr, uint32, uintptr, **glib.Error) bool | |||||
| 294 | 304 | ||||
| 295 | // Puts an unsigned 32-bit integer into the stream. | 305 | // Puts an unsigned 32-bit integer into the stream. | ||
| 296 | func (x *DataOutputStream) PutUint32(DataVar uint32, CancellableVar *Cancellable) (bool, error) { | 306 | func (x *DataOutputStream) PutUint32(DataVar uint32, CancellableVar *Cancellable) (bool, error) { | ||
| 307 | + | core.LazyRegister(&xDataOutputStreamPutUint32, "GIO", "g_data_output_stream_put_uint32", false) | |||
| 297 | var cerr *glib.Error | 308 | var cerr *glib.Error | ||
| 298 | 309 | ||||
| 299 | cret := xDataOutputStreamPutUint32(x.GoPointer(), DataVar, CancellableVar.GoPointer(), &cerr) | 310 | cret := xDataOutputStreamPutUint32(x.GoPointer(), DataVar, CancellableVar.GoPointer(), &cerr) | ||
| @@ -307,6 +318,7 @@ var xDataOutputStreamPutUint64 func(uintptr, uint64, uintptr, **glib.Error) bool | |||||
| 307 | 318 | ||||
| 308 | // Puts an unsigned 64-bit integer into the stream. | 319 | // Puts an unsigned 64-bit integer into the stream. | ||
| 309 | func (x *DataOutputStream) PutUint64(DataVar uint64, CancellableVar *Cancellable) (bool, error) { | 320 | func (x *DataOutputStream) PutUint64(DataVar uint64, CancellableVar *Cancellable) (bool, error) { | ||
| 321 | + | core.LazyRegister(&xDataOutputStreamPutUint64, "GIO", "g_data_output_stream_put_uint64", false) | |||
| 310 | var cerr *glib.Error | 322 | var cerr *glib.Error | ||
| 311 | 323 | ||||
| 312 | cret := xDataOutputStreamPutUint64(x.GoPointer(), DataVar, CancellableVar.GoPointer(), &cerr) | 324 | cret := xDataOutputStreamPutUint64(x.GoPointer(), DataVar, CancellableVar.GoPointer(), &cerr) | ||
| @@ -320,6 +332,8 @@ var xDataOutputStreamSetByteOrder func(uintptr, DataStreamByteOrder) | |||||
| 320 | 332 | ||||
| 321 | // Sets the byte order of the data output stream to @order. | 333 | // Sets the byte order of the data output stream to @order. | ||
| 322 | func (x *DataOutputStream) SetByteOrder(OrderVar DataStreamByteOrder) { | 334 | func (x *DataOutputStream) SetByteOrder(OrderVar DataStreamByteOrder) { | ||
| 335 | + | core.LazyRegister(&xDataOutputStreamSetByteOrder, "GIO", "g_data_output_stream_set_byte_order", false) | |||
| 336 | + | ||||
| 323 | xDataOutputStreamSetByteOrder(x.GoPointer(), OrderVar) | 337 | xDataOutputStreamSetByteOrder(x.GoPointer(), OrderVar) | ||
| 324 | } | 338 | } | ||
| 325 | 339 | ||||
| @@ -399,27 +413,4 @@ func (x *DataOutputStream) Truncate(OffsetVar int64, CancellableVar *Cancellable | |||||
| 399 | func init() { | 413 | func init() { | ||
| 400 | core.SetPackageName("GIO", "gio-2.0") | 414 | core.SetPackageName("GIO", "gio-2.0") | ||
| 401 | core.SetSharedLibraries("GIO", []string{"libgio-2.0.so.0", "libgio-2.0.0.dylib"}) | 415 | core.SetSharedLibraries("GIO", []string{"libgio-2.0.so.0", "libgio-2.0.0.dylib"}) | ||
| 402 | - | var libs []uintptr | |||
| 403 | - | for _, libPath := range core.GetPaths("GIO") { | |||
| 404 | - | lib, err := purego.Dlopen(libPath, purego.RTLD_NOW|purego.RTLD_GLOBAL) | |||
| 405 | - | if err != nil { | |||
| 406 | - | panic(err) | |||
| 407 | - | } | |||
| 408 | - | libs = append(libs, lib) | |||
| 409 | - | } | |||
| 410 | - | ||||
| 411 | - | core.PuregoSafeRegister(&xDataOutputStreamGLibType, libs, "g_data_output_stream_get_type") | |||
| 412 | - | ||||
| 413 | - | core.PuregoSafeRegister(&xNewDataOutputStream, libs, "g_data_output_stream_new") | |||
| 414 | - | ||||
| 415 | - | core.PuregoSafeRegister(&xDataOutputStreamGetByteOrder, libs, "g_data_output_stream_get_byte_order") | |||
| 416 | - | core.PuregoSafeRegister(&xDataOutputStreamPutByte, libs, "g_data_output_stream_put_byte") | |||
| 417 | - | core.PuregoSafeRegister(&xDataOutputStreamPutInt16, libs, "g_data_output_stream_put_int16") | |||
| 418 | - | core.PuregoSafeRegister(&xDataOutputStreamPutInt32, libs, "g_data_output_stream_put_int32") | |||
| 419 | - | core.PuregoSafeRegister(&xDataOutputStreamPutInt64, libs, "g_data_output_stream_put_int64") | |||
| 420 | - | core.PuregoSafeRegister(&xDataOutputStreamPutString, libs, "g_data_output_stream_put_string") | |||
| 421 | - | core.PuregoSafeRegister(&xDataOutputStreamPutUint16, libs, "g_data_output_stream_put_uint16") | |||
| 422 | - | core.PuregoSafeRegister(&xDataOutputStreamPutUint32, libs, "g_data_output_stream_put_uint32") | |||
| 423 | - | core.PuregoSafeRegister(&xDataOutputStreamPutUint64, libs, "g_data_output_stream_put_uint64") | |||
| 424 | - | core.PuregoSafeRegister(&xDataOutputStreamSetByteOrder, libs, "g_data_output_stream_set_byte_order") | |||
| 425 | } | 416 | } | ||