Revert "chore(deps): pin puregotk nil-signal fix"
This reverts commit a161e348e2093172038390b0906448f0ae979a0d.
- commit
- 40378d5e4fd2372d054e49168ab2a6f67aedd0fd
- author
- brice · · 2026-07-14 17:59 UTC
- parent
- 8d647bb
- signature
- GPG Verified
CD88F9E564E0102646FB6077A1A07C7C7C3E349D· arch-gpg Verified for the committer email
905 files · +25263 -27842
M go.mod +1 -1
| @@ -11,7 +11,7 @@ require ( | |||
| 11 | 11 | github.com/bnema/purego-pipewire v0.1.5-0.20260714124450-6504b9cdf02a | |
| 12 | 12 | github.com/bnema/purego-sqlite v0.1.4-0.20260714131321-3614fe683b9c | |
| 13 | 13 | github.com/bnema/purego-webp v0.2.1-0.20260714152238-7bc9c402fdf6 | |
| 14 | - | github.com/bnema/puregotk v0.7.1-0.20260714170452-0b6b9b901234 | |
| 14 | + | github.com/bnema/puregotk v0.7.0 | |
| 15 | 15 | github.com/charmbracelet/bubbles v1.0.0 | |
| 16 | 16 | github.com/charmbracelet/bubbletea v1.3.10 | |
| 17 | 17 | github.com/charmbracelet/lipgloss v1.1.0 | |
| @@ -11,7 +11,7 @@ require ( | |||||
| 11 | github.com/bnema/purego-pipewire v0.1.5-0.20260714124450-6504b9cdf02a | 11 | github.com/bnema/purego-pipewire v0.1.5-0.20260714124450-6504b9cdf02a | ||
| 12 | github.com/bnema/purego-sqlite v0.1.4-0.20260714131321-3614fe683b9c | 12 | github.com/bnema/purego-sqlite v0.1.4-0.20260714131321-3614fe683b9c | ||
| 13 | github.com/bnema/purego-webp v0.2.1-0.20260714152238-7bc9c402fdf6 | 13 | github.com/bnema/purego-webp v0.2.1-0.20260714152238-7bc9c402fdf6 | ||
| 14 | - | github.com/bnema/puregotk v0.7.1-0.20260714170452-0b6b9b901234 | 14 | + | github.com/bnema/puregotk v0.7.0 |
| 15 | github.com/charmbracelet/bubbles v1.0.0 | 15 | github.com/charmbracelet/bubbles v1.0.0 | ||
| 16 | github.com/charmbracelet/bubbletea v1.3.10 | 16 | github.com/charmbracelet/bubbletea v1.3.10 | ||
| 17 | github.com/charmbracelet/lipgloss v1.1.0 | 17 | github.com/charmbracelet/lipgloss v1.1.0 | ||
M go.sum +0 -4 generated file: collapsed
M vendor/github.com/bnema/puregotk/internal/core/core.go +4 -197 generated file: collapsed
M vendor/github.com/bnema/puregotk/pkg/core/core.go +0 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-about-dialog.go +64 -99 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-about-window.go +62 -95 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-accent-color.go +15 -7 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-action-row.go +29 -33 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-alert-dialog.go +47 -66 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-animation-target.go +27 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-animation-util.go +12 -4 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-animation.go +26 -24 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-application-window.go +22 -14 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-application.go +15 -3 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-avatar.go +25 -22 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-banner.go +26 -23 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-bin.go +16 -5 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-bottom-sheet.go +38 -47 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-breakpoint-bin.go +19 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-breakpoint.go +37 -33 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-button-content.go +22 -18 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-button-row.go +18 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-carousel-indicator-dots.go +16 -5 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-carousel-indicator-lines.go +16 -5 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-carousel.go +37 -47 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-clamp-layout.go +20 -14 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-clamp-scrollable.go +22 -17 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-clamp.go +22 -17 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-combo-row.go +33 -34 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-dialog.go +38 -45 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-easing.go +13 -3 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-entry-row.go +33 -40 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-enum-list-model.go +22 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-expander-row.go +33 -40 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-flap.go +48 -61 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-fold-threshold-policy.go +1 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-header-bar.go +33 -36 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-inline-view-switcher.go +24 -18 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-layout-slot.go +15 -4 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-layout.go +17 -7 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-leaflet.go +56 -69 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-length-unit.go +14 -5 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-main.go +15 -5 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-message-dialog.go +44 -63 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-multi-layout-view.go +23 -17 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-navigation-direction.go +1 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-navigation-split-view.go +32 -36 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-navigation-view.go +49 -60 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-overlay-split-view.go +38 -48 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-password-entry-row.go +13 -2 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-preferences-dialog.go +25 -23 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-preferences-group.go +26 -24 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-preferences-page.go +33 -38 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-preferences-row.go +22 -18 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-preferences-window.go +29 -31 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-shortcut-label.go +18 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-shortcuts-dialog.go +15 -4 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-shortcuts-item.go +25 -23 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-shortcuts-section.go +17 -8 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-sidebar-item.go +37 -45 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-sidebar-section.go +27 -24 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-sidebar.go +39 -41 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-spin-row.go +34 -40 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-spinner-paintable.go +16 -5 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-spinner.go +13 -2 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-split-button.go +34 -39 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-spring-animation.go +30 -34 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-spring-params.go +21 -17 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-squeezer.go +44 -49 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-status-page.go +24 -20 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-style-manager.go +28 -25 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-swipe-tracker.go +30 -33 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-swipeable.go +21 -33 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-switch-row.go +16 -6 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-tab-bar.go +32 -35 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-tab-button.go +16 -5 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-tab-overview.go +37 -45 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-tab-view.go +87 -123 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-timed-animation.go +28 -30 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-toast-overlay.go +18 -9 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-toast.go +36 -41 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-toggle-group.go +51 -64 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-toolbar-view.go +35 -40 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-version.go +16 -7 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-view-stack.go +62 -78 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-view-switcher-bar.go +18 -9 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-view-switcher-sidebar.go +22 -15 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-view-switcher-title.go +23 -19 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-view-switcher.go +20 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-window-title.go +18 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-window.go +22 -14 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-wrap-box.go +46 -66 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-wrap-layout.go +46 -57 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/cairo/main.go +79 -36 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkapplaunchcontext.go +17 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkcairo.go +16 -12 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkcairocontext.go +13 -3 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkcicpparams.go +25 -20 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkclipboard.go +32 -34 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkcolorstate.go +16 -12 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkcontentdeserializer.go +27 -26 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkcontentformats.go +31 -28 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkcontentprovider.go +28 -23 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkcontentserializer.go +27 -26 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkcursor.go +21 -12 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdevice.go +33 -36 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdevicepad.go +22 -27 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdevicetool.go +18 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdisplay.go +43 -51 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdisplaymanager.go +20 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdmabuftexture.go +13 -3 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdmabuftexturebuilder.go +41 -53 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdrag.go +28 -20 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdragsurface.go +14 -6 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdragsurfacesize.go +13 -3 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdrawcontext.go +18 -11 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdrop.go +24 -19 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkenums.go +1 -21 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkevents.go +118 -120 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkframeclock.go +24 -22 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkframetimings.go +20 -17 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkglcontext.go +36 -40 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkgltexture.go +15 -4 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkgltexturebuilder.go +35 -41 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkkeys.go +22 -19 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkmemorytexture.go +13 -2 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkmemorytexturebuilder.go +35 -42 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkmonitor.go +27 -27 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkpaintable.go +33 -63 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkpango.go +12 -4 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkpixbuf.go +12 -2 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkpopup.go +26 -47 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkpopuplayout.go +32 -36 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkrgba.go +21 -19 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkseat.go +20 -11 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdksnapshot.go +0 -7 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdksurface.go +40 -46 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdktexture.go +31 -27 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdktoplevel.go +66 -157 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdktoplevellayout.go +25 -24 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdktoplevelsize.go +16 -9 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdktypes.go +72 -95 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkvulkancontext.go +13 -3 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdkpixbuf/gdk-pixbuf-animation.go +32 -26 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdkpixbuf/gdk-pixbuf-core.go +0 -9 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdkpixbuf/gdk-pixbuf-io.go +23 -25 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdkpixbuf/gdk-pixbuf-loader.go +22 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdkpixbuf/gdk-pixbuf-simple-anim.go +17 -8 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdkpixbuf/gdk-pixbuf-transform.go +1 -11 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdkpixbuf/gdk-pixbuf.go +79 -102 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdkpixbuf/main.go +17 -5 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gaction.go +31 -59 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gactiongroup.go +39 -96 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gactionmap.go +21 -33 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gappinfo.go +116 -244 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gapplication.go +55 -79 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gapplicationcommandline.go +27 -31 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gasyncinitable.go +22 -25 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gasyncresult.go +19 -26 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gbufferedinputstream.go +29 -26 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gbufferedoutputstream.go +18 -11 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gbytesicon.go +15 -4 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gcancellable.go +27 -26 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gcharsetconverter.go +17 -8 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gcontenttype.go +26 -30 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gconverter.go +20 -23 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gconverterinputstream.go +14 -3 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gconverteroutputstream.go +14 -3 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gcredentials.go +21 -12 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdatagrambased.go +30 -45 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdatainputstream.go +35 -31 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdataoutputstream.go +23 -14 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusactiongroup.go +13 -2 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusaddress.go +17 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusauthobserver.go +16 -6 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusconnection.go +66 -77 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbuserror.go +18 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusinterface.go +19 -26 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusinterfaceskeleton.go +24 -25 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusintrospection.go +56 -54 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusmenumodel.go +13 -2 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusmessage.go +64 -88 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusmethodinvocation.go +30 -35 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusnameowning.go +15 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusnamewatching.go +15 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusobject.go +17 -19 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusobjectmanager.go +19 -26 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusobjectmanagerclient.go +23 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusobjectmanagerserver.go +20 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusobjectproxy.go +15 -3 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusobjectskeleton.go +18 -12 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusproxy.go +38 -42 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusserver.go +20 -14 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusutils.go +22 -24 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdebugcontroller.go +16 -12 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdebugcontrollerdbus.go +14 -4 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdrive.go +82 -214 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdtlsclientconnection.go +24 -34 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdtlsconnection.go +80 -207 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdtlsserverconnection.go +13 -2 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gemblem.go +17 -6 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gemblemedicon.go +18 -9 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gfile.go +450 -1148 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gfileattribute.go +19 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gfileenumerator.go +35 -34 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gfileicon.go +15 -3 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gfileinfo.go +84 -138 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gfileinputstream.go +23 -17 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gfileiostream.go +27 -23 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gfilemonitor.go +15 -9 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gfilenamecompleter.go +16 -8 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gfileoutputstream.go +27 -23 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gfilterinputstream.go +14 -6 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gfilteroutputstream.go +14 -6 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gicon.go +25 -32 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/ginetaddress.go +34 -40 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/ginetaddressmask.go +21 -14 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/ginetsocketaddress.go +19 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/ginitable.go +18 -11 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/ginputstream.go +48 -52 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gioenums.go +1 -90 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gioerror.go +13 -6 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/giomodule.go +29 -26 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gioscheduler.go +12 -4 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/giostream.go +29 -25 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/giotypes.go +60 -70 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/giptosmessage.go +16 -6 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gipv6tclassmessage.go +16 -6 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/glistmodel.go +21 -33 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gliststore.go +24 -22 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gloadableicon.go +23 -27 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gmemoryinputstream.go +17 -8 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gmemorymonitor.go +12 -2 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gmemoryoutputstream.go +19 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gmenu.go +50 -62 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gmenumodel.go +33 -31 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gmount.go +86 -215 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gmountoperation.go +32 -40 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gnativesocketaddress.go +13 -2 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gnativevolumemonitor.go +0 -7 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gnetworkaddress.go +21 -11 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gnetworking.go +14 -3 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gnetworkmonitor.go +31 -49 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gnetworkservice.go +19 -12 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gnotification.go +26 -26 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/goutputstream.go +72 -86 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gpermission.go +33 -33 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gpollableinputstream.go +22 -30 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gpollableoutputstream.go +27 -41 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gpollableutils.go +15 -7 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gpowerprofilemonitor.go +16 -7 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gpropertyaction.go +13 -2 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gproxy.go +27 -35 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gproxyaddress.go +21 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gproxyaddressenumerator.go +0 -7 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gproxyresolver.go +27 -35 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gremoteactiongroup.go +15 -12 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gresolver.go +67 -75 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gresource.go +23 -19 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gseekable.go +27 -41 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsettings.go +67 -99 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsettingsbackend.go +24 -19 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsettingsschema.go +43 -48 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsimpleaction.go +18 -9 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsimpleactiongroup.go +18 -9 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsimpleasyncresult.go +40 -46 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsimpleiostream.go +13 -2 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsimplepermission.go +13 -2 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsimpleproxyresolver.go +16 -8 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsocket.go +72 -87 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsocketaddress.go +19 -11 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsocketaddressenumerator.go +20 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsocketclient.go +44 -54 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsocketconnectable.go +17 -19 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsocketconnection.go +21 -14 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsocketcontrolmessage.go +17 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsocketlistener.go +25 -18 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsocketservice.go +16 -8 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsrvtarget.go +11 -2 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsubprocess.go +39 -40 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsubprocesslauncher.go +31 -34 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gtask.go +52 -70 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gtcpconnection.go +14 -5 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gtcpwrapperconnection.go +15 -3 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gtestdbus.go +22 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gthemedicon.go +19 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gthreadedresolver.go +0 -7 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gthreadedsocketservice.go +12 -2 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gtlsbackend.go +33 -69 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gtlscertificate.go +29 -25 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gtlsclientconnection.go +29 -55 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gtlsconnection.go +46 -56 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gtlsdatabase.go +48 -51 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gtlsfiledatabase.go +13 -2 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gtlsinteraction.go +31 -27 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gtlspassword.go +22 -20 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gtlsserverconnection.go +13 -2 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gunixconnection.go +20 -11 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gunixcredentialsmessage.go +17 -6 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gunixfdlist.go +19 -11 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gunixsocketaddress.go +22 -14 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gio/gvfs.go +24 -18 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gio/gvolume.go +58 -143 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gio/gvolumemonitor.go +19 -11 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gio/gzlibcompressor.go +18 -9 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gio/gzlibdecompressor.go +15 -3 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gio/main.go +11 -2 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gallocator.go +28 -32 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/garray.go +59 -82 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gasyncqueue.go +39 -56 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gatomic.go +34 -43 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gbacktrace.go +15 -5 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gbase64.go +19 -13 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gbitlock.go +24 -23 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gbookmarkfile.go +61 -69 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gcache.go +15 -10 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gcharset.go +19 -13 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gchecksum.go +25 -23 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gcompletion.go +17 -14 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gconvert.go +28 -25 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gdataset.go +28 -36 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gdate.go +65 -103 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gdatetime.go +66 -107 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gdir.go +19 -12 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/genviron.go +21 -17 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gerror.go +29 -30 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gfileutils.go +38 -45 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/ggettext.go +19 -13 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/ghash.go +53 -81 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/ghmac.go +24 -21 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/ghook.go +26 -28 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/ghostutils.go +18 -11 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/giochannel.go +67 -83 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gkeyfile.go +62 -72 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/glib-types.go +12 -4 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/glist.go +11 -2 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gmain.go +117 -181 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gmappedfile.go +21 -15 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gmarkup.go +43 -51 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gmem.go +31 -44 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gmessages.go +45 -70 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gnode.go +35 -50 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/goption.go +43 -57 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gpathbuf.go +24 -26 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gpattern.go +23 -19 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gpoll.go +13 -3 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gprimes.go +14 -3 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gprintf.go +20 -15 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gqsort.go +15 -5 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gquark.go +19 -13 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gqueue.go +52 -84 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/grand.go +30 -33 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/grcbox.go +27 -29 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/grefcount.go +21 -17 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/grefstring.go +20 -15 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gregex.go +57 -72 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/grel.go +21 -20 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gscanner.go +30 -40 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gsequence.go +49 -74 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gshell.go +16 -5 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gslice.go +21 -17 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gslist.go +11 -2 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gspawn.go +23 -12 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gstdio.go +27 -33 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gstrfuncs.go +71 -115 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gstring.go +51 -77 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gstringchunk.go +15 -10 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gstrvbuilder.go +22 -19 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gtestutils.go +80 -132 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gthread.go +97 -146 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gthreadpool.go +25 -26 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gtimer.go +20 -18 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gtimezone.go +26 -27 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gtrashstack.go +14 -8 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gtree.go +45 -63 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gtypes.go +12 -4 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gunicode.go +85 -132 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/guri.go +50 -63 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gutils.go +41 -62 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/guuid.go +15 -5 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gvariant-parser.go +14 -3 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gvariant.go +143 -242 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gvarianttype.go +45 -63 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gversion.go +14 -3 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/main.go +28 -31 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gmodule/gmodule.go +18 -14 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gmodule/main.go +11 -2 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/gbinding.go +22 -14 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/gbindinggroup.go +19 -11 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/gboxed.go +13 -6 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/gclosure.go +31 -37 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/genums.go +22 -24 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/glib-types.go +11 -2 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/gmarshal.go +35 -45 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/gobject.go +82 -116 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/gparam.go +43 -54 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/gparamspecs.go +79 -46 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/gsignal.go +50 -79 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/gsignalgroup.go +24 -21 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/gsourceclosure.go +12 -4 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/gtype.go +82 -136 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/gtypemodule.go +18 -15 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/gtypeplugin.go +20 -26 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/gvalue.go +85 -141 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/gvaluearray.go +23 -21 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/gvaluetypes.go +13 -6 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/main.go +1 -10 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/more.go +1 -8 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/graphene/graphene-box.go +44 -61 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/graphene/graphene-euler.go +34 -43 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/graphene/graphene-frustum.go +23 -21 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/graphene/graphene-matrix.go +80 -135
| @@ -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 Matrix struct { | |||
| 22 | 23 | var xMatrixGLibType func() types.GType | |
| 23 | 24 | ||
| 24 | 25 | func MatrixGLibType() types.GType { | |
| 25 | - | core.LazyRegister(&xMatrixGLibType, "GRAPHENE", "graphene_matrix_get_type", false) | |
| 26 | 26 | return xMatrixGLibType() | |
| 27 | 27 | } | |
| 28 | 28 | ||
| @@ -42,8 +42,6 @@ var xMatrixAlloc func() uintptr | |||
| 42 | 42 | ||
| 43 | 43 | // Allocates a new #graphene_matrix_t. | |
| 44 | 44 | func MatrixAlloc() *Matrix { | |
| 45 | - | core.LazyRegister(&xMatrixAlloc, "GRAPHENE", "graphene_matrix_alloc", false) | |
| 46 | - | ||
| 47 | 45 | cret := xMatrixAlloc() | |
| 48 | 46 | if cret == 0 { | |
| 49 | 47 | return nil | |
| @@ -61,8 +59,6 @@ var xMatrixDecompose func(uintptr, *Vec3, *Vec3, *Quaternion, *Vec3, *Vec4) bool | |||
| 61 | 59 | // published in "Graphics Gems II", edited by Jim Arvo, and | |
| 62 | 60 | // [available online](http://web.archive.org/web/20150512160205/http://tog.acm.org/resources/GraphicsGems/gemsii/unmatrix.c). | |
| 63 | 61 | func (x *Matrix) Decompose(TranslateVar *Vec3, ScaleVar *Vec3, RotateVar *Quaternion, ShearVar *Vec3, PerspectiveVar *Vec4) bool { | |
| 64 | - | core.LazyRegister(&xMatrixDecompose, "GRAPHENE", "graphene_matrix_decompose", false) | |
| 65 | - | ||
| 66 | 62 | cret := xMatrixDecompose(x.GoPointer(), TranslateVar, ScaleVar, RotateVar, ShearVar, PerspectiveVar) | |
| 67 | 63 | return cret | |
| 68 | 64 | } | |
| @@ -71,8 +67,6 @@ var xMatrixDeterminant func(uintptr) float32 | |||
| 71 | 67 | ||
| 72 | 68 | // Computes the determinant of the given matrix. | |
| 73 | 69 | func (x *Matrix) Determinant() float32 { | |
| 74 | - | core.LazyRegister(&xMatrixDeterminant, "GRAPHENE", "graphene_matrix_determinant", false) | |
| 75 | - | ||
| 76 | 70 | cret := xMatrixDeterminant(x.GoPointer()) | |
| 77 | 71 | return cret | |
| 78 | 72 | } | |
| @@ -81,8 +75,6 @@ var xMatrixEqual func(uintptr, *Matrix) bool | |||
| 81 | 75 | ||
| 82 | 76 | // Checks whether the two given #graphene_matrix_t matrices are equal. | |
| 83 | 77 | func (x *Matrix) Equal(BVar *Matrix) bool { | |
| 84 | - | core.LazyRegister(&xMatrixEqual, "GRAPHENE", "graphene_matrix_equal", false) | |
| 85 | - | ||
| 86 | 78 | cret := xMatrixEqual(x.GoPointer(), BVar) | |
| 87 | 79 | return cret | |
| 88 | 80 | } | |
| @@ -115,8 +107,6 @@ var xMatrixEqualFast func(uintptr, *Matrix) bool | |||
| 115 | 107 | // | |
| 116 | 108 | // ]| | |
| 117 | 109 | func (x *Matrix) EqualFast(BVar *Matrix) bool { | |
| 118 | - | core.LazyRegister(&xMatrixEqualFast, "GRAPHENE", "graphene_matrix_equal_fast", false) | |
| 119 | - | ||
| 120 | 110 | cret := xMatrixEqualFast(x.GoPointer(), BVar) | |
| 121 | 111 | return cret | |
| 122 | 112 | } | |
| @@ -125,8 +115,6 @@ var xMatrixFree func(uintptr) | |||
| 125 | 115 | ||
| 126 | 116 | // Frees the resources allocated by graphene_matrix_alloc(). | |
| 127 | 117 | func (x *Matrix) Free() { | |
| 128 | - | core.LazyRegister(&xMatrixFree, "GRAPHENE", "graphene_matrix_free", false) | |
| 129 | - | ||
| 130 | 118 | xMatrixFree(x.GoPointer()) | |
| 131 | 119 | } | |
| 132 | 120 | ||
| @@ -134,8 +122,6 @@ var xMatrixGetRow func(uintptr, uint, *Vec4) | |||
| 134 | 122 | ||
| 135 | 123 | // Retrieves the given row vector at @index_ inside a matrix. | |
| 136 | 124 | func (x *Matrix) GetRow(IndexVar uint, ResVar *Vec4) { | |
| 137 | - | core.LazyRegister(&xMatrixGetRow, "GRAPHENE", "graphene_matrix_get_row", false) | |
| 138 | - | ||
| 139 | 125 | xMatrixGetRow(x.GoPointer(), IndexVar, ResVar) | |
| 140 | 126 | } | |
| 141 | 127 | ||
| @@ -143,8 +129,6 @@ var xMatrixGetValue func(uintptr, uint, uint) float32 | |||
| 143 | 129 | ||
| 144 | 130 | // Retrieves the value at the given @row and @col index. | |
| 145 | 131 | func (x *Matrix) GetValue(RowVar uint, ColVar uint) float32 { | |
| 146 | - | core.LazyRegister(&xMatrixGetValue, "GRAPHENE", "graphene_matrix_get_value", false) | |
| 147 | - | ||
| 148 | 132 | cret := xMatrixGetValue(x.GoPointer(), RowVar, ColVar) | |
| 149 | 133 | return cret | |
| 150 | 134 | } | |
| @@ -153,8 +137,6 @@ var xMatrixGetXScale func(uintptr) float32 | |||
| 153 | 137 | ||
| 154 | 138 | // Retrieves the scaling factor on the X axis in @m. | |
| 155 | 139 | func (x *Matrix) GetXScale() float32 { | |
| 156 | - | core.LazyRegister(&xMatrixGetXScale, "GRAPHENE", "graphene_matrix_get_x_scale", false) | |
| 157 | - | ||
| 158 | 140 | cret := xMatrixGetXScale(x.GoPointer()) | |
| 159 | 141 | return cret | |
| 160 | 142 | } | |
| @@ -163,8 +145,6 @@ var xMatrixGetXTranslation func(uintptr) float32 | |||
| 163 | 145 | ||
| 164 | 146 | // Retrieves the translation component on the X axis from @m. | |
| 165 | 147 | func (x *Matrix) GetXTranslation() float32 { | |
| 166 | - | core.LazyRegister(&xMatrixGetXTranslation, "GRAPHENE", "graphene_matrix_get_x_translation", false) | |
| 167 | - | ||
| 168 | 148 | cret := xMatrixGetXTranslation(x.GoPointer()) | |
| 169 | 149 | return cret | |
| 170 | 150 | } | |
| @@ -173,8 +153,6 @@ var xMatrixGetYScale func(uintptr) float32 | |||
| 173 | 153 | ||
| 174 | 154 | // Retrieves the scaling factor on the Y axis in @m. | |
| 175 | 155 | func (x *Matrix) GetYScale() float32 { | |
| 176 | - | core.LazyRegister(&xMatrixGetYScale, "GRAPHENE", "graphene_matrix_get_y_scale", false) | |
| 177 | - | ||
| 178 | 156 | cret := xMatrixGetYScale(x.GoPointer()) | |
| 179 | 157 | return cret | |
| 180 | 158 | } | |
| @@ -183,8 +161,6 @@ var xMatrixGetYTranslation func(uintptr) float32 | |||
| 183 | 161 | ||
| 184 | 162 | // Retrieves the translation component on the Y axis from @m. | |
| 185 | 163 | func (x *Matrix) GetYTranslation() float32 { | |
| 186 | - | core.LazyRegister(&xMatrixGetYTranslation, "GRAPHENE", "graphene_matrix_get_y_translation", false) | |
| 187 | - | ||
| 188 | 164 | cret := xMatrixGetYTranslation(x.GoPointer()) | |
| 189 | 165 | return cret | |
| 190 | 166 | } | |
| @@ -193,8 +169,6 @@ var xMatrixGetZScale func(uintptr) float32 | |||
| 193 | 169 | ||
| 194 | 170 | // Retrieves the scaling factor on the Z axis in @m. | |
| 195 | 171 | func (x *Matrix) GetZScale() float32 { | |
| 196 | - | core.LazyRegister(&xMatrixGetZScale, "GRAPHENE", "graphene_matrix_get_z_scale", false) | |
| 197 | - | ||
| 198 | 172 | cret := xMatrixGetZScale(x.GoPointer()) | |
| 199 | 173 | return cret | |
| 200 | 174 | } | |
| @@ -203,8 +177,6 @@ var xMatrixGetZTranslation func(uintptr) float32 | |||
| 203 | 177 | ||
| 204 | 178 | // Retrieves the translation component on the Z axis from @m. | |
| 205 | 179 | func (x *Matrix) GetZTranslation() float32 { | |
| 206 | - | core.LazyRegister(&xMatrixGetZTranslation, "GRAPHENE", "graphene_matrix_get_z_translation", false) | |
| 207 | - | ||
| 208 | 180 | cret := xMatrixGetZTranslation(x.GoPointer()) | |
| 209 | 181 | return cret | |
| 210 | 182 | } | |
| @@ -227,8 +199,6 @@ var xMatrixInitFrom2d func(uintptr, float64, float64, float64, float64, float64, | |||
| 227 | 199 | // This function can be used to convert between an affine matrix type | |
| 228 | 200 | // from other libraries and a #graphene_matrix_t. | |
| 229 | 201 | func (x *Matrix) InitFrom2d(XxVar float64, YxVar float64, XyVar float64, YyVar float64, X0Var float64, Y0Var float64) *Matrix { | |
| 230 | - | core.LazyRegister(&xMatrixInitFrom2d, "GRAPHENE", "graphene_matrix_init_from_2d", false) | |
| 231 | - | ||
| 232 | 202 | cret := xMatrixInitFrom2d(x.GoPointer(), XxVar, YxVar, XyVar, YyVar, X0Var, Y0Var) | |
| 233 | 203 | if cret == 0 { | |
| 234 | 204 | return nil | |
| @@ -241,8 +211,6 @@ var xMatrixInitFromFloat func(uintptr, [16]float32) uintptr | |||
| 241 | 211 | // Initializes a #graphene_matrix_t with the given array of floating | |
| 242 | 212 | // point values. | |
| 243 | 213 | func (x *Matrix) InitFromFloat(VVar [16]float32) *Matrix { | |
| 244 | - | core.LazyRegister(&xMatrixInitFromFloat, "GRAPHENE", "graphene_matrix_init_from_float", false) | |
| 245 | - | ||
| 246 | 214 | cret := xMatrixInitFromFloat(x.GoPointer(), VVar) | |
| 247 | 215 | if cret == 0 { | |
| 248 | 216 | return nil | |
| @@ -255,8 +223,6 @@ var xMatrixInitFromMatrix func(uintptr, *Matrix) uintptr | |||
| 255 | 223 | // Initializes a #graphene_matrix_t using the values of the | |
| 256 | 224 | // given matrix. | |
| 257 | 225 | func (x *Matrix) InitFromMatrix(SrcVar *Matrix) *Matrix { | |
| 258 | - | core.LazyRegister(&xMatrixInitFromMatrix, "GRAPHENE", "graphene_matrix_init_from_matrix", false) | |
| 259 | - | ||
| 260 | 226 | cret := xMatrixInitFromMatrix(x.GoPointer(), SrcVar) | |
| 261 | 227 | if cret == 0 { | |
| 262 | 228 | return nil | |
| @@ -269,8 +235,6 @@ var xMatrixInitFromVec4 func(uintptr, *Vec4, *Vec4, *Vec4, *Vec4) uintptr | |||
| 269 | 235 | // Initializes a #graphene_matrix_t with the given four row | |
| 270 | 236 | // vectors. | |
| 271 | 237 | func (x *Matrix) InitFromVec4(V0Var *Vec4, V1Var *Vec4, V2Var *Vec4, V3Var *Vec4) *Matrix { | |
| 272 | - | core.LazyRegister(&xMatrixInitFromVec4, "GRAPHENE", "graphene_matrix_init_from_vec4", false) | |
| 273 | - | ||
| 274 | 238 | cret := xMatrixInitFromVec4(x.GoPointer(), V0Var, V1Var, V2Var, V3Var) | |
| 275 | 239 | if cret == 0 { | |
| 276 | 240 | return nil | |
| @@ -284,8 +248,6 @@ var xMatrixInitFrustum func(uintptr, float32, float32, float32, float32, float32 | |||
| 284 | 248 | // | |
| 285 | 249 | // See also: graphene_frustum_init_from_matrix() | |
| 286 | 250 | func (x *Matrix) InitFrustum(LeftVar float32, RightVar float32, BottomVar float32, TopVar float32, ZNearVar float32, ZFarVar float32) *Matrix { | |
| 287 | - | core.LazyRegister(&xMatrixInitFrustum, "GRAPHENE", "graphene_matrix_init_frustum", false) | |
| 288 | - | ||
| 289 | 251 | cret := xMatrixInitFrustum(x.GoPointer(), LeftVar, RightVar, BottomVar, TopVar, ZNearVar, ZFarVar) | |
| 290 | 252 | if cret == 0 { | |
| 291 | 253 | return nil | |
| @@ -297,8 +259,6 @@ var xMatrixInitIdentity func(uintptr) uintptr | |||
| 297 | 259 | ||
| 298 | 260 | // Initializes a #graphene_matrix_t with the identity matrix. | |
| 299 | 261 | func (x *Matrix) InitIdentity() *Matrix { | |
| 300 | - | core.LazyRegister(&xMatrixInitIdentity, "GRAPHENE", "graphene_matrix_init_identity", false) | |
| 301 | - | ||
| 302 | 262 | cret := xMatrixInitIdentity(x.GoPointer()) | |
| 303 | 263 | if cret == 0 { | |
| 304 | 264 | return nil | |
| @@ -325,8 +285,6 @@ var xMatrixInitLookAt func(uintptr, *Vec3, *Vec3, *Vec3) uintptr | |||
| 325 | 285 | // camera projection transform to get from view to screen | |
| 326 | 286 | // coordinates. | |
| 327 | 287 | func (x *Matrix) InitLookAt(EyeVar *Vec3, CenterVar *Vec3, UpVar *Vec3) *Matrix { | |
| 328 | - | core.LazyRegister(&xMatrixInitLookAt, "GRAPHENE", "graphene_matrix_init_look_at", false) | |
| 329 | - | ||
| 330 | 288 | cret := xMatrixInitLookAt(x.GoPointer(), EyeVar, CenterVar, UpVar) | |
| 331 | 289 | if cret == 0 { | |
| 332 | 290 | return nil | |
| @@ -338,8 +296,6 @@ var xMatrixInitOrtho func(uintptr, float32, float32, float32, float32, float32, | |||
| 338 | 296 | ||
| 339 | 297 | // Initializes a #graphene_matrix_t with an orthographic projection. | |
| 340 | 298 | func (x *Matrix) InitOrtho(LeftVar float32, RightVar float32, TopVar float32, BottomVar float32, ZNearVar float32, ZFarVar float32) *Matrix { | |
| 341 | - | core.LazyRegister(&xMatrixInitOrtho, "GRAPHENE", "graphene_matrix_init_ortho", false) | |
| 342 | - | ||
| 343 | 299 | cret := xMatrixInitOrtho(x.GoPointer(), LeftVar, RightVar, TopVar, BottomVar, ZNearVar, ZFarVar) | |
| 344 | 300 | if cret == 0 { | |
| 345 | 301 | return nil | |
| @@ -351,8 +307,6 @@ var xMatrixInitPerspective func(uintptr, float32, float32, float32, float32) uin | |||
| 351 | 307 | ||
| 352 | 308 | // Initializes a #graphene_matrix_t with a perspective projection. | |
| 353 | 309 | func (x *Matrix) InitPerspective(FovyVar float32, AspectVar float32, ZNearVar float32, ZFarVar float32) *Matrix { | |
| 354 | - | core.LazyRegister(&xMatrixInitPerspective, "GRAPHENE", "graphene_matrix_init_perspective", false) | |
| 355 | - | ||
| 356 | 310 | cret := xMatrixInitPerspective(x.GoPointer(), FovyVar, AspectVar, ZNearVar, ZFarVar) | |
| 357 | 311 | if cret == 0 { | |
| 358 | 312 | return nil | |
| @@ -365,8 +319,6 @@ var xMatrixInitRotate func(uintptr, float32, *Vec3) uintptr | |||
| 365 | 319 | // Initializes @m to represent a rotation of @angle degrees on | |
| 366 | 320 | // the axis represented by the @axis vector. | |
| 367 | 321 | func (x *Matrix) InitRotate(AngleVar float32, AxisVar *Vec3) *Matrix { | |
| 368 | - | core.LazyRegister(&xMatrixInitRotate, "GRAPHENE", "graphene_matrix_init_rotate", false) | |
| 369 | - | ||
| 370 | 322 | cret := xMatrixInitRotate(x.GoPointer(), AngleVar, AxisVar) | |
| 371 | 323 | if cret == 0 { | |
| 372 | 324 | return nil | |
| @@ -378,8 +330,6 @@ var xMatrixInitScale func(uintptr, float32, float32, float32) uintptr | |||
| 378 | 330 | ||
| 379 | 331 | // Initializes a #graphene_matrix_t with the given scaling factors. | |
| 380 | 332 | func (x *Matrix) InitScale(XVar float32, YVar float32, ZVar float32) *Matrix { | |
| 381 | - | core.LazyRegister(&xMatrixInitScale, "GRAPHENE", "graphene_matrix_init_scale", false) | |
| 382 | - | ||
| 383 | 333 | cret := xMatrixInitScale(x.GoPointer(), XVar, YVar, ZVar) | |
| 384 | 334 | if cret == 0 { | |
| 385 | 335 | return nil | |
| @@ -392,8 +342,6 @@ var xMatrixInitSkew func(uintptr, float32, float32) uintptr | |||
| 392 | 342 | // Initializes a #graphene_matrix_t with a skew transformation | |
| 393 | 343 | // with the given factors. | |
| 394 | 344 | func (x *Matrix) InitSkew(XSkewVar float32, YSkewVar float32) *Matrix { | |
| 395 | - | core.LazyRegister(&xMatrixInitSkew, "GRAPHENE", "graphene_matrix_init_skew", false) | |
| 396 | - | ||
| 397 | 345 | cret := xMatrixInitSkew(x.GoPointer(), XSkewVar, YSkewVar) | |
| 398 | 346 | if cret == 0 { | |
| 399 | 347 | return nil | |
| @@ -406,8 +354,6 @@ var xMatrixInitTranslate func(uintptr, *Point3D) uintptr | |||
| 406 | 354 | // Initializes a #graphene_matrix_t with a translation to the | |
| 407 | 355 | // given coordinates. | |
| 408 | 356 | func (x *Matrix) InitTranslate(PVar *Point3D) *Matrix { | |
| 409 | - | core.LazyRegister(&xMatrixInitTranslate, "GRAPHENE", "graphene_matrix_init_translate", false) | |
| 410 | - | ||
| 411 | 357 | cret := xMatrixInitTranslate(x.GoPointer(), PVar) | |
| 412 | 358 | if cret == 0 { | |
| 413 | 359 | return nil | |
| @@ -424,8 +370,6 @@ var xMatrixInterpolate func(uintptr, *Matrix, float64, *Matrix) | |||
| 424 | 370 | // then the interpolation cannot be performed, and this function | |
| 425 | 371 | // will return an identity matrix. | |
| 426 | 372 | func (x *Matrix) Interpolate(BVar *Matrix, FactorVar float64, ResVar *Matrix) { | |
| 427 | - | core.LazyRegister(&xMatrixInterpolate, "GRAPHENE", "graphene_matrix_interpolate", false) | |
| 428 | - | ||
| 429 | 373 | xMatrixInterpolate(x.GoPointer(), BVar, FactorVar, ResVar) | |
| 430 | 374 | } | |
| 431 | 375 | ||
| @@ -433,8 +377,6 @@ var xMatrixInverse func(uintptr, *Matrix) bool | |||
| 433 | 377 | ||
| 434 | 378 | // Inverts the given matrix. | |
| 435 | 379 | func (x *Matrix) Inverse(ResVar *Matrix) bool { | |
| 436 | - | core.LazyRegister(&xMatrixInverse, "GRAPHENE", "graphene_matrix_inverse", false) | |
| 437 | - | ||
| 438 | 380 | cret := xMatrixInverse(x.GoPointer(), ResVar) | |
| 439 | 381 | return cret | |
| 440 | 382 | } | |
| @@ -444,8 +386,6 @@ var xMatrixIs2d func(uintptr) bool | |||
| 444 | 386 | // Checks whether the given #graphene_matrix_t is compatible with an | |
| 445 | 387 | // a 2D affine transformation matrix. | |
| 446 | 388 | func (x *Matrix) Is2d() bool { | |
| 447 | - | core.LazyRegister(&xMatrixIs2d, "GRAPHENE", "graphene_matrix_is_2d", false) | |
| 448 | - | ||
| 449 | 389 | cret := xMatrixIs2d(x.GoPointer()) | |
| 450 | 390 | return cret | |
| 451 | 391 | } | |
| @@ -454,8 +394,6 @@ var xMatrixIsBackfaceVisible func(uintptr) bool | |||
| 454 | 394 | ||
| 455 | 395 | // Checks whether a #graphene_matrix_t has a visible back face. | |
| 456 | 396 | func (x *Matrix) IsBackfaceVisible() bool { | |
| 457 | - | core.LazyRegister(&xMatrixIsBackfaceVisible, "GRAPHENE", "graphene_matrix_is_backface_visible", false) | |
| 458 | - | ||
| 459 | 397 | cret := xMatrixIsBackfaceVisible(x.GoPointer()) | |
| 460 | 398 | return cret | |
| 461 | 399 | } | |
| @@ -464,8 +402,6 @@ var xMatrixIsIdentity func(uintptr) bool | |||
| 464 | 402 | ||
| 465 | 403 | // Checks whether the given #graphene_matrix_t is the identity matrix. | |
| 466 | 404 | func (x *Matrix) IsIdentity() bool { | |
| 467 | - | core.LazyRegister(&xMatrixIsIdentity, "GRAPHENE", "graphene_matrix_is_identity", false) | |
| 468 | - | ||
| 469 | 405 | cret := xMatrixIsIdentity(x.GoPointer()) | |
| 470 | 406 | return cret | |
| 471 | 407 | } | |
| @@ -474,8 +410,6 @@ var xMatrixIsSingular func(uintptr) bool | |||
| 474 | 410 | ||
| 475 | 411 | // Checks whether a matrix is singular. | |
| 476 | 412 | func (x *Matrix) IsSingular() bool { | |
| 477 | - | core.LazyRegister(&xMatrixIsSingular, "GRAPHENE", "graphene_matrix_is_singular", false) | |
| 478 | - | ||
| 479 | 413 | cret := xMatrixIsSingular(x.GoPointer()) | |
| 480 | 414 | return cret | |
| 481 | 415 | } | |
| @@ -487,8 +421,6 @@ var xMatrixMultiply func(uintptr, *Matrix, *Matrix) | |||
| 487 | 421 | // Matrix multiplication is not commutative in general; the order of the factors matters. | |
| 488 | 422 | // The product of this multiplication is (@a × @b) | |
| 489 | 423 | func (x *Matrix) Multiply(BVar *Matrix, ResVar *Matrix) { | |
| 490 | - | core.LazyRegister(&xMatrixMultiply, "GRAPHENE", "graphene_matrix_multiply", false) | |
| 491 | - | ||
| 492 | 424 | xMatrixMultiply(x.GoPointer(), BVar, ResVar) | |
| 493 | 425 | } | |
| 494 | 426 | ||
| @@ -498,8 +430,6 @@ var xMatrixNear func(uintptr, *Matrix, float32) bool | |||
| 498 | 430 | // whether their values are within the given @epsilon of each | |
| 499 | 431 | // other. | |
| 500 | 432 | func (x *Matrix) Near(BVar *Matrix, EpsilonVar float32) bool { | |
| 501 | - | core.LazyRegister(&xMatrixNear, "GRAPHENE", "graphene_matrix_near", false) | |
| 502 | - | ||
| 503 | 433 | cret := xMatrixNear(x.GoPointer(), BVar, EpsilonVar) | |
| 504 | 434 | return cret | |
| 505 | 435 | } | |
| @@ -508,8 +438,6 @@ var xMatrixNormalize func(uintptr, *Matrix) | |||
| 508 | 438 | ||
| 509 | 439 | // Normalizes the given #graphene_matrix_t. | |
| 510 | 440 | func (x *Matrix) Normalize(ResVar *Matrix) { | |
| 511 | - | core.LazyRegister(&xMatrixNormalize, "GRAPHENE", "graphene_matrix_normalize", false) | |
| 512 | - | ||
| 513 | 441 | xMatrixNormalize(x.GoPointer(), ResVar) | |
| 514 | 442 | } | |
| 515 | 443 | ||
| @@ -517,8 +445,6 @@ var xMatrixPerspective func(uintptr, float32, *Matrix) | |||
| 517 | 445 | ||
| 518 | 446 | // Applies a perspective of @depth to the matrix. | |
| 519 | 447 | func (x *Matrix) Perspective(DepthVar float32, ResVar *Matrix) { | |
| 520 | - | core.LazyRegister(&xMatrixPerspective, "GRAPHENE", "graphene_matrix_perspective", false) | |
| 521 | - | ||
| 522 | 448 | xMatrixPerspective(x.GoPointer(), DepthVar, ResVar) | |
| 523 | 449 | } | |
| 524 | 450 | ||
| @@ -529,8 +455,6 @@ var xMatrixPrint func(uintptr) | |||
| 529 | 455 | // This function is only useful for debugging; there are no guarantees | |
| 530 | 456 | // made on the format of the output. | |
| 531 | 457 | func (x *Matrix) Print() { | |
| 532 | - | core.LazyRegister(&xMatrixPrint, "GRAPHENE", "graphene_matrix_print", false) | |
| 533 | - | ||
| 534 | 458 | xMatrixPrint(x.GoPointer()) | |
| 535 | 459 | } | |
| 536 | 460 | ||
| @@ -538,8 +462,6 @@ var xMatrixProjectPoint func(uintptr, *Point, *Point) | |||
| 538 | 462 | ||
| 539 | 463 | // Projects a #graphene_point_t using the matrix @m. | |
| 540 | 464 | func (x *Matrix) ProjectPoint(PVar *Point, ResVar *Point) { | |
| 541 | - | core.LazyRegister(&xMatrixProjectPoint, "GRAPHENE", "graphene_matrix_project_point", false) | |
| 542 | - | ||
| 543 | 465 | xMatrixProjectPoint(x.GoPointer(), PVar, ResVar) | |
| 544 | 466 | } | |
| 545 | 467 | ||
| @@ -549,8 +471,6 @@ var xMatrixProjectRect func(uintptr, *Rect, *Quad) | |||
| 549 | 471 | // | |
| 550 | 472 | // See also: graphene_matrix_project_point() | |
| 551 | 473 | func (x *Matrix) ProjectRect(RVar *Rect, ResVar *Quad) { | |
| 552 | - | core.LazyRegister(&xMatrixProjectRect, "GRAPHENE", "graphene_matrix_project_rect", false) | |
| 553 | - | ||
| 554 | 474 | xMatrixProjectRect(x.GoPointer(), RVar, ResVar) | |
| 555 | 475 | } | |
| 556 | 476 | ||
| @@ -561,8 +481,6 @@ var xMatrixProjectRectBounds func(uintptr, *Rect, *Rect) | |||
| 561 | 481 | // The resulting rectangle is the axis aligned bounding rectangle capable | |
| 562 | 482 | // of fully containing the projected rectangle. | |
| 563 | 483 | func (x *Matrix) ProjectRectBounds(RVar *Rect, ResVar *Rect) { | |
| 564 | - | core.LazyRegister(&xMatrixProjectRectBounds, "GRAPHENE", "graphene_matrix_project_rect_bounds", false) | |
| 565 | - | ||
| 566 | 484 | xMatrixProjectRectBounds(x.GoPointer(), RVar, ResVar) | |
| 567 | 485 | } | |
| 568 | 486 | ||
| @@ -574,8 +492,6 @@ var xMatrixRotate func(uintptr, float32, *Vec3) | |||
| 574 | 492 | // This is the equivalent of calling graphene_matrix_init_rotate() and | |
| 575 | 493 | // then multiplying the matrix @m with the rotation matrix. | |
| 576 | 494 | func (x *Matrix) Rotate(AngleVar float32, AxisVar *Vec3) { | |
| 577 | - | core.LazyRegister(&xMatrixRotate, "GRAPHENE", "graphene_matrix_rotate", false) | |
| 578 | - | ||
| 579 | 495 | xMatrixRotate(x.GoPointer(), AngleVar, AxisVar) | |
| 580 | 496 | } | |
| 581 | 497 | ||
| @@ -584,8 +500,6 @@ var xMatrixRotateEuler func(uintptr, *Euler) | |||
| 584 | 500 | // Adds a rotation transformation to @m, using the given | |
| 585 | 501 | // #graphene_euler_t. | |
| 586 | 502 | func (x *Matrix) RotateEuler(EVar *Euler) { | |
| 587 | - | core.LazyRegister(&xMatrixRotateEuler, "GRAPHENE", "graphene_matrix_rotate_euler", false) | |
| 588 | - | ||
| 589 | 503 | xMatrixRotateEuler(x.GoPointer(), EVar) | |
| 590 | 504 | } | |
| 591 | 505 | ||
| @@ -597,8 +511,6 @@ var xMatrixRotateQuaternion func(uintptr, *Quaternion) | |||
| 597 | 511 | // This is the equivalent of calling graphene_quaternion_to_matrix() and | |
| 598 | 512 | // then multiplying @m with the rotation matrix. | |
| 599 | 513 | func (x *Matrix) RotateQuaternion(QVar *Quaternion) { | |
| 600 | - | core.LazyRegister(&xMatrixRotateQuaternion, "GRAPHENE", "graphene_matrix_rotate_quaternion", false) | |
| 601 | - | ||
| 602 | 514 | xMatrixRotateQuaternion(x.GoPointer(), QVar) | |
| 603 | 515 | } | |
| 604 | 516 | ||
| @@ -609,8 +521,6 @@ var xMatrixRotateX func(uintptr, float32) | |||
| 609 | 521 | // | |
| 610 | 522 | // See also: graphene_matrix_rotate() | |
| 611 | 523 | func (x *Matrix) RotateX(AngleVar float32) { | |
| 612 | - | core.LazyRegister(&xMatrixRotateX, "GRAPHENE", "graphene_matrix_rotate_x", false) | |
| 613 | - | ||
| 614 | 524 | xMatrixRotateX(x.GoPointer(), AngleVar) | |
| 615 | 525 | } | |
| 616 | 526 | ||
| @@ -621,8 +531,6 @@ var xMatrixRotateY func(uintptr, float32) | |||
| 621 | 531 | // | |
| 622 | 532 | // See also: graphene_matrix_rotate() | |
| 623 | 533 | func (x *Matrix) RotateY(AngleVar float32) { | |
| 624 | - | core.LazyRegister(&xMatrixRotateY, "GRAPHENE", "graphene_matrix_rotate_y", false) | |
| 625 | - | ||
| 626 | 534 | xMatrixRotateY(x.GoPointer(), AngleVar) | |
| 627 | 535 | } | |
| 628 | 536 | ||
| @@ -633,8 +541,6 @@ var xMatrixRotateZ func(uintptr, float32) | |||
| 633 | 541 | // | |
| 634 | 542 | // See also: graphene_matrix_rotate() | |
| 635 | 543 | func (x *Matrix) RotateZ(AngleVar float32) { | |
| 636 | - | core.LazyRegister(&xMatrixRotateZ, "GRAPHENE", "graphene_matrix_rotate_z", false) | |
| 637 | - | ||
| 638 | 544 | xMatrixRotateZ(x.GoPointer(), AngleVar) | |
| 639 | 545 | } | |
| 640 | 546 | ||
| @@ -646,8 +552,6 @@ var xMatrixScale func(uintptr, float32, float32, float32) | |||
| 646 | 552 | // This is the equivalent of calling graphene_matrix_init_scale() and then | |
| 647 | 553 | // multiplying the matrix @m with the scale matrix. | |
| 648 | 554 | func (x *Matrix) Scale(FactorXVar float32, FactorYVar float32, FactorZVar float32) { | |
| 649 | - | core.LazyRegister(&xMatrixScale, "GRAPHENE", "graphene_matrix_scale", false) | |
| 650 | - | ||
| 651 | 555 | xMatrixScale(x.GoPointer(), FactorXVar, FactorYVar, FactorZVar) | |
| 652 | 556 | } | |
| 653 | 557 | ||
| @@ -655,8 +559,6 @@ var xMatrixSkewXy func(uintptr, float32) | |||
| 655 | 559 | ||
| 656 | 560 | // Adds a skew of @factor on the X and Y axis to the given matrix. | |
| 657 | 561 | func (x *Matrix) SkewXy(FactorVar float32) { | |
| 658 | - | core.LazyRegister(&xMatrixSkewXy, "GRAPHENE", "graphene_matrix_skew_xy", false) | |
| 659 | - | ||
| 660 | 562 | xMatrixSkewXy(x.GoPointer(), FactorVar) | |
| 661 | 563 | } | |
| 662 | 564 | ||
| @@ -664,8 +566,6 @@ var xMatrixSkewXz func(uintptr, float32) | |||
| 664 | 566 | ||
| 665 | 567 | // Adds a skew of @factor on the X and Z axis to the given matrix. | |
| 666 | 568 | func (x *Matrix) SkewXz(FactorVar float32) { | |
| 667 | - | core.LazyRegister(&xMatrixSkewXz, "GRAPHENE", "graphene_matrix_skew_xz", false) | |
| 668 | - | ||
| 669 | 569 | xMatrixSkewXz(x.GoPointer(), FactorVar) | |
| 670 | 570 | } | |
| 671 | 571 | ||
| @@ -673,8 +573,6 @@ var xMatrixSkewYz func(uintptr, float32) | |||
| 673 | 573 | ||
| 674 | 574 | // Adds a skew of @factor on the Y and Z axis to the given matrix. | |
| 675 | 575 | func (x *Matrix) SkewYz(FactorVar float32) { | |
| 676 | - | core.LazyRegister(&xMatrixSkewYz, "GRAPHENE", "graphene_matrix_skew_yz", false) | |
| 677 | - | ||
| 678 | 576 | xMatrixSkewYz(x.GoPointer(), FactorVar) | |
| 679 | 577 | } | |
| 680 | 578 | ||
| @@ -696,8 +594,6 @@ var xMatrixTo2d func(uintptr, *float64, *float64, *float64, *float64, *float64, | |||
| 696 | 594 | // This function can be used to convert between a #graphene_matrix_t | |
| 697 | 595 | // and an affine matrix type from other libraries. | |
| 698 | 596 | func (x *Matrix) To2d(XxVar *float64, YxVar *float64, XyVar *float64, YyVar *float64, X0Var *float64, Y0Var *float64) bool { | |
| 699 | - | core.LazyRegister(&xMatrixTo2d, "GRAPHENE", "graphene_matrix_to_2d", false) | |
| 700 | - | ||
| 701 | 597 | cret := xMatrixTo2d(x.GoPointer(), XxVar, YxVar, XyVar, YyVar, X0Var, Y0Var) | |
| 702 | 598 | return cret | |
| 703 | 599 | } | |
| @@ -707,8 +603,6 @@ var xMatrixToFloat func(uintptr, *[16]float32) | |||
| 707 | 603 | // Converts a #graphene_matrix_t to an array of floating point | |
| 708 | 604 | // values. | |
| 709 | 605 | func (x *Matrix) ToFloat(VVar *[16]float32) { | |
| 710 | - | core.LazyRegister(&xMatrixToFloat, "GRAPHENE", "graphene_matrix_to_float", false) | |
| 711 | - | ||
| 712 | 606 | xMatrixToFloat(x.GoPointer(), VVar) | |
| 713 | 607 | } | |
| 714 | 608 | ||
| @@ -721,8 +615,6 @@ var xMatrixTransformBounds func(uintptr, *Rect, *Rect) | |||
| 721 | 615 | // | |
| 722 | 616 | // See also: graphene_matrix_transform_point() | |
| 723 | 617 | func (x *Matrix) TransformBounds(RVar *Rect, ResVar *Rect) { | |
| 724 | - | core.LazyRegister(&xMatrixTransformBounds, "GRAPHENE", "graphene_matrix_transform_bounds", false) | |
| 725 | - | ||
| 726 | 618 | xMatrixTransformBounds(x.GoPointer(), RVar, ResVar) | |
| 727 | 619 | } | |
| 728 | 620 | ||
| @@ -733,8 +625,6 @@ var xMatrixTransformBox func(uintptr, *Box, *Box) | |||
| 733 | 625 | // The result is the axis aligned bounding box containing the transformed | |
| 734 | 626 | // vertices. | |
| 735 | 627 | func (x *Matrix) TransformBox(BVar *Box, ResVar *Box) { | |
| 736 | - | core.LazyRegister(&xMatrixTransformBox, "GRAPHENE", "graphene_matrix_transform_box", false) | |
| 737 | - | ||
| 738 | 628 | xMatrixTransformBox(x.GoPointer(), BVar, ResVar) | |
| 739 | 629 | } | |
| 740 | 630 | ||
| @@ -748,8 +638,6 @@ var xMatrixTransformPoint func(uintptr, *Point, *Point) | |||
| 748 | 638 | // | |
| 749 | 639 | // See also: graphene_simd4x4f_point3_mul() | |
| 750 | 640 | func (x *Matrix) TransformPoint(PVar *Point, ResVar *Point) { | |
| 751 | - | core.LazyRegister(&xMatrixTransformPoint, "GRAPHENE", "graphene_matrix_transform_point", false) | |
| 752 | - | ||
| 753 | 641 | xMatrixTransformPoint(x.GoPointer(), PVar, ResVar) | |
| 754 | 642 | } | |
| 755 | 643 | ||
| @@ -763,8 +651,6 @@ var xMatrixTransformPoint3d func(uintptr, *Point3D, *Point3D) | |||
| 763 | 651 | // | |
| 764 | 652 | // See also: graphene_simd4x4f_point3_mul() | |
| 765 | 653 | func (x *Matrix) TransformPoint3d(PVar *Point3D, ResVar *Point3D) { | |
| 766 | - | core.LazyRegister(&xMatrixTransformPoint3d, "GRAPHENE", "graphene_matrix_transform_point3d", false) | |
| 767 | - | ||
| 768 | 654 | xMatrixTransformPoint3d(x.GoPointer(), PVar, ResVar) | |
| 769 | 655 | } | |
| 770 | 656 | ||
| @@ -772,8 +658,6 @@ var xMatrixTransformRay func(uintptr, *Ray, *Ray) | |||
| 772 | 658 | ||
| 773 | 659 | // Transform a #graphene_ray_t using the given matrix @m. | |
| 774 | 660 | func (x *Matrix) TransformRay(RVar *Ray, ResVar *Ray) { | |
| 775 | - | core.LazyRegister(&xMatrixTransformRay, "GRAPHENE", "graphene_matrix_transform_ray", false) | |
| 776 | - | ||
| 777 | 661 | xMatrixTransformRay(x.GoPointer(), RVar, ResVar) | |
| 778 | 662 | } | |
| 779 | 663 | ||
| @@ -785,8 +669,6 @@ var xMatrixTransformRect func(uintptr, *Rect, *Quad) | |||
| 785 | 669 | // | |
| 786 | 670 | // See also: graphene_matrix_transform_point() | |
| 787 | 671 | func (x *Matrix) TransformRect(RVar *Rect, ResVar *Quad) { | |
| 788 | - | core.LazyRegister(&xMatrixTransformRect, "GRAPHENE", "graphene_matrix_transform_rect", false) | |
| 789 | - | ||
| 790 | 672 | xMatrixTransformRect(x.GoPointer(), RVar, ResVar) | |
| 791 | 673 | } | |
| 792 | 674 | ||
| @@ -795,8 +677,6 @@ var xMatrixTransformSphere func(uintptr, *Sphere, *Sphere) | |||
| 795 | 677 | // Transforms a #graphene_sphere_t using the given matrix @m. The | |
| 796 | 678 | // result is the bounding sphere containing the transformed sphere. | |
| 797 | 679 | func (x *Matrix) TransformSphere(SVar *Sphere, ResVar *Sphere) { | |
| 798 | - | core.LazyRegister(&xMatrixTransformSphere, "GRAPHENE", "graphene_matrix_transform_sphere", false) | |
| 799 | - | ||
| 800 | 680 | xMatrixTransformSphere(x.GoPointer(), SVar, ResVar) | |
| 801 | 681 | } | |
| 802 | 682 | ||
| @@ -810,8 +690,6 @@ var xMatrixTransformVec3 func(uintptr, *Vec3, *Vec3) | |||
| 810 | 690 | // | |
| 811 | 691 | // See also: graphene_simd4x4f_vec3_mul() | |
| 812 | 692 | func (x *Matrix) TransformVec3(VVar *Vec3, ResVar *Vec3) { | |
| 813 | - | core.LazyRegister(&xMatrixTransformVec3, "GRAPHENE", "graphene_matrix_transform_vec3", false) | |
| 814 | - | ||
| 815 | 693 | xMatrixTransformVec3(x.GoPointer(), VVar, ResVar) | |
| 816 | 694 | } | |
| 817 | 695 | ||
| @@ -821,8 +699,6 @@ var xMatrixTransformVec4 func(uintptr, *Vec4, *Vec4) | |||
| 821 | 699 | // | |
| 822 | 700 | // See also: graphene_simd4x4f_vec4_mul() | |
| 823 | 701 | func (x *Matrix) TransformVec4(VVar *Vec4, ResVar *Vec4) { | |
| 824 | - | core.LazyRegister(&xMatrixTransformVec4, "GRAPHENE", "graphene_matrix_transform_vec4", false) | |
| 825 | - | ||
| 826 | 702 | xMatrixTransformVec4(x.GoPointer(), VVar, ResVar) | |
| 827 | 703 | } | |
| 828 | 704 | ||
| @@ -834,8 +710,6 @@ var xMatrixTranslate func(uintptr, *Point3D) | |||
| 834 | 710 | // This is the equivalent of calling graphene_matrix_init_translate() and | |
| 835 | 711 | // then multiplying @m with the translation matrix. | |
| 836 | 712 | func (x *Matrix) Translate(PosVar *Point3D) { | |
| 837 | - | core.LazyRegister(&xMatrixTranslate, "GRAPHENE", "graphene_matrix_translate", false) | |
| 838 | - | ||
| 839 | 713 | xMatrixTranslate(x.GoPointer(), PosVar) | |
| 840 | 714 | } | |
| 841 | 715 | ||
| @@ -843,8 +717,6 @@ var xMatrixTranspose func(uintptr, *Matrix) | |||
| 843 | 717 | ||
| 844 | 718 | // Transposes the given matrix. | |
| 845 | 719 | func (x *Matrix) Transpose(ResVar *Matrix) { | |
| 846 | - | core.LazyRegister(&xMatrixTranspose, "GRAPHENE", "graphene_matrix_transpose", false) | |
| 847 | - | ||
| 848 | 720 | xMatrixTranspose(x.GoPointer(), ResVar) | |
| 849 | 721 | } | |
| 850 | 722 | ||
| @@ -853,8 +725,6 @@ var xMatrixUnprojectPoint3d func(uintptr, *Matrix, *Point3D, *Point3D) | |||
| 853 | 725 | // Unprojects the given @point using the @projection matrix and | |
| 854 | 726 | // a @modelview matrix. | |
| 855 | 727 | func (x *Matrix) UnprojectPoint3d(ModelviewVar *Matrix, PointVar *Point3D, ResVar *Point3D) { | |
| 856 | - | core.LazyRegister(&xMatrixUnprojectPoint3d, "GRAPHENE", "graphene_matrix_unproject_point3d", false) | |
| 857 | - | ||
| 858 | 728 | xMatrixUnprojectPoint3d(x.GoPointer(), ModelviewVar, PointVar, ResVar) | |
| 859 | 729 | } | |
| 860 | 730 | ||
| @@ -863,8 +733,6 @@ var xMatrixUntransformBounds func(uintptr, *Rect, *Rect, *Rect) | |||
| 863 | 733 | // Undoes the transformation on the corners of a #graphene_rect_t using the | |
| 864 | 734 | // given matrix, within the given axis aligned rectangular @bounds. | |
| 865 | 735 | func (x *Matrix) UntransformBounds(RVar *Rect, BoundsVar *Rect, ResVar *Rect) { | |
| 866 | - | core.LazyRegister(&xMatrixUntransformBounds, "GRAPHENE", "graphene_matrix_untransform_bounds", false) | |
| 867 | - | ||
| 868 | 736 | xMatrixUntransformBounds(x.GoPointer(), RVar, BoundsVar, ResVar) | |
| 869 | 737 | } | |
| 870 | 738 | ||
| @@ -873,8 +741,6 @@ var xMatrixUntransformPoint func(uintptr, *Point, *Rect, *Point) bool | |||
| 873 | 741 | // Undoes the transformation of a #graphene_point_t using the | |
| 874 | 742 | // given matrix, within the given axis aligned rectangular @bounds. | |
| 875 | 743 | func (x *Matrix) UntransformPoint(PVar *Point, BoundsVar *Rect, ResVar *Point) bool { | |
| 876 | - | core.LazyRegister(&xMatrixUntransformPoint, "GRAPHENE", "graphene_matrix_untransform_point", false) | |
| 877 | - | ||
| 878 | 744 | cret := xMatrixUntransformPoint(x.GoPointer(), PVar, BoundsVar, ResVar) | |
| 879 | 745 | return cret | |
| 880 | 746 | } | |
| @@ -882,4 +748,83 @@ func (x *Matrix) UntransformPoint(PVar *Point, BoundsVar *Rect, ResVar *Point) b | |||
| 882 | 748 | func init() { | |
| 883 | 749 | core.SetPackageName("GRAPHENE", "graphene-gobject-1.0") | |
| 884 | 750 | core.SetSharedLibraries("GRAPHENE", []string{"libgraphene-1.0.so.0", "libgraphene-1.0.0.dylib"}) | |
| 751 | + | var libs []uintptr | |
| 752 | + | for _, libPath := range core.GetPaths("GRAPHENE") { | |
| 753 | + | lib, err := purego.Dlopen(libPath, purego.RTLD_NOW|purego.RTLD_GLOBAL) | |
| 754 | + | if err != nil { | |
| 755 | + | panic(err) | |
| 756 | + | } | |
| 757 | + | libs = append(libs, lib) | |
| 758 | + | } | |
| 759 | + | ||
| 760 | + | core.PuregoSafeRegister(&xMatrixGLibType, libs, "graphene_matrix_get_type") | |
| 761 | + | ||
| 762 | + | core.PuregoSafeRegister(&xMatrixAlloc, libs, "graphene_matrix_alloc") | |
| 763 | + | ||
| 764 | + | core.PuregoSafeRegister(&xMatrixDecompose, libs, "graphene_matrix_decompose") | |
| 765 | + | core.PuregoSafeRegister(&xMatrixDeterminant, libs, "graphene_matrix_determinant") | |
| 766 | + | core.PuregoSafeRegister(&xMatrixEqual, libs, "graphene_matrix_equal") | |
| 767 | + | core.PuregoSafeRegister(&xMatrixEqualFast, libs, "graphene_matrix_equal_fast") | |
| 768 | + | core.PuregoSafeRegister(&xMatrixFree, libs, "graphene_matrix_free") | |
| 769 | + | core.PuregoSafeRegister(&xMatrixGetRow, libs, "graphene_matrix_get_row") | |
| 770 | + | core.PuregoSafeRegister(&xMatrixGetValue, libs, "graphene_matrix_get_value") | |
| 771 | + | core.PuregoSafeRegister(&xMatrixGetXScale, libs, "graphene_matrix_get_x_scale") | |
| 772 | + | core.PuregoSafeRegister(&xMatrixGetXTranslation, libs, "graphene_matrix_get_x_translation") | |
| 773 | + | core.PuregoSafeRegister(&xMatrixGetYScale, libs, "graphene_matrix_get_y_scale") | |
| 774 | + | core.PuregoSafeRegister(&xMatrixGetYTranslation, libs, "graphene_matrix_get_y_translation") | |
| 775 | + | core.PuregoSafeRegister(&xMatrixGetZScale, libs, "graphene_matrix_get_z_scale") | |
| 776 | + | core.PuregoSafeRegister(&xMatrixGetZTranslation, libs, "graphene_matrix_get_z_translation") | |
| 777 | + | core.PuregoSafeRegister(&xMatrixInitFrom2d, libs, "graphene_matrix_init_from_2d") | |
| 778 | + | core.PuregoSafeRegister(&xMatrixInitFromFloat, libs, "graphene_matrix_init_from_float") | |
| 779 | + | core.PuregoSafeRegister(&xMatrixInitFromMatrix, libs, "graphene_matrix_init_from_matrix") | |
| 780 | + | core.PuregoSafeRegister(&xMatrixInitFromVec4, libs, "graphene_matrix_init_from_vec4") | |
| 781 | + | core.PuregoSafeRegister(&xMatrixInitFrustum, libs, "graphene_matrix_init_frustum") | |
| 782 | + | core.PuregoSafeRegister(&xMatrixInitIdentity, libs, "graphene_matrix_init_identity") | |
| 783 | + | core.PuregoSafeRegister(&xMatrixInitLookAt, libs, "graphene_matrix_init_look_at") | |
| 784 | + | core.PuregoSafeRegister(&xMatrixInitOrtho, libs, "graphene_matrix_init_ortho") | |
| 785 | + | core.PuregoSafeRegister(&xMatrixInitPerspective, libs, "graphene_matrix_init_perspective") | |
| 786 | + | core.PuregoSafeRegister(&xMatrixInitRotate, libs, "graphene_matrix_init_rotate") | |
| 787 | + | core.PuregoSafeRegister(&xMatrixInitScale, libs, "graphene_matrix_init_scale") | |
| 788 | + | core.PuregoSafeRegister(&xMatrixInitSkew, libs, "graphene_matrix_init_skew") | |
| 789 | + | core.PuregoSafeRegister(&xMatrixInitTranslate, libs, "graphene_matrix_init_translate") | |
| 790 | + | core.PuregoSafeRegister(&xMatrixInterpolate, libs, "graphene_matrix_interpolate") | |
| 791 | + | core.PuregoSafeRegister(&xMatrixInverse, libs, "graphene_matrix_inverse") | |
| 792 | + | core.PuregoSafeRegister(&xMatrixIs2d, libs, "graphene_matrix_is_2d") | |
| 793 | + | core.PuregoSafeRegister(&xMatrixIsBackfaceVisible, libs, "graphene_matrix_is_backface_visible") | |
| 794 | + | core.PuregoSafeRegister(&xMatrixIsIdentity, libs, "graphene_matrix_is_identity") | |
| 795 | + | core.PuregoSafeRegister(&xMatrixIsSingular, libs, "graphene_matrix_is_singular") | |
| 796 | + | core.PuregoSafeRegister(&xMatrixMultiply, libs, "graphene_matrix_multiply") | |
| 797 | + | core.PuregoSafeRegister(&xMatrixNear, libs, "graphene_matrix_near") | |
| 798 | + | core.PuregoSafeRegister(&xMatrixNormalize, libs, "graphene_matrix_normalize") | |
| 799 | + | core.PuregoSafeRegister(&xMatrixPerspective, libs, "graphene_matrix_perspective") | |
| 800 | + | core.PuregoSafeRegister(&xMatrixPrint, libs, "graphene_matrix_print") | |
| 801 | + | core.PuregoSafeRegister(&xMatrixProjectPoint, libs, "graphene_matrix_project_point") | |
| 802 | + | core.PuregoSafeRegister(&xMatrixProjectRect, libs, "graphene_matrix_project_rect") | |
| 803 | + | core.PuregoSafeRegister(&xMatrixProjectRectBounds, libs, "graphene_matrix_project_rect_bounds") | |
| 804 | + | core.PuregoSafeRegister(&xMatrixRotate, libs, "graphene_matrix_rotate") | |
| 805 | + | core.PuregoSafeRegister(&xMatrixRotateEuler, libs, "graphene_matrix_rotate_euler") | |
| 806 | + | core.PuregoSafeRegister(&xMatrixRotateQuaternion, libs, "graphene_matrix_rotate_quaternion") | |
| 807 | + | core.PuregoSafeRegister(&xMatrixRotateX, libs, "graphene_matrix_rotate_x") | |
| 808 | + | core.PuregoSafeRegister(&xMatrixRotateY, libs, "graphene_matrix_rotate_y") | |
| 809 | + | core.PuregoSafeRegister(&xMatrixRotateZ, libs, "graphene_matrix_rotate_z") | |
| 810 | + | core.PuregoSafeRegister(&xMatrixScale, libs, "graphene_matrix_scale") | |
| 811 | + | core.PuregoSafeRegister(&xMatrixSkewXy, libs, "graphene_matrix_skew_xy") | |
| 812 | + | core.PuregoSafeRegister(&xMatrixSkewXz, libs, "graphene_matrix_skew_xz") | |
| 813 | + | core.PuregoSafeRegister(&xMatrixSkewYz, libs, "graphene_matrix_skew_yz") | |
| 814 | + | core.PuregoSafeRegister(&xMatrixTo2d, libs, "graphene_matrix_to_2d") | |
| 815 | + | core.PuregoSafeRegister(&xMatrixToFloat, libs, "graphene_matrix_to_float") | |
| 816 | + | core.PuregoSafeRegister(&xMatrixTransformBounds, libs, "graphene_matrix_transform_bounds") | |
| 817 | + | core.PuregoSafeRegister(&xMatrixTransformBox, libs, "graphene_matrix_transform_box") | |
| 818 | + | core.PuregoSafeRegister(&xMatrixTransformPoint, libs, "graphene_matrix_transform_point") | |
| 819 | + | core.PuregoSafeRegister(&xMatrixTransformPoint3d, libs, "graphene_matrix_transform_point3d") | |
| 820 | + | core.PuregoSafeRegister(&xMatrixTransformRay, libs, "graphene_matrix_transform_ray") | |
| 821 | + | core.PuregoSafeRegister(&xMatrixTransformRect, libs, "graphene_matrix_transform_rect") | |
| 822 | + | core.PuregoSafeRegister(&xMatrixTransformSphere, libs, "graphene_matrix_transform_sphere") | |
| 823 | + | core.PuregoSafeRegister(&xMatrixTransformVec3, libs, "graphene_matrix_transform_vec3") | |
| 824 | + | core.PuregoSafeRegister(&xMatrixTransformVec4, libs, "graphene_matrix_transform_vec4") | |
| 825 | + | core.PuregoSafeRegister(&xMatrixTranslate, libs, "graphene_matrix_translate") | |
| 826 | + | core.PuregoSafeRegister(&xMatrixTranspose, libs, "graphene_matrix_transpose") | |
| 827 | + | core.PuregoSafeRegister(&xMatrixUnprojectPoint3d, libs, "graphene_matrix_unproject_point3d") | |
| 828 | + | core.PuregoSafeRegister(&xMatrixUntransformBounds, libs, "graphene_matrix_untransform_bounds") | |
| 829 | + | core.PuregoSafeRegister(&xMatrixUntransformPoint, libs, "graphene_matrix_untransform_point") | |
| 885 | 830 | } | |
| @@ -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 Matrix struct { | |||||
| 22 | var xMatrixGLibType func() types.GType | 23 | var xMatrixGLibType func() types.GType | ||
| 23 | 24 | ||||
| 24 | func MatrixGLibType() types.GType { | 25 | func MatrixGLibType() types.GType { | ||
| 25 | - | core.LazyRegister(&xMatrixGLibType, "GRAPHENE", "graphene_matrix_get_type", false) | |||
| 26 | return xMatrixGLibType() | 26 | return xMatrixGLibType() | ||
| 27 | } | 27 | } | ||
| 28 | 28 | ||||
| @@ -42,8 +42,6 @@ var xMatrixAlloc func() uintptr | |||||
| 42 | 42 | ||||
| 43 | // Allocates a new #graphene_matrix_t. | 43 | // Allocates a new #graphene_matrix_t. | ||
| 44 | func MatrixAlloc() *Matrix { | 44 | func MatrixAlloc() *Matrix { | ||
| 45 | - | core.LazyRegister(&xMatrixAlloc, "GRAPHENE", "graphene_matrix_alloc", false) | |||
| 46 | - | ||||
| 47 | cret := xMatrixAlloc() | 45 | cret := xMatrixAlloc() | ||
| 48 | if cret == 0 { | 46 | if cret == 0 { | ||
| 49 | return nil | 47 | return nil | ||
| @@ -61,8 +59,6 @@ var xMatrixDecompose func(uintptr, *Vec3, *Vec3, *Quaternion, *Vec3, *Vec4) bool | |||||
| 61 | // published in "Graphics Gems II", edited by Jim Arvo, and | 59 | // published in "Graphics Gems II", edited by Jim Arvo, and | ||
| 62 | // [available online](http://web.archive.org/web/20150512160205/http://tog.acm.org/resources/GraphicsGems/gemsii/unmatrix.c). | 60 | // [available online](http://web.archive.org/web/20150512160205/http://tog.acm.org/resources/GraphicsGems/gemsii/unmatrix.c). | ||
| 63 | func (x *Matrix) Decompose(TranslateVar *Vec3, ScaleVar *Vec3, RotateVar *Quaternion, ShearVar *Vec3, PerspectiveVar *Vec4) bool { | 61 | func (x *Matrix) Decompose(TranslateVar *Vec3, ScaleVar *Vec3, RotateVar *Quaternion, ShearVar *Vec3, PerspectiveVar *Vec4) bool { | ||
| 64 | - | core.LazyRegister(&xMatrixDecompose, "GRAPHENE", "graphene_matrix_decompose", false) | |||
| 65 | - | ||||
| 66 | cret := xMatrixDecompose(x.GoPointer(), TranslateVar, ScaleVar, RotateVar, ShearVar, PerspectiveVar) | 62 | cret := xMatrixDecompose(x.GoPointer(), TranslateVar, ScaleVar, RotateVar, ShearVar, PerspectiveVar) | ||
| 67 | return cret | 63 | return cret | ||
| 68 | } | 64 | } | ||
| @@ -71,8 +67,6 @@ var xMatrixDeterminant func(uintptr) float32 | |||||
| 71 | 67 | ||||
| 72 | // Computes the determinant of the given matrix. | 68 | // Computes the determinant of the given matrix. | ||
| 73 | func (x *Matrix) Determinant() float32 { | 69 | func (x *Matrix) Determinant() float32 { | ||
| 74 | - | core.LazyRegister(&xMatrixDeterminant, "GRAPHENE", "graphene_matrix_determinant", false) | |||
| 75 | - | ||||
| 76 | cret := xMatrixDeterminant(x.GoPointer()) | 70 | cret := xMatrixDeterminant(x.GoPointer()) | ||
| 77 | return cret | 71 | return cret | ||
| 78 | } | 72 | } | ||
| @@ -81,8 +75,6 @@ var xMatrixEqual func(uintptr, *Matrix) bool | |||||
| 81 | 75 | ||||
| 82 | // Checks whether the two given #graphene_matrix_t matrices are equal. | 76 | // Checks whether the two given #graphene_matrix_t matrices are equal. | ||
| 83 | func (x *Matrix) Equal(BVar *Matrix) bool { | 77 | func (x *Matrix) Equal(BVar *Matrix) bool { | ||
| 84 | - | core.LazyRegister(&xMatrixEqual, "GRAPHENE", "graphene_matrix_equal", false) | |||
| 85 | - | ||||
| 86 | cret := xMatrixEqual(x.GoPointer(), BVar) | 78 | cret := xMatrixEqual(x.GoPointer(), BVar) | ||
| 87 | return cret | 79 | return cret | ||
| 88 | } | 80 | } | ||
| @@ -115,8 +107,6 @@ var xMatrixEqualFast func(uintptr, *Matrix) bool | |||||
| 115 | // | 107 | // | ||
| 116 | // ]| | 108 | // ]| | ||
| 117 | func (x *Matrix) EqualFast(BVar *Matrix) bool { | 109 | func (x *Matrix) EqualFast(BVar *Matrix) bool { | ||
| 118 | - | core.LazyRegister(&xMatrixEqualFast, "GRAPHENE", "graphene_matrix_equal_fast", false) | |||
| 119 | - | ||||
| 120 | cret := xMatrixEqualFast(x.GoPointer(), BVar) | 110 | cret := xMatrixEqualFast(x.GoPointer(), BVar) | ||
| 121 | return cret | 111 | return cret | ||
| 122 | } | 112 | } | ||
| @@ -125,8 +115,6 @@ var xMatrixFree func(uintptr) | |||||
| 125 | 115 | ||||
| 126 | // Frees the resources allocated by graphene_matrix_alloc(). | 116 | // Frees the resources allocated by graphene_matrix_alloc(). | ||
| 127 | func (x *Matrix) Free() { | 117 | func (x *Matrix) Free() { | ||
| 128 | - | core.LazyRegister(&xMatrixFree, "GRAPHENE", "graphene_matrix_free", false) | |||
| 129 | - | ||||
| 130 | xMatrixFree(x.GoPointer()) | 118 | xMatrixFree(x.GoPointer()) | ||
| 131 | } | 119 | } | ||
| 132 | 120 | ||||
| @@ -134,8 +122,6 @@ var xMatrixGetRow func(uintptr, uint, *Vec4) | |||||
| 134 | 122 | ||||
| 135 | // Retrieves the given row vector at @index_ inside a matrix. | 123 | // Retrieves the given row vector at @index_ inside a matrix. | ||
| 136 | func (x *Matrix) GetRow(IndexVar uint, ResVar *Vec4) { | 124 | func (x *Matrix) GetRow(IndexVar uint, ResVar *Vec4) { | ||
| 137 | - | core.LazyRegister(&xMatrixGetRow, "GRAPHENE", "graphene_matrix_get_row", false) | |||
| 138 | - | ||||
| 139 | xMatrixGetRow(x.GoPointer(), IndexVar, ResVar) | 125 | xMatrixGetRow(x.GoPointer(), IndexVar, ResVar) | ||
| 140 | } | 126 | } | ||
| 141 | 127 | ||||
| @@ -143,8 +129,6 @@ var xMatrixGetValue func(uintptr, uint, uint) float32 | |||||
| 143 | 129 | ||||
| 144 | // Retrieves the value at the given @row and @col index. | 130 | // Retrieves the value at the given @row and @col index. | ||
| 145 | func (x *Matrix) GetValue(RowVar uint, ColVar uint) float32 { | 131 | func (x *Matrix) GetValue(RowVar uint, ColVar uint) float32 { | ||
| 146 | - | core.LazyRegister(&xMatrixGetValue, "GRAPHENE", "graphene_matrix_get_value", false) | |||
| 147 | - | ||||
| 148 | cret := xMatrixGetValue(x.GoPointer(), RowVar, ColVar) | 132 | cret := xMatrixGetValue(x.GoPointer(), RowVar, ColVar) | ||
| 149 | return cret | 133 | return cret | ||
| 150 | } | 134 | } | ||
| @@ -153,8 +137,6 @@ var xMatrixGetXScale func(uintptr) float32 | |||||
| 153 | 137 | ||||
| 154 | // Retrieves the scaling factor on the X axis in @m. | 138 | // Retrieves the scaling factor on the X axis in @m. | ||
| 155 | func (x *Matrix) GetXScale() float32 { | 139 | func (x *Matrix) GetXScale() float32 { | ||
| 156 | - | core.LazyRegister(&xMatrixGetXScale, "GRAPHENE", "graphene_matrix_get_x_scale", false) | |||
| 157 | - | ||||
| 158 | cret := xMatrixGetXScale(x.GoPointer()) | 140 | cret := xMatrixGetXScale(x.GoPointer()) | ||
| 159 | return cret | 141 | return cret | ||
| 160 | } | 142 | } | ||
| @@ -163,8 +145,6 @@ var xMatrixGetXTranslation func(uintptr) float32 | |||||
| 163 | 145 | ||||
| 164 | // Retrieves the translation component on the X axis from @m. | 146 | // Retrieves the translation component on the X axis from @m. | ||
| 165 | func (x *Matrix) GetXTranslation() float32 { | 147 | func (x *Matrix) GetXTranslation() float32 { | ||
| 166 | - | core.LazyRegister(&xMatrixGetXTranslation, "GRAPHENE", "graphene_matrix_get_x_translation", false) | |||
| 167 | - | ||||
| 168 | cret := xMatrixGetXTranslation(x.GoPointer()) | 148 | cret := xMatrixGetXTranslation(x.GoPointer()) | ||
| 169 | return cret | 149 | return cret | ||
| 170 | } | 150 | } | ||
| @@ -173,8 +153,6 @@ var xMatrixGetYScale func(uintptr) float32 | |||||
| 173 | 153 | ||||
| 174 | // Retrieves the scaling factor on the Y axis in @m. | 154 | // Retrieves the scaling factor on the Y axis in @m. | ||
| 175 | func (x *Matrix) GetYScale() float32 { | 155 | func (x *Matrix) GetYScale() float32 { | ||
| 176 | - | core.LazyRegister(&xMatrixGetYScale, "GRAPHENE", "graphene_matrix_get_y_scale", false) | |||
| 177 | - | ||||
| 178 | cret := xMatrixGetYScale(x.GoPointer()) | 156 | cret := xMatrixGetYScale(x.GoPointer()) | ||
| 179 | return cret | 157 | return cret | ||
| 180 | } | 158 | } | ||
| @@ -183,8 +161,6 @@ var xMatrixGetYTranslation func(uintptr) float32 | |||||
| 183 | 161 | ||||
| 184 | // Retrieves the translation component on the Y axis from @m. | 162 | // Retrieves the translation component on the Y axis from @m. | ||
| 185 | func (x *Matrix) GetYTranslation() float32 { | 163 | func (x *Matrix) GetYTranslation() float32 { | ||
| 186 | - | core.LazyRegister(&xMatrixGetYTranslation, "GRAPHENE", "graphene_matrix_get_y_translation", false) | |||
| 187 | - | ||||
| 188 | cret := xMatrixGetYTranslation(x.GoPointer()) | 164 | cret := xMatrixGetYTranslation(x.GoPointer()) | ||
| 189 | return cret | 165 | return cret | ||
| 190 | } | 166 | } | ||
| @@ -193,8 +169,6 @@ var xMatrixGetZScale func(uintptr) float32 | |||||
| 193 | 169 | ||||
| 194 | // Retrieves the scaling factor on the Z axis in @m. | 170 | // Retrieves the scaling factor on the Z axis in @m. | ||
| 195 | func (x *Matrix) GetZScale() float32 { | 171 | func (x *Matrix) GetZScale() float32 { | ||
| 196 | - | core.LazyRegister(&xMatrixGetZScale, "GRAPHENE", "graphene_matrix_get_z_scale", false) | |||
| 197 | - | ||||
| 198 | cret := xMatrixGetZScale(x.GoPointer()) | 172 | cret := xMatrixGetZScale(x.GoPointer()) | ||
| 199 | return cret | 173 | return cret | ||
| 200 | } | 174 | } | ||
| @@ -203,8 +177,6 @@ var xMatrixGetZTranslation func(uintptr) float32 | |||||
| 203 | 177 | ||||
| 204 | // Retrieves the translation component on the Z axis from @m. | 178 | // Retrieves the translation component on the Z axis from @m. | ||
| 205 | func (x *Matrix) GetZTranslation() float32 { | 179 | func (x *Matrix) GetZTranslation() float32 { | ||
| 206 | - | core.LazyRegister(&xMatrixGetZTranslation, "GRAPHENE", "graphene_matrix_get_z_translation", false) | |||
| 207 | - | ||||
| 208 | cret := xMatrixGetZTranslation(x.GoPointer()) | 180 | cret := xMatrixGetZTranslation(x.GoPointer()) | ||
| 209 | return cret | 181 | return cret | ||
| 210 | } | 182 | } | ||
| @@ -227,8 +199,6 @@ var xMatrixInitFrom2d func(uintptr, float64, float64, float64, float64, float64, | |||||
| 227 | // This function can be used to convert between an affine matrix type | 199 | // This function can be used to convert between an affine matrix type | ||
| 228 | // from other libraries and a #graphene_matrix_t. | 200 | // from other libraries and a #graphene_matrix_t. | ||
| 229 | func (x *Matrix) InitFrom2d(XxVar float64, YxVar float64, XyVar float64, YyVar float64, X0Var float64, Y0Var float64) *Matrix { | 201 | func (x *Matrix) InitFrom2d(XxVar float64, YxVar float64, XyVar float64, YyVar float64, X0Var float64, Y0Var float64) *Matrix { | ||
| 230 | - | core.LazyRegister(&xMatrixInitFrom2d, "GRAPHENE", "graphene_matrix_init_from_2d", false) | |||
| 231 | - | ||||
| 232 | cret := xMatrixInitFrom2d(x.GoPointer(), XxVar, YxVar, XyVar, YyVar, X0Var, Y0Var) | 202 | cret := xMatrixInitFrom2d(x.GoPointer(), XxVar, YxVar, XyVar, YyVar, X0Var, Y0Var) | ||
| 233 | if cret == 0 { | 203 | if cret == 0 { | ||
| 234 | return nil | 204 | return nil | ||
| @@ -241,8 +211,6 @@ var xMatrixInitFromFloat func(uintptr, [16]float32) uintptr | |||||
| 241 | // Initializes a #graphene_matrix_t with the given array of floating | 211 | // Initializes a #graphene_matrix_t with the given array of floating | ||
| 242 | // point values. | 212 | // point values. | ||
| 243 | func (x *Matrix) InitFromFloat(VVar [16]float32) *Matrix { | 213 | func (x *Matrix) InitFromFloat(VVar [16]float32) *Matrix { | ||
| 244 | - | core.LazyRegister(&xMatrixInitFromFloat, "GRAPHENE", "graphene_matrix_init_from_float", false) | |||
| 245 | - | ||||
| 246 | cret := xMatrixInitFromFloat(x.GoPointer(), VVar) | 214 | cret := xMatrixInitFromFloat(x.GoPointer(), VVar) | ||
| 247 | if cret == 0 { | 215 | if cret == 0 { | ||
| 248 | return nil | 216 | return nil | ||
| @@ -255,8 +223,6 @@ var xMatrixInitFromMatrix func(uintptr, *Matrix) uintptr | |||||
| 255 | // Initializes a #graphene_matrix_t using the values of the | 223 | // Initializes a #graphene_matrix_t using the values of the | ||
| 256 | // given matrix. | 224 | // given matrix. | ||
| 257 | func (x *Matrix) InitFromMatrix(SrcVar *Matrix) *Matrix { | 225 | func (x *Matrix) InitFromMatrix(SrcVar *Matrix) *Matrix { | ||
| 258 | - | core.LazyRegister(&xMatrixInitFromMatrix, "GRAPHENE", "graphene_matrix_init_from_matrix", false) | |||
| 259 | - | ||||
| 260 | cret := xMatrixInitFromMatrix(x.GoPointer(), SrcVar) | 226 | cret := xMatrixInitFromMatrix(x.GoPointer(), SrcVar) | ||
| 261 | if cret == 0 { | 227 | if cret == 0 { | ||
| 262 | return nil | 228 | return nil | ||
| @@ -269,8 +235,6 @@ var xMatrixInitFromVec4 func(uintptr, *Vec4, *Vec4, *Vec4, *Vec4) uintptr | |||||
| 269 | // Initializes a #graphene_matrix_t with the given four row | 235 | // Initializes a #graphene_matrix_t with the given four row | ||
| 270 | // vectors. | 236 | // vectors. | ||
| 271 | func (x *Matrix) InitFromVec4(V0Var *Vec4, V1Var *Vec4, V2Var *Vec4, V3Var *Vec4) *Matrix { | 237 | func (x *Matrix) InitFromVec4(V0Var *Vec4, V1Var *Vec4, V2Var *Vec4, V3Var *Vec4) *Matrix { | ||
| 272 | - | core.LazyRegister(&xMatrixInitFromVec4, "GRAPHENE", "graphene_matrix_init_from_vec4", false) | |||
| 273 | - | ||||
| 274 | cret := xMatrixInitFromVec4(x.GoPointer(), V0Var, V1Var, V2Var, V3Var) | 238 | cret := xMatrixInitFromVec4(x.GoPointer(), V0Var, V1Var, V2Var, V3Var) | ||
| 275 | if cret == 0 { | 239 | if cret == 0 { | ||
| 276 | return nil | 240 | return nil | ||
| @@ -284,8 +248,6 @@ var xMatrixInitFrustum func(uintptr, float32, float32, float32, float32, float32 | |||||
| 284 | // | 248 | // | ||
| 285 | // See also: graphene_frustum_init_from_matrix() | 249 | // See also: graphene_frustum_init_from_matrix() | ||
| 286 | func (x *Matrix) InitFrustum(LeftVar float32, RightVar float32, BottomVar float32, TopVar float32, ZNearVar float32, ZFarVar float32) *Matrix { | 250 | func (x *Matrix) InitFrustum(LeftVar float32, RightVar float32, BottomVar float32, TopVar float32, ZNearVar float32, ZFarVar float32) *Matrix { | ||
| 287 | - | core.LazyRegister(&xMatrixInitFrustum, "GRAPHENE", "graphene_matrix_init_frustum", false) | |||
| 288 | - | ||||
| 289 | cret := xMatrixInitFrustum(x.GoPointer(), LeftVar, RightVar, BottomVar, TopVar, ZNearVar, ZFarVar) | 251 | cret := xMatrixInitFrustum(x.GoPointer(), LeftVar, RightVar, BottomVar, TopVar, ZNearVar, ZFarVar) | ||
| 290 | if cret == 0 { | 252 | if cret == 0 { | ||
| 291 | return nil | 253 | return nil | ||
| @@ -297,8 +259,6 @@ var xMatrixInitIdentity func(uintptr) uintptr | |||||
| 297 | 259 | ||||
| 298 | // Initializes a #graphene_matrix_t with the identity matrix. | 260 | // Initializes a #graphene_matrix_t with the identity matrix. | ||
| 299 | func (x *Matrix) InitIdentity() *Matrix { | 261 | func (x *Matrix) InitIdentity() *Matrix { | ||
| 300 | - | core.LazyRegister(&xMatrixInitIdentity, "GRAPHENE", "graphene_matrix_init_identity", false) | |||
| 301 | - | ||||
| 302 | cret := xMatrixInitIdentity(x.GoPointer()) | 262 | cret := xMatrixInitIdentity(x.GoPointer()) | ||
| 303 | if cret == 0 { | 263 | if cret == 0 { | ||
| 304 | return nil | 264 | return nil | ||
| @@ -325,8 +285,6 @@ var xMatrixInitLookAt func(uintptr, *Vec3, *Vec3, *Vec3) uintptr | |||||
| 325 | // camera projection transform to get from view to screen | 285 | // camera projection transform to get from view to screen | ||
| 326 | // coordinates. | 286 | // coordinates. | ||
| 327 | func (x *Matrix) InitLookAt(EyeVar *Vec3, CenterVar *Vec3, UpVar *Vec3) *Matrix { | 287 | func (x *Matrix) InitLookAt(EyeVar *Vec3, CenterVar *Vec3, UpVar *Vec3) *Matrix { | ||
| 328 | - | core.LazyRegister(&xMatrixInitLookAt, "GRAPHENE", "graphene_matrix_init_look_at", false) | |||
| 329 | - | ||||
| 330 | cret := xMatrixInitLookAt(x.GoPointer(), EyeVar, CenterVar, UpVar) | 288 | cret := xMatrixInitLookAt(x.GoPointer(), EyeVar, CenterVar, UpVar) | ||
| 331 | if cret == 0 { | 289 | if cret == 0 { | ||
| 332 | return nil | 290 | return nil | ||
| @@ -338,8 +296,6 @@ var xMatrixInitOrtho func(uintptr, float32, float32, float32, float32, float32, | |||||
| 338 | 296 | ||||
| 339 | // Initializes a #graphene_matrix_t with an orthographic projection. | 297 | // Initializes a #graphene_matrix_t with an orthographic projection. | ||
| 340 | func (x *Matrix) InitOrtho(LeftVar float32, RightVar float32, TopVar float32, BottomVar float32, ZNearVar float32, ZFarVar float32) *Matrix { | 298 | func (x *Matrix) InitOrtho(LeftVar float32, RightVar float32, TopVar float32, BottomVar float32, ZNearVar float32, ZFarVar float32) *Matrix { | ||
| 341 | - | core.LazyRegister(&xMatrixInitOrtho, "GRAPHENE", "graphene_matrix_init_ortho", false) | |||
| 342 | - | ||||
| 343 | cret := xMatrixInitOrtho(x.GoPointer(), LeftVar, RightVar, TopVar, BottomVar, ZNearVar, ZFarVar) | 299 | cret := xMatrixInitOrtho(x.GoPointer(), LeftVar, RightVar, TopVar, BottomVar, ZNearVar, ZFarVar) | ||
| 344 | if cret == 0 { | 300 | if cret == 0 { | ||
| 345 | return nil | 301 | return nil | ||
| @@ -351,8 +307,6 @@ var xMatrixInitPerspective func(uintptr, float32, float32, float32, float32) uin | |||||
| 351 | 307 | ||||
| 352 | // Initializes a #graphene_matrix_t with a perspective projection. | 308 | // Initializes a #graphene_matrix_t with a perspective projection. | ||
| 353 | func (x *Matrix) InitPerspective(FovyVar float32, AspectVar float32, ZNearVar float32, ZFarVar float32) *Matrix { | 309 | func (x *Matrix) InitPerspective(FovyVar float32, AspectVar float32, ZNearVar float32, ZFarVar float32) *Matrix { | ||
| 354 | - | core.LazyRegister(&xMatrixInitPerspective, "GRAPHENE", "graphene_matrix_init_perspective", false) | |||
| 355 | - | ||||
| 356 | cret := xMatrixInitPerspective(x.GoPointer(), FovyVar, AspectVar, ZNearVar, ZFarVar) | 310 | cret := xMatrixInitPerspective(x.GoPointer(), FovyVar, AspectVar, ZNearVar, ZFarVar) | ||
| 357 | if cret == 0 { | 311 | if cret == 0 { | ||
| 358 | return nil | 312 | return nil | ||
| @@ -365,8 +319,6 @@ var xMatrixInitRotate func(uintptr, float32, *Vec3) uintptr | |||||
| 365 | // Initializes @m to represent a rotation of @angle degrees on | 319 | // Initializes @m to represent a rotation of @angle degrees on | ||
| 366 | // the axis represented by the @axis vector. | 320 | // the axis represented by the @axis vector. | ||
| 367 | func (x *Matrix) InitRotate(AngleVar float32, AxisVar *Vec3) *Matrix { | 321 | func (x *Matrix) InitRotate(AngleVar float32, AxisVar *Vec3) *Matrix { | ||
| 368 | - | core.LazyRegister(&xMatrixInitRotate, "GRAPHENE", "graphene_matrix_init_rotate", false) | |||
| 369 | - | ||||
| 370 | cret := xMatrixInitRotate(x.GoPointer(), AngleVar, AxisVar) | 322 | cret := xMatrixInitRotate(x.GoPointer(), AngleVar, AxisVar) | ||
| 371 | if cret == 0 { | 323 | if cret == 0 { | ||
| 372 | return nil | 324 | return nil | ||
| @@ -378,8 +330,6 @@ var xMatrixInitScale func(uintptr, float32, float32, float32) uintptr | |||||
| 378 | 330 | ||||
| 379 | // Initializes a #graphene_matrix_t with the given scaling factors. | 331 | // Initializes a #graphene_matrix_t with the given scaling factors. | ||
| 380 | func (x *Matrix) InitScale(XVar float32, YVar float32, ZVar float32) *Matrix { | 332 | func (x *Matrix) InitScale(XVar float32, YVar float32, ZVar float32) *Matrix { | ||
| 381 | - | core.LazyRegister(&xMatrixInitScale, "GRAPHENE", "graphene_matrix_init_scale", false) | |||
| 382 | - | ||||
| 383 | cret := xMatrixInitScale(x.GoPointer(), XVar, YVar, ZVar) | 333 | cret := xMatrixInitScale(x.GoPointer(), XVar, YVar, ZVar) | ||
| 384 | if cret == 0 { | 334 | if cret == 0 { | ||
| 385 | return nil | 335 | return nil | ||
| @@ -392,8 +342,6 @@ var xMatrixInitSkew func(uintptr, float32, float32) uintptr | |||||
| 392 | // Initializes a #graphene_matrix_t with a skew transformation | 342 | // Initializes a #graphene_matrix_t with a skew transformation | ||
| 393 | // with the given factors. | 343 | // with the given factors. | ||
| 394 | func (x *Matrix) InitSkew(XSkewVar float32, YSkewVar float32) *Matrix { | 344 | func (x *Matrix) InitSkew(XSkewVar float32, YSkewVar float32) *Matrix { | ||
| 395 | - | core.LazyRegister(&xMatrixInitSkew, "GRAPHENE", "graphene_matrix_init_skew", false) | |||
| 396 | - | ||||
| 397 | cret := xMatrixInitSkew(x.GoPointer(), XSkewVar, YSkewVar) | 345 | cret := xMatrixInitSkew(x.GoPointer(), XSkewVar, YSkewVar) | ||
| 398 | if cret == 0 { | 346 | if cret == 0 { | ||
| 399 | return nil | 347 | return nil | ||
| @@ -406,8 +354,6 @@ var xMatrixInitTranslate func(uintptr, *Point3D) uintptr | |||||
| 406 | // Initializes a #graphene_matrix_t with a translation to the | 354 | // Initializes a #graphene_matrix_t with a translation to the | ||
| 407 | // given coordinates. | 355 | // given coordinates. | ||
| 408 | func (x *Matrix) InitTranslate(PVar *Point3D) *Matrix { | 356 | func (x *Matrix) InitTranslate(PVar *Point3D) *Matrix { | ||
| 409 | - | core.LazyRegister(&xMatrixInitTranslate, "GRAPHENE", "graphene_matrix_init_translate", false) | |||
| 410 | - | ||||
| 411 | cret := xMatrixInitTranslate(x.GoPointer(), PVar) | 357 | cret := xMatrixInitTranslate(x.GoPointer(), PVar) | ||
| 412 | if cret == 0 { | 358 | if cret == 0 { | ||
| 413 | return nil | 359 | return nil | ||
| @@ -424,8 +370,6 @@ var xMatrixInterpolate func(uintptr, *Matrix, float64, *Matrix) | |||||
| 424 | // then the interpolation cannot be performed, and this function | 370 | // then the interpolation cannot be performed, and this function | ||
| 425 | // will return an identity matrix. | 371 | // will return an identity matrix. | ||
| 426 | func (x *Matrix) Interpolate(BVar *Matrix, FactorVar float64, ResVar *Matrix) { | 372 | func (x *Matrix) Interpolate(BVar *Matrix, FactorVar float64, ResVar *Matrix) { | ||
| 427 | - | core.LazyRegister(&xMatrixInterpolate, "GRAPHENE", "graphene_matrix_interpolate", false) | |||
| 428 | - | ||||
| 429 | xMatrixInterpolate(x.GoPointer(), BVar, FactorVar, ResVar) | 373 | xMatrixInterpolate(x.GoPointer(), BVar, FactorVar, ResVar) | ||
| 430 | } | 374 | } | ||
| 431 | 375 | ||||
| @@ -433,8 +377,6 @@ var xMatrixInverse func(uintptr, *Matrix) bool | |||||
| 433 | 377 | ||||
| 434 | // Inverts the given matrix. | 378 | // Inverts the given matrix. | ||
| 435 | func (x *Matrix) Inverse(ResVar *Matrix) bool { | 379 | func (x *Matrix) Inverse(ResVar *Matrix) bool { | ||
| 436 | - | core.LazyRegister(&xMatrixInverse, "GRAPHENE", "graphene_matrix_inverse", false) | |||
| 437 | - | ||||
| 438 | cret := xMatrixInverse(x.GoPointer(), ResVar) | 380 | cret := xMatrixInverse(x.GoPointer(), ResVar) | ||
| 439 | return cret | 381 | return cret | ||
| 440 | } | 382 | } | ||
| @@ -444,8 +386,6 @@ var xMatrixIs2d func(uintptr) bool | |||||
| 444 | // Checks whether the given #graphene_matrix_t is compatible with an | 386 | // Checks whether the given #graphene_matrix_t is compatible with an | ||
| 445 | // a 2D affine transformation matrix. | 387 | // a 2D affine transformation matrix. | ||
| 446 | func (x *Matrix) Is2d() bool { | 388 | func (x *Matrix) Is2d() bool { | ||
| 447 | - | core.LazyRegister(&xMatrixIs2d, "GRAPHENE", "graphene_matrix_is_2d", false) | |||
| 448 | - | ||||
| 449 | cret := xMatrixIs2d(x.GoPointer()) | 389 | cret := xMatrixIs2d(x.GoPointer()) | ||
| 450 | return cret | 390 | return cret | ||
| 451 | } | 391 | } | ||
| @@ -454,8 +394,6 @@ var xMatrixIsBackfaceVisible func(uintptr) bool | |||||
| 454 | 394 | ||||
| 455 | // Checks whether a #graphene_matrix_t has a visible back face. | 395 | // Checks whether a #graphene_matrix_t has a visible back face. | ||
| 456 | func (x *Matrix) IsBackfaceVisible() bool { | 396 | func (x *Matrix) IsBackfaceVisible() bool { | ||
| 457 | - | core.LazyRegister(&xMatrixIsBackfaceVisible, "GRAPHENE", "graphene_matrix_is_backface_visible", false) | |||
| 458 | - | ||||
| 459 | cret := xMatrixIsBackfaceVisible(x.GoPointer()) | 397 | cret := xMatrixIsBackfaceVisible(x.GoPointer()) | ||
| 460 | return cret | 398 | return cret | ||
| 461 | } | 399 | } | ||
| @@ -464,8 +402,6 @@ var xMatrixIsIdentity func(uintptr) bool | |||||
| 464 | 402 | ||||
| 465 | // Checks whether the given #graphene_matrix_t is the identity matrix. | 403 | // Checks whether the given #graphene_matrix_t is the identity matrix. | ||
| 466 | func (x *Matrix) IsIdentity() bool { | 404 | func (x *Matrix) IsIdentity() bool { | ||
| 467 | - | core.LazyRegister(&xMatrixIsIdentity, "GRAPHENE", "graphene_matrix_is_identity", false) | |||
| 468 | - | ||||
| 469 | cret := xMatrixIsIdentity(x.GoPointer()) | 405 | cret := xMatrixIsIdentity(x.GoPointer()) | ||
| 470 | return cret | 406 | return cret | ||
| 471 | } | 407 | } | ||
| @@ -474,8 +410,6 @@ var xMatrixIsSingular func(uintptr) bool | |||||
| 474 | 410 | ||||
| 475 | // Checks whether a matrix is singular. | 411 | // Checks whether a matrix is singular. | ||
| 476 | func (x *Matrix) IsSingular() bool { | 412 | func (x *Matrix) IsSingular() bool { | ||
| 477 | - | core.LazyRegister(&xMatrixIsSingular, "GRAPHENE", "graphene_matrix_is_singular", false) | |||
| 478 | - | ||||
| 479 | cret := xMatrixIsSingular(x.GoPointer()) | 413 | cret := xMatrixIsSingular(x.GoPointer()) | ||
| 480 | return cret | 414 | return cret | ||
| 481 | } | 415 | } | ||
| @@ -487,8 +421,6 @@ var xMatrixMultiply func(uintptr, *Matrix, *Matrix) | |||||
| 487 | // Matrix multiplication is not commutative in general; the order of the factors matters. | 421 | // Matrix multiplication is not commutative in general; the order of the factors matters. | ||
| 488 | // The product of this multiplication is (@a × @b) | 422 | // The product of this multiplication is (@a × @b) | ||
| 489 | func (x *Matrix) Multiply(BVar *Matrix, ResVar *Matrix) { | 423 | func (x *Matrix) Multiply(BVar *Matrix, ResVar *Matrix) { | ||
| 490 | - | core.LazyRegister(&xMatrixMultiply, "GRAPHENE", "graphene_matrix_multiply", false) | |||
| 491 | - | ||||
| 492 | xMatrixMultiply(x.GoPointer(), BVar, ResVar) | 424 | xMatrixMultiply(x.GoPointer(), BVar, ResVar) | ||
| 493 | } | 425 | } | ||
| 494 | 426 | ||||
| @@ -498,8 +430,6 @@ var xMatrixNear func(uintptr, *Matrix, float32) bool | |||||
| 498 | // whether their values are within the given @epsilon of each | 430 | // whether their values are within the given @epsilon of each | ||
| 499 | // other. | 431 | // other. | ||
| 500 | func (x *Matrix) Near(BVar *Matrix, EpsilonVar float32) bool { | 432 | func (x *Matrix) Near(BVar *Matrix, EpsilonVar float32) bool { | ||
| 501 | - | core.LazyRegister(&xMatrixNear, "GRAPHENE", "graphene_matrix_near", false) | |||
| 502 | - | ||||
| 503 | cret := xMatrixNear(x.GoPointer(), BVar, EpsilonVar) | 433 | cret := xMatrixNear(x.GoPointer(), BVar, EpsilonVar) | ||
| 504 | return cret | 434 | return cret | ||
| 505 | } | 435 | } | ||
| @@ -508,8 +438,6 @@ var xMatrixNormalize func(uintptr, *Matrix) | |||||
| 508 | 438 | ||||
| 509 | // Normalizes the given #graphene_matrix_t. | 439 | // Normalizes the given #graphene_matrix_t. | ||
| 510 | func (x *Matrix) Normalize(ResVar *Matrix) { | 440 | func (x *Matrix) Normalize(ResVar *Matrix) { | ||
| 511 | - | core.LazyRegister(&xMatrixNormalize, "GRAPHENE", "graphene_matrix_normalize", false) | |||
| 512 | - | ||||
| 513 | xMatrixNormalize(x.GoPointer(), ResVar) | 441 | xMatrixNormalize(x.GoPointer(), ResVar) | ||
| 514 | } | 442 | } | ||
| 515 | 443 | ||||
| @@ -517,8 +445,6 @@ var xMatrixPerspective func(uintptr, float32, *Matrix) | |||||
| 517 | 445 | ||||
| 518 | // Applies a perspective of @depth to the matrix. | 446 | // Applies a perspective of @depth to the matrix. | ||
| 519 | func (x *Matrix) Perspective(DepthVar float32, ResVar *Matrix) { | 447 | func (x *Matrix) Perspective(DepthVar float32, ResVar *Matrix) { | ||
| 520 | - | core.LazyRegister(&xMatrixPerspective, "GRAPHENE", "graphene_matrix_perspective", false) | |||
| 521 | - | ||||
| 522 | xMatrixPerspective(x.GoPointer(), DepthVar, ResVar) | 448 | xMatrixPerspective(x.GoPointer(), DepthVar, ResVar) | ||
| 523 | } | 449 | } | ||
| 524 | 450 | ||||
| @@ -529,8 +455,6 @@ var xMatrixPrint func(uintptr) | |||||
| 529 | // This function is only useful for debugging; there are no guarantees | 455 | // This function is only useful for debugging; there are no guarantees | ||
| 530 | // made on the format of the output. | 456 | // made on the format of the output. | ||
| 531 | func (x *Matrix) Print() { | 457 | func (x *Matrix) Print() { | ||
| 532 | - | core.LazyRegister(&xMatrixPrint, "GRAPHENE", "graphene_matrix_print", false) | |||
| 533 | - | ||||
| 534 | xMatrixPrint(x.GoPointer()) | 458 | xMatrixPrint(x.GoPointer()) | ||
| 535 | } | 459 | } | ||
| 536 | 460 | ||||
| @@ -538,8 +462,6 @@ var xMatrixProjectPoint func(uintptr, *Point, *Point) | |||||
| 538 | 462 | ||||
| 539 | // Projects a #graphene_point_t using the matrix @m. | 463 | // Projects a #graphene_point_t using the matrix @m. | ||
| 540 | func (x *Matrix) ProjectPoint(PVar *Point, ResVar *Point) { | 464 | func (x *Matrix) ProjectPoint(PVar *Point, ResVar *Point) { | ||
| 541 | - | core.LazyRegister(&xMatrixProjectPoint, "GRAPHENE", "graphene_matrix_project_point", false) | |||
| 542 | - | ||||
| 543 | xMatrixProjectPoint(x.GoPointer(), PVar, ResVar) | 465 | xMatrixProjectPoint(x.GoPointer(), PVar, ResVar) | ||
| 544 | } | 466 | } | ||
| 545 | 467 | ||||
| @@ -549,8 +471,6 @@ var xMatrixProjectRect func(uintptr, *Rect, *Quad) | |||||
| 549 | // | 471 | // | ||
| 550 | // See also: graphene_matrix_project_point() | 472 | // See also: graphene_matrix_project_point() | ||
| 551 | func (x *Matrix) ProjectRect(RVar *Rect, ResVar *Quad) { | 473 | func (x *Matrix) ProjectRect(RVar *Rect, ResVar *Quad) { | ||
| 552 | - | core.LazyRegister(&xMatrixProjectRect, "GRAPHENE", "graphene_matrix_project_rect", false) | |||
| 553 | - | ||||
| 554 | xMatrixProjectRect(x.GoPointer(), RVar, ResVar) | 474 | xMatrixProjectRect(x.GoPointer(), RVar, ResVar) | ||
| 555 | } | 475 | } | ||
| 556 | 476 | ||||
| @@ -561,8 +481,6 @@ var xMatrixProjectRectBounds func(uintptr, *Rect, *Rect) | |||||
| 561 | // The resulting rectangle is the axis aligned bounding rectangle capable | 481 | // The resulting rectangle is the axis aligned bounding rectangle capable | ||
| 562 | // of fully containing the projected rectangle. | 482 | // of fully containing the projected rectangle. | ||
| 563 | func (x *Matrix) ProjectRectBounds(RVar *Rect, ResVar *Rect) { | 483 | func (x *Matrix) ProjectRectBounds(RVar *Rect, ResVar *Rect) { | ||
| 564 | - | core.LazyRegister(&xMatrixProjectRectBounds, "GRAPHENE", "graphene_matrix_project_rect_bounds", false) | |||
| 565 | - | ||||
| 566 | xMatrixProjectRectBounds(x.GoPointer(), RVar, ResVar) | 484 | xMatrixProjectRectBounds(x.GoPointer(), RVar, ResVar) | ||
| 567 | } | 485 | } | ||
| 568 | 486 | ||||
| @@ -574,8 +492,6 @@ var xMatrixRotate func(uintptr, float32, *Vec3) | |||||
| 574 | // This is the equivalent of calling graphene_matrix_init_rotate() and | 492 | // This is the equivalent of calling graphene_matrix_init_rotate() and | ||
| 575 | // then multiplying the matrix @m with the rotation matrix. | 493 | // then multiplying the matrix @m with the rotation matrix. | ||
| 576 | func (x *Matrix) Rotate(AngleVar float32, AxisVar *Vec3) { | 494 | func (x *Matrix) Rotate(AngleVar float32, AxisVar *Vec3) { | ||
| 577 | - | core.LazyRegister(&xMatrixRotate, "GRAPHENE", "graphene_matrix_rotate", false) | |||
| 578 | - | ||||
| 579 | xMatrixRotate(x.GoPointer(), AngleVar, AxisVar) | 495 | xMatrixRotate(x.GoPointer(), AngleVar, AxisVar) | ||
| 580 | } | 496 | } | ||
| 581 | 497 | ||||
| @@ -584,8 +500,6 @@ var xMatrixRotateEuler func(uintptr, *Euler) | |||||
| 584 | // Adds a rotation transformation to @m, using the given | 500 | // Adds a rotation transformation to @m, using the given | ||
| 585 | // #graphene_euler_t. | 501 | // #graphene_euler_t. | ||
| 586 | func (x *Matrix) RotateEuler(EVar *Euler) { | 502 | func (x *Matrix) RotateEuler(EVar *Euler) { | ||
| 587 | - | core.LazyRegister(&xMatrixRotateEuler, "GRAPHENE", "graphene_matrix_rotate_euler", false) | |||
| 588 | - | ||||
| 589 | xMatrixRotateEuler(x.GoPointer(), EVar) | 503 | xMatrixRotateEuler(x.GoPointer(), EVar) | ||
| 590 | } | 504 | } | ||
| 591 | 505 | ||||
| @@ -597,8 +511,6 @@ var xMatrixRotateQuaternion func(uintptr, *Quaternion) | |||||
| 597 | // This is the equivalent of calling graphene_quaternion_to_matrix() and | 511 | // This is the equivalent of calling graphene_quaternion_to_matrix() and | ||
| 598 | // then multiplying @m with the rotation matrix. | 512 | // then multiplying @m with the rotation matrix. | ||
| 599 | func (x *Matrix) RotateQuaternion(QVar *Quaternion) { | 513 | func (x *Matrix) RotateQuaternion(QVar *Quaternion) { | ||
| 600 | - | core.LazyRegister(&xMatrixRotateQuaternion, "GRAPHENE", "graphene_matrix_rotate_quaternion", false) | |||
| 601 | - | ||||
| 602 | xMatrixRotateQuaternion(x.GoPointer(), QVar) | 514 | xMatrixRotateQuaternion(x.GoPointer(), QVar) | ||
| 603 | } | 515 | } | ||
| 604 | 516 | ||||
| @@ -609,8 +521,6 @@ var xMatrixRotateX func(uintptr, float32) | |||||
| 609 | // | 521 | // | ||
| 610 | // See also: graphene_matrix_rotate() | 522 | // See also: graphene_matrix_rotate() | ||
| 611 | func (x *Matrix) RotateX(AngleVar float32) { | 523 | func (x *Matrix) RotateX(AngleVar float32) { | ||
| 612 | - | core.LazyRegister(&xMatrixRotateX, "GRAPHENE", "graphene_matrix_rotate_x", false) | |||
| 613 | - | ||||
| 614 | xMatrixRotateX(x.GoPointer(), AngleVar) | 524 | xMatrixRotateX(x.GoPointer(), AngleVar) | ||
| 615 | } | 525 | } | ||
| 616 | 526 | ||||
| @@ -621,8 +531,6 @@ var xMatrixRotateY func(uintptr, float32) | |||||
| 621 | // | 531 | // | ||
| 622 | // See also: graphene_matrix_rotate() | 532 | // See also: graphene_matrix_rotate() | ||
| 623 | func (x *Matrix) RotateY(AngleVar float32) { | 533 | func (x *Matrix) RotateY(AngleVar float32) { | ||
| 624 | - | core.LazyRegister(&xMatrixRotateY, "GRAPHENE", "graphene_matrix_rotate_y", false) | |||
| 625 | - | ||||
| 626 | xMatrixRotateY(x.GoPointer(), AngleVar) | 534 | xMatrixRotateY(x.GoPointer(), AngleVar) | ||
| 627 | } | 535 | } | ||
| 628 | 536 | ||||
| @@ -633,8 +541,6 @@ var xMatrixRotateZ func(uintptr, float32) | |||||
| 633 | // | 541 | // | ||
| 634 | // See also: graphene_matrix_rotate() | 542 | // See also: graphene_matrix_rotate() | ||
| 635 | func (x *Matrix) RotateZ(AngleVar float32) { | 543 | func (x *Matrix) RotateZ(AngleVar float32) { | ||
| 636 | - | core.LazyRegister(&xMatrixRotateZ, "GRAPHENE", "graphene_matrix_rotate_z", false) | |||
| 637 | - | ||||
| 638 | xMatrixRotateZ(x.GoPointer(), AngleVar) | 544 | xMatrixRotateZ(x.GoPointer(), AngleVar) | ||
| 639 | } | 545 | } | ||
| 640 | 546 | ||||
| @@ -646,8 +552,6 @@ var xMatrixScale func(uintptr, float32, float32, float32) | |||||
| 646 | // This is the equivalent of calling graphene_matrix_init_scale() and then | 552 | // This is the equivalent of calling graphene_matrix_init_scale() and then | ||
| 647 | // multiplying the matrix @m with the scale matrix. | 553 | // multiplying the matrix @m with the scale matrix. | ||
| 648 | func (x *Matrix) Scale(FactorXVar float32, FactorYVar float32, FactorZVar float32) { | 554 | func (x *Matrix) Scale(FactorXVar float32, FactorYVar float32, FactorZVar float32) { | ||
| 649 | - | core.LazyRegister(&xMatrixScale, "GRAPHENE", "graphene_matrix_scale", false) | |||
| 650 | - | ||||
| 651 | xMatrixScale(x.GoPointer(), FactorXVar, FactorYVar, FactorZVar) | 555 | xMatrixScale(x.GoPointer(), FactorXVar, FactorYVar, FactorZVar) | ||
| 652 | } | 556 | } | ||
| 653 | 557 | ||||
| @@ -655,8 +559,6 @@ var xMatrixSkewXy func(uintptr, float32) | |||||
| 655 | 559 | ||||
| 656 | // Adds a skew of @factor on the X and Y axis to the given matrix. | 560 | // Adds a skew of @factor on the X and Y axis to the given matrix. | ||
| 657 | func (x *Matrix) SkewXy(FactorVar float32) { | 561 | func (x *Matrix) SkewXy(FactorVar float32) { | ||
| 658 | - | core.LazyRegister(&xMatrixSkewXy, "GRAPHENE", "graphene_matrix_skew_xy", false) | |||
| 659 | - | ||||
| 660 | xMatrixSkewXy(x.GoPointer(), FactorVar) | 562 | xMatrixSkewXy(x.GoPointer(), FactorVar) | ||
| 661 | } | 563 | } | ||
| 662 | 564 | ||||
| @@ -664,8 +566,6 @@ var xMatrixSkewXz func(uintptr, float32) | |||||
| 664 | 566 | ||||
| 665 | // Adds a skew of @factor on the X and Z axis to the given matrix. | 567 | // Adds a skew of @factor on the X and Z axis to the given matrix. | ||
| 666 | func (x *Matrix) SkewXz(FactorVar float32) { | 568 | func (x *Matrix) SkewXz(FactorVar float32) { | ||
| 667 | - | core.LazyRegister(&xMatrixSkewXz, "GRAPHENE", "graphene_matrix_skew_xz", false) | |||
| 668 | - | ||||
| 669 | xMatrixSkewXz(x.GoPointer(), FactorVar) | 569 | xMatrixSkewXz(x.GoPointer(), FactorVar) | ||
| 670 | } | 570 | } | ||
| 671 | 571 | ||||
| @@ -673,8 +573,6 @@ var xMatrixSkewYz func(uintptr, float32) | |||||
| 673 | 573 | ||||
| 674 | // Adds a skew of @factor on the Y and Z axis to the given matrix. | 574 | // Adds a skew of @factor on the Y and Z axis to the given matrix. | ||
| 675 | func (x *Matrix) SkewYz(FactorVar float32) { | 575 | func (x *Matrix) SkewYz(FactorVar float32) { | ||
| 676 | - | core.LazyRegister(&xMatrixSkewYz, "GRAPHENE", "graphene_matrix_skew_yz", false) | |||
| 677 | - | ||||
| 678 | xMatrixSkewYz(x.GoPointer(), FactorVar) | 576 | xMatrixSkewYz(x.GoPointer(), FactorVar) | ||
| 679 | } | 577 | } | ||
| 680 | 578 | ||||
| @@ -696,8 +594,6 @@ var xMatrixTo2d func(uintptr, *float64, *float64, *float64, *float64, *float64, | |||||
| 696 | // This function can be used to convert between a #graphene_matrix_t | 594 | // This function can be used to convert between a #graphene_matrix_t | ||
| 697 | // and an affine matrix type from other libraries. | 595 | // and an affine matrix type from other libraries. | ||
| 698 | func (x *Matrix) To2d(XxVar *float64, YxVar *float64, XyVar *float64, YyVar *float64, X0Var *float64, Y0Var *float64) bool { | 596 | func (x *Matrix) To2d(XxVar *float64, YxVar *float64, XyVar *float64, YyVar *float64, X0Var *float64, Y0Var *float64) bool { | ||
| 699 | - | core.LazyRegister(&xMatrixTo2d, "GRAPHENE", "graphene_matrix_to_2d", false) | |||
| 700 | - | ||||
| 701 | cret := xMatrixTo2d(x.GoPointer(), XxVar, YxVar, XyVar, YyVar, X0Var, Y0Var) | 597 | cret := xMatrixTo2d(x.GoPointer(), XxVar, YxVar, XyVar, YyVar, X0Var, Y0Var) | ||
| 702 | return cret | 598 | return cret | ||
| 703 | } | 599 | } | ||
| @@ -707,8 +603,6 @@ var xMatrixToFloat func(uintptr, *[16]float32) | |||||
| 707 | // Converts a #graphene_matrix_t to an array of floating point | 603 | // Converts a #graphene_matrix_t to an array of floating point | ||
| 708 | // values. | 604 | // values. | ||
| 709 | func (x *Matrix) ToFloat(VVar *[16]float32) { | 605 | func (x *Matrix) ToFloat(VVar *[16]float32) { | ||
| 710 | - | core.LazyRegister(&xMatrixToFloat, "GRAPHENE", "graphene_matrix_to_float", false) | |||
| 711 | - | ||||
| 712 | xMatrixToFloat(x.GoPointer(), VVar) | 606 | xMatrixToFloat(x.GoPointer(), VVar) | ||
| 713 | } | 607 | } | ||
| 714 | 608 | ||||
| @@ -721,8 +615,6 @@ var xMatrixTransformBounds func(uintptr, *Rect, *Rect) | |||||
| 721 | // | 615 | // | ||
| 722 | // See also: graphene_matrix_transform_point() | 616 | // See also: graphene_matrix_transform_point() | ||
| 723 | func (x *Matrix) TransformBounds(RVar *Rect, ResVar *Rect) { | 617 | func (x *Matrix) TransformBounds(RVar *Rect, ResVar *Rect) { | ||
| 724 | - | core.LazyRegister(&xMatrixTransformBounds, "GRAPHENE", "graphene_matrix_transform_bounds", false) | |||
| 725 | - | ||||
| 726 | xMatrixTransformBounds(x.GoPointer(), RVar, ResVar) | 618 | xMatrixTransformBounds(x.GoPointer(), RVar, ResVar) | ||
| 727 | } | 619 | } | ||
| 728 | 620 | ||||
| @@ -733,8 +625,6 @@ var xMatrixTransformBox func(uintptr, *Box, *Box) | |||||
| 733 | // The result is the axis aligned bounding box containing the transformed | 625 | // The result is the axis aligned bounding box containing the transformed | ||
| 734 | // vertices. | 626 | // vertices. | ||
| 735 | func (x *Matrix) TransformBox(BVar *Box, ResVar *Box) { | 627 | func (x *Matrix) TransformBox(BVar *Box, ResVar *Box) { | ||
| 736 | - | core.LazyRegister(&xMatrixTransformBox, "GRAPHENE", "graphene_matrix_transform_box", false) | |||
| 737 | - | ||||
| 738 | xMatrixTransformBox(x.GoPointer(), BVar, ResVar) | 628 | xMatrixTransformBox(x.GoPointer(), BVar, ResVar) | ||
| 739 | } | 629 | } | ||
| 740 | 630 | ||||
| @@ -748,8 +638,6 @@ var xMatrixTransformPoint func(uintptr, *Point, *Point) | |||||
| 748 | // | 638 | // | ||
| 749 | // See also: graphene_simd4x4f_point3_mul() | 639 | // See also: graphene_simd4x4f_point3_mul() | ||
| 750 | func (x *Matrix) TransformPoint(PVar *Point, ResVar *Point) { | 640 | func (x *Matrix) TransformPoint(PVar *Point, ResVar *Point) { | ||
| 751 | - | core.LazyRegister(&xMatrixTransformPoint, "GRAPHENE", "graphene_matrix_transform_point", false) | |||
| 752 | - | ||||
| 753 | xMatrixTransformPoint(x.GoPointer(), PVar, ResVar) | 641 | xMatrixTransformPoint(x.GoPointer(), PVar, ResVar) | ||
| 754 | } | 642 | } | ||
| 755 | 643 | ||||
| @@ -763,8 +651,6 @@ var xMatrixTransformPoint3d func(uintptr, *Point3D, *Point3D) | |||||
| 763 | // | 651 | // | ||
| 764 | // See also: graphene_simd4x4f_point3_mul() | 652 | // See also: graphene_simd4x4f_point3_mul() | ||
| 765 | func (x *Matrix) TransformPoint3d(PVar *Point3D, ResVar *Point3D) { | 653 | func (x *Matrix) TransformPoint3d(PVar *Point3D, ResVar *Point3D) { | ||
| 766 | - | core.LazyRegister(&xMatrixTransformPoint3d, "GRAPHENE", "graphene_matrix_transform_point3d", false) | |||
| 767 | - | ||||
| 768 | xMatrixTransformPoint3d(x.GoPointer(), PVar, ResVar) | 654 | xMatrixTransformPoint3d(x.GoPointer(), PVar, ResVar) | ||
| 769 | } | 655 | } | ||
| 770 | 656 | ||||
| @@ -772,8 +658,6 @@ var xMatrixTransformRay func(uintptr, *Ray, *Ray) | |||||
| 772 | 658 | ||||
| 773 | // Transform a #graphene_ray_t using the given matrix @m. | 659 | // Transform a #graphene_ray_t using the given matrix @m. | ||
| 774 | func (x *Matrix) TransformRay(RVar *Ray, ResVar *Ray) { | 660 | func (x *Matrix) TransformRay(RVar *Ray, ResVar *Ray) { | ||
| 775 | - | core.LazyRegister(&xMatrixTransformRay, "GRAPHENE", "graphene_matrix_transform_ray", false) | |||
| 776 | - | ||||
| 777 | xMatrixTransformRay(x.GoPointer(), RVar, ResVar) | 661 | xMatrixTransformRay(x.GoPointer(), RVar, ResVar) | ||
| 778 | } | 662 | } | ||
| 779 | 663 | ||||
| @@ -785,8 +669,6 @@ var xMatrixTransformRect func(uintptr, *Rect, *Quad) | |||||
| 785 | // | 669 | // | ||
| 786 | // See also: graphene_matrix_transform_point() | 670 | // See also: graphene_matrix_transform_point() | ||
| 787 | func (x *Matrix) TransformRect(RVar *Rect, ResVar *Quad) { | 671 | func (x *Matrix) TransformRect(RVar *Rect, ResVar *Quad) { | ||
| 788 | - | core.LazyRegister(&xMatrixTransformRect, "GRAPHENE", "graphene_matrix_transform_rect", false) | |||
| 789 | - | ||||
| 790 | xMatrixTransformRect(x.GoPointer(), RVar, ResVar) | 672 | xMatrixTransformRect(x.GoPointer(), RVar, ResVar) | ||
| 791 | } | 673 | } | ||
| 792 | 674 | ||||
| @@ -795,8 +677,6 @@ var xMatrixTransformSphere func(uintptr, *Sphere, *Sphere) | |||||
| 795 | // Transforms a #graphene_sphere_t using the given matrix @m. The | 677 | // Transforms a #graphene_sphere_t using the given matrix @m. The | ||
| 796 | // result is the bounding sphere containing the transformed sphere. | 678 | // result is the bounding sphere containing the transformed sphere. | ||
| 797 | func (x *Matrix) TransformSphere(SVar *Sphere, ResVar *Sphere) { | 679 | func (x *Matrix) TransformSphere(SVar *Sphere, ResVar *Sphere) { | ||
| 798 | - | core.LazyRegister(&xMatrixTransformSphere, "GRAPHENE", "graphene_matrix_transform_sphere", false) | |||
| 799 | - | ||||
| 800 | xMatrixTransformSphere(x.GoPointer(), SVar, ResVar) | 680 | xMatrixTransformSphere(x.GoPointer(), SVar, ResVar) | ||
| 801 | } | 681 | } | ||
| 802 | 682 | ||||
| @@ -810,8 +690,6 @@ var xMatrixTransformVec3 func(uintptr, *Vec3, *Vec3) | |||||
| 810 | // | 690 | // | ||
| 811 | // See also: graphene_simd4x4f_vec3_mul() | 691 | // See also: graphene_simd4x4f_vec3_mul() | ||
| 812 | func (x *Matrix) TransformVec3(VVar *Vec3, ResVar *Vec3) { | 692 | func (x *Matrix) TransformVec3(VVar *Vec3, ResVar *Vec3) { | ||
| 813 | - | core.LazyRegister(&xMatrixTransformVec3, "GRAPHENE", "graphene_matrix_transform_vec3", false) | |||
| 814 | - | ||||
| 815 | xMatrixTransformVec3(x.GoPointer(), VVar, ResVar) | 693 | xMatrixTransformVec3(x.GoPointer(), VVar, ResVar) | ||
| 816 | } | 694 | } | ||
| 817 | 695 | ||||
| @@ -821,8 +699,6 @@ var xMatrixTransformVec4 func(uintptr, *Vec4, *Vec4) | |||||
| 821 | // | 699 | // | ||
| 822 | // See also: graphene_simd4x4f_vec4_mul() | 700 | // See also: graphene_simd4x4f_vec4_mul() | ||
| 823 | func (x *Matrix) TransformVec4(VVar *Vec4, ResVar *Vec4) { | 701 | func (x *Matrix) TransformVec4(VVar *Vec4, ResVar *Vec4) { | ||
| 824 | - | core.LazyRegister(&xMatrixTransformVec4, "GRAPHENE", "graphene_matrix_transform_vec4", false) | |||
| 825 | - | ||||
| 826 | xMatrixTransformVec4(x.GoPointer(), VVar, ResVar) | 702 | xMatrixTransformVec4(x.GoPointer(), VVar, ResVar) | ||
| 827 | } | 703 | } | ||
| 828 | 704 | ||||
| @@ -834,8 +710,6 @@ var xMatrixTranslate func(uintptr, *Point3D) | |||||
| 834 | // This is the equivalent of calling graphene_matrix_init_translate() and | 710 | // This is the equivalent of calling graphene_matrix_init_translate() and | ||
| 835 | // then multiplying @m with the translation matrix. | 711 | // then multiplying @m with the translation matrix. | ||
| 836 | func (x *Matrix) Translate(PosVar *Point3D) { | 712 | func (x *Matrix) Translate(PosVar *Point3D) { | ||
| 837 | - | core.LazyRegister(&xMatrixTranslate, "GRAPHENE", "graphene_matrix_translate", false) | |||
| 838 | - | ||||
| 839 | xMatrixTranslate(x.GoPointer(), PosVar) | 713 | xMatrixTranslate(x.GoPointer(), PosVar) | ||
| 840 | } | 714 | } | ||
| 841 | 715 | ||||
| @@ -843,8 +717,6 @@ var xMatrixTranspose func(uintptr, *Matrix) | |||||
| 843 | 717 | ||||
| 844 | // Transposes the given matrix. | 718 | // Transposes the given matrix. | ||
| 845 | func (x *Matrix) Transpose(ResVar *Matrix) { | 719 | func (x *Matrix) Transpose(ResVar *Matrix) { | ||
| 846 | - | core.LazyRegister(&xMatrixTranspose, "GRAPHENE", "graphene_matrix_transpose", false) | |||
| 847 | - | ||||
| 848 | xMatrixTranspose(x.GoPointer(), ResVar) | 720 | xMatrixTranspose(x.GoPointer(), ResVar) | ||
| 849 | } | 721 | } | ||
| 850 | 722 | ||||
| @@ -853,8 +725,6 @@ var xMatrixUnprojectPoint3d func(uintptr, *Matrix, *Point3D, *Point3D) | |||||
| 853 | // Unprojects the given @point using the @projection matrix and | 725 | // Unprojects the given @point using the @projection matrix and | ||
| 854 | // a @modelview matrix. | 726 | // a @modelview matrix. | ||
| 855 | func (x *Matrix) UnprojectPoint3d(ModelviewVar *Matrix, PointVar *Point3D, ResVar *Point3D) { | 727 | func (x *Matrix) UnprojectPoint3d(ModelviewVar *Matrix, PointVar *Point3D, ResVar *Point3D) { | ||
| 856 | - | core.LazyRegister(&xMatrixUnprojectPoint3d, "GRAPHENE", "graphene_matrix_unproject_point3d", false) | |||
| 857 | - | ||||
| 858 | xMatrixUnprojectPoint3d(x.GoPointer(), ModelviewVar, PointVar, ResVar) | 728 | xMatrixUnprojectPoint3d(x.GoPointer(), ModelviewVar, PointVar, ResVar) | ||
| 859 | } | 729 | } | ||
| 860 | 730 | ||||
| @@ -863,8 +733,6 @@ var xMatrixUntransformBounds func(uintptr, *Rect, *Rect, *Rect) | |||||
| 863 | // Undoes the transformation on the corners of a #graphene_rect_t using the | 733 | // Undoes the transformation on the corners of a #graphene_rect_t using the | ||
| 864 | // given matrix, within the given axis aligned rectangular @bounds. | 734 | // given matrix, within the given axis aligned rectangular @bounds. | ||
| 865 | func (x *Matrix) UntransformBounds(RVar *Rect, BoundsVar *Rect, ResVar *Rect) { | 735 | func (x *Matrix) UntransformBounds(RVar *Rect, BoundsVar *Rect, ResVar *Rect) { | ||
| 866 | - | core.LazyRegister(&xMatrixUntransformBounds, "GRAPHENE", "graphene_matrix_untransform_bounds", false) | |||
| 867 | - | ||||
| 868 | xMatrixUntransformBounds(x.GoPointer(), RVar, BoundsVar, ResVar) | 736 | xMatrixUntransformBounds(x.GoPointer(), RVar, BoundsVar, ResVar) | ||
| 869 | } | 737 | } | ||
| 870 | 738 | ||||
| @@ -873,8 +741,6 @@ var xMatrixUntransformPoint func(uintptr, *Point, *Rect, *Point) bool | |||||
| 873 | // Undoes the transformation of a #graphene_point_t using the | 741 | // Undoes the transformation of a #graphene_point_t using the | ||
| 874 | // given matrix, within the given axis aligned rectangular @bounds. | 742 | // given matrix, within the given axis aligned rectangular @bounds. | ||
| 875 | func (x *Matrix) UntransformPoint(PVar *Point, BoundsVar *Rect, ResVar *Point) bool { | 743 | func (x *Matrix) UntransformPoint(PVar *Point, BoundsVar *Rect, ResVar *Point) bool { | ||
| 876 | - | core.LazyRegister(&xMatrixUntransformPoint, "GRAPHENE", "graphene_matrix_untransform_point", false) | |||
| 877 | - | ||||
| 878 | cret := xMatrixUntransformPoint(x.GoPointer(), PVar, BoundsVar, ResVar) | 744 | cret := xMatrixUntransformPoint(x.GoPointer(), PVar, BoundsVar, ResVar) | ||
| 879 | return cret | 745 | return cret | ||
| 880 | } | 746 | } | ||
| @@ -882,4 +748,83 @@ func (x *Matrix) UntransformPoint(PVar *Point, BoundsVar *Rect, ResVar *Point) b | |||||
| 882 | func init() { | 748 | func init() { | ||
| 883 | core.SetPackageName("GRAPHENE", "graphene-gobject-1.0") | 749 | core.SetPackageName("GRAPHENE", "graphene-gobject-1.0") | ||
| 884 | core.SetSharedLibraries("GRAPHENE", []string{"libgraphene-1.0.so.0", "libgraphene-1.0.0.dylib"}) | 750 | core.SetSharedLibraries("GRAPHENE", []string{"libgraphene-1.0.so.0", "libgraphene-1.0.0.dylib"}) | ||
| 751 | + | var libs []uintptr | |||
| 752 | + | for _, libPath := range core.GetPaths("GRAPHENE") { | |||
| 753 | + | lib, err := purego.Dlopen(libPath, purego.RTLD_NOW|purego.RTLD_GLOBAL) | |||
| 754 | + | if err != nil { | |||
| 755 | + | panic(err) | |||
| 756 | + | } | |||
| 757 | + | libs = append(libs, lib) | |||
| 758 | + | } | |||
| 759 | + | ||||
| 760 | + | core.PuregoSafeRegister(&xMatrixGLibType, libs, "graphene_matrix_get_type") | |||
| 761 | + | ||||
| 762 | + | core.PuregoSafeRegister(&xMatrixAlloc, libs, "graphene_matrix_alloc") | |||
| 763 | + | ||||
| 764 | + | core.PuregoSafeRegister(&xMatrixDecompose, libs, "graphene_matrix_decompose") | |||
| 765 | + | core.PuregoSafeRegister(&xMatrixDeterminant, libs, "graphene_matrix_determinant") | |||
| 766 | + | core.PuregoSafeRegister(&xMatrixEqual, libs, "graphene_matrix_equal") | |||
| 767 | + | core.PuregoSafeRegister(&xMatrixEqualFast, libs, "graphene_matrix_equal_fast") | |||
| 768 | + | core.PuregoSafeRegister(&xMatrixFree, libs, "graphene_matrix_free") | |||
| 769 | + | core.PuregoSafeRegister(&xMatrixGetRow, libs, "graphene_matrix_get_row") | |||
| 770 | + | core.PuregoSafeRegister(&xMatrixGetValue, libs, "graphene_matrix_get_value") | |||
| 771 | + | core.PuregoSafeRegister(&xMatrixGetXScale, libs, "graphene_matrix_get_x_scale") | |||
| 772 | + | core.PuregoSafeRegister(&xMatrixGetXTranslation, libs, "graphene_matrix_get_x_translation") | |||
| 773 | + | core.PuregoSafeRegister(&xMatrixGetYScale, libs, "graphene_matrix_get_y_scale") | |||
| 774 | + | core.PuregoSafeRegister(&xMatrixGetYTranslation, libs, "graphene_matrix_get_y_translation") | |||
| 775 | + | core.PuregoSafeRegister(&xMatrixGetZScale, libs, "graphene_matrix_get_z_scale") | |||
| 776 | + | core.PuregoSafeRegister(&xMatrixGetZTranslation, libs, "graphene_matrix_get_z_translation") | |||
| 777 | + | core.PuregoSafeRegister(&xMatrixInitFrom2d, libs, "graphene_matrix_init_from_2d") | |||
| 778 | + | core.PuregoSafeRegister(&xMatrixInitFromFloat, libs, "graphene_matrix_init_from_float") | |||
| 779 | + | core.PuregoSafeRegister(&xMatrixInitFromMatrix, libs, "graphene_matrix_init_from_matrix") | |||
| 780 | + | core.PuregoSafeRegister(&xMatrixInitFromVec4, libs, "graphene_matrix_init_from_vec4") | |||
| 781 | + | core.PuregoSafeRegister(&xMatrixInitFrustum, libs, "graphene_matrix_init_frustum") | |||
| 782 | + | core.PuregoSafeRegister(&xMatrixInitIdentity, libs, "graphene_matrix_init_identity") | |||
| 783 | + | core.PuregoSafeRegister(&xMatrixInitLookAt, libs, "graphene_matrix_init_look_at") | |||
| 784 | + | core.PuregoSafeRegister(&xMatrixInitOrtho, libs, "graphene_matrix_init_ortho") | |||
| 785 | + | core.PuregoSafeRegister(&xMatrixInitPerspective, libs, "graphene_matrix_init_perspective") | |||
| 786 | + | core.PuregoSafeRegister(&xMatrixInitRotate, libs, "graphene_matrix_init_rotate") | |||
| 787 | + | core.PuregoSafeRegister(&xMatrixInitScale, libs, "graphene_matrix_init_scale") | |||
| 788 | + | core.PuregoSafeRegister(&xMatrixInitSkew, libs, "graphene_matrix_init_skew") | |||
| 789 | + | core.PuregoSafeRegister(&xMatrixInitTranslate, libs, "graphene_matrix_init_translate") | |||
| 790 | + | core.PuregoSafeRegister(&xMatrixInterpolate, libs, "graphene_matrix_interpolate") | |||
| 791 | + | core.PuregoSafeRegister(&xMatrixInverse, libs, "graphene_matrix_inverse") | |||
| 792 | + | core.PuregoSafeRegister(&xMatrixIs2d, libs, "graphene_matrix_is_2d") | |||
| 793 | + | core.PuregoSafeRegister(&xMatrixIsBackfaceVisible, libs, "graphene_matrix_is_backface_visible") | |||
| 794 | + | core.PuregoSafeRegister(&xMatrixIsIdentity, libs, "graphene_matrix_is_identity") | |||
| 795 | + | core.PuregoSafeRegister(&xMatrixIsSingular, libs, "graphene_matrix_is_singular") | |||
| 796 | + | core.PuregoSafeRegister(&xMatrixMultiply, libs, "graphene_matrix_multiply") | |||
| 797 | + | core.PuregoSafeRegister(&xMatrixNear, libs, "graphene_matrix_near") | |||
| 798 | + | core.PuregoSafeRegister(&xMatrixNormalize, libs, "graphene_matrix_normalize") | |||
| 799 | + | core.PuregoSafeRegister(&xMatrixPerspective, libs, "graphene_matrix_perspective") | |||
| 800 | + | core.PuregoSafeRegister(&xMatrixPrint, libs, "graphene_matrix_print") | |||
| 801 | + | core.PuregoSafeRegister(&xMatrixProjectPoint, libs, "graphene_matrix_project_point") | |||
| 802 | + | core.PuregoSafeRegister(&xMatrixProjectRect, libs, "graphene_matrix_project_rect") | |||
| 803 | + | core.PuregoSafeRegister(&xMatrixProjectRectBounds, libs, "graphene_matrix_project_rect_bounds") | |||
| 804 | + | core.PuregoSafeRegister(&xMatrixRotate, libs, "graphene_matrix_rotate") | |||
| 805 | + | core.PuregoSafeRegister(&xMatrixRotateEuler, libs, "graphene_matrix_rotate_euler") | |||
| 806 | + | core.PuregoSafeRegister(&xMatrixRotateQuaternion, libs, "graphene_matrix_rotate_quaternion") | |||
| 807 | + | core.PuregoSafeRegister(&xMatrixRotateX, libs, "graphene_matrix_rotate_x") | |||
| 808 | + | core.PuregoSafeRegister(&xMatrixRotateY, libs, "graphene_matrix_rotate_y") | |||
| 809 | + | core.PuregoSafeRegister(&xMatrixRotateZ, libs, "graphene_matrix_rotate_z") | |||
| 810 | + | core.PuregoSafeRegister(&xMatrixScale, libs, "graphene_matrix_scale") | |||
| 811 | + | core.PuregoSafeRegister(&xMatrixSkewXy, libs, "graphene_matrix_skew_xy") | |||
| 812 | + | core.PuregoSafeRegister(&xMatrixSkewXz, libs, "graphene_matrix_skew_xz") | |||
| 813 | + | core.PuregoSafeRegister(&xMatrixSkewYz, libs, "graphene_matrix_skew_yz") | |||
| 814 | + | core.PuregoSafeRegister(&xMatrixTo2d, libs, "graphene_matrix_to_2d") | |||
| 815 | + | core.PuregoSafeRegister(&xMatrixToFloat, libs, "graphene_matrix_to_float") | |||
| 816 | + | core.PuregoSafeRegister(&xMatrixTransformBounds, libs, "graphene_matrix_transform_bounds") | |||
| 817 | + | core.PuregoSafeRegister(&xMatrixTransformBox, libs, "graphene_matrix_transform_box") | |||
| 818 | + | core.PuregoSafeRegister(&xMatrixTransformPoint, libs, "graphene_matrix_transform_point") | |||
| 819 | + | core.PuregoSafeRegister(&xMatrixTransformPoint3d, libs, "graphene_matrix_transform_point3d") | |||
| 820 | + | core.PuregoSafeRegister(&xMatrixTransformRay, libs, "graphene_matrix_transform_ray") | |||
| 821 | + | core.PuregoSafeRegister(&xMatrixTransformRect, libs, "graphene_matrix_transform_rect") | |||
| 822 | + | core.PuregoSafeRegister(&xMatrixTransformSphere, libs, "graphene_matrix_transform_sphere") | |||
| 823 | + | core.PuregoSafeRegister(&xMatrixTransformVec3, libs, "graphene_matrix_transform_vec3") | |||
| 824 | + | core.PuregoSafeRegister(&xMatrixTransformVec4, libs, "graphene_matrix_transform_vec4") | |||
| 825 | + | core.PuregoSafeRegister(&xMatrixTranslate, libs, "graphene_matrix_translate") | |||
| 826 | + | core.PuregoSafeRegister(&xMatrixTranspose, libs, "graphene_matrix_transpose") | |||
| 827 | + | core.PuregoSafeRegister(&xMatrixUnprojectPoint3d, libs, "graphene_matrix_unproject_point3d") | |||
| 828 | + | core.PuregoSafeRegister(&xMatrixUntransformBounds, libs, "graphene_matrix_untransform_bounds") | |||
| 829 | + | core.PuregoSafeRegister(&xMatrixUntransformPoint, libs, "graphene_matrix_untransform_point") | |||
| 885 | } | 830 | } | ||