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 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
| @@ -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 | ) | |
| @@ -22,7 +23,6 @@ type Box struct { | |||
| 22 | 23 | var xBoxGLibType func() types.GType | |
| 23 | 24 | ||
| 24 | 25 | func BoxGLibType() types.GType { | |
| 25 | - | core.LazyRegister(&xBoxGLibType, "GRAPHENE", "graphene_box_get_type", false) | |
| 26 | 26 | return xBoxGLibType() | |
| 27 | 27 | } | |
| 28 | 28 | ||
| @@ -44,8 +44,6 @@ var xBoxAlloc func() uintptr | |||
| 44 | 44 | // | |
| 45 | 45 | // The contents of the returned structure are undefined. | |
| 46 | 46 | func BoxAlloc() *Box { | |
| 47 | - | core.LazyRegister(&xBoxAlloc, "GRAPHENE", "graphene_box_alloc", false) | |
| 48 | - | ||
| 49 | 47 | cret := xBoxAlloc() | |
| 50 | 48 | if cret == 0 { | |
| 51 | 49 | return nil | |
| @@ -58,8 +56,6 @@ var xBoxContainsBox func(uintptr, *Box) bool | |||
| 58 | 56 | // Checks whether the #graphene_box_t @a contains the given | |
| 59 | 57 | // #graphene_box_t @b. | |
| 60 | 58 | func (x *Box) ContainsBox(BVar *Box) bool { | |
| 61 | - | core.LazyRegister(&xBoxContainsBox, "GRAPHENE", "graphene_box_contains_box", false) | |
| 62 | - | ||
| 63 | 59 | cret := xBoxContainsBox(x.GoPointer(), BVar) | |
| 64 | 60 | return cret | |
| 65 | 61 | } | |
| @@ -68,8 +64,6 @@ var xBoxContainsPoint func(uintptr, *Point3D) bool | |||
| 68 | 64 | ||
| 69 | 65 | // Checks whether @box contains the given @point. | |
| 70 | 66 | func (x *Box) ContainsPoint(PointVar *Point3D) bool { | |
| 71 | - | core.LazyRegister(&xBoxContainsPoint, "GRAPHENE", "graphene_box_contains_point", false) | |
| 72 | - | ||
| 73 | 67 | cret := xBoxContainsPoint(x.GoPointer(), PointVar) | |
| 74 | 68 | return cret | |
| 75 | 69 | } | |
| @@ -78,8 +72,6 @@ var xBoxEqual func(uintptr, *Box) bool | |||
| 78 | 72 | ||
| 79 | 73 | // Checks whether the two given boxes are equal. | |
| 80 | 74 | func (x *Box) Equal(BVar *Box) bool { | |
| 81 | - | core.LazyRegister(&xBoxEqual, "GRAPHENE", "graphene_box_equal", false) | |
| 82 | - | ||
| 83 | 75 | cret := xBoxEqual(x.GoPointer(), BVar) | |
| 84 | 76 | return cret | |
| 85 | 77 | } | |
| @@ -88,8 +80,6 @@ var xBoxExpand func(uintptr, *Point3D, *Box) | |||
| 88 | 80 | ||
| 89 | 81 | // Expands the dimensions of @box to include the coordinates at @point. | |
| 90 | 82 | func (x *Box) Expand(PointVar *Point3D, ResVar *Box) { | |
| 91 | - | core.LazyRegister(&xBoxExpand, "GRAPHENE", "graphene_box_expand", false) | |
| 92 | - | ||
| 93 | 83 | xBoxExpand(x.GoPointer(), PointVar, ResVar) | |
| 94 | 84 | } | |
| 95 | 85 | ||
| @@ -100,8 +90,6 @@ var xBoxExpandScalar func(uintptr, float32, *Box) | |||
| 100 | 90 | // If @scalar is positive, the #graphene_box_t will grow; if @scalar is | |
| 101 | 91 | // negative, the #graphene_box_t will shrink. | |
| 102 | 92 | func (x *Box) ExpandScalar(ScalarVar float32, ResVar *Box) { | |
| 103 | - | core.LazyRegister(&xBoxExpandScalar, "GRAPHENE", "graphene_box_expand_scalar", false) | |
| 104 | - | ||
| 105 | 93 | xBoxExpandScalar(x.GoPointer(), ScalarVar, ResVar) | |
| 106 | 94 | } | |
| 107 | 95 | ||
| @@ -110,8 +98,6 @@ var xBoxExpandVec3 func(uintptr, *Vec3, *Box) | |||
| 110 | 98 | // Expands the dimensions of @box to include the coordinates of the | |
| 111 | 99 | // given vector. | |
| 112 | 100 | func (x *Box) ExpandVec3(VecVar *Vec3, ResVar *Box) { | |
| 113 | - | core.LazyRegister(&xBoxExpandVec3, "GRAPHENE", "graphene_box_expand_vec3", false) | |
| 114 | - | ||
| 115 | 101 | xBoxExpandVec3(x.GoPointer(), VecVar, ResVar) | |
| 116 | 102 | } | |
| 117 | 103 | ||
| @@ -119,8 +105,6 @@ var xBoxFree func(uintptr) | |||
| 119 | 105 | ||
| 120 | 106 | // Frees the resources allocated by graphene_box_alloc(). | |
| 121 | 107 | func (x *Box) Free() { | |
| 122 | - | core.LazyRegister(&xBoxFree, "GRAPHENE", "graphene_box_free", false) | |
| 123 | - | ||
| 124 | 108 | xBoxFree(x.GoPointer()) | |
| 125 | 109 | } | |
| 126 | 110 | ||
| @@ -129,8 +113,6 @@ var xBoxGetBoundingSphere func(uintptr, *Sphere) | |||
| 129 | 113 | // Computes the bounding #graphene_sphere_t capable of containing the given | |
| 130 | 114 | // #graphene_box_t. | |
| 131 | 115 | func (x *Box) GetBoundingSphere(SphereVar *Sphere) { | |
| 132 | - | core.LazyRegister(&xBoxGetBoundingSphere, "GRAPHENE", "graphene_box_get_bounding_sphere", false) | |
| 133 | - | ||
| 134 | 116 | xBoxGetBoundingSphere(x.GoPointer(), SphereVar) | |
| 135 | 117 | } | |
| 136 | 118 | ||
| @@ -138,8 +120,6 @@ var xBoxGetCenter func(uintptr, *Point3D) | |||
| 138 | 120 | ||
| 139 | 121 | // Retrieves the coordinates of the center of a #graphene_box_t. | |
| 140 | 122 | func (x *Box) GetCenter(CenterVar *Point3D) { | |
| 141 | - | core.LazyRegister(&xBoxGetCenter, "GRAPHENE", "graphene_box_get_center", false) | |
| 142 | - | ||
| 143 | 123 | xBoxGetCenter(x.GoPointer(), CenterVar) | |
| 144 | 124 | } | |
| 145 | 125 | ||
| @@ -147,8 +127,6 @@ var xBoxGetDepth func(uintptr) float32 | |||
| 147 | 127 | ||
| 148 | 128 | // Retrieves the size of the @box on the Z axis. | |
| 149 | 129 | func (x *Box) GetDepth() float32 { | |
| 150 | - | core.LazyRegister(&xBoxGetDepth, "GRAPHENE", "graphene_box_get_depth", false) | |
| 151 | - | ||
| 152 | 130 | cret := xBoxGetDepth(x.GoPointer()) | |
| 153 | 131 | return cret | |
| 154 | 132 | } | |
| @@ -157,8 +135,6 @@ var xBoxGetHeight func(uintptr) float32 | |||
| 157 | 135 | ||
| 158 | 136 | // Retrieves the size of the @box on the Y axis. | |
| 159 | 137 | func (x *Box) GetHeight() float32 { | |
| 160 | - | core.LazyRegister(&xBoxGetHeight, "GRAPHENE", "graphene_box_get_height", false) | |
| 161 | - | ||
| 162 | 138 | cret := xBoxGetHeight(x.GoPointer()) | |
| 163 | 139 | return cret | |
| 164 | 140 | } | |
| @@ -168,8 +144,6 @@ var xBoxGetMax func(uintptr, *Point3D) | |||
| 168 | 144 | // Retrieves the coordinates of the maximum point of the given | |
| 169 | 145 | // #graphene_box_t. | |
| 170 | 146 | func (x *Box) GetMax(MaxVar *Point3D) { | |
| 171 | - | core.LazyRegister(&xBoxGetMax, "GRAPHENE", "graphene_box_get_max", false) | |
| 172 | - | ||
| 173 | 147 | xBoxGetMax(x.GoPointer(), MaxVar) | |
| 174 | 148 | } | |
| 175 | 149 | ||
| @@ -178,8 +152,6 @@ var xBoxGetMin func(uintptr, *Point3D) | |||
| 178 | 152 | // Retrieves the coordinates of the minimum point of the given | |
| 179 | 153 | // #graphene_box_t. | |
| 180 | 154 | func (x *Box) GetMin(MinVar *Point3D) { | |
| 181 | - | core.LazyRegister(&xBoxGetMin, "GRAPHENE", "graphene_box_get_min", false) | |
| 182 | - | ||
| 183 | 155 | xBoxGetMin(x.GoPointer(), MinVar) | |
| 184 | 156 | } | |
| 185 | 157 | ||
| @@ -188,8 +160,6 @@ var xBoxGetSize func(uintptr, *Vec3) | |||
| 188 | 160 | // Retrieves the size of the box on all three axes, and stores | |
| 189 | 161 | // it into the given @size vector. | |
| 190 | 162 | func (x *Box) GetSize(SizeVar *Vec3) { | |
| 191 | - | core.LazyRegister(&xBoxGetSize, "GRAPHENE", "graphene_box_get_size", false) | |
| 192 | - | ||
| 193 | 163 | xBoxGetSize(x.GoPointer(), SizeVar) | |
| 194 | 164 | } | |
| 195 | 165 | ||
| @@ -197,8 +167,6 @@ var xBoxGetVertices func(uintptr, *[8]Vec3) | |||
| 197 | 167 | ||
| 198 | 168 | // Computes the vertices of the given #graphene_box_t. | |
| 199 | 169 | func (x *Box) GetVertices(VerticesVar *[8]Vec3) { | |
| 200 | - | core.LazyRegister(&xBoxGetVertices, "GRAPHENE", "graphene_box_get_vertices", false) | |
| 201 | - | ||
| 202 | 170 | xBoxGetVertices(x.GoPointer(), VerticesVar) | |
| 203 | 171 | } | |
| 204 | 172 | ||
| @@ -206,8 +174,6 @@ var xBoxGetWidth func(uintptr) float32 | |||
| 206 | 174 | ||
| 207 | 175 | // Retrieves the size of the @box on the X axis. | |
| 208 | 176 | func (x *Box) GetWidth() float32 { | |
| 209 | - | core.LazyRegister(&xBoxGetWidth, "GRAPHENE", "graphene_box_get_width", false) | |
| 210 | - | ||
| 211 | 177 | cret := xBoxGetWidth(x.GoPointer()) | |
| 212 | 178 | return cret | |
| 213 | 179 | } | |
| @@ -216,8 +182,6 @@ var xBoxInit func(uintptr, *Point3D, *Point3D) uintptr | |||
| 216 | 182 | ||
| 217 | 183 | // Initializes the given #graphene_box_t with two vertices. | |
| 218 | 184 | func (x *Box) Init(MinVar *Point3D, MaxVar *Point3D) *Box { | |
| 219 | - | core.LazyRegister(&xBoxInit, "GRAPHENE", "graphene_box_init", false) | |
| 220 | - | ||
| 221 | 185 | cret := xBoxInit(x.GoPointer(), MinVar, MaxVar) | |
| 222 | 186 | if cret == 0 { | |
| 223 | 187 | return nil | |
| @@ -230,8 +194,6 @@ var xBoxInitFromBox func(uintptr, *Box) uintptr | |||
| 230 | 194 | // Initializes the given #graphene_box_t with the vertices of | |
| 231 | 195 | // another #graphene_box_t. | |
| 232 | 196 | func (x *Box) InitFromBox(SrcVar *Box) *Box { | |
| 233 | - | core.LazyRegister(&xBoxInitFromBox, "GRAPHENE", "graphene_box_init_from_box", false) | |
| 234 | - | ||
| 235 | 197 | cret := xBoxInitFromBox(x.GoPointer(), SrcVar) | |
| 236 | 198 | if cret == 0 { | |
| 237 | 199 | return nil | |
| @@ -247,8 +209,6 @@ var xBoxInitFromPoints func(uintptr, uint, []Point3D) uintptr | |||
| 247 | 209 | // If @n_points is 0, the returned box is initialized with | |
| 248 | 210 | // graphene_box_empty(). | |
| 249 | 211 | func (x *Box) InitFromPoints(NPointsVar uint, PointsVar []Point3D) *Box { | |
| 250 | - | core.LazyRegister(&xBoxInitFromPoints, "GRAPHENE", "graphene_box_init_from_points", false) | |
| 251 | - | ||
| 252 | 212 | cret := xBoxInitFromPoints(x.GoPointer(), NPointsVar, PointsVar) | |
| 253 | 213 | if cret == 0 { | |
| 254 | 214 | return nil | |
| @@ -261,8 +221,6 @@ var xBoxInitFromVec3 func(uintptr, *Vec3, *Vec3) uintptr | |||
| 261 | 221 | // Initializes the given #graphene_box_t with two vertices | |
| 262 | 222 | // stored inside #graphene_vec3_t. | |
| 263 | 223 | func (x *Box) InitFromVec3(MinVar *Vec3, MaxVar *Vec3) *Box { | |
| 264 | - | core.LazyRegister(&xBoxInitFromVec3, "GRAPHENE", "graphene_box_init_from_vec3", false) | |
| 265 | - | ||
| 266 | 224 | cret := xBoxInitFromVec3(x.GoPointer(), MinVar, MaxVar) | |
| 267 | 225 | if cret == 0 { | |
| 268 | 226 | return nil | |
| @@ -278,8 +236,6 @@ var xBoxInitFromVectors func(uintptr, uint, []Vec3) uintptr | |||
| 278 | 236 | // If @n_vectors is 0, the returned box is initialized with | |
| 279 | 237 | // graphene_box_empty(). | |
| 280 | 238 | func (x *Box) InitFromVectors(NVectorsVar uint, VectorsVar []Vec3) *Box { | |
| 281 | - | core.LazyRegister(&xBoxInitFromVectors, "GRAPHENE", "graphene_box_init_from_vectors", false) | |
| 282 | - | ||
| 283 | 239 | cret := xBoxInitFromVectors(x.GoPointer(), NVectorsVar, VectorsVar) | |
| 284 | 240 | if cret == 0 { | |
| 285 | 241 | return nil | |
| @@ -294,8 +250,6 @@ var xBoxIntersection func(uintptr, *Box, *Box) bool | |||
| 294 | 250 | // If the two boxes do not intersect, @res will contain a degenerate box | |
| 295 | 251 | // initialized with graphene_box_empty(). | |
| 296 | 252 | func (x *Box) Intersection(BVar *Box, ResVar *Box) bool { | |
| 297 | - | core.LazyRegister(&xBoxIntersection, "GRAPHENE", "graphene_box_intersection", false) | |
| 298 | - | ||
| 299 | 253 | cret := xBoxIntersection(x.GoPointer(), BVar, ResVar) | |
| 300 | 254 | return cret | |
| 301 | 255 | } | |
| @@ -304,8 +258,6 @@ var xBoxUnion func(uintptr, *Box, *Box) | |||
| 304 | 258 | ||
| 305 | 259 | // Unions the two given #graphene_box_t. | |
| 306 | 260 | func (x *Box) Union(BVar *Box, ResVar *Box) { | |
| 307 | - | core.LazyRegister(&xBoxUnion, "GRAPHENE", "graphene_box_union", false) | |
| 308 | - | ||
| 309 | 261 | xBoxUnion(x.GoPointer(), BVar, ResVar) | |
| 310 | 262 | } | |
| 311 | 263 | ||
| @@ -315,8 +267,6 @@ var xBoxEmpty func() uintptr | |||
| 315 | 267 | // | |
| 316 | 268 | // The returned value is owned by Graphene and should not be modified or freed. | |
| 317 | 269 | func BoxEmpty() *Box { | |
| 318 | - | core.LazyRegister(&xBoxEmpty, "GRAPHENE", "graphene_box_empty", false) | |
| 319 | - | ||
| 320 | 270 | cret := xBoxEmpty() | |
| 321 | 271 | if cret == 0 { | |
| 322 | 272 | return nil | |
| @@ -330,8 +280,6 @@ var xBoxInfinite func() uintptr | |||
| 330 | 280 | // | |
| 331 | 281 | // The returned value is owned by Graphene and should not be modified or freed. | |
| 332 | 282 | func BoxInfinite() *Box { | |
| 333 | - | core.LazyRegister(&xBoxInfinite, "GRAPHENE", "graphene_box_infinite", false) | |
| 334 | - | ||
| 335 | 283 | cret := xBoxInfinite() | |
| 336 | 284 | if cret == 0 { | |
| 337 | 285 | return nil | |
| @@ -346,8 +294,6 @@ var xBoxMinusOne func() uintptr | |||
| 346 | 294 | // | |
| 347 | 295 | // The returned value is owned by Graphene and should not be modified or freed. | |
| 348 | 296 | func BoxMinusOne() *Box { | |
| 349 | - | core.LazyRegister(&xBoxMinusOne, "GRAPHENE", "graphene_box_minus_one", false) | |
| 350 | - | ||
| 351 | 297 | cret := xBoxMinusOne() | |
| 352 | 298 | if cret == 0 { | |
| 353 | 299 | return nil | |
| @@ -362,8 +308,6 @@ var xBoxOne func() uintptr | |||
| 362 | 308 | // | |
| 363 | 309 | // The returned value is owned by Graphene and should not be modified or freed. | |
| 364 | 310 | func BoxOne() *Box { | |
| 365 | - | core.LazyRegister(&xBoxOne, "GRAPHENE", "graphene_box_one", false) | |
| 366 | - | ||
| 367 | 311 | cret := xBoxOne() | |
| 368 | 312 | if cret == 0 { | |
| 369 | 313 | return nil | |
| @@ -378,8 +322,6 @@ var xBoxOneMinusOne func() uintptr | |||
| 378 | 322 | // | |
| 379 | 323 | // The returned value is owned by Graphene and should not be modified or freed. | |
| 380 | 324 | func BoxOneMinusOne() *Box { | |
| 381 | - | core.LazyRegister(&xBoxOneMinusOne, "GRAPHENE", "graphene_box_one_minus_one", false) | |
| 382 | - | ||
| 383 | 325 | cret := xBoxOneMinusOne() | |
| 384 | 326 | if cret == 0 { | |
| 385 | 327 | return nil | |
| @@ -393,8 +335,6 @@ var xBoxZero func() uintptr | |||
| 393 | 335 | // | |
| 394 | 336 | // The returned value is owned by Graphene and should not be modified or freed. | |
| 395 | 337 | func BoxZero() *Box { | |
| 396 | - | core.LazyRegister(&xBoxZero, "GRAPHENE", "graphene_box_zero", false) | |
| 397 | - | ||
| 398 | 338 | cret := xBoxZero() | |
| 399 | 339 | if cret == 0 { | |
| 400 | 340 | return nil | |
| @@ -405,4 +345,47 @@ func BoxZero() *Box { | |||
| 405 | 345 | func init() { | |
| 406 | 346 | core.SetPackageName("GRAPHENE", "graphene-gobject-1.0") | |
| 407 | 347 | core.SetSharedLibraries("GRAPHENE", []string{"libgraphene-1.0.so.0", "libgraphene-1.0.0.dylib"}) | |
| 348 | + | var libs []uintptr | |
| 349 | + | for _, libPath := range core.GetPaths("GRAPHENE") { | |
| 350 | + | lib, err := purego.Dlopen(libPath, purego.RTLD_NOW|purego.RTLD_GLOBAL) | |
| 351 | + | if err != nil { | |
| 352 | + | panic(err) | |
| 353 | + | } | |
| 354 | + | libs = append(libs, lib) | |
| 355 | + | } | |
| 356 | + | ||
| 357 | + | core.PuregoSafeRegister(&xBoxEmpty, libs, "graphene_box_empty") | |
| 358 | + | core.PuregoSafeRegister(&xBoxInfinite, libs, "graphene_box_infinite") | |
| 359 | + | core.PuregoSafeRegister(&xBoxMinusOne, libs, "graphene_box_minus_one") | |
| 360 | + | core.PuregoSafeRegister(&xBoxOne, libs, "graphene_box_one") | |
| 361 | + | core.PuregoSafeRegister(&xBoxOneMinusOne, libs, "graphene_box_one_minus_one") | |
| 362 | + | core.PuregoSafeRegister(&xBoxZero, libs, "graphene_box_zero") | |
| 363 | + | ||
| 364 | + | core.PuregoSafeRegister(&xBoxGLibType, libs, "graphene_box_get_type") | |
| 365 | + | ||
| 366 | + | core.PuregoSafeRegister(&xBoxAlloc, libs, "graphene_box_alloc") | |
| 367 | + | ||
| 368 | + | core.PuregoSafeRegister(&xBoxContainsBox, libs, "graphene_box_contains_box") | |
| 369 | + | core.PuregoSafeRegister(&xBoxContainsPoint, libs, "graphene_box_contains_point") | |
| 370 | + | core.PuregoSafeRegister(&xBoxEqual, libs, "graphene_box_equal") | |
| 371 | + | core.PuregoSafeRegister(&xBoxExpand, libs, "graphene_box_expand") | |
| 372 | + | core.PuregoSafeRegister(&xBoxExpandScalar, libs, "graphene_box_expand_scalar") | |
| 373 | + | core.PuregoSafeRegister(&xBoxExpandVec3, libs, "graphene_box_expand_vec3") | |
| 374 | + | core.PuregoSafeRegister(&xBoxFree, libs, "graphene_box_free") | |
| 375 | + | core.PuregoSafeRegister(&xBoxGetBoundingSphere, libs, "graphene_box_get_bounding_sphere") | |
| 376 | + | core.PuregoSafeRegister(&xBoxGetCenter, libs, "graphene_box_get_center") | |
| 377 | + | core.PuregoSafeRegister(&xBoxGetDepth, libs, "graphene_box_get_depth") | |
| 378 | + | core.PuregoSafeRegister(&xBoxGetHeight, libs, "graphene_box_get_height") | |
| 379 | + | core.PuregoSafeRegister(&xBoxGetMax, libs, "graphene_box_get_max") | |
| 380 | + | core.PuregoSafeRegister(&xBoxGetMin, libs, "graphene_box_get_min") | |
| 381 | + | core.PuregoSafeRegister(&xBoxGetSize, libs, "graphene_box_get_size") | |
| 382 | + | core.PuregoSafeRegister(&xBoxGetVertices, libs, "graphene_box_get_vertices") | |
| 383 | + | core.PuregoSafeRegister(&xBoxGetWidth, libs, "graphene_box_get_width") | |
| 384 | + | core.PuregoSafeRegister(&xBoxInit, libs, "graphene_box_init") | |
| 385 | + | core.PuregoSafeRegister(&xBoxInitFromBox, libs, "graphene_box_init_from_box") | |
| 386 | + | core.PuregoSafeRegister(&xBoxInitFromPoints, libs, "graphene_box_init_from_points") | |
| 387 | + | core.PuregoSafeRegister(&xBoxInitFromVec3, libs, "graphene_box_init_from_vec3") | |
| 388 | + | core.PuregoSafeRegister(&xBoxInitFromVectors, libs, "graphene_box_init_from_vectors") | |
| 389 | + | core.PuregoSafeRegister(&xBoxIntersection, libs, "graphene_box_intersection") | |
| 390 | + | core.PuregoSafeRegister(&xBoxUnion, libs, "graphene_box_union") | |
| 408 | 391 | } | |
| @@ -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 | ) | ||
| @@ -22,7 +23,6 @@ type Box struct { | |||||
| 22 | var xBoxGLibType func() types.GType | 23 | var xBoxGLibType func() types.GType | ||
| 23 | 24 | ||||
| 24 | func BoxGLibType() types.GType { | 25 | func BoxGLibType() types.GType { | ||
| 25 | - | core.LazyRegister(&xBoxGLibType, "GRAPHENE", "graphene_box_get_type", false) | |||
| 26 | return xBoxGLibType() | 26 | return xBoxGLibType() | ||
| 27 | } | 27 | } | ||
| 28 | 28 | ||||
| @@ -44,8 +44,6 @@ var xBoxAlloc func() uintptr | |||||
| 44 | // | 44 | // | ||
| 45 | // The contents of the returned structure are undefined. | 45 | // The contents of the returned structure are undefined. | ||
| 46 | func BoxAlloc() *Box { | 46 | func BoxAlloc() *Box { | ||
| 47 | - | core.LazyRegister(&xBoxAlloc, "GRAPHENE", "graphene_box_alloc", false) | |||
| 48 | - | ||||
| 49 | cret := xBoxAlloc() | 47 | cret := xBoxAlloc() | ||
| 50 | if cret == 0 { | 48 | if cret == 0 { | ||
| 51 | return nil | 49 | return nil | ||
| @@ -58,8 +56,6 @@ var xBoxContainsBox func(uintptr, *Box) bool | |||||
| 58 | // Checks whether the #graphene_box_t @a contains the given | 56 | // Checks whether the #graphene_box_t @a contains the given | ||
| 59 | // #graphene_box_t @b. | 57 | // #graphene_box_t @b. | ||
| 60 | func (x *Box) ContainsBox(BVar *Box) bool { | 58 | func (x *Box) ContainsBox(BVar *Box) bool { | ||
| 61 | - | core.LazyRegister(&xBoxContainsBox, "GRAPHENE", "graphene_box_contains_box", false) | |||
| 62 | - | ||||
| 63 | cret := xBoxContainsBox(x.GoPointer(), BVar) | 59 | cret := xBoxContainsBox(x.GoPointer(), BVar) | ||
| 64 | return cret | 60 | return cret | ||
| 65 | } | 61 | } | ||
| @@ -68,8 +64,6 @@ var xBoxContainsPoint func(uintptr, *Point3D) bool | |||||
| 68 | 64 | ||||
| 69 | // Checks whether @box contains the given @point. | 65 | // Checks whether @box contains the given @point. | ||
| 70 | func (x *Box) ContainsPoint(PointVar *Point3D) bool { | 66 | func (x *Box) ContainsPoint(PointVar *Point3D) bool { | ||
| 71 | - | core.LazyRegister(&xBoxContainsPoint, "GRAPHENE", "graphene_box_contains_point", false) | |||
| 72 | - | ||||
| 73 | cret := xBoxContainsPoint(x.GoPointer(), PointVar) | 67 | cret := xBoxContainsPoint(x.GoPointer(), PointVar) | ||
| 74 | return cret | 68 | return cret | ||
| 75 | } | 69 | } | ||
| @@ -78,8 +72,6 @@ var xBoxEqual func(uintptr, *Box) bool | |||||
| 78 | 72 | ||||
| 79 | // Checks whether the two given boxes are equal. | 73 | // Checks whether the two given boxes are equal. | ||
| 80 | func (x *Box) Equal(BVar *Box) bool { | 74 | func (x *Box) Equal(BVar *Box) bool { | ||
| 81 | - | core.LazyRegister(&xBoxEqual, "GRAPHENE", "graphene_box_equal", false) | |||
| 82 | - | ||||
| 83 | cret := xBoxEqual(x.GoPointer(), BVar) | 75 | cret := xBoxEqual(x.GoPointer(), BVar) | ||
| 84 | return cret | 76 | return cret | ||
| 85 | } | 77 | } | ||
| @@ -88,8 +80,6 @@ var xBoxExpand func(uintptr, *Point3D, *Box) | |||||
| 88 | 80 | ||||
| 89 | // Expands the dimensions of @box to include the coordinates at @point. | 81 | // Expands the dimensions of @box to include the coordinates at @point. | ||
| 90 | func (x *Box) Expand(PointVar *Point3D, ResVar *Box) { | 82 | func (x *Box) Expand(PointVar *Point3D, ResVar *Box) { | ||
| 91 | - | core.LazyRegister(&xBoxExpand, "GRAPHENE", "graphene_box_expand", false) | |||
| 92 | - | ||||
| 93 | xBoxExpand(x.GoPointer(), PointVar, ResVar) | 83 | xBoxExpand(x.GoPointer(), PointVar, ResVar) | ||
| 94 | } | 84 | } | ||
| 95 | 85 | ||||
| @@ -100,8 +90,6 @@ var xBoxExpandScalar func(uintptr, float32, *Box) | |||||
| 100 | // If @scalar is positive, the #graphene_box_t will grow; if @scalar is | 90 | // If @scalar is positive, the #graphene_box_t will grow; if @scalar is | ||
| 101 | // negative, the #graphene_box_t will shrink. | 91 | // negative, the #graphene_box_t will shrink. | ||
| 102 | func (x *Box) ExpandScalar(ScalarVar float32, ResVar *Box) { | 92 | func (x *Box) ExpandScalar(ScalarVar float32, ResVar *Box) { | ||
| 103 | - | core.LazyRegister(&xBoxExpandScalar, "GRAPHENE", "graphene_box_expand_scalar", false) | |||
| 104 | - | ||||
| 105 | xBoxExpandScalar(x.GoPointer(), ScalarVar, ResVar) | 93 | xBoxExpandScalar(x.GoPointer(), ScalarVar, ResVar) | ||
| 106 | } | 94 | } | ||
| 107 | 95 | ||||
| @@ -110,8 +98,6 @@ var xBoxExpandVec3 func(uintptr, *Vec3, *Box) | |||||
| 110 | // Expands the dimensions of @box to include the coordinates of the | 98 | // Expands the dimensions of @box to include the coordinates of the | ||
| 111 | // given vector. | 99 | // given vector. | ||
| 112 | func (x *Box) ExpandVec3(VecVar *Vec3, ResVar *Box) { | 100 | func (x *Box) ExpandVec3(VecVar *Vec3, ResVar *Box) { | ||
| 113 | - | core.LazyRegister(&xBoxExpandVec3, "GRAPHENE", "graphene_box_expand_vec3", false) | |||
| 114 | - | ||||
| 115 | xBoxExpandVec3(x.GoPointer(), VecVar, ResVar) | 101 | xBoxExpandVec3(x.GoPointer(), VecVar, ResVar) | ||
| 116 | } | 102 | } | ||
| 117 | 103 | ||||
| @@ -119,8 +105,6 @@ var xBoxFree func(uintptr) | |||||
| 119 | 105 | ||||
| 120 | // Frees the resources allocated by graphene_box_alloc(). | 106 | // Frees the resources allocated by graphene_box_alloc(). | ||
| 121 | func (x *Box) Free() { | 107 | func (x *Box) Free() { | ||
| 122 | - | core.LazyRegister(&xBoxFree, "GRAPHENE", "graphene_box_free", false) | |||
| 123 | - | ||||
| 124 | xBoxFree(x.GoPointer()) | 108 | xBoxFree(x.GoPointer()) | ||
| 125 | } | 109 | } | ||
| 126 | 110 | ||||
| @@ -129,8 +113,6 @@ var xBoxGetBoundingSphere func(uintptr, *Sphere) | |||||
| 129 | // Computes the bounding #graphene_sphere_t capable of containing the given | 113 | // Computes the bounding #graphene_sphere_t capable of containing the given | ||
| 130 | // #graphene_box_t. | 114 | // #graphene_box_t. | ||
| 131 | func (x *Box) GetBoundingSphere(SphereVar *Sphere) { | 115 | func (x *Box) GetBoundingSphere(SphereVar *Sphere) { | ||
| 132 | - | core.LazyRegister(&xBoxGetBoundingSphere, "GRAPHENE", "graphene_box_get_bounding_sphere", false) | |||
| 133 | - | ||||
| 134 | xBoxGetBoundingSphere(x.GoPointer(), SphereVar) | 116 | xBoxGetBoundingSphere(x.GoPointer(), SphereVar) | ||
| 135 | } | 117 | } | ||
| 136 | 118 | ||||
| @@ -138,8 +120,6 @@ var xBoxGetCenter func(uintptr, *Point3D) | |||||
| 138 | 120 | ||||
| 139 | // Retrieves the coordinates of the center of a #graphene_box_t. | 121 | // Retrieves the coordinates of the center of a #graphene_box_t. | ||
| 140 | func (x *Box) GetCenter(CenterVar *Point3D) { | 122 | func (x *Box) GetCenter(CenterVar *Point3D) { | ||
| 141 | - | core.LazyRegister(&xBoxGetCenter, "GRAPHENE", "graphene_box_get_center", false) | |||
| 142 | - | ||||
| 143 | xBoxGetCenter(x.GoPointer(), CenterVar) | 123 | xBoxGetCenter(x.GoPointer(), CenterVar) | ||
| 144 | } | 124 | } | ||
| 145 | 125 | ||||
| @@ -147,8 +127,6 @@ var xBoxGetDepth func(uintptr) float32 | |||||
| 147 | 127 | ||||
| 148 | // Retrieves the size of the @box on the Z axis. | 128 | // Retrieves the size of the @box on the Z axis. | ||
| 149 | func (x *Box) GetDepth() float32 { | 129 | func (x *Box) GetDepth() float32 { | ||
| 150 | - | core.LazyRegister(&xBoxGetDepth, "GRAPHENE", "graphene_box_get_depth", false) | |||
| 151 | - | ||||
| 152 | cret := xBoxGetDepth(x.GoPointer()) | 130 | cret := xBoxGetDepth(x.GoPointer()) | ||
| 153 | return cret | 131 | return cret | ||
| 154 | } | 132 | } | ||
| @@ -157,8 +135,6 @@ var xBoxGetHeight func(uintptr) float32 | |||||
| 157 | 135 | ||||
| 158 | // Retrieves the size of the @box on the Y axis. | 136 | // Retrieves the size of the @box on the Y axis. | ||
| 159 | func (x *Box) GetHeight() float32 { | 137 | func (x *Box) GetHeight() float32 { | ||
| 160 | - | core.LazyRegister(&xBoxGetHeight, "GRAPHENE", "graphene_box_get_height", false) | |||
| 161 | - | ||||
| 162 | cret := xBoxGetHeight(x.GoPointer()) | 138 | cret := xBoxGetHeight(x.GoPointer()) | ||
| 163 | return cret | 139 | return cret | ||
| 164 | } | 140 | } | ||
| @@ -168,8 +144,6 @@ var xBoxGetMax func(uintptr, *Point3D) | |||||
| 168 | // Retrieves the coordinates of the maximum point of the given | 144 | // Retrieves the coordinates of the maximum point of the given | ||
| 169 | // #graphene_box_t. | 145 | // #graphene_box_t. | ||
| 170 | func (x *Box) GetMax(MaxVar *Point3D) { | 146 | func (x *Box) GetMax(MaxVar *Point3D) { | ||
| 171 | - | core.LazyRegister(&xBoxGetMax, "GRAPHENE", "graphene_box_get_max", false) | |||
| 172 | - | ||||
| 173 | xBoxGetMax(x.GoPointer(), MaxVar) | 147 | xBoxGetMax(x.GoPointer(), MaxVar) | ||
| 174 | } | 148 | } | ||
| 175 | 149 | ||||
| @@ -178,8 +152,6 @@ var xBoxGetMin func(uintptr, *Point3D) | |||||
| 178 | // Retrieves the coordinates of the minimum point of the given | 152 | // Retrieves the coordinates of the minimum point of the given | ||
| 179 | // #graphene_box_t. | 153 | // #graphene_box_t. | ||
| 180 | func (x *Box) GetMin(MinVar *Point3D) { | 154 | func (x *Box) GetMin(MinVar *Point3D) { | ||
| 181 | - | core.LazyRegister(&xBoxGetMin, "GRAPHENE", "graphene_box_get_min", false) | |||
| 182 | - | ||||
| 183 | xBoxGetMin(x.GoPointer(), MinVar) | 155 | xBoxGetMin(x.GoPointer(), MinVar) | ||
| 184 | } | 156 | } | ||
| 185 | 157 | ||||
| @@ -188,8 +160,6 @@ var xBoxGetSize func(uintptr, *Vec3) | |||||
| 188 | // Retrieves the size of the box on all three axes, and stores | 160 | // Retrieves the size of the box on all three axes, and stores | ||
| 189 | // it into the given @size vector. | 161 | // it into the given @size vector. | ||
| 190 | func (x *Box) GetSize(SizeVar *Vec3) { | 162 | func (x *Box) GetSize(SizeVar *Vec3) { | ||
| 191 | - | core.LazyRegister(&xBoxGetSize, "GRAPHENE", "graphene_box_get_size", false) | |||
| 192 | - | ||||
| 193 | xBoxGetSize(x.GoPointer(), SizeVar) | 163 | xBoxGetSize(x.GoPointer(), SizeVar) | ||
| 194 | } | 164 | } | ||
| 195 | 165 | ||||
| @@ -197,8 +167,6 @@ var xBoxGetVertices func(uintptr, *[8]Vec3) | |||||
| 197 | 167 | ||||
| 198 | // Computes the vertices of the given #graphene_box_t. | 168 | // Computes the vertices of the given #graphene_box_t. | ||
| 199 | func (x *Box) GetVertices(VerticesVar *[8]Vec3) { | 169 | func (x *Box) GetVertices(VerticesVar *[8]Vec3) { | ||
| 200 | - | core.LazyRegister(&xBoxGetVertices, "GRAPHENE", "graphene_box_get_vertices", false) | |||
| 201 | - | ||||
| 202 | xBoxGetVertices(x.GoPointer(), VerticesVar) | 170 | xBoxGetVertices(x.GoPointer(), VerticesVar) | ||
| 203 | } | 171 | } | ||
| 204 | 172 | ||||
| @@ -206,8 +174,6 @@ var xBoxGetWidth func(uintptr) float32 | |||||
| 206 | 174 | ||||
| 207 | // Retrieves the size of the @box on the X axis. | 175 | // Retrieves the size of the @box on the X axis. | ||
| 208 | func (x *Box) GetWidth() float32 { | 176 | func (x *Box) GetWidth() float32 { | ||
| 209 | - | core.LazyRegister(&xBoxGetWidth, "GRAPHENE", "graphene_box_get_width", false) | |||
| 210 | - | ||||
| 211 | cret := xBoxGetWidth(x.GoPointer()) | 177 | cret := xBoxGetWidth(x.GoPointer()) | ||
| 212 | return cret | 178 | return cret | ||
| 213 | } | 179 | } | ||
| @@ -216,8 +182,6 @@ var xBoxInit func(uintptr, *Point3D, *Point3D) uintptr | |||||
| 216 | 182 | ||||
| 217 | // Initializes the given #graphene_box_t with two vertices. | 183 | // Initializes the given #graphene_box_t with two vertices. | ||
| 218 | func (x *Box) Init(MinVar *Point3D, MaxVar *Point3D) *Box { | 184 | func (x *Box) Init(MinVar *Point3D, MaxVar *Point3D) *Box { | ||
| 219 | - | core.LazyRegister(&xBoxInit, "GRAPHENE", "graphene_box_init", false) | |||
| 220 | - | ||||
| 221 | cret := xBoxInit(x.GoPointer(), MinVar, MaxVar) | 185 | cret := xBoxInit(x.GoPointer(), MinVar, MaxVar) | ||
| 222 | if cret == 0 { | 186 | if cret == 0 { | ||
| 223 | return nil | 187 | return nil | ||
| @@ -230,8 +194,6 @@ var xBoxInitFromBox func(uintptr, *Box) uintptr | |||||
| 230 | // Initializes the given #graphene_box_t with the vertices of | 194 | // Initializes the given #graphene_box_t with the vertices of | ||
| 231 | // another #graphene_box_t. | 195 | // another #graphene_box_t. | ||
| 232 | func (x *Box) InitFromBox(SrcVar *Box) *Box { | 196 | func (x *Box) InitFromBox(SrcVar *Box) *Box { | ||
| 233 | - | core.LazyRegister(&xBoxInitFromBox, "GRAPHENE", "graphene_box_init_from_box", false) | |||
| 234 | - | ||||
| 235 | cret := xBoxInitFromBox(x.GoPointer(), SrcVar) | 197 | cret := xBoxInitFromBox(x.GoPointer(), SrcVar) | ||
| 236 | if cret == 0 { | 198 | if cret == 0 { | ||
| 237 | return nil | 199 | return nil | ||
| @@ -247,8 +209,6 @@ var xBoxInitFromPoints func(uintptr, uint, []Point3D) uintptr | |||||
| 247 | // If @n_points is 0, the returned box is initialized with | 209 | // If @n_points is 0, the returned box is initialized with | ||
| 248 | // graphene_box_empty(). | 210 | // graphene_box_empty(). | ||
| 249 | func (x *Box) InitFromPoints(NPointsVar uint, PointsVar []Point3D) *Box { | 211 | func (x *Box) InitFromPoints(NPointsVar uint, PointsVar []Point3D) *Box { | ||
| 250 | - | core.LazyRegister(&xBoxInitFromPoints, "GRAPHENE", "graphene_box_init_from_points", false) | |||
| 251 | - | ||||
| 252 | cret := xBoxInitFromPoints(x.GoPointer(), NPointsVar, PointsVar) | 212 | cret := xBoxInitFromPoints(x.GoPointer(), NPointsVar, PointsVar) | ||
| 253 | if cret == 0 { | 213 | if cret == 0 { | ||
| 254 | return nil | 214 | return nil | ||
| @@ -261,8 +221,6 @@ var xBoxInitFromVec3 func(uintptr, *Vec3, *Vec3) uintptr | |||||
| 261 | // Initializes the given #graphene_box_t with two vertices | 221 | // Initializes the given #graphene_box_t with two vertices | ||
| 262 | // stored inside #graphene_vec3_t. | 222 | // stored inside #graphene_vec3_t. | ||
| 263 | func (x *Box) InitFromVec3(MinVar *Vec3, MaxVar *Vec3) *Box { | 223 | func (x *Box) InitFromVec3(MinVar *Vec3, MaxVar *Vec3) *Box { | ||
| 264 | - | core.LazyRegister(&xBoxInitFromVec3, "GRAPHENE", "graphene_box_init_from_vec3", false) | |||
| 265 | - | ||||
| 266 | cret := xBoxInitFromVec3(x.GoPointer(), MinVar, MaxVar) | 224 | cret := xBoxInitFromVec3(x.GoPointer(), MinVar, MaxVar) | ||
| 267 | if cret == 0 { | 225 | if cret == 0 { | ||
| 268 | return nil | 226 | return nil | ||
| @@ -278,8 +236,6 @@ var xBoxInitFromVectors func(uintptr, uint, []Vec3) uintptr | |||||
| 278 | // If @n_vectors is 0, the returned box is initialized with | 236 | // If @n_vectors is 0, the returned box is initialized with | ||
| 279 | // graphene_box_empty(). | 237 | // graphene_box_empty(). | ||
| 280 | func (x *Box) InitFromVectors(NVectorsVar uint, VectorsVar []Vec3) *Box { | 238 | func (x *Box) InitFromVectors(NVectorsVar uint, VectorsVar []Vec3) *Box { | ||
| 281 | - | core.LazyRegister(&xBoxInitFromVectors, "GRAPHENE", "graphene_box_init_from_vectors", false) | |||
| 282 | - | ||||
| 283 | cret := xBoxInitFromVectors(x.GoPointer(), NVectorsVar, VectorsVar) | 239 | cret := xBoxInitFromVectors(x.GoPointer(), NVectorsVar, VectorsVar) | ||
| 284 | if cret == 0 { | 240 | if cret == 0 { | ||
| 285 | return nil | 241 | return nil | ||
| @@ -294,8 +250,6 @@ var xBoxIntersection func(uintptr, *Box, *Box) bool | |||||
| 294 | // If the two boxes do not intersect, @res will contain a degenerate box | 250 | // If the two boxes do not intersect, @res will contain a degenerate box | ||
| 295 | // initialized with graphene_box_empty(). | 251 | // initialized with graphene_box_empty(). | ||
| 296 | func (x *Box) Intersection(BVar *Box, ResVar *Box) bool { | 252 | func (x *Box) Intersection(BVar *Box, ResVar *Box) bool { | ||
| 297 | - | core.LazyRegister(&xBoxIntersection, "GRAPHENE", "graphene_box_intersection", false) | |||
| 298 | - | ||||
| 299 | cret := xBoxIntersection(x.GoPointer(), BVar, ResVar) | 253 | cret := xBoxIntersection(x.GoPointer(), BVar, ResVar) | ||
| 300 | return cret | 254 | return cret | ||
| 301 | } | 255 | } | ||
| @@ -304,8 +258,6 @@ var xBoxUnion func(uintptr, *Box, *Box) | |||||
| 304 | 258 | ||||
| 305 | // Unions the two given #graphene_box_t. | 259 | // Unions the two given #graphene_box_t. | ||
| 306 | func (x *Box) Union(BVar *Box, ResVar *Box) { | 260 | func (x *Box) Union(BVar *Box, ResVar *Box) { | ||
| 307 | - | core.LazyRegister(&xBoxUnion, "GRAPHENE", "graphene_box_union", false) | |||
| 308 | - | ||||
| 309 | xBoxUnion(x.GoPointer(), BVar, ResVar) | 261 | xBoxUnion(x.GoPointer(), BVar, ResVar) | ||
| 310 | } | 262 | } | ||
| 311 | 263 | ||||
| @@ -315,8 +267,6 @@ var xBoxEmpty func() uintptr | |||||
| 315 | // | 267 | // | ||
| 316 | // The returned value is owned by Graphene and should not be modified or freed. | 268 | // The returned value is owned by Graphene and should not be modified or freed. | ||
| 317 | func BoxEmpty() *Box { | 269 | func BoxEmpty() *Box { | ||
| 318 | - | core.LazyRegister(&xBoxEmpty, "GRAPHENE", "graphene_box_empty", false) | |||
| 319 | - | ||||
| 320 | cret := xBoxEmpty() | 270 | cret := xBoxEmpty() | ||
| 321 | if cret == 0 { | 271 | if cret == 0 { | ||
| 322 | return nil | 272 | return nil | ||
| @@ -330,8 +280,6 @@ var xBoxInfinite func() uintptr | |||||
| 330 | // | 280 | // | ||
| 331 | // The returned value is owned by Graphene and should not be modified or freed. | 281 | // The returned value is owned by Graphene and should not be modified or freed. | ||
| 332 | func BoxInfinite() *Box { | 282 | func BoxInfinite() *Box { | ||
| 333 | - | core.LazyRegister(&xBoxInfinite, "GRAPHENE", "graphene_box_infinite", false) | |||
| 334 | - | ||||
| 335 | cret := xBoxInfinite() | 283 | cret := xBoxInfinite() | ||
| 336 | if cret == 0 { | 284 | if cret == 0 { | ||
| 337 | return nil | 285 | return nil | ||
| @@ -346,8 +294,6 @@ var xBoxMinusOne func() uintptr | |||||
| 346 | // | 294 | // | ||
| 347 | // The returned value is owned by Graphene and should not be modified or freed. | 295 | // The returned value is owned by Graphene and should not be modified or freed. | ||
| 348 | func BoxMinusOne() *Box { | 296 | func BoxMinusOne() *Box { | ||
| 349 | - | core.LazyRegister(&xBoxMinusOne, "GRAPHENE", "graphene_box_minus_one", false) | |||
| 350 | - | ||||
| 351 | cret := xBoxMinusOne() | 297 | cret := xBoxMinusOne() | ||
| 352 | if cret == 0 { | 298 | if cret == 0 { | ||
| 353 | return nil | 299 | return nil | ||
| @@ -362,8 +308,6 @@ var xBoxOne func() uintptr | |||||
| 362 | // | 308 | // | ||
| 363 | // The returned value is owned by Graphene and should not be modified or freed. | 309 | // The returned value is owned by Graphene and should not be modified or freed. | ||
| 364 | func BoxOne() *Box { | 310 | func BoxOne() *Box { | ||
| 365 | - | core.LazyRegister(&xBoxOne, "GRAPHENE", "graphene_box_one", false) | |||
| 366 | - | ||||
| 367 | cret := xBoxOne() | 311 | cret := xBoxOne() | ||
| 368 | if cret == 0 { | 312 | if cret == 0 { | ||
| 369 | return nil | 313 | return nil | ||
| @@ -378,8 +322,6 @@ var xBoxOneMinusOne func() uintptr | |||||
| 378 | // | 322 | // | ||
| 379 | // The returned value is owned by Graphene and should not be modified or freed. | 323 | // The returned value is owned by Graphene and should not be modified or freed. | ||
| 380 | func BoxOneMinusOne() *Box { | 324 | func BoxOneMinusOne() *Box { | ||
| 381 | - | core.LazyRegister(&xBoxOneMinusOne, "GRAPHENE", "graphene_box_one_minus_one", false) | |||
| 382 | - | ||||
| 383 | cret := xBoxOneMinusOne() | 325 | cret := xBoxOneMinusOne() | ||
| 384 | if cret == 0 { | 326 | if cret == 0 { | ||
| 385 | return nil | 327 | return nil | ||
| @@ -393,8 +335,6 @@ var xBoxZero func() uintptr | |||||
| 393 | // | 335 | // | ||
| 394 | // The returned value is owned by Graphene and should not be modified or freed. | 336 | // The returned value is owned by Graphene and should not be modified or freed. | ||
| 395 | func BoxZero() *Box { | 337 | func BoxZero() *Box { | ||
| 396 | - | core.LazyRegister(&xBoxZero, "GRAPHENE", "graphene_box_zero", false) | |||
| 397 | - | ||||
| 398 | cret := xBoxZero() | 338 | cret := xBoxZero() | ||
| 399 | if cret == 0 { | 339 | if cret == 0 { | ||
| 400 | return nil | 340 | return nil | ||
| @@ -405,4 +345,47 @@ func BoxZero() *Box { | |||||
| 405 | func init() { | 345 | func init() { | ||
| 406 | core.SetPackageName("GRAPHENE", "graphene-gobject-1.0") | 346 | core.SetPackageName("GRAPHENE", "graphene-gobject-1.0") | ||
| 407 | core.SetSharedLibraries("GRAPHENE", []string{"libgraphene-1.0.so.0", "libgraphene-1.0.0.dylib"}) | 347 | core.SetSharedLibraries("GRAPHENE", []string{"libgraphene-1.0.so.0", "libgraphene-1.0.0.dylib"}) | ||
| 348 | + | var libs []uintptr | |||
| 349 | + | for _, libPath := range core.GetPaths("GRAPHENE") { | |||
| 350 | + | lib, err := purego.Dlopen(libPath, purego.RTLD_NOW|purego.RTLD_GLOBAL) | |||
| 351 | + | if err != nil { | |||
| 352 | + | panic(err) | |||
| 353 | + | } | |||
| 354 | + | libs = append(libs, lib) | |||
| 355 | + | } | |||
| 356 | + | ||||
| 357 | + | core.PuregoSafeRegister(&xBoxEmpty, libs, "graphene_box_empty") | |||
| 358 | + | core.PuregoSafeRegister(&xBoxInfinite, libs, "graphene_box_infinite") | |||
| 359 | + | core.PuregoSafeRegister(&xBoxMinusOne, libs, "graphene_box_minus_one") | |||
| 360 | + | core.PuregoSafeRegister(&xBoxOne, libs, "graphene_box_one") | |||
| 361 | + | core.PuregoSafeRegister(&xBoxOneMinusOne, libs, "graphene_box_one_minus_one") | |||
| 362 | + | core.PuregoSafeRegister(&xBoxZero, libs, "graphene_box_zero") | |||
| 363 | + | ||||
| 364 | + | core.PuregoSafeRegister(&xBoxGLibType, libs, "graphene_box_get_type") | |||
| 365 | + | ||||
| 366 | + | core.PuregoSafeRegister(&xBoxAlloc, libs, "graphene_box_alloc") | |||
| 367 | + | ||||
| 368 | + | core.PuregoSafeRegister(&xBoxContainsBox, libs, "graphene_box_contains_box") | |||
| 369 | + | core.PuregoSafeRegister(&xBoxContainsPoint, libs, "graphene_box_contains_point") | |||
| 370 | + | core.PuregoSafeRegister(&xBoxEqual, libs, "graphene_box_equal") | |||
| 371 | + | core.PuregoSafeRegister(&xBoxExpand, libs, "graphene_box_expand") | |||
| 372 | + | core.PuregoSafeRegister(&xBoxExpandScalar, libs, "graphene_box_expand_scalar") | |||
| 373 | + | core.PuregoSafeRegister(&xBoxExpandVec3, libs, "graphene_box_expand_vec3") | |||
| 374 | + | core.PuregoSafeRegister(&xBoxFree, libs, "graphene_box_free") | |||
| 375 | + | core.PuregoSafeRegister(&xBoxGetBoundingSphere, libs, "graphene_box_get_bounding_sphere") | |||
| 376 | + | core.PuregoSafeRegister(&xBoxGetCenter, libs, "graphene_box_get_center") | |||
| 377 | + | core.PuregoSafeRegister(&xBoxGetDepth, libs, "graphene_box_get_depth") | |||
| 378 | + | core.PuregoSafeRegister(&xBoxGetHeight, libs, "graphene_box_get_height") | |||
| 379 | + | core.PuregoSafeRegister(&xBoxGetMax, libs, "graphene_box_get_max") | |||
| 380 | + | core.PuregoSafeRegister(&xBoxGetMin, libs, "graphene_box_get_min") | |||
| 381 | + | core.PuregoSafeRegister(&xBoxGetSize, libs, "graphene_box_get_size") | |||
| 382 | + | core.PuregoSafeRegister(&xBoxGetVertices, libs, "graphene_box_get_vertices") | |||
| 383 | + | core.PuregoSafeRegister(&xBoxGetWidth, libs, "graphene_box_get_width") | |||
| 384 | + | core.PuregoSafeRegister(&xBoxInit, libs, "graphene_box_init") | |||
| 385 | + | core.PuregoSafeRegister(&xBoxInitFromBox, libs, "graphene_box_init_from_box") | |||
| 386 | + | core.PuregoSafeRegister(&xBoxInitFromPoints, libs, "graphene_box_init_from_points") | |||
| 387 | + | core.PuregoSafeRegister(&xBoxInitFromVec3, libs, "graphene_box_init_from_vec3") | |||
| 388 | + | core.PuregoSafeRegister(&xBoxInitFromVectors, libs, "graphene_box_init_from_vectors") | |||
| 389 | + | core.PuregoSafeRegister(&xBoxIntersection, libs, "graphene_box_intersection") | |||
| 390 | + | core.PuregoSafeRegister(&xBoxUnion, libs, "graphene_box_union") | |||
| 408 | } | 391 | } | ||