Merge pull request #349 from bnema/fix/rollback-lazy-puregotk
fix(deps): emergency rollback puregotk lazy registration regression
905 files · +25263 -27842
M go.mod +1 -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.1-0.20260714170452-0b6b9b901234 | |
| 14 | + | github.com/bnema/puregotk v0.7.0 | |
| 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 | |
| @@ -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.1-0.20260714170452-0b6b9b901234 | 14 | + | github.com/bnema/puregotk v0.7.0 |
| 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 | ||
M go.sum +0 -4 generated file: collapsed
M vendor/github.com/bnema/puregotk/internal/core/core.go +4 -197 generated file: collapsed
M vendor/github.com/bnema/puregotk/pkg/core/core.go +0 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-about-dialog.go +64 -99 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-about-window.go +62 -95 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-accent-color.go +15 -7 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-action-row.go +29 -33 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-alert-dialog.go +47 -66 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-animation-target.go +27 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-animation-util.go +12 -4 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-animation.go +26 -24 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-application-window.go +22 -14 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-application.go +15 -3 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-avatar.go +25 -22 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-banner.go +26 -23 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-bin.go +16 -5 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-bottom-sheet.go +38 -47 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-breakpoint-bin.go +19 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-breakpoint.go +37 -33 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-button-content.go +22 -18 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-button-row.go +18 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-carousel-indicator-dots.go +16 -5 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-carousel-indicator-lines.go +16 -5 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-carousel.go +37 -47 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-clamp-layout.go +20 -14 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-clamp-scrollable.go +22 -17 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-clamp.go +22 -17 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-combo-row.go +33 -34 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-dialog.go +38 -45 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-easing.go +13 -3 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-entry-row.go +33 -40 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-enum-list-model.go +22 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-expander-row.go +33 -40 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-flap.go +48 -61 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-fold-threshold-policy.go +1 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-header-bar.go +33 -36 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-inline-view-switcher.go +24 -18 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-layout-slot.go +15 -4 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-layout.go +17 -7 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-leaflet.go +56 -69 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-length-unit.go +14 -5 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-main.go +15 -5 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-message-dialog.go +44 -63 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-multi-layout-view.go +23 -17 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-navigation-direction.go +1 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-navigation-split-view.go +32 -36 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-navigation-view.go +49 -60 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-overlay-split-view.go +38 -48 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-password-entry-row.go +13 -2 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-preferences-dialog.go +25 -23 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-preferences-group.go +26 -24 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-preferences-page.go +33 -38 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-preferences-row.go +22 -18 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-preferences-window.go +29 -31 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-shortcut-label.go +18 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-shortcuts-dialog.go +15 -4 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-shortcuts-item.go +25 -23 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-shortcuts-section.go +17 -8 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-sidebar-item.go +37 -45 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-sidebar-section.go +27 -24 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-sidebar.go +39 -41 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-spin-row.go +34 -40 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-spinner-paintable.go +16 -5 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-spinner.go +13 -2 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-split-button.go +34 -39 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-spring-animation.go +30 -34 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-spring-params.go +21 -17 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-squeezer.go +44 -49 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-status-page.go +24 -20 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-style-manager.go +28 -25 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-swipe-tracker.go +30 -33 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-swipeable.go +21 -33 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-switch-row.go +16 -6 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-tab-bar.go +32 -35 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-tab-button.go +16 -5 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-tab-overview.go +37 -45 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-tab-view.go +87 -123 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-timed-animation.go +28 -30 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-toast-overlay.go +18 -9 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-toast.go +36 -41 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-toggle-group.go +51 -64 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-toolbar-view.go +35 -40 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-version.go +16 -7 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-view-stack.go +62 -78 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-view-switcher-bar.go +18 -9 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-view-switcher-sidebar.go +22 -15 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-view-switcher-title.go +23 -19 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-view-switcher.go +20 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-window-title.go +18 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-window.go +22 -14 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-wrap-box.go +46 -66 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-wrap-layout.go +46 -57 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/cairo/main.go +79 -36 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkapplaunchcontext.go +17 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkcairo.go +16 -12 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkcairocontext.go +13 -3 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkcicpparams.go +25 -20 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkclipboard.go +32 -34 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkcolorstate.go +16 -12 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkcontentdeserializer.go +27 -26 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkcontentformats.go +31 -28 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkcontentprovider.go +28 -23 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkcontentserializer.go +27 -26 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkcursor.go +21 -12 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdevice.go +33 -36 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdevicepad.go +22 -27 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdevicetool.go +18 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdisplay.go +43 -51 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdisplaymanager.go +20 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdmabuftexture.go +13 -3 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdmabuftexturebuilder.go +41 -53 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdrag.go +28 -20 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdragsurface.go +14 -6 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdragsurfacesize.go +13 -3 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdrawcontext.go +18 -11 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdrop.go +24 -19 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkenums.go +1 -21 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkevents.go +118 -120 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkframeclock.go +24 -22 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkframetimings.go +20 -17 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkglcontext.go +36 -40 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkgltexture.go +15 -4 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkgltexturebuilder.go +35 -41 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkkeys.go +22 -19 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkmemorytexture.go +13 -2 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkmemorytexturebuilder.go +35 -42 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 +33 -63 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkpango.go +12 -4 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkpixbuf.go +12 -2 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkpopup.go +26 -47 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkpopuplayout.go +32 -36 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkrgba.go +21 -19 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkseat.go +20 -11 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdksnapshot.go +0 -7 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdksurface.go +40 -46 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdktexture.go +31 -27 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdktoplevel.go +66 -157 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdktoplevellayout.go +25 -24 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdktoplevelsize.go +16 -9 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdktypes.go +72 -95 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkvulkancontext.go +13 -3 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdkpixbuf/gdk-pixbuf-animation.go +32 -26 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdkpixbuf/gdk-pixbuf-core.go +0 -9 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdkpixbuf/gdk-pixbuf-io.go +23 -25 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdkpixbuf/gdk-pixbuf-loader.go +22 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdkpixbuf/gdk-pixbuf-simple-anim.go +17 -8 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdkpixbuf/gdk-pixbuf-transform.go +1 -11 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdkpixbuf/gdk-pixbuf.go +79 -102 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdkpixbuf/main.go +17 -5 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gaction.go +31 -59 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gactiongroup.go +39 -96 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gactionmap.go +21 -33 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gappinfo.go +116 -244 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gapplication.go +55 -79 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gapplicationcommandline.go +27 -31 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gasyncinitable.go +22 -25 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gasyncresult.go +19 -26 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gbufferedinputstream.go +29 -26 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gbufferedoutputstream.go +18 -11 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gbytesicon.go +15 -4 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gcancellable.go +27 -26 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gcharsetconverter.go +17 -8 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gcontenttype.go +26 -30 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gconverter.go +20 -23 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gconverterinputstream.go +14 -3 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gconverteroutputstream.go +14 -3 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gcredentials.go +21 -12 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdatagrambased.go +30 -45 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdatainputstream.go +35 -31 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdataoutputstream.go +23 -14 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusactiongroup.go +13 -2 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusaddress.go +17 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusauthobserver.go +16 -6 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusconnection.go +66 -77 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbuserror.go +18 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusinterface.go +19 -26 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusinterfaceskeleton.go +24 -25 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusintrospection.go +56 -54 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusmenumodel.go +13 -2 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusmessage.go +64 -88 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusmethodinvocation.go +30 -35 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusnameowning.go +15 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusnamewatching.go +15 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusobject.go +17 -19 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusobjectmanager.go +19 -26 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusobjectmanagerclient.go +23 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusobjectmanagerserver.go +20 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusobjectproxy.go +15 -3 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusobjectskeleton.go +18 -12 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusproxy.go +38 -42 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusserver.go +20 -14 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusutils.go +22 -24 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdebugcontroller.go +16 -12 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdebugcontrollerdbus.go +14 -4 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdrive.go +82 -214 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdtlsclientconnection.go +24 -34 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdtlsconnection.go +80 -207 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdtlsserverconnection.go +13 -2 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gemblem.go +17 -6 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gemblemedicon.go +18 -9 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gfile.go +450 -1148 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gfileattribute.go +19 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gfileenumerator.go +35 -34 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gfileicon.go +15 -3 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gfileinfo.go +84 -138 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gfileinputstream.go +23 -17 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gfileiostream.go +27 -23 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gfilemonitor.go +15 -9 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gfilenamecompleter.go +16 -8 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gfileoutputstream.go +27 -23 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gfilterinputstream.go +14 -6 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gfilteroutputstream.go +14 -6 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gicon.go +25 -32 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/ginetaddress.go +34 -40 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/ginetaddressmask.go +21 -14 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/ginetsocketaddress.go +19 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/ginitable.go +18 -11 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/ginputstream.go +48 -52 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gioenums.go +1 -90 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gioerror.go +13 -6 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/giomodule.go +29 -26 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gioscheduler.go +12 -4 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/giostream.go +29 -25 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/giotypes.go +60 -70 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/giptosmessage.go +16 -6 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gipv6tclassmessage.go +16 -6 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/glistmodel.go +21 -33 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gliststore.go +24 -22 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gloadableicon.go +23 -27 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gmemoryinputstream.go +17 -8 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gmemorymonitor.go +12 -2 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gmemoryoutputstream.go +19 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gmenu.go +50 -62 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gmenumodel.go +33 -31 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gmount.go +86 -215 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gmountoperation.go +32 -40 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gnativesocketaddress.go +13 -2 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gnativevolumemonitor.go +0 -7 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gnetworkaddress.go +21 -11 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gnetworking.go +14 -3 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gnetworkmonitor.go +31 -49 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gnetworkservice.go +19 -12 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gnotification.go +26 -26 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/goutputstream.go +72 -86 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gpermission.go +33 -33 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gpollableinputstream.go +22 -30 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gpollableoutputstream.go +27 -41 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gpollableutils.go +15 -7 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gpowerprofilemonitor.go +16 -7 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gpropertyaction.go +13 -2 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gproxy.go +27 -35 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gproxyaddress.go +21 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gproxyaddressenumerator.go +0 -7 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gproxyresolver.go +27 -35 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gremoteactiongroup.go +15 -12 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gresolver.go +67 -75 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gresource.go +23 -19 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gseekable.go +27 -41 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsettings.go +67 -99 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsettingsbackend.go +24 -19 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsettingsschema.go +43 -48 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsimpleaction.go +18 -9 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsimpleactiongroup.go +18 -9 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsimpleasyncresult.go +40 -46 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsimpleiostream.go +13 -2 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsimplepermission.go +13 -2 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsimpleproxyresolver.go +16 -8 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsocket.go +72 -87 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsocketaddress.go +19 -11 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsocketaddressenumerator.go +20 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsocketclient.go +44 -54 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsocketconnectable.go +17 -19 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsocketconnection.go +21 -14 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsocketcontrolmessage.go +17 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsocketlistener.go +25 -18 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsocketservice.go +16 -8 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsrvtarget.go +11 -2 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsubprocess.go +39 -40 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsubprocesslauncher.go +31 -34
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gio | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "github.com/bnema/purego" | |
| 5 | 6 | "github.com/bnema/puregotk/pkg/core" | |
| 6 | 7 | "github.com/bnema/puregotk/v4/glib" | |
| 7 | 8 | "github.com/bnema/puregotk/v4/gobject" | |
| @@ -23,7 +24,6 @@ type SubprocessLauncher struct { | |||
| 23 | 24 | var xSubprocessLauncherGLibType func() types.GType | |
| 24 | 25 | ||
| 25 | 26 | func SubprocessLauncherGLibType() types.GType { | |
| 26 | - | core.LazyRegister(&xSubprocessLauncherGLibType, "GIO", "g_subprocess_launcher_get_type", false) | |
| 27 | 27 | return xSubprocessLauncherGLibType() | |
| 28 | 28 | } | |
| 29 | 29 | ||
| @@ -41,7 +41,6 @@ var xNewSubprocessLauncher func(SubprocessFlags) uintptr | |||
| 41 | 41 | // environment of the calling process is made at the time of this call | |
| 42 | 42 | // and will be used as the environment that the process is launched in. | |
| 43 | 43 | func NewSubprocessLauncher(FlagsVar SubprocessFlags) *SubprocessLauncher { | |
| 44 | - | core.LazyRegister(&xNewSubprocessLauncher, "GIO", "g_subprocess_launcher_new", false) | |
| 45 | 44 | var cls *SubprocessLauncher | |
| 46 | 45 | ||
| 47 | 46 | cret := xNewSubprocessLauncher(FlagsVar) | |
| @@ -67,8 +66,6 @@ var xSubprocessLauncherClose func(uintptr) | |||
| 67 | 66 | // is disposed, but is provided separately so that garbage collected | |
| 68 | 67 | // language bindings can call it earlier to guarantee when FDs are closed. | |
| 69 | 68 | func (x *SubprocessLauncher) Close() { | |
| 70 | - | core.LazyRegister(&xSubprocessLauncherClose, "GIO", "g_subprocess_launcher_close", false) | |
| 71 | - | ||
| 72 | 69 | xSubprocessLauncherClose(x.GoPointer()) | |
| 73 | 70 | } | |
| 74 | 71 | ||
| @@ -80,8 +77,6 @@ var xSubprocessLauncherGetenv func(uintptr, string) string | |||
| 80 | 77 | // On UNIX, the returned string can be an arbitrary byte string. | |
| 81 | 78 | // On Windows, it will be UTF-8. | |
| 82 | 79 | func (x *SubprocessLauncher) Getenv(VariableVar string) string { | |
| 83 | - | core.LazyRegister(&xSubprocessLauncherGetenv, "GIO", "g_subprocess_launcher_getenv", false) | |
| 84 | - | ||
| 85 | 80 | cret := xSubprocessLauncherGetenv(x.GoPointer(), VariableVar) | |
| 86 | 81 | return cret | |
| 87 | 82 | } | |
| @@ -102,8 +97,6 @@ var xSubprocessLauncherSetChildSetup func(uintptr, uintptr, uintptr, uintptr) | |||
| 102 | 97 | // | |
| 103 | 98 | // Child setup functions are only available on UNIX. | |
| 104 | 99 | func (x *SubprocessLauncher) SetChildSetup(ChildSetupVar *glib.SpawnChildSetupFunc, UserDataVar uintptr, DestroyNotifyVar *glib.DestroyNotify) { | |
| 105 | - | core.LazyRegister(&xSubprocessLauncherSetChildSetup, "GIO", "g_subprocess_launcher_set_child_setup", false) | |
| 106 | - | ||
| 107 | 100 | xSubprocessLauncherSetChildSetup(x.GoPointer(), glib.NewCallback(ChildSetupVar), UserDataVar, glib.NewCallbackNullable(DestroyNotifyVar)) | |
| 108 | 101 | } | |
| 109 | 102 | ||
| @@ -115,8 +108,6 @@ var xSubprocessLauncherSetCwd func(uintptr, string) | |||
| 115 | 108 | // By default processes are launched with the current working directory | |
| 116 | 109 | // of the launching process at the time of launch. | |
| 117 | 110 | func (x *SubprocessLauncher) SetCwd(CwdVar string) { | |
| 118 | - | core.LazyRegister(&xSubprocessLauncherSetCwd, "GIO", "g_subprocess_launcher_set_cwd", false) | |
| 119 | - | ||
| 120 | 111 | xSubprocessLauncherSetCwd(x.GoPointer(), CwdVar) | |
| 121 | 112 | } | |
| 122 | 113 | ||
| @@ -142,8 +133,6 @@ var xSubprocessLauncherSetEnviron func(uintptr, []string) | |||
| 142 | 133 | // On UNIX, all strings in this array can be arbitrary byte strings. | |
| 143 | 134 | // On Windows, they should be in UTF-8. | |
| 144 | 135 | func (x *SubprocessLauncher) SetEnviron(EnvVar []string) { | |
| 145 | - | core.LazyRegister(&xSubprocessLauncherSetEnviron, "GIO", "g_subprocess_launcher_set_environ", false) | |
| 146 | - | ||
| 147 | 136 | xSubprocessLauncherSetEnviron(x.GoPointer(), EnvVar) | |
| 148 | 137 | } | |
| 149 | 138 | ||
| @@ -162,8 +151,6 @@ var xSubprocessLauncherSetFlags func(uintptr, SubprocessFlags) | |||
| 162 | 151 | // function like g_subprocess_launcher_set_stdin_file_path() or | |
| 163 | 152 | // g_subprocess_launcher_take_stdout_fd(). | |
| 164 | 153 | func (x *SubprocessLauncher) SetFlags(FlagsVar SubprocessFlags) { | |
| 165 | - | core.LazyRegister(&xSubprocessLauncherSetFlags, "GIO", "g_subprocess_launcher_set_flags", false) | |
| 166 | - | ||
| 167 | 154 | xSubprocessLauncherSetFlags(x.GoPointer(), FlagsVar) | |
| 168 | 155 | } | |
| 169 | 156 | ||
| @@ -184,8 +171,6 @@ var xSubprocessLauncherSetStderrFilePath func(uintptr, uintptr) | |||
| 184 | 171 | // | |
| 185 | 172 | // This feature is only available on UNIX. | |
| 186 | 173 | func (x *SubprocessLauncher) SetStderrFilePath(PathVar *string) { | |
| 187 | - | core.LazyRegister(&xSubprocessLauncherSetStderrFilePath, "GIO", "g_subprocess_launcher_set_stderr_file_path", false) | |
| 188 | - | ||
| 189 | 174 | PathVarPtr := core.GStrdupNullable(PathVar) | |
| 190 | 175 | defer core.GFreeNullable(PathVarPtr) | |
| 191 | 176 | ||
| @@ -205,8 +190,6 @@ var xSubprocessLauncherSetStdinFilePath func(uintptr, uintptr) | |||
| 205 | 190 | // | |
| 206 | 191 | // This feature is only available on UNIX. | |
| 207 | 192 | func (x *SubprocessLauncher) SetStdinFilePath(PathVar *string) { | |
| 208 | - | core.LazyRegister(&xSubprocessLauncherSetStdinFilePath, "GIO", "g_subprocess_launcher_set_stdin_file_path", false) | |
| 209 | - | ||
| 210 | 193 | PathVarPtr := core.GStrdupNullable(PathVar) | |
| 211 | 194 | defer core.GFreeNullable(PathVarPtr) | |
| 212 | 195 | ||
| @@ -227,8 +210,6 @@ var xSubprocessLauncherSetStdoutFilePath func(uintptr, uintptr) | |||
| 227 | 210 | // | |
| 228 | 211 | // This feature is only available on UNIX. | |
| 229 | 212 | func (x *SubprocessLauncher) SetStdoutFilePath(PathVar *string) { | |
| 230 | - | core.LazyRegister(&xSubprocessLauncherSetStdoutFilePath, "GIO", "g_subprocess_launcher_set_stdout_file_path", false) | |
| 231 | - | ||
| 232 | 213 | PathVarPtr := core.GStrdupNullable(PathVar) | |
| 233 | 214 | defer core.GFreeNullable(PathVarPtr) | |
| 234 | 215 | ||
| @@ -244,8 +225,6 @@ var xSubprocessLauncherSetenv func(uintptr, string, string, bool) | |||
| 244 | 225 | // strings, except that the variable's name cannot contain '='. | |
| 245 | 226 | // On Windows, they should be in UTF-8. | |
| 246 | 227 | func (x *SubprocessLauncher) Setenv(VariableVar string, ValueVar string, OverwriteVar bool) { | |
| 247 | - | core.LazyRegister(&xSubprocessLauncherSetenv, "GIO", "g_subprocess_launcher_setenv", false) | |
| 248 | - | ||
| 249 | 228 | xSubprocessLauncherSetenv(x.GoPointer(), VariableVar, ValueVar, OverwriteVar) | |
| 250 | 229 | } | |
| 251 | 230 | ||
| @@ -253,7 +232,6 @@ var xSubprocessLauncherSpawn func(uintptr, **glib.Error, string, ...interface{}) | |||
| 253 | 232 | ||
| 254 | 233 | // Creates a #GSubprocess given a provided varargs list of arguments. | |
| 255 | 234 | func (x *SubprocessLauncher) Spawn(ErrorVar **glib.Error, Argv0Var string, varArgs ...interface{}) *Subprocess { | |
| 256 | - | core.LazyRegister(&xSubprocessLauncherSpawn, "GIO", "g_subprocess_launcher_spawn", false) | |
| 257 | 235 | var cls *Subprocess | |
| 258 | 236 | ||
| 259 | 237 | cret := xSubprocessLauncherSpawn(x.GoPointer(), ErrorVar, Argv0Var, varArgs...) | |
| @@ -270,7 +248,6 @@ var xSubprocessLauncherSpawnv func(uintptr, []string, **glib.Error) uintptr | |||
| 270 | 248 | ||
| 271 | 249 | // Creates a #GSubprocess given a provided array of arguments. | |
| 272 | 250 | func (x *SubprocessLauncher) Spawnv(ArgvVar []string) (*Subprocess, error) { | |
| 273 | - | core.LazyRegister(&xSubprocessLauncherSpawnv, "GIO", "g_subprocess_launcher_spawnv", false) | |
| 274 | 251 | var cls *Subprocess | |
| 275 | 252 | var cerr *glib.Error | |
| 276 | 253 | ||
| @@ -302,8 +279,6 @@ var xSubprocessLauncherTakeFd func(uintptr, int, int) | |||
| 302 | 279 | // `--passphrase-fd` providing a file descriptor number where it expects | |
| 303 | 280 | // the passphrase to be written. | |
| 304 | 281 | func (x *SubprocessLauncher) TakeFd(SourceFdVar int, TargetFdVar int) { | |
| 305 | - | core.LazyRegister(&xSubprocessLauncherTakeFd, "GIO", "g_subprocess_launcher_take_fd", false) | |
| 306 | - | ||
| 307 | 282 | xSubprocessLauncherTakeFd(x.GoPointer(), SourceFdVar, TargetFdVar) | |
| 308 | 283 | } | |
| 309 | 284 | ||
| @@ -326,8 +301,6 @@ var xSubprocessLauncherTakeStderrFd func(uintptr, int) | |||
| 326 | 301 | // | |
| 327 | 302 | // This feature is only available on UNIX. | |
| 328 | 303 | func (x *SubprocessLauncher) TakeStderrFd(FdVar int) { | |
| 329 | - | core.LazyRegister(&xSubprocessLauncherTakeStderrFd, "GIO", "g_subprocess_launcher_take_stderr_fd", false) | |
| 330 | - | ||
| 331 | 304 | xSubprocessLauncherTakeStderrFd(x.GoPointer(), FdVar) | |
| 332 | 305 | } | |
| 333 | 306 | ||
| @@ -352,8 +325,6 @@ var xSubprocessLauncherTakeStdinFd func(uintptr, int) | |||
| 352 | 325 | // | |
| 353 | 326 | // This feature is only available on UNIX. | |
| 354 | 327 | func (x *SubprocessLauncher) TakeStdinFd(FdVar int) { | |
| 355 | - | core.LazyRegister(&xSubprocessLauncherTakeStdinFd, "GIO", "g_subprocess_launcher_take_stdin_fd", false) | |
| 356 | - | ||
| 357 | 328 | xSubprocessLauncherTakeStdinFd(x.GoPointer(), FdVar) | |
| 358 | 329 | } | |
| 359 | 330 | ||
| @@ -377,8 +348,6 @@ var xSubprocessLauncherTakeStdoutFd func(uintptr, int) | |||
| 377 | 348 | // | |
| 378 | 349 | // This feature is only available on UNIX. | |
| 379 | 350 | func (x *SubprocessLauncher) TakeStdoutFd(FdVar int) { | |
| 380 | - | core.LazyRegister(&xSubprocessLauncherTakeStdoutFd, "GIO", "g_subprocess_launcher_take_stdout_fd", false) | |
| 381 | - | ||
| 382 | 351 | xSubprocessLauncherTakeStdoutFd(x.GoPointer(), FdVar) | |
| 383 | 352 | } | |
| 384 | 353 | ||
| @@ -390,8 +359,6 @@ var xSubprocessLauncherUnsetenv func(uintptr, string) | |||
| 390 | 359 | // On UNIX, the variable's name can be an arbitrary byte string not | |
| 391 | 360 | // containing '='. On Windows, it should be in UTF-8. | |
| 392 | 361 | func (x *SubprocessLauncher) Unsetenv(VariableVar string) { | |
| 393 | - | core.LazyRegister(&xSubprocessLauncherUnsetenv, "GIO", "g_subprocess_launcher_unsetenv", false) | |
| 394 | - | ||
| 395 | 362 | xSubprocessLauncherUnsetenv(x.GoPointer(), VariableVar) | |
| 396 | 363 | } | |
| 397 | 364 | ||
| @@ -409,4 +376,34 @@ func (c *SubprocessLauncher) SetGoPointer(ptr uintptr) { | |||
| 409 | 376 | func init() { | |
| 410 | 377 | core.SetPackageName("GIO", "gio-2.0") | |
| 411 | 378 | core.SetSharedLibraries("GIO", []string{"libgio-2.0.so.0", "libgio-2.0.0.dylib"}) | |
| 379 | + | var libs []uintptr | |
| 380 | + | for _, libPath := range core.GetPaths("GIO") { | |
| 381 | + | lib, err := purego.Dlopen(libPath, purego.RTLD_NOW|purego.RTLD_GLOBAL) | |
| 382 | + | if err != nil { | |
| 383 | + | panic(err) | |
| 384 | + | } | |
| 385 | + | libs = append(libs, lib) | |
| 386 | + | } | |
| 387 | + | ||
| 388 | + | core.PuregoSafeRegister(&xSubprocessLauncherGLibType, libs, "g_subprocess_launcher_get_type") | |
| 389 | + | ||
| 390 | + | core.PuregoSafeRegister(&xNewSubprocessLauncher, libs, "g_subprocess_launcher_new") | |
| 391 | + | ||
| 392 | + | core.PuregoSafeRegister(&xSubprocessLauncherClose, libs, "g_subprocess_launcher_close") | |
| 393 | + | core.PuregoSafeRegister(&xSubprocessLauncherGetenv, libs, "g_subprocess_launcher_getenv") | |
| 394 | + | core.PuregoSafeRegister(&xSubprocessLauncherSetChildSetup, libs, "g_subprocess_launcher_set_child_setup") | |
| 395 | + | core.PuregoSafeRegister(&xSubprocessLauncherSetCwd, libs, "g_subprocess_launcher_set_cwd") | |
| 396 | + | core.PuregoSafeRegister(&xSubprocessLauncherSetEnviron, libs, "g_subprocess_launcher_set_environ") | |
| 397 | + | core.PuregoSafeRegister(&xSubprocessLauncherSetFlags, libs, "g_subprocess_launcher_set_flags") | |
| 398 | + | core.PuregoSafeRegister(&xSubprocessLauncherSetStderrFilePath, libs, "g_subprocess_launcher_set_stderr_file_path") | |
| 399 | + | core.PuregoSafeRegister(&xSubprocessLauncherSetStdinFilePath, libs, "g_subprocess_launcher_set_stdin_file_path") | |
| 400 | + | core.PuregoSafeRegister(&xSubprocessLauncherSetStdoutFilePath, libs, "g_subprocess_launcher_set_stdout_file_path") | |
| 401 | + | core.PuregoSafeRegister(&xSubprocessLauncherSetenv, libs, "g_subprocess_launcher_setenv") | |
| 402 | + | core.PuregoSafeRegister(&xSubprocessLauncherSpawn, libs, "g_subprocess_launcher_spawn") | |
| 403 | + | core.PuregoSafeRegister(&xSubprocessLauncherSpawnv, libs, "g_subprocess_launcher_spawnv") | |
| 404 | + | core.PuregoSafeRegister(&xSubprocessLauncherTakeFd, libs, "g_subprocess_launcher_take_fd") | |
| 405 | + | core.PuregoSafeRegister(&xSubprocessLauncherTakeStderrFd, libs, "g_subprocess_launcher_take_stderr_fd") | |
| 406 | + | core.PuregoSafeRegister(&xSubprocessLauncherTakeStdinFd, libs, "g_subprocess_launcher_take_stdin_fd") | |
| 407 | + | core.PuregoSafeRegister(&xSubprocessLauncherTakeStdoutFd, libs, "g_subprocess_launcher_take_stdout_fd") | |
| 408 | + | core.PuregoSafeRegister(&xSubprocessLauncherUnsetenv, libs, "g_subprocess_launcher_unsetenv") | |
| 412 | 409 | } | |
| @@ -2,6 +2,7 @@ | |||||
| 2 | package gio | 2 | package gio | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | + | "github.com/bnema/purego" | |||
| 5 | "github.com/bnema/puregotk/pkg/core" | 6 | "github.com/bnema/puregotk/pkg/core" | ||
| 6 | "github.com/bnema/puregotk/v4/glib" | 7 | "github.com/bnema/puregotk/v4/glib" | ||
| 7 | "github.com/bnema/puregotk/v4/gobject" | 8 | "github.com/bnema/puregotk/v4/gobject" | ||
| @@ -23,7 +24,6 @@ type SubprocessLauncher struct { | |||||
| 23 | var xSubprocessLauncherGLibType func() types.GType | 24 | var xSubprocessLauncherGLibType func() types.GType | ||
| 24 | 25 | ||||
| 25 | func SubprocessLauncherGLibType() types.GType { | 26 | func SubprocessLauncherGLibType() types.GType { | ||
| 26 | - | core.LazyRegister(&xSubprocessLauncherGLibType, "GIO", "g_subprocess_launcher_get_type", false) | |||
| 27 | return xSubprocessLauncherGLibType() | 27 | return xSubprocessLauncherGLibType() | ||
| 28 | } | 28 | } | ||
| 29 | 29 | ||||
| @@ -41,7 +41,6 @@ var xNewSubprocessLauncher func(SubprocessFlags) uintptr | |||||
| 41 | // environment of the calling process is made at the time of this call | 41 | // environment of the calling process is made at the time of this call | ||
| 42 | // and will be used as the environment that the process is launched in. | 42 | // and will be used as the environment that the process is launched in. | ||
| 43 | func NewSubprocessLauncher(FlagsVar SubprocessFlags) *SubprocessLauncher { | 43 | func NewSubprocessLauncher(FlagsVar SubprocessFlags) *SubprocessLauncher { | ||
| 44 | - | core.LazyRegister(&xNewSubprocessLauncher, "GIO", "g_subprocess_launcher_new", false) | |||
| 45 | var cls *SubprocessLauncher | 44 | var cls *SubprocessLauncher | ||
| 46 | 45 | ||||
| 47 | cret := xNewSubprocessLauncher(FlagsVar) | 46 | cret := xNewSubprocessLauncher(FlagsVar) | ||
| @@ -67,8 +66,6 @@ var xSubprocessLauncherClose func(uintptr) | |||||
| 67 | // is disposed, but is provided separately so that garbage collected | 66 | // is disposed, but is provided separately so that garbage collected | ||
| 68 | // language bindings can call it earlier to guarantee when FDs are closed. | 67 | // language bindings can call it earlier to guarantee when FDs are closed. | ||
| 69 | func (x *SubprocessLauncher) Close() { | 68 | func (x *SubprocessLauncher) Close() { | ||
| 70 | - | core.LazyRegister(&xSubprocessLauncherClose, "GIO", "g_subprocess_launcher_close", false) | |||
| 71 | - | ||||
| 72 | xSubprocessLauncherClose(x.GoPointer()) | 69 | xSubprocessLauncherClose(x.GoPointer()) | ||
| 73 | } | 70 | } | ||
| 74 | 71 | ||||
| @@ -80,8 +77,6 @@ var xSubprocessLauncherGetenv func(uintptr, string) string | |||||
| 80 | // On UNIX, the returned string can be an arbitrary byte string. | 77 | // On UNIX, the returned string can be an arbitrary byte string. | ||
| 81 | // On Windows, it will be UTF-8. | 78 | // On Windows, it will be UTF-8. | ||
| 82 | func (x *SubprocessLauncher) Getenv(VariableVar string) string { | 79 | func (x *SubprocessLauncher) Getenv(VariableVar string) string { | ||
| 83 | - | core.LazyRegister(&xSubprocessLauncherGetenv, "GIO", "g_subprocess_launcher_getenv", false) | |||
| 84 | - | ||||
| 85 | cret := xSubprocessLauncherGetenv(x.GoPointer(), VariableVar) | 80 | cret := xSubprocessLauncherGetenv(x.GoPointer(), VariableVar) | ||
| 86 | return cret | 81 | return cret | ||
| 87 | } | 82 | } | ||
| @@ -102,8 +97,6 @@ var xSubprocessLauncherSetChildSetup func(uintptr, uintptr, uintptr, uintptr) | |||||
| 102 | // | 97 | // | ||
| 103 | // Child setup functions are only available on UNIX. | 98 | // Child setup functions are only available on UNIX. | ||
| 104 | func (x *SubprocessLauncher) SetChildSetup(ChildSetupVar *glib.SpawnChildSetupFunc, UserDataVar uintptr, DestroyNotifyVar *glib.DestroyNotify) { | 99 | func (x *SubprocessLauncher) SetChildSetup(ChildSetupVar *glib.SpawnChildSetupFunc, UserDataVar uintptr, DestroyNotifyVar *glib.DestroyNotify) { | ||
| 105 | - | core.LazyRegister(&xSubprocessLauncherSetChildSetup, "GIO", "g_subprocess_launcher_set_child_setup", false) | |||
| 106 | - | ||||
| 107 | xSubprocessLauncherSetChildSetup(x.GoPointer(), glib.NewCallback(ChildSetupVar), UserDataVar, glib.NewCallbackNullable(DestroyNotifyVar)) | 100 | xSubprocessLauncherSetChildSetup(x.GoPointer(), glib.NewCallback(ChildSetupVar), UserDataVar, glib.NewCallbackNullable(DestroyNotifyVar)) | ||
| 108 | } | 101 | } | ||
| 109 | 102 | ||||
| @@ -115,8 +108,6 @@ var xSubprocessLauncherSetCwd func(uintptr, string) | |||||
| 115 | // By default processes are launched with the current working directory | 108 | // By default processes are launched with the current working directory | ||
| 116 | // of the launching process at the time of launch. | 109 | // of the launching process at the time of launch. | ||
| 117 | func (x *SubprocessLauncher) SetCwd(CwdVar string) { | 110 | func (x *SubprocessLauncher) SetCwd(CwdVar string) { | ||
| 118 | - | core.LazyRegister(&xSubprocessLauncherSetCwd, "GIO", "g_subprocess_launcher_set_cwd", false) | |||
| 119 | - | ||||
| 120 | xSubprocessLauncherSetCwd(x.GoPointer(), CwdVar) | 111 | xSubprocessLauncherSetCwd(x.GoPointer(), CwdVar) | ||
| 121 | } | 112 | } | ||
| 122 | 113 | ||||
| @@ -142,8 +133,6 @@ var xSubprocessLauncherSetEnviron func(uintptr, []string) | |||||
| 142 | // On UNIX, all strings in this array can be arbitrary byte strings. | 133 | // On UNIX, all strings in this array can be arbitrary byte strings. | ||
| 143 | // On Windows, they should be in UTF-8. | 134 | // On Windows, they should be in UTF-8. | ||
| 144 | func (x *SubprocessLauncher) SetEnviron(EnvVar []string) { | 135 | func (x *SubprocessLauncher) SetEnviron(EnvVar []string) { | ||
| 145 | - | core.LazyRegister(&xSubprocessLauncherSetEnviron, "GIO", "g_subprocess_launcher_set_environ", false) | |||
| 146 | - | ||||
| 147 | xSubprocessLauncherSetEnviron(x.GoPointer(), EnvVar) | 136 | xSubprocessLauncherSetEnviron(x.GoPointer(), EnvVar) | ||
| 148 | } | 137 | } | ||
| 149 | 138 | ||||
| @@ -162,8 +151,6 @@ var xSubprocessLauncherSetFlags func(uintptr, SubprocessFlags) | |||||
| 162 | // function like g_subprocess_launcher_set_stdin_file_path() or | 151 | // function like g_subprocess_launcher_set_stdin_file_path() or | ||
| 163 | // g_subprocess_launcher_take_stdout_fd(). | 152 | // g_subprocess_launcher_take_stdout_fd(). | ||
| 164 | func (x *SubprocessLauncher) SetFlags(FlagsVar SubprocessFlags) { | 153 | func (x *SubprocessLauncher) SetFlags(FlagsVar SubprocessFlags) { | ||
| 165 | - | core.LazyRegister(&xSubprocessLauncherSetFlags, "GIO", "g_subprocess_launcher_set_flags", false) | |||
| 166 | - | ||||
| 167 | xSubprocessLauncherSetFlags(x.GoPointer(), FlagsVar) | 154 | xSubprocessLauncherSetFlags(x.GoPointer(), FlagsVar) | ||
| 168 | } | 155 | } | ||
| 169 | 156 | ||||
| @@ -184,8 +171,6 @@ var xSubprocessLauncherSetStderrFilePath func(uintptr, uintptr) | |||||
| 184 | // | 171 | // | ||
| 185 | // This feature is only available on UNIX. | 172 | // This feature is only available on UNIX. | ||
| 186 | func (x *SubprocessLauncher) SetStderrFilePath(PathVar *string) { | 173 | func (x *SubprocessLauncher) SetStderrFilePath(PathVar *string) { | ||
| 187 | - | core.LazyRegister(&xSubprocessLauncherSetStderrFilePath, "GIO", "g_subprocess_launcher_set_stderr_file_path", false) | |||
| 188 | - | ||||
| 189 | PathVarPtr := core.GStrdupNullable(PathVar) | 174 | PathVarPtr := core.GStrdupNullable(PathVar) | ||
| 190 | defer core.GFreeNullable(PathVarPtr) | 175 | defer core.GFreeNullable(PathVarPtr) | ||
| 191 | 176 | ||||
| @@ -205,8 +190,6 @@ var xSubprocessLauncherSetStdinFilePath func(uintptr, uintptr) | |||||
| 205 | // | 190 | // | ||
| 206 | // This feature is only available on UNIX. | 191 | // This feature is only available on UNIX. | ||
| 207 | func (x *SubprocessLauncher) SetStdinFilePath(PathVar *string) { | 192 | func (x *SubprocessLauncher) SetStdinFilePath(PathVar *string) { | ||
| 208 | - | core.LazyRegister(&xSubprocessLauncherSetStdinFilePath, "GIO", "g_subprocess_launcher_set_stdin_file_path", false) | |||
| 209 | - | ||||
| 210 | PathVarPtr := core.GStrdupNullable(PathVar) | 193 | PathVarPtr := core.GStrdupNullable(PathVar) | ||
| 211 | defer core.GFreeNullable(PathVarPtr) | 194 | defer core.GFreeNullable(PathVarPtr) | ||
| 212 | 195 | ||||
| @@ -227,8 +210,6 @@ var xSubprocessLauncherSetStdoutFilePath func(uintptr, uintptr) | |||||
| 227 | // | 210 | // | ||
| 228 | // This feature is only available on UNIX. | 211 | // This feature is only available on UNIX. | ||
| 229 | func (x *SubprocessLauncher) SetStdoutFilePath(PathVar *string) { | 212 | func (x *SubprocessLauncher) SetStdoutFilePath(PathVar *string) { | ||
| 230 | - | core.LazyRegister(&xSubprocessLauncherSetStdoutFilePath, "GIO", "g_subprocess_launcher_set_stdout_file_path", false) | |||
| 231 | - | ||||
| 232 | PathVarPtr := core.GStrdupNullable(PathVar) | 213 | PathVarPtr := core.GStrdupNullable(PathVar) | ||
| 233 | defer core.GFreeNullable(PathVarPtr) | 214 | defer core.GFreeNullable(PathVarPtr) | ||
| 234 | 215 | ||||
| @@ -244,8 +225,6 @@ var xSubprocessLauncherSetenv func(uintptr, string, string, bool) | |||||
| 244 | // strings, except that the variable's name cannot contain '='. | 225 | // strings, except that the variable's name cannot contain '='. | ||
| 245 | // On Windows, they should be in UTF-8. | 226 | // On Windows, they should be in UTF-8. | ||
| 246 | func (x *SubprocessLauncher) Setenv(VariableVar string, ValueVar string, OverwriteVar bool) { | 227 | func (x *SubprocessLauncher) Setenv(VariableVar string, ValueVar string, OverwriteVar bool) { | ||
| 247 | - | core.LazyRegister(&xSubprocessLauncherSetenv, "GIO", "g_subprocess_launcher_setenv", false) | |||
| 248 | - | ||||
| 249 | xSubprocessLauncherSetenv(x.GoPointer(), VariableVar, ValueVar, OverwriteVar) | 228 | xSubprocessLauncherSetenv(x.GoPointer(), VariableVar, ValueVar, OverwriteVar) | ||
| 250 | } | 229 | } | ||
| 251 | 230 | ||||
| @@ -253,7 +232,6 @@ var xSubprocessLauncherSpawn func(uintptr, **glib.Error, string, ...interface{}) | |||||
| 253 | 232 | ||||
| 254 | // Creates a #GSubprocess given a provided varargs list of arguments. | 233 | // Creates a #GSubprocess given a provided varargs list of arguments. | ||
| 255 | func (x *SubprocessLauncher) Spawn(ErrorVar **glib.Error, Argv0Var string, varArgs ...interface{}) *Subprocess { | 234 | func (x *SubprocessLauncher) Spawn(ErrorVar **glib.Error, Argv0Var string, varArgs ...interface{}) *Subprocess { | ||
| 256 | - | core.LazyRegister(&xSubprocessLauncherSpawn, "GIO", "g_subprocess_launcher_spawn", false) | |||
| 257 | var cls *Subprocess | 235 | var cls *Subprocess | ||
| 258 | 236 | ||||
| 259 | cret := xSubprocessLauncherSpawn(x.GoPointer(), ErrorVar, Argv0Var, varArgs...) | 237 | cret := xSubprocessLauncherSpawn(x.GoPointer(), ErrorVar, Argv0Var, varArgs...) | ||
| @@ -270,7 +248,6 @@ var xSubprocessLauncherSpawnv func(uintptr, []string, **glib.Error) uintptr | |||||
| 270 | 248 | ||||
| 271 | // Creates a #GSubprocess given a provided array of arguments. | 249 | // Creates a #GSubprocess given a provided array of arguments. | ||
| 272 | func (x *SubprocessLauncher) Spawnv(ArgvVar []string) (*Subprocess, error) { | 250 | func (x *SubprocessLauncher) Spawnv(ArgvVar []string) (*Subprocess, error) { | ||
| 273 | - | core.LazyRegister(&xSubprocessLauncherSpawnv, "GIO", "g_subprocess_launcher_spawnv", false) | |||
| 274 | var cls *Subprocess | 251 | var cls *Subprocess | ||
| 275 | var cerr *glib.Error | 252 | var cerr *glib.Error | ||
| 276 | 253 | ||||
| @@ -302,8 +279,6 @@ var xSubprocessLauncherTakeFd func(uintptr, int, int) | |||||
| 302 | // `--passphrase-fd` providing a file descriptor number where it expects | 279 | // `--passphrase-fd` providing a file descriptor number where it expects | ||
| 303 | // the passphrase to be written. | 280 | // the passphrase to be written. | ||
| 304 | func (x *SubprocessLauncher) TakeFd(SourceFdVar int, TargetFdVar int) { | 281 | func (x *SubprocessLauncher) TakeFd(SourceFdVar int, TargetFdVar int) { | ||
| 305 | - | core.LazyRegister(&xSubprocessLauncherTakeFd, "GIO", "g_subprocess_launcher_take_fd", false) | |||
| 306 | - | ||||
| 307 | xSubprocessLauncherTakeFd(x.GoPointer(), SourceFdVar, TargetFdVar) | 282 | xSubprocessLauncherTakeFd(x.GoPointer(), SourceFdVar, TargetFdVar) | ||
| 308 | } | 283 | } | ||
| 309 | 284 | ||||
| @@ -326,8 +301,6 @@ var xSubprocessLauncherTakeStderrFd func(uintptr, int) | |||||
| 326 | // | 301 | // | ||
| 327 | // This feature is only available on UNIX. | 302 | // This feature is only available on UNIX. | ||
| 328 | func (x *SubprocessLauncher) TakeStderrFd(FdVar int) { | 303 | func (x *SubprocessLauncher) TakeStderrFd(FdVar int) { | ||
| 329 | - | core.LazyRegister(&xSubprocessLauncherTakeStderrFd, "GIO", "g_subprocess_launcher_take_stderr_fd", false) | |||
| 330 | - | ||||
| 331 | xSubprocessLauncherTakeStderrFd(x.GoPointer(), FdVar) | 304 | xSubprocessLauncherTakeStderrFd(x.GoPointer(), FdVar) | ||
| 332 | } | 305 | } | ||
| 333 | 306 | ||||
| @@ -352,8 +325,6 @@ var xSubprocessLauncherTakeStdinFd func(uintptr, int) | |||||
| 352 | // | 325 | // | ||
| 353 | // This feature is only available on UNIX. | 326 | // This feature is only available on UNIX. | ||
| 354 | func (x *SubprocessLauncher) TakeStdinFd(FdVar int) { | 327 | func (x *SubprocessLauncher) TakeStdinFd(FdVar int) { | ||
| 355 | - | core.LazyRegister(&xSubprocessLauncherTakeStdinFd, "GIO", "g_subprocess_launcher_take_stdin_fd", false) | |||
| 356 | - | ||||
| 357 | xSubprocessLauncherTakeStdinFd(x.GoPointer(), FdVar) | 328 | xSubprocessLauncherTakeStdinFd(x.GoPointer(), FdVar) | ||
| 358 | } | 329 | } | ||
| 359 | 330 | ||||
| @@ -377,8 +348,6 @@ var xSubprocessLauncherTakeStdoutFd func(uintptr, int) | |||||
| 377 | // | 348 | // | ||
| 378 | // This feature is only available on UNIX. | 349 | // This feature is only available on UNIX. | ||
| 379 | func (x *SubprocessLauncher) TakeStdoutFd(FdVar int) { | 350 | func (x *SubprocessLauncher) TakeStdoutFd(FdVar int) { | ||
| 380 | - | core.LazyRegister(&xSubprocessLauncherTakeStdoutFd, "GIO", "g_subprocess_launcher_take_stdout_fd", false) | |||
| 381 | - | ||||
| 382 | xSubprocessLauncherTakeStdoutFd(x.GoPointer(), FdVar) | 351 | xSubprocessLauncherTakeStdoutFd(x.GoPointer(), FdVar) | ||
| 383 | } | 352 | } | ||
| 384 | 353 | ||||
| @@ -390,8 +359,6 @@ var xSubprocessLauncherUnsetenv func(uintptr, string) | |||||
| 390 | // On UNIX, the variable's name can be an arbitrary byte string not | 359 | // On UNIX, the variable's name can be an arbitrary byte string not | ||
| 391 | // containing '='. On Windows, it should be in UTF-8. | 360 | // containing '='. On Windows, it should be in UTF-8. | ||
| 392 | func (x *SubprocessLauncher) Unsetenv(VariableVar string) { | 361 | func (x *SubprocessLauncher) Unsetenv(VariableVar string) { | ||
| 393 | - | core.LazyRegister(&xSubprocessLauncherUnsetenv, "GIO", "g_subprocess_launcher_unsetenv", false) | |||
| 394 | - | ||||
| 395 | xSubprocessLauncherUnsetenv(x.GoPointer(), VariableVar) | 362 | xSubprocessLauncherUnsetenv(x.GoPointer(), VariableVar) | ||
| 396 | } | 363 | } | ||
| 397 | 364 | ||||
| @@ -409,4 +376,34 @@ func (c *SubprocessLauncher) SetGoPointer(ptr uintptr) { | |||||
| 409 | func init() { | 376 | func init() { | ||
| 410 | core.SetPackageName("GIO", "gio-2.0") | 377 | core.SetPackageName("GIO", "gio-2.0") | ||
| 411 | core.SetSharedLibraries("GIO", []string{"libgio-2.0.so.0", "libgio-2.0.0.dylib"}) | 378 | core.SetSharedLibraries("GIO", []string{"libgio-2.0.so.0", "libgio-2.0.0.dylib"}) | ||
| 379 | + | var libs []uintptr | |||
| 380 | + | for _, libPath := range core.GetPaths("GIO") { | |||
| 381 | + | lib, err := purego.Dlopen(libPath, purego.RTLD_NOW|purego.RTLD_GLOBAL) | |||
| 382 | + | if err != nil { | |||
| 383 | + | panic(err) | |||
| 384 | + | } | |||
| 385 | + | libs = append(libs, lib) | |||
| 386 | + | } | |||
| 387 | + | ||||
| 388 | + | core.PuregoSafeRegister(&xSubprocessLauncherGLibType, libs, "g_subprocess_launcher_get_type") | |||
| 389 | + | ||||
| 390 | + | core.PuregoSafeRegister(&xNewSubprocessLauncher, libs, "g_subprocess_launcher_new") | |||
| 391 | + | ||||
| 392 | + | core.PuregoSafeRegister(&xSubprocessLauncherClose, libs, "g_subprocess_launcher_close") | |||
| 393 | + | core.PuregoSafeRegister(&xSubprocessLauncherGetenv, libs, "g_subprocess_launcher_getenv") | |||
| 394 | + | core.PuregoSafeRegister(&xSubprocessLauncherSetChildSetup, libs, "g_subprocess_launcher_set_child_setup") | |||
| 395 | + | core.PuregoSafeRegister(&xSubprocessLauncherSetCwd, libs, "g_subprocess_launcher_set_cwd") | |||
| 396 | + | core.PuregoSafeRegister(&xSubprocessLauncherSetEnviron, libs, "g_subprocess_launcher_set_environ") | |||
| 397 | + | core.PuregoSafeRegister(&xSubprocessLauncherSetFlags, libs, "g_subprocess_launcher_set_flags") | |||
| 398 | + | core.PuregoSafeRegister(&xSubprocessLauncherSetStderrFilePath, libs, "g_subprocess_launcher_set_stderr_file_path") | |||
| 399 | + | core.PuregoSafeRegister(&xSubprocessLauncherSetStdinFilePath, libs, "g_subprocess_launcher_set_stdin_file_path") | |||
| 400 | + | core.PuregoSafeRegister(&xSubprocessLauncherSetStdoutFilePath, libs, "g_subprocess_launcher_set_stdout_file_path") | |||
| 401 | + | core.PuregoSafeRegister(&xSubprocessLauncherSetenv, libs, "g_subprocess_launcher_setenv") | |||
| 402 | + | core.PuregoSafeRegister(&xSubprocessLauncherSpawn, libs, "g_subprocess_launcher_spawn") | |||
| 403 | + | core.PuregoSafeRegister(&xSubprocessLauncherSpawnv, libs, "g_subprocess_launcher_spawnv") | |||
| 404 | + | core.PuregoSafeRegister(&xSubprocessLauncherTakeFd, libs, "g_subprocess_launcher_take_fd") | |||
| 405 | + | core.PuregoSafeRegister(&xSubprocessLauncherTakeStderrFd, libs, "g_subprocess_launcher_take_stderr_fd") | |||
| 406 | + | core.PuregoSafeRegister(&xSubprocessLauncherTakeStdinFd, libs, "g_subprocess_launcher_take_stdin_fd") | |||
| 407 | + | core.PuregoSafeRegister(&xSubprocessLauncherTakeStdoutFd, libs, "g_subprocess_launcher_take_stdout_fd") | |||
| 408 | + | core.PuregoSafeRegister(&xSubprocessLauncherUnsetenv, libs, "g_subprocess_launcher_unsetenv") | |||
| 412 | } | 409 | } | ||