fix(deps): repin puregotk lazy registration fix
- commit
- d685b6e820d6baba0d0dea254169664012ed203d
- author
- brice · · 2026-07-14 18:24 UTC
- parent
- ec6db2e
- signature
- GPG Verified
CD88F9E564E0102646FB6077A1A07C7C7C3E349D· arch-gpg Verified for the committer email
907 files · +27874 -25294
M go.mod +3 -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.0 | |
| 14 | + | github.com/bnema/puregotk v0.7.1-0.20260714181430-679a9ed72959 | |
| 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 | |
| @@ -47,6 +47,7 @@ require ( | |||
| 47 | 47 | github.com/erikgeiser/coninput v0.0.0-20211004153227-1c3628e74d0f // indirect | |
| 48 | 48 | github.com/fatih/color v1.19.0 // indirect | |
| 49 | 49 | github.com/go-viper/mapstructure/v2 v2.5.0 // indirect | |
| 50 | + | github.com/google/go-cmp v0.7.0 // indirect | |
| 50 | 51 | github.com/inconshreveable/mousetrap v1.1.0 // indirect | |
| 51 | 52 | github.com/lucasb-eyer/go-colorful v1.4.0 // indirect | |
| 52 | 53 | github.com/mattn/go-colorable v0.1.14 // indirect | |
| @@ -80,6 +81,7 @@ require ( | |||
| 80 | 81 | golang.org/x/text v0.40.0 // indirect | |
| 81 | 82 | golang.org/x/tools v0.47.0 // indirect | |
| 82 | 83 | gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect | |
| 84 | + | mvdan.cc/gofumpt v0.9.2 // indirect | |
| 83 | 85 | ) | |
| 84 | 86 | ||
| 85 | 87 | tool github.com/a-h/templ/cmd/templ | |
| @@ -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.0 | 14 | + | github.com/bnema/puregotk v0.7.1-0.20260714181430-679a9ed72959 |
| 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 | ||
| @@ -47,6 +47,7 @@ require ( | |||||
| 47 | github.com/erikgeiser/coninput v0.0.0-20211004153227-1c3628e74d0f // indirect | 47 | github.com/erikgeiser/coninput v0.0.0-20211004153227-1c3628e74d0f // indirect | ||
| 48 | github.com/fatih/color v1.19.0 // indirect | 48 | github.com/fatih/color v1.19.0 // indirect | ||
| 49 | github.com/go-viper/mapstructure/v2 v2.5.0 // indirect | 49 | github.com/go-viper/mapstructure/v2 v2.5.0 // indirect | ||
| 50 | + | github.com/google/go-cmp v0.7.0 // indirect | |||
| 50 | github.com/inconshreveable/mousetrap v1.1.0 // indirect | 51 | github.com/inconshreveable/mousetrap v1.1.0 // indirect | ||
| 51 | github.com/lucasb-eyer/go-colorful v1.4.0 // indirect | 52 | github.com/lucasb-eyer/go-colorful v1.4.0 // indirect | ||
| 52 | github.com/mattn/go-colorable v0.1.14 // indirect | 53 | github.com/mattn/go-colorable v0.1.14 // indirect | ||
| @@ -80,6 +81,7 @@ require ( | |||||
| 80 | golang.org/x/text v0.40.0 // indirect | 81 | golang.org/x/text v0.40.0 // indirect | ||
| 81 | golang.org/x/tools v0.47.0 // indirect | 82 | golang.org/x/tools v0.47.0 // indirect | ||
| 82 | gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect | 83 | gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect | ||
| 84 | + | mvdan.cc/gofumpt v0.9.2 // indirect | |||
| 83 | ) | 85 | ) | ||
| 84 | 86 | ||||
| 85 | tool github.com/a-h/templ/cmd/templ | 87 | tool github.com/a-h/templ/cmd/templ | ||
M go.sum +4 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/internal/core/core.go +197 -4 generated file: collapsed
M vendor/github.com/bnema/puregotk/pkg/core/core.go +10 -0 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-about-dialog.go +99 -64 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-about-window.go +95 -62 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-accent-color.go +7 -15 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-action-row.go +33 -29 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-alert-dialog.go +66 -47 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-animation-target.go +10 -27 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-animation-util.go +4 -12 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-animation.go +24 -26 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-application-window.go +14 -22 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-application.go +3 -15 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-avatar.go +22 -25 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-banner.go +23 -26 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-bin.go +5 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-bottom-sheet.go +47 -38 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-breakpoint-bin.go +10 -19 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-breakpoint.go +33 -37 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-button-content.go +18 -22 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-button-row.go +10 -18 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-carousel-indicator-dots.go +5 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-carousel-indicator-lines.go +5 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-carousel.go +47 -37 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-clamp-layout.go +14 -20 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-clamp-scrollable.go +17 -22 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-clamp.go +17 -22 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-combo-row.go +34 -33 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-dialog.go +45 -38 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-easing.go +3 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-entry-row.go +40 -33 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-enum-list-model.go +13 -22 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-expander-row.go +40 -33 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-flap.go +61 -48 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-fold-threshold-policy.go +10 -1 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-header-bar.go +36 -33 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-inline-view-switcher.go +18 -24 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-layout-slot.go +4 -15 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-layout.go +7 -17 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-leaflet.go +69 -56 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-length-unit.go +5 -14 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-main.go +5 -15 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-message-dialog.go +63 -44 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-multi-layout-view.go +17 -23 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-navigation-direction.go +10 -1 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-navigation-split-view.go +36 -32 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-navigation-view.go +60 -49 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-overlay-split-view.go +48 -38 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-password-entry-row.go +2 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-preferences-dialog.go +23 -25 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-preferences-group.go +24 -26 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-preferences-page.go +38 -33 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-preferences-row.go +18 -22 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-preferences-window.go +31 -29 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-shortcut-label.go +10 -18 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-shortcuts-dialog.go +4 -15 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-shortcuts-item.go +23 -25 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-shortcuts-section.go +8 -17 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-sidebar-item.go +45 -37 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-sidebar-section.go +24 -27 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-sidebar.go +41 -39 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-spin-row.go +40 -34 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-spinner-paintable.go +5 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-spinner.go +2 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-split-button.go +39 -34 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-spring-animation.go +34 -30 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-spring-params.go +17 -21 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-squeezer.go +49 -44 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-status-page.go +20 -24 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-style-manager.go +25 -28 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-swipe-tracker.go +33 -30 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-swipeable.go +33 -21 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-switch-row.go +6 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-tab-bar.go +35 -32 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-tab-button.go +5 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-tab-overview.go +45 -37 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-tab-view.go +123 -87 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-timed-animation.go +30 -28 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-toast-overlay.go +9 -18 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-toast.go +41 -36 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-toggle-group.go +64 -51 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-toolbar-view.go +40 -35 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-version.go +7 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-view-stack.go +78 -62 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-view-switcher-bar.go +9 -18 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-view-switcher-sidebar.go +15 -22 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-view-switcher-title.go +19 -23 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-view-switcher.go +10 -20 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-window-title.go +10 -18 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-window.go +14 -22 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-wrap-box.go +66 -46 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-wrap-layout.go +57 -46 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/cairo/main.go +36 -79 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkapplaunchcontext.go +10 -17 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkcairo.go +12 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkcairocontext.go +3 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkcicpparams.go +20 -25 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkclipboard.go +34 -32 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkcolorstate.go +12 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkcontentdeserializer.go +26 -27
| @@ -4,7 +4,6 @@ package gdk | |||
| 4 | 4 | import ( | |
| 5 | 5 | "unsafe" | |
| 6 | 6 | ||
| 7 | - | "github.com/bnema/purego" | |
| 8 | 7 | "github.com/bnema/puregotk/pkg/core" | |
| 9 | 8 | "github.com/bnema/puregotk/v4/gio" | |
| 10 | 9 | "github.com/bnema/puregotk/v4/glib" | |
| @@ -26,6 +25,8 @@ var xContentDeserializeAsync func(uintptr, string, types.GType, int, uintptr, ui | |||
| 26 | 25 | // The default I/O priority is `G_PRIORITY_DEFAULT` (i.e. 0), and lower numbers | |
| 27 | 26 | // indicate a higher priority. | |
| 28 | 27 | func ContentDeserializeAsync(StreamVar *gio.InputStream, MimeTypeVar string, TypeVar types.GType, IoPriorityVar int, CancellableVar *gio.Cancellable, CallbackVar *gio.AsyncReadyCallback, UserDataVar uintptr) { | |
| 28 | + | core.LazyRegister(&xContentDeserializeAsync, "GDK", "gdk_content_deserialize_async", false) | |
| 29 | + | ||
| 29 | 30 | xContentDeserializeAsync(StreamVar.GoPointer(), MimeTypeVar, TypeVar, IoPriorityVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | |
| 30 | 31 | } | |
| 31 | 32 | ||
| @@ -33,6 +34,7 @@ var xContentDeserializeFinish func(uintptr, *gobject.Value, **glib.Error) bool | |||
| 33 | 34 | ||
| 34 | 35 | // Finishes a content deserialization operation. | |
| 35 | 36 | func ContentDeserializeFinish(ResultVar gio.AsyncResult, ValueVar *gobject.Value) (bool, error) { | |
| 37 | + | core.LazyRegister(&xContentDeserializeFinish, "GDK", "gdk_content_deserialize_finish", false) | |
| 36 | 38 | var cerr *glib.Error | |
| 37 | 39 | ||
| 38 | 40 | cret := xContentDeserializeFinish(ResultVar.GoPointer(), ValueVar, &cerr) | |
| @@ -50,6 +52,8 @@ var xContentRegisterDeserializer func(string, types.GType, uintptr, uintptr, uin | |||
| 50 | 52 | // use the last registered deserializer for a given mime type, | |
| 51 | 53 | // so applications can override the built-in deserializers. | |
| 52 | 54 | func ContentRegisterDeserializer(MimeTypeVar string, TypeVar types.GType, DeserializeVar *ContentDeserializeFunc, DataVar uintptr, NotifyVar *glib.DestroyNotify) { | |
| 55 | + | core.LazyRegister(&xContentRegisterDeserializer, "GDK", "gdk_content_register_deserializer", false) | |
| 56 | + | ||
| 53 | 57 | xContentRegisterDeserializer(MimeTypeVar, TypeVar, glib.NewCallback(DeserializeVar), DataVar, glib.NewCallbackNullable(NotifyVar)) | |
| 54 | 58 | } | |
| 55 | 59 | ||
| @@ -70,6 +74,7 @@ type ContentDeserializer struct { | |||
| 70 | 74 | var xContentDeserializerGLibType func() types.GType | |
| 71 | 75 | ||
| 72 | 76 | func ContentDeserializerGLibType() types.GType { | |
| 77 | + | core.LazyRegister(&xContentDeserializerGLibType, "GDK", "gdk_content_deserializer_get_type", false) | |
| 73 | 78 | return xContentDeserializerGLibType() | |
| 74 | 79 | } | |
| 75 | 80 | ||
| @@ -85,6 +90,7 @@ var xContentDeserializerGetCancellable func(uintptr) uintptr | |||
| 85 | 90 | // | |
| 86 | 91 | // This is the `GCancellable` that was passed to [func@Gdk.content_deserialize_async]. | |
| 87 | 92 | func (x *ContentDeserializer) GetCancellable() *gio.Cancellable { | |
| 93 | + | core.LazyRegister(&xContentDeserializerGetCancellable, "GDK", "gdk_content_deserializer_get_cancellable", false) | |
| 88 | 94 | var cls *gio.Cancellable | |
| 89 | 95 | ||
| 90 | 96 | cret := xContentDeserializerGetCancellable(x.GoPointer()) | |
| @@ -102,6 +108,8 @@ var xContentDeserializerGetGtype func(uintptr) types.GType | |||
| 102 | 108 | ||
| 103 | 109 | // Gets the `GType` to create an instance of. | |
| 104 | 110 | func (x *ContentDeserializer) GetGtype() types.GType { | |
| 111 | + | core.LazyRegister(&xContentDeserializerGetGtype, "GDK", "gdk_content_deserializer_get_gtype", false) | |
| 112 | + | ||
| 105 | 113 | cret := xContentDeserializerGetGtype(x.GoPointer()) | |
| 106 | 114 | return cret | |
| 107 | 115 | } | |
| @@ -112,6 +120,7 @@ var xContentDeserializerGetInputStream func(uintptr) uintptr | |||
| 112 | 120 | // | |
| 113 | 121 | // This is the stream that was passed to [func@Gdk.content_deserialize_async]. | |
| 114 | 122 | func (x *ContentDeserializer) GetInputStream() *gio.InputStream { | |
| 123 | + | core.LazyRegister(&xContentDeserializerGetInputStream, "GDK", "gdk_content_deserializer_get_input_stream", false) | |
| 115 | 124 | var cls *gio.InputStream | |
| 116 | 125 | ||
| 117 | 126 | cret := xContentDeserializerGetInputStream(x.GoPointer()) | |
| @@ -129,6 +138,8 @@ var xContentDeserializerGetMimeType func(uintptr) string | |||
| 129 | 138 | ||
| 130 | 139 | // Gets the mime type to deserialize from. | |
| 131 | 140 | func (x *ContentDeserializer) GetMimeType() string { | |
| 141 | + | core.LazyRegister(&xContentDeserializerGetMimeType, "GDK", "gdk_content_deserializer_get_mime_type", false) | |
| 142 | + | ||
| 132 | 143 | cret := xContentDeserializerGetMimeType(x.GoPointer()) | |
| 133 | 144 | return cret | |
| 134 | 145 | } | |
| @@ -139,6 +150,8 @@ var xContentDeserializerGetPriority func(uintptr) int | |||
| 139 | 150 | // | |
| 140 | 151 | // This is the priority that was passed to [func@Gdk.content_deserialize_async]. | |
| 141 | 152 | func (x *ContentDeserializer) GetPriority() int { | |
| 153 | + | core.LazyRegister(&xContentDeserializerGetPriority, "GDK", "gdk_content_deserializer_get_priority", false) | |
| 154 | + | ||
| 142 | 155 | cret := xContentDeserializerGetPriority(x.GoPointer()) | |
| 143 | 156 | return cret | |
| 144 | 157 | } | |
| @@ -149,6 +162,8 @@ var xContentDeserializerGetTaskData func(uintptr) uintptr | |||
| 149 | 162 | // | |
| 150 | 163 | // See [method@Gdk.ContentDeserializer.set_task_data]. | |
| 151 | 164 | func (x *ContentDeserializer) GetTaskData() uintptr { | |
| 165 | + | core.LazyRegister(&xContentDeserializerGetTaskData, "GDK", "gdk_content_deserializer_get_task_data", false) | |
| 166 | + | ||
| 152 | 167 | cret := xContentDeserializerGetTaskData(x.GoPointer()) | |
| 153 | 168 | return cret | |
| 154 | 169 | } | |
| @@ -157,6 +172,8 @@ var xContentDeserializerGetUserData func(uintptr) uintptr | |||
| 157 | 172 | ||
| 158 | 173 | // Gets the user data that was passed when the deserializer was registered. | |
| 159 | 174 | func (x *ContentDeserializer) GetUserData() uintptr { | |
| 175 | + | core.LazyRegister(&xContentDeserializerGetUserData, "GDK", "gdk_content_deserializer_get_user_data", false) | |
| 176 | + | ||
| 160 | 177 | cret := xContentDeserializerGetUserData(x.GoPointer()) | |
| 161 | 178 | return cret | |
| 162 | 179 | } | |
| @@ -165,6 +182,8 @@ var xContentDeserializerGetValue func(uintptr) uintptr | |||
| 165 | 182 | ||
| 166 | 183 | // Gets the `GValue` to store the deserialized object in. | |
| 167 | 184 | func (x *ContentDeserializer) GetValue() *gobject.Value { | |
| 185 | + | core.LazyRegister(&xContentDeserializerGetValue, "GDK", "gdk_content_deserializer_get_value", false) | |
| 186 | + | ||
| 168 | 187 | cret := xContentDeserializerGetValue(x.GoPointer()) | |
| 169 | 188 | if cret == 0 { | |
| 170 | 189 | return nil | |
| @@ -178,6 +197,8 @@ var xContentDeserializerReturnError func(uintptr, *glib.Error) | |||
| 178 | 197 | // | |
| 179 | 198 | // This function consumes @error. | |
| 180 | 199 | func (x *ContentDeserializer) ReturnError(ErrorVar *glib.Error) { | |
| 200 | + | core.LazyRegister(&xContentDeserializerReturnError, "GDK", "gdk_content_deserializer_return_error", false) | |
| 201 | + | ||
| 181 | 202 | xContentDeserializerReturnError(x.GoPointer(), ErrorVar) | |
| 182 | 203 | } | |
| 183 | 204 | ||
| @@ -185,6 +206,8 @@ var xContentDeserializerReturnSuccess func(uintptr) | |||
| 185 | 206 | ||
| 186 | 207 | // Indicate that the deserialization has been successfully completed. | |
| 187 | 208 | func (x *ContentDeserializer) ReturnSuccess() { | |
| 209 | + | core.LazyRegister(&xContentDeserializerReturnSuccess, "GDK", "gdk_content_deserializer_return_success", false) | |
| 210 | + | ||
| 188 | 211 | xContentDeserializerReturnSuccess(x.GoPointer()) | |
| 189 | 212 | } | |
| 190 | 213 | ||
| @@ -192,6 +215,8 @@ var xContentDeserializerSetTaskData func(uintptr, uintptr, uintptr) | |||
| 192 | 215 | ||
| 193 | 216 | // Associate data with the current deserialization operation. | |
| 194 | 217 | func (x *ContentDeserializer) SetTaskData(DataVar uintptr, NotifyVar *glib.DestroyNotify) { | |
| 218 | + | core.LazyRegister(&xContentDeserializerSetTaskData, "GDK", "gdk_content_deserializer_set_task_data", false) | |
| 219 | + | ||
| 195 | 220 | xContentDeserializerSetTaskData(x.GoPointer(), DataVar, glib.NewCallbackNullable(NotifyVar)) | |
| 196 | 221 | } | |
| 197 | 222 | ||
| @@ -250,30 +275,4 @@ func (x *ContentDeserializer) LegacyPropagateError() (bool, error) { | |||
| 250 | 275 | func init() { | |
| 251 | 276 | core.SetPackageName("GDK", "gtk4") | |
| 252 | 277 | core.SetSharedLibraries("GDK", []string{"libgtk-4.so.1", "libgtk-4.1.dylib"}) | |
| 253 | - | var libs []uintptr | |
| 254 | - | for _, libPath := range core.GetPaths("GDK") { | |
| 255 | - | lib, err := purego.Dlopen(libPath, purego.RTLD_NOW|purego.RTLD_GLOBAL) | |
| 256 | - | if err != nil { | |
| 257 | - | panic(err) | |
| 258 | - | } | |
| 259 | - | libs = append(libs, lib) | |
| 260 | - | } | |
| 261 | - | ||
| 262 | - | core.PuregoSafeRegister(&xContentDeserializeAsync, libs, "gdk_content_deserialize_async") | |
| 263 | - | core.PuregoSafeRegister(&xContentDeserializeFinish, libs, "gdk_content_deserialize_finish") | |
| 264 | - | core.PuregoSafeRegister(&xContentRegisterDeserializer, libs, "gdk_content_register_deserializer") | |
| 265 | - | ||
| 266 | - | core.PuregoSafeRegister(&xContentDeserializerGLibType, libs, "gdk_content_deserializer_get_type") | |
| 267 | - | ||
| 268 | - | core.PuregoSafeRegister(&xContentDeserializerGetCancellable, libs, "gdk_content_deserializer_get_cancellable") | |
| 269 | - | core.PuregoSafeRegister(&xContentDeserializerGetGtype, libs, "gdk_content_deserializer_get_gtype") | |
| 270 | - | core.PuregoSafeRegister(&xContentDeserializerGetInputStream, libs, "gdk_content_deserializer_get_input_stream") | |
| 271 | - | core.PuregoSafeRegister(&xContentDeserializerGetMimeType, libs, "gdk_content_deserializer_get_mime_type") | |
| 272 | - | core.PuregoSafeRegister(&xContentDeserializerGetPriority, libs, "gdk_content_deserializer_get_priority") | |
| 273 | - | core.PuregoSafeRegister(&xContentDeserializerGetTaskData, libs, "gdk_content_deserializer_get_task_data") | |
| 274 | - | core.PuregoSafeRegister(&xContentDeserializerGetUserData, libs, "gdk_content_deserializer_get_user_data") | |
| 275 | - | core.PuregoSafeRegister(&xContentDeserializerGetValue, libs, "gdk_content_deserializer_get_value") | |
| 276 | - | core.PuregoSafeRegister(&xContentDeserializerReturnError, libs, "gdk_content_deserializer_return_error") | |
| 277 | - | core.PuregoSafeRegister(&xContentDeserializerReturnSuccess, libs, "gdk_content_deserializer_return_success") | |
| 278 | - | core.PuregoSafeRegister(&xContentDeserializerSetTaskData, libs, "gdk_content_deserializer_set_task_data") | |
| 279 | 278 | } | |
| @@ -4,7 +4,6 @@ package gdk | |||||
| 4 | import ( | 4 | import ( | ||
| 5 | "unsafe" | 5 | "unsafe" | ||
| 6 | 6 | ||||
| 7 | - | "github.com/bnema/purego" | |||
| 8 | "github.com/bnema/puregotk/pkg/core" | 7 | "github.com/bnema/puregotk/pkg/core" | ||
| 9 | "github.com/bnema/puregotk/v4/gio" | 8 | "github.com/bnema/puregotk/v4/gio" | ||
| 10 | "github.com/bnema/puregotk/v4/glib" | 9 | "github.com/bnema/puregotk/v4/glib" | ||
| @@ -26,6 +25,8 @@ var xContentDeserializeAsync func(uintptr, string, types.GType, int, uintptr, ui | |||||
| 26 | // The default I/O priority is `G_PRIORITY_DEFAULT` (i.e. 0), and lower numbers | 25 | // The default I/O priority is `G_PRIORITY_DEFAULT` (i.e. 0), and lower numbers | ||
| 27 | // indicate a higher priority. | 26 | // indicate a higher priority. | ||
| 28 | func ContentDeserializeAsync(StreamVar *gio.InputStream, MimeTypeVar string, TypeVar types.GType, IoPriorityVar int, CancellableVar *gio.Cancellable, CallbackVar *gio.AsyncReadyCallback, UserDataVar uintptr) { | 27 | func ContentDeserializeAsync(StreamVar *gio.InputStream, MimeTypeVar string, TypeVar types.GType, IoPriorityVar int, CancellableVar *gio.Cancellable, CallbackVar *gio.AsyncReadyCallback, UserDataVar uintptr) { | ||
| 28 | + | core.LazyRegister(&xContentDeserializeAsync, "GDK", "gdk_content_deserialize_async", false) | |||
| 29 | + | ||||
| 29 | xContentDeserializeAsync(StreamVar.GoPointer(), MimeTypeVar, TypeVar, IoPriorityVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | 30 | xContentDeserializeAsync(StreamVar.GoPointer(), MimeTypeVar, TypeVar, IoPriorityVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | ||
| 30 | } | 31 | } | ||
| 31 | 32 | ||||
| @@ -33,6 +34,7 @@ var xContentDeserializeFinish func(uintptr, *gobject.Value, **glib.Error) bool | |||||
| 33 | 34 | ||||
| 34 | // Finishes a content deserialization operation. | 35 | // Finishes a content deserialization operation. | ||
| 35 | func ContentDeserializeFinish(ResultVar gio.AsyncResult, ValueVar *gobject.Value) (bool, error) { | 36 | func ContentDeserializeFinish(ResultVar gio.AsyncResult, ValueVar *gobject.Value) (bool, error) { | ||
| 37 | + | core.LazyRegister(&xContentDeserializeFinish, "GDK", "gdk_content_deserialize_finish", false) | |||
| 36 | var cerr *glib.Error | 38 | var cerr *glib.Error | ||
| 37 | 39 | ||||
| 38 | cret := xContentDeserializeFinish(ResultVar.GoPointer(), ValueVar, &cerr) | 40 | cret := xContentDeserializeFinish(ResultVar.GoPointer(), ValueVar, &cerr) | ||
| @@ -50,6 +52,8 @@ var xContentRegisterDeserializer func(string, types.GType, uintptr, uintptr, uin | |||||
| 50 | // use the last registered deserializer for a given mime type, | 52 | // use the last registered deserializer for a given mime type, | ||
| 51 | // so applications can override the built-in deserializers. | 53 | // so applications can override the built-in deserializers. | ||
| 52 | func ContentRegisterDeserializer(MimeTypeVar string, TypeVar types.GType, DeserializeVar *ContentDeserializeFunc, DataVar uintptr, NotifyVar *glib.DestroyNotify) { | 54 | func ContentRegisterDeserializer(MimeTypeVar string, TypeVar types.GType, DeserializeVar *ContentDeserializeFunc, DataVar uintptr, NotifyVar *glib.DestroyNotify) { | ||
| 55 | + | core.LazyRegister(&xContentRegisterDeserializer, "GDK", "gdk_content_register_deserializer", false) | |||
| 56 | + | ||||
| 53 | xContentRegisterDeserializer(MimeTypeVar, TypeVar, glib.NewCallback(DeserializeVar), DataVar, glib.NewCallbackNullable(NotifyVar)) | 57 | xContentRegisterDeserializer(MimeTypeVar, TypeVar, glib.NewCallback(DeserializeVar), DataVar, glib.NewCallbackNullable(NotifyVar)) | ||
| 54 | } | 58 | } | ||
| 55 | 59 | ||||
| @@ -70,6 +74,7 @@ type ContentDeserializer struct { | |||||
| 70 | var xContentDeserializerGLibType func() types.GType | 74 | var xContentDeserializerGLibType func() types.GType | ||
| 71 | 75 | ||||
| 72 | func ContentDeserializerGLibType() types.GType { | 76 | func ContentDeserializerGLibType() types.GType { | ||
| 77 | + | core.LazyRegister(&xContentDeserializerGLibType, "GDK", "gdk_content_deserializer_get_type", false) | |||
| 73 | return xContentDeserializerGLibType() | 78 | return xContentDeserializerGLibType() | ||
| 74 | } | 79 | } | ||
| 75 | 80 | ||||
| @@ -85,6 +90,7 @@ var xContentDeserializerGetCancellable func(uintptr) uintptr | |||||
| 85 | // | 90 | // | ||
| 86 | // This is the `GCancellable` that was passed to [func@Gdk.content_deserialize_async]. | 91 | // This is the `GCancellable` that was passed to [func@Gdk.content_deserialize_async]. | ||
| 87 | func (x *ContentDeserializer) GetCancellable() *gio.Cancellable { | 92 | func (x *ContentDeserializer) GetCancellable() *gio.Cancellable { | ||
| 93 | + | core.LazyRegister(&xContentDeserializerGetCancellable, "GDK", "gdk_content_deserializer_get_cancellable", false) | |||
| 88 | var cls *gio.Cancellable | 94 | var cls *gio.Cancellable | ||
| 89 | 95 | ||||
| 90 | cret := xContentDeserializerGetCancellable(x.GoPointer()) | 96 | cret := xContentDeserializerGetCancellable(x.GoPointer()) | ||
| @@ -102,6 +108,8 @@ var xContentDeserializerGetGtype func(uintptr) types.GType | |||||
| 102 | 108 | ||||
| 103 | // Gets the `GType` to create an instance of. | 109 | // Gets the `GType` to create an instance of. | ||
| 104 | func (x *ContentDeserializer) GetGtype() types.GType { | 110 | func (x *ContentDeserializer) GetGtype() types.GType { | ||
| 111 | + | core.LazyRegister(&xContentDeserializerGetGtype, "GDK", "gdk_content_deserializer_get_gtype", false) | |||
| 112 | + | ||||
| 105 | cret := xContentDeserializerGetGtype(x.GoPointer()) | 113 | cret := xContentDeserializerGetGtype(x.GoPointer()) | ||
| 106 | return cret | 114 | return cret | ||
| 107 | } | 115 | } | ||
| @@ -112,6 +120,7 @@ var xContentDeserializerGetInputStream func(uintptr) uintptr | |||||
| 112 | // | 120 | // | ||
| 113 | // This is the stream that was passed to [func@Gdk.content_deserialize_async]. | 121 | // This is the stream that was passed to [func@Gdk.content_deserialize_async]. | ||
| 114 | func (x *ContentDeserializer) GetInputStream() *gio.InputStream { | 122 | func (x *ContentDeserializer) GetInputStream() *gio.InputStream { | ||
| 123 | + | core.LazyRegister(&xContentDeserializerGetInputStream, "GDK", "gdk_content_deserializer_get_input_stream", false) | |||
| 115 | var cls *gio.InputStream | 124 | var cls *gio.InputStream | ||
| 116 | 125 | ||||
| 117 | cret := xContentDeserializerGetInputStream(x.GoPointer()) | 126 | cret := xContentDeserializerGetInputStream(x.GoPointer()) | ||
| @@ -129,6 +138,8 @@ var xContentDeserializerGetMimeType func(uintptr) string | |||||
| 129 | 138 | ||||
| 130 | // Gets the mime type to deserialize from. | 139 | // Gets the mime type to deserialize from. | ||
| 131 | func (x *ContentDeserializer) GetMimeType() string { | 140 | func (x *ContentDeserializer) GetMimeType() string { | ||
| 141 | + | core.LazyRegister(&xContentDeserializerGetMimeType, "GDK", "gdk_content_deserializer_get_mime_type", false) | |||
| 142 | + | ||||
| 132 | cret := xContentDeserializerGetMimeType(x.GoPointer()) | 143 | cret := xContentDeserializerGetMimeType(x.GoPointer()) | ||
| 133 | return cret | 144 | return cret | ||
| 134 | } | 145 | } | ||
| @@ -139,6 +150,8 @@ var xContentDeserializerGetPriority func(uintptr) int | |||||
| 139 | // | 150 | // | ||
| 140 | // This is the priority that was passed to [func@Gdk.content_deserialize_async]. | 151 | // This is the priority that was passed to [func@Gdk.content_deserialize_async]. | ||
| 141 | func (x *ContentDeserializer) GetPriority() int { | 152 | func (x *ContentDeserializer) GetPriority() int { | ||
| 153 | + | core.LazyRegister(&xContentDeserializerGetPriority, "GDK", "gdk_content_deserializer_get_priority", false) | |||
| 154 | + | ||||
| 142 | cret := xContentDeserializerGetPriority(x.GoPointer()) | 155 | cret := xContentDeserializerGetPriority(x.GoPointer()) | ||
| 143 | return cret | 156 | return cret | ||
| 144 | } | 157 | } | ||
| @@ -149,6 +162,8 @@ var xContentDeserializerGetTaskData func(uintptr) uintptr | |||||
| 149 | // | 162 | // | ||
| 150 | // See [method@Gdk.ContentDeserializer.set_task_data]. | 163 | // See [method@Gdk.ContentDeserializer.set_task_data]. | ||
| 151 | func (x *ContentDeserializer) GetTaskData() uintptr { | 164 | func (x *ContentDeserializer) GetTaskData() uintptr { | ||
| 165 | + | core.LazyRegister(&xContentDeserializerGetTaskData, "GDK", "gdk_content_deserializer_get_task_data", false) | |||
| 166 | + | ||||
| 152 | cret := xContentDeserializerGetTaskData(x.GoPointer()) | 167 | cret := xContentDeserializerGetTaskData(x.GoPointer()) | ||
| 153 | return cret | 168 | return cret | ||
| 154 | } | 169 | } | ||
| @@ -157,6 +172,8 @@ var xContentDeserializerGetUserData func(uintptr) uintptr | |||||
| 157 | 172 | ||||
| 158 | // Gets the user data that was passed when the deserializer was registered. | 173 | // Gets the user data that was passed when the deserializer was registered. | ||
| 159 | func (x *ContentDeserializer) GetUserData() uintptr { | 174 | func (x *ContentDeserializer) GetUserData() uintptr { | ||
| 175 | + | core.LazyRegister(&xContentDeserializerGetUserData, "GDK", "gdk_content_deserializer_get_user_data", false) | |||
| 176 | + | ||||
| 160 | cret := xContentDeserializerGetUserData(x.GoPointer()) | 177 | cret := xContentDeserializerGetUserData(x.GoPointer()) | ||
| 161 | return cret | 178 | return cret | ||
| 162 | } | 179 | } | ||
| @@ -165,6 +182,8 @@ var xContentDeserializerGetValue func(uintptr) uintptr | |||||
| 165 | 182 | ||||
| 166 | // Gets the `GValue` to store the deserialized object in. | 183 | // Gets the `GValue` to store the deserialized object in. | ||
| 167 | func (x *ContentDeserializer) GetValue() *gobject.Value { | 184 | func (x *ContentDeserializer) GetValue() *gobject.Value { | ||
| 185 | + | core.LazyRegister(&xContentDeserializerGetValue, "GDK", "gdk_content_deserializer_get_value", false) | |||
| 186 | + | ||||
| 168 | cret := xContentDeserializerGetValue(x.GoPointer()) | 187 | cret := xContentDeserializerGetValue(x.GoPointer()) | ||
| 169 | if cret == 0 { | 188 | if cret == 0 { | ||
| 170 | return nil | 189 | return nil | ||
| @@ -178,6 +197,8 @@ var xContentDeserializerReturnError func(uintptr, *glib.Error) | |||||
| 178 | // | 197 | // | ||
| 179 | // This function consumes @error. | 198 | // This function consumes @error. | ||
| 180 | func (x *ContentDeserializer) ReturnError(ErrorVar *glib.Error) { | 199 | func (x *ContentDeserializer) ReturnError(ErrorVar *glib.Error) { | ||
| 200 | + | core.LazyRegister(&xContentDeserializerReturnError, "GDK", "gdk_content_deserializer_return_error", false) | |||
| 201 | + | ||||
| 181 | xContentDeserializerReturnError(x.GoPointer(), ErrorVar) | 202 | xContentDeserializerReturnError(x.GoPointer(), ErrorVar) | ||
| 182 | } | 203 | } | ||
| 183 | 204 | ||||
| @@ -185,6 +206,8 @@ var xContentDeserializerReturnSuccess func(uintptr) | |||||
| 185 | 206 | ||||
| 186 | // Indicate that the deserialization has been successfully completed. | 207 | // Indicate that the deserialization has been successfully completed. | ||
| 187 | func (x *ContentDeserializer) ReturnSuccess() { | 208 | func (x *ContentDeserializer) ReturnSuccess() { | ||
| 209 | + | core.LazyRegister(&xContentDeserializerReturnSuccess, "GDK", "gdk_content_deserializer_return_success", false) | |||
| 210 | + | ||||
| 188 | xContentDeserializerReturnSuccess(x.GoPointer()) | 211 | xContentDeserializerReturnSuccess(x.GoPointer()) | ||
| 189 | } | 212 | } | ||
| 190 | 213 | ||||
| @@ -192,6 +215,8 @@ var xContentDeserializerSetTaskData func(uintptr, uintptr, uintptr) | |||||
| 192 | 215 | ||||
| 193 | // Associate data with the current deserialization operation. | 216 | // Associate data with the current deserialization operation. | ||
| 194 | func (x *ContentDeserializer) SetTaskData(DataVar uintptr, NotifyVar *glib.DestroyNotify) { | 217 | func (x *ContentDeserializer) SetTaskData(DataVar uintptr, NotifyVar *glib.DestroyNotify) { | ||
| 218 | + | core.LazyRegister(&xContentDeserializerSetTaskData, "GDK", "gdk_content_deserializer_set_task_data", false) | |||
| 219 | + | ||||
| 195 | xContentDeserializerSetTaskData(x.GoPointer(), DataVar, glib.NewCallbackNullable(NotifyVar)) | 220 | xContentDeserializerSetTaskData(x.GoPointer(), DataVar, glib.NewCallbackNullable(NotifyVar)) | ||
| 196 | } | 221 | } | ||
| 197 | 222 | ||||
| @@ -250,30 +275,4 @@ func (x *ContentDeserializer) LegacyPropagateError() (bool, error) { | |||||
| 250 | func init() { | 275 | func init() { | ||
| 251 | core.SetPackageName("GDK", "gtk4") | 276 | core.SetPackageName("GDK", "gtk4") | ||
| 252 | core.SetSharedLibraries("GDK", []string{"libgtk-4.so.1", "libgtk-4.1.dylib"}) | 277 | core.SetSharedLibraries("GDK", []string{"libgtk-4.so.1", "libgtk-4.1.dylib"}) | ||
| 253 | - | var libs []uintptr | |||
| 254 | - | for _, libPath := range core.GetPaths("GDK") { | |||
| 255 | - | lib, err := purego.Dlopen(libPath, purego.RTLD_NOW|purego.RTLD_GLOBAL) | |||
| 256 | - | if err != nil { | |||
| 257 | - | panic(err) | |||
| 258 | - | } | |||
| 259 | - | libs = append(libs, lib) | |||
| 260 | - | } | |||
| 261 | - | ||||
| 262 | - | core.PuregoSafeRegister(&xContentDeserializeAsync, libs, "gdk_content_deserialize_async") | |||
| 263 | - | core.PuregoSafeRegister(&xContentDeserializeFinish, libs, "gdk_content_deserialize_finish") | |||
| 264 | - | core.PuregoSafeRegister(&xContentRegisterDeserializer, libs, "gdk_content_register_deserializer") | |||
| 265 | - | ||||
| 266 | - | core.PuregoSafeRegister(&xContentDeserializerGLibType, libs, "gdk_content_deserializer_get_type") | |||
| 267 | - | ||||
| 268 | - | core.PuregoSafeRegister(&xContentDeserializerGetCancellable, libs, "gdk_content_deserializer_get_cancellable") | |||
| 269 | - | core.PuregoSafeRegister(&xContentDeserializerGetGtype, libs, "gdk_content_deserializer_get_gtype") | |||
| 270 | - | core.PuregoSafeRegister(&xContentDeserializerGetInputStream, libs, "gdk_content_deserializer_get_input_stream") | |||
| 271 | - | core.PuregoSafeRegister(&xContentDeserializerGetMimeType, libs, "gdk_content_deserializer_get_mime_type") | |||
| 272 | - | core.PuregoSafeRegister(&xContentDeserializerGetPriority, libs, "gdk_content_deserializer_get_priority") | |||
| 273 | - | core.PuregoSafeRegister(&xContentDeserializerGetTaskData, libs, "gdk_content_deserializer_get_task_data") | |||
| 274 | - | core.PuregoSafeRegister(&xContentDeserializerGetUserData, libs, "gdk_content_deserializer_get_user_data") | |||
| 275 | - | core.PuregoSafeRegister(&xContentDeserializerGetValue, libs, "gdk_content_deserializer_get_value") | |||
| 276 | - | core.PuregoSafeRegister(&xContentDeserializerReturnError, libs, "gdk_content_deserializer_return_error") | |||
| 277 | - | core.PuregoSafeRegister(&xContentDeserializerReturnSuccess, libs, "gdk_content_deserializer_return_success") | |||
| 278 | - | core.PuregoSafeRegister(&xContentDeserializerSetTaskData, libs, "gdk_content_deserializer_set_task_data") | |||
| 279 | } | 278 | } | ||