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
| @@ -63,7 +63,7 @@ func (x *InputStreamClass) OverrideReadFn(cb func(*InputStream, uintptr, uint, * | |||
| 63 | 63 | if cb == nil { | |
| 64 | 64 | x.xReadFn = 0 | |
| 65 | 65 | } else { | |
| 66 | - | x.xReadFn = purego.NewCallback(func(StreamVarp uintptr, BufferVarp uintptr, CountVarp uint, CancellableVarp uintptr) int { | |
| 66 | + | x.xReadFn = purego.NewCallback(func(StreamVarp uintptr, BufferVarp uintptr, CountVarp uint, CancellableVarp uintptr, cerrp **glib.Error) int { | |
| 67 | 67 | return cb(InputStreamNewFromInternalPtr(StreamVarp), BufferVarp, CountVarp, CancellableNewFromInternalPtr(CancellableVarp)) | |
| 68 | 68 | }) | |
| 69 | 69 | } | |
| @@ -74,10 +74,11 @@ func (x *InputStreamClass) GetReadFn() func(*InputStream, uintptr, uint, *Cancel | |||
| 74 | 74 | if x.xReadFn == 0 { | |
| 75 | 75 | return nil | |
| 76 | 76 | } | |
| 77 | - | var rawCallback func(StreamVarp uintptr, BufferVarp uintptr, CountVarp uint, CancellableVarp uintptr) int | |
| 77 | + | var rawCallback func(StreamVarp uintptr, BufferVarp uintptr, CountVarp uint, CancellableVarp uintptr, cerrp **glib.Error) int | |
| 78 | 78 | purego.RegisterFunc(&rawCallback, x.xReadFn) | |
| 79 | 79 | return func(StreamVar *InputStream, BufferVar uintptr, CountVar uint, CancellableVar *Cancellable) int { | |
| 80 | - | return rawCallback(StreamVar.GoPointer(), BufferVar, CountVar, CancellableVar.GoPointer()) | |
| 80 | + | var cerr *glib.Error | |
| 81 | + | return rawCallback(StreamVar.GoPointer(), BufferVar, CountVar, CancellableVar.GoPointer(), &cerr) | |
| 81 | 82 | } | |
| 82 | 83 | } | |
| 83 | 84 | ||
| @@ -86,7 +87,7 @@ func (x *InputStreamClass) OverrideSkip(cb func(*InputStream, uint, *Cancellable | |||
| 86 | 87 | if cb == nil { | |
| 87 | 88 | x.xSkip = 0 | |
| 88 | 89 | } else { | |
| 89 | - | x.xSkip = purego.NewCallback(func(StreamVarp uintptr, CountVarp uint, CancellableVarp uintptr) int { | |
| 90 | + | x.xSkip = purego.NewCallback(func(StreamVarp uintptr, CountVarp uint, CancellableVarp uintptr, cerrp **glib.Error) int { | |
| 90 | 91 | return cb(InputStreamNewFromInternalPtr(StreamVarp), CountVarp, CancellableNewFromInternalPtr(CancellableVarp)) | |
| 91 | 92 | }) | |
| 92 | 93 | } | |
| @@ -97,10 +98,11 @@ func (x *InputStreamClass) GetSkip() func(*InputStream, uint, *Cancellable) int | |||
| 97 | 98 | if x.xSkip == 0 { | |
| 98 | 99 | return nil | |
| 99 | 100 | } | |
| 100 | - | var rawCallback func(StreamVarp uintptr, CountVarp uint, CancellableVarp uintptr) int | |
| 101 | + | var rawCallback func(StreamVarp uintptr, CountVarp uint, CancellableVarp uintptr, cerrp **glib.Error) int | |
| 101 | 102 | purego.RegisterFunc(&rawCallback, x.xSkip) | |
| 102 | 103 | return func(StreamVar *InputStream, CountVar uint, CancellableVar *Cancellable) int { | |
| 103 | - | return rawCallback(StreamVar.GoPointer(), CountVar, CancellableVar.GoPointer()) | |
| 104 | + | var cerr *glib.Error | |
| 105 | + | return rawCallback(StreamVar.GoPointer(), CountVar, CancellableVar.GoPointer(), &cerr) | |
| 104 | 106 | } | |
| 105 | 107 | } | |
| 106 | 108 | ||
| @@ -109,7 +111,7 @@ func (x *InputStreamClass) OverrideCloseFn(cb func(*InputStream, *Cancellable) b | |||
| 109 | 111 | if cb == nil { | |
| 110 | 112 | x.xCloseFn = 0 | |
| 111 | 113 | } else { | |
| 112 | - | x.xCloseFn = purego.NewCallback(func(StreamVarp uintptr, CancellableVarp uintptr) bool { | |
| 114 | + | x.xCloseFn = purego.NewCallback(func(StreamVarp uintptr, CancellableVarp uintptr, cerrp **glib.Error) bool { | |
| 113 | 115 | return cb(InputStreamNewFromInternalPtr(StreamVarp), CancellableNewFromInternalPtr(CancellableVarp)) | |
| 114 | 116 | }) | |
| 115 | 117 | } | |
| @@ -120,10 +122,11 @@ func (x *InputStreamClass) GetCloseFn() func(*InputStream, *Cancellable) bool { | |||
| 120 | 122 | if x.xCloseFn == 0 { | |
| 121 | 123 | return nil | |
| 122 | 124 | } | |
| 123 | - | var rawCallback func(StreamVarp uintptr, CancellableVarp uintptr) bool | |
| 125 | + | var rawCallback func(StreamVarp uintptr, CancellableVarp uintptr, cerrp **glib.Error) bool | |
| 124 | 126 | purego.RegisterFunc(&rawCallback, x.xCloseFn) | |
| 125 | 127 | return func(StreamVar *InputStream, CancellableVar *Cancellable) bool { | |
| 126 | - | return rawCallback(StreamVar.GoPointer(), CancellableVar.GoPointer()) | |
| 128 | + | var cerr *glib.Error | |
| 129 | + | return rawCallback(StreamVar.GoPointer(), CancellableVar.GoPointer(), &cerr) | |
| 127 | 130 | } | |
| 128 | 131 | } | |
| 129 | 132 | ||
| @@ -155,7 +158,7 @@ func (x *InputStreamClass) OverrideReadFinish(cb func(*InputStream, AsyncResult) | |||
| 155 | 158 | if cb == nil { | |
| 156 | 159 | x.xReadFinish = 0 | |
| 157 | 160 | } else { | |
| 158 | - | x.xReadFinish = purego.NewCallback(func(StreamVarp uintptr, ResultVarp uintptr) int { | |
| 161 | + | x.xReadFinish = purego.NewCallback(func(StreamVarp uintptr, ResultVarp uintptr, cerrp **glib.Error) int { | |
| 159 | 162 | return cb(InputStreamNewFromInternalPtr(StreamVarp), &AsyncResultBase{Ptr: ResultVarp}) | |
| 160 | 163 | }) | |
| 161 | 164 | } | |
| @@ -166,10 +169,11 @@ func (x *InputStreamClass) GetReadFinish() func(*InputStream, AsyncResult) int { | |||
| 166 | 169 | if x.xReadFinish == 0 { | |
| 167 | 170 | return nil | |
| 168 | 171 | } | |
| 169 | - | var rawCallback func(StreamVarp uintptr, ResultVarp uintptr) int | |
| 172 | + | var rawCallback func(StreamVarp uintptr, ResultVarp uintptr, cerrp **glib.Error) int | |
| 170 | 173 | purego.RegisterFunc(&rawCallback, x.xReadFinish) | |
| 171 | 174 | return func(StreamVar *InputStream, ResultVar AsyncResult) int { | |
| 172 | - | return rawCallback(StreamVar.GoPointer(), ResultVar.GoPointer()) | |
| 175 | + | var cerr *glib.Error | |
| 176 | + | return rawCallback(StreamVar.GoPointer(), ResultVar.GoPointer(), &cerr) | |
| 173 | 177 | } | |
| 174 | 178 | } | |
| 175 | 179 | ||
| @@ -201,7 +205,7 @@ func (x *InputStreamClass) OverrideSkipFinish(cb func(*InputStream, AsyncResult) | |||
| 201 | 205 | if cb == nil { | |
| 202 | 206 | x.xSkipFinish = 0 | |
| 203 | 207 | } else { | |
| 204 | - | x.xSkipFinish = purego.NewCallback(func(StreamVarp uintptr, ResultVarp uintptr) int { | |
| 208 | + | x.xSkipFinish = purego.NewCallback(func(StreamVarp uintptr, ResultVarp uintptr, cerrp **glib.Error) int { | |
| 205 | 209 | return cb(InputStreamNewFromInternalPtr(StreamVarp), &AsyncResultBase{Ptr: ResultVarp}) | |
| 206 | 210 | }) | |
| 207 | 211 | } | |
| @@ -212,10 +216,11 @@ func (x *InputStreamClass) GetSkipFinish() func(*InputStream, AsyncResult) int { | |||
| 212 | 216 | if x.xSkipFinish == 0 { | |
| 213 | 217 | return nil | |
| 214 | 218 | } | |
| 215 | - | var rawCallback func(StreamVarp uintptr, ResultVarp uintptr) int | |
| 219 | + | var rawCallback func(StreamVarp uintptr, ResultVarp uintptr, cerrp **glib.Error) int | |
| 216 | 220 | purego.RegisterFunc(&rawCallback, x.xSkipFinish) | |
| 217 | 221 | return func(StreamVar *InputStream, ResultVar AsyncResult) int { | |
| 218 | - | return rawCallback(StreamVar.GoPointer(), ResultVar.GoPointer()) | |
| 222 | + | var cerr *glib.Error | |
| 223 | + | return rawCallback(StreamVar.GoPointer(), ResultVar.GoPointer(), &cerr) | |
| 219 | 224 | } | |
| 220 | 225 | } | |
| 221 | 226 | ||
| @@ -247,7 +252,7 @@ func (x *InputStreamClass) OverrideCloseFinish(cb func(*InputStream, AsyncResult | |||
| 247 | 252 | if cb == nil { | |
| 248 | 253 | x.xCloseFinish = 0 | |
| 249 | 254 | } else { | |
| 250 | - | x.xCloseFinish = purego.NewCallback(func(StreamVarp uintptr, ResultVarp uintptr) bool { | |
| 255 | + | x.xCloseFinish = purego.NewCallback(func(StreamVarp uintptr, ResultVarp uintptr, cerrp **glib.Error) bool { | |
| 251 | 256 | return cb(InputStreamNewFromInternalPtr(StreamVarp), &AsyncResultBase{Ptr: ResultVarp}) | |
| 252 | 257 | }) | |
| 253 | 258 | } | |
| @@ -258,10 +263,11 @@ func (x *InputStreamClass) GetCloseFinish() func(*InputStream, AsyncResult) bool | |||
| 258 | 263 | if x.xCloseFinish == 0 { | |
| 259 | 264 | return nil | |
| 260 | 265 | } | |
| 261 | - | var rawCallback func(StreamVarp uintptr, ResultVarp uintptr) bool | |
| 266 | + | var rawCallback func(StreamVarp uintptr, ResultVarp uintptr, cerrp **glib.Error) bool | |
| 262 | 267 | purego.RegisterFunc(&rawCallback, x.xCloseFinish) | |
| 263 | 268 | return func(StreamVar *InputStream, ResultVar AsyncResult) bool { | |
| 264 | - | return rawCallback(StreamVar.GoPointer(), ResultVar.GoPointer()) | |
| 269 | + | var cerr *glib.Error | |
| 270 | + | return rawCallback(StreamVar.GoPointer(), ResultVar.GoPointer(), &cerr) | |
| 265 | 271 | } | |
| 266 | 272 | } | |
| 267 | 273 | ||
| @@ -416,6 +422,7 @@ type InputStream struct { | |||
| 416 | 422 | var xInputStreamGLibType func() types.GType | |
| 417 | 423 | ||
| 418 | 424 | func InputStreamGLibType() types.GType { | |
| 425 | + | core.LazyRegister(&xInputStreamGLibType, "GIO", "g_input_stream_get_type", false) | |
| 419 | 426 | return xInputStreamGLibType() | |
| 420 | 427 | } | |
| 421 | 428 | ||
| @@ -429,6 +436,8 @@ var xInputStreamClearPending func(uintptr) | |||
| 429 | 436 | ||
| 430 | 437 | // Clears the pending flag on @stream. | |
| 431 | 438 | func (x *InputStream) ClearPending() { | |
| 439 | + | core.LazyRegister(&xInputStreamClearPending, "GIO", "g_input_stream_clear_pending", false) | |
| 440 | + | ||
| 432 | 441 | xInputStreamClearPending(x.GoPointer()) | |
| 433 | 442 | } | |
| 434 | 443 | ||
| @@ -458,6 +467,7 @@ var xInputStreamClose func(uintptr, uintptr, **glib.Error) bool | |||
| 458 | 467 | // Cancelling a close will still leave the stream closed, but some streams | |
| 459 | 468 | // can use a faster close that doesn't block to e.g. check errors. | |
| 460 | 469 | func (x *InputStream) Close(CancellableVar *Cancellable) (bool, error) { | |
| 470 | + | core.LazyRegister(&xInputStreamClose, "GIO", "g_input_stream_close", false) | |
| 461 | 471 | var cerr *glib.Error | |
| 462 | 472 | ||
| 463 | 473 | cret := xInputStreamClose(x.GoPointer(), CancellableVar.GoPointer(), &cerr) | |
| @@ -480,6 +490,8 @@ var xInputStreamCloseAsync func(uintptr, int, uintptr, uintptr, uintptr) | |||
| 480 | 490 | // asynchronicity, so they are optional for inheriting classes. However, if you | |
| 481 | 491 | // override one you must override all. | |
| 482 | 492 | func (x *InputStream) CloseAsync(IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | |
| 493 | + | core.LazyRegister(&xInputStreamCloseAsync, "GIO", "g_input_stream_close_async", false) | |
| 494 | + | ||
| 483 | 495 | xInputStreamCloseAsync(x.GoPointer(), IoPriorityVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | |
| 484 | 496 | } | |
| 485 | 497 | ||
| @@ -487,6 +499,7 @@ var xInputStreamCloseFinish func(uintptr, uintptr, **glib.Error) bool | |||
| 487 | 499 | ||
| 488 | 500 | // Finishes closing a stream asynchronously, started from g_input_stream_close_async(). | |
| 489 | 501 | func (x *InputStream) CloseFinish(ResultVar AsyncResult) (bool, error) { | |
| 502 | + | core.LazyRegister(&xInputStreamCloseFinish, "GIO", "g_input_stream_close_finish", false) | |
| 490 | 503 | var cerr *glib.Error | |
| 491 | 504 | ||
| 492 | 505 | cret := xInputStreamCloseFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr) | |
| @@ -500,6 +513,8 @@ var xInputStreamHasPending func(uintptr) bool | |||
| 500 | 513 | ||
| 501 | 514 | // Checks if an input stream has pending actions. | |
| 502 | 515 | func (x *InputStream) HasPending() bool { | |
| 516 | + | core.LazyRegister(&xInputStreamHasPending, "GIO", "g_input_stream_has_pending", false) | |
| 517 | + | ||
| 503 | 518 | cret := xInputStreamHasPending(x.GoPointer()) | |
| 504 | 519 | return cret | |
| 505 | 520 | } | |
| @@ -508,6 +523,8 @@ var xInputStreamIsClosed func(uintptr) bool | |||
| 508 | 523 | ||
| 509 | 524 | // Checks if an input stream is closed. | |
| 510 | 525 | func (x *InputStream) IsClosed() bool { | |
| 526 | + | core.LazyRegister(&xInputStreamIsClosed, "GIO", "g_input_stream_is_closed", false) | |
| 527 | + | ||
| 511 | 528 | cret := xInputStreamIsClosed(x.GoPointer()) | |
| 512 | 529 | return cret | |
| 513 | 530 | } | |
| @@ -536,6 +553,7 @@ var xInputStreamRead func(uintptr, *[]byte, uint, uintptr, **glib.Error) int | |||
| 536 | 553 | // | |
| 537 | 554 | // On error -1 is returned and @error is set accordingly. | |
| 538 | 555 | func (x *InputStream) Read(BufferVar *[]byte, CountVar uint, CancellableVar *Cancellable) (int, error) { | |
| 556 | + | core.LazyRegister(&xInputStreamRead, "GIO", "g_input_stream_read", false) | |
| 539 | 557 | var cerr *glib.Error | |
| 540 | 558 | ||
| 541 | 559 | cret := xInputStreamRead(x.GoPointer(), BufferVar, CountVar, CancellableVar.GoPointer(), &cerr) | |
| @@ -567,6 +585,7 @@ var xInputStreamReadAll func(uintptr, *[]byte, uint, *uint, uintptr, **glib.Erro | |||
| 567 | 585 | // available from C. If you need it from another language then you must | |
| 568 | 586 | // write your own loop around g_input_stream_read(). | |
| 569 | 587 | func (x *InputStream) ReadAll(BufferVar *[]byte, CountVar uint, BytesReadVar *uint, CancellableVar *Cancellable) (bool, error) { | |
| 588 | + | core.LazyRegister(&xInputStreamReadAll, "GIO", "g_input_stream_read_all", false) | |
| 570 | 589 | var cerr *glib.Error | |
| 571 | 590 | ||
| 572 | 591 | cret := xInputStreamReadAll(x.GoPointer(), BufferVar, CountVar, BytesReadVar, CancellableVar.GoPointer(), &cerr) | |
| @@ -589,6 +608,8 @@ var xInputStreamReadAllAsync func(uintptr, *[]byte, uint, int, uintptr, uintptr, | |||
| 589 | 608 | // value) will be executed before an outstanding request with lower | |
| 590 | 609 | // priority. Default priority is %G_PRIORITY_DEFAULT. | |
| 591 | 610 | func (x *InputStream) ReadAllAsync(BufferVar *[]byte, CountVar uint, IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | |
| 611 | + | core.LazyRegister(&xInputStreamReadAllAsync, "GIO", "g_input_stream_read_all_async", false) | |
| 612 | + | ||
| 592 | 613 | xInputStreamReadAllAsync(x.GoPointer(), BufferVar, CountVar, IoPriorityVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | |
| 593 | 614 | } | |
| 594 | 615 | ||
| @@ -604,6 +625,7 @@ var xInputStreamReadAllFinish func(uintptr, uintptr, *uint, **glib.Error) bool | |||
| 604 | 625 | // available from C. If you need it from another language then you must | |
| 605 | 626 | // write your own loop around g_input_stream_read_async(). | |
| 606 | 627 | func (x *InputStream) ReadAllFinish(ResultVar AsyncResult, BytesReadVar *uint) (bool, error) { | |
| 628 | + | core.LazyRegister(&xInputStreamReadAllFinish, "GIO", "g_input_stream_read_all_finish", false) | |
| 607 | 629 | var cerr *glib.Error | |
| 608 | 630 | ||
| 609 | 631 | cret := xInputStreamReadAllFinish(x.GoPointer(), ResultVar.GoPointer(), BytesReadVar, &cerr) | |
| @@ -639,6 +661,8 @@ var xInputStreamReadAsync func(uintptr, *[]byte, uint, int, uintptr, uintptr, ui | |||
| 639 | 661 | // asynchronicity, so they are optional for inheriting classes. However, if you | |
| 640 | 662 | // override one you must override all. | |
| 641 | 663 | func (x *InputStream) ReadAsync(BufferVar *[]byte, CountVar uint, IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | |
| 664 | + | core.LazyRegister(&xInputStreamReadAsync, "GIO", "g_input_stream_read_async", false) | |
| 665 | + | ||
| 642 | 666 | xInputStreamReadAsync(x.GoPointer(), BufferVar, CountVar, IoPriorityVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | |
| 643 | 667 | } | |
| 644 | 668 | ||
| @@ -668,6 +692,7 @@ var xInputStreamReadBytes func(uintptr, uint, uintptr, **glib.Error) uintptr | |||
| 668 | 692 | // | |
| 669 | 693 | // On error %NULL is returned and @error is set accordingly. | |
| 670 | 694 | func (x *InputStream) ReadBytes(CountVar uint, CancellableVar *Cancellable) (*glib.Bytes, error) { | |
| 695 | + | core.LazyRegister(&xInputStreamReadBytes, "GIO", "g_input_stream_read_bytes", false) | |
| 671 | 696 | var cerr *glib.Error | |
| 672 | 697 | ||
| 673 | 698 | cret := xInputStreamReadBytes(x.GoPointer(), CountVar, CancellableVar.GoPointer(), &cerr) | |
| @@ -703,6 +728,8 @@ var xInputStreamReadBytesAsync func(uintptr, uint, int, uintptr, uintptr, uintpt | |||
| 703 | 728 | // value) will be executed before an outstanding request with lower | |
| 704 | 729 | // priority. Default priority is %G_PRIORITY_DEFAULT. | |
| 705 | 730 | func (x *InputStream) ReadBytesAsync(CountVar uint, IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | |
| 731 | + | core.LazyRegister(&xInputStreamReadBytesAsync, "GIO", "g_input_stream_read_bytes_async", false) | |
| 732 | + | ||
| 706 | 733 | xInputStreamReadBytesAsync(x.GoPointer(), CountVar, IoPriorityVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | |
| 707 | 734 | } | |
| 708 | 735 | ||
| @@ -710,6 +737,7 @@ var xInputStreamReadBytesFinish func(uintptr, uintptr, **glib.Error) uintptr | |||
| 710 | 737 | ||
| 711 | 738 | // Finishes an asynchronous stream read-into-#GBytes operation. | |
| 712 | 739 | func (x *InputStream) ReadBytesFinish(ResultVar AsyncResult) (*glib.Bytes, error) { | |
| 740 | + | core.LazyRegister(&xInputStreamReadBytesFinish, "GIO", "g_input_stream_read_bytes_finish", false) | |
| 713 | 741 | var cerr *glib.Error | |
| 714 | 742 | ||
| 715 | 743 | cret := xInputStreamReadBytesFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr) | |
| @@ -726,6 +754,7 @@ var xInputStreamReadFinish func(uintptr, uintptr, **glib.Error) int | |||
| 726 | 754 | ||
| 727 | 755 | // Finishes an asynchronous stream read operation. | |
| 728 | 756 | func (x *InputStream) ReadFinish(ResultVar AsyncResult) (int, error) { | |
| 757 | + | core.LazyRegister(&xInputStreamReadFinish, "GIO", "g_input_stream_read_finish", false) | |
| 729 | 758 | var cerr *glib.Error | |
| 730 | 759 | ||
| 731 | 760 | cret := xInputStreamReadFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr) | |
| @@ -741,6 +770,7 @@ var xInputStreamSetPending func(uintptr, **glib.Error) bool | |||
| 741 | 770 | // already set or @stream is closed, it will return %FALSE and set | |
| 742 | 771 | // @error. | |
| 743 | 772 | func (x *InputStream) SetPending() (bool, error) { | |
| 773 | + | core.LazyRegister(&xInputStreamSetPending, "GIO", "g_input_stream_set_pending", false) | |
| 744 | 774 | var cerr *glib.Error | |
| 745 | 775 | ||
| 746 | 776 | cret := xInputStreamSetPending(x.GoPointer(), &cerr) | |
| @@ -767,6 +797,7 @@ var xInputStreamSkip func(uintptr, uint, uintptr, **glib.Error) int | |||
| 767 | 797 | // operation was partially finished when the operation was cancelled the | |
| 768 | 798 | // partial result will be returned, without an error. | |
| 769 | 799 | func (x *InputStream) Skip(CountVar uint, CancellableVar *Cancellable) (int, error) { | |
| 800 | + | core.LazyRegister(&xInputStreamSkip, "GIO", "g_input_stream_skip", false) | |
| 770 | 801 | var cerr *glib.Error | |
| 771 | 802 | ||
| 772 | 803 | cret := xInputStreamSkip(x.GoPointer(), CountVar, CancellableVar.GoPointer(), &cerr) | |
| @@ -802,6 +833,8 @@ var xInputStreamSkipAsync func(uintptr, uint, int, uintptr, uintptr, uintptr) | |||
| 802 | 833 | // implement asynchronicity, so they are optional for inheriting classes. | |
| 803 | 834 | // However, if you override one, you must override all. | |
| 804 | 835 | func (x *InputStream) SkipAsync(CountVar uint, IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | |
| 836 | + | core.LazyRegister(&xInputStreamSkipAsync, "GIO", "g_input_stream_skip_async", false) | |
| 837 | + | ||
| 805 | 838 | xInputStreamSkipAsync(x.GoPointer(), CountVar, IoPriorityVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | |
| 806 | 839 | } | |
| 807 | 840 | ||
| @@ -809,6 +842,7 @@ var xInputStreamSkipFinish func(uintptr, uintptr, **glib.Error) int | |||
| 809 | 842 | ||
| 810 | 843 | // Finishes a stream skip operation. | |
| 811 | 844 | func (x *InputStream) SkipFinish(ResultVar AsyncResult) (int, error) { | |
| 845 | + | core.LazyRegister(&xInputStreamSkipFinish, "GIO", "g_input_stream_skip_finish", false) | |
| 812 | 846 | var cerr *glib.Error | |
| 813 | 847 | ||
| 814 | 848 | cret := xInputStreamSkipFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr) | |
| @@ -832,34 +866,4 @@ func (c *InputStream) SetGoPointer(ptr uintptr) { | |||
| 832 | 866 | func init() { | |
| 833 | 867 | core.SetPackageName("GIO", "gio-2.0") | |
| 834 | 868 | core.SetSharedLibraries("GIO", []string{"libgio-2.0.so.0", "libgio-2.0.0.dylib"}) | |
| 835 | - | var libs []uintptr | |
| 836 | - | for _, libPath := range core.GetPaths("GIO") { | |
| 837 | - | lib, err := purego.Dlopen(libPath, purego.RTLD_NOW|purego.RTLD_GLOBAL) | |
| 838 | - | if err != nil { | |
| 839 | - | panic(err) | |
| 840 | - | } | |
| 841 | - | libs = append(libs, lib) | |
| 842 | - | } | |
| 843 | - | ||
| 844 | - | core.PuregoSafeRegister(&xInputStreamGLibType, libs, "g_input_stream_get_type") | |
| 845 | - | ||
| 846 | - | core.PuregoSafeRegister(&xInputStreamClearPending, libs, "g_input_stream_clear_pending") | |
| 847 | - | core.PuregoSafeRegister(&xInputStreamClose, libs, "g_input_stream_close") | |
| 848 | - | core.PuregoSafeRegister(&xInputStreamCloseAsync, libs, "g_input_stream_close_async") | |
| 849 | - | core.PuregoSafeRegister(&xInputStreamCloseFinish, libs, "g_input_stream_close_finish") | |
| 850 | - | core.PuregoSafeRegister(&xInputStreamHasPending, libs, "g_input_stream_has_pending") | |
| 851 | - | core.PuregoSafeRegister(&xInputStreamIsClosed, libs, "g_input_stream_is_closed") | |
| 852 | - | core.PuregoSafeRegister(&xInputStreamRead, libs, "g_input_stream_read") | |
| 853 | - | core.PuregoSafeRegister(&xInputStreamReadAll, libs, "g_input_stream_read_all") | |
| 854 | - | core.PuregoSafeRegister(&xInputStreamReadAllAsync, libs, "g_input_stream_read_all_async") | |
| 855 | - | core.PuregoSafeRegister(&xInputStreamReadAllFinish, libs, "g_input_stream_read_all_finish") | |
| 856 | - | core.PuregoSafeRegister(&xInputStreamReadAsync, libs, "g_input_stream_read_async") | |
| 857 | - | core.PuregoSafeRegister(&xInputStreamReadBytes, libs, "g_input_stream_read_bytes") | |
| 858 | - | core.PuregoSafeRegister(&xInputStreamReadBytesAsync, libs, "g_input_stream_read_bytes_async") | |
| 859 | - | core.PuregoSafeRegister(&xInputStreamReadBytesFinish, libs, "g_input_stream_read_bytes_finish") | |
| 860 | - | core.PuregoSafeRegister(&xInputStreamReadFinish, libs, "g_input_stream_read_finish") | |
| 861 | - | core.PuregoSafeRegister(&xInputStreamSetPending, libs, "g_input_stream_set_pending") | |
| 862 | - | core.PuregoSafeRegister(&xInputStreamSkip, libs, "g_input_stream_skip") | |
| 863 | - | core.PuregoSafeRegister(&xInputStreamSkipAsync, libs, "g_input_stream_skip_async") | |
| 864 | - | core.PuregoSafeRegister(&xInputStreamSkipFinish, libs, "g_input_stream_skip_finish") | |
| 865 | 869 | } | |
| @@ -63,7 +63,7 @@ func (x *InputStreamClass) OverrideReadFn(cb func(*InputStream, uintptr, uint, * | |||||
| 63 | if cb == nil { | 63 | if cb == nil { | ||
| 64 | x.xReadFn = 0 | 64 | x.xReadFn = 0 | ||
| 65 | } else { | 65 | } else { | ||
| 66 | - | x.xReadFn = purego.NewCallback(func(StreamVarp uintptr, BufferVarp uintptr, CountVarp uint, CancellableVarp uintptr) int { | 66 | + | x.xReadFn = purego.NewCallback(func(StreamVarp uintptr, BufferVarp uintptr, CountVarp uint, CancellableVarp uintptr, cerrp **glib.Error) int { |
| 67 | return cb(InputStreamNewFromInternalPtr(StreamVarp), BufferVarp, CountVarp, CancellableNewFromInternalPtr(CancellableVarp)) | 67 | return cb(InputStreamNewFromInternalPtr(StreamVarp), BufferVarp, CountVarp, CancellableNewFromInternalPtr(CancellableVarp)) | ||
| 68 | }) | 68 | }) | ||
| 69 | } | 69 | } | ||
| @@ -74,10 +74,11 @@ func (x *InputStreamClass) GetReadFn() func(*InputStream, uintptr, uint, *Cancel | |||||
| 74 | if x.xReadFn == 0 { | 74 | if x.xReadFn == 0 { | ||
| 75 | return nil | 75 | return nil | ||
| 76 | } | 76 | } | ||
| 77 | - | var rawCallback func(StreamVarp uintptr, BufferVarp uintptr, CountVarp uint, CancellableVarp uintptr) int | 77 | + | var rawCallback func(StreamVarp uintptr, BufferVarp uintptr, CountVarp uint, CancellableVarp uintptr, cerrp **glib.Error) int |
| 78 | purego.RegisterFunc(&rawCallback, x.xReadFn) | 78 | purego.RegisterFunc(&rawCallback, x.xReadFn) | ||
| 79 | return func(StreamVar *InputStream, BufferVar uintptr, CountVar uint, CancellableVar *Cancellable) int { | 79 | return func(StreamVar *InputStream, BufferVar uintptr, CountVar uint, CancellableVar *Cancellable) int { | ||
| 80 | - | return rawCallback(StreamVar.GoPointer(), BufferVar, CountVar, CancellableVar.GoPointer()) | 80 | + | var cerr *glib.Error |
| 81 | + | return rawCallback(StreamVar.GoPointer(), BufferVar, CountVar, CancellableVar.GoPointer(), &cerr) | |||
| 81 | } | 82 | } | ||
| 82 | } | 83 | } | ||
| 83 | 84 | ||||
| @@ -86,7 +87,7 @@ func (x *InputStreamClass) OverrideSkip(cb func(*InputStream, uint, *Cancellable | |||||
| 86 | if cb == nil { | 87 | if cb == nil { | ||
| 87 | x.xSkip = 0 | 88 | x.xSkip = 0 | ||
| 88 | } else { | 89 | } else { | ||
| 89 | - | x.xSkip = purego.NewCallback(func(StreamVarp uintptr, CountVarp uint, CancellableVarp uintptr) int { | 90 | + | x.xSkip = purego.NewCallback(func(StreamVarp uintptr, CountVarp uint, CancellableVarp uintptr, cerrp **glib.Error) int { |
| 90 | return cb(InputStreamNewFromInternalPtr(StreamVarp), CountVarp, CancellableNewFromInternalPtr(CancellableVarp)) | 91 | return cb(InputStreamNewFromInternalPtr(StreamVarp), CountVarp, CancellableNewFromInternalPtr(CancellableVarp)) | ||
| 91 | }) | 92 | }) | ||
| 92 | } | 93 | } | ||
| @@ -97,10 +98,11 @@ func (x *InputStreamClass) GetSkip() func(*InputStream, uint, *Cancellable) int | |||||
| 97 | if x.xSkip == 0 { | 98 | if x.xSkip == 0 { | ||
| 98 | return nil | 99 | return nil | ||
| 99 | } | 100 | } | ||
| 100 | - | var rawCallback func(StreamVarp uintptr, CountVarp uint, CancellableVarp uintptr) int | 101 | + | var rawCallback func(StreamVarp uintptr, CountVarp uint, CancellableVarp uintptr, cerrp **glib.Error) int |
| 101 | purego.RegisterFunc(&rawCallback, x.xSkip) | 102 | purego.RegisterFunc(&rawCallback, x.xSkip) | ||
| 102 | return func(StreamVar *InputStream, CountVar uint, CancellableVar *Cancellable) int { | 103 | return func(StreamVar *InputStream, CountVar uint, CancellableVar *Cancellable) int { | ||
| 103 | - | return rawCallback(StreamVar.GoPointer(), CountVar, CancellableVar.GoPointer()) | 104 | + | var cerr *glib.Error |
| 105 | + | return rawCallback(StreamVar.GoPointer(), CountVar, CancellableVar.GoPointer(), &cerr) | |||
| 104 | } | 106 | } | ||
| 105 | } | 107 | } | ||
| 106 | 108 | ||||
| @@ -109,7 +111,7 @@ func (x *InputStreamClass) OverrideCloseFn(cb func(*InputStream, *Cancellable) b | |||||
| 109 | if cb == nil { | 111 | if cb == nil { | ||
| 110 | x.xCloseFn = 0 | 112 | x.xCloseFn = 0 | ||
| 111 | } else { | 113 | } else { | ||
| 112 | - | x.xCloseFn = purego.NewCallback(func(StreamVarp uintptr, CancellableVarp uintptr) bool { | 114 | + | x.xCloseFn = purego.NewCallback(func(StreamVarp uintptr, CancellableVarp uintptr, cerrp **glib.Error) bool { |
| 113 | return cb(InputStreamNewFromInternalPtr(StreamVarp), CancellableNewFromInternalPtr(CancellableVarp)) | 115 | return cb(InputStreamNewFromInternalPtr(StreamVarp), CancellableNewFromInternalPtr(CancellableVarp)) | ||
| 114 | }) | 116 | }) | ||
| 115 | } | 117 | } | ||
| @@ -120,10 +122,11 @@ func (x *InputStreamClass) GetCloseFn() func(*InputStream, *Cancellable) bool { | |||||
| 120 | if x.xCloseFn == 0 { | 122 | if x.xCloseFn == 0 { | ||
| 121 | return nil | 123 | return nil | ||
| 122 | } | 124 | } | ||
| 123 | - | var rawCallback func(StreamVarp uintptr, CancellableVarp uintptr) bool | 125 | + | var rawCallback func(StreamVarp uintptr, CancellableVarp uintptr, cerrp **glib.Error) bool |
| 124 | purego.RegisterFunc(&rawCallback, x.xCloseFn) | 126 | purego.RegisterFunc(&rawCallback, x.xCloseFn) | ||
| 125 | return func(StreamVar *InputStream, CancellableVar *Cancellable) bool { | 127 | return func(StreamVar *InputStream, CancellableVar *Cancellable) bool { | ||
| 126 | - | return rawCallback(StreamVar.GoPointer(), CancellableVar.GoPointer()) | 128 | + | var cerr *glib.Error |
| 129 | + | return rawCallback(StreamVar.GoPointer(), CancellableVar.GoPointer(), &cerr) | |||
| 127 | } | 130 | } | ||
| 128 | } | 131 | } | ||
| 129 | 132 | ||||
| @@ -155,7 +158,7 @@ func (x *InputStreamClass) OverrideReadFinish(cb func(*InputStream, AsyncResult) | |||||
| 155 | if cb == nil { | 158 | if cb == nil { | ||
| 156 | x.xReadFinish = 0 | 159 | x.xReadFinish = 0 | ||
| 157 | } else { | 160 | } else { | ||
| 158 | - | x.xReadFinish = purego.NewCallback(func(StreamVarp uintptr, ResultVarp uintptr) int { | 161 | + | x.xReadFinish = purego.NewCallback(func(StreamVarp uintptr, ResultVarp uintptr, cerrp **glib.Error) int { |
| 159 | return cb(InputStreamNewFromInternalPtr(StreamVarp), &AsyncResultBase{Ptr: ResultVarp}) | 162 | return cb(InputStreamNewFromInternalPtr(StreamVarp), &AsyncResultBase{Ptr: ResultVarp}) | ||
| 160 | }) | 163 | }) | ||
| 161 | } | 164 | } | ||
| @@ -166,10 +169,11 @@ func (x *InputStreamClass) GetReadFinish() func(*InputStream, AsyncResult) int { | |||||
| 166 | if x.xReadFinish == 0 { | 169 | if x.xReadFinish == 0 { | ||
| 167 | return nil | 170 | return nil | ||
| 168 | } | 171 | } | ||
| 169 | - | var rawCallback func(StreamVarp uintptr, ResultVarp uintptr) int | 172 | + | var rawCallback func(StreamVarp uintptr, ResultVarp uintptr, cerrp **glib.Error) int |
| 170 | purego.RegisterFunc(&rawCallback, x.xReadFinish) | 173 | purego.RegisterFunc(&rawCallback, x.xReadFinish) | ||
| 171 | return func(StreamVar *InputStream, ResultVar AsyncResult) int { | 174 | return func(StreamVar *InputStream, ResultVar AsyncResult) int { | ||
| 172 | - | return rawCallback(StreamVar.GoPointer(), ResultVar.GoPointer()) | 175 | + | var cerr *glib.Error |
| 176 | + | return rawCallback(StreamVar.GoPointer(), ResultVar.GoPointer(), &cerr) | |||
| 173 | } | 177 | } | ||
| 174 | } | 178 | } | ||
| 175 | 179 | ||||
| @@ -201,7 +205,7 @@ func (x *InputStreamClass) OverrideSkipFinish(cb func(*InputStream, AsyncResult) | |||||
| 201 | if cb == nil { | 205 | if cb == nil { | ||
| 202 | x.xSkipFinish = 0 | 206 | x.xSkipFinish = 0 | ||
| 203 | } else { | 207 | } else { | ||
| 204 | - | x.xSkipFinish = purego.NewCallback(func(StreamVarp uintptr, ResultVarp uintptr) int { | 208 | + | x.xSkipFinish = purego.NewCallback(func(StreamVarp uintptr, ResultVarp uintptr, cerrp **glib.Error) int { |
| 205 | return cb(InputStreamNewFromInternalPtr(StreamVarp), &AsyncResultBase{Ptr: ResultVarp}) | 209 | return cb(InputStreamNewFromInternalPtr(StreamVarp), &AsyncResultBase{Ptr: ResultVarp}) | ||
| 206 | }) | 210 | }) | ||
| 207 | } | 211 | } | ||
| @@ -212,10 +216,11 @@ func (x *InputStreamClass) GetSkipFinish() func(*InputStream, AsyncResult) int { | |||||
| 212 | if x.xSkipFinish == 0 { | 216 | if x.xSkipFinish == 0 { | ||
| 213 | return nil | 217 | return nil | ||
| 214 | } | 218 | } | ||
| 215 | - | var rawCallback func(StreamVarp uintptr, ResultVarp uintptr) int | 219 | + | var rawCallback func(StreamVarp uintptr, ResultVarp uintptr, cerrp **glib.Error) int |
| 216 | purego.RegisterFunc(&rawCallback, x.xSkipFinish) | 220 | purego.RegisterFunc(&rawCallback, x.xSkipFinish) | ||
| 217 | return func(StreamVar *InputStream, ResultVar AsyncResult) int { | 221 | return func(StreamVar *InputStream, ResultVar AsyncResult) int { | ||
| 218 | - | return rawCallback(StreamVar.GoPointer(), ResultVar.GoPointer()) | 222 | + | var cerr *glib.Error |
| 223 | + | return rawCallback(StreamVar.GoPointer(), ResultVar.GoPointer(), &cerr) | |||
| 219 | } | 224 | } | ||
| 220 | } | 225 | } | ||
| 221 | 226 | ||||
| @@ -247,7 +252,7 @@ func (x *InputStreamClass) OverrideCloseFinish(cb func(*InputStream, AsyncResult | |||||
| 247 | if cb == nil { | 252 | if cb == nil { | ||
| 248 | x.xCloseFinish = 0 | 253 | x.xCloseFinish = 0 | ||
| 249 | } else { | 254 | } else { | ||
| 250 | - | x.xCloseFinish = purego.NewCallback(func(StreamVarp uintptr, ResultVarp uintptr) bool { | 255 | + | x.xCloseFinish = purego.NewCallback(func(StreamVarp uintptr, ResultVarp uintptr, cerrp **glib.Error) bool { |
| 251 | return cb(InputStreamNewFromInternalPtr(StreamVarp), &AsyncResultBase{Ptr: ResultVarp}) | 256 | return cb(InputStreamNewFromInternalPtr(StreamVarp), &AsyncResultBase{Ptr: ResultVarp}) | ||
| 252 | }) | 257 | }) | ||
| 253 | } | 258 | } | ||
| @@ -258,10 +263,11 @@ func (x *InputStreamClass) GetCloseFinish() func(*InputStream, AsyncResult) bool | |||||
| 258 | if x.xCloseFinish == 0 { | 263 | if x.xCloseFinish == 0 { | ||
| 259 | return nil | 264 | return nil | ||
| 260 | } | 265 | } | ||
| 261 | - | var rawCallback func(StreamVarp uintptr, ResultVarp uintptr) bool | 266 | + | var rawCallback func(StreamVarp uintptr, ResultVarp uintptr, cerrp **glib.Error) bool |
| 262 | purego.RegisterFunc(&rawCallback, x.xCloseFinish) | 267 | purego.RegisterFunc(&rawCallback, x.xCloseFinish) | ||
| 263 | return func(StreamVar *InputStream, ResultVar AsyncResult) bool { | 268 | return func(StreamVar *InputStream, ResultVar AsyncResult) bool { | ||
| 264 | - | return rawCallback(StreamVar.GoPointer(), ResultVar.GoPointer()) | 269 | + | var cerr *glib.Error |
| 270 | + | return rawCallback(StreamVar.GoPointer(), ResultVar.GoPointer(), &cerr) | |||
| 265 | } | 271 | } | ||
| 266 | } | 272 | } | ||
| 267 | 273 | ||||
| @@ -416,6 +422,7 @@ type InputStream struct { | |||||
| 416 | var xInputStreamGLibType func() types.GType | 422 | var xInputStreamGLibType func() types.GType | ||
| 417 | 423 | ||||
| 418 | func InputStreamGLibType() types.GType { | 424 | func InputStreamGLibType() types.GType { | ||
| 425 | + | core.LazyRegister(&xInputStreamGLibType, "GIO", "g_input_stream_get_type", false) | |||
| 419 | return xInputStreamGLibType() | 426 | return xInputStreamGLibType() | ||
| 420 | } | 427 | } | ||
| 421 | 428 | ||||
| @@ -429,6 +436,8 @@ var xInputStreamClearPending func(uintptr) | |||||
| 429 | 436 | ||||
| 430 | // Clears the pending flag on @stream. | 437 | // Clears the pending flag on @stream. | ||
| 431 | func (x *InputStream) ClearPending() { | 438 | func (x *InputStream) ClearPending() { | ||
| 439 | + | core.LazyRegister(&xInputStreamClearPending, "GIO", "g_input_stream_clear_pending", false) | |||
| 440 | + | ||||
| 432 | xInputStreamClearPending(x.GoPointer()) | 441 | xInputStreamClearPending(x.GoPointer()) | ||
| 433 | } | 442 | } | ||
| 434 | 443 | ||||
| @@ -458,6 +467,7 @@ var xInputStreamClose func(uintptr, uintptr, **glib.Error) bool | |||||
| 458 | // Cancelling a close will still leave the stream closed, but some streams | 467 | // Cancelling a close will still leave the stream closed, but some streams | ||
| 459 | // can use a faster close that doesn't block to e.g. check errors. | 468 | // can use a faster close that doesn't block to e.g. check errors. | ||
| 460 | func (x *InputStream) Close(CancellableVar *Cancellable) (bool, error) { | 469 | func (x *InputStream) Close(CancellableVar *Cancellable) (bool, error) { | ||
| 470 | + | core.LazyRegister(&xInputStreamClose, "GIO", "g_input_stream_close", false) | |||
| 461 | var cerr *glib.Error | 471 | var cerr *glib.Error | ||
| 462 | 472 | ||||
| 463 | cret := xInputStreamClose(x.GoPointer(), CancellableVar.GoPointer(), &cerr) | 473 | cret := xInputStreamClose(x.GoPointer(), CancellableVar.GoPointer(), &cerr) | ||
| @@ -480,6 +490,8 @@ var xInputStreamCloseAsync func(uintptr, int, uintptr, uintptr, uintptr) | |||||
| 480 | // asynchronicity, so they are optional for inheriting classes. However, if you | 490 | // asynchronicity, so they are optional for inheriting classes. However, if you | ||
| 481 | // override one you must override all. | 491 | // override one you must override all. | ||
| 482 | func (x *InputStream) CloseAsync(IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | 492 | func (x *InputStream) CloseAsync(IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | ||
| 493 | + | core.LazyRegister(&xInputStreamCloseAsync, "GIO", "g_input_stream_close_async", false) | |||
| 494 | + | ||||
| 483 | xInputStreamCloseAsync(x.GoPointer(), IoPriorityVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | 495 | xInputStreamCloseAsync(x.GoPointer(), IoPriorityVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | ||
| 484 | } | 496 | } | ||
| 485 | 497 | ||||
| @@ -487,6 +499,7 @@ var xInputStreamCloseFinish func(uintptr, uintptr, **glib.Error) bool | |||||
| 487 | 499 | ||||
| 488 | // Finishes closing a stream asynchronously, started from g_input_stream_close_async(). | 500 | // Finishes closing a stream asynchronously, started from g_input_stream_close_async(). | ||
| 489 | func (x *InputStream) CloseFinish(ResultVar AsyncResult) (bool, error) { | 501 | func (x *InputStream) CloseFinish(ResultVar AsyncResult) (bool, error) { | ||
| 502 | + | core.LazyRegister(&xInputStreamCloseFinish, "GIO", "g_input_stream_close_finish", false) | |||
| 490 | var cerr *glib.Error | 503 | var cerr *glib.Error | ||
| 491 | 504 | ||||
| 492 | cret := xInputStreamCloseFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr) | 505 | cret := xInputStreamCloseFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr) | ||
| @@ -500,6 +513,8 @@ var xInputStreamHasPending func(uintptr) bool | |||||
| 500 | 513 | ||||
| 501 | // Checks if an input stream has pending actions. | 514 | // Checks if an input stream has pending actions. | ||
| 502 | func (x *InputStream) HasPending() bool { | 515 | func (x *InputStream) HasPending() bool { | ||
| 516 | + | core.LazyRegister(&xInputStreamHasPending, "GIO", "g_input_stream_has_pending", false) | |||
| 517 | + | ||||
| 503 | cret := xInputStreamHasPending(x.GoPointer()) | 518 | cret := xInputStreamHasPending(x.GoPointer()) | ||
| 504 | return cret | 519 | return cret | ||
| 505 | } | 520 | } | ||
| @@ -508,6 +523,8 @@ var xInputStreamIsClosed func(uintptr) bool | |||||
| 508 | 523 | ||||
| 509 | // Checks if an input stream is closed. | 524 | // Checks if an input stream is closed. | ||
| 510 | func (x *InputStream) IsClosed() bool { | 525 | func (x *InputStream) IsClosed() bool { | ||
| 526 | + | core.LazyRegister(&xInputStreamIsClosed, "GIO", "g_input_stream_is_closed", false) | |||
| 527 | + | ||||
| 511 | cret := xInputStreamIsClosed(x.GoPointer()) | 528 | cret := xInputStreamIsClosed(x.GoPointer()) | ||
| 512 | return cret | 529 | return cret | ||
| 513 | } | 530 | } | ||
| @@ -536,6 +553,7 @@ var xInputStreamRead func(uintptr, *[]byte, uint, uintptr, **glib.Error) int | |||||
| 536 | // | 553 | // | ||
| 537 | // On error -1 is returned and @error is set accordingly. | 554 | // On error -1 is returned and @error is set accordingly. | ||
| 538 | func (x *InputStream) Read(BufferVar *[]byte, CountVar uint, CancellableVar *Cancellable) (int, error) { | 555 | func (x *InputStream) Read(BufferVar *[]byte, CountVar uint, CancellableVar *Cancellable) (int, error) { | ||
| 556 | + | core.LazyRegister(&xInputStreamRead, "GIO", "g_input_stream_read", false) | |||
| 539 | var cerr *glib.Error | 557 | var cerr *glib.Error | ||
| 540 | 558 | ||||
| 541 | cret := xInputStreamRead(x.GoPointer(), BufferVar, CountVar, CancellableVar.GoPointer(), &cerr) | 559 | cret := xInputStreamRead(x.GoPointer(), BufferVar, CountVar, CancellableVar.GoPointer(), &cerr) | ||
| @@ -567,6 +585,7 @@ var xInputStreamReadAll func(uintptr, *[]byte, uint, *uint, uintptr, **glib.Erro | |||||
| 567 | // available from C. If you need it from another language then you must | 585 | // available from C. If you need it from another language then you must | ||
| 568 | // write your own loop around g_input_stream_read(). | 586 | // write your own loop around g_input_stream_read(). | ||
| 569 | func (x *InputStream) ReadAll(BufferVar *[]byte, CountVar uint, BytesReadVar *uint, CancellableVar *Cancellable) (bool, error) { | 587 | func (x *InputStream) ReadAll(BufferVar *[]byte, CountVar uint, BytesReadVar *uint, CancellableVar *Cancellable) (bool, error) { | ||
| 588 | + | core.LazyRegister(&xInputStreamReadAll, "GIO", "g_input_stream_read_all", false) | |||
| 570 | var cerr *glib.Error | 589 | var cerr *glib.Error | ||
| 571 | 590 | ||||
| 572 | cret := xInputStreamReadAll(x.GoPointer(), BufferVar, CountVar, BytesReadVar, CancellableVar.GoPointer(), &cerr) | 591 | cret := xInputStreamReadAll(x.GoPointer(), BufferVar, CountVar, BytesReadVar, CancellableVar.GoPointer(), &cerr) | ||
| @@ -589,6 +608,8 @@ var xInputStreamReadAllAsync func(uintptr, *[]byte, uint, int, uintptr, uintptr, | |||||
| 589 | // value) will be executed before an outstanding request with lower | 608 | // value) will be executed before an outstanding request with lower | ||
| 590 | // priority. Default priority is %G_PRIORITY_DEFAULT. | 609 | // priority. Default priority is %G_PRIORITY_DEFAULT. | ||
| 591 | func (x *InputStream) ReadAllAsync(BufferVar *[]byte, CountVar uint, IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | 610 | func (x *InputStream) ReadAllAsync(BufferVar *[]byte, CountVar uint, IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | ||
| 611 | + | core.LazyRegister(&xInputStreamReadAllAsync, "GIO", "g_input_stream_read_all_async", false) | |||
| 612 | + | ||||
| 592 | xInputStreamReadAllAsync(x.GoPointer(), BufferVar, CountVar, IoPriorityVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | 613 | xInputStreamReadAllAsync(x.GoPointer(), BufferVar, CountVar, IoPriorityVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | ||
| 593 | } | 614 | } | ||
| 594 | 615 | ||||
| @@ -604,6 +625,7 @@ var xInputStreamReadAllFinish func(uintptr, uintptr, *uint, **glib.Error) bool | |||||
| 604 | // available from C. If you need it from another language then you must | 625 | // available from C. If you need it from another language then you must | ||
| 605 | // write your own loop around g_input_stream_read_async(). | 626 | // write your own loop around g_input_stream_read_async(). | ||
| 606 | func (x *InputStream) ReadAllFinish(ResultVar AsyncResult, BytesReadVar *uint) (bool, error) { | 627 | func (x *InputStream) ReadAllFinish(ResultVar AsyncResult, BytesReadVar *uint) (bool, error) { | ||
| 628 | + | core.LazyRegister(&xInputStreamReadAllFinish, "GIO", "g_input_stream_read_all_finish", false) | |||
| 607 | var cerr *glib.Error | 629 | var cerr *glib.Error | ||
| 608 | 630 | ||||
| 609 | cret := xInputStreamReadAllFinish(x.GoPointer(), ResultVar.GoPointer(), BytesReadVar, &cerr) | 631 | cret := xInputStreamReadAllFinish(x.GoPointer(), ResultVar.GoPointer(), BytesReadVar, &cerr) | ||
| @@ -639,6 +661,8 @@ var xInputStreamReadAsync func(uintptr, *[]byte, uint, int, uintptr, uintptr, ui | |||||
| 639 | // asynchronicity, so they are optional for inheriting classes. However, if you | 661 | // asynchronicity, so they are optional for inheriting classes. However, if you | ||
| 640 | // override one you must override all. | 662 | // override one you must override all. | ||
| 641 | func (x *InputStream) ReadAsync(BufferVar *[]byte, CountVar uint, IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | 663 | func (x *InputStream) ReadAsync(BufferVar *[]byte, CountVar uint, IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | ||
| 664 | + | core.LazyRegister(&xInputStreamReadAsync, "GIO", "g_input_stream_read_async", false) | |||
| 665 | + | ||||
| 642 | xInputStreamReadAsync(x.GoPointer(), BufferVar, CountVar, IoPriorityVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | 666 | xInputStreamReadAsync(x.GoPointer(), BufferVar, CountVar, IoPriorityVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | ||
| 643 | } | 667 | } | ||
| 644 | 668 | ||||
| @@ -668,6 +692,7 @@ var xInputStreamReadBytes func(uintptr, uint, uintptr, **glib.Error) uintptr | |||||
| 668 | // | 692 | // | ||
| 669 | // On error %NULL is returned and @error is set accordingly. | 693 | // On error %NULL is returned and @error is set accordingly. | ||
| 670 | func (x *InputStream) ReadBytes(CountVar uint, CancellableVar *Cancellable) (*glib.Bytes, error) { | 694 | func (x *InputStream) ReadBytes(CountVar uint, CancellableVar *Cancellable) (*glib.Bytes, error) { | ||
| 695 | + | core.LazyRegister(&xInputStreamReadBytes, "GIO", "g_input_stream_read_bytes", false) | |||
| 671 | var cerr *glib.Error | 696 | var cerr *glib.Error | ||
| 672 | 697 | ||||
| 673 | cret := xInputStreamReadBytes(x.GoPointer(), CountVar, CancellableVar.GoPointer(), &cerr) | 698 | cret := xInputStreamReadBytes(x.GoPointer(), CountVar, CancellableVar.GoPointer(), &cerr) | ||
| @@ -703,6 +728,8 @@ var xInputStreamReadBytesAsync func(uintptr, uint, int, uintptr, uintptr, uintpt | |||||
| 703 | // value) will be executed before an outstanding request with lower | 728 | // value) will be executed before an outstanding request with lower | ||
| 704 | // priority. Default priority is %G_PRIORITY_DEFAULT. | 729 | // priority. Default priority is %G_PRIORITY_DEFAULT. | ||
| 705 | func (x *InputStream) ReadBytesAsync(CountVar uint, IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | 730 | func (x *InputStream) ReadBytesAsync(CountVar uint, IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | ||
| 731 | + | core.LazyRegister(&xInputStreamReadBytesAsync, "GIO", "g_input_stream_read_bytes_async", false) | |||
| 732 | + | ||||
| 706 | xInputStreamReadBytesAsync(x.GoPointer(), CountVar, IoPriorityVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | 733 | xInputStreamReadBytesAsync(x.GoPointer(), CountVar, IoPriorityVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | ||
| 707 | } | 734 | } | ||
| 708 | 735 | ||||
| @@ -710,6 +737,7 @@ var xInputStreamReadBytesFinish func(uintptr, uintptr, **glib.Error) uintptr | |||||
| 710 | 737 | ||||
| 711 | // Finishes an asynchronous stream read-into-#GBytes operation. | 738 | // Finishes an asynchronous stream read-into-#GBytes operation. | ||
| 712 | func (x *InputStream) ReadBytesFinish(ResultVar AsyncResult) (*glib.Bytes, error) { | 739 | func (x *InputStream) ReadBytesFinish(ResultVar AsyncResult) (*glib.Bytes, error) { | ||
| 740 | + | core.LazyRegister(&xInputStreamReadBytesFinish, "GIO", "g_input_stream_read_bytes_finish", false) | |||
| 713 | var cerr *glib.Error | 741 | var cerr *glib.Error | ||
| 714 | 742 | ||||
| 715 | cret := xInputStreamReadBytesFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr) | 743 | cret := xInputStreamReadBytesFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr) | ||
| @@ -726,6 +754,7 @@ var xInputStreamReadFinish func(uintptr, uintptr, **glib.Error) int | |||||
| 726 | 754 | ||||
| 727 | // Finishes an asynchronous stream read operation. | 755 | // Finishes an asynchronous stream read operation. | ||
| 728 | func (x *InputStream) ReadFinish(ResultVar AsyncResult) (int, error) { | 756 | func (x *InputStream) ReadFinish(ResultVar AsyncResult) (int, error) { | ||
| 757 | + | core.LazyRegister(&xInputStreamReadFinish, "GIO", "g_input_stream_read_finish", false) | |||
| 729 | var cerr *glib.Error | 758 | var cerr *glib.Error | ||
| 730 | 759 | ||||
| 731 | cret := xInputStreamReadFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr) | 760 | cret := xInputStreamReadFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr) | ||
| @@ -741,6 +770,7 @@ var xInputStreamSetPending func(uintptr, **glib.Error) bool | |||||
| 741 | // already set or @stream is closed, it will return %FALSE and set | 770 | // already set or @stream is closed, it will return %FALSE and set | ||
| 742 | // @error. | 771 | // @error. | ||
| 743 | func (x *InputStream) SetPending() (bool, error) { | 772 | func (x *InputStream) SetPending() (bool, error) { | ||
| 773 | + | core.LazyRegister(&xInputStreamSetPending, "GIO", "g_input_stream_set_pending", false) | |||
| 744 | var cerr *glib.Error | 774 | var cerr *glib.Error | ||
| 745 | 775 | ||||
| 746 | cret := xInputStreamSetPending(x.GoPointer(), &cerr) | 776 | cret := xInputStreamSetPending(x.GoPointer(), &cerr) | ||
| @@ -767,6 +797,7 @@ var xInputStreamSkip func(uintptr, uint, uintptr, **glib.Error) int | |||||
| 767 | // operation was partially finished when the operation was cancelled the | 797 | // operation was partially finished when the operation was cancelled the | ||
| 768 | // partial result will be returned, without an error. | 798 | // partial result will be returned, without an error. | ||
| 769 | func (x *InputStream) Skip(CountVar uint, CancellableVar *Cancellable) (int, error) { | 799 | func (x *InputStream) Skip(CountVar uint, CancellableVar *Cancellable) (int, error) { | ||
| 800 | + | core.LazyRegister(&xInputStreamSkip, "GIO", "g_input_stream_skip", false) | |||
| 770 | var cerr *glib.Error | 801 | var cerr *glib.Error | ||
| 771 | 802 | ||||
| 772 | cret := xInputStreamSkip(x.GoPointer(), CountVar, CancellableVar.GoPointer(), &cerr) | 803 | cret := xInputStreamSkip(x.GoPointer(), CountVar, CancellableVar.GoPointer(), &cerr) | ||
| @@ -802,6 +833,8 @@ var xInputStreamSkipAsync func(uintptr, uint, int, uintptr, uintptr, uintptr) | |||||
| 802 | // implement asynchronicity, so they are optional for inheriting classes. | 833 | // implement asynchronicity, so they are optional for inheriting classes. | ||
| 803 | // However, if you override one, you must override all. | 834 | // However, if you override one, you must override all. | ||
| 804 | func (x *InputStream) SkipAsync(CountVar uint, IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | 835 | func (x *InputStream) SkipAsync(CountVar uint, IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | ||
| 836 | + | core.LazyRegister(&xInputStreamSkipAsync, "GIO", "g_input_stream_skip_async", false) | |||
| 837 | + | ||||
| 805 | xInputStreamSkipAsync(x.GoPointer(), CountVar, IoPriorityVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | 838 | xInputStreamSkipAsync(x.GoPointer(), CountVar, IoPriorityVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | ||
| 806 | } | 839 | } | ||
| 807 | 840 | ||||
| @@ -809,6 +842,7 @@ var xInputStreamSkipFinish func(uintptr, uintptr, **glib.Error) int | |||||
| 809 | 842 | ||||
| 810 | // Finishes a stream skip operation. | 843 | // Finishes a stream skip operation. | ||
| 811 | func (x *InputStream) SkipFinish(ResultVar AsyncResult) (int, error) { | 844 | func (x *InputStream) SkipFinish(ResultVar AsyncResult) (int, error) { | ||
| 845 | + | core.LazyRegister(&xInputStreamSkipFinish, "GIO", "g_input_stream_skip_finish", false) | |||
| 812 | var cerr *glib.Error | 846 | var cerr *glib.Error | ||
| 813 | 847 | ||||
| 814 | cret := xInputStreamSkipFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr) | 848 | cret := xInputStreamSkipFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr) | ||
| @@ -832,34 +866,4 @@ func (c *InputStream) SetGoPointer(ptr uintptr) { | |||||
| 832 | func init() { | 866 | func init() { | ||
| 833 | core.SetPackageName("GIO", "gio-2.0") | 867 | core.SetPackageName("GIO", "gio-2.0") | ||
| 834 | core.SetSharedLibraries("GIO", []string{"libgio-2.0.so.0", "libgio-2.0.0.dylib"}) | 868 | core.SetSharedLibraries("GIO", []string{"libgio-2.0.so.0", "libgio-2.0.0.dylib"}) | ||
| 835 | - | var libs []uintptr | |||
| 836 | - | for _, libPath := range core.GetPaths("GIO") { | |||
| 837 | - | lib, err := purego.Dlopen(libPath, purego.RTLD_NOW|purego.RTLD_GLOBAL) | |||
| 838 | - | if err != nil { | |||
| 839 | - | panic(err) | |||
| 840 | - | } | |||
| 841 | - | libs = append(libs, lib) | |||
| 842 | - | } | |||
| 843 | - | ||||
| 844 | - | core.PuregoSafeRegister(&xInputStreamGLibType, libs, "g_input_stream_get_type") | |||
| 845 | - | ||||
| 846 | - | core.PuregoSafeRegister(&xInputStreamClearPending, libs, "g_input_stream_clear_pending") | |||
| 847 | - | core.PuregoSafeRegister(&xInputStreamClose, libs, "g_input_stream_close") | |||
| 848 | - | core.PuregoSafeRegister(&xInputStreamCloseAsync, libs, "g_input_stream_close_async") | |||
| 849 | - | core.PuregoSafeRegister(&xInputStreamCloseFinish, libs, "g_input_stream_close_finish") | |||
| 850 | - | core.PuregoSafeRegister(&xInputStreamHasPending, libs, "g_input_stream_has_pending") | |||
| 851 | - | core.PuregoSafeRegister(&xInputStreamIsClosed, libs, "g_input_stream_is_closed") | |||
| 852 | - | core.PuregoSafeRegister(&xInputStreamRead, libs, "g_input_stream_read") | |||
| 853 | - | core.PuregoSafeRegister(&xInputStreamReadAll, libs, "g_input_stream_read_all") | |||
| 854 | - | core.PuregoSafeRegister(&xInputStreamReadAllAsync, libs, "g_input_stream_read_all_async") | |||
| 855 | - | core.PuregoSafeRegister(&xInputStreamReadAllFinish, libs, "g_input_stream_read_all_finish") | |||
| 856 | - | core.PuregoSafeRegister(&xInputStreamReadAsync, libs, "g_input_stream_read_async") | |||
| 857 | - | core.PuregoSafeRegister(&xInputStreamReadBytes, libs, "g_input_stream_read_bytes") | |||
| 858 | - | core.PuregoSafeRegister(&xInputStreamReadBytesAsync, libs, "g_input_stream_read_bytes_async") | |||
| 859 | - | core.PuregoSafeRegister(&xInputStreamReadBytesFinish, libs, "g_input_stream_read_bytes_finish") | |||
| 860 | - | core.PuregoSafeRegister(&xInputStreamReadFinish, libs, "g_input_stream_read_finish") | |||
| 861 | - | core.PuregoSafeRegister(&xInputStreamSetPending, libs, "g_input_stream_set_pending") | |||
| 862 | - | core.PuregoSafeRegister(&xInputStreamSkip, libs, "g_input_stream_skip") | |||
| 863 | - | core.PuregoSafeRegister(&xInputStreamSkipAsync, libs, "g_input_stream_skip_async") | |||
| 864 | - | core.PuregoSafeRegister(&xInputStreamSkipFinish, libs, "g_input_stream_skip_finish") | |||
| 865 | } | 869 | } | ||