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 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 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/graphene/graphene-size.go +22 -17 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/graphene/graphene-sphere.go +26 -27 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/graphene/graphene-triangle.go +29 -33 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/graphene/graphene-vec2.go +40 -53 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/graphene/graphene-vec3.go +48 -69
| @@ -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 Vec3 struct { | |||
| 22 | 23 | var xVec3GLibType func() types.GType | |
| 23 | 24 | ||
| 24 | 25 | func Vec3GLibType() types.GType { | |
| 25 | - | core.LazyRegister(&xVec3GLibType, "GRAPHENE", "graphene_vec3_get_type", false) | |
| 26 | 26 | return xVec3GLibType() | |
| 27 | 27 | } | |
| 28 | 28 | ||
| @@ -46,8 +46,6 @@ var xVec3Alloc func() uintptr | |||
| 46 | 46 | // | |
| 47 | 47 | // Use graphene_vec3_init() to initialize the vector. | |
| 48 | 48 | func Vec3Alloc() *Vec3 { | |
| 49 | - | core.LazyRegister(&xVec3Alloc, "GRAPHENE", "graphene_vec3_alloc", false) | |
| 50 | - | ||
| 51 | 49 | cret := xVec3Alloc() | |
| 52 | 50 | if cret == 0 { | |
| 53 | 51 | return nil | |
| @@ -59,8 +57,6 @@ var xVec3Add func(uintptr, *Vec3, *Vec3) | |||
| 59 | 57 | ||
| 60 | 58 | // Adds each component of the two given vectors. | |
| 61 | 59 | func (x *Vec3) Add(BVar *Vec3, ResVar *Vec3) { | |
| 62 | - | core.LazyRegister(&xVec3Add, "GRAPHENE", "graphene_vec3_add", false) | |
| 63 | - | ||
| 64 | 60 | xVec3Add(x.GoPointer(), BVar, ResVar) | |
| 65 | 61 | } | |
| 66 | 62 | ||
| @@ -68,8 +64,6 @@ var xVec3Cross func(uintptr, *Vec3, *Vec3) | |||
| 68 | 64 | ||
| 69 | 65 | // Computes the cross product of the two given vectors. | |
| 70 | 66 | func (x *Vec3) Cross(BVar *Vec3, ResVar *Vec3) { | |
| 71 | - | core.LazyRegister(&xVec3Cross, "GRAPHENE", "graphene_vec3_cross", false) | |
| 72 | - | ||
| 73 | 67 | xVec3Cross(x.GoPointer(), BVar, ResVar) | |
| 74 | 68 | } | |
| 75 | 69 | ||
| @@ -79,8 +73,6 @@ var xVec3Divide func(uintptr, *Vec3, *Vec3) | |||
| 79 | 73 | // component of the second operand @b, and places the results into the | |
| 80 | 74 | // vector @res. | |
| 81 | 75 | func (x *Vec3) Divide(BVar *Vec3, ResVar *Vec3) { | |
| 82 | - | core.LazyRegister(&xVec3Divide, "GRAPHENE", "graphene_vec3_divide", false) | |
| 83 | - | ||
| 84 | 76 | xVec3Divide(x.GoPointer(), BVar, ResVar) | |
| 85 | 77 | } | |
| 86 | 78 | ||
| @@ -88,8 +80,6 @@ var xVec3Dot func(uintptr, *Vec3) float32 | |||
| 88 | 80 | ||
| 89 | 81 | // Computes the dot product of the two given vectors. | |
| 90 | 82 | func (x *Vec3) Dot(BVar *Vec3) float32 { | |
| 91 | - | core.LazyRegister(&xVec3Dot, "GRAPHENE", "graphene_vec3_dot", false) | |
| 92 | - | ||
| 93 | 83 | cret := xVec3Dot(x.GoPointer(), BVar) | |
| 94 | 84 | return cret | |
| 95 | 85 | } | |
| @@ -98,8 +88,6 @@ var xVec3Equal func(uintptr, *Vec3) bool | |||
| 98 | 88 | ||
| 99 | 89 | // Checks whether the two given #graphene_vec3_t are equal. | |
| 100 | 90 | func (x *Vec3) Equal(V2Var *Vec3) bool { | |
| 101 | - | core.LazyRegister(&xVec3Equal, "GRAPHENE", "graphene_vec3_equal", false) | |
| 102 | - | ||
| 103 | 91 | cret := xVec3Equal(x.GoPointer(), V2Var) | |
| 104 | 92 | return cret | |
| 105 | 93 | } | |
| @@ -108,8 +96,6 @@ var xVec3Free func(uintptr) | |||
| 108 | 96 | ||
| 109 | 97 | // Frees the resources allocated by @v | |
| 110 | 98 | func (x *Vec3) Free() { | |
| 111 | - | core.LazyRegister(&xVec3Free, "GRAPHENE", "graphene_vec3_free", false) | |
| 112 | - | ||
| 113 | 99 | xVec3Free(x.GoPointer()) | |
| 114 | 100 | } | |
| 115 | 101 | ||
| @@ -117,8 +103,6 @@ var xVec3GetX func(uintptr) float32 | |||
| 117 | 103 | ||
| 118 | 104 | // Retrieves the first component of the given vector @v. | |
| 119 | 105 | func (x *Vec3) GetX() float32 { | |
| 120 | - | core.LazyRegister(&xVec3GetX, "GRAPHENE", "graphene_vec3_get_x", false) | |
| 121 | - | ||
| 122 | 106 | cret := xVec3GetX(x.GoPointer()) | |
| 123 | 107 | return cret | |
| 124 | 108 | } | |
| @@ -128,8 +112,6 @@ var xVec3GetXy func(uintptr, *Vec2) | |||
| 128 | 112 | // Creates a #graphene_vec2_t that contains the first and second | |
| 129 | 113 | // components of the given #graphene_vec3_t. | |
| 130 | 114 | func (x *Vec3) GetXy(ResVar *Vec2) { | |
| 131 | - | core.LazyRegister(&xVec3GetXy, "GRAPHENE", "graphene_vec3_get_xy", false) | |
| 132 | - | ||
| 133 | 115 | xVec3GetXy(x.GoPointer(), ResVar) | |
| 134 | 116 | } | |
| 135 | 117 | ||
| @@ -138,8 +120,6 @@ var xVec3GetXy0 func(uintptr, *Vec3) | |||
| 138 | 120 | // Creates a #graphene_vec3_t that contains the first two components of | |
| 139 | 121 | // the given #graphene_vec3_t, and the third component set to 0. | |
| 140 | 122 | func (x *Vec3) GetXy0(ResVar *Vec3) { | |
| 141 | - | core.LazyRegister(&xVec3GetXy0, "GRAPHENE", "graphene_vec3_get_xy0", false) | |
| 142 | - | ||
| 143 | 123 | xVec3GetXy0(x.GoPointer(), ResVar) | |
| 144 | 124 | } | |
| 145 | 125 | ||
| @@ -148,8 +128,6 @@ var xVec3GetXyz0 func(uintptr, *Vec4) | |||
| 148 | 128 | // Converts a #graphene_vec3_t in a #graphene_vec4_t using 0.0 | |
| 149 | 129 | // as the value for the fourth component of the resulting vector. | |
| 150 | 130 | func (x *Vec3) GetXyz0(ResVar *Vec4) { | |
| 151 | - | core.LazyRegister(&xVec3GetXyz0, "GRAPHENE", "graphene_vec3_get_xyz0", false) | |
| 152 | - | ||
| 153 | 131 | xVec3GetXyz0(x.GoPointer(), ResVar) | |
| 154 | 132 | } | |
| 155 | 133 | ||
| @@ -158,8 +136,6 @@ var xVec3GetXyz1 func(uintptr, *Vec4) | |||
| 158 | 136 | // Converts a #graphene_vec3_t in a #graphene_vec4_t using 1.0 | |
| 159 | 137 | // as the value for the fourth component of the resulting vector. | |
| 160 | 138 | func (x *Vec3) GetXyz1(ResVar *Vec4) { | |
| 161 | - | core.LazyRegister(&xVec3GetXyz1, "GRAPHENE", "graphene_vec3_get_xyz1", false) | |
| 162 | - | ||
| 163 | 139 | xVec3GetXyz1(x.GoPointer(), ResVar) | |
| 164 | 140 | } | |
| 165 | 141 | ||
| @@ -168,8 +144,6 @@ var xVec3GetXyzw func(uintptr, float32, *Vec4) | |||
| 168 | 144 | // Converts a #graphene_vec3_t in a #graphene_vec4_t using @w as | |
| 169 | 145 | // the value of the fourth component of the resulting vector. | |
| 170 | 146 | func (x *Vec3) GetXyzw(WVar float32, ResVar *Vec4) { | |
| 171 | - | core.LazyRegister(&xVec3GetXyzw, "GRAPHENE", "graphene_vec3_get_xyzw", false) | |
| 172 | - | ||
| 173 | 147 | xVec3GetXyzw(x.GoPointer(), WVar, ResVar) | |
| 174 | 148 | } | |
| 175 | 149 | ||
| @@ -177,8 +151,6 @@ var xVec3GetY func(uintptr) float32 | |||
| 177 | 151 | ||
| 178 | 152 | // Retrieves the second component of the given vector @v. | |
| 179 | 153 | func (x *Vec3) GetY() float32 { | |
| 180 | - | core.LazyRegister(&xVec3GetY, "GRAPHENE", "graphene_vec3_get_y", false) | |
| 181 | - | ||
| 182 | 154 | cret := xVec3GetY(x.GoPointer()) | |
| 183 | 155 | return cret | |
| 184 | 156 | } | |
| @@ -187,8 +159,6 @@ var xVec3GetZ func(uintptr) float32 | |||
| 187 | 159 | ||
| 188 | 160 | // Retrieves the third component of the given vector @v. | |
| 189 | 161 | func (x *Vec3) GetZ() float32 { | |
| 190 | - | core.LazyRegister(&xVec3GetZ, "GRAPHENE", "graphene_vec3_get_z", false) | |
| 191 | - | ||
| 192 | 162 | cret := xVec3GetZ(x.GoPointer()) | |
| 193 | 163 | return cret | |
| 194 | 164 | } | |
| @@ -199,8 +169,6 @@ var xVec3Init func(uintptr, float32, float32, float32) uintptr | |||
| 199 | 169 | // | |
| 200 | 170 | // This function can be called multiple times. | |
| 201 | 171 | func (x *Vec3) Init(XVar float32, YVar float32, ZVar float32) *Vec3 { | |
| 202 | - | core.LazyRegister(&xVec3Init, "GRAPHENE", "graphene_vec3_init", false) | |
| 203 | - | ||
| 204 | 172 | cret := xVec3Init(x.GoPointer(), XVar, YVar, ZVar) | |
| 205 | 173 | if cret == 0 { | |
| 206 | 174 | return nil | |
| @@ -212,8 +180,6 @@ var xVec3InitFromFloat func(uintptr, [3]float32) uintptr | |||
| 212 | 180 | ||
| 213 | 181 | // Initializes a #graphene_vec3_t with the values from an array. | |
| 214 | 182 | func (x *Vec3) InitFromFloat(SrcVar [3]float32) *Vec3 { | |
| 215 | - | core.LazyRegister(&xVec3InitFromFloat, "GRAPHENE", "graphene_vec3_init_from_float", false) | |
| 216 | - | ||
| 217 | 183 | cret := xVec3InitFromFloat(x.GoPointer(), SrcVar) | |
| 218 | 184 | if cret == 0 { | |
| 219 | 185 | return nil | |
| @@ -226,8 +192,6 @@ var xVec3InitFromVec3 func(uintptr, *Vec3) uintptr | |||
| 226 | 192 | // Initializes a #graphene_vec3_t with the values of another | |
| 227 | 193 | // #graphene_vec3_t. | |
| 228 | 194 | func (x *Vec3) InitFromVec3(SrcVar *Vec3) *Vec3 { | |
| 229 | - | core.LazyRegister(&xVec3InitFromVec3, "GRAPHENE", "graphene_vec3_init_from_vec3", false) | |
| 230 | - | ||
| 231 | 195 | cret := xVec3InitFromVec3(x.GoPointer(), SrcVar) | |
| 232 | 196 | if cret == 0 { | |
| 233 | 197 | return nil | |
| @@ -239,8 +203,6 @@ var xVec3Interpolate func(uintptr, *Vec3, float64, *Vec3) | |||
| 239 | 203 | ||
| 240 | 204 | // Linearly interpolates @v1 and @v2 using the given @factor. | |
| 241 | 205 | func (x *Vec3) Interpolate(V2Var *Vec3, FactorVar float64, ResVar *Vec3) { | |
| 242 | - | core.LazyRegister(&xVec3Interpolate, "GRAPHENE", "graphene_vec3_interpolate", false) | |
| 243 | - | ||
| 244 | 206 | xVec3Interpolate(x.GoPointer(), V2Var, FactorVar, ResVar) | |
| 245 | 207 | } | |
| 246 | 208 | ||
| @@ -248,8 +210,6 @@ var xVec3Length func(uintptr) float32 | |||
| 248 | 210 | ||
| 249 | 211 | // Retrieves the length of the given vector @v. | |
| 250 | 212 | func (x *Vec3) Length() float32 { | |
| 251 | - | core.LazyRegister(&xVec3Length, "GRAPHENE", "graphene_vec3_length", false) | |
| 252 | - | ||
| 253 | 213 | cret := xVec3Length(x.GoPointer()) | |
| 254 | 214 | return cret | |
| 255 | 215 | } | |
| @@ -259,8 +219,6 @@ var xVec3Max func(uintptr, *Vec3, *Vec3) | |||
| 259 | 219 | // Compares each component of the two given vectors and creates a | |
| 260 | 220 | // vector that contains the maximum values. | |
| 261 | 221 | func (x *Vec3) Max(BVar *Vec3, ResVar *Vec3) { | |
| 262 | - | core.LazyRegister(&xVec3Max, "GRAPHENE", "graphene_vec3_max", false) | |
| 263 | - | ||
| 264 | 222 | xVec3Max(x.GoPointer(), BVar, ResVar) | |
| 265 | 223 | } | |
| 266 | 224 | ||
| @@ -269,8 +227,6 @@ var xVec3Min func(uintptr, *Vec3, *Vec3) | |||
| 269 | 227 | // Compares each component of the two given vectors and creates a | |
| 270 | 228 | // vector that contains the minimum values. | |
| 271 | 229 | func (x *Vec3) Min(BVar *Vec3, ResVar *Vec3) { | |
| 272 | - | core.LazyRegister(&xVec3Min, "GRAPHENE", "graphene_vec3_min", false) | |
| 273 | - | ||
| 274 | 230 | xVec3Min(x.GoPointer(), BVar, ResVar) | |
| 275 | 231 | } | |
| 276 | 232 | ||
| @@ -278,8 +234,6 @@ var xVec3Multiply func(uintptr, *Vec3, *Vec3) | |||
| 278 | 234 | ||
| 279 | 235 | // Multiplies each component of the two given vectors. | |
| 280 | 236 | func (x *Vec3) Multiply(BVar *Vec3, ResVar *Vec3) { | |
| 281 | - | core.LazyRegister(&xVec3Multiply, "GRAPHENE", "graphene_vec3_multiply", false) | |
| 282 | - | ||
| 283 | 237 | xVec3Multiply(x.GoPointer(), BVar, ResVar) | |
| 284 | 238 | } | |
| 285 | 239 | ||
| @@ -288,8 +242,6 @@ var xVec3Near func(uintptr, *Vec3, float32) bool | |||
| 288 | 242 | // Compares the two given #graphene_vec3_t vectors and checks | |
| 289 | 243 | // whether their values are within the given @epsilon. | |
| 290 | 244 | func (x *Vec3) Near(V2Var *Vec3, EpsilonVar float32) bool { | |
| 291 | - | core.LazyRegister(&xVec3Near, "GRAPHENE", "graphene_vec3_near", false) | |
| 292 | - | ||
| 293 | 245 | cret := xVec3Near(x.GoPointer(), V2Var, EpsilonVar) | |
| 294 | 246 | return cret | |
| 295 | 247 | } | |
| @@ -298,8 +250,6 @@ var xVec3Negate func(uintptr, *Vec3) | |||
| 298 | 250 | ||
| 299 | 251 | // Negates the given #graphene_vec3_t. | |
| 300 | 252 | func (x *Vec3) Negate(ResVar *Vec3) { | |
| 301 | - | core.LazyRegister(&xVec3Negate, "GRAPHENE", "graphene_vec3_negate", false) | |
| 302 | - | ||
| 303 | 253 | xVec3Negate(x.GoPointer(), ResVar) | |
| 304 | 254 | } | |
| 305 | 255 | ||
| @@ -307,8 +257,6 @@ var xVec3Normalize func(uintptr, *Vec3) | |||
| 307 | 257 | ||
| 308 | 258 | // Normalizes the given #graphene_vec3_t. | |
| 309 | 259 | func (x *Vec3) Normalize(ResVar *Vec3) { | |
| 310 | - | core.LazyRegister(&xVec3Normalize, "GRAPHENE", "graphene_vec3_normalize", false) | |
| 311 | - | ||
| 312 | 260 | xVec3Normalize(x.GoPointer(), ResVar) | |
| 313 | 261 | } | |
| 314 | 262 | ||
| @@ -316,8 +264,6 @@ var xVec3Scale func(uintptr, float32, *Vec3) | |||
| 316 | 264 | ||
| 317 | 265 | // Multiplies all components of the given vector with the given scalar @factor. | |
| 318 | 266 | func (x *Vec3) Scale(FactorVar float32, ResVar *Vec3) { | |
| 319 | - | core.LazyRegister(&xVec3Scale, "GRAPHENE", "graphene_vec3_scale", false) | |
| 320 | - | ||
| 321 | 267 | xVec3Scale(x.GoPointer(), FactorVar, ResVar) | |
| 322 | 268 | } | |
| 323 | 269 | ||
| @@ -327,8 +273,6 @@ var xVec3Subtract func(uintptr, *Vec3, *Vec3) | |||
| 327 | 273 | // corresponding component of the second operand @b and places | |
| 328 | 274 | // each result into the components of @res. | |
| 329 | 275 | func (x *Vec3) Subtract(BVar *Vec3, ResVar *Vec3) { | |
| 330 | - | core.LazyRegister(&xVec3Subtract, "GRAPHENE", "graphene_vec3_subtract", false) | |
| 331 | - | ||
| 332 | 276 | xVec3Subtract(x.GoPointer(), BVar, ResVar) | |
| 333 | 277 | } | |
| 334 | 278 | ||
| @@ -336,8 +280,6 @@ var xVec3ToFloat func(uintptr, *[3]float32) | |||
| 336 | 280 | ||
| 337 | 281 | // Copies the components of a #graphene_vec3_t into the given array. | |
| 338 | 282 | func (x *Vec3) ToFloat(DestVar *[3]float32) { | |
| 339 | - | core.LazyRegister(&xVec3ToFloat, "GRAPHENE", "graphene_vec3_to_float", false) | |
| 340 | - | ||
| 341 | 283 | xVec3ToFloat(x.GoPointer(), DestVar) | |
| 342 | 284 | } | |
| 343 | 285 | ||
| @@ -346,8 +288,6 @@ var xVec3One func() uintptr | |||
| 346 | 288 | // Provides a constant pointer to a vector with three components, | |
| 347 | 289 | // all sets to 1. | |
| 348 | 290 | func Vec3One() *Vec3 { | |
| 349 | - | core.LazyRegister(&xVec3One, "GRAPHENE", "graphene_vec3_one", false) | |
| 350 | - | ||
| 351 | 291 | cret := xVec3One() | |
| 352 | 292 | if cret == 0 { | |
| 353 | 293 | return nil | |
| @@ -360,8 +300,6 @@ var xVec3XAxis func() uintptr | |||
| 360 | 300 | // Provides a constant pointer to a vector with three components | |
| 361 | 301 | // with values set to (1, 0, 0). | |
| 362 | 302 | func Vec3XAxis() *Vec3 { | |
| 363 | - | core.LazyRegister(&xVec3XAxis, "GRAPHENE", "graphene_vec3_x_axis", false) | |
| 364 | - | ||
| 365 | 303 | cret := xVec3XAxis() | |
| 366 | 304 | if cret == 0 { | |
| 367 | 305 | return nil | |
| @@ -374,8 +312,6 @@ var xVec3YAxis func() uintptr | |||
| 374 | 312 | // Provides a constant pointer to a vector with three components | |
| 375 | 313 | // with values set to (0, 1, 0). | |
| 376 | 314 | func Vec3YAxis() *Vec3 { | |
| 377 | - | core.LazyRegister(&xVec3YAxis, "GRAPHENE", "graphene_vec3_y_axis", false) | |
| 378 | - | ||
| 379 | 315 | cret := xVec3YAxis() | |
| 380 | 316 | if cret == 0 { | |
| 381 | 317 | return nil | |
| @@ -388,8 +324,6 @@ var xVec3ZAxis func() uintptr | |||
| 388 | 324 | // Provides a constant pointer to a vector with three components | |
| 389 | 325 | // with values set to (0, 0, 1). | |
| 390 | 326 | func Vec3ZAxis() *Vec3 { | |
| 391 | - | core.LazyRegister(&xVec3ZAxis, "GRAPHENE", "graphene_vec3_z_axis", false) | |
| 392 | - | ||
| 393 | 327 | cret := xVec3ZAxis() | |
| 394 | 328 | if cret == 0 { | |
| 395 | 329 | return nil | |
| @@ -402,8 +336,6 @@ var xVec3Zero func() uintptr | |||
| 402 | 336 | // Provides a constant pointer to a vector with three components, | |
| 403 | 337 | // all sets to 0. | |
| 404 | 338 | func Vec3Zero() *Vec3 { | |
| 405 | - | core.LazyRegister(&xVec3Zero, "GRAPHENE", "graphene_vec3_zero", false) | |
| 406 | - | ||
| 407 | 339 | cret := xVec3Zero() | |
| 408 | 340 | if cret == 0 { | |
| 409 | 341 | return nil | |
| @@ -414,4 +346,51 @@ func Vec3Zero() *Vec3 { | |||
| 414 | 346 | func init() { | |
| 415 | 347 | core.SetPackageName("GRAPHENE", "graphene-gobject-1.0") | |
| 416 | 348 | core.SetSharedLibraries("GRAPHENE", []string{"libgraphene-1.0.so.0", "libgraphene-1.0.0.dylib"}) | |
| 349 | + | var libs []uintptr | |
| 350 | + | for _, libPath := range core.GetPaths("GRAPHENE") { | |
| 351 | + | lib, err := purego.Dlopen(libPath, purego.RTLD_NOW|purego.RTLD_GLOBAL) | |
| 352 | + | if err != nil { | |
| 353 | + | panic(err) | |
| 354 | + | } | |
| 355 | + | libs = append(libs, lib) | |
| 356 | + | } | |
| 357 | + | ||
| 358 | + | core.PuregoSafeRegister(&xVec3One, libs, "graphene_vec3_one") | |
| 359 | + | core.PuregoSafeRegister(&xVec3XAxis, libs, "graphene_vec3_x_axis") | |
| 360 | + | core.PuregoSafeRegister(&xVec3YAxis, libs, "graphene_vec3_y_axis") | |
| 361 | + | core.PuregoSafeRegister(&xVec3ZAxis, libs, "graphene_vec3_z_axis") | |
| 362 | + | core.PuregoSafeRegister(&xVec3Zero, libs, "graphene_vec3_zero") | |
| 363 | + | ||
| 364 | + | core.PuregoSafeRegister(&xVec3GLibType, libs, "graphene_vec3_get_type") | |
| 365 | + | ||
| 366 | + | core.PuregoSafeRegister(&xVec3Alloc, libs, "graphene_vec3_alloc") | |
| 367 | + | ||
| 368 | + | core.PuregoSafeRegister(&xVec3Add, libs, "graphene_vec3_add") | |
| 369 | + | core.PuregoSafeRegister(&xVec3Cross, libs, "graphene_vec3_cross") | |
| 370 | + | core.PuregoSafeRegister(&xVec3Divide, libs, "graphene_vec3_divide") | |
| 371 | + | core.PuregoSafeRegister(&xVec3Dot, libs, "graphene_vec3_dot") | |
| 372 | + | core.PuregoSafeRegister(&xVec3Equal, libs, "graphene_vec3_equal") | |
| 373 | + | core.PuregoSafeRegister(&xVec3Free, libs, "graphene_vec3_free") | |
| 374 | + | core.PuregoSafeRegister(&xVec3GetX, libs, "graphene_vec3_get_x") | |
| 375 | + | core.PuregoSafeRegister(&xVec3GetXy, libs, "graphene_vec3_get_xy") | |
| 376 | + | core.PuregoSafeRegister(&xVec3GetXy0, libs, "graphene_vec3_get_xy0") | |
| 377 | + | core.PuregoSafeRegister(&xVec3GetXyz0, libs, "graphene_vec3_get_xyz0") | |
| 378 | + | core.PuregoSafeRegister(&xVec3GetXyz1, libs, "graphene_vec3_get_xyz1") | |
| 379 | + | core.PuregoSafeRegister(&xVec3GetXyzw, libs, "graphene_vec3_get_xyzw") | |
| 380 | + | core.PuregoSafeRegister(&xVec3GetY, libs, "graphene_vec3_get_y") | |
| 381 | + | core.PuregoSafeRegister(&xVec3GetZ, libs, "graphene_vec3_get_z") | |
| 382 | + | core.PuregoSafeRegister(&xVec3Init, libs, "graphene_vec3_init") | |
| 383 | + | core.PuregoSafeRegister(&xVec3InitFromFloat, libs, "graphene_vec3_init_from_float") | |
| 384 | + | core.PuregoSafeRegister(&xVec3InitFromVec3, libs, "graphene_vec3_init_from_vec3") | |
| 385 | + | core.PuregoSafeRegister(&xVec3Interpolate, libs, "graphene_vec3_interpolate") | |
| 386 | + | core.PuregoSafeRegister(&xVec3Length, libs, "graphene_vec3_length") | |
| 387 | + | core.PuregoSafeRegister(&xVec3Max, libs, "graphene_vec3_max") | |
| 388 | + | core.PuregoSafeRegister(&xVec3Min, libs, "graphene_vec3_min") | |
| 389 | + | core.PuregoSafeRegister(&xVec3Multiply, libs, "graphene_vec3_multiply") | |
| 390 | + | core.PuregoSafeRegister(&xVec3Near, libs, "graphene_vec3_near") | |
| 391 | + | core.PuregoSafeRegister(&xVec3Negate, libs, "graphene_vec3_negate") | |
| 392 | + | core.PuregoSafeRegister(&xVec3Normalize, libs, "graphene_vec3_normalize") | |
| 393 | + | core.PuregoSafeRegister(&xVec3Scale, libs, "graphene_vec3_scale") | |
| 394 | + | core.PuregoSafeRegister(&xVec3Subtract, libs, "graphene_vec3_subtract") | |
| 395 | + | core.PuregoSafeRegister(&xVec3ToFloat, libs, "graphene_vec3_to_float") | |
| 417 | 396 | } | |
| @@ -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 Vec3 struct { | |||||
| 22 | var xVec3GLibType func() types.GType | 23 | var xVec3GLibType func() types.GType | ||
| 23 | 24 | ||||
| 24 | func Vec3GLibType() types.GType { | 25 | func Vec3GLibType() types.GType { | ||
| 25 | - | core.LazyRegister(&xVec3GLibType, "GRAPHENE", "graphene_vec3_get_type", false) | |||
| 26 | return xVec3GLibType() | 26 | return xVec3GLibType() | ||
| 27 | } | 27 | } | ||
| 28 | 28 | ||||
| @@ -46,8 +46,6 @@ var xVec3Alloc func() uintptr | |||||
| 46 | // | 46 | // | ||
| 47 | // Use graphene_vec3_init() to initialize the vector. | 47 | // Use graphene_vec3_init() to initialize the vector. | ||
| 48 | func Vec3Alloc() *Vec3 { | 48 | func Vec3Alloc() *Vec3 { | ||
| 49 | - | core.LazyRegister(&xVec3Alloc, "GRAPHENE", "graphene_vec3_alloc", false) | |||
| 50 | - | ||||
| 51 | cret := xVec3Alloc() | 49 | cret := xVec3Alloc() | ||
| 52 | if cret == 0 { | 50 | if cret == 0 { | ||
| 53 | return nil | 51 | return nil | ||
| @@ -59,8 +57,6 @@ var xVec3Add func(uintptr, *Vec3, *Vec3) | |||||
| 59 | 57 | ||||
| 60 | // Adds each component of the two given vectors. | 58 | // Adds each component of the two given vectors. | ||
| 61 | func (x *Vec3) Add(BVar *Vec3, ResVar *Vec3) { | 59 | func (x *Vec3) Add(BVar *Vec3, ResVar *Vec3) { | ||
| 62 | - | core.LazyRegister(&xVec3Add, "GRAPHENE", "graphene_vec3_add", false) | |||
| 63 | - | ||||
| 64 | xVec3Add(x.GoPointer(), BVar, ResVar) | 60 | xVec3Add(x.GoPointer(), BVar, ResVar) | ||
| 65 | } | 61 | } | ||
| 66 | 62 | ||||
| @@ -68,8 +64,6 @@ var xVec3Cross func(uintptr, *Vec3, *Vec3) | |||||
| 68 | 64 | ||||
| 69 | // Computes the cross product of the two given vectors. | 65 | // Computes the cross product of the two given vectors. | ||
| 70 | func (x *Vec3) Cross(BVar *Vec3, ResVar *Vec3) { | 66 | func (x *Vec3) Cross(BVar *Vec3, ResVar *Vec3) { | ||
| 71 | - | core.LazyRegister(&xVec3Cross, "GRAPHENE", "graphene_vec3_cross", false) | |||
| 72 | - | ||||
| 73 | xVec3Cross(x.GoPointer(), BVar, ResVar) | 67 | xVec3Cross(x.GoPointer(), BVar, ResVar) | ||
| 74 | } | 68 | } | ||
| 75 | 69 | ||||
| @@ -79,8 +73,6 @@ var xVec3Divide func(uintptr, *Vec3, *Vec3) | |||||
| 79 | // component of the second operand @b, and places the results into the | 73 | // component of the second operand @b, and places the results into the | ||
| 80 | // vector @res. | 74 | // vector @res. | ||
| 81 | func (x *Vec3) Divide(BVar *Vec3, ResVar *Vec3) { | 75 | func (x *Vec3) Divide(BVar *Vec3, ResVar *Vec3) { | ||
| 82 | - | core.LazyRegister(&xVec3Divide, "GRAPHENE", "graphene_vec3_divide", false) | |||
| 83 | - | ||||
| 84 | xVec3Divide(x.GoPointer(), BVar, ResVar) | 76 | xVec3Divide(x.GoPointer(), BVar, ResVar) | ||
| 85 | } | 77 | } | ||
| 86 | 78 | ||||
| @@ -88,8 +80,6 @@ var xVec3Dot func(uintptr, *Vec3) float32 | |||||
| 88 | 80 | ||||
| 89 | // Computes the dot product of the two given vectors. | 81 | // Computes the dot product of the two given vectors. | ||
| 90 | func (x *Vec3) Dot(BVar *Vec3) float32 { | 82 | func (x *Vec3) Dot(BVar *Vec3) float32 { | ||
| 91 | - | core.LazyRegister(&xVec3Dot, "GRAPHENE", "graphene_vec3_dot", false) | |||
| 92 | - | ||||
| 93 | cret := xVec3Dot(x.GoPointer(), BVar) | 83 | cret := xVec3Dot(x.GoPointer(), BVar) | ||
| 94 | return cret | 84 | return cret | ||
| 95 | } | 85 | } | ||
| @@ -98,8 +88,6 @@ var xVec3Equal func(uintptr, *Vec3) bool | |||||
| 98 | 88 | ||||
| 99 | // Checks whether the two given #graphene_vec3_t are equal. | 89 | // Checks whether the two given #graphene_vec3_t are equal. | ||
| 100 | func (x *Vec3) Equal(V2Var *Vec3) bool { | 90 | func (x *Vec3) Equal(V2Var *Vec3) bool { | ||
| 101 | - | core.LazyRegister(&xVec3Equal, "GRAPHENE", "graphene_vec3_equal", false) | |||
| 102 | - | ||||
| 103 | cret := xVec3Equal(x.GoPointer(), V2Var) | 91 | cret := xVec3Equal(x.GoPointer(), V2Var) | ||
| 104 | return cret | 92 | return cret | ||
| 105 | } | 93 | } | ||
| @@ -108,8 +96,6 @@ var xVec3Free func(uintptr) | |||||
| 108 | 96 | ||||
| 109 | // Frees the resources allocated by @v | 97 | // Frees the resources allocated by @v | ||
| 110 | func (x *Vec3) Free() { | 98 | func (x *Vec3) Free() { | ||
| 111 | - | core.LazyRegister(&xVec3Free, "GRAPHENE", "graphene_vec3_free", false) | |||
| 112 | - | ||||
| 113 | xVec3Free(x.GoPointer()) | 99 | xVec3Free(x.GoPointer()) | ||
| 114 | } | 100 | } | ||
| 115 | 101 | ||||
| @@ -117,8 +103,6 @@ var xVec3GetX func(uintptr) float32 | |||||
| 117 | 103 | ||||
| 118 | // Retrieves the first component of the given vector @v. | 104 | // Retrieves the first component of the given vector @v. | ||
| 119 | func (x *Vec3) GetX() float32 { | 105 | func (x *Vec3) GetX() float32 { | ||
| 120 | - | core.LazyRegister(&xVec3GetX, "GRAPHENE", "graphene_vec3_get_x", false) | |||
| 121 | - | ||||
| 122 | cret := xVec3GetX(x.GoPointer()) | 106 | cret := xVec3GetX(x.GoPointer()) | ||
| 123 | return cret | 107 | return cret | ||
| 124 | } | 108 | } | ||
| @@ -128,8 +112,6 @@ var xVec3GetXy func(uintptr, *Vec2) | |||||
| 128 | // Creates a #graphene_vec2_t that contains the first and second | 112 | // Creates a #graphene_vec2_t that contains the first and second | ||
| 129 | // components of the given #graphene_vec3_t. | 113 | // components of the given #graphene_vec3_t. | ||
| 130 | func (x *Vec3) GetXy(ResVar *Vec2) { | 114 | func (x *Vec3) GetXy(ResVar *Vec2) { | ||
| 131 | - | core.LazyRegister(&xVec3GetXy, "GRAPHENE", "graphene_vec3_get_xy", false) | |||
| 132 | - | ||||
| 133 | xVec3GetXy(x.GoPointer(), ResVar) | 115 | xVec3GetXy(x.GoPointer(), ResVar) | ||
| 134 | } | 116 | } | ||
| 135 | 117 | ||||
| @@ -138,8 +120,6 @@ var xVec3GetXy0 func(uintptr, *Vec3) | |||||
| 138 | // Creates a #graphene_vec3_t that contains the first two components of | 120 | // Creates a #graphene_vec3_t that contains the first two components of | ||
| 139 | // the given #graphene_vec3_t, and the third component set to 0. | 121 | // the given #graphene_vec3_t, and the third component set to 0. | ||
| 140 | func (x *Vec3) GetXy0(ResVar *Vec3) { | 122 | func (x *Vec3) GetXy0(ResVar *Vec3) { | ||
| 141 | - | core.LazyRegister(&xVec3GetXy0, "GRAPHENE", "graphene_vec3_get_xy0", false) | |||
| 142 | - | ||||
| 143 | xVec3GetXy0(x.GoPointer(), ResVar) | 123 | xVec3GetXy0(x.GoPointer(), ResVar) | ||
| 144 | } | 124 | } | ||
| 145 | 125 | ||||
| @@ -148,8 +128,6 @@ var xVec3GetXyz0 func(uintptr, *Vec4) | |||||
| 148 | // Converts a #graphene_vec3_t in a #graphene_vec4_t using 0.0 | 128 | // Converts a #graphene_vec3_t in a #graphene_vec4_t using 0.0 | ||
| 149 | // as the value for the fourth component of the resulting vector. | 129 | // as the value for the fourth component of the resulting vector. | ||
| 150 | func (x *Vec3) GetXyz0(ResVar *Vec4) { | 130 | func (x *Vec3) GetXyz0(ResVar *Vec4) { | ||
| 151 | - | core.LazyRegister(&xVec3GetXyz0, "GRAPHENE", "graphene_vec3_get_xyz0", false) | |||
| 152 | - | ||||
| 153 | xVec3GetXyz0(x.GoPointer(), ResVar) | 131 | xVec3GetXyz0(x.GoPointer(), ResVar) | ||
| 154 | } | 132 | } | ||
| 155 | 133 | ||||
| @@ -158,8 +136,6 @@ var xVec3GetXyz1 func(uintptr, *Vec4) | |||||
| 158 | // Converts a #graphene_vec3_t in a #graphene_vec4_t using 1.0 | 136 | // Converts a #graphene_vec3_t in a #graphene_vec4_t using 1.0 | ||
| 159 | // as the value for the fourth component of the resulting vector. | 137 | // as the value for the fourth component of the resulting vector. | ||
| 160 | func (x *Vec3) GetXyz1(ResVar *Vec4) { | 138 | func (x *Vec3) GetXyz1(ResVar *Vec4) { | ||
| 161 | - | core.LazyRegister(&xVec3GetXyz1, "GRAPHENE", "graphene_vec3_get_xyz1", false) | |||
| 162 | - | ||||
| 163 | xVec3GetXyz1(x.GoPointer(), ResVar) | 139 | xVec3GetXyz1(x.GoPointer(), ResVar) | ||
| 164 | } | 140 | } | ||
| 165 | 141 | ||||
| @@ -168,8 +144,6 @@ var xVec3GetXyzw func(uintptr, float32, *Vec4) | |||||
| 168 | // Converts a #graphene_vec3_t in a #graphene_vec4_t using @w as | 144 | // Converts a #graphene_vec3_t in a #graphene_vec4_t using @w as | ||
| 169 | // the value of the fourth component of the resulting vector. | 145 | // the value of the fourth component of the resulting vector. | ||
| 170 | func (x *Vec3) GetXyzw(WVar float32, ResVar *Vec4) { | 146 | func (x *Vec3) GetXyzw(WVar float32, ResVar *Vec4) { | ||
| 171 | - | core.LazyRegister(&xVec3GetXyzw, "GRAPHENE", "graphene_vec3_get_xyzw", false) | |||
| 172 | - | ||||
| 173 | xVec3GetXyzw(x.GoPointer(), WVar, ResVar) | 147 | xVec3GetXyzw(x.GoPointer(), WVar, ResVar) | ||
| 174 | } | 148 | } | ||
| 175 | 149 | ||||
| @@ -177,8 +151,6 @@ var xVec3GetY func(uintptr) float32 | |||||
| 177 | 151 | ||||
| 178 | // Retrieves the second component of the given vector @v. | 152 | // Retrieves the second component of the given vector @v. | ||
| 179 | func (x *Vec3) GetY() float32 { | 153 | func (x *Vec3) GetY() float32 { | ||
| 180 | - | core.LazyRegister(&xVec3GetY, "GRAPHENE", "graphene_vec3_get_y", false) | |||
| 181 | - | ||||
| 182 | cret := xVec3GetY(x.GoPointer()) | 154 | cret := xVec3GetY(x.GoPointer()) | ||
| 183 | return cret | 155 | return cret | ||
| 184 | } | 156 | } | ||
| @@ -187,8 +159,6 @@ var xVec3GetZ func(uintptr) float32 | |||||
| 187 | 159 | ||||
| 188 | // Retrieves the third component of the given vector @v. | 160 | // Retrieves the third component of the given vector @v. | ||
| 189 | func (x *Vec3) GetZ() float32 { | 161 | func (x *Vec3) GetZ() float32 { | ||
| 190 | - | core.LazyRegister(&xVec3GetZ, "GRAPHENE", "graphene_vec3_get_z", false) | |||
| 191 | - | ||||
| 192 | cret := xVec3GetZ(x.GoPointer()) | 162 | cret := xVec3GetZ(x.GoPointer()) | ||
| 193 | return cret | 163 | return cret | ||
| 194 | } | 164 | } | ||
| @@ -199,8 +169,6 @@ var xVec3Init func(uintptr, float32, float32, float32) uintptr | |||||
| 199 | // | 169 | // | ||
| 200 | // This function can be called multiple times. | 170 | // This function can be called multiple times. | ||
| 201 | func (x *Vec3) Init(XVar float32, YVar float32, ZVar float32) *Vec3 { | 171 | func (x *Vec3) Init(XVar float32, YVar float32, ZVar float32) *Vec3 { | ||
| 202 | - | core.LazyRegister(&xVec3Init, "GRAPHENE", "graphene_vec3_init", false) | |||
| 203 | - | ||||
| 204 | cret := xVec3Init(x.GoPointer(), XVar, YVar, ZVar) | 172 | cret := xVec3Init(x.GoPointer(), XVar, YVar, ZVar) | ||
| 205 | if cret == 0 { | 173 | if cret == 0 { | ||
| 206 | return nil | 174 | return nil | ||
| @@ -212,8 +180,6 @@ var xVec3InitFromFloat func(uintptr, [3]float32) uintptr | |||||
| 212 | 180 | ||||
| 213 | // Initializes a #graphene_vec3_t with the values from an array. | 181 | // Initializes a #graphene_vec3_t with the values from an array. | ||
| 214 | func (x *Vec3) InitFromFloat(SrcVar [3]float32) *Vec3 { | 182 | func (x *Vec3) InitFromFloat(SrcVar [3]float32) *Vec3 { | ||
| 215 | - | core.LazyRegister(&xVec3InitFromFloat, "GRAPHENE", "graphene_vec3_init_from_float", false) | |||
| 216 | - | ||||
| 217 | cret := xVec3InitFromFloat(x.GoPointer(), SrcVar) | 183 | cret := xVec3InitFromFloat(x.GoPointer(), SrcVar) | ||
| 218 | if cret == 0 { | 184 | if cret == 0 { | ||
| 219 | return nil | 185 | return nil | ||
| @@ -226,8 +192,6 @@ var xVec3InitFromVec3 func(uintptr, *Vec3) uintptr | |||||
| 226 | // Initializes a #graphene_vec3_t with the values of another | 192 | // Initializes a #graphene_vec3_t with the values of another | ||
| 227 | // #graphene_vec3_t. | 193 | // #graphene_vec3_t. | ||
| 228 | func (x *Vec3) InitFromVec3(SrcVar *Vec3) *Vec3 { | 194 | func (x *Vec3) InitFromVec3(SrcVar *Vec3) *Vec3 { | ||
| 229 | - | core.LazyRegister(&xVec3InitFromVec3, "GRAPHENE", "graphene_vec3_init_from_vec3", false) | |||
| 230 | - | ||||
| 231 | cret := xVec3InitFromVec3(x.GoPointer(), SrcVar) | 195 | cret := xVec3InitFromVec3(x.GoPointer(), SrcVar) | ||
| 232 | if cret == 0 { | 196 | if cret == 0 { | ||
| 233 | return nil | 197 | return nil | ||
| @@ -239,8 +203,6 @@ var xVec3Interpolate func(uintptr, *Vec3, float64, *Vec3) | |||||
| 239 | 203 | ||||
| 240 | // Linearly interpolates @v1 and @v2 using the given @factor. | 204 | // Linearly interpolates @v1 and @v2 using the given @factor. | ||
| 241 | func (x *Vec3) Interpolate(V2Var *Vec3, FactorVar float64, ResVar *Vec3) { | 205 | func (x *Vec3) Interpolate(V2Var *Vec3, FactorVar float64, ResVar *Vec3) { | ||
| 242 | - | core.LazyRegister(&xVec3Interpolate, "GRAPHENE", "graphene_vec3_interpolate", false) | |||
| 243 | - | ||||
| 244 | xVec3Interpolate(x.GoPointer(), V2Var, FactorVar, ResVar) | 206 | xVec3Interpolate(x.GoPointer(), V2Var, FactorVar, ResVar) | ||
| 245 | } | 207 | } | ||
| 246 | 208 | ||||
| @@ -248,8 +210,6 @@ var xVec3Length func(uintptr) float32 | |||||
| 248 | 210 | ||||
| 249 | // Retrieves the length of the given vector @v. | 211 | // Retrieves the length of the given vector @v. | ||
| 250 | func (x *Vec3) Length() float32 { | 212 | func (x *Vec3) Length() float32 { | ||
| 251 | - | core.LazyRegister(&xVec3Length, "GRAPHENE", "graphene_vec3_length", false) | |||
| 252 | - | ||||
| 253 | cret := xVec3Length(x.GoPointer()) | 213 | cret := xVec3Length(x.GoPointer()) | ||
| 254 | return cret | 214 | return cret | ||
| 255 | } | 215 | } | ||
| @@ -259,8 +219,6 @@ var xVec3Max func(uintptr, *Vec3, *Vec3) | |||||
| 259 | // Compares each component of the two given vectors and creates a | 219 | // Compares each component of the two given vectors and creates a | ||
| 260 | // vector that contains the maximum values. | 220 | // vector that contains the maximum values. | ||
| 261 | func (x *Vec3) Max(BVar *Vec3, ResVar *Vec3) { | 221 | func (x *Vec3) Max(BVar *Vec3, ResVar *Vec3) { | ||
| 262 | - | core.LazyRegister(&xVec3Max, "GRAPHENE", "graphene_vec3_max", false) | |||
| 263 | - | ||||
| 264 | xVec3Max(x.GoPointer(), BVar, ResVar) | 222 | xVec3Max(x.GoPointer(), BVar, ResVar) | ||
| 265 | } | 223 | } | ||
| 266 | 224 | ||||
| @@ -269,8 +227,6 @@ var xVec3Min func(uintptr, *Vec3, *Vec3) | |||||
| 269 | // Compares each component of the two given vectors and creates a | 227 | // Compares each component of the two given vectors and creates a | ||
| 270 | // vector that contains the minimum values. | 228 | // vector that contains the minimum values. | ||
| 271 | func (x *Vec3) Min(BVar *Vec3, ResVar *Vec3) { | 229 | func (x *Vec3) Min(BVar *Vec3, ResVar *Vec3) { | ||
| 272 | - | core.LazyRegister(&xVec3Min, "GRAPHENE", "graphene_vec3_min", false) | |||
| 273 | - | ||||
| 274 | xVec3Min(x.GoPointer(), BVar, ResVar) | 230 | xVec3Min(x.GoPointer(), BVar, ResVar) | ||
| 275 | } | 231 | } | ||
| 276 | 232 | ||||
| @@ -278,8 +234,6 @@ var xVec3Multiply func(uintptr, *Vec3, *Vec3) | |||||
| 278 | 234 | ||||
| 279 | // Multiplies each component of the two given vectors. | 235 | // Multiplies each component of the two given vectors. | ||
| 280 | func (x *Vec3) Multiply(BVar *Vec3, ResVar *Vec3) { | 236 | func (x *Vec3) Multiply(BVar *Vec3, ResVar *Vec3) { | ||
| 281 | - | core.LazyRegister(&xVec3Multiply, "GRAPHENE", "graphene_vec3_multiply", false) | |||
| 282 | - | ||||
| 283 | xVec3Multiply(x.GoPointer(), BVar, ResVar) | 237 | xVec3Multiply(x.GoPointer(), BVar, ResVar) | ||
| 284 | } | 238 | } | ||
| 285 | 239 | ||||
| @@ -288,8 +242,6 @@ var xVec3Near func(uintptr, *Vec3, float32) bool | |||||
| 288 | // Compares the two given #graphene_vec3_t vectors and checks | 242 | // Compares the two given #graphene_vec3_t vectors and checks | ||
| 289 | // whether their values are within the given @epsilon. | 243 | // whether their values are within the given @epsilon. | ||
| 290 | func (x *Vec3) Near(V2Var *Vec3, EpsilonVar float32) bool { | 244 | func (x *Vec3) Near(V2Var *Vec3, EpsilonVar float32) bool { | ||
| 291 | - | core.LazyRegister(&xVec3Near, "GRAPHENE", "graphene_vec3_near", false) | |||
| 292 | - | ||||
| 293 | cret := xVec3Near(x.GoPointer(), V2Var, EpsilonVar) | 245 | cret := xVec3Near(x.GoPointer(), V2Var, EpsilonVar) | ||
| 294 | return cret | 246 | return cret | ||
| 295 | } | 247 | } | ||
| @@ -298,8 +250,6 @@ var xVec3Negate func(uintptr, *Vec3) | |||||
| 298 | 250 | ||||
| 299 | // Negates the given #graphene_vec3_t. | 251 | // Negates the given #graphene_vec3_t. | ||
| 300 | func (x *Vec3) Negate(ResVar *Vec3) { | 252 | func (x *Vec3) Negate(ResVar *Vec3) { | ||
| 301 | - | core.LazyRegister(&xVec3Negate, "GRAPHENE", "graphene_vec3_negate", false) | |||
| 302 | - | ||||
| 303 | xVec3Negate(x.GoPointer(), ResVar) | 253 | xVec3Negate(x.GoPointer(), ResVar) | ||
| 304 | } | 254 | } | ||
| 305 | 255 | ||||
| @@ -307,8 +257,6 @@ var xVec3Normalize func(uintptr, *Vec3) | |||||
| 307 | 257 | ||||
| 308 | // Normalizes the given #graphene_vec3_t. | 258 | // Normalizes the given #graphene_vec3_t. | ||
| 309 | func (x *Vec3) Normalize(ResVar *Vec3) { | 259 | func (x *Vec3) Normalize(ResVar *Vec3) { | ||
| 310 | - | core.LazyRegister(&xVec3Normalize, "GRAPHENE", "graphene_vec3_normalize", false) | |||
| 311 | - | ||||
| 312 | xVec3Normalize(x.GoPointer(), ResVar) | 260 | xVec3Normalize(x.GoPointer(), ResVar) | ||
| 313 | } | 261 | } | ||
| 314 | 262 | ||||
| @@ -316,8 +264,6 @@ var xVec3Scale func(uintptr, float32, *Vec3) | |||||
| 316 | 264 | ||||
| 317 | // Multiplies all components of the given vector with the given scalar @factor. | 265 | // Multiplies all components of the given vector with the given scalar @factor. | ||
| 318 | func (x *Vec3) Scale(FactorVar float32, ResVar *Vec3) { | 266 | func (x *Vec3) Scale(FactorVar float32, ResVar *Vec3) { | ||
| 319 | - | core.LazyRegister(&xVec3Scale, "GRAPHENE", "graphene_vec3_scale", false) | |||
| 320 | - | ||||
| 321 | xVec3Scale(x.GoPointer(), FactorVar, ResVar) | 267 | xVec3Scale(x.GoPointer(), FactorVar, ResVar) | ||
| 322 | } | 268 | } | ||
| 323 | 269 | ||||
| @@ -327,8 +273,6 @@ var xVec3Subtract func(uintptr, *Vec3, *Vec3) | |||||
| 327 | // corresponding component of the second operand @b and places | 273 | // corresponding component of the second operand @b and places | ||
| 328 | // each result into the components of @res. | 274 | // each result into the components of @res. | ||
| 329 | func (x *Vec3) Subtract(BVar *Vec3, ResVar *Vec3) { | 275 | func (x *Vec3) Subtract(BVar *Vec3, ResVar *Vec3) { | ||
| 330 | - | core.LazyRegister(&xVec3Subtract, "GRAPHENE", "graphene_vec3_subtract", false) | |||
| 331 | - | ||||
| 332 | xVec3Subtract(x.GoPointer(), BVar, ResVar) | 276 | xVec3Subtract(x.GoPointer(), BVar, ResVar) | ||
| 333 | } | 277 | } | ||
| 334 | 278 | ||||
| @@ -336,8 +280,6 @@ var xVec3ToFloat func(uintptr, *[3]float32) | |||||
| 336 | 280 | ||||
| 337 | // Copies the components of a #graphene_vec3_t into the given array. | 281 | // Copies the components of a #graphene_vec3_t into the given array. | ||
| 338 | func (x *Vec3) ToFloat(DestVar *[3]float32) { | 282 | func (x *Vec3) ToFloat(DestVar *[3]float32) { | ||
| 339 | - | core.LazyRegister(&xVec3ToFloat, "GRAPHENE", "graphene_vec3_to_float", false) | |||
| 340 | - | ||||
| 341 | xVec3ToFloat(x.GoPointer(), DestVar) | 283 | xVec3ToFloat(x.GoPointer(), DestVar) | ||
| 342 | } | 284 | } | ||
| 343 | 285 | ||||
| @@ -346,8 +288,6 @@ var xVec3One func() uintptr | |||||
| 346 | // Provides a constant pointer to a vector with three components, | 288 | // Provides a constant pointer to a vector with three components, | ||
| 347 | // all sets to 1. | 289 | // all sets to 1. | ||
| 348 | func Vec3One() *Vec3 { | 290 | func Vec3One() *Vec3 { | ||
| 349 | - | core.LazyRegister(&xVec3One, "GRAPHENE", "graphene_vec3_one", false) | |||
| 350 | - | ||||
| 351 | cret := xVec3One() | 291 | cret := xVec3One() | ||
| 352 | if cret == 0 { | 292 | if cret == 0 { | ||
| 353 | return nil | 293 | return nil | ||
| @@ -360,8 +300,6 @@ var xVec3XAxis func() uintptr | |||||
| 360 | // Provides a constant pointer to a vector with three components | 300 | // Provides a constant pointer to a vector with three components | ||
| 361 | // with values set to (1, 0, 0). | 301 | // with values set to (1, 0, 0). | ||
| 362 | func Vec3XAxis() *Vec3 { | 302 | func Vec3XAxis() *Vec3 { | ||
| 363 | - | core.LazyRegister(&xVec3XAxis, "GRAPHENE", "graphene_vec3_x_axis", false) | |||
| 364 | - | ||||
| 365 | cret := xVec3XAxis() | 303 | cret := xVec3XAxis() | ||
| 366 | if cret == 0 { | 304 | if cret == 0 { | ||
| 367 | return nil | 305 | return nil | ||
| @@ -374,8 +312,6 @@ var xVec3YAxis func() uintptr | |||||
| 374 | // Provides a constant pointer to a vector with three components | 312 | // Provides a constant pointer to a vector with three components | ||
| 375 | // with values set to (0, 1, 0). | 313 | // with values set to (0, 1, 0). | ||
| 376 | func Vec3YAxis() *Vec3 { | 314 | func Vec3YAxis() *Vec3 { | ||
| 377 | - | core.LazyRegister(&xVec3YAxis, "GRAPHENE", "graphene_vec3_y_axis", false) | |||
| 378 | - | ||||
| 379 | cret := xVec3YAxis() | 315 | cret := xVec3YAxis() | ||
| 380 | if cret == 0 { | 316 | if cret == 0 { | ||
| 381 | return nil | 317 | return nil | ||
| @@ -388,8 +324,6 @@ var xVec3ZAxis func() uintptr | |||||
| 388 | // Provides a constant pointer to a vector with three components | 324 | // Provides a constant pointer to a vector with three components | ||
| 389 | // with values set to (0, 0, 1). | 325 | // with values set to (0, 0, 1). | ||
| 390 | func Vec3ZAxis() *Vec3 { | 326 | func Vec3ZAxis() *Vec3 { | ||
| 391 | - | core.LazyRegister(&xVec3ZAxis, "GRAPHENE", "graphene_vec3_z_axis", false) | |||
| 392 | - | ||||
| 393 | cret := xVec3ZAxis() | 327 | cret := xVec3ZAxis() | ||
| 394 | if cret == 0 { | 328 | if cret == 0 { | ||
| 395 | return nil | 329 | return nil | ||
| @@ -402,8 +336,6 @@ var xVec3Zero func() uintptr | |||||
| 402 | // Provides a constant pointer to a vector with three components, | 336 | // Provides a constant pointer to a vector with three components, | ||
| 403 | // all sets to 0. | 337 | // all sets to 0. | ||
| 404 | func Vec3Zero() *Vec3 { | 338 | func Vec3Zero() *Vec3 { | ||
| 405 | - | core.LazyRegister(&xVec3Zero, "GRAPHENE", "graphene_vec3_zero", false) | |||
| 406 | - | ||||
| 407 | cret := xVec3Zero() | 339 | cret := xVec3Zero() | ||
| 408 | if cret == 0 { | 340 | if cret == 0 { | ||
| 409 | return nil | 341 | return nil | ||
| @@ -414,4 +346,51 @@ func Vec3Zero() *Vec3 { | |||||
| 414 | func init() { | 346 | func init() { | ||
| 415 | core.SetPackageName("GRAPHENE", "graphene-gobject-1.0") | 347 | core.SetPackageName("GRAPHENE", "graphene-gobject-1.0") | ||
| 416 | core.SetSharedLibraries("GRAPHENE", []string{"libgraphene-1.0.so.0", "libgraphene-1.0.0.dylib"}) | 348 | core.SetSharedLibraries("GRAPHENE", []string{"libgraphene-1.0.so.0", "libgraphene-1.0.0.dylib"}) | ||
| 349 | + | var libs []uintptr | |||
| 350 | + | for _, libPath := range core.GetPaths("GRAPHENE") { | |||
| 351 | + | lib, err := purego.Dlopen(libPath, purego.RTLD_NOW|purego.RTLD_GLOBAL) | |||
| 352 | + | if err != nil { | |||
| 353 | + | panic(err) | |||
| 354 | + | } | |||
| 355 | + | libs = append(libs, lib) | |||
| 356 | + | } | |||
| 357 | + | ||||
| 358 | + | core.PuregoSafeRegister(&xVec3One, libs, "graphene_vec3_one") | |||
| 359 | + | core.PuregoSafeRegister(&xVec3XAxis, libs, "graphene_vec3_x_axis") | |||
| 360 | + | core.PuregoSafeRegister(&xVec3YAxis, libs, "graphene_vec3_y_axis") | |||
| 361 | + | core.PuregoSafeRegister(&xVec3ZAxis, libs, "graphene_vec3_z_axis") | |||
| 362 | + | core.PuregoSafeRegister(&xVec3Zero, libs, "graphene_vec3_zero") | |||
| 363 | + | ||||
| 364 | + | core.PuregoSafeRegister(&xVec3GLibType, libs, "graphene_vec3_get_type") | |||
| 365 | + | ||||
| 366 | + | core.PuregoSafeRegister(&xVec3Alloc, libs, "graphene_vec3_alloc") | |||
| 367 | + | ||||
| 368 | + | core.PuregoSafeRegister(&xVec3Add, libs, "graphene_vec3_add") | |||
| 369 | + | core.PuregoSafeRegister(&xVec3Cross, libs, "graphene_vec3_cross") | |||
| 370 | + | core.PuregoSafeRegister(&xVec3Divide, libs, "graphene_vec3_divide") | |||
| 371 | + | core.PuregoSafeRegister(&xVec3Dot, libs, "graphene_vec3_dot") | |||
| 372 | + | core.PuregoSafeRegister(&xVec3Equal, libs, "graphene_vec3_equal") | |||
| 373 | + | core.PuregoSafeRegister(&xVec3Free, libs, "graphene_vec3_free") | |||
| 374 | + | core.PuregoSafeRegister(&xVec3GetX, libs, "graphene_vec3_get_x") | |||
| 375 | + | core.PuregoSafeRegister(&xVec3GetXy, libs, "graphene_vec3_get_xy") | |||
| 376 | + | core.PuregoSafeRegister(&xVec3GetXy0, libs, "graphene_vec3_get_xy0") | |||
| 377 | + | core.PuregoSafeRegister(&xVec3GetXyz0, libs, "graphene_vec3_get_xyz0") | |||
| 378 | + | core.PuregoSafeRegister(&xVec3GetXyz1, libs, "graphene_vec3_get_xyz1") | |||
| 379 | + | core.PuregoSafeRegister(&xVec3GetXyzw, libs, "graphene_vec3_get_xyzw") | |||
| 380 | + | core.PuregoSafeRegister(&xVec3GetY, libs, "graphene_vec3_get_y") | |||
| 381 | + | core.PuregoSafeRegister(&xVec3GetZ, libs, "graphene_vec3_get_z") | |||
| 382 | + | core.PuregoSafeRegister(&xVec3Init, libs, "graphene_vec3_init") | |||
| 383 | + | core.PuregoSafeRegister(&xVec3InitFromFloat, libs, "graphene_vec3_init_from_float") | |||
| 384 | + | core.PuregoSafeRegister(&xVec3InitFromVec3, libs, "graphene_vec3_init_from_vec3") | |||
| 385 | + | core.PuregoSafeRegister(&xVec3Interpolate, libs, "graphene_vec3_interpolate") | |||
| 386 | + | core.PuregoSafeRegister(&xVec3Length, libs, "graphene_vec3_length") | |||
| 387 | + | core.PuregoSafeRegister(&xVec3Max, libs, "graphene_vec3_max") | |||
| 388 | + | core.PuregoSafeRegister(&xVec3Min, libs, "graphene_vec3_min") | |||
| 389 | + | core.PuregoSafeRegister(&xVec3Multiply, libs, "graphene_vec3_multiply") | |||
| 390 | + | core.PuregoSafeRegister(&xVec3Near, libs, "graphene_vec3_near") | |||
| 391 | + | core.PuregoSafeRegister(&xVec3Negate, libs, "graphene_vec3_negate") | |||
| 392 | + | core.PuregoSafeRegister(&xVec3Normalize, libs, "graphene_vec3_normalize") | |||
| 393 | + | core.PuregoSafeRegister(&xVec3Scale, libs, "graphene_vec3_scale") | |||
| 394 | + | core.PuregoSafeRegister(&xVec3Subtract, libs, "graphene_vec3_subtract") | |||
| 395 | + | core.PuregoSafeRegister(&xVec3ToFloat, libs, "graphene_vec3_to_float") | |||
| 417 | } | 396 | } | ||