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