Revert "chore(deps): pin puregotk nil-signal fix"
This reverts commit a161e348e2093172038390b0906448f0ae979a0d.
- commit
- 40378d5e4fd2372d054e49168ab2a6f67aedd0fd
- author
- brice · · 2026-07-14 17:59 UTC
- parent
- 8d647bb
- signature
- GPG Verified
CD88F9E564E0102646FB6077A1A07C7C7C3E349D· arch-gpg Verified for the committer email
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 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/gvaluearray.go +23 -21 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/gvaluetypes.go +13 -6 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/main.go +1 -10 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/more.go +1 -8 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/graphene/graphene-box.go +44 -61 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/graphene/graphene-euler.go +34 -43 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/graphene/graphene-frustum.go +23 -21 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/graphene/graphene-matrix.go +80 -135 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/graphene/graphene-plane.go +27 -29 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/graphene/graphene-point.go +25 -23 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/graphene/graphene-point3d.go +31 -35 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/graphene/graphene-quad.go +21 -17 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/graphene/graphene-quaternion.go +37 -49 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/graphene/graphene-ray.go +31 -37 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/graphene/graphene-rect.go +46 -67
| @@ -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/gobject/types" | |
| 10 | 11 | ) | |
| @@ -32,7 +33,6 @@ type Rect struct { | |||
| 32 | 33 | var xRectGLibType func() types.GType | |
| 33 | 34 | ||
| 34 | 35 | func RectGLibType() types.GType { | |
| 35 | - | core.LazyRegister(&xRectGLibType, "GRAPHENE", "graphene_rect_get_type", false) | |
| 36 | 36 | return xRectGLibType() | |
| 37 | 37 | } | |
| 38 | 38 | ||
| @@ -52,8 +52,6 @@ var xRectContainsPoint func(uintptr, *Point) bool | |||
| 52 | 52 | ||
| 53 | 53 | // Checks whether a #graphene_rect_t contains the given coordinates. | |
| 54 | 54 | func (x *Rect) ContainsPoint(PVar *Point) bool { | |
| 55 | - | core.LazyRegister(&xRectContainsPoint, "GRAPHENE", "graphene_rect_contains_point", false) | |
| 56 | - | ||
| 57 | 55 | cret := xRectContainsPoint(x.GoPointer(), PVar) | |
| 58 | 56 | return cret | |
| 59 | 57 | } | |
| @@ -63,8 +61,6 @@ var xRectContainsRect func(uintptr, *Rect) bool | |||
| 63 | 61 | // Checks whether a #graphene_rect_t fully contains the given | |
| 64 | 62 | // rectangle. | |
| 65 | 63 | func (x *Rect) ContainsRect(BVar *Rect) bool { | |
| 66 | - | core.LazyRegister(&xRectContainsRect, "GRAPHENE", "graphene_rect_contains_rect", false) | |
| 67 | - | ||
| 68 | 64 | cret := xRectContainsRect(x.GoPointer(), BVar) | |
| 69 | 65 | return cret | |
| 70 | 66 | } | |
| @@ -73,8 +69,6 @@ var xRectEqual func(uintptr, *Rect) bool | |||
| 73 | 69 | ||
| 74 | 70 | // Checks whether the two given rectangle are equal. | |
| 75 | 71 | func (x *Rect) Equal(BVar *Rect) bool { | |
| 76 | - | core.LazyRegister(&xRectEqual, "GRAPHENE", "graphene_rect_equal", false) | |
| 77 | - | ||
| 78 | 72 | cret := xRectEqual(x.GoPointer(), BVar) | |
| 79 | 73 | return cret | |
| 80 | 74 | } | |
| @@ -83,8 +77,6 @@ var xRectExpand func(uintptr, *Point, *Rect) | |||
| 83 | 77 | ||
| 84 | 78 | // Expands a #graphene_rect_t to contain the given #graphene_point_t. | |
| 85 | 79 | func (x *Rect) Expand(PVar *Point, ResVar *Rect) { | |
| 86 | - | core.LazyRegister(&xRectExpand, "GRAPHENE", "graphene_rect_expand", false) | |
| 87 | - | ||
| 88 | 80 | xRectExpand(x.GoPointer(), PVar, ResVar) | |
| 89 | 81 | } | |
| 90 | 82 | ||
| @@ -92,8 +84,6 @@ var xRectFree func(uintptr) | |||
| 92 | 84 | ||
| 93 | 85 | // Frees the resources allocated by graphene_rect_alloc(). | |
| 94 | 86 | func (x *Rect) Free() { | |
| 95 | - | core.LazyRegister(&xRectFree, "GRAPHENE", "graphene_rect_free", false) | |
| 96 | - | ||
| 97 | 87 | xRectFree(x.GoPointer()) | |
| 98 | 88 | } | |
| 99 | 89 | ||
| @@ -101,8 +91,6 @@ var xRectGetArea func(uintptr) float32 | |||
| 101 | 91 | ||
| 102 | 92 | // Compute the area of given normalized rectangle. | |
| 103 | 93 | func (x *Rect) GetArea() float32 { | |
| 104 | - | core.LazyRegister(&xRectGetArea, "GRAPHENE", "graphene_rect_get_area", false) | |
| 105 | - | ||
| 106 | 94 | cret := xRectGetArea(x.GoPointer()) | |
| 107 | 95 | return cret | |
| 108 | 96 | } | |
| @@ -111,8 +99,6 @@ var xRectGetBottomLeft func(uintptr, *Point) | |||
| 111 | 99 | ||
| 112 | 100 | // Retrieves the coordinates of the bottom-left corner of the given rectangle. | |
| 113 | 101 | func (x *Rect) GetBottomLeft(PVar *Point) { | |
| 114 | - | core.LazyRegister(&xRectGetBottomLeft, "GRAPHENE", "graphene_rect_get_bottom_left", false) | |
| 115 | - | ||
| 116 | 102 | xRectGetBottomLeft(x.GoPointer(), PVar) | |
| 117 | 103 | } | |
| 118 | 104 | ||
| @@ -120,8 +106,6 @@ var xRectGetBottomRight func(uintptr, *Point) | |||
| 120 | 106 | ||
| 121 | 107 | // Retrieves the coordinates of the bottom-right corner of the given rectangle. | |
| 122 | 108 | func (x *Rect) GetBottomRight(PVar *Point) { | |
| 123 | - | core.LazyRegister(&xRectGetBottomRight, "GRAPHENE", "graphene_rect_get_bottom_right", false) | |
| 124 | - | ||
| 125 | 109 | xRectGetBottomRight(x.GoPointer(), PVar) | |
| 126 | 110 | } | |
| 127 | 111 | ||
| @@ -129,8 +113,6 @@ var xRectGetCenter func(uintptr, *Point) | |||
| 129 | 113 | ||
| 130 | 114 | // Retrieves the coordinates of the center of the given rectangle. | |
| 131 | 115 | func (x *Rect) GetCenter(PVar *Point) { | |
| 132 | - | core.LazyRegister(&xRectGetCenter, "GRAPHENE", "graphene_rect_get_center", false) | |
| 133 | - | ||
| 134 | 116 | xRectGetCenter(x.GoPointer(), PVar) | |
| 135 | 117 | } | |
| 136 | 118 | ||
| @@ -138,8 +120,6 @@ var xRectGetHeight func(uintptr) float32 | |||
| 138 | 120 | ||
| 139 | 121 | // Retrieves the normalized height of the given rectangle. | |
| 140 | 122 | func (x *Rect) GetHeight() float32 { | |
| 141 | - | core.LazyRegister(&xRectGetHeight, "GRAPHENE", "graphene_rect_get_height", false) | |
| 142 | - | ||
| 143 | 123 | cret := xRectGetHeight(x.GoPointer()) | |
| 144 | 124 | return cret | |
| 145 | 125 | } | |
| @@ -148,8 +128,6 @@ var xRectGetTopLeft func(uintptr, *Point) | |||
| 148 | 128 | ||
| 149 | 129 | // Retrieves the coordinates of the top-left corner of the given rectangle. | |
| 150 | 130 | func (x *Rect) GetTopLeft(PVar *Point) { | |
| 151 | - | core.LazyRegister(&xRectGetTopLeft, "GRAPHENE", "graphene_rect_get_top_left", false) | |
| 152 | - | ||
| 153 | 131 | xRectGetTopLeft(x.GoPointer(), PVar) | |
| 154 | 132 | } | |
| 155 | 133 | ||
| @@ -157,8 +135,6 @@ var xRectGetTopRight func(uintptr, *Point) | |||
| 157 | 135 | ||
| 158 | 136 | // Retrieves the coordinates of the top-right corner of the given rectangle. | |
| 159 | 137 | func (x *Rect) GetTopRight(PVar *Point) { | |
| 160 | - | core.LazyRegister(&xRectGetTopRight, "GRAPHENE", "graphene_rect_get_top_right", false) | |
| 161 | - | ||
| 162 | 138 | xRectGetTopRight(x.GoPointer(), PVar) | |
| 163 | 139 | } | |
| 164 | 140 | ||
| @@ -166,8 +142,6 @@ var xRectGetVertices func(uintptr, *[4]Vec2) | |||
| 166 | 142 | ||
| 167 | 143 | // Computes the four vertices of a #graphene_rect_t. | |
| 168 | 144 | func (x *Rect) GetVertices(VerticesVar *[4]Vec2) { | |
| 169 | - | core.LazyRegister(&xRectGetVertices, "GRAPHENE", "graphene_rect_get_vertices", false) | |
| 170 | - | ||
| 171 | 145 | xRectGetVertices(x.GoPointer(), VerticesVar) | |
| 172 | 146 | } | |
| 173 | 147 | ||
| @@ -175,8 +149,6 @@ var xRectGetWidth func(uintptr) float32 | |||
| 175 | 149 | ||
| 176 | 150 | // Retrieves the normalized width of the given rectangle. | |
| 177 | 151 | func (x *Rect) GetWidth() float32 { | |
| 178 | - | core.LazyRegister(&xRectGetWidth, "GRAPHENE", "graphene_rect_get_width", false) | |
| 179 | - | ||
| 180 | 152 | cret := xRectGetWidth(x.GoPointer()) | |
| 181 | 153 | return cret | |
| 182 | 154 | } | |
| @@ -186,8 +158,6 @@ var xRectGetX func(uintptr) float32 | |||
| 186 | 158 | // Retrieves the normalized X coordinate of the origin of the given | |
| 187 | 159 | // rectangle. | |
| 188 | 160 | func (x *Rect) GetX() float32 { | |
| 189 | - | core.LazyRegister(&xRectGetX, "GRAPHENE", "graphene_rect_get_x", false) | |
| 190 | - | ||
| 191 | 161 | cret := xRectGetX(x.GoPointer()) | |
| 192 | 162 | return cret | |
| 193 | 163 | } | |
| @@ -197,8 +167,6 @@ var xRectGetY func(uintptr) float32 | |||
| 197 | 167 | // Retrieves the normalized Y coordinate of the origin of the given | |
| 198 | 168 | // rectangle. | |
| 199 | 169 | func (x *Rect) GetY() float32 { | |
| 200 | - | core.LazyRegister(&xRectGetY, "GRAPHENE", "graphene_rect_get_y", false) | |
| 201 | - | ||
| 202 | 170 | cret := xRectGetY(x.GoPointer()) | |
| 203 | 171 | return cret | |
| 204 | 172 | } | |
| @@ -210,8 +178,6 @@ var xRectInit func(uintptr, float32, float32, float32, float32) uintptr | |||
| 210 | 178 | // This function will implicitly normalize the #graphene_rect_t | |
| 211 | 179 | // before returning. | |
| 212 | 180 | func (x *Rect) Init(XVar float32, YVar float32, WidthVar float32, HeightVar float32) *Rect { | |
| 213 | - | core.LazyRegister(&xRectInit, "GRAPHENE", "graphene_rect_init", false) | |
| 214 | - | ||
| 215 | 181 | cret := xRectInit(x.GoPointer(), XVar, YVar, WidthVar, HeightVar) | |
| 216 | 182 | if cret == 0 { | |
| 217 | 183 | return nil | |
| @@ -226,8 +192,6 @@ var xRectInitFromRect func(uintptr, *Rect) uintptr | |||
| 226 | 192 | // This function will implicitly normalize the #graphene_rect_t | |
| 227 | 193 | // before returning. | |
| 228 | 194 | func (x *Rect) InitFromRect(SrcVar *Rect) *Rect { | |
| 229 | - | core.LazyRegister(&xRectInitFromRect, "GRAPHENE", "graphene_rect_init_from_rect", false) | |
| 230 | - | ||
| 231 | 195 | cret := xRectInitFromRect(x.GoPointer(), SrcVar) | |
| 232 | 196 | if cret == 0 { | |
| 233 | 197 | return nil | |
| @@ -252,8 +216,6 @@ var xRectInset func(uintptr, float32, float32) uintptr | |||
| 252 | 216 | // If the size of the resulting inset rectangle has a negative width or | |
| 253 | 217 | // height then the size will be set to zero. | |
| 254 | 218 | func (x *Rect) Inset(DXVar float32, DYVar float32) *Rect { | |
| 255 | - | core.LazyRegister(&xRectInset, "GRAPHENE", "graphene_rect_inset", false) | |
| 256 | - | ||
| 257 | 219 | cret := xRectInset(x.GoPointer(), DXVar, DYVar) | |
| 258 | 220 | if cret == 0 { | |
| 259 | 221 | return nil | |
| @@ -278,8 +240,6 @@ var xRectInsetR func(uintptr, float32, float32, *Rect) | |||
| 278 | 240 | // If the size of the resulting inset rectangle has a negative width or | |
| 279 | 241 | // height then the size will be set to zero. | |
| 280 | 242 | func (x *Rect) InsetR(DXVar float32, DYVar float32, ResVar *Rect) { | |
| 281 | - | core.LazyRegister(&xRectInsetR, "GRAPHENE", "graphene_rect_inset_r", false) | |
| 282 | - | ||
| 283 | 243 | xRectInsetR(x.GoPointer(), DXVar, DYVar, ResVar) | |
| 284 | 244 | } | |
| 285 | 245 | ||
| @@ -288,8 +248,6 @@ var xRectInterpolate func(uintptr, *Rect, float64, *Rect) | |||
| 288 | 248 | // Linearly interpolates the origin and size of the two given | |
| 289 | 249 | // rectangles. | |
| 290 | 250 | func (x *Rect) Interpolate(BVar *Rect, FactorVar float64, ResVar *Rect) { | |
| 291 | - | core.LazyRegister(&xRectInterpolate, "GRAPHENE", "graphene_rect_interpolate", false) | |
| 292 | - | ||
| 293 | 251 | xRectInterpolate(x.GoPointer(), BVar, FactorVar, ResVar) | |
| 294 | 252 | } | |
| 295 | 253 | ||
| @@ -304,8 +262,6 @@ var xRectIntersection func(uintptr, *Rect, *Rect) bool | |||
| 304 | 262 | // If the two rectangles do not intersect, @res will contain | |
| 305 | 263 | // a degenerate rectangle with origin in (0, 0) and a size of 0. | |
| 306 | 264 | func (x *Rect) Intersection(BVar *Rect, ResVar *Rect) bool { | |
| 307 | - | core.LazyRegister(&xRectIntersection, "GRAPHENE", "graphene_rect_intersection", false) | |
| 308 | - | ||
| 309 | 265 | cret := xRectIntersection(x.GoPointer(), BVar, ResVar) | |
| 310 | 266 | return cret | |
| 311 | 267 | } | |
| @@ -318,8 +274,6 @@ var xRectNormalize func(uintptr) uintptr | |||
| 318 | 274 | // positive values, and that the origin is the top-left corner of | |
| 319 | 275 | // the rectangle. | |
| 320 | 276 | func (x *Rect) Normalize() *Rect { | |
| 321 | - | core.LazyRegister(&xRectNormalize, "GRAPHENE", "graphene_rect_normalize", false) | |
| 322 | - | ||
| 323 | 277 | cret := xRectNormalize(x.GoPointer()) | |
| 324 | 278 | if cret == 0 { | |
| 325 | 279 | return nil | |
| @@ -335,8 +289,6 @@ var xRectNormalizeR func(uintptr, *Rect) | |||
| 335 | 289 | // positive values, and that the origin is in the top-left corner | |
| 336 | 290 | // of the rectangle. | |
| 337 | 291 | func (x *Rect) NormalizeR(ResVar *Rect) { | |
| 338 | - | core.LazyRegister(&xRectNormalizeR, "GRAPHENE", "graphene_rect_normalize_r", false) | |
| 339 | - | ||
| 340 | 292 | xRectNormalizeR(x.GoPointer(), ResVar) | |
| 341 | 293 | } | |
| 342 | 294 | ||
| @@ -346,8 +298,6 @@ var xRectOffset func(uintptr, float32, float32) uintptr | |||
| 346 | 298 | // | |
| 347 | 299 | // The size of the rectangle is unchanged. | |
| 348 | 300 | func (x *Rect) Offset(DXVar float32, DYVar float32) *Rect { | |
| 349 | - | core.LazyRegister(&xRectOffset, "GRAPHENE", "graphene_rect_offset", false) | |
| 350 | - | ||
| 351 | 301 | cret := xRectOffset(x.GoPointer(), DXVar, DYVar) | |
| 352 | 302 | if cret == 0 { | |
| 353 | 303 | return nil | |
| @@ -361,8 +311,6 @@ var xRectOffsetR func(uintptr, float32, float32, *Rect) | |||
| 361 | 311 | // | |
| 362 | 312 | // The size of the rectangle is left unchanged. | |
| 363 | 313 | func (x *Rect) OffsetR(DXVar float32, DYVar float32, ResVar *Rect) { | |
| 364 | - | core.LazyRegister(&xRectOffsetR, "GRAPHENE", "graphene_rect_offset_r", false) | |
| 365 | - | ||
| 366 | 314 | xRectOffsetR(x.GoPointer(), DXVar, DYVar, ResVar) | |
| 367 | 315 | } | |
| 368 | 316 | ||
| @@ -378,8 +326,6 @@ var xRectRound func(uintptr, *Rect) | |||
| 378 | 326 | // This function is the equivalent of calling `floor` on | |
| 379 | 327 | // the coordinates of the origin, and `ceil` on the size. | |
| 380 | 328 | func (x *Rect) Round(ResVar *Rect) { | |
| 381 | - | core.LazyRegister(&xRectRound, "GRAPHENE", "graphene_rect_round", false) | |
| 382 | - | ||
| 383 | 329 | xRectRound(x.GoPointer(), ResVar) | |
| 384 | 330 | } | |
| 385 | 331 | ||
| @@ -407,8 +353,6 @@ var xRectRoundExtents func(uintptr, *Rect) | |||
| 407 | 353 | // by a move in the anti-origin, leaving the corners of the | |
| 408 | 354 | // original rectangle outside the rounded one. | |
| 409 | 355 | func (x *Rect) RoundExtents(ResVar *Rect) { | |
| 410 | - | core.LazyRegister(&xRectRoundExtents, "GRAPHENE", "graphene_rect_round_extents", false) | |
| 411 | - | ||
| 412 | 356 | xRectRoundExtents(x.GoPointer(), ResVar) | |
| 413 | 357 | } | |
| 414 | 358 | ||
| @@ -418,8 +362,6 @@ var xRectRoundToPixel func(uintptr) uintptr | |||
| 418 | 362 | // their nearest integer values; the rounding is guaranteed | |
| 419 | 363 | // to be large enough to contain the original rectangle. | |
| 420 | 364 | func (x *Rect) RoundToPixel() *Rect { | |
| 421 | - | core.LazyRegister(&xRectRoundToPixel, "GRAPHENE", "graphene_rect_round_to_pixel", false) | |
| 422 | - | ||
| 423 | 365 | cret := xRectRoundToPixel(x.GoPointer()) | |
| 424 | 366 | if cret == 0 { | |
| 425 | 367 | return nil | |
| @@ -432,8 +374,6 @@ var xRectScale func(uintptr, float32, float32, *Rect) | |||
| 432 | 374 | // Scales the size and origin of a rectangle horizontaly by @s_h, | |
| 433 | 375 | // and vertically by @s_v. The result @res is normalized. | |
| 434 | 376 | func (x *Rect) Scale(SHVar float32, SVVar float32, ResVar *Rect) { | |
| 435 | - | core.LazyRegister(&xRectScale, "GRAPHENE", "graphene_rect_scale", false) | |
| 436 | - | ||
| 437 | 377 | xRectScale(x.GoPointer(), SHVar, SVVar, ResVar) | |
| 438 | 378 | } | |
| 439 | 379 | ||
| @@ -445,8 +385,6 @@ var xRectUnion func(uintptr, *Rect, *Rect) | |||
| 445 | 385 | // | |
| 446 | 386 | // The union in the image above is the blue outline. | |
| 447 | 387 | func (x *Rect) Union(BVar *Rect, ResVar *Rect) { | |
| 448 | - | core.LazyRegister(&xRectUnion, "GRAPHENE", "graphene_rect_union", false) | |
| 449 | - | ||
| 450 | 388 | xRectUnion(x.GoPointer(), BVar, ResVar) | |
| 451 | 389 | } | |
| 452 | 390 | ||
| @@ -456,8 +394,6 @@ var xRectAlloc func() uintptr | |||
| 456 | 394 | // | |
| 457 | 395 | // The contents of the returned rectangle are undefined. | |
| 458 | 396 | func RectAlloc() *Rect { | |
| 459 | - | core.LazyRegister(&xRectAlloc, "GRAPHENE", "graphene_rect_alloc", false) | |
| 460 | - | ||
| 461 | 397 | cret := xRectAlloc() | |
| 462 | 398 | if cret == 0 { | |
| 463 | 399 | return nil | |
| @@ -470,8 +406,6 @@ var xRectZero func() uintptr | |||
| 470 | 406 | // Returns a degenerate rectangle with origin fixed at (0, 0) and | |
| 471 | 407 | // a size of 0, 0. | |
| 472 | 408 | func RectZero() *Rect { | |
| 473 | - | core.LazyRegister(&xRectZero, "GRAPHENE", "graphene_rect_zero", false) | |
| 474 | - | ||
| 475 | 409 | cret := xRectZero() | |
| 476 | 410 | if cret == 0 { | |
| 477 | 411 | return nil | |
| @@ -482,4 +416,49 @@ func RectZero() *Rect { | |||
| 482 | 416 | func init() { | |
| 483 | 417 | core.SetPackageName("GRAPHENE", "graphene-gobject-1.0") | |
| 484 | 418 | core.SetSharedLibraries("GRAPHENE", []string{"libgraphene-1.0.so.0", "libgraphene-1.0.0.dylib"}) | |
| 419 | + | var libs []uintptr | |
| 420 | + | for _, libPath := range core.GetPaths("GRAPHENE") { | |
| 421 | + | lib, err := purego.Dlopen(libPath, purego.RTLD_NOW|purego.RTLD_GLOBAL) | |
| 422 | + | if err != nil { | |
| 423 | + | panic(err) | |
| 424 | + | } | |
| 425 | + | libs = append(libs, lib) | |
| 426 | + | } | |
| 427 | + | ||
| 428 | + | core.PuregoSafeRegister(&xRectAlloc, libs, "graphene_rect_alloc") | |
| 429 | + | core.PuregoSafeRegister(&xRectZero, libs, "graphene_rect_zero") | |
| 430 | + | ||
| 431 | + | core.PuregoSafeRegister(&xRectGLibType, libs, "graphene_rect_get_type") | |
| 432 | + | ||
| 433 | + | core.PuregoSafeRegister(&xRectContainsPoint, libs, "graphene_rect_contains_point") | |
| 434 | + | core.PuregoSafeRegister(&xRectContainsRect, libs, "graphene_rect_contains_rect") | |
| 435 | + | core.PuregoSafeRegister(&xRectEqual, libs, "graphene_rect_equal") | |
| 436 | + | core.PuregoSafeRegister(&xRectExpand, libs, "graphene_rect_expand") | |
| 437 | + | core.PuregoSafeRegister(&xRectFree, libs, "graphene_rect_free") | |
| 438 | + | core.PuregoSafeRegister(&xRectGetArea, libs, "graphene_rect_get_area") | |
| 439 | + | core.PuregoSafeRegister(&xRectGetBottomLeft, libs, "graphene_rect_get_bottom_left") | |
| 440 | + | core.PuregoSafeRegister(&xRectGetBottomRight, libs, "graphene_rect_get_bottom_right") | |
| 441 | + | core.PuregoSafeRegister(&xRectGetCenter, libs, "graphene_rect_get_center") | |
| 442 | + | core.PuregoSafeRegister(&xRectGetHeight, libs, "graphene_rect_get_height") | |
| 443 | + | core.PuregoSafeRegister(&xRectGetTopLeft, libs, "graphene_rect_get_top_left") | |
| 444 | + | core.PuregoSafeRegister(&xRectGetTopRight, libs, "graphene_rect_get_top_right") | |
| 445 | + | core.PuregoSafeRegister(&xRectGetVertices, libs, "graphene_rect_get_vertices") | |
| 446 | + | core.PuregoSafeRegister(&xRectGetWidth, libs, "graphene_rect_get_width") | |
| 447 | + | core.PuregoSafeRegister(&xRectGetX, libs, "graphene_rect_get_x") | |
| 448 | + | core.PuregoSafeRegister(&xRectGetY, libs, "graphene_rect_get_y") | |
| 449 | + | core.PuregoSafeRegister(&xRectInit, libs, "graphene_rect_init") | |
| 450 | + | core.PuregoSafeRegister(&xRectInitFromRect, libs, "graphene_rect_init_from_rect") | |
| 451 | + | core.PuregoSafeRegister(&xRectInset, libs, "graphene_rect_inset") | |
| 452 | + | core.PuregoSafeRegister(&xRectInsetR, libs, "graphene_rect_inset_r") | |
| 453 | + | core.PuregoSafeRegister(&xRectInterpolate, libs, "graphene_rect_interpolate") | |
| 454 | + | core.PuregoSafeRegister(&xRectIntersection, libs, "graphene_rect_intersection") | |
| 455 | + | core.PuregoSafeRegister(&xRectNormalize, libs, "graphene_rect_normalize") | |
| 456 | + | core.PuregoSafeRegister(&xRectNormalizeR, libs, "graphene_rect_normalize_r") | |
| 457 | + | core.PuregoSafeRegister(&xRectOffset, libs, "graphene_rect_offset") | |
| 458 | + | core.PuregoSafeRegister(&xRectOffsetR, libs, "graphene_rect_offset_r") | |
| 459 | + | core.PuregoSafeRegister(&xRectRound, libs, "graphene_rect_round") | |
| 460 | + | core.PuregoSafeRegister(&xRectRoundExtents, libs, "graphene_rect_round_extents") | |
| 461 | + | core.PuregoSafeRegister(&xRectRoundToPixel, libs, "graphene_rect_round_to_pixel") | |
| 462 | + | core.PuregoSafeRegister(&xRectScale, libs, "graphene_rect_scale") | |
| 463 | + | core.PuregoSafeRegister(&xRectUnion, libs, "graphene_rect_union") | |
| 485 | 464 | } | |
| @@ -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/gobject/types" | 10 | "github.com/bnema/puregotk/v4/gobject/types" | ||
| 10 | ) | 11 | ) | ||
| @@ -32,7 +33,6 @@ type Rect struct { | |||||
| 32 | var xRectGLibType func() types.GType | 33 | var xRectGLibType func() types.GType | ||
| 33 | 34 | ||||
| 34 | func RectGLibType() types.GType { | 35 | func RectGLibType() types.GType { | ||
| 35 | - | core.LazyRegister(&xRectGLibType, "GRAPHENE", "graphene_rect_get_type", false) | |||
| 36 | return xRectGLibType() | 36 | return xRectGLibType() | ||
| 37 | } | 37 | } | ||
| 38 | 38 | ||||
| @@ -52,8 +52,6 @@ var xRectContainsPoint func(uintptr, *Point) bool | |||||
| 52 | 52 | ||||
| 53 | // Checks whether a #graphene_rect_t contains the given coordinates. | 53 | // Checks whether a #graphene_rect_t contains the given coordinates. | ||
| 54 | func (x *Rect) ContainsPoint(PVar *Point) bool { | 54 | func (x *Rect) ContainsPoint(PVar *Point) bool { | ||
| 55 | - | core.LazyRegister(&xRectContainsPoint, "GRAPHENE", "graphene_rect_contains_point", false) | |||
| 56 | - | ||||
| 57 | cret := xRectContainsPoint(x.GoPointer(), PVar) | 55 | cret := xRectContainsPoint(x.GoPointer(), PVar) | ||
| 58 | return cret | 56 | return cret | ||
| 59 | } | 57 | } | ||
| @@ -63,8 +61,6 @@ var xRectContainsRect func(uintptr, *Rect) bool | |||||
| 63 | // Checks whether a #graphene_rect_t fully contains the given | 61 | // Checks whether a #graphene_rect_t fully contains the given | ||
| 64 | // rectangle. | 62 | // rectangle. | ||
| 65 | func (x *Rect) ContainsRect(BVar *Rect) bool { | 63 | func (x *Rect) ContainsRect(BVar *Rect) bool { | ||
| 66 | - | core.LazyRegister(&xRectContainsRect, "GRAPHENE", "graphene_rect_contains_rect", false) | |||
| 67 | - | ||||
| 68 | cret := xRectContainsRect(x.GoPointer(), BVar) | 64 | cret := xRectContainsRect(x.GoPointer(), BVar) | ||
| 69 | return cret | 65 | return cret | ||
| 70 | } | 66 | } | ||
| @@ -73,8 +69,6 @@ var xRectEqual func(uintptr, *Rect) bool | |||||
| 73 | 69 | ||||
| 74 | // Checks whether the two given rectangle are equal. | 70 | // Checks whether the two given rectangle are equal. | ||
| 75 | func (x *Rect) Equal(BVar *Rect) bool { | 71 | func (x *Rect) Equal(BVar *Rect) bool { | ||
| 76 | - | core.LazyRegister(&xRectEqual, "GRAPHENE", "graphene_rect_equal", false) | |||
| 77 | - | ||||
| 78 | cret := xRectEqual(x.GoPointer(), BVar) | 72 | cret := xRectEqual(x.GoPointer(), BVar) | ||
| 79 | return cret | 73 | return cret | ||
| 80 | } | 74 | } | ||
| @@ -83,8 +77,6 @@ var xRectExpand func(uintptr, *Point, *Rect) | |||||
| 83 | 77 | ||||
| 84 | // Expands a #graphene_rect_t to contain the given #graphene_point_t. | 78 | // Expands a #graphene_rect_t to contain the given #graphene_point_t. | ||
| 85 | func (x *Rect) Expand(PVar *Point, ResVar *Rect) { | 79 | func (x *Rect) Expand(PVar *Point, ResVar *Rect) { | ||
| 86 | - | core.LazyRegister(&xRectExpand, "GRAPHENE", "graphene_rect_expand", false) | |||
| 87 | - | ||||
| 88 | xRectExpand(x.GoPointer(), PVar, ResVar) | 80 | xRectExpand(x.GoPointer(), PVar, ResVar) | ||
| 89 | } | 81 | } | ||
| 90 | 82 | ||||
| @@ -92,8 +84,6 @@ var xRectFree func(uintptr) | |||||
| 92 | 84 | ||||
| 93 | // Frees the resources allocated by graphene_rect_alloc(). | 85 | // Frees the resources allocated by graphene_rect_alloc(). | ||
| 94 | func (x *Rect) Free() { | 86 | func (x *Rect) Free() { | ||
| 95 | - | core.LazyRegister(&xRectFree, "GRAPHENE", "graphene_rect_free", false) | |||
| 96 | - | ||||
| 97 | xRectFree(x.GoPointer()) | 87 | xRectFree(x.GoPointer()) | ||
| 98 | } | 88 | } | ||
| 99 | 89 | ||||
| @@ -101,8 +91,6 @@ var xRectGetArea func(uintptr) float32 | |||||
| 101 | 91 | ||||
| 102 | // Compute the area of given normalized rectangle. | 92 | // Compute the area of given normalized rectangle. | ||
| 103 | func (x *Rect) GetArea() float32 { | 93 | func (x *Rect) GetArea() float32 { | ||
| 104 | - | core.LazyRegister(&xRectGetArea, "GRAPHENE", "graphene_rect_get_area", false) | |||
| 105 | - | ||||
| 106 | cret := xRectGetArea(x.GoPointer()) | 94 | cret := xRectGetArea(x.GoPointer()) | ||
| 107 | return cret | 95 | return cret | ||
| 108 | } | 96 | } | ||
| @@ -111,8 +99,6 @@ var xRectGetBottomLeft func(uintptr, *Point) | |||||
| 111 | 99 | ||||
| 112 | // Retrieves the coordinates of the bottom-left corner of the given rectangle. | 100 | // Retrieves the coordinates of the bottom-left corner of the given rectangle. | ||
| 113 | func (x *Rect) GetBottomLeft(PVar *Point) { | 101 | func (x *Rect) GetBottomLeft(PVar *Point) { | ||
| 114 | - | core.LazyRegister(&xRectGetBottomLeft, "GRAPHENE", "graphene_rect_get_bottom_left", false) | |||
| 115 | - | ||||
| 116 | xRectGetBottomLeft(x.GoPointer(), PVar) | 102 | xRectGetBottomLeft(x.GoPointer(), PVar) | ||
| 117 | } | 103 | } | ||
| 118 | 104 | ||||
| @@ -120,8 +106,6 @@ var xRectGetBottomRight func(uintptr, *Point) | |||||
| 120 | 106 | ||||
| 121 | // Retrieves the coordinates of the bottom-right corner of the given rectangle. | 107 | // Retrieves the coordinates of the bottom-right corner of the given rectangle. | ||
| 122 | func (x *Rect) GetBottomRight(PVar *Point) { | 108 | func (x *Rect) GetBottomRight(PVar *Point) { | ||
| 123 | - | core.LazyRegister(&xRectGetBottomRight, "GRAPHENE", "graphene_rect_get_bottom_right", false) | |||
| 124 | - | ||||
| 125 | xRectGetBottomRight(x.GoPointer(), PVar) | 109 | xRectGetBottomRight(x.GoPointer(), PVar) | ||
| 126 | } | 110 | } | ||
| 127 | 111 | ||||
| @@ -129,8 +113,6 @@ var xRectGetCenter func(uintptr, *Point) | |||||
| 129 | 113 | ||||
| 130 | // Retrieves the coordinates of the center of the given rectangle. | 114 | // Retrieves the coordinates of the center of the given rectangle. | ||
| 131 | func (x *Rect) GetCenter(PVar *Point) { | 115 | func (x *Rect) GetCenter(PVar *Point) { | ||
| 132 | - | core.LazyRegister(&xRectGetCenter, "GRAPHENE", "graphene_rect_get_center", false) | |||
| 133 | - | ||||
| 134 | xRectGetCenter(x.GoPointer(), PVar) | 116 | xRectGetCenter(x.GoPointer(), PVar) | ||
| 135 | } | 117 | } | ||
| 136 | 118 | ||||
| @@ -138,8 +120,6 @@ var xRectGetHeight func(uintptr) float32 | |||||
| 138 | 120 | ||||
| 139 | // Retrieves the normalized height of the given rectangle. | 121 | // Retrieves the normalized height of the given rectangle. | ||
| 140 | func (x *Rect) GetHeight() float32 { | 122 | func (x *Rect) GetHeight() float32 { | ||
| 141 | - | core.LazyRegister(&xRectGetHeight, "GRAPHENE", "graphene_rect_get_height", false) | |||
| 142 | - | ||||
| 143 | cret := xRectGetHeight(x.GoPointer()) | 123 | cret := xRectGetHeight(x.GoPointer()) | ||
| 144 | return cret | 124 | return cret | ||
| 145 | } | 125 | } | ||
| @@ -148,8 +128,6 @@ var xRectGetTopLeft func(uintptr, *Point) | |||||
| 148 | 128 | ||||
| 149 | // Retrieves the coordinates of the top-left corner of the given rectangle. | 129 | // Retrieves the coordinates of the top-left corner of the given rectangle. | ||
| 150 | func (x *Rect) GetTopLeft(PVar *Point) { | 130 | func (x *Rect) GetTopLeft(PVar *Point) { | ||
| 151 | - | core.LazyRegister(&xRectGetTopLeft, "GRAPHENE", "graphene_rect_get_top_left", false) | |||
| 152 | - | ||||
| 153 | xRectGetTopLeft(x.GoPointer(), PVar) | 131 | xRectGetTopLeft(x.GoPointer(), PVar) | ||
| 154 | } | 132 | } | ||
| 155 | 133 | ||||
| @@ -157,8 +135,6 @@ var xRectGetTopRight func(uintptr, *Point) | |||||
| 157 | 135 | ||||
| 158 | // Retrieves the coordinates of the top-right corner of the given rectangle. | 136 | // Retrieves the coordinates of the top-right corner of the given rectangle. | ||
| 159 | func (x *Rect) GetTopRight(PVar *Point) { | 137 | func (x *Rect) GetTopRight(PVar *Point) { | ||
| 160 | - | core.LazyRegister(&xRectGetTopRight, "GRAPHENE", "graphene_rect_get_top_right", false) | |||
| 161 | - | ||||
| 162 | xRectGetTopRight(x.GoPointer(), PVar) | 138 | xRectGetTopRight(x.GoPointer(), PVar) | ||
| 163 | } | 139 | } | ||
| 164 | 140 | ||||
| @@ -166,8 +142,6 @@ var xRectGetVertices func(uintptr, *[4]Vec2) | |||||
| 166 | 142 | ||||
| 167 | // Computes the four vertices of a #graphene_rect_t. | 143 | // Computes the four vertices of a #graphene_rect_t. | ||
| 168 | func (x *Rect) GetVertices(VerticesVar *[4]Vec2) { | 144 | func (x *Rect) GetVertices(VerticesVar *[4]Vec2) { | ||
| 169 | - | core.LazyRegister(&xRectGetVertices, "GRAPHENE", "graphene_rect_get_vertices", false) | |||
| 170 | - | ||||
| 171 | xRectGetVertices(x.GoPointer(), VerticesVar) | 145 | xRectGetVertices(x.GoPointer(), VerticesVar) | ||
| 172 | } | 146 | } | ||
| 173 | 147 | ||||
| @@ -175,8 +149,6 @@ var xRectGetWidth func(uintptr) float32 | |||||
| 175 | 149 | ||||
| 176 | // Retrieves the normalized width of the given rectangle. | 150 | // Retrieves the normalized width of the given rectangle. | ||
| 177 | func (x *Rect) GetWidth() float32 { | 151 | func (x *Rect) GetWidth() float32 { | ||
| 178 | - | core.LazyRegister(&xRectGetWidth, "GRAPHENE", "graphene_rect_get_width", false) | |||
| 179 | - | ||||
| 180 | cret := xRectGetWidth(x.GoPointer()) | 152 | cret := xRectGetWidth(x.GoPointer()) | ||
| 181 | return cret | 153 | return cret | ||
| 182 | } | 154 | } | ||
| @@ -186,8 +158,6 @@ var xRectGetX func(uintptr) float32 | |||||
| 186 | // Retrieves the normalized X coordinate of the origin of the given | 158 | // Retrieves the normalized X coordinate of the origin of the given | ||
| 187 | // rectangle. | 159 | // rectangle. | ||
| 188 | func (x *Rect) GetX() float32 { | 160 | func (x *Rect) GetX() float32 { | ||
| 189 | - | core.LazyRegister(&xRectGetX, "GRAPHENE", "graphene_rect_get_x", false) | |||
| 190 | - | ||||
| 191 | cret := xRectGetX(x.GoPointer()) | 161 | cret := xRectGetX(x.GoPointer()) | ||
| 192 | return cret | 162 | return cret | ||
| 193 | } | 163 | } | ||
| @@ -197,8 +167,6 @@ var xRectGetY func(uintptr) float32 | |||||
| 197 | // Retrieves the normalized Y coordinate of the origin of the given | 167 | // Retrieves the normalized Y coordinate of the origin of the given | ||
| 198 | // rectangle. | 168 | // rectangle. | ||
| 199 | func (x *Rect) GetY() float32 { | 169 | func (x *Rect) GetY() float32 { | ||
| 200 | - | core.LazyRegister(&xRectGetY, "GRAPHENE", "graphene_rect_get_y", false) | |||
| 201 | - | ||||
| 202 | cret := xRectGetY(x.GoPointer()) | 170 | cret := xRectGetY(x.GoPointer()) | ||
| 203 | return cret | 171 | return cret | ||
| 204 | } | 172 | } | ||
| @@ -210,8 +178,6 @@ var xRectInit func(uintptr, float32, float32, float32, float32) uintptr | |||||
| 210 | // This function will implicitly normalize the #graphene_rect_t | 178 | // This function will implicitly normalize the #graphene_rect_t | ||
| 211 | // before returning. | 179 | // before returning. | ||
| 212 | func (x *Rect) Init(XVar float32, YVar float32, WidthVar float32, HeightVar float32) *Rect { | 180 | func (x *Rect) Init(XVar float32, YVar float32, WidthVar float32, HeightVar float32) *Rect { | ||
| 213 | - | core.LazyRegister(&xRectInit, "GRAPHENE", "graphene_rect_init", false) | |||
| 214 | - | ||||
| 215 | cret := xRectInit(x.GoPointer(), XVar, YVar, WidthVar, HeightVar) | 181 | cret := xRectInit(x.GoPointer(), XVar, YVar, WidthVar, HeightVar) | ||
| 216 | if cret == 0 { | 182 | if cret == 0 { | ||
| 217 | return nil | 183 | return nil | ||
| @@ -226,8 +192,6 @@ var xRectInitFromRect func(uintptr, *Rect) uintptr | |||||
| 226 | // This function will implicitly normalize the #graphene_rect_t | 192 | // This function will implicitly normalize the #graphene_rect_t | ||
| 227 | // before returning. | 193 | // before returning. | ||
| 228 | func (x *Rect) InitFromRect(SrcVar *Rect) *Rect { | 194 | func (x *Rect) InitFromRect(SrcVar *Rect) *Rect { | ||
| 229 | - | core.LazyRegister(&xRectInitFromRect, "GRAPHENE", "graphene_rect_init_from_rect", false) | |||
| 230 | - | ||||
| 231 | cret := xRectInitFromRect(x.GoPointer(), SrcVar) | 195 | cret := xRectInitFromRect(x.GoPointer(), SrcVar) | ||
| 232 | if cret == 0 { | 196 | if cret == 0 { | ||
| 233 | return nil | 197 | return nil | ||
| @@ -252,8 +216,6 @@ var xRectInset func(uintptr, float32, float32) uintptr | |||||
| 252 | // If the size of the resulting inset rectangle has a negative width or | 216 | // If the size of the resulting inset rectangle has a negative width or | ||
| 253 | // height then the size will be set to zero. | 217 | // height then the size will be set to zero. | ||
| 254 | func (x *Rect) Inset(DXVar float32, DYVar float32) *Rect { | 218 | func (x *Rect) Inset(DXVar float32, DYVar float32) *Rect { | ||
| 255 | - | core.LazyRegister(&xRectInset, "GRAPHENE", "graphene_rect_inset", false) | |||
| 256 | - | ||||
| 257 | cret := xRectInset(x.GoPointer(), DXVar, DYVar) | 219 | cret := xRectInset(x.GoPointer(), DXVar, DYVar) | ||
| 258 | if cret == 0 { | 220 | if cret == 0 { | ||
| 259 | return nil | 221 | return nil | ||
| @@ -278,8 +240,6 @@ var xRectInsetR func(uintptr, float32, float32, *Rect) | |||||
| 278 | // If the size of the resulting inset rectangle has a negative width or | 240 | // If the size of the resulting inset rectangle has a negative width or | ||
| 279 | // height then the size will be set to zero. | 241 | // height then the size will be set to zero. | ||
| 280 | func (x *Rect) InsetR(DXVar float32, DYVar float32, ResVar *Rect) { | 242 | func (x *Rect) InsetR(DXVar float32, DYVar float32, ResVar *Rect) { | ||
| 281 | - | core.LazyRegister(&xRectInsetR, "GRAPHENE", "graphene_rect_inset_r", false) | |||
| 282 | - | ||||
| 283 | xRectInsetR(x.GoPointer(), DXVar, DYVar, ResVar) | 243 | xRectInsetR(x.GoPointer(), DXVar, DYVar, ResVar) | ||
| 284 | } | 244 | } | ||
| 285 | 245 | ||||
| @@ -288,8 +248,6 @@ var xRectInterpolate func(uintptr, *Rect, float64, *Rect) | |||||
| 288 | // Linearly interpolates the origin and size of the two given | 248 | // Linearly interpolates the origin and size of the two given | ||
| 289 | // rectangles. | 249 | // rectangles. | ||
| 290 | func (x *Rect) Interpolate(BVar *Rect, FactorVar float64, ResVar *Rect) { | 250 | func (x *Rect) Interpolate(BVar *Rect, FactorVar float64, ResVar *Rect) { | ||
| 291 | - | core.LazyRegister(&xRectInterpolate, "GRAPHENE", "graphene_rect_interpolate", false) | |||
| 292 | - | ||||
| 293 | xRectInterpolate(x.GoPointer(), BVar, FactorVar, ResVar) | 251 | xRectInterpolate(x.GoPointer(), BVar, FactorVar, ResVar) | ||
| 294 | } | 252 | } | ||
| 295 | 253 | ||||
| @@ -304,8 +262,6 @@ var xRectIntersection func(uintptr, *Rect, *Rect) bool | |||||
| 304 | // If the two rectangles do not intersect, @res will contain | 262 | // If the two rectangles do not intersect, @res will contain | ||
| 305 | // a degenerate rectangle with origin in (0, 0) and a size of 0. | 263 | // a degenerate rectangle with origin in (0, 0) and a size of 0. | ||
| 306 | func (x *Rect) Intersection(BVar *Rect, ResVar *Rect) bool { | 264 | func (x *Rect) Intersection(BVar *Rect, ResVar *Rect) bool { | ||
| 307 | - | core.LazyRegister(&xRectIntersection, "GRAPHENE", "graphene_rect_intersection", false) | |||
| 308 | - | ||||
| 309 | cret := xRectIntersection(x.GoPointer(), BVar, ResVar) | 265 | cret := xRectIntersection(x.GoPointer(), BVar, ResVar) | ||
| 310 | return cret | 266 | return cret | ||
| 311 | } | 267 | } | ||
| @@ -318,8 +274,6 @@ var xRectNormalize func(uintptr) uintptr | |||||
| 318 | // positive values, and that the origin is the top-left corner of | 274 | // positive values, and that the origin is the top-left corner of | ||
| 319 | // the rectangle. | 275 | // the rectangle. | ||
| 320 | func (x *Rect) Normalize() *Rect { | 276 | func (x *Rect) Normalize() *Rect { | ||
| 321 | - | core.LazyRegister(&xRectNormalize, "GRAPHENE", "graphene_rect_normalize", false) | |||
| 322 | - | ||||
| 323 | cret := xRectNormalize(x.GoPointer()) | 277 | cret := xRectNormalize(x.GoPointer()) | ||
| 324 | if cret == 0 { | 278 | if cret == 0 { | ||
| 325 | return nil | 279 | return nil | ||
| @@ -335,8 +289,6 @@ var xRectNormalizeR func(uintptr, *Rect) | |||||
| 335 | // positive values, and that the origin is in the top-left corner | 289 | // positive values, and that the origin is in the top-left corner | ||
| 336 | // of the rectangle. | 290 | // of the rectangle. | ||
| 337 | func (x *Rect) NormalizeR(ResVar *Rect) { | 291 | func (x *Rect) NormalizeR(ResVar *Rect) { | ||
| 338 | - | core.LazyRegister(&xRectNormalizeR, "GRAPHENE", "graphene_rect_normalize_r", false) | |||
| 339 | - | ||||
| 340 | xRectNormalizeR(x.GoPointer(), ResVar) | 292 | xRectNormalizeR(x.GoPointer(), ResVar) | ||
| 341 | } | 293 | } | ||
| 342 | 294 | ||||
| @@ -346,8 +298,6 @@ var xRectOffset func(uintptr, float32, float32) uintptr | |||||
| 346 | // | 298 | // | ||
| 347 | // The size of the rectangle is unchanged. | 299 | // The size of the rectangle is unchanged. | ||
| 348 | func (x *Rect) Offset(DXVar float32, DYVar float32) *Rect { | 300 | func (x *Rect) Offset(DXVar float32, DYVar float32) *Rect { | ||
| 349 | - | core.LazyRegister(&xRectOffset, "GRAPHENE", "graphene_rect_offset", false) | |||
| 350 | - | ||||
| 351 | cret := xRectOffset(x.GoPointer(), DXVar, DYVar) | 301 | cret := xRectOffset(x.GoPointer(), DXVar, DYVar) | ||
| 352 | if cret == 0 { | 302 | if cret == 0 { | ||
| 353 | return nil | 303 | return nil | ||
| @@ -361,8 +311,6 @@ var xRectOffsetR func(uintptr, float32, float32, *Rect) | |||||
| 361 | // | 311 | // | ||
| 362 | // The size of the rectangle is left unchanged. | 312 | // The size of the rectangle is left unchanged. | ||
| 363 | func (x *Rect) OffsetR(DXVar float32, DYVar float32, ResVar *Rect) { | 313 | func (x *Rect) OffsetR(DXVar float32, DYVar float32, ResVar *Rect) { | ||
| 364 | - | core.LazyRegister(&xRectOffsetR, "GRAPHENE", "graphene_rect_offset_r", false) | |||
| 365 | - | ||||
| 366 | xRectOffsetR(x.GoPointer(), DXVar, DYVar, ResVar) | 314 | xRectOffsetR(x.GoPointer(), DXVar, DYVar, ResVar) | ||
| 367 | } | 315 | } | ||
| 368 | 316 | ||||
| @@ -378,8 +326,6 @@ var xRectRound func(uintptr, *Rect) | |||||
| 378 | // This function is the equivalent of calling `floor` on | 326 | // This function is the equivalent of calling `floor` on | ||
| 379 | // the coordinates of the origin, and `ceil` on the size. | 327 | // the coordinates of the origin, and `ceil` on the size. | ||
| 380 | func (x *Rect) Round(ResVar *Rect) { | 328 | func (x *Rect) Round(ResVar *Rect) { | ||
| 381 | - | core.LazyRegister(&xRectRound, "GRAPHENE", "graphene_rect_round", false) | |||
| 382 | - | ||||
| 383 | xRectRound(x.GoPointer(), ResVar) | 329 | xRectRound(x.GoPointer(), ResVar) | ||
| 384 | } | 330 | } | ||
| 385 | 331 | ||||
| @@ -407,8 +353,6 @@ var xRectRoundExtents func(uintptr, *Rect) | |||||
| 407 | // by a move in the anti-origin, leaving the corners of the | 353 | // by a move in the anti-origin, leaving the corners of the | ||
| 408 | // original rectangle outside the rounded one. | 354 | // original rectangle outside the rounded one. | ||
| 409 | func (x *Rect) RoundExtents(ResVar *Rect) { | 355 | func (x *Rect) RoundExtents(ResVar *Rect) { | ||
| 410 | - | core.LazyRegister(&xRectRoundExtents, "GRAPHENE", "graphene_rect_round_extents", false) | |||
| 411 | - | ||||
| 412 | xRectRoundExtents(x.GoPointer(), ResVar) | 356 | xRectRoundExtents(x.GoPointer(), ResVar) | ||
| 413 | } | 357 | } | ||
| 414 | 358 | ||||
| @@ -418,8 +362,6 @@ var xRectRoundToPixel func(uintptr) uintptr | |||||
| 418 | // their nearest integer values; the rounding is guaranteed | 362 | // their nearest integer values; the rounding is guaranteed | ||
| 419 | // to be large enough to contain the original rectangle. | 363 | // to be large enough to contain the original rectangle. | ||
| 420 | func (x *Rect) RoundToPixel() *Rect { | 364 | func (x *Rect) RoundToPixel() *Rect { | ||
| 421 | - | core.LazyRegister(&xRectRoundToPixel, "GRAPHENE", "graphene_rect_round_to_pixel", false) | |||
| 422 | - | ||||
| 423 | cret := xRectRoundToPixel(x.GoPointer()) | 365 | cret := xRectRoundToPixel(x.GoPointer()) | ||
| 424 | if cret == 0 { | 366 | if cret == 0 { | ||
| 425 | return nil | 367 | return nil | ||
| @@ -432,8 +374,6 @@ var xRectScale func(uintptr, float32, float32, *Rect) | |||||
| 432 | // Scales the size and origin of a rectangle horizontaly by @s_h, | 374 | // Scales the size and origin of a rectangle horizontaly by @s_h, | ||
| 433 | // and vertically by @s_v. The result @res is normalized. | 375 | // and vertically by @s_v. The result @res is normalized. | ||
| 434 | func (x *Rect) Scale(SHVar float32, SVVar float32, ResVar *Rect) { | 376 | func (x *Rect) Scale(SHVar float32, SVVar float32, ResVar *Rect) { | ||
| 435 | - | core.LazyRegister(&xRectScale, "GRAPHENE", "graphene_rect_scale", false) | |||
| 436 | - | ||||
| 437 | xRectScale(x.GoPointer(), SHVar, SVVar, ResVar) | 377 | xRectScale(x.GoPointer(), SHVar, SVVar, ResVar) | ||
| 438 | } | 378 | } | ||
| 439 | 379 | ||||
| @@ -445,8 +385,6 @@ var xRectUnion func(uintptr, *Rect, *Rect) | |||||
| 445 | // | 385 | // | ||
| 446 | // The union in the image above is the blue outline. | 386 | // The union in the image above is the blue outline. | ||
| 447 | func (x *Rect) Union(BVar *Rect, ResVar *Rect) { | 387 | func (x *Rect) Union(BVar *Rect, ResVar *Rect) { | ||
| 448 | - | core.LazyRegister(&xRectUnion, "GRAPHENE", "graphene_rect_union", false) | |||
| 449 | - | ||||
| 450 | xRectUnion(x.GoPointer(), BVar, ResVar) | 388 | xRectUnion(x.GoPointer(), BVar, ResVar) | ||
| 451 | } | 389 | } | ||
| 452 | 390 | ||||
| @@ -456,8 +394,6 @@ var xRectAlloc func() uintptr | |||||
| 456 | // | 394 | // | ||
| 457 | // The contents of the returned rectangle are undefined. | 395 | // The contents of the returned rectangle are undefined. | ||
| 458 | func RectAlloc() *Rect { | 396 | func RectAlloc() *Rect { | ||
| 459 | - | core.LazyRegister(&xRectAlloc, "GRAPHENE", "graphene_rect_alloc", false) | |||
| 460 | - | ||||
| 461 | cret := xRectAlloc() | 397 | cret := xRectAlloc() | ||
| 462 | if cret == 0 { | 398 | if cret == 0 { | ||
| 463 | return nil | 399 | return nil | ||
| @@ -470,8 +406,6 @@ var xRectZero func() uintptr | |||||
| 470 | // Returns a degenerate rectangle with origin fixed at (0, 0) and | 406 | // Returns a degenerate rectangle with origin fixed at (0, 0) and | ||
| 471 | // a size of 0, 0. | 407 | // a size of 0, 0. | ||
| 472 | func RectZero() *Rect { | 408 | func RectZero() *Rect { | ||
| 473 | - | core.LazyRegister(&xRectZero, "GRAPHENE", "graphene_rect_zero", false) | |||
| 474 | - | ||||
| 475 | cret := xRectZero() | 409 | cret := xRectZero() | ||
| 476 | if cret == 0 { | 410 | if cret == 0 { | ||
| 477 | return nil | 411 | return nil | ||
| @@ -482,4 +416,49 @@ func RectZero() *Rect { | |||||
| 482 | func init() { | 416 | func init() { | ||
| 483 | core.SetPackageName("GRAPHENE", "graphene-gobject-1.0") | 417 | core.SetPackageName("GRAPHENE", "graphene-gobject-1.0") | ||
| 484 | core.SetSharedLibraries("GRAPHENE", []string{"libgraphene-1.0.so.0", "libgraphene-1.0.0.dylib"}) | 418 | core.SetSharedLibraries("GRAPHENE", []string{"libgraphene-1.0.so.0", "libgraphene-1.0.0.dylib"}) | ||
| 419 | + | var libs []uintptr | |||
| 420 | + | for _, libPath := range core.GetPaths("GRAPHENE") { | |||
| 421 | + | lib, err := purego.Dlopen(libPath, purego.RTLD_NOW|purego.RTLD_GLOBAL) | |||
| 422 | + | if err != nil { | |||
| 423 | + | panic(err) | |||
| 424 | + | } | |||
| 425 | + | libs = append(libs, lib) | |||
| 426 | + | } | |||
| 427 | + | ||||
| 428 | + | core.PuregoSafeRegister(&xRectAlloc, libs, "graphene_rect_alloc") | |||
| 429 | + | core.PuregoSafeRegister(&xRectZero, libs, "graphene_rect_zero") | |||
| 430 | + | ||||
| 431 | + | core.PuregoSafeRegister(&xRectGLibType, libs, "graphene_rect_get_type") | |||
| 432 | + | ||||
| 433 | + | core.PuregoSafeRegister(&xRectContainsPoint, libs, "graphene_rect_contains_point") | |||
| 434 | + | core.PuregoSafeRegister(&xRectContainsRect, libs, "graphene_rect_contains_rect") | |||
| 435 | + | core.PuregoSafeRegister(&xRectEqual, libs, "graphene_rect_equal") | |||
| 436 | + | core.PuregoSafeRegister(&xRectExpand, libs, "graphene_rect_expand") | |||
| 437 | + | core.PuregoSafeRegister(&xRectFree, libs, "graphene_rect_free") | |||
| 438 | + | core.PuregoSafeRegister(&xRectGetArea, libs, "graphene_rect_get_area") | |||
| 439 | + | core.PuregoSafeRegister(&xRectGetBottomLeft, libs, "graphene_rect_get_bottom_left") | |||
| 440 | + | core.PuregoSafeRegister(&xRectGetBottomRight, libs, "graphene_rect_get_bottom_right") | |||
| 441 | + | core.PuregoSafeRegister(&xRectGetCenter, libs, "graphene_rect_get_center") | |||
| 442 | + | core.PuregoSafeRegister(&xRectGetHeight, libs, "graphene_rect_get_height") | |||
| 443 | + | core.PuregoSafeRegister(&xRectGetTopLeft, libs, "graphene_rect_get_top_left") | |||
| 444 | + | core.PuregoSafeRegister(&xRectGetTopRight, libs, "graphene_rect_get_top_right") | |||
| 445 | + | core.PuregoSafeRegister(&xRectGetVertices, libs, "graphene_rect_get_vertices") | |||
| 446 | + | core.PuregoSafeRegister(&xRectGetWidth, libs, "graphene_rect_get_width") | |||
| 447 | + | core.PuregoSafeRegister(&xRectGetX, libs, "graphene_rect_get_x") | |||
| 448 | + | core.PuregoSafeRegister(&xRectGetY, libs, "graphene_rect_get_y") | |||
| 449 | + | core.PuregoSafeRegister(&xRectInit, libs, "graphene_rect_init") | |||
| 450 | + | core.PuregoSafeRegister(&xRectInitFromRect, libs, "graphene_rect_init_from_rect") | |||
| 451 | + | core.PuregoSafeRegister(&xRectInset, libs, "graphene_rect_inset") | |||
| 452 | + | core.PuregoSafeRegister(&xRectInsetR, libs, "graphene_rect_inset_r") | |||
| 453 | + | core.PuregoSafeRegister(&xRectInterpolate, libs, "graphene_rect_interpolate") | |||
| 454 | + | core.PuregoSafeRegister(&xRectIntersection, libs, "graphene_rect_intersection") | |||
| 455 | + | core.PuregoSafeRegister(&xRectNormalize, libs, "graphene_rect_normalize") | |||
| 456 | + | core.PuregoSafeRegister(&xRectNormalizeR, libs, "graphene_rect_normalize_r") | |||
| 457 | + | core.PuregoSafeRegister(&xRectOffset, libs, "graphene_rect_offset") | |||
| 458 | + | core.PuregoSafeRegister(&xRectOffsetR, libs, "graphene_rect_offset_r") | |||
| 459 | + | core.PuregoSafeRegister(&xRectRound, libs, "graphene_rect_round") | |||
| 460 | + | core.PuregoSafeRegister(&xRectRoundExtents, libs, "graphene_rect_round_extents") | |||
| 461 | + | core.PuregoSafeRegister(&xRectRoundToPixel, libs, "graphene_rect_round_to_pixel") | |||
| 462 | + | core.PuregoSafeRegister(&xRectScale, libs, "graphene_rect_scale") | |||
| 463 | + | core.PuregoSafeRegister(&xRectUnion, libs, "graphene_rect_union") | |||
| 485 | } | 464 | } | ||