Gen: Re-run script
- commit
- 00b264465c29368b2252fe181396ea64d9d56471
- author
- Jeroen Wijenbergh · · 2025-08-12 09:00 UTC
- parent
- b09dca9
- signature
- SSH Unverified
SHA256:8N5EoON8reSTMm461SyWlzRhib6IymBjUHb1p62kwywThe key is unknown
492 files · +1875 -0
M v4/adw/adw-about-dialog.go +3 -0
| @@ -952,6 +952,9 @@ func (x *AboutDialog) SetWebsite(WebsiteVar string) { | |||
| 952 | 952 | } | |
| 953 | 953 | ||
| 954 | 954 | func (c *AboutDialog) GoPointer() uintptr { | |
| 955 | + | if c == nil { | |
| 956 | + | return 0 | |
| 957 | + | } | |
| 955 | 958 | return c.Ptr | |
| 956 | 959 | } | |
| 957 | 960 | ||
| @@ -952,6 +952,9 @@ func (x *AboutDialog) SetWebsite(WebsiteVar string) { | |||||
| 952 | } | 952 | } | ||
| 953 | 953 | ||||
| 954 | func (c *AboutDialog) GoPointer() uintptr { | 954 | func (c *AboutDialog) GoPointer() uintptr { | ||
| 955 | + | if c == nil { | |||
| 956 | + | return 0 | |||
| 957 | + | } | |||
| 955 | return c.Ptr | 958 | return c.Ptr | ||
| 956 | } | 959 | } | ||
| 957 | 960 | ||||
M v4/adw/adw-about-window.go +3 -0
| @@ -954,6 +954,9 @@ func (x *AboutWindow) SetWebsite(WebsiteVar string) { | |||
| 954 | 954 | } | |
| 955 | 955 | ||
| 956 | 956 | func (c *AboutWindow) GoPointer() uintptr { | |
| 957 | + | if c == nil { | |
| 958 | + | return 0 | |
| 959 | + | } | |
| 957 | 960 | return c.Ptr | |
| 958 | 961 | } | |
| 959 | 962 | ||
| @@ -954,6 +954,9 @@ func (x *AboutWindow) SetWebsite(WebsiteVar string) { | |||||
| 954 | } | 954 | } | ||
| 955 | 955 | ||||
| 956 | func (c *AboutWindow) GoPointer() uintptr { | 956 | func (c *AboutWindow) GoPointer() uintptr { | ||
| 957 | + | if c == nil { | |||
| 958 | + | return 0 | |||
| 959 | + | } | |||
| 957 | return c.Ptr | 960 | return c.Ptr | ||
| 958 | } | 961 | } | ||
| 959 | 962 | ||||
M v4/adw/adw-action-row.go +3 -0
| @@ -283,6 +283,9 @@ func (x *ActionRow) SetTitleLines(TitleLinesVar int) { | |||
| 283 | 283 | } | |
| 284 | 284 | ||
| 285 | 285 | func (c *ActionRow) GoPointer() uintptr { | |
| 286 | + | if c == nil { | |
| 287 | + | return 0 | |
| 288 | + | } | |
| 286 | 289 | return c.Ptr | |
| 287 | 290 | } | |
| 288 | 291 | ||
| @@ -283,6 +283,9 @@ func (x *ActionRow) SetTitleLines(TitleLinesVar int) { | |||||
| 283 | } | 283 | } | ||
| 284 | 284 | ||||
| 285 | func (c *ActionRow) GoPointer() uintptr { | 285 | func (c *ActionRow) GoPointer() uintptr { | ||
| 286 | + | if c == nil { | |||
| 287 | + | return 0 | |||
| 288 | + | } | |||
| 286 | return c.Ptr | 289 | return c.Ptr | ||
| 287 | } | 290 | } | ||
| 288 | 291 | ||||
M v4/adw/adw-alert-dialog.go +3 -0
| @@ -647,6 +647,9 @@ func (x *AlertDialog) SetResponseLabel(ResponseVar string, LabelVar string) { | |||
| 647 | 647 | } | |
| 648 | 648 | ||
| 649 | 649 | func (c *AlertDialog) GoPointer() uintptr { | |
| 650 | + | if c == nil { | |
| 651 | + | return 0 | |
| 652 | + | } | |
| 650 | 653 | return c.Ptr | |
| 651 | 654 | } | |
| 652 | 655 | ||
| @@ -647,6 +647,9 @@ func (x *AlertDialog) SetResponseLabel(ResponseVar string, LabelVar string) { | |||||
| 647 | } | 647 | } | ||
| 648 | 648 | ||||
| 649 | func (c *AlertDialog) GoPointer() uintptr { | 649 | func (c *AlertDialog) GoPointer() uintptr { | ||
| 650 | + | if c == nil { | |||
| 651 | + | return 0 | |||
| 652 | + | } | |||
| 650 | return c.Ptr | 653 | return c.Ptr | ||
| 651 | } | 654 | } | ||
| 652 | 655 | ||||
M v4/adw/adw-animation-target.go +9 -0
| @@ -57,6 +57,9 @@ func AnimationTargetNewFromInternalPtr(ptr uintptr) *AnimationTarget { | |||
| 57 | 57 | } | |
| 58 | 58 | ||
| 59 | 59 | func (c *AnimationTarget) GoPointer() uintptr { | |
| 60 | + | if c == nil { | |
| 61 | + | return 0 | |
| 62 | + | } | |
| 60 | 63 | return c.Ptr | |
| 61 | 64 | } | |
| 62 | 65 | ||
| @@ -100,6 +103,9 @@ func NewCallbackAnimationTarget(CallbackVar *AnimationTargetFunc, UserDataVar ui | |||
| 100 | 103 | } | |
| 101 | 104 | ||
| 102 | 105 | func (c *CallbackAnimationTarget) GoPointer() uintptr { | |
| 106 | + | if c == nil { | |
| 107 | + | return 0 | |
| 108 | + | } | |
| 103 | 109 | return c.Ptr | |
| 104 | 110 | } | |
| 105 | 111 | ||
| @@ -198,6 +204,9 @@ func (x *PropertyAnimationTarget) GetPspec() *gobject.ParamSpec { | |||
| 198 | 204 | } | |
| 199 | 205 | ||
| 200 | 206 | func (c *PropertyAnimationTarget) GoPointer() uintptr { | |
| 207 | + | if c == nil { | |
| 208 | + | return 0 | |
| 209 | + | } | |
| 201 | 210 | return c.Ptr | |
| 202 | 211 | } | |
| 203 | 212 | ||
| @@ -57,6 +57,9 @@ func AnimationTargetNewFromInternalPtr(ptr uintptr) *AnimationTarget { | |||||
| 57 | } | 57 | } | ||
| 58 | 58 | ||||
| 59 | func (c *AnimationTarget) GoPointer() uintptr { | 59 | func (c *AnimationTarget) GoPointer() uintptr { | ||
| 60 | + | if c == nil { | |||
| 61 | + | return 0 | |||
| 62 | + | } | |||
| 60 | return c.Ptr | 63 | return c.Ptr | ||
| 61 | } | 64 | } | ||
| 62 | 65 | ||||
| @@ -100,6 +103,9 @@ func NewCallbackAnimationTarget(CallbackVar *AnimationTargetFunc, UserDataVar ui | |||||
| 100 | } | 103 | } | ||
| 101 | 104 | ||||
| 102 | func (c *CallbackAnimationTarget) GoPointer() uintptr { | 105 | func (c *CallbackAnimationTarget) GoPointer() uintptr { | ||
| 106 | + | if c == nil { | |||
| 107 | + | return 0 | |||
| 108 | + | } | |||
| 103 | return c.Ptr | 109 | return c.Ptr | ||
| 104 | } | 110 | } | ||
| 105 | 111 | ||||
| @@ -198,6 +204,9 @@ func (x *PropertyAnimationTarget) GetPspec() *gobject.ParamSpec { | |||||
| 198 | } | 204 | } | ||
| 199 | 205 | ||||
| 200 | func (c *PropertyAnimationTarget) GoPointer() uintptr { | 206 | func (c *PropertyAnimationTarget) GoPointer() uintptr { | ||
| 207 | + | if c == nil { | |||
| 208 | + | return 0 | |||
| 209 | + | } | |||
| 201 | return c.Ptr | 210 | return c.Ptr | ||
| 202 | } | 211 | } | ||
| 203 | 212 | ||||
M v4/adw/adw-animation.go +3 -0
| @@ -292,6 +292,9 @@ func (x *Animation) Skip() { | |||
| 292 | 292 | } | |
| 293 | 293 | ||
| 294 | 294 | func (c *Animation) GoPointer() uintptr { | |
| 295 | + | if c == nil { | |
| 296 | + | return 0 | |
| 297 | + | } | |
| 295 | 298 | return c.Ptr | |
| 296 | 299 | } | |
| 297 | 300 | ||
| @@ -292,6 +292,9 @@ func (x *Animation) Skip() { | |||||
| 292 | } | 292 | } | ||
| 293 | 293 | ||||
| 294 | func (c *Animation) GoPointer() uintptr { | 294 | func (c *Animation) GoPointer() uintptr { | ||
| 295 | + | if c == nil { | |||
| 296 | + | return 0 | |||
| 297 | + | } | |||
| 295 | return c.Ptr | 298 | return c.Ptr | ||
| 296 | } | 299 | } | ||
| 297 | 300 | ||||
M v4/adw/adw-application-window.go +3 -0
| @@ -188,6 +188,9 @@ func (x *ApplicationWindow) SetContent(ContentVar *gtk.Widget) { | |||
| 188 | 188 | } | |
| 189 | 189 | ||
| 190 | 190 | func (c *ApplicationWindow) GoPointer() uintptr { | |
| 191 | + | if c == nil { | |
| 192 | + | return 0 | |
| 193 | + | } | |
| 191 | 194 | return c.Ptr | |
| 192 | 195 | } | |
| 193 | 196 | ||
| @@ -188,6 +188,9 @@ func (x *ApplicationWindow) SetContent(ContentVar *gtk.Widget) { | |||||
| 188 | } | 188 | } | ||
| 189 | 189 | ||||
| 190 | func (c *ApplicationWindow) GoPointer() uintptr { | 190 | func (c *ApplicationWindow) GoPointer() uintptr { | ||
| 191 | + | if c == nil { | |||
| 192 | + | return 0 | |||
| 193 | + | } | |||
| 191 | return c.Ptr | 194 | return c.Ptr | ||
| 192 | } | 195 | } | ||
| 193 | 196 | ||||
M v4/adw/adw-application.go +3 -0
| @@ -111,6 +111,9 @@ func (x *Application) GetStyleManager() *StyleManager { | |||
| 111 | 111 | } | |
| 112 | 112 | ||
| 113 | 113 | func (c *Application) GoPointer() uintptr { | |
| 114 | + | if c == nil { | |
| 115 | + | return 0 | |
| 116 | + | } | |
| 114 | 117 | return c.Ptr | |
| 115 | 118 | } | |
| 116 | 119 | ||
| @@ -111,6 +111,9 @@ func (x *Application) GetStyleManager() *StyleManager { | |||||
| 111 | } | 111 | } | ||
| 112 | 112 | ||||
| 113 | func (c *Application) GoPointer() uintptr { | 113 | func (c *Application) GoPointer() uintptr { | ||
| 114 | + | if c == nil { | |||
| 115 | + | return 0 | |||
| 116 | + | } | |||
| 114 | return c.Ptr | 117 | return c.Ptr | ||
| 115 | } | 118 | } | ||
| 116 | 119 | ||||
M v4/adw/adw-avatar.go +3 -0
| @@ -207,6 +207,9 @@ func (x *Avatar) SetText(TextVar string) { | |||
| 207 | 207 | } | |
| 208 | 208 | ||
| 209 | 209 | func (c *Avatar) GoPointer() uintptr { | |
| 210 | + | if c == nil { | |
| 211 | + | return 0 | |
| 212 | + | } | |
| 210 | 213 | return c.Ptr | |
| 211 | 214 | } | |
| 212 | 215 | ||
| @@ -207,6 +207,9 @@ func (x *Avatar) SetText(TextVar string) { | |||||
| 207 | } | 207 | } | ||
| 208 | 208 | ||||
| 209 | func (c *Avatar) GoPointer() uintptr { | 209 | func (c *Avatar) GoPointer() uintptr { | ||
| 210 | + | if c == nil { | |||
| 211 | + | return 0 | |||
| 212 | + | } | |||
| 210 | return c.Ptr | 213 | return c.Ptr | ||
| 211 | } | 214 | } | ||
| 212 | 215 | ||||
M v4/adw/adw-banner.go +3 -0
| @@ -162,6 +162,9 @@ func (x *Banner) SetUseMarkup(UseMarkupVar bool) { | |||
| 162 | 162 | } | |
| 163 | 163 | ||
| 164 | 164 | func (c *Banner) GoPointer() uintptr { | |
| 165 | + | if c == nil { | |
| 166 | + | return 0 | |
| 167 | + | } | |
| 165 | 168 | return c.Ptr | |
| 166 | 169 | } | |
| 167 | 170 | ||
| @@ -162,6 +162,9 @@ func (x *Banner) SetUseMarkup(UseMarkupVar bool) { | |||||
| 162 | } | 162 | } | ||
| 163 | 163 | ||||
| 164 | func (c *Banner) GoPointer() uintptr { | 164 | func (c *Banner) GoPointer() uintptr { | ||
| 165 | + | if c == nil { | |||
| 166 | + | return 0 | |||
| 167 | + | } | |||
| 165 | return c.Ptr | 168 | return c.Ptr | ||
| 166 | } | 169 | } | ||
| 167 | 170 | ||||
M v4/adw/adw-bin.go +3 -0
| @@ -96,6 +96,9 @@ func (x *Bin) SetChild(ChildVar *gtk.Widget) { | |||
| 96 | 96 | } | |
| 97 | 97 | ||
| 98 | 98 | func (c *Bin) GoPointer() uintptr { | |
| 99 | + | if c == nil { | |
| 100 | + | return 0 | |
| 101 | + | } | |
| 99 | 102 | return c.Ptr | |
| 100 | 103 | } | |
| 101 | 104 | ||
| @@ -96,6 +96,9 @@ func (x *Bin) SetChild(ChildVar *gtk.Widget) { | |||||
| 96 | } | 96 | } | ||
| 97 | 97 | ||||
| 98 | func (c *Bin) GoPointer() uintptr { | 98 | func (c *Bin) GoPointer() uintptr { | ||
| 99 | + | if c == nil { | |||
| 100 | + | return 0 | |||
| 101 | + | } | |||
| 99 | return c.Ptr | 102 | return c.Ptr | ||
| 100 | } | 103 | } | ||
| 101 | 104 | ||||
M v4/adw/adw-bottom-sheet.go +3 -0
| @@ -395,6 +395,9 @@ func (x *BottomSheet) SetShowDragHandle(ShowDragHandleVar bool) { | |||
| 395 | 395 | } | |
| 396 | 396 | ||
| 397 | 397 | func (c *BottomSheet) GoPointer() uintptr { | |
| 398 | + | if c == nil { | |
| 399 | + | return 0 | |
| 400 | + | } | |
| 398 | 401 | return c.Ptr | |
| 399 | 402 | } | |
| 400 | 403 | ||
| @@ -395,6 +395,9 @@ func (x *BottomSheet) SetShowDragHandle(ShowDragHandleVar bool) { | |||||
| 395 | } | 395 | } | ||
| 396 | 396 | ||||
| 397 | func (c *BottomSheet) GoPointer() uintptr { | 397 | func (c *BottomSheet) GoPointer() uintptr { | ||
| 398 | + | if c == nil { | |||
| 399 | + | return 0 | |||
| 400 | + | } | |||
| 398 | return c.Ptr | 401 | return c.Ptr | ||
| 399 | } | 402 | } | ||
| 400 | 403 | ||||
M v4/adw/adw-breakpoint-bin.go +3 -0
| @@ -236,6 +236,9 @@ func (x *BreakpointBin) SetChild(ChildVar *gtk.Widget) { | |||
| 236 | 236 | } | |
| 237 | 237 | ||
| 238 | 238 | func (c *BreakpointBin) GoPointer() uintptr { | |
| 239 | + | if c == nil { | |
| 240 | + | return 0 | |
| 241 | + | } | |
| 239 | 242 | return c.Ptr | |
| 240 | 243 | } | |
| 241 | 244 | ||
| @@ -236,6 +236,9 @@ func (x *BreakpointBin) SetChild(ChildVar *gtk.Widget) { | |||||
| 236 | } | 236 | } | ||
| 237 | 237 | ||||
| 238 | func (c *BreakpointBin) GoPointer() uintptr { | 238 | func (c *BreakpointBin) GoPointer() uintptr { | ||
| 239 | + | if c == nil { | |||
| 240 | + | return 0 | |||
| 241 | + | } | |||
| 239 | return c.Ptr | 242 | return c.Ptr | ||
| 240 | } | 243 | } | ||
| 241 | 244 | ||||
M v4/adw/adw-breakpoint.go +3 -0
| @@ -421,6 +421,9 @@ func (x *Breakpoint) SetCondition(ConditionVar *BreakpointCondition) { | |||
| 421 | 421 | } | |
| 422 | 422 | ||
| 423 | 423 | func (c *Breakpoint) GoPointer() uintptr { | |
| 424 | + | if c == nil { | |
| 425 | + | return 0 | |
| 426 | + | } | |
| 424 | 427 | return c.Ptr | |
| 425 | 428 | } | |
| 426 | 429 | ||
| @@ -421,6 +421,9 @@ func (x *Breakpoint) SetCondition(ConditionVar *BreakpointCondition) { | |||||
| 421 | } | 421 | } | ||
| 422 | 422 | ||||
| 423 | func (c *Breakpoint) GoPointer() uintptr { | 423 | func (c *Breakpoint) GoPointer() uintptr { | ||
| 424 | + | if c == nil { | |||
| 425 | + | return 0 | |||
| 426 | + | } | |||
| 424 | return c.Ptr | 427 | return c.Ptr | ||
| 425 | } | 428 | } | ||
| 426 | 429 | ||||
M v4/adw/adw-button-content.go +3 -0
| @@ -191,6 +191,9 @@ func (x *ButtonContent) SetUseUnderline(UseUnderlineVar bool) { | |||
| 191 | 191 | } | |
| 192 | 192 | ||
| 193 | 193 | func (c *ButtonContent) GoPointer() uintptr { | |
| 194 | + | if c == nil { | |
| 195 | + | return 0 | |
| 196 | + | } | |
| 194 | 197 | return c.Ptr | |
| 195 | 198 | } | |
| 196 | 199 | ||
| @@ -191,6 +191,9 @@ func (x *ButtonContent) SetUseUnderline(UseUnderlineVar bool) { | |||||
| 191 | } | 191 | } | ||
| 192 | 192 | ||||
| 193 | func (c *ButtonContent) GoPointer() uintptr { | 193 | func (c *ButtonContent) GoPointer() uintptr { | ||
| 194 | + | if c == nil { | |||
| 195 | + | return 0 | |||
| 196 | + | } | |||
| 194 | return c.Ptr | 197 | return c.Ptr | ||
| 195 | } | 198 | } | ||
| 196 | 199 | ||||
M v4/adw/adw-button-row.go +3 -0
| @@ -143,6 +143,9 @@ func (x *ButtonRow) SetStartIconName(IconNameVar string) { | |||
| 143 | 143 | } | |
| 144 | 144 | ||
| 145 | 145 | func (c *ButtonRow) GoPointer() uintptr { | |
| 146 | + | if c == nil { | |
| 147 | + | return 0 | |
| 148 | + | } | |
| 146 | 149 | return c.Ptr | |
| 147 | 150 | } | |
| 148 | 151 | ||
| @@ -143,6 +143,9 @@ func (x *ButtonRow) SetStartIconName(IconNameVar string) { | |||||
| 143 | } | 143 | } | ||
| 144 | 144 | ||||
| 145 | func (c *ButtonRow) GoPointer() uintptr { | 145 | func (c *ButtonRow) GoPointer() uintptr { | ||
| 146 | + | if c == nil { | |||
| 147 | + | return 0 | |||
| 148 | + | } | |||
| 146 | return c.Ptr | 149 | return c.Ptr | ||
| 147 | } | 150 | } | ||
| 148 | 151 | ||||
M v4/adw/adw-carousel-indicator-dots.go +3 -0
| @@ -102,6 +102,9 @@ func (x *CarouselIndicatorDots) SetCarousel(CarouselVar *Carousel) { | |||
| 102 | 102 | } | |
| 103 | 103 | ||
| 104 | 104 | func (c *CarouselIndicatorDots) GoPointer() uintptr { | |
| 105 | + | if c == nil { | |
| 106 | + | return 0 | |
| 107 | + | } | |
| 105 | 108 | return c.Ptr | |
| 106 | 109 | } | |
| 107 | 110 | ||
| @@ -102,6 +102,9 @@ func (x *CarouselIndicatorDots) SetCarousel(CarouselVar *Carousel) { | |||||
| 102 | } | 102 | } | ||
| 103 | 103 | ||||
| 104 | func (c *CarouselIndicatorDots) GoPointer() uintptr { | 104 | func (c *CarouselIndicatorDots) GoPointer() uintptr { | ||
| 105 | + | if c == nil { | |||
| 106 | + | return 0 | |||
| 107 | + | } | |||
| 105 | return c.Ptr | 108 | return c.Ptr | ||
| 106 | } | 109 | } | ||
| 107 | 110 | ||||
M v4/adw/adw-carousel-indicator-lines.go +3 -0
| @@ -101,6 +101,9 @@ func (x *CarouselIndicatorLines) SetCarousel(CarouselVar *Carousel) { | |||
| 101 | 101 | } | |
| 102 | 102 | ||
| 103 | 103 | func (c *CarouselIndicatorLines) GoPointer() uintptr { | |
| 104 | + | if c == nil { | |
| 105 | + | return 0 | |
| 106 | + | } | |
| 104 | 107 | return c.Ptr | |
| 105 | 108 | } | |
| 106 | 109 | ||
| @@ -101,6 +101,9 @@ func (x *CarouselIndicatorLines) SetCarousel(CarouselVar *Carousel) { | |||||
| 101 | } | 101 | } | ||
| 102 | 102 | ||||
| 103 | func (c *CarouselIndicatorLines) GoPointer() uintptr { | 103 | func (c *CarouselIndicatorLines) GoPointer() uintptr { | ||
| 104 | + | if c == nil { | |||
| 105 | + | return 0 | |||
| 106 | + | } | |||
| 104 | return c.Ptr | 107 | return c.Ptr | ||
| 105 | } | 108 | } | ||
| 106 | 109 | ||||
M v4/adw/adw-carousel.go +3 -0
| @@ -319,6 +319,9 @@ func (x *Carousel) SetSpacing(SpacingVar uint) { | |||
| 319 | 319 | } | |
| 320 | 320 | ||
| 321 | 321 | func (c *Carousel) GoPointer() uintptr { | |
| 322 | + | if c == nil { | |
| 323 | + | return 0 | |
| 324 | + | } | |
| 322 | 325 | return c.Ptr | |
| 323 | 326 | } | |
| 324 | 327 | ||
| @@ -319,6 +319,9 @@ func (x *Carousel) SetSpacing(SpacingVar uint) { | |||||
| 319 | } | 319 | } | ||
| 320 | 320 | ||||
| 321 | func (c *Carousel) GoPointer() uintptr { | 321 | func (c *Carousel) GoPointer() uintptr { | ||
| 322 | + | if c == nil { | |||
| 323 | + | return 0 | |||
| 324 | + | } | |||
| 322 | return c.Ptr | 325 | return c.Ptr | ||
| 323 | } | 326 | } | ||
| 324 | 327 | ||||
M v4/adw/adw-clamp-layout.go +3 -0
| @@ -152,6 +152,9 @@ func (x *ClampLayout) SetUnit(UnitVar LengthUnit) { | |||
| 152 | 152 | } | |
| 153 | 153 | ||
| 154 | 154 | func (c *ClampLayout) GoPointer() uintptr { | |
| 155 | + | if c == nil { | |
| 156 | + | return 0 | |
| 157 | + | } | |
| 155 | 158 | return c.Ptr | |
| 156 | 159 | } | |
| 157 | 160 | ||
| @@ -152,6 +152,9 @@ func (x *ClampLayout) SetUnit(UnitVar LengthUnit) { | |||||
| 152 | } | 152 | } | ||
| 153 | 153 | ||||
| 154 | func (c *ClampLayout) GoPointer() uintptr { | 154 | func (c *ClampLayout) GoPointer() uintptr { | ||
| 155 | + | if c == nil { | |||
| 156 | + | return 0 | |||
| 157 | + | } | |||
| 155 | return c.Ptr | 158 | return c.Ptr | ||
| 156 | } | 159 | } | ||
| 157 | 160 | ||||
M v4/adw/adw-clamp-scrollable.go +3 -0
| @@ -162,6 +162,9 @@ func (x *ClampScrollable) SetUnit(UnitVar LengthUnit) { | |||
| 162 | 162 | } | |
| 163 | 163 | ||
| 164 | 164 | func (c *ClampScrollable) GoPointer() uintptr { | |
| 165 | + | if c == nil { | |
| 166 | + | return 0 | |
| 167 | + | } | |
| 165 | 168 | return c.Ptr | |
| 166 | 169 | } | |
| 167 | 170 | ||
| @@ -162,6 +162,9 @@ func (x *ClampScrollable) SetUnit(UnitVar LengthUnit) { | |||||
| 162 | } | 162 | } | ||
| 163 | 163 | ||||
| 164 | func (c *ClampScrollable) GoPointer() uintptr { | 164 | func (c *ClampScrollable) GoPointer() uintptr { | ||
| 165 | + | if c == nil { | |||
| 166 | + | return 0 | |||
| 167 | + | } | |||
| 165 | return c.Ptr | 168 | return c.Ptr | ||
| 166 | } | 169 | } | ||
| 167 | 170 | ||||
M v4/adw/adw-clamp.go +3 -0
| @@ -184,6 +184,9 @@ func (x *Clamp) SetUnit(UnitVar LengthUnit) { | |||
| 184 | 184 | } | |
| 185 | 185 | ||
| 186 | 186 | func (c *Clamp) GoPointer() uintptr { | |
| 187 | + | if c == nil { | |
| 188 | + | return 0 | |
| 189 | + | } | |
| 187 | 190 | return c.Ptr | |
| 188 | 191 | } | |
| 189 | 192 | ||
| @@ -184,6 +184,9 @@ func (x *Clamp) SetUnit(UnitVar LengthUnit) { | |||||
| 184 | } | 184 | } | ||
| 185 | 185 | ||||
| 186 | func (c *Clamp) GoPointer() uintptr { | 186 | func (c *Clamp) GoPointer() uintptr { | ||
| 187 | + | if c == nil { | |||
| 188 | + | return 0 | |||
| 189 | + | } | |||
| 187 | return c.Ptr | 190 | return c.Ptr | ||
| 188 | } | 191 | } | ||
| 189 | 192 | ||||
M v4/adw/adw-combo-row.go +3 -0
| @@ -359,6 +359,9 @@ func (x *ComboRow) SetUseSubtitle(UseSubtitleVar bool) { | |||
| 359 | 359 | } | |
| 360 | 360 | ||
| 361 | 361 | func (c *ComboRow) GoPointer() uintptr { | |
| 362 | + | if c == nil { | |
| 363 | + | return 0 | |
| 364 | + | } | |
| 362 | 365 | return c.Ptr | |
| 363 | 366 | } | |
| 364 | 367 | ||
| @@ -359,6 +359,9 @@ func (x *ComboRow) SetUseSubtitle(UseSubtitleVar bool) { | |||||
| 359 | } | 359 | } | ||
| 360 | 360 | ||||
| 361 | func (c *ComboRow) GoPointer() uintptr { | 361 | func (c *ComboRow) GoPointer() uintptr { | ||
| 362 | + | if c == nil { | |||
| 363 | + | return 0 | |||
| 364 | + | } | |||
| 362 | return c.Ptr | 365 | return c.Ptr | ||
| 363 | } | 366 | } | ||
| 364 | 367 | ||||
M v4/adw/adw-dialog.go +3 -0
| @@ -434,6 +434,9 @@ func (x *Dialog) SetTitle(TitleVar string) { | |||
| 434 | 434 | } | |
| 435 | 435 | ||
| 436 | 436 | func (c *Dialog) GoPointer() uintptr { | |
| 437 | + | if c == nil { | |
| 438 | + | return 0 | |
| 439 | + | } | |
| 437 | 440 | return c.Ptr | |
| 438 | 441 | } | |
| 439 | 442 | ||
| @@ -434,6 +434,9 @@ func (x *Dialog) SetTitle(TitleVar string) { | |||||
| 434 | } | 434 | } | ||
| 435 | 435 | ||||
| 436 | func (c *Dialog) GoPointer() uintptr { | 436 | func (c *Dialog) GoPointer() uintptr { | ||
| 437 | + | if c == nil { | |||
| 438 | + | return 0 | |||
| 439 | + | } | |||
| 437 | return c.Ptr | 440 | return c.Ptr | ||
| 438 | } | 441 | } | ||
| 439 | 442 | ||||
M v4/adw/adw-entry-row.go +3 -0
| @@ -286,6 +286,9 @@ func (x *EntryRow) SetShowApplyButton(ShowApplyButtonVar bool) { | |||
| 286 | 286 | } | |
| 287 | 287 | ||
| 288 | 288 | func (c *EntryRow) GoPointer() uintptr { | |
| 289 | + | if c == nil { | |
| 290 | + | return 0 | |
| 291 | + | } | |
| 289 | 292 | return c.Ptr | |
| 290 | 293 | } | |
| 291 | 294 | ||
| @@ -286,6 +286,9 @@ func (x *EntryRow) SetShowApplyButton(ShowApplyButtonVar bool) { | |||||
| 286 | } | 286 | } | ||
| 287 | 287 | ||||
| 288 | func (c *EntryRow) GoPointer() uintptr { | 288 | func (c *EntryRow) GoPointer() uintptr { | ||
| 289 | + | if c == nil { | |||
| 290 | + | return 0 | |||
| 291 | + | } | |||
| 289 | return c.Ptr | 292 | return c.Ptr | ||
| 290 | } | 293 | } | ||
| 291 | 294 | ||||
M v4/adw/adw-enum-list-model.go +6 -0
| @@ -77,6 +77,9 @@ func (x *EnumListItem) GetValue() int { | |||
| 77 | 77 | } | |
| 78 | 78 | ||
| 79 | 79 | func (c *EnumListItem) GoPointer() uintptr { | |
| 80 | + | if c == nil { | |
| 81 | + | return 0 | |
| 82 | + | } | |
| 80 | 83 | return c.Ptr | |
| 81 | 84 | } | |
| 82 | 85 | ||
| @@ -140,6 +143,9 @@ func (x *EnumListModel) GetEnumType() types.GType { | |||
| 140 | 143 | } | |
| 141 | 144 | ||
| 142 | 145 | func (c *EnumListModel) GoPointer() uintptr { | |
| 146 | + | if c == nil { | |
| 147 | + | return 0 | |
| 148 | + | } | |
| 143 | 149 | return c.Ptr | |
| 144 | 150 | } | |
| 145 | 151 | ||
| @@ -77,6 +77,9 @@ func (x *EnumListItem) GetValue() int { | |||||
| 77 | } | 77 | } | ||
| 78 | 78 | ||||
| 79 | func (c *EnumListItem) GoPointer() uintptr { | 79 | func (c *EnumListItem) GoPointer() uintptr { | ||
| 80 | + | if c == nil { | |||
| 81 | + | return 0 | |||
| 82 | + | } | |||
| 80 | return c.Ptr | 83 | return c.Ptr | ||
| 81 | } | 84 | } | ||
| 82 | 85 | ||||
| @@ -140,6 +143,9 @@ func (x *EnumListModel) GetEnumType() types.GType { | |||||
| 140 | } | 143 | } | ||
| 141 | 144 | ||||
| 142 | func (c *EnumListModel) GoPointer() uintptr { | 145 | func (c *EnumListModel) GoPointer() uintptr { | ||
| 146 | + | if c == nil { | |||
| 147 | + | return 0 | |||
| 148 | + | } | |||
| 143 | return c.Ptr | 149 | return c.Ptr | ||
| 144 | } | 150 | } | ||
| 145 | 151 | ||||
M v4/adw/adw-expander-row.go +3 -0
| @@ -282,6 +282,9 @@ func (x *ExpanderRow) SetTitleLines(TitleLinesVar int) { | |||
| 282 | 282 | } | |
| 283 | 283 | ||
| 284 | 284 | func (c *ExpanderRow) GoPointer() uintptr { | |
| 285 | + | if c == nil { | |
| 286 | + | return 0 | |
| 287 | + | } | |
| 285 | 288 | return c.Ptr | |
| 286 | 289 | } | |
| 287 | 290 | ||
| @@ -282,6 +282,9 @@ func (x *ExpanderRow) SetTitleLines(TitleLinesVar int) { | |||||
| 282 | } | 282 | } | ||
| 283 | 283 | ||||
| 284 | func (c *ExpanderRow) GoPointer() uintptr { | 284 | func (c *ExpanderRow) GoPointer() uintptr { | ||
| 285 | + | if c == nil { | |||
| 286 | + | return 0 | |||
| 287 | + | } | |||
| 285 | return c.Ptr | 288 | return c.Ptr | ||
| 286 | } | 289 | } | ||
| 287 | 290 | ||||
M v4/adw/adw-flap.go +3 -0
| @@ -509,6 +509,9 @@ func (x *Flap) SetTransitionType(TransitionTypeVar FlapTransitionType) { | |||
| 509 | 509 | } | |
| 510 | 510 | ||
| 511 | 511 | func (c *Flap) GoPointer() uintptr { | |
| 512 | + | if c == nil { | |
| 513 | + | return 0 | |
| 514 | + | } | |
| 512 | 515 | return c.Ptr | |
| 513 | 516 | } | |
| 514 | 517 | ||
| @@ -509,6 +509,9 @@ func (x *Flap) SetTransitionType(TransitionTypeVar FlapTransitionType) { | |||||
| 509 | } | 509 | } | ||
| 510 | 510 | ||||
| 511 | func (c *Flap) GoPointer() uintptr { | 511 | func (c *Flap) GoPointer() uintptr { | ||
| 512 | + | if c == nil { | |||
| 513 | + | return 0 | |||
| 514 | + | } | |||
| 512 | return c.Ptr | 515 | return c.Ptr | ||
| 513 | } | 516 | } | ||
| 514 | 517 | ||||
M v4/adw/adw-header-bar.go +3 -0
| @@ -378,6 +378,9 @@ func (x *HeaderBar) SetTitleWidget(TitleWidgetVar *gtk.Widget) { | |||
| 378 | 378 | } | |
| 379 | 379 | ||
| 380 | 380 | func (c *HeaderBar) GoPointer() uintptr { | |
| 381 | + | if c == nil { | |
| 382 | + | return 0 | |
| 383 | + | } | |
| 381 | 384 | return c.Ptr | |
| 382 | 385 | } | |
| 383 | 386 | ||
| @@ -378,6 +378,9 @@ func (x *HeaderBar) SetTitleWidget(TitleWidgetVar *gtk.Widget) { | |||||
| 378 | } | 378 | } | ||
| 379 | 379 | ||||
| 380 | func (c *HeaderBar) GoPointer() uintptr { | 380 | func (c *HeaderBar) GoPointer() uintptr { | ||
| 381 | + | if c == nil { | |||
| 382 | + | return 0 | |||
| 383 | + | } | |||
| 381 | return c.Ptr | 384 | return c.Ptr | ||
| 382 | } | 385 | } | ||
| 383 | 386 | ||||
M v4/adw/adw-layout-slot.go +3 -0
| @@ -71,6 +71,9 @@ func (x *LayoutSlot) GetSlotId() string { | |||
| 71 | 71 | } | |
| 72 | 72 | ||
| 73 | 73 | func (c *LayoutSlot) GoPointer() uintptr { | |
| 74 | + | if c == nil { | |
| 75 | + | return 0 | |
| 76 | + | } | |
| 74 | 77 | return c.Ptr | |
| 75 | 78 | } | |
| 76 | 79 | ||
| @@ -71,6 +71,9 @@ func (x *LayoutSlot) GetSlotId() string { | |||||
| 71 | } | 71 | } | ||
| 72 | 72 | ||||
| 73 | func (c *LayoutSlot) GoPointer() uintptr { | 73 | func (c *LayoutSlot) GoPointer() uintptr { | ||
| 74 | + | if c == nil { | |||
| 75 | + | return 0 | |||
| 76 | + | } | |||
| 74 | return c.Ptr | 77 | return c.Ptr | ||
| 75 | } | 78 | } | ||
| 76 | 79 | ||||
M v4/adw/adw-layout.go +3 -0
| @@ -91,6 +91,9 @@ func (x *Layout) SetName(NameVar string) { | |||
| 91 | 91 | } | |
| 92 | 92 | ||
| 93 | 93 | func (c *Layout) GoPointer() uintptr { | |
| 94 | + | if c == nil { | |
| 95 | + | return 0 | |
| 96 | + | } | |
| 94 | 97 | return c.Ptr | |
| 95 | 98 | } | |
| 96 | 99 | ||
| @@ -91,6 +91,9 @@ func (x *Layout) SetName(NameVar string) { | |||||
| 91 | } | 91 | } | ||
| 92 | 92 | ||||
| 93 | func (c *Layout) GoPointer() uintptr { | 93 | func (c *Layout) GoPointer() uintptr { | ||
| 94 | + | if c == nil { | |||
| 95 | + | return 0 | |||
| 96 | + | } | |||
| 94 | return c.Ptr | 97 | return c.Ptr | ||
| 95 | } | 98 | } | ||
| 96 | 99 | ||||
M v4/adw/adw-leaflet.go +6 -0
| @@ -562,6 +562,9 @@ func (x *Leaflet) SetVisibleChildName(NameVar string) { | |||
| 562 | 562 | } | |
| 563 | 563 | ||
| 564 | 564 | func (c *Leaflet) GoPointer() uintptr { | |
| 565 | + | if c == nil { | |
| 566 | + | return 0 | |
| 567 | + | } | |
| 565 | 568 | return c.Ptr | |
| 566 | 569 | } | |
| 567 | 570 | ||
| @@ -850,6 +853,9 @@ func (x *LeafletPage) SetNavigatable(NavigatableVar bool) { | |||
| 850 | 853 | } | |
| 851 | 854 | ||
| 852 | 855 | func (c *LeafletPage) GoPointer() uintptr { | |
| 856 | + | if c == nil { | |
| 857 | + | return 0 | |
| 858 | + | } | |
| 853 | 859 | return c.Ptr | |
| 854 | 860 | } | |
| 855 | 861 | ||
| @@ -562,6 +562,9 @@ func (x *Leaflet) SetVisibleChildName(NameVar string) { | |||||
| 562 | } | 562 | } | ||
| 563 | 563 | ||||
| 564 | func (c *Leaflet) GoPointer() uintptr { | 564 | func (c *Leaflet) GoPointer() uintptr { | ||
| 565 | + | if c == nil { | |||
| 566 | + | return 0 | |||
| 567 | + | } | |||
| 565 | return c.Ptr | 568 | return c.Ptr | ||
| 566 | } | 569 | } | ||
| 567 | 570 | ||||
| @@ -850,6 +853,9 @@ func (x *LeafletPage) SetNavigatable(NavigatableVar bool) { | |||||
| 850 | } | 853 | } | ||
| 851 | 854 | ||||
| 852 | func (c *LeafletPage) GoPointer() uintptr { | 855 | func (c *LeafletPage) GoPointer() uintptr { | ||
| 856 | + | if c == nil { | |||
| 857 | + | return 0 | |||
| 858 | + | } | |||
| 853 | return c.Ptr | 859 | return c.Ptr | ||
| 854 | } | 860 | } | ||
| 855 | 861 | ||||
M v4/adw/adw-message-dialog.go +3 -0
| @@ -610,6 +610,9 @@ func (x *MessageDialog) SetResponseLabel(ResponseVar string, LabelVar string) { | |||
| 610 | 610 | } | |
| 611 | 611 | ||
| 612 | 612 | func (c *MessageDialog) GoPointer() uintptr { | |
| 613 | + | if c == nil { | |
| 614 | + | return 0 | |
| 615 | + | } | |
| 613 | 616 | return c.Ptr | |
| 614 | 617 | } | |
| 615 | 618 | ||
| @@ -610,6 +610,9 @@ func (x *MessageDialog) SetResponseLabel(ResponseVar string, LabelVar string) { | |||||
| 610 | } | 610 | } | ||
| 611 | 611 | ||||
| 612 | func (c *MessageDialog) GoPointer() uintptr { | 612 | func (c *MessageDialog) GoPointer() uintptr { | ||
| 613 | + | if c == nil { | |||
| 614 | + | return 0 | |||
| 615 | + | } | |||
| 613 | return c.Ptr | 616 | return c.Ptr | ||
| 614 | } | 617 | } | ||
| 615 | 618 | ||||
M v4/adw/adw-multi-layout-view.go +3 -0
| @@ -249,6 +249,9 @@ func (x *MultiLayoutView) SetLayoutName(NameVar string) { | |||
| 249 | 249 | } | |
| 250 | 250 | ||
| 251 | 251 | func (c *MultiLayoutView) GoPointer() uintptr { | |
| 252 | + | if c == nil { | |
| 253 | + | return 0 | |
| 254 | + | } | |
| 252 | 255 | return c.Ptr | |
| 253 | 256 | } | |
| 254 | 257 | ||
| @@ -249,6 +249,9 @@ func (x *MultiLayoutView) SetLayoutName(NameVar string) { | |||||
| 249 | } | 249 | } | ||
| 250 | 250 | ||||
| 251 | func (c *MultiLayoutView) GoPointer() uintptr { | 251 | func (c *MultiLayoutView) GoPointer() uintptr { | ||
| 252 | + | if c == nil { | |||
| 253 | + | return 0 | |||
| 254 | + | } | |||
| 252 | return c.Ptr | 255 | return c.Ptr | ||
| 253 | } | 256 | } | ||
| 254 | 257 | ||||
M v4/adw/adw-navigation-split-view.go +3 -0
| @@ -394,6 +394,9 @@ func (x *NavigationSplitView) SetSidebarWidthUnit(UnitVar LengthUnit) { | |||
| 394 | 394 | } | |
| 395 | 395 | ||
| 396 | 396 | func (c *NavigationSplitView) GoPointer() uintptr { | |
| 397 | + | if c == nil { | |
| 398 | + | return 0 | |
| 399 | + | } | |
| 397 | 400 | return c.Ptr | |
| 398 | 401 | } | |
| 399 | 402 | ||
| @@ -394,6 +394,9 @@ func (x *NavigationSplitView) SetSidebarWidthUnit(UnitVar LengthUnit) { | |||||
| 394 | } | 394 | } | ||
| 395 | 395 | ||||
| 396 | func (c *NavigationSplitView) GoPointer() uintptr { | 396 | func (c *NavigationSplitView) GoPointer() uintptr { | ||
| 397 | + | if c == nil { | |||
| 398 | + | return 0 | |||
| 399 | + | } | |||
| 397 | return c.Ptr | 400 | return c.Ptr | ||
| 398 | } | 401 | } | ||
| 399 | 402 | ||||
M v4/adw/adw-navigation-view.go +6 -0
| @@ -215,6 +215,9 @@ func (x *NavigationPage) SetTitle(TitleVar string) { | |||
| 215 | 215 | } | |
| 216 | 216 | ||
| 217 | 217 | func (c *NavigationPage) GoPointer() uintptr { | |
| 218 | + | if c == nil { | |
| 219 | + | return 0 | |
| 220 | + | } | |
| 218 | 221 | return c.Ptr | |
| 219 | 222 | } | |
| 220 | 223 | ||
| @@ -942,6 +945,9 @@ func (x *NavigationView) SetPopOnEscape(PopOnEscapeVar bool) { | |||
| 942 | 945 | } | |
| 943 | 946 | ||
| 944 | 947 | func (c *NavigationView) GoPointer() uintptr { | |
| 948 | + | if c == nil { | |
| 949 | + | return 0 | |
| 950 | + | } | |
| 945 | 951 | return c.Ptr | |
| 946 | 952 | } | |
| 947 | 953 | ||
| @@ -215,6 +215,9 @@ func (x *NavigationPage) SetTitle(TitleVar string) { | |||||
| 215 | } | 215 | } | ||
| 216 | 216 | ||||
| 217 | func (c *NavigationPage) GoPointer() uintptr { | 217 | func (c *NavigationPage) GoPointer() uintptr { | ||
| 218 | + | if c == nil { | |||
| 219 | + | return 0 | |||
| 220 | + | } | |||
| 218 | return c.Ptr | 221 | return c.Ptr | ||
| 219 | } | 222 | } | ||
| 220 | 223 | ||||
| @@ -942,6 +945,9 @@ func (x *NavigationView) SetPopOnEscape(PopOnEscapeVar bool) { | |||||
| 942 | } | 945 | } | ||
| 943 | 946 | ||||
| 944 | func (c *NavigationView) GoPointer() uintptr { | 947 | func (c *NavigationView) GoPointer() uintptr { | ||
| 948 | + | if c == nil { | |||
| 949 | + | return 0 | |||
| 950 | + | } | |||
| 945 | return c.Ptr | 951 | return c.Ptr | ||
| 946 | } | 952 | } | ||
| 947 | 953 | ||||
M v4/adw/adw-overlay-split-view.go +3 -0
| @@ -464,6 +464,9 @@ func (x *OverlaySplitView) SetSidebarWidthUnit(UnitVar LengthUnit) { | |||
| 464 | 464 | } | |
| 465 | 465 | ||
| 466 | 466 | func (c *OverlaySplitView) GoPointer() uintptr { | |
| 467 | + | if c == nil { | |
| 468 | + | return 0 | |
| 469 | + | } | |
| 467 | 470 | return c.Ptr | |
| 468 | 471 | } | |
| 469 | 472 | ||
| @@ -464,6 +464,9 @@ func (x *OverlaySplitView) SetSidebarWidthUnit(UnitVar LengthUnit) { | |||||
| 464 | } | 464 | } | ||
| 465 | 465 | ||||
| 466 | func (c *OverlaySplitView) GoPointer() uintptr { | 466 | func (c *OverlaySplitView) GoPointer() uintptr { | ||
| 467 | + | if c == nil { | |||
| 468 | + | return 0 | |||
| 469 | + | } | |||
| 467 | return c.Ptr | 470 | return c.Ptr | ||
| 468 | } | 471 | } | ||
| 469 | 472 | ||||
M v4/adw/adw-password-entry-row.go +3 -0
| @@ -78,6 +78,9 @@ func NewPasswordEntryRow() *PasswordEntryRow { | |||
| 78 | 78 | } | |
| 79 | 79 | ||
| 80 | 80 | func (c *PasswordEntryRow) GoPointer() uintptr { | |
| 81 | + | if c == nil { | |
| 82 | + | return 0 | |
| 83 | + | } | |
| 81 | 84 | return c.Ptr | |
| 82 | 85 | } | |
| 83 | 86 | ||
| @@ -78,6 +78,9 @@ func NewPasswordEntryRow() *PasswordEntryRow { | |||||
| 78 | } | 78 | } | ||
| 79 | 79 | ||||
| 80 | func (c *PasswordEntryRow) GoPointer() uintptr { | 80 | func (c *PasswordEntryRow) GoPointer() uintptr { | ||
| 81 | + | if c == nil { | |||
| 82 | + | return 0 | |||
| 83 | + | } | |||
| 81 | return c.Ptr | 84 | return c.Ptr | ||
| 82 | } | 85 | } | ||
| 83 | 86 | ||||
M v4/adw/adw-preferences-dialog.go +3 -0
| @@ -193,6 +193,9 @@ func (x *PreferencesDialog) SetVisiblePageName(NameVar string) { | |||
| 193 | 193 | } | |
| 194 | 194 | ||
| 195 | 195 | func (c *PreferencesDialog) GoPointer() uintptr { | |
| 196 | + | if c == nil { | |
| 197 | + | return 0 | |
| 198 | + | } | |
| 196 | 199 | return c.Ptr | |
| 197 | 200 | } | |
| 198 | 201 | ||
| @@ -193,6 +193,9 @@ func (x *PreferencesDialog) SetVisiblePageName(NameVar string) { | |||||
| 193 | } | 193 | } | ||
| 194 | 194 | ||||
| 195 | func (c *PreferencesDialog) GoPointer() uintptr { | 195 | func (c *PreferencesDialog) GoPointer() uintptr { | ||
| 196 | + | if c == nil { | |||
| 197 | + | return 0 | |||
| 198 | + | } | |||
| 196 | return c.Ptr | 199 | return c.Ptr | ||
| 197 | } | 200 | } | ||
| 198 | 201 | ||||
M v4/adw/adw-preferences-group.go +3 -0
| @@ -202,6 +202,9 @@ func (x *PreferencesGroup) SetTitle(TitleVar string) { | |||
| 202 | 202 | } | |
| 203 | 203 | ||
| 204 | 204 | func (c *PreferencesGroup) GoPointer() uintptr { | |
| 205 | + | if c == nil { | |
| 206 | + | return 0 | |
| 207 | + | } | |
| 205 | 208 | return c.Ptr | |
| 206 | 209 | } | |
| 207 | 210 | ||
| @@ -202,6 +202,9 @@ func (x *PreferencesGroup) SetTitle(TitleVar string) { | |||||
| 202 | } | 202 | } | ||
| 203 | 203 | ||||
| 204 | func (c *PreferencesGroup) GoPointer() uintptr { | 204 | func (c *PreferencesGroup) GoPointer() uintptr { | ||
| 205 | + | if c == nil { | |||
| 206 | + | return 0 | |||
| 207 | + | } | |||
| 205 | return c.Ptr | 208 | return c.Ptr | ||
| 206 | } | 209 | } | ||
| 207 | 210 | ||||
M v4/adw/adw-preferences-page.go +3 -0
| @@ -214,6 +214,9 @@ func (x *PreferencesPage) SetUseUnderline(UseUnderlineVar bool) { | |||
| 214 | 214 | } | |
| 215 | 215 | ||
| 216 | 216 | func (c *PreferencesPage) GoPointer() uintptr { | |
| 217 | + | if c == nil { | |
| 218 | + | return 0 | |
| 219 | + | } | |
| 217 | 220 | return c.Ptr | |
| 218 | 221 | } | |
| 219 | 222 | ||
| @@ -214,6 +214,9 @@ func (x *PreferencesPage) SetUseUnderline(UseUnderlineVar bool) { | |||||
| 214 | } | 214 | } | ||
| 215 | 215 | ||||
| 216 | func (c *PreferencesPage) GoPointer() uintptr { | 216 | func (c *PreferencesPage) GoPointer() uintptr { | ||
| 217 | + | if c == nil { | |||
| 218 | + | return 0 | |||
| 219 | + | } | |||
| 217 | return c.Ptr | 220 | return c.Ptr | ||
| 218 | } | 221 | } | ||
| 219 | 222 | ||||
M v4/adw/adw-preferences-row.go +3 -0
| @@ -149,6 +149,9 @@ func (x *PreferencesRow) SetUseUnderline(UseUnderlineVar bool) { | |||
| 149 | 149 | } | |
| 150 | 150 | ||
| 151 | 151 | func (c *PreferencesRow) GoPointer() uintptr { | |
| 152 | + | if c == nil { | |
| 153 | + | return 0 | |
| 154 | + | } | |
| 152 | 155 | return c.Ptr | |
| 153 | 156 | } | |
| 154 | 157 | ||
| @@ -149,6 +149,9 @@ func (x *PreferencesRow) SetUseUnderline(UseUnderlineVar bool) { | |||||
| 149 | } | 149 | } | ||
| 150 | 150 | ||||
| 151 | func (c *PreferencesRow) GoPointer() uintptr { | 151 | func (c *PreferencesRow) GoPointer() uintptr { | ||
| 152 | + | if c == nil { | |||
| 153 | + | return 0 | |||
| 154 | + | } | |||
| 152 | return c.Ptr | 155 | return c.Ptr | ||
| 153 | } | 156 | } | ||
| 154 | 157 | ||||
M v4/adw/adw-preferences-window.go +3 -0
| @@ -243,6 +243,9 @@ func (x *PreferencesWindow) SetVisiblePageName(NameVar string) { | |||
| 243 | 243 | } | |
| 244 | 244 | ||
| 245 | 245 | func (c *PreferencesWindow) GoPointer() uintptr { | |
| 246 | + | if c == nil { | |
| 247 | + | return 0 | |
| 248 | + | } | |
| 246 | 249 | return c.Ptr | |
| 247 | 250 | } | |
| 248 | 251 | ||
| @@ -243,6 +243,9 @@ func (x *PreferencesWindow) SetVisiblePageName(NameVar string) { | |||||
| 243 | } | 243 | } | ||
| 244 | 244 | ||||
| 245 | func (c *PreferencesWindow) GoPointer() uintptr { | 245 | func (c *PreferencesWindow) GoPointer() uintptr { | ||
| 246 | + | if c == nil { | |||
| 247 | + | return 0 | |||
| 248 | + | } | |||
| 246 | return c.Ptr | 249 | return c.Ptr | ||
| 247 | } | 250 | } | ||
| 248 | 251 | ||||
M v4/adw/adw-spin-row.go +3 -0
| @@ -311,6 +311,9 @@ func (x *SpinRow) Update() { | |||
| 311 | 311 | } | |
| 312 | 312 | ||
| 313 | 313 | func (c *SpinRow) GoPointer() uintptr { | |
| 314 | + | if c == nil { | |
| 315 | + | return 0 | |
| 316 | + | } | |
| 314 | 317 | return c.Ptr | |
| 315 | 318 | } | |
| 316 | 319 | ||
| @@ -311,6 +311,9 @@ func (x *SpinRow) Update() { | |||||
| 311 | } | 311 | } | ||
| 312 | 312 | ||||
| 313 | func (c *SpinRow) GoPointer() uintptr { | 313 | func (c *SpinRow) GoPointer() uintptr { | ||
| 314 | + | if c == nil { | |||
| 315 | + | return 0 | |||
| 316 | + | } | |||
| 314 | return c.Ptr | 317 | return c.Ptr | ||
| 315 | } | 318 | } | ||
| 316 | 319 | ||||
M v4/adw/adw-spinner-paintable.go +3 -0
| @@ -115,6 +115,9 @@ func (x *SpinnerPaintable) SetWidget(WidgetVar *gtk.Widget) { | |||
| 115 | 115 | } | |
| 116 | 116 | ||
| 117 | 117 | func (c *SpinnerPaintable) GoPointer() uintptr { | |
| 118 | + | if c == nil { | |
| 119 | + | return 0 | |
| 120 | + | } | |
| 118 | 121 | return c.Ptr | |
| 119 | 122 | } | |
| 120 | 123 | ||
| @@ -115,6 +115,9 @@ func (x *SpinnerPaintable) SetWidget(WidgetVar *gtk.Widget) { | |||||
| 115 | } | 115 | } | ||
| 116 | 116 | ||||
| 117 | func (c *SpinnerPaintable) GoPointer() uintptr { | 117 | func (c *SpinnerPaintable) GoPointer() uintptr { | ||
| 118 | + | if c == nil { | |||
| 119 | + | return 0 | |||
| 120 | + | } | |||
| 118 | return c.Ptr | 121 | return c.Ptr | ||
| 119 | } | 122 | } | ||
| 120 | 123 | ||||
M v4/adw/adw-spinner.go +3 -0
| @@ -92,6 +92,9 @@ func NewSpinner() *Spinner { | |||
| 92 | 92 | } | |
| 93 | 93 | ||
| 94 | 94 | func (c *Spinner) GoPointer() uintptr { | |
| 95 | + | if c == nil { | |
| 96 | + | return 0 | |
| 97 | + | } | |
| 95 | 98 | return c.Ptr | |
| 96 | 99 | } | |
| 97 | 100 | ||
| @@ -92,6 +92,9 @@ func NewSpinner() *Spinner { | |||||
| 92 | } | 92 | } | ||
| 93 | 93 | ||||
| 94 | func (c *Spinner) GoPointer() uintptr { | 94 | func (c *Spinner) GoPointer() uintptr { | ||
| 95 | + | if c == nil { | |||
| 96 | + | return 0 | |||
| 97 | + | } | |||
| 95 | return c.Ptr | 98 | return c.Ptr | ||
| 96 | } | 99 | } | ||
| 97 | 100 | ||||
M v4/adw/adw-split-button.go +3 -0
| @@ -352,6 +352,9 @@ func (x *SplitButton) SetUseUnderline(UseUnderlineVar bool) { | |||
| 352 | 352 | } | |
| 353 | 353 | ||
| 354 | 354 | func (c *SplitButton) GoPointer() uintptr { | |
| 355 | + | if c == nil { | |
| 356 | + | return 0 | |
| 357 | + | } | |
| 355 | 358 | return c.Ptr | |
| 356 | 359 | } | |
| 357 | 360 | ||
| @@ -352,6 +352,9 @@ func (x *SplitButton) SetUseUnderline(UseUnderlineVar bool) { | |||||
| 352 | } | 352 | } | ||
| 353 | 353 | ||||
| 354 | func (c *SplitButton) GoPointer() uintptr { | 354 | func (c *SplitButton) GoPointer() uintptr { | ||
| 355 | + | if c == nil { | |||
| 356 | + | return 0 | |||
| 357 | + | } | |||
| 355 | return c.Ptr | 358 | return c.Ptr | ||
| 356 | } | 359 | } | ||
| 357 | 360 | ||||
M v4/adw/adw-spring-animation.go +3 -0
| @@ -269,6 +269,9 @@ func (x *SpringAnimation) SetValueTo(ValueVar float64) { | |||
| 269 | 269 | } | |
| 270 | 270 | ||
| 271 | 271 | func (c *SpringAnimation) GoPointer() uintptr { | |
| 272 | + | if c == nil { | |
| 273 | + | return 0 | |
| 274 | + | } | |
| 272 | 275 | return c.Ptr | |
| 273 | 276 | } | |
| 274 | 277 | ||
| @@ -269,6 +269,9 @@ func (x *SpringAnimation) SetValueTo(ValueVar float64) { | |||||
| 269 | } | 269 | } | ||
| 270 | 270 | ||||
| 271 | func (c *SpringAnimation) GoPointer() uintptr { | 271 | func (c *SpringAnimation) GoPointer() uintptr { | ||
| 272 | + | if c == nil { | |||
| 273 | + | return 0 | |||
| 274 | + | } | |||
| 272 | return c.Ptr | 275 | return c.Ptr | ||
| 273 | } | 276 | } | ||
| 274 | 277 | ||||
M v4/adw/adw-squeezer.go +6 -0
| @@ -379,6 +379,9 @@ func (x *Squeezer) SetYalign(YalignVar float32) { | |||
| 379 | 379 | } | |
| 380 | 380 | ||
| 381 | 381 | func (c *Squeezer) GoPointer() uintptr { | |
| 382 | + | if c == nil { | |
| 383 | + | return 0 | |
| 384 | + | } | |
| 382 | 385 | return c.Ptr | |
| 383 | 386 | } | |
| 384 | 387 | ||
| @@ -605,6 +608,9 @@ func (x *SqueezerPage) SetEnabled(EnabledVar bool) { | |||
| 605 | 608 | } | |
| 606 | 609 | ||
| 607 | 610 | func (c *SqueezerPage) GoPointer() uintptr { | |
| 611 | + | if c == nil { | |
| 612 | + | return 0 | |
| 613 | + | } | |
| 608 | 614 | return c.Ptr | |
| 609 | 615 | } | |
| 610 | 616 | ||
| @@ -379,6 +379,9 @@ func (x *Squeezer) SetYalign(YalignVar float32) { | |||||
| 379 | } | 379 | } | ||
| 380 | 380 | ||||
| 381 | func (c *Squeezer) GoPointer() uintptr { | 381 | func (c *Squeezer) GoPointer() uintptr { | ||
| 382 | + | if c == nil { | |||
| 383 | + | return 0 | |||
| 384 | + | } | |||
| 382 | return c.Ptr | 385 | return c.Ptr | ||
| 383 | } | 386 | } | ||
| 384 | 387 | ||||
| @@ -605,6 +608,9 @@ func (x *SqueezerPage) SetEnabled(EnabledVar bool) { | |||||
| 605 | } | 608 | } | ||
| 606 | 609 | ||||
| 607 | func (c *SqueezerPage) GoPointer() uintptr { | 610 | func (c *SqueezerPage) GoPointer() uintptr { | ||
| 611 | + | if c == nil { | |||
| 612 | + | return 0 | |||
| 613 | + | } | |||
| 608 | return c.Ptr | 614 | return c.Ptr | ||
| 609 | } | 615 | } | ||
| 610 | 616 | ||||
M v4/adw/adw-status-page.go +3 -0
| @@ -204,6 +204,9 @@ func (x *StatusPage) SetTitle(TitleVar string) { | |||
| 204 | 204 | } | |
| 205 | 205 | ||
| 206 | 206 | func (c *StatusPage) GoPointer() uintptr { | |
| 207 | + | if c == nil { | |
| 208 | + | return 0 | |
| 209 | + | } | |
| 207 | 210 | return c.Ptr | |
| 208 | 211 | } | |
| 209 | 212 | ||
| @@ -204,6 +204,9 @@ func (x *StatusPage) SetTitle(TitleVar string) { | |||||
| 204 | } | 204 | } | ||
| 205 | 205 | ||||
| 206 | func (c *StatusPage) GoPointer() uintptr { | 206 | func (c *StatusPage) GoPointer() uintptr { | ||
| 207 | + | if c == nil { | |||
| 208 | + | return 0 | |||
| 209 | + | } | |||
| 207 | return c.Ptr | 210 | return c.Ptr | ||
| 208 | } | 211 | } | ||
| 209 | 212 | ||||
M v4/adw/adw-style-manager.go +3 -0
| @@ -220,6 +220,9 @@ func (x *StyleManager) SetColorScheme(ColorSchemeVar ColorScheme) { | |||
| 220 | 220 | } | |
| 221 | 221 | ||
| 222 | 222 | func (c *StyleManager) GoPointer() uintptr { | |
| 223 | + | if c == nil { | |
| 224 | + | return 0 | |
| 225 | + | } | |
| 223 | 226 | return c.Ptr | |
| 224 | 227 | } | |
| 225 | 228 | ||
| @@ -220,6 +220,9 @@ func (x *StyleManager) SetColorScheme(ColorSchemeVar ColorScheme) { | |||||
| 220 | } | 220 | } | ||
| 221 | 221 | ||||
| 222 | func (c *StyleManager) GoPointer() uintptr { | 222 | func (c *StyleManager) GoPointer() uintptr { | ||
| 223 | + | if c == nil { | |||
| 224 | + | return 0 | |||
| 225 | + | } | |||
| 223 | return c.Ptr | 226 | return c.Ptr | ||
| 224 | } | 227 | } | ||
| 225 | 228 | ||||
M v4/adw/adw-swipe-tracker.go +3 -0
| @@ -233,6 +233,9 @@ func (x *SwipeTracker) ShiftPosition(DeltaVar float64) { | |||
| 233 | 233 | } | |
| 234 | 234 | ||
| 235 | 235 | func (c *SwipeTracker) GoPointer() uintptr { | |
| 236 | + | if c == nil { | |
| 237 | + | return 0 | |
| 238 | + | } | |
| 236 | 239 | return c.Ptr | |
| 237 | 240 | } | |
| 238 | 241 | ||
| @@ -233,6 +233,9 @@ func (x *SwipeTracker) ShiftPosition(DeltaVar float64) { | |||||
| 233 | } | 233 | } | ||
| 234 | 234 | ||||
| 235 | func (c *SwipeTracker) GoPointer() uintptr { | 235 | func (c *SwipeTracker) GoPointer() uintptr { | ||
| 236 | + | if c == nil { | |||
| 237 | + | return 0 | |||
| 238 | + | } | |||
| 236 | return c.Ptr | 239 | return c.Ptr | ||
| 237 | } | 240 | } | ||
| 238 | 241 | ||||
M v4/adw/adw-swipeable.go +3 -0
| @@ -50,6 +50,9 @@ type SwipeableBase struct { | |||
| 50 | 50 | } | |
| 51 | 51 | ||
| 52 | 52 | func (x *SwipeableBase) GoPointer() uintptr { | |
| 53 | + | if x == nil { | |
| 54 | + | return 0 | |
| 55 | + | } | |
| 53 | 56 | return x.Ptr | |
| 54 | 57 | } | |
| 55 | 58 | ||
| @@ -50,6 +50,9 @@ type SwipeableBase struct { | |||||
| 50 | } | 50 | } | ||
| 51 | 51 | ||||
| 52 | func (x *SwipeableBase) GoPointer() uintptr { | 52 | func (x *SwipeableBase) GoPointer() uintptr { | ||
| 53 | + | if x == nil { | |||
| 54 | + | return 0 | |||
| 55 | + | } | |||
| 53 | return x.Ptr | 56 | return x.Ptr | ||
| 54 | } | 57 | } | ||
| 55 | 58 | ||||
M v4/adw/adw-switch-row.go +3 -0
| @@ -109,6 +109,9 @@ func (x *SwitchRow) SetActive(IsActiveVar bool) { | |||
| 109 | 109 | } | |
| 110 | 110 | ||
| 111 | 111 | func (c *SwitchRow) GoPointer() uintptr { | |
| 112 | + | if c == nil { | |
| 113 | + | return 0 | |
| 114 | + | } | |
| 112 | 115 | return c.Ptr | |
| 113 | 116 | } | |
| 114 | 117 | ||
| @@ -109,6 +109,9 @@ func (x *SwitchRow) SetActive(IsActiveVar bool) { | |||||
| 109 | } | 109 | } | ||
| 110 | 110 | ||||
| 111 | func (c *SwitchRow) GoPointer() uintptr { | 111 | func (c *SwitchRow) GoPointer() uintptr { | ||
| 112 | + | if c == nil { | |||
| 113 | + | return 0 | |||
| 114 | + | } | |||
| 112 | return c.Ptr | 115 | return c.Ptr | ||
| 113 | } | 116 | } | ||
| 114 | 117 | ||||
M v4/adw/adw-tab-bar.go +3 -0
| @@ -307,6 +307,9 @@ func (x *TabBar) SetupExtraDropTarget(ActionsVar gdk.DragAction, TypesVar []type | |||
| 307 | 307 | } | |
| 308 | 308 | ||
| 309 | 309 | func (c *TabBar) GoPointer() uintptr { | |
| 310 | + | if c == nil { | |
| 311 | + | return 0 | |
| 312 | + | } | |
| 310 | 313 | return c.Ptr | |
| 311 | 314 | } | |
| 312 | 315 | ||
| @@ -307,6 +307,9 @@ func (x *TabBar) SetupExtraDropTarget(ActionsVar gdk.DragAction, TypesVar []type | |||||
| 307 | } | 307 | } | ||
| 308 | 308 | ||||
| 309 | func (c *TabBar) GoPointer() uintptr { | 309 | func (c *TabBar) GoPointer() uintptr { | ||
| 310 | + | if c == nil { | |||
| 311 | + | return 0 | |||
| 312 | + | } | |||
| 310 | return c.Ptr | 313 | return c.Ptr | ||
| 311 | } | 314 | } | ||
| 312 | 315 | ||||
M v4/adw/adw-tab-button.go +3 -0
| @@ -115,6 +115,9 @@ func (x *TabButton) SetView(ViewVar *TabView) { | |||
| 115 | 115 | } | |
| 116 | 116 | ||
| 117 | 117 | func (c *TabButton) GoPointer() uintptr { | |
| 118 | + | if c == nil { | |
| 119 | + | return 0 | |
| 120 | + | } | |
| 118 | 121 | return c.Ptr | |
| 119 | 122 | } | |
| 120 | 123 | ||
| @@ -115,6 +115,9 @@ func (x *TabButton) SetView(ViewVar *TabView) { | |||||
| 115 | } | 115 | } | ||
| 116 | 116 | ||||
| 117 | func (c *TabButton) GoPointer() uintptr { | 117 | func (c *TabButton) GoPointer() uintptr { | ||
| 118 | + | if c == nil { | |||
| 119 | + | return 0 | |||
| 120 | + | } | |||
| 118 | return c.Ptr | 121 | return c.Ptr | ||
| 119 | } | 122 | } | ||
| 120 | 123 | ||||
M v4/adw/adw-tab-overview.go +3 -0
| @@ -385,6 +385,9 @@ func (x *TabOverview) SetupExtraDropTarget(ActionsVar gdk.DragAction, TypesVar [ | |||
| 385 | 385 | } | |
| 386 | 386 | ||
| 387 | 387 | func (c *TabOverview) GoPointer() uintptr { | |
| 388 | + | if c == nil { | |
| 389 | + | return 0 | |
| 390 | + | } | |
| 388 | 391 | return c.Ptr | |
| 389 | 392 | } | |
| 390 | 393 | ||
| @@ -385,6 +385,9 @@ func (x *TabOverview) SetupExtraDropTarget(ActionsVar gdk.DragAction, TypesVar [ | |||||
| 385 | } | 385 | } | ||
| 386 | 386 | ||||
| 387 | func (c *TabOverview) GoPointer() uintptr { | 387 | func (c *TabOverview) GoPointer() uintptr { | ||
| 388 | + | if c == nil { | |||
| 389 | + | return 0 | |||
| 390 | + | } | |||
| 388 | return c.Ptr | 391 | return c.Ptr | ||
| 389 | } | 392 | } | ||
| 390 | 393 | ||||
M v4/adw/adw-tab-view.go +6 -0
| @@ -498,6 +498,9 @@ func (x *TabPage) SetTooltip(TooltipVar string) { | |||
| 498 | 498 | } | |
| 499 | 499 | ||
| 500 | 500 | func (c *TabPage) GoPointer() uintptr { | |
| 501 | + | if c == nil { | |
| 502 | + | return 0 | |
| 503 | + | } | |
| 501 | 504 | return c.Ptr | |
| 502 | 505 | } | |
| 503 | 506 | ||
| @@ -1289,6 +1292,9 @@ func (x *TabView) TransferPage(PageVar *TabPage, OtherViewVar *TabView, Position | |||
| 1289 | 1292 | } | |
| 1290 | 1293 | ||
| 1291 | 1294 | func (c *TabView) GoPointer() uintptr { | |
| 1295 | + | if c == nil { | |
| 1296 | + | return 0 | |
| 1297 | + | } | |
| 1292 | 1298 | return c.Ptr | |
| 1293 | 1299 | } | |
| 1294 | 1300 | ||
| @@ -498,6 +498,9 @@ func (x *TabPage) SetTooltip(TooltipVar string) { | |||||
| 498 | } | 498 | } | ||
| 499 | 499 | ||||
| 500 | func (c *TabPage) GoPointer() uintptr { | 500 | func (c *TabPage) GoPointer() uintptr { | ||
| 501 | + | if c == nil { | |||
| 502 | + | return 0 | |||
| 503 | + | } | |||
| 501 | return c.Ptr | 504 | return c.Ptr | ||
| 502 | } | 505 | } | ||
| 503 | 506 | ||||
| @@ -1289,6 +1292,9 @@ func (x *TabView) TransferPage(PageVar *TabPage, OtherViewVar *TabView, Position | |||||
| 1289 | } | 1292 | } | ||
| 1290 | 1293 | ||||
| 1291 | func (c *TabView) GoPointer() uintptr { | 1294 | func (c *TabView) GoPointer() uintptr { | ||
| 1295 | + | if c == nil { | |||
| 1296 | + | return 0 | |||
| 1297 | + | } | |||
| 1292 | return c.Ptr | 1298 | return c.Ptr | ||
| 1293 | } | 1299 | } | ||
| 1294 | 1300 | ||||
M v4/adw/adw-timed-animation.go +3 -0
| @@ -215,6 +215,9 @@ func (x *TimedAnimation) SetValueTo(ValueVar float64) { | |||
| 215 | 215 | } | |
| 216 | 216 | ||
| 217 | 217 | func (c *TimedAnimation) GoPointer() uintptr { | |
| 218 | + | if c == nil { | |
| 219 | + | return 0 | |
| 220 | + | } | |
| 218 | 221 | return c.Ptr | |
| 219 | 222 | } | |
| 220 | 223 | ||
| @@ -215,6 +215,9 @@ func (x *TimedAnimation) SetValueTo(ValueVar float64) { | |||||
| 215 | } | 215 | } | ||
| 216 | 216 | ||||
| 217 | func (c *TimedAnimation) GoPointer() uintptr { | 217 | func (c *TimedAnimation) GoPointer() uintptr { | ||
| 218 | + | if c == nil { | |||
| 219 | + | return 0 | |||
| 220 | + | } | |||
| 218 | return c.Ptr | 221 | return c.Ptr | ||
| 219 | } | 222 | } | ||
| 220 | 223 | ||||
M v4/adw/adw-toast-overlay.go +3 -0
| @@ -143,6 +143,9 @@ func (x *ToastOverlay) SetChild(ChildVar *gtk.Widget) { | |||
| 143 | 143 | } | |
| 144 | 144 | ||
| 145 | 145 | func (c *ToastOverlay) GoPointer() uintptr { | |
| 146 | + | if c == nil { | |
| 147 | + | return 0 | |
| 148 | + | } | |
| 146 | 149 | return c.Ptr | |
| 147 | 150 | } | |
| 148 | 151 | ||
| @@ -143,6 +143,9 @@ func (x *ToastOverlay) SetChild(ChildVar *gtk.Widget) { | |||||
| 143 | } | 143 | } | ||
| 144 | 144 | ||||
| 145 | func (c *ToastOverlay) GoPointer() uintptr { | 145 | func (c *ToastOverlay) GoPointer() uintptr { | ||
| 146 | + | if c == nil { | |||
| 147 | + | return 0 | |||
| 148 | + | } | |||
| 146 | return c.Ptr | 149 | return c.Ptr | ||
| 147 | } | 150 | } | ||
| 148 | 151 | ||||
M v4/adw/adw-toast.go +3 -0
| @@ -469,6 +469,9 @@ func (x *Toast) SetUseMarkup(UseMarkupVar bool) { | |||
| 469 | 469 | } | |
| 470 | 470 | ||
| 471 | 471 | func (c *Toast) GoPointer() uintptr { | |
| 472 | + | if c == nil { | |
| 473 | + | return 0 | |
| 474 | + | } | |
| 472 | 475 | return c.Ptr | |
| 473 | 476 | } | |
| 474 | 477 | ||
| @@ -469,6 +469,9 @@ func (x *Toast) SetUseMarkup(UseMarkupVar bool) { | |||||
| 469 | } | 469 | } | ||
| 470 | 470 | ||||
| 471 | func (c *Toast) GoPointer() uintptr { | 471 | func (c *Toast) GoPointer() uintptr { | ||
| 472 | + | if c == nil { | |||
| 473 | + | return 0 | |||
| 474 | + | } | |||
| 472 | return c.Ptr | 475 | return c.Ptr | ||
| 473 | } | 476 | } | ||
| 474 | 477 | ||||
M v4/adw/adw-toolbar-view.go +3 -0
| @@ -495,6 +495,9 @@ func (x *ToolbarView) SetTopBarStyle(StyleVar ToolbarStyle) { | |||
| 495 | 495 | } | |
| 496 | 496 | ||
| 497 | 497 | func (c *ToolbarView) GoPointer() uintptr { | |
| 498 | + | if c == nil { | |
| 499 | + | return 0 | |
| 500 | + | } | |
| 498 | 501 | return c.Ptr | |
| 499 | 502 | } | |
| 500 | 503 | ||
| @@ -495,6 +495,9 @@ func (x *ToolbarView) SetTopBarStyle(StyleVar ToolbarStyle) { | |||||
| 495 | } | 495 | } | ||
| 496 | 496 | ||||
| 497 | func (c *ToolbarView) GoPointer() uintptr { | 497 | func (c *ToolbarView) GoPointer() uintptr { | ||
| 498 | + | if c == nil { | |||
| 499 | + | return 0 | |||
| 500 | + | } | |||
| 498 | return c.Ptr | 501 | return c.Ptr | ||
| 499 | } | 502 | } | ||
| 500 | 503 | ||||
M v4/adw/adw-view-stack.go +9 -0
| @@ -366,6 +366,9 @@ func (x *ViewStack) SetVisibleChildName(NameVar string) { | |||
| 366 | 366 | } | |
| 367 | 367 | ||
| 368 | 368 | func (c *ViewStack) GoPointer() uintptr { | |
| 369 | + | if c == nil { | |
| 370 | + | return 0 | |
| 371 | + | } | |
| 369 | 372 | return c.Ptr | |
| 370 | 373 | } | |
| 371 | 374 | ||
| @@ -690,6 +693,9 @@ func (x *ViewStackPage) SetVisible(VisibleVar bool) { | |||
| 690 | 693 | } | |
| 691 | 694 | ||
| 692 | 695 | func (c *ViewStackPage) GoPointer() uintptr { | |
| 696 | + | if c == nil { | |
| 697 | + | return 0 | |
| 698 | + | } | |
| 693 | 699 | return c.Ptr | |
| 694 | 700 | } | |
| 695 | 701 | ||
| @@ -882,6 +888,9 @@ func (x *ViewStackPages) SetSelectedPage(PageVar *ViewStackPage) { | |||
| 882 | 888 | } | |
| 883 | 889 | ||
| 884 | 890 | func (c *ViewStackPages) GoPointer() uintptr { | |
| 891 | + | if c == nil { | |
| 892 | + | return 0 | |
| 893 | + | } | |
| 885 | 894 | return c.Ptr | |
| 886 | 895 | } | |
| 887 | 896 | ||
| @@ -366,6 +366,9 @@ func (x *ViewStack) SetVisibleChildName(NameVar string) { | |||||
| 366 | } | 366 | } | ||
| 367 | 367 | ||||
| 368 | func (c *ViewStack) GoPointer() uintptr { | 368 | func (c *ViewStack) GoPointer() uintptr { | ||
| 369 | + | if c == nil { | |||
| 370 | + | return 0 | |||
| 371 | + | } | |||
| 369 | return c.Ptr | 372 | return c.Ptr | ||
| 370 | } | 373 | } | ||
| 371 | 374 | ||||
| @@ -690,6 +693,9 @@ func (x *ViewStackPage) SetVisible(VisibleVar bool) { | |||||
| 690 | } | 693 | } | ||
| 691 | 694 | ||||
| 692 | func (c *ViewStackPage) GoPointer() uintptr { | 695 | func (c *ViewStackPage) GoPointer() uintptr { | ||
| 696 | + | if c == nil { | |||
| 697 | + | return 0 | |||
| 698 | + | } | |||
| 693 | return c.Ptr | 699 | return c.Ptr | ||
| 694 | } | 700 | } | ||
| 695 | 701 | ||||
| @@ -882,6 +888,9 @@ func (x *ViewStackPages) SetSelectedPage(PageVar *ViewStackPage) { | |||||
| 882 | } | 888 | } | ||
| 883 | 889 | ||||
| 884 | func (c *ViewStackPages) GoPointer() uintptr { | 890 | func (c *ViewStackPages) GoPointer() uintptr { | ||
| 891 | + | if c == nil { | |||
| 892 | + | return 0 | |||
| 893 | + | } | |||
| 885 | return c.Ptr | 894 | return c.Ptr | ||
| 886 | } | 895 | } | ||
| 887 | 896 | ||||
M v4/adw/adw-view-switcher-bar.go +3 -0
| @@ -163,6 +163,9 @@ func (x *ViewSwitcherBar) SetStack(StackVar *ViewStack) { | |||
| 163 | 163 | } | |
| 164 | 164 | ||
| 165 | 165 | func (c *ViewSwitcherBar) GoPointer() uintptr { | |
| 166 | + | if c == nil { | |
| 167 | + | return 0 | |
| 168 | + | } | |
| 166 | 169 | return c.Ptr | |
| 167 | 170 | } | |
| 168 | 171 | ||
| @@ -163,6 +163,9 @@ func (x *ViewSwitcherBar) SetStack(StackVar *ViewStack) { | |||||
| 163 | } | 163 | } | ||
| 164 | 164 | ||||
| 165 | func (c *ViewSwitcherBar) GoPointer() uintptr { | 165 | func (c *ViewSwitcherBar) GoPointer() uintptr { | ||
| 166 | + | if c == nil { | |||
| 167 | + | return 0 | |||
| 168 | + | } | |||
| 166 | return c.Ptr | 169 | return c.Ptr | ||
| 167 | } | 170 | } | ||
| 168 | 171 | ||||
M v4/adw/adw-view-switcher-title.go +3 -0
| @@ -223,6 +223,9 @@ func (x *ViewSwitcherTitle) SetViewSwitcherEnabled(EnabledVar bool) { | |||
| 223 | 223 | } | |
| 224 | 224 | ||
| 225 | 225 | func (c *ViewSwitcherTitle) GoPointer() uintptr { | |
| 226 | + | if c == nil { | |
| 227 | + | return 0 | |
| 228 | + | } | |
| 226 | 229 | return c.Ptr | |
| 227 | 230 | } | |
| 228 | 231 | ||
| @@ -223,6 +223,9 @@ func (x *ViewSwitcherTitle) SetViewSwitcherEnabled(EnabledVar bool) { | |||||
| 223 | } | 223 | } | ||
| 224 | 224 | ||||
| 225 | func (c *ViewSwitcherTitle) GoPointer() uintptr { | 225 | func (c *ViewSwitcherTitle) GoPointer() uintptr { | ||
| 226 | + | if c == nil { | |||
| 227 | + | return 0 | |||
| 228 | + | } | |||
| 226 | return c.Ptr | 229 | return c.Ptr | ||
| 227 | } | 230 | } | ||
| 228 | 231 | ||||
M v4/adw/adw-view-switcher.go +3 -0
| @@ -189,6 +189,9 @@ func (x *ViewSwitcher) SetStack(StackVar *ViewStack) { | |||
| 189 | 189 | } | |
| 190 | 190 | ||
| 191 | 191 | func (c *ViewSwitcher) GoPointer() uintptr { | |
| 192 | + | if c == nil { | |
| 193 | + | return 0 | |
| 194 | + | } | |
| 192 | 195 | return c.Ptr | |
| 193 | 196 | } | |
| 194 | 197 | ||
| @@ -189,6 +189,9 @@ func (x *ViewSwitcher) SetStack(StackVar *ViewStack) { | |||||
| 189 | } | 189 | } | ||
| 190 | 190 | ||||
| 191 | func (c *ViewSwitcher) GoPointer() uintptr { | 191 | func (c *ViewSwitcher) GoPointer() uintptr { | ||
| 192 | + | if c == nil { | |||
| 193 | + | return 0 | |||
| 194 | + | } | |||
| 192 | return c.Ptr | 195 | return c.Ptr | ||
| 193 | } | 196 | } | ||
| 194 | 197 | ||||
M v4/adw/adw-window-title.go +3 -0
| @@ -112,6 +112,9 @@ func (x *WindowTitle) SetTitle(TitleVar string) { | |||
| 112 | 112 | } | |
| 113 | 113 | ||
| 114 | 114 | func (c *WindowTitle) GoPointer() uintptr { | |
| 115 | + | if c == nil { | |
| 116 | + | return 0 | |
| 117 | + | } | |
| 115 | 118 | return c.Ptr | |
| 116 | 119 | } | |
| 117 | 120 | ||
| @@ -112,6 +112,9 @@ func (x *WindowTitle) SetTitle(TitleVar string) { | |||||
| 112 | } | 112 | } | ||
| 113 | 113 | ||||
| 114 | func (c *WindowTitle) GoPointer() uintptr { | 114 | func (c *WindowTitle) GoPointer() uintptr { | ||
| 115 | + | if c == nil { | |||
| 116 | + | return 0 | |||
| 117 | + | } | |||
| 115 | return c.Ptr | 118 | return c.Ptr | ||
| 116 | } | 119 | } | ||
| 117 | 120 | ||||
M v4/adw/adw-window.go +3 -0
| @@ -231,6 +231,9 @@ func (x *Window) SetContent(ContentVar *gtk.Widget) { | |||
| 231 | 231 | } | |
| 232 | 232 | ||
| 233 | 233 | func (c *Window) GoPointer() uintptr { | |
| 234 | + | if c == nil { | |
| 235 | + | return 0 | |
| 236 | + | } | |
| 234 | 237 | return c.Ptr | |
| 235 | 238 | } | |
| 236 | 239 | ||
| @@ -231,6 +231,9 @@ func (x *Window) SetContent(ContentVar *gtk.Widget) { | |||||
| 231 | } | 231 | } | ||
| 232 | 232 | ||||
| 233 | func (c *Window) GoPointer() uintptr { | 233 | func (c *Window) GoPointer() uintptr { | ||
| 234 | + | if c == nil { | |||
| 235 | + | return 0 | |||
| 236 | + | } | |||
| 234 | return c.Ptr | 237 | return c.Ptr | ||
| 235 | } | 238 | } | ||
| 236 | 239 | ||||
M v4/gdk/gdkapplaunchcontext.go +3 -0
| @@ -133,6 +133,9 @@ func (x *AppLaunchContext) SetTimestamp(TimestampVar uint32) { | |||
| 133 | 133 | } | |
| 134 | 134 | ||
| 135 | 135 | func (c *AppLaunchContext) GoPointer() uintptr { | |
| 136 | + | if c == nil { | |
| 137 | + | return 0 | |
| 138 | + | } | |
| 136 | 139 | return c.Ptr | |
| 137 | 140 | } | |
| 138 | 141 | ||
| @@ -133,6 +133,9 @@ func (x *AppLaunchContext) SetTimestamp(TimestampVar uint32) { | |||||
| 133 | } | 133 | } | ||
| 134 | 134 | ||||
| 135 | func (c *AppLaunchContext) GoPointer() uintptr { | 135 | func (c *AppLaunchContext) GoPointer() uintptr { | ||
| 136 | + | if c == nil { | |||
| 137 | + | return 0 | |||
| 138 | + | } | |||
| 136 | return c.Ptr | 139 | return c.Ptr | ||
| 137 | } | 140 | } | ||
| 138 | 141 | ||||
M v4/gdk/gdkcairocontext.go +3 -0
| @@ -47,6 +47,9 @@ func (x *CairoContext) CairoCreate() *cairo.Context { | |||
| 47 | 47 | } | |
| 48 | 48 | ||
| 49 | 49 | func (c *CairoContext) GoPointer() uintptr { | |
| 50 | + | if c == nil { | |
| 51 | + | return 0 | |
| 52 | + | } | |
| 50 | 53 | return c.Ptr | |
| 51 | 54 | } | |
| 52 | 55 | ||
| @@ -47,6 +47,9 @@ func (x *CairoContext) CairoCreate() *cairo.Context { | |||||
| 47 | } | 47 | } | ||
| 48 | 48 | ||||
| 49 | func (c *CairoContext) GoPointer() uintptr { | 49 | func (c *CairoContext) GoPointer() uintptr { | ||
| 50 | + | if c == nil { | |||
| 51 | + | return 0 | |||
| 52 | + | } | |||
| 50 | return c.Ptr | 53 | return c.Ptr | ||
| 51 | } | 54 | } | ||
| 52 | 55 | ||||
M v4/gdk/gdkclipboard.go +3 -0
| @@ -362,6 +362,9 @@ func (x *Clipboard) StoreFinish(ResultVar gio.AsyncResult) (bool, error) { | |||
| 362 | 362 | } | |
| 363 | 363 | ||
| 364 | 364 | func (c *Clipboard) GoPointer() uintptr { | |
| 365 | + | if c == nil { | |
| 366 | + | return 0 | |
| 367 | + | } | |
| 365 | 368 | return c.Ptr | |
| 366 | 369 | } | |
| 367 | 370 | ||
| @@ -362,6 +362,9 @@ func (x *Clipboard) StoreFinish(ResultVar gio.AsyncResult) (bool, error) { | |||||
| 362 | } | 362 | } | ||
| 363 | 363 | ||||
| 364 | func (c *Clipboard) GoPointer() uintptr { | 364 | func (c *Clipboard) GoPointer() uintptr { | ||
| 365 | + | if c == nil { | |||
| 366 | + | return 0 | |||
| 367 | + | } | |||
| 365 | return c.Ptr | 368 | return c.Ptr | ||
| 366 | } | 369 | } | ||
| 367 | 370 | ||||
M v4/gdk/gdkcontentdeserializer.go +3 -0
| @@ -208,6 +208,9 @@ func (x *ContentDeserializer) SetTaskData(DataVar uintptr, NotifyVar *glib.Destr | |||
| 208 | 208 | } | |
| 209 | 209 | ||
| 210 | 210 | func (c *ContentDeserializer) GoPointer() uintptr { | |
| 211 | + | if c == nil { | |
| 212 | + | return 0 | |
| 213 | + | } | |
| 211 | 214 | return c.Ptr | |
| 212 | 215 | } | |
| 213 | 216 | ||
| @@ -208,6 +208,9 @@ func (x *ContentDeserializer) SetTaskData(DataVar uintptr, NotifyVar *glib.Destr | |||||
| 208 | } | 208 | } | ||
| 209 | 209 | ||||
| 210 | func (c *ContentDeserializer) GoPointer() uintptr { | 210 | func (c *ContentDeserializer) GoPointer() uintptr { | ||
| 211 | + | if c == nil { | |||
| 212 | + | return 0 | |||
| 213 | + | } | |||
| 211 | return c.Ptr | 214 | return c.Ptr | ||
| 212 | } | 215 | } | ||
| 213 | 216 | ||||
M v4/gdk/gdkcontentprovider.go +3 -0
| @@ -225,6 +225,9 @@ func (x *ContentProvider) WriteMimeTypeFinish(ResultVar gio.AsyncResult) (bool, | |||
| 225 | 225 | } | |
| 226 | 226 | ||
| 227 | 227 | func (c *ContentProvider) GoPointer() uintptr { | |
| 228 | + | if c == nil { | |
| 229 | + | return 0 | |
| 230 | + | } | |
| 228 | 231 | return c.Ptr | |
| 229 | 232 | } | |
| 230 | 233 | ||
| @@ -225,6 +225,9 @@ func (x *ContentProvider) WriteMimeTypeFinish(ResultVar gio.AsyncResult) (bool, | |||||
| 225 | } | 225 | } | ||
| 226 | 226 | ||||
| 227 | func (c *ContentProvider) GoPointer() uintptr { | 227 | func (c *ContentProvider) GoPointer() uintptr { | ||
| 228 | + | if c == nil { | |||
| 229 | + | return 0 | |||
| 230 | + | } | |||
| 228 | return c.Ptr | 231 | return c.Ptr | ||
| 229 | } | 232 | } | ||
| 230 | 233 | ||||
M v4/gdk/gdkcontentserializer.go +3 -0
| @@ -209,6 +209,9 @@ func (x *ContentSerializer) SetTaskData(DataVar uintptr, NotifyVar *glib.Destroy | |||
| 209 | 209 | } | |
| 210 | 210 | ||
| 211 | 211 | func (c *ContentSerializer) GoPointer() uintptr { | |
| 212 | + | if c == nil { | |
| 213 | + | return 0 | |
| 214 | + | } | |
| 212 | 215 | return c.Ptr | |
| 213 | 216 | } | |
| 214 | 217 | ||
| @@ -209,6 +209,9 @@ func (x *ContentSerializer) SetTaskData(DataVar uintptr, NotifyVar *glib.Destroy | |||||
| 209 | } | 209 | } | ||
| 210 | 210 | ||||
| 211 | func (c *ContentSerializer) GoPointer() uintptr { | 211 | func (c *ContentSerializer) GoPointer() uintptr { | ||
| 212 | + | if c == nil { | |||
| 213 | + | return 0 | |||
| 214 | + | } | |||
| 212 | return c.Ptr | 215 | return c.Ptr | ||
| 213 | } | 216 | } | ||
| 214 | 217 | ||||
M v4/gdk/gdkcursor.go +3 -0
| @@ -189,6 +189,9 @@ func (x *Cursor) GetTexture() *Texture { | |||
| 189 | 189 | } | |
| 190 | 190 | ||
| 191 | 191 | func (c *Cursor) GoPointer() uintptr { | |
| 192 | + | if c == nil { | |
| 193 | + | return 0 | |
| 194 | + | } | |
| 192 | 195 | return c.Ptr | |
| 193 | 196 | } | |
| 194 | 197 | ||
| @@ -189,6 +189,9 @@ func (x *Cursor) GetTexture() *Texture { | |||||
| 189 | } | 189 | } | ||
| 190 | 190 | ||||
| 191 | func (c *Cursor) GoPointer() uintptr { | 191 | func (c *Cursor) GoPointer() uintptr { | ||
| 192 | + | if c == nil { | |||
| 193 | + | return 0 | |||
| 194 | + | } | |||
| 192 | return c.Ptr | 195 | return c.Ptr | ||
| 193 | } | 196 | } | ||
| 194 | 197 | ||||
M v4/gdk/gdkdevice.go +3 -0
| @@ -330,6 +330,9 @@ func (x *Device) HasBidiLayouts() bool { | |||
| 330 | 330 | } | |
| 331 | 331 | ||
| 332 | 332 | func (c *Device) GoPointer() uintptr { | |
| 333 | + | if c == nil { | |
| 334 | + | return 0 | |
| 335 | + | } | |
| 333 | 336 | return c.Ptr | |
| 334 | 337 | } | |
| 335 | 338 | ||
| @@ -330,6 +330,9 @@ func (x *Device) HasBidiLayouts() bool { | |||||
| 330 | } | 330 | } | ||
| 331 | 331 | ||||
| 332 | func (c *Device) GoPointer() uintptr { | 332 | func (c *Device) GoPointer() uintptr { | ||
| 333 | + | if c == nil { | |||
| 334 | + | return 0 | |||
| 335 | + | } | |||
| 333 | return c.Ptr | 336 | return c.Ptr | ||
| 334 | } | 337 | } | ||
| 335 | 338 | ||||
M v4/gdk/gdkdevicepad.go +3 -0
| @@ -55,6 +55,9 @@ type DevicePadBase struct { | |||
| 55 | 55 | } | |
| 56 | 56 | ||
| 57 | 57 | func (x *DevicePadBase) GoPointer() uintptr { | |
| 58 | + | if x == nil { | |
| 59 | + | return 0 | |
| 60 | + | } | |
| 58 | 61 | return x.Ptr | |
| 59 | 62 | } | |
| 60 | 63 | ||
| @@ -55,6 +55,9 @@ type DevicePadBase struct { | |||||
| 55 | } | 55 | } | ||
| 56 | 56 | ||||
| 57 | func (x *DevicePadBase) GoPointer() uintptr { | 57 | func (x *DevicePadBase) GoPointer() uintptr { | ||
| 58 | + | if x == nil { | |||
| 59 | + | return 0 | |||
| 60 | + | } | |||
| 58 | return x.Ptr | 61 | return x.Ptr | ||
| 59 | } | 62 | } | ||
| 60 | 63 | ||||
M v4/gdk/gdkdevicetool.go +3 -0
| @@ -105,6 +105,9 @@ func (x *DeviceTool) GetToolType() DeviceToolType { | |||
| 105 | 105 | } | |
| 106 | 106 | ||
| 107 | 107 | func (c *DeviceTool) GoPointer() uintptr { | |
| 108 | + | if c == nil { | |
| 109 | + | return 0 | |
| 110 | + | } | |
| 108 | 111 | return c.Ptr | |
| 109 | 112 | } | |
| 110 | 113 | ||
| @@ -105,6 +105,9 @@ func (x *DeviceTool) GetToolType() DeviceToolType { | |||||
| 105 | } | 105 | } | ||
| 106 | 106 | ||||
| 107 | func (c *DeviceTool) GoPointer() uintptr { | 107 | func (c *DeviceTool) GoPointer() uintptr { | ||
| 108 | + | if c == nil { | |||
| 109 | + | return 0 | |||
| 110 | + | } | |||
| 108 | return c.Ptr | 111 | return c.Ptr | ||
| 109 | } | 112 | } | ||
| 110 | 113 | ||||
M v4/gdk/gdkdisplay.go +3 -0
| @@ -475,6 +475,9 @@ func (x *Display) TranslateKey(KeycodeVar uint, StateVar ModifierType, GroupVar | |||
| 475 | 475 | } | |
| 476 | 476 | ||
| 477 | 477 | func (c *Display) GoPointer() uintptr { | |
| 478 | + | if c == nil { | |
| 479 | + | return 0 | |
| 480 | + | } | |
| 478 | 481 | return c.Ptr | |
| 479 | 482 | } | |
| 480 | 483 | ||
| @@ -475,6 +475,9 @@ func (x *Display) TranslateKey(KeycodeVar uint, StateVar ModifierType, GroupVar | |||||
| 475 | } | 475 | } | ||
| 476 | 476 | ||||
| 477 | func (c *Display) GoPointer() uintptr { | 477 | func (c *Display) GoPointer() uintptr { | ||
| 478 | + | if c == nil { | |||
| 479 | + | return 0 | |||
| 480 | + | } | |||
| 478 | return c.Ptr | 481 | return c.Ptr | ||
| 479 | } | 482 | } | ||
| 480 | 483 | ||||
M v4/gdk/gdkdisplaymanager.go +3 -0
| @@ -169,6 +169,9 @@ func (x *DisplayManager) SetDefaultDisplay(DisplayVar *Display) { | |||
| 169 | 169 | } | |
| 170 | 170 | ||
| 171 | 171 | func (c *DisplayManager) GoPointer() uintptr { | |
| 172 | + | if c == nil { | |
| 173 | + | return 0 | |
| 174 | + | } | |
| 172 | 175 | return c.Ptr | |
| 173 | 176 | } | |
| 174 | 177 | ||
| @@ -169,6 +169,9 @@ func (x *DisplayManager) SetDefaultDisplay(DisplayVar *Display) { | |||||
| 169 | } | 169 | } | ||
| 170 | 170 | ||||
| 171 | func (c *DisplayManager) GoPointer() uintptr { | 171 | func (c *DisplayManager) GoPointer() uintptr { | ||
| 172 | + | if c == nil { | |||
| 173 | + | return 0 | |||
| 174 | + | } | |||
| 172 | return c.Ptr | 175 | return c.Ptr | ||
| 173 | } | 176 | } | ||
| 174 | 177 | ||||
M v4/gdk/gdkdrag.go +3 -0
| @@ -219,6 +219,9 @@ func (x *Drag) SetHotspot(HotXVar int, HotYVar int) { | |||
| 219 | 219 | } | |
| 220 | 220 | ||
| 221 | 221 | func (c *Drag) GoPointer() uintptr { | |
| 222 | + | if c == nil { | |
| 223 | + | return 0 | |
| 224 | + | } | |
| 222 | 225 | return c.Ptr | |
| 223 | 226 | } | |
| 224 | 227 | ||
| @@ -219,6 +219,9 @@ func (x *Drag) SetHotspot(HotXVar int, HotYVar int) { | |||||
| 219 | } | 219 | } | ||
| 220 | 220 | ||||
| 221 | func (c *Drag) GoPointer() uintptr { | 221 | func (c *Drag) GoPointer() uintptr { | ||
| 222 | + | if c == nil { | |||
| 223 | + | return 0 | |||
| 224 | + | } | |||
| 222 | return c.Ptr | 225 | return c.Ptr | ||
| 223 | } | 226 | } | ||
| 224 | 227 | ||||
M v4/gdk/gdkdragsurface.go +3 -0
| @@ -37,6 +37,9 @@ type DragSurfaceBase struct { | |||
| 37 | 37 | } | |
| 38 | 38 | ||
| 39 | 39 | func (x *DragSurfaceBase) GoPointer() uintptr { | |
| 40 | + | if x == nil { | |
| 41 | + | return 0 | |
| 42 | + | } | |
| 40 | 43 | return x.Ptr | |
| 41 | 44 | } | |
| 42 | 45 | ||
| @@ -37,6 +37,9 @@ type DragSurfaceBase struct { | |||||
| 37 | } | 37 | } | ||
| 38 | 38 | ||||
| 39 | func (x *DragSurfaceBase) GoPointer() uintptr { | 39 | func (x *DragSurfaceBase) GoPointer() uintptr { | ||
| 40 | + | if x == nil { | |||
| 41 | + | return 0 | |||
| 42 | + | } | |||
| 40 | return x.Ptr | 43 | return x.Ptr | ||
| 41 | } | 44 | } | ||
| 42 | 45 | ||||
M v4/gdk/gdkdrawcontext.go +3 -0
| @@ -146,6 +146,9 @@ func (x *DrawContext) IsInFrame() bool { | |||
| 146 | 146 | } | |
| 147 | 147 | ||
| 148 | 148 | func (c *DrawContext) GoPointer() uintptr { | |
| 149 | + | if c == nil { | |
| 150 | + | return 0 | |
| 151 | + | } | |
| 149 | 152 | return c.Ptr | |
| 150 | 153 | } | |
| 151 | 154 | ||
| @@ -146,6 +146,9 @@ func (x *DrawContext) IsInFrame() bool { | |||||
| 146 | } | 146 | } | ||
| 147 | 147 | ||||
| 148 | func (c *DrawContext) GoPointer() uintptr { | 148 | func (c *DrawContext) GoPointer() uintptr { | ||
| 149 | + | if c == nil { | |||
| 150 | + | return 0 | |||
| 151 | + | } | |||
| 149 | return c.Ptr | 152 | return c.Ptr | ||
| 150 | } | 153 | } | ||
| 151 | 154 | ||||
M v4/gdk/gdkdrop.go +3 -0
| @@ -249,6 +249,9 @@ func (x *Drop) Status(ActionsVar DragAction, PreferredVar DragAction) { | |||
| 249 | 249 | } | |
| 250 | 250 | ||
| 251 | 251 | func (c *Drop) GoPointer() uintptr { | |
| 252 | + | if c == nil { | |
| 253 | + | return 0 | |
| 254 | + | } | |
| 252 | 255 | return c.Ptr | |
| 253 | 256 | } | |
| 254 | 257 | ||
| @@ -249,6 +249,9 @@ func (x *Drop) Status(ActionsVar DragAction, PreferredVar DragAction) { | |||||
| 249 | } | 249 | } | ||
| 250 | 250 | ||||
| 251 | func (c *Drop) GoPointer() uintptr { | 251 | func (c *Drop) GoPointer() uintptr { | ||
| 252 | + | if c == nil { | |||
| 253 | + | return 0 | |||
| 254 | + | } | |||
| 252 | return c.Ptr | 255 | return c.Ptr | ||
| 253 | } | 256 | } | ||
| 254 | 257 | ||||
M v4/gdk/gdkevents.go +42 -0
| @@ -385,6 +385,9 @@ func (x *ButtonEvent) GetButton() uint { | |||
| 385 | 385 | } | |
| 386 | 386 | ||
| 387 | 387 | func (c *ButtonEvent) GoPointer() uintptr { | |
| 388 | + | if c == nil { | |
| 389 | + | return 0 | |
| 390 | + | } | |
| 388 | 391 | return c.Ptr | |
| 389 | 392 | } | |
| 390 | 393 | ||
| @@ -437,6 +440,9 @@ func (x *CrossingEvent) GetMode() CrossingMode { | |||
| 437 | 440 | } | |
| 438 | 441 | ||
| 439 | 442 | func (c *CrossingEvent) GoPointer() uintptr { | |
| 443 | + | if c == nil { | |
| 444 | + | return 0 | |
| 445 | + | } | |
| 440 | 446 | return c.Ptr | |
| 441 | 447 | } | |
| 442 | 448 | ||
| @@ -479,6 +485,9 @@ func (x *DNDEvent) GetDrop() *Drop { | |||
| 479 | 485 | } | |
| 480 | 486 | ||
| 481 | 487 | func (c *DNDEvent) GoPointer() uintptr { | |
| 488 | + | if c == nil { | |
| 489 | + | return 0 | |
| 490 | + | } | |
| 482 | 491 | return c.Ptr | |
| 483 | 492 | } | |
| 484 | 493 | ||
| @@ -504,6 +513,9 @@ func DeleteEventNewFromInternalPtr(ptr uintptr) *DeleteEvent { | |||
| 504 | 513 | } | |
| 505 | 514 | ||
| 506 | 515 | func (c *DeleteEvent) GoPointer() uintptr { | |
| 516 | + | if c == nil { | |
| 517 | + | return 0 | |
| 518 | + | } | |
| 507 | 519 | return c.Ptr | |
| 508 | 520 | } | |
| 509 | 521 | ||
| @@ -814,6 +826,9 @@ func (x *Event) Unref() { | |||
| 814 | 826 | } | |
| 815 | 827 | ||
| 816 | 828 | func (c *Event) GoPointer() uintptr { | |
| 829 | + | if c == nil { | |
| 830 | + | return 0 | |
| 831 | + | } | |
| 817 | 832 | return c.Ptr | |
| 818 | 833 | } | |
| 819 | 834 | ||
| @@ -849,6 +864,9 @@ func (x *FocusEvent) GetIn() bool { | |||
| 849 | 864 | } | |
| 850 | 865 | ||
| 851 | 866 | func (c *FocusEvent) GoPointer() uintptr { | |
| 867 | + | if c == nil { | |
| 868 | + | return 0 | |
| 869 | + | } | |
| 852 | 870 | return c.Ptr | |
| 853 | 871 | } | |
| 854 | 872 | ||
| @@ -900,6 +918,9 @@ func (x *GrabBrokenEvent) GetImplicit() bool { | |||
| 900 | 918 | } | |
| 901 | 919 | ||
| 902 | 920 | func (c *GrabBrokenEvent) GoPointer() uintptr { | |
| 921 | + | if c == nil { | |
| 922 | + | return 0 | |
| 923 | + | } | |
| 903 | 924 | return c.Ptr | |
| 904 | 925 | } | |
| 905 | 926 | ||
| @@ -1007,6 +1028,9 @@ func (x *KeyEvent) Matches(KeyvalVar uint, ModifiersVar ModifierType) KeyMatch { | |||
| 1007 | 1028 | } | |
| 1008 | 1029 | ||
| 1009 | 1030 | func (c *KeyEvent) GoPointer() uintptr { | |
| 1031 | + | if c == nil { | |
| 1032 | + | return 0 | |
| 1033 | + | } | |
| 1010 | 1034 | return c.Ptr | |
| 1011 | 1035 | } | |
| 1012 | 1036 | ||
| @@ -1032,6 +1056,9 @@ func MotionEventNewFromInternalPtr(ptr uintptr) *MotionEvent { | |||
| 1032 | 1056 | } | |
| 1033 | 1057 | ||
| 1034 | 1058 | func (c *MotionEvent) GoPointer() uintptr { | |
| 1059 | + | if c == nil { | |
| 1060 | + | return 0 | |
| 1061 | + | } | |
| 1035 | 1062 | return c.Ptr | |
| 1036 | 1063 | } | |
| 1037 | 1064 | ||
| @@ -1085,6 +1112,9 @@ func (x *PadEvent) GetGroupMode(GroupVar uint, ModeVar uint) { | |||
| 1085 | 1112 | } | |
| 1086 | 1113 | ||
| 1087 | 1114 | func (c *PadEvent) GoPointer() uintptr { | |
| 1115 | + | if c == nil { | |
| 1116 | + | return 0 | |
| 1117 | + | } | |
| 1088 | 1118 | return c.Ptr | |
| 1089 | 1119 | } | |
| 1090 | 1120 | ||
| @@ -1110,6 +1140,9 @@ func ProximityEventNewFromInternalPtr(ptr uintptr) *ProximityEvent { | |||
| 1110 | 1140 | } | |
| 1111 | 1141 | ||
| 1112 | 1142 | func (c *ProximityEvent) GoPointer() uintptr { | |
| 1143 | + | if c == nil { | |
| 1144 | + | return 0 | |
| 1145 | + | } | |
| 1113 | 1146 | return c.Ptr | |
| 1114 | 1147 | } | |
| 1115 | 1148 | ||
| @@ -1188,6 +1221,9 @@ func (x *ScrollEvent) IsStop() bool { | |||
| 1188 | 1221 | } | |
| 1189 | 1222 | ||
| 1190 | 1223 | func (c *ScrollEvent) GoPointer() uintptr { | |
| 1224 | + | if c == nil { | |
| 1225 | + | return 0 | |
| 1226 | + | } | |
| 1191 | 1227 | return c.Ptr | |
| 1192 | 1228 | } | |
| 1193 | 1229 | ||
| @@ -1222,6 +1258,9 @@ func (x *TouchEvent) GetEmulatingPointer() bool { | |||
| 1222 | 1258 | } | |
| 1223 | 1259 | ||
| 1224 | 1260 | func (c *TouchEvent) GoPointer() uintptr { | |
| 1261 | + | if c == nil { | |
| 1262 | + | return 0 | |
| 1263 | + | } | |
| 1225 | 1264 | return c.Ptr | |
| 1226 | 1265 | } | |
| 1227 | 1266 | ||
| @@ -1297,6 +1336,9 @@ func (x *TouchpadEvent) GetPinchScale() float64 { | |||
| 1297 | 1336 | } | |
| 1298 | 1337 | ||
| 1299 | 1338 | func (c *TouchpadEvent) GoPointer() uintptr { | |
| 1339 | + | if c == nil { | |
| 1340 | + | return 0 | |
| 1341 | + | } | |
| 1300 | 1342 | return c.Ptr | |
| 1301 | 1343 | } | |
| 1302 | 1344 | ||
| @@ -385,6 +385,9 @@ func (x *ButtonEvent) GetButton() uint { | |||||
| 385 | } | 385 | } | ||
| 386 | 386 | ||||
| 387 | func (c *ButtonEvent) GoPointer() uintptr { | 387 | func (c *ButtonEvent) GoPointer() uintptr { | ||
| 388 | + | if c == nil { | |||
| 389 | + | return 0 | |||
| 390 | + | } | |||
| 388 | return c.Ptr | 391 | return c.Ptr | ||
| 389 | } | 392 | } | ||
| 390 | 393 | ||||
| @@ -437,6 +440,9 @@ func (x *CrossingEvent) GetMode() CrossingMode { | |||||
| 437 | } | 440 | } | ||
| 438 | 441 | ||||
| 439 | func (c *CrossingEvent) GoPointer() uintptr { | 442 | func (c *CrossingEvent) GoPointer() uintptr { | ||
| 443 | + | if c == nil { | |||
| 444 | + | return 0 | |||
| 445 | + | } | |||
| 440 | return c.Ptr | 446 | return c.Ptr | ||
| 441 | } | 447 | } | ||
| 442 | 448 | ||||
| @@ -479,6 +485,9 @@ func (x *DNDEvent) GetDrop() *Drop { | |||||
| 479 | } | 485 | } | ||
| 480 | 486 | ||||
| 481 | func (c *DNDEvent) GoPointer() uintptr { | 487 | func (c *DNDEvent) GoPointer() uintptr { | ||
| 488 | + | if c == nil { | |||
| 489 | + | return 0 | |||
| 490 | + | } | |||
| 482 | return c.Ptr | 491 | return c.Ptr | ||
| 483 | } | 492 | } | ||
| 484 | 493 | ||||
| @@ -504,6 +513,9 @@ func DeleteEventNewFromInternalPtr(ptr uintptr) *DeleteEvent { | |||||
| 504 | } | 513 | } | ||
| 505 | 514 | ||||
| 506 | func (c *DeleteEvent) GoPointer() uintptr { | 515 | func (c *DeleteEvent) GoPointer() uintptr { | ||
| 516 | + | if c == nil { | |||
| 517 | + | return 0 | |||
| 518 | + | } | |||
| 507 | return c.Ptr | 519 | return c.Ptr | ||
| 508 | } | 520 | } | ||
| 509 | 521 | ||||
| @@ -814,6 +826,9 @@ func (x *Event) Unref() { | |||||
| 814 | } | 826 | } | ||
| 815 | 827 | ||||
| 816 | func (c *Event) GoPointer() uintptr { | 828 | func (c *Event) GoPointer() uintptr { | ||
| 829 | + | if c == nil { | |||
| 830 | + | return 0 | |||
| 831 | + | } | |||
| 817 | return c.Ptr | 832 | return c.Ptr | ||
| 818 | } | 833 | } | ||
| 819 | 834 | ||||
| @@ -849,6 +864,9 @@ func (x *FocusEvent) GetIn() bool { | |||||
| 849 | } | 864 | } | ||
| 850 | 865 | ||||
| 851 | func (c *FocusEvent) GoPointer() uintptr { | 866 | func (c *FocusEvent) GoPointer() uintptr { | ||
| 867 | + | if c == nil { | |||
| 868 | + | return 0 | |||
| 869 | + | } | |||
| 852 | return c.Ptr | 870 | return c.Ptr | ||
| 853 | } | 871 | } | ||
| 854 | 872 | ||||
| @@ -900,6 +918,9 @@ func (x *GrabBrokenEvent) GetImplicit() bool { | |||||
| 900 | } | 918 | } | ||
| 901 | 919 | ||||
| 902 | func (c *GrabBrokenEvent) GoPointer() uintptr { | 920 | func (c *GrabBrokenEvent) GoPointer() uintptr { | ||
| 921 | + | if c == nil { | |||
| 922 | + | return 0 | |||
| 923 | + | } | |||
| 903 | return c.Ptr | 924 | return c.Ptr | ||
| 904 | } | 925 | } | ||
| 905 | 926 | ||||
| @@ -1007,6 +1028,9 @@ func (x *KeyEvent) Matches(KeyvalVar uint, ModifiersVar ModifierType) KeyMatch { | |||||
| 1007 | } | 1028 | } | ||
| 1008 | 1029 | ||||
| 1009 | func (c *KeyEvent) GoPointer() uintptr { | 1030 | func (c *KeyEvent) GoPointer() uintptr { | ||
| 1031 | + | if c == nil { | |||
| 1032 | + | return 0 | |||
| 1033 | + | } | |||
| 1010 | return c.Ptr | 1034 | return c.Ptr | ||
| 1011 | } | 1035 | } | ||
| 1012 | 1036 | ||||
| @@ -1032,6 +1056,9 @@ func MotionEventNewFromInternalPtr(ptr uintptr) *MotionEvent { | |||||
| 1032 | } | 1056 | } | ||
| 1033 | 1057 | ||||
| 1034 | func (c *MotionEvent) GoPointer() uintptr { | 1058 | func (c *MotionEvent) GoPointer() uintptr { | ||
| 1059 | + | if c == nil { | |||
| 1060 | + | return 0 | |||
| 1061 | + | } | |||
| 1035 | return c.Ptr | 1062 | return c.Ptr | ||
| 1036 | } | 1063 | } | ||
| 1037 | 1064 | ||||
| @@ -1085,6 +1112,9 @@ func (x *PadEvent) GetGroupMode(GroupVar uint, ModeVar uint) { | |||||
| 1085 | } | 1112 | } | ||
| 1086 | 1113 | ||||
| 1087 | func (c *PadEvent) GoPointer() uintptr { | 1114 | func (c *PadEvent) GoPointer() uintptr { | ||
| 1115 | + | if c == nil { | |||
| 1116 | + | return 0 | |||
| 1117 | + | } | |||
| 1088 | return c.Ptr | 1118 | return c.Ptr | ||
| 1089 | } | 1119 | } | ||
| 1090 | 1120 | ||||
| @@ -1110,6 +1140,9 @@ func ProximityEventNewFromInternalPtr(ptr uintptr) *ProximityEvent { | |||||
| 1110 | } | 1140 | } | ||
| 1111 | 1141 | ||||
| 1112 | func (c *ProximityEvent) GoPointer() uintptr { | 1142 | func (c *ProximityEvent) GoPointer() uintptr { | ||
| 1143 | + | if c == nil { | |||
| 1144 | + | return 0 | |||
| 1145 | + | } | |||
| 1113 | return c.Ptr | 1146 | return c.Ptr | ||
| 1114 | } | 1147 | } | ||
| 1115 | 1148 | ||||
| @@ -1188,6 +1221,9 @@ func (x *ScrollEvent) IsStop() bool { | |||||
| 1188 | } | 1221 | } | ||
| 1189 | 1222 | ||||
| 1190 | func (c *ScrollEvent) GoPointer() uintptr { | 1223 | func (c *ScrollEvent) GoPointer() uintptr { | ||
| 1224 | + | if c == nil { | |||
| 1225 | + | return 0 | |||
| 1226 | + | } | |||
| 1191 | return c.Ptr | 1227 | return c.Ptr | ||
| 1192 | } | 1228 | } | ||
| 1193 | 1229 | ||||
| @@ -1222,6 +1258,9 @@ func (x *TouchEvent) GetEmulatingPointer() bool { | |||||
| 1222 | } | 1258 | } | ||
| 1223 | 1259 | ||||
| 1224 | func (c *TouchEvent) GoPointer() uintptr { | 1260 | func (c *TouchEvent) GoPointer() uintptr { | ||
| 1261 | + | if c == nil { | |||
| 1262 | + | return 0 | |||
| 1263 | + | } | |||
| 1225 | return c.Ptr | 1264 | return c.Ptr | ||
| 1226 | } | 1265 | } | ||
| 1227 | 1266 | ||||
| @@ -1297,6 +1336,9 @@ func (x *TouchpadEvent) GetPinchScale() float64 { | |||||
| 1297 | } | 1336 | } | ||
| 1298 | 1337 | ||||
| 1299 | func (c *TouchpadEvent) GoPointer() uintptr { | 1338 | func (c *TouchpadEvent) GoPointer() uintptr { | ||
| 1339 | + | if c == nil { | |||
| 1340 | + | return 0 | |||
| 1341 | + | } | |||
| 1300 | return c.Ptr | 1342 | return c.Ptr | ||
| 1301 | } | 1343 | } | ||
| 1302 | 1344 | ||||
M v4/gdk/gdkframeclock.go +3 -0
| @@ -243,6 +243,9 @@ func (x *FrameClock) RequestPhase(PhaseVar FrameClockPhase) { | |||
| 243 | 243 | } | |
| 244 | 244 | ||
| 245 | 245 | func (c *FrameClock) GoPointer() uintptr { | |
| 246 | + | if c == nil { | |
| 247 | + | return 0 | |
| 248 | + | } | |
| 246 | 249 | return c.Ptr | |
| 247 | 250 | } | |
| 248 | 251 | ||
| @@ -243,6 +243,9 @@ func (x *FrameClock) RequestPhase(PhaseVar FrameClockPhase) { | |||||
| 243 | } | 243 | } | ||
| 244 | 244 | ||||
| 245 | func (c *FrameClock) GoPointer() uintptr { | 245 | func (c *FrameClock) GoPointer() uintptr { | ||
| 246 | + | if c == nil { | |||
| 247 | + | return 0 | |||
| 248 | + | } | |||
| 246 | return c.Ptr | 249 | return c.Ptr | ||
| 247 | } | 250 | } | ||
| 248 | 251 | ||||
M v4/gdk/gdkglcontext.go +3 -0
| @@ -379,6 +379,9 @@ func (x *GLContext) SetUseEs(UseEsVar int) { | |||
| 379 | 379 | } | |
| 380 | 380 | ||
| 381 | 381 | func (c *GLContext) GoPointer() uintptr { | |
| 382 | + | if c == nil { | |
| 383 | + | return 0 | |
| 384 | + | } | |
| 382 | 385 | return c.Ptr | |
| 383 | 386 | } | |
| 384 | 387 | ||
| @@ -379,6 +379,9 @@ func (x *GLContext) SetUseEs(UseEsVar int) { | |||||
| 379 | } | 379 | } | ||
| 380 | 380 | ||||
| 381 | func (c *GLContext) GoPointer() uintptr { | 381 | func (c *GLContext) GoPointer() uintptr { | ||
| 382 | + | if c == nil { | |||
| 383 | + | return 0 | |||
| 384 | + | } | |||
| 382 | return c.Ptr | 385 | return c.Ptr | ||
| 383 | } | 386 | } | ||
| 384 | 387 | ||||
M v4/gdk/gdkgltexture.go +3 -0
| @@ -71,6 +71,9 @@ func (x *GLTexture) Release() { | |||
| 71 | 71 | } | |
| 72 | 72 | ||
| 73 | 73 | func (c *GLTexture) GoPointer() uintptr { | |
| 74 | + | if c == nil { | |
| 75 | + | return 0 | |
| 76 | + | } | |
| 74 | 77 | return c.Ptr | |
| 75 | 78 | } | |
| 76 | 79 | ||
| @@ -71,6 +71,9 @@ func (x *GLTexture) Release() { | |||||
| 71 | } | 71 | } | ||
| 72 | 72 | ||||
| 73 | func (c *GLTexture) GoPointer() uintptr { | 73 | func (c *GLTexture) GoPointer() uintptr { | ||
| 74 | + | if c == nil { | |||
| 75 | + | return 0 | |||
| 76 | + | } | |||
| 74 | return c.Ptr | 77 | return c.Ptr | ||
| 75 | } | 78 | } | ||
| 76 | 79 | ||||
M v4/gdk/gdkmemorytexture.go +3 -0
| @@ -57,6 +57,9 @@ func NewMemoryTexture(WidthVar int, HeightVar int, FormatVar MemoryFormat, Bytes | |||
| 57 | 57 | } | |
| 58 | 58 | ||
| 59 | 59 | func (c *MemoryTexture) GoPointer() uintptr { | |
| 60 | + | if c == nil { | |
| 61 | + | return 0 | |
| 62 | + | } | |
| 60 | 63 | return c.Ptr | |
| 61 | 64 | } | |
| 62 | 65 | ||
| @@ -57,6 +57,9 @@ func NewMemoryTexture(WidthVar int, HeightVar int, FormatVar MemoryFormat, Bytes | |||||
| 57 | } | 57 | } | ||
| 58 | 58 | ||||
| 59 | func (c *MemoryTexture) GoPointer() uintptr { | 59 | func (c *MemoryTexture) GoPointer() uintptr { | ||
| 60 | + | if c == nil { | |||
| 61 | + | return 0 | |||
| 62 | + | } | |||
| 60 | return c.Ptr | 63 | return c.Ptr | ||
| 61 | } | 64 | } | ||
| 62 | 65 | ||||
M v4/gdk/gdkmonitor.go +3 -0
| @@ -203,6 +203,9 @@ func (x *Monitor) IsValid() bool { | |||
| 203 | 203 | } | |
| 204 | 204 | ||
| 205 | 205 | func (c *Monitor) GoPointer() uintptr { | |
| 206 | + | if c == nil { | |
| 207 | + | return 0 | |
| 208 | + | } | |
| 206 | 209 | return c.Ptr | |
| 207 | 210 | } | |
| 208 | 211 | ||
| @@ -203,6 +203,9 @@ func (x *Monitor) IsValid() bool { | |||||
| 203 | } | 203 | } | ||
| 204 | 204 | ||||
| 205 | func (c *Monitor) GoPointer() uintptr { | 205 | func (c *Monitor) GoPointer() uintptr { | ||
| 206 | + | if c == nil { | |||
| 207 | + | return 0 | |||
| 208 | + | } | |||
| 206 | return c.Ptr | 209 | return c.Ptr | ||
| 207 | } | 210 | } | ||
| 208 | 211 | ||||
M v4/gdk/gdkpaintable.go +3 -0
| @@ -99,6 +99,9 @@ type PaintableBase struct { | |||
| 99 | 99 | } | |
| 100 | 100 | ||
| 101 | 101 | func (x *PaintableBase) GoPointer() uintptr { | |
| 102 | + | if x == nil { | |
| 103 | + | return 0 | |
| 104 | + | } | |
| 102 | 105 | return x.Ptr | |
| 103 | 106 | } | |
| 104 | 107 | ||
| @@ -99,6 +99,9 @@ type PaintableBase struct { | |||||
| 99 | } | 99 | } | ||
| 100 | 100 | ||||
| 101 | func (x *PaintableBase) GoPointer() uintptr { | 101 | func (x *PaintableBase) GoPointer() uintptr { | ||
| 102 | + | if x == nil { | |||
| 103 | + | return 0 | |||
| 104 | + | } | |||
| 102 | return x.Ptr | 105 | return x.Ptr | ||
| 103 | } | 106 | } | ||
| 104 | 107 | ||||
M v4/gdk/gdkpopup.go +3 -0
| @@ -49,6 +49,9 @@ type PopupBase struct { | |||
| 49 | 49 | } | |
| 50 | 50 | ||
| 51 | 51 | func (x *PopupBase) GoPointer() uintptr { | |
| 52 | + | if x == nil { | |
| 53 | + | return 0 | |
| 54 | + | } | |
| 52 | 55 | return x.Ptr | |
| 53 | 56 | } | |
| 54 | 57 | ||
| @@ -49,6 +49,9 @@ type PopupBase struct { | |||||
| 49 | } | 49 | } | ||
| 50 | 50 | ||||
| 51 | func (x *PopupBase) GoPointer() uintptr { | 51 | func (x *PopupBase) GoPointer() uintptr { | ||
| 52 | + | if x == nil { | |||
| 53 | + | return 0 | |||
| 54 | + | } | |||
| 52 | return x.Ptr | 55 | return x.Ptr | ||
| 53 | } | 56 | } | ||
| 54 | 57 | ||||
M v4/gdk/gdkseat.go +3 -0
| @@ -137,6 +137,9 @@ func (x *Seat) GetTools() *glib.List { | |||
| 137 | 137 | } | |
| 138 | 138 | ||
| 139 | 139 | func (c *Seat) GoPointer() uintptr { | |
| 140 | + | if c == nil { | |
| 141 | + | return 0 | |
| 142 | + | } | |
| 140 | 143 | return c.Ptr | |
| 141 | 144 | } | |
| 142 | 145 | ||
| @@ -137,6 +137,9 @@ func (x *Seat) GetTools() *glib.List { | |||||
| 137 | } | 137 | } | ||
| 138 | 138 | ||||
| 139 | func (c *Seat) GoPointer() uintptr { | 139 | func (c *Seat) GoPointer() uintptr { | ||
| 140 | + | if c == nil { | |||
| 141 | + | return 0 | |||
| 142 | + | } | |||
| 140 | return c.Ptr | 143 | return c.Ptr | ||
| 141 | } | 144 | } | ||
| 142 | 145 | ||||
M v4/gdk/gdksnapshot.go +3 -0
| @@ -37,6 +37,9 @@ func SnapshotNewFromInternalPtr(ptr uintptr) *Snapshot { | |||
| 37 | 37 | } | |
| 38 | 38 | ||
| 39 | 39 | func (c *Snapshot) GoPointer() uintptr { | |
| 40 | + | if c == nil { | |
| 41 | + | return 0 | |
| 42 | + | } | |
| 40 | 43 | return c.Ptr | |
| 41 | 44 | } | |
| 42 | 45 | ||
| @@ -37,6 +37,9 @@ func SnapshotNewFromInternalPtr(ptr uintptr) *Snapshot { | |||||
| 37 | } | 37 | } | ||
| 38 | 38 | ||||
| 39 | func (c *Snapshot) GoPointer() uintptr { | 39 | func (c *Snapshot) GoPointer() uintptr { | ||
| 40 | + | if c == nil { | |||
| 41 | + | return 0 | |||
| 42 | + | } | |||
| 40 | return c.Ptr | 43 | return c.Ptr | ||
| 41 | } | 44 | } | ||
| 42 | 45 | ||||
M v4/gdk/gdksurface.go +3 -0
| @@ -484,6 +484,9 @@ func (x *Surface) TranslateCoordinates(ToVar *Surface, XVar float64, YVar float6 | |||
| 484 | 484 | } | |
| 485 | 485 | ||
| 486 | 486 | func (c *Surface) GoPointer() uintptr { | |
| 487 | + | if c == nil { | |
| 488 | + | return 0 | |
| 489 | + | } | |
| 487 | 490 | return c.Ptr | |
| 488 | 491 | } | |
| 489 | 492 | ||
| @@ -484,6 +484,9 @@ func (x *Surface) TranslateCoordinates(ToVar *Surface, XVar float64, YVar float6 | |||||
| 484 | } | 484 | } | ||
| 485 | 485 | ||||
| 486 | func (c *Surface) GoPointer() uintptr { | 486 | func (c *Surface) GoPointer() uintptr { | ||
| 487 | + | if c == nil { | |||
| 488 | + | return 0 | |||
| 489 | + | } | |||
| 487 | return c.Ptr | 490 | return c.Ptr | ||
| 488 | } | 491 | } | ||
| 489 | 492 | ||||
M v4/gdk/gdktexture.go +3 -0
| @@ -330,6 +330,9 @@ func (x *Texture) SaveToTiffBytes() *glib.Bytes { | |||
| 330 | 330 | } | |
| 331 | 331 | ||
| 332 | 332 | func (c *Texture) GoPointer() uintptr { | |
| 333 | + | if c == nil { | |
| 334 | + | return 0 | |
| 335 | + | } | |
| 333 | 336 | return c.Ptr | |
| 334 | 337 | } | |
| 335 | 338 | ||
| @@ -330,6 +330,9 @@ func (x *Texture) SaveToTiffBytes() *glib.Bytes { | |||||
| 330 | } | 330 | } | ||
| 331 | 331 | ||||
| 332 | func (c *Texture) GoPointer() uintptr { | 332 | func (c *Texture) GoPointer() uintptr { | ||
| 333 | + | if c == nil { | |||
| 334 | + | return 0 | |||
| 335 | + | } | |||
| 333 | return c.Ptr | 336 | return c.Ptr | ||
| 334 | } | 337 | } | ||
| 335 | 338 | ||||
M v4/gdk/gdktoplevel.go +3 -0
| @@ -59,6 +59,9 @@ type ToplevelBase struct { | |||
| 59 | 59 | } | |
| 60 | 60 | ||
| 61 | 61 | func (x *ToplevelBase) GoPointer() uintptr { | |
| 62 | + | if x == nil { | |
| 63 | + | return 0 | |
| 64 | + | } | |
| 62 | 65 | return x.Ptr | |
| 63 | 66 | } | |
| 64 | 67 | ||
| @@ -59,6 +59,9 @@ type ToplevelBase struct { | |||||
| 59 | } | 59 | } | ||
| 60 | 60 | ||||
| 61 | func (x *ToplevelBase) GoPointer() uintptr { | 61 | func (x *ToplevelBase) GoPointer() uintptr { | ||
| 62 | + | if x == nil { | |||
| 63 | + | return 0 | |||
| 64 | + | } | |||
| 62 | return x.Ptr | 65 | return x.Ptr | ||
| 63 | } | 66 | } | ||
| 64 | 67 | ||||
M v4/gdk/gdkvulkancontext.go +3 -0
| @@ -37,6 +37,9 @@ func VulkanContextNewFromInternalPtr(ptr uintptr) *VulkanContext { | |||
| 37 | 37 | } | |
| 38 | 38 | ||
| 39 | 39 | func (c *VulkanContext) GoPointer() uintptr { | |
| 40 | + | if c == nil { | |
| 41 | + | return 0 | |
| 42 | + | } | |
| 40 | 43 | return c.Ptr | |
| 41 | 44 | } | |
| 42 | 45 | ||
| @@ -37,6 +37,9 @@ func VulkanContextNewFromInternalPtr(ptr uintptr) *VulkanContext { | |||||
| 37 | } | 37 | } | ||
| 38 | 38 | ||||
| 39 | func (c *VulkanContext) GoPointer() uintptr { | 39 | func (c *VulkanContext) GoPointer() uintptr { | ||
| 40 | + | if c == nil { | |||
| 41 | + | return 0 | |||
| 42 | + | } | |||
| 40 | return c.Ptr | 43 | return c.Ptr | ||
| 41 | } | 44 | } | ||
| 42 | 45 | ||||
M v4/gdkpixbuf/gdk-pixbuf-animation.go +6 -0
| @@ -308,6 +308,9 @@ func (x *PixbufAnimation) Unref() { | |||
| 308 | 308 | } | |
| 309 | 309 | ||
| 310 | 310 | func (c *PixbufAnimation) GoPointer() uintptr { | |
| 311 | + | if c == nil { | |
| 312 | + | return 0 | |
| 313 | + | } | |
| 311 | 314 | return c.Ptr | |
| 312 | 315 | } | |
| 313 | 316 | ||
| @@ -441,6 +444,9 @@ func (x *PixbufAnimationIter) OnCurrentlyLoadingFrame() bool { | |||
| 441 | 444 | } | |
| 442 | 445 | ||
| 443 | 446 | func (c *PixbufAnimationIter) GoPointer() uintptr { | |
| 447 | + | if c == nil { | |
| 448 | + | return 0 | |
| 449 | + | } | |
| 444 | 450 | return c.Ptr | |
| 445 | 451 | } | |
| 446 | 452 | ||
| @@ -308,6 +308,9 @@ func (x *PixbufAnimation) Unref() { | |||||
| 308 | } | 308 | } | ||
| 309 | 309 | ||||
| 310 | func (c *PixbufAnimation) GoPointer() uintptr { | 310 | func (c *PixbufAnimation) GoPointer() uintptr { | ||
| 311 | + | if c == nil { | |||
| 312 | + | return 0 | |||
| 313 | + | } | |||
| 311 | return c.Ptr | 314 | return c.Ptr | ||
| 312 | } | 315 | } | ||
| 313 | 316 | ||||
| @@ -441,6 +444,9 @@ func (x *PixbufAnimationIter) OnCurrentlyLoadingFrame() bool { | |||||
| 441 | } | 444 | } | ||
| 442 | 445 | ||||
| 443 | func (c *PixbufAnimationIter) GoPointer() uintptr { | 446 | func (c *PixbufAnimationIter) GoPointer() uintptr { | ||
| 447 | + | if c == nil { | |||
| 448 | + | return 0 | |||
| 449 | + | } | |||
| 444 | return c.Ptr | 450 | return c.Ptr | ||
| 445 | } | 451 | } | ||
| 446 | 452 | ||||
M v4/gdkpixbuf/gdk-pixbuf-loader.go +3 -0
| @@ -306,6 +306,9 @@ func (x *PixbufLoader) WriteBytes(BufferVar *glib.Bytes) (bool, error) { | |||
| 306 | 306 | } | |
| 307 | 307 | ||
| 308 | 308 | func (c *PixbufLoader) GoPointer() uintptr { | |
| 309 | + | if c == nil { | |
| 310 | + | return 0 | |
| 311 | + | } | |
| 309 | 312 | return c.Ptr | |
| 310 | 313 | } | |
| 311 | 314 | ||
| @@ -306,6 +306,9 @@ func (x *PixbufLoader) WriteBytes(BufferVar *glib.Bytes) (bool, error) { | |||||
| 306 | } | 306 | } | ||
| 307 | 307 | ||||
| 308 | func (c *PixbufLoader) GoPointer() uintptr { | 308 | func (c *PixbufLoader) GoPointer() uintptr { | ||
| 309 | + | if c == nil { | |||
| 310 | + | return 0 | |||
| 311 | + | } | |||
| 309 | return c.Ptr | 312 | return c.Ptr | ||
| 310 | } | 313 | } | ||
| 311 | 314 | ||||
M v4/gdkpixbuf/gdk-pixbuf-simple-anim.go +3 -0
| @@ -81,6 +81,9 @@ func (x *PixbufSimpleAnim) SetLoop(LoopVar bool) { | |||
| 81 | 81 | } | |
| 82 | 82 | ||
| 83 | 83 | func (c *PixbufSimpleAnim) GoPointer() uintptr { | |
| 84 | + | if c == nil { | |
| 85 | + | return 0 | |
| 86 | + | } | |
| 84 | 87 | return c.Ptr | |
| 85 | 88 | } | |
| 86 | 89 | ||
| @@ -81,6 +81,9 @@ func (x *PixbufSimpleAnim) SetLoop(LoopVar bool) { | |||||
| 81 | } | 81 | } | ||
| 82 | 82 | ||||
| 83 | func (c *PixbufSimpleAnim) GoPointer() uintptr { | 83 | func (c *PixbufSimpleAnim) GoPointer() uintptr { | ||
| 84 | + | if c == nil { | |||
| 85 | + | return 0 | |||
| 86 | + | } | |||
| 84 | return c.Ptr | 87 | return c.Ptr | ||
| 85 | } | 88 | } | ||
| 86 | 89 | ||||
M v4/gdkpixbuf/gdk-pixbuf.go +3 -0
| @@ -1340,6 +1340,9 @@ func (x *Pixbuf) Unref() { | |||
| 1340 | 1340 | } | |
| 1341 | 1341 | ||
| 1342 | 1342 | func (c *Pixbuf) GoPointer() uintptr { | |
| 1343 | + | if c == nil { | |
| 1344 | + | return 0 | |
| 1345 | + | } | |
| 1343 | 1346 | return c.Ptr | |
| 1344 | 1347 | } | |
| 1345 | 1348 | ||
| @@ -1340,6 +1340,9 @@ func (x *Pixbuf) Unref() { | |||||
| 1340 | } | 1340 | } | ||
| 1341 | 1341 | ||||
| 1342 | func (c *Pixbuf) GoPointer() uintptr { | 1342 | func (c *Pixbuf) GoPointer() uintptr { | ||
| 1343 | + | if c == nil { | |||
| 1344 | + | return 0 | |||
| 1345 | + | } | |||
| 1343 | return c.Ptr | 1346 | return c.Ptr | ||
| 1344 | } | 1347 | } | ||
| 1345 | 1348 | ||||
M v4/gdkpixbuf/main.go +6 -0
| @@ -48,6 +48,9 @@ func NewPixbufNonAnim(PixbufVar *Pixbuf) *PixbufNonAnim { | |||
| 48 | 48 | } | |
| 49 | 49 | ||
| 50 | 50 | func (c *PixbufNonAnim) GoPointer() uintptr { | |
| 51 | + | if c == nil { | |
| 52 | + | return 0 | |
| 53 | + | } | |
| 51 | 54 | return c.Ptr | |
| 52 | 55 | } | |
| 53 | 56 | ||
| @@ -72,6 +75,9 @@ func PixbufSimpleAnimIterNewFromInternalPtr(ptr uintptr) *PixbufSimpleAnimIter { | |||
| 72 | 75 | } | |
| 73 | 76 | ||
| 74 | 77 | func (c *PixbufSimpleAnimIter) GoPointer() uintptr { | |
| 78 | + | if c == nil { | |
| 79 | + | return 0 | |
| 80 | + | } | |
| 75 | 81 | return c.Ptr | |
| 76 | 82 | } | |
| 77 | 83 | ||
| @@ -48,6 +48,9 @@ func NewPixbufNonAnim(PixbufVar *Pixbuf) *PixbufNonAnim { | |||||
| 48 | } | 48 | } | ||
| 49 | 49 | ||||
| 50 | func (c *PixbufNonAnim) GoPointer() uintptr { | 50 | func (c *PixbufNonAnim) GoPointer() uintptr { | ||
| 51 | + | if c == nil { | |||
| 52 | + | return 0 | |||
| 53 | + | } | |||
| 51 | return c.Ptr | 54 | return c.Ptr | ||
| 52 | } | 55 | } | ||
| 53 | 56 | ||||
| @@ -72,6 +75,9 @@ func PixbufSimpleAnimIterNewFromInternalPtr(ptr uintptr) *PixbufSimpleAnimIter { | |||||
| 72 | } | 75 | } | ||
| 73 | 76 | ||||
| 74 | func (c *PixbufSimpleAnimIter) GoPointer() uintptr { | 77 | func (c *PixbufSimpleAnimIter) GoPointer() uintptr { | ||
| 78 | + | if c == nil { | |||
| 79 | + | return 0 | |||
| 80 | + | } | |||
| 75 | return c.Ptr | 81 | return c.Ptr | ||
| 76 | } | 82 | } | ||
| 77 | 83 | ||||
M v4/gio/gaction.go +3 -0
| @@ -75,6 +75,9 @@ type ActionBase struct { | |||
| 75 | 75 | } | |
| 76 | 76 | ||
| 77 | 77 | func (x *ActionBase) GoPointer() uintptr { | |
| 78 | + | if x == nil { | |
| 79 | + | return 0 | |
| 80 | + | } | |
| 78 | 81 | return x.Ptr | |
| 79 | 82 | } | |
| 80 | 83 | ||
| @@ -75,6 +75,9 @@ type ActionBase struct { | |||||
| 75 | } | 75 | } | ||
| 76 | 76 | ||||
| 77 | func (x *ActionBase) GoPointer() uintptr { | 77 | func (x *ActionBase) GoPointer() uintptr { | ||
| 78 | + | if x == nil { | |||
| 79 | + | return 0 | |||
| 80 | + | } | |||
| 78 | return x.Ptr | 81 | return x.Ptr | ||
| 79 | } | 82 | } | ||
| 80 | 83 | ||||
M v4/gio/gactiongroup.go +3 -0
| @@ -97,6 +97,9 @@ type ActionGroupBase struct { | |||
| 97 | 97 | } | |
| 98 | 98 | ||
| 99 | 99 | func (x *ActionGroupBase) GoPointer() uintptr { | |
| 100 | + | if x == nil { | |
| 101 | + | return 0 | |
| 102 | + | } | |
| 100 | 103 | return x.Ptr | |
| 101 | 104 | } | |
| 102 | 105 | ||
| @@ -97,6 +97,9 @@ type ActionGroupBase struct { | |||||
| 97 | } | 97 | } | ||
| 98 | 98 | ||||
| 99 | func (x *ActionGroupBase) GoPointer() uintptr { | 99 | func (x *ActionGroupBase) GoPointer() uintptr { | ||
| 100 | + | if x == nil { | |||
| 101 | + | return 0 | |||
| 102 | + | } | |||
| 100 | return x.Ptr | 103 | return x.Ptr | ||
| 101 | } | 104 | } | ||
| 102 | 105 | ||||
M v4/gio/gactionmap.go +3 -0
| @@ -77,6 +77,9 @@ type ActionMapBase struct { | |||
| 77 | 77 | } | |
| 78 | 78 | ||
| 79 | 79 | func (x *ActionMapBase) GoPointer() uintptr { | |
| 80 | + | if x == nil { | |
| 81 | + | return 0 | |
| 82 | + | } | |
| 80 | 83 | return x.Ptr | |
| 81 | 84 | } | |
| 82 | 85 | ||
| @@ -77,6 +77,9 @@ type ActionMapBase struct { | |||||
| 77 | } | 77 | } | ||
| 78 | 78 | ||||
| 79 | func (x *ActionMapBase) GoPointer() uintptr { | 79 | func (x *ActionMapBase) GoPointer() uintptr { | ||
| 80 | + | if x == nil { | |||
| 81 | + | return 0 | |||
| 82 | + | } | |||
| 80 | return x.Ptr | 83 | return x.Ptr | ||
| 81 | } | 84 | } | ||
| 82 | 85 | ||||
M v4/gio/gappinfo.go +6 -0
| @@ -132,6 +132,9 @@ type AppInfoBase struct { | |||
| 132 | 132 | } | |
| 133 | 133 | ||
| 134 | 134 | func (x *AppInfoBase) GoPointer() uintptr { | |
| 135 | + | if x == nil { | |
| 136 | + | return 0 | |
| 137 | + | } | |
| 135 | 138 | return x.Ptr | |
| 136 | 139 | } | |
| 137 | 140 | ||
| @@ -746,6 +749,9 @@ func (x *AppLaunchContext) Unsetenv(VariableVar string) { | |||
| 746 | 749 | } | |
| 747 | 750 | ||
| 748 | 751 | func (c *AppLaunchContext) GoPointer() uintptr { | |
| 752 | + | if c == nil { | |
| 753 | + | return 0 | |
| 754 | + | } | |
| 749 | 755 | return c.Ptr | |
| 750 | 756 | } | |
| 751 | 757 | ||
| @@ -132,6 +132,9 @@ type AppInfoBase struct { | |||||
| 132 | } | 132 | } | ||
| 133 | 133 | ||||
| 134 | func (x *AppInfoBase) GoPointer() uintptr { | 134 | func (x *AppInfoBase) GoPointer() uintptr { | ||
| 135 | + | if x == nil { | |||
| 136 | + | return 0 | |||
| 137 | + | } | |||
| 135 | return x.Ptr | 138 | return x.Ptr | ||
| 136 | } | 139 | } | ||
| 137 | 140 | ||||
| @@ -746,6 +749,9 @@ func (x *AppLaunchContext) Unsetenv(VariableVar string) { | |||||
| 746 | } | 749 | } | ||
| 747 | 750 | ||||
| 748 | func (c *AppLaunchContext) GoPointer() uintptr { | 751 | func (c *AppLaunchContext) GoPointer() uintptr { | ||
| 752 | + | if c == nil { | |||
| 753 | + | return 0 | |||
| 754 | + | } | |||
| 749 | return c.Ptr | 755 | return c.Ptr | ||
| 750 | } | 756 | } | ||
| 751 | 757 | ||||
M v4/gio/gapplication.go +3 -0
| @@ -909,6 +909,9 @@ func (x *Application) WithdrawNotification(IdVar string) { | |||
| 909 | 909 | } | |
| 910 | 910 | ||
| 911 | 911 | func (c *Application) GoPointer() uintptr { | |
| 912 | + | if c == nil { | |
| 913 | + | return 0 | |
| 914 | + | } | |
| 912 | 915 | return c.Ptr | |
| 913 | 916 | } | |
| 914 | 917 | ||
| @@ -909,6 +909,9 @@ func (x *Application) WithdrawNotification(IdVar string) { | |||||
| 909 | } | 909 | } | ||
| 910 | 910 | ||||
| 911 | func (c *Application) GoPointer() uintptr { | 911 | func (c *Application) GoPointer() uintptr { | ||
| 912 | + | if c == nil { | |||
| 913 | + | return 0 | |||
| 914 | + | } | |||
| 912 | return c.Ptr | 915 | return c.Ptr | ||
| 913 | } | 916 | } | ||
| 914 | 917 | ||||
M v4/gio/gapplicationcommandline.go +3 -0
| @@ -454,6 +454,9 @@ func (x *ApplicationCommandLine) SetExitStatus(ExitStatusVar int) { | |||
| 454 | 454 | } | |
| 455 | 455 | ||
| 456 | 456 | func (c *ApplicationCommandLine) GoPointer() uintptr { | |
| 457 | + | if c == nil { | |
| 458 | + | return 0 | |
| 459 | + | } | |
| 457 | 460 | return c.Ptr | |
| 458 | 461 | } | |
| 459 | 462 | ||
| @@ -454,6 +454,9 @@ func (x *ApplicationCommandLine) SetExitStatus(ExitStatusVar int) { | |||||
| 454 | } | 454 | } | ||
| 455 | 455 | ||||
| 456 | func (c *ApplicationCommandLine) GoPointer() uintptr { | 456 | func (c *ApplicationCommandLine) GoPointer() uintptr { | ||
| 457 | + | if c == nil { | |||
| 458 | + | return 0 | |||
| 459 | + | } | |||
| 457 | return c.Ptr | 460 | return c.Ptr | ||
| 458 | } | 461 | } | ||
| 459 | 462 | ||||
M v4/gio/gasyncinitable.go +3 -0
| @@ -151,6 +151,9 @@ type AsyncInitableBase struct { | |||
| 151 | 151 | } | |
| 152 | 152 | ||
| 153 | 153 | func (x *AsyncInitableBase) GoPointer() uintptr { | |
| 154 | + | if x == nil { | |
| 155 | + | return 0 | |
| 156 | + | } | |
| 154 | 157 | return x.Ptr | |
| 155 | 158 | } | |
| 156 | 159 | ||
| @@ -151,6 +151,9 @@ type AsyncInitableBase struct { | |||||
| 151 | } | 151 | } | ||
| 152 | 152 | ||||
| 153 | func (x *AsyncInitableBase) GoPointer() uintptr { | 153 | func (x *AsyncInitableBase) GoPointer() uintptr { | ||
| 154 | + | if x == nil { | |||
| 155 | + | return 0 | |||
| 156 | + | } | |||
| 154 | return x.Ptr | 157 | return x.Ptr | ||
| 155 | } | 158 | } | ||
| 156 | 159 | ||||
M v4/gio/gasyncresult.go +3 -0
| @@ -133,6 +133,9 @@ type AsyncResultBase struct { | |||
| 133 | 133 | } | |
| 134 | 134 | ||
| 135 | 135 | func (x *AsyncResultBase) GoPointer() uintptr { | |
| 136 | + | if x == nil { | |
| 137 | + | return 0 | |
| 138 | + | } | |
| 136 | 139 | return x.Ptr | |
| 137 | 140 | } | |
| 138 | 141 | ||
| @@ -133,6 +133,9 @@ type AsyncResultBase struct { | |||||
| 133 | } | 133 | } | ||
| 134 | 134 | ||||
| 135 | func (x *AsyncResultBase) GoPointer() uintptr { | 135 | func (x *AsyncResultBase) GoPointer() uintptr { | ||
| 136 | + | if x == nil { | |||
| 137 | + | return 0 | |||
| 138 | + | } | |||
| 136 | return x.Ptr | 139 | return x.Ptr | ||
| 137 | } | 140 | } | ||
| 138 | 141 | ||||
M v4/gio/gbufferedinputstream.go +3 -0
| @@ -235,6 +235,9 @@ func (x *BufferedInputStream) SetBufferSize(SizeVar uint) { | |||
| 235 | 235 | } | |
| 236 | 236 | ||
| 237 | 237 | func (c *BufferedInputStream) GoPointer() uintptr { | |
| 238 | + | if c == nil { | |
| 239 | + | return 0 | |
| 240 | + | } | |
| 238 | 241 | return c.Ptr | |
| 239 | 242 | } | |
| 240 | 243 | ||
| @@ -235,6 +235,9 @@ func (x *BufferedInputStream) SetBufferSize(SizeVar uint) { | |||||
| 235 | } | 235 | } | ||
| 236 | 236 | ||||
| 237 | func (c *BufferedInputStream) GoPointer() uintptr { | 237 | func (c *BufferedInputStream) GoPointer() uintptr { | ||
| 238 | + | if c == nil { | |||
| 239 | + | return 0 | |||
| 240 | + | } | |||
| 238 | return c.Ptr | 241 | return c.Ptr | ||
| 239 | } | 242 | } | ||
| 240 | 243 | ||||
M v4/gio/gbufferedoutputstream.go +3 -0
| @@ -131,6 +131,9 @@ func (x *BufferedOutputStream) SetBufferSize(SizeVar uint) { | |||
| 131 | 131 | } | |
| 132 | 132 | ||
| 133 | 133 | func (c *BufferedOutputStream) GoPointer() uintptr { | |
| 134 | + | if c == nil { | |
| 135 | + | return 0 | |
| 136 | + | } | |
| 134 | 137 | return c.Ptr | |
| 135 | 138 | } | |
| 136 | 139 | ||
| @@ -131,6 +131,9 @@ func (x *BufferedOutputStream) SetBufferSize(SizeVar uint) { | |||||
| 131 | } | 131 | } | ||
| 132 | 132 | ||||
| 133 | func (c *BufferedOutputStream) GoPointer() uintptr { | 133 | func (c *BufferedOutputStream) GoPointer() uintptr { | ||
| 134 | + | if c == nil { | |||
| 135 | + | return 0 | |||
| 136 | + | } | |||
| 134 | return c.Ptr | 137 | return c.Ptr | ||
| 135 | } | 138 | } | ||
| 136 | 139 | ||||
M v4/gio/gcancellable.go +3 -0
| @@ -295,6 +295,9 @@ func (x *Cancellable) SourceNew() *glib.Source { | |||
| 295 | 295 | } | |
| 296 | 296 | ||
| 297 | 297 | func (c *Cancellable) GoPointer() uintptr { | |
| 298 | + | if c == nil { | |
| 299 | + | return 0 | |
| 300 | + | } | |
| 298 | 301 | return c.Ptr | |
| 299 | 302 | } | |
| 300 | 303 | ||
| @@ -295,6 +295,9 @@ func (x *Cancellable) SourceNew() *glib.Source { | |||||
| 295 | } | 295 | } | ||
| 296 | 296 | ||||
| 297 | func (c *Cancellable) GoPointer() uintptr { | 297 | func (c *Cancellable) GoPointer() uintptr { | ||
| 298 | + | if c == nil { | |||
| 299 | + | return 0 | |||
| 300 | + | } | |||
| 298 | return c.Ptr | 301 | return c.Ptr | ||
| 299 | } | 302 | } | ||
| 300 | 303 | ||||
M v4/gio/gcharsetconverter.go +3 -0
| @@ -89,6 +89,9 @@ func (x *CharsetConverter) SetUseFallback(UseFallbackVar bool) { | |||
| 89 | 89 | } | |
| 90 | 90 | ||
| 91 | 91 | func (c *CharsetConverter) GoPointer() uintptr { | |
| 92 | + | if c == nil { | |
| 93 | + | return 0 | |
| 94 | + | } | |
| 92 | 95 | return c.Ptr | |
| 93 | 96 | } | |
| 94 | 97 | ||
| @@ -89,6 +89,9 @@ func (x *CharsetConverter) SetUseFallback(UseFallbackVar bool) { | |||||
| 89 | } | 89 | } | ||
| 90 | 90 | ||||
| 91 | func (c *CharsetConverter) GoPointer() uintptr { | 91 | func (c *CharsetConverter) GoPointer() uintptr { | ||
| 92 | + | if c == nil { | |||
| 93 | + | return 0 | |||
| 94 | + | } | |||
| 92 | return c.Ptr | 95 | return c.Ptr | ||
| 93 | } | 96 | } | ||
| 94 | 97 | ||||
M v4/gio/gconverter.go +3 -0
| @@ -49,6 +49,9 @@ type ConverterBase struct { | |||
| 49 | 49 | } | |
| 50 | 50 | ||
| 51 | 51 | func (x *ConverterBase) GoPointer() uintptr { | |
| 52 | + | if x == nil { | |
| 53 | + | return 0 | |
| 54 | + | } | |
| 52 | 55 | return x.Ptr | |
| 53 | 56 | } | |
| 54 | 57 | ||
| @@ -49,6 +49,9 @@ type ConverterBase struct { | |||||
| 49 | } | 49 | } | ||
| 50 | 50 | ||||
| 51 | func (x *ConverterBase) GoPointer() uintptr { | 51 | func (x *ConverterBase) GoPointer() uintptr { | ||
| 52 | + | if x == nil { | |||
| 53 | + | return 0 | |||
| 54 | + | } | |||
| 52 | return x.Ptr | 55 | return x.Ptr | ||
| 53 | } | 56 | } | ||
| 54 | 57 | ||||
M v4/gio/gconverterinputstream.go +3 -0
| @@ -85,6 +85,9 @@ func (x *ConverterInputStream) GetConverter() *ConverterBase { | |||
| 85 | 85 | } | |
| 86 | 86 | ||
| 87 | 87 | func (c *ConverterInputStream) GoPointer() uintptr { | |
| 88 | + | if c == nil { | |
| 89 | + | return 0 | |
| 90 | + | } | |
| 88 | 91 | return c.Ptr | |
| 89 | 92 | } | |
| 90 | 93 | ||
| @@ -85,6 +85,9 @@ func (x *ConverterInputStream) GetConverter() *ConverterBase { | |||||
| 85 | } | 85 | } | ||
| 86 | 86 | ||||
| 87 | func (c *ConverterInputStream) GoPointer() uintptr { | 87 | func (c *ConverterInputStream) GoPointer() uintptr { | ||
| 88 | + | if c == nil { | |||
| 89 | + | return 0 | |||
| 90 | + | } | |||
| 88 | return c.Ptr | 91 | return c.Ptr | ||
| 89 | } | 92 | } | ||
| 90 | 93 | ||||
M v4/gio/gconverteroutputstream.go +3 -0
| @@ -85,6 +85,9 @@ func (x *ConverterOutputStream) GetConverter() *ConverterBase { | |||
| 85 | 85 | } | |
| 86 | 86 | ||
| 87 | 87 | func (c *ConverterOutputStream) GoPointer() uintptr { | |
| 88 | + | if c == nil { | |
| 89 | + | return 0 | |
| 90 | + | } | |
| 88 | 91 | return c.Ptr | |
| 89 | 92 | } | |
| 90 | 93 | ||
| @@ -85,6 +85,9 @@ func (x *ConverterOutputStream) GetConverter() *ConverterBase { | |||||
| 85 | } | 85 | } | ||
| 86 | 86 | ||||
| 87 | func (c *ConverterOutputStream) GoPointer() uintptr { | 87 | func (c *ConverterOutputStream) GoPointer() uintptr { | ||
| 88 | + | if c == nil { | |||
| 89 | + | return 0 | |||
| 90 | + | } | |||
| 88 | return c.Ptr | 91 | return c.Ptr | ||
| 89 | } | 92 | } | ||
| 90 | 93 | ||||
M v4/gio/gcredentials.go +3 -0
| @@ -206,6 +206,9 @@ func (x *Credentials) ToString() string { | |||
| 206 | 206 | } | |
| 207 | 207 | ||
| 208 | 208 | func (c *Credentials) GoPointer() uintptr { | |
| 209 | + | if c == nil { | |
| 210 | + | return 0 | |
| 211 | + | } | |
| 209 | 212 | return c.Ptr | |
| 210 | 213 | } | |
| 211 | 214 | ||
| @@ -206,6 +206,9 @@ func (x *Credentials) ToString() string { | |||||
| 206 | } | 206 | } | ||
| 207 | 207 | ||||
| 208 | func (c *Credentials) GoPointer() uintptr { | 208 | func (c *Credentials) GoPointer() uintptr { | ||
| 209 | + | if c == nil { | |||
| 210 | + | return 0 | |||
| 211 | + | } | |||
| 209 | return c.Ptr | 212 | return c.Ptr | ||
| 210 | } | 213 | } | ||
| 211 | 214 | ||||
M v4/gio/gdatagrambased.go +3 -0
| @@ -94,6 +94,9 @@ type DatagramBasedBase struct { | |||
| 94 | 94 | } | |
| 95 | 95 | ||
| 96 | 96 | func (x *DatagramBasedBase) GoPointer() uintptr { | |
| 97 | + | if x == nil { | |
| 98 | + | return 0 | |
| 99 | + | } | |
| 97 | 100 | return x.Ptr | |
| 98 | 101 | } | |
| 99 | 102 | ||
| @@ -94,6 +94,9 @@ type DatagramBasedBase struct { | |||||
| 94 | } | 94 | } | ||
| 95 | 95 | ||||
| 96 | func (x *DatagramBasedBase) GoPointer() uintptr { | 96 | func (x *DatagramBasedBase) GoPointer() uintptr { | ||
| 97 | + | if x == nil { | |||
| 98 | + | return 0 | |||
| 99 | + | } | |||
| 97 | return x.Ptr | 100 | return x.Ptr | ||
| 98 | } | 101 | } | ||
| 99 | 102 | ||||
M v4/gio/gdatainputstream.go +3 -0
| @@ -451,6 +451,9 @@ func (x *DataInputStream) SetNewlineType(TypeVar DataStreamNewlineType) { | |||
| 451 | 451 | } | |
| 452 | 452 | ||
| 453 | 453 | func (c *DataInputStream) GoPointer() uintptr { | |
| 454 | + | if c == nil { | |
| 455 | + | return 0 | |
| 456 | + | } | |
| 454 | 457 | return c.Ptr | |
| 455 | 458 | } | |
| 456 | 459 | ||
| @@ -451,6 +451,9 @@ func (x *DataInputStream) SetNewlineType(TypeVar DataStreamNewlineType) { | |||||
| 451 | } | 451 | } | ||
| 452 | 452 | ||||
| 453 | func (c *DataInputStream) GoPointer() uintptr { | 453 | func (c *DataInputStream) GoPointer() uintptr { | ||
| 454 | + | if c == nil { | |||
| 455 | + | return 0 | |||
| 456 | + | } | |||
| 454 | return c.Ptr | 457 | return c.Ptr | ||
| 455 | } | 458 | } | ||
| 456 | 459 | ||||
M v4/gio/gdataoutputstream.go +3 -0
| @@ -194,6 +194,9 @@ func (x *DataOutputStream) SetByteOrder(OrderVar DataStreamByteOrder) { | |||
| 194 | 194 | } | |
| 195 | 195 | ||
| 196 | 196 | func (c *DataOutputStream) GoPointer() uintptr { | |
| 197 | + | if c == nil { | |
| 198 | + | return 0 | |
| 199 | + | } | |
| 197 | 200 | return c.Ptr | |
| 198 | 201 | } | |
| 199 | 202 | ||
| @@ -194,6 +194,9 @@ func (x *DataOutputStream) SetByteOrder(OrderVar DataStreamByteOrder) { | |||||
| 194 | } | 194 | } | ||
| 195 | 195 | ||||
| 196 | func (c *DataOutputStream) GoPointer() uintptr { | 196 | func (c *DataOutputStream) GoPointer() uintptr { | ||
| 197 | + | if c == nil { | |||
| 198 | + | return 0 | |||
| 199 | + | } | |||
| 197 | return c.Ptr | 200 | return c.Ptr | ||
| 198 | } | 201 | } | ||
| 199 | 202 | ||||
M v4/gio/gdbusinterface.go +3 -0
| @@ -45,6 +45,9 @@ type DBusInterfaceBase struct { | |||
| 45 | 45 | } | |
| 46 | 46 | ||
| 47 | 47 | func (x *DBusInterfaceBase) GoPointer() uintptr { | |
| 48 | + | if x == nil { | |
| 49 | + | return 0 | |
| 50 | + | } | |
| 48 | 51 | return x.Ptr | |
| 49 | 52 | } | |
| 50 | 53 | ||
| @@ -45,6 +45,9 @@ type DBusInterfaceBase struct { | |||||
| 45 | } | 45 | } | ||
| 46 | 46 | ||||
| 47 | func (x *DBusInterfaceBase) GoPointer() uintptr { | 47 | func (x *DBusInterfaceBase) GoPointer() uintptr { | ||
| 48 | + | if x == nil { | |||
| 49 | + | return 0 | |||
| 50 | + | } | |||
| 48 | return x.Ptr | 51 | return x.Ptr | ||
| 49 | } | 52 | } | ||
| 50 | 53 | ||||
M v4/gio/gdbusinterfaceskeleton.go +3 -0
| @@ -206,6 +206,9 @@ func (x *DBusInterfaceSkeleton) UnexportFromConnection(ConnectionVar *DBusConnec | |||
| 206 | 206 | } | |
| 207 | 207 | ||
| 208 | 208 | func (c *DBusInterfaceSkeleton) GoPointer() uintptr { | |
| 209 | + | if c == nil { | |
| 210 | + | return 0 | |
| 211 | + | } | |
| 209 | 212 | return c.Ptr | |
| 210 | 213 | } | |
| 211 | 214 | ||
| @@ -206,6 +206,9 @@ func (x *DBusInterfaceSkeleton) UnexportFromConnection(ConnectionVar *DBusConnec | |||||
| 206 | } | 206 | } | ||
| 207 | 207 | ||||
| 208 | func (c *DBusInterfaceSkeleton) GoPointer() uintptr { | 208 | func (c *DBusInterfaceSkeleton) GoPointer() uintptr { | ||
| 209 | + | if c == nil { | |||
| 210 | + | return 0 | |||
| 211 | + | } | |||
| 209 | return c.Ptr | 212 | return c.Ptr | ||
| 210 | } | 213 | } | ||
| 211 | 214 | ||||
M v4/gio/gdbusobject.go +3 -0
| @@ -45,6 +45,9 @@ type DBusObjectBase struct { | |||
| 45 | 45 | } | |
| 46 | 46 | ||
| 47 | 47 | func (x *DBusObjectBase) GoPointer() uintptr { | |
| 48 | + | if x == nil { | |
| 49 | + | return 0 | |
| 50 | + | } | |
| 48 | 51 | return x.Ptr | |
| 49 | 52 | } | |
| 50 | 53 | ||
| @@ -45,6 +45,9 @@ type DBusObjectBase struct { | |||||
| 45 | } | 45 | } | ||
| 46 | 46 | ||||
| 47 | func (x *DBusObjectBase) GoPointer() uintptr { | 47 | func (x *DBusObjectBase) GoPointer() uintptr { | ||
| 48 | + | if x == nil { | |||
| 49 | + | return 0 | |||
| 50 | + | } | |||
| 48 | return x.Ptr | 51 | return x.Ptr | ||
| 49 | } | 52 | } | ||
| 50 | 53 | ||||
M v4/gio/gdbusobjectmanager.go +3 -0
| @@ -49,6 +49,9 @@ type DBusObjectManagerBase struct { | |||
| 49 | 49 | } | |
| 50 | 50 | ||
| 51 | 51 | func (x *DBusObjectManagerBase) GoPointer() uintptr { | |
| 52 | + | if x == nil { | |
| 53 | + | return 0 | |
| 54 | + | } | |
| 52 | 55 | return x.Ptr | |
| 53 | 56 | } | |
| 54 | 57 | ||
| @@ -49,6 +49,9 @@ type DBusObjectManagerBase struct { | |||||
| 49 | } | 49 | } | ||
| 50 | 50 | ||||
| 51 | func (x *DBusObjectManagerBase) GoPointer() uintptr { | 51 | func (x *DBusObjectManagerBase) GoPointer() uintptr { | ||
| 52 | + | if x == nil { | |||
| 53 | + | return 0 | |||
| 54 | + | } | |||
| 52 | return x.Ptr | 55 | return x.Ptr | ||
| 53 | } | 56 | } | ||
| 54 | 57 | ||||
M v4/gio/gdbusobjectmanagerclient.go +3 -0
| @@ -266,6 +266,9 @@ func (x *DBusObjectManagerClient) GetNameOwner() string { | |||
| 266 | 266 | } | |
| 267 | 267 | ||
| 268 | 268 | func (c *DBusObjectManagerClient) GoPointer() uintptr { | |
| 269 | + | if c == nil { | |
| 270 | + | return 0 | |
| 271 | + | } | |
| 269 | 272 | return c.Ptr | |
| 270 | 273 | } | |
| 271 | 274 | ||
| @@ -266,6 +266,9 @@ func (x *DBusObjectManagerClient) GetNameOwner() string { | |||||
| 266 | } | 266 | } | ||
| 267 | 267 | ||||
| 268 | func (c *DBusObjectManagerClient) GoPointer() uintptr { | 268 | func (c *DBusObjectManagerClient) GoPointer() uintptr { | ||
| 269 | + | if c == nil { | |||
| 270 | + | return 0 | |||
| 271 | + | } | |||
| 269 | return c.Ptr | 272 | return c.Ptr | ||
| 270 | } | 273 | } | ||
| 271 | 274 | ||||
M v4/gio/gdbusobjectmanagerserver.go +3 -0
| @@ -172,6 +172,9 @@ func (x *DBusObjectManagerServer) Unexport(ObjectPathVar string) bool { | |||
| 172 | 172 | } | |
| 173 | 173 | ||
| 174 | 174 | func (c *DBusObjectManagerServer) GoPointer() uintptr { | |
| 175 | + | if c == nil { | |
| 176 | + | return 0 | |
| 177 | + | } | |
| 175 | 178 | return c.Ptr | |
| 176 | 179 | } | |
| 177 | 180 | ||
| @@ -172,6 +172,9 @@ func (x *DBusObjectManagerServer) Unexport(ObjectPathVar string) bool { | |||||
| 172 | } | 172 | } | ||
| 173 | 173 | ||||
| 174 | func (c *DBusObjectManagerServer) GoPointer() uintptr { | 174 | func (c *DBusObjectManagerServer) GoPointer() uintptr { | ||
| 175 | + | if c == nil { | |||
| 176 | + | return 0 | |||
| 177 | + | } | |||
| 175 | return c.Ptr | 178 | return c.Ptr | ||
| 176 | } | 179 | } | ||
| 177 | 180 | ||||
M v4/gio/gdbusobjectproxy.go +3 -0
| @@ -88,6 +88,9 @@ func (x *DBusObjectProxy) GetConnection() *DBusConnection { | |||
| 88 | 88 | } | |
| 89 | 89 | ||
| 90 | 90 | func (c *DBusObjectProxy) GoPointer() uintptr { | |
| 91 | + | if c == nil { | |
| 92 | + | return 0 | |
| 93 | + | } | |
| 91 | 94 | return c.Ptr | |
| 92 | 95 | } | |
| 93 | 96 | ||
| @@ -88,6 +88,9 @@ func (x *DBusObjectProxy) GetConnection() *DBusConnection { | |||||
| 88 | } | 88 | } | ||
| 89 | 89 | ||||
| 90 | func (c *DBusObjectProxy) GoPointer() uintptr { | 90 | func (c *DBusObjectProxy) GoPointer() uintptr { | ||
| 91 | + | if c == nil { | |||
| 92 | + | return 0 | |||
| 93 | + | } | |||
| 91 | return c.Ptr | 94 | return c.Ptr | ||
| 92 | } | 95 | } | ||
| 93 | 96 | ||||
M v4/gio/gdbusobjectskeleton.go +3 -0
| @@ -127,6 +127,9 @@ func (x *DBusObjectSkeleton) SetObjectPath(ObjectPathVar string) { | |||
| 127 | 127 | } | |
| 128 | 128 | ||
| 129 | 129 | func (c *DBusObjectSkeleton) GoPointer() uintptr { | |
| 130 | + | if c == nil { | |
| 131 | + | return 0 | |
| 132 | + | } | |
| 130 | 133 | return c.Ptr | |
| 131 | 134 | } | |
| 132 | 135 | ||
| @@ -127,6 +127,9 @@ func (x *DBusObjectSkeleton) SetObjectPath(ObjectPathVar string) { | |||||
| 127 | } | 127 | } | ||
| 128 | 128 | ||||
| 129 | func (c *DBusObjectSkeleton) GoPointer() uintptr { | 129 | func (c *DBusObjectSkeleton) GoPointer() uintptr { | ||
| 130 | + | if c == nil { | |||
| 131 | + | return 0 | |||
| 132 | + | } | |||
| 130 | return c.Ptr | 133 | return c.Ptr | ||
| 131 | } | 134 | } | ||
| 132 | 135 | ||||
M v4/gio/gdbusproxy.go +3 -0
| @@ -540,6 +540,9 @@ func (x *DBusProxy) SetInterfaceInfo(InfoVar *DBusInterfaceInfo) { | |||
| 540 | 540 | } | |
| 541 | 541 | ||
| 542 | 542 | func (c *DBusProxy) GoPointer() uintptr { | |
| 543 | + | if c == nil { | |
| 544 | + | return 0 | |
| 545 | + | } | |
| 543 | 546 | return c.Ptr | |
| 544 | 547 | } | |
| 545 | 548 | ||
| @@ -540,6 +540,9 @@ func (x *DBusProxy) SetInterfaceInfo(InfoVar *DBusInterfaceInfo) { | |||||
| 540 | } | 540 | } | ||
| 541 | 541 | ||||
| 542 | func (c *DBusProxy) GoPointer() uintptr { | 542 | func (c *DBusProxy) GoPointer() uintptr { | ||
| 543 | + | if c == nil { | |||
| 544 | + | return 0 | |||
| 545 | + | } | |||
| 543 | return c.Ptr | 546 | return c.Ptr | ||
| 544 | } | 547 | } | ||
| 545 | 548 | ||||
M v4/gio/gdebugcontroller.go +3 -0
| @@ -54,6 +54,9 @@ type DebugControllerBase struct { | |||
| 54 | 54 | } | |
| 55 | 55 | ||
| 56 | 56 | func (x *DebugControllerBase) GoPointer() uintptr { | |
| 57 | + | if x == nil { | |
| 58 | + | return 0 | |
| 59 | + | } | |
| 57 | 60 | return x.Ptr | |
| 58 | 61 | } | |
| 59 | 62 | ||
| @@ -54,6 +54,9 @@ type DebugControllerBase struct { | |||||
| 54 | } | 54 | } | ||
| 55 | 55 | ||||
| 56 | func (x *DebugControllerBase) GoPointer() uintptr { | 56 | func (x *DebugControllerBase) GoPointer() uintptr { | ||
| 57 | + | if x == nil { | |||
| 58 | + | return 0 | |||
| 59 | + | } | |||
| 57 | return x.Ptr | 60 | return x.Ptr | ||
| 58 | } | 61 | } | ||
| 59 | 62 | ||||
M v4/gio/gdebugcontrollerdbus.go +3 -0
| @@ -205,6 +205,9 @@ func (x *DebugControllerDBus) Stop() { | |||
| 205 | 205 | } | |
| 206 | 206 | ||
| 207 | 207 | func (c *DebugControllerDBus) GoPointer() uintptr { | |
| 208 | + | if c == nil { | |
| 209 | + | return 0 | |
| 210 | + | } | |
| 208 | 211 | return c.Ptr | |
| 209 | 212 | } | |
| 210 | 213 | ||
| @@ -205,6 +205,9 @@ func (x *DebugControllerDBus) Stop() { | |||||
| 205 | } | 205 | } | ||
| 206 | 206 | ||||
| 207 | func (c *DebugControllerDBus) GoPointer() uintptr { | 207 | func (c *DebugControllerDBus) GoPointer() uintptr { | ||
| 208 | + | if c == nil { | |||
| 209 | + | return 0 | |||
| 210 | + | } | |||
| 208 | return c.Ptr | 211 | return c.Ptr | ||
| 209 | } | 212 | } | ||
| 210 | 213 | ||||
M v4/gio/gdesktopappinfo.go +6 -0
| @@ -58,6 +58,9 @@ type DesktopAppInfoLookupBase struct { | |||
| 58 | 58 | } | |
| 59 | 59 | ||
| 60 | 60 | func (x *DesktopAppInfoLookupBase) GoPointer() uintptr { | |
| 61 | + | if x == nil { | |
| 62 | + | return 0 | |
| 63 | + | } | |
| 61 | 64 | return x.Ptr | |
| 62 | 65 | } | |
| 63 | 66 | ||
| @@ -415,6 +418,9 @@ func (x *DesktopAppInfo) ListActions() []string { | |||
| 415 | 418 | } | |
| 416 | 419 | ||
| 417 | 420 | func (c *DesktopAppInfo) GoPointer() uintptr { | |
| 421 | + | if c == nil { | |
| 422 | + | return 0 | |
| 423 | + | } | |
| 418 | 424 | return c.Ptr | |
| 419 | 425 | } | |
| 420 | 426 | ||
| @@ -58,6 +58,9 @@ type DesktopAppInfoLookupBase struct { | |||||
| 58 | } | 58 | } | ||
| 59 | 59 | ||||
| 60 | func (x *DesktopAppInfoLookupBase) GoPointer() uintptr { | 60 | func (x *DesktopAppInfoLookupBase) GoPointer() uintptr { | ||
| 61 | + | if x == nil { | |||
| 62 | + | return 0 | |||
| 63 | + | } | |||
| 61 | return x.Ptr | 64 | return x.Ptr | ||
| 62 | } | 65 | } | ||
| 63 | 66 | ||||
| @@ -415,6 +418,9 @@ func (x *DesktopAppInfo) ListActions() []string { | |||||
| 415 | } | 418 | } | ||
| 416 | 419 | ||||
| 417 | func (c *DesktopAppInfo) GoPointer() uintptr { | 420 | func (c *DesktopAppInfo) GoPointer() uintptr { | ||
| 421 | + | if c == nil { | |||
| 422 | + | return 0 | |||
| 423 | + | } | |||
| 418 | return c.Ptr | 424 | return c.Ptr | ||
| 419 | } | 425 | } | ||
| 420 | 426 | ||||
M v4/gio/gdrive.go +3 -0
| @@ -92,6 +92,9 @@ type DriveBase struct { | |||
| 92 | 92 | } | |
| 93 | 93 | ||
| 94 | 94 | func (x *DriveBase) GoPointer() uintptr { | |
| 95 | + | if x == nil { | |
| 96 | + | return 0 | |
| 97 | + | } | |
| 95 | 98 | return x.Ptr | |
| 96 | 99 | } | |
| 97 | 100 | ||
| @@ -92,6 +92,9 @@ type DriveBase struct { | |||||
| 92 | } | 92 | } | ||
| 93 | 93 | ||||
| 94 | func (x *DriveBase) GoPointer() uintptr { | 94 | func (x *DriveBase) GoPointer() uintptr { | ||
| 95 | + | if x == nil { | |||
| 96 | + | return 0 | |||
| 97 | + | } | |||
| 95 | return x.Ptr | 98 | return x.Ptr | ||
| 96 | } | 99 | } | ||
| 97 | 100 | ||||
M v4/gio/gdtlsclientconnection.go +3 -0
| @@ -46,6 +46,9 @@ type DtlsClientConnectionBase struct { | |||
| 46 | 46 | } | |
| 47 | 47 | ||
| 48 | 48 | func (x *DtlsClientConnectionBase) GoPointer() uintptr { | |
| 49 | + | if x == nil { | |
| 50 | + | return 0 | |
| 51 | + | } | |
| 49 | 52 | return x.Ptr | |
| 50 | 53 | } | |
| 51 | 54 | ||
| @@ -46,6 +46,9 @@ type DtlsClientConnectionBase struct { | |||||
| 46 | } | 46 | } | ||
| 47 | 47 | ||||
| 48 | func (x *DtlsClientConnectionBase) GoPointer() uintptr { | 48 | func (x *DtlsClientConnectionBase) GoPointer() uintptr { | ||
| 49 | + | if x == nil { | |||
| 50 | + | return 0 | |||
| 51 | + | } | |||
| 49 | return x.Ptr | 52 | return x.Ptr | ||
| 50 | } | 53 | } | ||
| 51 | 54 | ||||
M v4/gio/gdtlsconnection.go +3 -0
| @@ -85,6 +85,9 @@ type DtlsConnectionBase struct { | |||
| 85 | 85 | } | |
| 86 | 86 | ||
| 87 | 87 | func (x *DtlsConnectionBase) GoPointer() uintptr { | |
| 88 | + | if x == nil { | |
| 89 | + | return 0 | |
| 90 | + | } | |
| 88 | 91 | return x.Ptr | |
| 89 | 92 | } | |
| 90 | 93 | ||
| @@ -85,6 +85,9 @@ type DtlsConnectionBase struct { | |||||
| 85 | } | 85 | } | ||
| 86 | 86 | ||||
| 87 | func (x *DtlsConnectionBase) GoPointer() uintptr { | 87 | func (x *DtlsConnectionBase) GoPointer() uintptr { | ||
| 88 | + | if x == nil { | |||
| 89 | + | return 0 | |||
| 90 | + | } | |||
| 88 | return x.Ptr | 91 | return x.Ptr | ||
| 89 | } | 92 | } | ||
| 90 | 93 | ||||
M v4/gio/gdtlsserverconnection.go +3 -0
| @@ -40,6 +40,9 @@ type DtlsServerConnectionBase struct { | |||
| 40 | 40 | } | |
| 41 | 41 | ||
| 42 | 42 | func (x *DtlsServerConnectionBase) GoPointer() uintptr { | |
| 43 | + | if x == nil { | |
| 44 | + | return 0 | |
| 45 | + | } | |
| 43 | 46 | return x.Ptr | |
| 44 | 47 | } | |
| 45 | 48 | ||
| @@ -40,6 +40,9 @@ type DtlsServerConnectionBase struct { | |||||
| 40 | } | 40 | } | ||
| 41 | 41 | ||||
| 42 | func (x *DtlsServerConnectionBase) GoPointer() uintptr { | 42 | func (x *DtlsServerConnectionBase) GoPointer() uintptr { | ||
| 43 | + | if x == nil { | |||
| 44 | + | return 0 | |||
| 45 | + | } | |||
| 43 | return x.Ptr | 46 | return x.Ptr | ||
| 44 | } | 47 | } | ||
| 45 | 48 | ||||
M v4/gio/gemblem.go +3 -0
| @@ -101,6 +101,9 @@ func (x *Emblem) GetOrigin() EmblemOrigin { | |||
| 101 | 101 | } | |
| 102 | 102 | ||
| 103 | 103 | func (c *Emblem) GoPointer() uintptr { | |
| 104 | + | if c == nil { | |
| 105 | + | return 0 | |
| 106 | + | } | |
| 104 | 107 | return c.Ptr | |
| 105 | 108 | } | |
| 106 | 109 | ||
| @@ -101,6 +101,9 @@ func (x *Emblem) GetOrigin() EmblemOrigin { | |||||
| 101 | } | 101 | } | ||
| 102 | 102 | ||||
| 103 | func (c *Emblem) GoPointer() uintptr { | 103 | func (c *Emblem) GoPointer() uintptr { | ||
| 104 | + | if c == nil { | |||
| 105 | + | return 0 | |||
| 106 | + | } | |||
| 104 | return c.Ptr | 107 | return c.Ptr | ||
| 105 | } | 108 | } | ||
| 106 | 109 | ||||
M v4/gio/gemblemedicon.go +3 -0
| @@ -113,6 +113,9 @@ func (x *EmblemedIcon) GetIcon() *IconBase { | |||
| 113 | 113 | } | |
| 114 | 114 | ||
| 115 | 115 | func (c *EmblemedIcon) GoPointer() uintptr { | |
| 116 | + | if c == nil { | |
| 117 | + | return 0 | |
| 118 | + | } | |
| 116 | 119 | return c.Ptr | |
| 117 | 120 | } | |
| 118 | 121 | ||
| @@ -113,6 +113,9 @@ func (x *EmblemedIcon) GetIcon() *IconBase { | |||||
| 113 | } | 113 | } | ||
| 114 | 114 | ||||
| 115 | func (c *EmblemedIcon) GoPointer() uintptr { | 115 | func (c *EmblemedIcon) GoPointer() uintptr { | ||
| 116 | + | if c == nil { | |||
| 117 | + | return 0 | |||
| 118 | + | } | |||
| 116 | return c.Ptr | 119 | return c.Ptr | ||
| 117 | } | 120 | } | ||
| 118 | 121 | ||||
M v4/gio/gfile.go +3 -0
| @@ -249,6 +249,9 @@ type FileBase struct { | |||
| 249 | 249 | } | |
| 250 | 250 | ||
| 251 | 251 | func (x *FileBase) GoPointer() uintptr { | |
| 252 | + | if x == nil { | |
| 253 | + | return 0 | |
| 254 | + | } | |
| 252 | 255 | return x.Ptr | |
| 253 | 256 | } | |
| 254 | 257 | ||
| @@ -249,6 +249,9 @@ type FileBase struct { | |||||
| 249 | } | 249 | } | ||
| 250 | 250 | ||||
| 251 | func (x *FileBase) GoPointer() uintptr { | 251 | func (x *FileBase) GoPointer() uintptr { | ||
| 252 | + | if x == nil { | |||
| 253 | + | return 0 | |||
| 254 | + | } | |||
| 252 | return x.Ptr | 255 | return x.Ptr | ||
| 253 | } | 256 | } | ||
| 254 | 257 | ||||
M v4/gio/gfiledescriptorbased.go +3 -0
| @@ -44,6 +44,9 @@ type FileDescriptorBasedBase struct { | |||
| 44 | 44 | } | |
| 45 | 45 | ||
| 46 | 46 | func (x *FileDescriptorBasedBase) GoPointer() uintptr { | |
| 47 | + | if x == nil { | |
| 48 | + | return 0 | |
| 49 | + | } | |
| 47 | 50 | return x.Ptr | |
| 48 | 51 | } | |
| 49 | 52 | ||
| @@ -44,6 +44,9 @@ type FileDescriptorBasedBase struct { | |||||
| 44 | } | 44 | } | ||
| 45 | 45 | ||||
| 46 | func (x *FileDescriptorBasedBase) GoPointer() uintptr { | 46 | func (x *FileDescriptorBasedBase) GoPointer() uintptr { | ||
| 47 | + | if x == nil { | |||
| 48 | + | return 0 | |||
| 49 | + | } | |||
| 47 | return x.Ptr | 50 | return x.Ptr | ||
| 48 | } | 51 | } | ||
| 49 | 52 | ||||
M v4/gio/gfileenumerator.go +3 -0
| @@ -329,6 +329,9 @@ func (x *FileEnumerator) SetPending(PendingVar bool) { | |||
| 329 | 329 | } | |
| 330 | 330 | ||
| 331 | 331 | func (c *FileEnumerator) GoPointer() uintptr { | |
| 332 | + | if c == nil { | |
| 333 | + | return 0 | |
| 334 | + | } | |
| 332 | 335 | return c.Ptr | |
| 333 | 336 | } | |
| 334 | 337 | ||
| @@ -329,6 +329,9 @@ func (x *FileEnumerator) SetPending(PendingVar bool) { | |||||
| 329 | } | 329 | } | ||
| 330 | 330 | ||||
| 331 | func (c *FileEnumerator) GoPointer() uintptr { | 331 | func (c *FileEnumerator) GoPointer() uintptr { | ||
| 332 | + | if c == nil { | |||
| 333 | + | return 0 | |||
| 334 | + | } | |||
| 332 | return c.Ptr | 335 | return c.Ptr | ||
| 333 | } | 336 | } | ||
| 334 | 337 | ||||
M v4/gio/gfileicon.go +3 -0
| @@ -72,6 +72,9 @@ func (x *FileIcon) GetFile() *FileBase { | |||
| 72 | 72 | } | |
| 73 | 73 | ||
| 74 | 74 | func (c *FileIcon) GoPointer() uintptr { | |
| 75 | + | if c == nil { | |
| 76 | + | return 0 | |
| 77 | + | } | |
| 75 | 78 | return c.Ptr | |
| 76 | 79 | } | |
| 77 | 80 | ||
| @@ -72,6 +72,9 @@ func (x *FileIcon) GetFile() *FileBase { | |||||
| 72 | } | 72 | } | ||
| 73 | 73 | ||||
| 74 | func (c *FileIcon) GoPointer() uintptr { | 74 | func (c *FileIcon) GoPointer() uintptr { | ||
| 75 | + | if c == nil { | |||
| 76 | + | return 0 | |||
| 77 | + | } | |||
| 75 | return c.Ptr | 78 | return c.Ptr | ||
| 76 | } | 79 | } | ||
| 77 | 80 | ||||
M v4/gio/gfileinfo.go +3 -0
| @@ -1351,6 +1351,9 @@ func (x *FileInfo) UnsetAttributeMask() { | |||
| 1351 | 1351 | } | |
| 1352 | 1352 | ||
| 1353 | 1353 | func (c *FileInfo) GoPointer() uintptr { | |
| 1354 | + | if c == nil { | |
| 1355 | + | return 0 | |
| 1356 | + | } | |
| 1354 | 1357 | return c.Ptr | |
| 1355 | 1358 | } | |
| 1356 | 1359 | ||
| @@ -1351,6 +1351,9 @@ func (x *FileInfo) UnsetAttributeMask() { | |||||
| 1351 | } | 1351 | } | ||
| 1352 | 1352 | ||||
| 1353 | func (c *FileInfo) GoPointer() uintptr { | 1353 | func (c *FileInfo) GoPointer() uintptr { | ||
| 1354 | + | if c == nil { | |||
| 1355 | + | return 0 | |||
| 1356 | + | } | |||
| 1354 | return c.Ptr | 1357 | return c.Ptr | ||
| 1355 | } | 1358 | } | ||
| 1356 | 1359 | ||||
M v4/gio/gfileinputstream.go +3 -0
| @@ -120,6 +120,9 @@ func (x *FileInputStream) QueryInfoFinish(ResultVar AsyncResult) (*FileInfo, err | |||
| 120 | 120 | } | |
| 121 | 121 | ||
| 122 | 122 | func (c *FileInputStream) GoPointer() uintptr { | |
| 123 | + | if c == nil { | |
| 124 | + | return 0 | |
| 125 | + | } | |
| 123 | 126 | return c.Ptr | |
| 124 | 127 | } | |
| 125 | 128 | ||
| @@ -120,6 +120,9 @@ func (x *FileInputStream) QueryInfoFinish(ResultVar AsyncResult) (*FileInfo, err | |||||
| 120 | } | 120 | } | ||
| 121 | 121 | ||||
| 122 | func (c *FileInputStream) GoPointer() uintptr { | 122 | func (c *FileInputStream) GoPointer() uintptr { | ||
| 123 | + | if c == nil { | |||
| 124 | + | return 0 | |||
| 125 | + | } | |||
| 123 | return c.Ptr | 126 | return c.Ptr | ||
| 124 | } | 127 | } | ||
| 125 | 128 | ||||
M v4/gio/gfileiostream.go +3 -0
| @@ -150,6 +150,9 @@ func (x *FileIOStream) QueryInfoFinish(ResultVar AsyncResult) (*FileInfo, error) | |||
| 150 | 150 | } | |
| 151 | 151 | ||
| 152 | 152 | func (c *FileIOStream) GoPointer() uintptr { | |
| 153 | + | if c == nil { | |
| 154 | + | return 0 | |
| 155 | + | } | |
| 153 | 156 | return c.Ptr | |
| 154 | 157 | } | |
| 155 | 158 | ||
| @@ -150,6 +150,9 @@ func (x *FileIOStream) QueryInfoFinish(ResultVar AsyncResult) (*FileInfo, error) | |||||
| 150 | } | 150 | } | ||
| 151 | 151 | ||||
| 152 | func (c *FileIOStream) GoPointer() uintptr { | 152 | func (c *FileIOStream) GoPointer() uintptr { | ||
| 153 | + | if c == nil { | |||
| 154 | + | return 0 | |||
| 155 | + | } | |||
| 153 | return c.Ptr | 156 | return c.Ptr | ||
| 154 | } | 157 | } | ||
| 155 | 158 | ||||
M v4/gio/gfilemonitor.go +3 -0
| @@ -104,6 +104,9 @@ func (x *FileMonitor) SetRateLimit(LimitMsecsVar int) { | |||
| 104 | 104 | } | |
| 105 | 105 | ||
| 106 | 106 | func (c *FileMonitor) GoPointer() uintptr { | |
| 107 | + | if c == nil { | |
| 108 | + | return 0 | |
| 109 | + | } | |
| 107 | 110 | return c.Ptr | |
| 108 | 111 | } | |
| 109 | 112 | ||
| @@ -104,6 +104,9 @@ func (x *FileMonitor) SetRateLimit(LimitMsecsVar int) { | |||||
| 104 | } | 104 | } | ||
| 105 | 105 | ||||
| 106 | func (c *FileMonitor) GoPointer() uintptr { | 106 | func (c *FileMonitor) GoPointer() uintptr { | ||
| 107 | + | if c == nil { | |||
| 108 | + | return 0 | |||
| 109 | + | } | |||
| 107 | return c.Ptr | 110 | return c.Ptr | ||
| 108 | } | 111 | } | ||
| 109 | 112 | ||||
M v4/gio/gfilenamecompleter.go +3 -0
| @@ -86,6 +86,9 @@ func (x *FilenameCompleter) SetDirsOnly(DirsOnlyVar bool) { | |||
| 86 | 86 | } | |
| 87 | 87 | ||
| 88 | 88 | func (c *FilenameCompleter) GoPointer() uintptr { | |
| 89 | + | if c == nil { | |
| 90 | + | return 0 | |
| 91 | + | } | |
| 89 | 92 | return c.Ptr | |
| 90 | 93 | } | |
| 91 | 94 | ||
| @@ -86,6 +86,9 @@ func (x *FilenameCompleter) SetDirsOnly(DirsOnlyVar bool) { | |||||
| 86 | } | 86 | } | ||
| 87 | 87 | ||||
| 88 | func (c *FilenameCompleter) GoPointer() uintptr { | 88 | func (c *FilenameCompleter) GoPointer() uintptr { | ||
| 89 | + | if c == nil { | |||
| 90 | + | return 0 | |||
| 91 | + | } | |||
| 89 | return c.Ptr | 92 | return c.Ptr | ||
| 90 | } | 93 | } | ||
| 91 | 94 | ||||
M v4/gio/gfileoutputstream.go +3 -0
| @@ -144,6 +144,9 @@ func (x *FileOutputStream) QueryInfoFinish(ResultVar AsyncResult) (*FileInfo, er | |||
| 144 | 144 | } | |
| 145 | 145 | ||
| 146 | 146 | func (c *FileOutputStream) GoPointer() uintptr { | |
| 147 | + | if c == nil { | |
| 148 | + | return 0 | |
| 149 | + | } | |
| 147 | 150 | return c.Ptr | |
| 148 | 151 | } | |
| 149 | 152 | ||
| @@ -144,6 +144,9 @@ func (x *FileOutputStream) QueryInfoFinish(ResultVar AsyncResult) (*FileInfo, er | |||||
| 144 | } | 144 | } | ||
| 145 | 145 | ||||
| 146 | func (c *FileOutputStream) GoPointer() uintptr { | 146 | func (c *FileOutputStream) GoPointer() uintptr { | ||
| 147 | + | if c == nil { | |||
| 148 | + | return 0 | |||
| 149 | + | } | |||
| 147 | return c.Ptr | 150 | return c.Ptr | ||
| 148 | } | 151 | } | ||
| 149 | 152 | ||||
M v4/gio/gfilterinputstream.go +3 -0
| @@ -78,6 +78,9 @@ func (x *FilterInputStream) SetCloseBaseStream(CloseBaseVar bool) { | |||
| 78 | 78 | } | |
| 79 | 79 | ||
| 80 | 80 | func (c *FilterInputStream) GoPointer() uintptr { | |
| 81 | + | if c == nil { | |
| 82 | + | return 0 | |
| 83 | + | } | |
| 81 | 84 | return c.Ptr | |
| 82 | 85 | } | |
| 83 | 86 | ||
| @@ -78,6 +78,9 @@ func (x *FilterInputStream) SetCloseBaseStream(CloseBaseVar bool) { | |||||
| 78 | } | 78 | } | ||
| 79 | 79 | ||||
| 80 | func (c *FilterInputStream) GoPointer() uintptr { | 80 | func (c *FilterInputStream) GoPointer() uintptr { | ||
| 81 | + | if c == nil { | |||
| 82 | + | return 0 | |||
| 83 | + | } | |||
| 81 | return c.Ptr | 84 | return c.Ptr | ||
| 82 | } | 85 | } | ||
| 83 | 86 | ||||
M v4/gio/gfilteroutputstream.go +3 -0
| @@ -78,6 +78,9 @@ func (x *FilterOutputStream) SetCloseBaseStream(CloseBaseVar bool) { | |||
| 78 | 78 | } | |
| 79 | 79 | ||
| 80 | 80 | func (c *FilterOutputStream) GoPointer() uintptr { | |
| 81 | + | if c == nil { | |
| 82 | + | return 0 | |
| 83 | + | } | |
| 81 | 84 | return c.Ptr | |
| 82 | 85 | } | |
| 83 | 86 | ||
| @@ -78,6 +78,9 @@ func (x *FilterOutputStream) SetCloseBaseStream(CloseBaseVar bool) { | |||||
| 78 | } | 78 | } | ||
| 79 | 79 | ||||
| 80 | func (c *FilterOutputStream) GoPointer() uintptr { | 80 | func (c *FilterOutputStream) GoPointer() uintptr { | ||
| 81 | + | if c == nil { | |||
| 82 | + | return 0 | |||
| 83 | + | } | |||
| 81 | return c.Ptr | 84 | return c.Ptr | ||
| 82 | } | 85 | } | ||
| 83 | 86 | ||||
M v4/gio/gicon.go +3 -0
| @@ -71,6 +71,9 @@ type IconBase struct { | |||
| 71 | 71 | } | |
| 72 | 72 | ||
| 73 | 73 | func (x *IconBase) GoPointer() uintptr { | |
| 74 | + | if x == nil { | |
| 75 | + | return 0 | |
| 76 | + | } | |
| 74 | 77 | return x.Ptr | |
| 75 | 78 | } | |
| 76 | 79 | ||
| @@ -71,6 +71,9 @@ type IconBase struct { | |||||
| 71 | } | 71 | } | ||
| 72 | 72 | ||||
| 73 | func (x *IconBase) GoPointer() uintptr { | 73 | func (x *IconBase) GoPointer() uintptr { | ||
| 74 | + | if x == nil { | |||
| 75 | + | return 0 | |||
| 76 | + | } | |||
| 74 | return x.Ptr | 77 | return x.Ptr | ||
| 75 | } | 78 | } | ||
| 76 | 79 | ||||
M v4/gio/ginetaddress.go +3 -0
| @@ -264,6 +264,9 @@ func (x *InetAddress) ToString() string { | |||
| 264 | 264 | } | |
| 265 | 265 | ||
| 266 | 266 | func (c *InetAddress) GoPointer() uintptr { | |
| 267 | + | if c == nil { | |
| 268 | + | return 0 | |
| 269 | + | } | |
| 267 | 270 | return c.Ptr | |
| 268 | 271 | } | |
| 269 | 272 | ||
| @@ -264,6 +264,9 @@ func (x *InetAddress) ToString() string { | |||||
| 264 | } | 264 | } | ||
| 265 | 265 | ||||
| 266 | func (c *InetAddress) GoPointer() uintptr { | 266 | func (c *InetAddress) GoPointer() uintptr { | ||
| 267 | + | if c == nil { | |||
| 268 | + | return 0 | |||
| 269 | + | } | |||
| 267 | return c.Ptr | 270 | return c.Ptr | ||
| 268 | } | 271 | } | ||
| 269 | 272 | ||||
M v4/gio/ginetaddressmask.go +3 -0
| @@ -159,6 +159,9 @@ func (x *InetAddressMask) ToString() string { | |||
| 159 | 159 | } | |
| 160 | 160 | ||
| 161 | 161 | func (c *InetAddressMask) GoPointer() uintptr { | |
| 162 | + | if c == nil { | |
| 163 | + | return 0 | |
| 164 | + | } | |
| 162 | 165 | return c.Ptr | |
| 163 | 166 | } | |
| 164 | 167 | ||
| @@ -159,6 +159,9 @@ func (x *InetAddressMask) ToString() string { | |||||
| 159 | } | 159 | } | ||
| 160 | 160 | ||||
| 161 | func (c *InetAddressMask) GoPointer() uintptr { | 161 | func (c *InetAddressMask) GoPointer() uintptr { | ||
| 162 | + | if c == nil { | |||
| 163 | + | return 0 | |||
| 164 | + | } | |||
| 162 | return c.Ptr | 165 | return c.Ptr | ||
| 163 | } | 166 | } | ||
| 164 | 167 | ||||
M v4/gio/ginetsocketaddress.go +3 -0
| @@ -129,6 +129,9 @@ func (x *InetSocketAddress) GetScopeId() uint32 { | |||
| 129 | 129 | } | |
| 130 | 130 | ||
| 131 | 131 | func (c *InetSocketAddress) GoPointer() uintptr { | |
| 132 | + | if c == nil { | |
| 133 | + | return 0 | |
| 134 | + | } | |
| 132 | 135 | return c.Ptr | |
| 133 | 136 | } | |
| 134 | 137 | ||
| @@ -129,6 +129,9 @@ func (x *InetSocketAddress) GetScopeId() uint32 { | |||||
| 129 | } | 129 | } | ||
| 130 | 130 | ||||
| 131 | func (c *InetSocketAddress) GoPointer() uintptr { | 131 | func (c *InetSocketAddress) GoPointer() uintptr { | ||
| 132 | + | if c == nil { | |||
| 133 | + | return 0 | |||
| 134 | + | } | |||
| 132 | return c.Ptr | 135 | return c.Ptr | ||
| 133 | } | 136 | } | ||
| 134 | 137 | ||||
M v4/gio/ginitable.go +3 -0
| @@ -65,6 +65,9 @@ type InitableBase struct { | |||
| 65 | 65 | } | |
| 66 | 66 | ||
| 67 | 67 | func (x *InitableBase) GoPointer() uintptr { | |
| 68 | + | if x == nil { | |
| 69 | + | return 0 | |
| 70 | + | } | |
| 68 | 71 | return x.Ptr | |
| 69 | 72 | } | |
| 70 | 73 | ||
| @@ -65,6 +65,9 @@ type InitableBase struct { | |||||
| 65 | } | 65 | } | ||
| 66 | 66 | ||||
| 67 | func (x *InitableBase) GoPointer() uintptr { | 67 | func (x *InitableBase) GoPointer() uintptr { | ||
| 68 | + | if x == nil { | |||
| 69 | + | return 0 | |||
| 70 | + | } | |||
| 68 | return x.Ptr | 71 | return x.Ptr | ||
| 69 | } | 72 | } | ||
| 70 | 73 | ||||
M v4/gio/ginputstream.go +3 -0
| @@ -470,6 +470,9 @@ func (x *InputStream) SkipFinish(ResultVar AsyncResult) (int, error) { | |||
| 470 | 470 | } | |
| 471 | 471 | ||
| 472 | 472 | func (c *InputStream) GoPointer() uintptr { | |
| 473 | + | if c == nil { | |
| 474 | + | return 0 | |
| 475 | + | } | |
| 473 | 476 | return c.Ptr | |
| 474 | 477 | } | |
| 475 | 478 | ||
| @@ -470,6 +470,9 @@ func (x *InputStream) SkipFinish(ResultVar AsyncResult) (int, error) { | |||||
| 470 | } | 470 | } | ||
| 471 | 471 | ||||
| 472 | func (c *InputStream) GoPointer() uintptr { | 472 | func (c *InputStream) GoPointer() uintptr { | ||
| 473 | + | if c == nil { | |||
| 474 | + | return 0 | |||
| 475 | + | } | |||
| 473 | return c.Ptr | 476 | return c.Ptr | ||
| 474 | } | 477 | } | ||
| 475 | 478 | ||||
M v4/gio/gio-2.0.go +57 -0
| @@ -90,6 +90,9 @@ func AppInfoMonitorNewFromInternalPtr(ptr uintptr) *AppInfoMonitor { | |||
| 90 | 90 | } | |
| 91 | 91 | ||
| 92 | 92 | func (c *AppInfoMonitor) GoPointer() uintptr { | |
| 93 | + | if c == nil { | |
| 94 | + | return 0 | |
| 95 | + | } | |
| 93 | 96 | return c.Ptr | |
| 94 | 97 | } | |
| 95 | 98 | ||
| @@ -189,6 +192,9 @@ func (x *BytesIcon) GetBytes() *glib.Bytes { | |||
| 189 | 192 | } | |
| 190 | 193 | ||
| 191 | 194 | func (c *BytesIcon) GoPointer() uintptr { | |
| 195 | + | if c == nil { | |
| 196 | + | return 0 | |
| 197 | + | } | |
| 192 | 198 | return c.Ptr | |
| 193 | 199 | } | |
| 194 | 200 | ||
| @@ -304,6 +310,9 @@ func DBusActionGroupNewFromInternalPtr(ptr uintptr) *DBusActionGroup { | |||
| 304 | 310 | } | |
| 305 | 311 | ||
| 306 | 312 | func (c *DBusActionGroup) GoPointer() uintptr { | |
| 313 | + | if c == nil { | |
| 314 | + | return 0 | |
| 315 | + | } | |
| 307 | 316 | return c.Ptr | |
| 308 | 317 | } | |
| 309 | 318 | ||
| @@ -719,6 +728,9 @@ func (x *DBusAuthObserver) AuthorizeAuthenticatedPeer(StreamVar *IOStream, Crede | |||
| 719 | 728 | } | |
| 720 | 729 | ||
| 721 | 730 | func (c *DBusAuthObserver) GoPointer() uintptr { | |
| 731 | + | if c == nil { | |
| 732 | + | return 0 | |
| 733 | + | } | |
| 722 | 734 | return c.Ptr | |
| 723 | 735 | } | |
| 724 | 736 | ||
| @@ -1914,6 +1926,9 @@ func (x *DBusConnection) UnregisterSubtree(RegistrationIdVar uint) bool { | |||
| 1914 | 1926 | } | |
| 1915 | 1927 | ||
| 1916 | 1928 | func (c *DBusConnection) GoPointer() uintptr { | |
| 1929 | + | if c == nil { | |
| 1930 | + | return 0 | |
| 1931 | + | } | |
| 1917 | 1932 | return c.Ptr | |
| 1918 | 1933 | } | |
| 1919 | 1934 | ||
| @@ -2158,6 +2173,9 @@ func DBusMenuModelNewFromInternalPtr(ptr uintptr) *DBusMenuModel { | |||
| 2158 | 2173 | } | |
| 2159 | 2174 | ||
| 2160 | 2175 | func (c *DBusMenuModel) GoPointer() uintptr { | |
| 2176 | + | if c == nil { | |
| 2177 | + | return 0 | |
| 2178 | + | } | |
| 2161 | 2179 | return c.Ptr | |
| 2162 | 2180 | } | |
| 2163 | 2181 | ||
| @@ -2817,6 +2835,9 @@ func (x *DBusMessage) ToGerror() (bool, error) { | |||
| 2817 | 2835 | } | |
| 2818 | 2836 | ||
| 2819 | 2837 | func (c *DBusMessage) GoPointer() uintptr { | |
| 2838 | + | if c == nil { | |
| 2839 | + | return 0 | |
| 2840 | + | } | |
| 2820 | 2841 | return c.Ptr | |
| 2821 | 2842 | } | |
| 2822 | 2843 | ||
| @@ -3151,6 +3172,9 @@ func (x *DBusMethodInvocation) TakeError(ErrorVar *glib.Error) { | |||
| 3151 | 3172 | } | |
| 3152 | 3173 | ||
| 3153 | 3174 | func (c *DBusMethodInvocation) GoPointer() uintptr { | |
| 3175 | + | if c == nil { | |
| 3176 | + | return 0 | |
| 3177 | + | } | |
| 3154 | 3178 | return c.Ptr | |
| 3155 | 3179 | } | |
| 3156 | 3180 | ||
| @@ -3291,6 +3315,9 @@ func (x *DBusServer) Stop() { | |||
| 3291 | 3315 | } | |
| 3292 | 3316 | ||
| 3293 | 3317 | func (c *DBusServer) GoPointer() uintptr { | |
| 3318 | + | if c == nil { | |
| 3319 | + | return 0 | |
| 3320 | + | } | |
| 3294 | 3321 | return c.Ptr | |
| 3295 | 3322 | } | |
| 3296 | 3323 | ||
| @@ -3619,6 +3646,9 @@ func (x *Menu) RemoveAll() { | |||
| 3619 | 3646 | } | |
| 3620 | 3647 | ||
| 3621 | 3648 | func (c *Menu) GoPointer() uintptr { | |
| 3649 | + | if c == nil { | |
| 3650 | + | return 0 | |
| 3651 | + | } | |
| 3622 | 3652 | return c.Ptr | |
| 3623 | 3653 | } | |
| 3624 | 3654 | ||
| @@ -4054,6 +4084,9 @@ func (x *MenuItem) SetSubmenu(SubmenuVar *MenuModel) { | |||
| 4054 | 4084 | } | |
| 4055 | 4085 | ||
| 4056 | 4086 | func (c *MenuItem) GoPointer() uintptr { | |
| 4087 | + | if c == nil { | |
| 4088 | + | return 0 | |
| 4089 | + | } | |
| 4057 | 4090 | return c.Ptr | |
| 4058 | 4091 | } | |
| 4059 | 4092 | ||
| @@ -4304,6 +4337,9 @@ func (x *Notification) SetUrgent(UrgentVar bool) { | |||
| 4304 | 4337 | } | |
| 4305 | 4338 | ||
| 4306 | 4339 | func (c *Notification) GoPointer() uintptr { | |
| 4340 | + | if c == nil { | |
| 4341 | + | return 0 | |
| 4342 | + | } | |
| 4307 | 4343 | return c.Ptr | |
| 4308 | 4344 | } | |
| 4309 | 4345 | ||
| @@ -4402,6 +4438,9 @@ func NewPropertyAction(NameVar string, ObjectVar *gobject.Object, PropertyNameVa | |||
| 4402 | 4438 | } | |
| 4403 | 4439 | ||
| 4404 | 4440 | func (c *PropertyAction) GoPointer() uintptr { | |
| 4441 | + | if c == nil { | |
| 4442 | + | return 0 | |
| 4443 | + | } | |
| 4405 | 4444 | return c.Ptr | |
| 4406 | 4445 | } | |
| 4407 | 4446 | ||
| @@ -4632,6 +4671,9 @@ func (x *SimpleAction) SetStateHint(StateHintVar *glib.Variant) { | |||
| 4632 | 4671 | } | |
| 4633 | 4672 | ||
| 4634 | 4673 | func (c *SimpleAction) GoPointer() uintptr { | |
| 4674 | + | if c == nil { | |
| 4675 | + | return 0 | |
| 4676 | + | } | |
| 4635 | 4677 | return c.Ptr | |
| 4636 | 4678 | } | |
| 4637 | 4679 | ||
| @@ -4884,6 +4926,9 @@ func NewSimpleIOStream(InputStreamVar *InputStream, OutputStreamVar *OutputStrea | |||
| 4884 | 4926 | } | |
| 4885 | 4927 | ||
| 4886 | 4928 | func (c *SimpleIOStream) GoPointer() uintptr { | |
| 4929 | + | if c == nil { | |
| 4930 | + | return 0 | |
| 4931 | + | } | |
| 4887 | 4932 | return c.Ptr | |
| 4888 | 4933 | } | |
| 4889 | 4934 | ||
| @@ -4930,6 +4975,9 @@ func NewSimplePermission(AllowedVar bool) *SimplePermission { | |||
| 4930 | 4975 | } | |
| 4931 | 4976 | ||
| 4932 | 4977 | func (c *SimplePermission) GoPointer() uintptr { | |
| 4978 | + | if c == nil { | |
| 4979 | + | return 0 | |
| 4980 | + | } | |
| 4933 | 4981 | return c.Ptr | |
| 4934 | 4982 | } | |
| 4935 | 4983 | ||
| @@ -5463,6 +5511,9 @@ func (x *Subprocess) WaitFinish(ResultVar AsyncResult) (bool, error) { | |||
| 5463 | 5511 | } | |
| 5464 | 5512 | ||
| 5465 | 5513 | func (c *Subprocess) GoPointer() uintptr { | |
| 5514 | + | if c == nil { | |
| 5515 | + | return 0 | |
| 5516 | + | } | |
| 5466 | 5517 | return c.Ptr | |
| 5467 | 5518 | } | |
| 5468 | 5519 | ||
| @@ -5894,6 +5945,9 @@ func (x *SubprocessLauncher) Unsetenv(VariableVar string) { | |||
| 5894 | 5945 | } | |
| 5895 | 5946 | ||
| 5896 | 5947 | func (c *SubprocessLauncher) GoPointer() uintptr { | |
| 5948 | + | if c == nil { | |
| 5949 | + | return 0 | |
| 5950 | + | } | |
| 5897 | 5951 | return c.Ptr | |
| 5898 | 5952 | } | |
| 5899 | 5953 | ||
| @@ -6087,6 +6141,9 @@ func (x *TestDBus) Up() { | |||
| 6087 | 6141 | } | |
| 6088 | 6142 | ||
| 6089 | 6143 | func (c *TestDBus) GoPointer() uintptr { | |
| 6144 | + | if c == nil { | |
| 6145 | + | return 0 | |
| 6146 | + | } | |
| 6090 | 6147 | return c.Ptr | |
| 6091 | 6148 | } | |
| 6092 | 6149 | ||
| @@ -90,6 +90,9 @@ func AppInfoMonitorNewFromInternalPtr(ptr uintptr) *AppInfoMonitor { | |||||
| 90 | } | 90 | } | ||
| 91 | 91 | ||||
| 92 | func (c *AppInfoMonitor) GoPointer() uintptr { | 92 | func (c *AppInfoMonitor) GoPointer() uintptr { | ||
| 93 | + | if c == nil { | |||
| 94 | + | return 0 | |||
| 95 | + | } | |||
| 93 | return c.Ptr | 96 | return c.Ptr | ||
| 94 | } | 97 | } | ||
| 95 | 98 | ||||
| @@ -189,6 +192,9 @@ func (x *BytesIcon) GetBytes() *glib.Bytes { | |||||
| 189 | } | 192 | } | ||
| 190 | 193 | ||||
| 191 | func (c *BytesIcon) GoPointer() uintptr { | 194 | func (c *BytesIcon) GoPointer() uintptr { | ||
| 195 | + | if c == nil { | |||
| 196 | + | return 0 | |||
| 197 | + | } | |||
| 192 | return c.Ptr | 198 | return c.Ptr | ||
| 193 | } | 199 | } | ||
| 194 | 200 | ||||
| @@ -304,6 +310,9 @@ func DBusActionGroupNewFromInternalPtr(ptr uintptr) *DBusActionGroup { | |||||
| 304 | } | 310 | } | ||
| 305 | 311 | ||||
| 306 | func (c *DBusActionGroup) GoPointer() uintptr { | 312 | func (c *DBusActionGroup) GoPointer() uintptr { | ||
| 313 | + | if c == nil { | |||
| 314 | + | return 0 | |||
| 315 | + | } | |||
| 307 | return c.Ptr | 316 | return c.Ptr | ||
| 308 | } | 317 | } | ||
| 309 | 318 | ||||
| @@ -719,6 +728,9 @@ func (x *DBusAuthObserver) AuthorizeAuthenticatedPeer(StreamVar *IOStream, Crede | |||||
| 719 | } | 728 | } | ||
| 720 | 729 | ||||
| 721 | func (c *DBusAuthObserver) GoPointer() uintptr { | 730 | func (c *DBusAuthObserver) GoPointer() uintptr { | ||
| 731 | + | if c == nil { | |||
| 732 | + | return 0 | |||
| 733 | + | } | |||
| 722 | return c.Ptr | 734 | return c.Ptr | ||
| 723 | } | 735 | } | ||
| 724 | 736 | ||||
| @@ -1914,6 +1926,9 @@ func (x *DBusConnection) UnregisterSubtree(RegistrationIdVar uint) bool { | |||||
| 1914 | } | 1926 | } | ||
| 1915 | 1927 | ||||
| 1916 | func (c *DBusConnection) GoPointer() uintptr { | 1928 | func (c *DBusConnection) GoPointer() uintptr { | ||
| 1929 | + | if c == nil { | |||
| 1930 | + | return 0 | |||
| 1931 | + | } | |||
| 1917 | return c.Ptr | 1932 | return c.Ptr | ||
| 1918 | } | 1933 | } | ||
| 1919 | 1934 | ||||
| @@ -2158,6 +2173,9 @@ func DBusMenuModelNewFromInternalPtr(ptr uintptr) *DBusMenuModel { | |||||
| 2158 | } | 2173 | } | ||
| 2159 | 2174 | ||||
| 2160 | func (c *DBusMenuModel) GoPointer() uintptr { | 2175 | func (c *DBusMenuModel) GoPointer() uintptr { | ||
| 2176 | + | if c == nil { | |||
| 2177 | + | return 0 | |||
| 2178 | + | } | |||
| 2161 | return c.Ptr | 2179 | return c.Ptr | ||
| 2162 | } | 2180 | } | ||
| 2163 | 2181 | ||||
| @@ -2817,6 +2835,9 @@ func (x *DBusMessage) ToGerror() (bool, error) { | |||||
| 2817 | } | 2835 | } | ||
| 2818 | 2836 | ||||
| 2819 | func (c *DBusMessage) GoPointer() uintptr { | 2837 | func (c *DBusMessage) GoPointer() uintptr { | ||
| 2838 | + | if c == nil { | |||
| 2839 | + | return 0 | |||
| 2840 | + | } | |||
| 2820 | return c.Ptr | 2841 | return c.Ptr | ||
| 2821 | } | 2842 | } | ||
| 2822 | 2843 | ||||
| @@ -3151,6 +3172,9 @@ func (x *DBusMethodInvocation) TakeError(ErrorVar *glib.Error) { | |||||
| 3151 | } | 3172 | } | ||
| 3152 | 3173 | ||||
| 3153 | func (c *DBusMethodInvocation) GoPointer() uintptr { | 3174 | func (c *DBusMethodInvocation) GoPointer() uintptr { | ||
| 3175 | + | if c == nil { | |||
| 3176 | + | return 0 | |||
| 3177 | + | } | |||
| 3154 | return c.Ptr | 3178 | return c.Ptr | ||
| 3155 | } | 3179 | } | ||
| 3156 | 3180 | ||||
| @@ -3291,6 +3315,9 @@ func (x *DBusServer) Stop() { | |||||
| 3291 | } | 3315 | } | ||
| 3292 | 3316 | ||||
| 3293 | func (c *DBusServer) GoPointer() uintptr { | 3317 | func (c *DBusServer) GoPointer() uintptr { | ||
| 3318 | + | if c == nil { | |||
| 3319 | + | return 0 | |||
| 3320 | + | } | |||
| 3294 | return c.Ptr | 3321 | return c.Ptr | ||
| 3295 | } | 3322 | } | ||
| 3296 | 3323 | ||||
| @@ -3619,6 +3646,9 @@ func (x *Menu) RemoveAll() { | |||||
| 3619 | } | 3646 | } | ||
| 3620 | 3647 | ||||
| 3621 | func (c *Menu) GoPointer() uintptr { | 3648 | func (c *Menu) GoPointer() uintptr { | ||
| 3649 | + | if c == nil { | |||
| 3650 | + | return 0 | |||
| 3651 | + | } | |||
| 3622 | return c.Ptr | 3652 | return c.Ptr | ||
| 3623 | } | 3653 | } | ||
| 3624 | 3654 | ||||
| @@ -4054,6 +4084,9 @@ func (x *MenuItem) SetSubmenu(SubmenuVar *MenuModel) { | |||||
| 4054 | } | 4084 | } | ||
| 4055 | 4085 | ||||
| 4056 | func (c *MenuItem) GoPointer() uintptr { | 4086 | func (c *MenuItem) GoPointer() uintptr { | ||
| 4087 | + | if c == nil { | |||
| 4088 | + | return 0 | |||
| 4089 | + | } | |||
| 4057 | return c.Ptr | 4090 | return c.Ptr | ||
| 4058 | } | 4091 | } | ||
| 4059 | 4092 | ||||
| @@ -4304,6 +4337,9 @@ func (x *Notification) SetUrgent(UrgentVar bool) { | |||||
| 4304 | } | 4337 | } | ||
| 4305 | 4338 | ||||
| 4306 | func (c *Notification) GoPointer() uintptr { | 4339 | func (c *Notification) GoPointer() uintptr { | ||
| 4340 | + | if c == nil { | |||
| 4341 | + | return 0 | |||
| 4342 | + | } | |||
| 4307 | return c.Ptr | 4343 | return c.Ptr | ||
| 4308 | } | 4344 | } | ||
| 4309 | 4345 | ||||
| @@ -4402,6 +4438,9 @@ func NewPropertyAction(NameVar string, ObjectVar *gobject.Object, PropertyNameVa | |||||
| 4402 | } | 4438 | } | ||
| 4403 | 4439 | ||||
| 4404 | func (c *PropertyAction) GoPointer() uintptr { | 4440 | func (c *PropertyAction) GoPointer() uintptr { | ||
| 4441 | + | if c == nil { | |||
| 4442 | + | return 0 | |||
| 4443 | + | } | |||
| 4405 | return c.Ptr | 4444 | return c.Ptr | ||
| 4406 | } | 4445 | } | ||
| 4407 | 4446 | ||||
| @@ -4632,6 +4671,9 @@ func (x *SimpleAction) SetStateHint(StateHintVar *glib.Variant) { | |||||
| 4632 | } | 4671 | } | ||
| 4633 | 4672 | ||||
| 4634 | func (c *SimpleAction) GoPointer() uintptr { | 4673 | func (c *SimpleAction) GoPointer() uintptr { | ||
| 4674 | + | if c == nil { | |||
| 4675 | + | return 0 | |||
| 4676 | + | } | |||
| 4635 | return c.Ptr | 4677 | return c.Ptr | ||
| 4636 | } | 4678 | } | ||
| 4637 | 4679 | ||||
| @@ -4884,6 +4926,9 @@ func NewSimpleIOStream(InputStreamVar *InputStream, OutputStreamVar *OutputStrea | |||||
| 4884 | } | 4926 | } | ||
| 4885 | 4927 | ||||
| 4886 | func (c *SimpleIOStream) GoPointer() uintptr { | 4928 | func (c *SimpleIOStream) GoPointer() uintptr { | ||
| 4929 | + | if c == nil { | |||
| 4930 | + | return 0 | |||
| 4931 | + | } | |||
| 4887 | return c.Ptr | 4932 | return c.Ptr | ||
| 4888 | } | 4933 | } | ||
| 4889 | 4934 | ||||
| @@ -4930,6 +4975,9 @@ func NewSimplePermission(AllowedVar bool) *SimplePermission { | |||||
| 4930 | } | 4975 | } | ||
| 4931 | 4976 | ||||
| 4932 | func (c *SimplePermission) GoPointer() uintptr { | 4977 | func (c *SimplePermission) GoPointer() uintptr { | ||
| 4978 | + | if c == nil { | |||
| 4979 | + | return 0 | |||
| 4980 | + | } | |||
| 4933 | return c.Ptr | 4981 | return c.Ptr | ||
| 4934 | } | 4982 | } | ||
| 4935 | 4983 | ||||
| @@ -5463,6 +5511,9 @@ func (x *Subprocess) WaitFinish(ResultVar AsyncResult) (bool, error) { | |||||
| 5463 | } | 5511 | } | ||
| 5464 | 5512 | ||||
| 5465 | func (c *Subprocess) GoPointer() uintptr { | 5513 | func (c *Subprocess) GoPointer() uintptr { | ||
| 5514 | + | if c == nil { | |||
| 5515 | + | return 0 | |||
| 5516 | + | } | |||
| 5466 | return c.Ptr | 5517 | return c.Ptr | ||
| 5467 | } | 5518 | } | ||
| 5468 | 5519 | ||||
| @@ -5894,6 +5945,9 @@ func (x *SubprocessLauncher) Unsetenv(VariableVar string) { | |||||
| 5894 | } | 5945 | } | ||
| 5895 | 5946 | ||||
| 5896 | func (c *SubprocessLauncher) GoPointer() uintptr { | 5947 | func (c *SubprocessLauncher) GoPointer() uintptr { | ||
| 5948 | + | if c == nil { | |||
| 5949 | + | return 0 | |||
| 5950 | + | } | |||
| 5897 | return c.Ptr | 5951 | return c.Ptr | ||
| 5898 | } | 5952 | } | ||
| 5899 | 5953 | ||||
| @@ -6087,6 +6141,9 @@ func (x *TestDBus) Up() { | |||||
| 6087 | } | 6141 | } | ||
| 6088 | 6142 | ||||
| 6089 | func (c *TestDBus) GoPointer() uintptr { | 6143 | func (c *TestDBus) GoPointer() uintptr { | ||
| 6144 | + | if c == nil { | |||
| 6145 | + | return 0 | |||
| 6146 | + | } | |||
| 6090 | return c.Ptr | 6147 | return c.Ptr | ||
| 6091 | } | 6148 | } | ||
| 6092 | 6149 | ||||
M v4/gio/giomodule.go +3 -0
| @@ -226,6 +226,9 @@ func (x *IOModule) Unload() { | |||
| 226 | 226 | } | |
| 227 | 227 | ||
| 228 | 228 | func (c *IOModule) GoPointer() uintptr { | |
| 229 | + | if c == nil { | |
| 230 | + | return 0 | |
| 231 | + | } | |
| 229 | 232 | return c.Ptr | |
| 230 | 233 | } | |
| 231 | 234 | ||
| @@ -226,6 +226,9 @@ func (x *IOModule) Unload() { | |||||
| 226 | } | 226 | } | ||
| 227 | 227 | ||||
| 228 | func (c *IOModule) GoPointer() uintptr { | 228 | func (c *IOModule) GoPointer() uintptr { | ||
| 229 | + | if c == nil { | |||
| 230 | + | return 0 | |||
| 231 | + | } | |||
| 229 | return c.Ptr | 232 | return c.Ptr | ||
| 230 | } | 233 | } | ||
| 231 | 234 | ||||
M v4/gio/giostream.go +3 -0
| @@ -265,6 +265,9 @@ func (x *IOStream) SpliceAsync(Stream2Var *IOStream, FlagsVar IOStreamSpliceFlag | |||
| 265 | 265 | } | |
| 266 | 266 | ||
| 267 | 267 | func (c *IOStream) GoPointer() uintptr { | |
| 268 | + | if c == nil { | |
| 269 | + | return 0 | |
| 270 | + | } | |
| 268 | 271 | return c.Ptr | |
| 269 | 272 | } | |
| 270 | 273 | ||
| @@ -265,6 +265,9 @@ func (x *IOStream) SpliceAsync(Stream2Var *IOStream, FlagsVar IOStreamSpliceFlag | |||||
| 265 | } | 265 | } | ||
| 266 | 266 | ||||
| 267 | func (c *IOStream) GoPointer() uintptr { | 267 | func (c *IOStream) GoPointer() uintptr { | ||
| 268 | + | if c == nil { | |||
| 269 | + | return 0 | |||
| 270 | + | } | |||
| 268 | return c.Ptr | 271 | return c.Ptr | ||
| 269 | } | 272 | } | ||
| 270 | 273 | ||||
M v4/gio/glistmodel.go +3 -0
| @@ -90,6 +90,9 @@ type ListModelBase struct { | |||
| 90 | 90 | } | |
| 91 | 91 | ||
| 92 | 92 | func (x *ListModelBase) GoPointer() uintptr { | |
| 93 | + | if x == nil { | |
| 94 | + | return 0 | |
| 95 | + | } | |
| 93 | 96 | return x.Ptr | |
| 94 | 97 | } | |
| 95 | 98 | ||
| @@ -90,6 +90,9 @@ type ListModelBase struct { | |||||
| 90 | } | 90 | } | ||
| 91 | 91 | ||||
| 92 | func (x *ListModelBase) GoPointer() uintptr { | 92 | func (x *ListModelBase) GoPointer() uintptr { | ||
| 93 | + | if x == nil { | |||
| 94 | + | return 0 | |||
| 95 | + | } | |||
| 93 | return x.Ptr | 96 | return x.Ptr | ||
| 94 | } | 97 | } | ||
| 95 | 98 | ||||
M v4/gio/gliststore.go +3 -0
| @@ -185,6 +185,9 @@ func (x *ListStore) Splice(PositionVar uint, NRemovalsVar uint, AdditionsVar []g | |||
| 185 | 185 | } | |
| 186 | 186 | ||
| 187 | 187 | func (c *ListStore) GoPointer() uintptr { | |
| 188 | + | if c == nil { | |
| 189 | + | return 0 | |
| 190 | + | } | |
| 188 | 191 | return c.Ptr | |
| 189 | 192 | } | |
| 190 | 193 | ||
| @@ -185,6 +185,9 @@ func (x *ListStore) Splice(PositionVar uint, NRemovalsVar uint, AdditionsVar []g | |||||
| 185 | } | 185 | } | ||
| 186 | 186 | ||||
| 187 | func (c *ListStore) GoPointer() uintptr { | 187 | func (c *ListStore) GoPointer() uintptr { | ||
| 188 | + | if c == nil { | |||
| 189 | + | return 0 | |||
| 190 | + | } | |||
| 188 | return c.Ptr | 191 | return c.Ptr | ||
| 189 | } | 192 | } | ||
| 190 | 193 | ||||
M v4/gio/gloadableicon.go +3 -0
| @@ -43,6 +43,9 @@ type LoadableIconBase struct { | |||
| 43 | 43 | } | |
| 44 | 44 | ||
| 45 | 45 | func (x *LoadableIconBase) GoPointer() uintptr { | |
| 46 | + | if x == nil { | |
| 47 | + | return 0 | |
| 48 | + | } | |
| 46 | 49 | return x.Ptr | |
| 47 | 50 | } | |
| 48 | 51 | ||
| @@ -43,6 +43,9 @@ type LoadableIconBase struct { | |||||
| 43 | } | 43 | } | ||
| 44 | 44 | ||||
| 45 | func (x *LoadableIconBase) GoPointer() uintptr { | 45 | func (x *LoadableIconBase) GoPointer() uintptr { | ||
| 46 | + | if x == nil { | |||
| 47 | + | return 0 | |||
| 48 | + | } | |||
| 46 | return x.Ptr | 49 | return x.Ptr | ||
| 47 | } | 50 | } | ||
| 48 | 51 | ||||
M v4/gio/gmemoryinputstream.go +3 -0
| @@ -117,6 +117,9 @@ func (x *MemoryInputStream) AddData(DataVar []byte, LenVar int, DestroyVar *glib | |||
| 117 | 117 | } | |
| 118 | 118 | ||
| 119 | 119 | func (c *MemoryInputStream) GoPointer() uintptr { | |
| 120 | + | if c == nil { | |
| 121 | + | return 0 | |
| 122 | + | } | |
| 120 | 123 | return c.Ptr | |
| 121 | 124 | } | |
| 122 | 125 | ||
| @@ -117,6 +117,9 @@ func (x *MemoryInputStream) AddData(DataVar []byte, LenVar int, DestroyVar *glib | |||||
| 117 | } | 117 | } | ||
| 118 | 118 | ||||
| 119 | func (c *MemoryInputStream) GoPointer() uintptr { | 119 | func (c *MemoryInputStream) GoPointer() uintptr { | ||
| 120 | + | if c == nil { | |||
| 121 | + | return 0 | |||
| 122 | + | } | |||
| 120 | return c.Ptr | 123 | return c.Ptr | ||
| 121 | } | 124 | } | ||
| 122 | 125 | ||||
M v4/gio/gmemorymonitor.go +3 -0
| @@ -86,6 +86,9 @@ type MemoryMonitorBase struct { | |||
| 86 | 86 | } | |
| 87 | 87 | ||
| 88 | 88 | func (x *MemoryMonitorBase) GoPointer() uintptr { | |
| 89 | + | if x == nil { | |
| 90 | + | return 0 | |
| 91 | + | } | |
| 89 | 92 | return x.Ptr | |
| 90 | 93 | } | |
| 91 | 94 | ||
| @@ -86,6 +86,9 @@ type MemoryMonitorBase struct { | |||||
| 86 | } | 86 | } | ||
| 87 | 87 | ||||
| 88 | func (x *MemoryMonitorBase) GoPointer() uintptr { | 88 | func (x *MemoryMonitorBase) GoPointer() uintptr { | ||
| 89 | + | if x == nil { | |||
| 90 | + | return 0 | |||
| 91 | + | } | |||
| 89 | return x.Ptr | 92 | return x.Ptr | ||
| 90 | } | 93 | } | ||
| 91 | 94 | ||||
M v4/gio/gmemoryoutputstream.go +3 -0
| @@ -199,6 +199,9 @@ func (x *MemoryOutputStream) StealData() uintptr { | |||
| 199 | 199 | } | |
| 200 | 200 | ||
| 201 | 201 | func (c *MemoryOutputStream) GoPointer() uintptr { | |
| 202 | + | if c == nil { | |
| 203 | + | return 0 | |
| 204 | + | } | |
| 202 | 205 | return c.Ptr | |
| 203 | 206 | } | |
| 204 | 207 | ||
| @@ -199,6 +199,9 @@ func (x *MemoryOutputStream) StealData() uintptr { | |||||
| 199 | } | 199 | } | ||
| 200 | 200 | ||||
| 201 | func (c *MemoryOutputStream) GoPointer() uintptr { | 201 | func (c *MemoryOutputStream) GoPointer() uintptr { | ||
| 202 | + | if c == nil { | |||
| 203 | + | return 0 | |||
| 204 | + | } | |||
| 202 | return c.Ptr | 205 | return c.Ptr | ||
| 203 | } | 206 | } | ||
| 204 | 207 | ||||
M v4/gio/gmenumodel.go +9 -0
| @@ -186,6 +186,9 @@ func (x *MenuAttributeIter) Next() bool { | |||
| 186 | 186 | } | |
| 187 | 187 | ||
| 188 | 188 | func (c *MenuAttributeIter) GoPointer() uintptr { | |
| 189 | + | if c == nil { | |
| 190 | + | return 0 | |
| 191 | + | } | |
| 189 | 192 | return c.Ptr | |
| 190 | 193 | } | |
| 191 | 194 | ||
| @@ -279,6 +282,9 @@ func (x *MenuLinkIter) Next() bool { | |||
| 279 | 282 | } | |
| 280 | 283 | ||
| 281 | 284 | func (c *MenuLinkIter) GoPointer() uintptr { | |
| 285 | + | if c == nil { | |
| 286 | + | return 0 | |
| 287 | + | } | |
| 282 | 288 | return c.Ptr | |
| 283 | 289 | } | |
| 284 | 290 | ||
| @@ -561,6 +567,9 @@ func (x *MenuModel) IterateItemLinks(ItemIndexVar int) *MenuLinkIter { | |||
| 561 | 567 | } | |
| 562 | 568 | ||
| 563 | 569 | func (c *MenuModel) GoPointer() uintptr { | |
| 570 | + | if c == nil { | |
| 571 | + | return 0 | |
| 572 | + | } | |
| 564 | 573 | return c.Ptr | |
| 565 | 574 | } | |
| 566 | 575 | ||
| @@ -186,6 +186,9 @@ func (x *MenuAttributeIter) Next() bool { | |||||
| 186 | } | 186 | } | ||
| 187 | 187 | ||||
| 188 | func (c *MenuAttributeIter) GoPointer() uintptr { | 188 | func (c *MenuAttributeIter) GoPointer() uintptr { | ||
| 189 | + | if c == nil { | |||
| 190 | + | return 0 | |||
| 191 | + | } | |||
| 189 | return c.Ptr | 192 | return c.Ptr | ||
| 190 | } | 193 | } | ||
| 191 | 194 | ||||
| @@ -279,6 +282,9 @@ func (x *MenuLinkIter) Next() bool { | |||||
| 279 | } | 282 | } | ||
| 280 | 283 | ||||
| 281 | func (c *MenuLinkIter) GoPointer() uintptr { | 284 | func (c *MenuLinkIter) GoPointer() uintptr { | ||
| 285 | + | if c == nil { | |||
| 286 | + | return 0 | |||
| 287 | + | } | |||
| 282 | return c.Ptr | 288 | return c.Ptr | ||
| 283 | } | 289 | } | ||
| 284 | 290 | ||||
| @@ -561,6 +567,9 @@ func (x *MenuModel) IterateItemLinks(ItemIndexVar int) *MenuLinkIter { | |||||
| 561 | } | 567 | } | ||
| 562 | 568 | ||||
| 563 | func (c *MenuModel) GoPointer() uintptr { | 569 | func (c *MenuModel) GoPointer() uintptr { | ||
| 570 | + | if c == nil { | |||
| 571 | + | return 0 | |||
| 572 | + | } | |||
| 564 | return c.Ptr | 573 | return c.Ptr | ||
| 565 | } | 574 | } | ||
| 566 | 575 | ||||
M v4/gio/gmount.go +3 -0
| @@ -84,6 +84,9 @@ type MountBase struct { | |||
| 84 | 84 | } | |
| 85 | 85 | ||
| 86 | 86 | func (x *MountBase) GoPointer() uintptr { | |
| 87 | + | if x == nil { | |
| 88 | + | return 0 | |
| 89 | + | } | |
| 87 | 90 | return x.Ptr | |
| 88 | 91 | } | |
| 89 | 92 | ||
| @@ -84,6 +84,9 @@ type MountBase struct { | |||||
| 84 | } | 84 | } | ||
| 85 | 85 | ||||
| 86 | func (x *MountBase) GoPointer() uintptr { | 86 | func (x *MountBase) GoPointer() uintptr { | ||
| 87 | + | if x == nil { | |||
| 88 | + | return 0 | |||
| 89 | + | } | |||
| 87 | return x.Ptr | 90 | return x.Ptr | ||
| 88 | } | 91 | } | ||
| 89 | 92 | ||||
M v4/gio/gmountoperation.go +3 -0
| @@ -258,6 +258,9 @@ func (x *MountOperation) SetUsername(UsernameVar string) { | |||
| 258 | 258 | } | |
| 259 | 259 | ||
| 260 | 260 | func (c *MountOperation) GoPointer() uintptr { | |
| 261 | + | if c == nil { | |
| 262 | + | return 0 | |
| 263 | + | } | |
| 261 | 264 | return c.Ptr | |
| 262 | 265 | } | |
| 263 | 266 | ||
| @@ -258,6 +258,9 @@ func (x *MountOperation) SetUsername(UsernameVar string) { | |||||
| 258 | } | 258 | } | ||
| 259 | 259 | ||||
| 260 | func (c *MountOperation) GoPointer() uintptr { | 260 | func (c *MountOperation) GoPointer() uintptr { | ||
| 261 | + | if c == nil { | |||
| 262 | + | return 0 | |||
| 263 | + | } | |||
| 261 | return c.Ptr | 264 | return c.Ptr | ||
| 262 | } | 265 | } | ||
| 263 | 266 | ||||
M v4/gio/gnativesocketaddress.go +3 -0
| @@ -62,6 +62,9 @@ func NewNativeSocketAddress(NativeVar uintptr, LenVar uint) *NativeSocketAddress | |||
| 62 | 62 | } | |
| 63 | 63 | ||
| 64 | 64 | func (c *NativeSocketAddress) GoPointer() uintptr { | |
| 65 | + | if c == nil { | |
| 66 | + | return 0 | |
| 67 | + | } | |
| 65 | 68 | return c.Ptr | |
| 66 | 69 | } | |
| 67 | 70 | ||
| @@ -62,6 +62,9 @@ func NewNativeSocketAddress(NativeVar uintptr, LenVar uint) *NativeSocketAddress | |||||
| 62 | } | 62 | } | ||
| 63 | 63 | ||||
| 64 | func (c *NativeSocketAddress) GoPointer() uintptr { | 64 | func (c *NativeSocketAddress) GoPointer() uintptr { | ||
| 65 | + | if c == nil { | |||
| 66 | + | return 0 | |||
| 67 | + | } | |||
| 65 | return c.Ptr | 68 | return c.Ptr | ||
| 66 | } | 69 | } | ||
| 67 | 70 | ||||
M v4/gio/gnativevolumemonitor.go +3 -0
| @@ -39,6 +39,9 @@ func NativeVolumeMonitorNewFromInternalPtr(ptr uintptr) *NativeVolumeMonitor { | |||
| 39 | 39 | } | |
| 40 | 40 | ||
| 41 | 41 | func (c *NativeVolumeMonitor) GoPointer() uintptr { | |
| 42 | + | if c == nil { | |
| 43 | + | return 0 | |
| 44 | + | } | |
| 42 | 45 | return c.Ptr | |
| 43 | 46 | } | |
| 44 | 47 | ||
| @@ -39,6 +39,9 @@ func NativeVolumeMonitorNewFromInternalPtr(ptr uintptr) *NativeVolumeMonitor { | |||||
| 39 | } | 39 | } | ||
| 40 | 40 | ||||
| 41 | func (c *NativeVolumeMonitor) GoPointer() uintptr { | 41 | func (c *NativeVolumeMonitor) GoPointer() uintptr { | ||
| 42 | + | if c == nil { | |||
| 43 | + | return 0 | |||
| 44 | + | } | |||
| 42 | return c.Ptr | 45 | return c.Ptr | ||
| 43 | } | 46 | } | ||
| 44 | 47 | ||||
M v4/gio/gnetworkaddress.go +3 -0
| @@ -135,6 +135,9 @@ func (x *NetworkAddress) GetScheme() string { | |||
| 135 | 135 | } | |
| 136 | 136 | ||
| 137 | 137 | func (c *NetworkAddress) GoPointer() uintptr { | |
| 138 | + | if c == nil { | |
| 139 | + | return 0 | |
| 140 | + | } | |
| 138 | 141 | return c.Ptr | |
| 139 | 142 | } | |
| 140 | 143 | ||
| @@ -135,6 +135,9 @@ func (x *NetworkAddress) GetScheme() string { | |||||
| 135 | } | 135 | } | ||
| 136 | 136 | ||||
| 137 | func (c *NetworkAddress) GoPointer() uintptr { | 137 | func (c *NetworkAddress) GoPointer() uintptr { | ||
| 138 | + | if c == nil { | |||
| 139 | + | return 0 | |||
| 140 | + | } | |||
| 138 | return c.Ptr | 141 | return c.Ptr | ||
| 139 | } | 142 | } | ||
| 140 | 143 | ||||
M v4/gio/gnetworkmonitor.go +3 -0
| @@ -51,6 +51,9 @@ type NetworkMonitorBase struct { | |||
| 51 | 51 | } | |
| 52 | 52 | ||
| 53 | 53 | func (x *NetworkMonitorBase) GoPointer() uintptr { | |
| 54 | + | if x == nil { | |
| 55 | + | return 0 | |
| 56 | + | } | |
| 54 | 57 | return x.Ptr | |
| 55 | 58 | } | |
| 56 | 59 | ||
| @@ -51,6 +51,9 @@ type NetworkMonitorBase struct { | |||||
| 51 | } | 51 | } | ||
| 52 | 52 | ||||
| 53 | func (x *NetworkMonitorBase) GoPointer() uintptr { | 53 | func (x *NetworkMonitorBase) GoPointer() uintptr { | ||
| 54 | + | if x == nil { | |||
| 55 | + | return 0 | |||
| 56 | + | } | |||
| 54 | return x.Ptr | 57 | return x.Ptr | ||
| 55 | } | 58 | } | ||
| 56 | 59 | ||||
M v4/gio/gnetworkservice.go +3 -0
| @@ -121,6 +121,9 @@ func (x *NetworkService) SetScheme(SchemeVar string) { | |||
| 121 | 121 | } | |
| 122 | 122 | ||
| 123 | 123 | func (c *NetworkService) GoPointer() uintptr { | |
| 124 | + | if c == nil { | |
| 125 | + | return 0 | |
| 126 | + | } | |
| 124 | 127 | return c.Ptr | |
| 125 | 128 | } | |
| 126 | 129 | ||
| @@ -121,6 +121,9 @@ func (x *NetworkService) SetScheme(SchemeVar string) { | |||||
| 121 | } | 121 | } | ||
| 122 | 122 | ||||
| 123 | func (c *NetworkService) GoPointer() uintptr { | 123 | func (c *NetworkService) GoPointer() uintptr { | ||
| 124 | + | if c == nil { | |||
| 125 | + | return 0 | |||
| 126 | + | } | |||
| 124 | return c.Ptr | 127 | return c.Ptr | ||
| 125 | } | 128 | } | ||
| 126 | 129 | ||||
M v4/gio/goutputstream.go +3 -0
| @@ -718,6 +718,9 @@ func (x *OutputStream) WritevFinish(ResultVar AsyncResult, BytesWrittenVar uint) | |||
| 718 | 718 | } | |
| 719 | 719 | ||
| 720 | 720 | func (c *OutputStream) GoPointer() uintptr { | |
| 721 | + | if c == nil { | |
| 722 | + | return 0 | |
| 723 | + | } | |
| 721 | 724 | return c.Ptr | |
| 722 | 725 | } | |
| 723 | 726 | ||
| @@ -718,6 +718,9 @@ func (x *OutputStream) WritevFinish(ResultVar AsyncResult, BytesWrittenVar uint) | |||||
| 718 | } | 718 | } | ||
| 719 | 719 | ||||
| 720 | func (c *OutputStream) GoPointer() uintptr { | 720 | func (c *OutputStream) GoPointer() uintptr { | ||
| 721 | + | if c == nil { | |||
| 722 | + | return 0 | |||
| 723 | + | } | |||
| 721 | return c.Ptr | 724 | return c.Ptr | ||
| 722 | } | 725 | } | ||
| 723 | 726 | ||||
M v4/gio/gpermission.go +3 -0
| @@ -226,6 +226,9 @@ func (x *Permission) ReleaseFinish(ResultVar AsyncResult) (bool, error) { | |||
| 226 | 226 | } | |
| 227 | 227 | ||
| 228 | 228 | func (c *Permission) GoPointer() uintptr { | |
| 229 | + | if c == nil { | |
| 230 | + | return 0 | |
| 231 | + | } | |
| 229 | 232 | return c.Ptr | |
| 230 | 233 | } | |
| 231 | 234 | ||
| @@ -226,6 +226,9 @@ func (x *Permission) ReleaseFinish(ResultVar AsyncResult) (bool, error) { | |||||
| 226 | } | 226 | } | ||
| 227 | 227 | ||||
| 228 | func (c *Permission) GoPointer() uintptr { | 228 | func (c *Permission) GoPointer() uintptr { | ||
| 229 | + | if c == nil { | |||
| 230 | + | return 0 | |||
| 231 | + | } | |||
| 229 | return c.Ptr | 232 | return c.Ptr | ||
| 230 | } | 233 | } | ||
| 231 | 234 | ||||
M v4/gio/gpollableinputstream.go +3 -0
| @@ -55,6 +55,9 @@ type PollableInputStreamBase struct { | |||
| 55 | 55 | } | |
| 56 | 56 | ||
| 57 | 57 | func (x *PollableInputStreamBase) GoPointer() uintptr { | |
| 58 | + | if x == nil { | |
| 59 | + | return 0 | |
| 60 | + | } | |
| 58 | 61 | return x.Ptr | |
| 59 | 62 | } | |
| 60 | 63 | ||
| @@ -55,6 +55,9 @@ type PollableInputStreamBase struct { | |||||
| 55 | } | 55 | } | ||
| 56 | 56 | ||||
| 57 | func (x *PollableInputStreamBase) GoPointer() uintptr { | 57 | func (x *PollableInputStreamBase) GoPointer() uintptr { | ||
| 58 | + | if x == nil { | |||
| 59 | + | return 0 | |||
| 60 | + | } | |||
| 58 | return x.Ptr | 61 | return x.Ptr | ||
| 59 | } | 62 | } | ||
| 60 | 63 | ||||
M v4/gio/gpollableoutputstream.go +3 -0
| @@ -62,6 +62,9 @@ type PollableOutputStreamBase struct { | |||
| 62 | 62 | } | |
| 63 | 63 | ||
| 64 | 64 | func (x *PollableOutputStreamBase) GoPointer() uintptr { | |
| 65 | + | if x == nil { | |
| 66 | + | return 0 | |
| 67 | + | } | |
| 65 | 68 | return x.Ptr | |
| 66 | 69 | } | |
| 67 | 70 | ||
| @@ -62,6 +62,9 @@ type PollableOutputStreamBase struct { | |||||
| 62 | } | 62 | } | ||
| 63 | 63 | ||||
| 64 | func (x *PollableOutputStreamBase) GoPointer() uintptr { | 64 | func (x *PollableOutputStreamBase) GoPointer() uintptr { | ||
| 65 | + | if x == nil { | |||
| 66 | + | return 0 | |||
| 67 | + | } | |||
| 65 | return x.Ptr | 68 | return x.Ptr | ||
| 66 | } | 69 | } | ||
| 67 | 70 | ||||
M v4/gio/gpowerprofilemonitor.go +3 -0
| @@ -60,6 +60,9 @@ type PowerProfileMonitorBase struct { | |||
| 60 | 60 | } | |
| 61 | 61 | ||
| 62 | 62 | func (x *PowerProfileMonitorBase) GoPointer() uintptr { | |
| 63 | + | if x == nil { | |
| 64 | + | return 0 | |
| 65 | + | } | |
| 63 | 66 | return x.Ptr | |
| 64 | 67 | } | |
| 65 | 68 | ||
| @@ -60,6 +60,9 @@ type PowerProfileMonitorBase struct { | |||||
| 60 | } | 60 | } | ||
| 61 | 61 | ||||
| 62 | func (x *PowerProfileMonitorBase) GoPointer() uintptr { | 62 | func (x *PowerProfileMonitorBase) GoPointer() uintptr { | ||
| 63 | + | if x == nil { | |||
| 64 | + | return 0 | |||
| 65 | + | } | |||
| 63 | return x.Ptr | 66 | return x.Ptr | ||
| 64 | } | 67 | } | ||
| 65 | 68 | ||||
M v4/gio/gproxy.go +3 -0
| @@ -48,6 +48,9 @@ type ProxyBase struct { | |||
| 48 | 48 | } | |
| 49 | 49 | ||
| 50 | 50 | func (x *ProxyBase) GoPointer() uintptr { | |
| 51 | + | if x == nil { | |
| 52 | + | return 0 | |
| 53 | + | } | |
| 51 | 54 | return x.Ptr | |
| 52 | 55 | } | |
| 53 | 56 | ||
| @@ -48,6 +48,9 @@ type ProxyBase struct { | |||||
| 48 | } | 48 | } | ||
| 49 | 49 | ||||
| 50 | func (x *ProxyBase) GoPointer() uintptr { | 50 | func (x *ProxyBase) GoPointer() uintptr { | ||
| 51 | + | if x == nil { | |||
| 52 | + | return 0 | |||
| 53 | + | } | |||
| 51 | return x.Ptr | 54 | return x.Ptr | ||
| 52 | } | 55 | } | ||
| 53 | 56 | ||||
M v4/gio/gproxyaddress.go +3 -0
| @@ -136,6 +136,9 @@ func (x *ProxyAddress) GetUsername() string { | |||
| 136 | 136 | } | |
| 137 | 137 | ||
| 138 | 138 | func (c *ProxyAddress) GoPointer() uintptr { | |
| 139 | + | if c == nil { | |
| 140 | + | return 0 | |
| 141 | + | } | |
| 139 | 142 | return c.Ptr | |
| 140 | 143 | } | |
| 141 | 144 | ||
| @@ -136,6 +136,9 @@ func (x *ProxyAddress) GetUsername() string { | |||||
| 136 | } | 136 | } | ||
| 137 | 137 | ||||
| 138 | func (c *ProxyAddress) GoPointer() uintptr { | 138 | func (c *ProxyAddress) GoPointer() uintptr { | ||
| 139 | + | if c == nil { | |||
| 140 | + | return 0 | |||
| 141 | + | } | |||
| 139 | return c.Ptr | 142 | return c.Ptr | ||
| 140 | } | 143 | } | ||
| 141 | 144 | ||||
M v4/gio/gproxyaddressenumerator.go +3 -0
| @@ -53,6 +53,9 @@ func ProxyAddressEnumeratorNewFromInternalPtr(ptr uintptr) *ProxyAddressEnumerat | |||
| 53 | 53 | } | |
| 54 | 54 | ||
| 55 | 55 | func (c *ProxyAddressEnumerator) GoPointer() uintptr { | |
| 56 | + | if c == nil { | |
| 57 | + | return 0 | |
| 58 | + | } | |
| 56 | 59 | return c.Ptr | |
| 57 | 60 | } | |
| 58 | 61 | ||
| @@ -53,6 +53,9 @@ func ProxyAddressEnumeratorNewFromInternalPtr(ptr uintptr) *ProxyAddressEnumerat | |||||
| 53 | } | 53 | } | ||
| 54 | 54 | ||||
| 55 | func (c *ProxyAddressEnumerator) GoPointer() uintptr { | 55 | func (c *ProxyAddressEnumerator) GoPointer() uintptr { | ||
| 56 | + | if c == nil { | |||
| 57 | + | return 0 | |||
| 58 | + | } | |||
| 56 | return c.Ptr | 59 | return c.Ptr | ||
| 57 | } | 60 | } | ||
| 58 | 61 | ||||
M v4/gio/gproxyresolver.go +3 -0
| @@ -50,6 +50,9 @@ type ProxyResolverBase struct { | |||
| 50 | 50 | } | |
| 51 | 51 | ||
| 52 | 52 | func (x *ProxyResolverBase) GoPointer() uintptr { | |
| 53 | + | if x == nil { | |
| 54 | + | return 0 | |
| 55 | + | } | |
| 53 | 56 | return x.Ptr | |
| 54 | 57 | } | |
| 55 | 58 | ||
| @@ -50,6 +50,9 @@ type ProxyResolverBase struct { | |||||
| 50 | } | 50 | } | ||
| 51 | 51 | ||||
| 52 | func (x *ProxyResolverBase) GoPointer() uintptr { | 52 | func (x *ProxyResolverBase) GoPointer() uintptr { | ||
| 53 | + | if x == nil { | |||
| 54 | + | return 0 | |||
| 55 | + | } | |||
| 53 | return x.Ptr | 56 | return x.Ptr | ||
| 54 | } | 57 | } | ||
| 55 | 58 | ||||
M v4/gio/gremoteactiongroup.go +3 -0
| @@ -61,6 +61,9 @@ type RemoteActionGroupBase struct { | |||
| 61 | 61 | } | |
| 62 | 62 | ||
| 63 | 63 | func (x *RemoteActionGroupBase) GoPointer() uintptr { | |
| 64 | + | if x == nil { | |
| 65 | + | return 0 | |
| 66 | + | } | |
| 64 | 67 | return x.Ptr | |
| 65 | 68 | } | |
| 66 | 69 | ||
| @@ -61,6 +61,9 @@ type RemoteActionGroupBase struct { | |||||
| 61 | } | 61 | } | ||
| 62 | 62 | ||||
| 63 | func (x *RemoteActionGroupBase) GoPointer() uintptr { | 63 | func (x *RemoteActionGroupBase) GoPointer() uintptr { | ||
| 64 | + | if x == nil { | |||
| 65 | + | return 0 | |||
| 66 | + | } | |||
| 64 | return x.Ptr | 67 | return x.Ptr | ||
| 65 | } | 68 | } | ||
| 66 | 69 | ||||
M v4/gio/gresolver.go +3 -0
| @@ -379,6 +379,9 @@ func (x *Resolver) SetDefault() { | |||
| 379 | 379 | } | |
| 380 | 380 | ||
| 381 | 381 | func (c *Resolver) GoPointer() uintptr { | |
| 382 | + | if c == nil { | |
| 383 | + | return 0 | |
| 384 | + | } | |
| 382 | 385 | return c.Ptr | |
| 383 | 386 | } | |
| 384 | 387 | ||
| @@ -379,6 +379,9 @@ func (x *Resolver) SetDefault() { | |||||
| 379 | } | 379 | } | ||
| 380 | 380 | ||||
| 381 | func (c *Resolver) GoPointer() uintptr { | 381 | func (c *Resolver) GoPointer() uintptr { | ||
| 382 | + | if c == nil { | |||
| 383 | + | return 0 | |||
| 384 | + | } | |||
| 382 | return c.Ptr | 385 | return c.Ptr | ||
| 383 | } | 386 | } | ||
| 384 | 387 | ||||
M v4/gio/gseekable.go +3 -0
| @@ -57,6 +57,9 @@ type SeekableBase struct { | |||
| 57 | 57 | } | |
| 58 | 58 | ||
| 59 | 59 | func (x *SeekableBase) GoPointer() uintptr { | |
| 60 | + | if x == nil { | |
| 61 | + | return 0 | |
| 62 | + | } | |
| 60 | 63 | return x.Ptr | |
| 61 | 64 | } | |
| 62 | 65 | ||
| @@ -57,6 +57,9 @@ type SeekableBase struct { | |||||
| 57 | } | 57 | } | ||
| 58 | 58 | ||||
| 59 | func (x *SeekableBase) GoPointer() uintptr { | 59 | func (x *SeekableBase) GoPointer() uintptr { | ||
| 60 | + | if x == nil { | |||
| 61 | + | return 0 | |||
| 62 | + | } | |||
| 60 | return x.Ptr | 63 | return x.Ptr | ||
| 61 | } | 64 | } | ||
| 62 | 65 | ||||
M v4/gio/gsettings.go +3 -0
| @@ -1235,6 +1235,9 @@ func (x *Settings) SetValue(KeyVar string, ValueVar *glib.Variant) bool { | |||
| 1235 | 1235 | } | |
| 1236 | 1236 | ||
| 1237 | 1237 | func (c *Settings) GoPointer() uintptr { | |
| 1238 | + | if c == nil { | |
| 1239 | + | return 0 | |
| 1240 | + | } | |
| 1238 | 1241 | return c.Ptr | |
| 1239 | 1242 | } | |
| 1240 | 1243 | ||
| @@ -1235,6 +1235,9 @@ func (x *Settings) SetValue(KeyVar string, ValueVar *glib.Variant) bool { | |||||
| 1235 | } | 1235 | } | ||
| 1236 | 1236 | ||||
| 1237 | func (c *Settings) GoPointer() uintptr { | 1237 | func (c *Settings) GoPointer() uintptr { | ||
| 1238 | + | if c == nil { | |||
| 1239 | + | return 0 | |||
| 1240 | + | } | |||
| 1238 | return c.Ptr | 1241 | return c.Ptr | ||
| 1239 | } | 1242 | } | ||
| 1240 | 1243 | ||||
M v4/gio/gsettingsbackend.go +3 -0
| @@ -310,6 +310,9 @@ func (x *SettingsBackend) WritableChanged(KeyVar string) { | |||
| 310 | 310 | } | |
| 311 | 311 | ||
| 312 | 312 | func (c *SettingsBackend) GoPointer() uintptr { | |
| 313 | + | if c == nil { | |
| 314 | + | return 0 | |
| 315 | + | } | |
| 313 | 316 | return c.Ptr | |
| 314 | 317 | } | |
| 315 | 318 | ||
| @@ -310,6 +310,9 @@ func (x *SettingsBackend) WritableChanged(KeyVar string) { | |||||
| 310 | } | 310 | } | ||
| 311 | 311 | ||||
| 312 | func (c *SettingsBackend) GoPointer() uintptr { | 312 | func (c *SettingsBackend) GoPointer() uintptr { | ||
| 313 | + | if c == nil { | |||
| 314 | + | return 0 | |||
| 315 | + | } | |||
| 313 | return c.Ptr | 316 | return c.Ptr | ||
| 314 | } | 317 | } | ||
| 315 | 318 | ||||
M v4/gio/gsimpleactiongroup.go +3 -0
| @@ -121,6 +121,9 @@ func (x *SimpleActionGroup) Remove(ActionNameVar string) { | |||
| 121 | 121 | } | |
| 122 | 122 | ||
| 123 | 123 | func (c *SimpleActionGroup) GoPointer() uintptr { | |
| 124 | + | if c == nil { | |
| 125 | + | return 0 | |
| 126 | + | } | |
| 124 | 127 | return c.Ptr | |
| 125 | 128 | } | |
| 126 | 129 | ||
| @@ -121,6 +121,9 @@ func (x *SimpleActionGroup) Remove(ActionNameVar string) { | |||||
| 121 | } | 121 | } | ||
| 122 | 122 | ||||
| 123 | func (c *SimpleActionGroup) GoPointer() uintptr { | 123 | func (c *SimpleActionGroup) GoPointer() uintptr { | ||
| 124 | + | if c == nil { | |||
| 125 | + | return 0 | |||
| 126 | + | } | |||
| 124 | return c.Ptr | 127 | return c.Ptr | ||
| 125 | } | 128 | } | ||
| 126 | 129 | ||||
M v4/gio/gsimpleasyncresult.go +3 -0
| @@ -517,6 +517,9 @@ func (x *SimpleAsyncResult) TakeError(ErrorVar *glib.Error) { | |||
| 517 | 517 | } | |
| 518 | 518 | ||
| 519 | 519 | func (c *SimpleAsyncResult) GoPointer() uintptr { | |
| 520 | + | if c == nil { | |
| 521 | + | return 0 | |
| 522 | + | } | |
| 520 | 523 | return c.Ptr | |
| 521 | 524 | } | |
| 522 | 525 | ||
| @@ -517,6 +517,9 @@ func (x *SimpleAsyncResult) TakeError(ErrorVar *glib.Error) { | |||||
| 517 | } | 517 | } | ||
| 518 | 518 | ||||
| 519 | func (c *SimpleAsyncResult) GoPointer() uintptr { | 519 | func (c *SimpleAsyncResult) GoPointer() uintptr { | ||
| 520 | + | if c == nil { | |||
| 521 | + | return 0 | |||
| 522 | + | } | |||
| 520 | return c.Ptr | 523 | return c.Ptr | ||
| 521 | } | 524 | } | ||
| 522 | 525 | ||||
M v4/gio/gsimpleproxyresolver.go +3 -0
| @@ -98,6 +98,9 @@ func (x *SimpleProxyResolver) SetUriProxy(UriSchemeVar string, ProxyVar string) | |||
| 98 | 98 | } | |
| 99 | 99 | ||
| 100 | 100 | func (c *SimpleProxyResolver) GoPointer() uintptr { | |
| 101 | + | if c == nil { | |
| 102 | + | return 0 | |
| 103 | + | } | |
| 101 | 104 | return c.Ptr | |
| 102 | 105 | } | |
| 103 | 106 | ||
| @@ -98,6 +98,9 @@ func (x *SimpleProxyResolver) SetUriProxy(UriSchemeVar string, ProxyVar string) | |||||
| 98 | } | 98 | } | ||
| 99 | 99 | ||||
| 100 | func (c *SimpleProxyResolver) GoPointer() uintptr { | 100 | func (c *SimpleProxyResolver) GoPointer() uintptr { | ||
| 101 | + | if c == nil { | |||
| 102 | + | return 0 | |||
| 103 | + | } | |||
| 101 | return c.Ptr | 104 | return c.Ptr | ||
| 102 | } | 105 | } | ||
| 103 | 106 | ||||
M v4/gio/gsocket.go +3 -0
| @@ -1413,6 +1413,9 @@ func (x *Socket) SpeaksIpv4() bool { | |||
| 1413 | 1413 | } | |
| 1414 | 1414 | ||
| 1415 | 1415 | func (c *Socket) GoPointer() uintptr { | |
| 1416 | + | if c == nil { | |
| 1417 | + | return 0 | |
| 1418 | + | } | |
| 1416 | 1419 | return c.Ptr | |
| 1417 | 1420 | } | |
| 1418 | 1421 | ||
| @@ -1413,6 +1413,9 @@ func (x *Socket) SpeaksIpv4() bool { | |||||
| 1413 | } | 1413 | } | ||
| 1414 | 1414 | ||||
| 1415 | func (c *Socket) GoPointer() uintptr { | 1415 | func (c *Socket) GoPointer() uintptr { | ||
| 1416 | + | if c == nil { | |||
| 1417 | + | return 0 | |||
| 1418 | + | } | |||
| 1416 | return c.Ptr | 1419 | return c.Ptr | ||
| 1417 | } | 1420 | } | ||
| 1418 | 1421 | ||||
M v4/gio/gsocketaddress.go +3 -0
| @@ -98,6 +98,9 @@ func (x *SocketAddress) ToNative(DestVar uintptr, DestlenVar uint) (bool, error) | |||
| 98 | 98 | } | |
| 99 | 99 | ||
| 100 | 100 | func (c *SocketAddress) GoPointer() uintptr { | |
| 101 | + | if c == nil { | |
| 102 | + | return 0 | |
| 103 | + | } | |
| 101 | 104 | return c.Ptr | |
| 102 | 105 | } | |
| 103 | 106 | ||
| @@ -98,6 +98,9 @@ func (x *SocketAddress) ToNative(DestVar uintptr, DestlenVar uint) (bool, error) | |||||
| 98 | } | 98 | } | ||
| 99 | 99 | ||||
| 100 | func (c *SocketAddress) GoPointer() uintptr { | 100 | func (c *SocketAddress) GoPointer() uintptr { | ||
| 101 | + | if c == nil { | |||
| 102 | + | return 0 | |||
| 103 | + | } | |||
| 101 | return c.Ptr | 104 | return c.Ptr | ||
| 102 | } | 105 | } | ||
| 103 | 106 | ||||
M v4/gio/gsocketaddressenumerator.go +3 -0
| @@ -124,6 +124,9 @@ func (x *SocketAddressEnumerator) NextFinish(ResultVar AsyncResult) (*SocketAddr | |||
| 124 | 124 | } | |
| 125 | 125 | ||
| 126 | 126 | func (c *SocketAddressEnumerator) GoPointer() uintptr { | |
| 127 | + | if c == nil { | |
| 128 | + | return 0 | |
| 129 | + | } | |
| 127 | 130 | return c.Ptr | |
| 128 | 131 | } | |
| 129 | 132 | ||
| @@ -124,6 +124,9 @@ func (x *SocketAddressEnumerator) NextFinish(ResultVar AsyncResult) (*SocketAddr | |||||
| 124 | } | 124 | } | ||
| 125 | 125 | ||||
| 126 | func (c *SocketAddressEnumerator) GoPointer() uintptr { | 126 | func (c *SocketAddressEnumerator) GoPointer() uintptr { | ||
| 127 | + | if c == nil { | |||
| 128 | + | return 0 | |||
| 129 | + | } | |||
| 127 | return c.Ptr | 130 | return c.Ptr | ||
| 128 | } | 131 | } | ||
| 129 | 132 | ||||
M v4/gio/gsocketclient.go +3 -0
| @@ -665,6 +665,9 @@ func (x *SocketClient) SetTlsValidationFlags(FlagsVar TlsCertificateFlags) { | |||
| 665 | 665 | } | |
| 666 | 666 | ||
| 667 | 667 | func (c *SocketClient) GoPointer() uintptr { | |
| 668 | + | if c == nil { | |
| 669 | + | return 0 | |
| 670 | + | } | |
| 668 | 671 | return c.Ptr | |
| 669 | 672 | } | |
| 670 | 673 | ||
| @@ -665,6 +665,9 @@ func (x *SocketClient) SetTlsValidationFlags(FlagsVar TlsCertificateFlags) { | |||||
| 665 | } | 665 | } | ||
| 666 | 666 | ||||
| 667 | func (c *SocketClient) GoPointer() uintptr { | 667 | func (c *SocketClient) GoPointer() uintptr { | ||
| 668 | + | if c == nil { | |||
| 669 | + | return 0 | |||
| 670 | + | } | |||
| 668 | return c.Ptr | 671 | return c.Ptr | ||
| 669 | } | 672 | } | ||
| 670 | 673 | ||||
M v4/gio/gsocketconnectable.go +3 -0
| @@ -101,6 +101,9 @@ type SocketConnectableBase struct { | |||
| 101 | 101 | } | |
| 102 | 102 | ||
| 103 | 103 | func (x *SocketConnectableBase) GoPointer() uintptr { | |
| 104 | + | if x == nil { | |
| 105 | + | return 0 | |
| 106 | + | } | |
| 104 | 107 | return x.Ptr | |
| 105 | 108 | } | |
| 106 | 109 | ||
| @@ -101,6 +101,9 @@ type SocketConnectableBase struct { | |||||
| 101 | } | 101 | } | ||
| 102 | 102 | ||||
| 103 | func (x *SocketConnectableBase) GoPointer() uintptr { | 103 | func (x *SocketConnectableBase) GoPointer() uintptr { | ||
| 104 | + | if x == nil { | |||
| 105 | + | return 0 | |||
| 106 | + | } | |||
| 104 | return x.Ptr | 107 | return x.Ptr | ||
| 105 | } | 108 | } | ||
| 106 | 109 | ||||
M v4/gio/gsocketconnection.go +3 -0
| @@ -183,6 +183,9 @@ func (x *SocketConnection) IsConnected() bool { | |||
| 183 | 183 | } | |
| 184 | 184 | ||
| 185 | 185 | func (c *SocketConnection) GoPointer() uintptr { | |
| 186 | + | if c == nil { | |
| 187 | + | return 0 | |
| 188 | + | } | |
| 186 | 189 | return c.Ptr | |
| 187 | 190 | } | |
| 188 | 191 | ||
| @@ -183,6 +183,9 @@ func (x *SocketConnection) IsConnected() bool { | |||||
| 183 | } | 183 | } | ||
| 184 | 184 | ||||
| 185 | func (c *SocketConnection) GoPointer() uintptr { | 185 | func (c *SocketConnection) GoPointer() uintptr { | ||
| 186 | + | if c == nil { | |||
| 187 | + | return 0 | |||
| 188 | + | } | |||
| 186 | return c.Ptr | 189 | return c.Ptr | ||
| 187 | } | 190 | } | ||
| 188 | 191 | ||||
M v4/gio/gsocketcontrolmessage.go +3 -0
| @@ -111,6 +111,9 @@ func (x *SocketControlMessage) Serialize(DataVar uintptr) { | |||
| 111 | 111 | } | |
| 112 | 112 | ||
| 113 | 113 | func (c *SocketControlMessage) GoPointer() uintptr { | |
| 114 | + | if c == nil { | |
| 115 | + | return 0 | |
| 116 | + | } | |
| 114 | 117 | return c.Ptr | |
| 115 | 118 | } | |
| 116 | 119 | ||
| @@ -111,6 +111,9 @@ func (x *SocketControlMessage) Serialize(DataVar uintptr) { | |||||
| 111 | } | 111 | } | ||
| 112 | 112 | ||||
| 113 | func (c *SocketControlMessage) GoPointer() uintptr { | 113 | func (c *SocketControlMessage) GoPointer() uintptr { | ||
| 114 | + | if c == nil { | |||
| 115 | + | return 0 | |||
| 116 | + | } | |||
| 114 | return c.Ptr | 117 | return c.Ptr | ||
| 115 | } | 118 | } | ||
| 116 | 119 | ||||
M v4/gio/gsocketlistener.go +3 -0
| @@ -345,6 +345,9 @@ func (x *SocketListener) SetBacklog(ListenBacklogVar int) { | |||
| 345 | 345 | } | |
| 346 | 346 | ||
| 347 | 347 | func (c *SocketListener) GoPointer() uintptr { | |
| 348 | + | if c == nil { | |
| 349 | + | return 0 | |
| 350 | + | } | |
| 348 | 351 | return c.Ptr | |
| 349 | 352 | } | |
| 350 | 353 | ||
| @@ -345,6 +345,9 @@ func (x *SocketListener) SetBacklog(ListenBacklogVar int) { | |||||
| 345 | } | 345 | } | ||
| 346 | 346 | ||||
| 347 | func (c *SocketListener) GoPointer() uintptr { | 347 | func (c *SocketListener) GoPointer() uintptr { | ||
| 348 | + | if c == nil { | |||
| 349 | + | return 0 | |||
| 350 | + | } | |||
| 348 | return c.Ptr | 351 | return c.Ptr | ||
| 349 | } | 352 | } | ||
| 350 | 353 | ||||
M v4/gio/gsocketservice.go +3 -0
| @@ -146,6 +146,9 @@ func (x *SocketService) Stop() { | |||
| 146 | 146 | } | |
| 147 | 147 | ||
| 148 | 148 | func (c *SocketService) GoPointer() uintptr { | |
| 149 | + | if c == nil { | |
| 150 | + | return 0 | |
| 151 | + | } | |
| 149 | 152 | return c.Ptr | |
| 150 | 153 | } | |
| 151 | 154 | ||
| @@ -146,6 +146,9 @@ func (x *SocketService) Stop() { | |||||
| 146 | } | 146 | } | ||
| 147 | 147 | ||||
| 148 | func (c *SocketService) GoPointer() uintptr { | 148 | func (c *SocketService) GoPointer() uintptr { | ||
| 149 | + | if c == nil { | |||
| 150 | + | return 0 | |||
| 151 | + | } | |||
| 149 | return c.Ptr | 152 | return c.Ptr | ||
| 150 | } | 153 | } | ||
| 151 | 154 | ||||
M v4/gio/gtask.go +3 -0
| @@ -1092,6 +1092,9 @@ func (x *Task) SetTaskData(TaskDataVar uintptr, TaskDataDestroyVar *glib.Destroy | |||
| 1092 | 1092 | } | |
| 1093 | 1093 | ||
| 1094 | 1094 | func (c *Task) GoPointer() uintptr { | |
| 1095 | + | if c == nil { | |
| 1096 | + | return 0 | |
| 1097 | + | } | |
| 1095 | 1098 | return c.Ptr | |
| 1096 | 1099 | } | |
| 1097 | 1100 | ||
| @@ -1092,6 +1092,9 @@ func (x *Task) SetTaskData(TaskDataVar uintptr, TaskDataDestroyVar *glib.Destroy | |||||
| 1092 | } | 1092 | } | ||
| 1093 | 1093 | ||||
| 1094 | func (c *Task) GoPointer() uintptr { | 1094 | func (c *Task) GoPointer() uintptr { | ||
| 1095 | + | if c == nil { | |||
| 1096 | + | return 0 | |||
| 1097 | + | } | |||
| 1095 | return c.Ptr | 1098 | return c.Ptr | ||
| 1096 | } | 1099 | } | ||
| 1097 | 1100 | ||||
M v4/gio/gtcpconnection.go +3 -0
| @@ -74,6 +74,9 @@ func (x *TcpConnection) SetGracefulDisconnect(GracefulDisconnectVar bool) { | |||
| 74 | 74 | } | |
| 75 | 75 | ||
| 76 | 76 | func (c *TcpConnection) GoPointer() uintptr { | |
| 77 | + | if c == nil { | |
| 78 | + | return 0 | |
| 79 | + | } | |
| 77 | 80 | return c.Ptr | |
| 78 | 81 | } | |
| 79 | 82 | ||
| @@ -74,6 +74,9 @@ func (x *TcpConnection) SetGracefulDisconnect(GracefulDisconnectVar bool) { | |||||
| 74 | } | 74 | } | ||
| 75 | 75 | ||||
| 76 | func (c *TcpConnection) GoPointer() uintptr { | 76 | func (c *TcpConnection) GoPointer() uintptr { | ||
| 77 | + | if c == nil { | |||
| 78 | + | return 0 | |||
| 79 | + | } | |||
| 77 | return c.Ptr | 80 | return c.Ptr | ||
| 78 | } | 81 | } | ||
| 79 | 82 | ||||
M v4/gio/gtcpwrapperconnection.go +3 -0
| @@ -84,6 +84,9 @@ func (x *TcpWrapperConnection) GetBaseIoStream() *IOStream { | |||
| 84 | 84 | } | |
| 85 | 85 | ||
| 86 | 86 | func (c *TcpWrapperConnection) GoPointer() uintptr { | |
| 87 | + | if c == nil { | |
| 88 | + | return 0 | |
| 89 | + | } | |
| 87 | 90 | return c.Ptr | |
| 88 | 91 | } | |
| 89 | 92 | ||
| @@ -84,6 +84,9 @@ func (x *TcpWrapperConnection) GetBaseIoStream() *IOStream { | |||||
| 84 | } | 84 | } | ||
| 85 | 85 | ||||
| 86 | func (c *TcpWrapperConnection) GoPointer() uintptr { | 86 | func (c *TcpWrapperConnection) GoPointer() uintptr { | ||
| 87 | + | if c == nil { | |||
| 88 | + | return 0 | |||
| 89 | + | } | |||
| 87 | return c.Ptr | 90 | return c.Ptr | ||
| 88 | } | 91 | } | ||
| 89 | 92 | ||||
M v4/gio/gthemedicon.go +3 -0
| @@ -140,6 +140,9 @@ func (x *ThemedIcon) PrependName(IconnameVar string) { | |||
| 140 | 140 | } | |
| 141 | 141 | ||
| 142 | 142 | func (c *ThemedIcon) GoPointer() uintptr { | |
| 143 | + | if c == nil { | |
| 144 | + | return 0 | |
| 145 | + | } | |
| 143 | 146 | return c.Ptr | |
| 144 | 147 | } | |
| 145 | 148 | ||
| @@ -140,6 +140,9 @@ func (x *ThemedIcon) PrependName(IconnameVar string) { | |||||
| 140 | } | 140 | } | ||
| 141 | 141 | ||||
| 142 | func (c *ThemedIcon) GoPointer() uintptr { | 142 | func (c *ThemedIcon) GoPointer() uintptr { | ||
| 143 | + | if c == nil { | |||
| 144 | + | return 0 | |||
| 145 | + | } | |||
| 143 | return c.Ptr | 146 | return c.Ptr | ||
| 144 | } | 147 | } | ||
| 145 | 148 | ||||
M v4/gio/gthreadedsocketservice.go +3 -0
| @@ -79,6 +79,9 @@ func NewThreadedSocketService(MaxThreadsVar int) *ThreadedSocketService { | |||
| 79 | 79 | } | |
| 80 | 80 | ||
| 81 | 81 | func (c *ThreadedSocketService) GoPointer() uintptr { | |
| 82 | + | if c == nil { | |
| 83 | + | return 0 | |
| 84 | + | } | |
| 82 | 85 | return c.Ptr | |
| 83 | 86 | } | |
| 84 | 87 | ||
| @@ -79,6 +79,9 @@ func NewThreadedSocketService(MaxThreadsVar int) *ThreadedSocketService { | |||||
| 79 | } | 79 | } | ||
| 80 | 80 | ||||
| 81 | func (c *ThreadedSocketService) GoPointer() uintptr { | 81 | func (c *ThreadedSocketService) GoPointer() uintptr { | ||
| 82 | + | if c == nil { | |||
| 83 | + | return 0 | |||
| 84 | + | } | |||
| 82 | return c.Ptr | 85 | return c.Ptr | ||
| 83 | } | 86 | } | ||
| 84 | 87 | ||||
M v4/gio/gtlsbackend.go +3 -0
| @@ -49,6 +49,9 @@ type TlsBackendBase struct { | |||
| 49 | 49 | } | |
| 50 | 50 | ||
| 51 | 51 | func (x *TlsBackendBase) GoPointer() uintptr { | |
| 52 | + | if x == nil { | |
| 53 | + | return 0 | |
| 54 | + | } | |
| 52 | 55 | return x.Ptr | |
| 53 | 56 | } | |
| 54 | 57 | ||
| @@ -49,6 +49,9 @@ type TlsBackendBase struct { | |||||
| 49 | } | 49 | } | ||
| 50 | 50 | ||||
| 51 | func (x *TlsBackendBase) GoPointer() uintptr { | 51 | func (x *TlsBackendBase) GoPointer() uintptr { | ||
| 52 | + | if x == nil { | |||
| 53 | + | return 0 | |||
| 54 | + | } | |||
| 52 | return x.Ptr | 55 | return x.Ptr | ||
| 53 | } | 56 | } | ||
| 54 | 57 | ||||
M v4/gio/gtlscertificate.go +3 -0
| @@ -386,6 +386,9 @@ func (x *TlsCertificate) Verify(IdentityVar SocketConnectable, TrustedCaVar *Tls | |||
| 386 | 386 | } | |
| 387 | 387 | ||
| 388 | 388 | func (c *TlsCertificate) GoPointer() uintptr { | |
| 389 | + | if c == nil { | |
| 390 | + | return 0 | |
| 391 | + | } | |
| 389 | 392 | return c.Ptr | |
| 390 | 393 | } | |
| 391 | 394 | ||
| @@ -386,6 +386,9 @@ func (x *TlsCertificate) Verify(IdentityVar SocketConnectable, TrustedCaVar *Tls | |||||
| 386 | } | 386 | } | ||
| 387 | 387 | ||||
| 388 | func (c *TlsCertificate) GoPointer() uintptr { | 388 | func (c *TlsCertificate) GoPointer() uintptr { | ||
| 389 | + | if c == nil { | |||
| 390 | + | return 0 | |||
| 391 | + | } | |||
| 389 | return c.Ptr | 392 | return c.Ptr | ||
| 390 | } | 393 | } | ||
| 391 | 394 | ||||
M v4/gio/gtlsclientconnection.go +3 -0
| @@ -49,6 +49,9 @@ type TlsClientConnectionBase struct { | |||
| 49 | 49 | } | |
| 50 | 50 | ||
| 51 | 51 | func (x *TlsClientConnectionBase) GoPointer() uintptr { | |
| 52 | + | if x == nil { | |
| 53 | + | return 0 | |
| 54 | + | } | |
| 52 | 55 | return x.Ptr | |
| 53 | 56 | } | |
| 54 | 57 | ||
| @@ -49,6 +49,9 @@ type TlsClientConnectionBase struct { | |||||
| 49 | } | 49 | } | ||
| 50 | 50 | ||||
| 51 | func (x *TlsClientConnectionBase) GoPointer() uintptr { | 51 | func (x *TlsClientConnectionBase) GoPointer() uintptr { | ||
| 52 | + | if x == nil { | |||
| 53 | + | return 0 | |||
| 54 | + | } | |||
| 52 | return x.Ptr | 55 | return x.Ptr | ||
| 53 | } | 56 | } | ||
| 54 | 57 | ||||
M v4/gio/gtlsconnection.go +3 -0
| @@ -461,6 +461,9 @@ func (x *TlsConnection) SetUseSystemCertdb(UseSystemCertdbVar bool) { | |||
| 461 | 461 | } | |
| 462 | 462 | ||
| 463 | 463 | func (c *TlsConnection) GoPointer() uintptr { | |
| 464 | + | if c == nil { | |
| 465 | + | return 0 | |
| 466 | + | } | |
| 464 | 467 | return c.Ptr | |
| 465 | 468 | } | |
| 466 | 469 | ||
| @@ -461,6 +461,9 @@ func (x *TlsConnection) SetUseSystemCertdb(UseSystemCertdbVar bool) { | |||||
| 461 | } | 461 | } | ||
| 462 | 462 | ||||
| 463 | func (c *TlsConnection) GoPointer() uintptr { | 463 | func (c *TlsConnection) GoPointer() uintptr { | ||
| 464 | + | if c == nil { | |||
| 465 | + | return 0 | |||
| 466 | + | } | |||
| 464 | return c.Ptr | 467 | return c.Ptr | ||
| 465 | } | 468 | } | ||
| 466 | 469 | ||||
M v4/gio/gtlsdatabase.go +3 -0
| @@ -379,6 +379,9 @@ func (x *TlsDatabase) VerifyChainFinish(ResultVar AsyncResult) (TlsCertificateFl | |||
| 379 | 379 | } | |
| 380 | 380 | ||
| 381 | 381 | func (c *TlsDatabase) GoPointer() uintptr { | |
| 382 | + | if c == nil { | |
| 383 | + | return 0 | |
| 384 | + | } | |
| 382 | 385 | return c.Ptr | |
| 383 | 386 | } | |
| 384 | 387 | ||
| @@ -379,6 +379,9 @@ func (x *TlsDatabase) VerifyChainFinish(ResultVar AsyncResult) (TlsCertificateFl | |||||
| 379 | } | 379 | } | ||
| 380 | 380 | ||||
| 381 | func (c *TlsDatabase) GoPointer() uintptr { | 381 | func (c *TlsDatabase) GoPointer() uintptr { | ||
| 382 | + | if c == nil { | |||
| 383 | + | return 0 | |||
| 384 | + | } | |||
| 382 | return c.Ptr | 385 | return c.Ptr | ||
| 383 | } | 386 | } | ||
| 384 | 387 | ||||
M v4/gio/gtlsfiledatabase.go +3 -0
| @@ -43,6 +43,9 @@ type TlsFileDatabaseBase struct { | |||
| 43 | 43 | } | |
| 44 | 44 | ||
| 45 | 45 | func (x *TlsFileDatabaseBase) GoPointer() uintptr { | |
| 46 | + | if x == nil { | |
| 47 | + | return 0 | |
| 48 | + | } | |
| 46 | 49 | return x.Ptr | |
| 47 | 50 | } | |
| 48 | 51 | ||
| @@ -43,6 +43,9 @@ type TlsFileDatabaseBase struct { | |||||
| 43 | } | 43 | } | ||
| 44 | 44 | ||||
| 45 | func (x *TlsFileDatabaseBase) GoPointer() uintptr { | 45 | func (x *TlsFileDatabaseBase) GoPointer() uintptr { | ||
| 46 | + | if x == nil { | |||
| 47 | + | return 0 | |||
| 48 | + | } | |||
| 46 | return x.Ptr | 49 | return x.Ptr | ||
| 47 | } | 50 | } | ||
| 48 | 51 | ||||
M v4/gio/gtlsinteraction.go +3 -0
| @@ -287,6 +287,9 @@ func (x *TlsInteraction) RequestCertificateFinish(ResultVar AsyncResult) (TlsInt | |||
| 287 | 287 | } | |
| 288 | 288 | ||
| 289 | 289 | func (c *TlsInteraction) GoPointer() uintptr { | |
| 290 | + | if c == nil { | |
| 291 | + | return 0 | |
| 292 | + | } | |
| 290 | 293 | return c.Ptr | |
| 291 | 294 | } | |
| 292 | 295 | ||
| @@ -287,6 +287,9 @@ func (x *TlsInteraction) RequestCertificateFinish(ResultVar AsyncResult) (TlsInt | |||||
| 287 | } | 287 | } | ||
| 288 | 288 | ||||
| 289 | func (c *TlsInteraction) GoPointer() uintptr { | 289 | func (c *TlsInteraction) GoPointer() uintptr { | ||
| 290 | + | if c == nil { | |||
| 291 | + | return 0 | |||
| 292 | + | } | |||
| 290 | return c.Ptr | 293 | return c.Ptr | ||
| 291 | } | 294 | } | ||
| 292 | 295 | ||||
M v4/gio/gtlspassword.go +3 -0
| @@ -170,6 +170,9 @@ func (x *TlsPassword) SetWarning(WarningVar string) { | |||
| 170 | 170 | } | |
| 171 | 171 | ||
| 172 | 172 | func (c *TlsPassword) GoPointer() uintptr { | |
| 173 | + | if c == nil { | |
| 174 | + | return 0 | |
| 175 | + | } | |
| 173 | 176 | return c.Ptr | |
| 174 | 177 | } | |
| 175 | 178 | ||
| @@ -170,6 +170,9 @@ func (x *TlsPassword) SetWarning(WarningVar string) { | |||||
| 170 | } | 170 | } | ||
| 171 | 171 | ||||
| 172 | func (c *TlsPassword) GoPointer() uintptr { | 172 | func (c *TlsPassword) GoPointer() uintptr { | ||
| 173 | + | if c == nil { | |||
| 174 | + | return 0 | |||
| 175 | + | } | |||
| 173 | return c.Ptr | 176 | return c.Ptr | ||
| 174 | } | 177 | } | ||
| 175 | 178 | ||||
M v4/gio/gtlsserverconnection.go +3 -0
| @@ -40,6 +40,9 @@ type TlsServerConnectionBase struct { | |||
| 40 | 40 | } | |
| 41 | 41 | ||
| 42 | 42 | func (x *TlsServerConnectionBase) GoPointer() uintptr { | |
| 43 | + | if x == nil { | |
| 44 | + | return 0 | |
| 45 | + | } | |
| 43 | 46 | return x.Ptr | |
| 44 | 47 | } | |
| 45 | 48 | ||
| @@ -40,6 +40,9 @@ type TlsServerConnectionBase struct { | |||||
| 40 | } | 40 | } | ||
| 41 | 41 | ||||
| 42 | func (x *TlsServerConnectionBase) GoPointer() uintptr { | 42 | func (x *TlsServerConnectionBase) GoPointer() uintptr { | ||
| 43 | + | if x == nil { | |||
| 44 | + | return 0 | |||
| 45 | + | } | |||
| 43 | return x.Ptr | 46 | return x.Ptr | ||
| 44 | } | 47 | } | ||
| 45 | 48 | ||||
M v4/gio/gunixconnection.go +3 -0
| @@ -235,6 +235,9 @@ func (x *UnixConnection) SendFd(FdVar int, CancellableVar *Cancellable) (bool, e | |||
| 235 | 235 | } | |
| 236 | 236 | ||
| 237 | 237 | func (c *UnixConnection) GoPointer() uintptr { | |
| 238 | + | if c == nil { | |
| 239 | + | return 0 | |
| 240 | + | } | |
| 238 | 241 | return c.Ptr | |
| 239 | 242 | } | |
| 240 | 243 | ||
| @@ -235,6 +235,9 @@ func (x *UnixConnection) SendFd(FdVar int, CancellableVar *Cancellable) (bool, e | |||||
| 235 | } | 235 | } | ||
| 236 | 236 | ||||
| 237 | func (c *UnixConnection) GoPointer() uintptr { | 237 | func (c *UnixConnection) GoPointer() uintptr { | ||
| 238 | + | if c == nil { | |||
| 239 | + | return 0 | |||
| 240 | + | } | |||
| 238 | return c.Ptr | 241 | return c.Ptr | ||
| 239 | } | 242 | } | ||
| 240 | 243 | ||||
M v4/gio/gunixcredentialsmessage.go +3 -0
| @@ -115,6 +115,9 @@ func (x *UnixCredentialsMessage) GetCredentials() *Credentials { | |||
| 115 | 115 | } | |
| 116 | 116 | ||
| 117 | 117 | func (c *UnixCredentialsMessage) GoPointer() uintptr { | |
| 118 | + | if c == nil { | |
| 119 | + | return 0 | |
| 120 | + | } | |
| 118 | 121 | return c.Ptr | |
| 119 | 122 | } | |
| 120 | 123 | ||
| @@ -115,6 +115,9 @@ func (x *UnixCredentialsMessage) GetCredentials() *Credentials { | |||||
| 115 | } | 115 | } | ||
| 116 | 116 | ||||
| 117 | func (c *UnixCredentialsMessage) GoPointer() uintptr { | 117 | func (c *UnixCredentialsMessage) GoPointer() uintptr { | ||
| 118 | + | if c == nil { | |||
| 119 | + | return 0 | |||
| 120 | + | } | |||
| 118 | return c.Ptr | 121 | return c.Ptr | ||
| 119 | } | 122 | } | ||
| 120 | 123 | ||||
M v4/gio/gunixfdlist.go +3 -0
| @@ -203,6 +203,9 @@ func (x *UnixFDList) StealFds(LengthVar int) []int { | |||
| 203 | 203 | } | |
| 204 | 204 | ||
| 205 | 205 | func (c *UnixFDList) GoPointer() uintptr { | |
| 206 | + | if c == nil { | |
| 207 | + | return 0 | |
| 208 | + | } | |
| 206 | 209 | return c.Ptr | |
| 207 | 210 | } | |
| 208 | 211 | ||
| @@ -203,6 +203,9 @@ func (x *UnixFDList) StealFds(LengthVar int) []int { | |||||
| 203 | } | 203 | } | ||
| 204 | 204 | ||||
| 205 | func (c *UnixFDList) GoPointer() uintptr { | 205 | func (c *UnixFDList) GoPointer() uintptr { | ||
| 206 | + | if c == nil { | |||
| 207 | + | return 0 | |||
| 208 | + | } | |||
| 206 | return c.Ptr | 209 | return c.Ptr | ||
| 207 | } | 210 | } | ||
| 208 | 211 | ||||
M v4/gio/gunixfdmessage.go +3 -0
| @@ -158,6 +158,9 @@ func (x *UnixFDMessage) StealFds(LengthVar int) []int { | |||
| 158 | 158 | } | |
| 159 | 159 | ||
| 160 | 160 | func (c *UnixFDMessage) GoPointer() uintptr { | |
| 161 | + | if c == nil { | |
| 162 | + | return 0 | |
| 163 | + | } | |
| 161 | 164 | return c.Ptr | |
| 162 | 165 | } | |
| 163 | 166 | ||
| @@ -158,6 +158,9 @@ func (x *UnixFDMessage) StealFds(LengthVar int) []int { | |||||
| 158 | } | 158 | } | ||
| 159 | 159 | ||||
| 160 | func (c *UnixFDMessage) GoPointer() uintptr { | 160 | func (c *UnixFDMessage) GoPointer() uintptr { | ||
| 161 | + | if c == nil { | |||
| 162 | + | return 0 | |||
| 163 | + | } | |||
| 161 | return c.Ptr | 164 | return c.Ptr | ||
| 162 | } | 165 | } | ||
| 163 | 166 | ||||
M v4/gio/gunixinputstream.go +3 -0
| @@ -103,6 +103,9 @@ func (x *UnixInputStream) SetCloseFd(CloseFdVar bool) { | |||
| 103 | 103 | } | |
| 104 | 104 | ||
| 105 | 105 | func (c *UnixInputStream) GoPointer() uintptr { | |
| 106 | + | if c == nil { | |
| 107 | + | return 0 | |
| 108 | + | } | |
| 106 | 109 | return c.Ptr | |
| 107 | 110 | } | |
| 108 | 111 | ||
| @@ -103,6 +103,9 @@ func (x *UnixInputStream) SetCloseFd(CloseFdVar bool) { | |||||
| 103 | } | 103 | } | ||
| 104 | 104 | ||||
| 105 | func (c *UnixInputStream) GoPointer() uintptr { | 105 | func (c *UnixInputStream) GoPointer() uintptr { | ||
| 106 | + | if c == nil { | |||
| 107 | + | return 0 | |||
| 108 | + | } | |||
| 106 | return c.Ptr | 109 | return c.Ptr | ||
| 107 | } | 110 | } | ||
| 108 | 111 | ||||
M v4/gio/gunixmounts.go +3 -0
| @@ -540,6 +540,9 @@ func (x *UnixMountMonitor) SetRateLimit(LimitMsecVar int) { | |||
| 540 | 540 | } | |
| 541 | 541 | ||
| 542 | 542 | func (c *UnixMountMonitor) GoPointer() uintptr { | |
| 543 | + | if c == nil { | |
| 544 | + | return 0 | |
| 545 | + | } | |
| 543 | 546 | return c.Ptr | |
| 544 | 547 | } | |
| 545 | 548 | ||
| @@ -540,6 +540,9 @@ func (x *UnixMountMonitor) SetRateLimit(LimitMsecVar int) { | |||||
| 540 | } | 540 | } | ||
| 541 | 541 | ||||
| 542 | func (c *UnixMountMonitor) GoPointer() uintptr { | 542 | func (c *UnixMountMonitor) GoPointer() uintptr { | ||
| 543 | + | if c == nil { | |||
| 544 | + | return 0 | |||
| 545 | + | } | |||
| 543 | return c.Ptr | 546 | return c.Ptr | ||
| 544 | } | 547 | } | ||
| 545 | 548 | ||||
M v4/gio/gunixoutputstream.go +3 -0
| @@ -103,6 +103,9 @@ func (x *UnixOutputStream) SetCloseFd(CloseFdVar bool) { | |||
| 103 | 103 | } | |
| 104 | 104 | ||
| 105 | 105 | func (c *UnixOutputStream) GoPointer() uintptr { | |
| 106 | + | if c == nil { | |
| 107 | + | return 0 | |
| 108 | + | } | |
| 106 | 109 | return c.Ptr | |
| 107 | 110 | } | |
| 108 | 111 | ||
| @@ -103,6 +103,9 @@ func (x *UnixOutputStream) SetCloseFd(CloseFdVar bool) { | |||||
| 103 | } | 103 | } | ||
| 104 | 104 | ||||
| 105 | func (c *UnixOutputStream) GoPointer() uintptr { | 105 | func (c *UnixOutputStream) GoPointer() uintptr { | ||
| 106 | + | if c == nil { | |||
| 107 | + | return 0 | |||
| 108 | + | } | |||
| 106 | return c.Ptr | 109 | return c.Ptr | ||
| 107 | } | 110 | } | ||
| 108 | 111 | ||||
M v4/gio/gunixsocketaddress.go +3 -0
| @@ -188,6 +188,9 @@ func (x *UnixSocketAddress) GetPathLen() uint { | |||
| 188 | 188 | } | |
| 189 | 189 | ||
| 190 | 190 | func (c *UnixSocketAddress) GoPointer() uintptr { | |
| 191 | + | if c == nil { | |
| 192 | + | return 0 | |
| 193 | + | } | |
| 191 | 194 | return c.Ptr | |
| 192 | 195 | } | |
| 193 | 196 | ||
| @@ -188,6 +188,9 @@ func (x *UnixSocketAddress) GetPathLen() uint { | |||||
| 188 | } | 188 | } | ||
| 189 | 189 | ||||
| 190 | func (c *UnixSocketAddress) GoPointer() uintptr { | 190 | func (c *UnixSocketAddress) GoPointer() uintptr { | ||
| 191 | + | if c == nil { | |||
| 192 | + | return 0 | |||
| 193 | + | } | |||
| 191 | return c.Ptr | 194 | return c.Ptr | ||
| 192 | } | 195 | } | ||
| 193 | 196 | ||||
M v4/gio/gvfs.go +3 -0
| @@ -164,6 +164,9 @@ func (x *Vfs) UnregisterUriScheme(SchemeVar string) bool { | |||
| 164 | 164 | } | |
| 165 | 165 | ||
| 166 | 166 | func (c *Vfs) GoPointer() uintptr { | |
| 167 | + | if c == nil { | |
| 168 | + | return 0 | |
| 169 | + | } | |
| 167 | 170 | return c.Ptr | |
| 168 | 171 | } | |
| 169 | 172 | ||
| @@ -164,6 +164,9 @@ func (x *Vfs) UnregisterUriScheme(SchemeVar string) bool { | |||||
| 164 | } | 164 | } | ||
| 165 | 165 | ||||
| 166 | func (c *Vfs) GoPointer() uintptr { | 166 | func (c *Vfs) GoPointer() uintptr { | ||
| 167 | + | if c == nil { | |||
| 168 | + | return 0 | |||
| 169 | + | } | |||
| 167 | return c.Ptr | 170 | return c.Ptr | ||
| 168 | } | 171 | } | ||
| 169 | 172 | ||||
M v4/gio/gvolume.go +3 -0
| @@ -97,6 +97,9 @@ type VolumeBase struct { | |||
| 97 | 97 | } | |
| 98 | 98 | ||
| 99 | 99 | func (x *VolumeBase) GoPointer() uintptr { | |
| 100 | + | if x == nil { | |
| 101 | + | return 0 | |
| 102 | + | } | |
| 100 | 103 | return x.Ptr | |
| 101 | 104 | } | |
| 102 | 105 | ||
| @@ -97,6 +97,9 @@ type VolumeBase struct { | |||||
| 97 | } | 97 | } | ||
| 98 | 98 | ||||
| 99 | func (x *VolumeBase) GoPointer() uintptr { | 99 | func (x *VolumeBase) GoPointer() uintptr { | ||
| 100 | + | if x == nil { | |||
| 101 | + | return 0 | |||
| 102 | + | } | |||
| 100 | return x.Ptr | 103 | return x.Ptr | ||
| 101 | } | 104 | } | ||
| 102 | 105 | ||||
M v4/gio/gvolumemonitor.go +3 -0
| @@ -124,6 +124,9 @@ func (x *VolumeMonitor) GetVolumes() *glib.List { | |||
| 124 | 124 | } | |
| 125 | 125 | ||
| 126 | 126 | func (c *VolumeMonitor) GoPointer() uintptr { | |
| 127 | + | if c == nil { | |
| 128 | + | return 0 | |
| 129 | + | } | |
| 127 | 130 | return c.Ptr | |
| 128 | 131 | } | |
| 129 | 132 | ||
| @@ -124,6 +124,9 @@ func (x *VolumeMonitor) GetVolumes() *glib.List { | |||||
| 124 | } | 124 | } | ||
| 125 | 125 | ||||
| 126 | func (c *VolumeMonitor) GoPointer() uintptr { | 126 | func (c *VolumeMonitor) GoPointer() uintptr { | ||
| 127 | + | if c == nil { | |||
| 128 | + | return 0 | |||
| 129 | + | } | |||
| 127 | return c.Ptr | 130 | return c.Ptr | ||
| 128 | } | 131 | } | ||
| 129 | 132 | ||||
M v4/gio/gzlibcompressor.go +3 -0
| @@ -90,6 +90,9 @@ func (x *ZlibCompressor) SetFileInfo(FileInfoVar *FileInfo) { | |||
| 90 | 90 | } | |
| 91 | 91 | ||
| 92 | 92 | func (c *ZlibCompressor) GoPointer() uintptr { | |
| 93 | + | if c == nil { | |
| 94 | + | return 0 | |
| 95 | + | } | |
| 93 | 96 | return c.Ptr | |
| 94 | 97 | } | |
| 95 | 98 | ||
| @@ -90,6 +90,9 @@ func (x *ZlibCompressor) SetFileInfo(FileInfoVar *FileInfo) { | |||||
| 90 | } | 90 | } | ||
| 91 | 91 | ||||
| 92 | func (c *ZlibCompressor) GoPointer() uintptr { | 92 | func (c *ZlibCompressor) GoPointer() uintptr { | ||
| 93 | + | if c == nil { | |||
| 94 | + | return 0 | |||
| 95 | + | } | |||
| 93 | return c.Ptr | 96 | return c.Ptr | ||
| 94 | } | 97 | } | ||
| 95 | 98 | ||||
M v4/gio/gzlibdecompressor.go +3 -0
| @@ -78,6 +78,9 @@ func (x *ZlibDecompressor) GetFileInfo() *FileInfo { | |||
| 78 | 78 | } | |
| 79 | 79 | ||
| 80 | 80 | func (c *ZlibDecompressor) GoPointer() uintptr { | |
| 81 | + | if c == nil { | |
| 82 | + | return 0 | |
| 83 | + | } | |
| 81 | 84 | return c.Ptr | |
| 82 | 85 | } | |
| 83 | 86 | ||
| @@ -78,6 +78,9 @@ func (x *ZlibDecompressor) GetFileInfo() *FileInfo { | |||||
| 78 | } | 78 | } | ||
| 79 | 79 | ||||
| 80 | func (c *ZlibDecompressor) GoPointer() uintptr { | 80 | func (c *ZlibDecompressor) GoPointer() uintptr { | ||
| 81 | + | if c == nil { | |||
| 82 | + | return 0 | |||
| 83 | + | } | |||
| 81 | return c.Ptr | 84 | return c.Ptr | ||
| 82 | } | 85 | } | ||
| 83 | 86 | ||||
M v4/gobject/gobject-2.0.go +12 -0
| @@ -78,6 +78,9 @@ type TypePluginBase struct { | |||
| 78 | 78 | } | |
| 79 | 79 | ||
| 80 | 80 | func (x *TypePluginBase) GoPointer() uintptr { | |
| 81 | + | if x == nil { | |
| 82 | + | return 0 | |
| 83 | + | } | |
| 81 | 84 | return x.Ptr | |
| 82 | 85 | } | |
| 83 | 86 | ||
| @@ -367,6 +370,9 @@ func (x *Binding) Unbind() { | |||
| 367 | 370 | } | |
| 368 | 371 | ||
| 369 | 372 | func (c *Binding) GoPointer() uintptr { | |
| 373 | + | if c == nil { | |
| 374 | + | return 0 | |
| 375 | + | } | |
| 370 | 376 | return c.Ptr | |
| 371 | 377 | } | |
| 372 | 378 | ||
| @@ -490,6 +496,9 @@ func (x *BindingGroup) SetSource(SourceVar *Object) { | |||
| 490 | 496 | } | |
| 491 | 497 | ||
| 492 | 498 | func (c *BindingGroup) GoPointer() uintptr { | |
| 499 | + | if c == nil { | |
| 500 | + | return 0 | |
| 501 | + | } | |
| 493 | 502 | return c.Ptr | |
| 494 | 503 | } | |
| 495 | 504 | ||
| @@ -671,6 +680,9 @@ func (x *SignalGroup) Unblock() { | |||
| 671 | 680 | } | |
| 672 | 681 | ||
| 673 | 682 | func (c *SignalGroup) GoPointer() uintptr { | |
| 683 | + | if c == nil { | |
| 684 | + | return 0 | |
| 685 | + | } | |
| 674 | 686 | return c.Ptr | |
| 675 | 687 | } | |
| 676 | 688 | ||
| @@ -78,6 +78,9 @@ type TypePluginBase struct { | |||||
| 78 | } | 78 | } | ||
| 79 | 79 | ||||
| 80 | func (x *TypePluginBase) GoPointer() uintptr { | 80 | func (x *TypePluginBase) GoPointer() uintptr { | ||
| 81 | + | if x == nil { | |||
| 82 | + | return 0 | |||
| 83 | + | } | |||
| 81 | return x.Ptr | 84 | return x.Ptr | ||
| 82 | } | 85 | } | ||
| 83 | 86 | ||||
| @@ -367,6 +370,9 @@ func (x *Binding) Unbind() { | |||||
| 367 | } | 370 | } | ||
| 368 | 371 | ||||
| 369 | func (c *Binding) GoPointer() uintptr { | 372 | func (c *Binding) GoPointer() uintptr { | ||
| 373 | + | if c == nil { | |||
| 374 | + | return 0 | |||
| 375 | + | } | |||
| 370 | return c.Ptr | 376 | return c.Ptr | ||
| 371 | } | 377 | } | ||
| 372 | 378 | ||||
| @@ -490,6 +496,9 @@ func (x *BindingGroup) SetSource(SourceVar *Object) { | |||||
| 490 | } | 496 | } | ||
| 491 | 497 | ||||
| 492 | func (c *BindingGroup) GoPointer() uintptr { | 498 | func (c *BindingGroup) GoPointer() uintptr { | ||
| 499 | + | if c == nil { | |||
| 500 | + | return 0 | |||
| 501 | + | } | |||
| 493 | return c.Ptr | 502 | return c.Ptr | ||
| 494 | } | 503 | } | ||
| 495 | 504 | ||||
| @@ -671,6 +680,9 @@ func (x *SignalGroup) Unblock() { | |||||
| 671 | } | 680 | } | ||
| 672 | 681 | ||||
| 673 | func (c *SignalGroup) GoPointer() uintptr { | 682 | func (c *SignalGroup) GoPointer() uintptr { | ||
| 683 | + | if c == nil { | |||
| 684 | + | return 0 | |||
| 685 | + | } | |||
| 674 | return c.Ptr | 686 | return c.Ptr | ||
| 675 | } | 687 | } | ||
| 676 | 688 | ||||
M v4/gobject/gobject.go +6 -0
| @@ -437,6 +437,9 @@ func InitiallyUnownedNewFromInternalPtr(ptr uintptr) *InitiallyUnowned { | |||
| 437 | 437 | } | |
| 438 | 438 | ||
| 439 | 439 | func (c *InitiallyUnowned) GoPointer() uintptr { | |
| 440 | + | if c == nil { | |
| 441 | + | return 0 | |
| 442 | + | } | |
| 440 | 443 | return c.Ptr | |
| 441 | 444 | } | |
| 442 | 445 | ||
| @@ -1469,6 +1472,9 @@ func (x *Object) WeakUnref(NotifyVar *WeakNotify, DataVar uintptr) { | |||
| 1469 | 1472 | } | |
| 1470 | 1473 | ||
| 1471 | 1474 | func (c *Object) GoPointer() uintptr { | |
| 1475 | + | if c == nil { | |
| 1476 | + | return 0 | |
| 1477 | + | } | |
| 1472 | 1478 | return c.Ptr | |
| 1473 | 1479 | } | |
| 1474 | 1480 | ||
| @@ -437,6 +437,9 @@ func InitiallyUnownedNewFromInternalPtr(ptr uintptr) *InitiallyUnowned { | |||||
| 437 | } | 437 | } | ||
| 438 | 438 | ||||
| 439 | func (c *InitiallyUnowned) GoPointer() uintptr { | 439 | func (c *InitiallyUnowned) GoPointer() uintptr { | ||
| 440 | + | if c == nil { | |||
| 441 | + | return 0 | |||
| 442 | + | } | |||
| 440 | return c.Ptr | 443 | return c.Ptr | ||
| 441 | } | 444 | } | ||
| 442 | 445 | ||||
| @@ -1469,6 +1472,9 @@ func (x *Object) WeakUnref(NotifyVar *WeakNotify, DataVar uintptr) { | |||||
| 1469 | } | 1472 | } | ||
| 1470 | 1473 | ||||
| 1471 | func (c *Object) GoPointer() uintptr { | 1474 | func (c *Object) GoPointer() uintptr { | ||
| 1475 | + | if c == nil { | |||
| 1476 | + | return 0 | |||
| 1477 | + | } | |||
| 1472 | return c.Ptr | 1478 | return c.Ptr | ||
| 1473 | } | 1479 | } | ||
| 1474 | 1480 | ||||
M v4/gobject/gparam.go +3 -0
| @@ -473,6 +473,9 @@ func (x *ParamSpec) Unref() { | |||
| 473 | 473 | } | |
| 474 | 474 | ||
| 475 | 475 | func (c *ParamSpec) GoPointer() uintptr { | |
| 476 | + | if c == nil { | |
| 477 | + | return 0 | |
| 478 | + | } | |
| 476 | 479 | return c.Ptr | |
| 477 | 480 | } | |
| 478 | 481 | ||
| @@ -473,6 +473,9 @@ func (x *ParamSpec) Unref() { | |||||
| 473 | } | 473 | } | ||
| 474 | 474 | ||||
| 475 | func (c *ParamSpec) GoPointer() uintptr { | 475 | func (c *ParamSpec) GoPointer() uintptr { | ||
| 476 | + | if c == nil { | |||
| 477 | + | return 0 | |||
| 478 | + | } | |||
| 476 | return c.Ptr | 479 | return c.Ptr | ||
| 477 | } | 480 | } | ||
| 478 | 481 | ||||
M v4/gobject/gparamspecs.go +69 -0
| @@ -459,6 +459,9 @@ func ParamSpecBooleanNewFromInternalPtr(ptr uintptr) *ParamSpecBoolean { | |||
| 459 | 459 | } | |
| 460 | 460 | ||
| 461 | 461 | func (c *ParamSpecBoolean) GoPointer() uintptr { | |
| 462 | + | if c == nil { | |
| 463 | + | return 0 | |
| 464 | + | } | |
| 462 | 465 | return c.Ptr | |
| 463 | 466 | } | |
| 464 | 467 | ||
| @@ -484,6 +487,9 @@ func ParamSpecBoxedNewFromInternalPtr(ptr uintptr) *ParamSpecBoxed { | |||
| 484 | 487 | } | |
| 485 | 488 | ||
| 486 | 489 | func (c *ParamSpecBoxed) GoPointer() uintptr { | |
| 490 | + | if c == nil { | |
| 491 | + | return 0 | |
| 492 | + | } | |
| 487 | 493 | return c.Ptr | |
| 488 | 494 | } | |
| 489 | 495 | ||
| @@ -509,6 +515,9 @@ func ParamSpecCharNewFromInternalPtr(ptr uintptr) *ParamSpecChar { | |||
| 509 | 515 | } | |
| 510 | 516 | ||
| 511 | 517 | func (c *ParamSpecChar) GoPointer() uintptr { | |
| 518 | + | if c == nil { | |
| 519 | + | return 0 | |
| 520 | + | } | |
| 512 | 521 | return c.Ptr | |
| 513 | 522 | } | |
| 514 | 523 | ||
| @@ -534,6 +543,9 @@ func ParamSpecDoubleNewFromInternalPtr(ptr uintptr) *ParamSpecDouble { | |||
| 534 | 543 | } | |
| 535 | 544 | ||
| 536 | 545 | func (c *ParamSpecDouble) GoPointer() uintptr { | |
| 546 | + | if c == nil { | |
| 547 | + | return 0 | |
| 548 | + | } | |
| 537 | 549 | return c.Ptr | |
| 538 | 550 | } | |
| 539 | 551 | ||
| @@ -560,6 +572,9 @@ func ParamSpecEnumNewFromInternalPtr(ptr uintptr) *ParamSpecEnum { | |||
| 560 | 572 | } | |
| 561 | 573 | ||
| 562 | 574 | func (c *ParamSpecEnum) GoPointer() uintptr { | |
| 575 | + | if c == nil { | |
| 576 | + | return 0 | |
| 577 | + | } | |
| 563 | 578 | return c.Ptr | |
| 564 | 579 | } | |
| 565 | 580 | ||
| @@ -586,6 +601,9 @@ func ParamSpecFlagsNewFromInternalPtr(ptr uintptr) *ParamSpecFlags { | |||
| 586 | 601 | } | |
| 587 | 602 | ||
| 588 | 603 | func (c *ParamSpecFlags) GoPointer() uintptr { | |
| 604 | + | if c == nil { | |
| 605 | + | return 0 | |
| 606 | + | } | |
| 589 | 607 | return c.Ptr | |
| 590 | 608 | } | |
| 591 | 609 | ||
| @@ -611,6 +629,9 @@ func ParamSpecFloatNewFromInternalPtr(ptr uintptr) *ParamSpecFloat { | |||
| 611 | 629 | } | |
| 612 | 630 | ||
| 613 | 631 | func (c *ParamSpecFloat) GoPointer() uintptr { | |
| 632 | + | if c == nil { | |
| 633 | + | return 0 | |
| 634 | + | } | |
| 614 | 635 | return c.Ptr | |
| 615 | 636 | } | |
| 616 | 637 | ||
| @@ -636,6 +657,9 @@ func ParamSpecGTypeNewFromInternalPtr(ptr uintptr) *ParamSpecGType { | |||
| 636 | 657 | } | |
| 637 | 658 | ||
| 638 | 659 | func (c *ParamSpecGType) GoPointer() uintptr { | |
| 660 | + | if c == nil { | |
| 661 | + | return 0 | |
| 662 | + | } | |
| 639 | 663 | return c.Ptr | |
| 640 | 664 | } | |
| 641 | 665 | ||
| @@ -661,6 +685,9 @@ func ParamSpecIntNewFromInternalPtr(ptr uintptr) *ParamSpecInt { | |||
| 661 | 685 | } | |
| 662 | 686 | ||
| 663 | 687 | func (c *ParamSpecInt) GoPointer() uintptr { | |
| 688 | + | if c == nil { | |
| 689 | + | return 0 | |
| 690 | + | } | |
| 664 | 691 | return c.Ptr | |
| 665 | 692 | } | |
| 666 | 693 | ||
| @@ -686,6 +713,9 @@ func ParamSpecInt64NewFromInternalPtr(ptr uintptr) *ParamSpecInt64 { | |||
| 686 | 713 | } | |
| 687 | 714 | ||
| 688 | 715 | func (c *ParamSpecInt64) GoPointer() uintptr { | |
| 716 | + | if c == nil { | |
| 717 | + | return 0 | |
| 718 | + | } | |
| 689 | 719 | return c.Ptr | |
| 690 | 720 | } | |
| 691 | 721 | ||
| @@ -711,6 +741,9 @@ func ParamSpecLongNewFromInternalPtr(ptr uintptr) *ParamSpecLong { | |||
| 711 | 741 | } | |
| 712 | 742 | ||
| 713 | 743 | func (c *ParamSpecLong) GoPointer() uintptr { | |
| 744 | + | if c == nil { | |
| 745 | + | return 0 | |
| 746 | + | } | |
| 714 | 747 | return c.Ptr | |
| 715 | 748 | } | |
| 716 | 749 | ||
| @@ -736,6 +769,9 @@ func ParamSpecObjectNewFromInternalPtr(ptr uintptr) *ParamSpecObject { | |||
| 736 | 769 | } | |
| 737 | 770 | ||
| 738 | 771 | func (c *ParamSpecObject) GoPointer() uintptr { | |
| 772 | + | if c == nil { | |
| 773 | + | return 0 | |
| 774 | + | } | |
| 739 | 775 | return c.Ptr | |
| 740 | 776 | } | |
| 741 | 777 | ||
| @@ -771,6 +807,9 @@ func ParamSpecOverrideNewFromInternalPtr(ptr uintptr) *ParamSpecOverride { | |||
| 771 | 807 | } | |
| 772 | 808 | ||
| 773 | 809 | func (c *ParamSpecOverride) GoPointer() uintptr { | |
| 810 | + | if c == nil { | |
| 811 | + | return 0 | |
| 812 | + | } | |
| 774 | 813 | return c.Ptr | |
| 775 | 814 | } | |
| 776 | 815 | ||
| @@ -797,6 +836,9 @@ func ParamSpecParamNewFromInternalPtr(ptr uintptr) *ParamSpecParam { | |||
| 797 | 836 | } | |
| 798 | 837 | ||
| 799 | 838 | func (c *ParamSpecParam) GoPointer() uintptr { | |
| 839 | + | if c == nil { | |
| 840 | + | return 0 | |
| 841 | + | } | |
| 800 | 842 | return c.Ptr | |
| 801 | 843 | } | |
| 802 | 844 | ||
| @@ -822,6 +864,9 @@ func ParamSpecPointerNewFromInternalPtr(ptr uintptr) *ParamSpecPointer { | |||
| 822 | 864 | } | |
| 823 | 865 | ||
| 824 | 866 | func (c *ParamSpecPointer) GoPointer() uintptr { | |
| 867 | + | if c == nil { | |
| 868 | + | return 0 | |
| 869 | + | } | |
| 825 | 870 | return c.Ptr | |
| 826 | 871 | } | |
| 827 | 872 | ||
| @@ -848,6 +893,9 @@ func ParamSpecStringNewFromInternalPtr(ptr uintptr) *ParamSpecString { | |||
| 848 | 893 | } | |
| 849 | 894 | ||
| 850 | 895 | func (c *ParamSpecString) GoPointer() uintptr { | |
| 896 | + | if c == nil { | |
| 897 | + | return 0 | |
| 898 | + | } | |
| 851 | 899 | return c.Ptr | |
| 852 | 900 | } | |
| 853 | 901 | ||
| @@ -873,6 +921,9 @@ func ParamSpecUCharNewFromInternalPtr(ptr uintptr) *ParamSpecUChar { | |||
| 873 | 921 | } | |
| 874 | 922 | ||
| 875 | 923 | func (c *ParamSpecUChar) GoPointer() uintptr { | |
| 924 | + | if c == nil { | |
| 925 | + | return 0 | |
| 926 | + | } | |
| 876 | 927 | return c.Ptr | |
| 877 | 928 | } | |
| 878 | 929 | ||
| @@ -898,6 +949,9 @@ func ParamSpecUIntNewFromInternalPtr(ptr uintptr) *ParamSpecUInt { | |||
| 898 | 949 | } | |
| 899 | 950 | ||
| 900 | 951 | func (c *ParamSpecUInt) GoPointer() uintptr { | |
| 952 | + | if c == nil { | |
| 953 | + | return 0 | |
| 954 | + | } | |
| 901 | 955 | return c.Ptr | |
| 902 | 956 | } | |
| 903 | 957 | ||
| @@ -923,6 +977,9 @@ func ParamSpecUInt64NewFromInternalPtr(ptr uintptr) *ParamSpecUInt64 { | |||
| 923 | 977 | } | |
| 924 | 978 | ||
| 925 | 979 | func (c *ParamSpecUInt64) GoPointer() uintptr { | |
| 980 | + | if c == nil { | |
| 981 | + | return 0 | |
| 982 | + | } | |
| 926 | 983 | return c.Ptr | |
| 927 | 984 | } | |
| 928 | 985 | ||
| @@ -948,6 +1005,9 @@ func ParamSpecULongNewFromInternalPtr(ptr uintptr) *ParamSpecULong { | |||
| 948 | 1005 | } | |
| 949 | 1006 | ||
| 950 | 1007 | func (c *ParamSpecULong) GoPointer() uintptr { | |
| 1008 | + | if c == nil { | |
| 1009 | + | return 0 | |
| 1010 | + | } | |
| 951 | 1011 | return c.Ptr | |
| 952 | 1012 | } | |
| 953 | 1013 | ||
| @@ -973,6 +1033,9 @@ func ParamSpecUnicharNewFromInternalPtr(ptr uintptr) *ParamSpecUnichar { | |||
| 973 | 1033 | } | |
| 974 | 1034 | ||
| 975 | 1035 | func (c *ParamSpecUnichar) GoPointer() uintptr { | |
| 1036 | + | if c == nil { | |
| 1037 | + | return 0 | |
| 1038 | + | } | |
| 976 | 1039 | return c.Ptr | |
| 977 | 1040 | } | |
| 978 | 1041 | ||
| @@ -998,6 +1061,9 @@ func ParamSpecValueArrayNewFromInternalPtr(ptr uintptr) *ParamSpecValueArray { | |||
| 998 | 1061 | } | |
| 999 | 1062 | ||
| 1000 | 1063 | func (c *ParamSpecValueArray) GoPointer() uintptr { | |
| 1064 | + | if c == nil { | |
| 1065 | + | return 0 | |
| 1066 | + | } | |
| 1001 | 1067 | return c.Ptr | |
| 1002 | 1068 | } | |
| 1003 | 1069 | ||
| @@ -1029,6 +1095,9 @@ func ParamSpecVariantNewFromInternalPtr(ptr uintptr) *ParamSpecVariant { | |||
| 1029 | 1095 | } | |
| 1030 | 1096 | ||
| 1031 | 1097 | func (c *ParamSpecVariant) GoPointer() uintptr { | |
| 1098 | + | if c == nil { | |
| 1099 | + | return 0 | |
| 1100 | + | } | |
| 1032 | 1101 | return c.Ptr | |
| 1033 | 1102 | } | |
| 1034 | 1103 | ||
| @@ -459,6 +459,9 @@ func ParamSpecBooleanNewFromInternalPtr(ptr uintptr) *ParamSpecBoolean { | |||||
| 459 | } | 459 | } | ||
| 460 | 460 | ||||
| 461 | func (c *ParamSpecBoolean) GoPointer() uintptr { | 461 | func (c *ParamSpecBoolean) GoPointer() uintptr { | ||
| 462 | + | if c == nil { | |||
| 463 | + | return 0 | |||
| 464 | + | } | |||
| 462 | return c.Ptr | 465 | return c.Ptr | ||
| 463 | } | 466 | } | ||
| 464 | 467 | ||||
| @@ -484,6 +487,9 @@ func ParamSpecBoxedNewFromInternalPtr(ptr uintptr) *ParamSpecBoxed { | |||||
| 484 | } | 487 | } | ||
| 485 | 488 | ||||
| 486 | func (c *ParamSpecBoxed) GoPointer() uintptr { | 489 | func (c *ParamSpecBoxed) GoPointer() uintptr { | ||
| 490 | + | if c == nil { | |||
| 491 | + | return 0 | |||
| 492 | + | } | |||
| 487 | return c.Ptr | 493 | return c.Ptr | ||
| 488 | } | 494 | } | ||
| 489 | 495 | ||||
| @@ -509,6 +515,9 @@ func ParamSpecCharNewFromInternalPtr(ptr uintptr) *ParamSpecChar { | |||||
| 509 | } | 515 | } | ||
| 510 | 516 | ||||
| 511 | func (c *ParamSpecChar) GoPointer() uintptr { | 517 | func (c *ParamSpecChar) GoPointer() uintptr { | ||
| 518 | + | if c == nil { | |||
| 519 | + | return 0 | |||
| 520 | + | } | |||
| 512 | return c.Ptr | 521 | return c.Ptr | ||
| 513 | } | 522 | } | ||
| 514 | 523 | ||||
| @@ -534,6 +543,9 @@ func ParamSpecDoubleNewFromInternalPtr(ptr uintptr) *ParamSpecDouble { | |||||
| 534 | } | 543 | } | ||
| 535 | 544 | ||||
| 536 | func (c *ParamSpecDouble) GoPointer() uintptr { | 545 | func (c *ParamSpecDouble) GoPointer() uintptr { | ||
| 546 | + | if c == nil { | |||
| 547 | + | return 0 | |||
| 548 | + | } | |||
| 537 | return c.Ptr | 549 | return c.Ptr | ||
| 538 | } | 550 | } | ||
| 539 | 551 | ||||
| @@ -560,6 +572,9 @@ func ParamSpecEnumNewFromInternalPtr(ptr uintptr) *ParamSpecEnum { | |||||
| 560 | } | 572 | } | ||
| 561 | 573 | ||||
| 562 | func (c *ParamSpecEnum) GoPointer() uintptr { | 574 | func (c *ParamSpecEnum) GoPointer() uintptr { | ||
| 575 | + | if c == nil { | |||
| 576 | + | return 0 | |||
| 577 | + | } | |||
| 563 | return c.Ptr | 578 | return c.Ptr | ||
| 564 | } | 579 | } | ||
| 565 | 580 | ||||
| @@ -586,6 +601,9 @@ func ParamSpecFlagsNewFromInternalPtr(ptr uintptr) *ParamSpecFlags { | |||||
| 586 | } | 601 | } | ||
| 587 | 602 | ||||
| 588 | func (c *ParamSpecFlags) GoPointer() uintptr { | 603 | func (c *ParamSpecFlags) GoPointer() uintptr { | ||
| 604 | + | if c == nil { | |||
| 605 | + | return 0 | |||
| 606 | + | } | |||
| 589 | return c.Ptr | 607 | return c.Ptr | ||
| 590 | } | 608 | } | ||
| 591 | 609 | ||||
| @@ -611,6 +629,9 @@ func ParamSpecFloatNewFromInternalPtr(ptr uintptr) *ParamSpecFloat { | |||||
| 611 | } | 629 | } | ||
| 612 | 630 | ||||
| 613 | func (c *ParamSpecFloat) GoPointer() uintptr { | 631 | func (c *ParamSpecFloat) GoPointer() uintptr { | ||
| 632 | + | if c == nil { | |||
| 633 | + | return 0 | |||
| 634 | + | } | |||
| 614 | return c.Ptr | 635 | return c.Ptr | ||
| 615 | } | 636 | } | ||
| 616 | 637 | ||||
| @@ -636,6 +657,9 @@ func ParamSpecGTypeNewFromInternalPtr(ptr uintptr) *ParamSpecGType { | |||||
| 636 | } | 657 | } | ||
| 637 | 658 | ||||
| 638 | func (c *ParamSpecGType) GoPointer() uintptr { | 659 | func (c *ParamSpecGType) GoPointer() uintptr { | ||
| 660 | + | if c == nil { | |||
| 661 | + | return 0 | |||
| 662 | + | } | |||
| 639 | return c.Ptr | 663 | return c.Ptr | ||
| 640 | } | 664 | } | ||
| 641 | 665 | ||||
| @@ -661,6 +685,9 @@ func ParamSpecIntNewFromInternalPtr(ptr uintptr) *ParamSpecInt { | |||||
| 661 | } | 685 | } | ||
| 662 | 686 | ||||
| 663 | func (c *ParamSpecInt) GoPointer() uintptr { | 687 | func (c *ParamSpecInt) GoPointer() uintptr { | ||
| 688 | + | if c == nil { | |||
| 689 | + | return 0 | |||
| 690 | + | } | |||
| 664 | return c.Ptr | 691 | return c.Ptr | ||
| 665 | } | 692 | } | ||
| 666 | 693 | ||||
| @@ -686,6 +713,9 @@ func ParamSpecInt64NewFromInternalPtr(ptr uintptr) *ParamSpecInt64 { | |||||
| 686 | } | 713 | } | ||
| 687 | 714 | ||||
| 688 | func (c *ParamSpecInt64) GoPointer() uintptr { | 715 | func (c *ParamSpecInt64) GoPointer() uintptr { | ||
| 716 | + | if c == nil { | |||
| 717 | + | return 0 | |||
| 718 | + | } | |||
| 689 | return c.Ptr | 719 | return c.Ptr | ||
| 690 | } | 720 | } | ||
| 691 | 721 | ||||
| @@ -711,6 +741,9 @@ func ParamSpecLongNewFromInternalPtr(ptr uintptr) *ParamSpecLong { | |||||
| 711 | } | 741 | } | ||
| 712 | 742 | ||||
| 713 | func (c *ParamSpecLong) GoPointer() uintptr { | 743 | func (c *ParamSpecLong) GoPointer() uintptr { | ||
| 744 | + | if c == nil { | |||
| 745 | + | return 0 | |||
| 746 | + | } | |||
| 714 | return c.Ptr | 747 | return c.Ptr | ||
| 715 | } | 748 | } | ||
| 716 | 749 | ||||
| @@ -736,6 +769,9 @@ func ParamSpecObjectNewFromInternalPtr(ptr uintptr) *ParamSpecObject { | |||||
| 736 | } | 769 | } | ||
| 737 | 770 | ||||
| 738 | func (c *ParamSpecObject) GoPointer() uintptr { | 771 | func (c *ParamSpecObject) GoPointer() uintptr { | ||
| 772 | + | if c == nil { | |||
| 773 | + | return 0 | |||
| 774 | + | } | |||
| 739 | return c.Ptr | 775 | return c.Ptr | ||
| 740 | } | 776 | } | ||
| 741 | 777 | ||||
| @@ -771,6 +807,9 @@ func ParamSpecOverrideNewFromInternalPtr(ptr uintptr) *ParamSpecOverride { | |||||
| 771 | } | 807 | } | ||
| 772 | 808 | ||||
| 773 | func (c *ParamSpecOverride) GoPointer() uintptr { | 809 | func (c *ParamSpecOverride) GoPointer() uintptr { | ||
| 810 | + | if c == nil { | |||
| 811 | + | return 0 | |||
| 812 | + | } | |||
| 774 | return c.Ptr | 813 | return c.Ptr | ||
| 775 | } | 814 | } | ||
| 776 | 815 | ||||
| @@ -797,6 +836,9 @@ func ParamSpecParamNewFromInternalPtr(ptr uintptr) *ParamSpecParam { | |||||
| 797 | } | 836 | } | ||
| 798 | 837 | ||||
| 799 | func (c *ParamSpecParam) GoPointer() uintptr { | 838 | func (c *ParamSpecParam) GoPointer() uintptr { | ||
| 839 | + | if c == nil { | |||
| 840 | + | return 0 | |||
| 841 | + | } | |||
| 800 | return c.Ptr | 842 | return c.Ptr | ||
| 801 | } | 843 | } | ||
| 802 | 844 | ||||
| @@ -822,6 +864,9 @@ func ParamSpecPointerNewFromInternalPtr(ptr uintptr) *ParamSpecPointer { | |||||
| 822 | } | 864 | } | ||
| 823 | 865 | ||||
| 824 | func (c *ParamSpecPointer) GoPointer() uintptr { | 866 | func (c *ParamSpecPointer) GoPointer() uintptr { | ||
| 867 | + | if c == nil { | |||
| 868 | + | return 0 | |||
| 869 | + | } | |||
| 825 | return c.Ptr | 870 | return c.Ptr | ||
| 826 | } | 871 | } | ||
| 827 | 872 | ||||
| @@ -848,6 +893,9 @@ func ParamSpecStringNewFromInternalPtr(ptr uintptr) *ParamSpecString { | |||||
| 848 | } | 893 | } | ||
| 849 | 894 | ||||
| 850 | func (c *ParamSpecString) GoPointer() uintptr { | 895 | func (c *ParamSpecString) GoPointer() uintptr { | ||
| 896 | + | if c == nil { | |||
| 897 | + | return 0 | |||
| 898 | + | } | |||
| 851 | return c.Ptr | 899 | return c.Ptr | ||
| 852 | } | 900 | } | ||
| 853 | 901 | ||||
| @@ -873,6 +921,9 @@ func ParamSpecUCharNewFromInternalPtr(ptr uintptr) *ParamSpecUChar { | |||||
| 873 | } | 921 | } | ||
| 874 | 922 | ||||
| 875 | func (c *ParamSpecUChar) GoPointer() uintptr { | 923 | func (c *ParamSpecUChar) GoPointer() uintptr { | ||
| 924 | + | if c == nil { | |||
| 925 | + | return 0 | |||
| 926 | + | } | |||
| 876 | return c.Ptr | 927 | return c.Ptr | ||
| 877 | } | 928 | } | ||
| 878 | 929 | ||||
| @@ -898,6 +949,9 @@ func ParamSpecUIntNewFromInternalPtr(ptr uintptr) *ParamSpecUInt { | |||||
| 898 | } | 949 | } | ||
| 899 | 950 | ||||
| 900 | func (c *ParamSpecUInt) GoPointer() uintptr { | 951 | func (c *ParamSpecUInt) GoPointer() uintptr { | ||
| 952 | + | if c == nil { | |||
| 953 | + | return 0 | |||
| 954 | + | } | |||
| 901 | return c.Ptr | 955 | return c.Ptr | ||
| 902 | } | 956 | } | ||
| 903 | 957 | ||||
| @@ -923,6 +977,9 @@ func ParamSpecUInt64NewFromInternalPtr(ptr uintptr) *ParamSpecUInt64 { | |||||
| 923 | } | 977 | } | ||
| 924 | 978 | ||||
| 925 | func (c *ParamSpecUInt64) GoPointer() uintptr { | 979 | func (c *ParamSpecUInt64) GoPointer() uintptr { | ||
| 980 | + | if c == nil { | |||
| 981 | + | return 0 | |||
| 982 | + | } | |||
| 926 | return c.Ptr | 983 | return c.Ptr | ||
| 927 | } | 984 | } | ||
| 928 | 985 | ||||
| @@ -948,6 +1005,9 @@ func ParamSpecULongNewFromInternalPtr(ptr uintptr) *ParamSpecULong { | |||||
| 948 | } | 1005 | } | ||
| 949 | 1006 | ||||
| 950 | func (c *ParamSpecULong) GoPointer() uintptr { | 1007 | func (c *ParamSpecULong) GoPointer() uintptr { | ||
| 1008 | + | if c == nil { | |||
| 1009 | + | return 0 | |||
| 1010 | + | } | |||
| 951 | return c.Ptr | 1011 | return c.Ptr | ||
| 952 | } | 1012 | } | ||
| 953 | 1013 | ||||
| @@ -973,6 +1033,9 @@ func ParamSpecUnicharNewFromInternalPtr(ptr uintptr) *ParamSpecUnichar { | |||||
| 973 | } | 1033 | } | ||
| 974 | 1034 | ||||
| 975 | func (c *ParamSpecUnichar) GoPointer() uintptr { | 1035 | func (c *ParamSpecUnichar) GoPointer() uintptr { | ||
| 1036 | + | if c == nil { | |||
| 1037 | + | return 0 | |||
| 1038 | + | } | |||
| 976 | return c.Ptr | 1039 | return c.Ptr | ||
| 977 | } | 1040 | } | ||
| 978 | 1041 | ||||
| @@ -998,6 +1061,9 @@ func ParamSpecValueArrayNewFromInternalPtr(ptr uintptr) *ParamSpecValueArray { | |||||
| 998 | } | 1061 | } | ||
| 999 | 1062 | ||||
| 1000 | func (c *ParamSpecValueArray) GoPointer() uintptr { | 1063 | func (c *ParamSpecValueArray) GoPointer() uintptr { | ||
| 1064 | + | if c == nil { | |||
| 1065 | + | return 0 | |||
| 1066 | + | } | |||
| 1001 | return c.Ptr | 1067 | return c.Ptr | ||
| 1002 | } | 1068 | } | ||
| 1003 | 1069 | ||||
| @@ -1029,6 +1095,9 @@ func ParamSpecVariantNewFromInternalPtr(ptr uintptr) *ParamSpecVariant { | |||||
| 1029 | } | 1095 | } | ||
| 1030 | 1096 | ||||
| 1031 | func (c *ParamSpecVariant) GoPointer() uintptr { | 1097 | func (c *ParamSpecVariant) GoPointer() uintptr { | ||
| 1098 | + | if c == nil { | |||
| 1099 | + | return 0 | |||
| 1100 | + | } | |||
| 1032 | return c.Ptr | 1101 | return c.Ptr | ||
| 1033 | } | 1102 | } | ||
| 1034 | 1103 | ||||
M v4/gobject/gtypemodule.go +3 -0
| @@ -178,6 +178,9 @@ func (x *TypeModule) Use() bool { | |||
| 178 | 178 | } | |
| 179 | 179 | ||
| 180 | 180 | func (c *TypeModule) GoPointer() uintptr { | |
| 181 | + | if c == nil { | |
| 182 | + | return 0 | |
| 183 | + | } | |
| 181 | 184 | return c.Ptr | |
| 182 | 185 | } | |
| 183 | 186 | ||
| @@ -178,6 +178,9 @@ func (x *TypeModule) Use() bool { | |||||
| 178 | } | 178 | } | ||
| 179 | 179 | ||||
| 180 | func (c *TypeModule) GoPointer() uintptr { | 180 | func (c *TypeModule) GoPointer() uintptr { | ||
| 181 | + | if c == nil { | |||
| 182 | + | return 0 | |||
| 183 | + | } | |||
| 181 | return c.Ptr | 184 | return c.Ptr | ||
| 182 | } | 185 | } | ||
| 183 | 186 | ||||
M v4/gsk/gskbroadwayrenderer.go +3 -0
| @@ -58,6 +58,9 @@ func NewBroadwayRenderer() *BroadwayRenderer { | |||
| 58 | 58 | } | |
| 59 | 59 | ||
| 60 | 60 | func (c *BroadwayRenderer) GoPointer() uintptr { | |
| 61 | + | if c == nil { | |
| 62 | + | return 0 | |
| 63 | + | } | |
| 61 | 64 | return c.Ptr | |
| 62 | 65 | } | |
| 63 | 66 | ||
| @@ -58,6 +58,9 @@ func NewBroadwayRenderer() *BroadwayRenderer { | |||||
| 58 | } | 58 | } | ||
| 59 | 59 | ||||
| 60 | func (c *BroadwayRenderer) GoPointer() uintptr { | 60 | func (c *BroadwayRenderer) GoPointer() uintptr { | ||
| 61 | + | if c == nil { | |||
| 62 | + | return 0 | |||
| 63 | + | } | |||
| 61 | return c.Ptr | 64 | return c.Ptr | ||
| 62 | } | 65 | } | ||
| 63 | 66 | ||||
M v4/gsk/gskcairorenderer.go +3 -0
| @@ -62,6 +62,9 @@ func NewCairoRenderer() *CairoRenderer { | |||
| 62 | 62 | } | |
| 63 | 63 | ||
| 64 | 64 | func (c *CairoRenderer) GoPointer() uintptr { | |
| 65 | + | if c == nil { | |
| 66 | + | return 0 | |
| 67 | + | } | |
| 65 | 68 | return c.Ptr | |
| 66 | 69 | } | |
| 67 | 70 | ||
| @@ -62,6 +62,9 @@ func NewCairoRenderer() *CairoRenderer { | |||||
| 62 | } | 62 | } | ||
| 63 | 63 | ||||
| 64 | func (c *CairoRenderer) GoPointer() uintptr { | 64 | func (c *CairoRenderer) GoPointer() uintptr { | ||
| 65 | + | if c == nil { | |||
| 66 | + | return 0 | |||
| 67 | + | } | |||
| 65 | return c.Ptr | 68 | return c.Ptr | ||
| 66 | } | 69 | } | ||
| 67 | 70 | ||||
M v4/gsk/gskglrenderer.go +3 -0
| @@ -51,6 +51,9 @@ func NewGLRenderer() *GLRenderer { | |||
| 51 | 51 | } | |
| 52 | 52 | ||
| 53 | 53 | func (c *GLRenderer) GoPointer() uintptr { | |
| 54 | + | if c == nil { | |
| 55 | + | return 0 | |
| 56 | + | } | |
| 54 | 57 | return c.Ptr | |
| 55 | 58 | } | |
| 56 | 59 | ||
| @@ -51,6 +51,9 @@ func NewGLRenderer() *GLRenderer { | |||||
| 51 | } | 51 | } | ||
| 52 | 52 | ||||
| 53 | func (c *GLRenderer) GoPointer() uintptr { | 53 | func (c *GLRenderer) GoPointer() uintptr { | ||
| 54 | + | if c == nil { | |||
| 55 | + | return 0 | |||
| 56 | + | } | |||
| 54 | return c.Ptr | 57 | return c.Ptr | ||
| 55 | } | 58 | } | ||
| 56 | 59 | ||||
M v4/gsk/gskglshader.go +3 -0
| @@ -568,6 +568,9 @@ func (x *GLShader) GetUniformType(IdxVar int) GLUniformType { | |||
| 568 | 568 | } | |
| 569 | 569 | ||
| 570 | 570 | func (c *GLShader) GoPointer() uintptr { | |
| 571 | + | if c == nil { | |
| 572 | + | return 0 | |
| 573 | + | } | |
| 571 | 574 | return c.Ptr | |
| 572 | 575 | } | |
| 573 | 576 | ||
| @@ -568,6 +568,9 @@ func (x *GLShader) GetUniformType(IdxVar int) GLUniformType { | |||||
| 568 | } | 568 | } | ||
| 569 | 569 | ||||
| 570 | func (c *GLShader) GoPointer() uintptr { | 570 | func (c *GLShader) GoPointer() uintptr { | ||
| 571 | + | if c == nil { | |||
| 572 | + | return 0 | |||
| 573 | + | } | |||
| 571 | return c.Ptr | 574 | return c.Ptr | ||
| 572 | } | 575 | } | ||
| 573 | 576 | ||||
M v4/gsk/gskrenderer.go +3 -0
| @@ -174,6 +174,9 @@ func (x *Renderer) Unrealize() { | |||
| 174 | 174 | } | |
| 175 | 175 | ||
| 176 | 176 | func (c *Renderer) GoPointer() uintptr { | |
| 177 | + | if c == nil { | |
| 178 | + | return 0 | |
| 179 | + | } | |
| 177 | 180 | return c.Ptr | |
| 178 | 181 | } | |
| 179 | 182 | ||
| @@ -174,6 +174,9 @@ func (x *Renderer) Unrealize() { | |||||
| 174 | } | 174 | } | ||
| 175 | 175 | ||||
| 176 | func (c *Renderer) GoPointer() uintptr { | 176 | func (c *Renderer) GoPointer() uintptr { | ||
| 177 | + | if c == nil { | |||
| 178 | + | return 0 | |||
| 179 | + | } | |||
| 177 | return c.Ptr | 180 | return c.Ptr | ||
| 178 | } | 181 | } | ||
| 179 | 182 | ||||
M v4/gsk/gskrendernode.go +3 -0
| @@ -254,6 +254,9 @@ func (x *RenderNode) WriteToFile(FilenameVar string) (bool, error) { | |||
| 254 | 254 | } | |
| 255 | 255 | ||
| 256 | 256 | func (c *RenderNode) GoPointer() uintptr { | |
| 257 | + | if c == nil { | |
| 258 | + | return 0 | |
| 259 | + | } | |
| 257 | 260 | return c.Ptr | |
| 258 | 261 | } | |
| 259 | 262 | ||
| @@ -254,6 +254,9 @@ func (x *RenderNode) WriteToFile(FilenameVar string) (bool, error) { | |||||
| 254 | } | 254 | } | ||
| 255 | 255 | ||||
| 256 | func (c *RenderNode) GoPointer() uintptr { | 256 | func (c *RenderNode) GoPointer() uintptr { | ||
| 257 | + | if c == nil { | |||
| 258 | + | return 0 | |||
| 259 | + | } | |||
| 257 | return c.Ptr | 260 | return c.Ptr | ||
| 258 | } | 261 | } | ||
| 259 | 262 | ||||
M v4/gsk/gskrendernodeimpl.go +75 -0
| @@ -91,6 +91,9 @@ func (x *BlendNode) GetTopChild() *RenderNode { | |||
| 91 | 91 | } | |
| 92 | 92 | ||
| 93 | 93 | func (c *BlendNode) GoPointer() uintptr { | |
| 94 | + | if c == nil { | |
| 95 | + | return 0 | |
| 96 | + | } | |
| 94 | 97 | return c.Ptr | |
| 95 | 98 | } | |
| 96 | 99 | ||
| @@ -158,6 +161,9 @@ func (x *BlurNode) GetRadius() float32 { | |||
| 158 | 161 | } | |
| 159 | 162 | ||
| 160 | 163 | func (c *BlurNode) GoPointer() uintptr { | |
| 164 | + | if c == nil { | |
| 165 | + | return 0 | |
| 166 | + | } | |
| 161 | 167 | return c.Ptr | |
| 162 | 168 | } | |
| 163 | 169 | ||
| @@ -229,6 +235,9 @@ func (x *BorderNode) GetWidths() [4]float32 { | |||
| 229 | 235 | } | |
| 230 | 236 | ||
| 231 | 237 | func (c *BorderNode) GoPointer() uintptr { | |
| 238 | + | if c == nil { | |
| 239 | + | return 0 | |
| 240 | + | } | |
| 232 | 241 | return c.Ptr | |
| 233 | 242 | } | |
| 234 | 243 | ||
| @@ -295,6 +304,9 @@ func (x *CairoNode) GetSurface() *cairo.Surface { | |||
| 295 | 304 | } | |
| 296 | 305 | ||
| 297 | 306 | func (c *CairoNode) GoPointer() uintptr { | |
| 307 | + | if c == nil { | |
| 308 | + | return 0 | |
| 309 | + | } | |
| 298 | 310 | return c.Ptr | |
| 299 | 311 | } | |
| 300 | 312 | ||
| @@ -363,6 +375,9 @@ func (x *ClipNode) GetClip() *graphene.Rect { | |||
| 363 | 375 | } | |
| 364 | 376 | ||
| 365 | 377 | func (c *ClipNode) GoPointer() uintptr { | |
| 378 | + | if c == nil { | |
| 379 | + | return 0 | |
| 380 | + | } | |
| 366 | 381 | return c.Ptr | |
| 367 | 382 | } | |
| 368 | 383 | ||
| @@ -446,6 +461,9 @@ func (x *ColorMatrixNode) GetColorOffset() *graphene.Vec4 { | |||
| 446 | 461 | } | |
| 447 | 462 | ||
| 448 | 463 | func (c *ColorMatrixNode) GoPointer() uintptr { | |
| 464 | + | if c == nil { | |
| 465 | + | return 0 | |
| 466 | + | } | |
| 449 | 467 | return c.Ptr | |
| 450 | 468 | } | |
| 451 | 469 | ||
| @@ -497,6 +515,9 @@ func (x *ColorNode) GetColor() *gdk.RGBA { | |||
| 497 | 515 | } | |
| 498 | 516 | ||
| 499 | 517 | func (c *ColorNode) GoPointer() uintptr { | |
| 518 | + | if c == nil { | |
| 519 | + | return 0 | |
| 520 | + | } | |
| 500 | 521 | return c.Ptr | |
| 501 | 522 | } | |
| 502 | 523 | ||
| @@ -592,6 +613,9 @@ func (x *ConicGradientNode) GetRotation() float32 { | |||
| 592 | 613 | } | |
| 593 | 614 | ||
| 594 | 615 | func (c *ConicGradientNode) GoPointer() uintptr { | |
| 616 | + | if c == nil { | |
| 617 | + | return 0 | |
| 618 | + | } | |
| 595 | 619 | return c.Ptr | |
| 596 | 620 | } | |
| 597 | 621 | ||
| @@ -661,6 +685,9 @@ func (x *ContainerNode) GetNChildren() uint { | |||
| 661 | 685 | } | |
| 662 | 686 | ||
| 663 | 687 | func (c *ContainerNode) GoPointer() uintptr { | |
| 688 | + | if c == nil { | |
| 689 | + | return 0 | |
| 690 | + | } | |
| 664 | 691 | return c.Ptr | |
| 665 | 692 | } | |
| 666 | 693 | ||
| @@ -745,6 +772,9 @@ func (x *CrossFadeNode) GetStartChild() *RenderNode { | |||
| 745 | 772 | } | |
| 746 | 773 | ||
| 747 | 774 | func (c *CrossFadeNode) GoPointer() uintptr { | |
| 775 | + | if c == nil { | |
| 776 | + | return 0 | |
| 777 | + | } | |
| 748 | 778 | return c.Ptr | |
| 749 | 779 | } | |
| 750 | 780 | ||
| @@ -816,6 +846,9 @@ func (x *DebugNode) GetMessage() string { | |||
| 816 | 846 | } | |
| 817 | 847 | ||
| 818 | 848 | func (c *DebugNode) GoPointer() uintptr { | |
| 849 | + | if c == nil { | |
| 850 | + | return 0 | |
| 851 | + | } | |
| 819 | 852 | return c.Ptr | |
| 820 | 853 | } | |
| 821 | 854 | ||
| @@ -925,6 +958,9 @@ func (x *GLShaderNode) GetShader() *GLShader { | |||
| 925 | 958 | } | |
| 926 | 959 | ||
| 927 | 960 | func (c *GLShaderNode) GoPointer() uintptr { | |
| 961 | + | if c == nil { | |
| 962 | + | return 0 | |
| 963 | + | } | |
| 928 | 964 | return c.Ptr | |
| 929 | 965 | } | |
| 930 | 966 | ||
| @@ -1021,6 +1057,9 @@ func (x *InsetShadowNode) GetSpread() float32 { | |||
| 1021 | 1057 | } | |
| 1022 | 1058 | ||
| 1023 | 1059 | func (c *InsetShadowNode) GoPointer() uintptr { | |
| 1060 | + | if c == nil { | |
| 1061 | + | return 0 | |
| 1062 | + | } | |
| 1024 | 1063 | return c.Ptr | |
| 1025 | 1064 | } | |
| 1026 | 1065 | ||
| @@ -1099,6 +1138,9 @@ func (x *LinearGradientNode) GetStart() *graphene.Point { | |||
| 1099 | 1138 | } | |
| 1100 | 1139 | ||
| 1101 | 1140 | func (c *LinearGradientNode) GoPointer() uintptr { | |
| 1141 | + | if c == nil { | |
| 1142 | + | return 0 | |
| 1143 | + | } | |
| 1102 | 1144 | return c.Ptr | |
| 1103 | 1145 | } | |
| 1104 | 1146 | ||
| @@ -1167,6 +1209,9 @@ func (x *OpacityNode) GetOpacity() float32 { | |||
| 1167 | 1209 | } | |
| 1168 | 1210 | ||
| 1169 | 1211 | func (c *OpacityNode) GoPointer() uintptr { | |
| 1212 | + | if c == nil { | |
| 1213 | + | return 0 | |
| 1214 | + | } | |
| 1170 | 1215 | return c.Ptr | |
| 1171 | 1216 | } | |
| 1172 | 1217 | ||
| @@ -1263,6 +1308,9 @@ func (x *OutsetShadowNode) GetSpread() float32 { | |||
| 1263 | 1308 | } | |
| 1264 | 1309 | ||
| 1265 | 1310 | func (c *OutsetShadowNode) GoPointer() uintptr { | |
| 1311 | + | if c == nil { | |
| 1312 | + | return 0 | |
| 1313 | + | } | |
| 1266 | 1314 | return c.Ptr | |
| 1267 | 1315 | } | |
| 1268 | 1316 | ||
| @@ -1371,6 +1419,9 @@ func (x *RadialGradientNode) GetVradius() float32 { | |||
| 1371 | 1419 | } | |
| 1372 | 1420 | ||
| 1373 | 1421 | func (c *RadialGradientNode) GoPointer() uintptr { | |
| 1422 | + | if c == nil { | |
| 1423 | + | return 0 | |
| 1424 | + | } | |
| 1374 | 1425 | return c.Ptr | |
| 1375 | 1426 | } | |
| 1376 | 1427 | ||
| @@ -1439,6 +1490,9 @@ func (x *RepeatNode) GetChildBounds() *graphene.Rect { | |||
| 1439 | 1490 | } | |
| 1440 | 1491 | ||
| 1441 | 1492 | func (c *RepeatNode) GoPointer() uintptr { | |
| 1493 | + | if c == nil { | |
| 1494 | + | return 0 | |
| 1495 | + | } | |
| 1442 | 1496 | return c.Ptr | |
| 1443 | 1497 | } | |
| 1444 | 1498 | ||
| @@ -1482,6 +1536,9 @@ func NewRepeatingLinearGradientNode(BoundsVar *graphene.Rect, StartVar *graphene | |||
| 1482 | 1536 | } | |
| 1483 | 1537 | ||
| 1484 | 1538 | func (c *RepeatingLinearGradientNode) GoPointer() uintptr { | |
| 1539 | + | if c == nil { | |
| 1540 | + | return 0 | |
| 1541 | + | } | |
| 1485 | 1542 | return c.Ptr | |
| 1486 | 1543 | } | |
| 1487 | 1544 | ||
| @@ -1527,6 +1584,9 @@ func NewRepeatingRadialGradientNode(BoundsVar *graphene.Rect, CenterVar *graphen | |||
| 1527 | 1584 | } | |
| 1528 | 1585 | ||
| 1529 | 1586 | func (c *RepeatingRadialGradientNode) GoPointer() uintptr { | |
| 1587 | + | if c == nil { | |
| 1588 | + | return 0 | |
| 1589 | + | } | |
| 1530 | 1590 | return c.Ptr | |
| 1531 | 1591 | } | |
| 1532 | 1592 | ||
| @@ -1595,6 +1655,9 @@ func (x *RoundedClipNode) GetClip() *RoundedRect { | |||
| 1595 | 1655 | } | |
| 1596 | 1656 | ||
| 1597 | 1657 | func (c *RoundedClipNode) GoPointer() uintptr { | |
| 1658 | + | if c == nil { | |
| 1659 | + | return 0 | |
| 1660 | + | } | |
| 1598 | 1661 | return c.Ptr | |
| 1599 | 1662 | } | |
| 1600 | 1663 | ||
| @@ -1672,6 +1735,9 @@ func (x *ShadowNode) GetShadow(IVar uint) *Shadow { | |||
| 1672 | 1735 | } | |
| 1673 | 1736 | ||
| 1674 | 1737 | func (c *ShadowNode) GoPointer() uintptr { | |
| 1738 | + | if c == nil { | |
| 1739 | + | return 0 | |
| 1740 | + | } | |
| 1675 | 1741 | return c.Ptr | |
| 1676 | 1742 | } | |
| 1677 | 1743 | ||
| @@ -1778,6 +1844,9 @@ func (x *TextNode) HasColorGlyphs() bool { | |||
| 1778 | 1844 | } | |
| 1779 | 1845 | ||
| 1780 | 1846 | func (c *TextNode) GoPointer() uintptr { | |
| 1847 | + | if c == nil { | |
| 1848 | + | return 0 | |
| 1849 | + | } | |
| 1781 | 1850 | return c.Ptr | |
| 1782 | 1851 | } | |
| 1783 | 1852 | ||
| @@ -1837,6 +1906,9 @@ func (x *TextureNode) GetTexture() *gdk.Texture { | |||
| 1837 | 1906 | } | |
| 1838 | 1907 | ||
| 1839 | 1908 | func (c *TextureNode) GoPointer() uintptr { | |
| 1909 | + | if c == nil { | |
| 1910 | + | return 0 | |
| 1911 | + | } | |
| 1840 | 1912 | return c.Ptr | |
| 1841 | 1913 | } | |
| 1842 | 1914 | ||
| @@ -1905,6 +1977,9 @@ func (x *TransformNode) GetTransform() *Transform { | |||
| 1905 | 1977 | } | |
| 1906 | 1978 | ||
| 1907 | 1979 | func (c *TransformNode) GoPointer() uintptr { | |
| 1980 | + | if c == nil { | |
| 1981 | + | return 0 | |
| 1982 | + | } | |
| 1908 | 1983 | return c.Ptr | |
| 1909 | 1984 | } | |
| 1910 | 1985 | ||
| @@ -91,6 +91,9 @@ func (x *BlendNode) GetTopChild() *RenderNode { | |||||
| 91 | } | 91 | } | ||
| 92 | 92 | ||||
| 93 | func (c *BlendNode) GoPointer() uintptr { | 93 | func (c *BlendNode) GoPointer() uintptr { | ||
| 94 | + | if c == nil { | |||
| 95 | + | return 0 | |||
| 96 | + | } | |||
| 94 | return c.Ptr | 97 | return c.Ptr | ||
| 95 | } | 98 | } | ||
| 96 | 99 | ||||
| @@ -158,6 +161,9 @@ func (x *BlurNode) GetRadius() float32 { | |||||
| 158 | } | 161 | } | ||
| 159 | 162 | ||||
| 160 | func (c *BlurNode) GoPointer() uintptr { | 163 | func (c *BlurNode) GoPointer() uintptr { | ||
| 164 | + | if c == nil { | |||
| 165 | + | return 0 | |||
| 166 | + | } | |||
| 161 | return c.Ptr | 167 | return c.Ptr | ||
| 162 | } | 168 | } | ||
| 163 | 169 | ||||
| @@ -229,6 +235,9 @@ func (x *BorderNode) GetWidths() [4]float32 { | |||||
| 229 | } | 235 | } | ||
| 230 | 236 | ||||
| 231 | func (c *BorderNode) GoPointer() uintptr { | 237 | func (c *BorderNode) GoPointer() uintptr { | ||
| 238 | + | if c == nil { | |||
| 239 | + | return 0 | |||
| 240 | + | } | |||
| 232 | return c.Ptr | 241 | return c.Ptr | ||
| 233 | } | 242 | } | ||
| 234 | 243 | ||||
| @@ -295,6 +304,9 @@ func (x *CairoNode) GetSurface() *cairo.Surface { | |||||
| 295 | } | 304 | } | ||
| 296 | 305 | ||||
| 297 | func (c *CairoNode) GoPointer() uintptr { | 306 | func (c *CairoNode) GoPointer() uintptr { | ||
| 307 | + | if c == nil { | |||
| 308 | + | return 0 | |||
| 309 | + | } | |||
| 298 | return c.Ptr | 310 | return c.Ptr | ||
| 299 | } | 311 | } | ||
| 300 | 312 | ||||
| @@ -363,6 +375,9 @@ func (x *ClipNode) GetClip() *graphene.Rect { | |||||
| 363 | } | 375 | } | ||
| 364 | 376 | ||||
| 365 | func (c *ClipNode) GoPointer() uintptr { | 377 | func (c *ClipNode) GoPointer() uintptr { | ||
| 378 | + | if c == nil { | |||
| 379 | + | return 0 | |||
| 380 | + | } | |||
| 366 | return c.Ptr | 381 | return c.Ptr | ||
| 367 | } | 382 | } | ||
| 368 | 383 | ||||
| @@ -446,6 +461,9 @@ func (x *ColorMatrixNode) GetColorOffset() *graphene.Vec4 { | |||||
| 446 | } | 461 | } | ||
| 447 | 462 | ||||
| 448 | func (c *ColorMatrixNode) GoPointer() uintptr { | 463 | func (c *ColorMatrixNode) GoPointer() uintptr { | ||
| 464 | + | if c == nil { | |||
| 465 | + | return 0 | |||
| 466 | + | } | |||
| 449 | return c.Ptr | 467 | return c.Ptr | ||
| 450 | } | 468 | } | ||
| 451 | 469 | ||||
| @@ -497,6 +515,9 @@ func (x *ColorNode) GetColor() *gdk.RGBA { | |||||
| 497 | } | 515 | } | ||
| 498 | 516 | ||||
| 499 | func (c *ColorNode) GoPointer() uintptr { | 517 | func (c *ColorNode) GoPointer() uintptr { | ||
| 518 | + | if c == nil { | |||
| 519 | + | return 0 | |||
| 520 | + | } | |||
| 500 | return c.Ptr | 521 | return c.Ptr | ||
| 501 | } | 522 | } | ||
| 502 | 523 | ||||
| @@ -592,6 +613,9 @@ func (x *ConicGradientNode) GetRotation() float32 { | |||||
| 592 | } | 613 | } | ||
| 593 | 614 | ||||
| 594 | func (c *ConicGradientNode) GoPointer() uintptr { | 615 | func (c *ConicGradientNode) GoPointer() uintptr { | ||
| 616 | + | if c == nil { | |||
| 617 | + | return 0 | |||
| 618 | + | } | |||
| 595 | return c.Ptr | 619 | return c.Ptr | ||
| 596 | } | 620 | } | ||
| 597 | 621 | ||||
| @@ -661,6 +685,9 @@ func (x *ContainerNode) GetNChildren() uint { | |||||
| 661 | } | 685 | } | ||
| 662 | 686 | ||||
| 663 | func (c *ContainerNode) GoPointer() uintptr { | 687 | func (c *ContainerNode) GoPointer() uintptr { | ||
| 688 | + | if c == nil { | |||
| 689 | + | return 0 | |||
| 690 | + | } | |||
| 664 | return c.Ptr | 691 | return c.Ptr | ||
| 665 | } | 692 | } | ||
| 666 | 693 | ||||
| @@ -745,6 +772,9 @@ func (x *CrossFadeNode) GetStartChild() *RenderNode { | |||||
| 745 | } | 772 | } | ||
| 746 | 773 | ||||
| 747 | func (c *CrossFadeNode) GoPointer() uintptr { | 774 | func (c *CrossFadeNode) GoPointer() uintptr { | ||
| 775 | + | if c == nil { | |||
| 776 | + | return 0 | |||
| 777 | + | } | |||
| 748 | return c.Ptr | 778 | return c.Ptr | ||
| 749 | } | 779 | } | ||
| 750 | 780 | ||||
| @@ -816,6 +846,9 @@ func (x *DebugNode) GetMessage() string { | |||||
| 816 | } | 846 | } | ||
| 817 | 847 | ||||
| 818 | func (c *DebugNode) GoPointer() uintptr { | 848 | func (c *DebugNode) GoPointer() uintptr { | ||
| 849 | + | if c == nil { | |||
| 850 | + | return 0 | |||
| 851 | + | } | |||
| 819 | return c.Ptr | 852 | return c.Ptr | ||
| 820 | } | 853 | } | ||
| 821 | 854 | ||||
| @@ -925,6 +958,9 @@ func (x *GLShaderNode) GetShader() *GLShader { | |||||
| 925 | } | 958 | } | ||
| 926 | 959 | ||||
| 927 | func (c *GLShaderNode) GoPointer() uintptr { | 960 | func (c *GLShaderNode) GoPointer() uintptr { | ||
| 961 | + | if c == nil { | |||
| 962 | + | return 0 | |||
| 963 | + | } | |||
| 928 | return c.Ptr | 964 | return c.Ptr | ||
| 929 | } | 965 | } | ||
| 930 | 966 | ||||
| @@ -1021,6 +1057,9 @@ func (x *InsetShadowNode) GetSpread() float32 { | |||||
| 1021 | } | 1057 | } | ||
| 1022 | 1058 | ||||
| 1023 | func (c *InsetShadowNode) GoPointer() uintptr { | 1059 | func (c *InsetShadowNode) GoPointer() uintptr { | ||
| 1060 | + | if c == nil { | |||
| 1061 | + | return 0 | |||
| 1062 | + | } | |||
| 1024 | return c.Ptr | 1063 | return c.Ptr | ||
| 1025 | } | 1064 | } | ||
| 1026 | 1065 | ||||
| @@ -1099,6 +1138,9 @@ func (x *LinearGradientNode) GetStart() *graphene.Point { | |||||
| 1099 | } | 1138 | } | ||
| 1100 | 1139 | ||||
| 1101 | func (c *LinearGradientNode) GoPointer() uintptr { | 1140 | func (c *LinearGradientNode) GoPointer() uintptr { | ||
| 1141 | + | if c == nil { | |||
| 1142 | + | return 0 | |||
| 1143 | + | } | |||
| 1102 | return c.Ptr | 1144 | return c.Ptr | ||
| 1103 | } | 1145 | } | ||
| 1104 | 1146 | ||||
| @@ -1167,6 +1209,9 @@ func (x *OpacityNode) GetOpacity() float32 { | |||||
| 1167 | } | 1209 | } | ||
| 1168 | 1210 | ||||
| 1169 | func (c *OpacityNode) GoPointer() uintptr { | 1211 | func (c *OpacityNode) GoPointer() uintptr { | ||
| 1212 | + | if c == nil { | |||
| 1213 | + | return 0 | |||
| 1214 | + | } | |||
| 1170 | return c.Ptr | 1215 | return c.Ptr | ||
| 1171 | } | 1216 | } | ||
| 1172 | 1217 | ||||
| @@ -1263,6 +1308,9 @@ func (x *OutsetShadowNode) GetSpread() float32 { | |||||
| 1263 | } | 1308 | } | ||
| 1264 | 1309 | ||||
| 1265 | func (c *OutsetShadowNode) GoPointer() uintptr { | 1310 | func (c *OutsetShadowNode) GoPointer() uintptr { | ||
| 1311 | + | if c == nil { | |||
| 1312 | + | return 0 | |||
| 1313 | + | } | |||
| 1266 | return c.Ptr | 1314 | return c.Ptr | ||
| 1267 | } | 1315 | } | ||
| 1268 | 1316 | ||||
| @@ -1371,6 +1419,9 @@ func (x *RadialGradientNode) GetVradius() float32 { | |||||
| 1371 | } | 1419 | } | ||
| 1372 | 1420 | ||||
| 1373 | func (c *RadialGradientNode) GoPointer() uintptr { | 1421 | func (c *RadialGradientNode) GoPointer() uintptr { | ||
| 1422 | + | if c == nil { | |||
| 1423 | + | return 0 | |||
| 1424 | + | } | |||
| 1374 | return c.Ptr | 1425 | return c.Ptr | ||
| 1375 | } | 1426 | } | ||
| 1376 | 1427 | ||||
| @@ -1439,6 +1490,9 @@ func (x *RepeatNode) GetChildBounds() *graphene.Rect { | |||||
| 1439 | } | 1490 | } | ||
| 1440 | 1491 | ||||
| 1441 | func (c *RepeatNode) GoPointer() uintptr { | 1492 | func (c *RepeatNode) GoPointer() uintptr { | ||
| 1493 | + | if c == nil { | |||
| 1494 | + | return 0 | |||
| 1495 | + | } | |||
| 1442 | return c.Ptr | 1496 | return c.Ptr | ||
| 1443 | } | 1497 | } | ||
| 1444 | 1498 | ||||
| @@ -1482,6 +1536,9 @@ func NewRepeatingLinearGradientNode(BoundsVar *graphene.Rect, StartVar *graphene | |||||
| 1482 | } | 1536 | } | ||
| 1483 | 1537 | ||||
| 1484 | func (c *RepeatingLinearGradientNode) GoPointer() uintptr { | 1538 | func (c *RepeatingLinearGradientNode) GoPointer() uintptr { | ||
| 1539 | + | if c == nil { | |||
| 1540 | + | return 0 | |||
| 1541 | + | } | |||
| 1485 | return c.Ptr | 1542 | return c.Ptr | ||
| 1486 | } | 1543 | } | ||
| 1487 | 1544 | ||||
| @@ -1527,6 +1584,9 @@ func NewRepeatingRadialGradientNode(BoundsVar *graphene.Rect, CenterVar *graphen | |||||
| 1527 | } | 1584 | } | ||
| 1528 | 1585 | ||||
| 1529 | func (c *RepeatingRadialGradientNode) GoPointer() uintptr { | 1586 | func (c *RepeatingRadialGradientNode) GoPointer() uintptr { | ||
| 1587 | + | if c == nil { | |||
| 1588 | + | return 0 | |||
| 1589 | + | } | |||
| 1530 | return c.Ptr | 1590 | return c.Ptr | ||
| 1531 | } | 1591 | } | ||
| 1532 | 1592 | ||||
| @@ -1595,6 +1655,9 @@ func (x *RoundedClipNode) GetClip() *RoundedRect { | |||||
| 1595 | } | 1655 | } | ||
| 1596 | 1656 | ||||
| 1597 | func (c *RoundedClipNode) GoPointer() uintptr { | 1657 | func (c *RoundedClipNode) GoPointer() uintptr { | ||
| 1658 | + | if c == nil { | |||
| 1659 | + | return 0 | |||
| 1660 | + | } | |||
| 1598 | return c.Ptr | 1661 | return c.Ptr | ||
| 1599 | } | 1662 | } | ||
| 1600 | 1663 | ||||
| @@ -1672,6 +1735,9 @@ func (x *ShadowNode) GetShadow(IVar uint) *Shadow { | |||||
| 1672 | } | 1735 | } | ||
| 1673 | 1736 | ||||
| 1674 | func (c *ShadowNode) GoPointer() uintptr { | 1737 | func (c *ShadowNode) GoPointer() uintptr { | ||
| 1738 | + | if c == nil { | |||
| 1739 | + | return 0 | |||
| 1740 | + | } | |||
| 1675 | return c.Ptr | 1741 | return c.Ptr | ||
| 1676 | } | 1742 | } | ||
| 1677 | 1743 | ||||
| @@ -1778,6 +1844,9 @@ func (x *TextNode) HasColorGlyphs() bool { | |||||
| 1778 | } | 1844 | } | ||
| 1779 | 1845 | ||||
| 1780 | func (c *TextNode) GoPointer() uintptr { | 1846 | func (c *TextNode) GoPointer() uintptr { | ||
| 1847 | + | if c == nil { | |||
| 1848 | + | return 0 | |||
| 1849 | + | } | |||
| 1781 | return c.Ptr | 1850 | return c.Ptr | ||
| 1782 | } | 1851 | } | ||
| 1783 | 1852 | ||||
| @@ -1837,6 +1906,9 @@ func (x *TextureNode) GetTexture() *gdk.Texture { | |||||
| 1837 | } | 1906 | } | ||
| 1838 | 1907 | ||||
| 1839 | func (c *TextureNode) GoPointer() uintptr { | 1908 | func (c *TextureNode) GoPointer() uintptr { | ||
| 1909 | + | if c == nil { | |||
| 1910 | + | return 0 | |||
| 1911 | + | } | |||
| 1840 | return c.Ptr | 1912 | return c.Ptr | ||
| 1841 | } | 1913 | } | ||
| 1842 | 1914 | ||||
| @@ -1905,6 +1977,9 @@ func (x *TransformNode) GetTransform() *Transform { | |||||
| 1905 | } | 1977 | } | ||
| 1906 | 1978 | ||||
| 1907 | func (c *TransformNode) GoPointer() uintptr { | 1979 | func (c *TransformNode) GoPointer() uintptr { | ||
| 1980 | + | if c == nil { | |||
| 1981 | + | return 0 | |||
| 1982 | + | } | |||
| 1908 | return c.Ptr | 1983 | return c.Ptr | ||
| 1909 | } | 1984 | } | ||
| 1910 | 1985 | ||||
M v4/gsk/main.go +3 -0
| @@ -49,6 +49,9 @@ func NewNglRenderer() *NglRenderer { | |||
| 49 | 49 | } | |
| 50 | 50 | ||
| 51 | 51 | func (c *NglRenderer) GoPointer() uintptr { | |
| 52 | + | if c == nil { | |
| 53 | + | return 0 | |
| 54 | + | } | |
| 52 | 55 | return c.Ptr | |
| 53 | 56 | } | |
| 54 | 57 | ||
| @@ -49,6 +49,9 @@ func NewNglRenderer() *NglRenderer { | |||||
| 49 | } | 49 | } | ||
| 50 | 50 | ||||
| 51 | func (c *NglRenderer) GoPointer() uintptr { | 51 | func (c *NglRenderer) GoPointer() uintptr { | ||
| 52 | + | if c == nil { | |||
| 53 | + | return 0 | |||
| 54 | + | } | |||
| 52 | return c.Ptr | 55 | return c.Ptr | ||
| 53 | } | 56 | } | ||
| 54 | 57 | ||||
M v4/gtk/gtkaboutdialog.go +3 -0
| @@ -513,6 +513,9 @@ func (x *AboutDialog) SetWrapLicense(WrapLicenseVar bool) { | |||
| 513 | 513 | } | |
| 514 | 514 | ||
| 515 | 515 | func (c *AboutDialog) GoPointer() uintptr { | |
| 516 | + | if c == nil { | |
| 517 | + | return 0 | |
| 518 | + | } | |
| 516 | 519 | return c.Ptr | |
| 517 | 520 | } | |
| 518 | 521 | ||
| @@ -513,6 +513,9 @@ func (x *AboutDialog) SetWrapLicense(WrapLicenseVar bool) { | |||||
| 513 | } | 513 | } | ||
| 514 | 514 | ||||
| 515 | func (c *AboutDialog) GoPointer() uintptr { | 515 | func (c *AboutDialog) GoPointer() uintptr { | ||
| 516 | + | if c == nil { | |||
| 517 | + | return 0 | |||
| 518 | + | } | |||
| 516 | return c.Ptr | 519 | return c.Ptr | ||
| 517 | } | 520 | } | ||
| 518 | 521 | ||||
M v4/gtk/gtkaccessible.go +3 -0
| @@ -61,6 +61,9 @@ type AccessibleBase struct { | |||
| 61 | 61 | } | |
| 62 | 62 | ||
| 63 | 63 | func (x *AccessibleBase) GoPointer() uintptr { | |
| 64 | + | if x == nil { | |
| 65 | + | return 0 | |
| 66 | + | } | |
| 64 | 67 | return x.Ptr | |
| 65 | 68 | } | |
| 66 | 69 | ||
| @@ -61,6 +61,9 @@ type AccessibleBase struct { | |||||
| 61 | } | 61 | } | ||
| 62 | 62 | ||||
| 63 | func (x *AccessibleBase) GoPointer() uintptr { | 63 | func (x *AccessibleBase) GoPointer() uintptr { | ||
| 64 | + | if x == nil { | |||
| 65 | + | return 0 | |||
| 66 | + | } | |||
| 64 | return x.Ptr | 67 | return x.Ptr | ||
| 65 | } | 68 | } | ||
| 66 | 69 | ||||
M v4/gtk/gtkactionable.go +3 -0
| @@ -57,6 +57,9 @@ type ActionableBase struct { | |||
| 57 | 57 | } | |
| 58 | 58 | ||
| 59 | 59 | func (x *ActionableBase) GoPointer() uintptr { | |
| 60 | + | if x == nil { | |
| 61 | + | return 0 | |
| 62 | + | } | |
| 60 | 63 | return x.Ptr | |
| 61 | 64 | } | |
| 62 | 65 | ||
| @@ -57,6 +57,9 @@ type ActionableBase struct { | |||||
| 57 | } | 57 | } | ||
| 58 | 58 | ||||
| 59 | func (x *ActionableBase) GoPointer() uintptr { | 59 | func (x *ActionableBase) GoPointer() uintptr { | ||
| 60 | + | if x == nil { | |||
| 61 | + | return 0 | |||
| 62 | + | } | |||
| 60 | return x.Ptr | 63 | return x.Ptr | ||
| 61 | } | 64 | } | ||
| 62 | 65 | ||||
M v4/gtk/gtkactionbar.go +3 -0
| @@ -159,6 +159,9 @@ func (x *ActionBar) SetRevealed(RevealedVar bool) { | |||
| 159 | 159 | } | |
| 160 | 160 | ||
| 161 | 161 | func (c *ActionBar) GoPointer() uintptr { | |
| 162 | + | if c == nil { | |
| 163 | + | return 0 | |
| 164 | + | } | |
| 162 | 165 | return c.Ptr | |
| 163 | 166 | } | |
| 164 | 167 | ||
| @@ -159,6 +159,9 @@ func (x *ActionBar) SetRevealed(RevealedVar bool) { | |||||
| 159 | } | 159 | } | ||
| 160 | 160 | ||||
| 161 | func (c *ActionBar) GoPointer() uintptr { | 161 | func (c *ActionBar) GoPointer() uintptr { | ||
| 162 | + | if c == nil { | |||
| 163 | + | return 0 | |||
| 164 | + | } | |||
| 162 | return c.Ptr | 165 | return c.Ptr | ||
| 163 | } | 166 | } | ||
| 164 | 167 | ||||
M v4/gtk/gtkadjustment.go +3 -0
| @@ -255,6 +255,9 @@ func (x *Adjustment) SetValue(ValueVar float64) { | |||
| 255 | 255 | } | |
| 256 | 256 | ||
| 257 | 257 | func (c *Adjustment) GoPointer() uintptr { | |
| 258 | + | if c == nil { | |
| 259 | + | return 0 | |
| 260 | + | } | |
| 258 | 261 | return c.Ptr | |
| 259 | 262 | } | |
| 260 | 263 | ||
| @@ -255,6 +255,9 @@ func (x *Adjustment) SetValue(ValueVar float64) { | |||||
| 255 | } | 255 | } | ||
| 256 | 256 | ||||
| 257 | func (c *Adjustment) GoPointer() uintptr { | 257 | func (c *Adjustment) GoPointer() uintptr { | ||
| 258 | + | if c == nil { | |||
| 259 | + | return 0 | |||
| 260 | + | } | |||
| 258 | return c.Ptr | 261 | return c.Ptr | ||
| 259 | } | 262 | } | ||
| 260 | 263 | ||||
M v4/gtk/gtkappchooser.go +3 -0
| @@ -46,6 +46,9 @@ type AppChooserBase struct { | |||
| 46 | 46 | } | |
| 47 | 47 | ||
| 48 | 48 | func (x *AppChooserBase) GoPointer() uintptr { | |
| 49 | + | if x == nil { | |
| 50 | + | return 0 | |
| 51 | + | } | |
| 49 | 52 | return x.Ptr | |
| 50 | 53 | } | |
| 51 | 54 | ||
| @@ -46,6 +46,9 @@ type AppChooserBase struct { | |||||
| 46 | } | 46 | } | ||
| 47 | 47 | ||||
| 48 | func (x *AppChooserBase) GoPointer() uintptr { | 48 | func (x *AppChooserBase) GoPointer() uintptr { | ||
| 49 | + | if x == nil { | |||
| 50 | + | return 0 | |||
| 51 | + | } | |||
| 49 | return x.Ptr | 52 | return x.Ptr | ||
| 50 | } | 53 | } | ||
| 51 | 54 | ||||
M v4/gtk/gtkappchooserbutton.go +3 -0
| @@ -193,6 +193,9 @@ func (x *AppChooserButton) SetShowDialogItem(SettingVar bool) { | |||
| 193 | 193 | } | |
| 194 | 194 | ||
| 195 | 195 | func (c *AppChooserButton) GoPointer() uintptr { | |
| 196 | + | if c == nil { | |
| 197 | + | return 0 | |
| 198 | + | } | |
| 196 | 199 | return c.Ptr | |
| 197 | 200 | } | |
| 198 | 201 | ||
| @@ -193,6 +193,9 @@ func (x *AppChooserButton) SetShowDialogItem(SettingVar bool) { | |||||
| 193 | } | 193 | } | ||
| 194 | 194 | ||||
| 195 | func (c *AppChooserButton) GoPointer() uintptr { | 195 | func (c *AppChooserButton) GoPointer() uintptr { | ||
| 196 | + | if c == nil { | |||
| 197 | + | return 0 | |||
| 198 | + | } | |||
| 196 | return c.Ptr | 199 | return c.Ptr | ||
| 197 | } | 200 | } | ||
| 198 | 201 | ||||
M v4/gtk/gtkappchooserdialog.go +3 -0
| @@ -115,6 +115,9 @@ func (x *AppChooserDialog) SetHeading(HeadingVar string) { | |||
| 115 | 115 | } | |
| 116 | 116 | ||
| 117 | 117 | func (c *AppChooserDialog) GoPointer() uintptr { | |
| 118 | + | if c == nil { | |
| 119 | + | return 0 | |
| 120 | + | } | |
| 118 | 121 | return c.Ptr | |
| 119 | 122 | } | |
| 120 | 123 | ||
| @@ -115,6 +115,9 @@ func (x *AppChooserDialog) SetHeading(HeadingVar string) { | |||||
| 115 | } | 115 | } | ||
| 116 | 116 | ||||
| 117 | func (c *AppChooserDialog) GoPointer() uintptr { | 117 | func (c *AppChooserDialog) GoPointer() uintptr { | ||
| 118 | + | if c == nil { | |||
| 119 | + | return 0 | |||
| 120 | + | } | |||
| 118 | return c.Ptr | 121 | return c.Ptr | ||
| 119 | } | 122 | } | ||
| 120 | 123 | ||||
M v4/gtk/gtkappchooserwidget.go +3 -0
| @@ -190,6 +190,9 @@ func (x *AppChooserWidget) SetShowRecommended(SettingVar bool) { | |||
| 190 | 190 | } | |
| 191 | 191 | ||
| 192 | 192 | func (c *AppChooserWidget) GoPointer() uintptr { | |
| 193 | + | if c == nil { | |
| 194 | + | return 0 | |
| 195 | + | } | |
| 193 | 196 | return c.Ptr | |
| 194 | 197 | } | |
| 195 | 198 | ||
| @@ -190,6 +190,9 @@ func (x *AppChooserWidget) SetShowRecommended(SettingVar bool) { | |||||
| 190 | } | 190 | } | ||
| 191 | 191 | ||||
| 192 | func (c *AppChooserWidget) GoPointer() uintptr { | 192 | func (c *AppChooserWidget) GoPointer() uintptr { | ||
| 193 | + | if c == nil { | |||
| 194 | + | return 0 | |||
| 195 | + | } | |||
| 193 | return c.Ptr | 196 | return c.Ptr | ||
| 194 | } | 197 | } | ||
| 195 | 198 | ||||
M v4/gtk/gtkapplication.go +3 -0
| @@ -435,6 +435,9 @@ func (x *Application) Uninhibit(CookieVar uint) { | |||
| 435 | 435 | } | |
| 436 | 436 | ||
| 437 | 437 | func (c *Application) GoPointer() uintptr { | |
| 438 | + | if c == nil { | |
| 439 | + | return 0 | |
| 440 | + | } | |
| 438 | 441 | return c.Ptr | |
| 439 | 442 | } | |
| 440 | 443 | ||
| @@ -435,6 +435,9 @@ func (x *Application) Uninhibit(CookieVar uint) { | |||||
| 435 | } | 435 | } | ||
| 436 | 436 | ||||
| 437 | func (c *Application) GoPointer() uintptr { | 437 | func (c *Application) GoPointer() uintptr { | ||
| 438 | + | if c == nil { | |||
| 439 | + | return 0 | |||
| 440 | + | } | |||
| 438 | return c.Ptr | 441 | return c.Ptr | ||
| 439 | } | 442 | } | ||
| 440 | 443 | ||||
M v4/gtk/gtkapplicationwindow.go +3 -0
| @@ -197,6 +197,9 @@ func (x *ApplicationWindow) SetShowMenubar(ShowMenubarVar bool) { | |||
| 197 | 197 | } | |
| 198 | 198 | ||
| 199 | 199 | func (c *ApplicationWindow) GoPointer() uintptr { | |
| 200 | + | if c == nil { | |
| 201 | + | return 0 | |
| 202 | + | } | |
| 200 | 203 | return c.Ptr | |
| 201 | 204 | } | |
| 202 | 205 | ||
| @@ -197,6 +197,9 @@ func (x *ApplicationWindow) SetShowMenubar(ShowMenubarVar bool) { | |||||
| 197 | } | 197 | } | ||
| 198 | 198 | ||||
| 199 | func (c *ApplicationWindow) GoPointer() uintptr { | 199 | func (c *ApplicationWindow) GoPointer() uintptr { | ||
| 200 | + | if c == nil { | |||
| 201 | + | return 0 | |||
| 202 | + | } | |||
| 200 | return c.Ptr | 203 | return c.Ptr | ||
| 201 | } | 204 | } | ||
| 202 | 205 | ||||
M v4/gtk/gtkaspectframe.go +3 -0
| @@ -155,6 +155,9 @@ func (x *AspectFrame) SetYalign(YalignVar float32) { | |||
| 155 | 155 | } | |
| 156 | 156 | ||
| 157 | 157 | func (c *AspectFrame) GoPointer() uintptr { | |
| 158 | + | if c == nil { | |
| 159 | + | return 0 | |
| 160 | + | } | |
| 158 | 161 | return c.Ptr | |
| 159 | 162 | } | |
| 160 | 163 | ||
| @@ -155,6 +155,9 @@ func (x *AspectFrame) SetYalign(YalignVar float32) { | |||||
| 155 | } | 155 | } | ||
| 156 | 156 | ||||
| 157 | func (c *AspectFrame) GoPointer() uintptr { | 157 | func (c *AspectFrame) GoPointer() uintptr { | ||
| 158 | + | if c == nil { | |||
| 159 | + | return 0 | |||
| 160 | + | } | |||
| 158 | return c.Ptr | 161 | return c.Ptr | ||
| 159 | } | 162 | } | ||
| 160 | 163 | ||||
M v4/gtk/gtkassistant.go +6 -0
| @@ -412,6 +412,9 @@ func (x *Assistant) UpdateButtonsState() { | |||
| 412 | 412 | } | |
| 413 | 413 | ||
| 414 | 414 | func (c *Assistant) GoPointer() uintptr { | |
| 415 | + | if c == nil { | |
| 416 | + | return 0 | |
| 417 | + | } | |
| 415 | 418 | return c.Ptr | |
| 416 | 419 | } | |
| 417 | 420 | ||
| @@ -820,6 +823,9 @@ func (x *AssistantPage) GetChild() *Widget { | |||
| 820 | 823 | } | |
| 821 | 824 | ||
| 822 | 825 | func (c *AssistantPage) GoPointer() uintptr { | |
| 826 | + | if c == nil { | |
| 827 | + | return 0 | |
| 828 | + | } | |
| 823 | 829 | return c.Ptr | |
| 824 | 830 | } | |
| 825 | 831 | ||
| @@ -412,6 +412,9 @@ func (x *Assistant) UpdateButtonsState() { | |||||
| 412 | } | 412 | } | ||
| 413 | 413 | ||||
| 414 | func (c *Assistant) GoPointer() uintptr { | 414 | func (c *Assistant) GoPointer() uintptr { | ||
| 415 | + | if c == nil { | |||
| 416 | + | return 0 | |||
| 417 | + | } | |||
| 415 | return c.Ptr | 418 | return c.Ptr | ||
| 416 | } | 419 | } | ||
| 417 | 420 | ||||
| @@ -820,6 +823,9 @@ func (x *AssistantPage) GetChild() *Widget { | |||||
| 820 | } | 823 | } | ||
| 821 | 824 | ||||
| 822 | func (c *AssistantPage) GoPointer() uintptr { | 825 | func (c *AssistantPage) GoPointer() uintptr { | ||
| 826 | + | if c == nil { | |||
| 827 | + | return 0 | |||
| 828 | + | } | |||
| 823 | return c.Ptr | 829 | return c.Ptr | ||
| 824 | } | 830 | } | ||
| 825 | 831 | ||||
M v4/gtk/gtkatcontext.go +3 -0
| @@ -90,6 +90,9 @@ func (x *ATContext) GetAccessibleRole() AccessibleRole { | |||
| 90 | 90 | } | |
| 91 | 91 | ||
| 92 | 92 | func (c *ATContext) GoPointer() uintptr { | |
| 93 | + | if c == nil { | |
| 94 | + | return 0 | |
| 95 | + | } | |
| 93 | 96 | return c.Ptr | |
| 94 | 97 | } | |
| 95 | 98 | ||
| @@ -90,6 +90,9 @@ func (x *ATContext) GetAccessibleRole() AccessibleRole { | |||||
| 90 | } | 90 | } | ||
| 91 | 91 | ||||
| 92 | func (c *ATContext) GoPointer() uintptr { | 92 | func (c *ATContext) GoPointer() uintptr { | ||
| 93 | + | if c == nil { | |||
| 94 | + | return 0 | |||
| 95 | + | } | |||
| 93 | return c.Ptr | 96 | return c.Ptr | ||
| 94 | } | 97 | } | ||
| 95 | 98 | ||||
M v4/gtk/gtkbinlayout.go +3 -0
| @@ -60,6 +60,9 @@ func NewBinLayout() *BinLayout { | |||
| 60 | 60 | } | |
| 61 | 61 | ||
| 62 | 62 | func (c *BinLayout) GoPointer() uintptr { | |
| 63 | + | if c == nil { | |
| 64 | + | return 0 | |
| 65 | + | } | |
| 63 | 66 | return c.Ptr | |
| 64 | 67 | } | |
| 65 | 68 | ||
| @@ -60,6 +60,9 @@ func NewBinLayout() *BinLayout { | |||||
| 60 | } | 60 | } | ||
| 61 | 61 | ||||
| 62 | func (c *BinLayout) GoPointer() uintptr { | 62 | func (c *BinLayout) GoPointer() uintptr { | ||
| 63 | + | if c == nil { | |||
| 64 | + | return 0 | |||
| 65 | + | } | |||
| 63 | return c.Ptr | 66 | return c.Ptr | ||
| 64 | } | 67 | } | ||
| 65 | 68 | ||||
M v4/gtk/gtkbookmarklist.go +3 -0
| @@ -127,6 +127,9 @@ func (x *BookmarkList) SetIoPriority(IoPriorityVar int) { | |||
| 127 | 127 | } | |
| 128 | 128 | ||
| 129 | 129 | func (c *BookmarkList) GoPointer() uintptr { | |
| 130 | + | if c == nil { | |
| 131 | + | return 0 | |
| 132 | + | } | |
| 130 | 133 | return c.Ptr | |
| 131 | 134 | } | |
| 132 | 135 | ||
| @@ -127,6 +127,9 @@ func (x *BookmarkList) SetIoPriority(IoPriorityVar int) { | |||||
| 127 | } | 127 | } | ||
| 128 | 128 | ||||
| 129 | func (c *BookmarkList) GoPointer() uintptr { | 129 | func (c *BookmarkList) GoPointer() uintptr { | ||
| 130 | + | if c == nil { | |||
| 131 | + | return 0 | |||
| 132 | + | } | |||
| 130 | return c.Ptr | 133 | return c.Ptr | ||
| 131 | } | 134 | } | ||
| 132 | 135 | ||||
M v4/gtk/gtkboolfilter.go +3 -0
| @@ -104,6 +104,9 @@ func (x *BoolFilter) SetInvert(InvertVar bool) { | |||
| 104 | 104 | } | |
| 105 | 105 | ||
| 106 | 106 | func (c *BoolFilter) GoPointer() uintptr { | |
| 107 | + | if c == nil { | |
| 108 | + | return 0 | |
| 109 | + | } | |
| 107 | 110 | return c.Ptr | |
| 108 | 111 | } | |
| 109 | 112 | ||
| @@ -104,6 +104,9 @@ func (x *BoolFilter) SetInvert(InvertVar bool) { | |||||
| 104 | } | 104 | } | ||
| 105 | 105 | ||||
| 106 | func (c *BoolFilter) GoPointer() uintptr { | 106 | func (c *BoolFilter) GoPointer() uintptr { | ||
| 107 | + | if c == nil { | |||
| 108 | + | return 0 | |||
| 109 | + | } | |||
| 107 | return c.Ptr | 110 | return c.Ptr | ||
| 108 | } | 111 | } | ||
| 109 | 112 | ||||
M v4/gtk/gtkbox.go +3 -0
| @@ -206,6 +206,9 @@ func (x *Box) SetSpacing(SpacingVar int) { | |||
| 206 | 206 | } | |
| 207 | 207 | ||
| 208 | 208 | func (c *Box) GoPointer() uintptr { | |
| 209 | + | if c == nil { | |
| 210 | + | return 0 | |
| 211 | + | } | |
| 209 | 212 | return c.Ptr | |
| 210 | 213 | } | |
| 211 | 214 | ||
| @@ -206,6 +206,9 @@ func (x *Box) SetSpacing(SpacingVar int) { | |||||
| 206 | } | 206 | } | ||
| 207 | 207 | ||||
| 208 | func (c *Box) GoPointer() uintptr { | 208 | func (c *Box) GoPointer() uintptr { | ||
| 209 | + | if c == nil { | |||
| 210 | + | return 0 | |||
| 211 | + | } | |||
| 209 | return c.Ptr | 212 | return c.Ptr | ||
| 210 | } | 213 | } | ||
| 211 | 214 | ||||
M v4/gtk/gtkboxlayout.go +3 -0
| @@ -128,6 +128,9 @@ func (x *BoxLayout) SetSpacing(SpacingVar uint) { | |||
| 128 | 128 | } | |
| 129 | 129 | ||
| 130 | 130 | func (c *BoxLayout) GoPointer() uintptr { | |
| 131 | + | if c == nil { | |
| 132 | + | return 0 | |
| 133 | + | } | |
| 131 | 134 | return c.Ptr | |
| 132 | 135 | } | |
| 133 | 136 | ||
| @@ -128,6 +128,9 @@ func (x *BoxLayout) SetSpacing(SpacingVar uint) { | |||||
| 128 | } | 128 | } | ||
| 129 | 129 | ||||
| 130 | func (c *BoxLayout) GoPointer() uintptr { | 130 | func (c *BoxLayout) GoPointer() uintptr { | ||
| 131 | + | if c == nil { | |||
| 132 | + | return 0 | |||
| 133 | + | } | |||
| 131 | return c.Ptr | 134 | return c.Ptr | ||
| 132 | } | 135 | } | ||
| 133 | 136 | ||||
M v4/gtk/gtkbuildable.go +3 -0
| @@ -175,6 +175,9 @@ type BuildableBase struct { | |||
| 175 | 175 | } | |
| 176 | 176 | ||
| 177 | 177 | func (x *BuildableBase) GoPointer() uintptr { | |
| 178 | + | if x == nil { | |
| 179 | + | return 0 | |
| 180 | + | } | |
| 178 | 181 | return x.Ptr | |
| 179 | 182 | } | |
| 180 | 183 | ||
| @@ -175,6 +175,9 @@ type BuildableBase struct { | |||||
| 175 | } | 175 | } | ||
| 176 | 176 | ||||
| 177 | func (x *BuildableBase) GoPointer() uintptr { | 177 | func (x *BuildableBase) GoPointer() uintptr { | ||
| 178 | + | if x == nil { | |||
| 179 | + | return 0 | |||
| 180 | + | } | |||
| 178 | return x.Ptr | 181 | return x.Ptr | ||
| 179 | } | 182 | } | ||
| 180 | 183 | ||||
M v4/gtk/gtkbuilder.go +3 -0
| @@ -740,6 +740,9 @@ func (x *Builder) ValueFromStringType(TypeVar types.GType, StringVar string, Val | |||
| 740 | 740 | } | |
| 741 | 741 | ||
| 742 | 742 | func (c *Builder) GoPointer() uintptr { | |
| 743 | + | if c == nil { | |
| 744 | + | return 0 | |
| 745 | + | } | |
| 743 | 746 | return c.Ptr | |
| 744 | 747 | } | |
| 745 | 748 | ||
| @@ -740,6 +740,9 @@ func (x *Builder) ValueFromStringType(TypeVar types.GType, StringVar string, Val | |||||
| 740 | } | 740 | } | ||
| 741 | 741 | ||||
| 742 | func (c *Builder) GoPointer() uintptr { | 742 | func (c *Builder) GoPointer() uintptr { | ||
| 743 | + | if c == nil { | |||
| 744 | + | return 0 | |||
| 745 | + | } | |||
| 743 | return c.Ptr | 746 | return c.Ptr | ||
| 744 | } | 747 | } | ||
| 745 | 748 | ||||
M v4/gtk/gtkbuilderlistitemfactory.go +3 -0
| @@ -132,6 +132,9 @@ func (x *BuilderListItemFactory) GetScope() *BuilderScopeBase { | |||
| 132 | 132 | } | |
| 133 | 133 | ||
| 134 | 134 | func (c *BuilderListItemFactory) GoPointer() uintptr { | |
| 135 | + | if c == nil { | |
| 136 | + | return 0 | |
| 137 | + | } | |
| 135 | 138 | return c.Ptr | |
| 136 | 139 | } | |
| 137 | 140 | ||
| @@ -132,6 +132,9 @@ func (x *BuilderListItemFactory) GetScope() *BuilderScopeBase { | |||||
| 132 | } | 132 | } | ||
| 133 | 133 | ||||
| 134 | func (c *BuilderListItemFactory) GoPointer() uintptr { | 134 | func (c *BuilderListItemFactory) GoPointer() uintptr { | ||
| 135 | + | if c == nil { | |||
| 136 | + | return 0 | |||
| 137 | + | } | |||
| 135 | return c.Ptr | 138 | return c.Ptr | ||
| 136 | } | 139 | } | ||
| 137 | 140 | ||||
M v4/gtk/gtkbuilderscope.go +6 -0
| @@ -65,6 +65,9 @@ type BuilderScopeBase struct { | |||
| 65 | 65 | } | |
| 66 | 66 | ||
| 67 | 67 | func (x *BuilderScopeBase) GoPointer() uintptr { | |
| 68 | + | if x == nil { | |
| 69 | + | return 0 | |
| 70 | + | } | |
| 68 | 71 | return x.Ptr | |
| 69 | 72 | } | |
| 70 | 73 | ||
| @@ -184,6 +187,9 @@ func (x *BuilderCScope) LookupCallbackSymbol(CallbackNameVar string) uintptr { | |||
| 184 | 187 | } | |
| 185 | 188 | ||
| 186 | 189 | func (c *BuilderCScope) GoPointer() uintptr { | |
| 190 | + | if c == nil { | |
| 191 | + | return 0 | |
| 192 | + | } | |
| 187 | 193 | return c.Ptr | |
| 188 | 194 | } | |
| 189 | 195 | ||
| @@ -65,6 +65,9 @@ type BuilderScopeBase struct { | |||||
| 65 | } | 65 | } | ||
| 66 | 66 | ||||
| 67 | func (x *BuilderScopeBase) GoPointer() uintptr { | 67 | func (x *BuilderScopeBase) GoPointer() uintptr { | ||
| 68 | + | if x == nil { | |||
| 69 | + | return 0 | |||
| 70 | + | } | |||
| 68 | return x.Ptr | 71 | return x.Ptr | ||
| 69 | } | 72 | } | ||
| 70 | 73 | ||||
| @@ -184,6 +187,9 @@ func (x *BuilderCScope) LookupCallbackSymbol(CallbackNameVar string) uintptr { | |||||
| 184 | } | 187 | } | ||
| 185 | 188 | ||||
| 186 | func (c *BuilderCScope) GoPointer() uintptr { | 189 | func (c *BuilderCScope) GoPointer() uintptr { | ||
| 190 | + | if c == nil { | |||
| 191 | + | return 0 | |||
| 192 | + | } | |||
| 187 | return c.Ptr | 193 | return c.Ptr | ||
| 188 | } | 194 | } | ||
| 189 | 195 | ||||
M v4/gtk/gtkbutton.go +3 -0
| @@ -282,6 +282,9 @@ func (x *Button) SetUseUnderline(UseUnderlineVar bool) { | |||
| 282 | 282 | } | |
| 283 | 283 | ||
| 284 | 284 | func (c *Button) GoPointer() uintptr { | |
| 285 | + | if c == nil { | |
| 286 | + | return 0 | |
| 287 | + | } | |
| 285 | 288 | return c.Ptr | |
| 286 | 289 | } | |
| 287 | 290 | ||
| @@ -282,6 +282,9 @@ func (x *Button) SetUseUnderline(UseUnderlineVar bool) { | |||||
| 282 | } | 282 | } | ||
| 283 | 283 | ||||
| 284 | func (c *Button) GoPointer() uintptr { | 284 | func (c *Button) GoPointer() uintptr { | ||
| 285 | + | if c == nil { | |||
| 286 | + | return 0 | |||
| 287 | + | } | |||
| 285 | return c.Ptr | 288 | return c.Ptr | ||
| 286 | } | 289 | } | ||
| 287 | 290 | ||||
M v4/gtk/gtkcalendar.go +3 -0
| @@ -221,6 +221,9 @@ func (x *Calendar) UnmarkDay(DayVar uint) { | |||
| 221 | 221 | } | |
| 222 | 222 | ||
| 223 | 223 | func (c *Calendar) GoPointer() uintptr { | |
| 224 | + | if c == nil { | |
| 225 | + | return 0 | |
| 226 | + | } | |
| 224 | 227 | return c.Ptr | |
| 225 | 228 | } | |
| 226 | 229 | ||
| @@ -221,6 +221,9 @@ func (x *Calendar) UnmarkDay(DayVar uint) { | |||||
| 221 | } | 221 | } | ||
| 222 | 222 | ||||
| 223 | func (c *Calendar) GoPointer() uintptr { | 223 | func (c *Calendar) GoPointer() uintptr { | ||
| 224 | + | if c == nil { | |||
| 225 | + | return 0 | |||
| 226 | + | } | |||
| 224 | return c.Ptr | 227 | return c.Ptr | ||
| 225 | } | 228 | } | ||
| 226 | 229 | ||||
M v4/gtk/gtkcellarea.go +3 -0
| @@ -973,6 +973,9 @@ func (x *CellArea) StopEditing(CanceledVar bool) { | |||
| 973 | 973 | } | |
| 974 | 974 | ||
| 975 | 975 | func (c *CellArea) GoPointer() uintptr { | |
| 976 | + | if c == nil { | |
| 977 | + | return 0 | |
| 978 | + | } | |
| 976 | 979 | return c.Ptr | |
| 977 | 980 | } | |
| 978 | 981 | ||
| @@ -973,6 +973,9 @@ func (x *CellArea) StopEditing(CanceledVar bool) { | |||||
| 973 | } | 973 | } | ||
| 974 | 974 | ||||
| 975 | func (c *CellArea) GoPointer() uintptr { | 975 | func (c *CellArea) GoPointer() uintptr { | ||
| 976 | + | if c == nil { | |||
| 977 | + | return 0 | |||
| 978 | + | } | |||
| 976 | return c.Ptr | 979 | return c.Ptr | ||
| 977 | } | 980 | } | ||
| 978 | 981 | ||||
M v4/gtk/gtkcellareabox.go +3 -0
| @@ -104,6 +104,9 @@ func (x *CellAreaBox) SetSpacing(SpacingVar int) { | |||
| 104 | 104 | } | |
| 105 | 105 | ||
| 106 | 106 | func (c *CellAreaBox) GoPointer() uintptr { | |
| 107 | + | if c == nil { | |
| 108 | + | return 0 | |
| 109 | + | } | |
| 107 | 110 | return c.Ptr | |
| 108 | 111 | } | |
| 109 | 112 | ||
| @@ -104,6 +104,9 @@ func (x *CellAreaBox) SetSpacing(SpacingVar int) { | |||||
| 104 | } | 104 | } | ||
| 105 | 105 | ||||
| 106 | func (c *CellAreaBox) GoPointer() uintptr { | 106 | func (c *CellAreaBox) GoPointer() uintptr { | ||
| 107 | + | if c == nil { | |||
| 108 | + | return 0 | |||
| 109 | + | } | |||
| 107 | return c.Ptr | 110 | return c.Ptr | ||
| 108 | } | 111 | } | ||
| 109 | 112 | ||||
M v4/gtk/gtkcellareacontext.go +3 -0
| @@ -229,6 +229,9 @@ func (x *CellAreaContext) Reset() { | |||
| 229 | 229 | } | |
| 230 | 230 | ||
| 231 | 231 | func (c *CellAreaContext) GoPointer() uintptr { | |
| 232 | + | if c == nil { | |
| 233 | + | return 0 | |
| 234 | + | } | |
| 232 | 235 | return c.Ptr | |
| 233 | 236 | } | |
| 234 | 237 | ||
| @@ -229,6 +229,9 @@ func (x *CellAreaContext) Reset() { | |||||
| 229 | } | 229 | } | ||
| 230 | 230 | ||||
| 231 | func (c *CellAreaContext) GoPointer() uintptr { | 231 | func (c *CellAreaContext) GoPointer() uintptr { | ||
| 232 | + | if c == nil { | |||
| 233 | + | return 0 | |||
| 234 | + | } | |||
| 232 | return c.Ptr | 235 | return c.Ptr | ||
| 233 | } | 236 | } | ||
| 234 | 237 | ||||
M v4/gtk/gtkcelleditable.go +3 -0
| @@ -45,6 +45,9 @@ type CellEditableBase struct { | |||
| 45 | 45 | } | |
| 46 | 46 | ||
| 47 | 47 | func (x *CellEditableBase) GoPointer() uintptr { | |
| 48 | + | if x == nil { | |
| 49 | + | return 0 | |
| 50 | + | } | |
| 48 | 51 | return x.Ptr | |
| 49 | 52 | } | |
| 50 | 53 | ||
| @@ -45,6 +45,9 @@ type CellEditableBase struct { | |||||
| 45 | } | 45 | } | ||
| 46 | 46 | ||||
| 47 | func (x *CellEditableBase) GoPointer() uintptr { | 47 | func (x *CellEditableBase) GoPointer() uintptr { | ||
| 48 | + | if x == nil { | |||
| 49 | + | return 0 | |||
| 50 | + | } | |||
| 48 | return x.Ptr | 51 | return x.Ptr | ||
| 49 | } | 52 | } | ||
| 50 | 53 | ||||
M v4/gtk/gtkcelllayout.go +3 -0
| @@ -169,6 +169,9 @@ type CellLayoutBase struct { | |||
| 169 | 169 | } | |
| 170 | 170 | ||
| 171 | 171 | func (x *CellLayoutBase) GoPointer() uintptr { | |
| 172 | + | if x == nil { | |
| 173 | + | return 0 | |
| 174 | + | } | |
| 172 | 175 | return x.Ptr | |
| 173 | 176 | } | |
| 174 | 177 | ||
| @@ -169,6 +169,9 @@ type CellLayoutBase struct { | |||||
| 169 | } | 169 | } | ||
| 170 | 170 | ||||
| 171 | func (x *CellLayoutBase) GoPointer() uintptr { | 171 | func (x *CellLayoutBase) GoPointer() uintptr { | ||
| 172 | + | if x == nil { | |||
| 173 | + | return 0 | |||
| 174 | + | } | |||
| 172 | return x.Ptr | 175 | return x.Ptr | ||
| 173 | } | 176 | } | ||
| 174 | 177 | ||||
M v4/gtk/gtkcellrenderer.go +3 -0
| @@ -418,6 +418,9 @@ func (x *CellRenderer) StopEditing(CanceledVar bool) { | |||
| 418 | 418 | } | |
| 419 | 419 | ||
| 420 | 420 | func (c *CellRenderer) GoPointer() uintptr { | |
| 421 | + | if c == nil { | |
| 422 | + | return 0 | |
| 423 | + | } | |
| 421 | 424 | return c.Ptr | |
| 422 | 425 | } | |
| 423 | 426 | ||
| @@ -418,6 +418,9 @@ func (x *CellRenderer) StopEditing(CanceledVar bool) { | |||||
| 418 | } | 418 | } | ||
| 419 | 419 | ||||
| 420 | func (c *CellRenderer) GoPointer() uintptr { | 420 | func (c *CellRenderer) GoPointer() uintptr { | ||
| 421 | + | if c == nil { | |||
| 422 | + | return 0 | |||
| 423 | + | } | |||
| 421 | return c.Ptr | 424 | return c.Ptr | ||
| 422 | } | 425 | } | ||
| 423 | 426 | ||||
M v4/gtk/gtkcellrendereraccel.go +3 -0
| @@ -68,6 +68,9 @@ func NewCellRendererAccel() *CellRendererAccel { | |||
| 68 | 68 | } | |
| 69 | 69 | ||
| 70 | 70 | func (c *CellRendererAccel) GoPointer() uintptr { | |
| 71 | + | if c == nil { | |
| 72 | + | return 0 | |
| 73 | + | } | |
| 71 | 74 | return c.Ptr | |
| 72 | 75 | } | |
| 73 | 76 | ||
| @@ -68,6 +68,9 @@ func NewCellRendererAccel() *CellRendererAccel { | |||||
| 68 | } | 68 | } | ||
| 69 | 69 | ||||
| 70 | func (c *CellRendererAccel) GoPointer() uintptr { | 70 | func (c *CellRendererAccel) GoPointer() uintptr { | ||
| 71 | + | if c == nil { | |||
| 72 | + | return 0 | |||
| 73 | + | } | |||
| 71 | return c.Ptr | 74 | return c.Ptr | ||
| 72 | } | 75 | } | ||
| 73 | 76 | ||||
M v4/gtk/gtkcellrenderercombo.go +3 -0
| @@ -63,6 +63,9 @@ func NewCellRendererCombo() *CellRendererCombo { | |||
| 63 | 63 | } | |
| 64 | 64 | ||
| 65 | 65 | func (c *CellRendererCombo) GoPointer() uintptr { | |
| 66 | + | if c == nil { | |
| 67 | + | return 0 | |
| 68 | + | } | |
| 66 | 69 | return c.Ptr | |
| 67 | 70 | } | |
| 68 | 71 | ||
| @@ -63,6 +63,9 @@ func NewCellRendererCombo() *CellRendererCombo { | |||||
| 63 | } | 63 | } | ||
| 64 | 64 | ||||
| 65 | func (c *CellRendererCombo) GoPointer() uintptr { | 65 | func (c *CellRendererCombo) GoPointer() uintptr { | ||
| 66 | + | if c == nil { | |||
| 67 | + | return 0 | |||
| 68 | + | } | |||
| 66 | return c.Ptr | 69 | return c.Ptr | ||
| 67 | } | 70 | } | ||
| 68 | 71 | ||||
M v4/gtk/gtkcellrendererpixbuf.go +3 -0
| @@ -62,6 +62,9 @@ func NewCellRendererPixbuf() *CellRendererPixbuf { | |||
| 62 | 62 | } | |
| 63 | 63 | ||
| 64 | 64 | func (c *CellRendererPixbuf) GoPointer() uintptr { | |
| 65 | + | if c == nil { | |
| 66 | + | return 0 | |
| 67 | + | } | |
| 65 | 68 | return c.Ptr | |
| 66 | 69 | } | |
| 67 | 70 | ||
| @@ -62,6 +62,9 @@ func NewCellRendererPixbuf() *CellRendererPixbuf { | |||||
| 62 | } | 62 | } | ||
| 63 | 63 | ||||
| 64 | func (c *CellRendererPixbuf) GoPointer() uintptr { | 64 | func (c *CellRendererPixbuf) GoPointer() uintptr { | ||
| 65 | + | if c == nil { | |||
| 66 | + | return 0 | |||
| 67 | + | } | |||
| 65 | return c.Ptr | 68 | return c.Ptr | ||
| 66 | } | 69 | } | ||
| 67 | 70 | ||||
M v4/gtk/gtkcellrendererprogress.go +3 -0
| @@ -46,6 +46,9 @@ func NewCellRendererProgress() *CellRendererProgress { | |||
| 46 | 46 | } | |
| 47 | 47 | ||
| 48 | 48 | func (c *CellRendererProgress) GoPointer() uintptr { | |
| 49 | + | if c == nil { | |
| 50 | + | return 0 | |
| 51 | + | } | |
| 49 | 52 | return c.Ptr | |
| 50 | 53 | } | |
| 51 | 54 | ||
| @@ -46,6 +46,9 @@ func NewCellRendererProgress() *CellRendererProgress { | |||||
| 46 | } | 46 | } | ||
| 47 | 47 | ||||
| 48 | func (c *CellRendererProgress) GoPointer() uintptr { | 48 | func (c *CellRendererProgress) GoPointer() uintptr { | ||
| 49 | + | if c == nil { | |||
| 50 | + | return 0 | |||
| 51 | + | } | |||
| 49 | return c.Ptr | 52 | return c.Ptr | ||
| 50 | } | 53 | } | ||
| 51 | 54 | ||||
M v4/gtk/gtkcellrendererspin.go +3 -0
| @@ -57,6 +57,9 @@ func NewCellRendererSpin() *CellRendererSpin { | |||
| 57 | 57 | } | |
| 58 | 58 | ||
| 59 | 59 | func (c *CellRendererSpin) GoPointer() uintptr { | |
| 60 | + | if c == nil { | |
| 61 | + | return 0 | |
| 62 | + | } | |
| 60 | 63 | return c.Ptr | |
| 61 | 64 | } | |
| 62 | 65 | ||
| @@ -57,6 +57,9 @@ func NewCellRendererSpin() *CellRendererSpin { | |||||
| 57 | } | 57 | } | ||
| 58 | 58 | ||||
| 59 | func (c *CellRendererSpin) GoPointer() uintptr { | 59 | func (c *CellRendererSpin) GoPointer() uintptr { | ||
| 60 | + | if c == nil { | |||
| 61 | + | return 0 | |||
| 62 | + | } | |||
| 60 | return c.Ptr | 63 | return c.Ptr | ||
| 61 | } | 64 | } | ||
| 62 | 65 | ||||
M v4/gtk/gtkcellrendererspinner.go +3 -0
| @@ -55,6 +55,9 @@ func NewCellRendererSpinner() *CellRendererSpinner { | |||
| 55 | 55 | } | |
| 56 | 56 | ||
| 57 | 57 | func (c *CellRendererSpinner) GoPointer() uintptr { | |
| 58 | + | if c == nil { | |
| 59 | + | return 0 | |
| 60 | + | } | |
| 58 | 61 | return c.Ptr | |
| 59 | 62 | } | |
| 60 | 63 | ||
| @@ -55,6 +55,9 @@ func NewCellRendererSpinner() *CellRendererSpinner { | |||||
| 55 | } | 55 | } | ||
| 56 | 56 | ||||
| 57 | func (c *CellRendererSpinner) GoPointer() uintptr { | 57 | func (c *CellRendererSpinner) GoPointer() uintptr { | ||
| 58 | + | if c == nil { | |||
| 59 | + | return 0 | |||
| 60 | + | } | |||
| 58 | return c.Ptr | 61 | return c.Ptr | ||
| 59 | } | 62 | } | ||
| 60 | 63 | ||||
M v4/gtk/gtkcellrenderertext.go +3 -0
| @@ -87,6 +87,9 @@ func (x *CellRendererText) SetFixedHeightFromFont(NumberOfRowsVar int) { | |||
| 87 | 87 | } | |
| 88 | 88 | ||
| 89 | 89 | func (c *CellRendererText) GoPointer() uintptr { | |
| 90 | + | if c == nil { | |
| 91 | + | return 0 | |
| 92 | + | } | |
| 90 | 93 | return c.Ptr | |
| 91 | 94 | } | |
| 92 | 95 | ||
| @@ -87,6 +87,9 @@ func (x *CellRendererText) SetFixedHeightFromFont(NumberOfRowsVar int) { | |||||
| 87 | } | 87 | } | ||
| 88 | 88 | ||||
| 89 | func (c *CellRendererText) GoPointer() uintptr { | 89 | func (c *CellRendererText) GoPointer() uintptr { | ||
| 90 | + | if c == nil { | |||
| 91 | + | return 0 | |||
| 92 | + | } | |||
| 90 | return c.Ptr | 93 | return c.Ptr | ||
| 91 | } | 94 | } | ||
| 92 | 95 | ||||
M v4/gtk/gtkcellrenderertoggle.go +3 -0
| @@ -119,6 +119,9 @@ func (x *CellRendererToggle) SetRadio(RadioVar bool) { | |||
| 119 | 119 | } | |
| 120 | 120 | ||
| 121 | 121 | func (c *CellRendererToggle) GoPointer() uintptr { | |
| 122 | + | if c == nil { | |
| 123 | + | return 0 | |
| 124 | + | } | |
| 122 | 125 | return c.Ptr | |
| 123 | 126 | } | |
| 124 | 127 | ||
| @@ -119,6 +119,9 @@ func (x *CellRendererToggle) SetRadio(RadioVar bool) { | |||||
| 119 | } | 119 | } | ||
| 120 | 120 | ||||
| 121 | func (c *CellRendererToggle) GoPointer() uintptr { | 121 | func (c *CellRendererToggle) GoPointer() uintptr { | ||
| 122 | + | if c == nil { | |||
| 123 | + | return 0 | |||
| 124 | + | } | |||
| 122 | return c.Ptr | 125 | return c.Ptr | ||
| 123 | } | 126 | } | ||
| 124 | 127 | ||||
M v4/gtk/gtkcellview.go +3 -0
| @@ -240,6 +240,9 @@ func (x *CellView) SetModel(ModelVar TreeModel) { | |||
| 240 | 240 | } | |
| 241 | 241 | ||
| 242 | 242 | func (c *CellView) GoPointer() uintptr { | |
| 243 | + | if c == nil { | |
| 244 | + | return 0 | |
| 245 | + | } | |
| 243 | 246 | return c.Ptr | |
| 244 | 247 | } | |
| 245 | 248 | ||
| @@ -240,6 +240,9 @@ func (x *CellView) SetModel(ModelVar TreeModel) { | |||||
| 240 | } | 240 | } | ||
| 241 | 241 | ||||
| 242 | func (c *CellView) GoPointer() uintptr { | 242 | func (c *CellView) GoPointer() uintptr { | ||
| 243 | + | if c == nil { | |||
| 244 | + | return 0 | |||
| 245 | + | } | |||
| 243 | return c.Ptr | 246 | return c.Ptr | ||
| 244 | } | 247 | } | ||
| 245 | 248 | ||||
M v4/gtk/gtkcenterbox.go +3 -0
| @@ -193,6 +193,9 @@ func (x *CenterBox) SetStartWidget(ChildVar *Widget) { | |||
| 193 | 193 | } | |
| 194 | 194 | ||
| 195 | 195 | func (c *CenterBox) GoPointer() uintptr { | |
| 196 | + | if c == nil { | |
| 197 | + | return 0 | |
| 198 | + | } | |
| 196 | 199 | return c.Ptr | |
| 197 | 200 | } | |
| 198 | 201 | ||
| @@ -193,6 +193,9 @@ func (x *CenterBox) SetStartWidget(ChildVar *Widget) { | |||||
| 193 | } | 193 | } | ||
| 194 | 194 | ||||
| 195 | func (c *CenterBox) GoPointer() uintptr { | 195 | func (c *CenterBox) GoPointer() uintptr { | ||
| 196 | + | if c == nil { | |||
| 197 | + | return 0 | |||
| 198 | + | } | |||
| 196 | return c.Ptr | 199 | return c.Ptr | ||
| 197 | } | 200 | } | ||
| 198 | 201 | ||||
M v4/gtk/gtkcenterlayout.go +3 -0
| @@ -181,6 +181,9 @@ func (x *CenterLayout) SetStartWidget(WidgetVar *Widget) { | |||
| 181 | 181 | } | |
| 182 | 182 | ||
| 183 | 183 | func (c *CenterLayout) GoPointer() uintptr { | |
| 184 | + | if c == nil { | |
| 185 | + | return 0 | |
| 186 | + | } | |
| 184 | 187 | return c.Ptr | |
| 185 | 188 | } | |
| 186 | 189 | ||
| @@ -181,6 +181,9 @@ func (x *CenterLayout) SetStartWidget(WidgetVar *Widget) { | |||||
| 181 | } | 181 | } | ||
| 182 | 182 | ||||
| 183 | func (c *CenterLayout) GoPointer() uintptr { | 183 | func (c *CenterLayout) GoPointer() uintptr { | ||
| 184 | + | if c == nil { | |||
| 185 | + | return 0 | |||
| 186 | + | } | |||
| 184 | return c.Ptr | 187 | return c.Ptr | ||
| 185 | } | 188 | } | ||
| 186 | 189 | ||||
M v4/gtk/gtkcheckbutton.go +3 -0
| @@ -282,6 +282,9 @@ func (x *CheckButton) SetUseUnderline(SettingVar bool) { | |||
| 282 | 282 | } | |
| 283 | 283 | ||
| 284 | 284 | func (c *CheckButton) GoPointer() uintptr { | |
| 285 | + | if c == nil { | |
| 286 | + | return 0 | |
| 287 | + | } | |
| 285 | 288 | return c.Ptr | |
| 286 | 289 | } | |
| 287 | 290 | ||
| @@ -282,6 +282,9 @@ func (x *CheckButton) SetUseUnderline(SettingVar bool) { | |||||
| 282 | } | 282 | } | ||
| 283 | 283 | ||||
| 284 | func (c *CheckButton) GoPointer() uintptr { | 284 | func (c *CheckButton) GoPointer() uintptr { | ||
| 285 | + | if c == nil { | |||
| 286 | + | return 0 | |||
| 287 | + | } | |||
| 285 | return c.Ptr | 288 | return c.Ptr | ||
| 286 | } | 289 | } | ||
| 287 | 290 | ||||
M v4/gtk/gtkcolorbutton.go +3 -0
| @@ -125,6 +125,9 @@ func (x *ColorButton) SetTitle(TitleVar string) { | |||
| 125 | 125 | } | |
| 126 | 126 | ||
| 127 | 127 | func (c *ColorButton) GoPointer() uintptr { | |
| 128 | + | if c == nil { | |
| 129 | + | return 0 | |
| 130 | + | } | |
| 128 | 131 | return c.Ptr | |
| 129 | 132 | } | |
| 130 | 133 | ||
| @@ -125,6 +125,9 @@ func (x *ColorButton) SetTitle(TitleVar string) { | |||||
| 125 | } | 125 | } | ||
| 126 | 126 | ||||
| 127 | func (c *ColorButton) GoPointer() uintptr { | 127 | func (c *ColorButton) GoPointer() uintptr { | ||
| 128 | + | if c == nil { | |||
| 129 | + | return 0 | |||
| 130 | + | } | |||
| 128 | return c.Ptr | 131 | return c.Ptr | ||
| 129 | } | 132 | } | ||
| 130 | 133 | ||||
M v4/gtk/gtkcolorchooser.go +3 -0
| @@ -52,6 +52,9 @@ type ColorChooserBase struct { | |||
| 52 | 52 | } | |
| 53 | 53 | ||
| 54 | 54 | func (x *ColorChooserBase) GoPointer() uintptr { | |
| 55 | + | if x == nil { | |
| 56 | + | return 0 | |
| 57 | + | } | |
| 55 | 58 | return x.Ptr | |
| 56 | 59 | } | |
| 57 | 60 | ||
| @@ -52,6 +52,9 @@ type ColorChooserBase struct { | |||||
| 52 | } | 52 | } | ||
| 53 | 53 | ||||
| 54 | func (x *ColorChooserBase) GoPointer() uintptr { | 54 | func (x *ColorChooserBase) GoPointer() uintptr { | ||
| 55 | + | if x == nil { | |||
| 56 | + | return 0 | |||
| 57 | + | } | |||
| 55 | return x.Ptr | 58 | return x.Ptr | ||
| 56 | } | 59 | } | ||
| 57 | 60 | ||||
M v4/gtk/gtkcolorchooserdialog.go +3 -0
| @@ -56,6 +56,9 @@ func NewColorChooserDialog(TitleVar string, ParentVar *Window) *ColorChooserDial | |||
| 56 | 56 | } | |
| 57 | 57 | ||
| 58 | 58 | func (c *ColorChooserDialog) GoPointer() uintptr { | |
| 59 | + | if c == nil { | |
| 60 | + | return 0 | |
| 61 | + | } | |
| 59 | 62 | return c.Ptr | |
| 60 | 63 | } | |
| 61 | 64 | ||
| @@ -56,6 +56,9 @@ func NewColorChooserDialog(TitleVar string, ParentVar *Window) *ColorChooserDial | |||||
| 56 | } | 56 | } | ||
| 57 | 57 | ||||
| 58 | func (c *ColorChooserDialog) GoPointer() uintptr { | 58 | func (c *ColorChooserDialog) GoPointer() uintptr { | ||
| 59 | + | if c == nil { | |||
| 60 | + | return 0 | |||
| 61 | + | } | |||
| 59 | return c.Ptr | 62 | return c.Ptr | ||
| 60 | } | 63 | } | ||
| 61 | 64 | ||||
M v4/gtk/gtkcolorchooserwidget.go +3 -0
| @@ -67,6 +67,9 @@ func NewColorChooserWidget() *ColorChooserWidget { | |||
| 67 | 67 | } | |
| 68 | 68 | ||
| 69 | 69 | func (c *ColorChooserWidget) GoPointer() uintptr { | |
| 70 | + | if c == nil { | |
| 71 | + | return 0 | |
| 72 | + | } | |
| 70 | 73 | return c.Ptr | |
| 71 | 74 | } | |
| 72 | 75 | ||
| @@ -67,6 +67,9 @@ func NewColorChooserWidget() *ColorChooserWidget { | |||||
| 67 | } | 67 | } | ||
| 68 | 68 | ||||
| 69 | func (c *ColorChooserWidget) GoPointer() uintptr { | 69 | func (c *ColorChooserWidget) GoPointer() uintptr { | ||
| 70 | + | if c == nil { | |||
| 71 | + | return 0 | |||
| 72 | + | } | |||
| 70 | return c.Ptr | 73 | return c.Ptr | ||
| 71 | } | 74 | } | ||
| 72 | 75 | ||||
M v4/gtk/gtkcolumnview.go +3 -0
| @@ -352,6 +352,9 @@ func (x *ColumnView) SortByColumn(ColumnVar *ColumnViewColumn, DirectionVar Sort | |||
| 352 | 352 | } | |
| 353 | 353 | ||
| 354 | 354 | func (c *ColumnView) GoPointer() uintptr { | |
| 355 | + | if c == nil { | |
| 356 | + | return 0 | |
| 357 | + | } | |
| 355 | 358 | return c.Ptr | |
| 356 | 359 | } | |
| 357 | 360 | ||
| @@ -352,6 +352,9 @@ func (x *ColumnView) SortByColumn(ColumnVar *ColumnViewColumn, DirectionVar Sort | |||||
| 352 | } | 352 | } | ||
| 353 | 353 | ||||
| 354 | func (c *ColumnView) GoPointer() uintptr { | 354 | func (c *ColumnView) GoPointer() uintptr { | ||
| 355 | + | if c == nil { | |||
| 356 | + | return 0 | |||
| 357 | + | } | |||
| 355 | return c.Ptr | 358 | return c.Ptr | ||
| 356 | } | 359 | } | ||
| 357 | 360 | ||||
M v4/gtk/gtkcolumnviewcolumn.go +3 -0
| @@ -288,6 +288,9 @@ func (x *ColumnViewColumn) SetVisible(VisibleVar bool) { | |||
| 288 | 288 | } | |
| 289 | 289 | ||
| 290 | 290 | func (c *ColumnViewColumn) GoPointer() uintptr { | |
| 291 | + | if c == nil { | |
| 292 | + | return 0 | |
| 293 | + | } | |
| 291 | 294 | return c.Ptr | |
| 292 | 295 | } | |
| 293 | 296 | ||
| @@ -288,6 +288,9 @@ func (x *ColumnViewColumn) SetVisible(VisibleVar bool) { | |||||
| 288 | } | 288 | } | ||
| 289 | 289 | ||||
| 290 | func (c *ColumnViewColumn) GoPointer() uintptr { | 290 | func (c *ColumnViewColumn) GoPointer() uintptr { | ||
| 291 | + | if c == nil { | |||
| 292 | + | return 0 | |||
| 293 | + | } | |||
| 291 | return c.Ptr | 294 | return c.Ptr | ||
| 292 | } | 295 | } | ||
| 293 | 296 | ||||
M v4/gtk/gtkcombobox.go +3 -0
| @@ -482,6 +482,9 @@ func (x *ComboBox) SetRowSeparatorFunc(FuncVar *TreeViewRowSeparatorFunc, DataVa | |||
| 482 | 482 | } | |
| 483 | 483 | ||
| 484 | 484 | func (c *ComboBox) GoPointer() uintptr { | |
| 485 | + | if c == nil { | |
| 486 | + | return 0 | |
| 487 | + | } | |
| 485 | 488 | return c.Ptr | |
| 486 | 489 | } | |
| 487 | 490 | ||
| @@ -482,6 +482,9 @@ func (x *ComboBox) SetRowSeparatorFunc(FuncVar *TreeViewRowSeparatorFunc, DataVa | |||||
| 482 | } | 482 | } | ||
| 483 | 483 | ||||
| 484 | func (c *ComboBox) GoPointer() uintptr { | 484 | func (c *ComboBox) GoPointer() uintptr { | ||
| 485 | + | if c == nil { | |||
| 486 | + | return 0 | |||
| 487 | + | } | |||
| 485 | return c.Ptr | 488 | return c.Ptr | ||
| 486 | } | 489 | } | ||
| 487 | 490 | ||||
M v4/gtk/gtkcomboboxtext.go +3 -0
| @@ -232,6 +232,9 @@ func (x *ComboBoxText) RemoveAll() { | |||
| 232 | 232 | } | |
| 233 | 233 | ||
| 234 | 234 | func (c *ComboBoxText) GoPointer() uintptr { | |
| 235 | + | if c == nil { | |
| 236 | + | return 0 | |
| 237 | + | } | |
| 235 | 238 | return c.Ptr | |
| 236 | 239 | } | |
| 237 | 240 | ||
| @@ -232,6 +232,9 @@ func (x *ComboBoxText) RemoveAll() { | |||||
| 232 | } | 232 | } | ||
| 233 | 233 | ||||
| 234 | func (c *ComboBoxText) GoPointer() uintptr { | 234 | func (c *ComboBoxText) GoPointer() uintptr { | ||
| 235 | + | if c == nil { | |||
| 236 | + | return 0 | |||
| 237 | + | } | |||
| 235 | return c.Ptr | 238 | return c.Ptr | ||
| 236 | } | 239 | } | ||
| 237 | 240 | ||||
M v4/gtk/gtkconstraint.go +6 -0
| @@ -49,6 +49,9 @@ type ConstraintTargetBase struct { | |||
| 49 | 49 | } | |
| 50 | 50 | ||
| 51 | 51 | func (x *ConstraintTargetBase) GoPointer() uintptr { | |
| 52 | + | if x == nil { | |
| 53 | + | return 0 | |
| 54 | + | } | |
| 52 | 55 | return x.Ptr | |
| 53 | 56 | } | |
| 54 | 57 | ||
| @@ -252,6 +255,9 @@ func (x *Constraint) IsRequired() bool { | |||
| 252 | 255 | } | |
| 253 | 256 | ||
| 254 | 257 | func (c *Constraint) GoPointer() uintptr { | |
| 258 | + | if c == nil { | |
| 259 | + | return 0 | |
| 260 | + | } | |
| 255 | 261 | return c.Ptr | |
| 256 | 262 | } | |
| 257 | 263 | ||
| @@ -49,6 +49,9 @@ type ConstraintTargetBase struct { | |||||
| 49 | } | 49 | } | ||
| 50 | 50 | ||||
| 51 | func (x *ConstraintTargetBase) GoPointer() uintptr { | 51 | func (x *ConstraintTargetBase) GoPointer() uintptr { | ||
| 52 | + | if x == nil { | |||
| 53 | + | return 0 | |||
| 54 | + | } | |||
| 52 | return x.Ptr | 55 | return x.Ptr | ||
| 53 | } | 56 | } | ||
| 54 | 57 | ||||
| @@ -252,6 +255,9 @@ func (x *Constraint) IsRequired() bool { | |||||
| 252 | } | 255 | } | ||
| 253 | 256 | ||||
| 254 | func (c *Constraint) GoPointer() uintptr { | 257 | func (c *Constraint) GoPointer() uintptr { | ||
| 258 | + | if c == nil { | |||
| 259 | + | return 0 | |||
| 260 | + | } | |||
| 255 | return c.Ptr | 261 | return c.Ptr | ||
| 256 | } | 262 | } | ||
| 257 | 263 | ||||
M v4/gtk/gtkconstraintguide.go +3 -0
| @@ -168,6 +168,9 @@ func (x *ConstraintGuide) SetStrength(StrengthVar ConstraintStrength) { | |||
| 168 | 168 | } | |
| 169 | 169 | ||
| 170 | 170 | func (c *ConstraintGuide) GoPointer() uintptr { | |
| 171 | + | if c == nil { | |
| 172 | + | return 0 | |
| 173 | + | } | |
| 171 | 174 | return c.Ptr | |
| 172 | 175 | } | |
| 173 | 176 | ||
| @@ -168,6 +168,9 @@ func (x *ConstraintGuide) SetStrength(StrengthVar ConstraintStrength) { | |||||
| 168 | } | 168 | } | ||
| 169 | 169 | ||||
| 170 | func (c *ConstraintGuide) GoPointer() uintptr { | 170 | func (c *ConstraintGuide) GoPointer() uintptr { | ||
| 171 | + | if c == nil { | |||
| 172 | + | return 0 | |||
| 173 | + | } | |||
| 171 | return c.Ptr | 174 | return c.Ptr | ||
| 172 | } | 175 | } | ||
| 173 | 176 | ||||
M v4/gtk/gtkconstraintlayout.go +6 -0
| @@ -462,6 +462,9 @@ func (x *ConstraintLayout) RemoveGuide(GuideVar *ConstraintGuide) { | |||
| 462 | 462 | } | |
| 463 | 463 | ||
| 464 | 464 | func (c *ConstraintLayout) GoPointer() uintptr { | |
| 465 | + | if c == nil { | |
| 466 | + | return 0 | |
| 467 | + | } | |
| 465 | 468 | return c.Ptr | |
| 466 | 469 | } | |
| 467 | 470 | ||
| @@ -497,6 +500,9 @@ func ConstraintLayoutChildNewFromInternalPtr(ptr uintptr) *ConstraintLayoutChild | |||
| 497 | 500 | } | |
| 498 | 501 | ||
| 499 | 502 | func (c *ConstraintLayoutChild) GoPointer() uintptr { | |
| 503 | + | if c == nil { | |
| 504 | + | return 0 | |
| 505 | + | } | |
| 500 | 506 | return c.Ptr | |
| 501 | 507 | } | |
| 502 | 508 | ||
| @@ -462,6 +462,9 @@ func (x *ConstraintLayout) RemoveGuide(GuideVar *ConstraintGuide) { | |||||
| 462 | } | 462 | } | ||
| 463 | 463 | ||||
| 464 | func (c *ConstraintLayout) GoPointer() uintptr { | 464 | func (c *ConstraintLayout) GoPointer() uintptr { | ||
| 465 | + | if c == nil { | |||
| 466 | + | return 0 | |||
| 467 | + | } | |||
| 465 | return c.Ptr | 468 | return c.Ptr | ||
| 466 | } | 469 | } | ||
| 467 | 470 | ||||
| @@ -497,6 +500,9 @@ func ConstraintLayoutChildNewFromInternalPtr(ptr uintptr) *ConstraintLayoutChild | |||||
| 497 | } | 500 | } | ||
| 498 | 501 | ||||
| 499 | func (c *ConstraintLayoutChild) GoPointer() uintptr { | 502 | func (c *ConstraintLayoutChild) GoPointer() uintptr { | ||
| 503 | + | if c == nil { | |||
| 504 | + | return 0 | |||
| 505 | + | } | |||
| 500 | return c.Ptr | 506 | return c.Ptr | ||
| 501 | } | 507 | } | ||
| 502 | 508 | ||||
M v4/gtk/gtkcssprovider.go +3 -0
| @@ -164,6 +164,9 @@ func (x *CssProvider) ToString() string { | |||
| 164 | 164 | } | |
| 165 | 165 | ||
| 166 | 166 | func (c *CssProvider) GoPointer() uintptr { | |
| 167 | + | if c == nil { | |
| 168 | + | return 0 | |
| 169 | + | } | |
| 167 | 170 | return c.Ptr | |
| 168 | 171 | } | |
| 169 | 172 | ||
| @@ -164,6 +164,9 @@ func (x *CssProvider) ToString() string { | |||||
| 164 | } | 164 | } | ||
| 165 | 165 | ||||
| 166 | func (c *CssProvider) GoPointer() uintptr { | 166 | func (c *CssProvider) GoPointer() uintptr { | ||
| 167 | + | if c == nil { | |||
| 168 | + | return 0 | |||
| 169 | + | } | |||
| 167 | return c.Ptr | 170 | return c.Ptr | ||
| 168 | } | 171 | } | ||
| 169 | 172 | ||||
M v4/gtk/gtkcustomfilter.go +3 -0
| @@ -84,6 +84,9 @@ func (x *CustomFilter) SetFilterFunc(MatchFuncVar *CustomFilterFunc, UserDataVar | |||
| 84 | 84 | } | |
| 85 | 85 | ||
| 86 | 86 | func (c *CustomFilter) GoPointer() uintptr { | |
| 87 | + | if c == nil { | |
| 88 | + | return 0 | |
| 89 | + | } | |
| 87 | 90 | return c.Ptr | |
| 88 | 91 | } | |
| 89 | 92 | ||
| @@ -84,6 +84,9 @@ func (x *CustomFilter) SetFilterFunc(MatchFuncVar *CustomFilterFunc, UserDataVar | |||||
| 84 | } | 84 | } | ||
| 85 | 85 | ||||
| 86 | func (c *CustomFilter) GoPointer() uintptr { | 86 | func (c *CustomFilter) GoPointer() uintptr { | ||
| 87 | + | if c == nil { | |||
| 88 | + | return 0 | |||
| 89 | + | } | |||
| 87 | return c.Ptr | 90 | return c.Ptr | ||
| 88 | } | 91 | } | ||
| 89 | 92 | ||||
M v4/gtk/gtkcustomlayout.go +3 -0
| @@ -73,6 +73,9 @@ func NewCustomLayout(RequestModeVar *CustomRequestModeFunc, MeasureVar *CustomMe | |||
| 73 | 73 | } | |
| 74 | 74 | ||
| 75 | 75 | func (c *CustomLayout) GoPointer() uintptr { | |
| 76 | + | if c == nil { | |
| 77 | + | return 0 | |
| 78 | + | } | |
| 76 | 79 | return c.Ptr | |
| 77 | 80 | } | |
| 78 | 81 | ||
| @@ -73,6 +73,9 @@ func NewCustomLayout(RequestModeVar *CustomRequestModeFunc, MeasureVar *CustomMe | |||||
| 73 | } | 73 | } | ||
| 74 | 74 | ||||
| 75 | func (c *CustomLayout) GoPointer() uintptr { | 75 | func (c *CustomLayout) GoPointer() uintptr { | ||
| 76 | + | if c == nil { | |||
| 77 | + | return 0 | |||
| 78 | + | } | |||
| 76 | return c.Ptr | 79 | return c.Ptr | ||
| 77 | } | 80 | } | ||
| 78 | 81 | ||||
M v4/gtk/gtkcustomsorter.go +3 -0
| @@ -76,6 +76,9 @@ func (x *CustomSorter) SetSortFunc(SortFuncVar *glib.CompareDataFunc, UserDataVa | |||
| 76 | 76 | } | |
| 77 | 77 | ||
| 78 | 78 | func (c *CustomSorter) GoPointer() uintptr { | |
| 79 | + | if c == nil { | |
| 80 | + | return 0 | |
| 81 | + | } | |
| 79 | 82 | return c.Ptr | |
| 80 | 83 | } | |
| 81 | 84 | ||
| @@ -76,6 +76,9 @@ func (x *CustomSorter) SetSortFunc(SortFuncVar *glib.CompareDataFunc, UserDataVa | |||||
| 76 | } | 76 | } | ||
| 77 | 77 | ||||
| 78 | func (c *CustomSorter) GoPointer() uintptr { | 78 | func (c *CustomSorter) GoPointer() uintptr { | ||
| 79 | + | if c == nil { | |||
| 80 | + | return 0 | |||
| 81 | + | } | |||
| 79 | return c.Ptr | 82 | return c.Ptr | ||
| 80 | } | 83 | } | ||
| 81 | 84 | ||||
M v4/gtk/gtkdialog.go +3 -0
| @@ -451,6 +451,9 @@ func (x *Dialog) SetResponseSensitive(ResponseIdVar int, SettingVar bool) { | |||
| 451 | 451 | } | |
| 452 | 452 | ||
| 453 | 453 | func (c *Dialog) GoPointer() uintptr { | |
| 454 | + | if c == nil { | |
| 455 | + | return 0 | |
| 456 | + | } | |
| 454 | 457 | return c.Ptr | |
| 455 | 458 | } | |
| 456 | 459 | ||
| @@ -451,6 +451,9 @@ func (x *Dialog) SetResponseSensitive(ResponseIdVar int, SettingVar bool) { | |||||
| 451 | } | 451 | } | ||
| 452 | 452 | ||||
| 453 | func (c *Dialog) GoPointer() uintptr { | 453 | func (c *Dialog) GoPointer() uintptr { | ||
| 454 | + | if c == nil { | |||
| 455 | + | return 0 | |||
| 456 | + | } | |||
| 454 | return c.Ptr | 457 | return c.Ptr | ||
| 455 | } | 458 | } | ||
| 456 | 459 | ||||
M v4/gtk/gtkdirectorylist.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkdragicon.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkdragsource.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkdrawingarea.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkdropcontrollermotion.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkdropdown.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkdroptarget.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkdroptargetasync.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkeditable.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkeditablelabel.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkemojichooser.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkentry.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkentrybuffer.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkentrycompletion.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkeventcontroller.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkeventcontrollerfocus.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkeventcontrollerkey.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkeventcontrollerlegacy.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkeventcontrollermotion.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkeventcontrollerscroll.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkexpander.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkexpression.go +21 -0 collapsed to keep the page light
M v4/gtk/gtkfilechooser.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkfilechooserdialog.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkfilechoosernative.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkfilechooserwidget.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkfilefilter.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkfilter.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkfilterlistmodel.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkfixed.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkfixedlayout.go +6 -0 collapsed to keep the page light
M v4/gtk/gtkflattenlistmodel.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkflowbox.go +6 -0 collapsed to keep the page light
M v4/gtk/gtkfontbutton.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkfontchooser.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkfontchooserdialog.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkfontchooserwidget.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkframe.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkgesture.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkgestureclick.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkgesturedrag.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkgesturelongpress.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkgesturepan.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkgesturerotate.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkgesturesingle.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkgesturestylus.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkgestureswipe.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkgesturezoom.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkglarea.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkgrid.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkgridlayout.go +6 -0 collapsed to keep the page light
M v4/gtk/gtkgridview.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkheaderbar.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkicontheme.go +6 -0 collapsed to keep the page light
M v4/gtk/gtkiconview.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkimage.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkimcontext.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkimcontextsimple.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkimmulticontext.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkinfobar.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkinscription.go +3 -0 collapsed to keep the page light
M v4/gtk/gtklabel.go +3 -0 collapsed to keep the page light
M v4/gtk/gtklayoutchild.go +3 -0 collapsed to keep the page light
M v4/gtk/gtklayoutmanager.go +3 -0 collapsed to keep the page light
M v4/gtk/gtklevelbar.go +3 -0 collapsed to keep the page light
M v4/gtk/gtklinkbutton.go +3 -0 collapsed to keep the page light
M v4/gtk/gtklistbase.go +3 -0 collapsed to keep the page light
M v4/gtk/gtklistbox.go +6 -0 collapsed to keep the page light
M v4/gtk/gtklistitem.go +3 -0 collapsed to keep the page light
M v4/gtk/gtklistitemfactory.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkliststore.go +3 -0 collapsed to keep the page light
M v4/gtk/gtklistview.go +3 -0 collapsed to keep the page light
M v4/gtk/gtklockbutton.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkmaplistmodel.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkmediacontrols.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkmediafile.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkmediastream.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkmenubutton.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkmessagedialog.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkmountoperation.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkmultifilter.go +9 -0 collapsed to keep the page light
M v4/gtk/gtkmultiselection.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkmultisorter.go +3 -0 collapsed to keep the page light
M v4/gtk/gtknative.go +3 -0 collapsed to keep the page light
M v4/gtk/gtknativedialog.go +3 -0 collapsed to keep the page light
M v4/gtk/gtknoselection.go +3 -0 collapsed to keep the page light
M v4/gtk/gtknotebook.go +6 -0 collapsed to keep the page light
M v4/gtk/gtknumericsorter.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkorientable.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkoverlay.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkoverlaylayout.go +6 -0 collapsed to keep the page light
M v4/gtk/gtkpadcontroller.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkpagesetup.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkpagesetupunixdialog.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkpaned.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkpasswordentry.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkpasswordentrybuffer.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkpicture.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkpopover.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkpopovermenu.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkpopovermenubar.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkprintcontext.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkprinter.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkprintjob.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkprintoperation.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkprintoperationpreview.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkprintsettings.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkprintunixdialog.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkprogressbar.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkrange.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkrecentmanager.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkrevealer.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkroot.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkscale.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkscalebutton.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkscrollable.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkscrollbar.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkscrolledwindow.go +3 -0 collapsed to keep the page light
M v4/gtk/gtksearchbar.go +3 -0 collapsed to keep the page light
M v4/gtk/gtksearchentry.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkselectionfiltermodel.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkselectionmodel.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkseparator.go +3 -0 collapsed to keep the page light
M v4/gtk/gtksettings.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkshortcut.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkshortcutaction.go +21 -0 collapsed to keep the page light
M v4/gtk/gtkshortcutcontroller.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkshortcutlabel.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkshortcutmanager.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkshortcutsgroup.go +3 -0
| @@ -42,6 +42,9 @@ func ShortcutsGroupNewFromInternalPtr(ptr uintptr) *ShortcutsGroup { | |||
| 42 | 42 | } | |
| 43 | 43 | ||
| 44 | 44 | func (c *ShortcutsGroup) GoPointer() uintptr { | |
| 45 | + | if c == nil { | |
| 46 | + | return 0 | |
| 47 | + | } | |
| 45 | 48 | return c.Ptr | |
| 46 | 49 | } | |
| 47 | 50 | ||
| @@ -42,6 +42,9 @@ func ShortcutsGroupNewFromInternalPtr(ptr uintptr) *ShortcutsGroup { | |||||
| 42 | } | 42 | } | ||
| 43 | 43 | ||||
| 44 | func (c *ShortcutsGroup) GoPointer() uintptr { | 44 | func (c *ShortcutsGroup) GoPointer() uintptr { | ||
| 45 | + | if c == nil { | |||
| 46 | + | return 0 | |||
| 47 | + | } | |||
| 45 | return c.Ptr | 48 | return c.Ptr | ||
| 46 | } | 49 | } | ||
| 47 | 50 | ||||