Merge branch 'dev'
663 files · +9126 -418
M internal/core/core.go +7 -3
| @@ -228,11 +228,15 @@ func GoString(c uintptr) string { | |||
| 228 | 228 | } | |
| 229 | 229 | ||
| 230 | 230 | // NullableStringToPtr converts a nullable Go string to a uintptr suitable for C calls. | |
| 231 | - | func NullableStringToPtr(s *string) uintptr { | |
| 231 | + | // Returns both the pointer and the backing byte slice. The caller MUST call | |
| 232 | + | // runtime.KeepAlive(bytes) after the C call completes to prevent GC from collecting | |
| 233 | + | // the memory before C has finished reading it. | |
| 234 | + | func NullableStringToPtr(s *string) (uintptr, []byte) { | |
| 232 | 235 | if s == nil { | |
| 233 | - | return 0 | |
| 236 | + | return 0, nil | |
| 234 | 237 | } | |
| 235 | - | return uintptr(unsafe.Pointer(CString(*s))) | |
| 238 | + | b := append([]byte(*s), 0) | |
| 239 | + | return uintptr(unsafe.Pointer(&b[0])), b | |
| 236 | 240 | } | |
| 237 | 241 | ||
| 238 | 242 | // PtrToNullableString converts a nullable char* to a Go *string (nil when NULL). | |
M internal/gir/types/template.go +17 -2
| @@ -38,6 +38,14 @@ type CallbackParam struct { | |||
| 38 | 38 | Nullable bool | |
| 39 | 39 | } | |
| 40 | 40 | ||
| 41 | + | // NullableStringParam holds metadata for nullable string parameters that need | |
| 42 | + | // runtime.KeepAlive to prevent GC from collecting the backing memory before | |
| 43 | + | // the C function returns. | |
| 44 | + | type NullableStringParam struct { | |
| 45 | + | // Name is the parameter name (e.g., "DataDirectoryVar") | |
| 46 | + | Name string | |
| 47 | + | } | |
| 48 | + | ||
| 41 | 49 | type funcArgsTemplate struct { | |
| 42 | 50 | // Pure are the arguments as passed directly to PureGo | |
| 43 | 51 | // The pure Call is a special case that contains the arguments for a callback call | |
| @@ -49,6 +57,9 @@ type funcArgsTemplate struct { | |||
| 49 | 57 | // Callbacks tracks callback parameters for proper closure generation | |
| 50 | 58 | Callbacks []CallbackParam | |
| 51 | 59 | ||
| 60 | + | // NullableStrings tracks nullable string parameters that need runtime.KeepAlive | |
| 61 | + | NullableStrings []NullableStringParam | |
| 62 | + | ||
| 52 | 63 | // UsesNullableHelper indicates nullable string handling that needs core import. | |
| 53 | 64 | UsesNullableHelper bool | |
| 54 | 65 | } | |
| @@ -153,11 +164,14 @@ func (f *funcArgsTemplate) AddAPI(t string, n string, k Kind, ns string, nullabl | |||
| 153 | 164 | } else { | |
| 154 | 165 | // Nullable strings differ based on direction. For Go->C we need a *string API type | |
| 155 | 166 | // and pass a pointer (or nil) to C. For C->Go we keep the string as-is. | |
| 167 | + | // We track these parameters for runtime.KeepAlive to prevent GC issues. | |
| 156 | 168 | if ctx == ArgsFromGoToC && nullable && isStringType(t) { | |
| 157 | 169 | f.UsesNullableHelper = true | |
| 158 | 170 | t = "*string" | |
| 159 | - | c = fmt.Sprintf("core.NullableStringToPtr(%s)", n) | |
| 171 | + | c = fmt.Sprintf("%sPtr", n) | |
| 160 | 172 | cRef = c | |
| 173 | + | // Track this parameter for keepalive generation | |
| 174 | + | f.NullableStrings = append(f.NullableStrings, NullableStringParam{Name: n}) | |
| 161 | 175 | } | |
| 162 | 176 | ||
| 163 | 177 | switch k { | |
| @@ -227,7 +241,8 @@ func (f *funcArgsTemplate) AddPure(t string, n string, k Kind, isOut bool, nulla | |||
| 227 | 241 | if ctx == ArgsFromGoToC && nullable && isStringType(t) { | |
| 228 | 242 | f.UsesNullableHelper = true | |
| 229 | 243 | t = "uintptr" | |
| 230 | - | c = fmt.Sprintf("core.NullableStringToPtr(%s)", strings.TrimSuffix(n, "p")) | |
| 244 | + | // Use the pointer variable that will be set up by the template | |
| 245 | + | c = fmt.Sprintf("%sPtr", strings.TrimSuffix(n, "p")) | |
| 231 | 246 | } | |
| 232 | 247 | ||
| 233 | 248 | switch k { | |
M templates/go +51 -6
| @@ -29,6 +29,9 @@ import ( | |||
| 29 | 29 | {{- if $HasDetailedSignals}} | |
| 30 | 30 | "fmt" | |
| 31 | 31 | {{- end}} | |
| 32 | + | {{- if $NeedsCore}} | |
| 33 | + | "runtime" | |
| 34 | + | {{- end}} | |
| 32 | 35 | {{- if .Records}} | |
| 33 | 36 | "structs" | |
| 34 | 37 | {{- end}} | |
| @@ -77,7 +80,6 @@ var x{{.Name}} func({{conv .Args.Pure.Types}}) {{.Ret.Raw}} | |||
| 77 | 80 | {{.Doc}} | |
| 78 | 81 | func {{.Name}}({{conv .Args.API.Full}}) {{.Ret.Return}} { | |
| 79 | 82 | {{.Ret.Preamble $NotGLib}} | |
| 80 | - | {{- /* Generate closure wrappers for callback parameters */}} | |
| 81 | 83 | {{range .Args.Callbacks}} | |
| 82 | 84 | var {{.Name}}Ref uintptr | |
| 83 | 85 | if {{.Name}} != nil { | |
| @@ -94,7 +96,13 @@ func {{.Name}}({{conv .Args.API.Full}}) {{.Ret.Return}} { | |||
| 94 | 96 | } | |
| 95 | 97 | } | |
| 96 | 98 | {{end}} | |
| 99 | + | {{range .Args.NullableStrings}} | |
| 100 | + | {{.Name}}Ptr, {{.Name}}Bytes := core.NullableStringToPtr({{.Name}}) | |
| 101 | + | {{end}} | |
| 97 | 102 | {{if .Ret.Value}}cret :={{end}}x{{.Name}}({{convd .Args.API.CallWithRefs}}) | |
| 103 | + | {{range .Args.NullableStrings}} | |
| 104 | + | runtime.KeepAlive({{.Name}}Bytes) | |
| 105 | + | {{end}} | |
| 98 | 106 | {{.Ret.Fmt $NotGObject}} | |
| 99 | 107 | } | |
| 100 | 108 | {{end}} | |
| @@ -106,7 +114,6 @@ var x{{$outer.Name}}{{.Name}} func(uintptr {{convc .Args.Pure.Types}}) {{.Ret.Ra | |||
| 106 | 114 | {{.Doc}} | |
| 107 | 115 | func (x *{{$outer.Name}}) {{.Name}}({{conv .Args.API.Full}}) {{.Ret.Return}} { | |
| 108 | 116 | {{.Ret.Preamble $NotGLib}} | |
| 109 | - | {{- /* Generate closure wrappers for callback parameters */}} | |
| 110 | 117 | {{range .Args.Callbacks}} | |
| 111 | 118 | var {{.Name}}Ref uintptr | |
| 112 | 119 | if {{.Name}} != nil { | |
| @@ -123,7 +130,13 @@ func (x *{{$outer.Name}}) {{.Name}}({{conv .Args.API.Full}}) {{.Ret.Return}} { | |||
| 123 | 130 | } | |
| 124 | 131 | } | |
| 125 | 132 | {{end}} | |
| 133 | + | {{range .Args.NullableStrings}} | |
| 134 | + | {{.Name}}Ptr, {{.Name}}Bytes := core.NullableStringToPtr({{.Name}}) | |
| 135 | + | {{end}} | |
| 126 | 136 | {{if .Ret.Value}}cret :={{end}}x{{$outer.Name}}{{.Name}}(x.GoPointer() {{convcd .Args.API.CallWithRefs}}) | |
| 137 | + | {{range .Args.NullableStrings}} | |
| 138 | + | runtime.KeepAlive({{.Name}}Bytes) | |
| 139 | + | {{end}} | |
| 127 | 140 | {{.Ret.Fmt $NotGObject}} | |
| 128 | 141 | } | |
| 129 | 142 | {{end}} | |
| @@ -204,7 +217,13 @@ func (x *{{.Name}}Base) SetGoPointer(ptr uintptr) { | |||
| 204 | 217 | {{.Doc}} | |
| 205 | 218 | func (x *{{$outer.Name}}Base) {{.Name}}({{conv .Args.API.Full}}) {{.Ret.Return}} { | |
| 206 | 219 | {{.Ret.Preamble $NotGLib}} | |
| 220 | + | {{range .Args.NullableStrings}} | |
| 221 | + | {{.Name}}Ptr, {{.Name}}Bytes := core.NullableStringToPtr({{.Name}}) | |
| 222 | + | {{end}} | |
| 207 | 223 | {{if .Ret.Value}}cret := {{end}}{{.Namespace}}X{{.FullName}}(x.GoPointer() {{convcd .Args.API.Call}}) | |
| 224 | + | {{range .Args.NullableStrings}} | |
| 225 | + | runtime.KeepAlive({{.Name}}Bytes) | |
| 226 | + | {{end}} | |
| 208 | 227 | {{.Ret.Fmt $NotGObject}} | |
| 209 | 228 | } | |
| 210 | 229 | {{end}} | |
| @@ -284,7 +303,6 @@ var x{{.Name}} func({{conv .Args.Pure.Types}}) {{.Ret.Raw}} | |||
| 284 | 303 | {{.Doc}} | |
| 285 | 304 | func {{.Name}}({{conv .Args.API.Full}}) {{.Ret.Return}} { | |
| 286 | 305 | {{.Ret.Preamble $NotGLib}} | |
| 287 | - | {{- /* Generate closure wrappers for callback parameters */}} | |
| 288 | 306 | {{range .Args.Callbacks}} | |
| 289 | 307 | var {{.Name}}Ref uintptr | |
| 290 | 308 | if {{.Name}} != nil { | |
| @@ -301,7 +319,13 @@ func {{.Name}}({{conv .Args.API.Full}}) {{.Ret.Return}} { | |||
| 301 | 319 | } | |
| 302 | 320 | } | |
| 303 | 321 | {{end}} | |
| 322 | + | {{range .Args.NullableStrings}} | |
| 323 | + | {{.Name}}Ptr, {{.Name}}Bytes := core.NullableStringToPtr({{.Name}}) | |
| 324 | + | {{end}} | |
| 304 | 325 | {{if .Ret.Value}}cret := {{end}}x{{.Name}}({{convd .Args.API.CallWithRefs}}) | |
| 326 | + | {{range .Args.NullableStrings}} | |
| 327 | + | runtime.KeepAlive({{.Name}}Bytes) | |
| 328 | + | {{end}} | |
| 305 | 329 | {{.Ret.Fmt $NotGObject}} | |
| 306 | 330 | } | |
| 307 | 331 | {{end}} | |
| @@ -336,7 +360,6 @@ var x{{.Name}} func({{conv .Args.Pure.Types}}) {{.Ret.Raw}} | |||
| 336 | 360 | {{.Doc}} | |
| 337 | 361 | func {{.Name}}({{conv .Args.API.Full}}) {{.Ret.Return}} { | |
| 338 | 362 | {{.Ret.Preamble $NotGLib}} | |
| 339 | - | {{- /* Generate closure wrappers for callback parameters */}} | |
| 340 | 363 | {{range .Args.Callbacks}} | |
| 341 | 364 | var {{.Name}}Ref uintptr | |
| 342 | 365 | if {{.Name}} != nil { | |
| @@ -353,7 +376,13 @@ func {{.Name}}({{conv .Args.API.Full}}) {{.Ret.Return}} { | |||
| 353 | 376 | } | |
| 354 | 377 | } | |
| 355 | 378 | {{end}} | |
| 379 | + | {{range .Args.NullableStrings}} | |
| 380 | + | {{.Name}}Ptr, {{.Name}}Bytes := core.NullableStringToPtr({{.Name}}) | |
| 381 | + | {{end}} | |
| 356 | 382 | {{if .Ret.Value}}cret :={{end}}x{{.Name}}({{convd .Args.API.CallWithRefs}}) | |
| 383 | + | {{range .Args.NullableStrings}} | |
| 384 | + | runtime.KeepAlive({{.Name}}Bytes) | |
| 385 | + | {{end}} | |
| 357 | 386 | {{.Ret.Fmt $NotGObject}} | |
| 358 | 387 | } | |
| 359 | 388 | {{end}} | |
| @@ -365,7 +394,6 @@ var x{{$outer.Name}}{{.Name}} func(uintptr {{convc .Args.Pure.Types}}) {{.Ret.Ra | |||
| 365 | 394 | {{.Doc}} | |
| 366 | 395 | func (x *{{$outer.Name}}) {{.Name}}({{conv .Args.API.Full}}) {{.Ret.Return}} { | |
| 367 | 396 | {{.Ret.Preamble $NotGLib}} | |
| 368 | - | {{- /* Generate closure wrappers for callback parameters */}} | |
| 369 | 397 | {{range .Args.Callbacks}} | |
| 370 | 398 | var {{.Name}}Ref uintptr | |
| 371 | 399 | if {{.Name}} != nil { | |
| @@ -382,7 +410,13 @@ func (x *{{$outer.Name}}) {{.Name}}({{conv .Args.API.Full}}) {{.Ret.Return}} { | |||
| 382 | 410 | } | |
| 383 | 411 | } | |
| 384 | 412 | {{end}} | |
| 413 | + | {{range .Args.NullableStrings}} | |
| 414 | + | {{.Name}}Ptr, {{.Name}}Bytes := core.NullableStringToPtr({{.Name}}) | |
| 415 | + | {{end}} | |
| 385 | 416 | {{if .Ret.Value}}cret :={{end}}x{{$outer.Name}}{{.Name}}(x.GoPointer() {{convcd .Args.API.CallWithRefs}}) | |
| 417 | + | {{range .Args.NullableStrings}} | |
| 418 | + | runtime.KeepAlive({{.Name}}Bytes) | |
| 419 | + | {{end}} | |
| 386 | 420 | {{.Ret.Fmt $NotGObject}} | |
| 387 | 421 | } | |
| 388 | 422 | {{end}} | |
| @@ -481,7 +515,13 @@ func (x *{{$outer.Name}}) Connect{{.Name}}WithDetail(detail string, cb *func({{$ | |||
| 481 | 515 | {{.Doc}} | |
| 482 | 516 | func (x *{{$outer.Name}}) {{.Name}}({{conv .Args.API.Full}}) {{.Ret.Return}} { | |
| 483 | 517 | {{.Ret.Preamble $NotGLib}} | |
| 518 | + | {{range .Args.NullableStrings}} | |
| 519 | + | {{.Name}}Ptr, {{.Name}}Bytes := core.NullableStringToPtr({{.Name}}) | |
| 520 | + | {{end}} | |
| 484 | 521 | {{if .Ret.Value}}cret := {{end}} {{.Namespace}}X{{.FullName}}(x.GoPointer() {{convcd .Args.API.Call}}) | |
| 522 | + | {{range .Args.NullableStrings}} | |
| 523 | + | runtime.KeepAlive({{.Name}}Bytes) | |
| 524 | + | {{end}} | |
| 485 | 525 | {{.Ret.Fmt $NotGObject}} | |
| 486 | 526 | } | |
| 487 | 527 | {{end}} | |
| @@ -493,7 +533,6 @@ var x{{.Name}} func({{conv .Args.Pure.Types}}) {{.Ret.Raw}} | |||
| 493 | 533 | {{.Doc}} | |
| 494 | 534 | func {{.Name}}({{conv .Args.API.Full}}) {{.Ret.Return}} { | |
| 495 | 535 | {{.Ret.Preamble $NotGLib}} | |
| 496 | - | {{- /* Generate closure wrappers for callback parameters */}} | |
| 497 | 536 | {{range .Args.Callbacks}} | |
| 498 | 537 | var {{.Name}}Ref uintptr | |
| 499 | 538 | if {{.Name}} != nil { | |
| @@ -510,7 +549,13 @@ func {{.Name}}({{conv .Args.API.Full}}) {{.Ret.Return}} { | |||
| 510 | 549 | } | |
| 511 | 550 | } | |
| 512 | 551 | {{end}} | |
| 552 | + | {{range .Args.NullableStrings}} | |
| 553 | + | {{.Name}}Ptr, {{.Name}}Bytes := core.NullableStringToPtr({{.Name}}) | |
| 554 | + | {{end}} | |
| 513 | 555 | {{if .Ret.Value}}cret := {{end}}x{{.Name}}({{convd .Args.API.CallWithRefs}}) | |
| 556 | + | {{range .Args.NullableStrings}} | |
| 557 | + | runtime.KeepAlive({{.Name}}Bytes) | |
| 558 | + | {{end}} | |
| 514 | 559 | {{.Ret.Fmt $NotGObject}} | |
| 515 | 560 | } | |
| 516 | 561 | {{end}} | |
M v4/adw/adw-about-dialog.go +54 -5
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package adw | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "runtime" | |
| 5 | 6 | "structs" | |
| 6 | 7 | "unsafe" | |
| 7 | 8 | ||
| @@ -40,7 +41,11 @@ var xShowAboutDialogFromAppdata func(uintptr, string, uintptr, string, ...interf | |||
| 40 | 41 | // See [ctor@AboutDialog.new_from_appdata] for details. | |
| 41 | 42 | func ShowAboutDialogFromAppdata(ParentVar *gtk.Widget, ResourcePathVar string, ReleaseNotesVersionVar *string, FirstPropertyNameVar string, varArgs ...interface{}) { | |
| 42 | 43 | ||
| 43 | - | xShowAboutDialogFromAppdata(ParentVar.GoPointer(), ResourcePathVar, core.NullableStringToPtr(ReleaseNotesVersionVar), FirstPropertyNameVar, varArgs...) | |
| 44 | + | ReleaseNotesVersionVarPtr, ReleaseNotesVersionVarBytes := core.NullableStringToPtr(ReleaseNotesVersionVar) | |
| 45 | + | ||
| 46 | + | xShowAboutDialogFromAppdata(ParentVar.GoPointer(), ResourcePathVar, ReleaseNotesVersionVarPtr, FirstPropertyNameVar, varArgs...) | |
| 47 | + | ||
| 48 | + | runtime.KeepAlive(ReleaseNotesVersionVarBytes) | |
| 44 | 49 | ||
| 45 | 50 | } | |
| 46 | 51 | ||
| @@ -279,7 +284,11 @@ var xNewAboutDialogFromAppdata func(string, uintptr) uintptr | |||
| 279 | 284 | func NewAboutDialogFromAppdata(ResourcePathVar string, ReleaseNotesVersionVar *string) *AboutDialog { | |
| 280 | 285 | var cls *AboutDialog | |
| 281 | 286 | ||
| 282 | - | cret := xNewAboutDialogFromAppdata(ResourcePathVar, core.NullableStringToPtr(ReleaseNotesVersionVar)) | |
| 287 | + | ReleaseNotesVersionVarPtr, ReleaseNotesVersionVarBytes := core.NullableStringToPtr(ReleaseNotesVersionVar) | |
| 288 | + | ||
| 289 | + | cret := xNewAboutDialogFromAppdata(ResourcePathVar, ReleaseNotesVersionVarPtr) | |
| 290 | + | ||
| 291 | + | runtime.KeepAlive(ReleaseNotesVersionVarBytes) | |
| 283 | 292 | ||
| 284 | 293 | if cret == 0 { | |
| 285 | 294 | return nil | |
| @@ -311,7 +320,11 @@ var xAboutDialogAddAcknowledgementSection func(uintptr, uintptr, []string) | |||
| 311 | 320 | // * [method@AboutDialog.add_credit_section] | |
| 312 | 321 | func (x *AboutDialog) AddAcknowledgementSection(NameVar *string, PeopleVar []string) { | |
| 313 | 322 | ||
| 314 | - | xAboutDialogAddAcknowledgementSection(x.GoPointer(), core.NullableStringToPtr(NameVar), PeopleVar) | |
| 323 | + | NameVarPtr, NameVarBytes := core.NullableStringToPtr(NameVar) | |
| 324 | + | ||
| 325 | + | xAboutDialogAddAcknowledgementSection(x.GoPointer(), NameVarPtr, PeopleVar) | |
| 326 | + | ||
| 327 | + | runtime.KeepAlive(NameVarBytes) | |
| 315 | 328 | ||
| 316 | 329 | } | |
| 317 | 330 | ||
| @@ -334,7 +347,11 @@ var xAboutDialogAddCreditSection func(uintptr, uintptr, []string) | |||
| 334 | 347 | // * [method@AboutDialog.add_acknowledgement_section] | |
| 335 | 348 | func (x *AboutDialog) AddCreditSection(NameVar *string, PeopleVar []string) { | |
| 336 | 349 | ||
| 337 | - | xAboutDialogAddCreditSection(x.GoPointer(), core.NullableStringToPtr(NameVar), PeopleVar) | |
| 350 | + | NameVarPtr, NameVarBytes := core.NullableStringToPtr(NameVar) | |
| 351 | + | ||
| 352 | + | xAboutDialogAddCreditSection(x.GoPointer(), NameVarPtr, PeopleVar) | |
| 353 | + | ||
| 354 | + | runtime.KeepAlive(NameVarBytes) | |
| 338 | 355 | ||
| 339 | 356 | } | |
| 340 | 357 | ||
| @@ -387,7 +404,15 @@ var xAboutDialogAddLegalSection func(uintptr, string, uintptr, gtk.License, uint | |||
| 387 | 404 | // ``` | |
| 388 | 405 | func (x *AboutDialog) AddLegalSection(TitleVar string, CopyrightVar *string, LicenseTypeVar gtk.License, LicenseVar *string) { | |
| 389 | 406 | ||
| 390 | - | xAboutDialogAddLegalSection(x.GoPointer(), TitleVar, core.NullableStringToPtr(CopyrightVar), LicenseTypeVar, core.NullableStringToPtr(LicenseVar)) | |
| 407 | + | CopyrightVarPtr, CopyrightVarBytes := core.NullableStringToPtr(CopyrightVar) | |
| 408 | + | ||
| 409 | + | LicenseVarPtr, LicenseVarBytes := core.NullableStringToPtr(LicenseVar) | |
| 410 | + | ||
| 411 | + | xAboutDialogAddLegalSection(x.GoPointer(), TitleVar, CopyrightVarPtr, LicenseTypeVar, LicenseVarPtr) | |
| 412 | + | ||
| 413 | + | runtime.KeepAlive(CopyrightVarBytes) | |
| 414 | + | ||
| 415 | + | runtime.KeepAlive(LicenseVarBytes) | |
| 391 | 416 | ||
| 392 | 417 | } | |
| 393 | 418 | ||
| @@ -439,6 +464,7 @@ var xAboutDialogGetApplicationIcon func(uintptr) string | |||
| 439 | 464 | func (x *AboutDialog) GetApplicationIcon() string { | |
| 440 | 465 | ||
| 441 | 466 | cret := xAboutDialogGetApplicationIcon(x.GoPointer()) | |
| 467 | + | ||
| 442 | 468 | return cret | |
| 443 | 469 | } | |
| 444 | 470 | ||
| @@ -448,6 +474,7 @@ var xAboutDialogGetApplicationName func(uintptr) string | |||
| 448 | 474 | func (x *AboutDialog) GetApplicationName() string { | |
| 449 | 475 | ||
| 450 | 476 | cret := xAboutDialogGetApplicationName(x.GoPointer()) | |
| 477 | + | ||
| 451 | 478 | return cret | |
| 452 | 479 | } | |
| 453 | 480 | ||
| @@ -457,6 +484,7 @@ var xAboutDialogGetArtists func(uintptr) []string | |||
| 457 | 484 | func (x *AboutDialog) GetArtists() []string { | |
| 458 | 485 | ||
| 459 | 486 | cret := xAboutDialogGetArtists(x.GoPointer()) | |
| 487 | + | ||
| 460 | 488 | return cret | |
| 461 | 489 | } | |
| 462 | 490 | ||
| @@ -466,6 +494,7 @@ var xAboutDialogGetComments func(uintptr) string | |||
| 466 | 494 | func (x *AboutDialog) GetComments() string { | |
| 467 | 495 | ||
| 468 | 496 | cret := xAboutDialogGetComments(x.GoPointer()) | |
| 497 | + | ||
| 469 | 498 | return cret | |
| 470 | 499 | } | |
| 471 | 500 | ||
| @@ -475,6 +504,7 @@ var xAboutDialogGetCopyright func(uintptr) string | |||
| 475 | 504 | func (x *AboutDialog) GetCopyright() string { | |
| 476 | 505 | ||
| 477 | 506 | cret := xAboutDialogGetCopyright(x.GoPointer()) | |
| 507 | + | ||
| 478 | 508 | return cret | |
| 479 | 509 | } | |
| 480 | 510 | ||
| @@ -484,6 +514,7 @@ var xAboutDialogGetDebugInfo func(uintptr) string | |||
| 484 | 514 | func (x *AboutDialog) GetDebugInfo() string { | |
| 485 | 515 | ||
| 486 | 516 | cret := xAboutDialogGetDebugInfo(x.GoPointer()) | |
| 517 | + | ||
| 487 | 518 | return cret | |
| 488 | 519 | } | |
| 489 | 520 | ||
| @@ -493,6 +524,7 @@ var xAboutDialogGetDebugInfoFilename func(uintptr) string | |||
| 493 | 524 | func (x *AboutDialog) GetDebugInfoFilename() string { | |
| 494 | 525 | ||
| 495 | 526 | cret := xAboutDialogGetDebugInfoFilename(x.GoPointer()) | |
| 527 | + | ||
| 496 | 528 | return cret | |
| 497 | 529 | } | |
| 498 | 530 | ||
| @@ -502,6 +534,7 @@ var xAboutDialogGetDesigners func(uintptr) []string | |||
| 502 | 534 | func (x *AboutDialog) GetDesigners() []string { | |
| 503 | 535 | ||
| 504 | 536 | cret := xAboutDialogGetDesigners(x.GoPointer()) | |
| 537 | + | ||
| 505 | 538 | return cret | |
| 506 | 539 | } | |
| 507 | 540 | ||
| @@ -511,6 +544,7 @@ var xAboutDialogGetDeveloperName func(uintptr) string | |||
| 511 | 544 | func (x *AboutDialog) GetDeveloperName() string { | |
| 512 | 545 | ||
| 513 | 546 | cret := xAboutDialogGetDeveloperName(x.GoPointer()) | |
| 547 | + | ||
| 514 | 548 | return cret | |
| 515 | 549 | } | |
| 516 | 550 | ||
| @@ -520,6 +554,7 @@ var xAboutDialogGetDevelopers func(uintptr) []string | |||
| 520 | 554 | func (x *AboutDialog) GetDevelopers() []string { | |
| 521 | 555 | ||
| 522 | 556 | cret := xAboutDialogGetDevelopers(x.GoPointer()) | |
| 557 | + | ||
| 523 | 558 | return cret | |
| 524 | 559 | } | |
| 525 | 560 | ||
| @@ -529,6 +564,7 @@ var xAboutDialogGetDocumenters func(uintptr) []string | |||
| 529 | 564 | func (x *AboutDialog) GetDocumenters() []string { | |
| 530 | 565 | ||
| 531 | 566 | cret := xAboutDialogGetDocumenters(x.GoPointer()) | |
| 567 | + | ||
| 532 | 568 | return cret | |
| 533 | 569 | } | |
| 534 | 570 | ||
| @@ -538,6 +574,7 @@ var xAboutDialogGetIssueUrl func(uintptr) string | |||
| 538 | 574 | func (x *AboutDialog) GetIssueUrl() string { | |
| 539 | 575 | ||
| 540 | 576 | cret := xAboutDialogGetIssueUrl(x.GoPointer()) | |
| 577 | + | ||
| 541 | 578 | return cret | |
| 542 | 579 | } | |
| 543 | 580 | ||
| @@ -547,6 +584,7 @@ var xAboutDialogGetLicense func(uintptr) string | |||
| 547 | 584 | func (x *AboutDialog) GetLicense() string { | |
| 548 | 585 | ||
| 549 | 586 | cret := xAboutDialogGetLicense(x.GoPointer()) | |
| 587 | + | ||
| 550 | 588 | return cret | |
| 551 | 589 | } | |
| 552 | 590 | ||
| @@ -556,6 +594,7 @@ var xAboutDialogGetLicenseType func(uintptr) gtk.License | |||
| 556 | 594 | func (x *AboutDialog) GetLicenseType() gtk.License { | |
| 557 | 595 | ||
| 558 | 596 | cret := xAboutDialogGetLicenseType(x.GoPointer()) | |
| 597 | + | ||
| 559 | 598 | return cret | |
| 560 | 599 | } | |
| 561 | 600 | ||
| @@ -565,6 +604,7 @@ var xAboutDialogGetReleaseNotes func(uintptr) string | |||
| 565 | 604 | func (x *AboutDialog) GetReleaseNotes() string { | |
| 566 | 605 | ||
| 567 | 606 | cret := xAboutDialogGetReleaseNotes(x.GoPointer()) | |
| 607 | + | ||
| 568 | 608 | return cret | |
| 569 | 609 | } | |
| 570 | 610 | ||
| @@ -574,6 +614,7 @@ var xAboutDialogGetReleaseNotesVersion func(uintptr) string | |||
| 574 | 614 | func (x *AboutDialog) GetReleaseNotesVersion() string { | |
| 575 | 615 | ||
| 576 | 616 | cret := xAboutDialogGetReleaseNotesVersion(x.GoPointer()) | |
| 617 | + | ||
| 577 | 618 | return cret | |
| 578 | 619 | } | |
| 579 | 620 | ||
| @@ -583,6 +624,7 @@ var xAboutDialogGetSupportUrl func(uintptr) string | |||
| 583 | 624 | func (x *AboutDialog) GetSupportUrl() string { | |
| 584 | 625 | ||
| 585 | 626 | cret := xAboutDialogGetSupportUrl(x.GoPointer()) | |
| 627 | + | ||
| 586 | 628 | return cret | |
| 587 | 629 | } | |
| 588 | 630 | ||
| @@ -592,6 +634,7 @@ var xAboutDialogGetTranslatorCredits func(uintptr) string | |||
| 592 | 634 | func (x *AboutDialog) GetTranslatorCredits() string { | |
| 593 | 635 | ||
| 594 | 636 | cret := xAboutDialogGetTranslatorCredits(x.GoPointer()) | |
| 637 | + | ||
| 595 | 638 | return cret | |
| 596 | 639 | } | |
| 597 | 640 | ||
| @@ -601,6 +644,7 @@ var xAboutDialogGetVersion func(uintptr) string | |||
| 601 | 644 | func (x *AboutDialog) GetVersion() string { | |
| 602 | 645 | ||
| 603 | 646 | cret := xAboutDialogGetVersion(x.GoPointer()) | |
| 647 | + | ||
| 604 | 648 | return cret | |
| 605 | 649 | } | |
| 606 | 650 | ||
| @@ -610,6 +654,7 @@ var xAboutDialogGetWebsite func(uintptr) string | |||
| 610 | 654 | func (x *AboutDialog) GetWebsite() string { | |
| 611 | 655 | ||
| 612 | 656 | cret := xAboutDialogGetWebsite(x.GoPointer()) | |
| 657 | + | ||
| 613 | 658 | return cret | |
| 614 | 659 | } | |
| 615 | 660 | ||
| @@ -1730,6 +1775,7 @@ func (x *AboutDialog) GetAccessibleParent() *gtk.AccessibleBase { | |||
| 1730 | 1775 | func (x *AboutDialog) GetAccessibleRole() gtk.AccessibleRole { | |
| 1731 | 1776 | ||
| 1732 | 1777 | cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer()) | |
| 1778 | + | ||
| 1733 | 1779 | return cret | |
| 1734 | 1780 | } | |
| 1735 | 1781 | ||
| @@ -1755,6 +1801,7 @@ func (x *AboutDialog) GetAtContext() *gtk.ATContext { | |||
| 1755 | 1801 | func (x *AboutDialog) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool { | |
| 1756 | 1802 | ||
| 1757 | 1803 | cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar) | |
| 1804 | + | ||
| 1758 | 1805 | return cret | |
| 1759 | 1806 | } | |
| 1760 | 1807 | ||
| @@ -1794,6 +1841,7 @@ func (x *AboutDialog) GetNextAccessibleSibling() *gtk.AccessibleBase { | |||
| 1794 | 1841 | func (x *AboutDialog) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool { | |
| 1795 | 1842 | ||
| 1796 | 1843 | cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar) | |
| 1844 | + | ||
| 1797 | 1845 | return cret | |
| 1798 | 1846 | } | |
| 1799 | 1847 | ||
| @@ -1970,6 +2018,7 @@ func (x *AboutDialog) UpdateStateValue(NStatesVar int, StatesVar []gtk.Accessibl | |||
| 1970 | 2018 | func (x *AboutDialog) GetBuildableId() string { | |
| 1971 | 2019 | ||
| 1972 | 2020 | cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer()) | |
| 2021 | + | ||
| 1973 | 2022 | return cret | |
| 1974 | 2023 | } | |
| 1975 | 2024 | ||
M v4/adw/adw-about-window.go +54 -5
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package adw | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "runtime" | |
| 5 | 6 | "structs" | |
| 6 | 7 | "unsafe" | |
| 7 | 8 | ||
| @@ -42,7 +43,11 @@ var xShowAboutWindowFromAppdata func(uintptr, string, uintptr, string, ...interf | |||
| 42 | 43 | // See [ctor@AboutWindow.new_from_appdata] for details. | |
| 43 | 44 | func ShowAboutWindowFromAppdata(ParentVar *gtk.Window, ResourcePathVar string, ReleaseNotesVersionVar *string, FirstPropertyNameVar string, varArgs ...interface{}) { | |
| 44 | 45 | ||
| 45 | - | xShowAboutWindowFromAppdata(ParentVar.GoPointer(), ResourcePathVar, core.NullableStringToPtr(ReleaseNotesVersionVar), FirstPropertyNameVar, varArgs...) | |
| 46 | + | ReleaseNotesVersionVarPtr, ReleaseNotesVersionVarBytes := core.NullableStringToPtr(ReleaseNotesVersionVar) | |
| 47 | + | ||
| 48 | + | xShowAboutWindowFromAppdata(ParentVar.GoPointer(), ResourcePathVar, ReleaseNotesVersionVarPtr, FirstPropertyNameVar, varArgs...) | |
| 49 | + | ||
| 50 | + | runtime.KeepAlive(ReleaseNotesVersionVarBytes) | |
| 46 | 51 | ||
| 47 | 52 | } | |
| 48 | 53 | ||
| @@ -276,7 +281,11 @@ var xNewAboutWindowFromAppdata func(string, uintptr) uintptr | |||
| 276 | 281 | func NewAboutWindowFromAppdata(ResourcePathVar string, ReleaseNotesVersionVar *string) *AboutWindow { | |
| 277 | 282 | var cls *AboutWindow | |
| 278 | 283 | ||
| 279 | - | cret := xNewAboutWindowFromAppdata(ResourcePathVar, core.NullableStringToPtr(ReleaseNotesVersionVar)) | |
| 284 | + | ReleaseNotesVersionVarPtr, ReleaseNotesVersionVarBytes := core.NullableStringToPtr(ReleaseNotesVersionVar) | |
| 285 | + | ||
| 286 | + | cret := xNewAboutWindowFromAppdata(ResourcePathVar, ReleaseNotesVersionVarPtr) | |
| 287 | + | ||
| 288 | + | runtime.KeepAlive(ReleaseNotesVersionVarBytes) | |
| 280 | 289 | ||
| 281 | 290 | if cret == 0 { | |
| 282 | 291 | return nil | |
| @@ -308,7 +317,11 @@ var xAboutWindowAddAcknowledgementSection func(uintptr, uintptr, []string) | |||
| 308 | 317 | // * [method@AboutWindow.add_credit_section] | |
| 309 | 318 | func (x *AboutWindow) AddAcknowledgementSection(NameVar *string, PeopleVar []string) { | |
| 310 | 319 | ||
| 311 | - | xAboutWindowAddAcknowledgementSection(x.GoPointer(), core.NullableStringToPtr(NameVar), PeopleVar) | |
| 320 | + | NameVarPtr, NameVarBytes := core.NullableStringToPtr(NameVar) | |
| 321 | + | ||
| 322 | + | xAboutWindowAddAcknowledgementSection(x.GoPointer(), NameVarPtr, PeopleVar) | |
| 323 | + | ||
| 324 | + | runtime.KeepAlive(NameVarBytes) | |
| 312 | 325 | ||
| 313 | 326 | } | |
| 314 | 327 | ||
| @@ -331,7 +344,11 @@ var xAboutWindowAddCreditSection func(uintptr, uintptr, []string) | |||
| 331 | 344 | // * [method@AboutWindow.add_acknowledgement_section] | |
| 332 | 345 | func (x *AboutWindow) AddCreditSection(NameVar *string, PeopleVar []string) { | |
| 333 | 346 | ||
| 334 | - | xAboutWindowAddCreditSection(x.GoPointer(), core.NullableStringToPtr(NameVar), PeopleVar) | |
| 347 | + | NameVarPtr, NameVarBytes := core.NullableStringToPtr(NameVar) | |
| 348 | + | ||
| 349 | + | xAboutWindowAddCreditSection(x.GoPointer(), NameVarPtr, PeopleVar) | |
| 350 | + | ||
| 351 | + | runtime.KeepAlive(NameVarBytes) | |
| 335 | 352 | ||
| 336 | 353 | } | |
| 337 | 354 | ||
| @@ -384,7 +401,15 @@ var xAboutWindowAddLegalSection func(uintptr, string, uintptr, gtk.License, uint | |||
| 384 | 401 | // ``` | |
| 385 | 402 | func (x *AboutWindow) AddLegalSection(TitleVar string, CopyrightVar *string, LicenseTypeVar gtk.License, LicenseVar *string) { | |
| 386 | 403 | ||
| 387 | - | xAboutWindowAddLegalSection(x.GoPointer(), TitleVar, core.NullableStringToPtr(CopyrightVar), LicenseTypeVar, core.NullableStringToPtr(LicenseVar)) | |
| 404 | + | CopyrightVarPtr, CopyrightVarBytes := core.NullableStringToPtr(CopyrightVar) | |
| 405 | + | ||
| 406 | + | LicenseVarPtr, LicenseVarBytes := core.NullableStringToPtr(LicenseVar) | |
| 407 | + | ||
| 408 | + | xAboutWindowAddLegalSection(x.GoPointer(), TitleVar, CopyrightVarPtr, LicenseTypeVar, LicenseVarPtr) | |
| 409 | + | ||
| 410 | + | runtime.KeepAlive(CopyrightVarBytes) | |
| 411 | + | ||
| 412 | + | runtime.KeepAlive(LicenseVarBytes) | |
| 388 | 413 | ||
| 389 | 414 | } | |
| 390 | 415 | ||
| @@ -409,6 +434,7 @@ var xAboutWindowGetApplicationIcon func(uintptr) string | |||
| 409 | 434 | func (x *AboutWindow) GetApplicationIcon() string { | |
| 410 | 435 | ||
| 411 | 436 | cret := xAboutWindowGetApplicationIcon(x.GoPointer()) | |
| 437 | + | ||
| 412 | 438 | return cret | |
| 413 | 439 | } | |
| 414 | 440 | ||
| @@ -418,6 +444,7 @@ var xAboutWindowGetApplicationName func(uintptr) string | |||
| 418 | 444 | func (x *AboutWindow) GetApplicationName() string { | |
| 419 | 445 | ||
| 420 | 446 | cret := xAboutWindowGetApplicationName(x.GoPointer()) | |
| 447 | + | ||
| 421 | 448 | return cret | |
| 422 | 449 | } | |
| 423 | 450 | ||
| @@ -427,6 +454,7 @@ var xAboutWindowGetArtists func(uintptr) []string | |||
| 427 | 454 | func (x *AboutWindow) GetArtists() []string { | |
| 428 | 455 | ||
| 429 | 456 | cret := xAboutWindowGetArtists(x.GoPointer()) | |
| 457 | + | ||
| 430 | 458 | return cret | |
| 431 | 459 | } | |
| 432 | 460 | ||
| @@ -436,6 +464,7 @@ var xAboutWindowGetComments func(uintptr) string | |||
| 436 | 464 | func (x *AboutWindow) GetComments() string { | |
| 437 | 465 | ||
| 438 | 466 | cret := xAboutWindowGetComments(x.GoPointer()) | |
| 467 | + | ||
| 439 | 468 | return cret | |
| 440 | 469 | } | |
| 441 | 470 | ||
| @@ -445,6 +474,7 @@ var xAboutWindowGetCopyright func(uintptr) string | |||
| 445 | 474 | func (x *AboutWindow) GetCopyright() string { | |
| 446 | 475 | ||
| 447 | 476 | cret := xAboutWindowGetCopyright(x.GoPointer()) | |
| 477 | + | ||
| 448 | 478 | return cret | |
| 449 | 479 | } | |
| 450 | 480 | ||
| @@ -454,6 +484,7 @@ var xAboutWindowGetDebugInfo func(uintptr) string | |||
| 454 | 484 | func (x *AboutWindow) GetDebugInfo() string { | |
| 455 | 485 | ||
| 456 | 486 | cret := xAboutWindowGetDebugInfo(x.GoPointer()) | |
| 487 | + | ||
| 457 | 488 | return cret | |
| 458 | 489 | } | |
| 459 | 490 | ||
| @@ -463,6 +494,7 @@ var xAboutWindowGetDebugInfoFilename func(uintptr) string | |||
| 463 | 494 | func (x *AboutWindow) GetDebugInfoFilename() string { | |
| 464 | 495 | ||
| 465 | 496 | cret := xAboutWindowGetDebugInfoFilename(x.GoPointer()) | |
| 497 | + | ||
| 466 | 498 | return cret | |
| 467 | 499 | } | |
| 468 | 500 | ||
| @@ -472,6 +504,7 @@ var xAboutWindowGetDesigners func(uintptr) []string | |||
| 472 | 504 | func (x *AboutWindow) GetDesigners() []string { | |
| 473 | 505 | ||
| 474 | 506 | cret := xAboutWindowGetDesigners(x.GoPointer()) | |
| 507 | + | ||
| 475 | 508 | return cret | |
| 476 | 509 | } | |
| 477 | 510 | ||
| @@ -481,6 +514,7 @@ var xAboutWindowGetDeveloperName func(uintptr) string | |||
| 481 | 514 | func (x *AboutWindow) GetDeveloperName() string { | |
| 482 | 515 | ||
| 483 | 516 | cret := xAboutWindowGetDeveloperName(x.GoPointer()) | |
| 517 | + | ||
| 484 | 518 | return cret | |
| 485 | 519 | } | |
| 486 | 520 | ||
| @@ -490,6 +524,7 @@ var xAboutWindowGetDevelopers func(uintptr) []string | |||
| 490 | 524 | func (x *AboutWindow) GetDevelopers() []string { | |
| 491 | 525 | ||
| 492 | 526 | cret := xAboutWindowGetDevelopers(x.GoPointer()) | |
| 527 | + | ||
| 493 | 528 | return cret | |
| 494 | 529 | } | |
| 495 | 530 | ||
| @@ -499,6 +534,7 @@ var xAboutWindowGetDocumenters func(uintptr) []string | |||
| 499 | 534 | func (x *AboutWindow) GetDocumenters() []string { | |
| 500 | 535 | ||
| 501 | 536 | cret := xAboutWindowGetDocumenters(x.GoPointer()) | |
| 537 | + | ||
| 502 | 538 | return cret | |
| 503 | 539 | } | |
| 504 | 540 | ||
| @@ -508,6 +544,7 @@ var xAboutWindowGetIssueUrl func(uintptr) string | |||
| 508 | 544 | func (x *AboutWindow) GetIssueUrl() string { | |
| 509 | 545 | ||
| 510 | 546 | cret := xAboutWindowGetIssueUrl(x.GoPointer()) | |
| 547 | + | ||
| 511 | 548 | return cret | |
| 512 | 549 | } | |
| 513 | 550 | ||
| @@ -517,6 +554,7 @@ var xAboutWindowGetLicense func(uintptr) string | |||
| 517 | 554 | func (x *AboutWindow) GetLicense() string { | |
| 518 | 555 | ||
| 519 | 556 | cret := xAboutWindowGetLicense(x.GoPointer()) | |
| 557 | + | ||
| 520 | 558 | return cret | |
| 521 | 559 | } | |
| 522 | 560 | ||
| @@ -526,6 +564,7 @@ var xAboutWindowGetLicenseType func(uintptr) gtk.License | |||
| 526 | 564 | func (x *AboutWindow) GetLicenseType() gtk.License { | |
| 527 | 565 | ||
| 528 | 566 | cret := xAboutWindowGetLicenseType(x.GoPointer()) | |
| 567 | + | ||
| 529 | 568 | return cret | |
| 530 | 569 | } | |
| 531 | 570 | ||
| @@ -535,6 +574,7 @@ var xAboutWindowGetReleaseNotes func(uintptr) string | |||
| 535 | 574 | func (x *AboutWindow) GetReleaseNotes() string { | |
| 536 | 575 | ||
| 537 | 576 | cret := xAboutWindowGetReleaseNotes(x.GoPointer()) | |
| 577 | + | ||
| 538 | 578 | return cret | |
| 539 | 579 | } | |
| 540 | 580 | ||
| @@ -544,6 +584,7 @@ var xAboutWindowGetReleaseNotesVersion func(uintptr) string | |||
| 544 | 584 | func (x *AboutWindow) GetReleaseNotesVersion() string { | |
| 545 | 585 | ||
| 546 | 586 | cret := xAboutWindowGetReleaseNotesVersion(x.GoPointer()) | |
| 587 | + | ||
| 547 | 588 | return cret | |
| 548 | 589 | } | |
| 549 | 590 | ||
| @@ -553,6 +594,7 @@ var xAboutWindowGetSupportUrl func(uintptr) string | |||
| 553 | 594 | func (x *AboutWindow) GetSupportUrl() string { | |
| 554 | 595 | ||
| 555 | 596 | cret := xAboutWindowGetSupportUrl(x.GoPointer()) | |
| 597 | + | ||
| 556 | 598 | return cret | |
| 557 | 599 | } | |
| 558 | 600 | ||
| @@ -562,6 +604,7 @@ var xAboutWindowGetTranslatorCredits func(uintptr) string | |||
| 562 | 604 | func (x *AboutWindow) GetTranslatorCredits() string { | |
| 563 | 605 | ||
| 564 | 606 | cret := xAboutWindowGetTranslatorCredits(x.GoPointer()) | |
| 607 | + | ||
| 565 | 608 | return cret | |
| 566 | 609 | } | |
| 567 | 610 | ||
| @@ -571,6 +614,7 @@ var xAboutWindowGetVersion func(uintptr) string | |||
| 571 | 614 | func (x *AboutWindow) GetVersion() string { | |
| 572 | 615 | ||
| 573 | 616 | cret := xAboutWindowGetVersion(x.GoPointer()) | |
| 617 | + | ||
| 574 | 618 | return cret | |
| 575 | 619 | } | |
| 576 | 620 | ||
| @@ -580,6 +624,7 @@ var xAboutWindowGetWebsite func(uintptr) string | |||
| 580 | 624 | func (x *AboutWindow) GetWebsite() string { | |
| 581 | 625 | ||
| 582 | 626 | cret := xAboutWindowGetWebsite(x.GoPointer()) | |
| 627 | + | ||
| 583 | 628 | return cret | |
| 584 | 629 | } | |
| 585 | 630 | ||
| @@ -1700,6 +1745,7 @@ func (x *AboutWindow) GetAccessibleParent() *gtk.AccessibleBase { | |||
| 1700 | 1745 | func (x *AboutWindow) GetAccessibleRole() gtk.AccessibleRole { | |
| 1701 | 1746 | ||
| 1702 | 1747 | cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer()) | |
| 1748 | + | ||
| 1703 | 1749 | return cret | |
| 1704 | 1750 | } | |
| 1705 | 1751 | ||
| @@ -1725,6 +1771,7 @@ func (x *AboutWindow) GetAtContext() *gtk.ATContext { | |||
| 1725 | 1771 | func (x *AboutWindow) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool { | |
| 1726 | 1772 | ||
| 1727 | 1773 | cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar) | |
| 1774 | + | ||
| 1728 | 1775 | return cret | |
| 1729 | 1776 | } | |
| 1730 | 1777 | ||
| @@ -1764,6 +1811,7 @@ func (x *AboutWindow) GetNextAccessibleSibling() *gtk.AccessibleBase { | |||
| 1764 | 1811 | func (x *AboutWindow) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool { | |
| 1765 | 1812 | ||
| 1766 | 1813 | cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar) | |
| 1814 | + | ||
| 1767 | 1815 | return cret | |
| 1768 | 1816 | } | |
| 1769 | 1817 | ||
| @@ -1940,6 +1988,7 @@ func (x *AboutWindow) UpdateStateValue(NStatesVar int, StatesVar []gtk.Accessibl | |||
| 1940 | 1988 | func (x *AboutWindow) GetBuildableId() string { | |
| 1941 | 1989 | ||
| 1942 | 1990 | cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer()) | |
| 1991 | + | ||
| 1943 | 1992 | return cret | |
| 1944 | 1993 | } | |
| 1945 | 1994 | ||
M v4/adw/adw-action-row.go +22 -2
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package adw | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "runtime" | |
| 5 | 6 | "structs" | |
| 6 | 7 | "unsafe" | |
| 7 | 8 | ||
| @@ -187,6 +188,7 @@ var xActionRowGetIconName func(uintptr) string | |||
| 187 | 188 | func (x *ActionRow) GetIconName() string { | |
| 188 | 189 | ||
| 189 | 190 | cret := xActionRowGetIconName(x.GoPointer()) | |
| 191 | + | ||
| 190 | 192 | return cret | |
| 191 | 193 | } | |
| 192 | 194 | ||
| @@ -196,6 +198,7 @@ var xActionRowGetSubtitle func(uintptr) string | |||
| 196 | 198 | func (x *ActionRow) GetSubtitle() string { | |
| 197 | 199 | ||
| 198 | 200 | cret := xActionRowGetSubtitle(x.GoPointer()) | |
| 201 | + | ||
| 199 | 202 | return cret | |
| 200 | 203 | } | |
| 201 | 204 | ||
| @@ -206,6 +209,7 @@ var xActionRowGetSubtitleLines func(uintptr) int | |||
| 206 | 209 | func (x *ActionRow) GetSubtitleLines() int { | |
| 207 | 210 | ||
| 208 | 211 | cret := xActionRowGetSubtitleLines(x.GoPointer()) | |
| 212 | + | ||
| 209 | 213 | return cret | |
| 210 | 214 | } | |
| 211 | 215 | ||
| @@ -215,6 +219,7 @@ var xActionRowGetSubtitleSelectable func(uintptr) bool | |||
| 215 | 219 | func (x *ActionRow) GetSubtitleSelectable() bool { | |
| 216 | 220 | ||
| 217 | 221 | cret := xActionRowGetSubtitleSelectable(x.GoPointer()) | |
| 222 | + | ||
| 218 | 223 | return cret | |
| 219 | 224 | } | |
| 220 | 225 | ||
| @@ -225,6 +230,7 @@ var xActionRowGetTitleLines func(uintptr) int | |||
| 225 | 230 | func (x *ActionRow) GetTitleLines() int { | |
| 226 | 231 | ||
| 227 | 232 | cret := xActionRowGetTitleLines(x.GoPointer()) | |
| 233 | + | ||
| 228 | 234 | return cret | |
| 229 | 235 | } | |
| 230 | 236 | ||
| @@ -258,7 +264,11 @@ var xActionRowSetIconName func(uintptr, uintptr) | |||
| 258 | 264 | // Sets the icon name for @self. | |
| 259 | 265 | func (x *ActionRow) SetIconName(IconNameVar *string) { | |
| 260 | 266 | ||
| 261 | - | xActionRowSetIconName(x.GoPointer(), core.NullableStringToPtr(IconNameVar)) | |
| 267 | + | IconNameVarPtr, IconNameVarBytes := core.NullableStringToPtr(IconNameVar) | |
| 268 | + | ||
| 269 | + | xActionRowSetIconName(x.GoPointer(), IconNameVarPtr) | |
| 270 | + | ||
| 271 | + | runtime.KeepAlive(IconNameVarBytes) | |
| 262 | 272 | ||
| 263 | 273 | } | |
| 264 | 274 | ||
| @@ -480,6 +490,7 @@ func (x *ActionRow) GetAccessibleParent() *gtk.AccessibleBase { | |||
| 480 | 490 | func (x *ActionRow) GetAccessibleRole() gtk.AccessibleRole { | |
| 481 | 491 | ||
| 482 | 492 | cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer()) | |
| 493 | + | ||
| 483 | 494 | return cret | |
| 484 | 495 | } | |
| 485 | 496 | ||
| @@ -505,6 +516,7 @@ func (x *ActionRow) GetAtContext() *gtk.ATContext { | |||
| 505 | 516 | func (x *ActionRow) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool { | |
| 506 | 517 | ||
| 507 | 518 | cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar) | |
| 519 | + | ||
| 508 | 520 | return cret | |
| 509 | 521 | } | |
| 510 | 522 | ||
| @@ -544,6 +556,7 @@ func (x *ActionRow) GetNextAccessibleSibling() *gtk.AccessibleBase { | |||
| 544 | 556 | func (x *ActionRow) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool { | |
| 545 | 557 | ||
| 546 | 558 | cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar) | |
| 559 | + | ||
| 547 | 560 | return cret | |
| 548 | 561 | } | |
| 549 | 562 | ||
| @@ -717,6 +730,7 @@ func (x *ActionRow) UpdateStateValue(NStatesVar int, StatesVar []gtk.AccessibleS | |||
| 717 | 730 | func (x *ActionRow) GetActionName() string { | |
| 718 | 731 | ||
| 719 | 732 | cret := gtk.XGtkActionableGetActionName(x.GoPointer()) | |
| 733 | + | ||
| 720 | 734 | return cret | |
| 721 | 735 | } | |
| 722 | 736 | ||
| @@ -724,6 +738,7 @@ func (x *ActionRow) GetActionName() string { | |||
| 724 | 738 | func (x *ActionRow) GetActionTargetValue() *glib.Variant { | |
| 725 | 739 | ||
| 726 | 740 | cret := gtk.XGtkActionableGetActionTargetValue(x.GoPointer()) | |
| 741 | + | ||
| 727 | 742 | return cret | |
| 728 | 743 | } | |
| 729 | 744 | ||
| @@ -742,7 +757,11 @@ func (x *ActionRow) GetActionTargetValue() *glib.Variant { | |||
| 742 | 757 | // associated with the window. | |
| 743 | 758 | func (x *ActionRow) SetActionName(ActionNameVar *string) { | |
| 744 | 759 | ||
| 745 | - | gtk.XGtkActionableSetActionName(x.GoPointer(), core.NullableStringToPtr(ActionNameVar)) | |
| 760 | + | ActionNameVarPtr, ActionNameVarBytes := core.NullableStringToPtr(ActionNameVar) | |
| 761 | + | ||
| 762 | + | gtk.XGtkActionableSetActionName(x.GoPointer(), ActionNameVarPtr) | |
| 763 | + | ||
| 764 | + | runtime.KeepAlive(ActionNameVarBytes) | |
| 746 | 765 | ||
| 747 | 766 | } | |
| 748 | 767 | ||
| @@ -803,6 +822,7 @@ func (x *ActionRow) SetDetailedActionName(DetailedActionNameVar string) { | |||
| 803 | 822 | func (x *ActionRow) GetBuildableId() string { | |
| 804 | 823 | ||
| 805 | 824 | cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer()) | |
| 825 | + | ||
| 806 | 826 | return cret | |
| 807 | 827 | } | |
| 808 | 828 | ||
M v4/adw/adw-alert-dialog.go +36 -3
| @@ -3,6 +3,7 @@ package adw | |||
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | 5 | "fmt" | |
| 6 | + | "runtime" | |
| 6 | 7 | "structs" | |
| 7 | 8 | "unsafe" | |
| 8 | 9 | ||
| @@ -254,7 +255,15 @@ var xNewAlertDialog func(uintptr, uintptr) uintptr | |||
| 254 | 255 | func NewAlertDialog(HeadingVar *string, BodyVar *string) *AlertDialog { | |
| 255 | 256 | var cls *AlertDialog | |
| 256 | 257 | ||
| 257 | - | cret := xNewAlertDialog(core.NullableStringToPtr(HeadingVar), core.NullableStringToPtr(BodyVar)) | |
| 258 | + | HeadingVarPtr, HeadingVarBytes := core.NullableStringToPtr(HeadingVar) | |
| 259 | + | ||
| 260 | + | BodyVarPtr, BodyVarBytes := core.NullableStringToPtr(BodyVar) | |
| 261 | + | ||
| 262 | + | cret := xNewAlertDialog(HeadingVarPtr, BodyVarPtr) | |
| 263 | + | ||
| 264 | + | runtime.KeepAlive(HeadingVarBytes) | |
| 265 | + | ||
| 266 | + | runtime.KeepAlive(BodyVarBytes) | |
| 258 | 267 | ||
| 259 | 268 | if cret == 0 { | |
| 260 | 269 | return nil | |
| @@ -347,6 +356,7 @@ var xAlertDialogChooseFinish func(uintptr, uintptr) string | |||
| 347 | 356 | func (x *AlertDialog) ChooseFinish(ResultVar gio.AsyncResult) string { | |
| 348 | 357 | ||
| 349 | 358 | cret := xAlertDialogChooseFinish(x.GoPointer(), ResultVar.GoPointer()) | |
| 359 | + | ||
| 350 | 360 | return cret | |
| 351 | 361 | } | |
| 352 | 362 | ||
| @@ -412,6 +422,7 @@ var xAlertDialogGetBody func(uintptr) string | |||
| 412 | 422 | func (x *AlertDialog) GetBody() string { | |
| 413 | 423 | ||
| 414 | 424 | cret := xAlertDialogGetBody(x.GoPointer()) | |
| 425 | + | ||
| 415 | 426 | return cret | |
| 416 | 427 | } | |
| 417 | 428 | ||
| @@ -421,6 +432,7 @@ var xAlertDialogGetBodyUseMarkup func(uintptr) bool | |||
| 421 | 432 | func (x *AlertDialog) GetBodyUseMarkup() bool { | |
| 422 | 433 | ||
| 423 | 434 | cret := xAlertDialogGetBodyUseMarkup(x.GoPointer()) | |
| 435 | + | ||
| 424 | 436 | return cret | |
| 425 | 437 | } | |
| 426 | 438 | ||
| @@ -430,6 +442,7 @@ var xAlertDialogGetCloseResponse func(uintptr) string | |||
| 430 | 442 | func (x *AlertDialog) GetCloseResponse() string { | |
| 431 | 443 | ||
| 432 | 444 | cret := xAlertDialogGetCloseResponse(x.GoPointer()) | |
| 445 | + | ||
| 433 | 446 | return cret | |
| 434 | 447 | } | |
| 435 | 448 | ||
| @@ -439,6 +452,7 @@ var xAlertDialogGetDefaultResponse func(uintptr) string | |||
| 439 | 452 | func (x *AlertDialog) GetDefaultResponse() string { | |
| 440 | 453 | ||
| 441 | 454 | cret := xAlertDialogGetDefaultResponse(x.GoPointer()) | |
| 455 | + | ||
| 442 | 456 | return cret | |
| 443 | 457 | } | |
| 444 | 458 | ||
| @@ -465,6 +479,7 @@ var xAlertDialogGetHeading func(uintptr) string | |||
| 465 | 479 | func (x *AlertDialog) GetHeading() string { | |
| 466 | 480 | ||
| 467 | 481 | cret := xAlertDialogGetHeading(x.GoPointer()) | |
| 482 | + | ||
| 468 | 483 | return cret | |
| 469 | 484 | } | |
| 470 | 485 | ||
| @@ -474,6 +489,7 @@ var xAlertDialogGetHeadingUseMarkup func(uintptr) bool | |||
| 474 | 489 | func (x *AlertDialog) GetHeadingUseMarkup() bool { | |
| 475 | 490 | ||
| 476 | 491 | cret := xAlertDialogGetHeadingUseMarkup(x.GoPointer()) | |
| 492 | + | ||
| 477 | 493 | return cret | |
| 478 | 494 | } | |
| 479 | 495 | ||
| @@ -483,6 +499,7 @@ var xAlertDialogGetPreferWideLayout func(uintptr) bool | |||
| 483 | 499 | func (x *AlertDialog) GetPreferWideLayout() bool { | |
| 484 | 500 | ||
| 485 | 501 | cret := xAlertDialogGetPreferWideLayout(x.GoPointer()) | |
| 502 | + | ||
| 486 | 503 | return cret | |
| 487 | 504 | } | |
| 488 | 505 | ||
| @@ -494,6 +511,7 @@ var xAlertDialogGetResponseAppearance func(uintptr, string) ResponseAppearance | |||
| 494 | 511 | func (x *AlertDialog) GetResponseAppearance(ResponseVar string) ResponseAppearance { | |
| 495 | 512 | ||
| 496 | 513 | cret := xAlertDialogGetResponseAppearance(x.GoPointer(), ResponseVar) | |
| 514 | + | ||
| 497 | 515 | return cret | |
| 498 | 516 | } | |
| 499 | 517 | ||
| @@ -505,6 +523,7 @@ var xAlertDialogGetResponseEnabled func(uintptr, string) bool | |||
| 505 | 523 | func (x *AlertDialog) GetResponseEnabled(ResponseVar string) bool { | |
| 506 | 524 | ||
| 507 | 525 | cret := xAlertDialogGetResponseEnabled(x.GoPointer(), ResponseVar) | |
| 526 | + | ||
| 508 | 527 | return cret | |
| 509 | 528 | } | |
| 510 | 529 | ||
| @@ -516,6 +535,7 @@ var xAlertDialogGetResponseLabel func(uintptr, string) string | |||
| 516 | 535 | func (x *AlertDialog) GetResponseLabel(ResponseVar string) string { | |
| 517 | 536 | ||
| 518 | 537 | cret := xAlertDialogGetResponseLabel(x.GoPointer(), ResponseVar) | |
| 538 | + | ||
| 519 | 539 | return cret | |
| 520 | 540 | } | |
| 521 | 541 | ||
| @@ -525,6 +545,7 @@ var xAlertDialogHasResponse func(uintptr, string) bool | |||
| 525 | 545 | func (x *AlertDialog) HasResponse(ResponseVar string) bool { | |
| 526 | 546 | ||
| 527 | 547 | cret := xAlertDialogHasResponse(x.GoPointer(), ResponseVar) | |
| 548 | + | ||
| 528 | 549 | return cret | |
| 529 | 550 | } | |
| 530 | 551 | ||
| @@ -586,7 +607,11 @@ var xAlertDialogSetDefaultResponse func(uintptr, uintptr) | |||
| 586 | 607 | // See [property@Dialog:default-widget]. | |
| 587 | 608 | func (x *AlertDialog) SetDefaultResponse(ResponseVar *string) { | |
| 588 | 609 | ||
| 589 | - | xAlertDialogSetDefaultResponse(x.GoPointer(), core.NullableStringToPtr(ResponseVar)) | |
| 610 | + | ResponseVarPtr, ResponseVarBytes := core.NullableStringToPtr(ResponseVar) | |
| 611 | + | ||
| 612 | + | xAlertDialogSetDefaultResponse(x.GoPointer(), ResponseVarPtr) | |
| 613 | + | ||
| 614 | + | runtime.KeepAlive(ResponseVarBytes) | |
| 590 | 615 | ||
| 591 | 616 | } | |
| 592 | 617 | ||
| @@ -606,7 +631,11 @@ var xAlertDialogSetHeading func(uintptr, uintptr) | |||
| 606 | 631 | // Sets the heading of @self. | |
| 607 | 632 | func (x *AlertDialog) SetHeading(HeadingVar *string) { | |
| 608 | 633 | ||
| 609 | - | xAlertDialogSetHeading(x.GoPointer(), core.NullableStringToPtr(HeadingVar)) | |
| 634 | + | HeadingVarPtr, HeadingVarBytes := core.NullableStringToPtr(HeadingVar) | |
| 635 | + | ||
| 636 | + | xAlertDialogSetHeading(x.GoPointer(), HeadingVarPtr) | |
| 637 | + | ||
| 638 | + | runtime.KeepAlive(HeadingVarBytes) | |
| 610 | 639 | ||
| 611 | 640 | } | |
| 612 | 641 | ||
| @@ -948,6 +977,7 @@ func (x *AlertDialog) GetAccessibleParent() *gtk.AccessibleBase { | |||
| 948 | 977 | func (x *AlertDialog) GetAccessibleRole() gtk.AccessibleRole { | |
| 949 | 978 | ||
| 950 | 979 | cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer()) | |
| 980 | + | ||
| 951 | 981 | return cret | |
| 952 | 982 | } | |
| 953 | 983 | ||
| @@ -973,6 +1003,7 @@ func (x *AlertDialog) GetAtContext() *gtk.ATContext { | |||
| 973 | 1003 | func (x *AlertDialog) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool { | |
| 974 | 1004 | ||
| 975 | 1005 | cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar) | |
| 1006 | + | ||
| 976 | 1007 | return cret | |
| 977 | 1008 | } | |
| 978 | 1009 | ||
| @@ -1012,6 +1043,7 @@ func (x *AlertDialog) GetNextAccessibleSibling() *gtk.AccessibleBase { | |||
| 1012 | 1043 | func (x *AlertDialog) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool { | |
| 1013 | 1044 | ||
| 1014 | 1045 | cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar) | |
| 1046 | + | ||
| 1015 | 1047 | return cret | |
| 1016 | 1048 | } | |
| 1017 | 1049 | ||
| @@ -1188,6 +1220,7 @@ func (x *AlertDialog) UpdateStateValue(NStatesVar int, StatesVar []gtk.Accessibl | |||
| 1188 | 1220 | func (x *AlertDialog) GetBuildableId() string { | |
| 1189 | 1221 | ||
| 1190 | 1222 | cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer()) | |
| 1223 | + | ||
| 1191 | 1224 | return cret | |
| 1192 | 1225 | } | |
| 1193 | 1226 | ||
M v4/adw/adw-animation-util.go +2 -0
| @@ -16,6 +16,7 @@ var xGetEnableAnimations func(uintptr) bool | |||
| 16 | 16 | func GetEnableAnimations(WidgetVar *gtk.Widget) bool { | |
| 17 | 17 | ||
| 18 | 18 | cret := xGetEnableAnimations(WidgetVar.GoPointer()) | |
| 19 | + | ||
| 19 | 20 | return cret | |
| 20 | 21 | } | |
| 21 | 22 | ||
| @@ -25,6 +26,7 @@ var xLerp func(float64, float64, float64) float64 | |||
| 25 | 26 | func Lerp(AVar float64, BVar float64, TVar float64) float64 { | |
| 26 | 27 | ||
| 27 | 28 | cret := xLerp(AVar, BVar, TVar) | |
| 29 | + | ||
| 28 | 30 | return cret | |
| 29 | 31 | } | |
| 30 | 32 | ||
M v4/adw/adw-animation.go +3 -0
| @@ -124,6 +124,7 @@ var xAnimationGetFollowEnableAnimationsSetting func(uintptr) bool | |||
| 124 | 124 | func (x *Animation) GetFollowEnableAnimationsSetting() bool { | |
| 125 | 125 | ||
| 126 | 126 | cret := xAnimationGetFollowEnableAnimationsSetting(x.GoPointer()) | |
| 127 | + | ||
| 127 | 128 | return cret | |
| 128 | 129 | } | |
| 129 | 130 | ||
| @@ -136,6 +137,7 @@ var xAnimationGetState func(uintptr) AnimationState | |||
| 136 | 137 | func (x *Animation) GetState() AnimationState { | |
| 137 | 138 | ||
| 138 | 139 | cret := xAnimationGetState(x.GoPointer()) | |
| 140 | + | ||
| 139 | 141 | return cret | |
| 140 | 142 | } | |
| 141 | 143 | ||
| @@ -162,6 +164,7 @@ var xAnimationGetValue func(uintptr) float64 | |||
| 162 | 164 | func (x *Animation) GetValue() float64 { | |
| 163 | 165 | ||
| 164 | 166 | cret := xAnimationGetValue(x.GoPointer()) | |
| 167 | + | ||
| 165 | 168 | return cret | |
| 166 | 169 | } | |
| 167 | 170 | ||
M v4/adw/adw-application-window.go +13 -0
| @@ -111,6 +111,7 @@ var xApplicationWindowGetAdaptivePreview func(uintptr) bool | |||
| 111 | 111 | func (x *ApplicationWindow) GetAdaptivePreview() bool { | |
| 112 | 112 | ||
| 113 | 113 | cret := xApplicationWindowGetAdaptivePreview(x.GoPointer()) | |
| 114 | + | ||
| 114 | 115 | return cret | |
| 115 | 116 | } | |
| 116 | 117 | ||
| @@ -356,6 +357,7 @@ func (x *ApplicationWindow) ChangeActionState(ActionNameVar string, ValueVar *gl | |||
| 356 | 357 | func (x *ApplicationWindow) GetActionEnabled(ActionNameVar string) bool { | |
| 357 | 358 | ||
| 358 | 359 | cret := gio.XGActionGroupGetActionEnabled(x.GoPointer(), ActionNameVar) | |
| 360 | + | ||
| 359 | 361 | return cret | |
| 360 | 362 | } | |
| 361 | 363 | ||
| @@ -375,6 +377,7 @@ func (x *ApplicationWindow) GetActionEnabled(ActionNameVar string) bool { | |||
| 375 | 377 | func (x *ApplicationWindow) GetActionParameterType(ActionNameVar string) *glib.VariantType { | |
| 376 | 378 | ||
| 377 | 379 | cret := gio.XGActionGroupGetActionParameterType(x.GoPointer(), ActionNameVar) | |
| 380 | + | ||
| 378 | 381 | return cret | |
| 379 | 382 | } | |
| 380 | 383 | ||
| @@ -389,6 +392,7 @@ func (x *ApplicationWindow) GetActionParameterType(ActionNameVar string) *glib.V | |||
| 389 | 392 | func (x *ApplicationWindow) GetActionState(ActionNameVar string) *glib.Variant { | |
| 390 | 393 | ||
| 391 | 394 | cret := gio.XGActionGroupGetActionState(x.GoPointer(), ActionNameVar) | |
| 395 | + | ||
| 392 | 396 | return cret | |
| 393 | 397 | } | |
| 394 | 398 | ||
| @@ -413,6 +417,7 @@ func (x *ApplicationWindow) GetActionState(ActionNameVar string) *glib.Variant { | |||
| 413 | 417 | func (x *ApplicationWindow) GetActionStateHint(ActionNameVar string) *glib.Variant { | |
| 414 | 418 | ||
| 415 | 419 | cret := gio.XGActionGroupGetActionStateHint(x.GoPointer(), ActionNameVar) | |
| 420 | + | ||
| 416 | 421 | return cret | |
| 417 | 422 | } | |
| 418 | 423 | ||
| @@ -435,6 +440,7 @@ func (x *ApplicationWindow) GetActionStateHint(ActionNameVar string) *glib.Varia | |||
| 435 | 440 | func (x *ApplicationWindow) GetActionStateType(ActionNameVar string) *glib.VariantType { | |
| 436 | 441 | ||
| 437 | 442 | cret := gio.XGActionGroupGetActionStateType(x.GoPointer(), ActionNameVar) | |
| 443 | + | ||
| 438 | 444 | return cret | |
| 439 | 445 | } | |
| 440 | 446 | ||
| @@ -442,6 +448,7 @@ func (x *ApplicationWindow) GetActionStateType(ActionNameVar string) *glib.Varia | |||
| 442 | 448 | func (x *ApplicationWindow) HasAction(ActionNameVar string) bool { | |
| 443 | 449 | ||
| 444 | 450 | cret := gio.XGActionGroupHasAction(x.GoPointer(), ActionNameVar) | |
| 451 | + | ||
| 445 | 452 | return cret | |
| 446 | 453 | } | |
| 447 | 454 | ||
| @@ -452,6 +459,7 @@ func (x *ApplicationWindow) HasAction(ActionNameVar string) bool { | |||
| 452 | 459 | func (x *ApplicationWindow) ListActions() []string { | |
| 453 | 460 | ||
| 454 | 461 | cret := gio.XGActionGroupListActions(x.GoPointer()) | |
| 462 | + | ||
| 455 | 463 | return cret | |
| 456 | 464 | } | |
| 457 | 465 | ||
| @@ -485,6 +493,7 @@ func (x *ApplicationWindow) ListActions() []string { | |||
| 485 | 493 | func (x *ApplicationWindow) QueryAction(ActionNameVar string, EnabledVar *bool, ParameterTypeVar **glib.VariantType, StateTypeVar **glib.VariantType, StateHintVar **glib.Variant, StateVar **glib.Variant) bool { | |
| 486 | 494 | ||
| 487 | 495 | cret := gio.XGActionGroupQueryAction(x.GoPointer(), ActionNameVar, EnabledVar, ParameterTypeVar, StateTypeVar, StateHintVar, StateVar) | |
| 496 | + | ||
| 488 | 497 | return cret | |
| 489 | 498 | } | |
| 490 | 499 | ||
| @@ -641,6 +650,7 @@ func (x *ApplicationWindow) GetAccessibleParent() *gtk.AccessibleBase { | |||
| 641 | 650 | func (x *ApplicationWindow) GetAccessibleRole() gtk.AccessibleRole { | |
| 642 | 651 | ||
| 643 | 652 | cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer()) | |
| 653 | + | ||
| 644 | 654 | return cret | |
| 645 | 655 | } | |
| 646 | 656 | ||
| @@ -666,6 +676,7 @@ func (x *ApplicationWindow) GetAtContext() *gtk.ATContext { | |||
| 666 | 676 | func (x *ApplicationWindow) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool { | |
| 667 | 677 | ||
| 668 | 678 | cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar) | |
| 679 | + | ||
| 669 | 680 | return cret | |
| 670 | 681 | } | |
| 671 | 682 | ||
| @@ -705,6 +716,7 @@ func (x *ApplicationWindow) GetNextAccessibleSibling() *gtk.AccessibleBase { | |||
| 705 | 716 | func (x *ApplicationWindow) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool { | |
| 706 | 717 | ||
| 707 | 718 | cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar) | |
| 719 | + | ||
| 708 | 720 | return cret | |
| 709 | 721 | } | |
| 710 | 722 | ||
| @@ -881,6 +893,7 @@ func (x *ApplicationWindow) UpdateStateValue(NStatesVar int, StatesVar []gtk.Acc | |||
| 881 | 893 | func (x *ApplicationWindow) GetBuildableId() string { | |
| 882 | 894 | ||
| 883 | 895 | cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer()) | |
| 896 | + | ||
| 884 | 897 | return cret | |
| 885 | 898 | } | |
| 886 | 899 | ||
M v4/adw/adw-application.go +14 -1
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package adw | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "runtime" | |
| 5 | 6 | "structs" | |
| 6 | 7 | "unsafe" | |
| 7 | 8 | ||
| @@ -98,7 +99,11 @@ var xNewApplication func(uintptr, gio.ApplicationFlags) uintptr | |||
| 98 | 99 | func NewApplication(ApplicationIdVar *string, FlagsVar gio.ApplicationFlags) *Application { | |
| 99 | 100 | var cls *Application | |
| 100 | 101 | ||
| 101 | - | cret := xNewApplication(core.NullableStringToPtr(ApplicationIdVar), FlagsVar) | |
| 102 | + | ApplicationIdVarPtr, ApplicationIdVarBytes := core.NullableStringToPtr(ApplicationIdVar) | |
| 103 | + | ||
| 104 | + | cret := xNewApplication(ApplicationIdVarPtr, FlagsVar) | |
| 105 | + | ||
| 106 | + | runtime.KeepAlive(ApplicationIdVarBytes) | |
| 102 | 107 | ||
| 103 | 108 | if cret == 0 { | |
| 104 | 109 | return nil | |
| @@ -238,6 +243,7 @@ func (x *Application) ChangeActionState(ActionNameVar string, ValueVar *glib.Var | |||
| 238 | 243 | func (x *Application) GetActionEnabled(ActionNameVar string) bool { | |
| 239 | 244 | ||
| 240 | 245 | cret := gio.XGActionGroupGetActionEnabled(x.GoPointer(), ActionNameVar) | |
| 246 | + | ||
| 241 | 247 | return cret | |
| 242 | 248 | } | |
| 243 | 249 | ||
| @@ -257,6 +263,7 @@ func (x *Application) GetActionEnabled(ActionNameVar string) bool { | |||
| 257 | 263 | func (x *Application) GetActionParameterType(ActionNameVar string) *glib.VariantType { | |
| 258 | 264 | ||
| 259 | 265 | cret := gio.XGActionGroupGetActionParameterType(x.GoPointer(), ActionNameVar) | |
| 266 | + | ||
| 260 | 267 | return cret | |
| 261 | 268 | } | |
| 262 | 269 | ||
| @@ -271,6 +278,7 @@ func (x *Application) GetActionParameterType(ActionNameVar string) *glib.Variant | |||
| 271 | 278 | func (x *Application) GetActionState(ActionNameVar string) *glib.Variant { | |
| 272 | 279 | ||
| 273 | 280 | cret := gio.XGActionGroupGetActionState(x.GoPointer(), ActionNameVar) | |
| 281 | + | ||
| 274 | 282 | return cret | |
| 275 | 283 | } | |
| 276 | 284 | ||
| @@ -295,6 +303,7 @@ func (x *Application) GetActionState(ActionNameVar string) *glib.Variant { | |||
| 295 | 303 | func (x *Application) GetActionStateHint(ActionNameVar string) *glib.Variant { | |
| 296 | 304 | ||
| 297 | 305 | cret := gio.XGActionGroupGetActionStateHint(x.GoPointer(), ActionNameVar) | |
| 306 | + | ||
| 298 | 307 | return cret | |
| 299 | 308 | } | |
| 300 | 309 | ||
| @@ -317,6 +326,7 @@ func (x *Application) GetActionStateHint(ActionNameVar string) *glib.Variant { | |||
| 317 | 326 | func (x *Application) GetActionStateType(ActionNameVar string) *glib.VariantType { | |
| 318 | 327 | ||
| 319 | 328 | cret := gio.XGActionGroupGetActionStateType(x.GoPointer(), ActionNameVar) | |
| 329 | + | ||
| 320 | 330 | return cret | |
| 321 | 331 | } | |
| 322 | 332 | ||
| @@ -324,6 +334,7 @@ func (x *Application) GetActionStateType(ActionNameVar string) *glib.VariantType | |||
| 324 | 334 | func (x *Application) HasAction(ActionNameVar string) bool { | |
| 325 | 335 | ||
| 326 | 336 | cret := gio.XGActionGroupHasAction(x.GoPointer(), ActionNameVar) | |
| 337 | + | ||
| 327 | 338 | return cret | |
| 328 | 339 | } | |
| 329 | 340 | ||
| @@ -334,6 +345,7 @@ func (x *Application) HasAction(ActionNameVar string) bool { | |||
| 334 | 345 | func (x *Application) ListActions() []string { | |
| 335 | 346 | ||
| 336 | 347 | cret := gio.XGActionGroupListActions(x.GoPointer()) | |
| 348 | + | ||
| 337 | 349 | return cret | |
| 338 | 350 | } | |
| 339 | 351 | ||
| @@ -367,6 +379,7 @@ func (x *Application) ListActions() []string { | |||
| 367 | 379 | func (x *Application) QueryAction(ActionNameVar string, EnabledVar *bool, ParameterTypeVar **glib.VariantType, StateTypeVar **glib.VariantType, StateHintVar **glib.Variant, StateVar **glib.Variant) bool { | |
| 368 | 380 | ||
| 369 | 381 | cret := gio.XGActionGroupQueryAction(x.GoPointer(), ActionNameVar, EnabledVar, ParameterTypeVar, StateTypeVar, StateHintVar, StateVar) | |
| 382 | + | ||
| 370 | 383 | return cret | |
| 371 | 384 | } | |
| 372 | 385 | ||
M v4/adw/adw-avatar.go +24 -3
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package adw | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "runtime" | |
| 5 | 6 | "structs" | |
| 6 | 7 | "unsafe" | |
| 7 | 8 | ||
| @@ -74,7 +75,11 @@ var xNewAvatar func(int, uintptr, bool) uintptr | |||
| 74 | 75 | func NewAvatar(SizeVar int, TextVar *string, ShowInitialsVar bool) *Avatar { | |
| 75 | 76 | var cls *Avatar | |
| 76 | 77 | ||
| 77 | - | cret := xNewAvatar(SizeVar, core.NullableStringToPtr(TextVar), ShowInitialsVar) | |
| 78 | + | TextVarPtr, TextVarBytes := core.NullableStringToPtr(TextVar) | |
| 79 | + | ||
| 80 | + | cret := xNewAvatar(SizeVar, TextVarPtr, ShowInitialsVar) | |
| 81 | + | ||
| 82 | + | runtime.KeepAlive(TextVarBytes) | |
| 78 | 83 | ||
| 79 | 84 | if cret == 0 { | |
| 80 | 85 | return nil | |
| @@ -126,6 +131,7 @@ var xAvatarGetIconName func(uintptr) string | |||
| 126 | 131 | func (x *Avatar) GetIconName() string { | |
| 127 | 132 | ||
| 128 | 133 | cret := xAvatarGetIconName(x.GoPointer()) | |
| 134 | + | ||
| 129 | 135 | return cret | |
| 130 | 136 | } | |
| 131 | 137 | ||
| @@ -135,6 +141,7 @@ var xAvatarGetShowInitials func(uintptr) bool | |||
| 135 | 141 | func (x *Avatar) GetShowInitials() bool { | |
| 136 | 142 | ||
| 137 | 143 | cret := xAvatarGetShowInitials(x.GoPointer()) | |
| 144 | + | ||
| 138 | 145 | return cret | |
| 139 | 146 | } | |
| 140 | 147 | ||
| @@ -144,6 +151,7 @@ var xAvatarGetSize func(uintptr) int | |||
| 144 | 151 | func (x *Avatar) GetSize() int { | |
| 145 | 152 | ||
| 146 | 153 | cret := xAvatarGetSize(x.GoPointer()) | |
| 154 | + | ||
| 147 | 155 | return cret | |
| 148 | 156 | } | |
| 149 | 157 | ||
| @@ -153,6 +161,7 @@ var xAvatarGetText func(uintptr) string | |||
| 153 | 161 | func (x *Avatar) GetText() string { | |
| 154 | 162 | ||
| 155 | 163 | cret := xAvatarGetText(x.GoPointer()) | |
| 164 | + | ||
| 156 | 165 | return cret | |
| 157 | 166 | } | |
| 158 | 167 | ||
| @@ -174,7 +183,11 @@ var xAvatarSetIconName func(uintptr, uintptr) | |||
| 174 | 183 | // If no name is set, `avatar-default-symbolic` will be used. | |
| 175 | 184 | func (x *Avatar) SetIconName(IconNameVar *string) { | |
| 176 | 185 | ||
| 177 | - | xAvatarSetIconName(x.GoPointer(), core.NullableStringToPtr(IconNameVar)) | |
| 186 | + | IconNameVarPtr, IconNameVarBytes := core.NullableStringToPtr(IconNameVar) | |
| 187 | + | ||
| 188 | + | xAvatarSetIconName(x.GoPointer(), IconNameVarPtr) | |
| 189 | + | ||
| 190 | + | runtime.KeepAlive(IconNameVarBytes) | |
| 178 | 191 | ||
| 179 | 192 | } | |
| 180 | 193 | ||
| @@ -206,7 +219,11 @@ var xAvatarSetText func(uintptr, uintptr) | |||
| 206 | 219 | // `FALSE`. | |
| 207 | 220 | func (x *Avatar) SetText(TextVar *string) { | |
| 208 | 221 | ||
| 209 | - | xAvatarSetText(x.GoPointer(), core.NullableStringToPtr(TextVar)) | |
| 222 | + | TextVarPtr, TextVarBytes := core.NullableStringToPtr(TextVar) | |
| 223 | + | ||
| 224 | + | xAvatarSetText(x.GoPointer(), TextVarPtr) | |
| 225 | + | ||
| 226 | + | runtime.KeepAlive(TextVarBytes) | |
| 210 | 227 | ||
| 211 | 228 | } | |
| 212 | 229 | ||
| @@ -338,6 +355,7 @@ func (x *Avatar) GetAccessibleParent() *gtk.AccessibleBase { | |||
| 338 | 355 | func (x *Avatar) GetAccessibleRole() gtk.AccessibleRole { | |
| 339 | 356 | ||
| 340 | 357 | cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer()) | |
| 358 | + | ||
| 341 | 359 | return cret | |
| 342 | 360 | } | |
| 343 | 361 | ||
| @@ -363,6 +381,7 @@ func (x *Avatar) GetAtContext() *gtk.ATContext { | |||
| 363 | 381 | func (x *Avatar) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool { | |
| 364 | 382 | ||
| 365 | 383 | cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar) | |
| 384 | + | ||
| 366 | 385 | return cret | |
| 367 | 386 | } | |
| 368 | 387 | ||
| @@ -402,6 +421,7 @@ func (x *Avatar) GetNextAccessibleSibling() *gtk.AccessibleBase { | |||
| 402 | 421 | func (x *Avatar) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool { | |
| 403 | 422 | ||
| 404 | 423 | cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar) | |
| 424 | + | ||
| 405 | 425 | return cret | |
| 406 | 426 | } | |
| 407 | 427 | ||
| @@ -578,6 +598,7 @@ func (x *Avatar) UpdateStateValue(NStatesVar int, StatesVar []gtk.AccessibleStat | |||
| 578 | 598 | func (x *Avatar) GetBuildableId() string { | |
| 579 | 599 | ||
| 580 | 600 | cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer()) | |
| 601 | + | ||
| 581 | 602 | return cret | |
| 582 | 603 | } | |
| 583 | 604 | ||
M v4/adw/adw-banner.go +22 -2
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package adw | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "runtime" | |
| 5 | 6 | "structs" | |
| 6 | 7 | "unsafe" | |
| 7 | 8 | ||
| @@ -115,6 +116,7 @@ var xBannerGetButtonLabel func(uintptr) string | |||
| 115 | 116 | func (x *Banner) GetButtonLabel() string { | |
| 116 | 117 | ||
| 117 | 118 | cret := xBannerGetButtonLabel(x.GoPointer()) | |
| 119 | + | ||
| 118 | 120 | return cret | |
| 119 | 121 | } | |
| 120 | 122 | ||
| @@ -124,6 +126,7 @@ var xBannerGetButtonStyle func(uintptr) BannerButtonStyle | |||
| 124 | 126 | func (x *Banner) GetButtonStyle() BannerButtonStyle { | |
| 125 | 127 | ||
| 126 | 128 | cret := xBannerGetButtonStyle(x.GoPointer()) | |
| 129 | + | ||
| 127 | 130 | return cret | |
| 128 | 131 | } | |
| 129 | 132 | ||
| @@ -133,6 +136,7 @@ var xBannerGetRevealed func(uintptr) bool | |||
| 133 | 136 | func (x *Banner) GetRevealed() bool { | |
| 134 | 137 | ||
| 135 | 138 | cret := xBannerGetRevealed(x.GoPointer()) | |
| 139 | + | ||
| 136 | 140 | return cret | |
| 137 | 141 | } | |
| 138 | 142 | ||
| @@ -142,6 +146,7 @@ var xBannerGetTitle func(uintptr) string | |||
| 142 | 146 | func (x *Banner) GetTitle() string { | |
| 143 | 147 | ||
| 144 | 148 | cret := xBannerGetTitle(x.GoPointer()) | |
| 149 | + | ||
| 145 | 150 | return cret | |
| 146 | 151 | } | |
| 147 | 152 | ||
| @@ -151,6 +156,7 @@ var xBannerGetUseMarkup func(uintptr) bool | |||
| 151 | 156 | func (x *Banner) GetUseMarkup() bool { | |
| 152 | 157 | ||
| 153 | 158 | cret := xBannerGetUseMarkup(x.GoPointer()) | |
| 159 | + | ||
| 154 | 160 | return cret | |
| 155 | 161 | } | |
| 156 | 162 | ||
| @@ -164,7 +170,11 @@ var xBannerSetButtonLabel func(uintptr, uintptr) | |||
| 164 | 170 | // [signal@Banner::button-clicked] signal. | |
| 165 | 171 | func (x *Banner) SetButtonLabel(LabelVar *string) { | |
| 166 | 172 | ||
| 167 | - | xBannerSetButtonLabel(x.GoPointer(), core.NullableStringToPtr(LabelVar)) | |
| 173 | + | LabelVarPtr, LabelVarBytes := core.NullableStringToPtr(LabelVar) | |
| 174 | + | ||
| 175 | + | xBannerSetButtonLabel(x.GoPointer(), LabelVarPtr) | |
| 176 | + | ||
| 177 | + | runtime.KeepAlive(LabelVarBytes) | |
| 168 | 178 | ||
| 169 | 179 | } | |
| 170 | 180 | ||
| @@ -372,6 +382,7 @@ func (x *Banner) GetAccessibleParent() *gtk.AccessibleBase { | |||
| 372 | 382 | func (x *Banner) GetAccessibleRole() gtk.AccessibleRole { | |
| 373 | 383 | ||
| 374 | 384 | cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer()) | |
| 385 | + | ||
| 375 | 386 | return cret | |
| 376 | 387 | } | |
| 377 | 388 | ||
| @@ -397,6 +408,7 @@ func (x *Banner) GetAtContext() *gtk.ATContext { | |||
| 397 | 408 | func (x *Banner) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool { | |
| 398 | 409 | ||
| 399 | 410 | cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar) | |
| 411 | + | ||
| 400 | 412 | return cret | |
| 401 | 413 | } | |
| 402 | 414 | ||
| @@ -436,6 +448,7 @@ func (x *Banner) GetNextAccessibleSibling() *gtk.AccessibleBase { | |||
| 436 | 448 | func (x *Banner) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool { | |
| 437 | 449 | ||
| 438 | 450 | cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar) | |
| 451 | + | ||
| 439 | 452 | return cret | |
| 440 | 453 | } | |
| 441 | 454 | ||
| @@ -609,6 +622,7 @@ func (x *Banner) UpdateStateValue(NStatesVar int, StatesVar []gtk.AccessibleStat | |||
| 609 | 622 | func (x *Banner) GetActionName() string { | |
| 610 | 623 | ||
| 611 | 624 | cret := gtk.XGtkActionableGetActionName(x.GoPointer()) | |
| 625 | + | ||
| 612 | 626 | return cret | |
| 613 | 627 | } | |
| 614 | 628 | ||
| @@ -616,6 +630,7 @@ func (x *Banner) GetActionName() string { | |||
| 616 | 630 | func (x *Banner) GetActionTargetValue() *glib.Variant { | |
| 617 | 631 | ||
| 618 | 632 | cret := gtk.XGtkActionableGetActionTargetValue(x.GoPointer()) | |
| 633 | + | ||
| 619 | 634 | return cret | |
| 620 | 635 | } | |
| 621 | 636 | ||
| @@ -634,7 +649,11 @@ func (x *Banner) GetActionTargetValue() *glib.Variant { | |||
| 634 | 649 | // associated with the window. | |
| 635 | 650 | func (x *Banner) SetActionName(ActionNameVar *string) { | |
| 636 | 651 | ||
| 637 | - | gtk.XGtkActionableSetActionName(x.GoPointer(), core.NullableStringToPtr(ActionNameVar)) | |
| 652 | + | ActionNameVarPtr, ActionNameVarBytes := core.NullableStringToPtr(ActionNameVar) | |
| 653 | + | ||
| 654 | + | gtk.XGtkActionableSetActionName(x.GoPointer(), ActionNameVarPtr) | |
| 655 | + | ||
| 656 | + | runtime.KeepAlive(ActionNameVarBytes) | |
| 638 | 657 | ||
| 639 | 658 | } | |
| 640 | 659 | ||
| @@ -695,6 +714,7 @@ func (x *Banner) SetDetailedActionName(DetailedActionNameVar string) { | |||
| 695 | 714 | func (x *Banner) GetBuildableId() string { | |
| 696 | 715 | ||
| 697 | 716 | cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer()) | |
| 717 | + | ||
| 698 | 718 | return cret | |
| 699 | 719 | } | |
| 700 | 720 | ||
M v4/adw/adw-bin.go +4 -0
| @@ -141,6 +141,7 @@ func (x *Bin) GetAccessibleParent() *gtk.AccessibleBase { | |||
| 141 | 141 | func (x *Bin) GetAccessibleRole() gtk.AccessibleRole { | |
| 142 | 142 | ||
| 143 | 143 | cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer()) | |
| 144 | + | ||
| 144 | 145 | return cret | |
| 145 | 146 | } | |
| 146 | 147 | ||
| @@ -166,6 +167,7 @@ func (x *Bin) GetAtContext() *gtk.ATContext { | |||
| 166 | 167 | func (x *Bin) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool { | |
| 167 | 168 | ||
| 168 | 169 | cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar) | |
| 170 | + | ||
| 169 | 171 | return cret | |
| 170 | 172 | } | |
| 171 | 173 | ||
| @@ -205,6 +207,7 @@ func (x *Bin) GetNextAccessibleSibling() *gtk.AccessibleBase { | |||
| 205 | 207 | func (x *Bin) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool { | |
| 206 | 208 | ||
| 207 | 209 | cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar) | |
| 210 | + | ||
| 208 | 211 | return cret | |
| 209 | 212 | } | |
| 210 | 213 | ||
| @@ -381,6 +384,7 @@ func (x *Bin) UpdateStateValue(NStatesVar int, StatesVar []gtk.AccessibleState, | |||
| 381 | 384 | func (x *Bin) GetBuildableId() string { | |
| 382 | 385 | ||
| 383 | 386 | cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer()) | |
| 387 | + | ||
| 384 | 388 | return cret | |
| 385 | 389 | } | |
| 386 | 390 | ||
M v4/adw/adw-bottom-sheet.go +18 -0
| @@ -137,6 +137,7 @@ var xBottomSheetGetAlign func(uintptr) float32 | |||
| 137 | 137 | func (x *BottomSheet) GetAlign() float32 { | |
| 138 | 138 | ||
| 139 | 139 | cret := xBottomSheetGetAlign(x.GoPointer()) | |
| 140 | + | ||
| 140 | 141 | return cret | |
| 141 | 142 | } | |
| 142 | 143 | ||
| @@ -166,6 +167,7 @@ var xBottomSheetGetBottomBarHeight func(uintptr) int | |||
| 166 | 167 | func (x *BottomSheet) GetBottomBarHeight() int { | |
| 167 | 168 | ||
| 168 | 169 | cret := xBottomSheetGetBottomBarHeight(x.GoPointer()) | |
| 170 | + | ||
| 169 | 171 | return cret | |
| 170 | 172 | } | |
| 171 | 173 | ||
| @@ -175,6 +177,7 @@ var xBottomSheetGetCanClose func(uintptr) bool | |||
| 175 | 177 | func (x *BottomSheet) GetCanClose() bool { | |
| 176 | 178 | ||
| 177 | 179 | cret := xBottomSheetGetCanClose(x.GoPointer()) | |
| 180 | + | ||
| 178 | 181 | return cret | |
| 179 | 182 | } | |
| 180 | 183 | ||
| @@ -184,6 +187,7 @@ var xBottomSheetGetCanOpen func(uintptr) bool | |||
| 184 | 187 | func (x *BottomSheet) GetCanOpen() bool { | |
| 185 | 188 | ||
| 186 | 189 | cret := xBottomSheetGetCanOpen(x.GoPointer()) | |
| 190 | + | ||
| 187 | 191 | return cret | |
| 188 | 192 | } | |
| 189 | 193 | ||
| @@ -210,6 +214,7 @@ var xBottomSheetGetFullWidth func(uintptr) bool | |||
| 210 | 214 | func (x *BottomSheet) GetFullWidth() bool { | |
| 211 | 215 | ||
| 212 | 216 | cret := xBottomSheetGetFullWidth(x.GoPointer()) | |
| 217 | + | ||
| 213 | 218 | return cret | |
| 214 | 219 | } | |
| 215 | 220 | ||
| @@ -219,6 +224,7 @@ var xBottomSheetGetModal func(uintptr) bool | |||
| 219 | 224 | func (x *BottomSheet) GetModal() bool { | |
| 220 | 225 | ||
| 221 | 226 | cret := xBottomSheetGetModal(x.GoPointer()) | |
| 227 | + | ||
| 222 | 228 | return cret | |
| 223 | 229 | } | |
| 224 | 230 | ||
| @@ -228,6 +234,7 @@ var xBottomSheetGetOpen func(uintptr) bool | |||
| 228 | 234 | func (x *BottomSheet) GetOpen() bool { | |
| 229 | 235 | ||
| 230 | 236 | cret := xBottomSheetGetOpen(x.GoPointer()) | |
| 237 | + | ||
| 231 | 238 | return cret | |
| 232 | 239 | } | |
| 233 | 240 | ||
| @@ -237,6 +244,7 @@ var xBottomSheetGetRevealBottomBar func(uintptr) bool | |||
| 237 | 244 | func (x *BottomSheet) GetRevealBottomBar() bool { | |
| 238 | 245 | ||
| 239 | 246 | cret := xBottomSheetGetRevealBottomBar(x.GoPointer()) | |
| 247 | + | ||
| 240 | 248 | return cret | |
| 241 | 249 | } | |
| 242 | 250 | ||
| @@ -265,6 +273,7 @@ var xBottomSheetGetSheetHeight func(uintptr) int | |||
| 265 | 273 | func (x *BottomSheet) GetSheetHeight() int { | |
| 266 | 274 | ||
| 267 | 275 | cret := xBottomSheetGetSheetHeight(x.GoPointer()) | |
| 276 | + | ||
| 268 | 277 | return cret | |
| 269 | 278 | } | |
| 270 | 279 | ||
| @@ -274,6 +283,7 @@ var xBottomSheetGetShowDragHandle func(uintptr) bool | |||
| 274 | 283 | func (x *BottomSheet) GetShowDragHandle() bool { | |
| 275 | 284 | ||
| 276 | 285 | cret := xBottomSheetGetShowDragHandle(x.GoPointer()) | |
| 286 | + | ||
| 277 | 287 | return cret | |
| 278 | 288 | } | |
| 279 | 289 | ||
| @@ -690,6 +700,7 @@ func (x *BottomSheet) ConnectCloseAttempt(cb *func(BottomSheet)) uint32 { | |||
| 690 | 700 | func (x *BottomSheet) GetCancelProgress() float64 { | |
| 691 | 701 | ||
| 692 | 702 | cret := XAdwSwipeableGetCancelProgress(x.GoPointer()) | |
| 703 | + | ||
| 693 | 704 | return cret | |
| 694 | 705 | } | |
| 695 | 706 | ||
| @@ -699,6 +710,7 @@ func (x *BottomSheet) GetCancelProgress() float64 { | |||
| 699 | 710 | func (x *BottomSheet) GetDistance() float64 { | |
| 700 | 711 | ||
| 701 | 712 | cret := XAdwSwipeableGetDistance(x.GoPointer()) | |
| 713 | + | ||
| 702 | 714 | return cret | |
| 703 | 715 | } | |
| 704 | 716 | ||
| @@ -706,6 +718,7 @@ func (x *BottomSheet) GetDistance() float64 { | |||
| 706 | 718 | func (x *BottomSheet) GetProgress() float64 { | |
| 707 | 719 | ||
| 708 | 720 | cret := XAdwSwipeableGetProgress(x.GoPointer()) | |
| 721 | + | ||
| 709 | 722 | return cret | |
| 710 | 723 | } | |
| 711 | 724 | ||
| @@ -716,6 +729,7 @@ func (x *BottomSheet) GetProgress() float64 { | |||
| 716 | 729 | func (x *BottomSheet) GetSnapPoints(NSnapPointsVar *int) uintptr { | |
| 717 | 730 | ||
| 718 | 731 | cret := XAdwSwipeableGetSnapPoints(x.GoPointer(), NSnapPointsVar) | |
| 732 | + | ||
| 719 | 733 | return cret | |
| 720 | 734 | } | |
| 721 | 735 | ||
| @@ -769,6 +783,7 @@ func (x *BottomSheet) GetAccessibleParent() *gtk.AccessibleBase { | |||
| 769 | 783 | func (x *BottomSheet) GetAccessibleRole() gtk.AccessibleRole { | |
| 770 | 784 | ||
| 771 | 785 | cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer()) | |
| 786 | + | ||
| 772 | 787 | return cret | |
| 773 | 788 | } | |
| 774 | 789 | ||
| @@ -794,6 +809,7 @@ func (x *BottomSheet) GetAtContext() *gtk.ATContext { | |||
| 794 | 809 | func (x *BottomSheet) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool { | |
| 795 | 810 | ||
| 796 | 811 | cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar) | |
| 812 | + | ||
| 797 | 813 | return cret | |
| 798 | 814 | } | |
| 799 | 815 | ||
| @@ -833,6 +849,7 @@ func (x *BottomSheet) GetNextAccessibleSibling() *gtk.AccessibleBase { | |||
| 833 | 849 | func (x *BottomSheet) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool { | |
| 834 | 850 | ||
| 835 | 851 | cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar) | |
| 852 | + | ||
| 836 | 853 | return cret | |
| 837 | 854 | } | |
| 838 | 855 | ||
| @@ -1009,6 +1026,7 @@ func (x *BottomSheet) UpdateStateValue(NStatesVar int, StatesVar []gtk.Accessibl | |||
| 1009 | 1026 | func (x *BottomSheet) GetBuildableId() string { | |
| 1010 | 1027 | ||
| 1011 | 1028 | cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer()) | |
| 1029 | + | ||
| 1012 | 1030 | return cret | |
| 1013 | 1031 | } | |
| 1014 | 1032 | ||
M v4/adw/adw-breakpoint-bin.go +4 -0
| @@ -281,6 +281,7 @@ func (x *BreakpointBin) GetAccessibleParent() *gtk.AccessibleBase { | |||
| 281 | 281 | func (x *BreakpointBin) GetAccessibleRole() gtk.AccessibleRole { | |
| 282 | 282 | ||
| 283 | 283 | cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer()) | |
| 284 | + | ||
| 284 | 285 | return cret | |
| 285 | 286 | } | |
| 286 | 287 | ||
| @@ -306,6 +307,7 @@ func (x *BreakpointBin) GetAtContext() *gtk.ATContext { | |||
| 306 | 307 | func (x *BreakpointBin) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool { | |
| 307 | 308 | ||
| 308 | 309 | cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar) | |
| 310 | + | ||
| 309 | 311 | return cret | |
| 310 | 312 | } | |
| 311 | 313 | ||
| @@ -345,6 +347,7 @@ func (x *BreakpointBin) GetNextAccessibleSibling() *gtk.AccessibleBase { | |||
| 345 | 347 | func (x *BreakpointBin) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool { | |
| 346 | 348 | ||
| 347 | 349 | cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar) | |
| 350 | + | ||
| 348 | 351 | return cret | |
| 349 | 352 | } | |
| 350 | 353 | ||
| @@ -521,6 +524,7 @@ func (x *BreakpointBin) UpdateStateValue(NStatesVar int, StatesVar []gtk.Accessi | |||
| 521 | 524 | func (x *BreakpointBin) GetBuildableId() string { | |
| 522 | 525 | ||
| 523 | 526 | cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer()) | |
| 527 | + | ||
| 524 | 528 | return cret | |
| 525 | 529 | } | |
| 526 | 530 | ||
M v4/adw/adw-breakpoint.go +9 -0
| @@ -45,6 +45,7 @@ var xNewBreakpointConditionAnd func(*BreakpointCondition, *BreakpointCondition) | |||
| 45 | 45 | func NewBreakpointConditionAnd(Condition1Var *BreakpointCondition, Condition2Var *BreakpointCondition) *BreakpointCondition { | |
| 46 | 46 | ||
| 47 | 47 | cret := xNewBreakpointConditionAnd(Condition1Var, Condition2Var) | |
| 48 | + | ||
| 48 | 49 | return cret | |
| 49 | 50 | } | |
| 50 | 51 | ||
| @@ -54,6 +55,7 @@ var xNewBreakpointConditionLength func(BreakpointConditionLengthType, float64, L | |||
| 54 | 55 | func NewBreakpointConditionLength(TypeVar BreakpointConditionLengthType, ValueVar float64, UnitVar LengthUnit) *BreakpointCondition { | |
| 55 | 56 | ||
| 56 | 57 | cret := xNewBreakpointConditionLength(TypeVar, ValueVar, UnitVar) | |
| 58 | + | ||
| 57 | 59 | return cret | |
| 58 | 60 | } | |
| 59 | 61 | ||
| @@ -64,6 +66,7 @@ var xNewBreakpointConditionOr func(*BreakpointCondition, *BreakpointCondition) * | |||
| 64 | 66 | func NewBreakpointConditionOr(Condition1Var *BreakpointCondition, Condition2Var *BreakpointCondition) *BreakpointCondition { | |
| 65 | 67 | ||
| 66 | 68 | cret := xNewBreakpointConditionOr(Condition1Var, Condition2Var) | |
| 69 | + | ||
| 67 | 70 | return cret | |
| 68 | 71 | } | |
| 69 | 72 | ||
| @@ -75,6 +78,7 @@ var xNewBreakpointConditionRatio func(BreakpointConditionRatioType, int, int) *B | |||
| 75 | 78 | func NewBreakpointConditionRatio(TypeVar BreakpointConditionRatioType, WidthVar int, HeightVar int) *BreakpointCondition { | |
| 76 | 79 | ||
| 77 | 80 | cret := xNewBreakpointConditionRatio(TypeVar, WidthVar, HeightVar) | |
| 81 | + | ||
| 78 | 82 | return cret | |
| 79 | 83 | } | |
| 80 | 84 | ||
| @@ -84,6 +88,7 @@ var xBreakpointConditionCopy func(uintptr) *BreakpointCondition | |||
| 84 | 88 | func (x *BreakpointCondition) Copy() *BreakpointCondition { | |
| 85 | 89 | ||
| 86 | 90 | cret := xBreakpointConditionCopy(x.GoPointer()) | |
| 91 | + | ||
| 87 | 92 | return cret | |
| 88 | 93 | } | |
| 89 | 94 | ||
| @@ -104,6 +109,7 @@ var xBreakpointConditionToString func(uintptr) string | |||
| 104 | 109 | func (x *BreakpointCondition) ToString() string { | |
| 105 | 110 | ||
| 106 | 111 | cret := xBreakpointConditionToString(x.GoPointer()) | |
| 112 | + | ||
| 107 | 113 | return cret | |
| 108 | 114 | } | |
| 109 | 115 | ||
| @@ -219,6 +225,7 @@ var xBreakpointConditionParse func(string) *BreakpointCondition | |||
| 219 | 225 | func BreakpointConditionParse(StrVar string) *BreakpointCondition { | |
| 220 | 226 | ||
| 221 | 227 | cret := xBreakpointConditionParse(StrVar) | |
| 228 | + | ||
| 222 | 229 | return cret | |
| 223 | 230 | } | |
| 224 | 231 | ||
| @@ -408,6 +415,7 @@ var xBreakpointGetCondition func(uintptr) *BreakpointCondition | |||
| 408 | 415 | func (x *Breakpoint) GetCondition() *BreakpointCondition { | |
| 409 | 416 | ||
| 410 | 417 | cret := xBreakpointGetCondition(x.GoPointer()) | |
| 418 | + | ||
| 411 | 419 | return cret | |
| 412 | 420 | } | |
| 413 | 421 | ||
| @@ -499,6 +507,7 @@ func (x *Breakpoint) ConnectUnapply(cb *func(Breakpoint)) uint32 { | |||
| 499 | 507 | func (x *Breakpoint) GetBuildableId() string { | |
| 500 | 508 | ||
| 501 | 509 | cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer()) | |
| 510 | + | ||
| 502 | 511 | return cret | |
| 503 | 512 | } | |
| 504 | 513 | ||
M v4/adw/adw-button-content.go +8 -0
| @@ -114,6 +114,7 @@ var xButtonContentGetCanShrink func(uintptr) bool | |||
| 114 | 114 | func (x *ButtonContent) GetCanShrink() bool { | |
| 115 | 115 | ||
| 116 | 116 | cret := xButtonContentGetCanShrink(x.GoPointer()) | |
| 117 | + | ||
| 117 | 118 | return cret | |
| 118 | 119 | } | |
| 119 | 120 | ||
| @@ -123,6 +124,7 @@ var xButtonContentGetIconName func(uintptr) string | |||
| 123 | 124 | func (x *ButtonContent) GetIconName() string { | |
| 124 | 125 | ||
| 125 | 126 | cret := xButtonContentGetIconName(x.GoPointer()) | |
| 127 | + | ||
| 126 | 128 | return cret | |
| 127 | 129 | } | |
| 128 | 130 | ||
| @@ -132,6 +134,7 @@ var xButtonContentGetLabel func(uintptr) string | |||
| 132 | 134 | func (x *ButtonContent) GetLabel() string { | |
| 133 | 135 | ||
| 134 | 136 | cret := xButtonContentGetLabel(x.GoPointer()) | |
| 137 | + | ||
| 135 | 138 | return cret | |
| 136 | 139 | } | |
| 137 | 140 | ||
| @@ -141,6 +144,7 @@ var xButtonContentGetUseUnderline func(uintptr) bool | |||
| 141 | 144 | func (x *ButtonContent) GetUseUnderline() bool { | |
| 142 | 145 | ||
| 143 | 146 | cret := xButtonContentGetUseUnderline(x.GoPointer()) | |
| 147 | + | ||
| 144 | 148 | return cret | |
| 145 | 149 | } | |
| 146 | 150 | ||
| @@ -324,6 +328,7 @@ func (x *ButtonContent) GetAccessibleParent() *gtk.AccessibleBase { | |||
| 324 | 328 | func (x *ButtonContent) GetAccessibleRole() gtk.AccessibleRole { | |
| 325 | 329 | ||
| 326 | 330 | cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer()) | |
| 331 | + | ||
| 327 | 332 | return cret | |
| 328 | 333 | } | |
| 329 | 334 | ||
| @@ -349,6 +354,7 @@ func (x *ButtonContent) GetAtContext() *gtk.ATContext { | |||
| 349 | 354 | func (x *ButtonContent) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool { | |
| 350 | 355 | ||
| 351 | 356 | cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar) | |
| 357 | + | ||
| 352 | 358 | return cret | |
| 353 | 359 | } | |
| 354 | 360 | ||
| @@ -388,6 +394,7 @@ func (x *ButtonContent) GetNextAccessibleSibling() *gtk.AccessibleBase { | |||
| 388 | 394 | func (x *ButtonContent) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool { | |
| 389 | 395 | ||
| 390 | 396 | cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar) | |
| 397 | + | ||
| 391 | 398 | return cret | |
| 392 | 399 | } | |
| 393 | 400 | ||
| @@ -564,6 +571,7 @@ func (x *ButtonContent) UpdateStateValue(NStatesVar int, StatesVar []gtk.Accessi | |||
| 564 | 571 | func (x *ButtonContent) GetBuildableId() string { | |
| 565 | 572 | ||
| 566 | 573 | cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer()) | |
| 574 | + | ||
| 567 | 575 | return cret | |
| 568 | 576 | } | |
| 569 | 577 | ||
M v4/adw/adw-button-row.go +24 -3
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package adw | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "runtime" | |
| 5 | 6 | "structs" | |
| 6 | 7 | "unsafe" | |
| 7 | 8 | ||
| @@ -112,6 +113,7 @@ var xButtonRowGetEndIconName func(uintptr) string | |||
| 112 | 113 | func (x *ButtonRow) GetEndIconName() string { | |
| 113 | 114 | ||
| 114 | 115 | cret := xButtonRowGetEndIconName(x.GoPointer()) | |
| 116 | + | ||
| 115 | 117 | return cret | |
| 116 | 118 | } | |
| 117 | 119 | ||
| @@ -121,6 +123,7 @@ var xButtonRowGetStartIconName func(uintptr) string | |||
| 121 | 123 | func (x *ButtonRow) GetStartIconName() string { | |
| 122 | 124 | ||
| 123 | 125 | cret := xButtonRowGetStartIconName(x.GoPointer()) | |
| 126 | + | ||
| 124 | 127 | return cret | |
| 125 | 128 | } | |
| 126 | 129 | ||
| @@ -129,7 +132,11 @@ var xButtonRowSetEndIconName func(uintptr, uintptr) | |||
| 129 | 132 | // Sets the end icon name for @self. | |
| 130 | 133 | func (x *ButtonRow) SetEndIconName(IconNameVar *string) { | |
| 131 | 134 | ||
| 132 | - | xButtonRowSetEndIconName(x.GoPointer(), core.NullableStringToPtr(IconNameVar)) | |
| 135 | + | IconNameVarPtr, IconNameVarBytes := core.NullableStringToPtr(IconNameVar) | |
| 136 | + | ||
| 137 | + | xButtonRowSetEndIconName(x.GoPointer(), IconNameVarPtr) | |
| 138 | + | ||
| 139 | + | runtime.KeepAlive(IconNameVarBytes) | |
| 133 | 140 | ||
| 134 | 141 | } | |
| 135 | 142 | ||
| @@ -138,7 +145,11 @@ var xButtonRowSetStartIconName func(uintptr, uintptr) | |||
| 138 | 145 | // Sets the start icon name for @self. | |
| 139 | 146 | func (x *ButtonRow) SetStartIconName(IconNameVar *string) { | |
| 140 | 147 | ||
| 141 | - | xButtonRowSetStartIconName(x.GoPointer(), core.NullableStringToPtr(IconNameVar)) | |
| 148 | + | IconNameVarPtr, IconNameVarBytes := core.NullableStringToPtr(IconNameVar) | |
| 149 | + | ||
| 150 | + | xButtonRowSetStartIconName(x.GoPointer(), IconNameVarPtr) | |
| 151 | + | ||
| 152 | + | runtime.KeepAlive(IconNameVarBytes) | |
| 142 | 153 | ||
| 143 | 154 | } | |
| 144 | 155 | ||
| @@ -242,6 +253,7 @@ func (x *ButtonRow) GetAccessibleParent() *gtk.AccessibleBase { | |||
| 242 | 253 | func (x *ButtonRow) GetAccessibleRole() gtk.AccessibleRole { | |
| 243 | 254 | ||
| 244 | 255 | cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer()) | |
| 256 | + | ||
| 245 | 257 | return cret | |
| 246 | 258 | } | |
| 247 | 259 | ||
| @@ -267,6 +279,7 @@ func (x *ButtonRow) GetAtContext() *gtk.ATContext { | |||
| 267 | 279 | func (x *ButtonRow) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool { | |
| 268 | 280 | ||
| 269 | 281 | cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar) | |
| 282 | + | ||
| 270 | 283 | return cret | |
| 271 | 284 | } | |
| 272 | 285 | ||
| @@ -306,6 +319,7 @@ func (x *ButtonRow) GetNextAccessibleSibling() *gtk.AccessibleBase { | |||
| 306 | 319 | func (x *ButtonRow) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool { | |
| 307 | 320 | ||
| 308 | 321 | cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar) | |
| 322 | + | ||
| 309 | 323 | return cret | |
| 310 | 324 | } | |
| 311 | 325 | ||
| @@ -479,6 +493,7 @@ func (x *ButtonRow) UpdateStateValue(NStatesVar int, StatesVar []gtk.AccessibleS | |||
| 479 | 493 | func (x *ButtonRow) GetActionName() string { | |
| 480 | 494 | ||
| 481 | 495 | cret := gtk.XGtkActionableGetActionName(x.GoPointer()) | |
| 496 | + | ||
| 482 | 497 | return cret | |
| 483 | 498 | } | |
| 484 | 499 | ||
| @@ -486,6 +501,7 @@ func (x *ButtonRow) GetActionName() string { | |||
| 486 | 501 | func (x *ButtonRow) GetActionTargetValue() *glib.Variant { | |
| 487 | 502 | ||
| 488 | 503 | cret := gtk.XGtkActionableGetActionTargetValue(x.GoPointer()) | |
| 504 | + | ||
| 489 | 505 | return cret | |
| 490 | 506 | } | |
| 491 | 507 | ||
| @@ -504,7 +520,11 @@ func (x *ButtonRow) GetActionTargetValue() *glib.Variant { | |||
| 504 | 520 | // associated with the window. | |
| 505 | 521 | func (x *ButtonRow) SetActionName(ActionNameVar *string) { | |
| 506 | 522 | ||
| 507 | - | gtk.XGtkActionableSetActionName(x.GoPointer(), core.NullableStringToPtr(ActionNameVar)) | |
| 523 | + | ActionNameVarPtr, ActionNameVarBytes := core.NullableStringToPtr(ActionNameVar) | |
| 524 | + | ||
| 525 | + | gtk.XGtkActionableSetActionName(x.GoPointer(), ActionNameVarPtr) | |
| 526 | + | ||
| 527 | + | runtime.KeepAlive(ActionNameVarBytes) | |
| 508 | 528 | ||
| 509 | 529 | } | |
| 510 | 530 | ||
| @@ -565,6 +585,7 @@ func (x *ButtonRow) SetDetailedActionName(DetailedActionNameVar string) { | |||
| 565 | 585 | func (x *ButtonRow) GetBuildableId() string { | |
| 566 | 586 | ||
| 567 | 587 | cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer()) | |
| 588 | + | ||
| 568 | 589 | return cret | |
| 569 | 590 | } | |
| 570 | 591 | ||
M v4/adw/adw-carousel-indicator-dots.go +5 -0
| @@ -147,6 +147,7 @@ func (x *CarouselIndicatorDots) GetAccessibleParent() *gtk.AccessibleBase { | |||
| 147 | 147 | func (x *CarouselIndicatorDots) GetAccessibleRole() gtk.AccessibleRole { | |
| 148 | 148 | ||
| 149 | 149 | cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer()) | |
| 150 | + | ||
| 150 | 151 | return cret | |
| 151 | 152 | } | |
| 152 | 153 | ||
| @@ -172,6 +173,7 @@ func (x *CarouselIndicatorDots) GetAtContext() *gtk.ATContext { | |||
| 172 | 173 | func (x *CarouselIndicatorDots) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool { | |
| 173 | 174 | ||
| 174 | 175 | cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar) | |
| 176 | + | ||
| 175 | 177 | return cret | |
| 176 | 178 | } | |
| 177 | 179 | ||
| @@ -211,6 +213,7 @@ func (x *CarouselIndicatorDots) GetNextAccessibleSibling() *gtk.AccessibleBase { | |||
| 211 | 213 | func (x *CarouselIndicatorDots) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool { | |
| 212 | 214 | ||
| 213 | 215 | cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar) | |
| 216 | + | ||
| 214 | 217 | return cret | |
| 215 | 218 | } | |
| 216 | 219 | ||
| @@ -387,6 +390,7 @@ func (x *CarouselIndicatorDots) UpdateStateValue(NStatesVar int, StatesVar []gtk | |||
| 387 | 390 | func (x *CarouselIndicatorDots) GetBuildableId() string { | |
| 388 | 391 | ||
| 389 | 392 | cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer()) | |
| 393 | + | ||
| 390 | 394 | return cret | |
| 391 | 395 | } | |
| 392 | 396 | ||
| @@ -394,6 +398,7 @@ func (x *CarouselIndicatorDots) GetBuildableId() string { | |||
| 394 | 398 | func (x *CarouselIndicatorDots) GetOrientation() gtk.Orientation { | |
| 395 | 399 | ||
| 396 | 400 | cret := gtk.XGtkOrientableGetOrientation(x.GoPointer()) | |
| 401 | + | ||
| 397 | 402 | return cret | |
| 398 | 403 | } | |
| 399 | 404 | ||
M v4/adw/adw-carousel-indicator-lines.go +5 -0
| @@ -146,6 +146,7 @@ func (x *CarouselIndicatorLines) GetAccessibleParent() *gtk.AccessibleBase { | |||
| 146 | 146 | func (x *CarouselIndicatorLines) GetAccessibleRole() gtk.AccessibleRole { | |
| 147 | 147 | ||
| 148 | 148 | cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer()) | |
| 149 | + | ||
| 149 | 150 | return cret | |
| 150 | 151 | } | |
| 151 | 152 | ||
| @@ -171,6 +172,7 @@ func (x *CarouselIndicatorLines) GetAtContext() *gtk.ATContext { | |||
| 171 | 172 | func (x *CarouselIndicatorLines) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool { | |
| 172 | 173 | ||
| 173 | 174 | cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar) | |
| 175 | + | ||
| 174 | 176 | return cret | |
| 175 | 177 | } | |
| 176 | 178 | ||
| @@ -210,6 +212,7 @@ func (x *CarouselIndicatorLines) GetNextAccessibleSibling() *gtk.AccessibleBase | |||
| 210 | 212 | func (x *CarouselIndicatorLines) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool { | |
| 211 | 213 | ||
| 212 | 214 | cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar) | |
| 215 | + | ||
| 213 | 216 | return cret | |
| 214 | 217 | } | |
| 215 | 218 | ||
| @@ -386,6 +389,7 @@ func (x *CarouselIndicatorLines) UpdateStateValue(NStatesVar int, StatesVar []gt | |||
| 386 | 389 | func (x *CarouselIndicatorLines) GetBuildableId() string { | |
| 387 | 390 | ||
| 388 | 391 | cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer()) | |
| 392 | + | ||
| 389 | 393 | return cret | |
| 390 | 394 | } | |
| 391 | 395 | ||
| @@ -393,6 +397,7 @@ func (x *CarouselIndicatorLines) GetBuildableId() string { | |||
| 393 | 397 | func (x *CarouselIndicatorLines) GetOrientation() gtk.Orientation { | |
| 394 | 398 | ||
| 395 | 399 | cret := gtk.XGtkOrientableGetOrientation(x.GoPointer()) | |
| 400 | + | ||
| 396 | 401 | return cret | |
| 397 | 402 | } | |
| 398 | 403 | ||
M v4/adw/adw-carousel.go +18 -0
| @@ -90,6 +90,7 @@ var xCarouselGetAllowLongSwipes func(uintptr) bool | |||
| 90 | 90 | func (x *Carousel) GetAllowLongSwipes() bool { | |
| 91 | 91 | ||
| 92 | 92 | cret := xCarouselGetAllowLongSwipes(x.GoPointer()) | |
| 93 | + | ||
| 93 | 94 | return cret | |
| 94 | 95 | } | |
| 95 | 96 | ||
| @@ -99,6 +100,7 @@ var xCarouselGetAllowMouseDrag func(uintptr) bool | |||
| 99 | 100 | func (x *Carousel) GetAllowMouseDrag() bool { | |
| 100 | 101 | ||
| 101 | 102 | cret := xCarouselGetAllowMouseDrag(x.GoPointer()) | |
| 103 | + | ||
| 102 | 104 | return cret | |
| 103 | 105 | } | |
| 104 | 106 | ||
| @@ -108,6 +110,7 @@ var xCarouselGetAllowScrollWheel func(uintptr) bool | |||
| 108 | 110 | func (x *Carousel) GetAllowScrollWheel() bool { | |
| 109 | 111 | ||
| 110 | 112 | cret := xCarouselGetAllowScrollWheel(x.GoPointer()) | |
| 113 | + | ||
| 111 | 114 | return cret | |
| 112 | 115 | } | |
| 113 | 116 | ||
| @@ -117,6 +120,7 @@ var xCarouselGetInteractive func(uintptr) bool | |||
| 117 | 120 | func (x *Carousel) GetInteractive() bool { | |
| 118 | 121 | ||
| 119 | 122 | cret := xCarouselGetInteractive(x.GoPointer()) | |
| 123 | + | ||
| 120 | 124 | return cret | |
| 121 | 125 | } | |
| 122 | 126 | ||
| @@ -126,6 +130,7 @@ var xCarouselGetNPages func(uintptr) uint | |||
| 126 | 130 | func (x *Carousel) GetNPages() uint { | |
| 127 | 131 | ||
| 128 | 132 | cret := xCarouselGetNPages(x.GoPointer()) | |
| 133 | + | ||
| 129 | 134 | return cret | |
| 130 | 135 | } | |
| 131 | 136 | ||
| @@ -154,6 +159,7 @@ var xCarouselGetPosition func(uintptr) float64 | |||
| 154 | 159 | func (x *Carousel) GetPosition() float64 { | |
| 155 | 160 | ||
| 156 | 161 | cret := xCarouselGetPosition(x.GoPointer()) | |
| 162 | + | ||
| 157 | 163 | return cret | |
| 158 | 164 | } | |
| 159 | 165 | ||
| @@ -163,6 +169,7 @@ var xCarouselGetRevealDuration func(uintptr) uint | |||
| 163 | 169 | func (x *Carousel) GetRevealDuration() uint { | |
| 164 | 170 | ||
| 165 | 171 | cret := xCarouselGetRevealDuration(x.GoPointer()) | |
| 172 | + | ||
| 166 | 173 | return cret | |
| 167 | 174 | } | |
| 168 | 175 | ||
| @@ -172,6 +179,7 @@ var xCarouselGetScrollParams func(uintptr) *SpringParams | |||
| 172 | 179 | func (x *Carousel) GetScrollParams() *SpringParams { | |
| 173 | 180 | ||
| 174 | 181 | cret := xCarouselGetScrollParams(x.GoPointer()) | |
| 182 | + | ||
| 175 | 183 | return cret | |
| 176 | 184 | } | |
| 177 | 185 | ||
| @@ -181,6 +189,7 @@ var xCarouselGetSpacing func(uintptr) uint | |||
| 181 | 189 | func (x *Carousel) GetSpacing() uint { | |
| 182 | 190 | ||
| 183 | 191 | cret := xCarouselGetSpacing(x.GoPointer()) | |
| 192 | + | ||
| 184 | 193 | return cret | |
| 185 | 194 | } | |
| 186 | 195 | ||
| @@ -531,6 +540,7 @@ func (x *Carousel) ConnectPageChanged(cb *func(Carousel, uint)) uint32 { | |||
| 531 | 540 | func (x *Carousel) GetCancelProgress() float64 { | |
| 532 | 541 | ||
| 533 | 542 | cret := XAdwSwipeableGetCancelProgress(x.GoPointer()) | |
| 543 | + | ||
| 534 | 544 | return cret | |
| 535 | 545 | } | |
| 536 | 546 | ||
| @@ -540,6 +550,7 @@ func (x *Carousel) GetCancelProgress() float64 { | |||
| 540 | 550 | func (x *Carousel) GetDistance() float64 { | |
| 541 | 551 | ||
| 542 | 552 | cret := XAdwSwipeableGetDistance(x.GoPointer()) | |
| 553 | + | ||
| 543 | 554 | return cret | |
| 544 | 555 | } | |
| 545 | 556 | ||
| @@ -547,6 +558,7 @@ func (x *Carousel) GetDistance() float64 { | |||
| 547 | 558 | func (x *Carousel) GetProgress() float64 { | |
| 548 | 559 | ||
| 549 | 560 | cret := XAdwSwipeableGetProgress(x.GoPointer()) | |
| 561 | + | ||
| 550 | 562 | return cret | |
| 551 | 563 | } | |
| 552 | 564 | ||
| @@ -557,6 +569,7 @@ func (x *Carousel) GetProgress() float64 { | |||
| 557 | 569 | func (x *Carousel) GetSnapPoints(NSnapPointsVar *int) uintptr { | |
| 558 | 570 | ||
| 559 | 571 | cret := XAdwSwipeableGetSnapPoints(x.GoPointer(), NSnapPointsVar) | |
| 572 | + | ||
| 560 | 573 | return cret | |
| 561 | 574 | } | |
| 562 | 575 | ||
| @@ -610,6 +623,7 @@ func (x *Carousel) GetAccessibleParent() *gtk.AccessibleBase { | |||
| 610 | 623 | func (x *Carousel) GetAccessibleRole() gtk.AccessibleRole { | |
| 611 | 624 | ||
| 612 | 625 | cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer()) | |
| 626 | + | ||
| 613 | 627 | return cret | |
| 614 | 628 | } | |
| 615 | 629 | ||
| @@ -635,6 +649,7 @@ func (x *Carousel) GetAtContext() *gtk.ATContext { | |||
| 635 | 649 | func (x *Carousel) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool { | |
| 636 | 650 | ||
| 637 | 651 | cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar) | |
| 652 | + | ||
| 638 | 653 | return cret | |
| 639 | 654 | } | |
| 640 | 655 | ||
| @@ -674,6 +689,7 @@ func (x *Carousel) GetNextAccessibleSibling() *gtk.AccessibleBase { | |||
| 674 | 689 | func (x *Carousel) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool { | |
| 675 | 690 | ||
| 676 | 691 | cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar) | |
| 692 | + | ||
| 677 | 693 | return cret | |
| 678 | 694 | } | |
| 679 | 695 | ||
| @@ -850,6 +866,7 @@ func (x *Carousel) UpdateStateValue(NStatesVar int, StatesVar []gtk.AccessibleSt | |||
| 850 | 866 | func (x *Carousel) GetBuildableId() string { | |
| 851 | 867 | ||
| 852 | 868 | cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer()) | |
| 869 | + | ||
| 853 | 870 | return cret | |
| 854 | 871 | } | |
| 855 | 872 | ||
| @@ -857,6 +874,7 @@ func (x *Carousel) GetBuildableId() string { | |||
| 857 | 874 | func (x *Carousel) GetOrientation() gtk.Orientation { | |
| 858 | 875 | ||
| 859 | 876 | cret := gtk.XGtkOrientableGetOrientation(x.GoPointer()) | |
| 877 | + | ||
| 860 | 878 | return cret | |
| 861 | 879 | } | |
| 862 | 880 | ||
M v4/adw/adw-clamp-layout.go +4 -0
| @@ -87,6 +87,7 @@ var xClampLayoutGetMaximumSize func(uintptr) int | |||
| 87 | 87 | func (x *ClampLayout) GetMaximumSize() int { | |
| 88 | 88 | ||
| 89 | 89 | cret := xClampLayoutGetMaximumSize(x.GoPointer()) | |
| 90 | + | ||
| 90 | 91 | return cret | |
| 91 | 92 | } | |
| 92 | 93 | ||
| @@ -96,6 +97,7 @@ var xClampLayoutGetTighteningThreshold func(uintptr) int | |||
| 96 | 97 | func (x *ClampLayout) GetTighteningThreshold() int { | |
| 97 | 98 | ||
| 98 | 99 | cret := xClampLayoutGetTighteningThreshold(x.GoPointer()) | |
| 100 | + | ||
| 99 | 101 | return cret | |
| 100 | 102 | } | |
| 101 | 103 | ||
| @@ -105,6 +107,7 @@ var xClampLayoutGetUnit func(uintptr) LengthUnit | |||
| 105 | 107 | func (x *ClampLayout) GetUnit() LengthUnit { | |
| 106 | 108 | ||
| 107 | 109 | cret := xClampLayoutGetUnit(x.GoPointer()) | |
| 110 | + | ||
| 108 | 111 | return cret | |
| 109 | 112 | } | |
| 110 | 113 | ||
| @@ -233,6 +236,7 @@ func (x *ClampLayout) GetPropertyTighteningThreshold() int { | |||
| 233 | 236 | func (x *ClampLayout) GetOrientation() gtk.Orientation { | |
| 234 | 237 | ||
| 235 | 238 | cret := gtk.XGtkOrientableGetOrientation(x.GoPointer()) | |
| 239 | + | ||
| 236 | 240 | return cret | |
| 237 | 241 | } | |
| 238 | 242 | ||
M v4/adw/adw-clamp-scrollable.go +11 -0
| @@ -87,6 +87,7 @@ var xClampScrollableGetMaximumSize func(uintptr) int | |||
| 87 | 87 | func (x *ClampScrollable) GetMaximumSize() int { | |
| 88 | 88 | ||
| 89 | 89 | cret := xClampScrollableGetMaximumSize(x.GoPointer()) | |
| 90 | + | ||
| 90 | 91 | return cret | |
| 91 | 92 | } | |
| 92 | 93 | ||
| @@ -96,6 +97,7 @@ var xClampScrollableGetTighteningThreshold func(uintptr) int | |||
| 96 | 97 | func (x *ClampScrollable) GetTighteningThreshold() int { | |
| 97 | 98 | ||
| 98 | 99 | cret := xClampScrollableGetTighteningThreshold(x.GoPointer()) | |
| 100 | + | ||
| 99 | 101 | return cret | |
| 100 | 102 | } | |
| 101 | 103 | ||
| @@ -105,6 +107,7 @@ var xClampScrollableGetUnit func(uintptr) LengthUnit | |||
| 105 | 107 | func (x *ClampScrollable) GetUnit() LengthUnit { | |
| 106 | 108 | ||
| 107 | 109 | cret := xClampScrollableGetUnit(x.GoPointer()) | |
| 110 | + | ||
| 108 | 111 | return cret | |
| 109 | 112 | } | |
| 110 | 113 | ||
| @@ -271,6 +274,7 @@ func (x *ClampScrollable) GetAccessibleParent() *gtk.AccessibleBase { | |||
| 271 | 274 | func (x *ClampScrollable) GetAccessibleRole() gtk.AccessibleRole { | |
| 272 | 275 | ||
| 273 | 276 | cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer()) | |
| 277 | + | ||
| 274 | 278 | return cret | |
| 275 | 279 | } | |
| 276 | 280 | ||
| @@ -296,6 +300,7 @@ func (x *ClampScrollable) GetAtContext() *gtk.ATContext { | |||
| 296 | 300 | func (x *ClampScrollable) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool { | |
| 297 | 301 | ||
| 298 | 302 | cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar) | |
| 303 | + | ||
| 299 | 304 | return cret | |
| 300 | 305 | } | |
| 301 | 306 | ||
| @@ -335,6 +340,7 @@ func (x *ClampScrollable) GetNextAccessibleSibling() *gtk.AccessibleBase { | |||
| 335 | 340 | func (x *ClampScrollable) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool { | |
| 336 | 341 | ||
| 337 | 342 | cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar) | |
| 343 | + | ||
| 338 | 344 | return cret | |
| 339 | 345 | } | |
| 340 | 346 | ||
| @@ -511,6 +517,7 @@ func (x *ClampScrollable) UpdateStateValue(NStatesVar int, StatesVar []gtk.Acces | |||
| 511 | 517 | func (x *ClampScrollable) GetBuildableId() string { | |
| 512 | 518 | ||
| 513 | 519 | cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer()) | |
| 520 | + | ||
| 514 | 521 | return cret | |
| 515 | 522 | } | |
| 516 | 523 | ||
| @@ -518,6 +525,7 @@ func (x *ClampScrollable) GetBuildableId() string { | |||
| 518 | 525 | func (x *ClampScrollable) GetOrientation() gtk.Orientation { | |
| 519 | 526 | ||
| 520 | 527 | cret := gtk.XGtkOrientableGetOrientation(x.GoPointer()) | |
| 528 | + | ||
| 521 | 529 | return cret | |
| 522 | 530 | } | |
| 523 | 531 | ||
| @@ -537,6 +545,7 @@ func (x *ClampScrollable) SetOrientation(OrientationVar gtk.Orientation) { | |||
| 537 | 545 | func (x *ClampScrollable) GetBorder(BorderVar *gtk.Border) bool { | |
| 538 | 546 | ||
| 539 | 547 | cret := gtk.XGtkScrollableGetBorder(x.GoPointer(), BorderVar) | |
| 548 | + | ||
| 540 | 549 | return cret | |
| 541 | 550 | } | |
| 542 | 551 | ||
| @@ -559,6 +568,7 @@ func (x *ClampScrollable) GetHadjustment() *gtk.Adjustment { | |||
| 559 | 568 | func (x *ClampScrollable) GetHscrollPolicy() gtk.ScrollablePolicy { | |
| 560 | 569 | ||
| 561 | 570 | cret := gtk.XGtkScrollableGetHscrollPolicy(x.GoPointer()) | |
| 571 | + | ||
| 562 | 572 | return cret | |
| 563 | 573 | } | |
| 564 | 574 | ||
| @@ -581,6 +591,7 @@ func (x *ClampScrollable) GetVadjustment() *gtk.Adjustment { | |||
| 581 | 591 | func (x *ClampScrollable) GetVscrollPolicy() gtk.ScrollablePolicy { | |
| 582 | 592 | ||
| 583 | 593 | cret := gtk.XGtkScrollableGetVscrollPolicy(x.GoPointer()) | |
| 594 | + | ||
| 584 | 595 | return cret | |
| 585 | 596 | } | |
| 586 | 597 | ||
M v4/adw/adw-clamp.go +8 -0
| @@ -109,6 +109,7 @@ var xClampGetMaximumSize func(uintptr) int | |||
| 109 | 109 | func (x *Clamp) GetMaximumSize() int { | |
| 110 | 110 | ||
| 111 | 111 | cret := xClampGetMaximumSize(x.GoPointer()) | |
| 112 | + | ||
| 112 | 113 | return cret | |
| 113 | 114 | } | |
| 114 | 115 | ||
| @@ -118,6 +119,7 @@ var xClampGetTighteningThreshold func(uintptr) int | |||
| 118 | 119 | func (x *Clamp) GetTighteningThreshold() int { | |
| 119 | 120 | ||
| 120 | 121 | cret := xClampGetTighteningThreshold(x.GoPointer()) | |
| 122 | + | ||
| 121 | 123 | return cret | |
| 122 | 124 | } | |
| 123 | 125 | ||
| @@ -127,6 +129,7 @@ var xClampGetUnit func(uintptr) LengthUnit | |||
| 127 | 129 | func (x *Clamp) GetUnit() LengthUnit { | |
| 128 | 130 | ||
| 129 | 131 | cret := xClampGetUnit(x.GoPointer()) | |
| 132 | + | ||
| 130 | 133 | return cret | |
| 131 | 134 | } | |
| 132 | 135 | ||
| @@ -293,6 +296,7 @@ func (x *Clamp) GetAccessibleParent() *gtk.AccessibleBase { | |||
| 293 | 296 | func (x *Clamp) GetAccessibleRole() gtk.AccessibleRole { | |
| 294 | 297 | ||
| 295 | 298 | cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer()) | |
| 299 | + | ||
| 296 | 300 | return cret | |
| 297 | 301 | } | |
| 298 | 302 | ||
| @@ -318,6 +322,7 @@ func (x *Clamp) GetAtContext() *gtk.ATContext { | |||
| 318 | 322 | func (x *Clamp) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool { | |
| 319 | 323 | ||
| 320 | 324 | cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar) | |
| 325 | + | ||
| 321 | 326 | return cret | |
| 322 | 327 | } | |
| 323 | 328 | ||
| @@ -357,6 +362,7 @@ func (x *Clamp) GetNextAccessibleSibling() *gtk.AccessibleBase { | |||
| 357 | 362 | func (x *Clamp) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool { | |
| 358 | 363 | ||
| 359 | 364 | cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar) | |
| 365 | + | ||
| 360 | 366 | return cret | |
| 361 | 367 | } | |
| 362 | 368 | ||
| @@ -533,6 +539,7 @@ func (x *Clamp) UpdateStateValue(NStatesVar int, StatesVar []gtk.AccessibleState | |||
| 533 | 539 | func (x *Clamp) GetBuildableId() string { | |
| 534 | 540 | ||
| 535 | 541 | cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer()) | |
| 542 | + | ||
| 536 | 543 | return cret | |
| 537 | 544 | } | |
| 538 | 545 | ||
| @@ -540,6 +547,7 @@ func (x *Clamp) GetBuildableId() string { | |||
| 540 | 547 | func (x *Clamp) GetOrientation() gtk.Orientation { | |
| 541 | 548 | ||
| 542 | 549 | cret := gtk.XGtkOrientableGetOrientation(x.GoPointer()) | |
| 550 | + | ||
| 543 | 551 | return cret | |
| 544 | 552 | } | |
| 545 | 553 | ||
M v4/adw/adw-combo-row.go +16 -1
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package adw | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "runtime" | |
| 5 | 6 | "structs" | |
| 6 | 7 | "unsafe" | |
| 7 | 8 | ||
| @@ -121,6 +122,7 @@ var xComboRowGetEnableSearch func(uintptr) bool | |||
| 121 | 122 | func (x *ComboRow) GetEnableSearch() bool { | |
| 122 | 123 | ||
| 123 | 124 | cret := xComboRowGetEnableSearch(x.GoPointer()) | |
| 125 | + | ||
| 124 | 126 | return cret | |
| 125 | 127 | } | |
| 126 | 128 | ||
| @@ -215,6 +217,7 @@ var xComboRowGetSearchMatchMode func(uintptr) gtk.StringFilterMatchMode | |||
| 215 | 217 | func (x *ComboRow) GetSearchMatchMode() gtk.StringFilterMatchMode { | |
| 216 | 218 | ||
| 217 | 219 | cret := xComboRowGetSearchMatchMode(x.GoPointer()) | |
| 220 | + | ||
| 218 | 221 | return cret | |
| 219 | 222 | } | |
| 220 | 223 | ||
| @@ -224,6 +227,7 @@ var xComboRowGetSelected func(uintptr) uint | |||
| 224 | 227 | func (x *ComboRow) GetSelected() uint { | |
| 225 | 228 | ||
| 226 | 229 | cret := xComboRowGetSelected(x.GoPointer()) | |
| 230 | + | ||
| 227 | 231 | return cret | |
| 228 | 232 | } | |
| 229 | 233 | ||
| @@ -250,6 +254,7 @@ var xComboRowGetUseSubtitle func(uintptr) bool | |||
| 250 | 254 | func (x *ComboRow) GetUseSubtitle() bool { | |
| 251 | 255 | ||
| 252 | 256 | cret := xComboRowGetUseSubtitle(x.GoPointer()) | |
| 257 | + | ||
| 253 | 258 | return cret | |
| 254 | 259 | } | |
| 255 | 260 | ||
| @@ -487,6 +492,7 @@ func (x *ComboRow) GetAccessibleParent() *gtk.AccessibleBase { | |||
| 487 | 492 | func (x *ComboRow) GetAccessibleRole() gtk.AccessibleRole { | |
| 488 | 493 | ||
| 489 | 494 | cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer()) | |
| 495 | + | ||
| 490 | 496 | return cret | |
| 491 | 497 | } | |
| 492 | 498 | ||
| @@ -512,6 +518,7 @@ func (x *ComboRow) GetAtContext() *gtk.ATContext { | |||
| 512 | 518 | func (x *ComboRow) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool { | |
| 513 | 519 | ||
| 514 | 520 | cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar) | |
| 521 | + | ||
| 515 | 522 | return cret | |
| 516 | 523 | } | |
| 517 | 524 | ||
| @@ -551,6 +558,7 @@ func (x *ComboRow) GetNextAccessibleSibling() *gtk.AccessibleBase { | |||
| 551 | 558 | func (x *ComboRow) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool { | |
| 552 | 559 | ||
| 553 | 560 | cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar) | |
| 561 | + | ||
| 554 | 562 | return cret | |
| 555 | 563 | } | |
| 556 | 564 | ||
| @@ -724,6 +732,7 @@ func (x *ComboRow) UpdateStateValue(NStatesVar int, StatesVar []gtk.AccessibleSt | |||
| 724 | 732 | func (x *ComboRow) GetActionName() string { | |
| 725 | 733 | ||
| 726 | 734 | cret := gtk.XGtkActionableGetActionName(x.GoPointer()) | |
| 735 | + | ||
| 727 | 736 | return cret | |
| 728 | 737 | } | |
| 729 | 738 | ||
| @@ -731,6 +740,7 @@ func (x *ComboRow) GetActionName() string { | |||
| 731 | 740 | func (x *ComboRow) GetActionTargetValue() *glib.Variant { | |
| 732 | 741 | ||
| 733 | 742 | cret := gtk.XGtkActionableGetActionTargetValue(x.GoPointer()) | |
| 743 | + | ||
| 734 | 744 | return cret | |
| 735 | 745 | } | |
| 736 | 746 | ||
| @@ -749,7 +759,11 @@ func (x *ComboRow) GetActionTargetValue() *glib.Variant { | |||
| 749 | 759 | // associated with the window. | |
| 750 | 760 | func (x *ComboRow) SetActionName(ActionNameVar *string) { | |
| 751 | 761 | ||
| 752 | - | gtk.XGtkActionableSetActionName(x.GoPointer(), core.NullableStringToPtr(ActionNameVar)) | |
| 762 | + | ActionNameVarPtr, ActionNameVarBytes := core.NullableStringToPtr(ActionNameVar) | |
| 763 | + | ||
| 764 | + | gtk.XGtkActionableSetActionName(x.GoPointer(), ActionNameVarPtr) | |
| 765 | + | ||
| 766 | + | runtime.KeepAlive(ActionNameVarBytes) | |
| 753 | 767 | ||
| 754 | 768 | } | |
| 755 | 769 | ||
| @@ -810,6 +824,7 @@ func (x *ComboRow) SetDetailedActionName(DetailedActionNameVar string) { | |||
| 810 | 824 | func (x *ComboRow) GetBuildableId() string { | |
| 811 | 825 | ||
| 812 | 826 | cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer()) | |
| 827 | + | ||
| 813 | 828 | return cret | |
| 814 | 829 | } | |
| 815 | 830 | ||
M v4/adw/adw-dialog.go +11 -0
| @@ -213,6 +213,7 @@ var xDialogClose func(uintptr) bool | |||
| 213 | 213 | func (x *Dialog) Close() bool { | |
| 214 | 214 | ||
| 215 | 215 | cret := xDialogClose(x.GoPointer()) | |
| 216 | + | ||
| 216 | 217 | return cret | |
| 217 | 218 | } | |
| 218 | 219 | ||
| @@ -234,6 +235,7 @@ var xDialogGetCanClose func(uintptr) bool | |||
| 234 | 235 | func (x *Dialog) GetCanClose() bool { | |
| 235 | 236 | ||
| 236 | 237 | cret := xDialogGetCanClose(x.GoPointer()) | |
| 238 | + | ||
| 237 | 239 | return cret | |
| 238 | 240 | } | |
| 239 | 241 | ||
| @@ -260,6 +262,7 @@ var xDialogGetContentHeight func(uintptr) int | |||
| 260 | 262 | func (x *Dialog) GetContentHeight() int { | |
| 261 | 263 | ||
| 262 | 264 | cret := xDialogGetContentHeight(x.GoPointer()) | |
| 265 | + | ||
| 263 | 266 | return cret | |
| 264 | 267 | } | |
| 265 | 268 | ||
| @@ -269,6 +272,7 @@ var xDialogGetContentWidth func(uintptr) int | |||
| 269 | 272 | func (x *Dialog) GetContentWidth() int { | |
| 270 | 273 | ||
| 271 | 274 | cret := xDialogGetContentWidth(x.GoPointer()) | |
| 275 | + | ||
| 272 | 276 | return cret | |
| 273 | 277 | } | |
| 274 | 278 | ||
| @@ -329,6 +333,7 @@ var xDialogGetFollowsContentSize func(uintptr) bool | |||
| 329 | 333 | func (x *Dialog) GetFollowsContentSize() bool { | |
| 330 | 334 | ||
| 331 | 335 | cret := xDialogGetFollowsContentSize(x.GoPointer()) | |
| 336 | + | ||
| 332 | 337 | return cret | |
| 333 | 338 | } | |
| 334 | 339 | ||
| @@ -338,6 +343,7 @@ var xDialogGetPresentationMode func(uintptr) DialogPresentationMode | |||
| 338 | 343 | func (x *Dialog) GetPresentationMode() DialogPresentationMode { | |
| 339 | 344 | ||
| 340 | 345 | cret := xDialogGetPresentationMode(x.GoPointer()) | |
| 346 | + | ||
| 341 | 347 | return cret | |
| 342 | 348 | } | |
| 343 | 349 | ||
| @@ -347,6 +353,7 @@ var xDialogGetTitle func(uintptr) string | |||
| 347 | 353 | func (x *Dialog) GetTitle() string { | |
| 348 | 354 | ||
| 349 | 355 | cret := xDialogGetTitle(x.GoPointer()) | |
| 356 | + | ||
| 350 | 357 | return cret | |
| 351 | 358 | } | |
| 352 | 359 | ||
| @@ -694,6 +701,7 @@ func (x *Dialog) GetAccessibleParent() *gtk.AccessibleBase { | |||
| 694 | 701 | func (x *Dialog) GetAccessibleRole() gtk.AccessibleRole { | |
| 695 | 702 | ||
| 696 | 703 | cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer()) | |
| 704 | + | ||
| 697 | 705 | return cret | |
| 698 | 706 | } | |
| 699 | 707 | ||
| @@ -719,6 +727,7 @@ func (x *Dialog) GetAtContext() *gtk.ATContext { | |||
| 719 | 727 | func (x *Dialog) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool { | |
| 720 | 728 | ||
| 721 | 729 | cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar) | |
| 730 | + | ||
| 722 | 731 | return cret | |
| 723 | 732 | } | |
| 724 | 733 | ||
| @@ -758,6 +767,7 @@ func (x *Dialog) GetNextAccessibleSibling() *gtk.AccessibleBase { | |||
| 758 | 767 | func (x *Dialog) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool { | |
| 759 | 768 | ||
| 760 | 769 | cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar) | |
| 770 | + | ||
| 761 | 771 | return cret | |
| 762 | 772 | } | |
| 763 | 773 | ||
| @@ -934,6 +944,7 @@ func (x *Dialog) UpdateStateValue(NStatesVar int, StatesVar []gtk.AccessibleStat | |||
| 934 | 944 | func (x *Dialog) GetBuildableId() string { | |
| 935 | 945 | ||
| 936 | 946 | cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer()) | |
| 947 | + | ||
| 937 | 948 | return cret | |
| 938 | 949 | } | |
| 939 | 950 | ||
M v4/adw/adw-easing.go +1 -0
| @@ -125,6 +125,7 @@ var xEasingEase func(Easing, float64) float64 | |||
| 125 | 125 | func EasingEase(SelfVar Easing, ValueVar float64) float64 { | |
| 126 | 126 | ||
| 127 | 127 | cret := xEasingEase(SelfVar, ValueVar) | |
| 128 | + | ||
| 128 | 129 | return cret | |
| 129 | 130 | } | |
| 130 | 131 | ||
M v4/adw/adw-entry-row.go +31 -1
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package adw | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "runtime" | |
| 5 | 6 | "structs" | |
| 6 | 7 | "unsafe" | |
| 7 | 8 | ||
| @@ -117,6 +118,7 @@ var xEntryRowGetActivatesDefault func(uintptr) bool | |||
| 117 | 118 | func (x *EntryRow) GetActivatesDefault() bool { | |
| 118 | 119 | ||
| 119 | 120 | cret := xEntryRowGetActivatesDefault(x.GoPointer()) | |
| 121 | + | ||
| 120 | 122 | return cret | |
| 121 | 123 | } | |
| 122 | 124 | ||
| @@ -126,6 +128,7 @@ var xEntryRowGetAttributes func(uintptr) *pango.AttrList | |||
| 126 | 128 | func (x *EntryRow) GetAttributes() *pango.AttrList { | |
| 127 | 129 | ||
| 128 | 130 | cret := xEntryRowGetAttributes(x.GoPointer()) | |
| 131 | + | ||
| 129 | 132 | return cret | |
| 130 | 133 | } | |
| 131 | 134 | ||
| @@ -135,6 +138,7 @@ var xEntryRowGetEnableEmojiCompletion func(uintptr) bool | |||
| 135 | 138 | func (x *EntryRow) GetEnableEmojiCompletion() bool { | |
| 136 | 139 | ||
| 137 | 140 | cret := xEntryRowGetEnableEmojiCompletion(x.GoPointer()) | |
| 141 | + | ||
| 138 | 142 | return cret | |
| 139 | 143 | } | |
| 140 | 144 | ||
| @@ -144,6 +148,7 @@ var xEntryRowGetInputHints func(uintptr) gtk.InputHints | |||
| 144 | 148 | func (x *EntryRow) GetInputHints() gtk.InputHints { | |
| 145 | 149 | ||
| 146 | 150 | cret := xEntryRowGetInputHints(x.GoPointer()) | |
| 151 | + | ||
| 147 | 152 | return cret | |
| 148 | 153 | } | |
| 149 | 154 | ||
| @@ -153,6 +158,7 @@ var xEntryRowGetInputPurpose func(uintptr) gtk.InputPurpose | |||
| 153 | 158 | func (x *EntryRow) GetInputPurpose() gtk.InputPurpose { | |
| 154 | 159 | ||
| 155 | 160 | cret := xEntryRowGetInputPurpose(x.GoPointer()) | |
| 161 | + | ||
| 156 | 162 | return cret | |
| 157 | 163 | } | |
| 158 | 164 | ||
| @@ -162,6 +168,7 @@ var xEntryRowGetMaxLength func(uintptr) int | |||
| 162 | 168 | func (x *EntryRow) GetMaxLength() int { | |
| 163 | 169 | ||
| 164 | 170 | cret := xEntryRowGetMaxLength(x.GoPointer()) | |
| 171 | + | ||
| 165 | 172 | return cret | |
| 166 | 173 | } | |
| 167 | 174 | ||
| @@ -171,6 +178,7 @@ var xEntryRowGetShowApplyButton func(uintptr) bool | |||
| 171 | 178 | func (x *EntryRow) GetShowApplyButton() bool { | |
| 172 | 179 | ||
| 173 | 180 | cret := xEntryRowGetShowApplyButton(x.GoPointer()) | |
| 181 | + | ||
| 174 | 182 | return cret | |
| 175 | 183 | } | |
| 176 | 184 | ||
| @@ -180,6 +188,7 @@ var xEntryRowGetTextLength func(uintptr) uint | |||
| 180 | 188 | func (x *EntryRow) GetTextLength() uint { | |
| 181 | 189 | ||
| 182 | 190 | cret := xEntryRowGetTextLength(x.GoPointer()) | |
| 191 | + | ||
| 183 | 192 | return cret | |
| 184 | 193 | } | |
| 185 | 194 | ||
| @@ -191,6 +200,7 @@ var xEntryRowGrabFocusWithoutSelecting func(uintptr) bool | |||
| 191 | 200 | func (x *EntryRow) GrabFocusWithoutSelecting() bool { | |
| 192 | 201 | ||
| 193 | 202 | cret := xEntryRowGrabFocusWithoutSelecting(x.GoPointer()) | |
| 203 | + | ||
| 194 | 204 | return cret | |
| 195 | 205 | } | |
| 196 | 206 | ||
| @@ -492,6 +502,7 @@ func (x *EntryRow) GetAccessibleParent() *gtk.AccessibleBase { | |||
| 492 | 502 | func (x *EntryRow) GetAccessibleRole() gtk.AccessibleRole { | |
| 493 | 503 | ||
| 494 | 504 | cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer()) | |
| 505 | + | ||
| 495 | 506 | return cret | |
| 496 | 507 | } | |
| 497 | 508 | ||
| @@ -517,6 +528,7 @@ func (x *EntryRow) GetAtContext() *gtk.ATContext { | |||
| 517 | 528 | func (x *EntryRow) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool { | |
| 518 | 529 | ||
| 519 | 530 | cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar) | |
| 531 | + | ||
| 520 | 532 | return cret | |
| 521 | 533 | } | |
| 522 | 534 | ||
| @@ -556,6 +568,7 @@ func (x *EntryRow) GetNextAccessibleSibling() *gtk.AccessibleBase { | |||
| 556 | 568 | func (x *EntryRow) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool { | |
| 557 | 569 | ||
| 558 | 570 | cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar) | |
| 571 | + | ||
| 559 | 572 | return cret | |
| 560 | 573 | } | |
| 561 | 574 | ||
| @@ -729,6 +742,7 @@ func (x *EntryRow) UpdateStateValue(NStatesVar int, StatesVar []gtk.AccessibleSt | |||
| 729 | 742 | func (x *EntryRow) GetActionName() string { | |
| 730 | 743 | ||
| 731 | 744 | cret := gtk.XGtkActionableGetActionName(x.GoPointer()) | |
| 745 | + | ||
| 732 | 746 | return cret | |
| 733 | 747 | } | |
| 734 | 748 | ||
| @@ -736,6 +750,7 @@ func (x *EntryRow) GetActionName() string { | |||
| 736 | 750 | func (x *EntryRow) GetActionTargetValue() *glib.Variant { | |
| 737 | 751 | ||
| 738 | 752 | cret := gtk.XGtkActionableGetActionTargetValue(x.GoPointer()) | |
| 753 | + | ||
| 739 | 754 | return cret | |
| 740 | 755 | } | |
| 741 | 756 | ||
| @@ -754,7 +769,11 @@ func (x *EntryRow) GetActionTargetValue() *glib.Variant { | |||
| 754 | 769 | // associated with the window. | |
| 755 | 770 | func (x *EntryRow) SetActionName(ActionNameVar *string) { | |
| 756 | 771 | ||
| 757 | - | gtk.XGtkActionableSetActionName(x.GoPointer(), core.NullableStringToPtr(ActionNameVar)) | |
| 772 | + | ActionNameVarPtr, ActionNameVarBytes := core.NullableStringToPtr(ActionNameVar) | |
| 773 | + | ||
| 774 | + | gtk.XGtkActionableSetActionName(x.GoPointer(), ActionNameVarPtr) | |
| 775 | + | ||
| 776 | + | runtime.KeepAlive(ActionNameVarBytes) | |
| 758 | 777 | ||
| 759 | 778 | } | |
| 760 | 779 | ||
| @@ -815,6 +834,7 @@ func (x *EntryRow) SetDetailedActionName(DetailedActionNameVar string) { | |||
| 815 | 834 | func (x *EntryRow) GetBuildableId() string { | |
| 816 | 835 | ||
| 817 | 836 | cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer()) | |
| 837 | + | ||
| 818 | 838 | return cret | |
| 819 | 839 | } | |
| 820 | 840 | ||
| @@ -857,6 +877,7 @@ func (x *EntryRow) GetBuildableId() string { | |||
| 857 | 877 | func (x *EntryRow) DelegateGetAccessiblePlatformState(StateVar gtk.AccessiblePlatformState) bool { | |
| 858 | 878 | ||
| 859 | 879 | cret := gtk.XGtkEditableDelegateGetAccessiblePlatformState(x.GoPointer(), StateVar) | |
| 880 | + | ||
| 860 | 881 | return cret | |
| 861 | 882 | } | |
| 862 | 883 | ||
| @@ -897,6 +918,7 @@ func (x *EntryRow) FinishDelegate() { | |||
| 897 | 918 | func (x *EntryRow) GetAlignment() float32 { | |
| 898 | 919 | ||
| 899 | 920 | cret := gtk.XGtkEditableGetAlignment(x.GoPointer()) | |
| 921 | + | ||
| 900 | 922 | return cret | |
| 901 | 923 | } | |
| 902 | 924 | ||
| @@ -911,6 +933,7 @@ func (x *EntryRow) GetAlignment() float32 { | |||
| 911 | 933 | func (x *EntryRow) GetChars(StartPosVar int, EndPosVar int) string { | |
| 912 | 934 | ||
| 913 | 935 | cret := gtk.XGtkEditableGetChars(x.GoPointer(), StartPosVar, EndPosVar) | |
| 936 | + | ||
| 914 | 937 | return cret | |
| 915 | 938 | } | |
| 916 | 939 | ||
| @@ -936,6 +959,7 @@ func (x *EntryRow) GetDelegate() *gtk.EditableBase { | |||
| 936 | 959 | func (x *EntryRow) GetEditable() bool { | |
| 937 | 960 | ||
| 938 | 961 | cret := gtk.XGtkEditableGetEditable(x.GoPointer()) | |
| 962 | + | ||
| 939 | 963 | return cret | |
| 940 | 964 | } | |
| 941 | 965 | ||
| @@ -943,6 +967,7 @@ func (x *EntryRow) GetEditable() bool { | |||
| 943 | 967 | func (x *EntryRow) GetEnableUndo() bool { | |
| 944 | 968 | ||
| 945 | 969 | cret := gtk.XGtkEditableGetEnableUndo(x.GoPointer()) | |
| 970 | + | ||
| 946 | 971 | return cret | |
| 947 | 972 | } | |
| 948 | 973 | ||
| @@ -950,6 +975,7 @@ func (x *EntryRow) GetEnableUndo() bool { | |||
| 950 | 975 | func (x *EntryRow) GetMaxWidthChars() int { | |
| 951 | 976 | ||
| 952 | 977 | cret := gtk.XGtkEditableGetMaxWidthChars(x.GoPointer()) | |
| 978 | + | ||
| 953 | 979 | return cret | |
| 954 | 980 | } | |
| 955 | 981 | ||
| @@ -960,6 +986,7 @@ func (x *EntryRow) GetMaxWidthChars() int { | |||
| 960 | 986 | func (x *EntryRow) GetPosition() int { | |
| 961 | 987 | ||
| 962 | 988 | cret := gtk.XGtkEditableGetPosition(x.GoPointer()) | |
| 989 | + | ||
| 963 | 990 | return cret | |
| 964 | 991 | } | |
| 965 | 992 | ||
| @@ -973,6 +1000,7 @@ func (x *EntryRow) GetPosition() int { | |||
| 973 | 1000 | func (x *EntryRow) GetSelectionBounds(StartPosVar *int, EndPosVar *int) bool { | |
| 974 | 1001 | ||
| 975 | 1002 | cret := gtk.XGtkEditableGetSelectionBounds(x.GoPointer(), StartPosVar, EndPosVar) | |
| 1003 | + | ||
| 976 | 1004 | return cret | |
| 977 | 1005 | } | |
| 978 | 1006 | ||
| @@ -982,6 +1010,7 @@ func (x *EntryRow) GetSelectionBounds(StartPosVar *int, EndPosVar *int) bool { | |||
| 982 | 1010 | func (x *EntryRow) GetText() string { | |
| 983 | 1011 | ||
| 984 | 1012 | cret := gtk.XGtkEditableGetText(x.GoPointer()) | |
| 1013 | + | ||
| 985 | 1014 | return cret | |
| 986 | 1015 | } | |
| 987 | 1016 | ||
| @@ -990,6 +1019,7 @@ func (x *EntryRow) GetText() string { | |||
| 990 | 1019 | func (x *EntryRow) GetWidthChars() int { | |
| 991 | 1020 | ||
| 992 | 1021 | cret := gtk.XGtkEditableGetWidthChars(x.GoPointer()) | |
| 1022 | + | ||
| 993 | 1023 | return cret | |
| 994 | 1024 | } | |
| 995 | 1025 | ||
M v4/adw/adw-enum-list-model.go +8 -0
| @@ -55,6 +55,7 @@ var xEnumListItemGetName func(uintptr) string | |||
| 55 | 55 | func (x *EnumListItem) GetName() string { | |
| 56 | 56 | ||
| 57 | 57 | cret := xEnumListItemGetName(x.GoPointer()) | |
| 58 | + | ||
| 58 | 59 | return cret | |
| 59 | 60 | } | |
| 60 | 61 | ||
| @@ -64,6 +65,7 @@ var xEnumListItemGetNick func(uintptr) string | |||
| 64 | 65 | func (x *EnumListItem) GetNick() string { | |
| 65 | 66 | ||
| 66 | 67 | cret := xEnumListItemGetNick(x.GoPointer()) | |
| 68 | + | ||
| 67 | 69 | return cret | |
| 68 | 70 | } | |
| 69 | 71 | ||
| @@ -73,6 +75,7 @@ var xEnumListItemGetValue func(uintptr) int | |||
| 73 | 75 | func (x *EnumListItem) GetValue() int { | |
| 74 | 76 | ||
| 75 | 77 | cret := xEnumListItemGetValue(x.GoPointer()) | |
| 78 | + | ||
| 76 | 79 | return cret | |
| 77 | 80 | } | |
| 78 | 81 | ||
| @@ -154,6 +157,7 @@ var xEnumListModelFindPosition func(uintptr, int) uint | |||
| 154 | 157 | func (x *EnumListModel) FindPosition(ValueVar int) uint { | |
| 155 | 158 | ||
| 156 | 159 | cret := xEnumListModelFindPosition(x.GoPointer(), ValueVar) | |
| 160 | + | ||
| 157 | 161 | return cret | |
| 158 | 162 | } | |
| 159 | 163 | ||
| @@ -163,6 +167,7 @@ var xEnumListModelGetEnumType func(uintptr) types.GType | |||
| 163 | 167 | func (x *EnumListModel) GetEnumType() types.GType { | |
| 164 | 168 | ||
| 165 | 169 | cret := xEnumListModelGetEnumType(x.GoPointer()) | |
| 170 | + | ||
| 166 | 171 | return cret | |
| 167 | 172 | } | |
| 168 | 173 | ||
| @@ -189,6 +194,7 @@ func (c *EnumListModel) SetGoPointer(ptr uintptr) { | |||
| 189 | 194 | func (x *EnumListModel) GetItem(PositionVar uint) uintptr { | |
| 190 | 195 | ||
| 191 | 196 | cret := gio.XGListModelGetItem(x.GoPointer(), PositionVar) | |
| 197 | + | ||
| 192 | 198 | return cret | |
| 193 | 199 | } | |
| 194 | 200 | ||
| @@ -203,6 +209,7 @@ func (x *EnumListModel) GetItem(PositionVar uint) uintptr { | |||
| 203 | 209 | func (x *EnumListModel) GetItemType() types.GType { | |
| 204 | 210 | ||
| 205 | 211 | cret := gio.XGListModelGetItemType(x.GoPointer()) | |
| 212 | + | ||
| 206 | 213 | return cret | |
| 207 | 214 | } | |
| 208 | 215 | ||
| @@ -214,6 +221,7 @@ func (x *EnumListModel) GetItemType() types.GType { | |||
| 214 | 221 | func (x *EnumListModel) GetNItems() uint { | |
| 215 | 222 | ||
| 216 | 223 | cret := gio.XGListModelGetNItems(x.GoPointer()) | |
| 224 | + | ||
| 217 | 225 | return cret | |
| 218 | 226 | } | |
| 219 | 227 | ||
M v4/adw/adw-expander-row.go +24 -2
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package adw | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "runtime" | |
| 5 | 6 | "structs" | |
| 6 | 7 | "unsafe" | |
| 7 | 8 | ||
| @@ -141,6 +142,7 @@ var xExpanderRowGetEnableExpansion func(uintptr) bool | |||
| 141 | 142 | func (x *ExpanderRow) GetEnableExpansion() bool { | |
| 142 | 143 | ||
| 143 | 144 | cret := xExpanderRowGetEnableExpansion(x.GoPointer()) | |
| 145 | + | ||
| 144 | 146 | return cret | |
| 145 | 147 | } | |
| 146 | 148 | ||
| @@ -150,6 +152,7 @@ var xExpanderRowGetExpanded func(uintptr) bool | |||
| 150 | 152 | func (x *ExpanderRow) GetExpanded() bool { | |
| 151 | 153 | ||
| 152 | 154 | cret := xExpanderRowGetExpanded(x.GoPointer()) | |
| 155 | + | ||
| 153 | 156 | return cret | |
| 154 | 157 | } | |
| 155 | 158 | ||
| @@ -159,6 +162,7 @@ var xExpanderRowGetIconName func(uintptr) string | |||
| 159 | 162 | func (x *ExpanderRow) GetIconName() string { | |
| 160 | 163 | ||
| 161 | 164 | cret := xExpanderRowGetIconName(x.GoPointer()) | |
| 165 | + | ||
| 162 | 166 | return cret | |
| 163 | 167 | } | |
| 164 | 168 | ||
| @@ -168,6 +172,7 @@ var xExpanderRowGetShowEnableSwitch func(uintptr) bool | |||
| 168 | 172 | func (x *ExpanderRow) GetShowEnableSwitch() bool { | |
| 169 | 173 | ||
| 170 | 174 | cret := xExpanderRowGetShowEnableSwitch(x.GoPointer()) | |
| 175 | + | ||
| 171 | 176 | return cret | |
| 172 | 177 | } | |
| 173 | 178 | ||
| @@ -177,6 +182,7 @@ var xExpanderRowGetSubtitle func(uintptr) string | |||
| 177 | 182 | func (x *ExpanderRow) GetSubtitle() string { | |
| 178 | 183 | ||
| 179 | 184 | cret := xExpanderRowGetSubtitle(x.GoPointer()) | |
| 185 | + | ||
| 180 | 186 | return cret | |
| 181 | 187 | } | |
| 182 | 188 | ||
| @@ -187,6 +193,7 @@ var xExpanderRowGetSubtitleLines func(uintptr) int | |||
| 187 | 193 | func (x *ExpanderRow) GetSubtitleLines() int { | |
| 188 | 194 | ||
| 189 | 195 | cret := xExpanderRowGetSubtitleLines(x.GoPointer()) | |
| 196 | + | ||
| 190 | 197 | return cret | |
| 191 | 198 | } | |
| 192 | 199 | ||
| @@ -197,6 +204,7 @@ var xExpanderRowGetTitleLines func(uintptr) int | |||
| 197 | 204 | func (x *ExpanderRow) GetTitleLines() int { | |
| 198 | 205 | ||
| 199 | 206 | cret := xExpanderRowGetTitleLines(x.GoPointer()) | |
| 207 | + | ||
| 200 | 208 | return cret | |
| 201 | 209 | } | |
| 202 | 210 | ||
| @@ -232,7 +240,11 @@ var xExpanderRowSetIconName func(uintptr, uintptr) | |||
| 232 | 240 | // Sets the icon name for @self. | |
| 233 | 241 | func (x *ExpanderRow) SetIconName(IconNameVar *string) { | |
| 234 | 242 | ||
| 235 | - | xExpanderRowSetIconName(x.GoPointer(), core.NullableStringToPtr(IconNameVar)) | |
| 243 | + | IconNameVarPtr, IconNameVarBytes := core.NullableStringToPtr(IconNameVar) | |
| 244 | + | ||
| 245 | + | xExpanderRowSetIconName(x.GoPointer(), IconNameVarPtr) | |
| 246 | + | ||
| 247 | + | runtime.KeepAlive(IconNameVarBytes) | |
| 236 | 248 | ||
| 237 | 249 | } | |
| 238 | 250 | ||
| @@ -462,6 +474,7 @@ func (x *ExpanderRow) GetAccessibleParent() *gtk.AccessibleBase { | |||
| 462 | 474 | func (x *ExpanderRow) GetAccessibleRole() gtk.AccessibleRole { | |
| 463 | 475 | ||
| 464 | 476 | cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer()) | |
| 477 | + | ||
| 465 | 478 | return cret | |
| 466 | 479 | } | |
| 467 | 480 | ||
| @@ -487,6 +500,7 @@ func (x *ExpanderRow) GetAtContext() *gtk.ATContext { | |||
| 487 | 500 | func (x *ExpanderRow) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool { | |
| 488 | 501 | ||
| 489 | 502 | cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar) | |
| 503 | + | ||
| 490 | 504 | return cret | |
| 491 | 505 | } | |
| 492 | 506 | ||
| @@ -526,6 +540,7 @@ func (x *ExpanderRow) GetNextAccessibleSibling() *gtk.AccessibleBase { | |||
| 526 | 540 | func (x *ExpanderRow) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool { | |
| 527 | 541 | ||
| 528 | 542 | cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar) | |
| 543 | + | ||
| 529 | 544 | return cret | |
| 530 | 545 | } | |
| 531 | 546 | ||
| @@ -699,6 +714,7 @@ func (x *ExpanderRow) UpdateStateValue(NStatesVar int, StatesVar []gtk.Accessibl | |||
| 699 | 714 | func (x *ExpanderRow) GetActionName() string { | |
| 700 | 715 | ||
| 701 | 716 | cret := gtk.XGtkActionableGetActionName(x.GoPointer()) | |
| 717 | + | ||
| 702 | 718 | return cret | |
| 703 | 719 | } | |
| 704 | 720 | ||
| @@ -706,6 +722,7 @@ func (x *ExpanderRow) GetActionName() string { | |||
| 706 | 722 | func (x *ExpanderRow) GetActionTargetValue() *glib.Variant { | |
| 707 | 723 | ||
| 708 | 724 | cret := gtk.XGtkActionableGetActionTargetValue(x.GoPointer()) | |
| 725 | + | ||
| 709 | 726 | return cret | |
| 710 | 727 | } | |
| 711 | 728 | ||
| @@ -724,7 +741,11 @@ func (x *ExpanderRow) GetActionTargetValue() *glib.Variant { | |||
| 724 | 741 | // associated with the window. | |
| 725 | 742 | func (x *ExpanderRow) SetActionName(ActionNameVar *string) { | |
| 726 | 743 | ||
| 727 | - | gtk.XGtkActionableSetActionName(x.GoPointer(), core.NullableStringToPtr(ActionNameVar)) | |
| 744 | + | ActionNameVarPtr, ActionNameVarBytes := core.NullableStringToPtr(ActionNameVar) | |
| 745 | + | ||
| 746 | + | gtk.XGtkActionableSetActionName(x.GoPointer(), ActionNameVarPtr) | |
| 747 | + | ||
| 748 | + | runtime.KeepAlive(ActionNameVarBytes) | |
| 728 | 749 | ||
| 729 | 750 | } | |
| 730 | 751 | ||
| @@ -785,6 +806,7 @@ func (x *ExpanderRow) SetDetailedActionName(DetailedActionNameVar string) { | |||
| 785 | 806 | func (x *ExpanderRow) GetBuildableId() string { | |
| 786 | 807 | ||
| 787 | 808 | cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer()) | |
| 809 | + | ||
| 788 | 810 | return cret | |
| 789 | 811 | } | |
| 790 | 812 | ||
M v4/adw/adw-flap.go +22 -0
| @@ -205,6 +205,7 @@ var xFlapGetFlapPosition func(uintptr) gtk.PackType | |||
| 205 | 205 | func (x *Flap) GetFlapPosition() gtk.PackType { | |
| 206 | 206 | ||
| 207 | 207 | cret := xFlapGetFlapPosition(x.GoPointer()) | |
| 208 | + | ||
| 208 | 209 | return cret | |
| 209 | 210 | } | |
| 210 | 211 | ||
| @@ -214,6 +215,7 @@ var xFlapGetFoldDuration func(uintptr) uint | |||
| 214 | 215 | func (x *Flap) GetFoldDuration() uint { | |
| 215 | 216 | ||
| 216 | 217 | cret := xFlapGetFoldDuration(x.GoPointer()) | |
| 218 | + | ||
| 217 | 219 | return cret | |
| 218 | 220 | } | |
| 219 | 221 | ||
| @@ -223,6 +225,7 @@ var xFlapGetFoldPolicy func(uintptr) FlapFoldPolicy | |||
| 223 | 225 | func (x *Flap) GetFoldPolicy() FlapFoldPolicy { | |
| 224 | 226 | ||
| 225 | 227 | cret := xFlapGetFoldPolicy(x.GoPointer()) | |
| 228 | + | ||
| 226 | 229 | return cret | |
| 227 | 230 | } | |
| 228 | 231 | ||
| @@ -232,6 +235,7 @@ var xFlapGetFoldThresholdPolicy func(uintptr) FoldThresholdPolicy | |||
| 232 | 235 | func (x *Flap) GetFoldThresholdPolicy() FoldThresholdPolicy { | |
| 233 | 236 | ||
| 234 | 237 | cret := xFlapGetFoldThresholdPolicy(x.GoPointer()) | |
| 238 | + | ||
| 235 | 239 | return cret | |
| 236 | 240 | } | |
| 237 | 241 | ||
| @@ -243,6 +247,7 @@ var xFlapGetFolded func(uintptr) bool | |||
| 243 | 247 | func (x *Flap) GetFolded() bool { | |
| 244 | 248 | ||
| 245 | 249 | cret := xFlapGetFolded(x.GoPointer()) | |
| 250 | + | ||
| 246 | 251 | return cret | |
| 247 | 252 | } | |
| 248 | 253 | ||
| @@ -252,6 +257,7 @@ var xFlapGetLocked func(uintptr) bool | |||
| 252 | 257 | func (x *Flap) GetLocked() bool { | |
| 253 | 258 | ||
| 254 | 259 | cret := xFlapGetLocked(x.GoPointer()) | |
| 260 | + | ||
| 255 | 261 | return cret | |
| 256 | 262 | } | |
| 257 | 263 | ||
| @@ -261,6 +267,7 @@ var xFlapGetModal func(uintptr) bool | |||
| 261 | 267 | func (x *Flap) GetModal() bool { | |
| 262 | 268 | ||
| 263 | 269 | cret := xFlapGetModal(x.GoPointer()) | |
| 270 | + | ||
| 264 | 271 | return cret | |
| 265 | 272 | } | |
| 266 | 273 | ||
| @@ -270,6 +277,7 @@ var xFlapGetRevealFlap func(uintptr) bool | |||
| 270 | 277 | func (x *Flap) GetRevealFlap() bool { | |
| 271 | 278 | ||
| 272 | 279 | cret := xFlapGetRevealFlap(x.GoPointer()) | |
| 280 | + | ||
| 273 | 281 | return cret | |
| 274 | 282 | } | |
| 275 | 283 | ||
| @@ -279,6 +287,7 @@ var xFlapGetRevealParams func(uintptr) *SpringParams | |||
| 279 | 287 | func (x *Flap) GetRevealParams() *SpringParams { | |
| 280 | 288 | ||
| 281 | 289 | cret := xFlapGetRevealParams(x.GoPointer()) | |
| 290 | + | ||
| 282 | 291 | return cret | |
| 283 | 292 | } | |
| 284 | 293 | ||
| @@ -292,6 +301,7 @@ var xFlapGetRevealProgress func(uintptr) float64 | |||
| 292 | 301 | func (x *Flap) GetRevealProgress() float64 { | |
| 293 | 302 | ||
| 294 | 303 | cret := xFlapGetRevealProgress(x.GoPointer()) | |
| 304 | + | ||
| 295 | 305 | return cret | |
| 296 | 306 | } | |
| 297 | 307 | ||
| @@ -318,6 +328,7 @@ var xFlapGetSwipeToClose func(uintptr) bool | |||
| 318 | 328 | func (x *Flap) GetSwipeToClose() bool { | |
| 319 | 329 | ||
| 320 | 330 | cret := xFlapGetSwipeToClose(x.GoPointer()) | |
| 331 | + | ||
| 321 | 332 | return cret | |
| 322 | 333 | } | |
| 323 | 334 | ||
| @@ -327,6 +338,7 @@ var xFlapGetSwipeToOpen func(uintptr) bool | |||
| 327 | 338 | func (x *Flap) GetSwipeToOpen() bool { | |
| 328 | 339 | ||
| 329 | 340 | cret := xFlapGetSwipeToOpen(x.GoPointer()) | |
| 341 | + | ||
| 330 | 342 | return cret | |
| 331 | 343 | } | |
| 332 | 344 | ||
| @@ -336,6 +348,7 @@ var xFlapGetTransitionType func(uintptr) FlapTransitionType | |||
| 336 | 348 | func (x *Flap) GetTransitionType() FlapTransitionType { | |
| 337 | 349 | ||
| 338 | 350 | cret := xFlapGetTransitionType(x.GoPointer()) | |
| 351 | + | ||
| 339 | 352 | return cret | |
| 340 | 353 | } | |
| 341 | 354 | ||
| @@ -704,6 +717,7 @@ func (x *Flap) GetPropertySwipeToOpen() bool { | |||
| 704 | 717 | func (x *Flap) GetCancelProgress() float64 { | |
| 705 | 718 | ||
| 706 | 719 | cret := XAdwSwipeableGetCancelProgress(x.GoPointer()) | |
| 720 | + | ||
| 707 | 721 | return cret | |
| 708 | 722 | } | |
| 709 | 723 | ||
| @@ -713,6 +727,7 @@ func (x *Flap) GetCancelProgress() float64 { | |||
| 713 | 727 | func (x *Flap) GetDistance() float64 { | |
| 714 | 728 | ||
| 715 | 729 | cret := XAdwSwipeableGetDistance(x.GoPointer()) | |
| 730 | + | ||
| 716 | 731 | return cret | |
| 717 | 732 | } | |
| 718 | 733 | ||
| @@ -720,6 +735,7 @@ func (x *Flap) GetDistance() float64 { | |||
| 720 | 735 | func (x *Flap) GetProgress() float64 { | |
| 721 | 736 | ||
| 722 | 737 | cret := XAdwSwipeableGetProgress(x.GoPointer()) | |
| 738 | + | ||
| 723 | 739 | return cret | |
| 724 | 740 | } | |
| 725 | 741 | ||
| @@ -730,6 +746,7 @@ func (x *Flap) GetProgress() float64 { | |||
| 730 | 746 | func (x *Flap) GetSnapPoints(NSnapPointsVar *int) uintptr { | |
| 731 | 747 | ||
| 732 | 748 | cret := XAdwSwipeableGetSnapPoints(x.GoPointer(), NSnapPointsVar) | |
| 749 | + | ||
| 733 | 750 | return cret | |
| 734 | 751 | } | |
| 735 | 752 | ||
| @@ -783,6 +800,7 @@ func (x *Flap) GetAccessibleParent() *gtk.AccessibleBase { | |||
| 783 | 800 | func (x *Flap) GetAccessibleRole() gtk.AccessibleRole { | |
| 784 | 801 | ||
| 785 | 802 | cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer()) | |
| 803 | + | ||
| 786 | 804 | return cret | |
| 787 | 805 | } | |
| 788 | 806 | ||
| @@ -808,6 +826,7 @@ func (x *Flap) GetAtContext() *gtk.ATContext { | |||
| 808 | 826 | func (x *Flap) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool { | |
| 809 | 827 | ||
| 810 | 828 | cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar) | |
| 829 | + | ||
| 811 | 830 | return cret | |
| 812 | 831 | } | |
| 813 | 832 | ||
| @@ -847,6 +866,7 @@ func (x *Flap) GetNextAccessibleSibling() *gtk.AccessibleBase { | |||
| 847 | 866 | func (x *Flap) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool { | |
| 848 | 867 | ||
| 849 | 868 | cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar) | |
| 869 | + | ||
| 850 | 870 | return cret | |
| 851 | 871 | } | |
| 852 | 872 | ||
| @@ -1023,6 +1043,7 @@ func (x *Flap) UpdateStateValue(NStatesVar int, StatesVar []gtk.AccessibleState, | |||
| 1023 | 1043 | func (x *Flap) GetBuildableId() string { | |
| 1024 | 1044 | ||
| 1025 | 1045 | cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer()) | |
| 1046 | + | ||
| 1026 | 1047 | return cret | |
| 1027 | 1048 | } | |
| 1028 | 1049 | ||
| @@ -1030,6 +1051,7 @@ func (x *Flap) GetBuildableId() string { | |||
| 1030 | 1051 | func (x *Flap) GetOrientation() gtk.Orientation { | |
| 1031 | 1052 | ||
| 1032 | 1053 | cret := gtk.XGtkOrientableGetOrientation(x.GoPointer()) | |
| 1054 | + | ||
| 1033 | 1055 | return cret | |
| 1034 | 1056 | } | |
| 1035 | 1057 | ||
M v4/adw/adw-header-bar.go +16 -1
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package adw | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "runtime" | |
| 5 | 6 | "structs" | |
| 6 | 7 | "unsafe" | |
| 7 | 8 | ||
| @@ -176,6 +177,7 @@ var xHeaderBarGetCenteringPolicy func(uintptr) CenteringPolicy | |||
| 176 | 177 | func (x *HeaderBar) GetCenteringPolicy() CenteringPolicy { | |
| 177 | 178 | ||
| 178 | 179 | cret := xHeaderBarGetCenteringPolicy(x.GoPointer()) | |
| 180 | + | ||
| 179 | 181 | return cret | |
| 180 | 182 | } | |
| 181 | 183 | ||
| @@ -185,6 +187,7 @@ var xHeaderBarGetDecorationLayout func(uintptr) string | |||
| 185 | 187 | func (x *HeaderBar) GetDecorationLayout() string { | |
| 186 | 188 | ||
| 187 | 189 | cret := xHeaderBarGetDecorationLayout(x.GoPointer()) | |
| 190 | + | ||
| 188 | 191 | return cret | |
| 189 | 192 | } | |
| 190 | 193 | ||
| @@ -194,6 +197,7 @@ var xHeaderBarGetShowBackButton func(uintptr) bool | |||
| 194 | 197 | func (x *HeaderBar) GetShowBackButton() bool { | |
| 195 | 198 | ||
| 196 | 199 | cret := xHeaderBarGetShowBackButton(x.GoPointer()) | |
| 200 | + | ||
| 197 | 201 | return cret | |
| 198 | 202 | } | |
| 199 | 203 | ||
| @@ -203,6 +207,7 @@ var xHeaderBarGetShowEndTitleButtons func(uintptr) bool | |||
| 203 | 207 | func (x *HeaderBar) GetShowEndTitleButtons() bool { | |
| 204 | 208 | ||
| 205 | 209 | cret := xHeaderBarGetShowEndTitleButtons(x.GoPointer()) | |
| 210 | + | ||
| 206 | 211 | return cret | |
| 207 | 212 | } | |
| 208 | 213 | ||
| @@ -212,6 +217,7 @@ var xHeaderBarGetShowStartTitleButtons func(uintptr) bool | |||
| 212 | 217 | func (x *HeaderBar) GetShowStartTitleButtons() bool { | |
| 213 | 218 | ||
| 214 | 219 | cret := xHeaderBarGetShowStartTitleButtons(x.GoPointer()) | |
| 220 | + | ||
| 215 | 221 | return cret | |
| 216 | 222 | } | |
| 217 | 223 | ||
| @@ -221,6 +227,7 @@ var xHeaderBarGetShowTitle func(uintptr) bool | |||
| 221 | 227 | func (x *HeaderBar) GetShowTitle() bool { | |
| 222 | 228 | ||
| 223 | 229 | cret := xHeaderBarGetShowTitle(x.GoPointer()) | |
| 230 | + | ||
| 224 | 231 | return cret | |
| 225 | 232 | } | |
| 226 | 233 | ||
| @@ -296,7 +303,11 @@ var xHeaderBarSetDecorationLayout func(uintptr, uintptr) | |||
| 296 | 303 | // and minimize, maximize and close buttons at the end. | |
| 297 | 304 | func (x *HeaderBar) SetDecorationLayout(LayoutVar *string) { | |
| 298 | 305 | ||
| 299 | - | xHeaderBarSetDecorationLayout(x.GoPointer(), core.NullableStringToPtr(LayoutVar)) | |
| 306 | + | LayoutVarPtr, LayoutVarBytes := core.NullableStringToPtr(LayoutVar) | |
| 307 | + | ||
| 308 | + | xHeaderBarSetDecorationLayout(x.GoPointer(), LayoutVarPtr) | |
| 309 | + | ||
| 310 | + | runtime.KeepAlive(LayoutVarBytes) | |
| 300 | 311 | ||
| 301 | 312 | } | |
| 302 | 313 | ||
| @@ -564,6 +575,7 @@ func (x *HeaderBar) GetAccessibleParent() *gtk.AccessibleBase { | |||
| 564 | 575 | func (x *HeaderBar) GetAccessibleRole() gtk.AccessibleRole { | |
| 565 | 576 | ||
| 566 | 577 | cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer()) | |
| 578 | + | ||
| 567 | 579 | return cret | |
| 568 | 580 | } | |
| 569 | 581 | ||
| @@ -589,6 +601,7 @@ func (x *HeaderBar) GetAtContext() *gtk.ATContext { | |||
| 589 | 601 | func (x *HeaderBar) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool { | |
| 590 | 602 | ||
| 591 | 603 | cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar) | |
| 604 | + | ||
| 592 | 605 | return cret | |
| 593 | 606 | } | |
| 594 | 607 | ||
| @@ -628,6 +641,7 @@ func (x *HeaderBar) GetNextAccessibleSibling() *gtk.AccessibleBase { | |||
| 628 | 641 | func (x *HeaderBar) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool { | |
| 629 | 642 | ||
| 630 | 643 | cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar) | |
| 644 | + | ||
| 631 | 645 | return cret | |
| 632 | 646 | } | |
| 633 | 647 | ||
| @@ -804,6 +818,7 @@ func (x *HeaderBar) UpdateStateValue(NStatesVar int, StatesVar []gtk.AccessibleS | |||
| 804 | 818 | func (x *HeaderBar) GetBuildableId() string { | |
| 805 | 819 | ||
| 806 | 820 | cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer()) | |
| 821 | + | ||
| 807 | 822 | return cret | |
| 808 | 823 | } | |
| 809 | 824 | ||
M v4/adw/adw-inline-view-switcher.go +8 -0
| @@ -131,6 +131,7 @@ var xInlineViewSwitcherGetCanShrink func(uintptr) bool | |||
| 131 | 131 | func (x *InlineViewSwitcher) GetCanShrink() bool { | |
| 132 | 132 | ||
| 133 | 133 | cret := xInlineViewSwitcherGetCanShrink(x.GoPointer()) | |
| 134 | + | ||
| 134 | 135 | return cret | |
| 135 | 136 | } | |
| 136 | 137 | ||
| @@ -140,6 +141,7 @@ var xInlineViewSwitcherGetDisplayMode func(uintptr) InlineViewSwitcherDisplayMod | |||
| 140 | 141 | func (x *InlineViewSwitcher) GetDisplayMode() InlineViewSwitcherDisplayMode { | |
| 141 | 142 | ||
| 142 | 143 | cret := xInlineViewSwitcherGetDisplayMode(x.GoPointer()) | |
| 144 | + | ||
| 143 | 145 | return cret | |
| 144 | 146 | } | |
| 145 | 147 | ||
| @@ -149,6 +151,7 @@ var xInlineViewSwitcherGetHomogeneous func(uintptr) bool | |||
| 149 | 151 | func (x *InlineViewSwitcher) GetHomogeneous() bool { | |
| 150 | 152 | ||
| 151 | 153 | cret := xInlineViewSwitcherGetHomogeneous(x.GoPointer()) | |
| 154 | + | ||
| 152 | 155 | return cret | |
| 153 | 156 | } | |
| 154 | 157 | ||
| @@ -307,6 +310,7 @@ func (x *InlineViewSwitcher) GetAccessibleParent() *gtk.AccessibleBase { | |||
| 307 | 310 | func (x *InlineViewSwitcher) GetAccessibleRole() gtk.AccessibleRole { | |
| 308 | 311 | ||
| 309 | 312 | cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer()) | |
| 313 | + | ||
| 310 | 314 | return cret | |
| 311 | 315 | } | |
| 312 | 316 | ||
| @@ -332,6 +336,7 @@ func (x *InlineViewSwitcher) GetAtContext() *gtk.ATContext { | |||
| 332 | 336 | func (x *InlineViewSwitcher) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool { | |
| 333 | 337 | ||
| 334 | 338 | cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar) | |
| 339 | + | ||
| 335 | 340 | return cret | |
| 336 | 341 | } | |
| 337 | 342 | ||
| @@ -371,6 +376,7 @@ func (x *InlineViewSwitcher) GetNextAccessibleSibling() *gtk.AccessibleBase { | |||
| 371 | 376 | func (x *InlineViewSwitcher) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool { | |
| 372 | 377 | ||
| 373 | 378 | cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar) | |
| 379 | + | ||
| 374 | 380 | return cret | |
| 375 | 381 | } | |
| 376 | 382 | ||
| @@ -547,6 +553,7 @@ func (x *InlineViewSwitcher) UpdateStateValue(NStatesVar int, StatesVar []gtk.Ac | |||
| 547 | 553 | func (x *InlineViewSwitcher) GetBuildableId() string { | |
| 548 | 554 | ||
| 549 | 555 | cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer()) | |
| 556 | + | ||
| 550 | 557 | return cret | |
| 551 | 558 | } | |
| 552 | 559 | ||
| @@ -554,6 +561,7 @@ func (x *InlineViewSwitcher) GetBuildableId() string { | |||
| 554 | 561 | func (x *InlineViewSwitcher) GetOrientation() gtk.Orientation { | |
| 555 | 562 | ||
| 556 | 563 | cret := gtk.XGtkOrientableGetOrientation(x.GoPointer()) | |
| 564 | + | ||
| 557 | 565 | return cret | |
| 558 | 566 | } | |
| 559 | 567 | ||
M v4/adw/adw-layout-slot.go +5 -0
| @@ -67,6 +67,7 @@ var xLayoutSlotGetSlotId func(uintptr) string | |||
| 67 | 67 | func (x *LayoutSlot) GetSlotId() string { | |
| 68 | 68 | ||
| 69 | 69 | cret := xLayoutSlotGetSlotId(x.GoPointer()) | |
| 70 | + | ||
| 70 | 71 | return cret | |
| 71 | 72 | } | |
| 72 | 73 | ||
| @@ -137,6 +138,7 @@ func (x *LayoutSlot) GetAccessibleParent() *gtk.AccessibleBase { | |||
| 137 | 138 | func (x *LayoutSlot) GetAccessibleRole() gtk.AccessibleRole { | |
| 138 | 139 | ||
| 139 | 140 | cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer()) | |
| 141 | + | ||
| 140 | 142 | return cret | |
| 141 | 143 | } | |
| 142 | 144 | ||
| @@ -162,6 +164,7 @@ func (x *LayoutSlot) GetAtContext() *gtk.ATContext { | |||
| 162 | 164 | func (x *LayoutSlot) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool { | |
| 163 | 165 | ||
| 164 | 166 | cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar) | |
| 167 | + | ||
| 165 | 168 | return cret | |
| 166 | 169 | } | |
| 167 | 170 | ||
| @@ -201,6 +204,7 @@ func (x *LayoutSlot) GetNextAccessibleSibling() *gtk.AccessibleBase { | |||
| 201 | 204 | func (x *LayoutSlot) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool { | |
| 202 | 205 | ||
| 203 | 206 | cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar) | |
| 207 | + | ||
| 204 | 208 | return cret | |
| 205 | 209 | } | |
| 206 | 210 | ||
| @@ -377,6 +381,7 @@ func (x *LayoutSlot) UpdateStateValue(NStatesVar int, StatesVar []gtk.Accessible | |||
| 377 | 381 | func (x *LayoutSlot) GetBuildableId() string { | |
| 378 | 382 | ||
| 379 | 383 | cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer()) | |
| 384 | + | ||
| 380 | 385 | return cret | |
| 381 | 386 | } | |
| 382 | 387 | ||
M v4/adw/adw-layout.go +8 -1
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package adw | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "runtime" | |
| 5 | 6 | "structs" | |
| 6 | 7 | "unsafe" | |
| 7 | 8 | ||
| @@ -78,6 +79,7 @@ var xLayoutGetName func(uintptr) string | |||
| 78 | 79 | func (x *Layout) GetName() string { | |
| 79 | 80 | ||
| 80 | 81 | cret := xLayoutGetName(x.GoPointer()) | |
| 82 | + | ||
| 81 | 83 | return cret | |
| 82 | 84 | } | |
| 83 | 85 | ||
| @@ -86,7 +88,11 @@ var xLayoutSetName func(uintptr, uintptr) | |||
| 86 | 88 | // Sets the name of the layout. | |
| 87 | 89 | func (x *Layout) SetName(NameVar *string) { | |
| 88 | 90 | ||
| 89 | - | xLayoutSetName(x.GoPointer(), core.NullableStringToPtr(NameVar)) | |
| 91 | + | NameVarPtr, NameVarBytes := core.NullableStringToPtr(NameVar) | |
| 92 | + | ||
| 93 | + | xLayoutSetName(x.GoPointer(), NameVarPtr) | |
| 94 | + | ||
| 95 | + | runtime.KeepAlive(NameVarBytes) | |
| 90 | 96 | ||
| 91 | 97 | } | |
| 92 | 98 | ||
| @@ -125,6 +131,7 @@ func (x *Layout) GetPropertyName() string { | |||
| 125 | 131 | func (x *Layout) GetBuildableId() string { | |
| 126 | 132 | ||
| 127 | 133 | cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer()) | |
| 134 | + | ||
| 128 | 135 | return cret | |
| 129 | 136 | } | |
| 130 | 137 | ||
M v4/adw/adw-leaflet.go +29 -1
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package adw | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "runtime" | |
| 5 | 6 | "structs" | |
| 6 | 7 | "unsafe" | |
| 7 | 8 | ||
| @@ -169,6 +170,7 @@ var xLeafletGetCanNavigateBack func(uintptr) bool | |||
| 169 | 170 | func (x *Leaflet) GetCanNavigateBack() bool { | |
| 170 | 171 | ||
| 171 | 172 | cret := xLeafletGetCanNavigateBack(x.GoPointer()) | |
| 173 | + | ||
| 172 | 174 | return cret | |
| 173 | 175 | } | |
| 174 | 176 | ||
| @@ -178,6 +180,7 @@ var xLeafletGetCanNavigateForward func(uintptr) bool | |||
| 178 | 180 | func (x *Leaflet) GetCanNavigateForward() bool { | |
| 179 | 181 | ||
| 180 | 182 | cret := xLeafletGetCanNavigateForward(x.GoPointer()) | |
| 183 | + | ||
| 181 | 184 | return cret | |
| 182 | 185 | } | |
| 183 | 186 | ||
| @@ -187,6 +190,7 @@ var xLeafletGetCanUnfold func(uintptr) bool | |||
| 187 | 190 | func (x *Leaflet) GetCanUnfold() bool { | |
| 188 | 191 | ||
| 189 | 192 | cret := xLeafletGetCanUnfold(x.GoPointer()) | |
| 193 | + | ||
| 190 | 194 | return cret | |
| 191 | 195 | } | |
| 192 | 196 | ||
| @@ -217,6 +221,7 @@ var xLeafletGetChildTransitionParams func(uintptr) *SpringParams | |||
| 217 | 221 | func (x *Leaflet) GetChildTransitionParams() *SpringParams { | |
| 218 | 222 | ||
| 219 | 223 | cret := xLeafletGetChildTransitionParams(x.GoPointer()) | |
| 224 | + | ||
| 220 | 225 | return cret | |
| 221 | 226 | } | |
| 222 | 227 | ||
| @@ -226,6 +231,7 @@ var xLeafletGetChildTransitionRunning func(uintptr) bool | |||
| 226 | 231 | func (x *Leaflet) GetChildTransitionRunning() bool { | |
| 227 | 232 | ||
| 228 | 233 | cret := xLeafletGetChildTransitionRunning(x.GoPointer()) | |
| 234 | + | ||
| 229 | 235 | return cret | |
| 230 | 236 | } | |
| 231 | 237 | ||
| @@ -235,6 +241,7 @@ var xLeafletGetFoldThresholdPolicy func(uintptr) FoldThresholdPolicy | |||
| 235 | 241 | func (x *Leaflet) GetFoldThresholdPolicy() FoldThresholdPolicy { | |
| 236 | 242 | ||
| 237 | 243 | cret := xLeafletGetFoldThresholdPolicy(x.GoPointer()) | |
| 244 | + | ||
| 238 | 245 | return cret | |
| 239 | 246 | } | |
| 240 | 247 | ||
| @@ -248,6 +255,7 @@ var xLeafletGetFolded func(uintptr) bool | |||
| 248 | 255 | func (x *Leaflet) GetFolded() bool { | |
| 249 | 256 | ||
| 250 | 257 | cret := xLeafletGetFolded(x.GoPointer()) | |
| 258 | + | ||
| 251 | 259 | return cret | |
| 252 | 260 | } | |
| 253 | 261 | ||
| @@ -257,6 +265,7 @@ var xLeafletGetHomogeneous func(uintptr) bool | |||
| 257 | 265 | func (x *Leaflet) GetHomogeneous() bool { | |
| 258 | 266 | ||
| 259 | 267 | cret := xLeafletGetHomogeneous(x.GoPointer()) | |
| 268 | + | ||
| 260 | 269 | return cret | |
| 261 | 270 | } | |
| 262 | 271 | ||
| @@ -266,6 +275,7 @@ var xLeafletGetModeTransitionDuration func(uintptr) uint | |||
| 266 | 275 | func (x *Leaflet) GetModeTransitionDuration() uint { | |
| 267 | 276 | ||
| 268 | 277 | cret := xLeafletGetModeTransitionDuration(x.GoPointer()) | |
| 278 | + | ||
| 269 | 279 | return cret | |
| 270 | 280 | } | |
| 271 | 281 | ||
| @@ -312,6 +322,7 @@ var xLeafletGetTransitionType func(uintptr) LeafletTransitionType | |||
| 312 | 322 | func (x *Leaflet) GetTransitionType() LeafletTransitionType { | |
| 313 | 323 | ||
| 314 | 324 | cret := xLeafletGetTransitionType(x.GoPointer()) | |
| 325 | + | ||
| 315 | 326 | return cret | |
| 316 | 327 | } | |
| 317 | 328 | ||
| @@ -338,6 +349,7 @@ var xLeafletGetVisibleChildName func(uintptr) string | |||
| 338 | 349 | func (x *Leaflet) GetVisibleChildName() string { | |
| 339 | 350 | ||
| 340 | 351 | cret := xLeafletGetVisibleChildName(x.GoPointer()) | |
| 352 | + | ||
| 341 | 353 | return cret | |
| 342 | 354 | } | |
| 343 | 355 | ||
| @@ -372,6 +384,7 @@ var xLeafletNavigate func(uintptr, NavigationDirection) bool | |||
| 372 | 384 | func (x *Leaflet) Navigate(DirectionVar NavigationDirection) bool { | |
| 373 | 385 | ||
| 374 | 386 | cret := xLeafletNavigate(x.GoPointer(), DirectionVar) | |
| 387 | + | ||
| 375 | 388 | return cret | |
| 376 | 389 | } | |
| 377 | 390 | ||
| @@ -801,6 +814,7 @@ func (x *Leaflet) GetPropertyVisibleChildName() string { | |||
| 801 | 814 | func (x *Leaflet) GetCancelProgress() float64 { | |
| 802 | 815 | ||
| 803 | 816 | cret := XAdwSwipeableGetCancelProgress(x.GoPointer()) | |
| 817 | + | ||
| 804 | 818 | return cret | |
| 805 | 819 | } | |
| 806 | 820 | ||
| @@ -810,6 +824,7 @@ func (x *Leaflet) GetCancelProgress() float64 { | |||
| 810 | 824 | func (x *Leaflet) GetDistance() float64 { | |
| 811 | 825 | ||
| 812 | 826 | cret := XAdwSwipeableGetDistance(x.GoPointer()) | |
| 827 | + | ||
| 813 | 828 | return cret | |
| 814 | 829 | } | |
| 815 | 830 | ||
| @@ -817,6 +832,7 @@ func (x *Leaflet) GetDistance() float64 { | |||
| 817 | 832 | func (x *Leaflet) GetProgress() float64 { | |
| 818 | 833 | ||
| 819 | 834 | cret := XAdwSwipeableGetProgress(x.GoPointer()) | |
| 835 | + | ||
| 820 | 836 | return cret | |
| 821 | 837 | } | |
| 822 | 838 | ||
| @@ -827,6 +843,7 @@ func (x *Leaflet) GetProgress() float64 { | |||
| 827 | 843 | func (x *Leaflet) GetSnapPoints(NSnapPointsVar *int) uintptr { | |
| 828 | 844 | ||
| 829 | 845 | cret := XAdwSwipeableGetSnapPoints(x.GoPointer(), NSnapPointsVar) | |
| 846 | + | ||
| 830 | 847 | return cret | |
| 831 | 848 | } | |
| 832 | 849 | ||
| @@ -880,6 +897,7 @@ func (x *Leaflet) GetAccessibleParent() *gtk.AccessibleBase { | |||
| 880 | 897 | func (x *Leaflet) GetAccessibleRole() gtk.AccessibleRole { | |
| 881 | 898 | ||
| 882 | 899 | cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer()) | |
| 900 | + | ||
| 883 | 901 | return cret | |
| 884 | 902 | } | |
| 885 | 903 | ||
| @@ -905,6 +923,7 @@ func (x *Leaflet) GetAtContext() *gtk.ATContext { | |||
| 905 | 923 | func (x *Leaflet) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool { | |
| 906 | 924 | ||
| 907 | 925 | cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar) | |
| 926 | + | ||
| 908 | 927 | return cret | |
| 909 | 928 | } | |
| 910 | 929 | ||
| @@ -944,6 +963,7 @@ func (x *Leaflet) GetNextAccessibleSibling() *gtk.AccessibleBase { | |||
| 944 | 963 | func (x *Leaflet) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool { | |
| 945 | 964 | ||
| 946 | 965 | cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar) | |
| 966 | + | ||
| 947 | 967 | return cret | |
| 948 | 968 | } | |
| 949 | 969 | ||
| @@ -1120,6 +1140,7 @@ func (x *Leaflet) UpdateStateValue(NStatesVar int, StatesVar []gtk.AccessibleSta | |||
| 1120 | 1140 | func (x *Leaflet) GetBuildableId() string { | |
| 1121 | 1141 | ||
| 1122 | 1142 | cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer()) | |
| 1143 | + | ||
| 1123 | 1144 | return cret | |
| 1124 | 1145 | } | |
| 1125 | 1146 | ||
| @@ -1127,6 +1148,7 @@ func (x *Leaflet) GetBuildableId() string { | |||
| 1127 | 1148 | func (x *Leaflet) GetOrientation() gtk.Orientation { | |
| 1128 | 1149 | ||
| 1129 | 1150 | cret := gtk.XGtkOrientableGetOrientation(x.GoPointer()) | |
| 1151 | + | ||
| 1130 | 1152 | return cret | |
| 1131 | 1153 | } | |
| 1132 | 1154 | ||
| @@ -1177,6 +1199,7 @@ var xLeafletPageGetName func(uintptr) string | |||
| 1177 | 1199 | func (x *LeafletPage) GetName() string { | |
| 1178 | 1200 | ||
| 1179 | 1201 | cret := xLeafletPageGetName(x.GoPointer()) | |
| 1202 | + | ||
| 1180 | 1203 | return cret | |
| 1181 | 1204 | } | |
| 1182 | 1205 | ||
| @@ -1186,6 +1209,7 @@ var xLeafletPageGetNavigatable func(uintptr) bool | |||
| 1186 | 1209 | func (x *LeafletPage) GetNavigatable() bool { | |
| 1187 | 1210 | ||
| 1188 | 1211 | cret := xLeafletPageGetNavigatable(x.GoPointer()) | |
| 1212 | + | ||
| 1189 | 1213 | return cret | |
| 1190 | 1214 | } | |
| 1191 | 1215 | ||
| @@ -1194,7 +1218,11 @@ var xLeafletPageSetName func(uintptr, uintptr) | |||
| 1194 | 1218 | // Sets the name of the @self. | |
| 1195 | 1219 | func (x *LeafletPage) SetName(NameVar *string) { | |
| 1196 | 1220 | ||
| 1197 | - | xLeafletPageSetName(x.GoPointer(), core.NullableStringToPtr(NameVar)) | |
| 1221 | + | NameVarPtr, NameVarBytes := core.NullableStringToPtr(NameVar) | |
| 1222 | + | ||
| 1223 | + | xLeafletPageSetName(x.GoPointer(), NameVarPtr) | |
| 1224 | + | ||
| 1225 | + | runtime.KeepAlive(NameVarBytes) | |
| 1198 | 1226 | ||
| 1199 | 1227 | } | |
| 1200 | 1228 | ||
M v4/adw/adw-length-unit.go +2 -0
| @@ -41,6 +41,7 @@ var xLengthUnitFromPx func(LengthUnit, float64, uintptr) float64 | |||
| 41 | 41 | func LengthUnitFromPx(UnitVar LengthUnit, ValueVar float64, SettingsVar *gtk.Settings) float64 { | |
| 42 | 42 | ||
| 43 | 43 | cret := xLengthUnitFromPx(UnitVar, ValueVar, SettingsVar.GoPointer()) | |
| 44 | + | ||
| 44 | 45 | return cret | |
| 45 | 46 | } | |
| 46 | 47 | ||
| @@ -50,6 +51,7 @@ var xLengthUnitToPx func(LengthUnit, float64, uintptr) float64 | |||
| 50 | 51 | func LengthUnitToPx(UnitVar LengthUnit, ValueVar float64, SettingsVar *gtk.Settings) float64 { | |
| 51 | 52 | ||
| 52 | 53 | cret := xLengthUnitToPx(UnitVar, ValueVar, SettingsVar.GoPointer()) | |
| 54 | + | ||
| 53 | 55 | return cret | |
| 54 | 56 | } | |
| 55 | 57 | ||
M v4/adw/adw-main.go +1 -0
| @@ -32,6 +32,7 @@ var xIsInitialized func() bool | |||
| 32 | 32 | func IsInitialized() bool { | |
| 33 | 33 | ||
| 34 | 34 | cret := xIsInitialized() | |
| 35 | + | ||
| 35 | 36 | return cret | |
| 36 | 37 | } | |
| 37 | 38 | ||
M v4/adw/adw-message-dialog.go +35 -3
| @@ -3,6 +3,7 @@ package adw | |||
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | 5 | "fmt" | |
| 6 | + | "runtime" | |
| 6 | 7 | "structs" | |
| 7 | 8 | "unsafe" | |
| 8 | 9 | ||
| @@ -230,7 +231,15 @@ var xNewMessageDialog func(uintptr, uintptr, uintptr) uintptr | |||
| 230 | 231 | func NewMessageDialog(ParentVar *gtk.Window, HeadingVar *string, BodyVar *string) *MessageDialog { | |
| 231 | 232 | var cls *MessageDialog | |
| 232 | 233 | ||
| 233 | - | cret := xNewMessageDialog(ParentVar.GoPointer(), core.NullableStringToPtr(HeadingVar), core.NullableStringToPtr(BodyVar)) | |
| 234 | + | HeadingVarPtr, HeadingVarBytes := core.NullableStringToPtr(HeadingVar) | |
| 235 | + | ||
| 236 | + | BodyVarPtr, BodyVarBytes := core.NullableStringToPtr(BodyVar) | |
| 237 | + | ||
| 238 | + | cret := xNewMessageDialog(ParentVar.GoPointer(), HeadingVarPtr, BodyVarPtr) | |
| 239 | + | ||
| 240 | + | runtime.KeepAlive(HeadingVarBytes) | |
| 241 | + | ||
| 242 | + | runtime.KeepAlive(BodyVarBytes) | |
| 234 | 243 | ||
| 235 | 244 | if cret == 0 { | |
| 236 | 245 | return nil | |
| @@ -320,6 +329,7 @@ var xMessageDialogChooseFinish func(uintptr, uintptr) string | |||
| 320 | 329 | func (x *MessageDialog) ChooseFinish(ResultVar gio.AsyncResult) string { | |
| 321 | 330 | ||
| 322 | 331 | cret := xMessageDialogChooseFinish(x.GoPointer(), ResultVar.GoPointer()) | |
| 332 | + | ||
| 323 | 333 | return cret | |
| 324 | 334 | } | |
| 325 | 335 | ||
| @@ -385,6 +395,7 @@ var xMessageDialogGetBody func(uintptr) string | |||
| 385 | 395 | func (x *MessageDialog) GetBody() string { | |
| 386 | 396 | ||
| 387 | 397 | cret := xMessageDialogGetBody(x.GoPointer()) | |
| 398 | + | ||
| 388 | 399 | return cret | |
| 389 | 400 | } | |
| 390 | 401 | ||
| @@ -394,6 +405,7 @@ var xMessageDialogGetBodyUseMarkup func(uintptr) bool | |||
| 394 | 405 | func (x *MessageDialog) GetBodyUseMarkup() bool { | |
| 395 | 406 | ||
| 396 | 407 | cret := xMessageDialogGetBodyUseMarkup(x.GoPointer()) | |
| 408 | + | ||
| 397 | 409 | return cret | |
| 398 | 410 | } | |
| 399 | 411 | ||
| @@ -403,6 +415,7 @@ var xMessageDialogGetCloseResponse func(uintptr) string | |||
| 403 | 415 | func (x *MessageDialog) GetCloseResponse() string { | |
| 404 | 416 | ||
| 405 | 417 | cret := xMessageDialogGetCloseResponse(x.GoPointer()) | |
| 418 | + | ||
| 406 | 419 | return cret | |
| 407 | 420 | } | |
| 408 | 421 | ||
| @@ -412,6 +425,7 @@ var xMessageDialogGetDefaultResponse func(uintptr) string | |||
| 412 | 425 | func (x *MessageDialog) GetDefaultResponse() string { | |
| 413 | 426 | ||
| 414 | 427 | cret := xMessageDialogGetDefaultResponse(x.GoPointer()) | |
| 428 | + | ||
| 415 | 429 | return cret | |
| 416 | 430 | } | |
| 417 | 431 | ||
| @@ -438,6 +452,7 @@ var xMessageDialogGetHeading func(uintptr) string | |||
| 438 | 452 | func (x *MessageDialog) GetHeading() string { | |
| 439 | 453 | ||
| 440 | 454 | cret := xMessageDialogGetHeading(x.GoPointer()) | |
| 455 | + | ||
| 441 | 456 | return cret | |
| 442 | 457 | } | |
| 443 | 458 | ||
| @@ -447,6 +462,7 @@ var xMessageDialogGetHeadingUseMarkup func(uintptr) bool | |||
| 447 | 462 | func (x *MessageDialog) GetHeadingUseMarkup() bool { | |
| 448 | 463 | ||
| 449 | 464 | cret := xMessageDialogGetHeadingUseMarkup(x.GoPointer()) | |
| 465 | + | ||
| 450 | 466 | return cret | |
| 451 | 467 | } | |
| 452 | 468 | ||
| @@ -458,6 +474,7 @@ var xMessageDialogGetResponseAppearance func(uintptr, string) ResponseAppearance | |||
| 458 | 474 | func (x *MessageDialog) GetResponseAppearance(ResponseVar string) ResponseAppearance { | |
| 459 | 475 | ||
| 460 | 476 | cret := xMessageDialogGetResponseAppearance(x.GoPointer(), ResponseVar) | |
| 477 | + | ||
| 461 | 478 | return cret | |
| 462 | 479 | } | |
| 463 | 480 | ||
| @@ -469,6 +486,7 @@ var xMessageDialogGetResponseEnabled func(uintptr, string) bool | |||
| 469 | 486 | func (x *MessageDialog) GetResponseEnabled(ResponseVar string) bool { | |
| 470 | 487 | ||
| 471 | 488 | cret := xMessageDialogGetResponseEnabled(x.GoPointer(), ResponseVar) | |
| 489 | + | ||
| 472 | 490 | return cret | |
| 473 | 491 | } | |
| 474 | 492 | ||
| @@ -480,6 +498,7 @@ var xMessageDialogGetResponseLabel func(uintptr, string) string | |||
| 480 | 498 | func (x *MessageDialog) GetResponseLabel(ResponseVar string) string { | |
| 481 | 499 | ||
| 482 | 500 | cret := xMessageDialogGetResponseLabel(x.GoPointer(), ResponseVar) | |
| 501 | + | ||
| 483 | 502 | return cret | |
| 484 | 503 | } | |
| 485 | 504 | ||
| @@ -489,6 +508,7 @@ var xMessageDialogHasResponse func(uintptr, string) bool | |||
| 489 | 508 | func (x *MessageDialog) HasResponse(ResponseVar string) bool { | |
| 490 | 509 | ||
| 491 | 510 | cret := xMessageDialogHasResponse(x.GoPointer(), ResponseVar) | |
| 511 | + | ||
| 492 | 512 | return cret | |
| 493 | 513 | } | |
| 494 | 514 | ||
| @@ -561,7 +581,11 @@ var xMessageDialogSetDefaultResponse func(uintptr, uintptr) | |||
| 561 | 581 | // See [property@Gtk.Window:default-widget]. | |
| 562 | 582 | func (x *MessageDialog) SetDefaultResponse(ResponseVar *string) { | |
| 563 | 583 | ||
| 564 | - | xMessageDialogSetDefaultResponse(x.GoPointer(), core.NullableStringToPtr(ResponseVar)) | |
| 584 | + | ResponseVarPtr, ResponseVarBytes := core.NullableStringToPtr(ResponseVar) | |
| 585 | + | ||
| 586 | + | xMessageDialogSetDefaultResponse(x.GoPointer(), ResponseVarPtr) | |
| 587 | + | ||
| 588 | + | runtime.KeepAlive(ResponseVarBytes) | |
| 565 | 589 | ||
| 566 | 590 | } | |
| 567 | 591 | ||
| @@ -581,7 +605,11 @@ var xMessageDialogSetHeading func(uintptr, uintptr) | |||
| 581 | 605 | // Sets the heading of @self. | |
| 582 | 606 | func (x *MessageDialog) SetHeading(HeadingVar *string) { | |
| 583 | 607 | ||
| 584 | - | xMessageDialogSetHeading(x.GoPointer(), core.NullableStringToPtr(HeadingVar)) | |
| 608 | + | HeadingVarPtr, HeadingVarBytes := core.NullableStringToPtr(HeadingVar) | |
| 609 | + | ||
| 610 | + | xMessageDialogSetHeading(x.GoPointer(), HeadingVarPtr) | |
| 611 | + | ||
| 612 | + | runtime.KeepAlive(HeadingVarBytes) | |
| 585 | 613 | ||
| 586 | 614 | } | |
| 587 | 615 | ||
| @@ -888,6 +916,7 @@ func (x *MessageDialog) GetAccessibleParent() *gtk.AccessibleBase { | |||
| 888 | 916 | func (x *MessageDialog) GetAccessibleRole() gtk.AccessibleRole { | |
| 889 | 917 | ||
| 890 | 918 | cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer()) | |
| 919 | + | ||
| 891 | 920 | return cret | |
| 892 | 921 | } | |
| 893 | 922 | ||
| @@ -913,6 +942,7 @@ func (x *MessageDialog) GetAtContext() *gtk.ATContext { | |||
| 913 | 942 | func (x *MessageDialog) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool { | |
| 914 | 943 | ||
| 915 | 944 | cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar) | |
| 945 | + | ||
| 916 | 946 | return cret | |
| 917 | 947 | } | |
| 918 | 948 | ||
| @@ -952,6 +982,7 @@ func (x *MessageDialog) GetNextAccessibleSibling() *gtk.AccessibleBase { | |||
| 952 | 982 | func (x *MessageDialog) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool { | |
| 953 | 983 | ||
| 954 | 984 | cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar) | |
| 985 | + | ||
| 955 | 986 | return cret | |
| 956 | 987 | } | |
| 957 | 988 | ||
| @@ -1128,6 +1159,7 @@ func (x *MessageDialog) UpdateStateValue(NStatesVar int, StatesVar []gtk.Accessi | |||
| 1128 | 1159 | func (x *MessageDialog) GetBuildableId() string { | |
| 1129 | 1160 | ||
| 1130 | 1161 | cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer()) | |
| 1162 | + | ||
| 1131 | 1163 | return cret | |
| 1132 | 1164 | } | |
| 1133 | 1165 | ||
M v4/adw/adw-multi-layout-view.go +5 -0
| @@ -205,6 +205,7 @@ var xMultiLayoutViewGetLayoutName func(uintptr) string | |||
| 205 | 205 | func (x *MultiLayoutView) GetLayoutName() string { | |
| 206 | 206 | ||
| 207 | 207 | cret := xMultiLayoutViewGetLayoutName(x.GoPointer()) | |
| 208 | + | ||
| 208 | 209 | return cret | |
| 209 | 210 | } | |
| 210 | 211 | ||
| @@ -315,6 +316,7 @@ func (x *MultiLayoutView) GetAccessibleParent() *gtk.AccessibleBase { | |||
| 315 | 316 | func (x *MultiLayoutView) GetAccessibleRole() gtk.AccessibleRole { | |
| 316 | 317 | ||
| 317 | 318 | cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer()) | |
| 319 | + | ||
| 318 | 320 | return cret | |
| 319 | 321 | } | |
| 320 | 322 | ||
| @@ -340,6 +342,7 @@ func (x *MultiLayoutView) GetAtContext() *gtk.ATContext { | |||
| 340 | 342 | func (x *MultiLayoutView) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool { | |
| 341 | 343 | ||
| 342 | 344 | cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar) | |
| 345 | + | ||
| 343 | 346 | return cret | |
| 344 | 347 | } | |
| 345 | 348 | ||
| @@ -379,6 +382,7 @@ func (x *MultiLayoutView) GetNextAccessibleSibling() *gtk.AccessibleBase { | |||
| 379 | 382 | func (x *MultiLayoutView) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool { | |
| 380 | 383 | ||
| 381 | 384 | cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar) | |
| 385 | + | ||
| 382 | 386 | return cret | |
| 383 | 387 | } | |
| 384 | 388 | ||
| @@ -555,6 +559,7 @@ func (x *MultiLayoutView) UpdateStateValue(NStatesVar int, StatesVar []gtk.Acces | |||
| 555 | 559 | func (x *MultiLayoutView) GetBuildableId() string { | |
| 556 | 560 | ||
| 557 | 561 | cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer()) | |
| 562 | + | ||
| 558 | 563 | return cret | |
| 559 | 564 | } | |
| 560 | 565 | ||
M v4/adw/adw-navigation-split-view.go +11 -0
| @@ -205,6 +205,7 @@ var xNavigationSplitViewGetCollapsed func(uintptr) bool | |||
| 205 | 205 | func (x *NavigationSplitView) GetCollapsed() bool { | |
| 206 | 206 | ||
| 207 | 207 | cret := xNavigationSplitViewGetCollapsed(x.GoPointer()) | |
| 208 | + | ||
| 208 | 209 | return cret | |
| 209 | 210 | } | |
| 210 | 211 | ||
| @@ -231,6 +232,7 @@ var xNavigationSplitViewGetMaxSidebarWidth func(uintptr) float64 | |||
| 231 | 232 | func (x *NavigationSplitView) GetMaxSidebarWidth() float64 { | |
| 232 | 233 | ||
| 233 | 234 | cret := xNavigationSplitViewGetMaxSidebarWidth(x.GoPointer()) | |
| 235 | + | ||
| 234 | 236 | return cret | |
| 235 | 237 | } | |
| 236 | 238 | ||
| @@ -240,6 +242,7 @@ var xNavigationSplitViewGetMinSidebarWidth func(uintptr) float64 | |||
| 240 | 242 | func (x *NavigationSplitView) GetMinSidebarWidth() float64 { | |
| 241 | 243 | ||
| 242 | 244 | cret := xNavigationSplitViewGetMinSidebarWidth(x.GoPointer()) | |
| 245 | + | ||
| 243 | 246 | return cret | |
| 244 | 247 | } | |
| 245 | 248 | ||
| @@ -249,6 +252,7 @@ var xNavigationSplitViewGetShowContent func(uintptr) bool | |||
| 249 | 252 | func (x *NavigationSplitView) GetShowContent() bool { | |
| 250 | 253 | ||
| 251 | 254 | cret := xNavigationSplitViewGetShowContent(x.GoPointer()) | |
| 255 | + | ||
| 252 | 256 | return cret | |
| 253 | 257 | } | |
| 254 | 258 | ||
| @@ -275,6 +279,7 @@ var xNavigationSplitViewGetSidebarPosition func(uintptr) gtk.PackType | |||
| 275 | 279 | func (x *NavigationSplitView) GetSidebarPosition() gtk.PackType { | |
| 276 | 280 | ||
| 277 | 281 | cret := xNavigationSplitViewGetSidebarPosition(x.GoPointer()) | |
| 282 | + | ||
| 278 | 283 | return cret | |
| 279 | 284 | } | |
| 280 | 285 | ||
| @@ -284,6 +289,7 @@ var xNavigationSplitViewGetSidebarWidthFraction func(uintptr) float64 | |||
| 284 | 289 | func (x *NavigationSplitView) GetSidebarWidthFraction() float64 { | |
| 285 | 290 | ||
| 286 | 291 | cret := xNavigationSplitViewGetSidebarWidthFraction(x.GoPointer()) | |
| 292 | + | ||
| 287 | 293 | return cret | |
| 288 | 294 | } | |
| 289 | 295 | ||
| @@ -293,6 +299,7 @@ var xNavigationSplitViewGetSidebarWidthUnit func(uintptr) LengthUnit | |||
| 293 | 299 | func (x *NavigationSplitView) GetSidebarWidthUnit() LengthUnit { | |
| 294 | 300 | ||
| 295 | 301 | cret := xNavigationSplitViewGetSidebarWidthUnit(x.GoPointer()) | |
| 302 | + | ||
| 296 | 303 | return cret | |
| 297 | 304 | } | |
| 298 | 305 | ||
| @@ -612,6 +619,7 @@ func (x *NavigationSplitView) GetAccessibleParent() *gtk.AccessibleBase { | |||
| 612 | 619 | func (x *NavigationSplitView) GetAccessibleRole() gtk.AccessibleRole { | |
| 613 | 620 | ||
| 614 | 621 | cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer()) | |
| 622 | + | ||
| 615 | 623 | return cret | |
| 616 | 624 | } | |
| 617 | 625 | ||
| @@ -637,6 +645,7 @@ func (x *NavigationSplitView) GetAtContext() *gtk.ATContext { | |||
| 637 | 645 | func (x *NavigationSplitView) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool { | |
| 638 | 646 | ||
| 639 | 647 | cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar) | |
| 648 | + | ||
| 640 | 649 | return cret | |
| 641 | 650 | } | |
| 642 | 651 | ||
| @@ -676,6 +685,7 @@ func (x *NavigationSplitView) GetNextAccessibleSibling() *gtk.AccessibleBase { | |||
| 676 | 685 | func (x *NavigationSplitView) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool { | |
| 677 | 686 | ||
| 678 | 687 | cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar) | |
| 688 | + | ||
| 679 | 689 | return cret | |
| 680 | 690 | } | |
| 681 | 691 | ||
| @@ -852,6 +862,7 @@ func (x *NavigationSplitView) UpdateStateValue(NStatesVar int, StatesVar []gtk.A | |||
| 852 | 862 | func (x *NavigationSplitView) GetBuildableId() string { | |
| 853 | 863 | ||
| 854 | 864 | cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer()) | |
| 865 | + | ||
| 855 | 866 | return cret | |
| 856 | 867 | } | |
| 857 | 868 | ||
M v4/adw/adw-navigation-view.go +29 -1
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package adw | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "runtime" | |
| 5 | 6 | "structs" | |
| 6 | 7 | "unsafe" | |
| 7 | 8 | ||
| @@ -219,6 +220,7 @@ var xNavigationPageGetCanPop func(uintptr) bool | |||
| 219 | 220 | func (x *NavigationPage) GetCanPop() bool { | |
| 220 | 221 | ||
| 221 | 222 | cret := xNavigationPageGetCanPop(x.GoPointer()) | |
| 223 | + | ||
| 222 | 224 | return cret | |
| 223 | 225 | } | |
| 224 | 226 | ||
| @@ -245,6 +247,7 @@ var xNavigationPageGetTag func(uintptr) string | |||
| 245 | 247 | func (x *NavigationPage) GetTag() string { | |
| 246 | 248 | ||
| 247 | 249 | cret := xNavigationPageGetTag(x.GoPointer()) | |
| 250 | + | ||
| 248 | 251 | return cret | |
| 249 | 252 | } | |
| 250 | 253 | ||
| @@ -254,6 +257,7 @@ var xNavigationPageGetTitle func(uintptr) string | |||
| 254 | 257 | func (x *NavigationPage) GetTitle() string { | |
| 255 | 258 | ||
| 256 | 259 | cret := xNavigationPageGetTitle(x.GoPointer()) | |
| 260 | + | ||
| 257 | 261 | return cret | |
| 258 | 262 | } | |
| 259 | 263 | ||
| @@ -298,7 +302,11 @@ var xNavigationPageSetTag func(uintptr, uintptr) | |||
| 298 | 302 | // The tag also must be set to use the `navigation.push` action. | |
| 299 | 303 | func (x *NavigationPage) SetTag(TagVar *string) { | |
| 300 | 304 | ||
| 301 | - | xNavigationPageSetTag(x.GoPointer(), core.NullableStringToPtr(TagVar)) | |
| 305 | + | TagVarPtr, TagVarBytes := core.NullableStringToPtr(TagVar) | |
| 306 | + | ||
| 307 | + | xNavigationPageSetTag(x.GoPointer(), TagVarPtr) | |
| 308 | + | ||
| 309 | + | runtime.KeepAlive(TagVarBytes) | |
| 302 | 310 | ||
| 303 | 311 | } | |
| 304 | 312 | ||
| @@ -549,6 +557,7 @@ func (x *NavigationPage) GetAccessibleParent() *gtk.AccessibleBase { | |||
| 549 | 557 | func (x *NavigationPage) GetAccessibleRole() gtk.AccessibleRole { | |
| 550 | 558 | ||
| 551 | 559 | cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer()) | |
| 560 | + | ||
| 552 | 561 | return cret | |
| 553 | 562 | } | |
| 554 | 563 | ||
| @@ -574,6 +583,7 @@ func (x *NavigationPage) GetAtContext() *gtk.ATContext { | |||
| 574 | 583 | func (x *NavigationPage) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool { | |
| 575 | 584 | ||
| 576 | 585 | cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar) | |
| 586 | + | ||
| 577 | 587 | return cret | |
| 578 | 588 | } | |
| 579 | 589 | ||
| @@ -613,6 +623,7 @@ func (x *NavigationPage) GetNextAccessibleSibling() *gtk.AccessibleBase { | |||
| 613 | 623 | func (x *NavigationPage) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool { | |
| 614 | 624 | ||
| 615 | 625 | cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar) | |
| 626 | + | ||
| 616 | 627 | return cret | |
| 617 | 628 | } | |
| 618 | 629 | ||
| @@ -789,6 +800,7 @@ func (x *NavigationPage) UpdateStateValue(NStatesVar int, StatesVar []gtk.Access | |||
| 789 | 800 | func (x *NavigationPage) GetBuildableId() string { | |
| 790 | 801 | ||
| 791 | 802 | cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer()) | |
| 803 | + | ||
| 792 | 804 | return cret | |
| 793 | 805 | } | |
| 794 | 806 | ||
| @@ -1030,6 +1042,7 @@ var xNavigationViewGetAnimateTransitions func(uintptr) bool | |||
| 1030 | 1042 | func (x *NavigationView) GetAnimateTransitions() bool { | |
| 1031 | 1043 | ||
| 1032 | 1044 | cret := xNavigationViewGetAnimateTransitions(x.GoPointer()) | |
| 1045 | + | ||
| 1033 | 1046 | return cret | |
| 1034 | 1047 | } | |
| 1035 | 1048 | ||
| @@ -1039,6 +1052,7 @@ var xNavigationViewGetHhomogeneous func(uintptr) bool | |||
| 1039 | 1052 | func (x *NavigationView) GetHhomogeneous() bool { | |
| 1040 | 1053 | ||
| 1041 | 1054 | cret := xNavigationViewGetHhomogeneous(x.GoPointer()) | |
| 1055 | + | ||
| 1042 | 1056 | return cret | |
| 1043 | 1057 | } | |
| 1044 | 1058 | ||
| @@ -1068,6 +1082,7 @@ var xNavigationViewGetPopOnEscape func(uintptr) bool | |||
| 1068 | 1082 | func (x *NavigationView) GetPopOnEscape() bool { | |
| 1069 | 1083 | ||
| 1070 | 1084 | cret := xNavigationViewGetPopOnEscape(x.GoPointer()) | |
| 1085 | + | ||
| 1071 | 1086 | return cret | |
| 1072 | 1087 | } | |
| 1073 | 1088 | ||
| @@ -1099,6 +1114,7 @@ var xNavigationViewGetVhomogeneous func(uintptr) bool | |||
| 1099 | 1114 | func (x *NavigationView) GetVhomogeneous() bool { | |
| 1100 | 1115 | ||
| 1101 | 1116 | cret := xNavigationViewGetVhomogeneous(x.GoPointer()) | |
| 1117 | + | ||
| 1102 | 1118 | return cret | |
| 1103 | 1119 | } | |
| 1104 | 1120 | ||
| @@ -1125,6 +1141,7 @@ var xNavigationViewGetVisiblePageTag func(uintptr) string | |||
| 1125 | 1141 | func (x *NavigationView) GetVisiblePageTag() string { | |
| 1126 | 1142 | ||
| 1127 | 1143 | cret := xNavigationViewGetVisiblePageTag(x.GoPointer()) | |
| 1144 | + | ||
| 1128 | 1145 | return cret | |
| 1129 | 1146 | } | |
| 1130 | 1147 | ||
| @@ -1144,6 +1161,7 @@ var xNavigationViewPop func(uintptr) bool | |||
| 1144 | 1161 | func (x *NavigationView) Pop() bool { | |
| 1145 | 1162 | ||
| 1146 | 1163 | cret := xNavigationViewPop(x.GoPointer()) | |
| 1164 | + | ||
| 1147 | 1165 | return cret | |
| 1148 | 1166 | } | |
| 1149 | 1167 | ||
| @@ -1163,6 +1181,7 @@ var xNavigationViewPopToPage func(uintptr, uintptr) bool | |||
| 1163 | 1181 | func (x *NavigationView) PopToPage(PageVar *NavigationPage) bool { | |
| 1164 | 1182 | ||
| 1165 | 1183 | cret := xNavigationViewPopToPage(x.GoPointer(), PageVar.GoPointer()) | |
| 1184 | + | ||
| 1166 | 1185 | return cret | |
| 1167 | 1186 | } | |
| 1168 | 1187 | ||
| @@ -1181,6 +1200,7 @@ var xNavigationViewPopToTag func(uintptr, string) bool | |||
| 1181 | 1200 | func (x *NavigationView) PopToTag(TagVar string) bool { | |
| 1182 | 1201 | ||
| 1183 | 1202 | cret := xNavigationViewPopToTag(x.GoPointer(), TagVar) | |
| 1203 | + | ||
| 1184 | 1204 | return cret | |
| 1185 | 1205 | } | |
| 1186 | 1206 | ||
| @@ -1554,6 +1574,7 @@ func (x *NavigationView) ConnectReplaced(cb *func(NavigationView)) uint32 { | |||
| 1554 | 1574 | func (x *NavigationView) GetCancelProgress() float64 { | |
| 1555 | 1575 | ||
| 1556 | 1576 | cret := XAdwSwipeableGetCancelProgress(x.GoPointer()) | |
| 1577 | + | ||
| 1557 | 1578 | return cret | |
| 1558 | 1579 | } | |
| 1559 | 1580 | ||
| @@ -1563,6 +1584,7 @@ func (x *NavigationView) GetCancelProgress() float64 { | |||
| 1563 | 1584 | func (x *NavigationView) GetDistance() float64 { | |
| 1564 | 1585 | ||
| 1565 | 1586 | cret := XAdwSwipeableGetDistance(x.GoPointer()) | |
| 1587 | + | ||
| 1566 | 1588 | return cret | |
| 1567 | 1589 | } | |
| 1568 | 1590 | ||
| @@ -1570,6 +1592,7 @@ func (x *NavigationView) GetDistance() float64 { | |||
| 1570 | 1592 | func (x *NavigationView) GetProgress() float64 { | |
| 1571 | 1593 | ||
| 1572 | 1594 | cret := XAdwSwipeableGetProgress(x.GoPointer()) | |
| 1595 | + | ||
| 1573 | 1596 | return cret | |
| 1574 | 1597 | } | |
| 1575 | 1598 | ||
| @@ -1580,6 +1603,7 @@ func (x *NavigationView) GetProgress() float64 { | |||
| 1580 | 1603 | func (x *NavigationView) GetSnapPoints(NSnapPointsVar *int) uintptr { | |
| 1581 | 1604 | ||
| 1582 | 1605 | cret := XAdwSwipeableGetSnapPoints(x.GoPointer(), NSnapPointsVar) | |
| 1606 | + | ||
| 1583 | 1607 | return cret | |
| 1584 | 1608 | } | |
| 1585 | 1609 | ||
| @@ -1633,6 +1657,7 @@ func (x *NavigationView) GetAccessibleParent() *gtk.AccessibleBase { | |||
| 1633 | 1657 | func (x *NavigationView) GetAccessibleRole() gtk.AccessibleRole { | |
| 1634 | 1658 | ||
| 1635 | 1659 | cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer()) | |
| 1660 | + | ||
| 1636 | 1661 | return cret | |
| 1637 | 1662 | } | |
| 1638 | 1663 | ||
| @@ -1658,6 +1683,7 @@ func (x *NavigationView) GetAtContext() *gtk.ATContext { | |||
| 1658 | 1683 | func (x *NavigationView) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool { | |
| 1659 | 1684 | ||
| 1660 | 1685 | cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar) | |
| 1686 | + | ||
| 1661 | 1687 | return cret | |
| 1662 | 1688 | } | |
| 1663 | 1689 | ||
| @@ -1697,6 +1723,7 @@ func (x *NavigationView) GetNextAccessibleSibling() *gtk.AccessibleBase { | |||
| 1697 | 1723 | func (x *NavigationView) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool { | |
| 1698 | 1724 | ||
| 1699 | 1725 | cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar) | |
| 1726 | + | ||
| 1700 | 1727 | return cret | |
| 1701 | 1728 | } | |
| 1702 | 1729 | ||
| @@ -1873,6 +1900,7 @@ func (x *NavigationView) UpdateStateValue(NStatesVar int, StatesVar []gtk.Access | |||
| 1873 | 1900 | func (x *NavigationView) GetBuildableId() string { | |
| 1874 | 1901 | ||
| 1875 | 1902 | cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer()) | |
| 1903 | + | ||
| 1876 | 1904 | return cret | |
| 1877 | 1905 | } | |
| 1878 | 1906 | ||
M v4/adw/adw-overlay-split-view.go +18 -0
| @@ -203,6 +203,7 @@ var xOverlaySplitViewGetCollapsed func(uintptr) bool | |||
| 203 | 203 | func (x *OverlaySplitView) GetCollapsed() bool { | |
| 204 | 204 | ||
| 205 | 205 | cret := xOverlaySplitViewGetCollapsed(x.GoPointer()) | |
| 206 | + | ||
| 206 | 207 | return cret | |
| 207 | 208 | } | |
| 208 | 209 | ||
| @@ -229,6 +230,7 @@ var xOverlaySplitViewGetEnableHideGesture func(uintptr) bool | |||
| 229 | 230 | func (x *OverlaySplitView) GetEnableHideGesture() bool { | |
| 230 | 231 | ||
| 231 | 232 | cret := xOverlaySplitViewGetEnableHideGesture(x.GoPointer()) | |
| 233 | + | ||
| 232 | 234 | return cret | |
| 233 | 235 | } | |
| 234 | 236 | ||
| @@ -238,6 +240,7 @@ var xOverlaySplitViewGetEnableShowGesture func(uintptr) bool | |||
| 238 | 240 | func (x *OverlaySplitView) GetEnableShowGesture() bool { | |
| 239 | 241 | ||
| 240 | 242 | cret := xOverlaySplitViewGetEnableShowGesture(x.GoPointer()) | |
| 243 | + | ||
| 241 | 244 | return cret | |
| 242 | 245 | } | |
| 243 | 246 | ||
| @@ -247,6 +250,7 @@ var xOverlaySplitViewGetMaxSidebarWidth func(uintptr) float64 | |||
| 247 | 250 | func (x *OverlaySplitView) GetMaxSidebarWidth() float64 { | |
| 248 | 251 | ||
| 249 | 252 | cret := xOverlaySplitViewGetMaxSidebarWidth(x.GoPointer()) | |
| 253 | + | ||
| 250 | 254 | return cret | |
| 251 | 255 | } | |
| 252 | 256 | ||
| @@ -256,6 +260,7 @@ var xOverlaySplitViewGetMinSidebarWidth func(uintptr) float64 | |||
| 256 | 260 | func (x *OverlaySplitView) GetMinSidebarWidth() float64 { | |
| 257 | 261 | ||
| 258 | 262 | cret := xOverlaySplitViewGetMinSidebarWidth(x.GoPointer()) | |
| 263 | + | ||
| 259 | 264 | return cret | |
| 260 | 265 | } | |
| 261 | 266 | ||
| @@ -265,6 +270,7 @@ var xOverlaySplitViewGetPinSidebar func(uintptr) bool | |||
| 265 | 270 | func (x *OverlaySplitView) GetPinSidebar() bool { | |
| 266 | 271 | ||
| 267 | 272 | cret := xOverlaySplitViewGetPinSidebar(x.GoPointer()) | |
| 273 | + | ||
| 268 | 274 | return cret | |
| 269 | 275 | } | |
| 270 | 276 | ||
| @@ -274,6 +280,7 @@ var xOverlaySplitViewGetShowSidebar func(uintptr) bool | |||
| 274 | 280 | func (x *OverlaySplitView) GetShowSidebar() bool { | |
| 275 | 281 | ||
| 276 | 282 | cret := xOverlaySplitViewGetShowSidebar(x.GoPointer()) | |
| 283 | + | ||
| 277 | 284 | return cret | |
| 278 | 285 | } | |
| 279 | 286 | ||
| @@ -300,6 +307,7 @@ var xOverlaySplitViewGetSidebarPosition func(uintptr) gtk.PackType | |||
| 300 | 307 | func (x *OverlaySplitView) GetSidebarPosition() gtk.PackType { | |
| 301 | 308 | ||
| 302 | 309 | cret := xOverlaySplitViewGetSidebarPosition(x.GoPointer()) | |
| 310 | + | ||
| 303 | 311 | return cret | |
| 304 | 312 | } | |
| 305 | 313 | ||
| @@ -309,6 +317,7 @@ var xOverlaySplitViewGetSidebarWidthFraction func(uintptr) float64 | |||
| 309 | 317 | func (x *OverlaySplitView) GetSidebarWidthFraction() float64 { | |
| 310 | 318 | ||
| 311 | 319 | cret := xOverlaySplitViewGetSidebarWidthFraction(x.GoPointer()) | |
| 320 | + | ||
| 312 | 321 | return cret | |
| 313 | 322 | } | |
| 314 | 323 | ||
| @@ -318,6 +327,7 @@ var xOverlaySplitViewGetSidebarWidthUnit func(uintptr) LengthUnit | |||
| 318 | 327 | func (x *OverlaySplitView) GetSidebarWidthUnit() LengthUnit { | |
| 319 | 328 | ||
| 320 | 329 | cret := xOverlaySplitViewGetSidebarWidthUnit(x.GoPointer()) | |
| 330 | + | ||
| 321 | 331 | return cret | |
| 322 | 332 | } | |
| 323 | 333 | ||
| @@ -674,6 +684,7 @@ func (x *OverlaySplitView) GetPropertySidebarWidthFraction() float64 { | |||
| 674 | 684 | func (x *OverlaySplitView) GetCancelProgress() float64 { | |
| 675 | 685 | ||
| 676 | 686 | cret := XAdwSwipeableGetCancelProgress(x.GoPointer()) | |
| 687 | + | ||
| 677 | 688 | return cret | |
| 678 | 689 | } | |
| 679 | 690 | ||
| @@ -683,6 +694,7 @@ func (x *OverlaySplitView) GetCancelProgress() float64 { | |||
| 683 | 694 | func (x *OverlaySplitView) GetDistance() float64 { | |
| 684 | 695 | ||
| 685 | 696 | cret := XAdwSwipeableGetDistance(x.GoPointer()) | |
| 697 | + | ||
| 686 | 698 | return cret | |
| 687 | 699 | } | |
| 688 | 700 | ||
| @@ -690,6 +702,7 @@ func (x *OverlaySplitView) GetDistance() float64 { | |||
| 690 | 702 | func (x *OverlaySplitView) GetProgress() float64 { | |
| 691 | 703 | ||
| 692 | 704 | cret := XAdwSwipeableGetProgress(x.GoPointer()) | |
| 705 | + | ||
| 693 | 706 | return cret | |
| 694 | 707 | } | |
| 695 | 708 | ||
| @@ -700,6 +713,7 @@ func (x *OverlaySplitView) GetProgress() float64 { | |||
| 700 | 713 | func (x *OverlaySplitView) GetSnapPoints(NSnapPointsVar *int) uintptr { | |
| 701 | 714 | ||
| 702 | 715 | cret := XAdwSwipeableGetSnapPoints(x.GoPointer(), NSnapPointsVar) | |
| 716 | + | ||
| 703 | 717 | return cret | |
| 704 | 718 | } | |
| 705 | 719 | ||
| @@ -753,6 +767,7 @@ func (x *OverlaySplitView) GetAccessibleParent() *gtk.AccessibleBase { | |||
| 753 | 767 | func (x *OverlaySplitView) GetAccessibleRole() gtk.AccessibleRole { | |
| 754 | 768 | ||
| 755 | 769 | cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer()) | |
| 770 | + | ||
| 756 | 771 | return cret | |
| 757 | 772 | } | |
| 758 | 773 | ||
| @@ -778,6 +793,7 @@ func (x *OverlaySplitView) GetAtContext() *gtk.ATContext { | |||
| 778 | 793 | func (x *OverlaySplitView) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool { | |
| 779 | 794 | ||
| 780 | 795 | cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar) | |
| 796 | + | ||
| 781 | 797 | return cret | |
| 782 | 798 | } | |
| 783 | 799 | ||
| @@ -817,6 +833,7 @@ func (x *OverlaySplitView) GetNextAccessibleSibling() *gtk.AccessibleBase { | |||
| 817 | 833 | func (x *OverlaySplitView) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool { | |
| 818 | 834 | ||
| 819 | 835 | cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar) | |
| 836 | + | ||
| 820 | 837 | return cret | |
| 821 | 838 | } | |
| 822 | 839 | ||
| @@ -993,6 +1010,7 @@ func (x *OverlaySplitView) UpdateStateValue(NStatesVar int, StatesVar []gtk.Acce | |||
| 993 | 1010 | func (x *OverlaySplitView) GetBuildableId() string { | |
| 994 | 1011 | ||
| 995 | 1012 | cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer()) | |
| 1013 | + | ||
| 996 | 1014 | return cret | |
| 997 | 1015 | } | |
| 998 | 1016 | ||
M v4/adw/adw-password-entry-row.go +22 -1
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package adw | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "runtime" | |
| 5 | 6 | "structs" | |
| 6 | 7 | "unsafe" | |
| 7 | 8 | ||
| @@ -123,6 +124,7 @@ func (x *PasswordEntryRow) GetAccessibleParent() *gtk.AccessibleBase { | |||
| 123 | 124 | func (x *PasswordEntryRow) GetAccessibleRole() gtk.AccessibleRole { | |
| 124 | 125 | ||
| 125 | 126 | cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer()) | |
| 127 | + | ||
| 126 | 128 | return cret | |
| 127 | 129 | } | |
| 128 | 130 | ||
| @@ -148,6 +150,7 @@ func (x *PasswordEntryRow) GetAtContext() *gtk.ATContext { | |||
| 148 | 150 | func (x *PasswordEntryRow) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool { | |
| 149 | 151 | ||
| 150 | 152 | cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar) | |
| 153 | + | ||
| 151 | 154 | return cret | |
| 152 | 155 | } | |
| 153 | 156 | ||
| @@ -187,6 +190,7 @@ func (x *PasswordEntryRow) GetNextAccessibleSibling() *gtk.AccessibleBase { | |||
| 187 | 190 | func (x *PasswordEntryRow) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool { | |
| 188 | 191 | ||
| 189 | 192 | cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar) | |
| 193 | + | ||
| 190 | 194 | return cret | |
| 191 | 195 | } | |
| 192 | 196 | ||
| @@ -360,6 +364,7 @@ func (x *PasswordEntryRow) UpdateStateValue(NStatesVar int, StatesVar []gtk.Acce | |||
| 360 | 364 | func (x *PasswordEntryRow) GetActionName() string { | |
| 361 | 365 | ||
| 362 | 366 | cret := gtk.XGtkActionableGetActionName(x.GoPointer()) | |
| 367 | + | ||
| 363 | 368 | return cret | |
| 364 | 369 | } | |
| 365 | 370 | ||
| @@ -367,6 +372,7 @@ func (x *PasswordEntryRow) GetActionName() string { | |||
| 367 | 372 | func (x *PasswordEntryRow) GetActionTargetValue() *glib.Variant { | |
| 368 | 373 | ||
| 369 | 374 | cret := gtk.XGtkActionableGetActionTargetValue(x.GoPointer()) | |
| 375 | + | ||
| 370 | 376 | return cret | |
| 371 | 377 | } | |
| 372 | 378 | ||
| @@ -385,7 +391,11 @@ func (x *PasswordEntryRow) GetActionTargetValue() *glib.Variant { | |||
| 385 | 391 | // associated with the window. | |
| 386 | 392 | func (x *PasswordEntryRow) SetActionName(ActionNameVar *string) { | |
| 387 | 393 | ||
| 388 | - | gtk.XGtkActionableSetActionName(x.GoPointer(), core.NullableStringToPtr(ActionNameVar)) | |
| 394 | + | ActionNameVarPtr, ActionNameVarBytes := core.NullableStringToPtr(ActionNameVar) | |
| 395 | + | ||
| 396 | + | gtk.XGtkActionableSetActionName(x.GoPointer(), ActionNameVarPtr) | |
| 397 | + | ||
| 398 | + | runtime.KeepAlive(ActionNameVarBytes) | |
| 389 | 399 | ||
| 390 | 400 | } | |
| 391 | 401 | ||
| @@ -446,6 +456,7 @@ func (x *PasswordEntryRow) SetDetailedActionName(DetailedActionNameVar string) { | |||
| 446 | 456 | func (x *PasswordEntryRow) GetBuildableId() string { | |
| 447 | 457 | ||
| 448 | 458 | cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer()) | |
| 459 | + | ||
| 449 | 460 | return cret | |
| 450 | 461 | } | |
| 451 | 462 | ||
| @@ -488,6 +499,7 @@ func (x *PasswordEntryRow) GetBuildableId() string { | |||
| 488 | 499 | func (x *PasswordEntryRow) DelegateGetAccessiblePlatformState(StateVar gtk.AccessiblePlatformState) bool { | |
| 489 | 500 | ||
| 490 | 501 | cret := gtk.XGtkEditableDelegateGetAccessiblePlatformState(x.GoPointer(), StateVar) | |
| 502 | + | ||
| 491 | 503 | return cret | |
| 492 | 504 | } | |
| 493 | 505 | ||
| @@ -528,6 +540,7 @@ func (x *PasswordEntryRow) FinishDelegate() { | |||
| 528 | 540 | func (x *PasswordEntryRow) GetAlignment() float32 { | |
| 529 | 541 | ||
| 530 | 542 | cret := gtk.XGtkEditableGetAlignment(x.GoPointer()) | |
| 543 | + | ||
| 531 | 544 | return cret | |
| 532 | 545 | } | |
| 533 | 546 | ||
| @@ -542,6 +555,7 @@ func (x *PasswordEntryRow) GetAlignment() float32 { | |||
| 542 | 555 | func (x *PasswordEntryRow) GetChars(StartPosVar int, EndPosVar int) string { | |
| 543 | 556 | ||
| 544 | 557 | cret := gtk.XGtkEditableGetChars(x.GoPointer(), StartPosVar, EndPosVar) | |
| 558 | + | ||
| 545 | 559 | return cret | |
| 546 | 560 | } | |
| 547 | 561 | ||
| @@ -567,6 +581,7 @@ func (x *PasswordEntryRow) GetDelegate() *gtk.EditableBase { | |||
| 567 | 581 | func (x *PasswordEntryRow) GetEditable() bool { | |
| 568 | 582 | ||
| 569 | 583 | cret := gtk.XGtkEditableGetEditable(x.GoPointer()) | |
| 584 | + | ||
| 570 | 585 | return cret | |
| 571 | 586 | } | |
| 572 | 587 | ||
| @@ -574,6 +589,7 @@ func (x *PasswordEntryRow) GetEditable() bool { | |||
| 574 | 589 | func (x *PasswordEntryRow) GetEnableUndo() bool { | |
| 575 | 590 | ||
| 576 | 591 | cret := gtk.XGtkEditableGetEnableUndo(x.GoPointer()) | |
| 592 | + | ||
| 577 | 593 | return cret | |
| 578 | 594 | } | |
| 579 | 595 | ||
| @@ -581,6 +597,7 @@ func (x *PasswordEntryRow) GetEnableUndo() bool { | |||
| 581 | 597 | func (x *PasswordEntryRow) GetMaxWidthChars() int { | |
| 582 | 598 | ||
| 583 | 599 | cret := gtk.XGtkEditableGetMaxWidthChars(x.GoPointer()) | |
| 600 | + | ||
| 584 | 601 | return cret | |
| 585 | 602 | } | |
| 586 | 603 | ||
| @@ -591,6 +608,7 @@ func (x *PasswordEntryRow) GetMaxWidthChars() int { | |||
| 591 | 608 | func (x *PasswordEntryRow) GetPosition() int { | |
| 592 | 609 | ||
| 593 | 610 | cret := gtk.XGtkEditableGetPosition(x.GoPointer()) | |
| 611 | + | ||
| 594 | 612 | return cret | |
| 595 | 613 | } | |
| 596 | 614 | ||
| @@ -604,6 +622,7 @@ func (x *PasswordEntryRow) GetPosition() int { | |||
| 604 | 622 | func (x *PasswordEntryRow) GetSelectionBounds(StartPosVar *int, EndPosVar *int) bool { | |
| 605 | 623 | ||
| 606 | 624 | cret := gtk.XGtkEditableGetSelectionBounds(x.GoPointer(), StartPosVar, EndPosVar) | |
| 625 | + | ||
| 607 | 626 | return cret | |
| 608 | 627 | } | |
| 609 | 628 | ||
| @@ -613,6 +632,7 @@ func (x *PasswordEntryRow) GetSelectionBounds(StartPosVar *int, EndPosVar *int) | |||
| 613 | 632 | func (x *PasswordEntryRow) GetText() string { | |
| 614 | 633 | ||
| 615 | 634 | cret := gtk.XGtkEditableGetText(x.GoPointer()) | |
| 635 | + | ||
| 616 | 636 | return cret | |
| 617 | 637 | } | |
| 618 | 638 | ||
| @@ -621,6 +641,7 @@ func (x *PasswordEntryRow) GetText() string { | |||
| 621 | 641 | func (x *PasswordEntryRow) GetWidthChars() int { | |
| 622 | 642 | ||
| 623 | 643 | cret := gtk.XGtkEditableGetWidthChars(x.GoPointer()) | |
| 644 | + | ||
| 624 | 645 | return cret | |
| 625 | 646 | } | |
| 626 | 647 | ||
M v4/adw/adw-preferences-dialog.go +7 -0
| @@ -105,6 +105,7 @@ var xPreferencesDialogGetSearchEnabled func(uintptr) bool | |||
| 105 | 105 | func (x *PreferencesDialog) GetSearchEnabled() bool { | |
| 106 | 106 | ||
| 107 | 107 | cret := xPreferencesDialogGetSearchEnabled(x.GoPointer()) | |
| 108 | + | ||
| 108 | 109 | return cret | |
| 109 | 110 | } | |
| 110 | 111 | ||
| @@ -131,6 +132,7 @@ var xPreferencesDialogGetVisiblePageName func(uintptr) string | |||
| 131 | 132 | func (x *PreferencesDialog) GetVisiblePageName() string { | |
| 132 | 133 | ||
| 133 | 134 | cret := xPreferencesDialogGetVisiblePageName(x.GoPointer()) | |
| 135 | + | ||
| 134 | 136 | return cret | |
| 135 | 137 | } | |
| 136 | 138 | ||
| @@ -140,6 +142,7 @@ var xPreferencesDialogPopSubpage func(uintptr) bool | |||
| 140 | 142 | func (x *PreferencesDialog) PopSubpage() bool { | |
| 141 | 143 | ||
| 142 | 144 | cret := xPreferencesDialogPopSubpage(x.GoPointer()) | |
| 145 | + | ||
| 143 | 146 | return cret | |
| 144 | 147 | } | |
| 145 | 148 | ||
| @@ -276,6 +279,7 @@ func (x *PreferencesDialog) GetAccessibleParent() *gtk.AccessibleBase { | |||
| 276 | 279 | func (x *PreferencesDialog) GetAccessibleRole() gtk.AccessibleRole { | |
| 277 | 280 | ||
| 278 | 281 | cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer()) | |
| 282 | + | ||
| 279 | 283 | return cret | |
| 280 | 284 | } | |
| 281 | 285 | ||
| @@ -301,6 +305,7 @@ func (x *PreferencesDialog) GetAtContext() *gtk.ATContext { | |||
| 301 | 305 | func (x *PreferencesDialog) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool { | |
| 302 | 306 | ||
| 303 | 307 | cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar) | |
| 308 | + | ||
| 304 | 309 | return cret | |
| 305 | 310 | } | |
| 306 | 311 | ||
| @@ -340,6 +345,7 @@ func (x *PreferencesDialog) GetNextAccessibleSibling() *gtk.AccessibleBase { | |||
| 340 | 345 | func (x *PreferencesDialog) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool { | |
| 341 | 346 | ||
| 342 | 347 | cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar) | |
| 348 | + | ||
| 343 | 349 | return cret | |
| 344 | 350 | } | |
| 345 | 351 | ||
| @@ -516,6 +522,7 @@ func (x *PreferencesDialog) UpdateStateValue(NStatesVar int, StatesVar []gtk.Acc | |||
| 516 | 522 | func (x *PreferencesDialog) GetBuildableId() string { | |
| 517 | 523 | ||
| 518 | 524 | cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer()) | |
| 525 | + | ||
| 519 | 526 | return cret | |
| 520 | 527 | } | |
| 521 | 528 | ||
M v4/adw/adw-preferences-group.go +13 -1
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package adw | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "runtime" | |
| 5 | 6 | "structs" | |
| 6 | 7 | "unsafe" | |
| 7 | 8 | ||
| @@ -153,6 +154,7 @@ var xPreferencesGroupGetDescription func(uintptr) string | |||
| 153 | 154 | func (x *PreferencesGroup) GetDescription() string { | |
| 154 | 155 | ||
| 155 | 156 | cret := xPreferencesGroupGetDescription(x.GoPointer()) | |
| 157 | + | ||
| 156 | 158 | return cret | |
| 157 | 159 | } | |
| 158 | 160 | ||
| @@ -198,6 +200,7 @@ var xPreferencesGroupGetSeparateRows func(uintptr) bool | |||
| 198 | 200 | func (x *PreferencesGroup) GetSeparateRows() bool { | |
| 199 | 201 | ||
| 200 | 202 | cret := xPreferencesGroupGetSeparateRows(x.GoPointer()) | |
| 203 | + | ||
| 201 | 204 | return cret | |
| 202 | 205 | } | |
| 203 | 206 | ||
| @@ -207,6 +210,7 @@ var xPreferencesGroupGetTitle func(uintptr) string | |||
| 207 | 210 | func (x *PreferencesGroup) GetTitle() string { | |
| 208 | 211 | ||
| 209 | 212 | cret := xPreferencesGroupGetTitle(x.GoPointer()) | |
| 213 | + | ||
| 210 | 214 | return cret | |
| 211 | 215 | } | |
| 212 | 216 | ||
| @@ -224,7 +228,11 @@ var xPreferencesGroupSetDescription func(uintptr, uintptr) | |||
| 224 | 228 | // Sets the description for @self. | |
| 225 | 229 | func (x *PreferencesGroup) SetDescription(DescriptionVar *string) { | |
| 226 | 230 | ||
| 227 | - | xPreferencesGroupSetDescription(x.GoPointer(), core.NullableStringToPtr(DescriptionVar)) | |
| 231 | + | DescriptionVarPtr, DescriptionVarBytes := core.NullableStringToPtr(DescriptionVar) | |
| 232 | + | ||
| 233 | + | xPreferencesGroupSetDescription(x.GoPointer(), DescriptionVarPtr) | |
| 234 | + | ||
| 235 | + | runtime.KeepAlive(DescriptionVarBytes) | |
| 228 | 236 | ||
| 229 | 237 | } | |
| 230 | 238 | ||
| @@ -368,6 +376,7 @@ func (x *PreferencesGroup) GetAccessibleParent() *gtk.AccessibleBase { | |||
| 368 | 376 | func (x *PreferencesGroup) GetAccessibleRole() gtk.AccessibleRole { | |
| 369 | 377 | ||
| 370 | 378 | cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer()) | |
| 379 | + | ||
| 371 | 380 | return cret | |
| 372 | 381 | } | |
| 373 | 382 | ||
| @@ -393,6 +402,7 @@ func (x *PreferencesGroup) GetAtContext() *gtk.ATContext { | |||
| 393 | 402 | func (x *PreferencesGroup) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool { | |
| 394 | 403 | ||
| 395 | 404 | cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar) | |
| 405 | + | ||
| 396 | 406 | return cret | |
| 397 | 407 | } | |
| 398 | 408 | ||
| @@ -432,6 +442,7 @@ func (x *PreferencesGroup) GetNextAccessibleSibling() *gtk.AccessibleBase { | |||
| 432 | 442 | func (x *PreferencesGroup) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool { | |
| 433 | 443 | ||
| 434 | 444 | cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar) | |
| 445 | + | ||
| 435 | 446 | return cret | |
| 436 | 447 | } | |
| 437 | 448 | ||
| @@ -608,6 +619,7 @@ func (x *PreferencesGroup) UpdateStateValue(NStatesVar int, StatesVar []gtk.Acce | |||
| 608 | 619 | func (x *PreferencesGroup) GetBuildableId() string { | |
| 609 | 620 | ||
| 610 | 621 | cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer()) | |
| 622 | + | ||
| 611 | 623 | return cret | |
| 612 | 624 | } | |
| 613 | 625 | ||
M v4/adw/adw-preferences-page.go +21 -2
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package adw | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "runtime" | |
| 5 | 6 | "structs" | |
| 6 | 7 | "unsafe" | |
| 7 | 8 | ||
| @@ -108,6 +109,7 @@ var xPreferencesPageGetDescription func(uintptr) string | |||
| 108 | 109 | func (x *PreferencesPage) GetDescription() string { | |
| 109 | 110 | ||
| 110 | 111 | cret := xPreferencesPageGetDescription(x.GoPointer()) | |
| 112 | + | ||
| 111 | 113 | return cret | |
| 112 | 114 | } | |
| 113 | 115 | ||
| @@ -117,6 +119,7 @@ var xPreferencesPageGetDescriptionCentered func(uintptr) bool | |||
| 117 | 119 | func (x *PreferencesPage) GetDescriptionCentered() bool { | |
| 118 | 120 | ||
| 119 | 121 | cret := xPreferencesPageGetDescriptionCentered(x.GoPointer()) | |
| 122 | + | ||
| 120 | 123 | return cret | |
| 121 | 124 | } | |
| 122 | 125 | ||
| @@ -145,6 +148,7 @@ var xPreferencesPageGetIconName func(uintptr) string | |||
| 145 | 148 | func (x *PreferencesPage) GetIconName() string { | |
| 146 | 149 | ||
| 147 | 150 | cret := xPreferencesPageGetIconName(x.GoPointer()) | |
| 151 | + | ||
| 148 | 152 | return cret | |
| 149 | 153 | } | |
| 150 | 154 | ||
| @@ -154,6 +158,7 @@ var xPreferencesPageGetName func(uintptr) string | |||
| 154 | 158 | func (x *PreferencesPage) GetName() string { | |
| 155 | 159 | ||
| 156 | 160 | cret := xPreferencesPageGetName(x.GoPointer()) | |
| 161 | + | ||
| 157 | 162 | return cret | |
| 158 | 163 | } | |
| 159 | 164 | ||
| @@ -163,6 +168,7 @@ var xPreferencesPageGetTitle func(uintptr) string | |||
| 163 | 168 | func (x *PreferencesPage) GetTitle() string { | |
| 164 | 169 | ||
| 165 | 170 | cret := xPreferencesPageGetTitle(x.GoPointer()) | |
| 171 | + | ||
| 166 | 172 | return cret | |
| 167 | 173 | } | |
| 168 | 174 | ||
| @@ -172,6 +178,7 @@ var xPreferencesPageGetUseUnderline func(uintptr) bool | |||
| 172 | 178 | func (x *PreferencesPage) GetUseUnderline() bool { | |
| 173 | 179 | ||
| 174 | 180 | cret := xPreferencesPageGetUseUnderline(x.GoPointer()) | |
| 181 | + | ||
| 175 | 182 | return cret | |
| 176 | 183 | } | |
| 177 | 184 | ||
| @@ -239,7 +246,11 @@ var xPreferencesPageSetIconName func(uintptr, uintptr) | |||
| 239 | 246 | // Sets the icon name for @self. | |
| 240 | 247 | func (x *PreferencesPage) SetIconName(IconNameVar *string) { | |
| 241 | 248 | ||
| 242 | - | xPreferencesPageSetIconName(x.GoPointer(), core.NullableStringToPtr(IconNameVar)) | |
| 249 | + | IconNameVarPtr, IconNameVarBytes := core.NullableStringToPtr(IconNameVar) | |
| 250 | + | ||
| 251 | + | xPreferencesPageSetIconName(x.GoPointer(), IconNameVarPtr) | |
| 252 | + | ||
| 253 | + | runtime.KeepAlive(IconNameVarBytes) | |
| 243 | 254 | ||
| 244 | 255 | } | |
| 245 | 256 | ||
| @@ -248,7 +259,11 @@ var xPreferencesPageSetName func(uintptr, uintptr) | |||
| 248 | 259 | // Sets the name of @self. | |
| 249 | 260 | func (x *PreferencesPage) SetName(NameVar *string) { | |
| 250 | 261 | ||
| 251 | - | xPreferencesPageSetName(x.GoPointer(), core.NullableStringToPtr(NameVar)) | |
| 262 | + | NameVarPtr, NameVarBytes := core.NullableStringToPtr(NameVar) | |
| 263 | + | ||
| 264 | + | xPreferencesPageSetName(x.GoPointer(), NameVarPtr) | |
| 265 | + | ||
| 266 | + | runtime.KeepAlive(NameVarBytes) | |
| 252 | 267 | ||
| 253 | 268 | } | |
| 254 | 269 | ||
| @@ -418,6 +433,7 @@ func (x *PreferencesPage) GetAccessibleParent() *gtk.AccessibleBase { | |||
| 418 | 433 | func (x *PreferencesPage) GetAccessibleRole() gtk.AccessibleRole { | |
| 419 | 434 | ||
| 420 | 435 | cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer()) | |
| 436 | + | ||
| 421 | 437 | return cret | |
| 422 | 438 | } | |
| 423 | 439 | ||
| @@ -443,6 +459,7 @@ func (x *PreferencesPage) GetAtContext() *gtk.ATContext { | |||
| 443 | 459 | func (x *PreferencesPage) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool { | |
| 444 | 460 | ||
| 445 | 461 | cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar) | |
| 462 | + | ||
| 446 | 463 | return cret | |
| 447 | 464 | } | |
| 448 | 465 | ||
| @@ -482,6 +499,7 @@ func (x *PreferencesPage) GetNextAccessibleSibling() *gtk.AccessibleBase { | |||
| 482 | 499 | func (x *PreferencesPage) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool { | |
| 483 | 500 | ||
| 484 | 501 | cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar) | |
| 502 | + | ||
| 485 | 503 | return cret | |
| 486 | 504 | } | |
| 487 | 505 | ||
| @@ -658,6 +676,7 @@ func (x *PreferencesPage) UpdateStateValue(NStatesVar int, StatesVar []gtk.Acces | |||
| 658 | 676 | func (x *PreferencesPage) GetBuildableId() string { | |
| 659 | 677 | ||
| 660 | 678 | cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer()) | |
| 679 | + | ||
| 661 | 680 | return cret | |
| 662 | 681 | } | |
| 663 | 682 | ||
M v4/adw/adw-preferences-row.go +16 -1
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package adw | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "runtime" | |
| 5 | 6 | "structs" | |
| 6 | 7 | "unsafe" | |
| 7 | 8 | ||
| @@ -73,6 +74,7 @@ var xPreferencesRowGetTitle func(uintptr) string | |||
| 73 | 74 | func (x *PreferencesRow) GetTitle() string { | |
| 74 | 75 | ||
| 75 | 76 | cret := xPreferencesRowGetTitle(x.GoPointer()) | |
| 77 | + | ||
| 76 | 78 | return cret | |
| 77 | 79 | } | |
| 78 | 80 | ||
| @@ -82,6 +84,7 @@ var xPreferencesRowGetTitleSelectable func(uintptr) bool | |||
| 82 | 84 | func (x *PreferencesRow) GetTitleSelectable() bool { | |
| 83 | 85 | ||
| 84 | 86 | cret := xPreferencesRowGetTitleSelectable(x.GoPointer()) | |
| 87 | + | ||
| 85 | 88 | return cret | |
| 86 | 89 | } | |
| 87 | 90 | ||
| @@ -91,6 +94,7 @@ var xPreferencesRowGetUseMarkup func(uintptr) bool | |||
| 91 | 94 | func (x *PreferencesRow) GetUseMarkup() bool { | |
| 92 | 95 | ||
| 93 | 96 | cret := xPreferencesRowGetUseMarkup(x.GoPointer()) | |
| 97 | + | ||
| 94 | 98 | return cret | |
| 95 | 99 | } | |
| 96 | 100 | ||
| @@ -100,6 +104,7 @@ var xPreferencesRowGetUseUnderline func(uintptr) bool | |||
| 100 | 104 | func (x *PreferencesRow) GetUseUnderline() bool { | |
| 101 | 105 | ||
| 102 | 106 | cret := xPreferencesRowGetUseUnderline(x.GoPointer()) | |
| 107 | + | ||
| 103 | 108 | return cret | |
| 104 | 109 | } | |
| 105 | 110 | ||
| @@ -280,6 +285,7 @@ func (x *PreferencesRow) GetAccessibleParent() *gtk.AccessibleBase { | |||
| 280 | 285 | func (x *PreferencesRow) GetAccessibleRole() gtk.AccessibleRole { | |
| 281 | 286 | ||
| 282 | 287 | cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer()) | |
| 288 | + | ||
| 283 | 289 | return cret | |
| 284 | 290 | } | |
| 285 | 291 | ||
| @@ -305,6 +311,7 @@ func (x *PreferencesRow) GetAtContext() *gtk.ATContext { | |||
| 305 | 311 | func (x *PreferencesRow) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool { | |
| 306 | 312 | ||
| 307 | 313 | cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar) | |
| 314 | + | ||
| 308 | 315 | return cret | |
| 309 | 316 | } | |
| 310 | 317 | ||
| @@ -344,6 +351,7 @@ func (x *PreferencesRow) GetNextAccessibleSibling() *gtk.AccessibleBase { | |||
| 344 | 351 | func (x *PreferencesRow) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool { | |
| 345 | 352 | ||
| 346 | 353 | cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar) | |
| 354 | + | ||
| 347 | 355 | return cret | |
| 348 | 356 | } | |
| 349 | 357 | ||
| @@ -517,6 +525,7 @@ func (x *PreferencesRow) UpdateStateValue(NStatesVar int, StatesVar []gtk.Access | |||
| 517 | 525 | func (x *PreferencesRow) GetActionName() string { | |
| 518 | 526 | ||
| 519 | 527 | cret := gtk.XGtkActionableGetActionName(x.GoPointer()) | |
| 528 | + | ||
| 520 | 529 | return cret | |
| 521 | 530 | } | |
| 522 | 531 | ||
| @@ -524,6 +533,7 @@ func (x *PreferencesRow) GetActionName() string { | |||
| 524 | 533 | func (x *PreferencesRow) GetActionTargetValue() *glib.Variant { | |
| 525 | 534 | ||
| 526 | 535 | cret := gtk.XGtkActionableGetActionTargetValue(x.GoPointer()) | |
| 536 | + | ||
| 527 | 537 | return cret | |
| 528 | 538 | } | |
| 529 | 539 | ||
| @@ -542,7 +552,11 @@ func (x *PreferencesRow) GetActionTargetValue() *glib.Variant { | |||
| 542 | 552 | // associated with the window. | |
| 543 | 553 | func (x *PreferencesRow) SetActionName(ActionNameVar *string) { | |
| 544 | 554 | ||
| 545 | - | gtk.XGtkActionableSetActionName(x.GoPointer(), core.NullableStringToPtr(ActionNameVar)) | |
| 555 | + | ActionNameVarPtr, ActionNameVarBytes := core.NullableStringToPtr(ActionNameVar) | |
| 556 | + | ||
| 557 | + | gtk.XGtkActionableSetActionName(x.GoPointer(), ActionNameVarPtr) | |
| 558 | + | ||
| 559 | + | runtime.KeepAlive(ActionNameVarBytes) | |
| 546 | 560 | ||
| 547 | 561 | } | |
| 548 | 562 | ||
| @@ -603,6 +617,7 @@ func (x *PreferencesRow) SetDetailedActionName(DetailedActionNameVar string) { | |||
| 603 | 617 | func (x *PreferencesRow) GetBuildableId() string { | |
| 604 | 618 | ||
| 605 | 619 | cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer()) | |
| 620 | + | ||
| 606 | 621 | return cret | |
| 607 | 622 | } | |
| 608 | 623 | ||
M v4/adw/adw-preferences-window.go +8 -0
| @@ -112,6 +112,7 @@ var xPreferencesWindowGetCanNavigateBack func(uintptr) bool | |||
| 112 | 112 | func (x *PreferencesWindow) GetCanNavigateBack() bool { | |
| 113 | 113 | ||
| 114 | 114 | cret := xPreferencesWindowGetCanNavigateBack(x.GoPointer()) | |
| 115 | + | ||
| 115 | 116 | return cret | |
| 116 | 117 | } | |
| 117 | 118 | ||
| @@ -121,6 +122,7 @@ var xPreferencesWindowGetSearchEnabled func(uintptr) bool | |||
| 121 | 122 | func (x *PreferencesWindow) GetSearchEnabled() bool { | |
| 122 | 123 | ||
| 123 | 124 | cret := xPreferencesWindowGetSearchEnabled(x.GoPointer()) | |
| 125 | + | ||
| 124 | 126 | return cret | |
| 125 | 127 | } | |
| 126 | 128 | ||
| @@ -147,6 +149,7 @@ var xPreferencesWindowGetVisiblePageName func(uintptr) string | |||
| 147 | 149 | func (x *PreferencesWindow) GetVisiblePageName() string { | |
| 148 | 150 | ||
| 149 | 151 | cret := xPreferencesWindowGetVisiblePageName(x.GoPointer()) | |
| 152 | + | ||
| 150 | 153 | return cret | |
| 151 | 154 | } | |
| 152 | 155 | ||
| @@ -156,6 +159,7 @@ var xPreferencesWindowPopSubpage func(uintptr) bool | |||
| 156 | 159 | func (x *PreferencesWindow) PopSubpage() bool { | |
| 157 | 160 | ||
| 158 | 161 | cret := xPreferencesWindowPopSubpage(x.GoPointer()) | |
| 162 | + | ||
| 159 | 163 | return cret | |
| 160 | 164 | } | |
| 161 | 165 | ||
| @@ -371,6 +375,7 @@ func (x *PreferencesWindow) GetAccessibleParent() *gtk.AccessibleBase { | |||
| 371 | 375 | func (x *PreferencesWindow) GetAccessibleRole() gtk.AccessibleRole { | |
| 372 | 376 | ||
| 373 | 377 | cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer()) | |
| 378 | + | ||
| 374 | 379 | return cret | |
| 375 | 380 | } | |
| 376 | 381 | ||
| @@ -396,6 +401,7 @@ func (x *PreferencesWindow) GetAtContext() *gtk.ATContext { | |||
| 396 | 401 | func (x *PreferencesWindow) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool { | |
| 397 | 402 | ||
| 398 | 403 | cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar) | |
| 404 | + | ||
| 399 | 405 | return cret | |
| 400 | 406 | } | |
| 401 | 407 | ||
| @@ -435,6 +441,7 @@ func (x *PreferencesWindow) GetNextAccessibleSibling() *gtk.AccessibleBase { | |||
| 435 | 441 | func (x *PreferencesWindow) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool { | |
| 436 | 442 | ||
| 437 | 443 | cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar) | |
| 444 | + | ||
| 438 | 445 | return cret | |
| 439 | 446 | } | |
| 440 | 447 | ||
| @@ -611,6 +618,7 @@ func (x *PreferencesWindow) UpdateStateValue(NStatesVar int, StatesVar []gtk.Acc | |||
| 611 | 618 | func (x *PreferencesWindow) GetBuildableId() string { | |
| 612 | 619 | ||
| 613 | 620 | cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer()) | |
| 621 | + | ||
| 614 | 622 | return cret | |
| 615 | 623 | } | |
| 616 | 624 | ||
M v4/adw/adw-shortcut-label.go +6 -0
| @@ -128,6 +128,7 @@ var xShortcutLabelGetAccelerator func(uintptr) string | |||
| 128 | 128 | func (x *ShortcutLabel) GetAccelerator() string { | |
| 129 | 129 | ||
| 130 | 130 | cret := xShortcutLabelGetAccelerator(x.GoPointer()) | |
| 131 | + | ||
| 131 | 132 | return cret | |
| 132 | 133 | } | |
| 133 | 134 | ||
| @@ -137,6 +138,7 @@ var xShortcutLabelGetDisabledText func(uintptr) string | |||
| 137 | 138 | func (x *ShortcutLabel) GetDisabledText() string { | |
| 138 | 139 | ||
| 139 | 140 | cret := xShortcutLabelGetDisabledText(x.GoPointer()) | |
| 141 | + | ||
| 140 | 142 | return cret | |
| 141 | 143 | } | |
| 142 | 144 | ||
| @@ -238,6 +240,7 @@ func (x *ShortcutLabel) GetAccessibleParent() *gtk.AccessibleBase { | |||
| 238 | 240 | func (x *ShortcutLabel) GetAccessibleRole() gtk.AccessibleRole { | |
| 239 | 241 | ||
| 240 | 242 | cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer()) | |
| 243 | + | ||
| 241 | 244 | return cret | |
| 242 | 245 | } | |
| 243 | 246 | ||
| @@ -263,6 +266,7 @@ func (x *ShortcutLabel) GetAtContext() *gtk.ATContext { | |||
| 263 | 266 | func (x *ShortcutLabel) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool { | |
| 264 | 267 | ||
| 265 | 268 | cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar) | |
| 269 | + | ||
| 266 | 270 | return cret | |
| 267 | 271 | } | |
| 268 | 272 | ||
| @@ -302,6 +306,7 @@ func (x *ShortcutLabel) GetNextAccessibleSibling() *gtk.AccessibleBase { | |||
| 302 | 306 | func (x *ShortcutLabel) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool { | |
| 303 | 307 | ||
| 304 | 308 | cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar) | |
| 309 | + | ||
| 305 | 310 | return cret | |
| 306 | 311 | } | |
| 307 | 312 | ||
| @@ -478,6 +483,7 @@ func (x *ShortcutLabel) UpdateStateValue(NStatesVar int, StatesVar []gtk.Accessi | |||
| 478 | 483 | func (x *ShortcutLabel) GetBuildableId() string { | |
| 479 | 484 | ||
| 480 | 485 | cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer()) | |
| 486 | + | ||
| 481 | 487 | return cret | |
| 482 | 488 | } | |
| 483 | 489 | ||
M v4/adw/adw-shortcuts-dialog.go +4 -0
| @@ -201,6 +201,7 @@ func (x *ShortcutsDialog) GetAccessibleParent() *gtk.AccessibleBase { | |||
| 201 | 201 | func (x *ShortcutsDialog) GetAccessibleRole() gtk.AccessibleRole { | |
| 202 | 202 | ||
| 203 | 203 | cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer()) | |
| 204 | + | ||
| 204 | 205 | return cret | |
| 205 | 206 | } | |
| 206 | 207 | ||
| @@ -226,6 +227,7 @@ func (x *ShortcutsDialog) GetAtContext() *gtk.ATContext { | |||
| 226 | 227 | func (x *ShortcutsDialog) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool { | |
| 227 | 228 | ||
| 228 | 229 | cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar) | |
| 230 | + | ||
| 229 | 231 | return cret | |
| 230 | 232 | } | |
| 231 | 233 | ||
| @@ -265,6 +267,7 @@ func (x *ShortcutsDialog) GetNextAccessibleSibling() *gtk.AccessibleBase { | |||
| 265 | 267 | func (x *ShortcutsDialog) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool { | |
| 266 | 268 | ||
| 267 | 269 | cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar) | |
| 270 | + | ||
| 268 | 271 | return cret | |
| 269 | 272 | } | |
| 270 | 273 | ||
| @@ -441,6 +444,7 @@ func (x *ShortcutsDialog) UpdateStateValue(NStatesVar int, StatesVar []gtk.Acces | |||
| 441 | 444 | func (x *ShortcutsDialog) GetBuildableId() string { | |
| 442 | 445 | ||
| 443 | 446 | cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer()) | |
| 447 | + | ||
| 444 | 448 | return cret | |
| 445 | 449 | } | |
| 446 | 450 | ||
M v4/adw/adw-shortcuts-item.go +5 -0
| @@ -92,6 +92,7 @@ var xShortcutsItemGetAccelerator func(uintptr) string | |||
| 92 | 92 | func (x *ShortcutsItem) GetAccelerator() string { | |
| 93 | 93 | ||
| 94 | 94 | cret := xShortcutsItemGetAccelerator(x.GoPointer()) | |
| 95 | + | ||
| 95 | 96 | return cret | |
| 96 | 97 | } | |
| 97 | 98 | ||
| @@ -101,6 +102,7 @@ var xShortcutsItemGetActionName func(uintptr) string | |||
| 101 | 102 | func (x *ShortcutsItem) GetActionName() string { | |
| 102 | 103 | ||
| 103 | 104 | cret := xShortcutsItemGetActionName(x.GoPointer()) | |
| 105 | + | ||
| 104 | 106 | return cret | |
| 105 | 107 | } | |
| 106 | 108 | ||
| @@ -110,6 +112,7 @@ var xShortcutsItemGetDirection func(uintptr) gtk.TextDirection | |||
| 110 | 112 | func (x *ShortcutsItem) GetDirection() gtk.TextDirection { | |
| 111 | 113 | ||
| 112 | 114 | cret := xShortcutsItemGetDirection(x.GoPointer()) | |
| 115 | + | ||
| 113 | 116 | return cret | |
| 114 | 117 | } | |
| 115 | 118 | ||
| @@ -119,6 +122,7 @@ var xShortcutsItemGetSubtitle func(uintptr) string | |||
| 119 | 122 | func (x *ShortcutsItem) GetSubtitle() string { | |
| 120 | 123 | ||
| 121 | 124 | cret := xShortcutsItemGetSubtitle(x.GoPointer()) | |
| 125 | + | ||
| 122 | 126 | return cret | |
| 123 | 127 | } | |
| 124 | 128 | ||
| @@ -128,6 +132,7 @@ var xShortcutsItemGetTitle func(uintptr) string | |||
| 128 | 132 | func (x *ShortcutsItem) GetTitle() string { | |
| 129 | 133 | ||
| 130 | 134 | cret := xShortcutsItemGetTitle(x.GoPointer()) | |
| 135 | + | ||
| 131 | 136 | return cret | |
| 132 | 137 | } | |
| 133 | 138 | ||
M v4/adw/adw-shortcuts-section.go +16 -2
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package adw | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "runtime" | |
| 5 | 6 | "structs" | |
| 6 | 7 | "unsafe" | |
| 7 | 8 | ||
| @@ -56,7 +57,11 @@ var xNewShortcutsSection func(uintptr) uintptr | |||
| 56 | 57 | func NewShortcutsSection(TitleVar *string) *ShortcutsSection { | |
| 57 | 58 | var cls *ShortcutsSection | |
| 58 | 59 | ||
| 59 | - | cret := xNewShortcutsSection(core.NullableStringToPtr(TitleVar)) | |
| 60 | + | TitleVarPtr, TitleVarBytes := core.NullableStringToPtr(TitleVar) | |
| 61 | + | ||
| 62 | + | cret := xNewShortcutsSection(TitleVarPtr) | |
| 63 | + | ||
| 64 | + | runtime.KeepAlive(TitleVarBytes) | |
| 60 | 65 | ||
| 61 | 66 | if cret == 0 { | |
| 62 | 67 | return nil | |
| @@ -81,6 +86,7 @@ var xShortcutsSectionGetTitle func(uintptr) string | |||
| 81 | 86 | func (x *ShortcutsSection) GetTitle() string { | |
| 82 | 87 | ||
| 83 | 88 | cret := xShortcutsSectionGetTitle(x.GoPointer()) | |
| 89 | + | ||
| 84 | 90 | return cret | |
| 85 | 91 | } | |
| 86 | 92 | ||
| @@ -89,7 +95,11 @@ var xShortcutsSectionSetTitle func(uintptr, uintptr) | |||
| 89 | 95 | // Sets the title of @self. | |
| 90 | 96 | func (x *ShortcutsSection) SetTitle(TitleVar *string) { | |
| 91 | 97 | ||
| 92 | - | xShortcutsSectionSetTitle(x.GoPointer(), core.NullableStringToPtr(TitleVar)) | |
| 98 | + | TitleVarPtr, TitleVarBytes := core.NullableStringToPtr(TitleVar) | |
| 99 | + | ||
| 100 | + | xShortcutsSectionSetTitle(x.GoPointer(), TitleVarPtr) | |
| 101 | + | ||
| 102 | + | runtime.KeepAlive(TitleVarBytes) | |
| 93 | 103 | ||
| 94 | 104 | } | |
| 95 | 105 | ||
| @@ -133,6 +143,7 @@ func (x *ShortcutsSection) GetPropertyTitle() string { | |||
| 133 | 143 | func (x *ShortcutsSection) GetItem(PositionVar uint) uintptr { | |
| 134 | 144 | ||
| 135 | 145 | cret := gio.XGListModelGetItem(x.GoPointer(), PositionVar) | |
| 146 | + | ||
| 136 | 147 | return cret | |
| 137 | 148 | } | |
| 138 | 149 | ||
| @@ -147,6 +158,7 @@ func (x *ShortcutsSection) GetItem(PositionVar uint) uintptr { | |||
| 147 | 158 | func (x *ShortcutsSection) GetItemType() types.GType { | |
| 148 | 159 | ||
| 149 | 160 | cret := gio.XGListModelGetItemType(x.GoPointer()) | |
| 161 | + | ||
| 150 | 162 | return cret | |
| 151 | 163 | } | |
| 152 | 164 | ||
| @@ -158,6 +170,7 @@ func (x *ShortcutsSection) GetItemType() types.GType { | |||
| 158 | 170 | func (x *ShortcutsSection) GetNItems() uint { | |
| 159 | 171 | ||
| 160 | 172 | cret := gio.XGListModelGetNItems(x.GoPointer()) | |
| 173 | + | ||
| 161 | 174 | return cret | |
| 162 | 175 | } | |
| 163 | 176 | ||
| @@ -219,6 +232,7 @@ func (x *ShortcutsSection) ItemsChanged(PositionVar uint, RemovedVar uint, Added | |||
| 219 | 232 | func (x *ShortcutsSection) GetBuildableId() string { | |
| 220 | 233 | ||
| 221 | 234 | cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer()) | |
| 235 | + | ||
| 222 | 236 | return cret | |
| 223 | 237 | } | |
| 224 | 238 | ||
M v4/adw/adw-spin-row.go +29 -1
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package adw | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "runtime" | |
| 5 | 6 | "structs" | |
| 6 | 7 | "unsafe" | |
| 7 | 8 | ||
| @@ -158,6 +159,7 @@ var xSpinRowGetClimbRate func(uintptr) float64 | |||
| 158 | 159 | func (x *SpinRow) GetClimbRate() float64 { | |
| 159 | 160 | ||
| 160 | 161 | cret := xSpinRowGetClimbRate(x.GoPointer()) | |
| 162 | + | ||
| 161 | 163 | return cret | |
| 162 | 164 | } | |
| 163 | 165 | ||
| @@ -167,6 +169,7 @@ var xSpinRowGetDigits func(uintptr) uint | |||
| 167 | 169 | func (x *SpinRow) GetDigits() uint { | |
| 168 | 170 | ||
| 169 | 171 | cret := xSpinRowGetDigits(x.GoPointer()) | |
| 172 | + | ||
| 170 | 173 | return cret | |
| 171 | 174 | } | |
| 172 | 175 | ||
| @@ -176,6 +179,7 @@ var xSpinRowGetNumeric func(uintptr) bool | |||
| 176 | 179 | func (x *SpinRow) GetNumeric() bool { | |
| 177 | 180 | ||
| 178 | 181 | cret := xSpinRowGetNumeric(x.GoPointer()) | |
| 182 | + | ||
| 179 | 183 | return cret | |
| 180 | 184 | } | |
| 181 | 185 | ||
| @@ -185,6 +189,7 @@ var xSpinRowGetSnapToTicks func(uintptr) bool | |||
| 185 | 189 | func (x *SpinRow) GetSnapToTicks() bool { | |
| 186 | 190 | ||
| 187 | 191 | cret := xSpinRowGetSnapToTicks(x.GoPointer()) | |
| 192 | + | ||
| 188 | 193 | return cret | |
| 189 | 194 | } | |
| 190 | 195 | ||
| @@ -194,6 +199,7 @@ var xSpinRowGetUpdatePolicy func(uintptr) gtk.SpinButtonUpdatePolicy | |||
| 194 | 199 | func (x *SpinRow) GetUpdatePolicy() gtk.SpinButtonUpdatePolicy { | |
| 195 | 200 | ||
| 196 | 201 | cret := xSpinRowGetUpdatePolicy(x.GoPointer()) | |
| 202 | + | ||
| 197 | 203 | return cret | |
| 198 | 204 | } | |
| 199 | 205 | ||
| @@ -203,6 +209,7 @@ var xSpinRowGetValue func(uintptr) float64 | |||
| 203 | 209 | func (x *SpinRow) GetValue() float64 { | |
| 204 | 210 | ||
| 205 | 211 | cret := xSpinRowGetValue(x.GoPointer()) | |
| 212 | + | ||
| 206 | 213 | return cret | |
| 207 | 214 | } | |
| 208 | 215 | ||
| @@ -212,6 +219,7 @@ var xSpinRowGetWrap func(uintptr) bool | |||
| 212 | 219 | func (x *SpinRow) GetWrap() bool { | |
| 213 | 220 | ||
| 214 | 221 | cret := xSpinRowGetWrap(x.GoPointer()) | |
| 222 | + | ||
| 215 | 223 | return cret | |
| 216 | 224 | } | |
| 217 | 225 | ||
| @@ -529,6 +537,7 @@ func (x *SpinRow) GetAccessibleParent() *gtk.AccessibleBase { | |||
| 529 | 537 | func (x *SpinRow) GetAccessibleRole() gtk.AccessibleRole { | |
| 530 | 538 | ||
| 531 | 539 | cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer()) | |
| 540 | + | ||
| 532 | 541 | return cret | |
| 533 | 542 | } | |
| 534 | 543 | ||
| @@ -554,6 +563,7 @@ func (x *SpinRow) GetAtContext() *gtk.ATContext { | |||
| 554 | 563 | func (x *SpinRow) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool { | |
| 555 | 564 | ||
| 556 | 565 | cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar) | |
| 566 | + | ||
| 557 | 567 | return cret | |
| 558 | 568 | } | |
| 559 | 569 | ||
| @@ -593,6 +603,7 @@ func (x *SpinRow) GetNextAccessibleSibling() *gtk.AccessibleBase { | |||
| 593 | 603 | func (x *SpinRow) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool { | |
| 594 | 604 | ||
| 595 | 605 | cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar) | |
| 606 | + | ||
| 596 | 607 | return cret | |
| 597 | 608 | } | |
| 598 | 609 | ||
| @@ -766,6 +777,7 @@ func (x *SpinRow) UpdateStateValue(NStatesVar int, StatesVar []gtk.AccessibleSta | |||
| 766 | 777 | func (x *SpinRow) GetActionName() string { | |
| 767 | 778 | ||
| 768 | 779 | cret := gtk.XGtkActionableGetActionName(x.GoPointer()) | |
| 780 | + | ||
| 769 | 781 | return cret | |
| 770 | 782 | } | |
| 771 | 783 | ||
| @@ -773,6 +785,7 @@ func (x *SpinRow) GetActionName() string { | |||
| 773 | 785 | func (x *SpinRow) GetActionTargetValue() *glib.Variant { | |
| 774 | 786 | ||
| 775 | 787 | cret := gtk.XGtkActionableGetActionTargetValue(x.GoPointer()) | |
| 788 | + | ||
| 776 | 789 | return cret | |
| 777 | 790 | } | |
| 778 | 791 | ||
| @@ -791,7 +804,11 @@ func (x *SpinRow) GetActionTargetValue() *glib.Variant { | |||
| 791 | 804 | // associated with the window. | |
| 792 | 805 | func (x *SpinRow) SetActionName(ActionNameVar *string) { | |
| 793 | 806 | ||
| 794 | - | gtk.XGtkActionableSetActionName(x.GoPointer(), core.NullableStringToPtr(ActionNameVar)) | |
| 807 | + | ActionNameVarPtr, ActionNameVarBytes := core.NullableStringToPtr(ActionNameVar) | |
| 808 | + | ||
| 809 | + | gtk.XGtkActionableSetActionName(x.GoPointer(), ActionNameVarPtr) | |
| 810 | + | ||
| 811 | + | runtime.KeepAlive(ActionNameVarBytes) | |
| 795 | 812 | ||
| 796 | 813 | } | |
| 797 | 814 | ||
| @@ -852,6 +869,7 @@ func (x *SpinRow) SetDetailedActionName(DetailedActionNameVar string) { | |||
| 852 | 869 | func (x *SpinRow) GetBuildableId() string { | |
| 853 | 870 | ||
| 854 | 871 | cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer()) | |
| 872 | + | ||
| 855 | 873 | return cret | |
| 856 | 874 | } | |
| 857 | 875 | ||
| @@ -894,6 +912,7 @@ func (x *SpinRow) GetBuildableId() string { | |||
| 894 | 912 | func (x *SpinRow) DelegateGetAccessiblePlatformState(StateVar gtk.AccessiblePlatformState) bool { | |
| 895 | 913 | ||
| 896 | 914 | cret := gtk.XGtkEditableDelegateGetAccessiblePlatformState(x.GoPointer(), StateVar) | |
| 915 | + | ||
| 897 | 916 | return cret | |
| 898 | 917 | } | |
| 899 | 918 | ||
| @@ -934,6 +953,7 @@ func (x *SpinRow) FinishDelegate() { | |||
| 934 | 953 | func (x *SpinRow) GetAlignment() float32 { | |
| 935 | 954 | ||
| 936 | 955 | cret := gtk.XGtkEditableGetAlignment(x.GoPointer()) | |
| 956 | + | ||
| 937 | 957 | return cret | |
| 938 | 958 | } | |
| 939 | 959 | ||
| @@ -948,6 +968,7 @@ func (x *SpinRow) GetAlignment() float32 { | |||
| 948 | 968 | func (x *SpinRow) GetChars(StartPosVar int, EndPosVar int) string { | |
| 949 | 969 | ||
| 950 | 970 | cret := gtk.XGtkEditableGetChars(x.GoPointer(), StartPosVar, EndPosVar) | |
| 971 | + | ||
| 951 | 972 | return cret | |
| 952 | 973 | } | |
| 953 | 974 | ||
| @@ -973,6 +994,7 @@ func (x *SpinRow) GetDelegate() *gtk.EditableBase { | |||
| 973 | 994 | func (x *SpinRow) GetEditable() bool { | |
| 974 | 995 | ||
| 975 | 996 | cret := gtk.XGtkEditableGetEditable(x.GoPointer()) | |
| 997 | + | ||
| 976 | 998 | return cret | |
| 977 | 999 | } | |
| 978 | 1000 | ||
| @@ -980,6 +1002,7 @@ func (x *SpinRow) GetEditable() bool { | |||
| 980 | 1002 | func (x *SpinRow) GetEnableUndo() bool { | |
| 981 | 1003 | ||
| 982 | 1004 | cret := gtk.XGtkEditableGetEnableUndo(x.GoPointer()) | |
| 1005 | + | ||
| 983 | 1006 | return cret | |
| 984 | 1007 | } | |
| 985 | 1008 | ||
| @@ -987,6 +1010,7 @@ func (x *SpinRow) GetEnableUndo() bool { | |||
| 987 | 1010 | func (x *SpinRow) GetMaxWidthChars() int { | |
| 988 | 1011 | ||
| 989 | 1012 | cret := gtk.XGtkEditableGetMaxWidthChars(x.GoPointer()) | |
| 1013 | + | ||
| 990 | 1014 | return cret | |
| 991 | 1015 | } | |
| 992 | 1016 | ||
| @@ -997,6 +1021,7 @@ func (x *SpinRow) GetMaxWidthChars() int { | |||
| 997 | 1021 | func (x *SpinRow) GetPosition() int { | |
| 998 | 1022 | ||
| 999 | 1023 | cret := gtk.XGtkEditableGetPosition(x.GoPointer()) | |
| 1024 | + | ||
| 1000 | 1025 | return cret | |
| 1001 | 1026 | } | |
| 1002 | 1027 | ||
| @@ -1010,6 +1035,7 @@ func (x *SpinRow) GetPosition() int { | |||
| 1010 | 1035 | func (x *SpinRow) GetSelectionBounds(StartPosVar *int, EndPosVar *int) bool { | |
| 1011 | 1036 | ||
| 1012 | 1037 | cret := gtk.XGtkEditableGetSelectionBounds(x.GoPointer(), StartPosVar, EndPosVar) | |
| 1038 | + | ||
| 1013 | 1039 | return cret | |
| 1014 | 1040 | } | |
| 1015 | 1041 | ||
| @@ -1019,6 +1045,7 @@ func (x *SpinRow) GetSelectionBounds(StartPosVar *int, EndPosVar *int) bool { | |||
| 1019 | 1045 | func (x *SpinRow) GetText() string { | |
| 1020 | 1046 | ||
| 1021 | 1047 | cret := gtk.XGtkEditableGetText(x.GoPointer()) | |
| 1048 | + | ||
| 1022 | 1049 | return cret | |
| 1023 | 1050 | } | |
| 1024 | 1051 | ||
| @@ -1027,6 +1054,7 @@ func (x *SpinRow) GetText() string { | |||
| 1027 | 1054 | func (x *SpinRow) GetWidthChars() int { | |
| 1028 | 1055 | ||
| 1029 | 1056 | cret := gtk.XGtkEditableGetWidthChars(x.GoPointer()) | |
| 1057 | + | ||
| 1030 | 1058 | return cret | |
| 1031 | 1059 | } | |
| 1032 | 1060 | ||
M v4/adw/adw-spinner-paintable.go +4 -0
| @@ -168,6 +168,7 @@ func (x *SpinnerPaintable) GetCurrentImage() *gdk.PaintableBase { | |||
| 168 | 168 | func (x *SpinnerPaintable) GetFlags() gdk.PaintableFlags { | |
| 169 | 169 | ||
| 170 | 170 | cret := gdk.XGdkPaintableGetFlags(x.GoPointer()) | |
| 171 | + | ||
| 171 | 172 | return cret | |
| 172 | 173 | } | |
| 173 | 174 | ||
| @@ -191,6 +192,7 @@ func (x *SpinnerPaintable) GetFlags() gdk.PaintableFlags { | |||
| 191 | 192 | func (x *SpinnerPaintable) GetIntrinsicAspectRatio() float64 { | |
| 192 | 193 | ||
| 193 | 194 | cret := gdk.XGdkPaintableGetIntrinsicAspectRatio(x.GoPointer()) | |
| 195 | + | ||
| 194 | 196 | return cret | |
| 195 | 197 | } | |
| 196 | 198 | ||
| @@ -207,6 +209,7 @@ func (x *SpinnerPaintable) GetIntrinsicAspectRatio() float64 { | |||
| 207 | 209 | func (x *SpinnerPaintable) GetIntrinsicHeight() int { | |
| 208 | 210 | ||
| 209 | 211 | cret := gdk.XGdkPaintableGetIntrinsicHeight(x.GoPointer()) | |
| 212 | + | ||
| 210 | 213 | return cret | |
| 211 | 214 | } | |
| 212 | 215 | ||
| @@ -223,6 +226,7 @@ func (x *SpinnerPaintable) GetIntrinsicHeight() int { | |||
| 223 | 226 | func (x *SpinnerPaintable) GetIntrinsicWidth() int { | |
| 224 | 227 | ||
| 225 | 228 | cret := gdk.XGdkPaintableGetIntrinsicWidth(x.GoPointer()) | |
| 229 | + | ||
| 226 | 230 | return cret | |
| 227 | 231 | } | |
| 228 | 232 | ||
M v4/adw/adw-spinner.go +4 -0
| @@ -141,6 +141,7 @@ func (x *Spinner) GetAccessibleParent() *gtk.AccessibleBase { | |||
| 141 | 141 | func (x *Spinner) GetAccessibleRole() gtk.AccessibleRole { | |
| 142 | 142 | ||
| 143 | 143 | cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer()) | |
| 144 | + | ||
| 144 | 145 | return cret | |
| 145 | 146 | } | |
| 146 | 147 | ||
| @@ -166,6 +167,7 @@ func (x *Spinner) GetAtContext() *gtk.ATContext { | |||
| 166 | 167 | func (x *Spinner) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool { | |
| 167 | 168 | ||
| 168 | 169 | cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar) | |
| 170 | + | ||
| 169 | 171 | return cret | |
| 170 | 172 | } | |
| 171 | 173 | ||
| @@ -205,6 +207,7 @@ func (x *Spinner) GetNextAccessibleSibling() *gtk.AccessibleBase { | |||
| 205 | 207 | func (x *Spinner) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool { | |
| 206 | 208 | ||
| 207 | 209 | cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar) | |
| 210 | + | ||
| 208 | 211 | return cret | |
| 209 | 212 | } | |
| 210 | 213 | ||
| @@ -381,6 +384,7 @@ func (x *Spinner) UpdateStateValue(NStatesVar int, StatesVar []gtk.AccessibleSta | |||
| 381 | 384 | func (x *Spinner) GetBuildableId() string { | |
| 382 | 385 | ||
| 383 | 386 | cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer()) | |
| 387 | + | ||
| 384 | 388 | return cret | |
| 385 | 389 | } | |
| 386 | 390 | ||
M v4/adw/adw-split-button.go +18 -1
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package adw | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "runtime" | |
| 5 | 6 | "structs" | |
| 6 | 7 | "unsafe" | |
| 7 | 8 | ||
| @@ -114,6 +115,7 @@ var xSplitButtonGetCanShrink func(uintptr) bool | |||
| 114 | 115 | func (x *SplitButton) GetCanShrink() bool { | |
| 115 | 116 | ||
| 116 | 117 | cret := xSplitButtonGetCanShrink(x.GoPointer()) | |
| 118 | + | ||
| 117 | 119 | return cret | |
| 118 | 120 | } | |
| 119 | 121 | ||
| @@ -140,6 +142,7 @@ var xSplitButtonGetDirection func(uintptr) gtk.ArrowType | |||
| 140 | 142 | func (x *SplitButton) GetDirection() gtk.ArrowType { | |
| 141 | 143 | ||
| 142 | 144 | cret := xSplitButtonGetDirection(x.GoPointer()) | |
| 145 | + | ||
| 143 | 146 | return cret | |
| 144 | 147 | } | |
| 145 | 148 | ||
| @@ -149,6 +152,7 @@ var xSplitButtonGetDropdownTooltip func(uintptr) string | |||
| 149 | 152 | func (x *SplitButton) GetDropdownTooltip() string { | |
| 150 | 153 | ||
| 151 | 154 | cret := xSplitButtonGetDropdownTooltip(x.GoPointer()) | |
| 155 | + | ||
| 152 | 156 | return cret | |
| 153 | 157 | } | |
| 154 | 158 | ||
| @@ -158,6 +162,7 @@ var xSplitButtonGetIconName func(uintptr) string | |||
| 158 | 162 | func (x *SplitButton) GetIconName() string { | |
| 159 | 163 | ||
| 160 | 164 | cret := xSplitButtonGetIconName(x.GoPointer()) | |
| 165 | + | ||
| 161 | 166 | return cret | |
| 162 | 167 | } | |
| 163 | 168 | ||
| @@ -167,6 +172,7 @@ var xSplitButtonGetLabel func(uintptr) string | |||
| 167 | 172 | func (x *SplitButton) GetLabel() string { | |
| 168 | 173 | ||
| 169 | 174 | cret := xSplitButtonGetLabel(x.GoPointer()) | |
| 175 | + | ||
| 170 | 176 | return cret | |
| 171 | 177 | } | |
| 172 | 178 | ||
| @@ -210,6 +216,7 @@ var xSplitButtonGetUseUnderline func(uintptr) bool | |||
| 210 | 216 | func (x *SplitButton) GetUseUnderline() bool { | |
| 211 | 217 | ||
| 212 | 218 | cret := xSplitButtonGetUseUnderline(x.GoPointer()) | |
| 219 | + | ||
| 213 | 220 | return cret | |
| 214 | 221 | } | |
| 215 | 222 | ||
| @@ -555,6 +562,7 @@ func (x *SplitButton) GetAccessibleParent() *gtk.AccessibleBase { | |||
| 555 | 562 | func (x *SplitButton) GetAccessibleRole() gtk.AccessibleRole { | |
| 556 | 563 | ||
| 557 | 564 | cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer()) | |
| 565 | + | ||
| 558 | 566 | return cret | |
| 559 | 567 | } | |
| 560 | 568 | ||
| @@ -580,6 +588,7 @@ func (x *SplitButton) GetAtContext() *gtk.ATContext { | |||
| 580 | 588 | func (x *SplitButton) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool { | |
| 581 | 589 | ||
| 582 | 590 | cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar) | |
| 591 | + | ||
| 583 | 592 | return cret | |
| 584 | 593 | } | |
| 585 | 594 | ||
| @@ -619,6 +628,7 @@ func (x *SplitButton) GetNextAccessibleSibling() *gtk.AccessibleBase { | |||
| 619 | 628 | func (x *SplitButton) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool { | |
| 620 | 629 | ||
| 621 | 630 | cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar) | |
| 631 | + | ||
| 622 | 632 | return cret | |
| 623 | 633 | } | |
| 624 | 634 | ||
| @@ -792,6 +802,7 @@ func (x *SplitButton) UpdateStateValue(NStatesVar int, StatesVar []gtk.Accessibl | |||
| 792 | 802 | func (x *SplitButton) GetActionName() string { | |
| 793 | 803 | ||
| 794 | 804 | cret := gtk.XGtkActionableGetActionName(x.GoPointer()) | |
| 805 | + | ||
| 795 | 806 | return cret | |
| 796 | 807 | } | |
| 797 | 808 | ||
| @@ -799,6 +810,7 @@ func (x *SplitButton) GetActionName() string { | |||
| 799 | 810 | func (x *SplitButton) GetActionTargetValue() *glib.Variant { | |
| 800 | 811 | ||
| 801 | 812 | cret := gtk.XGtkActionableGetActionTargetValue(x.GoPointer()) | |
| 813 | + | ||
| 802 | 814 | return cret | |
| 803 | 815 | } | |
| 804 | 816 | ||
| @@ -817,7 +829,11 @@ func (x *SplitButton) GetActionTargetValue() *glib.Variant { | |||
| 817 | 829 | // associated with the window. | |
| 818 | 830 | func (x *SplitButton) SetActionName(ActionNameVar *string) { | |
| 819 | 831 | ||
| 820 | - | gtk.XGtkActionableSetActionName(x.GoPointer(), core.NullableStringToPtr(ActionNameVar)) | |
| 832 | + | ActionNameVarPtr, ActionNameVarBytes := core.NullableStringToPtr(ActionNameVar) | |
| 833 | + | ||
| 834 | + | gtk.XGtkActionableSetActionName(x.GoPointer(), ActionNameVarPtr) | |
| 835 | + | ||
| 836 | + | runtime.KeepAlive(ActionNameVarBytes) | |
| 821 | 837 | ||
| 822 | 838 | } | |
| 823 | 839 | ||
| @@ -878,6 +894,7 @@ func (x *SplitButton) SetDetailedActionName(DetailedActionNameVar string) { | |||
| 878 | 894 | func (x *SplitButton) GetBuildableId() string { | |
| 879 | 895 | ||
| 880 | 896 | cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer()) | |
| 897 | + | ||
| 881 | 898 | return cret | |
| 882 | 899 | } | |
| 883 | 900 | ||
M v4/adw/adw-spring-animation.go +10 -0
| @@ -98,6 +98,7 @@ var xSpringAnimationCalculateValue func(uintptr, uint) float64 | |||
| 98 | 98 | func (x *SpringAnimation) CalculateValue(TimeVar uint) float64 { | |
| 99 | 99 | ||
| 100 | 100 | cret := xSpringAnimationCalculateValue(x.GoPointer(), TimeVar) | |
| 101 | + | ||
| 101 | 102 | return cret | |
| 102 | 103 | } | |
| 103 | 104 | ||
| @@ -112,6 +113,7 @@ var xSpringAnimationCalculateVelocity func(uintptr, uint) float64 | |||
| 112 | 113 | func (x *SpringAnimation) CalculateVelocity(TimeVar uint) float64 { | |
| 113 | 114 | ||
| 114 | 115 | cret := xSpringAnimationCalculateVelocity(x.GoPointer(), TimeVar) | |
| 116 | + | ||
| 115 | 117 | return cret | |
| 116 | 118 | } | |
| 117 | 119 | ||
| @@ -121,6 +123,7 @@ var xSpringAnimationGetClamp func(uintptr) bool | |||
| 121 | 123 | func (x *SpringAnimation) GetClamp() bool { | |
| 122 | 124 | ||
| 123 | 125 | cret := xSpringAnimationGetClamp(x.GoPointer()) | |
| 126 | + | ||
| 124 | 127 | return cret | |
| 125 | 128 | } | |
| 126 | 129 | ||
| @@ -130,6 +133,7 @@ var xSpringAnimationGetEpsilon func(uintptr) float64 | |||
| 130 | 133 | func (x *SpringAnimation) GetEpsilon() float64 { | |
| 131 | 134 | ||
| 132 | 135 | cret := xSpringAnimationGetEpsilon(x.GoPointer()) | |
| 136 | + | ||
| 133 | 137 | return cret | |
| 134 | 138 | } | |
| 135 | 139 | ||
| @@ -141,6 +145,7 @@ var xSpringAnimationGetEstimatedDuration func(uintptr) uint | |||
| 141 | 145 | func (x *SpringAnimation) GetEstimatedDuration() uint { | |
| 142 | 146 | ||
| 143 | 147 | cret := xSpringAnimationGetEstimatedDuration(x.GoPointer()) | |
| 148 | + | ||
| 144 | 149 | return cret | |
| 145 | 150 | } | |
| 146 | 151 | ||
| @@ -150,6 +155,7 @@ var xSpringAnimationGetInitialVelocity func(uintptr) float64 | |||
| 150 | 155 | func (x *SpringAnimation) GetInitialVelocity() float64 { | |
| 151 | 156 | ||
| 152 | 157 | cret := xSpringAnimationGetInitialVelocity(x.GoPointer()) | |
| 158 | + | ||
| 153 | 159 | return cret | |
| 154 | 160 | } | |
| 155 | 161 | ||
| @@ -159,6 +165,7 @@ var xSpringAnimationGetSpringParams func(uintptr) *SpringParams | |||
| 159 | 165 | func (x *SpringAnimation) GetSpringParams() *SpringParams { | |
| 160 | 166 | ||
| 161 | 167 | cret := xSpringAnimationGetSpringParams(x.GoPointer()) | |
| 168 | + | ||
| 162 | 169 | return cret | |
| 163 | 170 | } | |
| 164 | 171 | ||
| @@ -168,6 +175,7 @@ var xSpringAnimationGetValueFrom func(uintptr) float64 | |||
| 168 | 175 | func (x *SpringAnimation) GetValueFrom() float64 { | |
| 169 | 176 | ||
| 170 | 177 | cret := xSpringAnimationGetValueFrom(x.GoPointer()) | |
| 178 | + | ||
| 171 | 179 | return cret | |
| 172 | 180 | } | |
| 173 | 181 | ||
| @@ -177,6 +185,7 @@ var xSpringAnimationGetValueTo func(uintptr) float64 | |||
| 177 | 185 | func (x *SpringAnimation) GetValueTo() float64 { | |
| 178 | 186 | ||
| 179 | 187 | cret := xSpringAnimationGetValueTo(x.GoPointer()) | |
| 188 | + | ||
| 180 | 189 | return cret | |
| 181 | 190 | } | |
| 182 | 191 | ||
| @@ -186,6 +195,7 @@ var xSpringAnimationGetVelocity func(uintptr) float64 | |||
| 186 | 195 | func (x *SpringAnimation) GetVelocity() float64 { | |
| 187 | 196 | ||
| 188 | 197 | cret := xSpringAnimationGetVelocity(x.GoPointer()) | |
| 198 | + | ||
| 189 | 199 | return cret | |
| 190 | 200 | } | |
| 191 | 201 | ||
M v4/adw/adw-spring-params.go +7 -0
| @@ -74,6 +74,7 @@ var xNewSpringParams func(float64, float64, float64) *SpringParams | |||
| 74 | 74 | func NewSpringParams(DampingRatioVar float64, MassVar float64, StiffnessVar float64) *SpringParams { | |
| 75 | 75 | ||
| 76 | 76 | cret := xNewSpringParams(DampingRatioVar, MassVar, StiffnessVar) | |
| 77 | + | ||
| 77 | 78 | return cret | |
| 78 | 79 | } | |
| 79 | 80 | ||
| @@ -86,6 +87,7 @@ var xNewSpringParamsFull func(float64, float64, float64) *SpringParams | |||
| 86 | 87 | func NewSpringParamsFull(DampingVar float64, MassVar float64, StiffnessVar float64) *SpringParams { | |
| 87 | 88 | ||
| 88 | 89 | cret := xNewSpringParamsFull(DampingVar, MassVar, StiffnessVar) | |
| 90 | + | ||
| 89 | 91 | return cret | |
| 90 | 92 | } | |
| 91 | 93 | ||
| @@ -95,6 +97,7 @@ var xSpringParamsGetDamping func(uintptr) float64 | |||
| 95 | 97 | func (x *SpringParams) GetDamping() float64 { | |
| 96 | 98 | ||
| 97 | 99 | cret := xSpringParamsGetDamping(x.GoPointer()) | |
| 100 | + | ||
| 98 | 101 | return cret | |
| 99 | 102 | } | |
| 100 | 103 | ||
| @@ -104,6 +107,7 @@ var xSpringParamsGetDampingRatio func(uintptr) float64 | |||
| 104 | 107 | func (x *SpringParams) GetDampingRatio() float64 { | |
| 105 | 108 | ||
| 106 | 109 | cret := xSpringParamsGetDampingRatio(x.GoPointer()) | |
| 110 | + | ||
| 107 | 111 | return cret | |
| 108 | 112 | } | |
| 109 | 113 | ||
| @@ -113,6 +117,7 @@ var xSpringParamsGetMass func(uintptr) float64 | |||
| 113 | 117 | func (x *SpringParams) GetMass() float64 { | |
| 114 | 118 | ||
| 115 | 119 | cret := xSpringParamsGetMass(x.GoPointer()) | |
| 120 | + | ||
| 116 | 121 | return cret | |
| 117 | 122 | } | |
| 118 | 123 | ||
| @@ -122,6 +127,7 @@ var xSpringParamsGetStiffness func(uintptr) float64 | |||
| 122 | 127 | func (x *SpringParams) GetStiffness() float64 { | |
| 123 | 128 | ||
| 124 | 129 | cret := xSpringParamsGetStiffness(x.GoPointer()) | |
| 130 | + | ||
| 125 | 131 | return cret | |
| 126 | 132 | } | |
| 127 | 133 | ||
| @@ -131,6 +137,7 @@ var xSpringParamsRef func(uintptr) *SpringParams | |||
| 131 | 137 | func (x *SpringParams) Ref() *SpringParams { | |
| 132 | 138 | ||
| 133 | 139 | cret := xSpringParamsRef(x.GoPointer()) | |
| 140 | + | ||
| 134 | 141 | return cret | |
| 135 | 142 | } | |
| 136 | 143 | ||
M v4/adw/adw-squeezer.go +15 -0
| @@ -131,6 +131,7 @@ var xSqueezerGetAllowNone func(uintptr) bool | |||
| 131 | 131 | func (x *Squeezer) GetAllowNone() bool { | |
| 132 | 132 | ||
| 133 | 133 | cret := xSqueezerGetAllowNone(x.GoPointer()) | |
| 134 | + | ||
| 134 | 135 | return cret | |
| 135 | 136 | } | |
| 136 | 137 | ||
| @@ -140,6 +141,7 @@ var xSqueezerGetHomogeneous func(uintptr) bool | |||
| 140 | 141 | func (x *Squeezer) GetHomogeneous() bool { | |
| 141 | 142 | ||
| 142 | 143 | cret := xSqueezerGetHomogeneous(x.GoPointer()) | |
| 144 | + | ||
| 143 | 145 | return cret | |
| 144 | 146 | } | |
| 145 | 147 | ||
| @@ -149,6 +151,7 @@ var xSqueezerGetInterpolateSize func(uintptr) bool | |||
| 149 | 151 | func (x *Squeezer) GetInterpolateSize() bool { | |
| 150 | 152 | ||
| 151 | 153 | cret := xSqueezerGetInterpolateSize(x.GoPointer()) | |
| 154 | + | ||
| 152 | 155 | return cret | |
| 153 | 156 | } | |
| 154 | 157 | ||
| @@ -194,6 +197,7 @@ var xSqueezerGetSwitchThresholdPolicy func(uintptr) FoldThresholdPolicy | |||
| 194 | 197 | func (x *Squeezer) GetSwitchThresholdPolicy() FoldThresholdPolicy { | |
| 195 | 198 | ||
| 196 | 199 | cret := xSqueezerGetSwitchThresholdPolicy(x.GoPointer()) | |
| 200 | + | ||
| 197 | 201 | return cret | |
| 198 | 202 | } | |
| 199 | 203 | ||
| @@ -203,6 +207,7 @@ var xSqueezerGetTransitionDuration func(uintptr) uint | |||
| 203 | 207 | func (x *Squeezer) GetTransitionDuration() uint { | |
| 204 | 208 | ||
| 205 | 209 | cret := xSqueezerGetTransitionDuration(x.GoPointer()) | |
| 210 | + | ||
| 206 | 211 | return cret | |
| 207 | 212 | } | |
| 208 | 213 | ||
| @@ -216,6 +221,7 @@ var xSqueezerGetTransitionRunning func(uintptr) bool | |||
| 216 | 221 | func (x *Squeezer) GetTransitionRunning() bool { | |
| 217 | 222 | ||
| 218 | 223 | cret := xSqueezerGetTransitionRunning(x.GoPointer()) | |
| 224 | + | ||
| 219 | 225 | return cret | |
| 220 | 226 | } | |
| 221 | 227 | ||
| @@ -225,6 +231,7 @@ var xSqueezerGetTransitionType func(uintptr) SqueezerTransitionType | |||
| 225 | 231 | func (x *Squeezer) GetTransitionType() SqueezerTransitionType { | |
| 226 | 232 | ||
| 227 | 233 | cret := xSqueezerGetTransitionType(x.GoPointer()) | |
| 234 | + | ||
| 228 | 235 | return cret | |
| 229 | 236 | } | |
| 230 | 237 | ||
| @@ -251,6 +258,7 @@ var xSqueezerGetXalign func(uintptr) float32 | |||
| 251 | 258 | func (x *Squeezer) GetXalign() float32 { | |
| 252 | 259 | ||
| 253 | 260 | cret := xSqueezerGetXalign(x.GoPointer()) | |
| 261 | + | ||
| 254 | 262 | return cret | |
| 255 | 263 | } | |
| 256 | 264 | ||
| @@ -260,6 +268,7 @@ var xSqueezerGetYalign func(uintptr) float32 | |||
| 260 | 268 | func (x *Squeezer) GetYalign() float32 { | |
| 261 | 269 | ||
| 262 | 270 | cret := xSqueezerGetYalign(x.GoPointer()) | |
| 271 | + | ||
| 263 | 272 | return cret | |
| 264 | 273 | } | |
| 265 | 274 | ||
| @@ -588,6 +597,7 @@ func (x *Squeezer) GetAccessibleParent() *gtk.AccessibleBase { | |||
| 588 | 597 | func (x *Squeezer) GetAccessibleRole() gtk.AccessibleRole { | |
| 589 | 598 | ||
| 590 | 599 | cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer()) | |
| 600 | + | ||
| 591 | 601 | return cret | |
| 592 | 602 | } | |
| 593 | 603 | ||
| @@ -613,6 +623,7 @@ func (x *Squeezer) GetAtContext() *gtk.ATContext { | |||
| 613 | 623 | func (x *Squeezer) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool { | |
| 614 | 624 | ||
| 615 | 625 | cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar) | |
| 626 | + | ||
| 616 | 627 | return cret | |
| 617 | 628 | } | |
| 618 | 629 | ||
| @@ -652,6 +663,7 @@ func (x *Squeezer) GetNextAccessibleSibling() *gtk.AccessibleBase { | |||
| 652 | 663 | func (x *Squeezer) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool { | |
| 653 | 664 | ||
| 654 | 665 | cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar) | |
| 666 | + | ||
| 655 | 667 | return cret | |
| 656 | 668 | } | |
| 657 | 669 | ||
| @@ -828,6 +840,7 @@ func (x *Squeezer) UpdateStateValue(NStatesVar int, StatesVar []gtk.AccessibleSt | |||
| 828 | 840 | func (x *Squeezer) GetBuildableId() string { | |
| 829 | 841 | ||
| 830 | 842 | cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer()) | |
| 843 | + | ||
| 831 | 844 | return cret | |
| 832 | 845 | } | |
| 833 | 846 | ||
| @@ -835,6 +848,7 @@ func (x *Squeezer) GetBuildableId() string { | |||
| 835 | 848 | func (x *Squeezer) GetOrientation() gtk.Orientation { | |
| 836 | 849 | ||
| 837 | 850 | cret := gtk.XGtkOrientableGetOrientation(x.GoPointer()) | |
| 851 | + | ||
| 838 | 852 | return cret | |
| 839 | 853 | } | |
| 840 | 854 | ||
| @@ -885,6 +899,7 @@ var xSqueezerPageGetEnabled func(uintptr) bool | |||
| 885 | 899 | func (x *SqueezerPage) GetEnabled() bool { | |
| 886 | 900 | ||
| 887 | 901 | cret := xSqueezerPageGetEnabled(x.GoPointer()) | |
| 902 | + | ||
| 888 | 903 | return cret | |
| 889 | 904 | } | |
| 890 | 905 | ||
M v4/adw/adw-status-page.go +18 -2
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package adw | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "runtime" | |
| 5 | 6 | "structs" | |
| 6 | 7 | "unsafe" | |
| 7 | 8 | ||
| @@ -112,6 +113,7 @@ var xStatusPageGetDescription func(uintptr) string | |||
| 112 | 113 | func (x *StatusPage) GetDescription() string { | |
| 113 | 114 | ||
| 114 | 115 | cret := xStatusPageGetDescription(x.GoPointer()) | |
| 116 | + | ||
| 115 | 117 | return cret | |
| 116 | 118 | } | |
| 117 | 119 | ||
| @@ -121,6 +123,7 @@ var xStatusPageGetIconName func(uintptr) string | |||
| 121 | 123 | func (x *StatusPage) GetIconName() string { | |
| 122 | 124 | ||
| 123 | 125 | cret := xStatusPageGetIconName(x.GoPointer()) | |
| 126 | + | ||
| 124 | 127 | return cret | |
| 125 | 128 | } | |
| 126 | 129 | ||
| @@ -147,6 +150,7 @@ var xStatusPageGetTitle func(uintptr) string | |||
| 147 | 150 | func (x *StatusPage) GetTitle() string { | |
| 148 | 151 | ||
| 149 | 152 | cret := xStatusPageGetTitle(x.GoPointer()) | |
| 153 | + | ||
| 150 | 154 | return cret | |
| 151 | 155 | } | |
| 152 | 156 | ||
| @@ -166,7 +170,11 @@ var xStatusPageSetDescription func(uintptr, uintptr) | |||
| 166 | 170 | // The description is displayed below the title. It is parsed as Pango markup. | |
| 167 | 171 | func (x *StatusPage) SetDescription(DescriptionVar *string) { | |
| 168 | 172 | ||
| 169 | - | xStatusPageSetDescription(x.GoPointer(), core.NullableStringToPtr(DescriptionVar)) | |
| 173 | + | DescriptionVarPtr, DescriptionVarBytes := core.NullableStringToPtr(DescriptionVar) | |
| 174 | + | ||
| 175 | + | xStatusPageSetDescription(x.GoPointer(), DescriptionVarPtr) | |
| 176 | + | ||
| 177 | + | runtime.KeepAlive(DescriptionVarBytes) | |
| 170 | 178 | ||
| 171 | 179 | } | |
| 172 | 180 | ||
| @@ -177,7 +185,11 @@ var xStatusPageSetIconName func(uintptr, uintptr) | |||
| 177 | 185 | // Changing this will set [property@StatusPage:paintable] to `NULL`. | |
| 178 | 186 | func (x *StatusPage) SetIconName(IconNameVar *string) { | |
| 179 | 187 | ||
| 180 | - | xStatusPageSetIconName(x.GoPointer(), core.NullableStringToPtr(IconNameVar)) | |
| 188 | + | IconNameVarPtr, IconNameVarBytes := core.NullableStringToPtr(IconNameVar) | |
| 189 | + | ||
| 190 | + | xStatusPageSetIconName(x.GoPointer(), IconNameVarPtr) | |
| 191 | + | ||
| 192 | + | runtime.KeepAlive(IconNameVarBytes) | |
| 181 | 193 | ||
| 182 | 194 | } | |
| 183 | 195 | ||
| @@ -308,6 +320,7 @@ func (x *StatusPage) GetAccessibleParent() *gtk.AccessibleBase { | |||
| 308 | 320 | func (x *StatusPage) GetAccessibleRole() gtk.AccessibleRole { | |
| 309 | 321 | ||
| 310 | 322 | cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer()) | |
| 323 | + | ||
| 311 | 324 | return cret | |
| 312 | 325 | } | |
| 313 | 326 | ||
| @@ -333,6 +346,7 @@ func (x *StatusPage) GetAtContext() *gtk.ATContext { | |||
| 333 | 346 | func (x *StatusPage) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool { | |
| 334 | 347 | ||
| 335 | 348 | cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar) | |
| 349 | + | ||
| 336 | 350 | return cret | |
| 337 | 351 | } | |
| 338 | 352 | ||
| @@ -372,6 +386,7 @@ func (x *StatusPage) GetNextAccessibleSibling() *gtk.AccessibleBase { | |||
| 372 | 386 | func (x *StatusPage) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool { | |
| 373 | 387 | ||
| 374 | 388 | cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar) | |
| 389 | + | ||
| 375 | 390 | return cret | |
| 376 | 391 | } | |
| 377 | 392 | ||
| @@ -548,6 +563,7 @@ func (x *StatusPage) UpdateStateValue(NStatesVar int, StatesVar []gtk.Accessible | |||
| 548 | 563 | func (x *StatusPage) GetBuildableId() string { | |
| 549 | 564 | ||
| 550 | 565 | cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer()) | |
| 566 | + | ||
| 551 | 567 | return cret | |
| 552 | 568 | } | |
| 553 | 569 | ||
M v4/adw/adw-style-manager.go +9 -0
| @@ -83,6 +83,7 @@ var xStyleManagerGetAccentColor func(uintptr) AccentColor | |||
| 83 | 83 | func (x *StyleManager) GetAccentColor() AccentColor { | |
| 84 | 84 | ||
| 85 | 85 | cret := xStyleManagerGetAccentColor(x.GoPointer()) | |
| 86 | + | ||
| 86 | 87 | return cret | |
| 87 | 88 | } | |
| 88 | 89 | ||
| @@ -97,6 +98,7 @@ var xStyleManagerGetAccentColorRgba func(uintptr) *gdk.RGBA | |||
| 97 | 98 | func (x *StyleManager) GetAccentColorRgba() *gdk.RGBA { | |
| 98 | 99 | ||
| 99 | 100 | cret := xStyleManagerGetAccentColorRgba(x.GoPointer()) | |
| 101 | + | ||
| 100 | 102 | return cret | |
| 101 | 103 | } | |
| 102 | 104 | ||
| @@ -106,6 +108,7 @@ var xStyleManagerGetColorScheme func(uintptr) ColorScheme | |||
| 106 | 108 | func (x *StyleManager) GetColorScheme() ColorScheme { | |
| 107 | 109 | ||
| 108 | 110 | cret := xStyleManagerGetColorScheme(x.GoPointer()) | |
| 111 | + | ||
| 109 | 112 | return cret | |
| 110 | 113 | } | |
| 111 | 114 | ||
| @@ -118,6 +121,7 @@ var xStyleManagerGetDark func(uintptr) bool | |||
| 118 | 121 | func (x *StyleManager) GetDark() bool { | |
| 119 | 122 | ||
| 120 | 123 | cret := xStyleManagerGetDark(x.GoPointer()) | |
| 124 | + | ||
| 121 | 125 | return cret | |
| 122 | 126 | } | |
| 123 | 127 | ||
| @@ -152,6 +156,7 @@ var xStyleManagerGetDocumentFontName func(uintptr) string | |||
| 152 | 156 | func (x *StyleManager) GetDocumentFontName() string { | |
| 153 | 157 | ||
| 154 | 158 | cret := xStyleManagerGetDocumentFontName(x.GoPointer()) | |
| 159 | + | ||
| 155 | 160 | return cret | |
| 156 | 161 | } | |
| 157 | 162 | ||
| @@ -163,6 +168,7 @@ var xStyleManagerGetHighContrast func(uintptr) bool | |||
| 163 | 168 | func (x *StyleManager) GetHighContrast() bool { | |
| 164 | 169 | ||
| 165 | 170 | cret := xStyleManagerGetHighContrast(x.GoPointer()) | |
| 171 | + | ||
| 166 | 172 | return cret | |
| 167 | 173 | } | |
| 168 | 174 | ||
| @@ -177,6 +183,7 @@ var xStyleManagerGetMonospaceFontName func(uintptr) string | |||
| 177 | 183 | func (x *StyleManager) GetMonospaceFontName() string { | |
| 178 | 184 | ||
| 179 | 185 | cret := xStyleManagerGetMonospaceFontName(x.GoPointer()) | |
| 186 | + | ||
| 180 | 187 | return cret | |
| 181 | 188 | } | |
| 182 | 189 | ||
| @@ -192,6 +199,7 @@ var xStyleManagerGetSystemSupportsAccentColors func(uintptr) bool | |||
| 192 | 199 | func (x *StyleManager) GetSystemSupportsAccentColors() bool { | |
| 193 | 200 | ||
| 194 | 201 | cret := xStyleManagerGetSystemSupportsAccentColors(x.GoPointer()) | |
| 202 | + | ||
| 195 | 203 | return cret | |
| 196 | 204 | } | |
| 197 | 205 | ||
| @@ -205,6 +213,7 @@ var xStyleManagerGetSystemSupportsColorSchemes func(uintptr) bool | |||
| 205 | 213 | func (x *StyleManager) GetSystemSupportsColorSchemes() bool { | |
| 206 | 214 | ||
| 207 | 215 | cret := xStyleManagerGetSystemSupportsColorSchemes(x.GoPointer()) | |
| 216 | + | ||
| 208 | 217 | return cret | |
| 209 | 218 | } | |
| 210 | 219 | ||
M v4/adw/adw-swipe-tracker.go +8 -0
| @@ -72,6 +72,7 @@ var xSwipeTrackerGetAllowLongSwipes func(uintptr) bool | |||
| 72 | 72 | func (x *SwipeTracker) GetAllowLongSwipes() bool { | |
| 73 | 73 | ||
| 74 | 74 | cret := xSwipeTrackerGetAllowLongSwipes(x.GoPointer()) | |
| 75 | + | ||
| 75 | 76 | return cret | |
| 76 | 77 | } | |
| 77 | 78 | ||
| @@ -81,6 +82,7 @@ var xSwipeTrackerGetAllowMouseDrag func(uintptr) bool | |||
| 81 | 82 | func (x *SwipeTracker) GetAllowMouseDrag() bool { | |
| 82 | 83 | ||
| 83 | 84 | cret := xSwipeTrackerGetAllowMouseDrag(x.GoPointer()) | |
| 85 | + | ||
| 84 | 86 | return cret | |
| 85 | 87 | } | |
| 86 | 88 | ||
| @@ -90,6 +92,7 @@ var xSwipeTrackerGetAllowWindowHandle func(uintptr) bool | |||
| 90 | 92 | func (x *SwipeTracker) GetAllowWindowHandle() bool { | |
| 91 | 93 | ||
| 92 | 94 | cret := xSwipeTrackerGetAllowWindowHandle(x.GoPointer()) | |
| 95 | + | ||
| 93 | 96 | return cret | |
| 94 | 97 | } | |
| 95 | 98 | ||
| @@ -99,6 +102,7 @@ var xSwipeTrackerGetEnabled func(uintptr) bool | |||
| 99 | 102 | func (x *SwipeTracker) GetEnabled() bool { | |
| 100 | 103 | ||
| 101 | 104 | cret := xSwipeTrackerGetEnabled(x.GoPointer()) | |
| 105 | + | ||
| 102 | 106 | return cret | |
| 103 | 107 | } | |
| 104 | 108 | ||
| @@ -108,6 +112,7 @@ var xSwipeTrackerGetLowerOvershoot func(uintptr) bool | |||
| 108 | 112 | func (x *SwipeTracker) GetLowerOvershoot() bool { | |
| 109 | 113 | ||
| 110 | 114 | cret := xSwipeTrackerGetLowerOvershoot(x.GoPointer()) | |
| 115 | + | ||
| 111 | 116 | return cret | |
| 112 | 117 | } | |
| 113 | 118 | ||
| @@ -117,6 +122,7 @@ var xSwipeTrackerGetReversed func(uintptr) bool | |||
| 117 | 122 | func (x *SwipeTracker) GetReversed() bool { | |
| 118 | 123 | ||
| 119 | 124 | cret := xSwipeTrackerGetReversed(x.GoPointer()) | |
| 125 | + | ||
| 120 | 126 | return cret | |
| 121 | 127 | } | |
| 122 | 128 | ||
| @@ -143,6 +149,7 @@ var xSwipeTrackerGetUpperOvershoot func(uintptr) bool | |||
| 143 | 149 | func (x *SwipeTracker) GetUpperOvershoot() bool { | |
| 144 | 150 | ||
| 145 | 151 | cret := xSwipeTrackerGetUpperOvershoot(x.GoPointer()) | |
| 152 | + | ||
| 146 | 153 | return cret | |
| 147 | 154 | } | |
| 148 | 155 | ||
| @@ -477,6 +484,7 @@ func (x *SwipeTracker) ConnectUpdateSwipe(cb *func(SwipeTracker, float64)) uint3 | |||
| 477 | 484 | func (x *SwipeTracker) GetOrientation() gtk.Orientation { | |
| 478 | 485 | ||
| 479 | 486 | cret := gtk.XGtkOrientableGetOrientation(x.GoPointer()) | |
| 487 | + | ||
| 480 | 488 | return cret | |
| 481 | 489 | } | |
| 482 | 490 | ||
M v4/adw/adw-swipeable.go +4 -0
| @@ -199,6 +199,7 @@ func (x *SwipeableBase) SetGoPointer(ptr uintptr) { | |||
| 199 | 199 | func (x *SwipeableBase) GetCancelProgress() float64 { | |
| 200 | 200 | ||
| 201 | 201 | cret := XAdwSwipeableGetCancelProgress(x.GoPointer()) | |
| 202 | + | ||
| 202 | 203 | return cret | |
| 203 | 204 | } | |
| 204 | 205 | ||
| @@ -208,6 +209,7 @@ func (x *SwipeableBase) GetCancelProgress() float64 { | |||
| 208 | 209 | func (x *SwipeableBase) GetDistance() float64 { | |
| 209 | 210 | ||
| 210 | 211 | cret := XAdwSwipeableGetDistance(x.GoPointer()) | |
| 212 | + | ||
| 211 | 213 | return cret | |
| 212 | 214 | } | |
| 213 | 215 | ||
| @@ -215,6 +217,7 @@ func (x *SwipeableBase) GetDistance() float64 { | |||
| 215 | 217 | func (x *SwipeableBase) GetProgress() float64 { | |
| 216 | 218 | ||
| 217 | 219 | cret := XAdwSwipeableGetProgress(x.GoPointer()) | |
| 220 | + | ||
| 218 | 221 | return cret | |
| 219 | 222 | } | |
| 220 | 223 | ||
| @@ -225,6 +228,7 @@ func (x *SwipeableBase) GetProgress() float64 { | |||
| 225 | 228 | func (x *SwipeableBase) GetSnapPoints(NSnapPointsVar *int) uintptr { | |
| 226 | 229 | ||
| 227 | 230 | cret := XAdwSwipeableGetSnapPoints(x.GoPointer(), NSnapPointsVar) | |
| 231 | + | ||
| 228 | 232 | return cret | |
| 229 | 233 | } | |
| 230 | 234 | ||
M v4/adw/adw-switch-row.go +13 -1
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package adw | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "runtime" | |
| 5 | 6 | "structs" | |
| 6 | 7 | "unsafe" | |
| 7 | 8 | ||
| @@ -96,6 +97,7 @@ var xSwitchRowGetActive func(uintptr) bool | |||
| 96 | 97 | func (x *SwitchRow) GetActive() bool { | |
| 97 | 98 | ||
| 98 | 99 | cret := xSwitchRowGetActive(x.GoPointer()) | |
| 100 | + | ||
| 99 | 101 | return cret | |
| 100 | 102 | } | |
| 101 | 103 | ||
| @@ -171,6 +173,7 @@ func (x *SwitchRow) GetAccessibleParent() *gtk.AccessibleBase { | |||
| 171 | 173 | func (x *SwitchRow) GetAccessibleRole() gtk.AccessibleRole { | |
| 172 | 174 | ||
| 173 | 175 | cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer()) | |
| 176 | + | ||
| 174 | 177 | return cret | |
| 175 | 178 | } | |
| 176 | 179 | ||
| @@ -196,6 +199,7 @@ func (x *SwitchRow) GetAtContext() *gtk.ATContext { | |||
| 196 | 199 | func (x *SwitchRow) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool { | |
| 197 | 200 | ||
| 198 | 201 | cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar) | |
| 202 | + | ||
| 199 | 203 | return cret | |
| 200 | 204 | } | |
| 201 | 205 | ||
| @@ -235,6 +239,7 @@ func (x *SwitchRow) GetNextAccessibleSibling() *gtk.AccessibleBase { | |||
| 235 | 239 | func (x *SwitchRow) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool { | |
| 236 | 240 | ||
| 237 | 241 | cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar) | |
| 242 | + | ||
| 238 | 243 | return cret | |
| 239 | 244 | } | |
| 240 | 245 | ||
| @@ -408,6 +413,7 @@ func (x *SwitchRow) UpdateStateValue(NStatesVar int, StatesVar []gtk.AccessibleS | |||
| 408 | 413 | func (x *SwitchRow) GetActionName() string { | |
| 409 | 414 | ||
| 410 | 415 | cret := gtk.XGtkActionableGetActionName(x.GoPointer()) | |
| 416 | + | ||
| 411 | 417 | return cret | |
| 412 | 418 | } | |
| 413 | 419 | ||
| @@ -415,6 +421,7 @@ func (x *SwitchRow) GetActionName() string { | |||
| 415 | 421 | func (x *SwitchRow) GetActionTargetValue() *glib.Variant { | |
| 416 | 422 | ||
| 417 | 423 | cret := gtk.XGtkActionableGetActionTargetValue(x.GoPointer()) | |
| 424 | + | ||
| 418 | 425 | return cret | |
| 419 | 426 | } | |
| 420 | 427 | ||
| @@ -433,7 +440,11 @@ func (x *SwitchRow) GetActionTargetValue() *glib.Variant { | |||
| 433 | 440 | // associated with the window. | |
| 434 | 441 | func (x *SwitchRow) SetActionName(ActionNameVar *string) { | |
| 435 | 442 | ||
| 436 | - | gtk.XGtkActionableSetActionName(x.GoPointer(), core.NullableStringToPtr(ActionNameVar)) | |
| 443 | + | ActionNameVarPtr, ActionNameVarBytes := core.NullableStringToPtr(ActionNameVar) | |
| 444 | + | ||
| 445 | + | gtk.XGtkActionableSetActionName(x.GoPointer(), ActionNameVarPtr) | |
| 446 | + | ||
| 447 | + | runtime.KeepAlive(ActionNameVarBytes) | |
| 437 | 448 | ||
| 438 | 449 | } | |
| 439 | 450 | ||
| @@ -494,6 +505,7 @@ func (x *SwitchRow) SetDetailedActionName(DetailedActionNameVar string) { | |||
| 494 | 505 | func (x *SwitchRow) GetBuildableId() string { | |
| 495 | 506 | ||
| 496 | 507 | cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer()) | |
| 508 | + | ||
| 497 | 509 | return cret | |
| 498 | 510 | } | |
| 499 | 511 | ||
M v4/adw/adw-tab-bar.go +11 -0
| @@ -99,6 +99,7 @@ var xTabBarGetAutohide func(uintptr) bool | |||
| 99 | 99 | func (x *TabBar) GetAutohide() bool { | |
| 100 | 100 | ||
| 101 | 101 | cret := xTabBarGetAutohide(x.GoPointer()) | |
| 102 | + | ||
| 102 | 103 | return cret | |
| 103 | 104 | } | |
| 104 | 105 | ||
| @@ -125,6 +126,7 @@ var xTabBarGetExpandTabs func(uintptr) bool | |||
| 125 | 126 | func (x *TabBar) GetExpandTabs() bool { | |
| 126 | 127 | ||
| 127 | 128 | cret := xTabBarGetExpandTabs(x.GoPointer()) | |
| 129 | + | ||
| 128 | 130 | return cret | |
| 129 | 131 | } | |
| 130 | 132 | ||
| @@ -134,6 +136,7 @@ var xTabBarGetExtraDragPreferredAction func(uintptr) gdk.DragAction | |||
| 134 | 136 | func (x *TabBar) GetExtraDragPreferredAction() gdk.DragAction { | |
| 135 | 137 | ||
| 136 | 138 | cret := xTabBarGetExtraDragPreferredAction(x.GoPointer()) | |
| 139 | + | ||
| 137 | 140 | return cret | |
| 138 | 141 | } | |
| 139 | 142 | ||
| @@ -143,6 +146,7 @@ var xTabBarGetExtraDragPreload func(uintptr) bool | |||
| 143 | 146 | func (x *TabBar) GetExtraDragPreload() bool { | |
| 144 | 147 | ||
| 145 | 148 | cret := xTabBarGetExtraDragPreload(x.GoPointer()) | |
| 149 | + | ||
| 146 | 150 | return cret | |
| 147 | 151 | } | |
| 148 | 152 | ||
| @@ -152,6 +156,7 @@ var xTabBarGetInverted func(uintptr) bool | |||
| 152 | 156 | func (x *TabBar) GetInverted() bool { | |
| 153 | 157 | ||
| 154 | 158 | cret := xTabBarGetInverted(x.GoPointer()) | |
| 159 | + | ||
| 155 | 160 | return cret | |
| 156 | 161 | } | |
| 157 | 162 | ||
| @@ -163,6 +168,7 @@ var xTabBarGetIsOverflowing func(uintptr) bool | |||
| 163 | 168 | func (x *TabBar) GetIsOverflowing() bool { | |
| 164 | 169 | ||
| 165 | 170 | cret := xTabBarGetIsOverflowing(x.GoPointer()) | |
| 171 | + | ||
| 166 | 172 | return cret | |
| 167 | 173 | } | |
| 168 | 174 | ||
| @@ -191,6 +197,7 @@ var xTabBarGetTabsRevealed func(uintptr) bool | |||
| 191 | 197 | func (x *TabBar) GetTabsRevealed() bool { | |
| 192 | 198 | ||
| 193 | 199 | cret := xTabBarGetTabsRevealed(x.GoPointer()) | |
| 200 | + | ||
| 194 | 201 | return cret | |
| 195 | 202 | } | |
| 196 | 203 | ||
| @@ -519,6 +526,7 @@ func (x *TabBar) GetAccessibleParent() *gtk.AccessibleBase { | |||
| 519 | 526 | func (x *TabBar) GetAccessibleRole() gtk.AccessibleRole { | |
| 520 | 527 | ||
| 521 | 528 | cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer()) | |
| 529 | + | ||
| 522 | 530 | return cret | |
| 523 | 531 | } | |
| 524 | 532 | ||
| @@ -544,6 +552,7 @@ func (x *TabBar) GetAtContext() *gtk.ATContext { | |||
| 544 | 552 | func (x *TabBar) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool { | |
| 545 | 553 | ||
| 546 | 554 | cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar) | |
| 555 | + | ||
| 547 | 556 | return cret | |
| 548 | 557 | } | |
| 549 | 558 | ||
| @@ -583,6 +592,7 @@ func (x *TabBar) GetNextAccessibleSibling() *gtk.AccessibleBase { | |||
| 583 | 592 | func (x *TabBar) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool { | |
| 584 | 593 | ||
| 585 | 594 | cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar) | |
| 595 | + | ||
| 586 | 596 | return cret | |
| 587 | 597 | } | |
| 588 | 598 | ||
| @@ -759,6 +769,7 @@ func (x *TabBar) UpdateStateValue(NStatesVar int, StatesVar []gtk.AccessibleStat | |||
| 759 | 769 | func (x *TabBar) GetBuildableId() string { | |
| 760 | 770 | ||
| 761 | 771 | cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer()) | |
| 772 | + | ||
| 762 | 773 | return cret | |
| 763 | 774 | } | |
| 764 | 775 | ||
M v4/adw/adw-tab-button.go +12 -1
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package adw | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "runtime" | |
| 5 | 6 | "structs" | |
| 6 | 7 | "unsafe" | |
| 7 | 8 | ||
| @@ -203,6 +204,7 @@ func (x *TabButton) GetAccessibleParent() *gtk.AccessibleBase { | |||
| 203 | 204 | func (x *TabButton) GetAccessibleRole() gtk.AccessibleRole { | |
| 204 | 205 | ||
| 205 | 206 | cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer()) | |
| 207 | + | ||
| 206 | 208 | return cret | |
| 207 | 209 | } | |
| 208 | 210 | ||
| @@ -228,6 +230,7 @@ func (x *TabButton) GetAtContext() *gtk.ATContext { | |||
| 228 | 230 | func (x *TabButton) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool { | |
| 229 | 231 | ||
| 230 | 232 | cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar) | |
| 233 | + | ||
| 231 | 234 | return cret | |
| 232 | 235 | } | |
| 233 | 236 | ||
| @@ -267,6 +270,7 @@ func (x *TabButton) GetNextAccessibleSibling() *gtk.AccessibleBase { | |||
| 267 | 270 | func (x *TabButton) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool { | |
| 268 | 271 | ||
| 269 | 272 | cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar) | |
| 273 | + | ||
| 270 | 274 | return cret | |
| 271 | 275 | } | |
| 272 | 276 | ||
| @@ -440,6 +444,7 @@ func (x *TabButton) UpdateStateValue(NStatesVar int, StatesVar []gtk.AccessibleS | |||
| 440 | 444 | func (x *TabButton) GetActionName() string { | |
| 441 | 445 | ||
| 442 | 446 | cret := gtk.XGtkActionableGetActionName(x.GoPointer()) | |
| 447 | + | ||
| 443 | 448 | return cret | |
| 444 | 449 | } | |
| 445 | 450 | ||
| @@ -447,6 +452,7 @@ func (x *TabButton) GetActionName() string { | |||
| 447 | 452 | func (x *TabButton) GetActionTargetValue() *glib.Variant { | |
| 448 | 453 | ||
| 449 | 454 | cret := gtk.XGtkActionableGetActionTargetValue(x.GoPointer()) | |
| 455 | + | ||
| 450 | 456 | return cret | |
| 451 | 457 | } | |
| 452 | 458 | ||
| @@ -465,7 +471,11 @@ func (x *TabButton) GetActionTargetValue() *glib.Variant { | |||
| 465 | 471 | // associated with the window. | |
| 466 | 472 | func (x *TabButton) SetActionName(ActionNameVar *string) { | |
| 467 | 473 | ||
| 468 | - | gtk.XGtkActionableSetActionName(x.GoPointer(), core.NullableStringToPtr(ActionNameVar)) | |
| 474 | + | ActionNameVarPtr, ActionNameVarBytes := core.NullableStringToPtr(ActionNameVar) | |
| 475 | + | ||
| 476 | + | gtk.XGtkActionableSetActionName(x.GoPointer(), ActionNameVarPtr) | |
| 477 | + | ||
| 478 | + | runtime.KeepAlive(ActionNameVarBytes) | |
| 469 | 479 | ||
| 470 | 480 | } | |
| 471 | 481 | ||
| @@ -526,6 +536,7 @@ func (x *TabButton) SetDetailedActionName(DetailedActionNameVar string) { | |||
| 526 | 536 | func (x *TabButton) GetBuildableId() string { | |
| 527 | 537 | ||
| 528 | 538 | cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer()) | |
| 539 | + | ||
| 529 | 540 | return cret | |
| 530 | 541 | } | |
| 531 | 542 | ||
M v4/adw/adw-tab-overview.go +13 -0
| @@ -139,6 +139,7 @@ var xTabOverviewGetEnableNewTab func(uintptr) bool | |||
| 139 | 139 | func (x *TabOverview) GetEnableNewTab() bool { | |
| 140 | 140 | ||
| 141 | 141 | cret := xTabOverviewGetEnableNewTab(x.GoPointer()) | |
| 142 | + | ||
| 142 | 143 | return cret | |
| 143 | 144 | } | |
| 144 | 145 | ||
| @@ -148,6 +149,7 @@ var xTabOverviewGetEnableSearch func(uintptr) bool | |||
| 148 | 149 | func (x *TabOverview) GetEnableSearch() bool { | |
| 149 | 150 | ||
| 150 | 151 | cret := xTabOverviewGetEnableSearch(x.GoPointer()) | |
| 152 | + | ||
| 151 | 153 | return cret | |
| 152 | 154 | } | |
| 153 | 155 | ||
| @@ -157,6 +159,7 @@ var xTabOverviewGetExtraDragPreferredAction func(uintptr) gdk.DragAction | |||
| 157 | 159 | func (x *TabOverview) GetExtraDragPreferredAction() gdk.DragAction { | |
| 158 | 160 | ||
| 159 | 161 | cret := xTabOverviewGetExtraDragPreferredAction(x.GoPointer()) | |
| 162 | + | ||
| 160 | 163 | return cret | |
| 161 | 164 | } | |
| 162 | 165 | ||
| @@ -166,6 +169,7 @@ var xTabOverviewGetExtraDragPreload func(uintptr) bool | |||
| 166 | 169 | func (x *TabOverview) GetExtraDragPreload() bool { | |
| 167 | 170 | ||
| 168 | 171 | cret := xTabOverviewGetExtraDragPreload(x.GoPointer()) | |
| 172 | + | ||
| 169 | 173 | return cret | |
| 170 | 174 | } | |
| 171 | 175 | ||
| @@ -175,6 +179,7 @@ var xTabOverviewGetInverted func(uintptr) bool | |||
| 175 | 179 | func (x *TabOverview) GetInverted() bool { | |
| 176 | 180 | ||
| 177 | 181 | cret := xTabOverviewGetInverted(x.GoPointer()) | |
| 182 | + | ||
| 178 | 183 | return cret | |
| 179 | 184 | } | |
| 180 | 185 | ||
| @@ -184,6 +189,7 @@ var xTabOverviewGetOpen func(uintptr) bool | |||
| 184 | 189 | func (x *TabOverview) GetOpen() bool { | |
| 185 | 190 | ||
| 186 | 191 | cret := xTabOverviewGetOpen(x.GoPointer()) | |
| 192 | + | ||
| 187 | 193 | return cret | |
| 188 | 194 | } | |
| 189 | 195 | ||
| @@ -195,6 +201,7 @@ var xTabOverviewGetSearchActive func(uintptr) bool | |||
| 195 | 201 | func (x *TabOverview) GetSearchActive() bool { | |
| 196 | 202 | ||
| 197 | 203 | cret := xTabOverviewGetSearchActive(x.GoPointer()) | |
| 204 | + | ||
| 198 | 205 | return cret | |
| 199 | 206 | } | |
| 200 | 207 | ||
| @@ -221,6 +228,7 @@ var xTabOverviewGetShowEndTitleButtons func(uintptr) bool | |||
| 221 | 228 | func (x *TabOverview) GetShowEndTitleButtons() bool { | |
| 222 | 229 | ||
| 223 | 230 | cret := xTabOverviewGetShowEndTitleButtons(x.GoPointer()) | |
| 231 | + | ||
| 224 | 232 | return cret | |
| 225 | 233 | } | |
| 226 | 234 | ||
| @@ -230,6 +238,7 @@ var xTabOverviewGetShowStartTitleButtons func(uintptr) bool | |||
| 230 | 238 | func (x *TabOverview) GetShowStartTitleButtons() bool { | |
| 231 | 239 | ||
| 232 | 240 | cret := xTabOverviewGetShowStartTitleButtons(x.GoPointer()) | |
| 241 | + | ||
| 233 | 242 | return cret | |
| 234 | 243 | } | |
| 235 | 244 | ||
| @@ -679,6 +688,7 @@ func (x *TabOverview) GetAccessibleParent() *gtk.AccessibleBase { | |||
| 679 | 688 | func (x *TabOverview) GetAccessibleRole() gtk.AccessibleRole { | |
| 680 | 689 | ||
| 681 | 690 | cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer()) | |
| 691 | + | ||
| 682 | 692 | return cret | |
| 683 | 693 | } | |
| 684 | 694 | ||
| @@ -704,6 +714,7 @@ func (x *TabOverview) GetAtContext() *gtk.ATContext { | |||
| 704 | 714 | func (x *TabOverview) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool { | |
| 705 | 715 | ||
| 706 | 716 | cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar) | |
| 717 | + | ||
| 707 | 718 | return cret | |
| 708 | 719 | } | |
| 709 | 720 | ||
| @@ -743,6 +754,7 @@ func (x *TabOverview) GetNextAccessibleSibling() *gtk.AccessibleBase { | |||
| 743 | 754 | func (x *TabOverview) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool { | |
| 744 | 755 | ||
| 745 | 756 | cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar) | |
| 757 | + | ||
| 746 | 758 | return cret | |
| 747 | 759 | } | |
| 748 | 760 | ||
| @@ -919,6 +931,7 @@ func (x *TabOverview) UpdateStateValue(NStatesVar int, StatesVar []gtk.Accessibl | |||
| 919 | 931 | func (x *TabOverview) GetBuildableId() string { | |
| 920 | 932 | ||
| 921 | 933 | cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer()) | |
| 934 | + | ||
| 922 | 935 | return cret | |
| 923 | 936 | } | |
| 924 | 937 | ||
M v4/adw/adw-tab-view.go +31 -0
| @@ -143,6 +143,7 @@ var xTabPageGetIndicatorActivatable func(uintptr) bool | |||
| 143 | 143 | func (x *TabPage) GetIndicatorActivatable() bool { | |
| 144 | 144 | ||
| 145 | 145 | cret := xTabPageGetIndicatorActivatable(x.GoPointer()) | |
| 146 | + | ||
| 146 | 147 | return cret | |
| 147 | 148 | } | |
| 148 | 149 | ||
| @@ -169,6 +170,7 @@ var xTabPageGetIndicatorTooltip func(uintptr) string | |||
| 169 | 170 | func (x *TabPage) GetIndicatorTooltip() string { | |
| 170 | 171 | ||
| 171 | 172 | cret := xTabPageGetIndicatorTooltip(x.GoPointer()) | |
| 173 | + | ||
| 172 | 174 | return cret | |
| 173 | 175 | } | |
| 174 | 176 | ||
| @@ -178,6 +180,7 @@ var xTabPageGetKeyword func(uintptr) string | |||
| 178 | 180 | func (x *TabPage) GetKeyword() string { | |
| 179 | 181 | ||
| 180 | 182 | cret := xTabPageGetKeyword(x.GoPointer()) | |
| 183 | + | ||
| 181 | 184 | return cret | |
| 182 | 185 | } | |
| 183 | 186 | ||
| @@ -187,6 +190,7 @@ var xTabPageGetLiveThumbnail func(uintptr) bool | |||
| 187 | 190 | func (x *TabPage) GetLiveThumbnail() bool { | |
| 188 | 191 | ||
| 189 | 192 | cret := xTabPageGetLiveThumbnail(x.GoPointer()) | |
| 193 | + | ||
| 190 | 194 | return cret | |
| 191 | 195 | } | |
| 192 | 196 | ||
| @@ -196,6 +200,7 @@ var xTabPageGetLoading func(uintptr) bool | |||
| 196 | 200 | func (x *TabPage) GetLoading() bool { | |
| 197 | 201 | ||
| 198 | 202 | cret := xTabPageGetLoading(x.GoPointer()) | |
| 203 | + | ||
| 199 | 204 | return cret | |
| 200 | 205 | } | |
| 201 | 206 | ||
| @@ -205,6 +210,7 @@ var xTabPageGetNeedsAttention func(uintptr) bool | |||
| 205 | 210 | func (x *TabPage) GetNeedsAttention() bool { | |
| 206 | 211 | ||
| 207 | 212 | cret := xTabPageGetNeedsAttention(x.GoPointer()) | |
| 213 | + | ||
| 208 | 214 | return cret | |
| 209 | 215 | } | |
| 210 | 216 | ||
| @@ -235,6 +241,7 @@ var xTabPageGetPinned func(uintptr) bool | |||
| 235 | 241 | func (x *TabPage) GetPinned() bool { | |
| 236 | 242 | ||
| 237 | 243 | cret := xTabPageGetPinned(x.GoPointer()) | |
| 244 | + | ||
| 238 | 245 | return cret | |
| 239 | 246 | } | |
| 240 | 247 | ||
| @@ -244,6 +251,7 @@ var xTabPageGetSelected func(uintptr) bool | |||
| 244 | 251 | func (x *TabPage) GetSelected() bool { | |
| 245 | 252 | ||
| 246 | 253 | cret := xTabPageGetSelected(x.GoPointer()) | |
| 254 | + | ||
| 247 | 255 | return cret | |
| 248 | 256 | } | |
| 249 | 257 | ||
| @@ -253,6 +261,7 @@ var xTabPageGetThumbnailXalign func(uintptr) float32 | |||
| 253 | 261 | func (x *TabPage) GetThumbnailXalign() float32 { | |
| 254 | 262 | ||
| 255 | 263 | cret := xTabPageGetThumbnailXalign(x.GoPointer()) | |
| 264 | + | ||
| 256 | 265 | return cret | |
| 257 | 266 | } | |
| 258 | 267 | ||
| @@ -262,6 +271,7 @@ var xTabPageGetThumbnailYalign func(uintptr) float32 | |||
| 262 | 271 | func (x *TabPage) GetThumbnailYalign() float32 { | |
| 263 | 272 | ||
| 264 | 273 | cret := xTabPageGetThumbnailYalign(x.GoPointer()) | |
| 274 | + | ||
| 265 | 275 | return cret | |
| 266 | 276 | } | |
| 267 | 277 | ||
| @@ -271,6 +281,7 @@ var xTabPageGetTitle func(uintptr) string | |||
| 271 | 281 | func (x *TabPage) GetTitle() string { | |
| 272 | 282 | ||
| 273 | 283 | cret := xTabPageGetTitle(x.GoPointer()) | |
| 284 | + | ||
| 274 | 285 | return cret | |
| 275 | 286 | } | |
| 276 | 287 | ||
| @@ -280,6 +291,7 @@ var xTabPageGetTooltip func(uintptr) string | |||
| 280 | 291 | func (x *TabPage) GetTooltip() string { | |
| 281 | 292 | ||
| 282 | 293 | cret := xTabPageGetTooltip(x.GoPointer()) | |
| 294 | + | ||
| 283 | 295 | return cret | |
| 284 | 296 | } | |
| 285 | 297 | ||
| @@ -867,6 +879,7 @@ func (x *TabPage) GetAccessibleParent() *gtk.AccessibleBase { | |||
| 867 | 879 | func (x *TabPage) GetAccessibleRole() gtk.AccessibleRole { | |
| 868 | 880 | ||
| 869 | 881 | cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer()) | |
| 882 | + | ||
| 870 | 883 | return cret | |
| 871 | 884 | } | |
| 872 | 885 | ||
| @@ -892,6 +905,7 @@ func (x *TabPage) GetAtContext() *gtk.ATContext { | |||
| 892 | 905 | func (x *TabPage) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool { | |
| 893 | 906 | ||
| 894 | 907 | cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar) | |
| 908 | + | ||
| 895 | 909 | return cret | |
| 896 | 910 | } | |
| 897 | 911 | ||
| @@ -931,6 +945,7 @@ func (x *TabPage) GetNextAccessibleSibling() *gtk.AccessibleBase { | |||
| 931 | 945 | func (x *TabPage) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool { | |
| 932 | 946 | ||
| 933 | 947 | cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar) | |
| 948 | + | ||
| 934 | 949 | return cret | |
| 935 | 950 | } | |
| 936 | 951 | ||
| @@ -1346,6 +1361,7 @@ var xTabViewGetIsTransferringPage func(uintptr) bool | |||
| 1346 | 1361 | func (x *TabView) GetIsTransferringPage() bool { | |
| 1347 | 1362 | ||
| 1348 | 1363 | cret := xTabViewGetIsTransferringPage(x.GoPointer()) | |
| 1364 | + | ||
| 1349 | 1365 | return cret | |
| 1350 | 1366 | } | |
| 1351 | 1367 | ||
| @@ -1372,6 +1388,7 @@ var xTabViewGetNPages func(uintptr) int | |||
| 1372 | 1388 | func (x *TabView) GetNPages() int { | |
| 1373 | 1389 | ||
| 1374 | 1390 | cret := xTabViewGetNPages(x.GoPointer()) | |
| 1391 | + | ||
| 1375 | 1392 | return cret | |
| 1376 | 1393 | } | |
| 1377 | 1394 | ||
| @@ -1383,6 +1400,7 @@ var xTabViewGetNPinnedPages func(uintptr) int | |||
| 1383 | 1400 | func (x *TabView) GetNPinnedPages() int { | |
| 1384 | 1401 | ||
| 1385 | 1402 | cret := xTabViewGetNPinnedPages(x.GoPointer()) | |
| 1403 | + | ||
| 1386 | 1404 | return cret | |
| 1387 | 1405 | } | |
| 1388 | 1406 | ||
| @@ -1426,6 +1444,7 @@ var xTabViewGetPagePosition func(uintptr, uintptr) int | |||
| 1426 | 1444 | func (x *TabView) GetPagePosition(PageVar *TabPage) int { | |
| 1427 | 1445 | ||
| 1428 | 1446 | cret := xTabViewGetPagePosition(x.GoPointer(), PageVar.GoPointer()) | |
| 1447 | + | ||
| 1429 | 1448 | return cret | |
| 1430 | 1449 | } | |
| 1431 | 1450 | ||
| @@ -1472,6 +1491,7 @@ var xTabViewGetShortcuts func(uintptr) TabViewShortcuts | |||
| 1472 | 1491 | func (x *TabView) GetShortcuts() TabViewShortcuts { | |
| 1473 | 1492 | ||
| 1474 | 1493 | cret := xTabViewGetShortcuts(x.GoPointer()) | |
| 1494 | + | ||
| 1475 | 1495 | return cret | |
| 1476 | 1496 | } | |
| 1477 | 1497 | ||
| @@ -1578,6 +1598,7 @@ var xTabViewReorderBackward func(uintptr, uintptr) bool | |||
| 1578 | 1598 | func (x *TabView) ReorderBackward(PageVar *TabPage) bool { | |
| 1579 | 1599 | ||
| 1580 | 1600 | cret := xTabViewReorderBackward(x.GoPointer(), PageVar.GoPointer()) | |
| 1601 | + | ||
| 1581 | 1602 | return cret | |
| 1582 | 1603 | } | |
| 1583 | 1604 | ||
| @@ -1587,6 +1608,7 @@ var xTabViewReorderFirst func(uintptr, uintptr) bool | |||
| 1587 | 1608 | func (x *TabView) ReorderFirst(PageVar *TabPage) bool { | |
| 1588 | 1609 | ||
| 1589 | 1610 | cret := xTabViewReorderFirst(x.GoPointer(), PageVar.GoPointer()) | |
| 1611 | + | ||
| 1590 | 1612 | return cret | |
| 1591 | 1613 | } | |
| 1592 | 1614 | ||
| @@ -1596,6 +1618,7 @@ var xTabViewReorderForward func(uintptr, uintptr) bool | |||
| 1596 | 1618 | func (x *TabView) ReorderForward(PageVar *TabPage) bool { | |
| 1597 | 1619 | ||
| 1598 | 1620 | cret := xTabViewReorderForward(x.GoPointer(), PageVar.GoPointer()) | |
| 1621 | + | ||
| 1599 | 1622 | return cret | |
| 1600 | 1623 | } | |
| 1601 | 1624 | ||
| @@ -1605,6 +1628,7 @@ var xTabViewReorderLast func(uintptr, uintptr) bool | |||
| 1605 | 1628 | func (x *TabView) ReorderLast(PageVar *TabPage) bool { | |
| 1606 | 1629 | ||
| 1607 | 1630 | cret := xTabViewReorderLast(x.GoPointer(), PageVar.GoPointer()) | |
| 1631 | + | ||
| 1608 | 1632 | return cret | |
| 1609 | 1633 | } | |
| 1610 | 1634 | ||
| @@ -1617,6 +1641,7 @@ var xTabViewReorderPage func(uintptr, uintptr, int) bool | |||
| 1617 | 1641 | func (x *TabView) ReorderPage(PageVar *TabPage, PositionVar int) bool { | |
| 1618 | 1642 | ||
| 1619 | 1643 | cret := xTabViewReorderPage(x.GoPointer(), PageVar.GoPointer(), PositionVar) | |
| 1644 | + | ||
| 1620 | 1645 | return cret | |
| 1621 | 1646 | } | |
| 1622 | 1647 | ||
| @@ -1628,6 +1653,7 @@ var xTabViewSelectNextPage func(uintptr) bool | |||
| 1628 | 1653 | func (x *TabView) SelectNextPage() bool { | |
| 1629 | 1654 | ||
| 1630 | 1655 | cret := xTabViewSelectNextPage(x.GoPointer()) | |
| 1656 | + | ||
| 1631 | 1657 | return cret | |
| 1632 | 1658 | } | |
| 1633 | 1659 | ||
| @@ -1639,6 +1665,7 @@ var xTabViewSelectPreviousPage func(uintptr) bool | |||
| 1639 | 1665 | func (x *TabView) SelectPreviousPage() bool { | |
| 1640 | 1666 | ||
| 1641 | 1667 | cret := xTabViewSelectPreviousPage(x.GoPointer()) | |
| 1668 | + | ||
| 1642 | 1669 | return cret | |
| 1643 | 1670 | } | |
| 1644 | 1671 | ||
| @@ -2024,6 +2051,7 @@ func (x *TabView) GetAccessibleParent() *gtk.AccessibleBase { | |||
| 2024 | 2051 | func (x *TabView) GetAccessibleRole() gtk.AccessibleRole { | |
| 2025 | 2052 | ||
| 2026 | 2053 | cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer()) | |
| 2054 | + | ||
| 2027 | 2055 | return cret | |
| 2028 | 2056 | } | |
| 2029 | 2057 | ||
| @@ -2049,6 +2077,7 @@ func (x *TabView) GetAtContext() *gtk.ATContext { | |||
| 2049 | 2077 | func (x *TabView) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool { | |
| 2050 | 2078 | ||
| 2051 | 2079 | cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar) | |
| 2080 | + | ||
| 2052 | 2081 | return cret | |
| 2053 | 2082 | } | |
| 2054 | 2083 | ||
| @@ -2088,6 +2117,7 @@ func (x *TabView) GetNextAccessibleSibling() *gtk.AccessibleBase { | |||
| 2088 | 2117 | func (x *TabView) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool { | |
| 2089 | 2118 | ||
| 2090 | 2119 | cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar) | |
| 2120 | + | ||
| 2091 | 2121 | return cret | |
| 2092 | 2122 | } | |
| 2093 | 2123 | ||
| @@ -2264,6 +2294,7 @@ func (x *TabView) UpdateStateValue(NStatesVar int, StatesVar []gtk.AccessibleSta | |||
| 2264 | 2294 | func (x *TabView) GetBuildableId() string { | |
| 2265 | 2295 | ||
| 2266 | 2296 | cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer()) | |
| 2297 | + | ||
| 2267 | 2298 | return cret | |
| 2268 | 2299 | } | |
| 2269 | 2300 | ||
M v4/adw/adw-timed-animation.go +7 -0
| @@ -76,6 +76,7 @@ var xTimedAnimationGetAlternate func(uintptr) bool | |||
| 76 | 76 | func (x *TimedAnimation) GetAlternate() bool { | |
| 77 | 77 | ||
| 78 | 78 | cret := xTimedAnimationGetAlternate(x.GoPointer()) | |
| 79 | + | ||
| 79 | 80 | return cret | |
| 80 | 81 | } | |
| 81 | 82 | ||
| @@ -85,6 +86,7 @@ var xTimedAnimationGetDuration func(uintptr) uint | |||
| 85 | 86 | func (x *TimedAnimation) GetDuration() uint { | |
| 86 | 87 | ||
| 87 | 88 | cret := xTimedAnimationGetDuration(x.GoPointer()) | |
| 89 | + | ||
| 88 | 90 | return cret | |
| 89 | 91 | } | |
| 90 | 92 | ||
| @@ -94,6 +96,7 @@ var xTimedAnimationGetEasing func(uintptr) Easing | |||
| 94 | 96 | func (x *TimedAnimation) GetEasing() Easing { | |
| 95 | 97 | ||
| 96 | 98 | cret := xTimedAnimationGetEasing(x.GoPointer()) | |
| 99 | + | ||
| 97 | 100 | return cret | |
| 98 | 101 | } | |
| 99 | 102 | ||
| @@ -103,6 +106,7 @@ var xTimedAnimationGetRepeatCount func(uintptr) uint | |||
| 103 | 106 | func (x *TimedAnimation) GetRepeatCount() uint { | |
| 104 | 107 | ||
| 105 | 108 | cret := xTimedAnimationGetRepeatCount(x.GoPointer()) | |
| 109 | + | ||
| 106 | 110 | return cret | |
| 107 | 111 | } | |
| 108 | 112 | ||
| @@ -112,6 +116,7 @@ var xTimedAnimationGetReverse func(uintptr) bool | |||
| 112 | 116 | func (x *TimedAnimation) GetReverse() bool { | |
| 113 | 117 | ||
| 114 | 118 | cret := xTimedAnimationGetReverse(x.GoPointer()) | |
| 119 | + | ||
| 115 | 120 | return cret | |
| 116 | 121 | } | |
| 117 | 122 | ||
| @@ -121,6 +126,7 @@ var xTimedAnimationGetValueFrom func(uintptr) float64 | |||
| 121 | 126 | func (x *TimedAnimation) GetValueFrom() float64 { | |
| 122 | 127 | ||
| 123 | 128 | cret := xTimedAnimationGetValueFrom(x.GoPointer()) | |
| 129 | + | ||
| 124 | 130 | return cret | |
| 125 | 131 | } | |
| 126 | 132 | ||
| @@ -130,6 +136,7 @@ var xTimedAnimationGetValueTo func(uintptr) float64 | |||
| 130 | 136 | func (x *TimedAnimation) GetValueTo() float64 { | |
| 131 | 137 | ||
| 132 | 138 | cret := xTimedAnimationGetValueTo(x.GoPointer()) | |
| 139 | + | ||
| 133 | 140 | return cret | |
| 134 | 141 | } | |
| 135 | 142 | ||
M v4/adw/adw-toast-overlay.go +4 -0
| @@ -202,6 +202,7 @@ func (x *ToastOverlay) GetAccessibleParent() *gtk.AccessibleBase { | |||
| 202 | 202 | func (x *ToastOverlay) GetAccessibleRole() gtk.AccessibleRole { | |
| 203 | 203 | ||
| 204 | 204 | cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer()) | |
| 205 | + | ||
| 205 | 206 | return cret | |
| 206 | 207 | } | |
| 207 | 208 | ||
| @@ -227,6 +228,7 @@ func (x *ToastOverlay) GetAtContext() *gtk.ATContext { | |||
| 227 | 228 | func (x *ToastOverlay) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool { | |
| 228 | 229 | ||
| 229 | 230 | cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar) | |
| 231 | + | ||
| 230 | 232 | return cret | |
| 231 | 233 | } | |
| 232 | 234 | ||
| @@ -266,6 +268,7 @@ func (x *ToastOverlay) GetNextAccessibleSibling() *gtk.AccessibleBase { | |||
| 266 | 268 | func (x *ToastOverlay) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool { | |
| 267 | 269 | ||
| 268 | 270 | cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar) | |
| 271 | + | ||
| 269 | 272 | return cret | |
| 270 | 273 | } | |
| 271 | 274 | ||
| @@ -442,6 +445,7 @@ func (x *ToastOverlay) UpdateStateValue(NStatesVar int, StatesVar []gtk.Accessib | |||
| 442 | 445 | func (x *ToastOverlay) GetBuildableId() string { | |
| 443 | 446 | ||
| 444 | 447 | cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer()) | |
| 448 | + | ||
| 445 | 449 | return cret | |
| 446 | 450 | } | |
| 447 | 451 | ||
M v4/adw/adw-toast.go +28 -4
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package adw | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "runtime" | |
| 5 | 6 | "structs" | |
| 6 | 7 | "unsafe" | |
| 7 | 8 | ||
| @@ -250,6 +251,7 @@ var xToastGetActionName func(uintptr) string | |||
| 250 | 251 | func (x *Toast) GetActionName() string { | |
| 251 | 252 | ||
| 252 | 253 | cret := xToastGetActionName(x.GoPointer()) | |
| 254 | + | ||
| 253 | 255 | return cret | |
| 254 | 256 | } | |
| 255 | 257 | ||
| @@ -259,6 +261,7 @@ var xToastGetActionTargetValue func(uintptr) *glib.Variant | |||
| 259 | 261 | func (x *Toast) GetActionTargetValue() *glib.Variant { | |
| 260 | 262 | ||
| 261 | 263 | cret := xToastGetActionTargetValue(x.GoPointer()) | |
| 264 | + | ||
| 262 | 265 | return cret | |
| 263 | 266 | } | |
| 264 | 267 | ||
| @@ -268,6 +271,7 @@ var xToastGetButtonLabel func(uintptr) string | |||
| 268 | 271 | func (x *Toast) GetButtonLabel() string { | |
| 269 | 272 | ||
| 270 | 273 | cret := xToastGetButtonLabel(x.GoPointer()) | |
| 274 | + | ||
| 271 | 275 | return cret | |
| 272 | 276 | } | |
| 273 | 277 | ||
| @@ -294,6 +298,7 @@ var xToastGetPriority func(uintptr) ToastPriority | |||
| 294 | 298 | func (x *Toast) GetPriority() ToastPriority { | |
| 295 | 299 | ||
| 296 | 300 | cret := xToastGetPriority(x.GoPointer()) | |
| 301 | + | ||
| 297 | 302 | return cret | |
| 298 | 303 | } | |
| 299 | 304 | ||
| @@ -303,6 +308,7 @@ var xToastGetTimeout func(uintptr) uint | |||
| 303 | 308 | func (x *Toast) GetTimeout() uint { | |
| 304 | 309 | ||
| 305 | 310 | cret := xToastGetTimeout(x.GoPointer()) | |
| 311 | + | ||
| 306 | 312 | return cret | |
| 307 | 313 | } | |
| 308 | 314 | ||
| @@ -315,6 +321,7 @@ var xToastGetTitle func(uintptr) string | |||
| 315 | 321 | func (x *Toast) GetTitle() string { | |
| 316 | 322 | ||
| 317 | 323 | cret := xToastGetTitle(x.GoPointer()) | |
| 324 | + | ||
| 318 | 325 | return cret | |
| 319 | 326 | } | |
| 320 | 327 | ||
| @@ -324,6 +331,7 @@ var xToastGetUseMarkup func(uintptr) bool | |||
| 324 | 331 | func (x *Toast) GetUseMarkup() bool { | |
| 325 | 332 | ||
| 326 | 333 | cret := xToastGetUseMarkup(x.GoPointer()) | |
| 334 | + | ||
| 327 | 335 | return cret | |
| 328 | 336 | } | |
| 329 | 337 | ||
| @@ -336,7 +344,11 @@ var xToastSetActionName func(uintptr, uintptr) | |||
| 336 | 344 | // See [property@Toast:action-target]. | |
| 337 | 345 | func (x *Toast) SetActionName(ActionNameVar *string) { | |
| 338 | 346 | ||
| 339 | - | xToastSetActionName(x.GoPointer(), core.NullableStringToPtr(ActionNameVar)) | |
| 347 | + | ActionNameVarPtr, ActionNameVarBytes := core.NullableStringToPtr(ActionNameVar) | |
| 348 | + | ||
| 349 | + | xToastSetActionName(x.GoPointer(), ActionNameVarPtr) | |
| 350 | + | ||
| 351 | + | runtime.KeepAlive(ActionNameVarBytes) | |
| 340 | 352 | ||
| 341 | 353 | } | |
| 342 | 354 | ||
| @@ -353,7 +365,11 @@ var xToastSetActionTarget func(uintptr, uintptr, ...interface{}) | |||
| 353 | 365 | // [method@Toast.set_detailed_action_name]. | |
| 354 | 366 | func (x *Toast) SetActionTarget(FormatStringVar *string, varArgs ...interface{}) { | |
| 355 | 367 | ||
| 356 | - | xToastSetActionTarget(x.GoPointer(), core.NullableStringToPtr(FormatStringVar), varArgs...) | |
| 368 | + | FormatStringVarPtr, FormatStringVarBytes := core.NullableStringToPtr(FormatStringVar) | |
| 369 | + | ||
| 370 | + | xToastSetActionTarget(x.GoPointer(), FormatStringVarPtr, varArgs...) | |
| 371 | + | ||
| 372 | + | runtime.KeepAlive(FormatStringVarBytes) | |
| 357 | 373 | ||
| 358 | 374 | } | |
| 359 | 375 | ||
| @@ -380,7 +396,11 @@ var xToastSetButtonLabel func(uintptr, uintptr) | |||
| 380 | 396 | // See [property@Toast:action-name]. | |
| 381 | 397 | func (x *Toast) SetButtonLabel(ButtonLabelVar *string) { | |
| 382 | 398 | ||
| 383 | - | xToastSetButtonLabel(x.GoPointer(), core.NullableStringToPtr(ButtonLabelVar)) | |
| 399 | + | ButtonLabelVarPtr, ButtonLabelVarBytes := core.NullableStringToPtr(ButtonLabelVar) | |
| 400 | + | ||
| 401 | + | xToastSetButtonLabel(x.GoPointer(), ButtonLabelVarPtr) | |
| 402 | + | ||
| 403 | + | runtime.KeepAlive(ButtonLabelVarBytes) | |
| 384 | 404 | ||
| 385 | 405 | } | |
| 386 | 406 | ||
| @@ -406,7 +426,11 @@ var xToastSetDetailedActionName func(uintptr, uintptr) | |||
| 406 | 426 | // [func@Gio.Action.parse_detailed_name]. | |
| 407 | 427 | func (x *Toast) SetDetailedActionName(DetailedActionNameVar *string) { | |
| 408 | 428 | ||
| 409 | - | xToastSetDetailedActionName(x.GoPointer(), core.NullableStringToPtr(DetailedActionNameVar)) | |
| 429 | + | DetailedActionNameVarPtr, DetailedActionNameVarBytes := core.NullableStringToPtr(DetailedActionNameVar) | |
| 430 | + | ||
| 431 | + | xToastSetDetailedActionName(x.GoPointer(), DetailedActionNameVarPtr) | |
| 432 | + | ||
| 433 | + | runtime.KeepAlive(DetailedActionNameVarBytes) | |
| 410 | 434 | ||
| 411 | 435 | } | |
| 412 | 436 | ||
M v4/adw/adw-toggle-group.go +38 -4
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package adw | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "runtime" | |
| 5 | 6 | "structs" | |
| 6 | 7 | "unsafe" | |
| 7 | 8 | ||
| @@ -92,6 +93,7 @@ var xToggleGetEnabled func(uintptr) bool | |||
| 92 | 93 | func (x *Toggle) GetEnabled() bool { | |
| 93 | 94 | ||
| 94 | 95 | cret := xToggleGetEnabled(x.GoPointer()) | |
| 96 | + | ||
| 95 | 97 | return cret | |
| 96 | 98 | } | |
| 97 | 99 | ||
| @@ -101,6 +103,7 @@ var xToggleGetIconName func(uintptr) string | |||
| 101 | 103 | func (x *Toggle) GetIconName() string { | |
| 102 | 104 | ||
| 103 | 105 | cret := xToggleGetIconName(x.GoPointer()) | |
| 106 | + | ||
| 104 | 107 | return cret | |
| 105 | 108 | } | |
| 106 | 109 | ||
| @@ -110,6 +113,7 @@ var xToggleGetIndex func(uintptr) uint | |||
| 110 | 113 | func (x *Toggle) GetIndex() uint { | |
| 111 | 114 | ||
| 112 | 115 | cret := xToggleGetIndex(x.GoPointer()) | |
| 116 | + | ||
| 113 | 117 | return cret | |
| 114 | 118 | } | |
| 115 | 119 | ||
| @@ -119,6 +123,7 @@ var xToggleGetLabel func(uintptr) string | |||
| 119 | 123 | func (x *Toggle) GetLabel() string { | |
| 120 | 124 | ||
| 121 | 125 | cret := xToggleGetLabel(x.GoPointer()) | |
| 126 | + | ||
| 122 | 127 | return cret | |
| 123 | 128 | } | |
| 124 | 129 | ||
| @@ -128,6 +133,7 @@ var xToggleGetName func(uintptr) string | |||
| 128 | 133 | func (x *Toggle) GetName() string { | |
| 129 | 134 | ||
| 130 | 135 | cret := xToggleGetName(x.GoPointer()) | |
| 136 | + | ||
| 131 | 137 | return cret | |
| 132 | 138 | } | |
| 133 | 139 | ||
| @@ -137,6 +143,7 @@ var xToggleGetTooltip func(uintptr) string | |||
| 137 | 143 | func (x *Toggle) GetTooltip() string { | |
| 138 | 144 | ||
| 139 | 145 | cret := xToggleGetTooltip(x.GoPointer()) | |
| 146 | + | ||
| 140 | 147 | return cret | |
| 141 | 148 | } | |
| 142 | 149 | ||
| @@ -146,6 +153,7 @@ var xToggleGetUseUnderline func(uintptr) bool | |||
| 146 | 153 | func (x *Toggle) GetUseUnderline() bool { | |
| 147 | 154 | ||
| 148 | 155 | cret := xToggleGetUseUnderline(x.GoPointer()) | |
| 156 | + | ||
| 149 | 157 | return cret | |
| 150 | 158 | } | |
| 151 | 159 | ||
| @@ -180,7 +188,11 @@ var xToggleSetIconName func(uintptr, uintptr) | |||
| 180 | 188 | // [property@Toggle:child] is set. | |
| 181 | 189 | func (x *Toggle) SetIconName(IconNameVar *string) { | |
| 182 | 190 | ||
| 183 | - | xToggleSetIconName(x.GoPointer(), core.NullableStringToPtr(IconNameVar)) | |
| 191 | + | IconNameVarPtr, IconNameVarBytes := core.NullableStringToPtr(IconNameVar) | |
| 192 | + | ||
| 193 | + | xToggleSetIconName(x.GoPointer(), IconNameVarPtr) | |
| 194 | + | ||
| 195 | + | runtime.KeepAlive(IconNameVarBytes) | |
| 184 | 196 | ||
| 185 | 197 | } | |
| 186 | 198 | ||
| @@ -193,7 +205,11 @@ var xToggleSetLabel func(uintptr, uintptr) | |||
| 193 | 205 | // reader. | |
| 194 | 206 | func (x *Toggle) SetLabel(LabelVar *string) { | |
| 195 | 207 | ||
| 196 | - | xToggleSetLabel(x.GoPointer(), core.NullableStringToPtr(LabelVar)) | |
| 208 | + | LabelVarPtr, LabelVarBytes := core.NullableStringToPtr(LabelVar) | |
| 209 | + | ||
| 210 | + | xToggleSetLabel(x.GoPointer(), LabelVarPtr) | |
| 211 | + | ||
| 212 | + | runtime.KeepAlive(LabelVarBytes) | |
| 197 | 213 | ||
| 198 | 214 | } | |
| 199 | 215 | ||
| @@ -206,7 +222,11 @@ var xToggleSetName func(uintptr, uintptr) | |||
| 206 | 222 | // See [property@ToggleGroup:active-name]. | |
| 207 | 223 | func (x *Toggle) SetName(NameVar *string) { | |
| 208 | 224 | ||
| 209 | - | xToggleSetName(x.GoPointer(), core.NullableStringToPtr(NameVar)) | |
| 225 | + | NameVarPtr, NameVarBytes := core.NullableStringToPtr(NameVar) | |
| 226 | + | ||
| 227 | + | xToggleSetName(x.GoPointer(), NameVarPtr) | |
| 228 | + | ||
| 229 | + | runtime.KeepAlive(NameVarBytes) | |
| 210 | 230 | ||
| 211 | 231 | } | |
| 212 | 232 | ||
| @@ -531,6 +551,7 @@ var xToggleGroupGetActive func(uintptr) uint | |||
| 531 | 551 | func (x *ToggleGroup) GetActive() uint { | |
| 532 | 552 | ||
| 533 | 553 | cret := xToggleGroupGetActive(x.GoPointer()) | |
| 554 | + | ||
| 534 | 555 | return cret | |
| 535 | 556 | } | |
| 536 | 557 | ||
| @@ -544,6 +565,7 @@ var xToggleGroupGetActiveName func(uintptr) string | |||
| 544 | 565 | func (x *ToggleGroup) GetActiveName() string { | |
| 545 | 566 | ||
| 546 | 567 | cret := xToggleGroupGetActiveName(x.GoPointer()) | |
| 568 | + | ||
| 547 | 569 | return cret | |
| 548 | 570 | } | |
| 549 | 571 | ||
| @@ -554,6 +576,7 @@ var xToggleGroupGetCanShrink func(uintptr) bool | |||
| 554 | 576 | func (x *ToggleGroup) GetCanShrink() bool { | |
| 555 | 577 | ||
| 556 | 578 | cret := xToggleGroupGetCanShrink(x.GoPointer()) | |
| 579 | + | ||
| 557 | 580 | return cret | |
| 558 | 581 | } | |
| 559 | 582 | ||
| @@ -563,6 +586,7 @@ var xToggleGroupGetHomogeneous func(uintptr) bool | |||
| 563 | 586 | func (x *ToggleGroup) GetHomogeneous() bool { | |
| 564 | 587 | ||
| 565 | 588 | cret := xToggleGroupGetHomogeneous(x.GoPointer()) | |
| 589 | + | ||
| 566 | 590 | return cret | |
| 567 | 591 | } | |
| 568 | 592 | ||
| @@ -572,6 +596,7 @@ var xToggleGroupGetNToggles func(uintptr) uint | |||
| 572 | 596 | func (x *ToggleGroup) GetNToggles() uint { | |
| 573 | 597 | ||
| 574 | 598 | cret := xToggleGroupGetNToggles(x.GoPointer()) | |
| 599 | + | ||
| 575 | 600 | return cret | |
| 576 | 601 | } | |
| 577 | 602 | ||
| @@ -668,7 +693,11 @@ var xToggleGroupSetActiveName func(uintptr, uintptr) | |||
| 668 | 693 | // If @name is `NULL`, unset the current active toggle instead. | |
| 669 | 694 | func (x *ToggleGroup) SetActiveName(NameVar *string) { | |
| 670 | 695 | ||
| 671 | - | xToggleGroupSetActiveName(x.GoPointer(), core.NullableStringToPtr(NameVar)) | |
| 696 | + | NameVarPtr, NameVarBytes := core.NullableStringToPtr(NameVar) | |
| 697 | + | ||
| 698 | + | xToggleGroupSetActiveName(x.GoPointer(), NameVarPtr) | |
| 699 | + | ||
| 700 | + | runtime.KeepAlive(NameVarBytes) | |
| 672 | 701 | ||
| 673 | 702 | } | |
| 674 | 703 | ||
| @@ -847,6 +876,7 @@ func (x *ToggleGroup) GetAccessibleParent() *gtk.AccessibleBase { | |||
| 847 | 876 | func (x *ToggleGroup) GetAccessibleRole() gtk.AccessibleRole { | |
| 848 | 877 | ||
| 849 | 878 | cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer()) | |
| 879 | + | ||
| 850 | 880 | return cret | |
| 851 | 881 | } | |
| 852 | 882 | ||
| @@ -872,6 +902,7 @@ func (x *ToggleGroup) GetAtContext() *gtk.ATContext { | |||
| 872 | 902 | func (x *ToggleGroup) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool { | |
| 873 | 903 | ||
| 874 | 904 | cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar) | |
| 905 | + | ||
| 875 | 906 | return cret | |
| 876 | 907 | } | |
| 877 | 908 | ||
| @@ -911,6 +942,7 @@ func (x *ToggleGroup) GetNextAccessibleSibling() *gtk.AccessibleBase { | |||
| 911 | 942 | func (x *ToggleGroup) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool { | |
| 912 | 943 | ||
| 913 | 944 | cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar) | |
| 945 | + | ||
| 914 | 946 | return cret | |
| 915 | 947 | } | |
| 916 | 948 | ||
| @@ -1087,6 +1119,7 @@ func (x *ToggleGroup) UpdateStateValue(NStatesVar int, StatesVar []gtk.Accessibl | |||
| 1087 | 1119 | func (x *ToggleGroup) GetBuildableId() string { | |
| 1088 | 1120 | ||
| 1089 | 1121 | cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer()) | |
| 1122 | + | ||
| 1090 | 1123 | return cret | |
| 1091 | 1124 | } | |
| 1092 | 1125 | ||
| @@ -1094,6 +1127,7 @@ func (x *ToggleGroup) GetBuildableId() string { | |||
| 1094 | 1127 | func (x *ToggleGroup) GetOrientation() gtk.Orientation { | |
| 1095 | 1128 | ||
| 1096 | 1129 | cret := gtk.XGtkOrientableGetOrientation(x.GoPointer()) | |
| 1130 | + | ||
| 1097 | 1131 | return cret | |
| 1098 | 1132 | } | |
| 1099 | 1133 | ||
M v4/adw/adw-toolbar-view.go +12 -0
| @@ -262,6 +262,7 @@ var xToolbarViewGetBottomBarHeight func(uintptr) int | |||
| 262 | 262 | func (x *ToolbarView) GetBottomBarHeight() int { | |
| 263 | 263 | ||
| 264 | 264 | cret := xToolbarViewGetBottomBarHeight(x.GoPointer()) | |
| 265 | + | ||
| 265 | 266 | return cret | |
| 266 | 267 | } | |
| 267 | 268 | ||
| @@ -271,6 +272,7 @@ var xToolbarViewGetBottomBarStyle func(uintptr) ToolbarStyle | |||
| 271 | 272 | func (x *ToolbarView) GetBottomBarStyle() ToolbarStyle { | |
| 272 | 273 | ||
| 273 | 274 | cret := xToolbarViewGetBottomBarStyle(x.GoPointer()) | |
| 275 | + | ||
| 274 | 276 | return cret | |
| 275 | 277 | } | |
| 276 | 278 | ||
| @@ -297,6 +299,7 @@ var xToolbarViewGetExtendContentToBottomEdge func(uintptr) bool | |||
| 297 | 299 | func (x *ToolbarView) GetExtendContentToBottomEdge() bool { | |
| 298 | 300 | ||
| 299 | 301 | cret := xToolbarViewGetExtendContentToBottomEdge(x.GoPointer()) | |
| 302 | + | ||
| 300 | 303 | return cret | |
| 301 | 304 | } | |
| 302 | 305 | ||
| @@ -306,6 +309,7 @@ var xToolbarViewGetExtendContentToTopEdge func(uintptr) bool | |||
| 306 | 309 | func (x *ToolbarView) GetExtendContentToTopEdge() bool { | |
| 307 | 310 | ||
| 308 | 311 | cret := xToolbarViewGetExtendContentToTopEdge(x.GoPointer()) | |
| 312 | + | ||
| 309 | 313 | return cret | |
| 310 | 314 | } | |
| 311 | 315 | ||
| @@ -315,6 +319,7 @@ var xToolbarViewGetRevealBottomBars func(uintptr) bool | |||
| 315 | 319 | func (x *ToolbarView) GetRevealBottomBars() bool { | |
| 316 | 320 | ||
| 317 | 321 | cret := xToolbarViewGetRevealBottomBars(x.GoPointer()) | |
| 322 | + | ||
| 318 | 323 | return cret | |
| 319 | 324 | } | |
| 320 | 325 | ||
| @@ -324,6 +329,7 @@ var xToolbarViewGetRevealTopBars func(uintptr) bool | |||
| 324 | 329 | func (x *ToolbarView) GetRevealTopBars() bool { | |
| 325 | 330 | ||
| 326 | 331 | cret := xToolbarViewGetRevealTopBars(x.GoPointer()) | |
| 332 | + | ||
| 327 | 333 | return cret | |
| 328 | 334 | } | |
| 329 | 335 | ||
| @@ -338,6 +344,7 @@ var xToolbarViewGetTopBarHeight func(uintptr) int | |||
| 338 | 344 | func (x *ToolbarView) GetTopBarHeight() int { | |
| 339 | 345 | ||
| 340 | 346 | cret := xToolbarViewGetTopBarHeight(x.GoPointer()) | |
| 347 | + | ||
| 341 | 348 | return cret | |
| 342 | 349 | } | |
| 343 | 350 | ||
| @@ -347,6 +354,7 @@ var xToolbarViewGetTopBarStyle func(uintptr) ToolbarStyle | |||
| 347 | 354 | func (x *ToolbarView) GetTopBarStyle() ToolbarStyle { | |
| 348 | 355 | ||
| 349 | 356 | cret := xToolbarViewGetTopBarStyle(x.GoPointer()) | |
| 357 | + | ||
| 350 | 358 | return cret | |
| 351 | 359 | } | |
| 352 | 360 | ||
| @@ -688,6 +696,7 @@ func (x *ToolbarView) GetAccessibleParent() *gtk.AccessibleBase { | |||
| 688 | 696 | func (x *ToolbarView) GetAccessibleRole() gtk.AccessibleRole { | |
| 689 | 697 | ||
| 690 | 698 | cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer()) | |
| 699 | + | ||
| 691 | 700 | return cret | |
| 692 | 701 | } | |
| 693 | 702 | ||
| @@ -713,6 +722,7 @@ func (x *ToolbarView) GetAtContext() *gtk.ATContext { | |||
| 713 | 722 | func (x *ToolbarView) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool { | |
| 714 | 723 | ||
| 715 | 724 | cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar) | |
| 725 | + | ||
| 716 | 726 | return cret | |
| 717 | 727 | } | |
| 718 | 728 | ||
| @@ -752,6 +762,7 @@ func (x *ToolbarView) GetNextAccessibleSibling() *gtk.AccessibleBase { | |||
| 752 | 762 | func (x *ToolbarView) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool { | |
| 753 | 763 | ||
| 754 | 764 | cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar) | |
| 765 | + | ||
| 755 | 766 | return cret | |
| 756 | 767 | } | |
| 757 | 768 | ||
| @@ -928,6 +939,7 @@ func (x *ToolbarView) UpdateStateValue(NStatesVar int, StatesVar []gtk.Accessibl | |||
| 928 | 939 | func (x *ToolbarView) GetBuildableId() string { | |
| 929 | 940 | ||
| 930 | 941 | cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer()) | |
| 942 | + | ||
| 931 | 943 | return cret | |
| 932 | 944 | } | |
| 933 | 945 | ||
M v4/adw/adw-version.go +3 -0
| @@ -31,6 +31,7 @@ var xGetMajorVersion func() uint | |||
| 31 | 31 | func GetMajorVersion() uint { | |
| 32 | 32 | ||
| 33 | 33 | cret := xGetMajorVersion() | |
| 34 | + | ||
| 34 | 35 | return cret | |
| 35 | 36 | } | |
| 36 | 37 | ||
| @@ -47,6 +48,7 @@ var xGetMicroVersion func() uint | |||
| 47 | 48 | func GetMicroVersion() uint { | |
| 48 | 49 | ||
| 49 | 50 | cret := xGetMicroVersion() | |
| 51 | + | ||
| 50 | 52 | return cret | |
| 51 | 53 | } | |
| 52 | 54 | ||
| @@ -63,6 +65,7 @@ var xGetMinorVersion func() uint | |||
| 63 | 65 | func GetMinorVersion() uint { | |
| 64 | 66 | ||
| 65 | 67 | cret := xGetMinorVersion() | |
| 68 | + | ||
| 66 | 69 | return cret | |
| 67 | 70 | } | |
| 68 | 71 | ||
M v4/adw/adw-view-stack.go +64 -6
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package adw | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "runtime" | |
| 5 | 6 | "structs" | |
| 6 | 7 | "unsafe" | |
| 7 | 8 | ||
| @@ -159,7 +160,11 @@ var xViewStackAddNamed func(uintptr, uintptr, uintptr) uintptr | |||
| 159 | 160 | func (x *ViewStack) AddNamed(ChildVar *gtk.Widget, NameVar *string) *ViewStackPage { | |
| 160 | 161 | var cls *ViewStackPage | |
| 161 | 162 | ||
| 162 | - | cret := xViewStackAddNamed(x.GoPointer(), ChildVar.GoPointer(), core.NullableStringToPtr(NameVar)) | |
| 163 | + | NameVarPtr, NameVarBytes := core.NullableStringToPtr(NameVar) | |
| 164 | + | ||
| 165 | + | cret := xViewStackAddNamed(x.GoPointer(), ChildVar.GoPointer(), NameVarPtr) | |
| 166 | + | ||
| 167 | + | runtime.KeepAlive(NameVarBytes) | |
| 163 | 168 | ||
| 164 | 169 | if cret == 0 { | |
| 165 | 170 | return nil | |
| @@ -179,7 +184,11 @@ var xViewStackAddTitled func(uintptr, uintptr, uintptr, string) uintptr | |||
| 179 | 184 | func (x *ViewStack) AddTitled(ChildVar *gtk.Widget, NameVar *string, TitleVar string) *ViewStackPage { | |
| 180 | 185 | var cls *ViewStackPage | |
| 181 | 186 | ||
| 182 | - | cret := xViewStackAddTitled(x.GoPointer(), ChildVar.GoPointer(), core.NullableStringToPtr(NameVar), TitleVar) | |
| 187 | + | NameVarPtr, NameVarBytes := core.NullableStringToPtr(NameVar) | |
| 188 | + | ||
| 189 | + | cret := xViewStackAddTitled(x.GoPointer(), ChildVar.GoPointer(), NameVarPtr, TitleVar) | |
| 190 | + | ||
| 191 | + | runtime.KeepAlive(NameVarBytes) | |
| 183 | 192 | ||
| 184 | 193 | if cret == 0 { | |
| 185 | 194 | return nil | |
| @@ -199,7 +208,11 @@ var xViewStackAddTitledWithIcon func(uintptr, uintptr, uintptr, string, string) | |||
| 199 | 208 | func (x *ViewStack) AddTitledWithIcon(ChildVar *gtk.Widget, NameVar *string, TitleVar string, IconNameVar string) *ViewStackPage { | |
| 200 | 209 | var cls *ViewStackPage | |
| 201 | 210 | ||
| 202 | - | cret := xViewStackAddTitledWithIcon(x.GoPointer(), ChildVar.GoPointer(), core.NullableStringToPtr(NameVar), TitleVar, IconNameVar) | |
| 211 | + | NameVarPtr, NameVarBytes := core.NullableStringToPtr(NameVar) | |
| 212 | + | ||
| 213 | + | cret := xViewStackAddTitledWithIcon(x.GoPointer(), ChildVar.GoPointer(), NameVarPtr, TitleVar, IconNameVar) | |
| 214 | + | ||
| 215 | + | runtime.KeepAlive(NameVarBytes) | |
| 203 | 216 | ||
| 204 | 217 | if cret == 0 { | |
| 205 | 218 | return nil | |
| @@ -237,6 +250,7 @@ var xViewStackGetEnableTransitions func(uintptr) bool | |||
| 237 | 250 | func (x *ViewStack) GetEnableTransitions() bool { | |
| 238 | 251 | ||
| 239 | 252 | cret := xViewStackGetEnableTransitions(x.GoPointer()) | |
| 253 | + | ||
| 240 | 254 | return cret | |
| 241 | 255 | } | |
| 242 | 256 | ||
| @@ -246,6 +260,7 @@ var xViewStackGetHhomogeneous func(uintptr) bool | |||
| 246 | 260 | func (x *ViewStack) GetHhomogeneous() bool { | |
| 247 | 261 | ||
| 248 | 262 | cret := xViewStackGetHhomogeneous(x.GoPointer()) | |
| 263 | + | ||
| 249 | 264 | return cret | |
| 250 | 265 | } | |
| 251 | 266 | ||
| @@ -292,6 +307,7 @@ var xViewStackGetTransitionDuration func(uintptr) uint | |||
| 292 | 307 | func (x *ViewStack) GetTransitionDuration() uint { | |
| 293 | 308 | ||
| 294 | 309 | cret := xViewStackGetTransitionDuration(x.GoPointer()) | |
| 310 | + | ||
| 295 | 311 | return cret | |
| 296 | 312 | } | |
| 297 | 313 | ||
| @@ -305,6 +321,7 @@ var xViewStackGetTransitionRunning func(uintptr) bool | |||
| 305 | 321 | func (x *ViewStack) GetTransitionRunning() bool { | |
| 306 | 322 | ||
| 307 | 323 | cret := xViewStackGetTransitionRunning(x.GoPointer()) | |
| 324 | + | ||
| 308 | 325 | return cret | |
| 309 | 326 | } | |
| 310 | 327 | ||
| @@ -314,6 +331,7 @@ var xViewStackGetVhomogeneous func(uintptr) bool | |||
| 314 | 331 | func (x *ViewStack) GetVhomogeneous() bool { | |
| 315 | 332 | ||
| 316 | 333 | cret := xViewStackGetVhomogeneous(x.GoPointer()) | |
| 334 | + | ||
| 317 | 335 | return cret | |
| 318 | 336 | } | |
| 319 | 337 | ||
| @@ -340,6 +358,7 @@ var xViewStackGetVisibleChildName func(uintptr) string | |||
| 340 | 358 | func (x *ViewStack) GetVisibleChildName() string { | |
| 341 | 359 | ||
| 342 | 360 | cret := xViewStackGetVisibleChildName(x.GoPointer()) | |
| 361 | + | ||
| 343 | 362 | return cret | |
| 344 | 363 | } | |
| 345 | 364 | ||
| @@ -605,6 +624,7 @@ func (x *ViewStack) GetAccessibleParent() *gtk.AccessibleBase { | |||
| 605 | 624 | func (x *ViewStack) GetAccessibleRole() gtk.AccessibleRole { | |
| 606 | 625 | ||
| 607 | 626 | cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer()) | |
| 627 | + | ||
| 608 | 628 | return cret | |
| 609 | 629 | } | |
| 610 | 630 | ||
| @@ -630,6 +650,7 @@ func (x *ViewStack) GetAtContext() *gtk.ATContext { | |||
| 630 | 650 | func (x *ViewStack) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool { | |
| 631 | 651 | ||
| 632 | 652 | cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar) | |
| 653 | + | ||
| 633 | 654 | return cret | |
| 634 | 655 | } | |
| 635 | 656 | ||
| @@ -669,6 +690,7 @@ func (x *ViewStack) GetNextAccessibleSibling() *gtk.AccessibleBase { | |||
| 669 | 690 | func (x *ViewStack) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool { | |
| 670 | 691 | ||
| 671 | 692 | cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar) | |
| 693 | + | ||
| 672 | 694 | return cret | |
| 673 | 695 | } | |
| 674 | 696 | ||
| @@ -845,6 +867,7 @@ func (x *ViewStack) UpdateStateValue(NStatesVar int, StatesVar []gtk.AccessibleS | |||
| 845 | 867 | func (x *ViewStack) GetBuildableId() string { | |
| 846 | 868 | ||
| 847 | 869 | cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer()) | |
| 870 | + | ||
| 848 | 871 | return cret | |
| 849 | 872 | } | |
| 850 | 873 | ||
| @@ -871,6 +894,7 @@ var xViewStackPageGetBadgeNumber func(uintptr) uint | |||
| 871 | 894 | func (x *ViewStackPage) GetBadgeNumber() uint { | |
| 872 | 895 | ||
| 873 | 896 | cret := xViewStackPageGetBadgeNumber(x.GoPointer()) | |
| 897 | + | ||
| 874 | 898 | return cret | |
| 875 | 899 | } | |
| 876 | 900 | ||
| @@ -897,6 +921,7 @@ var xViewStackPageGetIconName func(uintptr) string | |||
| 897 | 921 | func (x *ViewStackPage) GetIconName() string { | |
| 898 | 922 | ||
| 899 | 923 | cret := xViewStackPageGetIconName(x.GoPointer()) | |
| 924 | + | ||
| 900 | 925 | return cret | |
| 901 | 926 | } | |
| 902 | 927 | ||
| @@ -906,6 +931,7 @@ var xViewStackPageGetName func(uintptr) string | |||
| 906 | 931 | func (x *ViewStackPage) GetName() string { | |
| 907 | 932 | ||
| 908 | 933 | cret := xViewStackPageGetName(x.GoPointer()) | |
| 934 | + | ||
| 909 | 935 | return cret | |
| 910 | 936 | } | |
| 911 | 937 | ||
| @@ -915,6 +941,7 @@ var xViewStackPageGetNeedsAttention func(uintptr) bool | |||
| 915 | 941 | func (x *ViewStackPage) GetNeedsAttention() bool { | |
| 916 | 942 | ||
| 917 | 943 | cret := xViewStackPageGetNeedsAttention(x.GoPointer()) | |
| 944 | + | ||
| 918 | 945 | return cret | |
| 919 | 946 | } | |
| 920 | 947 | ||
| @@ -924,6 +951,7 @@ var xViewStackPageGetTitle func(uintptr) string | |||
| 924 | 951 | func (x *ViewStackPage) GetTitle() string { | |
| 925 | 952 | ||
| 926 | 953 | cret := xViewStackPageGetTitle(x.GoPointer()) | |
| 954 | + | ||
| 927 | 955 | return cret | |
| 928 | 956 | } | |
| 929 | 957 | ||
| @@ -933,6 +961,7 @@ var xViewStackPageGetUseUnderline func(uintptr) bool | |||
| 933 | 961 | func (x *ViewStackPage) GetUseUnderline() bool { | |
| 934 | 962 | ||
| 935 | 963 | cret := xViewStackPageGetUseUnderline(x.GoPointer()) | |
| 964 | + | ||
| 936 | 965 | return cret | |
| 937 | 966 | } | |
| 938 | 967 | ||
| @@ -945,6 +974,7 @@ var xViewStackPageGetVisible func(uintptr) bool | |||
| 945 | 974 | func (x *ViewStackPage) GetVisible() bool { | |
| 946 | 975 | ||
| 947 | 976 | cret := xViewStackPageGetVisible(x.GoPointer()) | |
| 977 | + | ||
| 948 | 978 | return cret | |
| 949 | 979 | } | |
| 950 | 980 | ||
| @@ -967,7 +997,11 @@ var xViewStackPageSetIconName func(uintptr, uintptr) | |||
| 967 | 997 | // Sets the icon name of the page. | |
| 968 | 998 | func (x *ViewStackPage) SetIconName(IconNameVar *string) { | |
| 969 | 999 | ||
| 970 | - | xViewStackPageSetIconName(x.GoPointer(), core.NullableStringToPtr(IconNameVar)) | |
| 1000 | + | IconNameVarPtr, IconNameVarBytes := core.NullableStringToPtr(IconNameVar) | |
| 1001 | + | ||
| 1002 | + | xViewStackPageSetIconName(x.GoPointer(), IconNameVarPtr) | |
| 1003 | + | ||
| 1004 | + | runtime.KeepAlive(IconNameVarBytes) | |
| 971 | 1005 | ||
| 972 | 1006 | } | |
| 973 | 1007 | ||
| @@ -976,7 +1010,11 @@ var xViewStackPageSetName func(uintptr, uintptr) | |||
| 976 | 1010 | // Sets the name of the page. | |
| 977 | 1011 | func (x *ViewStackPage) SetName(NameVar *string) { | |
| 978 | 1012 | ||
| 979 | - | xViewStackPageSetName(x.GoPointer(), core.NullableStringToPtr(NameVar)) | |
| 1013 | + | NameVarPtr, NameVarBytes := core.NullableStringToPtr(NameVar) | |
| 1014 | + | ||
| 1015 | + | xViewStackPageSetName(x.GoPointer(), NameVarPtr) | |
| 1016 | + | ||
| 1017 | + | runtime.KeepAlive(NameVarBytes) | |
| 980 | 1018 | ||
| 981 | 1019 | } | |
| 982 | 1020 | ||
| @@ -996,7 +1034,11 @@ var xViewStackPageSetTitle func(uintptr, uintptr) | |||
| 996 | 1034 | // Sets the page title. | |
| 997 | 1035 | func (x *ViewStackPage) SetTitle(TitleVar *string) { | |
| 998 | 1036 | ||
| 999 | - | xViewStackPageSetTitle(x.GoPointer(), core.NullableStringToPtr(TitleVar)) | |
| 1037 | + | TitleVarPtr, TitleVarBytes := core.NullableStringToPtr(TitleVar) | |
| 1038 | + | ||
| 1039 | + | xViewStackPageSetTitle(x.GoPointer(), TitleVarPtr) | |
| 1040 | + | ||
| 1041 | + | runtime.KeepAlive(TitleVarBytes) | |
| 1000 | 1042 | ||
| 1001 | 1043 | } | |
| 1002 | 1044 | ||
| @@ -1206,6 +1248,7 @@ func (x *ViewStackPage) GetAccessibleParent() *gtk.AccessibleBase { | |||
| 1206 | 1248 | func (x *ViewStackPage) GetAccessibleRole() gtk.AccessibleRole { | |
| 1207 | 1249 | ||
| 1208 | 1250 | cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer()) | |
| 1251 | + | ||
| 1209 | 1252 | return cret | |
| 1210 | 1253 | } | |
| 1211 | 1254 | ||
| @@ -1231,6 +1274,7 @@ func (x *ViewStackPage) GetAtContext() *gtk.ATContext { | |||
| 1231 | 1274 | func (x *ViewStackPage) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool { | |
| 1232 | 1275 | ||
| 1233 | 1276 | cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar) | |
| 1277 | + | ||
| 1234 | 1278 | return cret | |
| 1235 | 1279 | } | |
| 1236 | 1280 | ||
| @@ -1270,6 +1314,7 @@ func (x *ViewStackPage) GetNextAccessibleSibling() *gtk.AccessibleBase { | |||
| 1270 | 1314 | func (x *ViewStackPage) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool { | |
| 1271 | 1315 | ||
| 1272 | 1316 | cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar) | |
| 1317 | + | ||
| 1273 | 1318 | return cret | |
| 1274 | 1319 | } | |
| 1275 | 1320 | ||
| @@ -1513,6 +1558,7 @@ func (c *ViewStackPages) SetGoPointer(ptr uintptr) { | |||
| 1513 | 1558 | func (x *ViewStackPages) GetItem(PositionVar uint) uintptr { | |
| 1514 | 1559 | ||
| 1515 | 1560 | cret := gio.XGListModelGetItem(x.GoPointer(), PositionVar) | |
| 1561 | + | ||
| 1516 | 1562 | return cret | |
| 1517 | 1563 | } | |
| 1518 | 1564 | ||
| @@ -1527,6 +1573,7 @@ func (x *ViewStackPages) GetItem(PositionVar uint) uintptr { | |||
| 1527 | 1573 | func (x *ViewStackPages) GetItemType() types.GType { | |
| 1528 | 1574 | ||
| 1529 | 1575 | cret := gio.XGListModelGetItemType(x.GoPointer()) | |
| 1576 | + | ||
| 1530 | 1577 | return cret | |
| 1531 | 1578 | } | |
| 1532 | 1579 | ||
| @@ -1538,6 +1585,7 @@ func (x *ViewStackPages) GetItemType() types.GType { | |||
| 1538 | 1585 | func (x *ViewStackPages) GetNItems() uint { | |
| 1539 | 1586 | ||
| 1540 | 1587 | cret := gio.XGListModelGetNItems(x.GoPointer()) | |
| 1588 | + | ||
| 1541 | 1589 | return cret | |
| 1542 | 1590 | } | |
| 1543 | 1591 | ||
| @@ -1600,6 +1648,7 @@ func (x *ViewStackPages) ItemsChanged(PositionVar uint, RemovedVar uint, AddedVa | |||
| 1600 | 1648 | func (x *ViewStackPages) GetSelection() *gtk.Bitset { | |
| 1601 | 1649 | ||
| 1602 | 1650 | cret := gtk.XGtkSelectionModelGetSelection(x.GoPointer()) | |
| 1651 | + | ||
| 1603 | 1652 | return cret | |
| 1604 | 1653 | } | |
| 1605 | 1654 | ||
| @@ -1613,6 +1662,7 @@ func (x *ViewStackPages) GetSelection() *gtk.Bitset { | |||
| 1613 | 1662 | func (x *ViewStackPages) GetSelectionInRange(PositionVar uint, NItemsVar uint) *gtk.Bitset { | |
| 1614 | 1663 | ||
| 1615 | 1664 | cret := gtk.XGtkSelectionModelGetSelectionInRange(x.GoPointer(), PositionVar, NItemsVar) | |
| 1665 | + | ||
| 1616 | 1666 | return cret | |
| 1617 | 1667 | } | |
| 1618 | 1668 | ||
| @@ -1620,6 +1670,7 @@ func (x *ViewStackPages) GetSelectionInRange(PositionVar uint, NItemsVar uint) * | |||
| 1620 | 1670 | func (x *ViewStackPages) IsSelected(PositionVar uint) bool { | |
| 1621 | 1671 | ||
| 1622 | 1672 | cret := gtk.XGtkSelectionModelIsSelected(x.GoPointer(), PositionVar) | |
| 1673 | + | ||
| 1623 | 1674 | return cret | |
| 1624 | 1675 | } | |
| 1625 | 1676 | ||
| @@ -1627,6 +1678,7 @@ func (x *ViewStackPages) IsSelected(PositionVar uint) bool { | |||
| 1627 | 1678 | func (x *ViewStackPages) SelectAll() bool { | |
| 1628 | 1679 | ||
| 1629 | 1680 | cret := gtk.XGtkSelectionModelSelectAll(x.GoPointer()) | |
| 1681 | + | ||
| 1630 | 1682 | return cret | |
| 1631 | 1683 | } | |
| 1632 | 1684 | ||
| @@ -1634,6 +1686,7 @@ func (x *ViewStackPages) SelectAll() bool { | |||
| 1634 | 1686 | func (x *ViewStackPages) SelectItem(PositionVar uint, UnselectRestVar bool) bool { | |
| 1635 | 1687 | ||
| 1636 | 1688 | cret := gtk.XGtkSelectionModelSelectItem(x.GoPointer(), PositionVar, UnselectRestVar) | |
| 1689 | + | ||
| 1637 | 1690 | return cret | |
| 1638 | 1691 | } | |
| 1639 | 1692 | ||
| @@ -1641,6 +1694,7 @@ func (x *ViewStackPages) SelectItem(PositionVar uint, UnselectRestVar bool) bool | |||
| 1641 | 1694 | func (x *ViewStackPages) SelectRange(PositionVar uint, NItemsVar uint, UnselectRestVar bool) bool { | |
| 1642 | 1695 | ||
| 1643 | 1696 | cret := gtk.XGtkSelectionModelSelectRange(x.GoPointer(), PositionVar, NItemsVar, UnselectRestVar) | |
| 1697 | + | ||
| 1644 | 1698 | return cret | |
| 1645 | 1699 | } | |
| 1646 | 1700 | ||
| @@ -1693,6 +1747,7 @@ func (x *ViewStackPages) SelectionChanged(PositionVar uint, NItemsVar uint) { | |||
| 1693 | 1747 | func (x *ViewStackPages) SetSelection(SelectedVar *gtk.Bitset, MaskVar *gtk.Bitset) bool { | |
| 1694 | 1748 | ||
| 1695 | 1749 | cret := gtk.XGtkSelectionModelSetSelection(x.GoPointer(), SelectedVar, MaskVar) | |
| 1750 | + | ||
| 1696 | 1751 | return cret | |
| 1697 | 1752 | } | |
| 1698 | 1753 | ||
| @@ -1700,6 +1755,7 @@ func (x *ViewStackPages) SetSelection(SelectedVar *gtk.Bitset, MaskVar *gtk.Bits | |||
| 1700 | 1755 | func (x *ViewStackPages) UnselectAll() bool { | |
| 1701 | 1756 | ||
| 1702 | 1757 | cret := gtk.XGtkSelectionModelUnselectAll(x.GoPointer()) | |
| 1758 | + | ||
| 1703 | 1759 | return cret | |
| 1704 | 1760 | } | |
| 1705 | 1761 | ||
| @@ -1707,6 +1763,7 @@ func (x *ViewStackPages) UnselectAll() bool { | |||
| 1707 | 1763 | func (x *ViewStackPages) UnselectItem(PositionVar uint) bool { | |
| 1708 | 1764 | ||
| 1709 | 1765 | cret := gtk.XGtkSelectionModelUnselectItem(x.GoPointer(), PositionVar) | |
| 1766 | + | ||
| 1710 | 1767 | return cret | |
| 1711 | 1768 | } | |
| 1712 | 1769 | ||
| @@ -1714,6 +1771,7 @@ func (x *ViewStackPages) UnselectItem(PositionVar uint) bool { | |||
| 1714 | 1771 | func (x *ViewStackPages) UnselectRange(PositionVar uint, NItemsVar uint) bool { | |
| 1715 | 1772 | ||
| 1716 | 1773 | cret := gtk.XGtkSelectionModelUnselectRange(x.GoPointer(), PositionVar, NItemsVar) | |
| 1774 | + | ||
| 1717 | 1775 | return cret | |
| 1718 | 1776 | } | |
| 1719 | 1777 | ||
M v4/adw/adw-view-switcher-bar.go +5 -0
| @@ -124,6 +124,7 @@ var xViewSwitcherBarGetReveal func(uintptr) bool | |||
| 124 | 124 | func (x *ViewSwitcherBar) GetReveal() bool { | |
| 125 | 125 | ||
| 126 | 126 | cret := xViewSwitcherBarGetReveal(x.GoPointer()) | |
| 127 | + | ||
| 127 | 128 | return cret | |
| 128 | 129 | } | |
| 129 | 130 | ||
| @@ -225,6 +226,7 @@ func (x *ViewSwitcherBar) GetAccessibleParent() *gtk.AccessibleBase { | |||
| 225 | 226 | func (x *ViewSwitcherBar) GetAccessibleRole() gtk.AccessibleRole { | |
| 226 | 227 | ||
| 227 | 228 | cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer()) | |
| 229 | + | ||
| 228 | 230 | return cret | |
| 229 | 231 | } | |
| 230 | 232 | ||
| @@ -250,6 +252,7 @@ func (x *ViewSwitcherBar) GetAtContext() *gtk.ATContext { | |||
| 250 | 252 | func (x *ViewSwitcherBar) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool { | |
| 251 | 253 | ||
| 252 | 254 | cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar) | |
| 255 | + | ||
| 253 | 256 | return cret | |
| 254 | 257 | } | |
| 255 | 258 | ||
| @@ -289,6 +292,7 @@ func (x *ViewSwitcherBar) GetNextAccessibleSibling() *gtk.AccessibleBase { | |||
| 289 | 292 | func (x *ViewSwitcherBar) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool { | |
| 290 | 293 | ||
| 291 | 294 | cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar) | |
| 295 | + | ||
| 292 | 296 | return cret | |
| 293 | 297 | } | |
| 294 | 298 | ||
| @@ -465,6 +469,7 @@ func (x *ViewSwitcherBar) UpdateStateValue(NStatesVar int, StatesVar []gtk.Acces | |||
| 465 | 469 | func (x *ViewSwitcherBar) GetBuildableId() string { | |
| 466 | 470 | ||
| 467 | 471 | cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer()) | |
| 472 | + | ||
| 468 | 473 | return cret | |
| 469 | 474 | } | |
| 470 | 475 | ||
M v4/adw/adw-view-switcher-title.go +8 -0
| @@ -141,6 +141,7 @@ var xViewSwitcherTitleGetSubtitle func(uintptr) string | |||
| 141 | 141 | func (x *ViewSwitcherTitle) GetSubtitle() string { | |
| 142 | 142 | ||
| 143 | 143 | cret := xViewSwitcherTitleGetSubtitle(x.GoPointer()) | |
| 144 | + | ||
| 144 | 145 | return cret | |
| 145 | 146 | } | |
| 146 | 147 | ||
| @@ -150,6 +151,7 @@ var xViewSwitcherTitleGetTitle func(uintptr) string | |||
| 150 | 151 | func (x *ViewSwitcherTitle) GetTitle() string { | |
| 151 | 152 | ||
| 152 | 153 | cret := xViewSwitcherTitleGetTitle(x.GoPointer()) | |
| 154 | + | ||
| 153 | 155 | return cret | |
| 154 | 156 | } | |
| 155 | 157 | ||
| @@ -162,6 +164,7 @@ var xViewSwitcherTitleGetTitleVisible func(uintptr) bool | |||
| 162 | 164 | func (x *ViewSwitcherTitle) GetTitleVisible() bool { | |
| 163 | 165 | ||
| 164 | 166 | cret := xViewSwitcherTitleGetTitleVisible(x.GoPointer()) | |
| 167 | + | ||
| 165 | 168 | return cret | |
| 166 | 169 | } | |
| 167 | 170 | ||
| @@ -171,6 +174,7 @@ var xViewSwitcherTitleGetViewSwitcherEnabled func(uintptr) bool | |||
| 171 | 174 | func (x *ViewSwitcherTitle) GetViewSwitcherEnabled() bool { | |
| 172 | 175 | ||
| 173 | 176 | cret := xViewSwitcherTitleGetViewSwitcherEnabled(x.GoPointer()) | |
| 177 | + | ||
| 174 | 178 | return cret | |
| 175 | 179 | } | |
| 176 | 180 | ||
| @@ -354,6 +358,7 @@ func (x *ViewSwitcherTitle) GetAccessibleParent() *gtk.AccessibleBase { | |||
| 354 | 358 | func (x *ViewSwitcherTitle) GetAccessibleRole() gtk.AccessibleRole { | |
| 355 | 359 | ||
| 356 | 360 | cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer()) | |
| 361 | + | ||
| 357 | 362 | return cret | |
| 358 | 363 | } | |
| 359 | 364 | ||
| @@ -379,6 +384,7 @@ func (x *ViewSwitcherTitle) GetAtContext() *gtk.ATContext { | |||
| 379 | 384 | func (x *ViewSwitcherTitle) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool { | |
| 380 | 385 | ||
| 381 | 386 | cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar) | |
| 387 | + | ||
| 382 | 388 | return cret | |
| 383 | 389 | } | |
| 384 | 390 | ||
| @@ -418,6 +424,7 @@ func (x *ViewSwitcherTitle) GetNextAccessibleSibling() *gtk.AccessibleBase { | |||
| 418 | 424 | func (x *ViewSwitcherTitle) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool { | |
| 419 | 425 | ||
| 420 | 426 | cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar) | |
| 427 | + | ||
| 421 | 428 | return cret | |
| 422 | 429 | } | |
| 423 | 430 | ||
| @@ -594,6 +601,7 @@ func (x *ViewSwitcherTitle) UpdateStateValue(NStatesVar int, StatesVar []gtk.Acc | |||
| 594 | 601 | func (x *ViewSwitcherTitle) GetBuildableId() string { | |
| 595 | 602 | ||
| 596 | 603 | cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer()) | |
| 604 | + | ||
| 597 | 605 | return cret | |
| 598 | 606 | } | |
| 599 | 607 | ||
M v4/adw/adw-view-switcher.go +5 -0
| @@ -150,6 +150,7 @@ var xViewSwitcherGetPolicy func(uintptr) ViewSwitcherPolicy | |||
| 150 | 150 | func (x *ViewSwitcher) GetPolicy() ViewSwitcherPolicy { | |
| 151 | 151 | ||
| 152 | 152 | cret := xViewSwitcherGetPolicy(x.GoPointer()) | |
| 153 | + | ||
| 153 | 154 | return cret | |
| 154 | 155 | } | |
| 155 | 156 | ||
| @@ -234,6 +235,7 @@ func (x *ViewSwitcher) GetAccessibleParent() *gtk.AccessibleBase { | |||
| 234 | 235 | func (x *ViewSwitcher) GetAccessibleRole() gtk.AccessibleRole { | |
| 235 | 236 | ||
| 236 | 237 | cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer()) | |
| 238 | + | ||
| 237 | 239 | return cret | |
| 238 | 240 | } | |
| 239 | 241 | ||
| @@ -259,6 +261,7 @@ func (x *ViewSwitcher) GetAtContext() *gtk.ATContext { | |||
| 259 | 261 | func (x *ViewSwitcher) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool { | |
| 260 | 262 | ||
| 261 | 263 | cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar) | |
| 264 | + | ||
| 262 | 265 | return cret | |
| 263 | 266 | } | |
| 264 | 267 | ||
| @@ -298,6 +301,7 @@ func (x *ViewSwitcher) GetNextAccessibleSibling() *gtk.AccessibleBase { | |||
| 298 | 301 | func (x *ViewSwitcher) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool { | |
| 299 | 302 | ||
| 300 | 303 | cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar) | |
| 304 | + | ||
| 301 | 305 | return cret | |
| 302 | 306 | } | |
| 303 | 307 | ||
| @@ -474,6 +478,7 @@ func (x *ViewSwitcher) UpdateStateValue(NStatesVar int, StatesVar []gtk.Accessib | |||
| 474 | 478 | func (x *ViewSwitcher) GetBuildableId() string { | |
| 475 | 479 | ||
| 476 | 480 | cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer()) | |
| 481 | + | ||
| 477 | 482 | return cret | |
| 478 | 483 | } | |
| 479 | 484 | ||
M v4/adw/adw-window-title.go +6 -0
| @@ -76,6 +76,7 @@ var xWindowTitleGetSubtitle func(uintptr) string | |||
| 76 | 76 | func (x *WindowTitle) GetSubtitle() string { | |
| 77 | 77 | ||
| 78 | 78 | cret := xWindowTitleGetSubtitle(x.GoPointer()) | |
| 79 | + | ||
| 79 | 80 | return cret | |
| 80 | 81 | } | |
| 81 | 82 | ||
| @@ -85,6 +86,7 @@ var xWindowTitleGetTitle func(uintptr) string | |||
| 85 | 86 | func (x *WindowTitle) GetTitle() string { | |
| 86 | 87 | ||
| 87 | 88 | cret := xWindowTitleGetTitle(x.GoPointer()) | |
| 89 | + | ||
| 88 | 90 | return cret | |
| 89 | 91 | } | |
| 90 | 92 | ||
| @@ -201,6 +203,7 @@ func (x *WindowTitle) GetAccessibleParent() *gtk.AccessibleBase { | |||
| 201 | 203 | func (x *WindowTitle) GetAccessibleRole() gtk.AccessibleRole { | |
| 202 | 204 | ||
| 203 | 205 | cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer()) | |
| 206 | + | ||
| 204 | 207 | return cret | |
| 205 | 208 | } | |
| 206 | 209 | ||
| @@ -226,6 +229,7 @@ func (x *WindowTitle) GetAtContext() *gtk.ATContext { | |||
| 226 | 229 | func (x *WindowTitle) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool { | |
| 227 | 230 | ||
| 228 | 231 | cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar) | |
| 232 | + | ||
| 229 | 233 | return cret | |
| 230 | 234 | } | |
| 231 | 235 | ||
| @@ -265,6 +269,7 @@ func (x *WindowTitle) GetNextAccessibleSibling() *gtk.AccessibleBase { | |||
| 265 | 269 | func (x *WindowTitle) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool { | |
| 266 | 270 | ||
| 267 | 271 | cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar) | |
| 272 | + | ||
| 268 | 273 | return cret | |
| 269 | 274 | } | |
| 270 | 275 | ||
| @@ -441,6 +446,7 @@ func (x *WindowTitle) UpdateStateValue(NStatesVar int, StatesVar []gtk.Accessibl | |||
| 441 | 446 | func (x *WindowTitle) GetBuildableId() string { | |
| 442 | 447 | ||
| 443 | 448 | cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer()) | |
| 449 | + | ||
| 444 | 450 | return cret | |
| 445 | 451 | } | |
| 446 | 452 | ||
M v4/adw/adw-window.go +5 -0
| @@ -160,6 +160,7 @@ var xWindowGetAdaptivePreview func(uintptr) bool | |||
| 160 | 160 | func (x *Window) GetAdaptivePreview() bool { | |
| 161 | 161 | ||
| 162 | 162 | cret := xWindowGetAdaptivePreview(x.GoPointer()) | |
| 163 | + | ||
| 163 | 164 | return cret | |
| 164 | 165 | } | |
| 165 | 166 | ||
| @@ -341,6 +342,7 @@ func (x *Window) GetAccessibleParent() *gtk.AccessibleBase { | |||
| 341 | 342 | func (x *Window) GetAccessibleRole() gtk.AccessibleRole { | |
| 342 | 343 | ||
| 343 | 344 | cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer()) | |
| 345 | + | ||
| 344 | 346 | return cret | |
| 345 | 347 | } | |
| 346 | 348 | ||
| @@ -366,6 +368,7 @@ func (x *Window) GetAtContext() *gtk.ATContext { | |||
| 366 | 368 | func (x *Window) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool { | |
| 367 | 369 | ||
| 368 | 370 | cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar) | |
| 371 | + | ||
| 369 | 372 | return cret | |
| 370 | 373 | } | |
| 371 | 374 | ||
| @@ -405,6 +408,7 @@ func (x *Window) GetNextAccessibleSibling() *gtk.AccessibleBase { | |||
| 405 | 408 | func (x *Window) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool { | |
| 406 | 409 | ||
| 407 | 410 | cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar) | |
| 411 | + | ||
| 408 | 412 | return cret | |
| 409 | 413 | } | |
| 410 | 414 | ||
| @@ -581,6 +585,7 @@ func (x *Window) UpdateStateValue(NStatesVar int, StatesVar []gtk.AccessibleStat | |||
| 581 | 585 | func (x *Window) GetBuildableId() string { | |
| 582 | 586 | ||
| 583 | 587 | cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer()) | |
| 588 | + | ||
| 584 | 589 | return cret | |
| 585 | 590 | } | |
| 586 | 591 | ||
M v4/adw/adw-wrap-box.go +18 -0
| @@ -130,6 +130,7 @@ var xWrapBoxGetAlign func(uintptr) float32 | |||
| 130 | 130 | func (x *WrapBox) GetAlign() float32 { | |
| 131 | 131 | ||
| 132 | 132 | cret := xWrapBoxGetAlign(x.GoPointer()) | |
| 133 | + | ||
| 133 | 134 | return cret | |
| 134 | 135 | } | |
| 135 | 136 | ||
| @@ -139,6 +140,7 @@ var xWrapBoxGetChildSpacing func(uintptr) int | |||
| 139 | 140 | func (x *WrapBox) GetChildSpacing() int { | |
| 140 | 141 | ||
| 141 | 142 | cret := xWrapBoxGetChildSpacing(x.GoPointer()) | |
| 143 | + | ||
| 142 | 144 | return cret | |
| 143 | 145 | } | |
| 144 | 146 | ||
| @@ -148,6 +150,7 @@ var xWrapBoxGetChildSpacingUnit func(uintptr) LengthUnit | |||
| 148 | 150 | func (x *WrapBox) GetChildSpacingUnit() LengthUnit { | |
| 149 | 151 | ||
| 150 | 152 | cret := xWrapBoxGetChildSpacingUnit(x.GoPointer()) | |
| 153 | + | ||
| 151 | 154 | return cret | |
| 152 | 155 | } | |
| 153 | 156 | ||
| @@ -157,6 +160,7 @@ var xWrapBoxGetJustify func(uintptr) JustifyMode | |||
| 157 | 160 | func (x *WrapBox) GetJustify() JustifyMode { | |
| 158 | 161 | ||
| 159 | 162 | cret := xWrapBoxGetJustify(x.GoPointer()) | |
| 163 | + | ||
| 160 | 164 | return cret | |
| 161 | 165 | } | |
| 162 | 166 | ||
| @@ -166,6 +170,7 @@ var xWrapBoxGetJustifyLastLine func(uintptr) bool | |||
| 166 | 170 | func (x *WrapBox) GetJustifyLastLine() bool { | |
| 167 | 171 | ||
| 168 | 172 | cret := xWrapBoxGetJustifyLastLine(x.GoPointer()) | |
| 173 | + | ||
| 169 | 174 | return cret | |
| 170 | 175 | } | |
| 171 | 176 | ||
| @@ -175,6 +180,7 @@ var xWrapBoxGetLineHomogeneous func(uintptr) bool | |||
| 175 | 180 | func (x *WrapBox) GetLineHomogeneous() bool { | |
| 176 | 181 | ||
| 177 | 182 | cret := xWrapBoxGetLineHomogeneous(x.GoPointer()) | |
| 183 | + | ||
| 178 | 184 | return cret | |
| 179 | 185 | } | |
| 180 | 186 | ||
| @@ -186,6 +192,7 @@ var xWrapBoxGetLineSpacing func(uintptr) int | |||
| 186 | 192 | func (x *WrapBox) GetLineSpacing() int { | |
| 187 | 193 | ||
| 188 | 194 | cret := xWrapBoxGetLineSpacing(x.GoPointer()) | |
| 195 | + | ||
| 189 | 196 | return cret | |
| 190 | 197 | } | |
| 191 | 198 | ||
| @@ -195,6 +202,7 @@ var xWrapBoxGetLineSpacingUnit func(uintptr) LengthUnit | |||
| 195 | 202 | func (x *WrapBox) GetLineSpacingUnit() LengthUnit { | |
| 196 | 203 | ||
| 197 | 204 | cret := xWrapBoxGetLineSpacingUnit(x.GoPointer()) | |
| 205 | + | ||
| 198 | 206 | return cret | |
| 199 | 207 | } | |
| 200 | 208 | ||
| @@ -204,6 +212,7 @@ var xWrapBoxGetNaturalLineLength func(uintptr) int | |||
| 204 | 212 | func (x *WrapBox) GetNaturalLineLength() int { | |
| 205 | 213 | ||
| 206 | 214 | cret := xWrapBoxGetNaturalLineLength(x.GoPointer()) | |
| 215 | + | ||
| 207 | 216 | return cret | |
| 208 | 217 | } | |
| 209 | 218 | ||
| @@ -213,6 +222,7 @@ var xWrapBoxGetNaturalLineLengthUnit func(uintptr) LengthUnit | |||
| 213 | 222 | func (x *WrapBox) GetNaturalLineLengthUnit() LengthUnit { | |
| 214 | 223 | ||
| 215 | 224 | cret := xWrapBoxGetNaturalLineLengthUnit(x.GoPointer()) | |
| 225 | + | ||
| 216 | 226 | return cret | |
| 217 | 227 | } | |
| 218 | 228 | ||
| @@ -222,6 +232,7 @@ var xWrapBoxGetPackDirection func(uintptr) PackDirection | |||
| 222 | 232 | func (x *WrapBox) GetPackDirection() PackDirection { | |
| 223 | 233 | ||
| 224 | 234 | cret := xWrapBoxGetPackDirection(x.GoPointer()) | |
| 235 | + | ||
| 225 | 236 | return cret | |
| 226 | 237 | } | |
| 227 | 238 | ||
| @@ -231,6 +242,7 @@ var xWrapBoxGetWrapPolicy func(uintptr) WrapPolicy | |||
| 231 | 242 | func (x *WrapBox) GetWrapPolicy() WrapPolicy { | |
| 232 | 243 | ||
| 233 | 244 | cret := xWrapBoxGetWrapPolicy(x.GoPointer()) | |
| 245 | + | ||
| 234 | 246 | return cret | |
| 235 | 247 | } | |
| 236 | 248 | ||
| @@ -240,6 +252,7 @@ var xWrapBoxGetWrapReverse func(uintptr) bool | |||
| 240 | 252 | func (x *WrapBox) GetWrapReverse() bool { | |
| 241 | 253 | ||
| 242 | 254 | cret := xWrapBoxGetWrapReverse(x.GoPointer()) | |
| 255 | + | ||
| 243 | 256 | return cret | |
| 244 | 257 | } | |
| 245 | 258 | ||
| @@ -680,6 +693,7 @@ func (x *WrapBox) GetAccessibleParent() *gtk.AccessibleBase { | |||
| 680 | 693 | func (x *WrapBox) GetAccessibleRole() gtk.AccessibleRole { | |
| 681 | 694 | ||
| 682 | 695 | cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer()) | |
| 696 | + | ||
| 683 | 697 | return cret | |
| 684 | 698 | } | |
| 685 | 699 | ||
| @@ -705,6 +719,7 @@ func (x *WrapBox) GetAtContext() *gtk.ATContext { | |||
| 705 | 719 | func (x *WrapBox) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool { | |
| 706 | 720 | ||
| 707 | 721 | cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar) | |
| 722 | + | ||
| 708 | 723 | return cret | |
| 709 | 724 | } | |
| 710 | 725 | ||
| @@ -744,6 +759,7 @@ func (x *WrapBox) GetNextAccessibleSibling() *gtk.AccessibleBase { | |||
| 744 | 759 | func (x *WrapBox) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool { | |
| 745 | 760 | ||
| 746 | 761 | cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar) | |
| 762 | + | ||
| 747 | 763 | return cret | |
| 748 | 764 | } | |
| 749 | 765 | ||
| @@ -920,6 +936,7 @@ func (x *WrapBox) UpdateStateValue(NStatesVar int, StatesVar []gtk.AccessibleSta | |||
| 920 | 936 | func (x *WrapBox) GetBuildableId() string { | |
| 921 | 937 | ||
| 922 | 938 | cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer()) | |
| 939 | + | ||
| 923 | 940 | return cret | |
| 924 | 941 | } | |
| 925 | 942 | ||
| @@ -927,6 +944,7 @@ func (x *WrapBox) GetBuildableId() string { | |||
| 927 | 944 | func (x *WrapBox) GetOrientation() gtk.Orientation { | |
| 928 | 945 | ||
| 929 | 946 | cret := gtk.XGtkOrientableGetOrientation(x.GoPointer()) | |
| 947 | + | ||
| 930 | 948 | return cret | |
| 931 | 949 | } | |
| 932 | 950 | ||
M v4/adw/adw-wrap-layout.go +14 -0
| @@ -181,6 +181,7 @@ var xWrapLayoutGetAlign func(uintptr) float32 | |||
| 181 | 181 | func (x *WrapLayout) GetAlign() float32 { | |
| 182 | 182 | ||
| 183 | 183 | cret := xWrapLayoutGetAlign(x.GoPointer()) | |
| 184 | + | ||
| 184 | 185 | return cret | |
| 185 | 186 | } | |
| 186 | 187 | ||
| @@ -190,6 +191,7 @@ var xWrapLayoutGetChildSpacing func(uintptr) int | |||
| 190 | 191 | func (x *WrapLayout) GetChildSpacing() int { | |
| 191 | 192 | ||
| 192 | 193 | cret := xWrapLayoutGetChildSpacing(x.GoPointer()) | |
| 194 | + | ||
| 193 | 195 | return cret | |
| 194 | 196 | } | |
| 195 | 197 | ||
| @@ -199,6 +201,7 @@ var xWrapLayoutGetChildSpacingUnit func(uintptr) LengthUnit | |||
| 199 | 201 | func (x *WrapLayout) GetChildSpacingUnit() LengthUnit { | |
| 200 | 202 | ||
| 201 | 203 | cret := xWrapLayoutGetChildSpacingUnit(x.GoPointer()) | |
| 204 | + | ||
| 202 | 205 | return cret | |
| 203 | 206 | } | |
| 204 | 207 | ||
| @@ -208,6 +211,7 @@ var xWrapLayoutGetJustify func(uintptr) JustifyMode | |||
| 208 | 211 | func (x *WrapLayout) GetJustify() JustifyMode { | |
| 209 | 212 | ||
| 210 | 213 | cret := xWrapLayoutGetJustify(x.GoPointer()) | |
| 214 | + | ||
| 211 | 215 | return cret | |
| 212 | 216 | } | |
| 213 | 217 | ||
| @@ -217,6 +221,7 @@ var xWrapLayoutGetJustifyLastLine func(uintptr) bool | |||
| 217 | 221 | func (x *WrapLayout) GetJustifyLastLine() bool { | |
| 218 | 222 | ||
| 219 | 223 | cret := xWrapLayoutGetJustifyLastLine(x.GoPointer()) | |
| 224 | + | ||
| 220 | 225 | return cret | |
| 221 | 226 | } | |
| 222 | 227 | ||
| @@ -226,6 +231,7 @@ var xWrapLayoutGetLineHomogeneous func(uintptr) bool | |||
| 226 | 231 | func (x *WrapLayout) GetLineHomogeneous() bool { | |
| 227 | 232 | ||
| 228 | 233 | cret := xWrapLayoutGetLineHomogeneous(x.GoPointer()) | |
| 234 | + | ||
| 229 | 235 | return cret | |
| 230 | 236 | } | |
| 231 | 237 | ||
| @@ -235,6 +241,7 @@ var xWrapLayoutGetLineSpacing func(uintptr) int | |||
| 235 | 241 | func (x *WrapLayout) GetLineSpacing() int { | |
| 236 | 242 | ||
| 237 | 243 | cret := xWrapLayoutGetLineSpacing(x.GoPointer()) | |
| 244 | + | ||
| 238 | 245 | return cret | |
| 239 | 246 | } | |
| 240 | 247 | ||
| @@ -244,6 +251,7 @@ var xWrapLayoutGetLineSpacingUnit func(uintptr) LengthUnit | |||
| 244 | 251 | func (x *WrapLayout) GetLineSpacingUnit() LengthUnit { | |
| 245 | 252 | ||
| 246 | 253 | cret := xWrapLayoutGetLineSpacingUnit(x.GoPointer()) | |
| 254 | + | ||
| 247 | 255 | return cret | |
| 248 | 256 | } | |
| 249 | 257 | ||
| @@ -253,6 +261,7 @@ var xWrapLayoutGetNaturalLineLength func(uintptr) int | |||
| 253 | 261 | func (x *WrapLayout) GetNaturalLineLength() int { | |
| 254 | 262 | ||
| 255 | 263 | cret := xWrapLayoutGetNaturalLineLength(x.GoPointer()) | |
| 264 | + | ||
| 256 | 265 | return cret | |
| 257 | 266 | } | |
| 258 | 267 | ||
| @@ -262,6 +271,7 @@ var xWrapLayoutGetNaturalLineLengthUnit func(uintptr) LengthUnit | |||
| 262 | 271 | func (x *WrapLayout) GetNaturalLineLengthUnit() LengthUnit { | |
| 263 | 272 | ||
| 264 | 273 | cret := xWrapLayoutGetNaturalLineLengthUnit(x.GoPointer()) | |
| 274 | + | ||
| 265 | 275 | return cret | |
| 266 | 276 | } | |
| 267 | 277 | ||
| @@ -271,6 +281,7 @@ var xWrapLayoutGetPackDirection func(uintptr) PackDirection | |||
| 271 | 281 | func (x *WrapLayout) GetPackDirection() PackDirection { | |
| 272 | 282 | ||
| 273 | 283 | cret := xWrapLayoutGetPackDirection(x.GoPointer()) | |
| 284 | + | ||
| 274 | 285 | return cret | |
| 275 | 286 | } | |
| 276 | 287 | ||
| @@ -280,6 +291,7 @@ var xWrapLayoutGetWrapPolicy func(uintptr) WrapPolicy | |||
| 280 | 291 | func (x *WrapLayout) GetWrapPolicy() WrapPolicy { | |
| 281 | 292 | ||
| 282 | 293 | cret := xWrapLayoutGetWrapPolicy(x.GoPointer()) | |
| 294 | + | ||
| 283 | 295 | return cret | |
| 284 | 296 | } | |
| 285 | 297 | ||
| @@ -289,6 +301,7 @@ var xWrapLayoutGetWrapReverse func(uintptr) bool | |||
| 289 | 301 | func (x *WrapLayout) GetWrapReverse() bool { | |
| 290 | 302 | ||
| 291 | 303 | cret := xWrapLayoutGetWrapReverse(x.GoPointer()) | |
| 304 | + | ||
| 292 | 305 | return cret | |
| 293 | 306 | } | |
| 294 | 307 | ||
| @@ -648,6 +661,7 @@ func (x *WrapLayout) GetPropertyWrapReverse() bool { | |||
| 648 | 661 | func (x *WrapLayout) GetOrientation() gtk.Orientation { | |
| 649 | 662 | ||
| 650 | 663 | cret := gtk.XGtkOrientableGetOrientation(x.GoPointer()) | |
| 664 | + | ||
| 651 | 665 | return cret | |
| 652 | 666 | } | |
| 653 | 667 | ||
M v4/gdk/gdkapplaunchcontext.go +7 -1
| @@ -2,6 +2,8 @@ | |||
| 2 | 2 | package gdk | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "runtime" | |
| 6 | + | ||
| 5 | 7 | "github.com/jwijenbergh/purego" | |
| 6 | 8 | "github.com/jwijenbergh/puregotk/pkg/core" | |
| 7 | 9 | "github.com/jwijenbergh/puregotk/v4/gio" | |
| @@ -111,7 +113,11 @@ var xAppLaunchContextSetIconName func(uintptr, uintptr) | |||
| 111 | 113 | // for the launched application itself. | |
| 112 | 114 | func (x *AppLaunchContext) SetIconName(IconNameVar *string) { | |
| 113 | 115 | ||
| 114 | - | xAppLaunchContextSetIconName(x.GoPointer(), core.NullableStringToPtr(IconNameVar)) | |
| 116 | + | IconNameVarPtr, IconNameVarBytes := core.NullableStringToPtr(IconNameVar) | |
| 117 | + | ||
| 118 | + | xAppLaunchContextSetIconName(x.GoPointer(), IconNameVarPtr) | |
| 119 | + | ||
| 120 | + | runtime.KeepAlive(IconNameVarBytes) | |
| 115 | 121 | ||
| 116 | 122 | } | |
| 117 | 123 | ||
M v4/gdk/gdkcairo.go +1 -0
| @@ -62,6 +62,7 @@ var xCairoRegionCreateFromSurface func(*cairo.Surface) *cairo.Region | |||
| 62 | 62 | func CairoRegionCreateFromSurface(SurfaceVar *cairo.Surface) *cairo.Region { | |
| 63 | 63 | ||
| 64 | 64 | cret := xCairoRegionCreateFromSurface(SurfaceVar) | |
| 65 | + | ||
| 65 | 66 | return cret | |
| 66 | 67 | } | |
| 67 | 68 | ||
M v4/gdk/gdkcairocontext.go +1 -0
| @@ -42,6 +42,7 @@ var xCairoContextCairoCreate func(uintptr) *cairo.Context | |||
| 42 | 42 | func (x *CairoContext) CairoCreate() *cairo.Context { | |
| 43 | 43 | ||
| 44 | 44 | cret := xCairoContextCairoCreate(x.GoPointer()) | |
| 45 | + | ||
| 45 | 46 | return cret | |
| 46 | 47 | } | |
| 47 | 48 | ||
M v4/gdk/gdkcicpparams.go +5 -0
| @@ -107,6 +107,7 @@ func (x *CicpParams) BuildColorState() (*ColorState, error) { | |||
| 107 | 107 | var cerr *glib.Error | |
| 108 | 108 | ||
| 109 | 109 | cret := xCicpParamsBuildColorState(x.GoPointer()) | |
| 110 | + | ||
| 110 | 111 | if cerr == nil { | |
| 111 | 112 | return cret, nil | |
| 112 | 113 | } | |
| @@ -121,6 +122,7 @@ var xCicpParamsGetColorPrimaries func(uintptr) uint | |||
| 121 | 122 | func (x *CicpParams) GetColorPrimaries() uint { | |
| 122 | 123 | ||
| 123 | 124 | cret := xCicpParamsGetColorPrimaries(x.GoPointer()) | |
| 125 | + | ||
| 124 | 126 | return cret | |
| 125 | 127 | } | |
| 126 | 128 | ||
| @@ -130,6 +132,7 @@ var xCicpParamsGetMatrixCoefficients func(uintptr) uint | |||
| 130 | 132 | func (x *CicpParams) GetMatrixCoefficients() uint { | |
| 131 | 133 | ||
| 132 | 134 | cret := xCicpParamsGetMatrixCoefficients(x.GoPointer()) | |
| 135 | + | ||
| 133 | 136 | return cret | |
| 134 | 137 | } | |
| 135 | 138 | ||
| @@ -139,6 +142,7 @@ var xCicpParamsGetRange func(uintptr) CicpRange | |||
| 139 | 142 | func (x *CicpParams) GetRange() CicpRange { | |
| 140 | 143 | ||
| 141 | 144 | cret := xCicpParamsGetRange(x.GoPointer()) | |
| 145 | + | ||
| 142 | 146 | return cret | |
| 143 | 147 | } | |
| 144 | 148 | ||
| @@ -148,6 +152,7 @@ var xCicpParamsGetTransferFunction func(uintptr) uint | |||
| 148 | 152 | func (x *CicpParams) GetTransferFunction() uint { | |
| 149 | 153 | ||
| 150 | 154 | cret := xCicpParamsGetTransferFunction(x.GoPointer()) | |
| 155 | + | ||
| 151 | 156 | return cret | |
| 152 | 157 | } | |
| 153 | 158 | ||
M v4/gdk/gdkclipboard.go +6 -0
| @@ -87,6 +87,7 @@ var xClipboardGetFormats func(uintptr) *ContentFormats | |||
| 87 | 87 | func (x *Clipboard) GetFormats() *ContentFormats { | |
| 88 | 88 | ||
| 89 | 89 | cret := xClipboardGetFormats(x.GoPointer()) | |
| 90 | + | ||
| 90 | 91 | return cret | |
| 91 | 92 | } | |
| 92 | 93 | ||
| @@ -102,6 +103,7 @@ var xClipboardIsLocal func(uintptr) bool | |||
| 102 | 103 | func (x *Clipboard) IsLocal() bool { | |
| 103 | 104 | ||
| 104 | 105 | cret := xClipboardIsLocal(x.GoPointer()) | |
| 106 | + | ||
| 105 | 107 | return cret | |
| 106 | 108 | } | |
| 107 | 109 | ||
| @@ -193,6 +195,7 @@ func (x *Clipboard) ReadTextFinish(ResultVar gio.AsyncResult) (string, error) { | |||
| 193 | 195 | var cerr *glib.Error | |
| 194 | 196 | ||
| 195 | 197 | cret := xClipboardReadTextFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr) | |
| 198 | + | ||
| 196 | 199 | if cerr == nil { | |
| 197 | 200 | return cret, nil | |
| 198 | 201 | } | |
| @@ -289,6 +292,7 @@ func (x *Clipboard) ReadValueFinish(ResultVar gio.AsyncResult) (*gobject.Value, | |||
| 289 | 292 | var cerr *glib.Error | |
| 290 | 293 | ||
| 291 | 294 | cret := xClipboardReadValueFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr) | |
| 295 | + | ||
| 292 | 296 | if cerr == nil { | |
| 293 | 297 | return cret, nil | |
| 294 | 298 | } | |
| @@ -332,6 +336,7 @@ var xClipboardSetContent func(uintptr, uintptr) bool | |||
| 332 | 336 | func (x *Clipboard) SetContent(ProviderVar *ContentProvider) bool { | |
| 333 | 337 | ||
| 334 | 338 | cret := xClipboardSetContent(x.GoPointer(), ProviderVar.GoPointer()) | |
| 339 | + | ||
| 335 | 340 | return cret | |
| 336 | 341 | } | |
| 337 | 342 | ||
| @@ -415,6 +420,7 @@ func (x *Clipboard) StoreFinish(ResultVar gio.AsyncResult) (bool, error) { | |||
| 415 | 420 | var cerr *glib.Error | |
| 416 | 421 | ||
| 417 | 422 | cret := xClipboardStoreFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr) | |
| 423 | + | ||
| 418 | 424 | if cerr == nil { | |
| 419 | 425 | return cret, nil | |
| 420 | 426 | } | |
M v4/gdk/gdkcolorstate.go +6 -0
| @@ -14,6 +14,7 @@ var xColorStateGetOklab func() *ColorState | |||
| 14 | 14 | func ColorStateGetOklab() *ColorState { | |
| 15 | 15 | ||
| 16 | 16 | cret := xColorStateGetOklab() | |
| 17 | + | ||
| 17 | 18 | return cret | |
| 18 | 19 | } | |
| 19 | 20 | ||
| @@ -26,6 +27,7 @@ var xColorStateGetOklch func() *ColorState | |||
| 26 | 27 | func ColorStateGetOklch() *ColorState { | |
| 27 | 28 | ||
| 28 | 29 | cret := xColorStateGetOklch() | |
| 30 | + | ||
| 29 | 31 | return cret | |
| 30 | 32 | } | |
| 31 | 33 | ||
| @@ -43,6 +45,7 @@ var xColorStateGetRec2100Linear func() *ColorState | |||
| 43 | 45 | func ColorStateGetRec2100Linear() *ColorState { | |
| 44 | 46 | ||
| 45 | 47 | cret := xColorStateGetRec2100Linear() | |
| 48 | + | ||
| 46 | 49 | return cret | |
| 47 | 50 | } | |
| 48 | 51 | ||
| @@ -60,6 +63,7 @@ var xColorStateGetRec2100Pq func() *ColorState | |||
| 60 | 63 | func ColorStateGetRec2100Pq() *ColorState { | |
| 61 | 64 | ||
| 62 | 65 | cret := xColorStateGetRec2100Pq() | |
| 66 | + | ||
| 63 | 67 | return cret | |
| 64 | 68 | } | |
| 65 | 69 | ||
| @@ -77,6 +81,7 @@ var xColorStateGetSrgb func() *ColorState | |||
| 77 | 81 | func ColorStateGetSrgb() *ColorState { | |
| 78 | 82 | ||
| 79 | 83 | cret := xColorStateGetSrgb() | |
| 84 | + | ||
| 80 | 85 | return cret | |
| 81 | 86 | } | |
| 82 | 87 | ||
| @@ -93,6 +98,7 @@ var xColorStateGetSrgbLinear func() *ColorState | |||
| 93 | 98 | func ColorStateGetSrgbLinear() *ColorState { | |
| 94 | 99 | ||
| 95 | 100 | cret := xColorStateGetSrgbLinear() | |
| 101 | + | ||
| 96 | 102 | return cret | |
| 97 | 103 | } | |
| 98 | 104 | ||
M v4/gdk/gdkcontentdeserializer.go +9 -0
| @@ -53,6 +53,7 @@ func ContentDeserializeFinish(ResultVar gio.AsyncResult, ValueVar *gobject.Value | |||
| 53 | 53 | var cerr *glib.Error | |
| 54 | 54 | ||
| 55 | 55 | cret := xContentDeserializeFinish(ResultVar.GoPointer(), ValueVar, &cerr) | |
| 56 | + | ||
| 56 | 57 | if cerr == nil { | |
| 57 | 58 | return cret, nil | |
| 58 | 59 | } | |
| @@ -154,6 +155,7 @@ var xContentDeserializerGetGtype func(uintptr) types.GType | |||
| 154 | 155 | func (x *ContentDeserializer) GetGtype() types.GType { | |
| 155 | 156 | ||
| 156 | 157 | cret := xContentDeserializerGetGtype(x.GoPointer()) | |
| 158 | + | ||
| 157 | 159 | return cret | |
| 158 | 160 | } | |
| 159 | 161 | ||
| @@ -182,6 +184,7 @@ var xContentDeserializerGetMimeType func(uintptr) string | |||
| 182 | 184 | func (x *ContentDeserializer) GetMimeType() string { | |
| 183 | 185 | ||
| 184 | 186 | cret := xContentDeserializerGetMimeType(x.GoPointer()) | |
| 187 | + | ||
| 185 | 188 | return cret | |
| 186 | 189 | } | |
| 187 | 190 | ||
| @@ -193,6 +196,7 @@ var xContentDeserializerGetPriority func(uintptr) int | |||
| 193 | 196 | func (x *ContentDeserializer) GetPriority() int { | |
| 194 | 197 | ||
| 195 | 198 | cret := xContentDeserializerGetPriority(x.GoPointer()) | |
| 199 | + | ||
| 196 | 200 | return cret | |
| 197 | 201 | } | |
| 198 | 202 | ||
| @@ -204,6 +208,7 @@ var xContentDeserializerGetTaskData func(uintptr) uintptr | |||
| 204 | 208 | func (x *ContentDeserializer) GetTaskData() uintptr { | |
| 205 | 209 | ||
| 206 | 210 | cret := xContentDeserializerGetTaskData(x.GoPointer()) | |
| 211 | + | ||
| 207 | 212 | return cret | |
| 208 | 213 | } | |
| 209 | 214 | ||
| @@ -213,6 +218,7 @@ var xContentDeserializerGetUserData func(uintptr) uintptr | |||
| 213 | 218 | func (x *ContentDeserializer) GetUserData() uintptr { | |
| 214 | 219 | ||
| 215 | 220 | cret := xContentDeserializerGetUserData(x.GoPointer()) | |
| 221 | + | ||
| 216 | 222 | return cret | |
| 217 | 223 | } | |
| 218 | 224 | ||
| @@ -222,6 +228,7 @@ var xContentDeserializerGetValue func(uintptr) *gobject.Value | |||
| 222 | 228 | func (x *ContentDeserializer) GetValue() *gobject.Value { | |
| 223 | 229 | ||
| 224 | 230 | cret := xContentDeserializerGetValue(x.GoPointer()) | |
| 231 | + | ||
| 225 | 232 | return cret | |
| 226 | 233 | } | |
| 227 | 234 | ||
| @@ -299,6 +306,7 @@ func (x *ContentDeserializer) GetSourceObject() *gobject.Object { | |||
| 299 | 306 | func (x *ContentDeserializer) IsTagged(SourceTagVar uintptr) bool { | |
| 300 | 307 | ||
| 301 | 308 | cret := gio.XGAsyncResultIsTagged(x.GoPointer(), SourceTagVar) | |
| 309 | + | ||
| 302 | 310 | return cret | |
| 303 | 311 | } | |
| 304 | 312 | ||
| @@ -316,6 +324,7 @@ func (x *ContentDeserializer) LegacyPropagateError() (bool, error) { | |||
| 316 | 324 | var cerr *glib.Error | |
| 317 | 325 | ||
| 318 | 326 | cret := gio.XGAsyncResultLegacyPropagateError(x.GoPointer()) | |
| 327 | + | ||
| 319 | 328 | if cerr == nil { | |
| 320 | 329 | return cret, nil | |
| 321 | 330 | } | |
M v4/gdk/gdkcontentformats.go +9 -0
| @@ -35,6 +35,7 @@ var xNewContentFormatsBuilder func() *ContentFormatsBuilder | |||
| 35 | 35 | func NewContentFormatsBuilder() *ContentFormatsBuilder { | |
| 36 | 36 | ||
| 37 | 37 | cret := xNewContentFormatsBuilder() | |
| 38 | + | ||
| 38 | 39 | return cret | |
| 39 | 40 | } | |
| 40 | 41 | ||
| @@ -73,6 +74,7 @@ var xContentFormatsBuilderFreeToFormats func(uintptr) *ContentFormats | |||
| 73 | 74 | func (x *ContentFormatsBuilder) FreeToFormats() *ContentFormats { | |
| 74 | 75 | ||
| 75 | 76 | cret := xContentFormatsBuilderFreeToFormats(x.GoPointer()) | |
| 77 | + | ||
| 76 | 78 | return cret | |
| 77 | 79 | } | |
| 78 | 80 | ||
| @@ -85,6 +87,7 @@ var xContentFormatsBuilderRef func(uintptr) *ContentFormatsBuilder | |||
| 85 | 87 | func (x *ContentFormatsBuilder) Ref() *ContentFormatsBuilder { | |
| 86 | 88 | ||
| 87 | 89 | cret := xContentFormatsBuilderRef(x.GoPointer()) | |
| 90 | + | ||
| 88 | 91 | return cret | |
| 89 | 92 | } | |
| 90 | 93 | ||
| @@ -100,6 +103,7 @@ var xContentFormatsBuilderToFormats func(uintptr) *ContentFormats | |||
| 100 | 103 | func (x *ContentFormatsBuilder) ToFormats() *ContentFormats { | |
| 101 | 104 | ||
| 102 | 105 | cret := xContentFormatsBuilderToFormats(x.GoPointer()) | |
| 106 | + | ||
| 103 | 107 | return cret | |
| 104 | 108 | } | |
| 105 | 109 | ||
| @@ -135,6 +139,7 @@ var xNewFileListFromArray func(uintptr, uint) *FileList | |||
| 135 | 139 | func NewFileListFromArray(FilesVar uintptr, NFilesVar uint) *FileList { | |
| 136 | 140 | ||
| 137 | 141 | cret := xNewFileListFromArray(FilesVar, NFilesVar) | |
| 142 | + | ||
| 138 | 143 | return cret | |
| 139 | 144 | } | |
| 140 | 145 | ||
| @@ -147,6 +152,7 @@ var xNewFileListFromList func(*glib.SList) *FileList | |||
| 147 | 152 | func NewFileListFromList(FilesVar *glib.SList) *FileList { | |
| 148 | 153 | ||
| 149 | 154 | cret := xNewFileListFromList(FilesVar) | |
| 155 | + | ||
| 150 | 156 | return cret | |
| 151 | 157 | } | |
| 152 | 158 | ||
| @@ -158,6 +164,7 @@ var xFileListGetFiles func(uintptr) *glib.SList | |||
| 158 | 164 | func (x *FileList) GetFiles() *glib.SList { | |
| 159 | 165 | ||
| 160 | 166 | cret := xFileListGetFiles(x.GoPointer()) | |
| 167 | + | ||
| 161 | 168 | return cret | |
| 162 | 169 | } | |
| 163 | 170 | ||
| @@ -174,6 +181,7 @@ var xContentFormatsParse func(string) *ContentFormats | |||
| 174 | 181 | func ContentFormatsParse(StringVar string) *ContentFormats { | |
| 175 | 182 | ||
| 176 | 183 | cret := xContentFormatsParse(StringVar) | |
| 184 | + | ||
| 177 | 185 | return cret | |
| 178 | 186 | } | |
| 179 | 187 | ||
| @@ -186,6 +194,7 @@ var xInternMimeType func(string) string | |||
| 186 | 194 | func InternMimeType(StringVar string) string { | |
| 187 | 195 | ||
| 188 | 196 | cret := xInternMimeType(StringVar) | |
| 197 | + | ||
| 189 | 198 | return cret | |
| 190 | 199 | } | |
| 191 | 200 | ||
M v4/gdk/gdkcontentprovider.go +4 -0
| @@ -360,6 +360,7 @@ func (x *ContentProvider) GetValue(ValueVar *gobject.Value) (bool, error) { | |||
| 360 | 360 | var cerr *glib.Error | |
| 361 | 361 | ||
| 362 | 362 | cret := xContentProviderGetValue(x.GoPointer(), ValueVar, &cerr) | |
| 363 | + | ||
| 363 | 364 | if cerr == nil { | |
| 364 | 365 | return cret, nil | |
| 365 | 366 | } | |
| @@ -373,6 +374,7 @@ var xContentProviderRefFormats func(uintptr) *ContentFormats | |||
| 373 | 374 | func (x *ContentProvider) RefFormats() *ContentFormats { | |
| 374 | 375 | ||
| 375 | 376 | cret := xContentProviderRefFormats(x.GoPointer()) | |
| 377 | + | ||
| 376 | 378 | return cret | |
| 377 | 379 | } | |
| 378 | 380 | ||
| @@ -387,6 +389,7 @@ var xContentProviderRefStorableFormats func(uintptr) *ContentFormats | |||
| 387 | 389 | func (x *ContentProvider) RefStorableFormats() *ContentFormats { | |
| 388 | 390 | ||
| 389 | 391 | cret := xContentProviderRefStorableFormats(x.GoPointer()) | |
| 392 | + | ||
| 390 | 393 | return cret | |
| 391 | 394 | } | |
| 392 | 395 | ||
| @@ -430,6 +433,7 @@ func (x *ContentProvider) WriteMimeTypeFinish(ResultVar gio.AsyncResult) (bool, | |||
| 430 | 433 | var cerr *glib.Error | |
| 431 | 434 | ||
| 432 | 435 | cret := xContentProviderWriteMimeTypeFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr) | |
| 436 | + | ||
| 433 | 437 | if cerr == nil { | |
| 434 | 438 | return cret, nil | |
| 435 | 439 | } | |
M v4/gdk/gdkcontentserializer.go +9 -0
| @@ -96,6 +96,7 @@ func ContentSerializeFinish(ResultVar gio.AsyncResult) (bool, error) { | |||
| 96 | 96 | var cerr *glib.Error | |
| 97 | 97 | ||
| 98 | 98 | cret := xContentSerializeFinish(ResultVar.GoPointer(), &cerr) | |
| 99 | + | ||
| 99 | 100 | if cerr == nil { | |
| 100 | 101 | return cret, nil | |
| 101 | 102 | } | |
| @@ -155,6 +156,7 @@ var xContentSerializerGetGtype func(uintptr) types.GType | |||
| 155 | 156 | func (x *ContentSerializer) GetGtype() types.GType { | |
| 156 | 157 | ||
| 157 | 158 | cret := xContentSerializerGetGtype(x.GoPointer()) | |
| 159 | + | ||
| 158 | 160 | return cret | |
| 159 | 161 | } | |
| 160 | 162 | ||
| @@ -164,6 +166,7 @@ var xContentSerializerGetMimeType func(uintptr) string | |||
| 164 | 166 | func (x *ContentSerializer) GetMimeType() string { | |
| 165 | 167 | ||
| 166 | 168 | cret := xContentSerializerGetMimeType(x.GoPointer()) | |
| 169 | + | ||
| 167 | 170 | return cret | |
| 168 | 171 | } | |
| 169 | 172 | ||
| @@ -194,6 +197,7 @@ var xContentSerializerGetPriority func(uintptr) int | |||
| 194 | 197 | func (x *ContentSerializer) GetPriority() int { | |
| 195 | 198 | ||
| 196 | 199 | cret := xContentSerializerGetPriority(x.GoPointer()) | |
| 200 | + | ||
| 197 | 201 | return cret | |
| 198 | 202 | } | |
| 199 | 203 | ||
| @@ -205,6 +209,7 @@ var xContentSerializerGetTaskData func(uintptr) uintptr | |||
| 205 | 209 | func (x *ContentSerializer) GetTaskData() uintptr { | |
| 206 | 210 | ||
| 207 | 211 | cret := xContentSerializerGetTaskData(x.GoPointer()) | |
| 212 | + | ||
| 208 | 213 | return cret | |
| 209 | 214 | } | |
| 210 | 215 | ||
| @@ -214,6 +219,7 @@ var xContentSerializerGetUserData func(uintptr) uintptr | |||
| 214 | 219 | func (x *ContentSerializer) GetUserData() uintptr { | |
| 215 | 220 | ||
| 216 | 221 | cret := xContentSerializerGetUserData(x.GoPointer()) | |
| 222 | + | ||
| 217 | 223 | return cret | |
| 218 | 224 | } | |
| 219 | 225 | ||
| @@ -223,6 +229,7 @@ var xContentSerializerGetValue func(uintptr) *gobject.Value | |||
| 223 | 229 | func (x *ContentSerializer) GetValue() *gobject.Value { | |
| 224 | 230 | ||
| 225 | 231 | cret := xContentSerializerGetValue(x.GoPointer()) | |
| 232 | + | ||
| 226 | 233 | return cret | |
| 227 | 234 | } | |
| 228 | 235 | ||
| @@ -300,6 +307,7 @@ func (x *ContentSerializer) GetSourceObject() *gobject.Object { | |||
| 300 | 307 | func (x *ContentSerializer) IsTagged(SourceTagVar uintptr) bool { | |
| 301 | 308 | ||
| 302 | 309 | cret := gio.XGAsyncResultIsTagged(x.GoPointer(), SourceTagVar) | |
| 310 | + | ||
| 303 | 311 | return cret | |
| 304 | 312 | } | |
| 305 | 313 | ||
| @@ -317,6 +325,7 @@ func (x *ContentSerializer) LegacyPropagateError() (bool, error) { | |||
| 317 | 325 | var cerr *glib.Error | |
| 318 | 326 | ||
| 319 | 327 | cret := gio.XGAsyncResultLegacyPropagateError(x.GoPointer()) | |
| 328 | + | ||
| 320 | 329 | if cerr == nil { | |
| 321 | 330 | return cret, nil | |
| 322 | 331 | } | |
M v4/gdk/gdkcursor.go +3 -0
| @@ -235,6 +235,7 @@ var xCursorGetHotspotX func(uintptr) int | |||
| 235 | 235 | func (x *Cursor) GetHotspotX() int { | |
| 236 | 236 | ||
| 237 | 237 | cret := xCursorGetHotspotX(x.GoPointer()) | |
| 238 | + | ||
| 238 | 239 | return cret | |
| 239 | 240 | } | |
| 240 | 241 | ||
| @@ -250,6 +251,7 @@ var xCursorGetHotspotY func(uintptr) int | |||
| 250 | 251 | func (x *Cursor) GetHotspotY() int { | |
| 251 | 252 | ||
| 252 | 253 | cret := xCursorGetHotspotY(x.GoPointer()) | |
| 254 | + | ||
| 253 | 255 | return cret | |
| 254 | 256 | } | |
| 255 | 257 | ||
| @@ -261,6 +263,7 @@ var xCursorGetName func(uintptr) string | |||
| 261 | 263 | func (x *Cursor) GetName() string { | |
| 262 | 264 | ||
| 263 | 265 | cret := xCursorGetName(x.GoPointer()) | |
| 266 | + | ||
| 264 | 267 | return cret | |
| 265 | 268 | } | |
| 266 | 269 | ||
M v4/gdk/gdkdevice.go +15 -0
| @@ -95,6 +95,7 @@ var xDeviceGetActiveLayoutIndex func(uintptr) int | |||
| 95 | 95 | func (x *Device) GetActiveLayoutIndex() int { | |
| 96 | 96 | ||
| 97 | 97 | cret := xDeviceGetActiveLayoutIndex(x.GoPointer()) | |
| 98 | + | ||
| 98 | 99 | return cret | |
| 99 | 100 | } | |
| 100 | 101 | ||
| @@ -106,6 +107,7 @@ var xDeviceGetCapsLockState func(uintptr) bool | |||
| 106 | 107 | func (x *Device) GetCapsLockState() bool { | |
| 107 | 108 | ||
| 108 | 109 | cret := xDeviceGetCapsLockState(x.GoPointer()) | |
| 110 | + | ||
| 109 | 111 | return cret | |
| 110 | 112 | } | |
| 111 | 113 | ||
| @@ -137,6 +139,7 @@ var xDeviceGetDirection func(uintptr) pango.Direction | |||
| 137 | 139 | func (x *Device) GetDirection() pango.Direction { | |
| 138 | 140 | ||
| 139 | 141 | cret := xDeviceGetDirection(x.GoPointer()) | |
| 142 | + | ||
| 140 | 143 | return cret | |
| 141 | 144 | } | |
| 142 | 145 | ||
| @@ -166,6 +169,7 @@ var xDeviceGetHasCursor func(uintptr) bool | |||
| 166 | 169 | func (x *Device) GetHasCursor() bool { | |
| 167 | 170 | ||
| 168 | 171 | cret := xDeviceGetHasCursor(x.GoPointer()) | |
| 172 | + | ||
| 169 | 173 | return cret | |
| 170 | 174 | } | |
| 171 | 175 | ||
| @@ -177,6 +181,7 @@ var xDeviceGetLayoutNames func(uintptr) []string | |||
| 177 | 181 | func (x *Device) GetLayoutNames() []string { | |
| 178 | 182 | ||
| 179 | 183 | cret := xDeviceGetLayoutNames(x.GoPointer()) | |
| 184 | + | ||
| 180 | 185 | return cret | |
| 181 | 186 | } | |
| 182 | 187 | ||
| @@ -188,6 +193,7 @@ var xDeviceGetModifierState func(uintptr) ModifierType | |||
| 188 | 193 | func (x *Device) GetModifierState() ModifierType { | |
| 189 | 194 | ||
| 190 | 195 | cret := xDeviceGetModifierState(x.GoPointer()) | |
| 196 | + | ||
| 191 | 197 | return cret | |
| 192 | 198 | } | |
| 193 | 199 | ||
| @@ -197,6 +203,7 @@ var xDeviceGetName func(uintptr) string | |||
| 197 | 203 | func (x *Device) GetName() string { | |
| 198 | 204 | ||
| 199 | 205 | cret := xDeviceGetName(x.GoPointer()) | |
| 206 | + | ||
| 200 | 207 | return cret | |
| 201 | 208 | } | |
| 202 | 209 | ||
| @@ -208,6 +215,7 @@ var xDeviceGetNumLockState func(uintptr) bool | |||
| 208 | 215 | func (x *Device) GetNumLockState() bool { | |
| 209 | 216 | ||
| 210 | 217 | cret := xDeviceGetNumLockState(x.GoPointer()) | |
| 218 | + | ||
| 211 | 219 | return cret | |
| 212 | 220 | } | |
| 213 | 221 | ||
| @@ -217,6 +225,7 @@ var xDeviceGetNumTouches func(uintptr) uint | |||
| 217 | 225 | func (x *Device) GetNumTouches() uint { | |
| 218 | 226 | ||
| 219 | 227 | cret := xDeviceGetNumTouches(x.GoPointer()) | |
| 228 | + | ||
| 220 | 229 | return cret | |
| 221 | 230 | } | |
| 222 | 231 | ||
| @@ -229,6 +238,7 @@ var xDeviceGetProductId func(uintptr) string | |||
| 229 | 238 | func (x *Device) GetProductId() string { | |
| 230 | 239 | ||
| 231 | 240 | cret := xDeviceGetProductId(x.GoPointer()) | |
| 241 | + | ||
| 232 | 242 | return cret | |
| 233 | 243 | } | |
| 234 | 244 | ||
| @@ -240,6 +250,7 @@ var xDeviceGetScrollLockState func(uintptr) bool | |||
| 240 | 250 | func (x *Device) GetScrollLockState() bool { | |
| 241 | 251 | ||
| 242 | 252 | cret := xDeviceGetScrollLockState(x.GoPointer()) | |
| 253 | + | ||
| 243 | 254 | return cret | |
| 244 | 255 | } | |
| 245 | 256 | ||
| @@ -266,6 +277,7 @@ var xDeviceGetSource func(uintptr) InputSource | |||
| 266 | 277 | func (x *Device) GetSource() InputSource { | |
| 267 | 278 | ||
| 268 | 279 | cret := xDeviceGetSource(x.GoPointer()) | |
| 280 | + | ||
| 269 | 281 | return cret | |
| 270 | 282 | } | |
| 271 | 283 | ||
| @@ -301,6 +313,7 @@ var xDeviceGetTimestamp func(uintptr) uint32 | |||
| 301 | 313 | func (x *Device) GetTimestamp() uint32 { | |
| 302 | 314 | ||
| 303 | 315 | cret := xDeviceGetTimestamp(x.GoPointer()) | |
| 316 | + | ||
| 304 | 317 | return cret | |
| 305 | 318 | } | |
| 306 | 319 | ||
| @@ -338,6 +351,7 @@ var xDeviceGetVendorId func(uintptr) string | |||
| 338 | 351 | func (x *Device) GetVendorId() string { | |
| 339 | 352 | ||
| 340 | 353 | cret := xDeviceGetVendorId(x.GoPointer()) | |
| 354 | + | ||
| 341 | 355 | return cret | |
| 342 | 356 | } | |
| 343 | 357 | ||
| @@ -350,6 +364,7 @@ var xDeviceHasBidiLayouts func(uintptr) bool | |||
| 350 | 364 | func (x *Device) HasBidiLayouts() bool { | |
| 351 | 365 | ||
| 352 | 366 | cret := xDeviceHasBidiLayouts(x.GoPointer()) | |
| 367 | + | ||
| 353 | 368 | return cret | |
| 354 | 369 | } | |
| 355 | 370 | ||
M v4/gdk/gdkdevicepad.go +4 -0
| @@ -70,6 +70,7 @@ func (x *DevicePadBase) SetGoPointer(ptr uintptr) { | |||
| 70 | 70 | func (x *DevicePadBase) GetFeatureGroup(FeatureVar DevicePadFeature, FeatureIdxVar int) int { | |
| 71 | 71 | ||
| 72 | 72 | cret := XGdkDevicePadGetFeatureGroup(x.GoPointer(), FeatureVar, FeatureIdxVar) | |
| 73 | + | ||
| 73 | 74 | return cret | |
| 74 | 75 | } | |
| 75 | 76 | ||
| @@ -77,6 +78,7 @@ func (x *DevicePadBase) GetFeatureGroup(FeatureVar DevicePadFeature, FeatureIdxV | |||
| 77 | 78 | func (x *DevicePadBase) GetGroupNModes(GroupIdxVar int) int { | |
| 78 | 79 | ||
| 79 | 80 | cret := XGdkDevicePadGetGroupNModes(x.GoPointer(), GroupIdxVar) | |
| 81 | + | ||
| 80 | 82 | return cret | |
| 81 | 83 | } | |
| 82 | 84 | ||
| @@ -84,6 +86,7 @@ func (x *DevicePadBase) GetGroupNModes(GroupIdxVar int) int { | |||
| 84 | 86 | func (x *DevicePadBase) GetNFeatures(FeatureVar DevicePadFeature) int { | |
| 85 | 87 | ||
| 86 | 88 | cret := XGdkDevicePadGetNFeatures(x.GoPointer(), FeatureVar) | |
| 89 | + | ||
| 87 | 90 | return cret | |
| 88 | 91 | } | |
| 89 | 92 | ||
| @@ -95,6 +98,7 @@ func (x *DevicePadBase) GetNFeatures(FeatureVar DevicePadFeature) int { | |||
| 95 | 98 | func (x *DevicePadBase) GetNGroups() int { | |
| 96 | 99 | ||
| 97 | 100 | cret := XGdkDevicePadGetNGroups(x.GoPointer()) | |
| 101 | + | ||
| 98 | 102 | return cret | |
| 99 | 103 | } | |
| 100 | 104 | ||
M v4/gdk/gdkdevicetool.go +4 -0
| @@ -61,6 +61,7 @@ var xDeviceToolGetAxes func(uintptr) AxisFlags | |||
| 61 | 61 | func (x *DeviceTool) GetAxes() AxisFlags { | |
| 62 | 62 | ||
| 63 | 63 | cret := xDeviceToolGetAxes(x.GoPointer()) | |
| 64 | + | ||
| 64 | 65 | return cret | |
| 65 | 66 | } | |
| 66 | 67 | ||
| @@ -80,6 +81,7 @@ var xDeviceToolGetHardwareId func(uintptr) uint64 | |||
| 80 | 81 | func (x *DeviceTool) GetHardwareId() uint64 { | |
| 81 | 82 | ||
| 82 | 83 | cret := xDeviceToolGetHardwareId(x.GoPointer()) | |
| 84 | + | ||
| 83 | 85 | return cret | |
| 84 | 86 | } | |
| 85 | 87 | ||
| @@ -92,6 +94,7 @@ var xDeviceToolGetSerial func(uintptr) uint64 | |||
| 92 | 94 | func (x *DeviceTool) GetSerial() uint64 { | |
| 93 | 95 | ||
| 94 | 96 | cret := xDeviceToolGetSerial(x.GoPointer()) | |
| 97 | + | ||
| 95 | 98 | return cret | |
| 96 | 99 | } | |
| 97 | 100 | ||
| @@ -101,6 +104,7 @@ var xDeviceToolGetToolType func(uintptr) DeviceToolType | |||
| 101 | 104 | func (x *DeviceTool) GetToolType() DeviceToolType { | |
| 102 | 105 | ||
| 103 | 106 | cret := xDeviceToolGetToolType(x.GoPointer()) | |
| 107 | + | ||
| 104 | 108 | return cret | |
| 105 | 109 | } | |
| 106 | 110 | ||
M v4/gdk/gdkdisplay.go +21 -1
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gdk | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "runtime" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -97,6 +98,7 @@ var xDisplayDeviceIsGrabbed func(uintptr, uintptr) bool | |||
| 97 | 98 | func (x *Display) DeviceIsGrabbed(DeviceVar *Device) bool { | |
| 98 | 99 | ||
| 99 | 100 | cret := xDisplayDeviceIsGrabbed(x.GoPointer(), DeviceVar.GoPointer()) | |
| 101 | + | ||
| 100 | 102 | return cret | |
| 101 | 103 | } | |
| 102 | 104 | ||
| @@ -188,6 +190,7 @@ var xDisplayGetDmabufFormats func(uintptr) *DmabufFormats | |||
| 188 | 190 | func (x *Display) GetDmabufFormats() *DmabufFormats { | |
| 189 | 191 | ||
| 190 | 192 | cret := xDisplayGetDmabufFormats(x.GoPointer()) | |
| 193 | + | ||
| 191 | 194 | return cret | |
| 192 | 195 | } | |
| 193 | 196 | ||
| @@ -238,6 +241,7 @@ var xDisplayGetName func(uintptr) string | |||
| 238 | 241 | func (x *Display) GetName() string { | |
| 239 | 242 | ||
| 240 | 243 | cret := xDisplayGetName(x.GoPointer()) | |
| 244 | + | ||
| 241 | 245 | return cret | |
| 242 | 246 | } | |
| 243 | 247 | ||
| @@ -268,6 +272,7 @@ var xDisplayGetSetting func(uintptr, string, *gobject.Value) bool | |||
| 268 | 272 | func (x *Display) GetSetting(NameVar string, ValueVar *gobject.Value) bool { | |
| 269 | 273 | ||
| 270 | 274 | cret := xDisplayGetSetting(x.GoPointer(), NameVar, ValueVar) | |
| 275 | + | ||
| 271 | 276 | return cret | |
| 272 | 277 | } | |
| 273 | 278 | ||
| @@ -278,6 +283,7 @@ var xDisplayGetStartupNotificationId func(uintptr) string | |||
| 278 | 283 | func (x *Display) GetStartupNotificationId() string { | |
| 279 | 284 | ||
| 280 | 285 | cret := xDisplayGetStartupNotificationId(x.GoPointer()) | |
| 286 | + | ||
| 281 | 287 | return cret | |
| 282 | 288 | } | |
| 283 | 289 | ||
| @@ -287,6 +293,7 @@ var xDisplayIsClosed func(uintptr) bool | |||
| 287 | 293 | func (x *Display) IsClosed() bool { | |
| 288 | 294 | ||
| 289 | 295 | cret := xDisplayIsClosed(x.GoPointer()) | |
| 296 | + | ||
| 290 | 297 | return cret | |
| 291 | 298 | } | |
| 292 | 299 | ||
| @@ -305,6 +312,7 @@ var xDisplayIsComposited func(uintptr) bool | |||
| 305 | 312 | func (x *Display) IsComposited() bool { | |
| 306 | 313 | ||
| 307 | 314 | cret := xDisplayIsComposited(x.GoPointer()) | |
| 315 | + | ||
| 308 | 316 | return cret | |
| 309 | 317 | } | |
| 310 | 318 | ||
| @@ -324,6 +332,7 @@ var xDisplayIsRgba func(uintptr) bool | |||
| 324 | 332 | func (x *Display) IsRgba() bool { | |
| 325 | 333 | ||
| 326 | 334 | cret := xDisplayIsRgba(x.GoPointer()) | |
| 335 | + | ||
| 327 | 336 | return cret | |
| 328 | 337 | } | |
| 329 | 338 | ||
| @@ -333,6 +342,7 @@ var xDisplayListSeats func(uintptr) *glib.List | |||
| 333 | 342 | func (x *Display) ListSeats() *glib.List { | |
| 334 | 343 | ||
| 335 | 344 | cret := xDisplayListSeats(x.GoPointer()) | |
| 345 | + | ||
| 336 | 346 | return cret | |
| 337 | 347 | } | |
| 338 | 348 | ||
| @@ -350,6 +360,7 @@ var xDisplayMapKeycode func(uintptr, uint, *uintptr, *[]uint, *int) bool | |||
| 350 | 360 | func (x *Display) MapKeycode(KeycodeVar uint, KeysVar *uintptr, KeyvalsVar *[]uint, NEntriesVar *int) bool { | |
| 351 | 361 | ||
| 352 | 362 | cret := xDisplayMapKeycode(x.GoPointer(), KeycodeVar, KeysVar, KeyvalsVar, NEntriesVar) | |
| 363 | + | ||
| 353 | 364 | return cret | |
| 354 | 365 | } | |
| 355 | 366 | ||
| @@ -373,6 +384,7 @@ var xDisplayMapKeyval func(uintptr, uint, *uintptr, *int) bool | |||
| 373 | 384 | func (x *Display) MapKeyval(KeyvalVar uint, KeysVar *uintptr, NKeysVar *int) bool { | |
| 374 | 385 | ||
| 375 | 386 | cret := xDisplayMapKeyval(x.GoPointer(), KeyvalVar, KeysVar, NKeysVar) | |
| 387 | + | ||
| 376 | 388 | return cret | |
| 377 | 389 | } | |
| 378 | 390 | ||
| @@ -411,6 +423,7 @@ func (x *Display) PrepareGl() (bool, error) { | |||
| 411 | 423 | var cerr *glib.Error | |
| 412 | 424 | ||
| 413 | 425 | cret := xDisplayPrepareGl(x.GoPointer()) | |
| 426 | + | ||
| 414 | 427 | if cerr == nil { | |
| 415 | 428 | return cret, nil | |
| 416 | 429 | } | |
| @@ -438,6 +451,7 @@ var xDisplaySupportsInputShapes func(uintptr) bool | |||
| 438 | 451 | func (x *Display) SupportsInputShapes() bool { | |
| 439 | 452 | ||
| 440 | 453 | cret := xDisplaySupportsInputShapes(x.GoPointer()) | |
| 454 | + | ||
| 441 | 455 | return cret | |
| 442 | 456 | } | |
| 443 | 457 | ||
| @@ -450,6 +464,7 @@ var xDisplaySupportsShadowWidth func(uintptr) bool | |||
| 450 | 464 | func (x *Display) SupportsShadowWidth() bool { | |
| 451 | 465 | ||
| 452 | 466 | cret := xDisplaySupportsShadowWidth(x.GoPointer()) | |
| 467 | + | ||
| 453 | 468 | return cret | |
| 454 | 469 | } | |
| 455 | 470 | ||
| @@ -495,6 +510,7 @@ var xDisplayTranslateKey func(uintptr, uint, ModifierType, int, *uint, *int, *in | |||
| 495 | 510 | func (x *Display) TranslateKey(KeycodeVar uint, StateVar ModifierType, GroupVar int, KeyvalVar *uint, EffectiveGroupVar *int, LevelVar *int, ConsumedVar *ModifierType) bool { | |
| 496 | 511 | ||
| 497 | 512 | cret := xDisplayTranslateKey(x.GoPointer(), KeycodeVar, StateVar, GroupVar, KeyvalVar, EffectiveGroupVar, LevelVar, ConsumedVar) | |
| 513 | + | ||
| 498 | 514 | return cret | |
| 499 | 515 | } | |
| 500 | 516 | ||
| @@ -678,7 +694,11 @@ var xDisplayOpen func(uintptr) uintptr | |||
| 678 | 694 | func DisplayOpen(DisplayNameVar *string) *Display { | |
| 679 | 695 | var cls *Display | |
| 680 | 696 | ||
| 681 | - | cret := xDisplayOpen(core.NullableStringToPtr(DisplayNameVar)) | |
| 697 | + | DisplayNameVarPtr, DisplayNameVarBytes := core.NullableStringToPtr(DisplayNameVar) | |
| 698 | + | ||
| 699 | + | cret := xDisplayOpen(DisplayNameVarPtr) | |
| 700 | + | ||
| 701 | + | runtime.KeepAlive(DisplayNameVarBytes) | |
| 682 | 702 | ||
| 683 | 703 | if cret == 0 { | |
| 684 | 704 | return nil | |
M v4/gdk/gdkdisplaymanager.go +7 -1
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gdk | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "runtime" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -140,6 +141,7 @@ var xDisplayManagerListDisplays func(uintptr) *glib.SList | |||
| 140 | 141 | func (x *DisplayManager) ListDisplays() *glib.SList { | |
| 141 | 142 | ||
| 142 | 143 | cret := xDisplayManagerListDisplays(x.GoPointer()) | |
| 144 | + | ||
| 143 | 145 | return cret | |
| 144 | 146 | } | |
| 145 | 147 | ||
| @@ -149,7 +151,11 @@ var xDisplayManagerOpenDisplay func(uintptr, uintptr) uintptr | |||
| 149 | 151 | func (x *DisplayManager) OpenDisplay(NameVar *string) *Display { | |
| 150 | 152 | var cls *Display | |
| 151 | 153 | ||
| 152 | - | cret := xDisplayManagerOpenDisplay(x.GoPointer(), core.NullableStringToPtr(NameVar)) | |
| 154 | + | NameVarPtr, NameVarBytes := core.NullableStringToPtr(NameVar) | |
| 155 | + | ||
| 156 | + | cret := xDisplayManagerOpenDisplay(x.GoPointer(), NameVarPtr) | |
| 157 | + | ||
| 158 | + | runtime.KeepAlive(NameVarBytes) | |
| 153 | 159 | ||
| 154 | 160 | if cret == 0 { | |
| 155 | 161 | return nil | |
M v4/gdk/gdkdmabuftexture.go +9 -0
| @@ -26,6 +26,7 @@ var xDmabufErrorQuark func() glib.Quark | |||
| 26 | 26 | func DmabufErrorQuark() glib.Quark { | |
| 27 | 27 | ||
| 28 | 28 | cret := xDmabufErrorQuark() | |
| 29 | + | ||
| 29 | 30 | return cret | |
| 30 | 31 | } | |
| 31 | 32 | ||
| @@ -105,6 +106,7 @@ func (x *DmabufTexture) GetCurrentImage() *PaintableBase { | |||
| 105 | 106 | func (x *DmabufTexture) GetFlags() PaintableFlags { | |
| 106 | 107 | ||
| 107 | 108 | cret := XGdkPaintableGetFlags(x.GoPointer()) | |
| 109 | + | ||
| 108 | 110 | return cret | |
| 109 | 111 | } | |
| 110 | 112 | ||
| @@ -128,6 +130,7 @@ func (x *DmabufTexture) GetFlags() PaintableFlags { | |||
| 128 | 130 | func (x *DmabufTexture) GetIntrinsicAspectRatio() float64 { | |
| 129 | 131 | ||
| 130 | 132 | cret := XGdkPaintableGetIntrinsicAspectRatio(x.GoPointer()) | |
| 133 | + | ||
| 131 | 134 | return cret | |
| 132 | 135 | } | |
| 133 | 136 | ||
| @@ -144,6 +147,7 @@ func (x *DmabufTexture) GetIntrinsicAspectRatio() float64 { | |||
| 144 | 147 | func (x *DmabufTexture) GetIntrinsicHeight() int { | |
| 145 | 148 | ||
| 146 | 149 | cret := XGdkPaintableGetIntrinsicHeight(x.GoPointer()) | |
| 150 | + | ||
| 147 | 151 | return cret | |
| 148 | 152 | } | |
| 149 | 153 | ||
| @@ -160,6 +164,7 @@ func (x *DmabufTexture) GetIntrinsicHeight() int { | |||
| 160 | 164 | func (x *DmabufTexture) GetIntrinsicWidth() int { | |
| 161 | 165 | ||
| 162 | 166 | cret := XGdkPaintableGetIntrinsicWidth(x.GoPointer()) | |
| 167 | + | ||
| 163 | 168 | return cret | |
| 164 | 169 | } | |
| 165 | 170 | ||
| @@ -210,6 +215,7 @@ func (x *DmabufTexture) Snapshot(SnapshotVar *Snapshot, WidthVar float64, Height | |||
| 210 | 215 | func (x *DmabufTexture) Equal(Icon2Var gio.Icon) bool { | |
| 211 | 216 | ||
| 212 | 217 | cret := gio.XGIconEqual(x.GoPointer(), Icon2Var.GoPointer()) | |
| 218 | + | ||
| 213 | 219 | return cret | |
| 214 | 220 | } | |
| 215 | 221 | ||
| @@ -217,6 +223,7 @@ func (x *DmabufTexture) Equal(Icon2Var gio.Icon) bool { | |||
| 217 | 223 | func (x *DmabufTexture) Hash() uint { | |
| 218 | 224 | ||
| 219 | 225 | cret := gio.XGIconHash(x.GoPointer()) | |
| 226 | + | ||
| 220 | 227 | return cret | |
| 221 | 228 | } | |
| 222 | 229 | ||
| @@ -228,6 +235,7 @@ func (x *DmabufTexture) Hash() uint { | |||
| 228 | 235 | func (x *DmabufTexture) Serialize() *glib.Variant { | |
| 229 | 236 | ||
| 230 | 237 | cret := gio.XGIconSerialize(x.GoPointer()) | |
| 238 | + | ||
| 231 | 239 | return cret | |
| 232 | 240 | } | |
| 233 | 241 | ||
| @@ -250,6 +258,7 @@ func (x *DmabufTexture) Serialize() *glib.Variant { | |||
| 250 | 258 | func (x *DmabufTexture) ToString() string { | |
| 251 | 259 | ||
| 252 | 260 | cret := gio.XGIconToString(x.GoPointer()) | |
| 261 | + | ||
| 253 | 262 | return cret | |
| 254 | 263 | } | |
| 255 | 264 | ||
M v4/gdk/gdkdmabuftexturebuilder.go +11 -0
| @@ -166,6 +166,7 @@ var xDmabufTextureBuilderGetColorState func(uintptr) *ColorState | |||
| 166 | 166 | func (x *DmabufTextureBuilder) GetColorState() *ColorState { | |
| 167 | 167 | ||
| 168 | 168 | cret := xDmabufTextureBuilderGetColorState(x.GoPointer()) | |
| 169 | + | ||
| 169 | 170 | return cret | |
| 170 | 171 | } | |
| 171 | 172 | ||
| @@ -193,6 +194,7 @@ var xDmabufTextureBuilderGetFd func(uintptr, uint) int | |||
| 193 | 194 | func (x *DmabufTextureBuilder) GetFd(PlaneVar uint) int { | |
| 194 | 195 | ||
| 195 | 196 | cret := xDmabufTextureBuilderGetFd(x.GoPointer(), PlaneVar) | |
| 197 | + | ||
| 196 | 198 | return cret | |
| 197 | 199 | } | |
| 198 | 200 | ||
| @@ -205,6 +207,7 @@ var xDmabufTextureBuilderGetFourcc func(uintptr) uint32 | |||
| 205 | 207 | func (x *DmabufTextureBuilder) GetFourcc() uint32 { | |
| 206 | 208 | ||
| 207 | 209 | cret := xDmabufTextureBuilderGetFourcc(x.GoPointer()) | |
| 210 | + | ||
| 208 | 211 | return cret | |
| 209 | 212 | } | |
| 210 | 213 | ||
| @@ -215,6 +218,7 @@ var xDmabufTextureBuilderGetHeight func(uintptr) uint | |||
| 215 | 218 | func (x *DmabufTextureBuilder) GetHeight() uint { | |
| 216 | 219 | ||
| 217 | 220 | cret := xDmabufTextureBuilderGetHeight(x.GoPointer()) | |
| 221 | + | ||
| 218 | 222 | return cret | |
| 219 | 223 | } | |
| 220 | 224 | ||
| @@ -224,6 +228,7 @@ var xDmabufTextureBuilderGetModifier func(uintptr) uint64 | |||
| 224 | 228 | func (x *DmabufTextureBuilder) GetModifier() uint64 { | |
| 225 | 229 | ||
| 226 | 230 | cret := xDmabufTextureBuilderGetModifier(x.GoPointer()) | |
| 231 | + | ||
| 227 | 232 | return cret | |
| 228 | 233 | } | |
| 229 | 234 | ||
| @@ -233,6 +238,7 @@ var xDmabufTextureBuilderGetNPlanes func(uintptr) uint | |||
| 233 | 238 | func (x *DmabufTextureBuilder) GetNPlanes() uint { | |
| 234 | 239 | ||
| 235 | 240 | cret := xDmabufTextureBuilderGetNPlanes(x.GoPointer()) | |
| 241 | + | ||
| 236 | 242 | return cret | |
| 237 | 243 | } | |
| 238 | 244 | ||
| @@ -242,6 +248,7 @@ var xDmabufTextureBuilderGetOffset func(uintptr, uint) uint | |||
| 242 | 248 | func (x *DmabufTextureBuilder) GetOffset(PlaneVar uint) uint { | |
| 243 | 249 | ||
| 244 | 250 | cret := xDmabufTextureBuilderGetOffset(x.GoPointer(), PlaneVar) | |
| 251 | + | ||
| 245 | 252 | return cret | |
| 246 | 253 | } | |
| 247 | 254 | ||
| @@ -251,6 +258,7 @@ var xDmabufTextureBuilderGetPremultiplied func(uintptr) bool | |||
| 251 | 258 | func (x *DmabufTextureBuilder) GetPremultiplied() bool { | |
| 252 | 259 | ||
| 253 | 260 | cret := xDmabufTextureBuilderGetPremultiplied(x.GoPointer()) | |
| 261 | + | ||
| 254 | 262 | return cret | |
| 255 | 263 | } | |
| 256 | 264 | ||
| @@ -260,6 +268,7 @@ var xDmabufTextureBuilderGetStride func(uintptr, uint) uint | |||
| 260 | 268 | func (x *DmabufTextureBuilder) GetStride(PlaneVar uint) uint { | |
| 261 | 269 | ||
| 262 | 270 | cret := xDmabufTextureBuilderGetStride(x.GoPointer(), PlaneVar) | |
| 271 | + | ||
| 263 | 272 | return cret | |
| 264 | 273 | } | |
| 265 | 274 | ||
| @@ -270,6 +279,7 @@ var xDmabufTextureBuilderGetUpdateRegion func(uintptr) *cairo.Region | |||
| 270 | 279 | func (x *DmabufTextureBuilder) GetUpdateRegion() *cairo.Region { | |
| 271 | 280 | ||
| 272 | 281 | cret := xDmabufTextureBuilderGetUpdateRegion(x.GoPointer()) | |
| 282 | + | ||
| 273 | 283 | return cret | |
| 274 | 284 | } | |
| 275 | 285 | ||
| @@ -298,6 +308,7 @@ var xDmabufTextureBuilderGetWidth func(uintptr) uint | |||
| 298 | 308 | func (x *DmabufTextureBuilder) GetWidth() uint { | |
| 299 | 309 | ||
| 300 | 310 | cret := xDmabufTextureBuilderGetWidth(x.GoPointer()) | |
| 311 | + | ||
| 301 | 312 | return cret | |
| 302 | 313 | } | |
| 303 | 314 | ||
M v4/gdk/gdkdrag.go +4 -0
| @@ -40,6 +40,7 @@ var xDragActionIsUnique func(DragAction) bool | |||
| 40 | 40 | func DragActionIsUnique(ActionVar DragAction) bool { | |
| 41 | 41 | ||
| 42 | 42 | cret := xDragActionIsUnique(ActionVar) | |
| 43 | + | ||
| 43 | 44 | return cret | |
| 44 | 45 | } | |
| 45 | 46 | ||
| @@ -94,6 +95,7 @@ var xDragGetActions func(uintptr) DragAction | |||
| 94 | 95 | func (x *Drag) GetActions() DragAction { | |
| 95 | 96 | ||
| 96 | 97 | cret := xDragGetActions(x.GoPointer()) | |
| 98 | + | ||
| 97 | 99 | return cret | |
| 98 | 100 | } | |
| 99 | 101 | ||
| @@ -177,6 +179,7 @@ var xDragGetFormats func(uintptr) *ContentFormats | |||
| 177 | 179 | func (x *Drag) GetFormats() *ContentFormats { | |
| 178 | 180 | ||
| 179 | 181 | cret := xDragGetFormats(x.GoPointer()) | |
| 182 | + | ||
| 180 | 183 | return cret | |
| 181 | 184 | } | |
| 182 | 185 | ||
| @@ -186,6 +189,7 @@ var xDragGetSelectedAction func(uintptr) DragAction | |||
| 186 | 189 | func (x *Drag) GetSelectedAction() DragAction { | |
| 187 | 190 | ||
| 188 | 191 | cret := xDragGetSelectedAction(x.GoPointer()) | |
| 192 | + | ||
| 189 | 193 | return cret | |
| 190 | 194 | } | |
| 191 | 195 | ||
M v4/gdk/gdkdragsurface.go +1 -0
| @@ -51,6 +51,7 @@ func (x *DragSurfaceBase) SetGoPointer(ptr uintptr) { | |||
| 51 | 51 | func (x *DragSurfaceBase) Present(WidthVar int, HeightVar int) bool { | |
| 52 | 52 | ||
| 53 | 53 | cret := XGdkDragSurfacePresent(x.GoPointer(), WidthVar, HeightVar) | |
| 54 | + | ||
| 54 | 55 | return cret | |
| 55 | 56 | } | |
| 56 | 57 | ||
M v4/gdk/gdkdrawcontext.go +2 -0
| @@ -112,6 +112,7 @@ var xDrawContextGetFrameRegion func(uintptr) *cairo.Region | |||
| 112 | 112 | func (x *DrawContext) GetFrameRegion() *cairo.Region { | |
| 113 | 113 | ||
| 114 | 114 | cret := xDrawContextGetFrameRegion(x.GoPointer()) | |
| 115 | + | ||
| 115 | 116 | return cret | |
| 116 | 117 | } | |
| 117 | 118 | ||
| @@ -142,6 +143,7 @@ var xDrawContextIsInFrame func(uintptr) bool | |||
| 142 | 143 | func (x *DrawContext) IsInFrame() bool { | |
| 143 | 144 | ||
| 144 | 145 | cret := xDrawContextIsInFrame(x.GoPointer()) | |
| 146 | + | ||
| 145 | 147 | return cret | |
| 146 | 148 | } | |
| 147 | 149 | ||
M v4/gdk/gdkdrop.go +3 -0
| @@ -73,6 +73,7 @@ var xDropGetActions func(uintptr) DragAction | |||
| 73 | 73 | func (x *Drop) GetActions() DragAction { | |
| 74 | 74 | ||
| 75 | 75 | cret := xDropGetActions(x.GoPointer()) | |
| 76 | + | ||
| 76 | 77 | return cret | |
| 77 | 78 | } | |
| 78 | 79 | ||
| @@ -137,6 +138,7 @@ var xDropGetFormats func(uintptr) *ContentFormats | |||
| 137 | 138 | func (x *Drop) GetFormats() *ContentFormats { | |
| 138 | 139 | ||
| 139 | 140 | cret := xDropGetFormats(x.GoPointer()) | |
| 141 | + | ||
| 140 | 142 | return cret | |
| 141 | 143 | } | |
| 142 | 144 | ||
| @@ -248,6 +250,7 @@ func (x *Drop) ReadValueFinish(ResultVar gio.AsyncResult) (*gobject.Value, error | |||
| 248 | 250 | var cerr *glib.Error | |
| 249 | 251 | ||
| 250 | 252 | cret := xDropReadValueFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr) | |
| 253 | + | ||
| 251 | 254 | if cerr == nil { | |
| 252 | 255 | return cret, nil | |
| 253 | 256 | } | |
M v4/gdk/gdkevents.go +40 -0
| @@ -332,6 +332,7 @@ var xEventsGetAngle func(uintptr, uintptr, *float64) bool | |||
| 332 | 332 | func EventsGetAngle(Event1Var *Event, Event2Var *Event, AngleVar *float64) bool { | |
| 333 | 333 | ||
| 334 | 334 | cret := xEventsGetAngle(Event1Var.GoPointer(), Event2Var.GoPointer(), AngleVar) | |
| 335 | + | ||
| 335 | 336 | return cret | |
| 336 | 337 | } | |
| 337 | 338 | ||
| @@ -344,6 +345,7 @@ var xEventsGetCenter func(uintptr, uintptr, *float64, *float64) bool | |||
| 344 | 345 | func EventsGetCenter(Event1Var *Event, Event2Var *Event, XVar *float64, YVar *float64) bool { | |
| 345 | 346 | ||
| 346 | 347 | cret := xEventsGetCenter(Event1Var.GoPointer(), Event2Var.GoPointer(), XVar, YVar) | |
| 348 | + | ||
| 347 | 349 | return cret | |
| 348 | 350 | } | |
| 349 | 351 | ||
| @@ -356,6 +358,7 @@ var xEventsGetDistance func(uintptr, uintptr, *float64) bool | |||
| 356 | 358 | func EventsGetDistance(Event1Var *Event, Event2Var *Event, DistanceVar *float64) bool { | |
| 357 | 359 | ||
| 358 | 360 | cret := xEventsGetDistance(Event1Var.GoPointer(), Event2Var.GoPointer(), DistanceVar) | |
| 361 | + | ||
| 359 | 362 | return cret | |
| 360 | 363 | } | |
| 361 | 364 | ||
| @@ -382,6 +385,7 @@ var xButtonEventGetButton func(uintptr) uint | |||
| 382 | 385 | func (x *ButtonEvent) GetButton() uint { | |
| 383 | 386 | ||
| 384 | 387 | cret := xButtonEventGetButton(x.GoPointer()) | |
| 388 | + | ||
| 385 | 389 | return cret | |
| 386 | 390 | } | |
| 387 | 391 | ||
| @@ -419,6 +423,7 @@ var xCrossingEventGetDetail func(uintptr) NotifyType | |||
| 419 | 423 | func (x *CrossingEvent) GetDetail() NotifyType { | |
| 420 | 424 | ||
| 421 | 425 | cret := xCrossingEventGetDetail(x.GoPointer()) | |
| 426 | + | ||
| 422 | 427 | return cret | |
| 423 | 428 | } | |
| 424 | 429 | ||
| @@ -428,6 +433,7 @@ var xCrossingEventGetFocus func(uintptr) bool | |||
| 428 | 433 | func (x *CrossingEvent) GetFocus() bool { | |
| 429 | 434 | ||
| 430 | 435 | cret := xCrossingEventGetFocus(x.GoPointer()) | |
| 436 | + | ||
| 431 | 437 | return cret | |
| 432 | 438 | } | |
| 433 | 439 | ||
| @@ -437,6 +443,7 @@ var xCrossingEventGetMode func(uintptr) CrossingMode | |||
| 437 | 443 | func (x *CrossingEvent) GetMode() CrossingMode { | |
| 438 | 444 | ||
| 439 | 445 | cret := xCrossingEventGetMode(x.GoPointer()) | |
| 446 | + | ||
| 440 | 447 | return cret | |
| 441 | 448 | } | |
| 442 | 449 | ||
| @@ -560,6 +567,7 @@ var xEventGetAngle func(uintptr, uintptr, *float64) bool | |||
| 560 | 567 | func (x *Event) GetAngle(Event2Var *Event, AngleVar *float64) bool { | |
| 561 | 568 | ||
| 562 | 569 | cret := xEventGetAngle(x.GoPointer(), Event2Var.GoPointer(), AngleVar) | |
| 570 | + | ||
| 563 | 571 | return cret | |
| 564 | 572 | } | |
| 565 | 573 | ||
| @@ -572,6 +580,7 @@ var xEventGetCenter func(uintptr, uintptr, *float64, *float64) bool | |||
| 572 | 580 | func (x *Event) GetCenter(Event2Var *Event, XVar *float64, YVar *float64) bool { | |
| 573 | 581 | ||
| 574 | 582 | cret := xEventGetCenter(x.GoPointer(), Event2Var.GoPointer(), XVar, YVar) | |
| 583 | + | ||
| 575 | 584 | return cret | |
| 576 | 585 | } | |
| 577 | 586 | ||
| @@ -584,6 +593,7 @@ var xEventGetDistance func(uintptr, uintptr, *float64) bool | |||
| 584 | 593 | func (x *Event) GetDistance(Event2Var *Event, DistanceVar *float64) bool { | |
| 585 | 594 | ||
| 586 | 595 | cret := xEventGetDistance(x.GoPointer(), Event2Var.GoPointer(), DistanceVar) | |
| 596 | + | ||
| 587 | 597 | return cret | |
| 588 | 598 | } | |
| 589 | 599 | ||
| @@ -596,6 +606,7 @@ var xEventGetAxes func(uintptr, *[]float64, *uint) bool | |||
| 596 | 606 | func (x *Event) GetAxes(AxesVar *[]float64, NAxesVar *uint) bool { | |
| 597 | 607 | ||
| 598 | 608 | cret := xEventGetAxes(x.GoPointer(), AxesVar, NAxesVar) | |
| 609 | + | ||
| 599 | 610 | return cret | |
| 600 | 611 | } | |
| 601 | 612 | ||
| @@ -609,6 +620,7 @@ var xEventGetAxis func(uintptr, AxisUse, *float64) bool | |||
| 609 | 620 | func (x *Event) GetAxis(AxisUseVar AxisUse, ValueVar *float64) bool { | |
| 610 | 621 | ||
| 611 | 622 | cret := xEventGetAxis(x.GoPointer(), AxisUseVar, ValueVar) | |
| 623 | + | ||
| 612 | 624 | return cret | |
| 613 | 625 | } | |
| 614 | 626 | ||
| @@ -681,6 +693,7 @@ var xEventGetEventSequence func(uintptr) *EventSequence | |||
| 681 | 693 | func (x *Event) GetEventSequence() *EventSequence { | |
| 682 | 694 | ||
| 683 | 695 | cret := xEventGetEventSequence(x.GoPointer()) | |
| 696 | + | ||
| 684 | 697 | return cret | |
| 685 | 698 | } | |
| 686 | 699 | ||
| @@ -690,6 +703,7 @@ var xEventGetEventType func(uintptr) EventType | |||
| 690 | 703 | func (x *Event) GetEventType() EventType { | |
| 691 | 704 | ||
| 692 | 705 | cret := xEventGetEventType(x.GoPointer()) | |
| 706 | + | ||
| 693 | 707 | return cret | |
| 694 | 708 | } | |
| 695 | 709 | ||
| @@ -707,6 +721,7 @@ var xEventGetHistory func(uintptr, *uint) uintptr | |||
| 707 | 721 | func (x *Event) GetHistory(OutNCoordsVar *uint) uintptr { | |
| 708 | 722 | ||
| 709 | 723 | cret := xEventGetHistory(x.GoPointer(), OutNCoordsVar) | |
| 724 | + | ||
| 710 | 725 | return cret | |
| 711 | 726 | } | |
| 712 | 727 | ||
| @@ -716,6 +731,7 @@ var xEventGetModifierState func(uintptr) ModifierType | |||
| 716 | 731 | func (x *Event) GetModifierState() ModifierType { | |
| 717 | 732 | ||
| 718 | 733 | cret := xEventGetModifierState(x.GoPointer()) | |
| 734 | + | ||
| 719 | 735 | return cret | |
| 720 | 736 | } | |
| 721 | 737 | ||
| @@ -727,6 +743,7 @@ var xEventGetPointerEmulated func(uintptr) bool | |||
| 727 | 743 | func (x *Event) GetPointerEmulated() bool { | |
| 728 | 744 | ||
| 729 | 745 | cret := xEventGetPointerEmulated(x.GoPointer()) | |
| 746 | + | ||
| 730 | 747 | return cret | |
| 731 | 748 | } | |
| 732 | 749 | ||
| @@ -738,6 +755,7 @@ var xEventGetPosition func(uintptr, *float64, *float64) bool | |||
| 738 | 755 | func (x *Event) GetPosition(XVar *float64, YVar *float64) bool { | |
| 739 | 756 | ||
| 740 | 757 | cret := xEventGetPosition(x.GoPointer(), XVar, YVar) | |
| 758 | + | ||
| 741 | 759 | return cret | |
| 742 | 760 | } | |
| 743 | 761 | ||
| @@ -784,6 +802,7 @@ var xEventGetTime func(uintptr) uint32 | |||
| 784 | 802 | func (x *Event) GetTime() uint32 { | |
| 785 | 803 | ||
| 786 | 804 | cret := xEventGetTime(x.GoPointer()) | |
| 805 | + | ||
| 787 | 806 | return cret | |
| 788 | 807 | } | |
| 789 | 808 | ||
| @@ -819,6 +838,7 @@ var xEventTriggersContextMenu func(uintptr) bool | |||
| 819 | 838 | func (x *Event) TriggersContextMenu() bool { | |
| 820 | 839 | ||
| 821 | 840 | cret := xEventTriggersContextMenu(x.GoPointer()) | |
| 841 | + | ||
| 822 | 842 | return cret | |
| 823 | 843 | } | |
| 824 | 844 | ||
| @@ -868,6 +888,7 @@ var xFocusEventGetIn func(uintptr) bool | |||
| 868 | 888 | func (x *FocusEvent) GetIn() bool { | |
| 869 | 889 | ||
| 870 | 890 | cret := xFocusEventGetIn(x.GoPointer()) | |
| 891 | + | ||
| 871 | 892 | return cret | |
| 872 | 893 | } | |
| 873 | 894 | ||
| @@ -922,6 +943,7 @@ var xGrabBrokenEventGetImplicit func(uintptr) bool | |||
| 922 | 943 | func (x *GrabBrokenEvent) GetImplicit() bool { | |
| 923 | 944 | ||
| 924 | 945 | cret := xGrabBrokenEventGetImplicit(x.GoPointer()) | |
| 946 | + | ||
| 925 | 947 | return cret | |
| 926 | 948 | } | |
| 927 | 949 | ||
| @@ -959,6 +981,7 @@ var xKeyEventGetConsumedModifiers func(uintptr) ModifierType | |||
| 959 | 981 | func (x *KeyEvent) GetConsumedModifiers() ModifierType { | |
| 960 | 982 | ||
| 961 | 983 | cret := xKeyEventGetConsumedModifiers(x.GoPointer()) | |
| 984 | + | ||
| 962 | 985 | return cret | |
| 963 | 986 | } | |
| 964 | 987 | ||
| @@ -968,6 +991,7 @@ var xKeyEventGetKeycode func(uintptr) uint | |||
| 968 | 991 | func (x *KeyEvent) GetKeycode() uint { | |
| 969 | 992 | ||
| 970 | 993 | cret := xKeyEventGetKeycode(x.GoPointer()) | |
| 994 | + | ||
| 971 | 995 | return cret | |
| 972 | 996 | } | |
| 973 | 997 | ||
| @@ -977,6 +1001,7 @@ var xKeyEventGetKeyval func(uintptr) uint | |||
| 977 | 1001 | func (x *KeyEvent) GetKeyval() uint { | |
| 978 | 1002 | ||
| 979 | 1003 | cret := xKeyEventGetKeyval(x.GoPointer()) | |
| 1004 | + | ||
| 980 | 1005 | return cret | |
| 981 | 1006 | } | |
| 982 | 1007 | ||
| @@ -986,6 +1011,7 @@ var xKeyEventGetLayout func(uintptr) uint | |||
| 986 | 1011 | func (x *KeyEvent) GetLayout() uint { | |
| 987 | 1012 | ||
| 988 | 1013 | cret := xKeyEventGetLayout(x.GoPointer()) | |
| 1014 | + | ||
| 989 | 1015 | return cret | |
| 990 | 1016 | } | |
| 991 | 1017 | ||
| @@ -995,6 +1021,7 @@ var xKeyEventGetLevel func(uintptr) uint | |||
| 995 | 1021 | func (x *KeyEvent) GetLevel() uint { | |
| 996 | 1022 | ||
| 997 | 1023 | cret := xKeyEventGetLevel(x.GoPointer()) | |
| 1024 | + | ||
| 998 | 1025 | return cret | |
| 999 | 1026 | } | |
| 1000 | 1027 | ||
| @@ -1007,6 +1034,7 @@ var xKeyEventGetMatch func(uintptr, *uint, *ModifierType) bool | |||
| 1007 | 1034 | func (x *KeyEvent) GetMatch(KeyvalVar *uint, ModifiersVar *ModifierType) bool { | |
| 1008 | 1035 | ||
| 1009 | 1036 | cret := xKeyEventGetMatch(x.GoPointer(), KeyvalVar, ModifiersVar) | |
| 1037 | + | ||
| 1010 | 1038 | return cret | |
| 1011 | 1039 | } | |
| 1012 | 1040 | ||
| @@ -1016,6 +1044,7 @@ var xKeyEventIsModifier func(uintptr) bool | |||
| 1016 | 1044 | func (x *KeyEvent) IsModifier() bool { | |
| 1017 | 1045 | ||
| 1018 | 1046 | cret := xKeyEventIsModifier(x.GoPointer()) | |
| 1047 | + | ||
| 1019 | 1048 | return cret | |
| 1020 | 1049 | } | |
| 1021 | 1050 | ||
| @@ -1032,6 +1061,7 @@ var xKeyEventMatches func(uintptr, uint, ModifierType) KeyMatch | |||
| 1032 | 1061 | func (x *KeyEvent) Matches(KeyvalVar uint, ModifiersVar ModifierType) KeyMatch { | |
| 1033 | 1062 | ||
| 1034 | 1063 | cret := xKeyEventMatches(x.GoPointer(), KeyvalVar, ModifiersVar) | |
| 1064 | + | ||
| 1035 | 1065 | return cret | |
| 1036 | 1066 | } | |
| 1037 | 1067 | ||
| @@ -1107,6 +1137,7 @@ var xPadEventGetButton func(uintptr) uint | |||
| 1107 | 1137 | func (x *PadEvent) GetButton() uint { | |
| 1108 | 1138 | ||
| 1109 | 1139 | cret := xPadEventGetButton(x.GoPointer()) | |
| 1140 | + | ||
| 1110 | 1141 | return cret | |
| 1111 | 1142 | } | |
| 1112 | 1143 | ||
| @@ -1196,6 +1227,7 @@ var xScrollEventGetDirection func(uintptr) ScrollDirection | |||
| 1196 | 1227 | func (x *ScrollEvent) GetDirection() ScrollDirection { | |
| 1197 | 1228 | ||
| 1198 | 1229 | cret := xScrollEventGetDirection(x.GoPointer()) | |
| 1230 | + | ||
| 1199 | 1231 | return cret | |
| 1200 | 1232 | } | |
| 1201 | 1233 | ||
| @@ -1208,6 +1240,7 @@ var xScrollEventGetUnit func(uintptr) ScrollUnit | |||
| 1208 | 1240 | func (x *ScrollEvent) GetUnit() ScrollUnit { | |
| 1209 | 1241 | ||
| 1210 | 1242 | cret := xScrollEventGetUnit(x.GoPointer()) | |
| 1243 | + | ||
| 1211 | 1244 | return cret | |
| 1212 | 1245 | } | |
| 1213 | 1246 | ||
| @@ -1225,6 +1258,7 @@ var xScrollEventIsStop func(uintptr) bool | |||
| 1225 | 1258 | func (x *ScrollEvent) IsStop() bool { | |
| 1226 | 1259 | ||
| 1227 | 1260 | cret := xScrollEventIsStop(x.GoPointer()) | |
| 1261 | + | ||
| 1228 | 1262 | return cret | |
| 1229 | 1263 | } | |
| 1230 | 1264 | ||
| @@ -1244,6 +1278,7 @@ var xScrollEventGetRelativeDirection func(uintptr) ScrollRelativeDirection | |||
| 1244 | 1278 | func ScrollEventGetRelativeDirection(EventVar *Event) ScrollRelativeDirection { | |
| 1245 | 1279 | ||
| 1246 | 1280 | cret := xScrollEventGetRelativeDirection(EventVar.GoPointer()) | |
| 1281 | + | ||
| 1247 | 1282 | return cret | |
| 1248 | 1283 | } | |
| 1249 | 1284 | ||
| @@ -1270,6 +1305,7 @@ var xTouchEventGetEmulatingPointer func(uintptr) bool | |||
| 1270 | 1305 | func (x *TouchEvent) GetEmulatingPointer() bool { | |
| 1271 | 1306 | ||
| 1272 | 1307 | cret := xTouchEventGetEmulatingPointer(x.GoPointer()) | |
| 1308 | + | ||
| 1273 | 1309 | return cret | |
| 1274 | 1310 | } | |
| 1275 | 1311 | ||
| @@ -1321,6 +1357,7 @@ var xTouchpadEventGetGesturePhase func(uintptr) TouchpadGesturePhase | |||
| 1321 | 1357 | func (x *TouchpadEvent) GetGesturePhase() TouchpadGesturePhase { | |
| 1322 | 1358 | ||
| 1323 | 1359 | cret := xTouchpadEventGetGesturePhase(x.GoPointer()) | |
| 1360 | + | ||
| 1324 | 1361 | return cret | |
| 1325 | 1362 | } | |
| 1326 | 1363 | ||
| @@ -1330,6 +1367,7 @@ var xTouchpadEventGetNFingers func(uintptr) uint | |||
| 1330 | 1367 | func (x *TouchpadEvent) GetNFingers() uint { | |
| 1331 | 1368 | ||
| 1332 | 1369 | cret := xTouchpadEventGetNFingers(x.GoPointer()) | |
| 1370 | + | ||
| 1333 | 1371 | return cret | |
| 1334 | 1372 | } | |
| 1335 | 1373 | ||
| @@ -1339,6 +1377,7 @@ var xTouchpadEventGetPinchAngleDelta func(uintptr) float64 | |||
| 1339 | 1377 | func (x *TouchpadEvent) GetPinchAngleDelta() float64 { | |
| 1340 | 1378 | ||
| 1341 | 1379 | cret := xTouchpadEventGetPinchAngleDelta(x.GoPointer()) | |
| 1380 | + | ||
| 1342 | 1381 | return cret | |
| 1343 | 1382 | } | |
| 1344 | 1383 | ||
| @@ -1348,6 +1387,7 @@ var xTouchpadEventGetPinchScale func(uintptr) float64 | |||
| 1348 | 1387 | func (x *TouchpadEvent) GetPinchScale() float64 { | |
| 1349 | 1388 | ||
| 1350 | 1389 | cret := xTouchpadEventGetPinchScale(x.GoPointer()) | |
| 1390 | + | ||
| 1351 | 1391 | return cret | |
| 1352 | 1392 | } | |
| 1353 | 1393 | ||
M v4/gdk/gdkframeclock.go +6 -0
| @@ -139,6 +139,7 @@ var xFrameClockGetCurrentTimings func(uintptr) *FrameTimings | |||
| 139 | 139 | func (x *FrameClock) GetCurrentTimings() *FrameTimings { | |
| 140 | 140 | ||
| 141 | 141 | cret := xFrameClockGetCurrentTimings(x.GoPointer()) | |
| 142 | + | ||
| 142 | 143 | return cret | |
| 143 | 144 | } | |
| 144 | 145 | ||
| @@ -149,6 +150,7 @@ var xFrameClockGetFps func(uintptr) float64 | |||
| 149 | 150 | func (x *FrameClock) GetFps() float64 { | |
| 150 | 151 | ||
| 151 | 152 | cret := xFrameClockGetFps(x.GoPointer()) | |
| 153 | + | ||
| 152 | 154 | return cret | |
| 153 | 155 | } | |
| 154 | 156 | ||
| @@ -159,6 +161,7 @@ var xFrameClockGetFrameCounter func(uintptr) int64 | |||
| 159 | 161 | func (x *FrameClock) GetFrameCounter() int64 { | |
| 160 | 162 | ||
| 161 | 163 | cret := xFrameClockGetFrameCounter(x.GoPointer()) | |
| 164 | + | ||
| 162 | 165 | return cret | |
| 163 | 166 | } | |
| 164 | 167 | ||
| @@ -174,6 +177,7 @@ var xFrameClockGetFrameTime func(uintptr) int64 | |||
| 174 | 177 | func (x *FrameClock) GetFrameTime() int64 { | |
| 175 | 178 | ||
| 176 | 179 | cret := xFrameClockGetFrameTime(x.GoPointer()) | |
| 180 | + | ||
| 177 | 181 | return cret | |
| 178 | 182 | } | |
| 179 | 183 | ||
| @@ -190,6 +194,7 @@ var xFrameClockGetHistoryStart func(uintptr) int64 | |||
| 190 | 194 | func (x *FrameClock) GetHistoryStart() int64 { | |
| 191 | 195 | ||
| 192 | 196 | cret := xFrameClockGetHistoryStart(x.GoPointer()) | |
| 197 | + | ||
| 193 | 198 | return cret | |
| 194 | 199 | } | |
| 195 | 200 | ||
| @@ -219,6 +224,7 @@ var xFrameClockGetTimings func(uintptr, int64) *FrameTimings | |||
| 219 | 224 | func (x *FrameClock) GetTimings(FrameCounterVar int64) *FrameTimings { | |
| 220 | 225 | ||
| 221 | 226 | cret := xFrameClockGetTimings(x.GoPointer(), FrameCounterVar) | |
| 227 | + | ||
| 222 | 228 | return cret | |
| 223 | 229 | } | |
| 224 | 230 | ||
M v4/gdk/gdkframetimings.go +7 -0
| @@ -49,6 +49,7 @@ var xFrameTimingsGetComplete func(uintptr) bool | |||
| 49 | 49 | func (x *FrameTimings) GetComplete() bool { | |
| 50 | 50 | ||
| 51 | 51 | cret := xFrameTimingsGetComplete(x.GoPointer()) | |
| 52 | + | ||
| 52 | 53 | return cret | |
| 53 | 54 | } | |
| 54 | 55 | ||
| @@ -59,6 +60,7 @@ var xFrameTimingsGetFrameCounter func(uintptr) int64 | |||
| 59 | 60 | func (x *FrameTimings) GetFrameCounter() int64 { | |
| 60 | 61 | ||
| 61 | 62 | cret := xFrameTimingsGetFrameCounter(x.GoPointer()) | |
| 63 | + | ||
| 62 | 64 | return cret | |
| 63 | 65 | } | |
| 64 | 66 | ||
| @@ -71,6 +73,7 @@ var xFrameTimingsGetFrameTime func(uintptr) int64 | |||
| 71 | 73 | func (x *FrameTimings) GetFrameTime() int64 { | |
| 72 | 74 | ||
| 73 | 75 | cret := xFrameTimingsGetFrameTime(x.GoPointer()) | |
| 76 | + | ||
| 74 | 77 | return cret | |
| 75 | 78 | } | |
| 76 | 79 | ||
| @@ -91,6 +94,7 @@ var xFrameTimingsGetPredictedPresentationTime func(uintptr) int64 | |||
| 91 | 94 | func (x *FrameTimings) GetPredictedPresentationTime() int64 { | |
| 92 | 95 | ||
| 93 | 96 | cret := xFrameTimingsGetPredictedPresentationTime(x.GoPointer()) | |
| 97 | + | ||
| 94 | 98 | return cret | |
| 95 | 99 | } | |
| 96 | 100 | ||
| @@ -102,6 +106,7 @@ var xFrameTimingsGetPresentationTime func(uintptr) int64 | |||
| 102 | 106 | func (x *FrameTimings) GetPresentationTime() int64 { | |
| 103 | 107 | ||
| 104 | 108 | cret := xFrameTimingsGetPresentationTime(x.GoPointer()) | |
| 109 | + | ||
| 105 | 110 | return cret | |
| 106 | 111 | } | |
| 107 | 112 | ||
| @@ -115,6 +120,7 @@ var xFrameTimingsGetRefreshInterval func(uintptr) int64 | |||
| 115 | 120 | func (x *FrameTimings) GetRefreshInterval() int64 { | |
| 116 | 121 | ||
| 117 | 122 | cret := xFrameTimingsGetRefreshInterval(x.GoPointer()) | |
| 123 | + | ||
| 118 | 124 | return cret | |
| 119 | 125 | } | |
| 120 | 126 | ||
| @@ -124,6 +130,7 @@ var xFrameTimingsRef func(uintptr) *FrameTimings | |||
| 124 | 130 | func (x *FrameTimings) Ref() *FrameTimings { | |
| 125 | 131 | ||
| 126 | 132 | cret := xFrameTimingsRef(x.GoPointer()) | |
| 133 | + | ||
| 127 | 134 | return cret | |
| 128 | 135 | } | |
| 129 | 136 | ||
M v4/gdk/gdkglcontext.go +9 -0
| @@ -15,6 +15,7 @@ var xGlErrorQuark func() glib.Quark | |||
| 15 | 15 | func GlErrorQuark() glib.Quark { | |
| 16 | 16 | ||
| 17 | 17 | cret := xGlErrorQuark() | |
| 18 | + | ||
| 18 | 19 | return cret | |
| 19 | 20 | } | |
| 20 | 21 | ||
| @@ -88,6 +89,7 @@ var xGLContextGetAllowedApis func(uintptr) GLAPI | |||
| 88 | 89 | func (x *GLContext) GetAllowedApis() GLAPI { | |
| 89 | 90 | ||
| 90 | 91 | cret := xGLContextGetAllowedApis(x.GoPointer()) | |
| 92 | + | ||
| 91 | 93 | return cret | |
| 92 | 94 | } | |
| 93 | 95 | ||
| @@ -99,6 +101,7 @@ var xGLContextGetApi func(uintptr) GLAPI | |||
| 99 | 101 | func (x *GLContext) GetApi() GLAPI { | |
| 100 | 102 | ||
| 101 | 103 | cret := xGLContextGetApi(x.GoPointer()) | |
| 104 | + | ||
| 102 | 105 | return cret | |
| 103 | 106 | } | |
| 104 | 107 | ||
| @@ -110,6 +113,7 @@ var xGLContextGetDebugEnabled func(uintptr) bool | |||
| 110 | 113 | func (x *GLContext) GetDebugEnabled() bool { | |
| 111 | 114 | ||
| 112 | 115 | cret := xGLContextGetDebugEnabled(x.GoPointer()) | |
| 116 | + | ||
| 113 | 117 | return cret | |
| 114 | 118 | } | |
| 115 | 119 | ||
| @@ -138,6 +142,7 @@ var xGLContextGetForwardCompatible func(uintptr) bool | |||
| 138 | 142 | func (x *GLContext) GetForwardCompatible() bool { | |
| 139 | 143 | ||
| 140 | 144 | cret := xGLContextGetForwardCompatible(x.GoPointer()) | |
| 145 | + | ||
| 141 | 146 | return cret | |
| 142 | 147 | } | |
| 143 | 148 | ||
| @@ -198,6 +203,7 @@ var xGLContextGetUseEs func(uintptr) bool | |||
| 198 | 203 | func (x *GLContext) GetUseEs() bool { | |
| 199 | 204 | ||
| 200 | 205 | cret := xGLContextGetUseEs(x.GoPointer()) | |
| 206 | + | ||
| 201 | 207 | return cret | |
| 202 | 208 | } | |
| 203 | 209 | ||
| @@ -233,6 +239,7 @@ var xGLContextIsLegacy func(uintptr) bool | |||
| 233 | 239 | func (x *GLContext) IsLegacy() bool { | |
| 234 | 240 | ||
| 235 | 241 | cret := xGLContextIsLegacy(x.GoPointer()) | |
| 242 | + | ||
| 236 | 243 | return cret | |
| 237 | 244 | } | |
| 238 | 245 | ||
| @@ -253,6 +260,7 @@ var xGLContextIsShared func(uintptr, uintptr) bool | |||
| 253 | 260 | func (x *GLContext) IsShared(OtherVar *GLContext) bool { | |
| 254 | 261 | ||
| 255 | 262 | cret := xGLContextIsShared(x.GoPointer(), OtherVar.GoPointer()) | |
| 263 | + | ||
| 256 | 264 | return cret | |
| 257 | 265 | } | |
| 258 | 266 | ||
| @@ -274,6 +282,7 @@ func (x *GLContext) Realize() (bool, error) { | |||
| 274 | 282 | var cerr *glib.Error | |
| 275 | 283 | ||
| 276 | 284 | cret := xGLContextRealize(x.GoPointer()) | |
| 285 | + | ||
| 277 | 286 | if cerr == nil { | |
| 278 | 287 | return cret, nil | |
| 279 | 288 | } | |
M v4/gdk/gdkgltexture.go +8 -0
| @@ -139,6 +139,7 @@ func (x *GLTexture) GetCurrentImage() *PaintableBase { | |||
| 139 | 139 | func (x *GLTexture) GetFlags() PaintableFlags { | |
| 140 | 140 | ||
| 141 | 141 | cret := XGdkPaintableGetFlags(x.GoPointer()) | |
| 142 | + | ||
| 142 | 143 | return cret | |
| 143 | 144 | } | |
| 144 | 145 | ||
| @@ -162,6 +163,7 @@ func (x *GLTexture) GetFlags() PaintableFlags { | |||
| 162 | 163 | func (x *GLTexture) GetIntrinsicAspectRatio() float64 { | |
| 163 | 164 | ||
| 164 | 165 | cret := XGdkPaintableGetIntrinsicAspectRatio(x.GoPointer()) | |
| 166 | + | ||
| 165 | 167 | return cret | |
| 166 | 168 | } | |
| 167 | 169 | ||
| @@ -178,6 +180,7 @@ func (x *GLTexture) GetIntrinsicAspectRatio() float64 { | |||
| 178 | 180 | func (x *GLTexture) GetIntrinsicHeight() int { | |
| 179 | 181 | ||
| 180 | 182 | cret := XGdkPaintableGetIntrinsicHeight(x.GoPointer()) | |
| 183 | + | ||
| 181 | 184 | return cret | |
| 182 | 185 | } | |
| 183 | 186 | ||
| @@ -194,6 +197,7 @@ func (x *GLTexture) GetIntrinsicHeight() int { | |||
| 194 | 197 | func (x *GLTexture) GetIntrinsicWidth() int { | |
| 195 | 198 | ||
| 196 | 199 | cret := XGdkPaintableGetIntrinsicWidth(x.GoPointer()) | |
| 200 | + | ||
| 197 | 201 | return cret | |
| 198 | 202 | } | |
| 199 | 203 | ||
| @@ -244,6 +248,7 @@ func (x *GLTexture) Snapshot(SnapshotVar *Snapshot, WidthVar float64, HeightVar | |||
| 244 | 248 | func (x *GLTexture) Equal(Icon2Var gio.Icon) bool { | |
| 245 | 249 | ||
| 246 | 250 | cret := gio.XGIconEqual(x.GoPointer(), Icon2Var.GoPointer()) | |
| 251 | + | ||
| 247 | 252 | return cret | |
| 248 | 253 | } | |
| 249 | 254 | ||
| @@ -251,6 +256,7 @@ func (x *GLTexture) Equal(Icon2Var gio.Icon) bool { | |||
| 251 | 256 | func (x *GLTexture) Hash() uint { | |
| 252 | 257 | ||
| 253 | 258 | cret := gio.XGIconHash(x.GoPointer()) | |
| 259 | + | ||
| 254 | 260 | return cret | |
| 255 | 261 | } | |
| 256 | 262 | ||
| @@ -262,6 +268,7 @@ func (x *GLTexture) Hash() uint { | |||
| 262 | 268 | func (x *GLTexture) Serialize() *glib.Variant { | |
| 263 | 269 | ||
| 264 | 270 | cret := gio.XGIconSerialize(x.GoPointer()) | |
| 271 | + | ||
| 265 | 272 | return cret | |
| 266 | 273 | } | |
| 267 | 274 | ||
| @@ -284,6 +291,7 @@ func (x *GLTexture) Serialize() *glib.Variant { | |||
| 284 | 291 | func (x *GLTexture) ToString() string { | |
| 285 | 292 | ||
| 286 | 293 | cret := gio.XGIconToString(x.GoPointer()) | |
| 294 | + | ||
| 287 | 295 | return cret | |
| 288 | 296 | } | |
| 289 | 297 | ||
M v4/gdk/gdkgltexturebuilder.go +8 -0
| @@ -112,6 +112,7 @@ var xGLTextureBuilderGetColorState func(uintptr) *ColorState | |||
| 112 | 112 | func (x *GLTextureBuilder) GetColorState() *ColorState { | |
| 113 | 113 | ||
| 114 | 114 | cret := xGLTextureBuilderGetColorState(x.GoPointer()) | |
| 115 | + | ||
| 115 | 116 | return cret | |
| 116 | 117 | } | |
| 117 | 118 | ||
| @@ -139,6 +140,7 @@ var xGLTextureBuilderGetFormat func(uintptr) MemoryFormat | |||
| 139 | 140 | func (x *GLTextureBuilder) GetFormat() MemoryFormat { | |
| 140 | 141 | ||
| 141 | 142 | cret := xGLTextureBuilderGetFormat(x.GoPointer()) | |
| 143 | + | ||
| 142 | 144 | return cret | |
| 143 | 145 | } | |
| 144 | 146 | ||
| @@ -148,6 +150,7 @@ var xGLTextureBuilderGetHasMipmap func(uintptr) bool | |||
| 148 | 150 | func (x *GLTextureBuilder) GetHasMipmap() bool { | |
| 149 | 151 | ||
| 150 | 152 | cret := xGLTextureBuilderGetHasMipmap(x.GoPointer()) | |
| 153 | + | ||
| 151 | 154 | return cret | |
| 152 | 155 | } | |
| 153 | 156 | ||
| @@ -158,6 +161,7 @@ var xGLTextureBuilderGetHeight func(uintptr) int | |||
| 158 | 161 | func (x *GLTextureBuilder) GetHeight() int { | |
| 159 | 162 | ||
| 160 | 163 | cret := xGLTextureBuilderGetHeight(x.GoPointer()) | |
| 164 | + | ||
| 161 | 165 | return cret | |
| 162 | 166 | } | |
| 163 | 167 | ||
| @@ -168,6 +172,7 @@ var xGLTextureBuilderGetId func(uintptr) uint | |||
| 168 | 172 | func (x *GLTextureBuilder) GetId() uint { | |
| 169 | 173 | ||
| 170 | 174 | cret := xGLTextureBuilderGetId(x.GoPointer()) | |
| 175 | + | ||
| 171 | 176 | return cret | |
| 172 | 177 | } | |
| 173 | 178 | ||
| @@ -177,6 +182,7 @@ var xGLTextureBuilderGetSync func(uintptr) uintptr | |||
| 177 | 182 | func (x *GLTextureBuilder) GetSync() uintptr { | |
| 178 | 183 | ||
| 179 | 184 | cret := xGLTextureBuilderGetSync(x.GoPointer()) | |
| 185 | + | ||
| 180 | 186 | return cret | |
| 181 | 187 | } | |
| 182 | 188 | ||
| @@ -187,6 +193,7 @@ var xGLTextureBuilderGetUpdateRegion func(uintptr) *cairo.Region | |||
| 187 | 193 | func (x *GLTextureBuilder) GetUpdateRegion() *cairo.Region { | |
| 188 | 194 | ||
| 189 | 195 | cret := xGLTextureBuilderGetUpdateRegion(x.GoPointer()) | |
| 196 | + | ||
| 190 | 197 | return cret | |
| 191 | 198 | } | |
| 192 | 199 | ||
| @@ -215,6 +222,7 @@ var xGLTextureBuilderGetWidth func(uintptr) int | |||
| 215 | 222 | func (x *GLTextureBuilder) GetWidth() int { | |
| 216 | 223 | ||
| 217 | 224 | cret := xGLTextureBuilderGetWidth(x.GoPointer()) | |
| 225 | + | ||
| 218 | 226 | return cret | |
| 219 | 227 | } | |
| 220 | 228 | ||
M v4/gdk/gdkkeys.go +8 -0
| @@ -27,6 +27,7 @@ var xKeyvalFromName func(string) uint | |||
| 27 | 27 | func KeyvalFromName(KeyvalNameVar string) uint { | |
| 28 | 28 | ||
| 29 | 29 | cret := xKeyvalFromName(KeyvalNameVar) | |
| 30 | + | ||
| 30 | 31 | return cret | |
| 31 | 32 | } | |
| 32 | 33 | ||
| @@ -36,6 +37,7 @@ var xKeyvalIsLower func(uint) bool | |||
| 36 | 37 | func KeyvalIsLower(KeyvalVar uint) bool { | |
| 37 | 38 | ||
| 38 | 39 | cret := xKeyvalIsLower(KeyvalVar) | |
| 40 | + | ||
| 39 | 41 | return cret | |
| 40 | 42 | } | |
| 41 | 43 | ||
| @@ -45,6 +47,7 @@ var xKeyvalIsUpper func(uint) bool | |||
| 45 | 47 | func KeyvalIsUpper(KeyvalVar uint) bool { | |
| 46 | 48 | ||
| 47 | 49 | cret := xKeyvalIsUpper(KeyvalVar) | |
| 50 | + | ||
| 48 | 51 | return cret | |
| 49 | 52 | } | |
| 50 | 53 | ||
| @@ -58,6 +61,7 @@ var xKeyvalName func(uint) string | |||
| 58 | 61 | func KeyvalName(KeyvalVar uint) string { | |
| 59 | 62 | ||
| 60 | 63 | cret := xKeyvalName(KeyvalVar) | |
| 64 | + | ||
| 61 | 65 | return cret | |
| 62 | 66 | } | |
| 63 | 67 | ||
| @@ -67,6 +71,7 @@ var xKeyvalToLower func(uint) uint | |||
| 67 | 71 | func KeyvalToLower(KeyvalVar uint) uint { | |
| 68 | 72 | ||
| 69 | 73 | cret := xKeyvalToLower(KeyvalVar) | |
| 74 | + | ||
| 70 | 75 | return cret | |
| 71 | 76 | } | |
| 72 | 77 | ||
| @@ -81,6 +86,7 @@ var xKeyvalToUnicode func(uint) uint32 | |||
| 81 | 86 | func KeyvalToUnicode(KeyvalVar uint) uint32 { | |
| 82 | 87 | ||
| 83 | 88 | cret := xKeyvalToUnicode(KeyvalVar) | |
| 89 | + | ||
| 84 | 90 | return cret | |
| 85 | 91 | } | |
| 86 | 92 | ||
| @@ -90,6 +96,7 @@ var xKeyvalToUpper func(uint) uint | |||
| 90 | 96 | func KeyvalToUpper(KeyvalVar uint) uint { | |
| 91 | 97 | ||
| 92 | 98 | cret := xKeyvalToUpper(KeyvalVar) | |
| 99 | + | ||
| 93 | 100 | return cret | |
| 94 | 101 | } | |
| 95 | 102 | ||
| @@ -99,6 +106,7 @@ var xUnicodeToKeyval func(uint32) uint | |||
| 99 | 106 | func UnicodeToKeyval(WcVar uint32) uint { | |
| 100 | 107 | ||
| 101 | 108 | cret := xUnicodeToKeyval(WcVar) | |
| 109 | + | ||
| 102 | 110 | return cret | |
| 103 | 111 | } | |
| 104 | 112 | ||
M v4/gdk/gdkmemorytexture.go +8 -0
| @@ -110,6 +110,7 @@ func (x *MemoryTexture) GetCurrentImage() *PaintableBase { | |||
| 110 | 110 | func (x *MemoryTexture) GetFlags() PaintableFlags { | |
| 111 | 111 | ||
| 112 | 112 | cret := XGdkPaintableGetFlags(x.GoPointer()) | |
| 113 | + | ||
| 113 | 114 | return cret | |
| 114 | 115 | } | |
| 115 | 116 | ||
| @@ -133,6 +134,7 @@ func (x *MemoryTexture) GetFlags() PaintableFlags { | |||
| 133 | 134 | func (x *MemoryTexture) GetIntrinsicAspectRatio() float64 { | |
| 134 | 135 | ||
| 135 | 136 | cret := XGdkPaintableGetIntrinsicAspectRatio(x.GoPointer()) | |
| 137 | + | ||
| 136 | 138 | return cret | |
| 137 | 139 | } | |
| 138 | 140 | ||
| @@ -149,6 +151,7 @@ func (x *MemoryTexture) GetIntrinsicAspectRatio() float64 { | |||
| 149 | 151 | func (x *MemoryTexture) GetIntrinsicHeight() int { | |
| 150 | 152 | ||
| 151 | 153 | cret := XGdkPaintableGetIntrinsicHeight(x.GoPointer()) | |
| 154 | + | ||
| 152 | 155 | return cret | |
| 153 | 156 | } | |
| 154 | 157 | ||
| @@ -165,6 +168,7 @@ func (x *MemoryTexture) GetIntrinsicHeight() int { | |||
| 165 | 168 | func (x *MemoryTexture) GetIntrinsicWidth() int { | |
| 166 | 169 | ||
| 167 | 170 | cret := XGdkPaintableGetIntrinsicWidth(x.GoPointer()) | |
| 171 | + | ||
| 168 | 172 | return cret | |
| 169 | 173 | } | |
| 170 | 174 | ||
| @@ -215,6 +219,7 @@ func (x *MemoryTexture) Snapshot(SnapshotVar *Snapshot, WidthVar float64, Height | |||
| 215 | 219 | func (x *MemoryTexture) Equal(Icon2Var gio.Icon) bool { | |
| 216 | 220 | ||
| 217 | 221 | cret := gio.XGIconEqual(x.GoPointer(), Icon2Var.GoPointer()) | |
| 222 | + | ||
| 218 | 223 | return cret | |
| 219 | 224 | } | |
| 220 | 225 | ||
| @@ -222,6 +227,7 @@ func (x *MemoryTexture) Equal(Icon2Var gio.Icon) bool { | |||
| 222 | 227 | func (x *MemoryTexture) Hash() uint { | |
| 223 | 228 | ||
| 224 | 229 | cret := gio.XGIconHash(x.GoPointer()) | |
| 230 | + | ||
| 225 | 231 | return cret | |
| 226 | 232 | } | |
| 227 | 233 | ||
| @@ -233,6 +239,7 @@ func (x *MemoryTexture) Hash() uint { | |||
| 233 | 239 | func (x *MemoryTexture) Serialize() *glib.Variant { | |
| 234 | 240 | ||
| 235 | 241 | cret := gio.XGIconSerialize(x.GoPointer()) | |
| 242 | + | ||
| 236 | 243 | return cret | |
| 237 | 244 | } | |
| 238 | 245 | ||
| @@ -255,6 +262,7 @@ func (x *MemoryTexture) Serialize() *glib.Variant { | |||
| 255 | 262 | func (x *MemoryTexture) ToString() string { | |
| 256 | 263 | ||
| 257 | 264 | cret := gio.XGIconToString(x.GoPointer()) | |
| 265 | + | ||
| 258 | 266 | return cret | |
| 259 | 267 | } | |
| 260 | 268 | ||
M v4/gdk/gdkmemorytexturebuilder.go +9 -0
| @@ -93,6 +93,7 @@ var xMemoryTextureBuilderGetBytes func(uintptr) *glib.Bytes | |||
| 93 | 93 | func (x *MemoryTextureBuilder) GetBytes() *glib.Bytes { | |
| 94 | 94 | ||
| 95 | 95 | cret := xMemoryTextureBuilderGetBytes(x.GoPointer()) | |
| 96 | + | ||
| 96 | 97 | return cret | |
| 97 | 98 | } | |
| 98 | 99 | ||
| @@ -102,6 +103,7 @@ var xMemoryTextureBuilderGetColorState func(uintptr) *ColorState | |||
| 102 | 103 | func (x *MemoryTextureBuilder) GetColorState() *ColorState { | |
| 103 | 104 | ||
| 104 | 105 | cret := xMemoryTextureBuilderGetColorState(x.GoPointer()) | |
| 106 | + | ||
| 105 | 107 | return cret | |
| 106 | 108 | } | |
| 107 | 109 | ||
| @@ -111,6 +113,7 @@ var xMemoryTextureBuilderGetFormat func(uintptr) MemoryFormat | |||
| 111 | 113 | func (x *MemoryTextureBuilder) GetFormat() MemoryFormat { | |
| 112 | 114 | ||
| 113 | 115 | cret := xMemoryTextureBuilderGetFormat(x.GoPointer()) | |
| 116 | + | ||
| 114 | 117 | return cret | |
| 115 | 118 | } | |
| 116 | 119 | ||
| @@ -121,6 +124,7 @@ var xMemoryTextureBuilderGetHeight func(uintptr) int | |||
| 121 | 124 | func (x *MemoryTextureBuilder) GetHeight() int { | |
| 122 | 125 | ||
| 123 | 126 | cret := xMemoryTextureBuilderGetHeight(x.GoPointer()) | |
| 127 | + | ||
| 124 | 128 | return cret | |
| 125 | 129 | } | |
| 126 | 130 | ||
| @@ -130,6 +134,7 @@ var xMemoryTextureBuilderGetOffset func(uintptr, uint) uint | |||
| 130 | 134 | func (x *MemoryTextureBuilder) GetOffset(PlaneVar uint) uint { | |
| 131 | 135 | ||
| 132 | 136 | cret := xMemoryTextureBuilderGetOffset(x.GoPointer(), PlaneVar) | |
| 137 | + | ||
| 133 | 138 | return cret | |
| 134 | 139 | } | |
| 135 | 140 | ||
| @@ -139,6 +144,7 @@ var xMemoryTextureBuilderGetStride func(uintptr) uint | |||
| 139 | 144 | func (x *MemoryTextureBuilder) GetStride() uint { | |
| 140 | 145 | ||
| 141 | 146 | cret := xMemoryTextureBuilderGetStride(x.GoPointer()) | |
| 147 | + | ||
| 142 | 148 | return cret | |
| 143 | 149 | } | |
| 144 | 150 | ||
| @@ -148,6 +154,7 @@ var xMemoryTextureBuilderGetStrideForPlane func(uintptr, uint) uint | |||
| 148 | 154 | func (x *MemoryTextureBuilder) GetStrideForPlane(PlaneVar uint) uint { | |
| 149 | 155 | ||
| 150 | 156 | cret := xMemoryTextureBuilderGetStrideForPlane(x.GoPointer(), PlaneVar) | |
| 157 | + | ||
| 151 | 158 | return cret | |
| 152 | 159 | } | |
| 153 | 160 | ||
| @@ -158,6 +165,7 @@ var xMemoryTextureBuilderGetUpdateRegion func(uintptr) *cairo.Region | |||
| 158 | 165 | func (x *MemoryTextureBuilder) GetUpdateRegion() *cairo.Region { | |
| 159 | 166 | ||
| 160 | 167 | cret := xMemoryTextureBuilderGetUpdateRegion(x.GoPointer()) | |
| 168 | + | ||
| 161 | 169 | return cret | |
| 162 | 170 | } | |
| 163 | 171 | ||
| @@ -186,6 +194,7 @@ var xMemoryTextureBuilderGetWidth func(uintptr) int | |||
| 186 | 194 | func (x *MemoryTextureBuilder) GetWidth() int { | |
| 187 | 195 | ||
| 188 | 196 | cret := xMemoryTextureBuilderGetWidth(x.GoPointer()) | |
| 197 | + | ||
| 189 | 198 | return cret | |
| 190 | 199 | } | |
| 191 | 200 | ||
M v4/gdk/gdkmonitor.go +11 -0
| @@ -78,6 +78,7 @@ var xMonitorGetConnector func(uintptr) string | |||
| 78 | 78 | func (x *Monitor) GetConnector() string { | |
| 79 | 79 | ||
| 80 | 80 | cret := xMonitorGetConnector(x.GoPointer()) | |
| 81 | + | ||
| 81 | 82 | return cret | |
| 82 | 83 | } | |
| 83 | 84 | ||
| @@ -89,6 +90,7 @@ var xMonitorGetDescription func(uintptr) string | |||
| 89 | 90 | func (x *Monitor) GetDescription() string { | |
| 90 | 91 | ||
| 91 | 92 | cret := xMonitorGetDescription(x.GoPointer()) | |
| 93 | + | ||
| 92 | 94 | return cret | |
| 93 | 95 | } | |
| 94 | 96 | ||
| @@ -128,6 +130,7 @@ var xMonitorGetHeightMm func(uintptr) int | |||
| 128 | 130 | func (x *Monitor) GetHeightMm() int { | |
| 129 | 131 | ||
| 130 | 132 | cret := xMonitorGetHeightMm(x.GoPointer()) | |
| 133 | + | ||
| 131 | 134 | return cret | |
| 132 | 135 | } | |
| 133 | 136 | ||
| @@ -143,6 +146,7 @@ var xMonitorGetManufacturer func(uintptr) string | |||
| 143 | 146 | func (x *Monitor) GetManufacturer() string { | |
| 144 | 147 | ||
| 145 | 148 | cret := xMonitorGetManufacturer(x.GoPointer()) | |
| 149 | + | ||
| 146 | 150 | return cret | |
| 147 | 151 | } | |
| 148 | 152 | ||
| @@ -152,6 +156,7 @@ var xMonitorGetModel func(uintptr) string | |||
| 152 | 156 | func (x *Monitor) GetModel() string { | |
| 153 | 157 | ||
| 154 | 158 | cret := xMonitorGetModel(x.GoPointer()) | |
| 159 | + | ||
| 155 | 160 | return cret | |
| 156 | 161 | } | |
| 157 | 162 | ||
| @@ -164,6 +169,7 @@ var xMonitorGetRefreshRate func(uintptr) int | |||
| 164 | 169 | func (x *Monitor) GetRefreshRate() int { | |
| 165 | 170 | ||
| 166 | 171 | cret := xMonitorGetRefreshRate(x.GoPointer()) | |
| 172 | + | ||
| 167 | 173 | return cret | |
| 168 | 174 | } | |
| 169 | 175 | ||
| @@ -178,6 +184,7 @@ var xMonitorGetScale func(uintptr) float64 | |||
| 178 | 184 | func (x *Monitor) GetScale() float64 { | |
| 179 | 185 | ||
| 180 | 186 | cret := xMonitorGetScale(x.GoPointer()) | |
| 187 | + | ||
| 181 | 188 | return cret | |
| 182 | 189 | } | |
| 183 | 190 | ||
| @@ -195,6 +202,7 @@ var xMonitorGetScaleFactor func(uintptr) int | |||
| 195 | 202 | func (x *Monitor) GetScaleFactor() int { | |
| 196 | 203 | ||
| 197 | 204 | cret := xMonitorGetScaleFactor(x.GoPointer()) | |
| 205 | + | ||
| 198 | 206 | return cret | |
| 199 | 207 | } | |
| 200 | 208 | ||
| @@ -205,6 +213,7 @@ var xMonitorGetSubpixelLayout func(uintptr) SubpixelLayout | |||
| 205 | 213 | func (x *Monitor) GetSubpixelLayout() SubpixelLayout { | |
| 206 | 214 | ||
| 207 | 215 | cret := xMonitorGetSubpixelLayout(x.GoPointer()) | |
| 216 | + | ||
| 208 | 217 | return cret | |
| 209 | 218 | } | |
| 210 | 219 | ||
| @@ -214,6 +223,7 @@ var xMonitorGetWidthMm func(uintptr) int | |||
| 214 | 223 | func (x *Monitor) GetWidthMm() int { | |
| 215 | 224 | ||
| 216 | 225 | cret := xMonitorGetWidthMm(x.GoPointer()) | |
| 226 | + | ||
| 217 | 227 | return cret | |
| 218 | 228 | } | |
| 219 | 229 | ||
| @@ -227,6 +237,7 @@ var xMonitorIsValid func(uintptr) bool | |||
| 227 | 237 | func (x *Monitor) IsValid() bool { | |
| 228 | 238 | ||
| 229 | 239 | cret := xMonitorIsValid(x.GoPointer()) | |
| 240 | + | ||
| 230 | 241 | return cret | |
| 231 | 242 | } | |
| 232 | 243 | ||
M v4/gdk/gdkpaintable.go +4 -0
| @@ -361,6 +361,7 @@ func (x *PaintableBase) GetCurrentImage() *PaintableBase { | |||
| 361 | 361 | func (x *PaintableBase) GetFlags() PaintableFlags { | |
| 362 | 362 | ||
| 363 | 363 | cret := XGdkPaintableGetFlags(x.GoPointer()) | |
| 364 | + | ||
| 364 | 365 | return cret | |
| 365 | 366 | } | |
| 366 | 367 | ||
| @@ -384,6 +385,7 @@ func (x *PaintableBase) GetFlags() PaintableFlags { | |||
| 384 | 385 | func (x *PaintableBase) GetIntrinsicAspectRatio() float64 { | |
| 385 | 386 | ||
| 386 | 387 | cret := XGdkPaintableGetIntrinsicAspectRatio(x.GoPointer()) | |
| 388 | + | ||
| 387 | 389 | return cret | |
| 388 | 390 | } | |
| 389 | 391 | ||
| @@ -400,6 +402,7 @@ func (x *PaintableBase) GetIntrinsicAspectRatio() float64 { | |||
| 400 | 402 | func (x *PaintableBase) GetIntrinsicHeight() int { | |
| 401 | 403 | ||
| 402 | 404 | cret := XGdkPaintableGetIntrinsicHeight(x.GoPointer()) | |
| 405 | + | ||
| 403 | 406 | return cret | |
| 404 | 407 | } | |
| 405 | 408 | ||
| @@ -416,6 +419,7 @@ func (x *PaintableBase) GetIntrinsicHeight() int { | |||
| 416 | 419 | func (x *PaintableBase) GetIntrinsicWidth() int { | |
| 417 | 420 | ||
| 418 | 421 | cret := XGdkPaintableGetIntrinsicWidth(x.GoPointer()) | |
| 422 | + | ||
| 419 | 423 | return cret | |
| 420 | 424 | } | |
| 421 | 425 | ||
M v4/gdk/gdkpango.go +2 -0
| @@ -23,6 +23,7 @@ var xPangoLayoutGetClipRegion func(uintptr, int, int, int, int) *cairo.Region | |||
| 23 | 23 | func PangoLayoutGetClipRegion(LayoutVar *pango.Layout, XOriginVar int, YOriginVar int, IndexRangesVar int, NRangesVar int) *cairo.Region { | |
| 24 | 24 | ||
| 25 | 25 | cret := xPangoLayoutGetClipRegion(LayoutVar.GoPointer(), XOriginVar, YOriginVar, IndexRangesVar, NRangesVar) | |
| 26 | + | ||
| 26 | 27 | return cret | |
| 27 | 28 | } | |
| 28 | 29 | ||
| @@ -46,6 +47,7 @@ var xPangoLayoutLineGetClipRegion func(*pango.LayoutLine, int, int, []int, int) | |||
| 46 | 47 | func PangoLayoutLineGetClipRegion(LineVar *pango.LayoutLine, XOriginVar int, YOriginVar int, IndexRangesVar []int, NRangesVar int) *cairo.Region { | |
| 47 | 48 | ||
| 48 | 49 | cret := xPangoLayoutLineGetClipRegion(LineVar, XOriginVar, YOriginVar, IndexRangesVar, NRangesVar) | |
| 50 | + | ||
| 49 | 51 | return cret | |
| 50 | 52 | } | |
| 51 | 53 | ||
M v4/gdk/gdkpopup.go +6 -0
| @@ -63,6 +63,7 @@ func (x *PopupBase) SetGoPointer(ptr uintptr) { | |||
| 63 | 63 | func (x *PopupBase) GetAutohide() bool { | |
| 64 | 64 | ||
| 65 | 65 | cret := XGdkPopupGetAutohide(x.GoPointer()) | |
| 66 | + | ||
| 66 | 67 | return cret | |
| 67 | 68 | } | |
| 68 | 69 | ||
| @@ -85,6 +86,7 @@ func (x *PopupBase) GetParent() *Surface { | |||
| 85 | 86 | func (x *PopupBase) GetPositionX() int { | |
| 86 | 87 | ||
| 87 | 88 | cret := XGdkPopupGetPositionX(x.GoPointer()) | |
| 89 | + | ||
| 88 | 90 | return cret | |
| 89 | 91 | } | |
| 90 | 92 | ||
| @@ -92,6 +94,7 @@ func (x *PopupBase) GetPositionX() int { | |||
| 92 | 94 | func (x *PopupBase) GetPositionY() int { | |
| 93 | 95 | ||
| 94 | 96 | cret := XGdkPopupGetPositionY(x.GoPointer()) | |
| 97 | + | ||
| 95 | 98 | return cret | |
| 96 | 99 | } | |
| 97 | 100 | ||
| @@ -102,6 +105,7 @@ func (x *PopupBase) GetPositionY() int { | |||
| 102 | 105 | func (x *PopupBase) GetRectAnchor() Gravity { | |
| 103 | 106 | ||
| 104 | 107 | cret := XGdkPopupGetRectAnchor(x.GoPointer()) | |
| 108 | + | ||
| 105 | 109 | return cret | |
| 106 | 110 | } | |
| 107 | 111 | ||
| @@ -112,6 +116,7 @@ func (x *PopupBase) GetRectAnchor() Gravity { | |||
| 112 | 116 | func (x *PopupBase) GetSurfaceAnchor() Gravity { | |
| 113 | 117 | ||
| 114 | 118 | cret := XGdkPopupGetSurfaceAnchor(x.GoPointer()) | |
| 119 | + | ||
| 115 | 120 | return cret | |
| 116 | 121 | } | |
| 117 | 122 | ||
| @@ -133,6 +138,7 @@ func (x *PopupBase) GetSurfaceAnchor() Gravity { | |||
| 133 | 138 | func (x *PopupBase) Present(WidthVar int, HeightVar int, LayoutVar *PopupLayout) bool { | |
| 134 | 139 | ||
| 135 | 140 | cret := XGdkPopupPresent(x.GoPointer(), WidthVar, HeightVar, LayoutVar) | |
| 141 | + | ||
| 136 | 142 | return cret | |
| 137 | 143 | } | |
| 138 | 144 | ||
M v4/gdk/gdkpopuplayout.go +8 -0
| @@ -74,6 +74,7 @@ var xNewPopupLayout func(*Rectangle, Gravity, Gravity) *PopupLayout | |||
| 74 | 74 | func NewPopupLayout(AnchorRectVar *Rectangle, RectAnchorVar Gravity, SurfaceAnchorVar Gravity) *PopupLayout { | |
| 75 | 75 | ||
| 76 | 76 | cret := xNewPopupLayout(AnchorRectVar, RectAnchorVar, SurfaceAnchorVar) | |
| 77 | + | ||
| 77 | 78 | return cret | |
| 78 | 79 | } | |
| 79 | 80 | ||
| @@ -83,6 +84,7 @@ var xPopupLayoutCopy func(uintptr) *PopupLayout | |||
| 83 | 84 | func (x *PopupLayout) Copy() *PopupLayout { | |
| 84 | 85 | ||
| 85 | 86 | cret := xPopupLayoutCopy(x.GoPointer()) | |
| 87 | + | ||
| 86 | 88 | return cret | |
| 87 | 89 | } | |
| 88 | 90 | ||
| @@ -92,6 +94,7 @@ var xPopupLayoutEqual func(uintptr, *PopupLayout) bool | |||
| 92 | 94 | func (x *PopupLayout) Equal(OtherVar *PopupLayout) bool { | |
| 93 | 95 | ||
| 94 | 96 | cret := xPopupLayoutEqual(x.GoPointer(), OtherVar) | |
| 97 | + | ||
| 95 | 98 | return cret | |
| 96 | 99 | } | |
| 97 | 100 | ||
| @@ -101,6 +104,7 @@ var xPopupLayoutGetAnchorHints func(uintptr) AnchorHints | |||
| 101 | 104 | func (x *PopupLayout) GetAnchorHints() AnchorHints { | |
| 102 | 105 | ||
| 103 | 106 | cret := xPopupLayoutGetAnchorHints(x.GoPointer()) | |
| 107 | + | ||
| 104 | 108 | return cret | |
| 105 | 109 | } | |
| 106 | 110 | ||
| @@ -110,6 +114,7 @@ var xPopupLayoutGetAnchorRect func(uintptr) *Rectangle | |||
| 110 | 114 | func (x *PopupLayout) GetAnchorRect() *Rectangle { | |
| 111 | 115 | ||
| 112 | 116 | cret := xPopupLayoutGetAnchorRect(x.GoPointer()) | |
| 117 | + | ||
| 113 | 118 | return cret | |
| 114 | 119 | } | |
| 115 | 120 | ||
| @@ -128,6 +133,7 @@ var xPopupLayoutGetRectAnchor func(uintptr) Gravity | |||
| 128 | 133 | func (x *PopupLayout) GetRectAnchor() Gravity { | |
| 129 | 134 | ||
| 130 | 135 | cret := xPopupLayoutGetRectAnchor(x.GoPointer()) | |
| 136 | + | ||
| 131 | 137 | return cret | |
| 132 | 138 | } | |
| 133 | 139 | ||
| @@ -146,6 +152,7 @@ var xPopupLayoutGetSurfaceAnchor func(uintptr) Gravity | |||
| 146 | 152 | func (x *PopupLayout) GetSurfaceAnchor() Gravity { | |
| 147 | 153 | ||
| 148 | 154 | cret := xPopupLayoutGetSurfaceAnchor(x.GoPointer()) | |
| 155 | + | ||
| 149 | 156 | return cret | |
| 150 | 157 | } | |
| 151 | 158 | ||
| @@ -155,6 +162,7 @@ var xPopupLayoutRef func(uintptr) *PopupLayout | |||
| 155 | 162 | func (x *PopupLayout) Ref() *PopupLayout { | |
| 156 | 163 | ||
| 157 | 164 | cret := xPopupLayoutRef(x.GoPointer()) | |
| 165 | + | ||
| 158 | 166 | return cret | |
| 159 | 167 | } | |
| 160 | 168 | ||
M v4/gdk/gdkrgba.go +7 -0
| @@ -48,6 +48,7 @@ var xRGBACopy func(uintptr) *RGBA | |||
| 48 | 48 | func (x *RGBA) Copy() *RGBA { | |
| 49 | 49 | ||
| 50 | 50 | cret := xRGBACopy(x.GoPointer()) | |
| 51 | + | ||
| 51 | 52 | return cret | |
| 52 | 53 | } | |
| 53 | 54 | ||
| @@ -57,6 +58,7 @@ var xRGBAEqual func(uintptr, uintptr) bool | |||
| 57 | 58 | func (x *RGBA) Equal(P2Var uintptr) bool { | |
| 58 | 59 | ||
| 59 | 60 | cret := xRGBAEqual(x.GoPointer(), P2Var) | |
| 61 | + | ||
| 60 | 62 | return cret | |
| 61 | 63 | } | |
| 62 | 64 | ||
| @@ -76,6 +78,7 @@ var xRGBAHash func(uintptr) uint | |||
| 76 | 78 | func (x *RGBA) Hash() uint { | |
| 77 | 79 | ||
| 78 | 80 | cret := xRGBAHash(x.GoPointer()) | |
| 81 | + | ||
| 79 | 82 | return cret | |
| 80 | 83 | } | |
| 81 | 84 | ||
| @@ -87,6 +90,7 @@ var xRGBAIsClear func(uintptr) bool | |||
| 87 | 90 | func (x *RGBA) IsClear() bool { | |
| 88 | 91 | ||
| 89 | 92 | cret := xRGBAIsClear(x.GoPointer()) | |
| 93 | + | ||
| 90 | 94 | return cret | |
| 91 | 95 | } | |
| 92 | 96 | ||
| @@ -99,6 +103,7 @@ var xRGBAIsOpaque func(uintptr) bool | |||
| 99 | 103 | func (x *RGBA) IsOpaque() bool { | |
| 100 | 104 | ||
| 101 | 105 | cret := xRGBAIsOpaque(x.GoPointer()) | |
| 106 | + | ||
| 102 | 107 | return cret | |
| 103 | 108 | } | |
| 104 | 109 | ||
| @@ -127,6 +132,7 @@ var xRGBAParse func(uintptr, string) bool | |||
| 127 | 132 | func (x *RGBA) Parse(SpecVar string) bool { | |
| 128 | 133 | ||
| 129 | 134 | cret := xRGBAParse(x.GoPointer(), SpecVar) | |
| 135 | + | ||
| 130 | 136 | return cret | |
| 131 | 137 | } | |
| 132 | 138 | ||
| @@ -148,6 +154,7 @@ var xRGBAToString func(uintptr) string | |||
| 148 | 154 | func (x *RGBA) ToString() string { | |
| 149 | 155 | ||
| 150 | 156 | cret := xRGBAToString(x.GoPointer()) | |
| 157 | + | ||
| 151 | 158 | return cret | |
| 152 | 159 | } | |
| 153 | 160 | ||
M v4/gdk/gdkseat.go +3 -0
| @@ -63,6 +63,7 @@ var xSeatGetCapabilities func(uintptr) SeatCapabilities | |||
| 63 | 63 | func (x *Seat) GetCapabilities() SeatCapabilities { | |
| 64 | 64 | ||
| 65 | 65 | cret := xSeatGetCapabilities(x.GoPointer()) | |
| 66 | + | ||
| 66 | 67 | return cret | |
| 67 | 68 | } | |
| 68 | 69 | ||
| @@ -72,6 +73,7 @@ var xSeatGetDevices func(uintptr, SeatCapabilities) *glib.List | |||
| 72 | 73 | func (x *Seat) GetDevices(CapabilitiesVar SeatCapabilities) *glib.List { | |
| 73 | 74 | ||
| 74 | 75 | cret := xSeatGetDevices(x.GoPointer(), CapabilitiesVar) | |
| 76 | + | ||
| 75 | 77 | return cret | |
| 76 | 78 | } | |
| 77 | 79 | ||
| @@ -132,6 +134,7 @@ var xSeatGetTools func(uintptr) *glib.List | |||
| 132 | 134 | func (x *Seat) GetTools() *glib.List { | |
| 133 | 135 | ||
| 134 | 136 | cret := xSeatGetTools(x.GoPointer()) | |
| 137 | + | ||
| 135 | 138 | return cret | |
| 136 | 139 | } | |
| 137 | 140 | ||
M v4/gdk/gdksurface.go +9 -0
| @@ -155,6 +155,7 @@ var xSurfaceCreateSimilarSurface func(uintptr, cairo.Content, int, int) *cairo.S | |||
| 155 | 155 | func (x *Surface) CreateSimilarSurface(ContentVar cairo.Content, WidthVar int, HeightVar int) *cairo.Surface { | |
| 156 | 156 | ||
| 157 | 157 | cret := xSurfaceCreateSimilarSurface(x.GoPointer(), ContentVar, WidthVar, HeightVar) | |
| 158 | + | ||
| 158 | 159 | return cret | |
| 159 | 160 | } | |
| 160 | 161 | ||
| @@ -251,6 +252,7 @@ var xSurfaceGetDevicePosition func(uintptr, uintptr, *float64, *float64, *Modifi | |||
| 251 | 252 | func (x *Surface) GetDevicePosition(DeviceVar *Device, XVar *float64, YVar *float64, MaskVar *ModifierType) bool { | |
| 252 | 253 | ||
| 253 | 254 | cret := xSurfaceGetDevicePosition(x.GoPointer(), DeviceVar.GoPointer(), XVar, YVar, MaskVar) | |
| 255 | + | ||
| 254 | 256 | return cret | |
| 255 | 257 | } | |
| 256 | 258 | ||
| @@ -300,6 +302,7 @@ var xSurfaceGetHeight func(uintptr) int | |||
| 300 | 302 | func (x *Surface) GetHeight() int { | |
| 301 | 303 | ||
| 302 | 304 | cret := xSurfaceGetHeight(x.GoPointer()) | |
| 305 | + | ||
| 303 | 306 | return cret | |
| 304 | 307 | } | |
| 305 | 308 | ||
| @@ -312,6 +315,7 @@ var xSurfaceGetMapped func(uintptr) bool | |||
| 312 | 315 | func (x *Surface) GetMapped() bool { | |
| 313 | 316 | ||
| 314 | 317 | cret := xSurfaceGetMapped(x.GoPointer()) | |
| 318 | + | ||
| 315 | 319 | return cret | |
| 316 | 320 | } | |
| 317 | 321 | ||
| @@ -331,6 +335,7 @@ var xSurfaceGetScale func(uintptr) float64 | |||
| 331 | 335 | func (x *Surface) GetScale() float64 { | |
| 332 | 336 | ||
| 333 | 337 | cret := xSurfaceGetScale(x.GoPointer()) | |
| 338 | + | ||
| 334 | 339 | return cret | |
| 335 | 340 | } | |
| 336 | 341 | ||
| @@ -350,6 +355,7 @@ var xSurfaceGetScaleFactor func(uintptr) int | |||
| 350 | 355 | func (x *Surface) GetScaleFactor() int { | |
| 351 | 356 | ||
| 352 | 357 | cret := xSurfaceGetScaleFactor(x.GoPointer()) | |
| 358 | + | ||
| 353 | 359 | return cret | |
| 354 | 360 | } | |
| 355 | 361 | ||
| @@ -362,6 +368,7 @@ var xSurfaceGetWidth func(uintptr) int | |||
| 362 | 368 | func (x *Surface) GetWidth() int { | |
| 363 | 369 | ||
| 364 | 370 | cret := xSurfaceGetWidth(x.GoPointer()) | |
| 371 | + | ||
| 365 | 372 | return cret | |
| 366 | 373 | } | |
| 367 | 374 | ||
| @@ -385,6 +392,7 @@ var xSurfaceIsDestroyed func(uintptr) bool | |||
| 385 | 392 | func (x *Surface) IsDestroyed() bool { | |
| 386 | 393 | ||
| 387 | 394 | cret := xSurfaceIsDestroyed(x.GoPointer()) | |
| 395 | + | ||
| 388 | 396 | return cret | |
| 389 | 397 | } | |
| 390 | 398 | ||
| @@ -497,6 +505,7 @@ var xSurfaceTranslateCoordinates func(uintptr, uintptr, float64, float64) bool | |||
| 497 | 505 | func (x *Surface) TranslateCoordinates(ToVar *Surface, XVar float64, YVar float64) bool { | |
| 498 | 506 | ||
| 499 | 507 | cret := xSurfaceTranslateCoordinates(x.GoPointer(), ToVar.GoPointer(), XVar, YVar) | |
| 508 | + | ||
| 500 | 509 | return cret | |
| 501 | 510 | } | |
| 502 | 511 | ||
M v4/gdk/gdktexture.go +17 -0
| @@ -50,6 +50,7 @@ var xTextureErrorQuark func() glib.Quark | |||
| 50 | 50 | func TextureErrorQuark() glib.Quark { | |
| 51 | 51 | ||
| 52 | 52 | cret := xTextureErrorQuark() | |
| 53 | + | ||
| 53 | 54 | return cret | |
| 54 | 55 | } | |
| 55 | 56 | ||
| @@ -291,6 +292,7 @@ var xTextureGetColorState func(uintptr) *ColorState | |||
| 291 | 292 | func (x *Texture) GetColorState() *ColorState { | |
| 292 | 293 | ||
| 293 | 294 | cret := xTextureGetColorState(x.GoPointer()) | |
| 295 | + | ||
| 294 | 296 | return cret | |
| 295 | 297 | } | |
| 296 | 298 | ||
| @@ -308,6 +310,7 @@ var xTextureGetFormat func(uintptr) MemoryFormat | |||
| 308 | 310 | func (x *Texture) GetFormat() MemoryFormat { | |
| 309 | 311 | ||
| 310 | 312 | cret := xTextureGetFormat(x.GoPointer()) | |
| 313 | + | ||
| 311 | 314 | return cret | |
| 312 | 315 | } | |
| 313 | 316 | ||
| @@ -317,6 +320,7 @@ var xTextureGetHeight func(uintptr) int | |||
| 317 | 320 | func (x *Texture) GetHeight() int { | |
| 318 | 321 | ||
| 319 | 322 | cret := xTextureGetHeight(x.GoPointer()) | |
| 323 | + | ||
| 320 | 324 | return cret | |
| 321 | 325 | } | |
| 322 | 326 | ||
| @@ -326,6 +330,7 @@ var xTextureGetWidth func(uintptr) int | |||
| 326 | 330 | func (x *Texture) GetWidth() int { | |
| 327 | 331 | ||
| 328 | 332 | cret := xTextureGetWidth(x.GoPointer()) | |
| 333 | + | ||
| 329 | 334 | return cret | |
| 330 | 335 | } | |
| 331 | 336 | ||
| @@ -341,6 +346,7 @@ var xTextureSaveToPng func(uintptr, string) bool | |||
| 341 | 346 | func (x *Texture) SaveToPng(FilenameVar string) bool { | |
| 342 | 347 | ||
| 343 | 348 | cret := xTextureSaveToPng(x.GoPointer(), FilenameVar) | |
| 349 | + | ||
| 344 | 350 | return cret | |
| 345 | 351 | } | |
| 346 | 352 | ||
| @@ -363,6 +369,7 @@ var xTextureSaveToPngBytes func(uintptr) *glib.Bytes | |||
| 363 | 369 | func (x *Texture) SaveToPngBytes() *glib.Bytes { | |
| 364 | 370 | ||
| 365 | 371 | cret := xTextureSaveToPngBytes(x.GoPointer()) | |
| 372 | + | ||
| 366 | 373 | return cret | |
| 367 | 374 | } | |
| 368 | 375 | ||
| @@ -374,6 +381,7 @@ var xTextureSaveToTiff func(uintptr, string) bool | |||
| 374 | 381 | func (x *Texture) SaveToTiff(FilenameVar string) bool { | |
| 375 | 382 | ||
| 376 | 383 | cret := xTextureSaveToTiff(x.GoPointer(), FilenameVar) | |
| 384 | + | ||
| 377 | 385 | return cret | |
| 378 | 386 | } | |
| 379 | 387 | ||
| @@ -394,6 +402,7 @@ var xTextureSaveToTiffBytes func(uintptr) *glib.Bytes | |||
| 394 | 402 | func (x *Texture) SaveToTiffBytes() *glib.Bytes { | |
| 395 | 403 | ||
| 396 | 404 | cret := xTextureSaveToTiffBytes(x.GoPointer()) | |
| 405 | + | ||
| 397 | 406 | return cret | |
| 398 | 407 | } | |
| 399 | 408 | ||
| @@ -502,6 +511,7 @@ func (x *Texture) GetCurrentImage() *PaintableBase { | |||
| 502 | 511 | func (x *Texture) GetFlags() PaintableFlags { | |
| 503 | 512 | ||
| 504 | 513 | cret := XGdkPaintableGetFlags(x.GoPointer()) | |
| 514 | + | ||
| 505 | 515 | return cret | |
| 506 | 516 | } | |
| 507 | 517 | ||
| @@ -525,6 +535,7 @@ func (x *Texture) GetFlags() PaintableFlags { | |||
| 525 | 535 | func (x *Texture) GetIntrinsicAspectRatio() float64 { | |
| 526 | 536 | ||
| 527 | 537 | cret := XGdkPaintableGetIntrinsicAspectRatio(x.GoPointer()) | |
| 538 | + | ||
| 528 | 539 | return cret | |
| 529 | 540 | } | |
| 530 | 541 | ||
| @@ -541,6 +552,7 @@ func (x *Texture) GetIntrinsicAspectRatio() float64 { | |||
| 541 | 552 | func (x *Texture) GetIntrinsicHeight() int { | |
| 542 | 553 | ||
| 543 | 554 | cret := XGdkPaintableGetIntrinsicHeight(x.GoPointer()) | |
| 555 | + | ||
| 544 | 556 | return cret | |
| 545 | 557 | } | |
| 546 | 558 | ||
| @@ -557,6 +569,7 @@ func (x *Texture) GetIntrinsicHeight() int { | |||
| 557 | 569 | func (x *Texture) GetIntrinsicWidth() int { | |
| 558 | 570 | ||
| 559 | 571 | cret := XGdkPaintableGetIntrinsicWidth(x.GoPointer()) | |
| 572 | + | ||
| 560 | 573 | return cret | |
| 561 | 574 | } | |
| 562 | 575 | ||
| @@ -607,6 +620,7 @@ func (x *Texture) Snapshot(SnapshotVar *Snapshot, WidthVar float64, HeightVar fl | |||
| 607 | 620 | func (x *Texture) Equal(Icon2Var gio.Icon) bool { | |
| 608 | 621 | ||
| 609 | 622 | cret := gio.XGIconEqual(x.GoPointer(), Icon2Var.GoPointer()) | |
| 623 | + | ||
| 610 | 624 | return cret | |
| 611 | 625 | } | |
| 612 | 626 | ||
| @@ -614,6 +628,7 @@ func (x *Texture) Equal(Icon2Var gio.Icon) bool { | |||
| 614 | 628 | func (x *Texture) Hash() uint { | |
| 615 | 629 | ||
| 616 | 630 | cret := gio.XGIconHash(x.GoPointer()) | |
| 631 | + | ||
| 617 | 632 | return cret | |
| 618 | 633 | } | |
| 619 | 634 | ||
| @@ -625,6 +640,7 @@ func (x *Texture) Hash() uint { | |||
| 625 | 640 | func (x *Texture) Serialize() *glib.Variant { | |
| 626 | 641 | ||
| 627 | 642 | cret := gio.XGIconSerialize(x.GoPointer()) | |
| 643 | + | ||
| 628 | 644 | return cret | |
| 629 | 645 | } | |
| 630 | 646 | ||
| @@ -647,6 +663,7 @@ func (x *Texture) Serialize() *glib.Variant { | |||
| 647 | 663 | func (x *Texture) ToString() string { | |
| 648 | 664 | ||
| 649 | 665 | cret := gio.XGIconToString(x.GoPointer()) | |
| 666 | + | ||
| 650 | 667 | return cret | |
| 651 | 668 | } | |
| 652 | 669 | ||
M v4/gdk/gdktoplevel.go +8 -0
| @@ -106,6 +106,7 @@ func (x *ToplevelBase) Focus(TimestampVar uint32) { | |||
| 106 | 106 | func (x *ToplevelBase) GetCapabilities() ToplevelCapabilities { | |
| 107 | 107 | ||
| 108 | 108 | cret := XGdkToplevelGetCapabilities(x.GoPointer()) | |
| 109 | + | ||
| 109 | 110 | return cret | |
| 110 | 111 | } | |
| 111 | 112 | ||
| @@ -114,6 +115,7 @@ func (x *ToplevelBase) GetCapabilities() ToplevelCapabilities { | |||
| 114 | 115 | func (x *ToplevelBase) GetGravity() Gravity { | |
| 115 | 116 | ||
| 116 | 117 | cret := XGdkToplevelGetGravity(x.GoPointer()) | |
| 118 | + | ||
| 117 | 119 | return cret | |
| 118 | 120 | } | |
| 119 | 121 | ||
| @@ -122,6 +124,7 @@ func (x *ToplevelBase) GetGravity() Gravity { | |||
| 122 | 124 | func (x *ToplevelBase) GetState() ToplevelState { | |
| 123 | 125 | ||
| 124 | 126 | cret := XGdkToplevelGetState(x.GoPointer()) | |
| 127 | + | ||
| 125 | 128 | return cret | |
| 126 | 129 | } | |
| 127 | 130 | ||
| @@ -158,6 +161,7 @@ func (x *ToplevelBase) InhibitSystemShortcuts(EventVar *Event) { | |||
| 158 | 161 | func (x *ToplevelBase) Lower() bool { | |
| 159 | 162 | ||
| 160 | 163 | cret := XGdkToplevelLower(x.GoPointer()) | |
| 164 | + | ||
| 161 | 165 | return cret | |
| 162 | 166 | } | |
| 163 | 167 | ||
| @@ -167,6 +171,7 @@ func (x *ToplevelBase) Lower() bool { | |||
| 167 | 171 | func (x *ToplevelBase) Minimize() bool { | |
| 168 | 172 | ||
| 169 | 173 | cret := XGdkToplevelMinimize(x.GoPointer()) | |
| 174 | + | ||
| 170 | 175 | return cret | |
| 171 | 176 | } | |
| 172 | 177 | ||
| @@ -301,6 +306,7 @@ func (x *ToplevelBase) SetTransientFor(ParentVar *Surface) { | |||
| 301 | 306 | func (x *ToplevelBase) ShowWindowMenu(EventVar *Event) bool { | |
| 302 | 307 | ||
| 303 | 308 | cret := XGdkToplevelShowWindowMenu(x.GoPointer(), EventVar.GoPointer()) | |
| 309 | + | ||
| 304 | 310 | return cret | |
| 305 | 311 | } | |
| 306 | 312 | ||
| @@ -309,6 +315,7 @@ func (x *ToplevelBase) ShowWindowMenu(EventVar *Event) bool { | |||
| 309 | 315 | func (x *ToplevelBase) SupportsEdgeConstraints() bool { | |
| 310 | 316 | ||
| 311 | 317 | cret := XGdkToplevelSupportsEdgeConstraints(x.GoPointer()) | |
| 318 | + | ||
| 312 | 319 | return cret | |
| 313 | 320 | } | |
| 314 | 321 | ||
| @@ -316,6 +323,7 @@ func (x *ToplevelBase) SupportsEdgeConstraints() bool { | |||
| 316 | 323 | func (x *ToplevelBase) TitlebarGesture(GestureVar TitlebarGesture) bool { | |
| 317 | 324 | ||
| 318 | 325 | cret := XGdkToplevelTitlebarGesture(x.GoPointer(), GestureVar) | |
| 326 | + | ||
| 319 | 327 | return cret | |
| 320 | 328 | } | |
| 321 | 329 | ||
M v4/gdk/gdktoplevellayout.go +7 -0
| @@ -46,6 +46,7 @@ var xNewToplevelLayout func() *ToplevelLayout | |||
| 46 | 46 | func NewToplevelLayout() *ToplevelLayout { | |
| 47 | 47 | ||
| 48 | 48 | cret := xNewToplevelLayout() | |
| 49 | + | ||
| 49 | 50 | return cret | |
| 50 | 51 | } | |
| 51 | 52 | ||
| @@ -55,6 +56,7 @@ var xToplevelLayoutCopy func(uintptr) *ToplevelLayout | |||
| 55 | 56 | func (x *ToplevelLayout) Copy() *ToplevelLayout { | |
| 56 | 57 | ||
| 57 | 58 | cret := xToplevelLayoutCopy(x.GoPointer()) | |
| 59 | + | ||
| 58 | 60 | return cret | |
| 59 | 61 | } | |
| 60 | 62 | ||
| @@ -64,6 +66,7 @@ var xToplevelLayoutEqual func(uintptr, *ToplevelLayout) bool | |||
| 64 | 66 | func (x *ToplevelLayout) Equal(OtherVar *ToplevelLayout) bool { | |
| 65 | 67 | ||
| 66 | 68 | cret := xToplevelLayoutEqual(x.GoPointer(), OtherVar) | |
| 69 | + | ||
| 67 | 70 | return cret | |
| 68 | 71 | } | |
| 69 | 72 | ||
| @@ -75,6 +78,7 @@ var xToplevelLayoutGetFullscreen func(uintptr, *bool) bool | |||
| 75 | 78 | func (x *ToplevelLayout) GetFullscreen(FullscreenVar *bool) bool { | |
| 76 | 79 | ||
| 77 | 80 | cret := xToplevelLayoutGetFullscreen(x.GoPointer(), FullscreenVar) | |
| 81 | + | ||
| 78 | 82 | return cret | |
| 79 | 83 | } | |
| 80 | 84 | ||
| @@ -104,6 +108,7 @@ var xToplevelLayoutGetMaximized func(uintptr, *bool) bool | |||
| 104 | 108 | func (x *ToplevelLayout) GetMaximized(MaximizedVar *bool) bool { | |
| 105 | 109 | ||
| 106 | 110 | cret := xToplevelLayoutGetMaximized(x.GoPointer(), MaximizedVar) | |
| 111 | + | ||
| 107 | 112 | return cret | |
| 108 | 113 | } | |
| 109 | 114 | ||
| @@ -114,6 +119,7 @@ var xToplevelLayoutGetResizable func(uintptr) bool | |||
| 114 | 119 | func (x *ToplevelLayout) GetResizable() bool { | |
| 115 | 120 | ||
| 116 | 121 | cret := xToplevelLayoutGetResizable(x.GoPointer()) | |
| 122 | + | ||
| 117 | 123 | return cret | |
| 118 | 124 | } | |
| 119 | 125 | ||
| @@ -123,6 +129,7 @@ var xToplevelLayoutRef func(uintptr) *ToplevelLayout | |||
| 123 | 129 | func (x *ToplevelLayout) Ref() *ToplevelLayout { | |
| 124 | 130 | ||
| 125 | 131 | cret := xToplevelLayoutRef(x.GoPointer()) | |
| 132 | + | ||
| 126 | 133 | return cret | |
| 127 | 134 | } | |
| 128 | 135 | ||
M v4/gdk/gdktypes.go +33 -0
| @@ -65,6 +65,7 @@ var xColorStateEqual func(uintptr, *ColorState) bool | |||
| 65 | 65 | func (x *ColorState) Equal(OtherVar *ColorState) bool { | |
| 66 | 66 | ||
| 67 | 67 | cret := xColorStateEqual(x.GoPointer(), OtherVar) | |
| 68 | + | ||
| 68 | 69 | return cret | |
| 69 | 70 | } | |
| 70 | 71 | ||
| @@ -77,6 +78,7 @@ var xColorStateEquivalent func(uintptr, *ColorState) bool | |||
| 77 | 78 | func (x *ColorState) Equivalent(OtherVar *ColorState) bool { | |
| 78 | 79 | ||
| 79 | 80 | cret := xColorStateEquivalent(x.GoPointer(), OtherVar) | |
| 81 | + | ||
| 80 | 82 | return cret | |
| 81 | 83 | } | |
| 82 | 84 | ||
| @@ -86,6 +88,7 @@ var xColorStateRef func(uintptr) *ColorState | |||
| 86 | 88 | func (x *ColorState) Ref() *ColorState { | |
| 87 | 89 | ||
| 88 | 90 | cret := xColorStateRef(x.GoPointer()) | |
| 91 | + | ||
| 89 | 92 | return cret | |
| 90 | 93 | } | |
| 91 | 94 | ||
| @@ -156,6 +159,7 @@ var xNewContentFormats func([]string, uint) *ContentFormats | |||
| 156 | 159 | func NewContentFormats(MimeTypesVar []string, NMimeTypesVar uint) *ContentFormats { | |
| 157 | 160 | ||
| 158 | 161 | cret := xNewContentFormats(MimeTypesVar, NMimeTypesVar) | |
| 162 | + | ||
| 159 | 163 | return cret | |
| 160 | 164 | } | |
| 161 | 165 | ||
| @@ -165,6 +169,7 @@ var xNewContentFormatsForGtype func(types.GType) *ContentFormats | |||
| 165 | 169 | func NewContentFormatsForGtype(TypeVar types.GType) *ContentFormats { | |
| 166 | 170 | ||
| 167 | 171 | cret := xNewContentFormatsForGtype(TypeVar) | |
| 172 | + | ||
| 168 | 173 | return cret | |
| 169 | 174 | } | |
| 170 | 175 | ||
| @@ -174,6 +179,7 @@ var xContentFormatsContainGtype func(uintptr, types.GType) bool | |||
| 174 | 179 | func (x *ContentFormats) ContainGtype(TypeVar types.GType) bool { | |
| 175 | 180 | ||
| 176 | 181 | cret := xContentFormatsContainGtype(x.GoPointer(), TypeVar) | |
| 182 | + | ||
| 177 | 183 | return cret | |
| 178 | 184 | } | |
| 179 | 185 | ||
| @@ -183,6 +189,7 @@ var xContentFormatsContainMimeType func(uintptr, string) bool | |||
| 183 | 189 | func (x *ContentFormats) ContainMimeType(MimeTypeVar string) bool { | |
| 184 | 190 | ||
| 185 | 191 | cret := xContentFormatsContainMimeType(x.GoPointer(), MimeTypeVar) | |
| 192 | + | ||
| 186 | 193 | return cret | |
| 187 | 194 | } | |
| 188 | 195 | ||
| @@ -195,6 +202,7 @@ var xContentFormatsGetGtypes func(uintptr, *uint) uintptr | |||
| 195 | 202 | func (x *ContentFormats) GetGtypes(NGtypesVar *uint) uintptr { | |
| 196 | 203 | ||
| 197 | 204 | cret := xContentFormatsGetGtypes(x.GoPointer(), NGtypesVar) | |
| 205 | + | ||
| 198 | 206 | return cret | |
| 199 | 207 | } | |
| 200 | 208 | ||
| @@ -207,6 +215,7 @@ var xContentFormatsGetMimeTypes func(uintptr, *uint) []string | |||
| 207 | 215 | func (x *ContentFormats) GetMimeTypes(NMimeTypesVar *uint) []string { | |
| 208 | 216 | ||
| 209 | 217 | cret := xContentFormatsGetMimeTypes(x.GoPointer(), NMimeTypesVar) | |
| 218 | + | ||
| 210 | 219 | return cret | |
| 211 | 220 | } | |
| 212 | 221 | ||
| @@ -216,6 +225,7 @@ var xContentFormatsIsEmpty func(uintptr) bool | |||
| 216 | 225 | func (x *ContentFormats) IsEmpty() bool { | |
| 217 | 226 | ||
| 218 | 227 | cret := xContentFormatsIsEmpty(x.GoPointer()) | |
| 228 | + | ||
| 219 | 229 | return cret | |
| 220 | 230 | } | |
| 221 | 231 | ||
| @@ -225,6 +235,7 @@ var xContentFormatsMatch func(uintptr, *ContentFormats) bool | |||
| 225 | 235 | func (x *ContentFormats) Match(SecondVar *ContentFormats) bool { | |
| 226 | 236 | ||
| 227 | 237 | cret := xContentFormatsMatch(x.GoPointer(), SecondVar) | |
| 238 | + | ||
| 228 | 239 | return cret | |
| 229 | 240 | } | |
| 230 | 241 | ||
| @@ -237,6 +248,7 @@ var xContentFormatsMatchGtype func(uintptr, *ContentFormats) types.GType | |||
| 237 | 248 | func (x *ContentFormats) MatchGtype(SecondVar *ContentFormats) types.GType { | |
| 238 | 249 | ||
| 239 | 250 | cret := xContentFormatsMatchGtype(x.GoPointer(), SecondVar) | |
| 251 | + | ||
| 240 | 252 | return cret | |
| 241 | 253 | } | |
| 242 | 254 | ||
| @@ -249,6 +261,7 @@ var xContentFormatsMatchMimeType func(uintptr, *ContentFormats) string | |||
| 249 | 261 | func (x *ContentFormats) MatchMimeType(SecondVar *ContentFormats) string { | |
| 250 | 262 | ||
| 251 | 263 | cret := xContentFormatsMatchMimeType(x.GoPointer(), SecondVar) | |
| 264 | + | ||
| 252 | 265 | return cret | |
| 253 | 266 | } | |
| 254 | 267 | ||
| @@ -270,6 +283,7 @@ var xContentFormatsRef func(uintptr) *ContentFormats | |||
| 270 | 283 | func (x *ContentFormats) Ref() *ContentFormats { | |
| 271 | 284 | ||
| 272 | 285 | cret := xContentFormatsRef(x.GoPointer()) | |
| 286 | + | ||
| 273 | 287 | return cret | |
| 274 | 288 | } | |
| 275 | 289 | ||
| @@ -284,6 +298,7 @@ var xContentFormatsToString func(uintptr) string | |||
| 284 | 298 | func (x *ContentFormats) ToString() string { | |
| 285 | 299 | ||
| 286 | 300 | cret := xContentFormatsToString(x.GoPointer()) | |
| 301 | + | ||
| 287 | 302 | return cret | |
| 288 | 303 | } | |
| 289 | 304 | ||
| @@ -294,6 +309,7 @@ var xContentFormatsUnion func(uintptr, *ContentFormats) *ContentFormats | |||
| 294 | 309 | func (x *ContentFormats) Union(SecondVar *ContentFormats) *ContentFormats { | |
| 295 | 310 | ||
| 296 | 311 | cret := xContentFormatsUnion(x.GoPointer(), SecondVar) | |
| 312 | + | ||
| 297 | 313 | return cret | |
| 298 | 314 | } | |
| 299 | 315 | ||
| @@ -304,6 +320,7 @@ var xContentFormatsUnionDeserializeGtypes func(uintptr) *ContentFormats | |||
| 304 | 320 | func (x *ContentFormats) UnionDeserializeGtypes() *ContentFormats { | |
| 305 | 321 | ||
| 306 | 322 | cret := xContentFormatsUnionDeserializeGtypes(x.GoPointer()) | |
| 323 | + | ||
| 307 | 324 | return cret | |
| 308 | 325 | } | |
| 309 | 326 | ||
| @@ -314,6 +331,7 @@ var xContentFormatsUnionDeserializeMimeTypes func(uintptr) *ContentFormats | |||
| 314 | 331 | func (x *ContentFormats) UnionDeserializeMimeTypes() *ContentFormats { | |
| 315 | 332 | ||
| 316 | 333 | cret := xContentFormatsUnionDeserializeMimeTypes(x.GoPointer()) | |
| 334 | + | ||
| 317 | 335 | return cret | |
| 318 | 336 | } | |
| 319 | 337 | ||
| @@ -324,6 +342,7 @@ var xContentFormatsUnionSerializeGtypes func(uintptr) *ContentFormats | |||
| 324 | 342 | func (x *ContentFormats) UnionSerializeGtypes() *ContentFormats { | |
| 325 | 343 | ||
| 326 | 344 | cret := xContentFormatsUnionSerializeGtypes(x.GoPointer()) | |
| 345 | + | ||
| 327 | 346 | return cret | |
| 328 | 347 | } | |
| 329 | 348 | ||
| @@ -334,6 +353,7 @@ var xContentFormatsUnionSerializeMimeTypes func(uintptr) *ContentFormats | |||
| 334 | 353 | func (x *ContentFormats) UnionSerializeMimeTypes() *ContentFormats { | |
| 335 | 354 | ||
| 336 | 355 | cret := xContentFormatsUnionSerializeMimeTypes(x.GoPointer()) | |
| 356 | + | ||
| 337 | 357 | return cret | |
| 338 | 358 | } | |
| 339 | 359 | ||
| @@ -387,6 +407,7 @@ var xDmabufFormatsContains func(uintptr, uint32, uint64) bool | |||
| 387 | 407 | func (x *DmabufFormats) Contains(FourccVar uint32, ModifierVar uint64) bool { | |
| 388 | 408 | ||
| 389 | 409 | cret := xDmabufFormatsContains(x.GoPointer(), FourccVar, ModifierVar) | |
| 410 | + | ||
| 390 | 411 | return cret | |
| 391 | 412 | } | |
| 392 | 413 | ||
| @@ -397,6 +418,7 @@ var xDmabufFormatsEqual func(uintptr, *DmabufFormats) bool | |||
| 397 | 418 | func (x *DmabufFormats) Equal(Formats2Var *DmabufFormats) bool { | |
| 398 | 419 | ||
| 399 | 420 | cret := xDmabufFormatsEqual(x.GoPointer(), Formats2Var) | |
| 421 | + | ||
| 400 | 422 | return cret | |
| 401 | 423 | } | |
| 402 | 424 | ||
| @@ -421,6 +443,7 @@ var xDmabufFormatsGetNFormats func(uintptr) uint | |||
| 421 | 443 | func (x *DmabufFormats) GetNFormats() uint { | |
| 422 | 444 | ||
| 423 | 445 | cret := xDmabufFormatsGetNFormats(x.GoPointer()) | |
| 446 | + | ||
| 424 | 447 | return cret | |
| 425 | 448 | } | |
| 426 | 449 | ||
| @@ -430,6 +453,7 @@ var xDmabufFormatsRef func(uintptr) *DmabufFormats | |||
| 430 | 453 | func (x *DmabufFormats) Ref() *DmabufFormats { | |
| 431 | 454 | ||
| 432 | 455 | cret := xDmabufFormatsRef(x.GoPointer()) | |
| 456 | + | ||
| 433 | 457 | return cret | |
| 434 | 458 | } | |
| 435 | 459 | ||
| @@ -503,6 +527,7 @@ var xRectangleContainsPoint func(uintptr, int, int) bool | |||
| 503 | 527 | func (x *Rectangle) ContainsPoint(XVar int, YVar int) bool { | |
| 504 | 528 | ||
| 505 | 529 | cret := xRectangleContainsPoint(x.GoPointer(), XVar, YVar) | |
| 530 | + | ||
| 506 | 531 | return cret | |
| 507 | 532 | } | |
| 508 | 533 | ||
| @@ -512,6 +537,7 @@ var xRectangleEqual func(uintptr, *Rectangle) bool | |||
| 512 | 537 | func (x *Rectangle) Equal(Rect2Var *Rectangle) bool { | |
| 513 | 538 | ||
| 514 | 539 | cret := xRectangleEqual(x.GoPointer(), Rect2Var) | |
| 540 | + | ||
| 515 | 541 | return cret | |
| 516 | 542 | } | |
| 517 | 543 | ||
| @@ -527,6 +553,7 @@ var xRectangleIntersect func(uintptr, *Rectangle, *Rectangle) bool | |||
| 527 | 553 | func (x *Rectangle) Intersect(Src2Var *Rectangle, DestVar *Rectangle) bool { | |
| 528 | 554 | ||
| 529 | 555 | cret := xRectangleIntersect(x.GoPointer(), Src2Var, DestVar) | |
| 556 | + | ||
| 530 | 557 | return cret | |
| 531 | 558 | } | |
| 532 | 559 | ||
| @@ -578,6 +605,7 @@ var xNewTextureDownloader func(uintptr) *TextureDownloader | |||
| 578 | 605 | func NewTextureDownloader(TextureVar *Texture) *TextureDownloader { | |
| 579 | 606 | ||
| 580 | 607 | cret := xNewTextureDownloader(TextureVar.GoPointer()) | |
| 608 | + | ||
| 581 | 609 | return cret | |
| 582 | 610 | } | |
| 583 | 611 | ||
| @@ -589,6 +617,7 @@ var xTextureDownloaderCopy func(uintptr) *TextureDownloader | |||
| 589 | 617 | func (x *TextureDownloader) Copy() *TextureDownloader { | |
| 590 | 618 | ||
| 591 | 619 | cret := xTextureDownloaderCopy(x.GoPointer()) | |
| 620 | + | ||
| 592 | 621 | return cret | |
| 593 | 622 | } | |
| 594 | 623 | ||
| @@ -607,6 +636,7 @@ var xTextureDownloaderDownloadBytes func(uintptr, *uint) *glib.Bytes | |||
| 607 | 636 | func (x *TextureDownloader) DownloadBytes(OutStrideVar *uint) *glib.Bytes { | |
| 608 | 637 | ||
| 609 | 638 | cret := xTextureDownloaderDownloadBytes(x.GoPointer(), OutStrideVar) | |
| 639 | + | ||
| 610 | 640 | return cret | |
| 611 | 641 | } | |
| 612 | 642 | ||
| @@ -620,6 +650,7 @@ var xTextureDownloaderDownloadBytesWithPlanes func(uintptr, *[4]uint, *[4]uint) | |||
| 620 | 650 | func (x *TextureDownloader) DownloadBytesWithPlanes(OutOffsetsVar *[4]uint, OutStridesVar *[4]uint) *glib.Bytes { | |
| 621 | 651 | ||
| 622 | 652 | cret := xTextureDownloaderDownloadBytesWithPlanes(x.GoPointer(), OutOffsetsVar, OutStridesVar) | |
| 653 | + | ||
| 623 | 654 | return cret | |
| 624 | 655 | } | |
| 625 | 656 | ||
| @@ -649,6 +680,7 @@ var xTextureDownloaderGetColorState func(uintptr) *ColorState | |||
| 649 | 680 | func (x *TextureDownloader) GetColorState() *ColorState { | |
| 650 | 681 | ||
| 651 | 682 | cret := xTextureDownloaderGetColorState(x.GoPointer()) | |
| 683 | + | ||
| 652 | 684 | return cret | |
| 653 | 685 | } | |
| 654 | 686 | ||
| @@ -658,6 +690,7 @@ var xTextureDownloaderGetFormat func(uintptr) MemoryFormat | |||
| 658 | 690 | func (x *TextureDownloader) GetFormat() MemoryFormat { | |
| 659 | 691 | ||
| 660 | 692 | cret := xTextureDownloaderGetFormat(x.GoPointer()) | |
| 693 | + | ||
| 661 | 694 | return cret | |
| 662 | 695 | } | |
| 663 | 696 | ||
M v4/gdk/gdkvulkancontext.go +1 -0
| @@ -17,6 +17,7 @@ var xVulkanErrorQuark func() glib.Quark | |||
| 17 | 17 | func VulkanErrorQuark() glib.Quark { | |
| 18 | 18 | ||
| 19 | 19 | cret := xVulkanErrorQuark() | |
| 20 | + | ||
| 20 | 21 | return cret | |
| 21 | 22 | } | |
| 22 | 23 | ||
M v4/gdkpixbuf/gdk-pixbuf-animation.go +6 -0
| @@ -438,6 +438,7 @@ var xPixbufAnimationGetHeight func(uintptr) int | |||
| 438 | 438 | func (x *PixbufAnimation) GetHeight() int { | |
| 439 | 439 | ||
| 440 | 440 | cret := xPixbufAnimationGetHeight(x.GoPointer()) | |
| 441 | + | ||
| 441 | 442 | return cret | |
| 442 | 443 | } | |
| 443 | 444 | ||
| @@ -523,6 +524,7 @@ var xPixbufAnimationGetWidth func(uintptr) int | |||
| 523 | 524 | func (x *PixbufAnimation) GetWidth() int { | |
| 524 | 525 | ||
| 525 | 526 | cret := xPixbufAnimationGetWidth(x.GoPointer()) | |
| 527 | + | ||
| 526 | 528 | return cret | |
| 527 | 529 | } | |
| 528 | 530 | ||
| @@ -537,6 +539,7 @@ var xPixbufAnimationIsStaticImage func(uintptr) bool | |||
| 537 | 539 | func (x *PixbufAnimation) IsStaticImage() bool { | |
| 538 | 540 | ||
| 539 | 541 | cret := xPixbufAnimationIsStaticImage(x.GoPointer()) | |
| 542 | + | ||
| 540 | 543 | return cret | |
| 541 | 544 | } | |
| 542 | 545 | ||
| @@ -651,6 +654,7 @@ var xPixbufAnimationIterAdvance func(uintptr, *glib.TimeVal) bool | |||
| 651 | 654 | func (x *PixbufAnimationIter) Advance(CurrentTimeVar *glib.TimeVal) bool { | |
| 652 | 655 | ||
| 653 | 656 | cret := xPixbufAnimationIterAdvance(x.GoPointer(), CurrentTimeVar) | |
| 657 | + | ||
| 654 | 658 | return cret | |
| 655 | 659 | } | |
| 656 | 660 | ||
| @@ -668,6 +672,7 @@ var xPixbufAnimationIterGetDelayTime func(uintptr) int | |||
| 668 | 672 | func (x *PixbufAnimationIter) GetDelayTime() int { | |
| 669 | 673 | ||
| 670 | 674 | cret := xPixbufAnimationIterGetDelayTime(x.GoPointer()) | |
| 675 | + | ||
| 671 | 676 | return cret | |
| 672 | 677 | } | |
| 673 | 678 | ||
| @@ -713,6 +718,7 @@ var xPixbufAnimationIterOnCurrentlyLoadingFrame func(uintptr) bool | |||
| 713 | 718 | func (x *PixbufAnimationIter) OnCurrentlyLoadingFrame() bool { | |
| 714 | 719 | ||
| 715 | 720 | cret := xPixbufAnimationIterOnCurrentlyLoadingFrame(x.GoPointer()) | |
| 721 | + | ||
| 716 | 722 | return cret | |
| 717 | 723 | } | |
| 718 | 724 | ||
M v4/gdkpixbuf/gdk-pixbuf-io.go +10 -0
| @@ -143,6 +143,7 @@ var xPixbufFormatCopy func(uintptr) *PixbufFormat | |||
| 143 | 143 | func (x *PixbufFormat) Copy() *PixbufFormat { | |
| 144 | 144 | ||
| 145 | 145 | cret := xPixbufFormatCopy(x.GoPointer()) | |
| 146 | + | ||
| 146 | 147 | return cret | |
| 147 | 148 | } | |
| 148 | 149 | ||
| @@ -162,6 +163,7 @@ var xPixbufFormatGetDescription func(uintptr) string | |||
| 162 | 163 | func (x *PixbufFormat) GetDescription() string { | |
| 163 | 164 | ||
| 164 | 165 | cret := xPixbufFormatGetDescription(x.GoPointer()) | |
| 166 | + | ||
| 165 | 167 | return cret | |
| 166 | 168 | } | |
| 167 | 169 | ||
| @@ -172,6 +174,7 @@ var xPixbufFormatGetExtensions func(uintptr) []string | |||
| 172 | 174 | func (x *PixbufFormat) GetExtensions() []string { | |
| 173 | 175 | ||
| 174 | 176 | cret := xPixbufFormatGetExtensions(x.GoPointer()) | |
| 177 | + | ||
| 175 | 178 | return cret | |
| 176 | 179 | } | |
| 177 | 180 | ||
| @@ -184,6 +187,7 @@ var xPixbufFormatGetLicense func(uintptr) string | |||
| 184 | 187 | func (x *PixbufFormat) GetLicense() string { | |
| 185 | 188 | ||
| 186 | 189 | cret := xPixbufFormatGetLicense(x.GoPointer()) | |
| 190 | + | ||
| 187 | 191 | return cret | |
| 188 | 192 | } | |
| 189 | 193 | ||
| @@ -193,6 +197,7 @@ var xPixbufFormatGetMimeTypes func(uintptr) []string | |||
| 193 | 197 | func (x *PixbufFormat) GetMimeTypes() []string { | |
| 194 | 198 | ||
| 195 | 199 | cret := xPixbufFormatGetMimeTypes(x.GoPointer()) | |
| 200 | + | ||
| 196 | 201 | return cret | |
| 197 | 202 | } | |
| 198 | 203 | ||
| @@ -202,6 +207,7 @@ var xPixbufFormatGetName func(uintptr) string | |||
| 202 | 207 | func (x *PixbufFormat) GetName() string { | |
| 203 | 208 | ||
| 204 | 209 | cret := xPixbufFormatGetName(x.GoPointer()) | |
| 210 | + | ||
| 205 | 211 | return cret | |
| 206 | 212 | } | |
| 207 | 213 | ||
| @@ -213,6 +219,7 @@ var xPixbufFormatIsDisabled func(uintptr) bool | |||
| 213 | 219 | func (x *PixbufFormat) IsDisabled() bool { | |
| 214 | 220 | ||
| 215 | 221 | cret := xPixbufFormatIsDisabled(x.GoPointer()) | |
| 222 | + | ||
| 216 | 223 | return cret | |
| 217 | 224 | } | |
| 218 | 225 | ||
| @@ -225,6 +232,7 @@ var xPixbufFormatIsSaveOptionSupported func(uintptr, string) bool | |||
| 225 | 232 | func (x *PixbufFormat) IsSaveOptionSupported(OptionKeyVar string) bool { | |
| 226 | 233 | ||
| 227 | 234 | cret := xPixbufFormatIsSaveOptionSupported(x.GoPointer(), OptionKeyVar) | |
| 235 | + | ||
| 228 | 236 | return cret | |
| 229 | 237 | } | |
| 230 | 238 | ||
| @@ -238,6 +246,7 @@ var xPixbufFormatIsScalable func(uintptr) bool | |||
| 238 | 246 | func (x *PixbufFormat) IsScalable() bool { | |
| 239 | 247 | ||
| 240 | 248 | cret := xPixbufFormatIsScalable(x.GoPointer()) | |
| 249 | + | ||
| 241 | 250 | return cret | |
| 242 | 251 | } | |
| 243 | 252 | ||
| @@ -247,6 +256,7 @@ var xPixbufFormatIsWritable func(uintptr) bool | |||
| 247 | 256 | func (x *PixbufFormat) IsWritable() bool { | |
| 248 | 257 | ||
| 249 | 258 | cret := xPixbufFormatIsWritable(x.GoPointer()) | |
| 259 | + | ||
| 250 | 260 | return cret | |
| 251 | 261 | } | |
| 252 | 262 | ||
M v4/gdkpixbuf/gdk-pixbuf-loader.go +4 -0
| @@ -289,6 +289,7 @@ func (x *PixbufLoader) Close() (bool, error) { | |||
| 289 | 289 | var cerr *glib.Error | |
| 290 | 290 | ||
| 291 | 291 | cret := xPixbufLoaderClose(x.GoPointer()) | |
| 292 | + | ||
| 292 | 293 | if cerr == nil { | |
| 293 | 294 | return cret, nil | |
| 294 | 295 | } | |
| @@ -327,6 +328,7 @@ var xPixbufLoaderGetFormat func(uintptr) *PixbufFormat | |||
| 327 | 328 | func (x *PixbufLoader) GetFormat() *PixbufFormat { | |
| 328 | 329 | ||
| 329 | 330 | cret := xPixbufLoaderGetFormat(x.GoPointer()) | |
| 331 | + | ||
| 330 | 332 | return cret | |
| 331 | 333 | } | |
| 332 | 334 | ||
| @@ -384,6 +386,7 @@ func (x *PixbufLoader) Write(BufVar []byte, CountVar uint) (bool, error) { | |||
| 384 | 386 | var cerr *glib.Error | |
| 385 | 387 | ||
| 386 | 388 | cret := xPixbufLoaderWrite(x.GoPointer(), BufVar, CountVar, &cerr) | |
| 389 | + | ||
| 387 | 390 | if cerr == nil { | |
| 388 | 391 | return cret, nil | |
| 389 | 392 | } | |
| @@ -398,6 +401,7 @@ func (x *PixbufLoader) WriteBytes(BufferVar *glib.Bytes) (bool, error) { | |||
| 398 | 401 | var cerr *glib.Error | |
| 399 | 402 | ||
| 400 | 403 | cret := xPixbufLoaderWriteBytes(x.GoPointer(), BufferVar, &cerr) | |
| 404 | + | ||
| 401 | 405 | if cerr == nil { | |
| 402 | 406 | return cret, nil | |
| 403 | 407 | } | |
M v4/gdkpixbuf/gdk-pixbuf-simple-anim.go +1 -0
| @@ -69,6 +69,7 @@ var xPixbufSimpleAnimGetLoop func(uintptr) bool | |||
| 69 | 69 | func (x *PixbufSimpleAnim) GetLoop() bool { | |
| 70 | 70 | ||
| 71 | 71 | cret := xPixbufSimpleAnimGetLoop(x.GoPointer()) | |
| 72 | + | ||
| 72 | 73 | return cret | |
| 73 | 74 | } | |
| 74 | 75 | ||
M v4/gdkpixbuf/gdk-pixbuf.go +35 -0
| @@ -740,6 +740,7 @@ var xPixbufCopyOptions func(uintptr, uintptr) bool | |||
| 740 | 740 | func (x *Pixbuf) CopyOptions(DestPixbufVar *Pixbuf) bool { | |
| 741 | 741 | ||
| 742 | 742 | cret := xPixbufCopyOptions(x.GoPointer(), DestPixbufVar.GoPointer()) | |
| 743 | + | ||
| 743 | 744 | return cret | |
| 744 | 745 | } | |
| 745 | 746 | ||
| @@ -779,6 +780,7 @@ var xPixbufGetBitsPerSample func(uintptr) int | |||
| 779 | 780 | func (x *Pixbuf) GetBitsPerSample() int { | |
| 780 | 781 | ||
| 781 | 782 | cret := xPixbufGetBitsPerSample(x.GoPointer()) | |
| 783 | + | ||
| 782 | 784 | return cret | |
| 783 | 785 | } | |
| 784 | 786 | ||
| @@ -788,6 +790,7 @@ var xPixbufGetByteLength func(uintptr) uint | |||
| 788 | 790 | func (x *Pixbuf) GetByteLength() uint { | |
| 789 | 791 | ||
| 790 | 792 | cret := xPixbufGetByteLength(x.GoPointer()) | |
| 793 | + | ||
| 791 | 794 | return cret | |
| 792 | 795 | } | |
| 793 | 796 | ||
| @@ -797,6 +800,7 @@ var xPixbufGetColorspace func(uintptr) Colorspace | |||
| 797 | 800 | func (x *Pixbuf) GetColorspace() Colorspace { | |
| 798 | 801 | ||
| 799 | 802 | cret := xPixbufGetColorspace(x.GoPointer()) | |
| 803 | + | ||
| 800 | 804 | return cret | |
| 801 | 805 | } | |
| 802 | 806 | ||
| @@ -806,6 +810,7 @@ var xPixbufGetHasAlpha func(uintptr) bool | |||
| 806 | 810 | func (x *Pixbuf) GetHasAlpha() bool { | |
| 807 | 811 | ||
| 808 | 812 | cret := xPixbufGetHasAlpha(x.GoPointer()) | |
| 813 | + | ||
| 809 | 814 | return cret | |
| 810 | 815 | } | |
| 811 | 816 | ||
| @@ -815,6 +820,7 @@ var xPixbufGetHeight func(uintptr) int | |||
| 815 | 820 | func (x *Pixbuf) GetHeight() int { | |
| 816 | 821 | ||
| 817 | 822 | cret := xPixbufGetHeight(x.GoPointer()) | |
| 823 | + | ||
| 818 | 824 | return cret | |
| 819 | 825 | } | |
| 820 | 826 | ||
| @@ -824,6 +830,7 @@ var xPixbufGetNChannels func(uintptr) int | |||
| 824 | 830 | func (x *Pixbuf) GetNChannels() int { | |
| 825 | 831 | ||
| 826 | 832 | cret := xPixbufGetNChannels(x.GoPointer()) | |
| 833 | + | ||
| 827 | 834 | return cret | |
| 828 | 835 | } | |
| 829 | 836 | ||
| @@ -847,6 +854,7 @@ var xPixbufGetOption func(uintptr, string) string | |||
| 847 | 854 | func (x *Pixbuf) GetOption(KeyVar string) string { | |
| 848 | 855 | ||
| 849 | 856 | cret := xPixbufGetOption(x.GoPointer(), KeyVar) | |
| 857 | + | ||
| 850 | 858 | return cret | |
| 851 | 859 | } | |
| 852 | 860 | ||
| @@ -858,6 +866,7 @@ var xPixbufGetOptions func(uintptr) *glib.HashTable | |||
| 858 | 866 | func (x *Pixbuf) GetOptions() *glib.HashTable { | |
| 859 | 867 | ||
| 860 | 868 | cret := xPixbufGetOptions(x.GoPointer()) | |
| 869 | + | ||
| 861 | 870 | return cret | |
| 862 | 871 | } | |
| 863 | 872 | ||
| @@ -873,6 +882,7 @@ var xPixbufGetPixels func(uintptr) uintptr | |||
| 873 | 882 | func (x *Pixbuf) GetPixels() uintptr { | |
| 874 | 883 | ||
| 875 | 884 | cret := xPixbufGetPixels(x.GoPointer()) | |
| 885 | + | ||
| 876 | 886 | return cret | |
| 877 | 887 | } | |
| 878 | 888 | ||
| @@ -888,6 +898,7 @@ var xPixbufGetPixelsWithLength func(uintptr, *uint) uintptr | |||
| 888 | 898 | func (x *Pixbuf) GetPixelsWithLength(LengthVar *uint) uintptr { | |
| 889 | 899 | ||
| 890 | 900 | cret := xPixbufGetPixelsWithLength(x.GoPointer(), LengthVar) | |
| 901 | + | ||
| 891 | 902 | return cret | |
| 892 | 903 | } | |
| 893 | 904 | ||
| @@ -898,6 +909,7 @@ var xPixbufGetRowstride func(uintptr) int | |||
| 898 | 909 | func (x *Pixbuf) GetRowstride() int { | |
| 899 | 910 | ||
| 900 | 911 | cret := xPixbufGetRowstride(x.GoPointer()) | |
| 912 | + | ||
| 901 | 913 | return cret | |
| 902 | 914 | } | |
| 903 | 915 | ||
| @@ -907,6 +919,7 @@ var xPixbufGetWidth func(uintptr) int | |||
| 907 | 919 | func (x *Pixbuf) GetWidth() int { | |
| 908 | 920 | ||
| 909 | 921 | cret := xPixbufGetWidth(x.GoPointer()) | |
| 922 | + | ||
| 910 | 923 | return cret | |
| 911 | 924 | } | |
| 912 | 925 | ||
| @@ -944,6 +957,7 @@ var xPixbufReadPixelBytes func(uintptr) *glib.Bytes | |||
| 944 | 957 | func (x *Pixbuf) ReadPixelBytes() *glib.Bytes { | |
| 945 | 958 | ||
| 946 | 959 | cret := xPixbufReadPixelBytes(x.GoPointer()) | |
| 960 | + | ||
| 947 | 961 | return cret | |
| 948 | 962 | } | |
| 949 | 963 | ||
| @@ -956,6 +970,7 @@ var xPixbufReadPixels func(uintptr) byte | |||
| 956 | 970 | func (x *Pixbuf) ReadPixels() byte { | |
| 957 | 971 | ||
| 958 | 972 | cret := xPixbufReadPixels(x.GoPointer()) | |
| 973 | + | ||
| 959 | 974 | return cret | |
| 960 | 975 | } | |
| 961 | 976 | ||
| @@ -981,6 +996,7 @@ var xPixbufRemoveOption func(uintptr, string) bool | |||
| 981 | 996 | func (x *Pixbuf) RemoveOption(KeyVar string) bool { | |
| 982 | 997 | ||
| 983 | 998 | cret := xPixbufRemoveOption(x.GoPointer(), KeyVar) | |
| 999 | + | ||
| 984 | 1000 | return cret | |
| 985 | 1001 | } | |
| 986 | 1002 | ||
| @@ -1102,6 +1118,7 @@ var xPixbufSave func(uintptr, string, string, **glib.Error, ...interface{}) bool | |||
| 1102 | 1118 | func (x *Pixbuf) Save(FilenameVar string, TypeVar string, ErrorVar **glib.Error, varArgs ...interface{}) bool { | |
| 1103 | 1119 | ||
| 1104 | 1120 | cret := xPixbufSave(x.GoPointer(), FilenameVar, TypeVar, ErrorVar, varArgs...) | |
| 1121 | + | ||
| 1105 | 1122 | return cret | |
| 1106 | 1123 | } | |
| 1107 | 1124 | ||
| @@ -1124,6 +1141,7 @@ var xPixbufSaveToBuffer func(uintptr, *[]byte, *uint, string, **glib.Error, ...i | |||
| 1124 | 1141 | func (x *Pixbuf) SaveToBuffer(BufferVar *[]byte, BufferSizeVar *uint, TypeVar string, ErrorVar **glib.Error, varArgs ...interface{}) bool { | |
| 1125 | 1142 | ||
| 1126 | 1143 | cret := xPixbufSaveToBuffer(x.GoPointer(), BufferVar, BufferSizeVar, TypeVar, ErrorVar, varArgs...) | |
| 1144 | + | ||
| 1127 | 1145 | return cret | |
| 1128 | 1146 | } | |
| 1129 | 1147 | ||
| @@ -1139,6 +1157,7 @@ func (x *Pixbuf) SaveToBufferv(BufferVar *[]byte, BufferSizeVar *uint, TypeVar s | |||
| 1139 | 1157 | var cerr *glib.Error | |
| 1140 | 1158 | ||
| 1141 | 1159 | cret := xPixbufSaveToBufferv(x.GoPointer(), BufferVar, BufferSizeVar, TypeVar, OptionKeysVar, OptionValuesVar, &cerr) | |
| 1160 | + | ||
| 1142 | 1161 | if cerr == nil { | |
| 1143 | 1162 | return cret, nil | |
| 1144 | 1163 | } | |
| @@ -1177,6 +1196,7 @@ func (x *Pixbuf) SaveToCallback(SaveFuncVar *PixbufSaveFunc, UserDataVar uintptr | |||
| 1177 | 1196 | } | |
| 1178 | 1197 | ||
| 1179 | 1198 | cret := xPixbufSaveToCallback(x.GoPointer(), SaveFuncVarRef, UserDataVar, TypeVar, ErrorVar, varArgs...) | |
| 1199 | + | ||
| 1180 | 1200 | return cret | |
| 1181 | 1201 | } | |
| 1182 | 1202 | ||
| @@ -1209,6 +1229,7 @@ func (x *Pixbuf) SaveToCallbackv(SaveFuncVar *PixbufSaveFunc, UserDataVar uintpt | |||
| 1209 | 1229 | } | |
| 1210 | 1230 | ||
| 1211 | 1231 | cret := xPixbufSaveToCallbackv(x.GoPointer(), SaveFuncVarRef, UserDataVar, TypeVar, OptionKeysVar, OptionValuesVar, &cerr) | |
| 1232 | + | ||
| 1212 | 1233 | if cerr == nil { | |
| 1213 | 1234 | return cret, nil | |
| 1214 | 1235 | } | |
| @@ -1232,6 +1253,7 @@ var xPixbufSaveToStream func(uintptr, uintptr, string, uintptr, **glib.Error, .. | |||
| 1232 | 1253 | func (x *Pixbuf) SaveToStream(StreamVar *gio.OutputStream, TypeVar string, CancellableVar *gio.Cancellable, ErrorVar **glib.Error, varArgs ...interface{}) bool { | |
| 1233 | 1254 | ||
| 1234 | 1255 | cret := xPixbufSaveToStream(x.GoPointer(), StreamVar.GoPointer(), TypeVar, CancellableVar.GoPointer(), ErrorVar, varArgs...) | |
| 1256 | + | ||
| 1235 | 1257 | return cret | |
| 1236 | 1258 | } | |
| 1237 | 1259 | ||
| @@ -1279,6 +1301,7 @@ func (x *Pixbuf) SaveToStreamv(StreamVar *gio.OutputStream, TypeVar string, Opti | |||
| 1279 | 1301 | var cerr *glib.Error | |
| 1280 | 1302 | ||
| 1281 | 1303 | cret := xPixbufSaveToStreamv(x.GoPointer(), StreamVar.GoPointer(), TypeVar, OptionKeysVar, OptionValuesVar, CancellableVar.GoPointer(), &cerr) | |
| 1304 | + | ||
| 1282 | 1305 | if cerr == nil { | |
| 1283 | 1306 | return cret, nil | |
| 1284 | 1307 | } | |
| @@ -1331,6 +1354,7 @@ func (x *Pixbuf) Savev(FilenameVar string, TypeVar string, OptionKeysVar []strin | |||
| 1331 | 1354 | var cerr *glib.Error | |
| 1332 | 1355 | ||
| 1333 | 1356 | cret := xPixbufSavev(x.GoPointer(), FilenameVar, TypeVar, OptionKeysVar, OptionValuesVar, &cerr) | |
| 1357 | + | ||
| 1334 | 1358 | if cerr == nil { | |
| 1335 | 1359 | return cret, nil | |
| 1336 | 1360 | } | |
| @@ -1401,6 +1425,7 @@ var xPixbufSetOption func(uintptr, string, string) bool | |||
| 1401 | 1425 | func (x *Pixbuf) SetOption(KeyVar string, ValueVar string) bool { | |
| 1402 | 1426 | ||
| 1403 | 1427 | cret := xPixbufSetOption(x.GoPointer(), KeyVar, ValueVar) | |
| 1428 | + | ||
| 1404 | 1429 | return cret | |
| 1405 | 1430 | } | |
| 1406 | 1431 | ||
| @@ -1578,6 +1603,7 @@ func (x *Pixbuf) GetPropertyWidth() int { | |||
| 1578 | 1603 | func (x *Pixbuf) Equal(Icon2Var gio.Icon) bool { | |
| 1579 | 1604 | ||
| 1580 | 1605 | cret := gio.XGIconEqual(x.GoPointer(), Icon2Var.GoPointer()) | |
| 1606 | + | ||
| 1581 | 1607 | return cret | |
| 1582 | 1608 | } | |
| 1583 | 1609 | ||
| @@ -1585,6 +1611,7 @@ func (x *Pixbuf) Equal(Icon2Var gio.Icon) bool { | |||
| 1585 | 1611 | func (x *Pixbuf) Hash() uint { | |
| 1586 | 1612 | ||
| 1587 | 1613 | cret := gio.XGIconHash(x.GoPointer()) | |
| 1614 | + | ||
| 1588 | 1615 | return cret | |
| 1589 | 1616 | } | |
| 1590 | 1617 | ||
| @@ -1596,6 +1623,7 @@ func (x *Pixbuf) Hash() uint { | |||
| 1596 | 1623 | func (x *Pixbuf) Serialize() *glib.Variant { | |
| 1597 | 1624 | ||
| 1598 | 1625 | cret := gio.XGIconSerialize(x.GoPointer()) | |
| 1626 | + | ||
| 1599 | 1627 | return cret | |
| 1600 | 1628 | } | |
| 1601 | 1629 | ||
| @@ -1618,6 +1646,7 @@ func (x *Pixbuf) Serialize() *glib.Variant { | |||
| 1618 | 1646 | func (x *Pixbuf) ToString() string { | |
| 1619 | 1647 | ||
| 1620 | 1648 | cret := gio.XGIconToString(x.GoPointer()) | |
| 1649 | + | ||
| 1621 | 1650 | return cret | |
| 1622 | 1651 | } | |
| 1623 | 1652 | ||
| @@ -1679,6 +1708,7 @@ var xPixbufCalculateRowstride func(Colorspace, bool, int, int, int) int | |||
| 1679 | 1708 | func PixbufCalculateRowstride(ColorspaceVar Colorspace, HasAlphaVar bool, BitsPerSampleVar int, WidthVar int, HeightVar int) int { | |
| 1680 | 1709 | ||
| 1681 | 1710 | cret := xPixbufCalculateRowstride(ColorspaceVar, HasAlphaVar, BitsPerSampleVar, WidthVar, HeightVar) | |
| 1711 | + | ||
| 1682 | 1712 | return cret | |
| 1683 | 1713 | } | |
| 1684 | 1714 | ||
| @@ -1688,6 +1718,7 @@ var xPixbufGetFileInfo func(string, *int, *int) *PixbufFormat | |||
| 1688 | 1718 | func PixbufGetFileInfo(FilenameVar string, WidthVar *int, HeightVar *int) *PixbufFormat { | |
| 1689 | 1719 | ||
| 1690 | 1720 | cret := xPixbufGetFileInfo(FilenameVar, WidthVar, HeightVar) | |
| 1721 | + | ||
| 1691 | 1722 | return cret | |
| 1692 | 1723 | } | |
| 1693 | 1724 | ||
| @@ -1731,6 +1762,7 @@ func PixbufGetFileInfoFinish(AsyncResultVar gio.AsyncResult, WidthVar *int, Heig | |||
| 1731 | 1762 | var cerr *glib.Error | |
| 1732 | 1763 | ||
| 1733 | 1764 | cret := xPixbufGetFileInfoFinish(AsyncResultVar.GoPointer(), WidthVar, HeightVar, &cerr) | |
| 1765 | + | ||
| 1734 | 1766 | if cerr == nil { | |
| 1735 | 1767 | return cret, nil | |
| 1736 | 1768 | } | |
| @@ -1745,6 +1777,7 @@ var xPixbufGetFormats func() *glib.SList | |||
| 1745 | 1777 | func PixbufGetFormats() *glib.SList { | |
| 1746 | 1778 | ||
| 1747 | 1779 | cret := xPixbufGetFormats() | |
| 1780 | + | ||
| 1748 | 1781 | return cret | |
| 1749 | 1782 | } | |
| 1750 | 1783 | ||
| @@ -1767,6 +1800,7 @@ func PixbufInitModules(PathVar string) (bool, error) { | |||
| 1767 | 1800 | var cerr *glib.Error | |
| 1768 | 1801 | ||
| 1769 | 1802 | cret := xPixbufInitModules(PathVar, &cerr) | |
| 1803 | + | ||
| 1770 | 1804 | if cerr == nil { | |
| 1771 | 1805 | return cret, nil | |
| 1772 | 1806 | } | |
| @@ -1843,6 +1877,7 @@ func PixbufSaveToStreamFinish(AsyncResultVar gio.AsyncResult) (bool, error) { | |||
| 1843 | 1877 | var cerr *glib.Error | |
| 1844 | 1878 | ||
| 1845 | 1879 | cret := xPixbufSaveToStreamFinish(AsyncResultVar.GoPointer(), &cerr) | |
| 1880 | + | ||
| 1846 | 1881 | if cerr == nil { | |
| 1847 | 1882 | return cret, nil | |
| 1848 | 1883 | } | |
M v4/gdkpixbuf/main.go +1 -0
| @@ -13,6 +13,7 @@ var xPixbufErrorQuark func() glib.Quark | |||
| 13 | 13 | func PixbufErrorQuark() glib.Quark { | |
| 14 | 14 | ||
| 15 | 15 | cret := xPixbufErrorQuark() | |
| 16 | + | ||
| 16 | 17 | return cret | |
| 17 | 18 | } | |
| 18 | 19 | ||
M v4/gio/gaction.go +9 -0
| @@ -342,6 +342,7 @@ func (x *ActionBase) ChangeState(ValueVar *glib.Variant) { | |||
| 342 | 342 | func (x *ActionBase) GetEnabled() bool { | |
| 343 | 343 | ||
| 344 | 344 | cret := XGActionGetEnabled(x.GoPointer()) | |
| 345 | + | ||
| 345 | 346 | return cret | |
| 346 | 347 | } | |
| 347 | 348 | ||
| @@ -349,6 +350,7 @@ func (x *ActionBase) GetEnabled() bool { | |||
| 349 | 350 | func (x *ActionBase) GetName() string { | |
| 350 | 351 | ||
| 351 | 352 | cret := XGActionGetName(x.GoPointer()) | |
| 353 | + | ||
| 352 | 354 | return cret | |
| 353 | 355 | } | |
| 354 | 356 | ||
| @@ -364,6 +366,7 @@ func (x *ActionBase) GetName() string { | |||
| 364 | 366 | func (x *ActionBase) GetParameterType() *glib.VariantType { | |
| 365 | 367 | ||
| 366 | 368 | cret := XGActionGetParameterType(x.GoPointer()) | |
| 369 | + | ||
| 367 | 370 | return cret | |
| 368 | 371 | } | |
| 369 | 372 | ||
| @@ -378,6 +381,7 @@ func (x *ActionBase) GetParameterType() *glib.VariantType { | |||
| 378 | 381 | func (x *ActionBase) GetState() *glib.Variant { | |
| 379 | 382 | ||
| 380 | 383 | cret := XGActionGetState(x.GoPointer()) | |
| 384 | + | ||
| 381 | 385 | return cret | |
| 382 | 386 | } | |
| 383 | 387 | ||
| @@ -402,6 +406,7 @@ func (x *ActionBase) GetState() *glib.Variant { | |||
| 402 | 406 | func (x *ActionBase) GetStateHint() *glib.Variant { | |
| 403 | 407 | ||
| 404 | 408 | cret := XGActionGetStateHint(x.GoPointer()) | |
| 409 | + | ||
| 405 | 410 | return cret | |
| 406 | 411 | } | |
| 407 | 412 | ||
| @@ -420,6 +425,7 @@ func (x *ActionBase) GetStateHint() *glib.Variant { | |||
| 420 | 425 | func (x *ActionBase) GetStateType() *glib.VariantType { | |
| 421 | 426 | ||
| 422 | 427 | cret := XGActionGetStateType(x.GoPointer()) | |
| 428 | + | ||
| 423 | 429 | return cret | |
| 424 | 430 | } | |
| 425 | 431 | ||
| @@ -501,6 +507,7 @@ var xActionNameIsValid func(string) bool | |||
| 501 | 507 | func ActionNameIsValid(ActionNameVar string) bool { | |
| 502 | 508 | ||
| 503 | 509 | cret := xActionNameIsValid(ActionNameVar) | |
| 510 | + | ||
| 504 | 511 | return cret | |
| 505 | 512 | } | |
| 506 | 513 | ||
| @@ -540,6 +547,7 @@ func ActionParseDetailedName(DetailedNameVar string, ActionNameVar *string, Targ | |||
| 540 | 547 | var cerr *glib.Error | |
| 541 | 548 | ||
| 542 | 549 | cret := xActionParseDetailedName(DetailedNameVar, ActionNameVar, TargetValueVar, &cerr) | |
| 550 | + | ||
| 543 | 551 | if cerr == nil { | |
| 544 | 552 | return cret, nil | |
| 545 | 553 | } | |
| @@ -562,6 +570,7 @@ var xActionPrintDetailedName func(string, *glib.Variant) string | |||
| 562 | 570 | func ActionPrintDetailedName(ActionNameVar string, TargetValueVar *glib.Variant) string { | |
| 563 | 571 | ||
| 564 | 572 | cret := xActionPrintDetailedName(ActionNameVar, TargetValueVar) | |
| 573 | + | ||
| 565 | 574 | return cret | |
| 566 | 575 | } | |
| 567 | 576 | ||
M v4/gio/gactiongroup.go +8 -0
| @@ -583,6 +583,7 @@ func (x *ActionGroupBase) ChangeActionState(ActionNameVar string, ValueVar *glib | |||
| 583 | 583 | func (x *ActionGroupBase) GetActionEnabled(ActionNameVar string) bool { | |
| 584 | 584 | ||
| 585 | 585 | cret := XGActionGroupGetActionEnabled(x.GoPointer(), ActionNameVar) | |
| 586 | + | ||
| 586 | 587 | return cret | |
| 587 | 588 | } | |
| 588 | 589 | ||
| @@ -602,6 +603,7 @@ func (x *ActionGroupBase) GetActionEnabled(ActionNameVar string) bool { | |||
| 602 | 603 | func (x *ActionGroupBase) GetActionParameterType(ActionNameVar string) *glib.VariantType { | |
| 603 | 604 | ||
| 604 | 605 | cret := XGActionGroupGetActionParameterType(x.GoPointer(), ActionNameVar) | |
| 606 | + | ||
| 605 | 607 | return cret | |
| 606 | 608 | } | |
| 607 | 609 | ||
| @@ -616,6 +618,7 @@ func (x *ActionGroupBase) GetActionParameterType(ActionNameVar string) *glib.Var | |||
| 616 | 618 | func (x *ActionGroupBase) GetActionState(ActionNameVar string) *glib.Variant { | |
| 617 | 619 | ||
| 618 | 620 | cret := XGActionGroupGetActionState(x.GoPointer(), ActionNameVar) | |
| 621 | + | ||
| 619 | 622 | return cret | |
| 620 | 623 | } | |
| 621 | 624 | ||
| @@ -640,6 +643,7 @@ func (x *ActionGroupBase) GetActionState(ActionNameVar string) *glib.Variant { | |||
| 640 | 643 | func (x *ActionGroupBase) GetActionStateHint(ActionNameVar string) *glib.Variant { | |
| 641 | 644 | ||
| 642 | 645 | cret := XGActionGroupGetActionStateHint(x.GoPointer(), ActionNameVar) | |
| 646 | + | ||
| 643 | 647 | return cret | |
| 644 | 648 | } | |
| 645 | 649 | ||
| @@ -662,6 +666,7 @@ func (x *ActionGroupBase) GetActionStateHint(ActionNameVar string) *glib.Variant | |||
| 662 | 666 | func (x *ActionGroupBase) GetActionStateType(ActionNameVar string) *glib.VariantType { | |
| 663 | 667 | ||
| 664 | 668 | cret := XGActionGroupGetActionStateType(x.GoPointer(), ActionNameVar) | |
| 669 | + | ||
| 665 | 670 | return cret | |
| 666 | 671 | } | |
| 667 | 672 | ||
| @@ -669,6 +674,7 @@ func (x *ActionGroupBase) GetActionStateType(ActionNameVar string) *glib.Variant | |||
| 669 | 674 | func (x *ActionGroupBase) HasAction(ActionNameVar string) bool { | |
| 670 | 675 | ||
| 671 | 676 | cret := XGActionGroupHasAction(x.GoPointer(), ActionNameVar) | |
| 677 | + | ||
| 672 | 678 | return cret | |
| 673 | 679 | } | |
| 674 | 680 | ||
| @@ -679,6 +685,7 @@ func (x *ActionGroupBase) HasAction(ActionNameVar string) bool { | |||
| 679 | 685 | func (x *ActionGroupBase) ListActions() []string { | |
| 680 | 686 | ||
| 681 | 687 | cret := XGActionGroupListActions(x.GoPointer()) | |
| 688 | + | ||
| 682 | 689 | return cret | |
| 683 | 690 | } | |
| 684 | 691 | ||
| @@ -712,6 +719,7 @@ func (x *ActionGroupBase) ListActions() []string { | |||
| 712 | 719 | func (x *ActionGroupBase) QueryAction(ActionNameVar string, EnabledVar *bool, ParameterTypeVar **glib.VariantType, StateTypeVar **glib.VariantType, StateHintVar **glib.Variant, StateVar **glib.Variant) bool { | |
| 713 | 720 | ||
| 714 | 721 | cret := XGActionGroupQueryAction(x.GoPointer(), ActionNameVar, EnabledVar, ParameterTypeVar, StateTypeVar, StateHintVar, StateVar) | |
| 722 | + | ||
| 715 | 723 | return cret | |
| 716 | 724 | } | |
| 717 | 725 | ||
M v4/gio/gappinfo.go +37 -1
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gio | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "runtime" | |
| 5 | 6 | "structs" | |
| 6 | 7 | "unsafe" | |
| 7 | 8 | ||
| @@ -1112,6 +1113,7 @@ func (x *AppInfoBase) AddSupportsType(ContentTypeVar string) (bool, error) { | |||
| 1112 | 1113 | var cerr *glib.Error | |
| 1113 | 1114 | ||
| 1114 | 1115 | cret := XGAppInfoAddSupportsType(x.GoPointer(), ContentTypeVar, &cerr) | |
| 1116 | + | ||
| 1115 | 1117 | if cerr == nil { | |
| 1116 | 1118 | return cret, nil | |
| 1117 | 1119 | } | |
| @@ -1124,6 +1126,7 @@ func (x *AppInfoBase) AddSupportsType(ContentTypeVar string) (bool, error) { | |||
| 1124 | 1126 | func (x *AppInfoBase) CanDelete() bool { | |
| 1125 | 1127 | ||
| 1126 | 1128 | cret := XGAppInfoCanDelete(x.GoPointer()) | |
| 1129 | + | ||
| 1127 | 1130 | return cret | |
| 1128 | 1131 | } | |
| 1129 | 1132 | ||
| @@ -1131,6 +1134,7 @@ func (x *AppInfoBase) CanDelete() bool { | |||
| 1131 | 1134 | func (x *AppInfoBase) CanRemoveSupportsType() bool { | |
| 1132 | 1135 | ||
| 1133 | 1136 | cret := XGAppInfoCanRemoveSupportsType(x.GoPointer()) | |
| 1137 | + | ||
| 1134 | 1138 | return cret | |
| 1135 | 1139 | } | |
| 1136 | 1140 | ||
| @@ -1142,6 +1146,7 @@ func (x *AppInfoBase) CanRemoveSupportsType() bool { | |||
| 1142 | 1146 | func (x *AppInfoBase) Delete() bool { | |
| 1143 | 1147 | ||
| 1144 | 1148 | cret := XGAppInfoDelete(x.GoPointer()) | |
| 1149 | + | ||
| 1145 | 1150 | return cret | |
| 1146 | 1151 | } | |
| 1147 | 1152 | ||
| @@ -1167,6 +1172,7 @@ func (x *AppInfoBase) Dup() *AppInfoBase { | |||
| 1167 | 1172 | func (x *AppInfoBase) Equal(Appinfo2Var AppInfo) bool { | |
| 1168 | 1173 | ||
| 1169 | 1174 | cret := XGAppInfoEqual(x.GoPointer(), Appinfo2Var.GoPointer()) | |
| 1175 | + | ||
| 1170 | 1176 | return cret | |
| 1171 | 1177 | } | |
| 1172 | 1178 | ||
| @@ -1175,6 +1181,7 @@ func (x *AppInfoBase) Equal(Appinfo2Var AppInfo) bool { | |||
| 1175 | 1181 | func (x *AppInfoBase) GetCommandline() string { | |
| 1176 | 1182 | ||
| 1177 | 1183 | cret := XGAppInfoGetCommandline(x.GoPointer()) | |
| 1184 | + | ||
| 1178 | 1185 | return cret | |
| 1179 | 1186 | } | |
| 1180 | 1187 | ||
| @@ -1182,6 +1189,7 @@ func (x *AppInfoBase) GetCommandline() string { | |||
| 1182 | 1189 | func (x *AppInfoBase) GetDescription() string { | |
| 1183 | 1190 | ||
| 1184 | 1191 | cret := XGAppInfoGetDescription(x.GoPointer()) | |
| 1192 | + | ||
| 1185 | 1193 | return cret | |
| 1186 | 1194 | } | |
| 1187 | 1195 | ||
| @@ -1190,6 +1198,7 @@ func (x *AppInfoBase) GetDescription() string { | |||
| 1190 | 1198 | func (x *AppInfoBase) GetDisplayName() string { | |
| 1191 | 1199 | ||
| 1192 | 1200 | cret := XGAppInfoGetDisplayName(x.GoPointer()) | |
| 1201 | + | ||
| 1193 | 1202 | return cret | |
| 1194 | 1203 | } | |
| 1195 | 1204 | ||
| @@ -1201,6 +1210,7 @@ func (x *AppInfoBase) GetDisplayName() string { | |||
| 1201 | 1210 | func (x *AppInfoBase) GetExecutable() string { | |
| 1202 | 1211 | ||
| 1203 | 1212 | cret := XGAppInfoGetExecutable(x.GoPointer()) | |
| 1213 | + | ||
| 1204 | 1214 | return cret | |
| 1205 | 1215 | } | |
| 1206 | 1216 | ||
| @@ -1228,6 +1238,7 @@ func (x *AppInfoBase) GetIcon() *IconBase { | |||
| 1228 | 1238 | func (x *AppInfoBase) GetId() string { | |
| 1229 | 1239 | ||
| 1230 | 1240 | cret := XGAppInfoGetId(x.GoPointer()) | |
| 1241 | + | ||
| 1231 | 1242 | return cret | |
| 1232 | 1243 | } | |
| 1233 | 1244 | ||
| @@ -1235,6 +1246,7 @@ func (x *AppInfoBase) GetId() string { | |||
| 1235 | 1246 | func (x *AppInfoBase) GetName() string { | |
| 1236 | 1247 | ||
| 1237 | 1248 | cret := XGAppInfoGetName(x.GoPointer()) | |
| 1249 | + | ||
| 1238 | 1250 | return cret | |
| 1239 | 1251 | } | |
| 1240 | 1252 | ||
| @@ -1248,6 +1260,7 @@ func (x *AppInfoBase) GetName() string { | |||
| 1248 | 1260 | func (x *AppInfoBase) GetSupportedTypes() []string { | |
| 1249 | 1261 | ||
| 1250 | 1262 | cret := XGAppInfoGetSupportedTypes(x.GoPointer()) | |
| 1263 | + | ||
| 1251 | 1264 | return cret | |
| 1252 | 1265 | } | |
| 1253 | 1266 | ||
| @@ -1282,6 +1295,7 @@ func (x *AppInfoBase) Launch(FilesVar *glib.List, ContextVar *AppLaunchContext) | |||
| 1282 | 1295 | var cerr *glib.Error | |
| 1283 | 1296 | ||
| 1284 | 1297 | cret := XGAppInfoLaunch(x.GoPointer(), FilesVar, ContextVar.GoPointer(), &cerr) | |
| 1298 | + | ||
| 1285 | 1299 | if cerr == nil { | |
| 1286 | 1300 | return cret, nil | |
| 1287 | 1301 | } | |
| @@ -1305,6 +1319,7 @@ func (x *AppInfoBase) LaunchUris(UrisVar *glib.List, ContextVar *AppLaunchContex | |||
| 1305 | 1319 | var cerr *glib.Error | |
| 1306 | 1320 | ||
| 1307 | 1321 | cret := XGAppInfoLaunchUris(x.GoPointer(), UrisVar, ContextVar.GoPointer(), &cerr) | |
| 1322 | + | ||
| 1308 | 1323 | if cerr == nil { | |
| 1309 | 1324 | return cret, nil | |
| 1310 | 1325 | } | |
| @@ -1329,6 +1344,7 @@ func (x *AppInfoBase) LaunchUrisFinish(ResultVar AsyncResult) (bool, error) { | |||
| 1329 | 1344 | var cerr *glib.Error | |
| 1330 | 1345 | ||
| 1331 | 1346 | cret := XGAppInfoLaunchUrisFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr) | |
| 1347 | + | ||
| 1332 | 1348 | if cerr == nil { | |
| 1333 | 1349 | return cret, nil | |
| 1334 | 1350 | } | |
| @@ -1341,6 +1357,7 @@ func (x *AppInfoBase) RemoveSupportsType(ContentTypeVar string) (bool, error) { | |||
| 1341 | 1357 | var cerr *glib.Error | |
| 1342 | 1358 | ||
| 1343 | 1359 | cret := XGAppInfoRemoveSupportsType(x.GoPointer(), ContentTypeVar, &cerr) | |
| 1360 | + | ||
| 1344 | 1361 | if cerr == nil { | |
| 1345 | 1362 | return cret, nil | |
| 1346 | 1363 | } | |
| @@ -1353,6 +1370,7 @@ func (x *AppInfoBase) SetAsDefaultForExtension(ExtensionVar string) (bool, error | |||
| 1353 | 1370 | var cerr *glib.Error | |
| 1354 | 1371 | ||
| 1355 | 1372 | cret := XGAppInfoSetAsDefaultForExtension(x.GoPointer(), ExtensionVar, &cerr) | |
| 1373 | + | ||
| 1356 | 1374 | if cerr == nil { | |
| 1357 | 1375 | return cret, nil | |
| 1358 | 1376 | } | |
| @@ -1365,6 +1383,7 @@ func (x *AppInfoBase) SetAsDefaultForType(ContentTypeVar string) (bool, error) { | |||
| 1365 | 1383 | var cerr *glib.Error | |
| 1366 | 1384 | ||
| 1367 | 1385 | cret := XGAppInfoSetAsDefaultForType(x.GoPointer(), ContentTypeVar, &cerr) | |
| 1386 | + | ||
| 1368 | 1387 | if cerr == nil { | |
| 1369 | 1388 | return cret, nil | |
| 1370 | 1389 | } | |
| @@ -1380,6 +1399,7 @@ func (x *AppInfoBase) SetAsLastUsedForType(ContentTypeVar string) (bool, error) | |||
| 1380 | 1399 | var cerr *glib.Error | |
| 1381 | 1400 | ||
| 1382 | 1401 | cret := XGAppInfoSetAsLastUsedForType(x.GoPointer(), ContentTypeVar, &cerr) | |
| 1402 | + | ||
| 1383 | 1403 | if cerr == nil { | |
| 1384 | 1404 | return cret, nil | |
| 1385 | 1405 | } | |
| @@ -1392,6 +1412,7 @@ func (x *AppInfoBase) SetAsLastUsedForType(ContentTypeVar string) (bool, error) | |||
| 1392 | 1412 | func (x *AppInfoBase) ShouldShow() bool { | |
| 1393 | 1413 | ||
| 1394 | 1414 | cret := XGAppInfoShouldShow(x.GoPointer()) | |
| 1415 | + | ||
| 1395 | 1416 | return cret | |
| 1396 | 1417 | } | |
| 1397 | 1418 | ||
| @@ -1399,6 +1420,7 @@ func (x *AppInfoBase) ShouldShow() bool { | |||
| 1399 | 1420 | func (x *AppInfoBase) SupportsFiles() bool { | |
| 1400 | 1421 | ||
| 1401 | 1422 | cret := XGAppInfoSupportsFiles(x.GoPointer()) | |
| 1423 | + | ||
| 1402 | 1424 | return cret | |
| 1403 | 1425 | } | |
| 1404 | 1426 | ||
| @@ -1406,6 +1428,7 @@ func (x *AppInfoBase) SupportsFiles() bool { | |||
| 1406 | 1428 | func (x *AppInfoBase) SupportsUris() bool { | |
| 1407 | 1429 | ||
| 1408 | 1430 | cret := XGAppInfoSupportsUris(x.GoPointer()) | |
| 1431 | + | ||
| 1409 | 1432 | return cret | |
| 1410 | 1433 | } | |
| 1411 | 1434 | ||
| @@ -1450,7 +1473,11 @@ func AppInfoCreateFromCommandline(CommandlineVar string, ApplicationNameVar *str | |||
| 1450 | 1473 | var cls *AppInfoBase | |
| 1451 | 1474 | var cerr *glib.Error | |
| 1452 | 1475 | ||
| 1453 | - | cret := xAppInfoCreateFromCommandline(CommandlineVar, core.NullableStringToPtr(ApplicationNameVar), FlagsVar, &cerr) | |
| 1476 | + | ApplicationNameVarPtr, ApplicationNameVarBytes := core.NullableStringToPtr(ApplicationNameVar) | |
| 1477 | + | ||
| 1478 | + | cret := xAppInfoCreateFromCommandline(CommandlineVar, ApplicationNameVarPtr, FlagsVar, &cerr) | |
| 1479 | + | ||
| 1480 | + | runtime.KeepAlive(ApplicationNameVarBytes) | |
| 1454 | 1481 | ||
| 1455 | 1482 | if cret == 0 { | |
| 1456 | 1483 | return nil, cerr | |
| @@ -1482,6 +1509,7 @@ var xAppInfoGetAll func() *glib.List | |||
| 1482 | 1509 | func AppInfoGetAll() *glib.List { | |
| 1483 | 1510 | ||
| 1484 | 1511 | cret := xAppInfoGetAll() | |
| 1512 | + | ||
| 1485 | 1513 | return cret | |
| 1486 | 1514 | } | |
| 1487 | 1515 | ||
| @@ -1494,6 +1522,7 @@ var xAppInfoGetAllForType func(string) *glib.List | |||
| 1494 | 1522 | func AppInfoGetAllForType(ContentTypeVar string) *glib.List { | |
| 1495 | 1523 | ||
| 1496 | 1524 | cret := xAppInfoGetAllForType(ContentTypeVar) | |
| 1525 | + | ||
| 1497 | 1526 | return cret | |
| 1498 | 1527 | } | |
| 1499 | 1528 | ||
| @@ -1642,6 +1671,7 @@ var xAppInfoGetFallbackForType func(string) *glib.List | |||
| 1642 | 1671 | func AppInfoGetFallbackForType(ContentTypeVar string) *glib.List { | |
| 1643 | 1672 | ||
| 1644 | 1673 | cret := xAppInfoGetFallbackForType(ContentTypeVar) | |
| 1674 | + | ||
| 1645 | 1675 | return cret | |
| 1646 | 1676 | } | |
| 1647 | 1677 | ||
| @@ -1657,6 +1687,7 @@ var xAppInfoGetRecommendedForType func(string) *glib.List | |||
| 1657 | 1687 | func AppInfoGetRecommendedForType(ContentTypeVar string) *glib.List { | |
| 1658 | 1688 | ||
| 1659 | 1689 | cret := xAppInfoGetRecommendedForType(ContentTypeVar) | |
| 1690 | + | ||
| 1660 | 1691 | return cret | |
| 1661 | 1692 | } | |
| 1662 | 1693 | ||
| @@ -1673,6 +1704,7 @@ func AppInfoLaunchDefaultForUri(UriVar string, ContextVar *AppLaunchContext) (bo | |||
| 1673 | 1704 | var cerr *glib.Error | |
| 1674 | 1705 | ||
| 1675 | 1706 | cret := xAppInfoLaunchDefaultForUri(UriVar, ContextVar.GoPointer(), &cerr) | |
| 1707 | + | ||
| 1676 | 1708 | if cerr == nil { | |
| 1677 | 1709 | return cret, nil | |
| 1678 | 1710 | } | |
| @@ -1719,6 +1751,7 @@ func AppInfoLaunchDefaultForUriFinish(ResultVar AsyncResult) (bool, error) { | |||
| 1719 | 1751 | var cerr *glib.Error | |
| 1720 | 1752 | ||
| 1721 | 1753 | cret := xAppInfoLaunchDefaultForUriFinish(ResultVar.GoPointer(), &cerr) | |
| 1754 | + | ||
| 1722 | 1755 | if cerr == nil { | |
| 1723 | 1756 | return cret, nil | |
| 1724 | 1757 | } | |
| @@ -1899,6 +1932,7 @@ var xAppLaunchContextGetDisplay func(uintptr, uintptr, *glib.List) string | |||
| 1899 | 1932 | func (x *AppLaunchContext) GetDisplay(InfoVar AppInfo, FilesVar *glib.List) string { | |
| 1900 | 1933 | ||
| 1901 | 1934 | cret := xAppLaunchContextGetDisplay(x.GoPointer(), InfoVar.GoPointer(), FilesVar) | |
| 1935 | + | ||
| 1902 | 1936 | return cret | |
| 1903 | 1937 | } | |
| 1904 | 1938 | ||
| @@ -1911,6 +1945,7 @@ var xAppLaunchContextGetEnvironment func(uintptr) []string | |||
| 1911 | 1945 | func (x *AppLaunchContext) GetEnvironment() []string { | |
| 1912 | 1946 | ||
| 1913 | 1947 | cret := xAppLaunchContextGetEnvironment(x.GoPointer()) | |
| 1948 | + | ||
| 1914 | 1949 | return cret | |
| 1915 | 1950 | } | |
| 1916 | 1951 | ||
| @@ -1934,6 +1969,7 @@ var xAppLaunchContextGetStartupNotifyId func(uintptr, uintptr, *glib.List) strin | |||
| 1934 | 1969 | func (x *AppLaunchContext) GetStartupNotifyId(InfoVar AppInfo, FilesVar *glib.List) string { | |
| 1935 | 1970 | ||
| 1936 | 1971 | cret := xAppLaunchContextGetStartupNotifyId(x.GoPointer(), InfoVar.GoPointer(), FilesVar) | |
| 1972 | + | ||
| 1937 | 1973 | return cret | |
| 1938 | 1974 | } | |
| 1939 | 1975 | ||
M v4/gio/gapplication.go +61 -8
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gio | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "runtime" | |
| 5 | 6 | "structs" | |
| 6 | 7 | "unsafe" | |
| 7 | 8 | ||
| @@ -661,7 +662,11 @@ var xNewApplication func(uintptr, ApplicationFlags) uintptr | |||
| 661 | 662 | func NewApplication(ApplicationIdVar *string, FlagsVar ApplicationFlags) *Application { | |
| 662 | 663 | var cls *Application | |
| 663 | 664 | ||
| 664 | - | cret := xNewApplication(core.NullableStringToPtr(ApplicationIdVar), FlagsVar) | |
| 665 | + | ApplicationIdVarPtr, ApplicationIdVarBytes := core.NullableStringToPtr(ApplicationIdVar) | |
| 666 | + | ||
| 667 | + | cret := xNewApplication(ApplicationIdVarPtr, FlagsVar) | |
| 668 | + | ||
| 669 | + | runtime.KeepAlive(ApplicationIdVarBytes) | |
| 665 | 670 | ||
| 666 | 671 | if cret == 0 { | |
| 667 | 672 | return nil | |
| @@ -702,7 +707,11 @@ var xApplicationAddMainOption func(uintptr, string, byte, glib.OptionFlags, glib | |||
| 702 | 707 | // See #GOptionEntry for more documentation of the arguments. | |
| 703 | 708 | func (x *Application) AddMainOption(LongNameVar string, ShortNameVar byte, FlagsVar glib.OptionFlags, ArgVar glib.OptionArg, DescriptionVar string, ArgDescriptionVar *string) { | |
| 704 | 709 | ||
| 705 | - | xApplicationAddMainOption(x.GoPointer(), LongNameVar, ShortNameVar, FlagsVar, ArgVar, DescriptionVar, core.NullableStringToPtr(ArgDescriptionVar)) | |
| 710 | + | ArgDescriptionVarPtr, ArgDescriptionVarBytes := core.NullableStringToPtr(ArgDescriptionVar) | |
| 711 | + | ||
| 712 | + | xApplicationAddMainOption(x.GoPointer(), LongNameVar, ShortNameVar, FlagsVar, ArgVar, DescriptionVar, ArgDescriptionVarPtr) | |
| 713 | + | ||
| 714 | + | runtime.KeepAlive(ArgDescriptionVarBytes) | |
| 706 | 715 | ||
| 707 | 716 | } | |
| 708 | 717 | ||
| @@ -823,6 +832,7 @@ var xApplicationGetApplicationId func(uintptr) string | |||
| 823 | 832 | func (x *Application) GetApplicationId() string { | |
| 824 | 833 | ||
| 825 | 834 | cret := xApplicationGetApplicationId(x.GoPointer()) | |
| 835 | + | ||
| 826 | 836 | return cret | |
| 827 | 837 | } | |
| 828 | 838 | ||
| @@ -874,6 +884,7 @@ var xApplicationGetDbusObjectPath func(uintptr) string | |||
| 874 | 884 | func (x *Application) GetDbusObjectPath() string { | |
| 875 | 885 | ||
| 876 | 886 | cret := xApplicationGetDbusObjectPath(x.GoPointer()) | |
| 887 | + | ||
| 877 | 888 | return cret | |
| 878 | 889 | } | |
| 879 | 890 | ||
| @@ -885,6 +896,7 @@ var xApplicationGetFlags func(uintptr) ApplicationFlags | |||
| 885 | 896 | func (x *Application) GetFlags() ApplicationFlags { | |
| 886 | 897 | ||
| 887 | 898 | cret := xApplicationGetFlags(x.GoPointer()) | |
| 899 | + | ||
| 888 | 900 | return cret | |
| 889 | 901 | } | |
| 890 | 902 | ||
| @@ -897,6 +909,7 @@ var xApplicationGetInactivityTimeout func(uintptr) uint | |||
| 897 | 909 | func (x *Application) GetInactivityTimeout() uint { | |
| 898 | 910 | ||
| 899 | 911 | cret := xApplicationGetInactivityTimeout(x.GoPointer()) | |
| 912 | + | ||
| 900 | 913 | return cret | |
| 901 | 914 | } | |
| 902 | 915 | ||
| @@ -907,6 +920,7 @@ var xApplicationGetIsBusy func(uintptr) bool | |||
| 907 | 920 | func (x *Application) GetIsBusy() bool { | |
| 908 | 921 | ||
| 909 | 922 | cret := xApplicationGetIsBusy(x.GoPointer()) | |
| 923 | + | ||
| 910 | 924 | return cret | |
| 911 | 925 | } | |
| 912 | 926 | ||
| @@ -919,6 +933,7 @@ var xApplicationGetIsRegistered func(uintptr) bool | |||
| 919 | 933 | func (x *Application) GetIsRegistered() bool { | |
| 920 | 934 | ||
| 921 | 935 | cret := xApplicationGetIsRegistered(x.GoPointer()) | |
| 936 | + | ||
| 922 | 937 | return cret | |
| 923 | 938 | } | |
| 924 | 939 | ||
| @@ -937,6 +952,7 @@ var xApplicationGetIsRemote func(uintptr) bool | |||
| 937 | 952 | func (x *Application) GetIsRemote() bool { | |
| 938 | 953 | ||
| 939 | 954 | cret := xApplicationGetIsRemote(x.GoPointer()) | |
| 955 | + | ||
| 940 | 956 | return cret | |
| 941 | 957 | } | |
| 942 | 958 | ||
| @@ -948,6 +964,7 @@ var xApplicationGetResourceBasePath func(uintptr) string | |||
| 948 | 964 | func (x *Application) GetResourceBasePath() string { | |
| 949 | 965 | ||
| 950 | 966 | cret := xApplicationGetResourceBasePath(x.GoPointer()) | |
| 967 | + | ||
| 951 | 968 | return cret | |
| 952 | 969 | } | |
| 953 | 970 | ||
| @@ -957,6 +974,7 @@ var xApplicationGetVersion func(uintptr) string | |||
| 957 | 974 | func (x *Application) GetVersion() string { | |
| 958 | 975 | ||
| 959 | 976 | cret := xApplicationGetVersion(x.GoPointer()) | |
| 977 | + | ||
| 960 | 978 | return cret | |
| 961 | 979 | } | |
| 962 | 980 | ||
| @@ -1074,6 +1092,7 @@ func (x *Application) Register(CancellableVar *Cancellable) (bool, error) { | |||
| 1074 | 1092 | var cerr *glib.Error | |
| 1075 | 1093 | ||
| 1076 | 1094 | cret := xApplicationRegister(x.GoPointer(), CancellableVar.GoPointer(), &cerr) | |
| 1095 | + | ||
| 1077 | 1096 | if cerr == nil { | |
| 1078 | 1097 | return cret, nil | |
| 1079 | 1098 | } | |
| @@ -1175,6 +1194,7 @@ var xApplicationRun func(uintptr, int, []string) int | |||
| 1175 | 1194 | func (x *Application) Run(ArgcVar int, ArgvVar []string) int { | |
| 1176 | 1195 | ||
| 1177 | 1196 | cret := xApplicationRun(x.GoPointer(), ArgcVar, ArgvVar) | |
| 1197 | + | ||
| 1178 | 1198 | return cret | |
| 1179 | 1199 | } | |
| 1180 | 1200 | ||
| @@ -1211,7 +1231,11 @@ var xApplicationSendNotification func(uintptr, uintptr, uintptr) | |||
| 1211 | 1231 | // application ID. | |
| 1212 | 1232 | func (x *Application) SendNotification(IdVar *string, NotificationVar *Notification) { | |
| 1213 | 1233 | ||
| 1214 | - | xApplicationSendNotification(x.GoPointer(), core.NullableStringToPtr(IdVar), NotificationVar.GoPointer()) | |
| 1234 | + | IdVarPtr, IdVarBytes := core.NullableStringToPtr(IdVar) | |
| 1235 | + | ||
| 1236 | + | xApplicationSendNotification(x.GoPointer(), IdVarPtr, NotificationVar.GoPointer()) | |
| 1237 | + | ||
| 1238 | + | runtime.KeepAlive(IdVarBytes) | |
| 1215 | 1239 | ||
| 1216 | 1240 | } | |
| 1217 | 1241 | ||
| @@ -1236,7 +1260,11 @@ var xApplicationSetApplicationId func(uintptr, uintptr) | |||
| 1236 | 1260 | // g_application_id_is_valid(). | |
| 1237 | 1261 | func (x *Application) SetApplicationId(ApplicationIdVar *string) { | |
| 1238 | 1262 | ||
| 1239 | - | xApplicationSetApplicationId(x.GoPointer(), core.NullableStringToPtr(ApplicationIdVar)) | |
| 1263 | + | ApplicationIdVarPtr, ApplicationIdVarBytes := core.NullableStringToPtr(ApplicationIdVar) | |
| 1264 | + | ||
| 1265 | + | xApplicationSetApplicationId(x.GoPointer(), ApplicationIdVarPtr) | |
| 1266 | + | ||
| 1267 | + | runtime.KeepAlive(ApplicationIdVarBytes) | |
| 1240 | 1268 | ||
| 1241 | 1269 | } | |
| 1242 | 1270 | ||
| @@ -1291,7 +1319,11 @@ var xApplicationSetOptionContextDescription func(uintptr, uintptr) | |||
| 1291 | 1319 | // See g_option_context_set_description() for more information. | |
| 1292 | 1320 | func (x *Application) SetOptionContextDescription(DescriptionVar *string) { | |
| 1293 | 1321 | ||
| 1294 | - | xApplicationSetOptionContextDescription(x.GoPointer(), core.NullableStringToPtr(DescriptionVar)) | |
| 1322 | + | DescriptionVarPtr, DescriptionVarBytes := core.NullableStringToPtr(DescriptionVar) | |
| 1323 | + | ||
| 1324 | + | xApplicationSetOptionContextDescription(x.GoPointer(), DescriptionVarPtr) | |
| 1325 | + | ||
| 1326 | + | runtime.KeepAlive(DescriptionVarBytes) | |
| 1295 | 1327 | ||
| 1296 | 1328 | } | |
| 1297 | 1329 | ||
| @@ -1305,7 +1337,11 @@ var xApplicationSetOptionContextParameterString func(uintptr, uintptr) | |||
| 1305 | 1337 | // See g_option_context_new() for more information about @parameter_string. | |
| 1306 | 1338 | func (x *Application) SetOptionContextParameterString(ParameterStringVar *string) { | |
| 1307 | 1339 | ||
| 1308 | - | xApplicationSetOptionContextParameterString(x.GoPointer(), core.NullableStringToPtr(ParameterStringVar)) | |
| 1340 | + | ParameterStringVarPtr, ParameterStringVarBytes := core.NullableStringToPtr(ParameterStringVar) | |
| 1341 | + | ||
| 1342 | + | xApplicationSetOptionContextParameterString(x.GoPointer(), ParameterStringVarPtr) | |
| 1343 | + | ||
| 1344 | + | runtime.KeepAlive(ParameterStringVarBytes) | |
| 1309 | 1345 | ||
| 1310 | 1346 | } | |
| 1311 | 1347 | ||
| @@ -1316,7 +1352,11 @@ var xApplicationSetOptionContextSummary func(uintptr, uintptr) | |||
| 1316 | 1352 | // See g_option_context_set_summary() for more information. | |
| 1317 | 1353 | func (x *Application) SetOptionContextSummary(SummaryVar *string) { | |
| 1318 | 1354 | ||
| 1319 | - | xApplicationSetOptionContextSummary(x.GoPointer(), core.NullableStringToPtr(SummaryVar)) | |
| 1355 | + | SummaryVarPtr, SummaryVarBytes := core.NullableStringToPtr(SummaryVar) | |
| 1356 | + | ||
| 1357 | + | xApplicationSetOptionContextSummary(x.GoPointer(), SummaryVarPtr) | |
| 1358 | + | ||
| 1359 | + | runtime.KeepAlive(SummaryVarBytes) | |
| 1320 | 1360 | ||
| 1321 | 1361 | } | |
| 1322 | 1362 | ||
| @@ -1357,7 +1397,11 @@ var xApplicationSetResourceBasePath func(uintptr, uintptr) | |||
| 1357 | 1397 | // before chaining up to the parent implementation. | |
| 1358 | 1398 | func (x *Application) SetResourceBasePath(ResourcePathVar *string) { | |
| 1359 | 1399 | ||
| 1360 | - | xApplicationSetResourceBasePath(x.GoPointer(), core.NullableStringToPtr(ResourcePathVar)) | |
| 1400 | + | ResourcePathVarPtr, ResourcePathVarBytes := core.NullableStringToPtr(ResourcePathVar) | |
| 1401 | + | ||
| 1402 | + | xApplicationSetResourceBasePath(x.GoPointer(), ResourcePathVarPtr) | |
| 1403 | + | ||
| 1404 | + | runtime.KeepAlive(ResourcePathVarBytes) | |
| 1361 | 1405 | ||
| 1362 | 1406 | } | |
| 1363 | 1407 | ||
| @@ -1814,6 +1858,7 @@ func (x *Application) ChangeActionState(ActionNameVar string, ValueVar *glib.Var | |||
| 1814 | 1858 | func (x *Application) GetActionEnabled(ActionNameVar string) bool { | |
| 1815 | 1859 | ||
| 1816 | 1860 | cret := XGActionGroupGetActionEnabled(x.GoPointer(), ActionNameVar) | |
| 1861 | + | ||
| 1817 | 1862 | return cret | |
| 1818 | 1863 | } | |
| 1819 | 1864 | ||
| @@ -1833,6 +1878,7 @@ func (x *Application) GetActionEnabled(ActionNameVar string) bool { | |||
| 1833 | 1878 | func (x *Application) GetActionParameterType(ActionNameVar string) *glib.VariantType { | |
| 1834 | 1879 | ||
| 1835 | 1880 | cret := XGActionGroupGetActionParameterType(x.GoPointer(), ActionNameVar) | |
| 1881 | + | ||
| 1836 | 1882 | return cret | |
| 1837 | 1883 | } | |
| 1838 | 1884 | ||
| @@ -1847,6 +1893,7 @@ func (x *Application) GetActionParameterType(ActionNameVar string) *glib.Variant | |||
| 1847 | 1893 | func (x *Application) GetActionState(ActionNameVar string) *glib.Variant { | |
| 1848 | 1894 | ||
| 1849 | 1895 | cret := XGActionGroupGetActionState(x.GoPointer(), ActionNameVar) | |
| 1896 | + | ||
| 1850 | 1897 | return cret | |
| 1851 | 1898 | } | |
| 1852 | 1899 | ||
| @@ -1871,6 +1918,7 @@ func (x *Application) GetActionState(ActionNameVar string) *glib.Variant { | |||
| 1871 | 1918 | func (x *Application) GetActionStateHint(ActionNameVar string) *glib.Variant { | |
| 1872 | 1919 | ||
| 1873 | 1920 | cret := XGActionGroupGetActionStateHint(x.GoPointer(), ActionNameVar) | |
| 1921 | + | ||
| 1874 | 1922 | return cret | |
| 1875 | 1923 | } | |
| 1876 | 1924 | ||
| @@ -1893,6 +1941,7 @@ func (x *Application) GetActionStateHint(ActionNameVar string) *glib.Variant { | |||
| 1893 | 1941 | func (x *Application) GetActionStateType(ActionNameVar string) *glib.VariantType { | |
| 1894 | 1942 | ||
| 1895 | 1943 | cret := XGActionGroupGetActionStateType(x.GoPointer(), ActionNameVar) | |
| 1944 | + | ||
| 1896 | 1945 | return cret | |
| 1897 | 1946 | } | |
| 1898 | 1947 | ||
| @@ -1900,6 +1949,7 @@ func (x *Application) GetActionStateType(ActionNameVar string) *glib.VariantType | |||
| 1900 | 1949 | func (x *Application) HasAction(ActionNameVar string) bool { | |
| 1901 | 1950 | ||
| 1902 | 1951 | cret := XGActionGroupHasAction(x.GoPointer(), ActionNameVar) | |
| 1952 | + | ||
| 1903 | 1953 | return cret | |
| 1904 | 1954 | } | |
| 1905 | 1955 | ||
| @@ -1910,6 +1960,7 @@ func (x *Application) HasAction(ActionNameVar string) bool { | |||
| 1910 | 1960 | func (x *Application) ListActions() []string { | |
| 1911 | 1961 | ||
| 1912 | 1962 | cret := XGActionGroupListActions(x.GoPointer()) | |
| 1963 | + | ||
| 1913 | 1964 | return cret | |
| 1914 | 1965 | } | |
| 1915 | 1966 | ||
| @@ -1943,6 +1994,7 @@ func (x *Application) ListActions() []string { | |||
| 1943 | 1994 | func (x *Application) QueryAction(ActionNameVar string, EnabledVar *bool, ParameterTypeVar **glib.VariantType, StateTypeVar **glib.VariantType, StateHintVar **glib.Variant, StateVar **glib.Variant) bool { | |
| 1944 | 1995 | ||
| 1945 | 1996 | cret := XGActionGroupQueryAction(x.GoPointer(), ActionNameVar, EnabledVar, ParameterTypeVar, StateTypeVar, StateHintVar, StateVar) | |
| 1997 | + | ||
| 1946 | 1998 | return cret | |
| 1947 | 1999 | } | |
| 1948 | 2000 | ||
| @@ -2137,6 +2189,7 @@ var xApplicationIdIsValid func(string) bool | |||
| 2137 | 2189 | func ApplicationIdIsValid(ApplicationIdVar string) bool { | |
| 2138 | 2190 | ||
| 2139 | 2191 | cret := xApplicationIdIsValid(ApplicationIdVar) | |
| 2192 | + | ||
| 2140 | 2193 | return cret | |
| 2141 | 2194 | } | |
| 2142 | 2195 | ||
M v4/gio/gapplicationcommandline.go +8 -0
| @@ -399,6 +399,7 @@ var xApplicationCommandLineGetArguments func(uintptr, *int) []string | |||
| 399 | 399 | func (x *ApplicationCommandLine) GetArguments(ArgcVar *int) []string { | |
| 400 | 400 | ||
| 401 | 401 | cret := xApplicationCommandLineGetArguments(x.GoPointer(), ArgcVar) | |
| 402 | + | ||
| 402 | 403 | return cret | |
| 403 | 404 | } | |
| 404 | 405 | ||
| @@ -415,6 +416,7 @@ var xApplicationCommandLineGetCwd func(uintptr) string | |||
| 415 | 416 | func (x *ApplicationCommandLine) GetCwd() string { | |
| 416 | 417 | ||
| 417 | 418 | cret := xApplicationCommandLineGetCwd(x.GoPointer()) | |
| 419 | + | ||
| 418 | 420 | return cret | |
| 419 | 421 | } | |
| 420 | 422 | ||
| @@ -438,6 +440,7 @@ var xApplicationCommandLineGetEnviron func(uintptr) []string | |||
| 438 | 440 | func (x *ApplicationCommandLine) GetEnviron() []string { | |
| 439 | 441 | ||
| 440 | 442 | cret := xApplicationCommandLineGetEnviron(x.GoPointer()) | |
| 443 | + | ||
| 441 | 444 | return cret | |
| 442 | 445 | } | |
| 443 | 446 | ||
| @@ -448,6 +451,7 @@ var xApplicationCommandLineGetExitStatus func(uintptr) int | |||
| 448 | 451 | func (x *ApplicationCommandLine) GetExitStatus() int { | |
| 449 | 452 | ||
| 450 | 453 | cret := xApplicationCommandLineGetExitStatus(x.GoPointer()) | |
| 454 | + | ||
| 451 | 455 | return cret | |
| 452 | 456 | } | |
| 453 | 457 | ||
| @@ -457,6 +461,7 @@ var xApplicationCommandLineGetIsRemote func(uintptr) bool | |||
| 457 | 461 | func (x *ApplicationCommandLine) GetIsRemote() bool { | |
| 458 | 462 | ||
| 459 | 463 | cret := xApplicationCommandLineGetIsRemote(x.GoPointer()) | |
| 464 | + | ||
| 460 | 465 | return cret | |
| 461 | 466 | } | |
| 462 | 467 | ||
| @@ -477,6 +482,7 @@ var xApplicationCommandLineGetOptionsDict func(uintptr) *glib.VariantDict | |||
| 477 | 482 | func (x *ApplicationCommandLine) GetOptionsDict() *glib.VariantDict { | |
| 478 | 483 | ||
| 479 | 484 | cret := xApplicationCommandLineGetOptionsDict(x.GoPointer()) | |
| 485 | + | ||
| 480 | 486 | return cret | |
| 481 | 487 | } | |
| 482 | 488 | ||
| @@ -496,6 +502,7 @@ var xApplicationCommandLineGetPlatformData func(uintptr) *glib.Variant | |||
| 496 | 502 | func (x *ApplicationCommandLine) GetPlatformData() *glib.Variant { | |
| 497 | 503 | ||
| 498 | 504 | cret := xApplicationCommandLineGetPlatformData(x.GoPointer()) | |
| 505 | + | ||
| 499 | 506 | return cret | |
| 500 | 507 | } | |
| 501 | 508 | ||
| @@ -540,6 +547,7 @@ var xApplicationCommandLineGetenv func(uintptr, string) string | |||
| 540 | 547 | func (x *ApplicationCommandLine) Getenv(NameVar string) string { | |
| 541 | 548 | ||
| 542 | 549 | cret := xApplicationCommandLineGetenv(x.GoPointer(), NameVar) | |
| 550 | + | ||
| 543 | 551 | return cret | |
| 544 | 552 | } | |
| 545 | 553 | ||
M v4/gio/gasyncinitable.go +1 -0
| @@ -265,6 +265,7 @@ func (x *AsyncInitableBase) InitFinish(ResVar AsyncResult) (bool, error) { | |||
| 265 | 265 | var cerr *glib.Error | |
| 266 | 266 | ||
| 267 | 267 | cret := XGAsyncInitableInitFinish(x.GoPointer(), ResVar.GoPointer(), &cerr) | |
| 268 | + | ||
| 268 | 269 | if cerr == nil { | |
| 269 | 270 | return cret, nil | |
| 270 | 271 | } | |
M v4/gio/gasyncresult.go +3 -0
| @@ -253,6 +253,7 @@ func (x *AsyncResultBase) GetSourceObject() *gobject.Object { | |||
| 253 | 253 | func (x *AsyncResultBase) GetUserData() uintptr { | |
| 254 | 254 | ||
| 255 | 255 | cret := XGAsyncResultGetUserData(x.GoPointer()) | |
| 256 | + | ||
| 256 | 257 | return cret | |
| 257 | 258 | } | |
| 258 | 259 | ||
| @@ -261,6 +262,7 @@ func (x *AsyncResultBase) GetUserData() uintptr { | |||
| 261 | 262 | func (x *AsyncResultBase) IsTagged(SourceTagVar uintptr) bool { | |
| 262 | 263 | ||
| 263 | 264 | cret := XGAsyncResultIsTagged(x.GoPointer(), SourceTagVar) | |
| 265 | + | ||
| 264 | 266 | return cret | |
| 265 | 267 | } | |
| 266 | 268 | ||
| @@ -278,6 +280,7 @@ func (x *AsyncResultBase) LegacyPropagateError() (bool, error) { | |||
| 278 | 280 | var cerr *glib.Error | |
| 279 | 281 | ||
| 280 | 282 | cret := XGAsyncResultLegacyPropagateError(x.GoPointer()) | |
| 283 | + | ||
| 281 | 284 | if cerr == nil { | |
| 282 | 285 | return cret, nil | |
| 283 | 286 | } | |
M v4/gio/gbufferedinputstream.go +12 -0
| @@ -324,6 +324,7 @@ func (x *BufferedInputStream) Fill(CountVar int, CancellableVar *Cancellable) (i | |||
| 324 | 324 | var cerr *glib.Error | |
| 325 | 325 | ||
| 326 | 326 | cret := xBufferedInputStreamFill(x.GoPointer(), CountVar, CancellableVar.GoPointer(), &cerr) | |
| 327 | + | ||
| 327 | 328 | if cerr == nil { | |
| 328 | 329 | return cret, nil | |
| 329 | 330 | } | |
| @@ -367,6 +368,7 @@ func (x *BufferedInputStream) FillFinish(ResultVar AsyncResult) (int, error) { | |||
| 367 | 368 | var cerr *glib.Error | |
| 368 | 369 | ||
| 369 | 370 | cret := xBufferedInputStreamFillFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr) | |
| 371 | + | ||
| 370 | 372 | if cerr == nil { | |
| 371 | 373 | return cret, nil | |
| 372 | 374 | } | |
| @@ -380,6 +382,7 @@ var xBufferedInputStreamGetAvailable func(uintptr) uint | |||
| 380 | 382 | func (x *BufferedInputStream) GetAvailable() uint { | |
| 381 | 383 | ||
| 382 | 384 | cret := xBufferedInputStreamGetAvailable(x.GoPointer()) | |
| 385 | + | ||
| 383 | 386 | return cret | |
| 384 | 387 | } | |
| 385 | 388 | ||
| @@ -389,6 +392,7 @@ var xBufferedInputStreamGetBufferSize func(uintptr) uint | |||
| 389 | 392 | func (x *BufferedInputStream) GetBufferSize() uint { | |
| 390 | 393 | ||
| 391 | 394 | cret := xBufferedInputStreamGetBufferSize(x.GoPointer()) | |
| 395 | + | ||
| 392 | 396 | return cret | |
| 393 | 397 | } | |
| 394 | 398 | ||
| @@ -399,6 +403,7 @@ var xBufferedInputStreamPeek func(uintptr, []byte, uint, uint) uint | |||
| 399 | 403 | func (x *BufferedInputStream) Peek(BufferVar []byte, OffsetVar uint, CountVar uint) uint { | |
| 400 | 404 | ||
| 401 | 405 | cret := xBufferedInputStreamPeek(x.GoPointer(), BufferVar, OffsetVar, CountVar) | |
| 406 | + | ||
| 402 | 407 | return cret | |
| 403 | 408 | } | |
| 404 | 409 | ||
| @@ -410,6 +415,7 @@ var xBufferedInputStreamPeekBuffer func(uintptr, *uint) uintptr | |||
| 410 | 415 | func (x *BufferedInputStream) PeekBuffer(CountVar *uint) uintptr { | |
| 411 | 416 | ||
| 412 | 417 | cret := xBufferedInputStreamPeekBuffer(x.GoPointer(), CountVar) | |
| 418 | + | ||
| 413 | 419 | return cret | |
| 414 | 420 | } | |
| 415 | 421 | ||
| @@ -432,6 +438,7 @@ func (x *BufferedInputStream) ReadByte(CancellableVar *Cancellable) (int, error) | |||
| 432 | 438 | var cerr *glib.Error | |
| 433 | 439 | ||
| 434 | 440 | cret := xBufferedInputStreamReadByte(x.GoPointer(), CancellableVar.GoPointer(), &cerr) | |
| 441 | + | ||
| 435 | 442 | if cerr == nil { | |
| 436 | 443 | return cret, nil | |
| 437 | 444 | } | |
| @@ -482,6 +489,7 @@ func (x *BufferedInputStream) GetPropertyBufferSize() uint { | |||
| 482 | 489 | func (x *BufferedInputStream) CanSeek() bool { | |
| 483 | 490 | ||
| 484 | 491 | cret := XGSeekableCanSeek(x.GoPointer()) | |
| 492 | + | ||
| 485 | 493 | return cret | |
| 486 | 494 | } | |
| 487 | 495 | ||
| @@ -490,6 +498,7 @@ func (x *BufferedInputStream) CanSeek() bool { | |||
| 490 | 498 | func (x *BufferedInputStream) CanTruncate() bool { | |
| 491 | 499 | ||
| 492 | 500 | cret := XGSeekableCanTruncate(x.GoPointer()) | |
| 501 | + | ||
| 493 | 502 | return cret | |
| 494 | 503 | } | |
| 495 | 504 | ||
| @@ -511,6 +520,7 @@ func (x *BufferedInputStream) Seek(OffsetVar int64, TypeVar glib.SeekType, Cance | |||
| 511 | 520 | var cerr *glib.Error | |
| 512 | 521 | ||
| 513 | 522 | cret := XGSeekableSeek(x.GoPointer(), OffsetVar, TypeVar, CancellableVar.GoPointer(), &cerr) | |
| 523 | + | ||
| 514 | 524 | if cerr == nil { | |
| 515 | 525 | return cret, nil | |
| 516 | 526 | } | |
| @@ -522,6 +532,7 @@ func (x *BufferedInputStream) Seek(OffsetVar int64, TypeVar glib.SeekType, Cance | |||
| 522 | 532 | func (x *BufferedInputStream) Tell() int64 { | |
| 523 | 533 | ||
| 524 | 534 | cret := XGSeekableTell(x.GoPointer()) | |
| 535 | + | ||
| 525 | 536 | return cret | |
| 526 | 537 | } | |
| 527 | 538 | ||
| @@ -538,6 +549,7 @@ func (x *BufferedInputStream) Truncate(OffsetVar int64, CancellableVar *Cancella | |||
| 538 | 549 | var cerr *glib.Error | |
| 539 | 550 | ||
| 540 | 551 | cret := XGSeekableTruncate(x.GoPointer(), OffsetVar, CancellableVar.GoPointer(), &cerr) | |
| 552 | + | ||
| 541 | 553 | if cerr == nil { | |
| 542 | 554 | return cret, nil | |
| 543 | 555 | } | |
M v4/gio/gbufferedoutputstream.go +7 -0
| @@ -147,6 +147,7 @@ var xBufferedOutputStreamGetAutoGrow func(uintptr) bool | |||
| 147 | 147 | func (x *BufferedOutputStream) GetAutoGrow() bool { | |
| 148 | 148 | ||
| 149 | 149 | cret := xBufferedOutputStreamGetAutoGrow(x.GoPointer()) | |
| 150 | + | ||
| 150 | 151 | return cret | |
| 151 | 152 | } | |
| 152 | 153 | ||
| @@ -156,6 +157,7 @@ var xBufferedOutputStreamGetBufferSize func(uintptr) uint | |||
| 156 | 157 | func (x *BufferedOutputStream) GetBufferSize() uint { | |
| 157 | 158 | ||
| 158 | 159 | cret := xBufferedOutputStreamGetBufferSize(x.GoPointer()) | |
| 160 | + | ||
| 159 | 161 | return cret | |
| 160 | 162 | } | |
| 161 | 163 | ||
| @@ -229,6 +231,7 @@ func (x *BufferedOutputStream) GetPropertyBufferSize() uint { | |||
| 229 | 231 | func (x *BufferedOutputStream) CanSeek() bool { | |
| 230 | 232 | ||
| 231 | 233 | cret := XGSeekableCanSeek(x.GoPointer()) | |
| 234 | + | ||
| 232 | 235 | return cret | |
| 233 | 236 | } | |
| 234 | 237 | ||
| @@ -237,6 +240,7 @@ func (x *BufferedOutputStream) CanSeek() bool { | |||
| 237 | 240 | func (x *BufferedOutputStream) CanTruncate() bool { | |
| 238 | 241 | ||
| 239 | 242 | cret := XGSeekableCanTruncate(x.GoPointer()) | |
| 243 | + | ||
| 240 | 244 | return cret | |
| 241 | 245 | } | |
| 242 | 246 | ||
| @@ -258,6 +262,7 @@ func (x *BufferedOutputStream) Seek(OffsetVar int64, TypeVar glib.SeekType, Canc | |||
| 258 | 262 | var cerr *glib.Error | |
| 259 | 263 | ||
| 260 | 264 | cret := XGSeekableSeek(x.GoPointer(), OffsetVar, TypeVar, CancellableVar.GoPointer(), &cerr) | |
| 265 | + | ||
| 261 | 266 | if cerr == nil { | |
| 262 | 267 | return cret, nil | |
| 263 | 268 | } | |
| @@ -269,6 +274,7 @@ func (x *BufferedOutputStream) Seek(OffsetVar int64, TypeVar glib.SeekType, Canc | |||
| 269 | 274 | func (x *BufferedOutputStream) Tell() int64 { | |
| 270 | 275 | ||
| 271 | 276 | cret := XGSeekableTell(x.GoPointer()) | |
| 277 | + | ||
| 272 | 278 | return cret | |
| 273 | 279 | } | |
| 274 | 280 | ||
| @@ -285,6 +291,7 @@ func (x *BufferedOutputStream) Truncate(OffsetVar int64, CancellableVar *Cancell | |||
| 285 | 291 | var cerr *glib.Error | |
| 286 | 292 | ||
| 287 | 293 | cret := XGSeekableTruncate(x.GoPointer(), OffsetVar, CancellableVar.GoPointer(), &cerr) | |
| 294 | + | ||
| 288 | 295 | if cerr == nil { | |
| 289 | 296 | return cret, nil | |
| 290 | 297 | } | |
M v4/gio/gbytesicon.go +5 -0
| @@ -52,6 +52,7 @@ var xBytesIconGetBytes func(uintptr) *glib.Bytes | |||
| 52 | 52 | func (x *BytesIcon) GetBytes() *glib.Bytes { | |
| 53 | 53 | ||
| 54 | 54 | cret := xBytesIconGetBytes(x.GoPointer()) | |
| 55 | + | ||
| 55 | 56 | return cret | |
| 56 | 57 | } | |
| 57 | 58 | ||
| @@ -87,6 +88,7 @@ func (x *BytesIcon) GetPropertyBytes() uintptr { | |||
| 87 | 88 | func (x *BytesIcon) Equal(Icon2Var Icon) bool { | |
| 88 | 89 | ||
| 89 | 90 | cret := XGIconEqual(x.GoPointer(), Icon2Var.GoPointer()) | |
| 91 | + | ||
| 90 | 92 | return cret | |
| 91 | 93 | } | |
| 92 | 94 | ||
| @@ -94,6 +96,7 @@ func (x *BytesIcon) Equal(Icon2Var Icon) bool { | |||
| 94 | 96 | func (x *BytesIcon) Hash() uint { | |
| 95 | 97 | ||
| 96 | 98 | cret := XGIconHash(x.GoPointer()) | |
| 99 | + | ||
| 97 | 100 | return cret | |
| 98 | 101 | } | |
| 99 | 102 | ||
| @@ -105,6 +108,7 @@ func (x *BytesIcon) Hash() uint { | |||
| 105 | 108 | func (x *BytesIcon) Serialize() *glib.Variant { | |
| 106 | 109 | ||
| 107 | 110 | cret := XGIconSerialize(x.GoPointer()) | |
| 111 | + | ||
| 108 | 112 | return cret | |
| 109 | 113 | } | |
| 110 | 114 | ||
| @@ -127,6 +131,7 @@ func (x *BytesIcon) Serialize() *glib.Variant { | |||
| 127 | 131 | func (x *BytesIcon) ToString() string { | |
| 128 | 132 | ||
| 129 | 133 | cret := XGIconToString(x.GoPointer()) | |
| 134 | + | ||
| 130 | 135 | return cret | |
| 131 | 136 | } | |
| 132 | 137 | ||
M v4/gio/gcancellable.go +6 -0
| @@ -321,6 +321,7 @@ func (x *Cancellable) Connect(CallbackVar *gobject.Callback, DataVar uintptr, Da | |||
| 321 | 321 | } | |
| 322 | 322 | ||
| 323 | 323 | cret := xCancellableConnect(x.GoPointer(), CallbackVarRef, DataVar, DataDestroyFuncVarRef) | |
| 324 | + | ||
| 324 | 325 | return cret | |
| 325 | 326 | } | |
| 326 | 327 | ||
| @@ -364,6 +365,7 @@ var xCancellableGetFd func(uintptr) int | |||
| 364 | 365 | func (x *Cancellable) GetFd() int { | |
| 365 | 366 | ||
| 366 | 367 | cret := xCancellableGetFd(x.GoPointer()) | |
| 368 | + | ||
| 367 | 369 | return cret | |
| 368 | 370 | } | |
| 369 | 371 | ||
| @@ -373,6 +375,7 @@ var xCancellableIsCancelled func(uintptr) bool | |||
| 373 | 375 | func (x *Cancellable) IsCancelled() bool { | |
| 374 | 376 | ||
| 375 | 377 | cret := xCancellableIsCancelled(x.GoPointer()) | |
| 378 | + | ||
| 376 | 379 | return cret | |
| 377 | 380 | } | |
| 378 | 381 | ||
| @@ -404,6 +407,7 @@ var xCancellableMakePollfd func(uintptr, *glib.PollFD) bool | |||
| 404 | 407 | func (x *Cancellable) MakePollfd(PollfdVar *glib.PollFD) bool { | |
| 405 | 408 | ||
| 406 | 409 | cret := xCancellableMakePollfd(x.GoPointer(), PollfdVar) | |
| 410 | + | ||
| 407 | 411 | return cret | |
| 408 | 412 | } | |
| 409 | 413 | ||
| @@ -487,6 +491,7 @@ func (x *Cancellable) SetErrorIfCancelled() (bool, error) { | |||
| 487 | 491 | var cerr *glib.Error | |
| 488 | 492 | ||
| 489 | 493 | cret := xCancellableSetErrorIfCancelled(x.GoPointer()) | |
| 494 | + | ||
| 490 | 495 | if cerr == nil { | |
| 491 | 496 | return cret, nil | |
| 492 | 497 | } | |
| @@ -508,6 +513,7 @@ var xCancellableSourceNew func(uintptr) *glib.Source | |||
| 508 | 513 | func (x *Cancellable) SourceNew() *glib.Source { | |
| 509 | 514 | ||
| 510 | 515 | cret := xCancellableSourceNew(x.GoPointer()) | |
| 516 | + | ||
| 511 | 517 | return cret | |
| 512 | 518 | } | |
| 513 | 519 | ||
M v4/gio/gcharsetconverter.go +5 -0
| @@ -67,6 +67,7 @@ var xCharsetConverterGetNumFallbacks func(uintptr) uint | |||
| 67 | 67 | func (x *CharsetConverter) GetNumFallbacks() uint { | |
| 68 | 68 | ||
| 69 | 69 | cret := xCharsetConverterGetNumFallbacks(x.GoPointer()) | |
| 70 | + | ||
| 70 | 71 | return cret | |
| 71 | 72 | } | |
| 72 | 73 | ||
| @@ -76,6 +77,7 @@ var xCharsetConverterGetUseFallback func(uintptr) bool | |||
| 76 | 77 | func (x *CharsetConverter) GetUseFallback() bool { | |
| 77 | 78 | ||
| 78 | 79 | cret := xCharsetConverterGetUseFallback(x.GoPointer()) | |
| 80 | + | ||
| 79 | 81 | return cret | |
| 80 | 82 | } | |
| 81 | 83 | ||
| @@ -236,6 +238,7 @@ func (x *CharsetConverter) Convert(InbufVar []byte, InbufSizeVar uint, OutbufVar | |||
| 236 | 238 | var cerr *glib.Error | |
| 237 | 239 | ||
| 238 | 240 | cret := XGConverterConvert(x.GoPointer(), InbufVar, InbufSizeVar, OutbufVar, OutbufSizeVar, FlagsVar, BytesReadVar, BytesWrittenVar, &cerr) | |
| 241 | + | ||
| 239 | 242 | if cerr == nil { | |
| 240 | 243 | return cret, nil | |
| 241 | 244 | } | |
| @@ -248,6 +251,7 @@ func (x *CharsetConverter) ConvertBytes(BytesVar *glib.Bytes) (*glib.Bytes, erro | |||
| 248 | 251 | var cerr *glib.Error | |
| 249 | 252 | ||
| 250 | 253 | cret := XGConverterConvertBytes(x.GoPointer(), BytesVar, &cerr) | |
| 254 | + | ||
| 251 | 255 | if cerr == nil { | |
| 252 | 256 | return cret, nil | |
| 253 | 257 | } | |
| @@ -306,6 +310,7 @@ func (x *CharsetConverter) Init(CancellableVar *Cancellable) (bool, error) { | |||
| 306 | 310 | var cerr *glib.Error | |
| 307 | 311 | ||
| 308 | 312 | cret := XGInitableInit(x.GoPointer(), CancellableVar.GoPointer(), &cerr) | |
| 313 | + | ||
| 309 | 314 | if cerr == nil { | |
| 310 | 315 | return cret, nil | |
| 311 | 316 | } | |
M v4/gio/gcontenttype.go +20 -1
| @@ -2,6 +2,8 @@ | |||
| 2 | 2 | package gio | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "runtime" | |
| 6 | + | ||
| 5 | 7 | "github.com/jwijenbergh/purego" | |
| 6 | 8 | "github.com/jwijenbergh/puregotk/pkg/core" | |
| 7 | 9 | "github.com/jwijenbergh/puregotk/v4/glib" | |
| @@ -14,6 +16,7 @@ var xContentTypeCanBeExecutable func(string) bool | |||
| 14 | 16 | func ContentTypeCanBeExecutable(TypeVar string) bool { | |
| 15 | 17 | ||
| 16 | 18 | cret := xContentTypeCanBeExecutable(TypeVar) | |
| 19 | + | ||
| 17 | 20 | return cret | |
| 18 | 21 | } | |
| 19 | 22 | ||
| @@ -23,6 +26,7 @@ var xContentTypeEquals func(string, string) bool | |||
| 23 | 26 | func ContentTypeEquals(Type1Var string, Type2Var string) bool { | |
| 24 | 27 | ||
| 25 | 28 | cret := xContentTypeEquals(Type1Var, Type2Var) | |
| 29 | + | ||
| 26 | 30 | return cret | |
| 27 | 31 | } | |
| 28 | 32 | ||
| @@ -32,6 +36,7 @@ var xContentTypeFromMimeType func(string) string | |||
| 32 | 36 | func ContentTypeFromMimeType(MimeTypeVar string) string { | |
| 33 | 37 | ||
| 34 | 38 | cret := xContentTypeFromMimeType(MimeTypeVar) | |
| 39 | + | ||
| 35 | 40 | return cret | |
| 36 | 41 | } | |
| 37 | 42 | ||
| @@ -41,6 +46,7 @@ var xContentTypeGetDescription func(string) string | |||
| 41 | 46 | func ContentTypeGetDescription(TypeVar string) string { | |
| 42 | 47 | ||
| 43 | 48 | cret := xContentTypeGetDescription(TypeVar) | |
| 49 | + | ||
| 44 | 50 | return cret | |
| 45 | 51 | } | |
| 46 | 52 | ||
| @@ -54,6 +60,7 @@ var xContentTypeGetGenericIconName func(string) string | |||
| 54 | 60 | func ContentTypeGetGenericIconName(TypeVar string) string { | |
| 55 | 61 | ||
| 56 | 62 | cret := xContentTypeGetGenericIconName(TypeVar) | |
| 63 | + | ||
| 57 | 64 | return cret | |
| 58 | 65 | } | |
| 59 | 66 | ||
| @@ -80,6 +87,7 @@ var xContentTypeGetMimeDirs func() []string | |||
| 80 | 87 | func ContentTypeGetMimeDirs() []string { | |
| 81 | 88 | ||
| 82 | 89 | cret := xContentTypeGetMimeDirs() | |
| 90 | + | ||
| 83 | 91 | return cret | |
| 84 | 92 | } | |
| 85 | 93 | ||
| @@ -89,6 +97,7 @@ var xContentTypeGetMimeType func(string) string | |||
| 89 | 97 | func ContentTypeGetMimeType(TypeVar string) string { | |
| 90 | 98 | ||
| 91 | 99 | cret := xContentTypeGetMimeType(TypeVar) | |
| 100 | + | ||
| 92 | 101 | return cret | |
| 93 | 102 | } | |
| 94 | 103 | ||
| @@ -116,7 +125,12 @@ var xContentTypeGuess func(uintptr, []byte, uint, *bool) string | |||
| 116 | 125 | // on the other argument. | |
| 117 | 126 | func ContentTypeGuess(FilenameVar *string, DataVar []byte, DataSizeVar uint, ResultUncertainVar *bool) string { | |
| 118 | 127 | ||
| 119 | - | cret := xContentTypeGuess(core.NullableStringToPtr(FilenameVar), DataVar, DataSizeVar, ResultUncertainVar) | |
| 128 | + | FilenameVarPtr, FilenameVarBytes := core.NullableStringToPtr(FilenameVar) | |
| 129 | + | ||
| 130 | + | cret := xContentTypeGuess(FilenameVarPtr, DataVar, DataSizeVar, ResultUncertainVar) | |
| 131 | + | ||
| 132 | + | runtime.KeepAlive(FilenameVarBytes) | |
| 133 | + | ||
| 120 | 134 | return cret | |
| 121 | 135 | } | |
| 122 | 136 | ||
| @@ -137,6 +151,7 @@ var xContentTypeGuessForTree func(uintptr) []string | |||
| 137 | 151 | func ContentTypeGuessForTree(RootVar File) []string { | |
| 138 | 152 | ||
| 139 | 153 | cret := xContentTypeGuessForTree(RootVar.GoPointer()) | |
| 154 | + | ||
| 140 | 155 | return cret | |
| 141 | 156 | } | |
| 142 | 157 | ||
| @@ -146,6 +161,7 @@ var xContentTypeIsA func(string, string) bool | |||
| 146 | 161 | func ContentTypeIsA(TypeVar string, SupertypeVar string) bool { | |
| 147 | 162 | ||
| 148 | 163 | cret := xContentTypeIsA(TypeVar, SupertypeVar) | |
| 164 | + | ||
| 149 | 165 | return cret | |
| 150 | 166 | } | |
| 151 | 167 | ||
| @@ -156,6 +172,7 @@ var xContentTypeIsMimeType func(string, string) bool | |||
| 156 | 172 | func ContentTypeIsMimeType(TypeVar string, MimeTypeVar string) bool { | |
| 157 | 173 | ||
| 158 | 174 | cret := xContentTypeIsMimeType(TypeVar, MimeTypeVar) | |
| 175 | + | ||
| 159 | 176 | return cret | |
| 160 | 177 | } | |
| 161 | 178 | ||
| @@ -168,6 +185,7 @@ var xContentTypeIsUnknown func(string) bool | |||
| 168 | 185 | func ContentTypeIsUnknown(TypeVar string) bool { | |
| 169 | 186 | ||
| 170 | 187 | cret := xContentTypeIsUnknown(TypeVar) | |
| 188 | + | ||
| 171 | 189 | return cret | |
| 172 | 190 | } | |
| 173 | 191 | ||
| @@ -212,6 +230,7 @@ var xContentTypesGetRegistered func() *glib.List | |||
| 212 | 230 | func ContentTypesGetRegistered() *glib.List { | |
| 213 | 231 | ||
| 214 | 232 | cret := xContentTypesGetRegistered() | |
| 233 | + | ||
| 215 | 234 | return cret | |
| 216 | 235 | } | |
| 217 | 236 | ||
M v4/gio/gconverter.go +2 -0
| @@ -202,6 +202,7 @@ func (x *ConverterBase) Convert(InbufVar []byte, InbufSizeVar uint, OutbufVar [] | |||
| 202 | 202 | var cerr *glib.Error | |
| 203 | 203 | ||
| 204 | 204 | cret := XGConverterConvert(x.GoPointer(), InbufVar, InbufSizeVar, OutbufVar, OutbufSizeVar, FlagsVar, BytesReadVar, BytesWrittenVar, &cerr) | |
| 205 | + | ||
| 205 | 206 | if cerr == nil { | |
| 206 | 207 | return cret, nil | |
| 207 | 208 | } | |
| @@ -214,6 +215,7 @@ func (x *ConverterBase) ConvertBytes(BytesVar *glib.Bytes) (*glib.Bytes, error) | |||
| 214 | 215 | var cerr *glib.Error | |
| 215 | 216 | ||
| 216 | 217 | cret := XGConverterConvertBytes(x.GoPointer(), BytesVar, &cerr) | |
| 218 | + | ||
| 217 | 219 | if cerr == nil { | |
| 218 | 220 | return cret, nil | |
| 219 | 221 | } | |
M v4/gio/gconverterinputstream.go +4 -0
| @@ -230,6 +230,7 @@ func (c *ConverterInputStream) SetGoPointer(ptr uintptr) { | |||
| 230 | 230 | func (x *ConverterInputStream) CanPoll() bool { | |
| 231 | 231 | ||
| 232 | 232 | cret := XGPollableInputStreamCanPoll(x.GoPointer()) | |
| 233 | + | ||
| 233 | 234 | return cret | |
| 234 | 235 | } | |
| 235 | 236 | ||
| @@ -247,6 +248,7 @@ func (x *ConverterInputStream) CanPoll() bool { | |||
| 247 | 248 | func (x *ConverterInputStream) CreateSource(CancellableVar *Cancellable) *glib.Source { | |
| 248 | 249 | ||
| 249 | 250 | cret := XGPollableInputStreamCreateSource(x.GoPointer(), CancellableVar.GoPointer()) | |
| 251 | + | ||
| 250 | 252 | return cret | |
| 251 | 253 | } | |
| 252 | 254 | ||
| @@ -264,6 +266,7 @@ func (x *ConverterInputStream) CreateSource(CancellableVar *Cancellable) *glib.S | |||
| 264 | 266 | func (x *ConverterInputStream) IsReadable() bool { | |
| 265 | 267 | ||
| 266 | 268 | cret := XGPollableInputStreamIsReadable(x.GoPointer()) | |
| 269 | + | ||
| 267 | 270 | return cret | |
| 268 | 271 | } | |
| 269 | 272 | ||
| @@ -285,6 +288,7 @@ func (x *ConverterInputStream) ReadNonblocking(BufferVar *[]byte, CountVar uint, | |||
| 285 | 288 | var cerr *glib.Error | |
| 286 | 289 | ||
| 287 | 290 | cret := XGPollableInputStreamReadNonblocking(x.GoPointer(), BufferVar, CountVar, CancellableVar.GoPointer(), &cerr) | |
| 291 | + | ||
| 288 | 292 | if cerr == nil { | |
| 289 | 293 | return cret, nil | |
| 290 | 294 | } | |
M v4/gio/gconverteroutputstream.go +5 -0
| @@ -230,6 +230,7 @@ func (c *ConverterOutputStream) SetGoPointer(ptr uintptr) { | |||
| 230 | 230 | func (x *ConverterOutputStream) CanPoll() bool { | |
| 231 | 231 | ||
| 232 | 232 | cret := XGPollableOutputStreamCanPoll(x.GoPointer()) | |
| 233 | + | ||
| 233 | 234 | return cret | |
| 234 | 235 | } | |
| 235 | 236 | ||
| @@ -247,6 +248,7 @@ func (x *ConverterOutputStream) CanPoll() bool { | |||
| 247 | 248 | func (x *ConverterOutputStream) CreateSource(CancellableVar *Cancellable) *glib.Source { | |
| 248 | 249 | ||
| 249 | 250 | cret := XGPollableOutputStreamCreateSource(x.GoPointer(), CancellableVar.GoPointer()) | |
| 251 | + | ||
| 250 | 252 | return cret | |
| 251 | 253 | } | |
| 252 | 254 | ||
| @@ -264,6 +266,7 @@ func (x *ConverterOutputStream) CreateSource(CancellableVar *Cancellable) *glib. | |||
| 264 | 266 | func (x *ConverterOutputStream) IsWritable() bool { | |
| 265 | 267 | ||
| 266 | 268 | cret := XGPollableOutputStreamIsWritable(x.GoPointer()) | |
| 269 | + | ||
| 267 | 270 | return cret | |
| 268 | 271 | } | |
| 269 | 272 | ||
| @@ -289,6 +292,7 @@ func (x *ConverterOutputStream) WriteNonblocking(BufferVar []byte, CountVar uint | |||
| 289 | 292 | var cerr *glib.Error | |
| 290 | 293 | ||
| 291 | 294 | cret := XGPollableOutputStreamWriteNonblocking(x.GoPointer(), BufferVar, CountVar, CancellableVar.GoPointer(), &cerr) | |
| 295 | + | ||
| 292 | 296 | if cerr == nil { | |
| 293 | 297 | return cret, nil | |
| 294 | 298 | } | |
| @@ -319,6 +323,7 @@ func (x *ConverterOutputStream) WritevNonblocking(VectorsVar []OutputVector, NVe | |||
| 319 | 323 | var cerr *glib.Error | |
| 320 | 324 | ||
| 321 | 325 | cret := XGPollableOutputStreamWritevNonblocking(x.GoPointer(), VectorsVar, NVectorsVar, BytesWrittenVar, CancellableVar.GoPointer(), &cerr) | |
| 326 | + | ||
| 322 | 327 | if cerr == nil { | |
| 323 | 328 | return cret, nil | |
| 324 | 329 | } | |
M v4/gio/gcredentials.go +6 -0
| @@ -100,6 +100,7 @@ var xCredentialsGetNative func(uintptr, CredentialsType) uintptr | |||
| 100 | 100 | func (x *Credentials) GetNative(NativeTypeVar CredentialsType) uintptr { | |
| 101 | 101 | ||
| 102 | 102 | cret := xCredentialsGetNative(x.GoPointer(), NativeTypeVar) | |
| 103 | + | ||
| 103 | 104 | return cret | |
| 104 | 105 | } | |
| 105 | 106 | ||
| @@ -115,6 +116,7 @@ func (x *Credentials) GetUnixPid() (int, error) { | |||
| 115 | 116 | var cerr *glib.Error | |
| 116 | 117 | ||
| 117 | 118 | cret := xCredentialsGetUnixPid(x.GoPointer()) | |
| 119 | + | ||
| 118 | 120 | if cerr == nil { | |
| 119 | 121 | return cret, nil | |
| 120 | 122 | } | |
| @@ -134,6 +136,7 @@ func (x *Credentials) GetUnixUser() (uint, error) { | |||
| 134 | 136 | var cerr *glib.Error | |
| 135 | 137 | ||
| 136 | 138 | cret := xCredentialsGetUnixUser(x.GoPointer()) | |
| 139 | + | ||
| 137 | 140 | if cerr == nil { | |
| 138 | 141 | return cret, nil | |
| 139 | 142 | } | |
| @@ -151,6 +154,7 @@ func (x *Credentials) IsSameUser(OtherCredentialsVar *Credentials) (bool, error) | |||
| 151 | 154 | var cerr *glib.Error | |
| 152 | 155 | ||
| 153 | 156 | cret := xCredentialsIsSameUser(x.GoPointer(), OtherCredentialsVar.GoPointer(), &cerr) | |
| 157 | + | ||
| 154 | 158 | if cerr == nil { | |
| 155 | 159 | return cret, nil | |
| 156 | 160 | } | |
| @@ -185,6 +189,7 @@ func (x *Credentials) SetUnixUser(UidVar uint) (bool, error) { | |||
| 185 | 189 | var cerr *glib.Error | |
| 186 | 190 | ||
| 187 | 191 | cret := xCredentialsSetUnixUser(x.GoPointer(), UidVar, &cerr) | |
| 192 | + | ||
| 188 | 193 | if cerr == nil { | |
| 189 | 194 | return cret, nil | |
| 190 | 195 | } | |
| @@ -200,6 +205,7 @@ var xCredentialsToString func(uintptr) string | |||
| 200 | 205 | func (x *Credentials) ToString() string { | |
| 201 | 206 | ||
| 202 | 207 | cret := xCredentialsToString(x.GoPointer()) | |
| 208 | + | ||
| 203 | 209 | return cret | |
| 204 | 210 | } | |
| 205 | 211 | ||
M v4/gio/gdatagrambased.go +5 -0
| @@ -284,6 +284,7 @@ func (x *DatagramBasedBase) SetGoPointer(ptr uintptr) { | |||
| 284 | 284 | func (x *DatagramBasedBase) ConditionCheck(ConditionVar glib.IOCondition) glib.IOCondition { | |
| 285 | 285 | ||
| 286 | 286 | cret := XGDatagramBasedConditionCheck(x.GoPointer(), ConditionVar) | |
| 287 | + | ||
| 287 | 288 | return cret | |
| 288 | 289 | } | |
| 289 | 290 | ||
| @@ -297,6 +298,7 @@ func (x *DatagramBasedBase) ConditionWait(ConditionVar glib.IOCondition, Timeout | |||
| 297 | 298 | var cerr *glib.Error | |
| 298 | 299 | ||
| 299 | 300 | cret := XGDatagramBasedConditionWait(x.GoPointer(), ConditionVar, TimeoutVar, CancellableVar.GoPointer(), &cerr) | |
| 301 | + | ||
| 300 | 302 | if cerr == nil { | |
| 301 | 303 | return cret, nil | |
| 302 | 304 | } | |
| @@ -321,6 +323,7 @@ func (x *DatagramBasedBase) ConditionWait(ConditionVar glib.IOCondition, Timeout | |||
| 321 | 323 | func (x *DatagramBasedBase) CreateSource(ConditionVar glib.IOCondition, CancellableVar *Cancellable) *glib.Source { | |
| 322 | 324 | ||
| 323 | 325 | cret := XGDatagramBasedCreateSource(x.GoPointer(), ConditionVar, CancellableVar.GoPointer()) | |
| 326 | + | ||
| 324 | 327 | return cret | |
| 325 | 328 | } | |
| 326 | 329 | ||
| @@ -378,6 +381,7 @@ func (x *DatagramBasedBase) ReceiveMessages(MessagesVar []InputMessage, NumMessa | |||
| 378 | 381 | var cerr *glib.Error | |
| 379 | 382 | ||
| 380 | 383 | cret := XGDatagramBasedReceiveMessages(x.GoPointer(), MessagesVar, NumMessagesVar, FlagsVar, TimeoutVar, CancellableVar.GoPointer(), &cerr) | |
| 384 | + | ||
| 381 | 385 | if cerr == nil { | |
| 382 | 386 | return cret, nil | |
| 383 | 387 | } | |
| @@ -430,6 +434,7 @@ func (x *DatagramBasedBase) SendMessages(MessagesVar []OutputMessage, NumMessage | |||
| 430 | 434 | var cerr *glib.Error | |
| 431 | 435 | ||
| 432 | 436 | cret := XGDatagramBasedSendMessages(x.GoPointer(), MessagesVar, NumMessagesVar, FlagsVar, TimeoutVar, CancellableVar.GoPointer(), &cerr) | |
| 437 | + | ||
| 433 | 438 | if cerr == nil { | |
| 434 | 439 | return cret, nil | |
| 435 | 440 | } | |
M v4/gio/gdatainputstream.go +22 -0
| @@ -194,6 +194,7 @@ var xDataInputStreamGetByteOrder func(uintptr) DataStreamByteOrder | |||
| 194 | 194 | func (x *DataInputStream) GetByteOrder() DataStreamByteOrder { | |
| 195 | 195 | ||
| 196 | 196 | cret := xDataInputStreamGetByteOrder(x.GoPointer()) | |
| 197 | + | ||
| 197 | 198 | return cret | |
| 198 | 199 | } | |
| 199 | 200 | ||
| @@ -203,6 +204,7 @@ var xDataInputStreamGetNewlineType func(uintptr) DataStreamNewlineType | |||
| 203 | 204 | func (x *DataInputStream) GetNewlineType() DataStreamNewlineType { | |
| 204 | 205 | ||
| 205 | 206 | cret := xDataInputStreamGetNewlineType(x.GoPointer()) | |
| 207 | + | ||
| 206 | 208 | return cret | |
| 207 | 209 | } | |
| 208 | 210 | ||
| @@ -213,6 +215,7 @@ func (x *DataInputStream) ReadByte(CancellableVar *Cancellable) (byte, error) { | |||
| 213 | 215 | var cerr *glib.Error | |
| 214 | 216 | ||
| 215 | 217 | cret := xDataInputStreamReadByte(x.GoPointer(), CancellableVar.GoPointer(), &cerr) | |
| 218 | + | ||
| 216 | 219 | if cerr == nil { | |
| 217 | 220 | return cret, nil | |
| 218 | 221 | } | |
| @@ -230,6 +233,7 @@ func (x *DataInputStream) ReadInt16(CancellableVar *Cancellable) (int16, error) | |||
| 230 | 233 | var cerr *glib.Error | |
| 231 | 234 | ||
| 232 | 235 | cret := xDataInputStreamReadInt16(x.GoPointer(), CancellableVar.GoPointer(), &cerr) | |
| 236 | + | ||
| 233 | 237 | if cerr == nil { | |
| 234 | 238 | return cret, nil | |
| 235 | 239 | } | |
| @@ -251,6 +255,7 @@ func (x *DataInputStream) ReadInt32(CancellableVar *Cancellable) (int32, error) | |||
| 251 | 255 | var cerr *glib.Error | |
| 252 | 256 | ||
| 253 | 257 | cret := xDataInputStreamReadInt32(x.GoPointer(), CancellableVar.GoPointer(), &cerr) | |
| 258 | + | ||
| 254 | 259 | if cerr == nil { | |
| 255 | 260 | return cret, nil | |
| 256 | 261 | } | |
| @@ -272,6 +277,7 @@ func (x *DataInputStream) ReadInt64(CancellableVar *Cancellable) (int64, error) | |||
| 272 | 277 | var cerr *glib.Error | |
| 273 | 278 | ||
| 274 | 279 | cret := xDataInputStreamReadInt64(x.GoPointer(), CancellableVar.GoPointer(), &cerr) | |
| 280 | + | ||
| 275 | 281 | if cerr == nil { | |
| 276 | 282 | return cret, nil | |
| 277 | 283 | } | |
| @@ -292,6 +298,7 @@ func (x *DataInputStream) ReadLine(LengthVar *uint, CancellableVar *Cancellable) | |||
| 292 | 298 | var cerr *glib.Error | |
| 293 | 299 | ||
| 294 | 300 | cret := xDataInputStreamReadLine(x.GoPointer(), LengthVar, CancellableVar.GoPointer(), &cerr) | |
| 301 | + | ||
| 295 | 302 | if cerr == nil { | |
| 296 | 303 | return cret, nil | |
| 297 | 304 | } | |
| @@ -338,6 +345,7 @@ func (x *DataInputStream) ReadLineFinish(ResultVar AsyncResult, LengthVar *uint) | |||
| 338 | 345 | var cerr *glib.Error | |
| 339 | 346 | ||
| 340 | 347 | cret := xDataInputStreamReadLineFinish(x.GoPointer(), ResultVar.GoPointer(), LengthVar, &cerr) | |
| 348 | + | ||
| 341 | 349 | if cerr == nil { | |
| 342 | 350 | return cret, nil | |
| 343 | 351 | } | |
| @@ -353,6 +361,7 @@ func (x *DataInputStream) ReadLineFinishUtf8(ResultVar AsyncResult, LengthVar *u | |||
| 353 | 361 | var cerr *glib.Error | |
| 354 | 362 | ||
| 355 | 363 | cret := xDataInputStreamReadLineFinishUtf8(x.GoPointer(), ResultVar.GoPointer(), LengthVar, &cerr) | |
| 364 | + | ||
| 356 | 365 | if cerr == nil { | |
| 357 | 366 | return cret, nil | |
| 358 | 367 | } | |
| @@ -371,6 +380,7 @@ func (x *DataInputStream) ReadLineUtf8(LengthVar *uint, CancellableVar *Cancella | |||
| 371 | 380 | var cerr *glib.Error | |
| 372 | 381 | ||
| 373 | 382 | cret := xDataInputStreamReadLineUtf8(x.GoPointer(), LengthVar, CancellableVar.GoPointer(), &cerr) | |
| 383 | + | ||
| 374 | 384 | if cerr == nil { | |
| 375 | 385 | return cret, nil | |
| 376 | 386 | } | |
| @@ -388,6 +398,7 @@ func (x *DataInputStream) ReadUint16(CancellableVar *Cancellable) (uint16, error | |||
| 388 | 398 | var cerr *glib.Error | |
| 389 | 399 | ||
| 390 | 400 | cret := xDataInputStreamReadUint16(x.GoPointer(), CancellableVar.GoPointer(), &cerr) | |
| 401 | + | ||
| 391 | 402 | if cerr == nil { | |
| 392 | 403 | return cret, nil | |
| 393 | 404 | } | |
| @@ -409,6 +420,7 @@ func (x *DataInputStream) ReadUint32(CancellableVar *Cancellable) (uint32, error | |||
| 409 | 420 | var cerr *glib.Error | |
| 410 | 421 | ||
| 411 | 422 | cret := xDataInputStreamReadUint32(x.GoPointer(), CancellableVar.GoPointer(), &cerr) | |
| 423 | + | ||
| 412 | 424 | if cerr == nil { | |
| 413 | 425 | return cret, nil | |
| 414 | 426 | } | |
| @@ -430,6 +442,7 @@ func (x *DataInputStream) ReadUint64(CancellableVar *Cancellable) (uint64, error | |||
| 430 | 442 | var cerr *glib.Error | |
| 431 | 443 | ||
| 432 | 444 | cret := xDataInputStreamReadUint64(x.GoPointer(), CancellableVar.GoPointer(), &cerr) | |
| 445 | + | ||
| 433 | 446 | if cerr == nil { | |
| 434 | 447 | return cret, nil | |
| 435 | 448 | } | |
| @@ -454,6 +467,7 @@ func (x *DataInputStream) ReadUntil(StopCharsVar string, LengthVar *uint, Cancel | |||
| 454 | 467 | var cerr *glib.Error | |
| 455 | 468 | ||
| 456 | 469 | cret := xDataInputStreamReadUntil(x.GoPointer(), StopCharsVar, LengthVar, CancellableVar.GoPointer(), &cerr) | |
| 470 | + | ||
| 457 | 471 | if cerr == nil { | |
| 458 | 472 | return cret, nil | |
| 459 | 473 | } | |
| @@ -507,6 +521,7 @@ func (x *DataInputStream) ReadUntilFinish(ResultVar AsyncResult, LengthVar *uint | |||
| 507 | 521 | var cerr *glib.Error | |
| 508 | 522 | ||
| 509 | 523 | cret := xDataInputStreamReadUntilFinish(x.GoPointer(), ResultVar.GoPointer(), LengthVar, &cerr) | |
| 524 | + | ||
| 510 | 525 | if cerr == nil { | |
| 511 | 526 | return cret, nil | |
| 512 | 527 | } | |
| @@ -532,6 +547,7 @@ func (x *DataInputStream) ReadUpto(StopCharsVar string, StopCharsLenVar int, Len | |||
| 532 | 547 | var cerr *glib.Error | |
| 533 | 548 | ||
| 534 | 549 | cret := xDataInputStreamReadUpto(x.GoPointer(), StopCharsVar, StopCharsLenVar, LengthVar, CancellableVar.GoPointer(), &cerr) | |
| 550 | + | ||
| 535 | 551 | if cerr == nil { | |
| 536 | 552 | return cret, nil | |
| 537 | 553 | } | |
| @@ -590,6 +606,7 @@ func (x *DataInputStream) ReadUptoFinish(ResultVar AsyncResult, LengthVar *uint) | |||
| 590 | 606 | var cerr *glib.Error | |
| 591 | 607 | ||
| 592 | 608 | cret := xDataInputStreamReadUptoFinish(x.GoPointer(), ResultVar.GoPointer(), LengthVar, &cerr) | |
| 609 | + | ||
| 593 | 610 | if cerr == nil { | |
| 594 | 611 | return cret, nil | |
| 595 | 612 | } | |
| @@ -635,6 +652,7 @@ func (c *DataInputStream) SetGoPointer(ptr uintptr) { | |||
| 635 | 652 | func (x *DataInputStream) CanSeek() bool { | |
| 636 | 653 | ||
| 637 | 654 | cret := XGSeekableCanSeek(x.GoPointer()) | |
| 655 | + | ||
| 638 | 656 | return cret | |
| 639 | 657 | } | |
| 640 | 658 | ||
| @@ -643,6 +661,7 @@ func (x *DataInputStream) CanSeek() bool { | |||
| 643 | 661 | func (x *DataInputStream) CanTruncate() bool { | |
| 644 | 662 | ||
| 645 | 663 | cret := XGSeekableCanTruncate(x.GoPointer()) | |
| 664 | + | ||
| 646 | 665 | return cret | |
| 647 | 666 | } | |
| 648 | 667 | ||
| @@ -664,6 +683,7 @@ func (x *DataInputStream) Seek(OffsetVar int64, TypeVar glib.SeekType, Cancellab | |||
| 664 | 683 | var cerr *glib.Error | |
| 665 | 684 | ||
| 666 | 685 | cret := XGSeekableSeek(x.GoPointer(), OffsetVar, TypeVar, CancellableVar.GoPointer(), &cerr) | |
| 686 | + | ||
| 667 | 687 | if cerr == nil { | |
| 668 | 688 | return cret, nil | |
| 669 | 689 | } | |
| @@ -675,6 +695,7 @@ func (x *DataInputStream) Seek(OffsetVar int64, TypeVar glib.SeekType, Cancellab | |||
| 675 | 695 | func (x *DataInputStream) Tell() int64 { | |
| 676 | 696 | ||
| 677 | 697 | cret := XGSeekableTell(x.GoPointer()) | |
| 698 | + | ||
| 678 | 699 | return cret | |
| 679 | 700 | } | |
| 680 | 701 | ||
| @@ -691,6 +712,7 @@ func (x *DataInputStream) Truncate(OffsetVar int64, CancellableVar *Cancellable) | |||
| 691 | 712 | var cerr *glib.Error | |
| 692 | 713 | ||
| 693 | 714 | cret := XGSeekableTruncate(x.GoPointer(), OffsetVar, CancellableVar.GoPointer(), &cerr) | |
| 715 | + | ||
| 694 | 716 | if cerr == nil { | |
| 695 | 717 | return cret, nil | |
| 696 | 718 | } | |
M v4/gio/gdataoutputstream.go +14 -0
| @@ -194,6 +194,7 @@ var xDataOutputStreamGetByteOrder func(uintptr) DataStreamByteOrder | |||
| 194 | 194 | func (x *DataOutputStream) GetByteOrder() DataStreamByteOrder { | |
| 195 | 195 | ||
| 196 | 196 | cret := xDataOutputStreamGetByteOrder(x.GoPointer()) | |
| 197 | + | ||
| 197 | 198 | return cret | |
| 198 | 199 | } | |
| 199 | 200 | ||
| @@ -204,6 +205,7 @@ func (x *DataOutputStream) PutByte(DataVar byte, CancellableVar *Cancellable) (b | |||
| 204 | 205 | var cerr *glib.Error | |
| 205 | 206 | ||
| 206 | 207 | cret := xDataOutputStreamPutByte(x.GoPointer(), DataVar, CancellableVar.GoPointer(), &cerr) | |
| 208 | + | ||
| 207 | 209 | if cerr == nil { | |
| 208 | 210 | return cret, nil | |
| 209 | 211 | } | |
| @@ -218,6 +220,7 @@ func (x *DataOutputStream) PutInt16(DataVar int16, CancellableVar *Cancellable) | |||
| 218 | 220 | var cerr *glib.Error | |
| 219 | 221 | ||
| 220 | 222 | cret := xDataOutputStreamPutInt16(x.GoPointer(), DataVar, CancellableVar.GoPointer(), &cerr) | |
| 223 | + | ||
| 221 | 224 | if cerr == nil { | |
| 222 | 225 | return cret, nil | |
| 223 | 226 | } | |
| @@ -232,6 +235,7 @@ func (x *DataOutputStream) PutInt32(DataVar int32, CancellableVar *Cancellable) | |||
| 232 | 235 | var cerr *glib.Error | |
| 233 | 236 | ||
| 234 | 237 | cret := xDataOutputStreamPutInt32(x.GoPointer(), DataVar, CancellableVar.GoPointer(), &cerr) | |
| 238 | + | ||
| 235 | 239 | if cerr == nil { | |
| 236 | 240 | return cret, nil | |
| 237 | 241 | } | |
| @@ -246,6 +250,7 @@ func (x *DataOutputStream) PutInt64(DataVar int64, CancellableVar *Cancellable) | |||
| 246 | 250 | var cerr *glib.Error | |
| 247 | 251 | ||
| 248 | 252 | cret := xDataOutputStreamPutInt64(x.GoPointer(), DataVar, CancellableVar.GoPointer(), &cerr) | |
| 253 | + | ||
| 249 | 254 | if cerr == nil { | |
| 250 | 255 | return cret, nil | |
| 251 | 256 | } | |
| @@ -260,6 +265,7 @@ func (x *DataOutputStream) PutString(StrVar string, CancellableVar *Cancellable) | |||
| 260 | 265 | var cerr *glib.Error | |
| 261 | 266 | ||
| 262 | 267 | cret := xDataOutputStreamPutString(x.GoPointer(), StrVar, CancellableVar.GoPointer(), &cerr) | |
| 268 | + | ||
| 263 | 269 | if cerr == nil { | |
| 264 | 270 | return cret, nil | |
| 265 | 271 | } | |
| @@ -274,6 +280,7 @@ func (x *DataOutputStream) PutUint16(DataVar uint16, CancellableVar *Cancellable | |||
| 274 | 280 | var cerr *glib.Error | |
| 275 | 281 | ||
| 276 | 282 | cret := xDataOutputStreamPutUint16(x.GoPointer(), DataVar, CancellableVar.GoPointer(), &cerr) | |
| 283 | + | ||
| 277 | 284 | if cerr == nil { | |
| 278 | 285 | return cret, nil | |
| 279 | 286 | } | |
| @@ -288,6 +295,7 @@ func (x *DataOutputStream) PutUint32(DataVar uint32, CancellableVar *Cancellable | |||
| 288 | 295 | var cerr *glib.Error | |
| 289 | 296 | ||
| 290 | 297 | cret := xDataOutputStreamPutUint32(x.GoPointer(), DataVar, CancellableVar.GoPointer(), &cerr) | |
| 298 | + | ||
| 291 | 299 | if cerr == nil { | |
| 292 | 300 | return cret, nil | |
| 293 | 301 | } | |
| @@ -302,6 +310,7 @@ func (x *DataOutputStream) PutUint64(DataVar uint64, CancellableVar *Cancellable | |||
| 302 | 310 | var cerr *glib.Error | |
| 303 | 311 | ||
| 304 | 312 | cret := xDataOutputStreamPutUint64(x.GoPointer(), DataVar, CancellableVar.GoPointer(), &cerr) | |
| 313 | + | ||
| 305 | 314 | if cerr == nil { | |
| 306 | 315 | return cret, nil | |
| 307 | 316 | } | |
| @@ -333,6 +342,7 @@ func (c *DataOutputStream) SetGoPointer(ptr uintptr) { | |||
| 333 | 342 | func (x *DataOutputStream) CanSeek() bool { | |
| 334 | 343 | ||
| 335 | 344 | cret := XGSeekableCanSeek(x.GoPointer()) | |
| 345 | + | ||
| 336 | 346 | return cret | |
| 337 | 347 | } | |
| 338 | 348 | ||
| @@ -341,6 +351,7 @@ func (x *DataOutputStream) CanSeek() bool { | |||
| 341 | 351 | func (x *DataOutputStream) CanTruncate() bool { | |
| 342 | 352 | ||
| 343 | 353 | cret := XGSeekableCanTruncate(x.GoPointer()) | |
| 354 | + | ||
| 344 | 355 | return cret | |
| 345 | 356 | } | |
| 346 | 357 | ||
| @@ -362,6 +373,7 @@ func (x *DataOutputStream) Seek(OffsetVar int64, TypeVar glib.SeekType, Cancella | |||
| 362 | 373 | var cerr *glib.Error | |
| 363 | 374 | ||
| 364 | 375 | cret := XGSeekableSeek(x.GoPointer(), OffsetVar, TypeVar, CancellableVar.GoPointer(), &cerr) | |
| 376 | + | ||
| 365 | 377 | if cerr == nil { | |
| 366 | 378 | return cret, nil | |
| 367 | 379 | } | |
| @@ -373,6 +385,7 @@ func (x *DataOutputStream) Seek(OffsetVar int64, TypeVar glib.SeekType, Cancella | |||
| 373 | 385 | func (x *DataOutputStream) Tell() int64 { | |
| 374 | 386 | ||
| 375 | 387 | cret := XGSeekableTell(x.GoPointer()) | |
| 388 | + | ||
| 376 | 389 | return cret | |
| 377 | 390 | } | |
| 378 | 391 | ||
| @@ -389,6 +402,7 @@ func (x *DataOutputStream) Truncate(OffsetVar int64, CancellableVar *Cancellable | |||
| 389 | 402 | var cerr *glib.Error | |
| 390 | 403 | ||
| 391 | 404 | cret := XGSeekableTruncate(x.GoPointer(), OffsetVar, CancellableVar.GoPointer(), &cerr) | |
| 405 | + | ||
| 392 | 406 | if cerr == nil { | |
| 393 | 407 | return cret, nil | |
| 394 | 408 | } | |
M v4/gio/gdbusactiongroup.go +15 -1
| @@ -2,6 +2,8 @@ | |||
| 2 | 2 | package gio | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "runtime" | |
| 6 | + | ||
| 5 | 7 | "github.com/jwijenbergh/purego" | |
| 6 | 8 | "github.com/jwijenbergh/puregotk/pkg/core" | |
| 7 | 9 | "github.com/jwijenbergh/puregotk/v4/glib" | |
| @@ -140,6 +142,7 @@ func (x *DBusActionGroup) ChangeActionState(ActionNameVar string, ValueVar *glib | |||
| 140 | 142 | func (x *DBusActionGroup) GetActionEnabled(ActionNameVar string) bool { | |
| 141 | 143 | ||
| 142 | 144 | cret := XGActionGroupGetActionEnabled(x.GoPointer(), ActionNameVar) | |
| 145 | + | ||
| 143 | 146 | return cret | |
| 144 | 147 | } | |
| 145 | 148 | ||
| @@ -159,6 +162,7 @@ func (x *DBusActionGroup) GetActionEnabled(ActionNameVar string) bool { | |||
| 159 | 162 | func (x *DBusActionGroup) GetActionParameterType(ActionNameVar string) *glib.VariantType { | |
| 160 | 163 | ||
| 161 | 164 | cret := XGActionGroupGetActionParameterType(x.GoPointer(), ActionNameVar) | |
| 165 | + | ||
| 162 | 166 | return cret | |
| 163 | 167 | } | |
| 164 | 168 | ||
| @@ -173,6 +177,7 @@ func (x *DBusActionGroup) GetActionParameterType(ActionNameVar string) *glib.Var | |||
| 173 | 177 | func (x *DBusActionGroup) GetActionState(ActionNameVar string) *glib.Variant { | |
| 174 | 178 | ||
| 175 | 179 | cret := XGActionGroupGetActionState(x.GoPointer(), ActionNameVar) | |
| 180 | + | ||
| 176 | 181 | return cret | |
| 177 | 182 | } | |
| 178 | 183 | ||
| @@ -197,6 +202,7 @@ func (x *DBusActionGroup) GetActionState(ActionNameVar string) *glib.Variant { | |||
| 197 | 202 | func (x *DBusActionGroup) GetActionStateHint(ActionNameVar string) *glib.Variant { | |
| 198 | 203 | ||
| 199 | 204 | cret := XGActionGroupGetActionStateHint(x.GoPointer(), ActionNameVar) | |
| 205 | + | ||
| 200 | 206 | return cret | |
| 201 | 207 | } | |
| 202 | 208 | ||
| @@ -219,6 +225,7 @@ func (x *DBusActionGroup) GetActionStateHint(ActionNameVar string) *glib.Variant | |||
| 219 | 225 | func (x *DBusActionGroup) GetActionStateType(ActionNameVar string) *glib.VariantType { | |
| 220 | 226 | ||
| 221 | 227 | cret := XGActionGroupGetActionStateType(x.GoPointer(), ActionNameVar) | |
| 228 | + | ||
| 222 | 229 | return cret | |
| 223 | 230 | } | |
| 224 | 231 | ||
| @@ -226,6 +233,7 @@ func (x *DBusActionGroup) GetActionStateType(ActionNameVar string) *glib.Variant | |||
| 226 | 233 | func (x *DBusActionGroup) HasAction(ActionNameVar string) bool { | |
| 227 | 234 | ||
| 228 | 235 | cret := XGActionGroupHasAction(x.GoPointer(), ActionNameVar) | |
| 236 | + | ||
| 229 | 237 | return cret | |
| 230 | 238 | } | |
| 231 | 239 | ||
| @@ -236,6 +244,7 @@ func (x *DBusActionGroup) HasAction(ActionNameVar string) bool { | |||
| 236 | 244 | func (x *DBusActionGroup) ListActions() []string { | |
| 237 | 245 | ||
| 238 | 246 | cret := XGActionGroupListActions(x.GoPointer()) | |
| 247 | + | ||
| 239 | 248 | return cret | |
| 240 | 249 | } | |
| 241 | 250 | ||
| @@ -269,6 +278,7 @@ func (x *DBusActionGroup) ListActions() []string { | |||
| 269 | 278 | func (x *DBusActionGroup) QueryAction(ActionNameVar string, EnabledVar *bool, ParameterTypeVar **glib.VariantType, StateTypeVar **glib.VariantType, StateHintVar **glib.Variant, StateVar **glib.Variant) bool { | |
| 270 | 279 | ||
| 271 | 280 | cret := XGActionGroupQueryAction(x.GoPointer(), ActionNameVar, EnabledVar, ParameterTypeVar, StateTypeVar, StateHintVar, StateVar) | |
| 281 | + | ||
| 272 | 282 | return cret | |
| 273 | 283 | } | |
| 274 | 284 | ||
| @@ -320,7 +330,11 @@ var xDBusActionGroupGet func(uintptr, uintptr, string) uintptr | |||
| 320 | 330 | func DBusActionGroupGet(ConnectionVar *DBusConnection, BusNameVar *string, ObjectPathVar string) *DBusActionGroup { | |
| 321 | 331 | var cls *DBusActionGroup | |
| 322 | 332 | ||
| 323 | - | cret := xDBusActionGroupGet(ConnectionVar.GoPointer(), core.NullableStringToPtr(BusNameVar), ObjectPathVar) | |
| 333 | + | BusNameVarPtr, BusNameVarBytes := core.NullableStringToPtr(BusNameVar) | |
| 334 | + | ||
| 335 | + | cret := xDBusActionGroupGet(ConnectionVar.GoPointer(), BusNameVarPtr, ObjectPathVar) | |
| 336 | + | ||
| 337 | + | runtime.KeepAlive(BusNameVarBytes) | |
| 324 | 338 | ||
| 325 | 339 | if cret == 0 { | |
| 326 | 340 | return nil | |
M v4/gio/gdbusaddress.go +4 -0
| @@ -21,6 +21,7 @@ var xDbusAddressEscapeValue func(string) string | |||
| 21 | 21 | func DbusAddressEscapeValue(StringVar string) string { | |
| 22 | 22 | ||
| 23 | 23 | cret := xDbusAddressEscapeValue(StringVar) | |
| 24 | + | ||
| 24 | 25 | return cret | |
| 25 | 26 | } | |
| 26 | 27 | ||
| @@ -36,6 +37,7 @@ func DbusAddressGetForBusSync(BusTypeVar BusType, CancellableVar *Cancellable) ( | |||
| 36 | 37 | var cerr *glib.Error | |
| 37 | 38 | ||
| 38 | 39 | cret := xDbusAddressGetForBusSync(BusTypeVar, CancellableVar.GoPointer(), &cerr) | |
| 40 | + | ||
| 39 | 41 | if cerr == nil { | |
| 40 | 42 | return cret, nil | |
| 41 | 43 | } | |
| @@ -142,6 +144,7 @@ var xDbusIsAddress func(string) bool | |||
| 142 | 144 | func DbusIsAddress(StringVar string) bool { | |
| 143 | 145 | ||
| 144 | 146 | cret := xDbusIsAddress(StringVar) | |
| 147 | + | ||
| 145 | 148 | return cret | |
| 146 | 149 | } | |
| 147 | 150 | ||
| @@ -155,6 +158,7 @@ func DbusIsSupportedAddress(StringVar string) (bool, error) { | |||
| 155 | 158 | var cerr *glib.Error | |
| 156 | 159 | ||
| 157 | 160 | cret := xDbusIsSupportedAddress(StringVar, &cerr) | |
| 161 | + | ||
| 158 | 162 | if cerr == nil { | |
| 159 | 163 | return cret, nil | |
| 160 | 164 | } | |
M v4/gio/gdbusauthobserver.go +2 -0
| @@ -118,6 +118,7 @@ var xDBusAuthObserverAllowMechanism func(uintptr, string) bool | |||
| 118 | 118 | func (x *DBusAuthObserver) AllowMechanism(MechanismVar string) bool { | |
| 119 | 119 | ||
| 120 | 120 | cret := xDBusAuthObserverAllowMechanism(x.GoPointer(), MechanismVar) | |
| 121 | + | ||
| 121 | 122 | return cret | |
| 122 | 123 | } | |
| 123 | 124 | ||
| @@ -127,6 +128,7 @@ var xDBusAuthObserverAuthorizeAuthenticatedPeer func(uintptr, uintptr, uintptr) | |||
| 127 | 128 | func (x *DBusAuthObserver) AuthorizeAuthenticatedPeer(StreamVar *IOStream, CredentialsVar *Credentials) bool { | |
| 128 | 129 | ||
| 129 | 130 | cret := xDBusAuthObserverAuthorizeAuthenticatedPeer(x.GoPointer(), StreamVar.GoPointer(), CredentialsVar.GoPointer()) | |
| 131 | + | ||
| 130 | 132 | return cret | |
| 131 | 133 | } | |
| 132 | 134 | ||
M v4/gio/gdbusconnection.go +86 -8
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gio | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "runtime" | |
| 5 | 6 | "structs" | |
| 6 | 7 | "unsafe" | |
| 7 | 8 | ||
| @@ -482,7 +483,11 @@ func NewDBusConnectionSync(StreamVar *IOStream, GuidVar *string, FlagsVar DBusCo | |||
| 482 | 483 | var cls *DBusConnection | |
| 483 | 484 | var cerr *glib.Error | |
| 484 | 485 | ||
| 485 | - | cret := xNewDBusConnectionSync(StreamVar.GoPointer(), core.NullableStringToPtr(GuidVar), FlagsVar, ObserverVar.GoPointer(), CancellableVar.GoPointer(), &cerr) | |
| 486 | + | GuidVarPtr, GuidVarBytes := core.NullableStringToPtr(GuidVar) | |
| 487 | + | ||
| 488 | + | cret := xNewDBusConnectionSync(StreamVar.GoPointer(), GuidVarPtr, FlagsVar, ObserverVar.GoPointer(), CancellableVar.GoPointer(), &cerr) | |
| 489 | + | ||
| 490 | + | runtime.KeepAlive(GuidVarBytes) | |
| 486 | 491 | ||
| 487 | 492 | if cret == 0 { | |
| 488 | 493 | return nil, cerr | |
| @@ -558,6 +563,7 @@ func (x *DBusConnection) AddFilter(FilterFunctionVar *DBusMessageFilterFunction, | |||
| 558 | 563 | } | |
| 559 | 564 | ||
| 560 | 565 | cret := xDBusConnectionAddFilter(x.GoPointer(), FilterFunctionVarRef, UserDataVar, UserDataFreeFuncVarRef) | |
| 566 | + | ||
| 561 | 567 | return cret | |
| 562 | 568 | } | |
| 563 | 569 | ||
| @@ -627,7 +633,11 @@ func (x *DBusConnection) Call(BusNameVar *string, ObjectPathVar string, Interfac | |||
| 627 | 633 | } | |
| 628 | 634 | } | |
| 629 | 635 | ||
| 630 | - | xDBusConnectionCall(x.GoPointer(), core.NullableStringToPtr(BusNameVar), ObjectPathVar, InterfaceNameVar, MethodNameVar, ParametersVar, ReplyTypeVar, FlagsVar, TimeoutMsecVar, CancellableVar.GoPointer(), CallbackVarRef, UserDataVar) | |
| 636 | + | BusNameVarPtr, BusNameVarBytes := core.NullableStringToPtr(BusNameVar) | |
| 637 | + | ||
| 638 | + | xDBusConnectionCall(x.GoPointer(), BusNameVarPtr, ObjectPathVar, InterfaceNameVar, MethodNameVar, ParametersVar, ReplyTypeVar, FlagsVar, TimeoutMsecVar, CancellableVar.GoPointer(), CallbackVarRef, UserDataVar) | |
| 639 | + | ||
| 640 | + | runtime.KeepAlive(BusNameVarBytes) | |
| 631 | 641 | ||
| 632 | 642 | } | |
| 633 | 643 | ||
| @@ -638,6 +648,7 @@ func (x *DBusConnection) CallFinish(ResVar AsyncResult) (*glib.Variant, error) { | |||
| 638 | 648 | var cerr *glib.Error | |
| 639 | 649 | ||
| 640 | 650 | cret := xDBusConnectionCallFinish(x.GoPointer(), ResVar.GoPointer(), &cerr) | |
| 651 | + | ||
| 641 | 652 | if cerr == nil { | |
| 642 | 653 | return cret, nil | |
| 643 | 654 | } | |
| @@ -688,7 +699,12 @@ var xDBusConnectionCallSync func(uintptr, uintptr, string, string, string, *glib | |||
| 688 | 699 | func (x *DBusConnection) CallSync(BusNameVar *string, ObjectPathVar string, InterfaceNameVar string, MethodNameVar string, ParametersVar *glib.Variant, ReplyTypeVar *glib.VariantType, FlagsVar DBusCallFlags, TimeoutMsecVar int, CancellableVar *Cancellable) (*glib.Variant, error) { | |
| 689 | 700 | var cerr *glib.Error | |
| 690 | 701 | ||
| 691 | - | cret := xDBusConnectionCallSync(x.GoPointer(), core.NullableStringToPtr(BusNameVar), ObjectPathVar, InterfaceNameVar, MethodNameVar, ParametersVar, ReplyTypeVar, FlagsVar, TimeoutMsecVar, CancellableVar.GoPointer(), &cerr) | |
| 702 | + | BusNameVarPtr, BusNameVarBytes := core.NullableStringToPtr(BusNameVar) | |
| 703 | + | ||
| 704 | + | cret := xDBusConnectionCallSync(x.GoPointer(), BusNameVarPtr, ObjectPathVar, InterfaceNameVar, MethodNameVar, ParametersVar, ReplyTypeVar, FlagsVar, TimeoutMsecVar, CancellableVar.GoPointer(), &cerr) | |
| 705 | + | ||
| 706 | + | runtime.KeepAlive(BusNameVarBytes) | |
| 707 | + | ||
| 692 | 708 | if cerr == nil { | |
| 693 | 709 | return cret, nil | |
| 694 | 710 | } | |
| @@ -730,7 +746,11 @@ func (x *DBusConnection) CallWithUnixFdList(BusNameVar *string, ObjectPathVar st | |||
| 730 | 746 | } | |
| 731 | 747 | } | |
| 732 | 748 | ||
| 733 | - | xDBusConnectionCallWithUnixFdList(x.GoPointer(), core.NullableStringToPtr(BusNameVar), ObjectPathVar, InterfaceNameVar, MethodNameVar, ParametersVar, ReplyTypeVar, FlagsVar, TimeoutMsecVar, FdListVar.GoPointer(), CancellableVar.GoPointer(), CallbackVarRef, UserDataVar) | |
| 749 | + | BusNameVarPtr, BusNameVarBytes := core.NullableStringToPtr(BusNameVar) | |
| 750 | + | ||
| 751 | + | xDBusConnectionCallWithUnixFdList(x.GoPointer(), BusNameVarPtr, ObjectPathVar, InterfaceNameVar, MethodNameVar, ParametersVar, ReplyTypeVar, FlagsVar, TimeoutMsecVar, FdListVar.GoPointer(), CancellableVar.GoPointer(), CallbackVarRef, UserDataVar) | |
| 752 | + | ||
| 753 | + | runtime.KeepAlive(BusNameVarBytes) | |
| 734 | 754 | ||
| 735 | 755 | } | |
| 736 | 756 | ||
| @@ -752,6 +772,7 @@ func (x *DBusConnection) CallWithUnixFdListFinish(OutFdListVar **UnixFDList, Res | |||
| 752 | 772 | var cerr *glib.Error | |
| 753 | 773 | ||
| 754 | 774 | cret := xDBusConnectionCallWithUnixFdListFinish(x.GoPointer(), OutFdListVar, ResVar.GoPointer(), &cerr) | |
| 775 | + | ||
| 755 | 776 | if cerr == nil { | |
| 756 | 777 | return cret, nil | |
| 757 | 778 | } | |
| @@ -769,7 +790,12 @@ var xDBusConnectionCallWithUnixFdListSync func(uintptr, uintptr, string, string, | |||
| 769 | 790 | func (x *DBusConnection) CallWithUnixFdListSync(BusNameVar *string, ObjectPathVar string, InterfaceNameVar string, MethodNameVar string, ParametersVar *glib.Variant, ReplyTypeVar *glib.VariantType, FlagsVar DBusCallFlags, TimeoutMsecVar int, FdListVar *UnixFDList, OutFdListVar **UnixFDList, CancellableVar *Cancellable) (*glib.Variant, error) { | |
| 770 | 791 | var cerr *glib.Error | |
| 771 | 792 | ||
| 772 | - | cret := xDBusConnectionCallWithUnixFdListSync(x.GoPointer(), core.NullableStringToPtr(BusNameVar), ObjectPathVar, InterfaceNameVar, MethodNameVar, ParametersVar, ReplyTypeVar, FlagsVar, TimeoutMsecVar, FdListVar.GoPointer(), OutFdListVar, CancellableVar.GoPointer(), &cerr) | |
| 793 | + | BusNameVarPtr, BusNameVarBytes := core.NullableStringToPtr(BusNameVar) | |
| 794 | + | ||
| 795 | + | cret := xDBusConnectionCallWithUnixFdListSync(x.GoPointer(), BusNameVarPtr, ObjectPathVar, InterfaceNameVar, MethodNameVar, ParametersVar, ReplyTypeVar, FlagsVar, TimeoutMsecVar, FdListVar.GoPointer(), OutFdListVar, CancellableVar.GoPointer(), &cerr) | |
| 796 | + | ||
| 797 | + | runtime.KeepAlive(BusNameVarBytes) | |
| 798 | + | ||
| 773 | 799 | if cerr == nil { | |
| 774 | 800 | return cret, nil | |
| 775 | 801 | } | |
| @@ -831,6 +857,7 @@ func (x *DBusConnection) CloseFinish(ResVar AsyncResult) (bool, error) { | |||
| 831 | 857 | var cerr *glib.Error | |
| 832 | 858 | ||
| 833 | 859 | cret := xDBusConnectionCloseFinish(x.GoPointer(), ResVar.GoPointer(), &cerr) | |
| 860 | + | ||
| 834 | 861 | if cerr == nil { | |
| 835 | 862 | return cret, nil | |
| 836 | 863 | } | |
| @@ -848,6 +875,7 @@ func (x *DBusConnection) CloseSync(CancellableVar *Cancellable) (bool, error) { | |||
| 848 | 875 | var cerr *glib.Error | |
| 849 | 876 | ||
| 850 | 877 | cret := xDBusConnectionCloseSync(x.GoPointer(), CancellableVar.GoPointer(), &cerr) | |
| 878 | + | ||
| 851 | 879 | if cerr == nil { | |
| 852 | 880 | return cret, nil | |
| 853 | 881 | } | |
| @@ -867,7 +895,12 @@ var xDBusConnectionEmitSignal func(uintptr, uintptr, string, string, string, *gl | |||
| 867 | 895 | func (x *DBusConnection) EmitSignal(DestinationBusNameVar *string, ObjectPathVar string, InterfaceNameVar string, SignalNameVar string, ParametersVar *glib.Variant) (bool, error) { | |
| 868 | 896 | var cerr *glib.Error | |
| 869 | 897 | ||
| 870 | - | cret := xDBusConnectionEmitSignal(x.GoPointer(), core.NullableStringToPtr(DestinationBusNameVar), ObjectPathVar, InterfaceNameVar, SignalNameVar, ParametersVar, &cerr) | |
| 898 | + | DestinationBusNameVarPtr, DestinationBusNameVarBytes := core.NullableStringToPtr(DestinationBusNameVar) | |
| 899 | + | ||
| 900 | + | cret := xDBusConnectionEmitSignal(x.GoPointer(), DestinationBusNameVarPtr, ObjectPathVar, InterfaceNameVar, SignalNameVar, ParametersVar, &cerr) | |
| 901 | + | ||
| 902 | + | runtime.KeepAlive(DestinationBusNameVarBytes) | |
| 903 | + | ||
| 871 | 904 | if cerr == nil { | |
| 872 | 905 | return cret, nil | |
| 873 | 906 | } | |
| @@ -902,6 +935,7 @@ func (x *DBusConnection) ExportActionGroup(ObjectPathVar string, ActionGroupVar | |||
| 902 | 935 | var cerr *glib.Error | |
| 903 | 936 | ||
| 904 | 937 | cret := xDBusConnectionExportActionGroup(x.GoPointer(), ObjectPathVar, ActionGroupVar.GoPointer(), &cerr) | |
| 938 | + | ||
| 905 | 939 | if cerr == nil { | |
| 906 | 940 | return cret, nil | |
| 907 | 941 | } | |
| @@ -931,6 +965,7 @@ func (x *DBusConnection) ExportMenuModel(ObjectPathVar string, MenuVar *MenuMode | |||
| 931 | 965 | var cerr *glib.Error | |
| 932 | 966 | ||
| 933 | 967 | cret := xDBusConnectionExportMenuModel(x.GoPointer(), ObjectPathVar, MenuVar.GoPointer(), &cerr) | |
| 968 | + | ||
| 934 | 969 | if cerr == nil { | |
| 935 | 970 | return cret, nil | |
| 936 | 971 | } | |
| @@ -982,6 +1017,7 @@ func (x *DBusConnection) FlushFinish(ResVar AsyncResult) (bool, error) { | |||
| 982 | 1017 | var cerr *glib.Error | |
| 983 | 1018 | ||
| 984 | 1019 | cret := xDBusConnectionFlushFinish(x.GoPointer(), ResVar.GoPointer(), &cerr) | |
| 1020 | + | ||
| 985 | 1021 | if cerr == nil { | |
| 986 | 1022 | return cret, nil | |
| 987 | 1023 | } | |
| @@ -999,6 +1035,7 @@ func (x *DBusConnection) FlushSync(CancellableVar *Cancellable) (bool, error) { | |||
| 999 | 1035 | var cerr *glib.Error | |
| 1000 | 1036 | ||
| 1001 | 1037 | cret := xDBusConnectionFlushSync(x.GoPointer(), CancellableVar.GoPointer(), &cerr) | |
| 1038 | + | ||
| 1002 | 1039 | if cerr == nil { | |
| 1003 | 1040 | return cret, nil | |
| 1004 | 1041 | } | |
| @@ -1012,6 +1049,7 @@ var xDBusConnectionGetCapabilities func(uintptr) DBusCapabilityFlags | |||
| 1012 | 1049 | func (x *DBusConnection) GetCapabilities() DBusCapabilityFlags { | |
| 1013 | 1050 | ||
| 1014 | 1051 | cret := xDBusConnectionGetCapabilities(x.GoPointer()) | |
| 1052 | + | ||
| 1015 | 1053 | return cret | |
| 1016 | 1054 | } | |
| 1017 | 1055 | ||
| @@ -1023,6 +1061,7 @@ var xDBusConnectionGetExitOnClose func(uintptr) bool | |||
| 1023 | 1061 | func (x *DBusConnection) GetExitOnClose() bool { | |
| 1024 | 1062 | ||
| 1025 | 1063 | cret := xDBusConnectionGetExitOnClose(x.GoPointer()) | |
| 1064 | + | ||
| 1026 | 1065 | return cret | |
| 1027 | 1066 | } | |
| 1028 | 1067 | ||
| @@ -1032,6 +1071,7 @@ var xDBusConnectionGetFlags func(uintptr) DBusConnectionFlags | |||
| 1032 | 1071 | func (x *DBusConnection) GetFlags() DBusConnectionFlags { | |
| 1033 | 1072 | ||
| 1034 | 1073 | cret := xDBusConnectionGetFlags(x.GoPointer()) | |
| 1074 | + | ||
| 1035 | 1075 | return cret | |
| 1036 | 1076 | } | |
| 1037 | 1077 | ||
| @@ -1042,6 +1082,7 @@ var xDBusConnectionGetGuid func(uintptr) string | |||
| 1042 | 1082 | func (x *DBusConnection) GetGuid() string { | |
| 1043 | 1083 | ||
| 1044 | 1084 | cret := xDBusConnectionGetGuid(x.GoPointer()) | |
| 1085 | + | ||
| 1045 | 1086 | return cret | |
| 1046 | 1087 | } | |
| 1047 | 1088 | ||
| @@ -1055,6 +1096,7 @@ var xDBusConnectionGetLastSerial func(uintptr) uint32 | |||
| 1055 | 1096 | func (x *DBusConnection) GetLastSerial() uint32 { | |
| 1056 | 1097 | ||
| 1057 | 1098 | cret := xDBusConnectionGetLastSerial(x.GoPointer()) | |
| 1099 | + | ||
| 1058 | 1100 | return cret | |
| 1059 | 1101 | } | |
| 1060 | 1102 | ||
| @@ -1112,6 +1154,7 @@ var xDBusConnectionGetUniqueName func(uintptr) string | |||
| 1112 | 1154 | func (x *DBusConnection) GetUniqueName() string { | |
| 1113 | 1155 | ||
| 1114 | 1156 | cret := xDBusConnectionGetUniqueName(x.GoPointer()) | |
| 1157 | + | ||
| 1115 | 1158 | return cret | |
| 1116 | 1159 | } | |
| 1117 | 1160 | ||
| @@ -1121,6 +1164,7 @@ var xDBusConnectionIsClosed func(uintptr) bool | |||
| 1121 | 1164 | func (x *DBusConnection) IsClosed() bool { | |
| 1122 | 1165 | ||
| 1123 | 1166 | cret := xDBusConnectionIsClosed(x.GoPointer()) | |
| 1167 | + | ||
| 1124 | 1168 | return cret | |
| 1125 | 1169 | } | |
| 1126 | 1170 | ||
| @@ -1184,6 +1228,7 @@ func (x *DBusConnection) RegisterObject(ObjectPathVar string, InterfaceInfoVar * | |||
| 1184 | 1228 | } | |
| 1185 | 1229 | ||
| 1186 | 1230 | cret := xDBusConnectionRegisterObject(x.GoPointer(), ObjectPathVar, InterfaceInfoVar, VtableVar, UserDataVar, UserDataFreeFuncVarRef, &cerr) | |
| 1231 | + | ||
| 1187 | 1232 | if cerr == nil { | |
| 1188 | 1233 | return cret, nil | |
| 1189 | 1234 | } | |
| @@ -1204,6 +1249,7 @@ func (x *DBusConnection) RegisterObjectWithClosures(ObjectPathVar string, Interf | |||
| 1204 | 1249 | var cerr *glib.Error | |
| 1205 | 1250 | ||
| 1206 | 1251 | cret := xDBusConnectionRegisterObjectWithClosures(x.GoPointer(), ObjectPathVar, InterfaceInfoVar, MethodCallClosureVar, GetPropertyClosureVar, SetPropertyClosureVar, &cerr) | |
| 1252 | + | ||
| 1207 | 1253 | if cerr == nil { | |
| 1208 | 1254 | return cret, nil | |
| 1209 | 1255 | } | |
| @@ -1229,6 +1275,7 @@ func (x *DBusConnection) RegisterObjectWithClosures2(ObjectPathVar string, Inter | |||
| 1229 | 1275 | var cerr *glib.Error | |
| 1230 | 1276 | ||
| 1231 | 1277 | cret := xDBusConnectionRegisterObjectWithClosures2(x.GoPointer(), ObjectPathVar, InterfaceInfoVar, MethodCallClosureVar, GetPropertyClosureVar, SetPropertyClosureVar, &cerr) | |
| 1278 | + | ||
| 1232 | 1279 | if cerr == nil { | |
| 1233 | 1280 | return cret, nil | |
| 1234 | 1281 | } | |
| @@ -1291,6 +1338,7 @@ func (x *DBusConnection) RegisterSubtree(ObjectPathVar string, VtableVar *DBusSu | |||
| 1291 | 1338 | } | |
| 1292 | 1339 | ||
| 1293 | 1340 | cret := xDBusConnectionRegisterSubtree(x.GoPointer(), ObjectPathVar, VtableVar, FlagsVar, UserDataVar, UserDataFreeFuncVarRef, &cerr) | |
| 1341 | + | ||
| 1294 | 1342 | if cerr == nil { | |
| 1295 | 1343 | return cret, nil | |
| 1296 | 1344 | } | |
| @@ -1342,6 +1390,7 @@ func (x *DBusConnection) SendMessage(MessageVar *DBusMessage, FlagsVar DBusSendM | |||
| 1342 | 1390 | var cerr *glib.Error | |
| 1343 | 1391 | ||
| 1344 | 1392 | cret := xDBusConnectionSendMessage(x.GoPointer(), MessageVar.GoPointer(), FlagsVar, OutSerialVar, &cerr) | |
| 1393 | + | ||
| 1345 | 1394 | if cerr == nil { | |
| 1346 | 1395 | return cret, nil | |
| 1347 | 1396 | } | |
| @@ -1585,7 +1634,28 @@ func (x *DBusConnection) SignalSubscribe(SenderVar *string, InterfaceNameVar *st | |||
| 1585 | 1634 | } | |
| 1586 | 1635 | } | |
| 1587 | 1636 | ||
| 1588 | - | cret := xDBusConnectionSignalSubscribe(x.GoPointer(), core.NullableStringToPtr(SenderVar), core.NullableStringToPtr(InterfaceNameVar), core.NullableStringToPtr(MemberVar), core.NullableStringToPtr(ObjectPathVar), core.NullableStringToPtr(Arg0Var), FlagsVar, CallbackVarRef, UserDataVar, UserDataFreeFuncVarRef) | |
| 1637 | + | SenderVarPtr, SenderVarBytes := core.NullableStringToPtr(SenderVar) | |
| 1638 | + | ||
| 1639 | + | InterfaceNameVarPtr, InterfaceNameVarBytes := core.NullableStringToPtr(InterfaceNameVar) | |
| 1640 | + | ||
| 1641 | + | MemberVarPtr, MemberVarBytes := core.NullableStringToPtr(MemberVar) | |
| 1642 | + | ||
| 1643 | + | ObjectPathVarPtr, ObjectPathVarBytes := core.NullableStringToPtr(ObjectPathVar) | |
| 1644 | + | ||
| 1645 | + | Arg0VarPtr, Arg0VarBytes := core.NullableStringToPtr(Arg0Var) | |
| 1646 | + | ||
| 1647 | + | cret := xDBusConnectionSignalSubscribe(x.GoPointer(), SenderVarPtr, InterfaceNameVarPtr, MemberVarPtr, ObjectPathVarPtr, Arg0VarPtr, FlagsVar, CallbackVarRef, UserDataVar, UserDataFreeFuncVarRef) | |
| 1648 | + | ||
| 1649 | + | runtime.KeepAlive(SenderVarBytes) | |
| 1650 | + | ||
| 1651 | + | runtime.KeepAlive(InterfaceNameVarBytes) | |
| 1652 | + | ||
| 1653 | + | runtime.KeepAlive(MemberVarBytes) | |
| 1654 | + | ||
| 1655 | + | runtime.KeepAlive(ObjectPathVarBytes) | |
| 1656 | + | ||
| 1657 | + | runtime.KeepAlive(Arg0VarBytes) | |
| 1658 | + | ||
| 1589 | 1659 | return cret | |
| 1590 | 1660 | } | |
| 1591 | 1661 | ||
| @@ -1655,6 +1725,7 @@ var xDBusConnectionUnregisterObject func(uintptr, uint) bool | |||
| 1655 | 1725 | func (x *DBusConnection) UnregisterObject(RegistrationIdVar uint) bool { | |
| 1656 | 1726 | ||
| 1657 | 1727 | cret := xDBusConnectionUnregisterObject(x.GoPointer(), RegistrationIdVar) | |
| 1728 | + | ||
| 1658 | 1729 | return cret | |
| 1659 | 1730 | } | |
| 1660 | 1731 | ||
| @@ -1664,6 +1735,7 @@ var xDBusConnectionUnregisterSubtree func(uintptr, uint) bool | |||
| 1664 | 1735 | func (x *DBusConnection) UnregisterSubtree(RegistrationIdVar uint) bool { | |
| 1665 | 1736 | ||
| 1666 | 1737 | cret := xDBusConnectionUnregisterSubtree(x.GoPointer(), RegistrationIdVar) | |
| 1738 | + | ||
| 1667 | 1739 | return cret | |
| 1668 | 1740 | } | |
| 1669 | 1741 | ||
| @@ -1874,6 +1946,7 @@ func (x *DBusConnection) InitFinish(ResVar AsyncResult) (bool, error) { | |||
| 1874 | 1946 | var cerr *glib.Error | |
| 1875 | 1947 | ||
| 1876 | 1948 | cret := XGAsyncInitableInitFinish(x.GoPointer(), ResVar.GoPointer(), &cerr) | |
| 1949 | + | ||
| 1877 | 1950 | if cerr == nil { | |
| 1878 | 1951 | return cret, nil | |
| 1879 | 1952 | } | |
| @@ -1943,6 +2016,7 @@ func (x *DBusConnection) Init(CancellableVar *Cancellable) (bool, error) { | |||
| 1943 | 2016 | var cerr *glib.Error | |
| 1944 | 2017 | ||
| 1945 | 2018 | cret := XGInitableInit(x.GoPointer(), CancellableVar.GoPointer(), &cerr) | |
| 2019 | + | ||
| 1946 | 2020 | if cerr == nil { | |
| 1947 | 2021 | return cret, nil | |
| 1948 | 2022 | } | |
| @@ -1989,7 +2063,11 @@ func DBusConnectionNew(StreamVar *IOStream, GuidVar *string, FlagsVar DBusConnec | |||
| 1989 | 2063 | } | |
| 1990 | 2064 | } | |
| 1991 | 2065 | ||
| 1992 | - | xDBusConnectionNew(StreamVar.GoPointer(), core.NullableStringToPtr(GuidVar), FlagsVar, ObserverVar.GoPointer(), CancellableVar.GoPointer(), CallbackVarRef, UserDataVar) | |
| 2066 | + | GuidVarPtr, GuidVarBytes := core.NullableStringToPtr(GuidVar) | |
| 2067 | + | ||
| 2068 | + | xDBusConnectionNew(StreamVar.GoPointer(), GuidVarPtr, FlagsVar, ObserverVar.GoPointer(), CancellableVar.GoPointer(), CallbackVarRef, UserDataVar) | |
| 2069 | + | ||
| 2070 | + | runtime.KeepAlive(GuidVarBytes) | |
| 1993 | 2071 | ||
| 1994 | 2072 | } | |
| 1995 | 2073 | ||
M v4/gio/gdbuserror.go +7 -0
| @@ -42,6 +42,7 @@ var xDbusErrorEncodeGerror func(*glib.Error) string | |||
| 42 | 42 | func DbusErrorEncodeGerror(ErrorVar *glib.Error) string { | |
| 43 | 43 | ||
| 44 | 44 | cret := xDbusErrorEncodeGerror(ErrorVar) | |
| 45 | + | ||
| 45 | 46 | return cret | |
| 46 | 47 | } | |
| 47 | 48 | ||
| @@ -56,6 +57,7 @@ var xDbusErrorGetRemoteError func(*glib.Error) string | |||
| 56 | 57 | func DbusErrorGetRemoteError(ErrorVar *glib.Error) string { | |
| 57 | 58 | ||
| 58 | 59 | cret := xDbusErrorGetRemoteError(ErrorVar) | |
| 60 | + | ||
| 59 | 61 | return cret | |
| 60 | 62 | } | |
| 61 | 63 | ||
| @@ -67,6 +69,7 @@ var xDbusErrorIsRemoteError func(*glib.Error) bool | |||
| 67 | 69 | func DbusErrorIsRemoteError(ErrorVar *glib.Error) bool { | |
| 68 | 70 | ||
| 69 | 71 | cret := xDbusErrorIsRemoteError(ErrorVar) | |
| 72 | + | ||
| 70 | 73 | return cret | |
| 71 | 74 | } | |
| 72 | 75 | ||
| @@ -104,6 +107,7 @@ var xDbusErrorNewForDbusError func(string, string) *glib.Error | |||
| 104 | 107 | func DbusErrorNewForDbusError(DbusErrorNameVar string, DbusErrorMessageVar string) *glib.Error { | |
| 105 | 108 | ||
| 106 | 109 | cret := xDbusErrorNewForDbusError(DbusErrorNameVar, DbusErrorMessageVar) | |
| 110 | + | ||
| 107 | 111 | return cret | |
| 108 | 112 | } | |
| 109 | 113 | ||
| @@ -117,6 +121,7 @@ var xDbusErrorRegisterError func(glib.Quark, int, string) bool | |||
| 117 | 121 | func DbusErrorRegisterError(ErrorDomainVar glib.Quark, ErrorCodeVar int, DbusErrorNameVar string) bool { | |
| 118 | 122 | ||
| 119 | 123 | cret := xDbusErrorRegisterError(ErrorDomainVar, ErrorCodeVar, DbusErrorNameVar) | |
| 124 | + | ||
| 120 | 125 | return cret | |
| 121 | 126 | } | |
| 122 | 127 | ||
| @@ -146,6 +151,7 @@ var xDbusErrorStripRemoteError func(*glib.Error) bool | |||
| 146 | 151 | func DbusErrorStripRemoteError(ErrorVar *glib.Error) bool { | |
| 147 | 152 | ||
| 148 | 153 | cret := xDbusErrorStripRemoteError(ErrorVar) | |
| 154 | + | ||
| 149 | 155 | return cret | |
| 150 | 156 | } | |
| 151 | 157 | ||
| @@ -156,6 +162,7 @@ var xDbusErrorUnregisterError func(glib.Quark, int, string) bool | |||
| 156 | 162 | func DbusErrorUnregisterError(ErrorDomainVar glib.Quark, ErrorCodeVar int, DbusErrorNameVar string) bool { | |
| 157 | 163 | ||
| 158 | 164 | cret := xDbusErrorUnregisterError(ErrorDomainVar, ErrorCodeVar, DbusErrorNameVar) | |
| 165 | + | ||
| 159 | 166 | return cret | |
| 160 | 167 | } | |
| 161 | 168 | ||
M v4/gio/gdbusinterface.go +1 -0
| @@ -204,6 +204,7 @@ func (x *DBusInterfaceBase) DupObject() *DBusObjectBase { | |||
| 204 | 204 | func (x *DBusInterfaceBase) GetInfo() *DBusInterfaceInfo { | |
| 205 | 205 | ||
| 206 | 206 | cret := XGDbusInterfaceGetInfo(x.GoPointer()) | |
| 207 | + | ||
| 207 | 208 | return cret | |
| 208 | 209 | } | |
| 209 | 210 | ||
M v4/gio/gdbusinterfaceskeleton.go +8 -0
| @@ -200,6 +200,7 @@ func (x *DBusInterfaceSkeleton) Export(ConnectionVar *DBusConnection, ObjectPath | |||
| 200 | 200 | var cerr *glib.Error | |
| 201 | 201 | ||
| 202 | 202 | cret := xDBusInterfaceSkeletonExport(x.GoPointer(), ConnectionVar.GoPointer(), ObjectPathVar, &cerr) | |
| 203 | + | ||
| 203 | 204 | if cerr == nil { | |
| 204 | 205 | return cret, nil | |
| 205 | 206 | } | |
| @@ -246,6 +247,7 @@ var xDBusInterfaceSkeletonGetConnections func(uintptr) *glib.List | |||
| 246 | 247 | func (x *DBusInterfaceSkeleton) GetConnections() *glib.List { | |
| 247 | 248 | ||
| 248 | 249 | cret := xDBusInterfaceSkeletonGetConnections(x.GoPointer()) | |
| 250 | + | ||
| 249 | 251 | return cret | |
| 250 | 252 | } | |
| 251 | 253 | ||
| @@ -256,6 +258,7 @@ var xDBusInterfaceSkeletonGetFlags func(uintptr) DBusInterfaceSkeletonFlags | |||
| 256 | 258 | func (x *DBusInterfaceSkeleton) GetFlags() DBusInterfaceSkeletonFlags { | |
| 257 | 259 | ||
| 258 | 260 | cret := xDBusInterfaceSkeletonGetFlags(x.GoPointer()) | |
| 261 | + | ||
| 259 | 262 | return cret | |
| 260 | 263 | } | |
| 261 | 264 | ||
| @@ -266,6 +269,7 @@ var xDBusInterfaceSkeletonGetInfo func(uintptr) *DBusInterfaceInfo | |||
| 266 | 269 | func (x *DBusInterfaceSkeleton) GetInfo() *DBusInterfaceInfo { | |
| 267 | 270 | ||
| 268 | 271 | cret := xDBusInterfaceSkeletonGetInfo(x.GoPointer()) | |
| 272 | + | ||
| 269 | 273 | return cret | |
| 270 | 274 | } | |
| 271 | 275 | ||
| @@ -275,6 +279,7 @@ var xDBusInterfaceSkeletonGetObjectPath func(uintptr) string | |||
| 275 | 279 | func (x *DBusInterfaceSkeleton) GetObjectPath() string { | |
| 276 | 280 | ||
| 277 | 281 | cret := xDBusInterfaceSkeletonGetObjectPath(x.GoPointer()) | |
| 282 | + | ||
| 278 | 283 | return cret | |
| 279 | 284 | } | |
| 280 | 285 | ||
| @@ -284,6 +289,7 @@ var xDBusInterfaceSkeletonGetProperties func(uintptr) *glib.Variant | |||
| 284 | 289 | func (x *DBusInterfaceSkeleton) GetProperties() *glib.Variant { | |
| 285 | 290 | ||
| 286 | 291 | cret := xDBusInterfaceSkeletonGetProperties(x.GoPointer()) | |
| 292 | + | ||
| 287 | 293 | return cret | |
| 288 | 294 | } | |
| 289 | 295 | ||
| @@ -295,6 +301,7 @@ var xDBusInterfaceSkeletonGetVtable func(uintptr) *DBusInterfaceVTable | |||
| 295 | 301 | func (x *DBusInterfaceSkeleton) GetVtable() *DBusInterfaceVTable { | |
| 296 | 302 | ||
| 297 | 303 | cret := xDBusInterfaceSkeletonGetVtable(x.GoPointer()) | |
| 304 | + | ||
| 298 | 305 | return cret | |
| 299 | 306 | } | |
| 300 | 307 | ||
| @@ -304,6 +311,7 @@ var xDBusInterfaceSkeletonHasConnection func(uintptr, uintptr) bool | |||
| 304 | 311 | func (x *DBusInterfaceSkeleton) HasConnection(ConnectionVar *DBusConnection) bool { | |
| 305 | 312 | ||
| 306 | 313 | cret := xDBusInterfaceSkeletonHasConnection(x.GoPointer(), ConnectionVar.GoPointer()) | |
| 314 | + | ||
| 307 | 315 | return cret | |
| 308 | 316 | } | |
| 309 | 317 | ||
M v4/gio/gdbusintrospection.go +13 -0
| @@ -41,6 +41,7 @@ var xDBusAnnotationInfoRef func(uintptr) *DBusAnnotationInfo | |||
| 41 | 41 | func (x *DBusAnnotationInfo) Ref() *DBusAnnotationInfo { | |
| 42 | 42 | ||
| 43 | 43 | cret := xDBusAnnotationInfoRef(x.GoPointer()) | |
| 44 | + | ||
| 44 | 45 | return cret | |
| 45 | 46 | } | |
| 46 | 47 | ||
| @@ -85,6 +86,7 @@ var xDBusArgInfoRef func(uintptr) *DBusArgInfo | |||
| 85 | 86 | func (x *DBusArgInfo) Ref() *DBusArgInfo { | |
| 86 | 87 | ||
| 87 | 88 | cret := xDBusArgInfoRef(x.GoPointer()) | |
| 89 | + | ||
| 88 | 90 | return cret | |
| 89 | 91 | } | |
| 90 | 92 | ||
| @@ -178,6 +180,7 @@ var xDBusInterfaceInfoLookupMethod func(uintptr, string) *DBusMethodInfo | |||
| 178 | 180 | func (x *DBusInterfaceInfo) LookupMethod(NameVar string) *DBusMethodInfo { | |
| 179 | 181 | ||
| 180 | 182 | cret := xDBusInterfaceInfoLookupMethod(x.GoPointer(), NameVar) | |
| 183 | + | ||
| 181 | 184 | return cret | |
| 182 | 185 | } | |
| 183 | 186 | ||
| @@ -190,6 +193,7 @@ var xDBusInterfaceInfoLookupProperty func(uintptr, string) *DBusPropertyInfo | |||
| 190 | 193 | func (x *DBusInterfaceInfo) LookupProperty(NameVar string) *DBusPropertyInfo { | |
| 191 | 194 | ||
| 192 | 195 | cret := xDBusInterfaceInfoLookupProperty(x.GoPointer(), NameVar) | |
| 196 | + | ||
| 193 | 197 | return cret | |
| 194 | 198 | } | |
| 195 | 199 | ||
| @@ -202,6 +206,7 @@ var xDBusInterfaceInfoLookupSignal func(uintptr, string) *DBusSignalInfo | |||
| 202 | 206 | func (x *DBusInterfaceInfo) LookupSignal(NameVar string) *DBusSignalInfo { | |
| 203 | 207 | ||
| 204 | 208 | cret := xDBusInterfaceInfoLookupSignal(x.GoPointer(), NameVar) | |
| 209 | + | ||
| 205 | 210 | return cret | |
| 206 | 211 | } | |
| 207 | 212 | ||
| @@ -212,6 +217,7 @@ var xDBusInterfaceInfoRef func(uintptr) *DBusInterfaceInfo | |||
| 212 | 217 | func (x *DBusInterfaceInfo) Ref() *DBusInterfaceInfo { | |
| 213 | 218 | ||
| 214 | 219 | cret := xDBusInterfaceInfoRef(x.GoPointer()) | |
| 220 | + | ||
| 215 | 221 | return cret | |
| 216 | 222 | } | |
| 217 | 223 | ||
| @@ -258,6 +264,7 @@ var xDBusMethodInfoRef func(uintptr) *DBusMethodInfo | |||
| 258 | 264 | func (x *DBusMethodInfo) Ref() *DBusMethodInfo { | |
| 259 | 265 | ||
| 260 | 266 | cret := xDBusMethodInfoRef(x.GoPointer()) | |
| 267 | + | ||
| 261 | 268 | return cret | |
| 262 | 269 | } | |
| 263 | 270 | ||
| @@ -311,6 +318,7 @@ func NewDBusNodeInfoForXml(XmlDataVar string) (*DBusNodeInfo, error) { | |||
| 311 | 318 | var cerr *glib.Error | |
| 312 | 319 | ||
| 313 | 320 | cret := xNewDBusNodeInfoForXml(XmlDataVar, &cerr) | |
| 321 | + | ||
| 314 | 322 | if cerr == nil { | |
| 315 | 323 | return cret, nil | |
| 316 | 324 | } | |
| @@ -338,6 +346,7 @@ var xDBusNodeInfoLookupInterface func(uintptr, string) *DBusInterfaceInfo | |||
| 338 | 346 | func (x *DBusNodeInfo) LookupInterface(NameVar string) *DBusInterfaceInfo { | |
| 339 | 347 | ||
| 340 | 348 | cret := xDBusNodeInfoLookupInterface(x.GoPointer(), NameVar) | |
| 349 | + | ||
| 341 | 350 | return cret | |
| 342 | 351 | } | |
| 343 | 352 | ||
| @@ -348,6 +357,7 @@ var xDBusNodeInfoRef func(uintptr) *DBusNodeInfo | |||
| 348 | 357 | func (x *DBusNodeInfo) Ref() *DBusNodeInfo { | |
| 349 | 358 | ||
| 350 | 359 | cret := xDBusNodeInfoRef(x.GoPointer()) | |
| 360 | + | ||
| 351 | 361 | return cret | |
| 352 | 362 | } | |
| 353 | 363 | ||
| @@ -394,6 +404,7 @@ var xDBusPropertyInfoRef func(uintptr) *DBusPropertyInfo | |||
| 394 | 404 | func (x *DBusPropertyInfo) Ref() *DBusPropertyInfo { | |
| 395 | 405 | ||
| 396 | 406 | cret := xDBusPropertyInfoRef(x.GoPointer()) | |
| 407 | + | ||
| 397 | 408 | return cret | |
| 398 | 409 | } | |
| 399 | 410 | ||
| @@ -438,6 +449,7 @@ var xDBusSignalInfoRef func(uintptr) *DBusSignalInfo | |||
| 438 | 449 | func (x *DBusSignalInfo) Ref() *DBusSignalInfo { | |
| 439 | 450 | ||
| 440 | 451 | cret := xDBusSignalInfoRef(x.GoPointer()) | |
| 452 | + | ||
| 441 | 453 | return cret | |
| 442 | 454 | } | |
| 443 | 455 | ||
| @@ -460,6 +472,7 @@ var xDbusAnnotationInfoLookup func(uintptr, string) string | |||
| 460 | 472 | func DbusAnnotationInfoLookup(AnnotationsVar uintptr, NameVar string) string { | |
| 461 | 473 | ||
| 462 | 474 | cret := xDbusAnnotationInfoLookup(AnnotationsVar, NameVar) | |
| 475 | + | ||
| 463 | 476 | return cret | |
| 464 | 477 | } | |
| 465 | 478 | ||
M v4/gio/gdbusmenumodel.go +7 -1
| @@ -2,6 +2,8 @@ | |||
| 2 | 2 | package gio | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "runtime" | |
| 6 | + | ||
| 5 | 7 | "github.com/jwijenbergh/purego" | |
| 6 | 8 | "github.com/jwijenbergh/puregotk/pkg/core" | |
| 7 | 9 | "github.com/jwijenbergh/puregotk/v4/gobject/types" | |
| @@ -50,7 +52,11 @@ var xDBusMenuModelGet func(uintptr, uintptr, string) uintptr | |||
| 50 | 52 | func DBusMenuModelGet(ConnectionVar *DBusConnection, BusNameVar *string, ObjectPathVar string) *DBusMenuModel { | |
| 51 | 53 | var cls *DBusMenuModel | |
| 52 | 54 | ||
| 53 | - | cret := xDBusMenuModelGet(ConnectionVar.GoPointer(), core.NullableStringToPtr(BusNameVar), ObjectPathVar) | |
| 55 | + | BusNameVarPtr, BusNameVarBytes := core.NullableStringToPtr(BusNameVar) | |
| 56 | + | ||
| 57 | + | cret := xDBusMenuModelGet(ConnectionVar.GoPointer(), BusNameVarPtr, ObjectPathVar) | |
| 58 | + | ||
| 59 | + | runtime.KeepAlive(BusNameVarBytes) | |
| 54 | 60 | ||
| 55 | 61 | if cret == 0 { | |
| 56 | 62 | return nil | |
M v4/gio/gdbusmessage.go +64 -7
| @@ -2,6 +2,8 @@ | |||
| 2 | 2 | package gio | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "runtime" | |
| 6 | + | ||
| 5 | 7 | "github.com/jwijenbergh/purego" | |
| 6 | 8 | "github.com/jwijenbergh/puregotk/pkg/core" | |
| 7 | 9 | "github.com/jwijenbergh/puregotk/v4/glib" | |
| @@ -75,7 +77,15 @@ var xNewDBusMessageMethodCall func(uintptr, string, uintptr, string) uintptr | |||
| 75 | 77 | func NewDBusMessageMethodCall(NameVar *string, PathVar string, InterfaceVar *string, MethodVar string) *DBusMessage { | |
| 76 | 78 | var cls *DBusMessage | |
| 77 | 79 | ||
| 78 | - | cret := xNewDBusMessageMethodCall(core.NullableStringToPtr(NameVar), PathVar, core.NullableStringToPtr(InterfaceVar), MethodVar) | |
| 80 | + | NameVarPtr, NameVarBytes := core.NullableStringToPtr(NameVar) | |
| 81 | + | ||
| 82 | + | InterfaceVarPtr, InterfaceVarBytes := core.NullableStringToPtr(InterfaceVar) | |
| 83 | + | ||
| 84 | + | cret := xNewDBusMessageMethodCall(NameVarPtr, PathVar, InterfaceVarPtr, MethodVar) | |
| 85 | + | ||
| 86 | + | runtime.KeepAlive(NameVarBytes) | |
| 87 | + | ||
| 88 | + | runtime.KeepAlive(InterfaceVarBytes) | |
| 79 | 89 | ||
| 80 | 90 | if cret == 0 { | |
| 81 | 91 | return nil | |
| @@ -136,6 +146,7 @@ var xDBusMessageGetArg0 func(uintptr) string | |||
| 136 | 146 | func (x *DBusMessage) GetArg0() string { | |
| 137 | 147 | ||
| 138 | 148 | cret := xDBusMessageGetArg0(x.GoPointer()) | |
| 149 | + | ||
| 139 | 150 | return cret | |
| 140 | 151 | } | |
| 141 | 152 | ||
| @@ -147,6 +158,7 @@ var xDBusMessageGetArg0Path func(uintptr) string | |||
| 147 | 158 | func (x *DBusMessage) GetArg0Path() string { | |
| 148 | 159 | ||
| 149 | 160 | cret := xDBusMessageGetArg0Path(x.GoPointer()) | |
| 161 | + | ||
| 150 | 162 | return cret | |
| 151 | 163 | } | |
| 152 | 164 | ||
| @@ -156,6 +168,7 @@ var xDBusMessageGetBody func(uintptr) *glib.Variant | |||
| 156 | 168 | func (x *DBusMessage) GetBody() *glib.Variant { | |
| 157 | 169 | ||
| 158 | 170 | cret := xDBusMessageGetBody(x.GoPointer()) | |
| 171 | + | ||
| 159 | 172 | return cret | |
| 160 | 173 | } | |
| 161 | 174 | ||
| @@ -165,6 +178,7 @@ var xDBusMessageGetByteOrder func(uintptr) DBusMessageByteOrder | |||
| 165 | 178 | func (x *DBusMessage) GetByteOrder() DBusMessageByteOrder { | |
| 166 | 179 | ||
| 167 | 180 | cret := xDBusMessageGetByteOrder(x.GoPointer()) | |
| 181 | + | ||
| 168 | 182 | return cret | |
| 169 | 183 | } | |
| 170 | 184 | ||
| @@ -174,6 +188,7 @@ var xDBusMessageGetDestination func(uintptr) string | |||
| 174 | 188 | func (x *DBusMessage) GetDestination() string { | |
| 175 | 189 | ||
| 176 | 190 | cret := xDBusMessageGetDestination(x.GoPointer()) | |
| 191 | + | ||
| 177 | 192 | return cret | |
| 178 | 193 | } | |
| 179 | 194 | ||
| @@ -183,6 +198,7 @@ var xDBusMessageGetErrorName func(uintptr) string | |||
| 183 | 198 | func (x *DBusMessage) GetErrorName() string { | |
| 184 | 199 | ||
| 185 | 200 | cret := xDBusMessageGetErrorName(x.GoPointer()) | |
| 201 | + | ||
| 186 | 202 | return cret | |
| 187 | 203 | } | |
| 188 | 204 | ||
| @@ -192,6 +208,7 @@ var xDBusMessageGetFlags func(uintptr) DBusMessageFlags | |||
| 192 | 208 | func (x *DBusMessage) GetFlags() DBusMessageFlags { | |
| 193 | 209 | ||
| 194 | 210 | cret := xDBusMessageGetFlags(x.GoPointer()) | |
| 211 | + | ||
| 195 | 212 | return cret | |
| 196 | 213 | } | |
| 197 | 214 | ||
| @@ -204,6 +221,7 @@ var xDBusMessageGetHeader func(uintptr, DBusMessageHeaderField) *glib.Variant | |||
| 204 | 221 | func (x *DBusMessage) GetHeader(HeaderFieldVar DBusMessageHeaderField) *glib.Variant { | |
| 205 | 222 | ||
| 206 | 223 | cret := xDBusMessageGetHeader(x.GoPointer(), HeaderFieldVar) | |
| 224 | + | ||
| 207 | 225 | return cret | |
| 208 | 226 | } | |
| 209 | 227 | ||
| @@ -213,6 +231,7 @@ var xDBusMessageGetHeaderFields func(uintptr) uintptr | |||
| 213 | 231 | func (x *DBusMessage) GetHeaderFields() uintptr { | |
| 214 | 232 | ||
| 215 | 233 | cret := xDBusMessageGetHeaderFields(x.GoPointer()) | |
| 234 | + | ||
| 216 | 235 | return cret | |
| 217 | 236 | } | |
| 218 | 237 | ||
| @@ -222,6 +241,7 @@ var xDBusMessageGetInterface func(uintptr) string | |||
| 222 | 241 | func (x *DBusMessage) GetInterface() string { | |
| 223 | 242 | ||
| 224 | 243 | cret := xDBusMessageGetInterface(x.GoPointer()) | |
| 244 | + | ||
| 225 | 245 | return cret | |
| 226 | 246 | } | |
| 227 | 247 | ||
| @@ -233,6 +253,7 @@ var xDBusMessageGetLocked func(uintptr) bool | |||
| 233 | 253 | func (x *DBusMessage) GetLocked() bool { | |
| 234 | 254 | ||
| 235 | 255 | cret := xDBusMessageGetLocked(x.GoPointer()) | |
| 256 | + | ||
| 236 | 257 | return cret | |
| 237 | 258 | } | |
| 238 | 259 | ||
| @@ -242,6 +263,7 @@ var xDBusMessageGetMember func(uintptr) string | |||
| 242 | 263 | func (x *DBusMessage) GetMember() string { | |
| 243 | 264 | ||
| 244 | 265 | cret := xDBusMessageGetMember(x.GoPointer()) | |
| 266 | + | ||
| 245 | 267 | return cret | |
| 246 | 268 | } | |
| 247 | 269 | ||
| @@ -251,6 +273,7 @@ var xDBusMessageGetMessageType func(uintptr) DBusMessageType | |||
| 251 | 273 | func (x *DBusMessage) GetMessageType() DBusMessageType { | |
| 252 | 274 | ||
| 253 | 275 | cret := xDBusMessageGetMessageType(x.GoPointer()) | |
| 276 | + | ||
| 254 | 277 | return cret | |
| 255 | 278 | } | |
| 256 | 279 | ||
| @@ -260,6 +283,7 @@ var xDBusMessageGetNumUnixFds func(uintptr) uint32 | |||
| 260 | 283 | func (x *DBusMessage) GetNumUnixFds() uint32 { | |
| 261 | 284 | ||
| 262 | 285 | cret := xDBusMessageGetNumUnixFds(x.GoPointer()) | |
| 286 | + | ||
| 263 | 287 | return cret | |
| 264 | 288 | } | |
| 265 | 289 | ||
| @@ -269,6 +293,7 @@ var xDBusMessageGetPath func(uintptr) string | |||
| 269 | 293 | func (x *DBusMessage) GetPath() string { | |
| 270 | 294 | ||
| 271 | 295 | cret := xDBusMessageGetPath(x.GoPointer()) | |
| 296 | + | ||
| 272 | 297 | return cret | |
| 273 | 298 | } | |
| 274 | 299 | ||
| @@ -278,6 +303,7 @@ var xDBusMessageGetReplySerial func(uintptr) uint32 | |||
| 278 | 303 | func (x *DBusMessage) GetReplySerial() uint32 { | |
| 279 | 304 | ||
| 280 | 305 | cret := xDBusMessageGetReplySerial(x.GoPointer()) | |
| 306 | + | ||
| 281 | 307 | return cret | |
| 282 | 308 | } | |
| 283 | 309 | ||
| @@ -287,6 +313,7 @@ var xDBusMessageGetSender func(uintptr) string | |||
| 287 | 313 | func (x *DBusMessage) GetSender() string { | |
| 288 | 314 | ||
| 289 | 315 | cret := xDBusMessageGetSender(x.GoPointer()) | |
| 316 | + | ||
| 290 | 317 | return cret | |
| 291 | 318 | } | |
| 292 | 319 | ||
| @@ -296,6 +323,7 @@ var xDBusMessageGetSerial func(uintptr) uint32 | |||
| 296 | 323 | func (x *DBusMessage) GetSerial() uint32 { | |
| 297 | 324 | ||
| 298 | 325 | cret := xDBusMessageGetSerial(x.GoPointer()) | |
| 326 | + | ||
| 299 | 327 | return cret | |
| 300 | 328 | } | |
| 301 | 329 | ||
| @@ -307,6 +335,7 @@ var xDBusMessageGetSignature func(uintptr) string | |||
| 307 | 335 | func (x *DBusMessage) GetSignature() string { | |
| 308 | 336 | ||
| 309 | 337 | cret := xDBusMessageGetSignature(x.GoPointer()) | |
| 338 | + | ||
| 310 | 339 | return cret | |
| 311 | 340 | } | |
| 312 | 341 | ||
| @@ -453,6 +482,7 @@ var xDBusMessagePrint func(uintptr, uint) string | |||
| 453 | 482 | func (x *DBusMessage) Print(IndentVar uint) string { | |
| 454 | 483 | ||
| 455 | 484 | cret := xDBusMessagePrint(x.GoPointer(), IndentVar) | |
| 485 | + | ||
| 456 | 486 | return cret | |
| 457 | 487 | } | |
| 458 | 488 | ||
| @@ -483,7 +513,11 @@ var xDBusMessageSetDestination func(uintptr, uintptr) | |||
| 483 | 513 | // Convenience setter for the %G_DBUS_MESSAGE_HEADER_FIELD_DESTINATION header field. | |
| 484 | 514 | func (x *DBusMessage) SetDestination(ValueVar *string) { | |
| 485 | 515 | ||
| 486 | - | xDBusMessageSetDestination(x.GoPointer(), core.NullableStringToPtr(ValueVar)) | |
| 516 | + | ValueVarPtr, ValueVarBytes := core.NullableStringToPtr(ValueVar) | |
| 517 | + | ||
| 518 | + | xDBusMessageSetDestination(x.GoPointer(), ValueVarPtr) | |
| 519 | + | ||
| 520 | + | runtime.KeepAlive(ValueVarBytes) | |
| 487 | 521 | ||
| 488 | 522 | } | |
| 489 | 523 | ||
| @@ -521,7 +555,11 @@ var xDBusMessageSetInterface func(uintptr, uintptr) | |||
| 521 | 555 | // Convenience setter for the %G_DBUS_MESSAGE_HEADER_FIELD_INTERFACE header field. | |
| 522 | 556 | func (x *DBusMessage) SetInterface(ValueVar *string) { | |
| 523 | 557 | ||
| 524 | - | xDBusMessageSetInterface(x.GoPointer(), core.NullableStringToPtr(ValueVar)) | |
| 558 | + | ValueVarPtr, ValueVarBytes := core.NullableStringToPtr(ValueVar) | |
| 559 | + | ||
| 560 | + | xDBusMessageSetInterface(x.GoPointer(), ValueVarPtr) | |
| 561 | + | ||
| 562 | + | runtime.KeepAlive(ValueVarBytes) | |
| 525 | 563 | ||
| 526 | 564 | } | |
| 527 | 565 | ||
| @@ -530,7 +568,11 @@ var xDBusMessageSetMember func(uintptr, uintptr) | |||
| 530 | 568 | // Convenience setter for the %G_DBUS_MESSAGE_HEADER_FIELD_MEMBER header field. | |
| 531 | 569 | func (x *DBusMessage) SetMember(ValueVar *string) { | |
| 532 | 570 | ||
| 533 | - | xDBusMessageSetMember(x.GoPointer(), core.NullableStringToPtr(ValueVar)) | |
| 571 | + | ValueVarPtr, ValueVarBytes := core.NullableStringToPtr(ValueVar) | |
| 572 | + | ||
| 573 | + | xDBusMessageSetMember(x.GoPointer(), ValueVarPtr) | |
| 574 | + | ||
| 575 | + | runtime.KeepAlive(ValueVarBytes) | |
| 534 | 576 | ||
| 535 | 577 | } | |
| 536 | 578 | ||
| @@ -557,7 +599,11 @@ var xDBusMessageSetPath func(uintptr, uintptr) | |||
| 557 | 599 | // Convenience setter for the %G_DBUS_MESSAGE_HEADER_FIELD_PATH header field. | |
| 558 | 600 | func (x *DBusMessage) SetPath(ValueVar *string) { | |
| 559 | 601 | ||
| 560 | - | xDBusMessageSetPath(x.GoPointer(), core.NullableStringToPtr(ValueVar)) | |
| 602 | + | ValueVarPtr, ValueVarBytes := core.NullableStringToPtr(ValueVar) | |
| 603 | + | ||
| 604 | + | xDBusMessageSetPath(x.GoPointer(), ValueVarPtr) | |
| 605 | + | ||
| 606 | + | runtime.KeepAlive(ValueVarBytes) | |
| 561 | 607 | ||
| 562 | 608 | } | |
| 563 | 609 | ||
| @@ -575,7 +621,11 @@ var xDBusMessageSetSender func(uintptr, uintptr) | |||
| 575 | 621 | // Convenience setter for the %G_DBUS_MESSAGE_HEADER_FIELD_SENDER header field. | |
| 576 | 622 | func (x *DBusMessage) SetSender(ValueVar *string) { | |
| 577 | 623 | ||
| 578 | - | xDBusMessageSetSender(x.GoPointer(), core.NullableStringToPtr(ValueVar)) | |
| 624 | + | ValueVarPtr, ValueVarBytes := core.NullableStringToPtr(ValueVar) | |
| 625 | + | ||
| 626 | + | xDBusMessageSetSender(x.GoPointer(), ValueVarPtr) | |
| 627 | + | ||
| 628 | + | runtime.KeepAlive(ValueVarBytes) | |
| 579 | 629 | ||
| 580 | 630 | } | |
| 581 | 631 | ||
| @@ -596,7 +646,11 @@ var xDBusMessageSetSignature func(uintptr, uintptr) | |||
| 596 | 646 | // Convenience setter for the %G_DBUS_MESSAGE_HEADER_FIELD_SIGNATURE header field. | |
| 597 | 647 | func (x *DBusMessage) SetSignature(ValueVar *string) { | |
| 598 | 648 | ||
| 599 | - | xDBusMessageSetSignature(x.GoPointer(), core.NullableStringToPtr(ValueVar)) | |
| 649 | + | ValueVarPtr, ValueVarBytes := core.NullableStringToPtr(ValueVar) | |
| 650 | + | ||
| 651 | + | xDBusMessageSetSignature(x.GoPointer(), ValueVarPtr) | |
| 652 | + | ||
| 653 | + | runtime.KeepAlive(ValueVarBytes) | |
| 600 | 654 | ||
| 601 | 655 | } | |
| 602 | 656 | ||
| @@ -627,6 +681,7 @@ func (x *DBusMessage) ToBlob(OutSizeVar *uint, CapabilitiesVar DBusCapabilityFla | |||
| 627 | 681 | var cerr *glib.Error | |
| 628 | 682 | ||
| 629 | 683 | cret := xDBusMessageToBlob(x.GoPointer(), OutSizeVar, CapabilitiesVar, &cerr) | |
| 684 | + | ||
| 630 | 685 | if cerr == nil { | |
| 631 | 686 | return cret, nil | |
| 632 | 687 | } | |
| @@ -647,6 +702,7 @@ func (x *DBusMessage) ToGerror() (bool, error) { | |||
| 647 | 702 | var cerr *glib.Error | |
| 648 | 703 | ||
| 649 | 704 | cret := xDBusMessageToGerror(x.GoPointer()) | |
| 705 | + | ||
| 650 | 706 | if cerr == nil { | |
| 651 | 707 | return cret, nil | |
| 652 | 708 | } | |
| @@ -680,6 +736,7 @@ func DBusMessageBytesNeeded(BlobVar []byte, BlobLenVar uint) (int, error) { | |||
| 680 | 736 | var cerr *glib.Error | |
| 681 | 737 | ||
| 682 | 738 | cret := xDBusMessageBytesNeeded(BlobVar, BlobLenVar, &cerr) | |
| 739 | + | ||
| 683 | 740 | if cerr == nil { | |
| 684 | 741 | return cret, nil | |
| 685 | 742 | } | |
M v4/gio/gdbusmethodinvocation.go +8 -0
| @@ -90,6 +90,7 @@ var xDBusMethodInvocationGetInterfaceName func(uintptr) string | |||
| 90 | 90 | func (x *DBusMethodInvocation) GetInterfaceName() string { | |
| 91 | 91 | ||
| 92 | 92 | cret := xDBusMethodInvocationGetInterfaceName(x.GoPointer()) | |
| 93 | + | ||
| 93 | 94 | return cret | |
| 94 | 95 | } | |
| 95 | 96 | ||
| @@ -129,6 +130,7 @@ var xDBusMethodInvocationGetMethodInfo func(uintptr) *DBusMethodInfo | |||
| 129 | 130 | func (x *DBusMethodInvocation) GetMethodInfo() *DBusMethodInfo { | |
| 130 | 131 | ||
| 131 | 132 | cret := xDBusMethodInvocationGetMethodInfo(x.GoPointer()) | |
| 133 | + | ||
| 132 | 134 | return cret | |
| 133 | 135 | } | |
| 134 | 136 | ||
| @@ -138,6 +140,7 @@ var xDBusMethodInvocationGetMethodName func(uintptr) string | |||
| 138 | 140 | func (x *DBusMethodInvocation) GetMethodName() string { | |
| 139 | 141 | ||
| 140 | 142 | cret := xDBusMethodInvocationGetMethodName(x.GoPointer()) | |
| 143 | + | ||
| 141 | 144 | return cret | |
| 142 | 145 | } | |
| 143 | 146 | ||
| @@ -147,6 +150,7 @@ var xDBusMethodInvocationGetObjectPath func(uintptr) string | |||
| 147 | 150 | func (x *DBusMethodInvocation) GetObjectPath() string { | |
| 148 | 151 | ||
| 149 | 152 | cret := xDBusMethodInvocationGetObjectPath(x.GoPointer()) | |
| 153 | + | ||
| 150 | 154 | return cret | |
| 151 | 155 | } | |
| 152 | 156 | ||
| @@ -157,6 +161,7 @@ var xDBusMethodInvocationGetParameters func(uintptr) *glib.Variant | |||
| 157 | 161 | func (x *DBusMethodInvocation) GetParameters() *glib.Variant { | |
| 158 | 162 | ||
| 159 | 163 | cret := xDBusMethodInvocationGetParameters(x.GoPointer()) | |
| 164 | + | ||
| 160 | 165 | return cret | |
| 161 | 166 | } | |
| 162 | 167 | ||
| @@ -176,6 +181,7 @@ var xDBusMethodInvocationGetPropertyInfo func(uintptr) *DBusPropertyInfo | |||
| 176 | 181 | func (x *DBusMethodInvocation) GetPropertyInfo() *DBusPropertyInfo { | |
| 177 | 182 | ||
| 178 | 183 | cret := xDBusMethodInvocationGetPropertyInfo(x.GoPointer()) | |
| 184 | + | ||
| 179 | 185 | return cret | |
| 180 | 186 | } | |
| 181 | 187 | ||
| @@ -188,6 +194,7 @@ var xDBusMethodInvocationGetSender func(uintptr) string | |||
| 188 | 194 | func (x *DBusMethodInvocation) GetSender() string { | |
| 189 | 195 | ||
| 190 | 196 | cret := xDBusMethodInvocationGetSender(x.GoPointer()) | |
| 197 | + | ||
| 191 | 198 | return cret | |
| 192 | 199 | } | |
| 193 | 200 | ||
| @@ -197,6 +204,7 @@ var xDBusMethodInvocationGetUserData func(uintptr) uintptr | |||
| 197 | 204 | func (x *DBusMethodInvocation) GetUserData() uintptr { | |
| 198 | 205 | ||
| 199 | 206 | cret := xDBusMethodInvocationGetUserData(x.GoPointer()) | |
| 207 | + | ||
| 200 | 208 | return cret | |
| 201 | 209 | } | |
| 202 | 210 | ||
M v4/gio/gdbusnameowning.go +4 -0
| @@ -134,6 +134,7 @@ func BusOwnName(BusTypeVar BusType, NameVar string, FlagsVar BusNameOwnerFlags, | |||
| 134 | 134 | } | |
| 135 | 135 | ||
| 136 | 136 | cret := xBusOwnName(BusTypeVar, NameVar, FlagsVar, BusAcquiredHandlerVarRef, NameAcquiredHandlerVarRef, NameLostHandlerVarRef, UserDataVar, UserDataFreeFuncVarRef) | |
| 137 | + | ||
| 137 | 138 | return cret | |
| 138 | 139 | } | |
| 139 | 140 | ||
| @@ -189,6 +190,7 @@ func BusOwnNameOnConnection(ConnectionVar *DBusConnection, NameVar string, Flags | |||
| 189 | 190 | } | |
| 190 | 191 | ||
| 191 | 192 | cret := xBusOwnNameOnConnection(ConnectionVar.GoPointer(), NameVar, FlagsVar, NameAcquiredHandlerVarRef, NameLostHandlerVarRef, UserDataVar, UserDataFreeFuncVarRef) | |
| 193 | + | ||
| 192 | 194 | return cret | |
| 193 | 195 | } | |
| 194 | 196 | ||
| @@ -199,6 +201,7 @@ var xBusOwnNameOnConnectionWithClosures func(uintptr, string, BusNameOwnerFlags, | |||
| 199 | 201 | func BusOwnNameOnConnectionWithClosures(ConnectionVar *DBusConnection, NameVar string, FlagsVar BusNameOwnerFlags, NameAcquiredClosureVar *gobject.Closure, NameLostClosureVar *gobject.Closure) uint { | |
| 200 | 202 | ||
| 201 | 203 | cret := xBusOwnNameOnConnectionWithClosures(ConnectionVar.GoPointer(), NameVar, FlagsVar, NameAcquiredClosureVar, NameLostClosureVar) | |
| 204 | + | ||
| 202 | 205 | return cret | |
| 203 | 206 | } | |
| 204 | 207 | ||
| @@ -209,6 +212,7 @@ var xBusOwnNameWithClosures func(BusType, string, BusNameOwnerFlags, *gobject.Cl | |||
| 209 | 212 | func BusOwnNameWithClosures(BusTypeVar BusType, NameVar string, FlagsVar BusNameOwnerFlags, BusAcquiredClosureVar *gobject.Closure, NameAcquiredClosureVar *gobject.Closure, NameLostClosureVar *gobject.Closure) uint { | |
| 210 | 213 | ||
| 211 | 214 | cret := xBusOwnNameWithClosures(BusTypeVar, NameVar, FlagsVar, BusAcquiredClosureVar, NameAcquiredClosureVar, NameLostClosureVar) | |
| 215 | + | ||
| 212 | 216 | return cret | |
| 213 | 217 | } | |
| 214 | 218 | ||
M v4/gio/gdbusnamewatching.go +4 -0
| @@ -115,6 +115,7 @@ func BusWatchName(BusTypeVar BusType, NameVar string, FlagsVar BusNameWatcherFla | |||
| 115 | 115 | } | |
| 116 | 116 | ||
| 117 | 117 | cret := xBusWatchName(BusTypeVar, NameVar, FlagsVar, NameAppearedHandlerVarRef, NameVanishedHandlerVarRef, UserDataVar, UserDataFreeFuncVarRef) | |
| 118 | + | ||
| 118 | 119 | return cret | |
| 119 | 120 | } | |
| 120 | 121 | ||
| @@ -170,6 +171,7 @@ func BusWatchNameOnConnection(ConnectionVar *DBusConnection, NameVar string, Fla | |||
| 170 | 171 | } | |
| 171 | 172 | ||
| 172 | 173 | cret := xBusWatchNameOnConnection(ConnectionVar.GoPointer(), NameVar, FlagsVar, NameAppearedHandlerVarRef, NameVanishedHandlerVarRef, UserDataVar, UserDataFreeFuncVarRef) | |
| 174 | + | ||
| 173 | 175 | return cret | |
| 174 | 176 | } | |
| 175 | 177 | ||
| @@ -180,6 +182,7 @@ var xBusWatchNameOnConnectionWithClosures func(uintptr, string, BusNameWatcherFl | |||
| 180 | 182 | func BusWatchNameOnConnectionWithClosures(ConnectionVar *DBusConnection, NameVar string, FlagsVar BusNameWatcherFlags, NameAppearedClosureVar *gobject.Closure, NameVanishedClosureVar *gobject.Closure) uint { | |
| 181 | 183 | ||
| 182 | 184 | cret := xBusWatchNameOnConnectionWithClosures(ConnectionVar.GoPointer(), NameVar, FlagsVar, NameAppearedClosureVar, NameVanishedClosureVar) | |
| 185 | + | ||
| 183 | 186 | return cret | |
| 184 | 187 | } | |
| 185 | 188 | ||
| @@ -190,6 +193,7 @@ var xBusWatchNameWithClosures func(BusType, string, BusNameWatcherFlags, *gobjec | |||
| 190 | 193 | func BusWatchNameWithClosures(BusTypeVar BusType, NameVar string, FlagsVar BusNameWatcherFlags, NameAppearedClosureVar *gobject.Closure, NameVanishedClosureVar *gobject.Closure) uint { | |
| 191 | 194 | ||
| 192 | 195 | cret := xBusWatchNameWithClosures(BusTypeVar, NameVar, FlagsVar, NameAppearedClosureVar, NameVanishedClosureVar) | |
| 196 | + | ||
| 193 | 197 | return cret | |
| 194 | 198 | } | |
| 195 | 199 | ||
M v4/gio/gdbusobject.go +2 -0
| @@ -219,6 +219,7 @@ func (x *DBusObjectBase) GetInterface(InterfaceNameVar string) *DBusInterfaceBas | |||
| 219 | 219 | func (x *DBusObjectBase) GetInterfaces() *glib.List { | |
| 220 | 220 | ||
| 221 | 221 | cret := XGDbusObjectGetInterfaces(x.GoPointer()) | |
| 222 | + | ||
| 222 | 223 | return cret | |
| 223 | 224 | } | |
| 224 | 225 | ||
| @@ -226,6 +227,7 @@ func (x *DBusObjectBase) GetInterfaces() *glib.List { | |||
| 226 | 227 | func (x *DBusObjectBase) GetObjectPath() string { | |
| 227 | 228 | ||
| 228 | 229 | cret := XGDbusObjectGetObjectPath(x.GoPointer()) | |
| 230 | + | ||
| 229 | 231 | return cret | |
| 230 | 232 | } | |
| 231 | 233 | ||
M v4/gio/gdbusobjectmanager.go +2 -0
| @@ -328,6 +328,7 @@ func (x *DBusObjectManagerBase) GetObject(ObjectPathVar string) *DBusObjectBase | |||
| 328 | 328 | func (x *DBusObjectManagerBase) GetObjectPath() string { | |
| 329 | 329 | ||
| 330 | 330 | cret := XGDbusObjectManagerGetObjectPath(x.GoPointer()) | |
| 331 | + | ||
| 331 | 332 | return cret | |
| 332 | 333 | } | |
| 333 | 334 | ||
| @@ -335,6 +336,7 @@ func (x *DBusObjectManagerBase) GetObjectPath() string { | |||
| 335 | 336 | func (x *DBusObjectManagerBase) GetObjects() *glib.List { | |
| 336 | 337 | ||
| 337 | 338 | cret := XGDbusObjectManagerGetObjects(x.GoPointer()) | |
| 339 | + | ||
| 338 | 340 | return cret | |
| 339 | 341 | } | |
| 340 | 342 | ||
M v4/gio/gdbusobjectmanagerclient.go +13 -1
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gio | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "runtime" | |
| 5 | 6 | "structs" | |
| 6 | 7 | "unsafe" | |
| 7 | 8 | ||
| @@ -320,7 +321,11 @@ func NewDBusObjectManagerClientSync(ConnectionVar *DBusConnection, FlagsVar DBus | |||
| 320 | 321 | } | |
| 321 | 322 | } | |
| 322 | 323 | ||
| 323 | - | cret := xNewDBusObjectManagerClientSync(ConnectionVar.GoPointer(), FlagsVar, core.NullableStringToPtr(NameVar), ObjectPathVar, GetProxyTypeFuncVarRef, GetProxyTypeUserDataVar, GetProxyTypeDestroyNotifyVarRef, CancellableVar.GoPointer(), &cerr) | |
| 324 | + | NameVarPtr, NameVarBytes := core.NullableStringToPtr(NameVar) | |
| 325 | + | ||
| 326 | + | cret := xNewDBusObjectManagerClientSync(ConnectionVar.GoPointer(), FlagsVar, NameVarPtr, ObjectPathVar, GetProxyTypeFuncVarRef, GetProxyTypeUserDataVar, GetProxyTypeDestroyNotifyVarRef, CancellableVar.GoPointer(), &cerr) | |
| 327 | + | ||
| 328 | + | runtime.KeepAlive(NameVarBytes) | |
| 324 | 329 | ||
| 325 | 330 | if cret == 0 { | |
| 326 | 331 | return nil, cerr | |
| @@ -357,6 +362,7 @@ var xDBusObjectManagerClientGetFlags func(uintptr) DBusObjectManagerClientFlags | |||
| 357 | 362 | func (x *DBusObjectManagerClient) GetFlags() DBusObjectManagerClientFlags { | |
| 358 | 363 | ||
| 359 | 364 | cret := xDBusObjectManagerClientGetFlags(x.GoPointer()) | |
| 365 | + | ||
| 360 | 366 | return cret | |
| 361 | 367 | } | |
| 362 | 368 | ||
| @@ -367,6 +373,7 @@ var xDBusObjectManagerClientGetName func(uintptr) string | |||
| 367 | 373 | func (x *DBusObjectManagerClient) GetName() string { | |
| 368 | 374 | ||
| 369 | 375 | cret := xDBusObjectManagerClientGetName(x.GoPointer()) | |
| 376 | + | ||
| 370 | 377 | return cret | |
| 371 | 378 | } | |
| 372 | 379 | ||
| @@ -379,6 +386,7 @@ var xDBusObjectManagerClientGetNameOwner func(uintptr) string | |||
| 379 | 386 | func (x *DBusObjectManagerClient) GetNameOwner() string { | |
| 380 | 387 | ||
| 381 | 388 | cret := xDBusObjectManagerClientGetNameOwner(x.GoPointer()) | |
| 389 | + | ||
| 382 | 390 | return cret | |
| 383 | 391 | } | |
| 384 | 392 | ||
| @@ -595,6 +603,7 @@ func (x *DBusObjectManagerClient) InitFinish(ResVar AsyncResult) (bool, error) { | |||
| 595 | 603 | var cerr *glib.Error | |
| 596 | 604 | ||
| 597 | 605 | cret := XGAsyncInitableInitFinish(x.GoPointer(), ResVar.GoPointer(), &cerr) | |
| 606 | + | ||
| 598 | 607 | if cerr == nil { | |
| 599 | 608 | return cret, nil | |
| 600 | 609 | } | |
| @@ -655,6 +664,7 @@ func (x *DBusObjectManagerClient) GetObject(ObjectPathVar string) *DBusObjectBas | |||
| 655 | 664 | func (x *DBusObjectManagerClient) GetObjectPath() string { | |
| 656 | 665 | ||
| 657 | 666 | cret := XGDbusObjectManagerGetObjectPath(x.GoPointer()) | |
| 667 | + | ||
| 658 | 668 | return cret | |
| 659 | 669 | } | |
| 660 | 670 | ||
| @@ -662,6 +672,7 @@ func (x *DBusObjectManagerClient) GetObjectPath() string { | |||
| 662 | 672 | func (x *DBusObjectManagerClient) GetObjects() *glib.List { | |
| 663 | 673 | ||
| 664 | 674 | cret := XGDbusObjectManagerGetObjects(x.GoPointer()) | |
| 675 | + | ||
| 665 | 676 | return cret | |
| 666 | 677 | } | |
| 667 | 678 | ||
| @@ -707,6 +718,7 @@ func (x *DBusObjectManagerClient) Init(CancellableVar *Cancellable) (bool, error | |||
| 707 | 718 | var cerr *glib.Error | |
| 708 | 719 | ||
| 709 | 720 | cret := XGInitableInit(x.GoPointer(), CancellableVar.GoPointer(), &cerr) | |
| 721 | + | ||
| 710 | 722 | if cerr == nil { | |
| 711 | 723 | return cret, nil | |
| 712 | 724 | } | |
M v4/gio/gdbusobjectmanagerserver.go +4 -0
| @@ -144,6 +144,7 @@ var xDBusObjectManagerServerIsExported func(uintptr, uintptr) bool | |||
| 144 | 144 | func (x *DBusObjectManagerServer) IsExported(ObjectVar *DBusObjectSkeleton) bool { | |
| 145 | 145 | ||
| 146 | 146 | cret := xDBusObjectManagerServerIsExported(x.GoPointer(), ObjectVar.GoPointer()) | |
| 147 | + | ||
| 147 | 148 | return cret | |
| 148 | 149 | } | |
| 149 | 150 | ||
| @@ -167,6 +168,7 @@ var xDBusObjectManagerServerUnexport func(uintptr, string) bool | |||
| 167 | 168 | func (x *DBusObjectManagerServer) Unexport(ObjectPathVar string) bool { | |
| 168 | 169 | ||
| 169 | 170 | cret := xDBusObjectManagerServerUnexport(x.GoPointer(), ObjectPathVar) | |
| 171 | + | ||
| 170 | 172 | return cret | |
| 171 | 173 | } | |
| 172 | 174 | ||
| @@ -231,6 +233,7 @@ func (x *DBusObjectManagerServer) GetObject(ObjectPathVar string) *DBusObjectBas | |||
| 231 | 233 | func (x *DBusObjectManagerServer) GetObjectPath() string { | |
| 232 | 234 | ||
| 233 | 235 | cret := XGDbusObjectManagerGetObjectPath(x.GoPointer()) | |
| 236 | + | ||
| 234 | 237 | return cret | |
| 235 | 238 | } | |
| 236 | 239 | ||
| @@ -238,6 +241,7 @@ func (x *DBusObjectManagerServer) GetObjectPath() string { | |||
| 238 | 241 | func (x *DBusObjectManagerServer) GetObjects() *glib.List { | |
| 239 | 242 | ||
| 240 | 243 | cret := XGDbusObjectManagerGetObjects(x.GoPointer()) | |
| 244 | + | ||
| 241 | 245 | return cret | |
| 242 | 246 | } | |
| 243 | 247 | ||
M v4/gio/gdbusobjectproxy.go +2 -0
| @@ -134,6 +134,7 @@ func (x *DBusObjectProxy) GetInterface(InterfaceNameVar string) *DBusInterfaceBa | |||
| 134 | 134 | func (x *DBusObjectProxy) GetInterfaces() *glib.List { | |
| 135 | 135 | ||
| 136 | 136 | cret := XGDbusObjectGetInterfaces(x.GoPointer()) | |
| 137 | + | ||
| 137 | 138 | return cret | |
| 138 | 139 | } | |
| 139 | 140 | ||
| @@ -141,6 +142,7 @@ func (x *DBusObjectProxy) GetInterfaces() *glib.List { | |||
| 141 | 142 | func (x *DBusObjectProxy) GetObjectPath() string { | |
| 142 | 143 | ||
| 143 | 144 | cret := XGDbusObjectGetObjectPath(x.GoPointer()) | |
| 145 | + | ||
| 144 | 146 | return cret | |
| 145 | 147 | } | |
| 146 | 148 | ||
M v4/gio/gdbusobjectskeleton.go +2 -0
| @@ -227,6 +227,7 @@ func (x *DBusObjectSkeleton) GetInterface(InterfaceNameVar string) *DBusInterfac | |||
| 227 | 227 | func (x *DBusObjectSkeleton) GetInterfaces() *glib.List { | |
| 228 | 228 | ||
| 229 | 229 | cret := XGDbusObjectGetInterfaces(x.GoPointer()) | |
| 230 | + | ||
| 230 | 231 | return cret | |
| 231 | 232 | } | |
| 232 | 233 | ||
| @@ -234,6 +235,7 @@ func (x *DBusObjectSkeleton) GetInterfaces() *glib.List { | |||
| 234 | 235 | func (x *DBusObjectSkeleton) GetObjectPath() string { | |
| 235 | 236 | ||
| 236 | 237 | cret := XGDbusObjectGetObjectPath(x.GoPointer()) | |
| 238 | + | ||
| 237 | 239 | return cret | |
| 238 | 240 | } | |
| 239 | 241 | ||
M v4/gio/gdbusproxy.go +27 -2
| @@ -3,6 +3,7 @@ package gio | |||
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | 5 | "fmt" | |
| 6 | + | "runtime" | |
| 6 | 7 | "structs" | |
| 7 | 8 | "unsafe" | |
| 8 | 9 | ||
| @@ -244,7 +245,11 @@ func NewDBusProxySync(ConnectionVar *DBusConnection, FlagsVar DBusProxyFlags, In | |||
| 244 | 245 | var cls *DBusProxy | |
| 245 | 246 | var cerr *glib.Error | |
| 246 | 247 | ||
| 247 | - | cret := xNewDBusProxySync(ConnectionVar.GoPointer(), FlagsVar, InfoVar, core.NullableStringToPtr(NameVar), ObjectPathVar, InterfaceNameVar, CancellableVar.GoPointer(), &cerr) | |
| 248 | + | NameVarPtr, NameVarBytes := core.NullableStringToPtr(NameVar) | |
| 249 | + | ||
| 250 | + | cret := xNewDBusProxySync(ConnectionVar.GoPointer(), FlagsVar, InfoVar, NameVarPtr, ObjectPathVar, InterfaceNameVar, CancellableVar.GoPointer(), &cerr) | |
| 251 | + | ||
| 252 | + | runtime.KeepAlive(NameVarBytes) | |
| 248 | 253 | ||
| 249 | 254 | if cret == 0 { | |
| 250 | 255 | return nil, cerr | |
| @@ -332,6 +337,7 @@ func (x *DBusProxy) CallFinish(ResVar AsyncResult) (*glib.Variant, error) { | |||
| 332 | 337 | var cerr *glib.Error | |
| 333 | 338 | ||
| 334 | 339 | cret := xDBusProxyCallFinish(x.GoPointer(), ResVar.GoPointer(), &cerr) | |
| 340 | + | ||
| 335 | 341 | if cerr == nil { | |
| 336 | 342 | return cret, nil | |
| 337 | 343 | } | |
| @@ -381,6 +387,7 @@ func (x *DBusProxy) CallSync(MethodNameVar string, ParametersVar *glib.Variant, | |||
| 381 | 387 | var cerr *glib.Error | |
| 382 | 388 | ||
| 383 | 389 | cret := xDBusProxyCallSync(x.GoPointer(), MethodNameVar, ParametersVar, FlagsVar, TimeoutMsecVar, CancellableVar.GoPointer(), &cerr) | |
| 390 | + | ||
| 384 | 391 | if cerr == nil { | |
| 385 | 392 | return cret, nil | |
| 386 | 393 | } | |
| @@ -421,6 +428,7 @@ func (x *DBusProxy) CallWithUnixFdListFinish(OutFdListVar **UnixFDList, ResVar A | |||
| 421 | 428 | var cerr *glib.Error | |
| 422 | 429 | ||
| 423 | 430 | cret := xDBusProxyCallWithUnixFdListFinish(x.GoPointer(), OutFdListVar, ResVar.GoPointer(), &cerr) | |
| 431 | + | ||
| 424 | 432 | if cerr == nil { | |
| 425 | 433 | return cret, nil | |
| 426 | 434 | } | |
| @@ -437,6 +445,7 @@ func (x *DBusProxy) CallWithUnixFdListSync(MethodNameVar string, ParametersVar * | |||
| 437 | 445 | var cerr *glib.Error | |
| 438 | 446 | ||
| 439 | 447 | cret := xDBusProxyCallWithUnixFdListSync(x.GoPointer(), MethodNameVar, ParametersVar, FlagsVar, TimeoutMsecVar, FdListVar.GoPointer(), OutFdListVar, CancellableVar.GoPointer(), &cerr) | |
| 448 | + | ||
| 440 | 449 | if cerr == nil { | |
| 441 | 450 | return cret, nil | |
| 442 | 451 | } | |
| @@ -455,6 +464,7 @@ var xDBusProxyGetCachedProperty func(uintptr, string) *glib.Variant | |||
| 455 | 464 | func (x *DBusProxy) GetCachedProperty(PropertyNameVar string) *glib.Variant { | |
| 456 | 465 | ||
| 457 | 466 | cret := xDBusProxyGetCachedProperty(x.GoPointer(), PropertyNameVar) | |
| 467 | + | ||
| 458 | 468 | return cret | |
| 459 | 469 | } | |
| 460 | 470 | ||
| @@ -464,6 +474,7 @@ var xDBusProxyGetCachedPropertyNames func(uintptr) []string | |||
| 464 | 474 | func (x *DBusProxy) GetCachedPropertyNames() []string { | |
| 465 | 475 | ||
| 466 | 476 | cret := xDBusProxyGetCachedPropertyNames(x.GoPointer()) | |
| 477 | + | ||
| 467 | 478 | return cret | |
| 468 | 479 | } | |
| 469 | 480 | ||
| @@ -494,6 +505,7 @@ var xDBusProxyGetDefaultTimeout func(uintptr) int | |||
| 494 | 505 | func (x *DBusProxy) GetDefaultTimeout() int { | |
| 495 | 506 | ||
| 496 | 507 | cret := xDBusProxyGetDefaultTimeout(x.GoPointer()) | |
| 508 | + | ||
| 497 | 509 | return cret | |
| 498 | 510 | } | |
| 499 | 511 | ||
| @@ -503,6 +515,7 @@ var xDBusProxyGetFlags func(uintptr) DBusProxyFlags | |||
| 503 | 515 | func (x *DBusProxy) GetFlags() DBusProxyFlags { | |
| 504 | 516 | ||
| 505 | 517 | cret := xDBusProxyGetFlags(x.GoPointer()) | |
| 518 | + | ||
| 506 | 519 | return cret | |
| 507 | 520 | } | |
| 508 | 521 | ||
| @@ -514,6 +527,7 @@ var xDBusProxyGetInterfaceInfo func(uintptr) *DBusInterfaceInfo | |||
| 514 | 527 | func (x *DBusProxy) GetInterfaceInfo() *DBusInterfaceInfo { | |
| 515 | 528 | ||
| 516 | 529 | cret := xDBusProxyGetInterfaceInfo(x.GoPointer()) | |
| 530 | + | ||
| 517 | 531 | return cret | |
| 518 | 532 | } | |
| 519 | 533 | ||
| @@ -523,6 +537,7 @@ var xDBusProxyGetInterfaceName func(uintptr) string | |||
| 523 | 537 | func (x *DBusProxy) GetInterfaceName() string { | |
| 524 | 538 | ||
| 525 | 539 | cret := xDBusProxyGetInterfaceName(x.GoPointer()) | |
| 540 | + | ||
| 526 | 541 | return cret | |
| 527 | 542 | } | |
| 528 | 543 | ||
| @@ -536,6 +551,7 @@ var xDBusProxyGetName func(uintptr) string | |||
| 536 | 551 | func (x *DBusProxy) GetName() string { | |
| 537 | 552 | ||
| 538 | 553 | cret := xDBusProxyGetName(x.GoPointer()) | |
| 554 | + | ||
| 539 | 555 | return cret | |
| 540 | 556 | } | |
| 541 | 557 | ||
| @@ -548,6 +564,7 @@ var xDBusProxyGetNameOwner func(uintptr) string | |||
| 548 | 564 | func (x *DBusProxy) GetNameOwner() string { | |
| 549 | 565 | ||
| 550 | 566 | cret := xDBusProxyGetNameOwner(x.GoPointer()) | |
| 567 | + | ||
| 551 | 568 | return cret | |
| 552 | 569 | } | |
| 553 | 570 | ||
| @@ -557,6 +574,7 @@ var xDBusProxyGetObjectPath func(uintptr) string | |||
| 557 | 574 | func (x *DBusProxy) GetObjectPath() string { | |
| 558 | 575 | ||
| 559 | 576 | cret := xDBusProxyGetObjectPath(x.GoPointer()) | |
| 577 | + | ||
| 560 | 578 | return cret | |
| 561 | 579 | } | |
| 562 | 580 | ||
| @@ -920,6 +938,7 @@ func (x *DBusProxy) InitFinish(ResVar AsyncResult) (bool, error) { | |||
| 920 | 938 | var cerr *glib.Error | |
| 921 | 939 | ||
| 922 | 940 | cret := XGAsyncInitableInitFinish(x.GoPointer(), ResVar.GoPointer(), &cerr) | |
| 941 | + | ||
| 923 | 942 | if cerr == nil { | |
| 924 | 943 | return cret, nil | |
| 925 | 944 | } | |
| @@ -966,6 +985,7 @@ func (x *DBusProxy) DupObject() *DBusObjectBase { | |||
| 966 | 985 | func (x *DBusProxy) GetInfo() *DBusInterfaceInfo { | |
| 967 | 986 | ||
| 968 | 987 | cret := XGDbusInterfaceGetInfo(x.GoPointer()) | |
| 988 | + | ||
| 969 | 989 | return cret | |
| 970 | 990 | } | |
| 971 | 991 | ||
| @@ -1039,6 +1059,7 @@ func (x *DBusProxy) Init(CancellableVar *Cancellable) (bool, error) { | |||
| 1039 | 1059 | var cerr *glib.Error | |
| 1040 | 1060 | ||
| 1041 | 1061 | cret := XGInitableInit(x.GoPointer(), CancellableVar.GoPointer(), &cerr) | |
| 1062 | + | ||
| 1042 | 1063 | if cerr == nil { | |
| 1043 | 1064 | return cret, nil | |
| 1044 | 1065 | } | |
| @@ -1092,7 +1113,11 @@ func DBusProxyNew(ConnectionVar *DBusConnection, FlagsVar DBusProxyFlags, InfoVa | |||
| 1092 | 1113 | } | |
| 1093 | 1114 | } | |
| 1094 | 1115 | ||
| 1095 | - | xDBusProxyNew(ConnectionVar.GoPointer(), FlagsVar, InfoVar, core.NullableStringToPtr(NameVar), ObjectPathVar, InterfaceNameVar, CancellableVar.GoPointer(), CallbackVarRef, UserDataVar) | |
| 1116 | + | NameVarPtr, NameVarBytes := core.NullableStringToPtr(NameVar) | |
| 1117 | + | ||
| 1118 | + | xDBusProxyNew(ConnectionVar.GoPointer(), FlagsVar, InfoVar, NameVarPtr, ObjectPathVar, InterfaceNameVar, CancellableVar.GoPointer(), CallbackVarRef, UserDataVar) | |
| 1119 | + | ||
| 1120 | + | runtime.KeepAlive(NameVarBytes) | |
| 1096 | 1121 | ||
| 1097 | 1122 | } | |
| 1098 | 1123 | ||
M v4/gio/gdbusserver.go +5 -0
| @@ -97,6 +97,7 @@ var xDBusServerGetClientAddress func(uintptr) string | |||
| 97 | 97 | func (x *DBusServer) GetClientAddress() string { | |
| 98 | 98 | ||
| 99 | 99 | cret := xDBusServerGetClientAddress(x.GoPointer()) | |
| 100 | + | ||
| 100 | 101 | return cret | |
| 101 | 102 | } | |
| 102 | 103 | ||
| @@ -106,6 +107,7 @@ var xDBusServerGetFlags func(uintptr) DBusServerFlags | |||
| 106 | 107 | func (x *DBusServer) GetFlags() DBusServerFlags { | |
| 107 | 108 | ||
| 108 | 109 | cret := xDBusServerGetFlags(x.GoPointer()) | |
| 110 | + | ||
| 109 | 111 | return cret | |
| 110 | 112 | } | |
| 111 | 113 | ||
| @@ -115,6 +117,7 @@ var xDBusServerGetGuid func(uintptr) string | |||
| 115 | 117 | func (x *DBusServer) GetGuid() string { | |
| 116 | 118 | ||
| 117 | 119 | cret := xDBusServerGetGuid(x.GoPointer()) | |
| 120 | + | ||
| 118 | 121 | return cret | |
| 119 | 122 | } | |
| 120 | 123 | ||
| @@ -124,6 +127,7 @@ var xDBusServerIsActive func(uintptr) bool | |||
| 124 | 127 | func (x *DBusServer) IsActive() bool { | |
| 125 | 128 | ||
| 126 | 129 | cret := xDBusServerIsActive(x.GoPointer()) | |
| 130 | + | ||
| 127 | 131 | return cret | |
| 128 | 132 | } | |
| 129 | 133 | ||
| @@ -292,6 +296,7 @@ func (x *DBusServer) Init(CancellableVar *Cancellable) (bool, error) { | |||
| 292 | 296 | var cerr *glib.Error | |
| 293 | 297 | ||
| 294 | 298 | cret := XGInitableInit(x.GoPointer(), CancellableVar.GoPointer(), &cerr) | |
| 299 | + | ||
| 295 | 300 | if cerr == nil { | |
| 296 | 301 | return cret, nil | |
| 297 | 302 | } | |
M v4/gio/gdbusutils.go +11 -0
| @@ -14,6 +14,7 @@ var xDbusEscapeObjectPath func(string) string | |||
| 14 | 14 | func DbusEscapeObjectPath(SVar string) string { | |
| 15 | 15 | ||
| 16 | 16 | cret := xDbusEscapeObjectPath(SVar) | |
| 17 | + | ||
| 17 | 18 | return cret | |
| 18 | 19 | } | |
| 19 | 20 | ||
| @@ -38,6 +39,7 @@ var xDbusEscapeObjectPathBytestring func([]byte) string | |||
| 38 | 39 | func DbusEscapeObjectPathBytestring(BytesVar []byte) string { | |
| 39 | 40 | ||
| 40 | 41 | cret := xDbusEscapeObjectPathBytestring(BytesVar) | |
| 42 | + | ||
| 41 | 43 | return cret | |
| 42 | 44 | } | |
| 43 | 45 | ||
| @@ -57,6 +59,7 @@ var xDbusGenerateGuid func() string | |||
| 57 | 59 | func DbusGenerateGuid() string { | |
| 58 | 60 | ||
| 59 | 61 | cret := xDbusGenerateGuid() | |
| 62 | + | ||
| 60 | 63 | return cret | |
| 61 | 64 | } | |
| 62 | 65 | ||
| @@ -93,6 +96,7 @@ var xDbusGvalueToGvariant func(*gobject.Value, *glib.VariantType) *glib.Variant | |||
| 93 | 96 | func DbusGvalueToGvariant(GvalueVar *gobject.Value, TypeVar *glib.VariantType) *glib.Variant { | |
| 94 | 97 | ||
| 95 | 98 | cret := xDbusGvalueToGvariant(GvalueVar, TypeVar) | |
| 99 | + | ||
| 96 | 100 | return cret | |
| 97 | 101 | } | |
| 98 | 102 | ||
| @@ -125,6 +129,7 @@ var xDbusIsErrorName func(string) bool | |||
| 125 | 129 | func DbusIsErrorName(StringVar string) bool { | |
| 126 | 130 | ||
| 127 | 131 | cret := xDbusIsErrorName(StringVar) | |
| 132 | + | ||
| 128 | 133 | return cret | |
| 129 | 134 | } | |
| 130 | 135 | ||
| @@ -137,6 +142,7 @@ var xDbusIsGuid func(string) bool | |||
| 137 | 142 | func DbusIsGuid(StringVar string) bool { | |
| 138 | 143 | ||
| 139 | 144 | cret := xDbusIsGuid(StringVar) | |
| 145 | + | ||
| 140 | 146 | return cret | |
| 141 | 147 | } | |
| 142 | 148 | ||
| @@ -146,6 +152,7 @@ var xDbusIsInterfaceName func(string) bool | |||
| 146 | 152 | func DbusIsInterfaceName(StringVar string) bool { | |
| 147 | 153 | ||
| 148 | 154 | cret := xDbusIsInterfaceName(StringVar) | |
| 155 | + | ||
| 149 | 156 | return cret | |
| 150 | 157 | } | |
| 151 | 158 | ||
| @@ -155,6 +162,7 @@ var xDbusIsMemberName func(string) bool | |||
| 155 | 162 | func DbusIsMemberName(StringVar string) bool { | |
| 156 | 163 | ||
| 157 | 164 | cret := xDbusIsMemberName(StringVar) | |
| 165 | + | ||
| 158 | 166 | return cret | |
| 159 | 167 | } | |
| 160 | 168 | ||
| @@ -164,6 +172,7 @@ var xDbusIsName func(string) bool | |||
| 164 | 172 | func DbusIsName(StringVar string) bool { | |
| 165 | 173 | ||
| 166 | 174 | cret := xDbusIsName(StringVar) | |
| 175 | + | ||
| 167 | 176 | return cret | |
| 168 | 177 | } | |
| 169 | 178 | ||
| @@ -173,6 +182,7 @@ var xDbusIsUniqueName func(string) bool | |||
| 173 | 182 | func DbusIsUniqueName(StringVar string) bool { | |
| 174 | 183 | ||
| 175 | 184 | cret := xDbusIsUniqueName(StringVar) | |
| 185 | + | ||
| 176 | 186 | return cret | |
| 177 | 187 | } | |
| 178 | 188 | ||
| @@ -189,6 +199,7 @@ var xDbusUnescapeObjectPath func(string) uintptr | |||
| 189 | 199 | func DbusUnescapeObjectPath(SVar string) uintptr { | |
| 190 | 200 | ||
| 191 | 201 | cret := xDbusUnescapeObjectPath(SVar) | |
| 202 | + | ||
| 192 | 203 | return cret | |
| 193 | 204 | } | |
| 194 | 205 | ||
M v4/gio/gdebugcontroller.go +1 -0
| @@ -70,6 +70,7 @@ func (x *DebugControllerBase) SetGoPointer(ptr uintptr) { | |||
| 70 | 70 | func (x *DebugControllerBase) GetDebugEnabled() bool { | |
| 71 | 71 | ||
| 72 | 72 | cret := XGDebugControllerGetDebugEnabled(x.GoPointer()) | |
| 73 | + | ||
| 73 | 74 | return cret | |
| 74 | 75 | } | |
| 75 | 76 | ||
M v4/gio/gdebugcontrollerdbus.go +2 -0
| @@ -286,6 +286,7 @@ func (x *DebugControllerDBus) ConnectAuthorize(cb *func(DebugControllerDBus, uin | |||
| 286 | 286 | func (x *DebugControllerDBus) GetDebugEnabled() bool { | |
| 287 | 287 | ||
| 288 | 288 | cret := XGDebugControllerGetDebugEnabled(x.GoPointer()) | |
| 289 | + | ||
| 289 | 290 | return cret | |
| 290 | 291 | } | |
| 291 | 292 | ||
| @@ -338,6 +339,7 @@ func (x *DebugControllerDBus) Init(CancellableVar *Cancellable) (bool, error) { | |||
| 338 | 339 | var cerr *glib.Error | |
| 339 | 340 | ||
| 340 | 341 | cret := XGInitableInit(x.GoPointer(), CancellableVar.GoPointer(), &cerr) | |
| 342 | + | ||
| 341 | 343 | if cerr == nil { | |
| 342 | 344 | return cret, nil | |
| 343 | 345 | } | |
M v4/gio/gdrive.go +21 -0
| @@ -998,6 +998,7 @@ func (x *DriveBase) SetGoPointer(ptr uintptr) { | |||
| 998 | 998 | func (x *DriveBase) CanEject() bool { | |
| 999 | 999 | ||
| 1000 | 1000 | cret := XGDriveCanEject(x.GoPointer()) | |
| 1001 | + | ||
| 1001 | 1002 | return cret | |
| 1002 | 1003 | } | |
| 1003 | 1004 | ||
| @@ -1005,6 +1006,7 @@ func (x *DriveBase) CanEject() bool { | |||
| 1005 | 1006 | func (x *DriveBase) CanPollForMedia() bool { | |
| 1006 | 1007 | ||
| 1007 | 1008 | cret := XGDriveCanPollForMedia(x.GoPointer()) | |
| 1009 | + | ||
| 1008 | 1010 | return cret | |
| 1009 | 1011 | } | |
| 1010 | 1012 | ||
| @@ -1012,6 +1014,7 @@ func (x *DriveBase) CanPollForMedia() bool { | |||
| 1012 | 1014 | func (x *DriveBase) CanStart() bool { | |
| 1013 | 1015 | ||
| 1014 | 1016 | cret := XGDriveCanStart(x.GoPointer()) | |
| 1017 | + | ||
| 1015 | 1018 | return cret | |
| 1016 | 1019 | } | |
| 1017 | 1020 | ||
| @@ -1019,6 +1022,7 @@ func (x *DriveBase) CanStart() bool { | |||
| 1019 | 1022 | func (x *DriveBase) CanStartDegraded() bool { | |
| 1020 | 1023 | ||
| 1021 | 1024 | cret := XGDriveCanStartDegraded(x.GoPointer()) | |
| 1025 | + | ||
| 1022 | 1026 | return cret | |
| 1023 | 1027 | } | |
| 1024 | 1028 | ||
| @@ -1026,6 +1030,7 @@ func (x *DriveBase) CanStartDegraded() bool { | |||
| 1026 | 1030 | func (x *DriveBase) CanStop() bool { | |
| 1027 | 1031 | ||
| 1028 | 1032 | cret := XGDriveCanStop(x.GoPointer()) | |
| 1033 | + | ||
| 1029 | 1034 | return cret | |
| 1030 | 1035 | } | |
| 1031 | 1036 | ||
| @@ -1045,6 +1050,7 @@ func (x *DriveBase) EjectFinish(ResultVar AsyncResult) (bool, error) { | |||
| 1045 | 1050 | var cerr *glib.Error | |
| 1046 | 1051 | ||
| 1047 | 1052 | cret := XGDriveEjectFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr) | |
| 1053 | + | ||
| 1048 | 1054 | if cerr == nil { | |
| 1049 | 1055 | return cret, nil | |
| 1050 | 1056 | } | |
| @@ -1067,6 +1073,7 @@ func (x *DriveBase) EjectWithOperationFinish(ResultVar AsyncResult) (bool, error | |||
| 1067 | 1073 | var cerr *glib.Error | |
| 1068 | 1074 | ||
| 1069 | 1075 | cret := XGDriveEjectWithOperationFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr) | |
| 1076 | + | ||
| 1070 | 1077 | if cerr == nil { | |
| 1071 | 1078 | return cret, nil | |
| 1072 | 1079 | } | |
| @@ -1080,6 +1087,7 @@ func (x *DriveBase) EjectWithOperationFinish(ResultVar AsyncResult) (bool, error | |||
| 1080 | 1087 | func (x *DriveBase) EnumerateIdentifiers() []string { | |
| 1081 | 1088 | ||
| 1082 | 1089 | cret := XGDriveEnumerateIdentifiers(x.GoPointer()) | |
| 1090 | + | ||
| 1083 | 1091 | return cret | |
| 1084 | 1092 | } | |
| 1085 | 1093 | ||
| @@ -1103,6 +1111,7 @@ func (x *DriveBase) GetIcon() *IconBase { | |||
| 1103 | 1111 | func (x *DriveBase) GetIdentifier(KindVar string) string { | |
| 1104 | 1112 | ||
| 1105 | 1113 | cret := XGDriveGetIdentifier(x.GoPointer(), KindVar) | |
| 1114 | + | ||
| 1106 | 1115 | return cret | |
| 1107 | 1116 | } | |
| 1108 | 1117 | ||
| @@ -1110,6 +1119,7 @@ func (x *DriveBase) GetIdentifier(KindVar string) string { | |||
| 1110 | 1119 | func (x *DriveBase) GetName() string { | |
| 1111 | 1120 | ||
| 1112 | 1121 | cret := XGDriveGetName(x.GoPointer()) | |
| 1122 | + | ||
| 1113 | 1123 | return cret | |
| 1114 | 1124 | } | |
| 1115 | 1125 | ||
| @@ -1117,6 +1127,7 @@ func (x *DriveBase) GetName() string { | |||
| 1117 | 1127 | func (x *DriveBase) GetSortKey() string { | |
| 1118 | 1128 | ||
| 1119 | 1129 | cret := XGDriveGetSortKey(x.GoPointer()) | |
| 1130 | + | ||
| 1120 | 1131 | return cret | |
| 1121 | 1132 | } | |
| 1122 | 1133 | ||
| @@ -1124,6 +1135,7 @@ func (x *DriveBase) GetSortKey() string { | |||
| 1124 | 1135 | func (x *DriveBase) GetStartStopType() DriveStartStopType { | |
| 1125 | 1136 | ||
| 1126 | 1137 | cret := XGDriveGetStartStopType(x.GoPointer()) | |
| 1138 | + | ||
| 1127 | 1139 | return cret | |
| 1128 | 1140 | } | |
| 1129 | 1141 | ||
| @@ -1148,6 +1160,7 @@ func (x *DriveBase) GetSymbolicIcon() *IconBase { | |||
| 1148 | 1160 | func (x *DriveBase) GetVolumes() *glib.List { | |
| 1149 | 1161 | ||
| 1150 | 1162 | cret := XGDriveGetVolumes(x.GoPointer()) | |
| 1163 | + | ||
| 1151 | 1164 | return cret | |
| 1152 | 1165 | } | |
| 1153 | 1166 | ||
| @@ -1157,6 +1170,7 @@ func (x *DriveBase) GetVolumes() *glib.List { | |||
| 1157 | 1170 | func (x *DriveBase) HasMedia() bool { | |
| 1158 | 1171 | ||
| 1159 | 1172 | cret := XGDriveHasMedia(x.GoPointer()) | |
| 1173 | + | ||
| 1160 | 1174 | return cret | |
| 1161 | 1175 | } | |
| 1162 | 1176 | ||
| @@ -1164,6 +1178,7 @@ func (x *DriveBase) HasMedia() bool { | |||
| 1164 | 1178 | func (x *DriveBase) HasVolumes() bool { | |
| 1165 | 1179 | ||
| 1166 | 1180 | cret := XGDriveHasVolumes(x.GoPointer()) | |
| 1181 | + | ||
| 1167 | 1182 | return cret | |
| 1168 | 1183 | } | |
| 1169 | 1184 | ||
| @@ -1171,6 +1186,7 @@ func (x *DriveBase) HasVolumes() bool { | |||
| 1171 | 1186 | func (x *DriveBase) IsMediaCheckAutomatic() bool { | |
| 1172 | 1187 | ||
| 1173 | 1188 | cret := XGDriveIsMediaCheckAutomatic(x.GoPointer()) | |
| 1189 | + | ||
| 1174 | 1190 | return cret | |
| 1175 | 1191 | } | |
| 1176 | 1192 | ||
| @@ -1178,6 +1194,7 @@ func (x *DriveBase) IsMediaCheckAutomatic() bool { | |||
| 1178 | 1194 | func (x *DriveBase) IsMediaRemovable() bool { | |
| 1179 | 1195 | ||
| 1180 | 1196 | cret := XGDriveIsMediaRemovable(x.GoPointer()) | |
| 1197 | + | ||
| 1181 | 1198 | return cret | |
| 1182 | 1199 | } | |
| 1183 | 1200 | ||
| @@ -1186,6 +1203,7 @@ func (x *DriveBase) IsMediaRemovable() bool { | |||
| 1186 | 1203 | func (x *DriveBase) IsRemovable() bool { | |
| 1187 | 1204 | ||
| 1188 | 1205 | cret := XGDriveIsRemovable(x.GoPointer()) | |
| 1206 | + | ||
| 1189 | 1207 | return cret | |
| 1190 | 1208 | } | |
| 1191 | 1209 | ||
| @@ -1205,6 +1223,7 @@ func (x *DriveBase) PollForMediaFinish(ResultVar AsyncResult) (bool, error) { | |||
| 1205 | 1223 | var cerr *glib.Error | |
| 1206 | 1224 | ||
| 1207 | 1225 | cret := XGDrivePollForMediaFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr) | |
| 1226 | + | ||
| 1208 | 1227 | if cerr == nil { | |
| 1209 | 1228 | return cret, nil | |
| 1210 | 1229 | } | |
| @@ -1228,6 +1247,7 @@ func (x *DriveBase) StartFinish(ResultVar AsyncResult) (bool, error) { | |||
| 1228 | 1247 | var cerr *glib.Error | |
| 1229 | 1248 | ||
| 1230 | 1249 | cret := XGDriveStartFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr) | |
| 1250 | + | ||
| 1231 | 1251 | if cerr == nil { | |
| 1232 | 1252 | return cret, nil | |
| 1233 | 1253 | } | |
| @@ -1251,6 +1271,7 @@ func (x *DriveBase) StopFinish(ResultVar AsyncResult) (bool, error) { | |||
| 1251 | 1271 | var cerr *glib.Error | |
| 1252 | 1272 | ||
| 1253 | 1273 | cret := XGDriveStopFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr) | |
| 1274 | + | ||
| 1254 | 1275 | if cerr == nil { | |
| 1255 | 1276 | return cret, nil | |
| 1256 | 1277 | } | |
M v4/gio/gdtlsclientconnection.go +2 -0
| @@ -66,6 +66,7 @@ func (x *DtlsClientConnectionBase) SetGoPointer(ptr uintptr) { | |||
| 66 | 66 | func (x *DtlsClientConnectionBase) GetAcceptedCas() *glib.List { | |
| 67 | 67 | ||
| 68 | 68 | cret := XGDtlsClientConnectionGetAcceptedCas(x.GoPointer()) | |
| 69 | + | ||
| 69 | 70 | return cret | |
| 70 | 71 | } | |
| 71 | 72 | ||
| @@ -92,6 +93,7 @@ func (x *DtlsClientConnectionBase) GetServerIdentity() *SocketConnectableBase { | |||
| 92 | 93 | func (x *DtlsClientConnectionBase) GetValidationFlags() TlsCertificateFlags { | |
| 93 | 94 | ||
| 94 | 95 | cret := XGDtlsClientConnectionGetValidationFlags(x.GoPointer()) | |
| 96 | + | ||
| 95 | 97 | return cret | |
| 96 | 98 | } | |
| 97 | 99 | ||
M v4/gio/gdtlsconnection.go +14 -0
| @@ -390,6 +390,7 @@ func (x *DtlsConnectionBase) Close(CancellableVar *Cancellable) (bool, error) { | |||
| 390 | 390 | var cerr *glib.Error | |
| 391 | 391 | ||
| 392 | 392 | cret := XGDtlsConnectionClose(x.GoPointer(), CancellableVar.GoPointer(), &cerr) | |
| 393 | + | ||
| 393 | 394 | if cerr == nil { | |
| 394 | 395 | return cret, nil | |
| 395 | 396 | } | |
| @@ -411,6 +412,7 @@ func (x *DtlsConnectionBase) CloseFinish(ResultVar AsyncResult) (bool, error) { | |||
| 411 | 412 | var cerr *glib.Error | |
| 412 | 413 | ||
| 413 | 414 | cret := XGDtlsConnectionCloseFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr) | |
| 415 | + | ||
| 414 | 416 | if cerr == nil { | |
| 415 | 417 | return cret, nil | |
| 416 | 418 | } | |
| @@ -423,6 +425,7 @@ func (x *DtlsConnectionBase) CloseFinish(ResultVar AsyncResult) (bool, error) { | |||
| 423 | 425 | func (x *DtlsConnectionBase) EmitAcceptCertificate(PeerCertVar *TlsCertificate, ErrorsVar TlsCertificateFlags) bool { | |
| 424 | 426 | ||
| 425 | 427 | cret := XGDtlsConnectionEmitAcceptCertificate(x.GoPointer(), PeerCertVar.GoPointer(), ErrorsVar) | |
| 428 | + | ||
| 426 | 429 | return cret | |
| 427 | 430 | } | |
| 428 | 431 | ||
| @@ -459,6 +462,7 @@ func (x *DtlsConnectionBase) GetChannelBindingData(TypeVar TlsChannelBindingType | |||
| 459 | 462 | var cerr *glib.Error | |
| 460 | 463 | ||
| 461 | 464 | cret := XGDtlsConnectionGetChannelBindingData(x.GoPointer(), TypeVar, DataVar, &cerr) | |
| 465 | + | ||
| 462 | 466 | if cerr == nil { | |
| 463 | 467 | return cret, nil | |
| 464 | 468 | } | |
| @@ -477,6 +481,7 @@ func (x *DtlsConnectionBase) GetChannelBindingData(TypeVar TlsChannelBindingType | |||
| 477 | 481 | func (x *DtlsConnectionBase) GetCiphersuiteName() string { | |
| 478 | 482 | ||
| 479 | 483 | cret := XGDtlsConnectionGetCiphersuiteName(x.GoPointer()) | |
| 484 | + | ||
| 480 | 485 | return cret | |
| 481 | 486 | } | |
| 482 | 487 | ||
| @@ -523,6 +528,7 @@ func (x *DtlsConnectionBase) GetInteraction() *TlsInteraction { | |||
| 523 | 528 | func (x *DtlsConnectionBase) GetNegotiatedProtocol() string { | |
| 524 | 529 | ||
| 525 | 530 | cret := XGDtlsConnectionGetNegotiatedProtocol(x.GoPointer()) | |
| 531 | + | ||
| 526 | 532 | return cret | |
| 527 | 533 | } | |
| 528 | 534 | ||
| @@ -549,6 +555,7 @@ func (x *DtlsConnectionBase) GetPeerCertificate() *TlsCertificate { | |||
| 549 | 555 | func (x *DtlsConnectionBase) GetPeerCertificateErrors() TlsCertificateFlags { | |
| 550 | 556 | ||
| 551 | 557 | cret := XGDtlsConnectionGetPeerCertificateErrors(x.GoPointer()) | |
| 558 | + | ||
| 552 | 559 | return cret | |
| 553 | 560 | } | |
| 554 | 561 | ||
| @@ -559,6 +566,7 @@ func (x *DtlsConnectionBase) GetPeerCertificateErrors() TlsCertificateFlags { | |||
| 559 | 566 | func (x *DtlsConnectionBase) GetProtocolVersion() TlsProtocolVersion { | |
| 560 | 567 | ||
| 561 | 568 | cret := XGDtlsConnectionGetProtocolVersion(x.GoPointer()) | |
| 569 | + | ||
| 562 | 570 | return cret | |
| 563 | 571 | } | |
| 564 | 572 | ||
| @@ -567,6 +575,7 @@ func (x *DtlsConnectionBase) GetProtocolVersion() TlsProtocolVersion { | |||
| 567 | 575 | func (x *DtlsConnectionBase) GetRehandshakeMode() TlsRehandshakeMode { | |
| 568 | 576 | ||
| 569 | 577 | cret := XGDtlsConnectionGetRehandshakeMode(x.GoPointer()) | |
| 578 | + | ||
| 570 | 579 | return cret | |
| 571 | 580 | } | |
| 572 | 581 | ||
| @@ -576,6 +585,7 @@ func (x *DtlsConnectionBase) GetRehandshakeMode() TlsRehandshakeMode { | |||
| 576 | 585 | func (x *DtlsConnectionBase) GetRequireCloseNotify() bool { | |
| 577 | 586 | ||
| 578 | 587 | cret := XGDtlsConnectionGetRequireCloseNotify(x.GoPointer()) | |
| 588 | + | ||
| 579 | 589 | return cret | |
| 580 | 590 | } | |
| 581 | 591 | ||
| @@ -609,6 +619,7 @@ func (x *DtlsConnectionBase) Handshake(CancellableVar *Cancellable) (bool, error | |||
| 609 | 619 | var cerr *glib.Error | |
| 610 | 620 | ||
| 611 | 621 | cret := XGDtlsConnectionHandshake(x.GoPointer(), CancellableVar.GoPointer(), &cerr) | |
| 622 | + | ||
| 612 | 623 | if cerr == nil { | |
| 613 | 624 | return cret, nil | |
| 614 | 625 | } | |
| @@ -630,6 +641,7 @@ func (x *DtlsConnectionBase) HandshakeFinish(ResultVar AsyncResult) (bool, error | |||
| 630 | 641 | var cerr *glib.Error | |
| 631 | 642 | ||
| 632 | 643 | cret := XGDtlsConnectionHandshakeFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr) | |
| 644 | + | ||
| 633 | 645 | if cerr == nil { | |
| 634 | 646 | return cret, nil | |
| 635 | 647 | } | |
| @@ -767,6 +779,7 @@ func (x *DtlsConnectionBase) Shutdown(ShutdownReadVar bool, ShutdownWriteVar boo | |||
| 767 | 779 | var cerr *glib.Error | |
| 768 | 780 | ||
| 769 | 781 | cret := XGDtlsConnectionShutdown(x.GoPointer(), ShutdownReadVar, ShutdownWriteVar, CancellableVar.GoPointer(), &cerr) | |
| 782 | + | ||
| 770 | 783 | if cerr == nil { | |
| 771 | 784 | return cret, nil | |
| 772 | 785 | } | |
| @@ -788,6 +801,7 @@ func (x *DtlsConnectionBase) ShutdownFinish(ResultVar AsyncResult) (bool, error) | |||
| 788 | 801 | var cerr *glib.Error | |
| 789 | 802 | ||
| 790 | 803 | cret := XGDtlsConnectionShutdownFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr) | |
| 804 | + | ||
| 791 | 805 | if cerr == nil { | |
| 792 | 806 | return cret, nil | |
| 793 | 807 | } | |
M v4/gio/gemblem.go +5 -0
| @@ -97,6 +97,7 @@ var xEmblemGetOrigin func(uintptr) EmblemOrigin | |||
| 97 | 97 | func (x *Emblem) GetOrigin() EmblemOrigin { | |
| 98 | 98 | ||
| 99 | 99 | cret := xEmblemGetOrigin(x.GoPointer()) | |
| 100 | + | ||
| 100 | 101 | return cret | |
| 101 | 102 | } | |
| 102 | 103 | ||
| @@ -115,6 +116,7 @@ func (c *Emblem) SetGoPointer(ptr uintptr) { | |||
| 115 | 116 | func (x *Emblem) Equal(Icon2Var Icon) bool { | |
| 116 | 117 | ||
| 117 | 118 | cret := XGIconEqual(x.GoPointer(), Icon2Var.GoPointer()) | |
| 119 | + | ||
| 118 | 120 | return cret | |
| 119 | 121 | } | |
| 120 | 122 | ||
| @@ -122,6 +124,7 @@ func (x *Emblem) Equal(Icon2Var Icon) bool { | |||
| 122 | 124 | func (x *Emblem) Hash() uint { | |
| 123 | 125 | ||
| 124 | 126 | cret := XGIconHash(x.GoPointer()) | |
| 127 | + | ||
| 125 | 128 | return cret | |
| 126 | 129 | } | |
| 127 | 130 | ||
| @@ -133,6 +136,7 @@ func (x *Emblem) Hash() uint { | |||
| 133 | 136 | func (x *Emblem) Serialize() *glib.Variant { | |
| 134 | 137 | ||
| 135 | 138 | cret := XGIconSerialize(x.GoPointer()) | |
| 139 | + | ||
| 136 | 140 | return cret | |
| 137 | 141 | } | |
| 138 | 142 | ||
| @@ -155,6 +159,7 @@ func (x *Emblem) Serialize() *glib.Variant { | |||
| 155 | 159 | func (x *Emblem) ToString() string { | |
| 156 | 160 | ||
| 157 | 161 | cret := XGIconToString(x.GoPointer()) | |
| 162 | + | ||
| 158 | 163 | return cret | |
| 159 | 164 | } | |
| 160 | 165 | ||
M v4/gio/gemblemedicon.go +5 -0
| @@ -92,6 +92,7 @@ var xEmblemedIconGetEmblems func(uintptr) *glib.List | |||
| 92 | 92 | func (x *EmblemedIcon) GetEmblems() *glib.List { | |
| 93 | 93 | ||
| 94 | 94 | cret := xEmblemedIconGetEmblems(x.GoPointer()) | |
| 95 | + | ||
| 95 | 96 | return cret | |
| 96 | 97 | } | |
| 97 | 98 | ||
| @@ -127,6 +128,7 @@ func (c *EmblemedIcon) SetGoPointer(ptr uintptr) { | |||
| 127 | 128 | func (x *EmblemedIcon) Equal(Icon2Var Icon) bool { | |
| 128 | 129 | ||
| 129 | 130 | cret := XGIconEqual(x.GoPointer(), Icon2Var.GoPointer()) | |
| 131 | + | ||
| 130 | 132 | return cret | |
| 131 | 133 | } | |
| 132 | 134 | ||
| @@ -134,6 +136,7 @@ func (x *EmblemedIcon) Equal(Icon2Var Icon) bool { | |||
| 134 | 136 | func (x *EmblemedIcon) Hash() uint { | |
| 135 | 137 | ||
| 136 | 138 | cret := XGIconHash(x.GoPointer()) | |
| 139 | + | ||
| 137 | 140 | return cret | |
| 138 | 141 | } | |
| 139 | 142 | ||
| @@ -145,6 +148,7 @@ func (x *EmblemedIcon) Hash() uint { | |||
| 145 | 148 | func (x *EmblemedIcon) Serialize() *glib.Variant { | |
| 146 | 149 | ||
| 147 | 150 | cret := XGIconSerialize(x.GoPointer()) | |
| 151 | + | ||
| 148 | 152 | return cret | |
| 149 | 153 | } | |
| 150 | 154 | ||
| @@ -167,6 +171,7 @@ func (x *EmblemedIcon) Serialize() *glib.Variant { | |||
| 167 | 171 | func (x *EmblemedIcon) ToString() string { | |
| 168 | 172 | ||
| 169 | 173 | cret := XGIconToString(x.GoPointer()) | |
| 174 | + | ||
| 170 | 175 | return cret | |
| 171 | 176 | } | |
| 172 | 177 | ||
M v4/gio/gfile.go +110 -10
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gio | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "runtime" | |
| 5 | 6 | "structs" | |
| 6 | 7 | "unsafe" | |
| 7 | 8 | ||
| @@ -3456,6 +3457,7 @@ func (x *FileBase) BuildAttributeListForCopy(FlagsVar FileCopyFlags, Cancellable | |||
| 3456 | 3457 | var cerr *glib.Error | |
| 3457 | 3458 | ||
| 3458 | 3459 | cret := XGFileBuildAttributeListForCopy(x.GoPointer(), FlagsVar, CancellableVar.GoPointer(), &cerr) | |
| 3460 | + | ||
| 3459 | 3461 | if cerr == nil { | |
| 3460 | 3462 | return cret, nil | |
| 3461 | 3463 | } | |
| @@ -3507,6 +3509,7 @@ func (x *FileBase) Copy(DestinationVar File, FlagsVar FileCopyFlags, Cancellable | |||
| 3507 | 3509 | var cerr *glib.Error | |
| 3508 | 3510 | ||
| 3509 | 3511 | cret := XGFileCopy(x.GoPointer(), DestinationVar.GoPointer(), FlagsVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(ProgressCallbackVar), ProgressCallbackDataVar, &cerr) | |
| 3512 | + | ||
| 3510 | 3513 | if cerr == nil { | |
| 3511 | 3514 | return cret, nil | |
| 3512 | 3515 | } | |
| @@ -3550,6 +3553,7 @@ func (x *FileBase) CopyAttributes(DestinationVar File, FlagsVar FileCopyFlags, C | |||
| 3550 | 3553 | var cerr *glib.Error | |
| 3551 | 3554 | ||
| 3552 | 3555 | cret := XGFileCopyAttributes(x.GoPointer(), DestinationVar.GoPointer(), FlagsVar, CancellableVar.GoPointer(), &cerr) | |
| 3556 | + | ||
| 3553 | 3557 | if cerr == nil { | |
| 3554 | 3558 | return cret, nil | |
| 3555 | 3559 | } | |
| @@ -3562,6 +3566,7 @@ func (x *FileBase) CopyFinish(ResVar AsyncResult) (bool, error) { | |||
| 3562 | 3566 | var cerr *glib.Error | |
| 3563 | 3567 | ||
| 3564 | 3568 | cret := XGFileCopyFinish(x.GoPointer(), ResVar.GoPointer(), &cerr) | |
| 3569 | + | ||
| 3565 | 3570 | if cerr == nil { | |
| 3566 | 3571 | return cret, nil | |
| 3567 | 3572 | } | |
| @@ -3744,6 +3749,7 @@ func (x *FileBase) Delete(CancellableVar *Cancellable) (bool, error) { | |||
| 3744 | 3749 | var cerr *glib.Error | |
| 3745 | 3750 | ||
| 3746 | 3751 | cret := XGFileDelete(x.GoPointer(), CancellableVar.GoPointer(), &cerr) | |
| 3752 | + | ||
| 3747 | 3753 | if cerr == nil { | |
| 3748 | 3754 | return cret, nil | |
| 3749 | 3755 | } | |
| @@ -3765,6 +3771,7 @@ func (x *FileBase) DeleteFinish(ResultVar AsyncResult) (bool, error) { | |||
| 3765 | 3771 | var cerr *glib.Error | |
| 3766 | 3772 | ||
| 3767 | 3773 | cret := XGFileDeleteFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr) | |
| 3774 | + | ||
| 3768 | 3775 | if cerr == nil { | |
| 3769 | 3776 | return cret, nil | |
| 3770 | 3777 | } | |
| @@ -3815,6 +3822,7 @@ func (x *FileBase) EjectMountableFinish(ResultVar AsyncResult) (bool, error) { | |||
| 3815 | 3822 | var cerr *glib.Error | |
| 3816 | 3823 | ||
| 3817 | 3824 | cret := XGFileEjectMountableFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr) | |
| 3825 | + | ||
| 3818 | 3826 | if cerr == nil { | |
| 3819 | 3827 | return cret, nil | |
| 3820 | 3828 | } | |
| @@ -3842,6 +3850,7 @@ func (x *FileBase) EjectMountableWithOperationFinish(ResultVar AsyncResult) (boo | |||
| 3842 | 3850 | var cerr *glib.Error | |
| 3843 | 3851 | ||
| 3844 | 3852 | cret := XGFileEjectMountableWithOperationFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr) | |
| 3853 | + | ||
| 3845 | 3854 | if cerr == nil { | |
| 3846 | 3855 | return cret, nil | |
| 3847 | 3856 | } | |
| @@ -3938,6 +3947,7 @@ func (x *FileBase) EnumerateChildrenFinish(ResVar AsyncResult) (*FileEnumerator, | |||
| 3938 | 3947 | func (x *FileBase) Equal(File2Var File) bool { | |
| 3939 | 3948 | ||
| 3940 | 3949 | cret := XGFileEqual(x.GoPointer(), File2Var.GoPointer()) | |
| 3950 | + | ||
| 3941 | 3951 | return cret | |
| 3942 | 3952 | } | |
| 3943 | 3953 | ||
| @@ -4018,6 +4028,7 @@ func (x *FileBase) FindEnclosingMountFinish(ResVar AsyncResult) (*MountBase, err | |||
| 4018 | 4028 | func (x *FileBase) GetBasename() string { | |
| 4019 | 4029 | ||
| 4020 | 4030 | cret := XGFileGetBasename(x.GoPointer()) | |
| 4031 | + | ||
| 4021 | 4032 | return cret | |
| 4022 | 4033 | } | |
| 4023 | 4034 | ||
| @@ -4102,6 +4113,7 @@ func (x *FileBase) GetParent() *FileBase { | |||
| 4102 | 4113 | func (x *FileBase) GetParseName() string { | |
| 4103 | 4114 | ||
| 4104 | 4115 | cret := XGFileGetParseName(x.GoPointer()) | |
| 4116 | + | ||
| 4105 | 4117 | return cret | |
| 4106 | 4118 | } | |
| 4107 | 4119 | ||
| @@ -4112,6 +4124,7 @@ func (x *FileBase) GetParseName() string { | |||
| 4112 | 4124 | func (x *FileBase) GetPath() string { | |
| 4113 | 4125 | ||
| 4114 | 4126 | cret := XGFileGetPath(x.GoPointer()) | |
| 4127 | + | ||
| 4115 | 4128 | return cret | |
| 4116 | 4129 | } | |
| 4117 | 4130 | ||
| @@ -4121,6 +4134,7 @@ func (x *FileBase) GetPath() string { | |||
| 4121 | 4134 | func (x *FileBase) GetRelativePath(DescendantVar File) string { | |
| 4122 | 4135 | ||
| 4123 | 4136 | cret := XGFileGetRelativePath(x.GoPointer(), DescendantVar.GoPointer()) | |
| 4137 | + | ||
| 4124 | 4138 | return cret | |
| 4125 | 4139 | } | |
| 4126 | 4140 | ||
| @@ -4130,6 +4144,7 @@ func (x *FileBase) GetRelativePath(DescendantVar File) string { | |||
| 4130 | 4144 | func (x *FileBase) GetUri() string { | |
| 4131 | 4145 | ||
| 4132 | 4146 | cret := XGFileGetUri(x.GoPointer()) | |
| 4147 | + | ||
| 4133 | 4148 | return cret | |
| 4134 | 4149 | } | |
| 4135 | 4150 | ||
| @@ -4147,6 +4162,7 @@ func (x *FileBase) GetUri() string { | |||
| 4147 | 4162 | func (x *FileBase) GetUriScheme() string { | |
| 4148 | 4163 | ||
| 4149 | 4164 | cret := XGFileGetUriScheme(x.GoPointer()) | |
| 4165 | + | ||
| 4150 | 4166 | return cret | |
| 4151 | 4167 | } | |
| 4152 | 4168 | ||
| @@ -4158,6 +4174,7 @@ func (x *FileBase) GetUriScheme() string { | |||
| 4158 | 4174 | func (x *FileBase) HasParent(ParentVar File) bool { | |
| 4159 | 4175 | ||
| 4160 | 4176 | cret := XGFileHasParent(x.GoPointer(), ParentVar.GoPointer()) | |
| 4177 | + | ||
| 4161 | 4178 | return cret | |
| 4162 | 4179 | } | |
| 4163 | 4180 | ||
| @@ -4178,6 +4195,7 @@ func (x *FileBase) HasParent(ParentVar File) bool { | |||
| 4178 | 4195 | func (x *FileBase) HasPrefix(PrefixVar File) bool { | |
| 4179 | 4196 | ||
| 4180 | 4197 | cret := XGFileHasPrefix(x.GoPointer(), PrefixVar.GoPointer()) | |
| 4198 | + | ||
| 4181 | 4199 | return cret | |
| 4182 | 4200 | } | |
| 4183 | 4201 | ||
| @@ -4187,6 +4205,7 @@ func (x *FileBase) HasPrefix(PrefixVar File) bool { | |||
| 4187 | 4205 | func (x *FileBase) HasUriScheme(UriSchemeVar string) bool { | |
| 4188 | 4206 | ||
| 4189 | 4207 | cret := XGFileHasUriScheme(x.GoPointer(), UriSchemeVar) | |
| 4208 | + | ||
| 4190 | 4209 | return cret | |
| 4191 | 4210 | } | |
| 4192 | 4211 | ||
| @@ -4196,6 +4215,7 @@ func (x *FileBase) HasUriScheme(UriSchemeVar string) bool { | |||
| 4196 | 4215 | func (x *FileBase) Hash() uint { | |
| 4197 | 4216 | ||
| 4198 | 4217 | cret := XGFileHash(x.GoPointer()) | |
| 4218 | + | ||
| 4199 | 4219 | return cret | |
| 4200 | 4220 | } | |
| 4201 | 4221 | ||
| @@ -4213,6 +4233,7 @@ func (x *FileBase) Hash() uint { | |||
| 4213 | 4233 | func (x *FileBase) IsNative() bool { | |
| 4214 | 4234 | ||
| 4215 | 4235 | cret := XGFileIsNative(x.GoPointer()) | |
| 4236 | + | ||
| 4216 | 4237 | return cret | |
| 4217 | 4238 | } | |
| 4218 | 4239 | ||
| @@ -4231,6 +4252,7 @@ func (x *FileBase) LoadBytes(CancellableVar *Cancellable, EtagOutVar *string) (* | |||
| 4231 | 4252 | var cerr *glib.Error | |
| 4232 | 4253 | ||
| 4233 | 4254 | cret := XGFileLoadBytes(x.GoPointer(), CancellableVar.GoPointer(), EtagOutVar, &cerr) | |
| 4255 | + | ||
| 4234 | 4256 | if cerr == nil { | |
| 4235 | 4257 | return cret, nil | |
| 4236 | 4258 | } | |
| @@ -4267,6 +4289,7 @@ func (x *FileBase) LoadBytesFinish(ResultVar AsyncResult, EtagOutVar *string) (* | |||
| 4267 | 4289 | var cerr *glib.Error | |
| 4268 | 4290 | ||
| 4269 | 4291 | cret := XGFileLoadBytesFinish(x.GoPointer(), ResultVar.GoPointer(), EtagOutVar, &cerr) | |
| 4292 | + | ||
| 4270 | 4293 | if cerr == nil { | |
| 4271 | 4294 | return cret, nil | |
| 4272 | 4295 | } | |
| @@ -4286,6 +4309,7 @@ func (x *FileBase) LoadContents(CancellableVar *Cancellable, ContentsVar *[]stri | |||
| 4286 | 4309 | var cerr *glib.Error | |
| 4287 | 4310 | ||
| 4288 | 4311 | cret := XGFileLoadContents(x.GoPointer(), CancellableVar.GoPointer(), ContentsVar, LengthVar, EtagOutVar, &cerr) | |
| 4312 | + | ||
| 4289 | 4313 | if cerr == nil { | |
| 4290 | 4314 | return cret, nil | |
| 4291 | 4315 | } | |
| @@ -4321,6 +4345,7 @@ func (x *FileBase) LoadContentsFinish(ResVar AsyncResult, ContentsVar *[]string, | |||
| 4321 | 4345 | var cerr *glib.Error | |
| 4322 | 4346 | ||
| 4323 | 4347 | cret := XGFileLoadContentsFinish(x.GoPointer(), ResVar.GoPointer(), ContentsVar, LengthVar, EtagOutVar, &cerr) | |
| 4348 | + | ||
| 4324 | 4349 | if cerr == nil { | |
| 4325 | 4350 | return cret, nil | |
| 4326 | 4351 | } | |
| @@ -4354,6 +4379,7 @@ func (x *FileBase) LoadPartialContentsFinish(ResVar AsyncResult, ContentsVar *[] | |||
| 4354 | 4379 | var cerr *glib.Error | |
| 4355 | 4380 | ||
| 4356 | 4381 | cret := XGFileLoadPartialContentsFinish(x.GoPointer(), ResVar.GoPointer(), ContentsVar, LengthVar, EtagOutVar, &cerr) | |
| 4382 | + | ||
| 4357 | 4383 | if cerr == nil { | |
| 4358 | 4384 | return cret, nil | |
| 4359 | 4385 | } | |
| @@ -4383,6 +4409,7 @@ func (x *FileBase) MakeDirectory(CancellableVar *Cancellable) (bool, error) { | |||
| 4383 | 4409 | var cerr *glib.Error | |
| 4384 | 4410 | ||
| 4385 | 4411 | cret := XGFileMakeDirectory(x.GoPointer(), CancellableVar.GoPointer(), &cerr) | |
| 4412 | + | ||
| 4386 | 4413 | if cerr == nil { | |
| 4387 | 4414 | return cret, nil | |
| 4388 | 4415 | } | |
| @@ -4403,6 +4430,7 @@ func (x *FileBase) MakeDirectoryFinish(ResultVar AsyncResult) (bool, error) { | |||
| 4403 | 4430 | var cerr *glib.Error | |
| 4404 | 4431 | ||
| 4405 | 4432 | cret := XGFileMakeDirectoryFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr) | |
| 4433 | + | ||
| 4406 | 4434 | if cerr == nil { | |
| 4407 | 4435 | return cret, nil | |
| 4408 | 4436 | } | |
| @@ -4427,6 +4455,7 @@ func (x *FileBase) MakeDirectoryWithParents(CancellableVar *Cancellable) (bool, | |||
| 4427 | 4455 | var cerr *glib.Error | |
| 4428 | 4456 | ||
| 4429 | 4457 | cret := XGFileMakeDirectoryWithParents(x.GoPointer(), CancellableVar.GoPointer(), &cerr) | |
| 4458 | + | ||
| 4430 | 4459 | if cerr == nil { | |
| 4431 | 4460 | return cret, nil | |
| 4432 | 4461 | } | |
| @@ -4444,6 +4473,7 @@ func (x *FileBase) MakeSymbolicLink(SymlinkValueVar string, CancellableVar *Canc | |||
| 4444 | 4473 | var cerr *glib.Error | |
| 4445 | 4474 | ||
| 4446 | 4475 | cret := XGFileMakeSymbolicLink(x.GoPointer(), SymlinkValueVar, CancellableVar.GoPointer(), &cerr) | |
| 4476 | + | ||
| 4447 | 4477 | if cerr == nil { | |
| 4448 | 4478 | return cret, nil | |
| 4449 | 4479 | } | |
| @@ -4465,6 +4495,7 @@ func (x *FileBase) MakeSymbolicLinkFinish(ResultVar AsyncResult) (bool, error) { | |||
| 4465 | 4495 | var cerr *glib.Error | |
| 4466 | 4496 | ||
| 4467 | 4497 | cret := XGFileMakeSymbolicLinkFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr) | |
| 4498 | + | ||
| 4468 | 4499 | if cerr == nil { | |
| 4469 | 4500 | return cret, nil | |
| 4470 | 4501 | } | |
| @@ -4494,6 +4525,7 @@ func (x *FileBase) MeasureDiskUsage(FlagsVar FileMeasureFlags, CancellableVar *C | |||
| 4494 | 4525 | var cerr *glib.Error | |
| 4495 | 4526 | ||
| 4496 | 4527 | cret := XGFileMeasureDiskUsage(x.GoPointer(), FlagsVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(ProgressCallbackVar), ProgressDataVar, DiskUsageVar, NumDirsVar, NumFilesVar, &cerr) | |
| 4528 | + | ||
| 4497 | 4529 | if cerr == nil { | |
| 4498 | 4530 | return cret, nil | |
| 4499 | 4531 | } | |
| @@ -4518,6 +4550,7 @@ func (x *FileBase) MeasureDiskUsageFinish(ResultVar AsyncResult, DiskUsageVar *u | |||
| 4518 | 4550 | var cerr *glib.Error | |
| 4519 | 4551 | ||
| 4520 | 4552 | cret := XGFileMeasureDiskUsageFinish(x.GoPointer(), ResultVar.GoPointer(), DiskUsageVar, NumDirsVar, NumFilesVar, &cerr) | |
| 4553 | + | ||
| 4521 | 4554 | if cerr == nil { | |
| 4522 | 4555 | return cret, nil | |
| 4523 | 4556 | } | |
| @@ -4632,6 +4665,7 @@ func (x *FileBase) MountEnclosingVolumeFinish(ResultVar AsyncResult) (bool, erro | |||
| 4632 | 4665 | var cerr *glib.Error | |
| 4633 | 4666 | ||
| 4634 | 4667 | cret := XGFileMountEnclosingVolumeFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr) | |
| 4668 | + | ||
| 4635 | 4669 | if cerr == nil { | |
| 4636 | 4670 | return cret, nil | |
| 4637 | 4671 | } | |
| @@ -4715,6 +4749,7 @@ func (x *FileBase) Move(DestinationVar File, FlagsVar FileCopyFlags, Cancellable | |||
| 4715 | 4749 | var cerr *glib.Error | |
| 4716 | 4750 | ||
| 4717 | 4751 | cret := XGFileMove(x.GoPointer(), DestinationVar.GoPointer(), FlagsVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(ProgressCallbackVar), ProgressCallbackDataVar, &cerr) | |
| 4752 | + | ||
| 4718 | 4753 | if cerr == nil { | |
| 4719 | 4754 | return cret, nil | |
| 4720 | 4755 | } | |
| @@ -4751,6 +4786,7 @@ func (x *FileBase) MoveFinish(ResultVar AsyncResult) (bool, error) { | |||
| 4751 | 4786 | var cerr *glib.Error | |
| 4752 | 4787 | ||
| 4753 | 4788 | cret := XGFileMoveFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr) | |
| 4789 | + | ||
| 4754 | 4790 | if cerr == nil { | |
| 4755 | 4791 | return cret, nil | |
| 4756 | 4792 | } | |
| @@ -4836,6 +4872,7 @@ func (x *FileBase) OpenReadwriteFinish(ResVar AsyncResult) (*FileIOStream, error | |||
| 4836 | 4872 | func (x *FileBase) PeekPath() string { | |
| 4837 | 4873 | ||
| 4838 | 4874 | cret := XGFilePeekPath(x.GoPointer()) | |
| 4875 | + | ||
| 4839 | 4876 | return cret | |
| 4840 | 4877 | } | |
| 4841 | 4878 | ||
| @@ -4862,6 +4899,7 @@ func (x *FileBase) PollMountableFinish(ResultVar AsyncResult) (bool, error) { | |||
| 4862 | 4899 | var cerr *glib.Error | |
| 4863 | 4900 | ||
| 4864 | 4901 | cret := XGFilePollMountableFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr) | |
| 4902 | + | ||
| 4865 | 4903 | if cerr == nil { | |
| 4866 | 4904 | return cret, nil | |
| 4867 | 4905 | } | |
| @@ -4947,6 +4985,7 @@ func (x *FileBase) QueryDefaultHandlerFinish(ResultVar AsyncResult) (*AppInfoBas | |||
| 4947 | 4985 | func (x *FileBase) QueryExists(CancellableVar *Cancellable) bool { | |
| 4948 | 4986 | ||
| 4949 | 4987 | cret := XGFileQueryExists(x.GoPointer(), CancellableVar.GoPointer()) | |
| 4988 | + | ||
| 4950 | 4989 | return cret | |
| 4951 | 4990 | } | |
| 4952 | 4991 | ||
| @@ -4958,6 +4997,7 @@ func (x *FileBase) QueryExists(CancellableVar *Cancellable) bool { | |||
| 4958 | 4997 | func (x *FileBase) QueryFileType(FlagsVar FileQueryInfoFlags, CancellableVar *Cancellable) FileType { | |
| 4959 | 4998 | ||
| 4960 | 4999 | cret := XGFileQueryFileType(x.GoPointer(), FlagsVar, CancellableVar.GoPointer()) | |
| 5000 | + | ||
| 4961 | 5001 | return cret | |
| 4962 | 5002 | } | |
| 4963 | 5003 | ||
| @@ -5151,6 +5191,7 @@ func (x *FileBase) QuerySettableAttributes(CancellableVar *Cancellable) (*FileAt | |||
| 5151 | 5191 | var cerr *glib.Error | |
| 5152 | 5192 | ||
| 5153 | 5193 | cret := XGFileQuerySettableAttributes(x.GoPointer(), CancellableVar.GoPointer(), &cerr) | |
| 5194 | + | ||
| 5154 | 5195 | if cerr == nil { | |
| 5155 | 5196 | return cret, nil | |
| 5156 | 5197 | } | |
| @@ -5169,6 +5210,7 @@ func (x *FileBase) QueryWritableNamespaces(CancellableVar *Cancellable) (*FileAt | |||
| 5169 | 5210 | var cerr *glib.Error | |
| 5170 | 5211 | ||
| 5171 | 5212 | cret := XGFileQueryWritableNamespaces(x.GoPointer(), CancellableVar.GoPointer(), &cerr) | |
| 5213 | + | ||
| 5172 | 5214 | if cerr == nil { | |
| 5173 | 5215 | return cret, nil | |
| 5174 | 5216 | } | |
| @@ -5284,7 +5326,11 @@ func (x *FileBase) Replace(EtagVar *string, MakeBackupVar bool, FlagsVar FileCre | |||
| 5284 | 5326 | var cls *FileOutputStream | |
| 5285 | 5327 | var cerr *glib.Error | |
| 5286 | 5328 | ||
| 5287 | - | cret := XGFileReplace(x.GoPointer(), core.NullableStringToPtr(EtagVar), MakeBackupVar, FlagsVar, CancellableVar.GoPointer(), &cerr) | |
| 5329 | + | EtagVarPtr, EtagVarBytes := core.NullableStringToPtr(EtagVar) | |
| 5330 | + | ||
| 5331 | + | cret := XGFileReplace(x.GoPointer(), EtagVarPtr, MakeBackupVar, FlagsVar, CancellableVar.GoPointer(), &cerr) | |
| 5332 | + | ||
| 5333 | + | runtime.KeepAlive(EtagVarBytes) | |
| 5288 | 5334 | ||
| 5289 | 5335 | if cret == 0 { | |
| 5290 | 5336 | return nil, cerr | |
| @@ -5309,7 +5355,11 @@ func (x *FileBase) Replace(EtagVar *string, MakeBackupVar bool, FlagsVar FileCre | |||
| 5309 | 5355 | // of the operation. | |
| 5310 | 5356 | func (x *FileBase) ReplaceAsync(EtagVar *string, MakeBackupVar bool, FlagsVar FileCreateFlags, IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | |
| 5311 | 5357 | ||
| 5312 | - | XGFileReplaceAsync(x.GoPointer(), core.NullableStringToPtr(EtagVar), MakeBackupVar, FlagsVar, IoPriorityVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | |
| 5358 | + | EtagVarPtr, EtagVarBytes := core.NullableStringToPtr(EtagVar) | |
| 5359 | + | ||
| 5360 | + | XGFileReplaceAsync(x.GoPointer(), EtagVarPtr, MakeBackupVar, FlagsVar, IoPriorityVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | |
| 5361 | + | ||
| 5362 | + | runtime.KeepAlive(EtagVarBytes) | |
| 5313 | 5363 | ||
| 5314 | 5364 | } | |
| 5315 | 5365 | ||
| @@ -5332,7 +5382,12 @@ func (x *FileBase) ReplaceAsync(EtagVar *string, MakeBackupVar bool, FlagsVar Fi | |||
| 5332 | 5382 | func (x *FileBase) ReplaceContents(ContentsVar string, LengthVar uint, EtagVar *string, MakeBackupVar bool, FlagsVar FileCreateFlags, NewEtagVar *string, CancellableVar *Cancellable) (bool, error) { | |
| 5333 | 5383 | var cerr *glib.Error | |
| 5334 | 5384 | ||
| 5335 | - | cret := XGFileReplaceContents(x.GoPointer(), ContentsVar, LengthVar, core.NullableStringToPtr(EtagVar), MakeBackupVar, FlagsVar, NewEtagVar, CancellableVar.GoPointer(), &cerr) | |
| 5385 | + | EtagVarPtr, EtagVarBytes := core.NullableStringToPtr(EtagVar) | |
| 5386 | + | ||
| 5387 | + | cret := XGFileReplaceContents(x.GoPointer(), ContentsVar, LengthVar, EtagVarPtr, MakeBackupVar, FlagsVar, NewEtagVar, CancellableVar.GoPointer(), &cerr) | |
| 5388 | + | ||
| 5389 | + | runtime.KeepAlive(EtagVarBytes) | |
| 5390 | + | ||
| 5336 | 5391 | if cerr == nil { | |
| 5337 | 5392 | return cret, nil | |
| 5338 | 5393 | } | |
| @@ -5361,7 +5416,11 @@ func (x *FileBase) ReplaceContents(ContentsVar string, LengthVar uint, EtagVar * | |||
| 5361 | 5416 | // contents (without copying) for the duration of the call. | |
| 5362 | 5417 | func (x *FileBase) ReplaceContentsAsync(ContentsVar string, LengthVar uint, EtagVar *string, MakeBackupVar bool, FlagsVar FileCreateFlags, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | |
| 5363 | 5418 | ||
| 5364 | - | XGFileReplaceContentsAsync(x.GoPointer(), ContentsVar, LengthVar, core.NullableStringToPtr(EtagVar), MakeBackupVar, FlagsVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | |
| 5419 | + | EtagVarPtr, EtagVarBytes := core.NullableStringToPtr(EtagVar) | |
| 5420 | + | ||
| 5421 | + | XGFileReplaceContentsAsync(x.GoPointer(), ContentsVar, LengthVar, EtagVarPtr, MakeBackupVar, FlagsVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | |
| 5422 | + | ||
| 5423 | + | runtime.KeepAlive(EtagVarBytes) | |
| 5365 | 5424 | ||
| 5366 | 5425 | } | |
| 5367 | 5426 | ||
| @@ -5375,7 +5434,11 @@ func (x *FileBase) ReplaceContentsAsync(ContentsVar string, LengthVar uint, Etag | |||
| 5375 | 5434 | // g_file_replace_contents_finish(). | |
| 5376 | 5435 | func (x *FileBase) ReplaceContentsBytesAsync(ContentsVar *glib.Bytes, EtagVar *string, MakeBackupVar bool, FlagsVar FileCreateFlags, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | |
| 5377 | 5436 | ||
| 5378 | - | XGFileReplaceContentsBytesAsync(x.GoPointer(), ContentsVar, core.NullableStringToPtr(EtagVar), MakeBackupVar, FlagsVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | |
| 5437 | + | EtagVarPtr, EtagVarBytes := core.NullableStringToPtr(EtagVar) | |
| 5438 | + | ||
| 5439 | + | XGFileReplaceContentsBytesAsync(x.GoPointer(), ContentsVar, EtagVarPtr, MakeBackupVar, FlagsVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | |
| 5440 | + | ||
| 5441 | + | runtime.KeepAlive(EtagVarBytes) | |
| 5379 | 5442 | ||
| 5380 | 5443 | } | |
| 5381 | 5444 | ||
| @@ -5386,6 +5449,7 @@ func (x *FileBase) ReplaceContentsFinish(ResVar AsyncResult, NewEtagVar *string) | |||
| 5386 | 5449 | var cerr *glib.Error | |
| 5387 | 5450 | ||
| 5388 | 5451 | cret := XGFileReplaceContentsFinish(x.GoPointer(), ResVar.GoPointer(), NewEtagVar, &cerr) | |
| 5452 | + | ||
| 5389 | 5453 | if cerr == nil { | |
| 5390 | 5454 | return cret, nil | |
| 5391 | 5455 | } | |
| @@ -5427,7 +5491,11 @@ func (x *FileBase) ReplaceReadwrite(EtagVar *string, MakeBackupVar bool, FlagsVa | |||
| 5427 | 5491 | var cls *FileIOStream | |
| 5428 | 5492 | var cerr *glib.Error | |
| 5429 | 5493 | ||
| 5430 | - | cret := XGFileReplaceReadwrite(x.GoPointer(), core.NullableStringToPtr(EtagVar), MakeBackupVar, FlagsVar, CancellableVar.GoPointer(), &cerr) | |
| 5494 | + | EtagVarPtr, EtagVarBytes := core.NullableStringToPtr(EtagVar) | |
| 5495 | + | ||
| 5496 | + | cret := XGFileReplaceReadwrite(x.GoPointer(), EtagVarPtr, MakeBackupVar, FlagsVar, CancellableVar.GoPointer(), &cerr) | |
| 5497 | + | ||
| 5498 | + | runtime.KeepAlive(EtagVarBytes) | |
| 5431 | 5499 | ||
| 5432 | 5500 | if cret == 0 { | |
| 5433 | 5501 | return nil, cerr | |
| @@ -5453,7 +5521,11 @@ func (x *FileBase) ReplaceReadwrite(EtagVar *string, MakeBackupVar bool, FlagsVa | |||
| 5453 | 5521 | // the result of the operation. | |
| 5454 | 5522 | func (x *FileBase) ReplaceReadwriteAsync(EtagVar *string, MakeBackupVar bool, FlagsVar FileCreateFlags, IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | |
| 5455 | 5523 | ||
| 5456 | - | XGFileReplaceReadwriteAsync(x.GoPointer(), core.NullableStringToPtr(EtagVar), MakeBackupVar, FlagsVar, IoPriorityVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | |
| 5524 | + | EtagVarPtr, EtagVarBytes := core.NullableStringToPtr(EtagVar) | |
| 5525 | + | ||
| 5526 | + | XGFileReplaceReadwriteAsync(x.GoPointer(), EtagVarPtr, MakeBackupVar, FlagsVar, IoPriorityVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | |
| 5527 | + | ||
| 5528 | + | runtime.KeepAlive(EtagVarBytes) | |
| 5457 | 5529 | ||
| 5458 | 5530 | } | |
| 5459 | 5531 | ||
| @@ -5508,6 +5580,7 @@ func (x *FileBase) SetAttribute(AttributeVar string, TypeVar FileAttributeType, | |||
| 5508 | 5580 | var cerr *glib.Error | |
| 5509 | 5581 | ||
| 5510 | 5582 | cret := XGFileSetAttribute(x.GoPointer(), AttributeVar, TypeVar, ValuePVar, FlagsVar, CancellableVar.GoPointer(), &cerr) | |
| 5583 | + | ||
| 5511 | 5584 | if cerr == nil { | |
| 5512 | 5585 | return cret, nil | |
| 5513 | 5586 | } | |
| @@ -5526,6 +5599,7 @@ func (x *FileBase) SetAttributeByteString(AttributeVar string, ValueVar string, | |||
| 5526 | 5599 | var cerr *glib.Error | |
| 5527 | 5600 | ||
| 5528 | 5601 | cret := XGFileSetAttributeByteString(x.GoPointer(), AttributeVar, ValueVar, FlagsVar, CancellableVar.GoPointer(), &cerr) | |
| 5602 | + | ||
| 5529 | 5603 | if cerr == nil { | |
| 5530 | 5604 | return cret, nil | |
| 5531 | 5605 | } | |
| @@ -5543,6 +5617,7 @@ func (x *FileBase) SetAttributeInt32(AttributeVar string, ValueVar int32, FlagsV | |||
| 5543 | 5617 | var cerr *glib.Error | |
| 5544 | 5618 | ||
| 5545 | 5619 | cret := XGFileSetAttributeInt32(x.GoPointer(), AttributeVar, ValueVar, FlagsVar, CancellableVar.GoPointer(), &cerr) | |
| 5620 | + | ||
| 5546 | 5621 | if cerr == nil { | |
| 5547 | 5622 | return cret, nil | |
| 5548 | 5623 | } | |
| @@ -5560,6 +5635,7 @@ func (x *FileBase) SetAttributeInt64(AttributeVar string, ValueVar int64, FlagsV | |||
| 5560 | 5635 | var cerr *glib.Error | |
| 5561 | 5636 | ||
| 5562 | 5637 | cret := XGFileSetAttributeInt64(x.GoPointer(), AttributeVar, ValueVar, FlagsVar, CancellableVar.GoPointer(), &cerr) | |
| 5638 | + | ||
| 5563 | 5639 | if cerr == nil { | |
| 5564 | 5640 | return cret, nil | |
| 5565 | 5641 | } | |
| @@ -5577,6 +5653,7 @@ func (x *FileBase) SetAttributeString(AttributeVar string, ValueVar string, Flag | |||
| 5577 | 5653 | var cerr *glib.Error | |
| 5578 | 5654 | ||
| 5579 | 5655 | cret := XGFileSetAttributeString(x.GoPointer(), AttributeVar, ValueVar, FlagsVar, CancellableVar.GoPointer(), &cerr) | |
| 5656 | + | ||
| 5580 | 5657 | if cerr == nil { | |
| 5581 | 5658 | return cret, nil | |
| 5582 | 5659 | } | |
| @@ -5594,6 +5671,7 @@ func (x *FileBase) SetAttributeUint32(AttributeVar string, ValueVar uint32, Flag | |||
| 5594 | 5671 | var cerr *glib.Error | |
| 5595 | 5672 | ||
| 5596 | 5673 | cret := XGFileSetAttributeUint32(x.GoPointer(), AttributeVar, ValueVar, FlagsVar, CancellableVar.GoPointer(), &cerr) | |
| 5674 | + | ||
| 5597 | 5675 | if cerr == nil { | |
| 5598 | 5676 | return cret, nil | |
| 5599 | 5677 | } | |
| @@ -5611,6 +5689,7 @@ func (x *FileBase) SetAttributeUint64(AttributeVar string, ValueVar uint64, Flag | |||
| 5611 | 5689 | var cerr *glib.Error | |
| 5612 | 5690 | ||
| 5613 | 5691 | cret := XGFileSetAttributeUint64(x.GoPointer(), AttributeVar, ValueVar, FlagsVar, CancellableVar.GoPointer(), &cerr) | |
| 5692 | + | ||
| 5614 | 5693 | if cerr == nil { | |
| 5615 | 5694 | return cret, nil | |
| 5616 | 5695 | } | |
| @@ -5637,6 +5716,7 @@ func (x *FileBase) SetAttributesFinish(ResultVar AsyncResult, InfoVar **FileInfo | |||
| 5637 | 5716 | var cerr *glib.Error | |
| 5638 | 5717 | ||
| 5639 | 5718 | cret := XGFileSetAttributesFinish(x.GoPointer(), ResultVar.GoPointer(), InfoVar, &cerr) | |
| 5719 | + | ||
| 5640 | 5720 | if cerr == nil { | |
| 5641 | 5721 | return cret, nil | |
| 5642 | 5722 | } | |
| @@ -5660,6 +5740,7 @@ func (x *FileBase) SetAttributesFromInfo(InfoVar *FileInfo, FlagsVar FileQueryIn | |||
| 5660 | 5740 | var cerr *glib.Error | |
| 5661 | 5741 | ||
| 5662 | 5742 | cret := XGFileSetAttributesFromInfo(x.GoPointer(), InfoVar.GoPointer(), FlagsVar, CancellableVar.GoPointer(), &cerr) | |
| 5743 | + | ||
| 5663 | 5744 | if cerr == nil { | |
| 5664 | 5745 | return cret, nil | |
| 5665 | 5746 | } | |
| @@ -5759,6 +5840,7 @@ func (x *FileBase) StartMountableFinish(ResultVar AsyncResult) (bool, error) { | |||
| 5759 | 5840 | var cerr *glib.Error | |
| 5760 | 5841 | ||
| 5761 | 5842 | cret := XGFileStartMountableFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr) | |
| 5843 | + | ||
| 5762 | 5844 | if cerr == nil { | |
| 5763 | 5845 | return cret, nil | |
| 5764 | 5846 | } | |
| @@ -5789,6 +5871,7 @@ func (x *FileBase) StopMountableFinish(ResultVar AsyncResult) (bool, error) { | |||
| 5789 | 5871 | var cerr *glib.Error | |
| 5790 | 5872 | ||
| 5791 | 5873 | cret := XGFileStopMountableFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr) | |
| 5874 | + | ||
| 5792 | 5875 | if cerr == nil { | |
| 5793 | 5876 | return cret, nil | |
| 5794 | 5877 | } | |
| @@ -5803,6 +5886,7 @@ func (x *FileBase) StopMountableFinish(ResultVar AsyncResult) (bool, error) { | |||
| 5803 | 5886 | func (x *FileBase) SupportsThreadContexts() bool { | |
| 5804 | 5887 | ||
| 5805 | 5888 | cret := XGFileSupportsThreadContexts(x.GoPointer()) | |
| 5889 | + | ||
| 5806 | 5890 | return cret | |
| 5807 | 5891 | } | |
| 5808 | 5892 | ||
| @@ -5823,6 +5907,7 @@ func (x *FileBase) Trash(CancellableVar *Cancellable) (bool, error) { | |||
| 5823 | 5907 | var cerr *glib.Error | |
| 5824 | 5908 | ||
| 5825 | 5909 | cret := XGFileTrash(x.GoPointer(), CancellableVar.GoPointer(), &cerr) | |
| 5910 | + | ||
| 5826 | 5911 | if cerr == nil { | |
| 5827 | 5912 | return cret, nil | |
| 5828 | 5913 | } | |
| @@ -5843,6 +5928,7 @@ func (x *FileBase) TrashFinish(ResultVar AsyncResult) (bool, error) { | |||
| 5843 | 5928 | var cerr *glib.Error | |
| 5844 | 5929 | ||
| 5845 | 5930 | cret := XGFileTrashFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr) | |
| 5931 | + | ||
| 5846 | 5932 | if cerr == nil { | |
| 5847 | 5933 | return cret, nil | |
| 5848 | 5934 | } | |
| @@ -5873,6 +5959,7 @@ func (x *FileBase) UnmountMountableFinish(ResultVar AsyncResult) (bool, error) { | |||
| 5873 | 5959 | var cerr *glib.Error | |
| 5874 | 5960 | ||
| 5875 | 5961 | cret := XGFileUnmountMountableFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr) | |
| 5962 | + | ||
| 5876 | 5963 | if cerr == nil { | |
| 5877 | 5964 | return cret, nil | |
| 5878 | 5965 | } | |
| @@ -5904,6 +5991,7 @@ func (x *FileBase) UnmountMountableWithOperationFinish(ResultVar AsyncResult) (b | |||
| 5904 | 5991 | var cerr *glib.Error | |
| 5905 | 5992 | ||
| 5906 | 5993 | cret := XGFileUnmountMountableWithOperationFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr) | |
| 5994 | + | ||
| 5907 | 5995 | if cerr == nil { | |
| 5908 | 5996 | return cret, nil | |
| 5909 | 5997 | } | |
| @@ -6171,7 +6259,11 @@ func FileNewTmp(TmplVar *string, IostreamVar **FileIOStream) (*FileBase, error) | |||
| 6171 | 6259 | var cls *FileBase | |
| 6172 | 6260 | var cerr *glib.Error | |
| 6173 | 6261 | ||
| 6174 | - | cret := xFileNewTmp(core.NullableStringToPtr(TmplVar), IostreamVar, &cerr) | |
| 6262 | + | TmplVarPtr, TmplVarBytes := core.NullableStringToPtr(TmplVar) | |
| 6263 | + | ||
| 6264 | + | cret := xFileNewTmp(TmplVarPtr, IostreamVar, &cerr) | |
| 6265 | + | ||
| 6266 | + | runtime.KeepAlive(TmplVarBytes) | |
| 6175 | 6267 | ||
| 6176 | 6268 | if cret == 0 { | |
| 6177 | 6269 | return nil, cerr | |
| @@ -6211,7 +6303,11 @@ func FileNewTmpAsync(TmplVar *string, IoPriorityVar int, CancellableVar *Cancell | |||
| 6211 | 6303 | } | |
| 6212 | 6304 | } | |
| 6213 | 6305 | ||
| 6214 | - | xFileNewTmpAsync(core.NullableStringToPtr(TmplVar), IoPriorityVar, CancellableVar.GoPointer(), CallbackVarRef, UserDataVar) | |
| 6306 | + | TmplVarPtr, TmplVarBytes := core.NullableStringToPtr(TmplVar) | |
| 6307 | + | ||
| 6308 | + | xFileNewTmpAsync(TmplVarPtr, IoPriorityVar, CancellableVar.GoPointer(), CallbackVarRef, UserDataVar) | |
| 6309 | + | ||
| 6310 | + | runtime.KeepAlive(TmplVarBytes) | |
| 6215 | 6311 | ||
| 6216 | 6312 | } | |
| 6217 | 6313 | ||
| @@ -6240,7 +6336,11 @@ func FileNewTmpDirAsync(TmplVar *string, IoPriorityVar int, CancellableVar *Canc | |||
| 6240 | 6336 | } | |
| 6241 | 6337 | } | |
| 6242 | 6338 | ||
| 6243 | - | xFileNewTmpDirAsync(core.NullableStringToPtr(TmplVar), IoPriorityVar, CancellableVar.GoPointer(), CallbackVarRef, UserDataVar) | |
| 6339 | + | TmplVarPtr, TmplVarBytes := core.NullableStringToPtr(TmplVar) | |
| 6340 | + | ||
| 6341 | + | xFileNewTmpDirAsync(TmplVarPtr, IoPriorityVar, CancellableVar.GoPointer(), CallbackVarRef, UserDataVar) | |
| 6342 | + | ||
| 6343 | + | runtime.KeepAlive(TmplVarBytes) | |
| 6244 | 6344 | ||
| 6245 | 6345 | } | |
| 6246 | 6346 | ||
M v4/gio/gfileattribute.go +4 -0
| @@ -51,6 +51,7 @@ var xNewFileAttributeInfoList func() *FileAttributeInfoList | |||
| 51 | 51 | func NewFileAttributeInfoList() *FileAttributeInfoList { | |
| 52 | 52 | ||
| 53 | 53 | cret := xNewFileAttributeInfoList() | |
| 54 | + | ||
| 54 | 55 | return cret | |
| 55 | 56 | } | |
| 56 | 57 | ||
| @@ -70,6 +71,7 @@ var xFileAttributeInfoListDup func(uintptr) *FileAttributeInfoList | |||
| 70 | 71 | func (x *FileAttributeInfoList) Dup() *FileAttributeInfoList { | |
| 71 | 72 | ||
| 72 | 73 | cret := xFileAttributeInfoListDup(x.GoPointer()) | |
| 74 | + | ||
| 73 | 75 | return cret | |
| 74 | 76 | } | |
| 75 | 77 | ||
| @@ -79,6 +81,7 @@ var xFileAttributeInfoListLookup func(uintptr, string) *FileAttributeInfo | |||
| 79 | 81 | func (x *FileAttributeInfoList) Lookup(NameVar string) *FileAttributeInfo { | |
| 80 | 82 | ||
| 81 | 83 | cret := xFileAttributeInfoListLookup(x.GoPointer(), NameVar) | |
| 84 | + | ||
| 82 | 85 | return cret | |
| 83 | 86 | } | |
| 84 | 87 | ||
| @@ -88,6 +91,7 @@ var xFileAttributeInfoListRef func(uintptr) *FileAttributeInfoList | |||
| 88 | 91 | func (x *FileAttributeInfoList) Ref() *FileAttributeInfoList { | |
| 89 | 92 | ||
| 90 | 93 | cret := xFileAttributeInfoListRef(x.GoPointer()) | |
| 94 | + | ||
| 91 | 95 | return cret | |
| 92 | 96 | } | |
| 93 | 97 | ||
M v4/gio/gfileenumerator.go +6 -0
| @@ -419,6 +419,7 @@ func (x *FileEnumerator) Close(CancellableVar *Cancellable) (bool, error) { | |||
| 419 | 419 | var cerr *glib.Error | |
| 420 | 420 | ||
| 421 | 421 | cret := xFileEnumeratorClose(x.GoPointer(), CancellableVar.GoPointer(), &cerr) | |
| 422 | + | ||
| 422 | 423 | if cerr == nil { | |
| 423 | 424 | return cret, nil | |
| 424 | 425 | } | |
| @@ -471,6 +472,7 @@ func (x *FileEnumerator) CloseFinish(ResultVar AsyncResult) (bool, error) { | |||
| 471 | 472 | var cerr *glib.Error | |
| 472 | 473 | ||
| 473 | 474 | cret := xFileEnumeratorCloseFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr) | |
| 475 | + | ||
| 474 | 476 | if cerr == nil { | |
| 475 | 477 | return cret, nil | |
| 476 | 478 | } | |
| @@ -531,6 +533,7 @@ var xFileEnumeratorHasPending func(uintptr) bool | |||
| 531 | 533 | func (x *FileEnumerator) HasPending() bool { | |
| 532 | 534 | ||
| 533 | 535 | cret := xFileEnumeratorHasPending(x.GoPointer()) | |
| 536 | + | ||
| 534 | 537 | return cret | |
| 535 | 538 | } | |
| 536 | 539 | ||
| @@ -540,6 +543,7 @@ var xFileEnumeratorIsClosed func(uintptr) bool | |||
| 540 | 543 | func (x *FileEnumerator) IsClosed() bool { | |
| 541 | 544 | ||
| 542 | 545 | cret := xFileEnumeratorIsClosed(x.GoPointer()) | |
| 546 | + | ||
| 543 | 547 | return cret | |
| 544 | 548 | } | |
| 545 | 549 | ||
| @@ -590,6 +594,7 @@ func (x *FileEnumerator) Iterate(OutInfoVar **FileInfo, OutChildVar **File, Canc | |||
| 590 | 594 | var cerr *glib.Error | |
| 591 | 595 | ||
| 592 | 596 | cret := xFileEnumeratorIterate(x.GoPointer(), OutInfoVar, OutChildVar, CancellableVar.GoPointer(), &cerr) | |
| 597 | + | ||
| 593 | 598 | if cerr == nil { | |
| 594 | 599 | return cret, nil | |
| 595 | 600 | } | |
| @@ -729,6 +734,7 @@ func (x *FileEnumerator) NextFilesFinish(ResultVar AsyncResult) (*glib.List, err | |||
| 729 | 734 | var cerr *glib.Error | |
| 730 | 735 | ||
| 731 | 736 | cret := xFileEnumeratorNextFilesFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr) | |
| 737 | + | ||
| 732 | 738 | if cerr == nil { | |
| 733 | 739 | return cret, nil | |
| 734 | 740 | } | |
M v4/gio/gfileicon.go +4 -0
| @@ -88,6 +88,7 @@ func (c *FileIcon) SetGoPointer(ptr uintptr) { | |||
| 88 | 88 | func (x *FileIcon) Equal(Icon2Var Icon) bool { | |
| 89 | 89 | ||
| 90 | 90 | cret := XGIconEqual(x.GoPointer(), Icon2Var.GoPointer()) | |
| 91 | + | ||
| 91 | 92 | return cret | |
| 92 | 93 | } | |
| 93 | 94 | ||
| @@ -95,6 +96,7 @@ func (x *FileIcon) Equal(Icon2Var Icon) bool { | |||
| 95 | 96 | func (x *FileIcon) Hash() uint { | |
| 96 | 97 | ||
| 97 | 98 | cret := XGIconHash(x.GoPointer()) | |
| 99 | + | ||
| 98 | 100 | return cret | |
| 99 | 101 | } | |
| 100 | 102 | ||
| @@ -106,6 +108,7 @@ func (x *FileIcon) Hash() uint { | |||
| 106 | 108 | func (x *FileIcon) Serialize() *glib.Variant { | |
| 107 | 109 | ||
| 108 | 110 | cret := XGIconSerialize(x.GoPointer()) | |
| 111 | + | ||
| 109 | 112 | return cret | |
| 110 | 113 | } | |
| 111 | 114 | ||
| @@ -128,6 +131,7 @@ func (x *FileIcon) Serialize() *glib.Variant { | |||
| 128 | 131 | func (x *FileIcon) ToString() string { | |
| 129 | 132 | ||
| 130 | 133 | cret := XGIconToString(x.GoPointer()) | |
| 134 | + | ||
| 131 | 135 | return cret | |
| 132 | 136 | } | |
| 133 | 137 | ||
M v4/gio/gfileinfo.go +39 -1
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gio | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "runtime" | |
| 5 | 6 | "structs" | |
| 6 | 7 | "unsafe" | |
| 7 | 8 | ||
| @@ -806,6 +807,7 @@ var xFileInfoGetAccessDateTime func(uintptr) *glib.DateTime | |||
| 806 | 807 | func (x *FileInfo) GetAccessDateTime() *glib.DateTime { | |
| 807 | 808 | ||
| 808 | 809 | cret := xFileInfoGetAccessDateTime(x.GoPointer()) | |
| 810 | + | ||
| 809 | 811 | return cret | |
| 810 | 812 | } | |
| 811 | 813 | ||
| @@ -834,6 +836,7 @@ var xFileInfoGetAttributeAsString func(uintptr, string) string | |||
| 834 | 836 | func (x *FileInfo) GetAttributeAsString(AttributeVar string) string { | |
| 835 | 837 | ||
| 836 | 838 | cret := xFileInfoGetAttributeAsString(x.GoPointer(), AttributeVar) | |
| 839 | + | ||
| 837 | 840 | return cret | |
| 838 | 841 | } | |
| 839 | 842 | ||
| @@ -844,6 +847,7 @@ var xFileInfoGetAttributeBoolean func(uintptr, string) bool | |||
| 844 | 847 | func (x *FileInfo) GetAttributeBoolean(AttributeVar string) bool { | |
| 845 | 848 | ||
| 846 | 849 | cret := xFileInfoGetAttributeBoolean(x.GoPointer(), AttributeVar) | |
| 850 | + | ||
| 847 | 851 | return cret | |
| 848 | 852 | } | |
| 849 | 853 | ||
| @@ -854,6 +858,7 @@ var xFileInfoGetAttributeByteString func(uintptr, string) string | |||
| 854 | 858 | func (x *FileInfo) GetAttributeByteString(AttributeVar string) string { | |
| 855 | 859 | ||
| 856 | 860 | cret := xFileInfoGetAttributeByteString(x.GoPointer(), AttributeVar) | |
| 861 | + | ||
| 857 | 862 | return cret | |
| 858 | 863 | } | |
| 859 | 864 | ||
| @@ -863,6 +868,7 @@ var xFileInfoGetAttributeData func(uintptr, string, *FileAttributeType, *uintptr | |||
| 863 | 868 | func (x *FileInfo) GetAttributeData(AttributeVar string, TypeVar *FileAttributeType, ValuePpVar *uintptr, StatusVar *FileAttributeStatus) bool { | |
| 864 | 869 | ||
| 865 | 870 | cret := xFileInfoGetAttributeData(x.GoPointer(), AttributeVar, TypeVar, ValuePpVar, StatusVar) | |
| 871 | + | ||
| 866 | 872 | return cret | |
| 867 | 873 | } | |
| 868 | 874 | ||
| @@ -877,6 +883,7 @@ var xFileInfoGetAttributeFilePath func(uintptr, string) string | |||
| 877 | 883 | func (x *FileInfo) GetAttributeFilePath(AttributeVar string) string { | |
| 878 | 884 | ||
| 879 | 885 | cret := xFileInfoGetAttributeFilePath(x.GoPointer(), AttributeVar) | |
| 886 | + | ||
| 880 | 887 | return cret | |
| 881 | 888 | } | |
| 882 | 889 | ||
| @@ -888,6 +895,7 @@ var xFileInfoGetAttributeInt32 func(uintptr, string) int32 | |||
| 888 | 895 | func (x *FileInfo) GetAttributeInt32(AttributeVar string) int32 { | |
| 889 | 896 | ||
| 890 | 897 | cret := xFileInfoGetAttributeInt32(x.GoPointer(), AttributeVar) | |
| 898 | + | ||
| 891 | 899 | return cret | |
| 892 | 900 | } | |
| 893 | 901 | ||
| @@ -899,6 +907,7 @@ var xFileInfoGetAttributeInt64 func(uintptr, string) int64 | |||
| 899 | 907 | func (x *FileInfo) GetAttributeInt64(AttributeVar string) int64 { | |
| 900 | 908 | ||
| 901 | 909 | cret := xFileInfoGetAttributeInt64(x.GoPointer(), AttributeVar) | |
| 910 | + | ||
| 902 | 911 | return cret | |
| 903 | 912 | } | |
| 904 | 913 | ||
| @@ -926,6 +935,7 @@ var xFileInfoGetAttributeStatus func(uintptr, string) FileAttributeStatus | |||
| 926 | 935 | func (x *FileInfo) GetAttributeStatus(AttributeVar string) FileAttributeStatus { | |
| 927 | 936 | ||
| 928 | 937 | cret := xFileInfoGetAttributeStatus(x.GoPointer(), AttributeVar) | |
| 938 | + | ||
| 929 | 939 | return cret | |
| 930 | 940 | } | |
| 931 | 941 | ||
| @@ -936,6 +946,7 @@ var xFileInfoGetAttributeString func(uintptr, string) string | |||
| 936 | 946 | func (x *FileInfo) GetAttributeString(AttributeVar string) string { | |
| 937 | 947 | ||
| 938 | 948 | cret := xFileInfoGetAttributeString(x.GoPointer(), AttributeVar) | |
| 949 | + | ||
| 939 | 950 | return cret | |
| 940 | 951 | } | |
| 941 | 952 | ||
| @@ -946,6 +957,7 @@ var xFileInfoGetAttributeStringv func(uintptr, string) []string | |||
| 946 | 957 | func (x *FileInfo) GetAttributeStringv(AttributeVar string) []string { | |
| 947 | 958 | ||
| 948 | 959 | cret := xFileInfoGetAttributeStringv(x.GoPointer(), AttributeVar) | |
| 960 | + | ||
| 949 | 961 | return cret | |
| 950 | 962 | } | |
| 951 | 963 | ||
| @@ -955,6 +967,7 @@ var xFileInfoGetAttributeType func(uintptr, string) FileAttributeType | |||
| 955 | 967 | func (x *FileInfo) GetAttributeType(AttributeVar string) FileAttributeType { | |
| 956 | 968 | ||
| 957 | 969 | cret := xFileInfoGetAttributeType(x.GoPointer(), AttributeVar) | |
| 970 | + | ||
| 958 | 971 | return cret | |
| 959 | 972 | } | |
| 960 | 973 | ||
| @@ -966,6 +979,7 @@ var xFileInfoGetAttributeUint32 func(uintptr, string) uint32 | |||
| 966 | 979 | func (x *FileInfo) GetAttributeUint32(AttributeVar string) uint32 { | |
| 967 | 980 | ||
| 968 | 981 | cret := xFileInfoGetAttributeUint32(x.GoPointer(), AttributeVar) | |
| 982 | + | ||
| 969 | 983 | return cret | |
| 970 | 984 | } | |
| 971 | 985 | ||
| @@ -977,6 +991,7 @@ var xFileInfoGetAttributeUint64 func(uintptr, string) uint64 | |||
| 977 | 991 | func (x *FileInfo) GetAttributeUint64(AttributeVar string) uint64 { | |
| 978 | 992 | ||
| 979 | 993 | cret := xFileInfoGetAttributeUint64(x.GoPointer(), AttributeVar) | |
| 994 | + | ||
| 980 | 995 | return cret | |
| 981 | 996 | } | |
| 982 | 997 | ||
| @@ -989,6 +1004,7 @@ var xFileInfoGetContentType func(uintptr) string | |||
| 989 | 1004 | func (x *FileInfo) GetContentType() string { | |
| 990 | 1005 | ||
| 991 | 1006 | cret := xFileInfoGetContentType(x.GoPointer()) | |
| 1007 | + | ||
| 992 | 1008 | return cret | |
| 993 | 1009 | } | |
| 994 | 1010 | ||
| @@ -1007,6 +1023,7 @@ var xFileInfoGetCreationDateTime func(uintptr) *glib.DateTime | |||
| 1007 | 1023 | func (x *FileInfo) GetCreationDateTime() *glib.DateTime { | |
| 1008 | 1024 | ||
| 1009 | 1025 | cret := xFileInfoGetCreationDateTime(x.GoPointer()) | |
| 1026 | + | ||
| 1010 | 1027 | return cret | |
| 1011 | 1028 | } | |
| 1012 | 1029 | ||
| @@ -1018,6 +1035,7 @@ var xFileInfoGetDeletionDate func(uintptr) *glib.DateTime | |||
| 1018 | 1035 | func (x *FileInfo) GetDeletionDate() *glib.DateTime { | |
| 1019 | 1036 | ||
| 1020 | 1037 | cret := xFileInfoGetDeletionDate(x.GoPointer()) | |
| 1038 | + | ||
| 1021 | 1039 | return cret | |
| 1022 | 1040 | } | |
| 1023 | 1041 | ||
| @@ -1030,6 +1048,7 @@ var xFileInfoGetDisplayName func(uintptr) string | |||
| 1030 | 1048 | func (x *FileInfo) GetDisplayName() string { | |
| 1031 | 1049 | ||
| 1032 | 1050 | cret := xFileInfoGetDisplayName(x.GoPointer()) | |
| 1051 | + | ||
| 1033 | 1052 | return cret | |
| 1034 | 1053 | } | |
| 1035 | 1054 | ||
| @@ -1042,6 +1061,7 @@ var xFileInfoGetEditName func(uintptr) string | |||
| 1042 | 1061 | func (x *FileInfo) GetEditName() string { | |
| 1043 | 1062 | ||
| 1044 | 1063 | cret := xFileInfoGetEditName(x.GoPointer()) | |
| 1064 | + | ||
| 1045 | 1065 | return cret | |
| 1046 | 1066 | } | |
| 1047 | 1067 | ||
| @@ -1055,6 +1075,7 @@ var xFileInfoGetEtag func(uintptr) string | |||
| 1055 | 1075 | func (x *FileInfo) GetEtag() string { | |
| 1056 | 1076 | ||
| 1057 | 1077 | cret := xFileInfoGetEtag(x.GoPointer()) | |
| 1078 | + | ||
| 1058 | 1079 | return cret | |
| 1059 | 1080 | } | |
| 1060 | 1081 | ||
| @@ -1068,6 +1089,7 @@ var xFileInfoGetFileType func(uintptr) FileType | |||
| 1068 | 1089 | func (x *FileInfo) GetFileType() FileType { | |
| 1069 | 1090 | ||
| 1070 | 1091 | cret := xFileInfoGetFileType(x.GoPointer()) | |
| 1092 | + | ||
| 1071 | 1093 | return cret | |
| 1072 | 1094 | } | |
| 1073 | 1095 | ||
| @@ -1100,6 +1122,7 @@ var xFileInfoGetIsBackup func(uintptr) bool | |||
| 1100 | 1122 | func (x *FileInfo) GetIsBackup() bool { | |
| 1101 | 1123 | ||
| 1102 | 1124 | cret := xFileInfoGetIsBackup(x.GoPointer()) | |
| 1125 | + | ||
| 1103 | 1126 | return cret | |
| 1104 | 1127 | } | |
| 1105 | 1128 | ||
| @@ -1112,6 +1135,7 @@ var xFileInfoGetIsHidden func(uintptr) bool | |||
| 1112 | 1135 | func (x *FileInfo) GetIsHidden() bool { | |
| 1113 | 1136 | ||
| 1114 | 1137 | cret := xFileInfoGetIsHidden(x.GoPointer()) | |
| 1138 | + | ||
| 1115 | 1139 | return cret | |
| 1116 | 1140 | } | |
| 1117 | 1141 | ||
| @@ -1124,6 +1148,7 @@ var xFileInfoGetIsSymlink func(uintptr) bool | |||
| 1124 | 1148 | func (x *FileInfo) GetIsSymlink() bool { | |
| 1125 | 1149 | ||
| 1126 | 1150 | cret := xFileInfoGetIsSymlink(x.GoPointer()) | |
| 1151 | + | ||
| 1127 | 1152 | return cret | |
| 1128 | 1153 | } | |
| 1129 | 1154 | ||
| @@ -1142,6 +1167,7 @@ var xFileInfoGetModificationDateTime func(uintptr) *glib.DateTime | |||
| 1142 | 1167 | func (x *FileInfo) GetModificationDateTime() *glib.DateTime { | |
| 1143 | 1168 | ||
| 1144 | 1169 | cret := xFileInfoGetModificationDateTime(x.GoPointer()) | |
| 1170 | + | ||
| 1145 | 1171 | return cret | |
| 1146 | 1172 | } | |
| 1147 | 1173 | ||
| @@ -1168,6 +1194,7 @@ var xFileInfoGetName func(uintptr) string | |||
| 1168 | 1194 | func (x *FileInfo) GetName() string { | |
| 1169 | 1195 | ||
| 1170 | 1196 | cret := xFileInfoGetName(x.GoPointer()) | |
| 1197 | + | ||
| 1171 | 1198 | return cret | |
| 1172 | 1199 | } | |
| 1173 | 1200 | ||
| @@ -1182,6 +1209,7 @@ var xFileInfoGetSize func(uintptr) int64 | |||
| 1182 | 1209 | func (x *FileInfo) GetSize() int64 { | |
| 1183 | 1210 | ||
| 1184 | 1211 | cret := xFileInfoGetSize(x.GoPointer()) | |
| 1212 | + | ||
| 1185 | 1213 | return cret | |
| 1186 | 1214 | } | |
| 1187 | 1215 | ||
| @@ -1195,6 +1223,7 @@ var xFileInfoGetSortOrder func(uintptr) int32 | |||
| 1195 | 1223 | func (x *FileInfo) GetSortOrder() int32 { | |
| 1196 | 1224 | ||
| 1197 | 1225 | cret := xFileInfoGetSortOrder(x.GoPointer()) | |
| 1226 | + | ||
| 1198 | 1227 | return cret | |
| 1199 | 1228 | } | |
| 1200 | 1229 | ||
| @@ -1227,6 +1256,7 @@ var xFileInfoGetSymlinkTarget func(uintptr) string | |||
| 1227 | 1256 | func (x *FileInfo) GetSymlinkTarget() string { | |
| 1228 | 1257 | ||
| 1229 | 1258 | cret := xFileInfoGetSymlinkTarget(x.GoPointer()) | |
| 1259 | + | ||
| 1230 | 1260 | return cret | |
| 1231 | 1261 | } | |
| 1232 | 1262 | ||
| @@ -1236,6 +1266,7 @@ var xFileInfoHasAttribute func(uintptr, string) bool | |||
| 1236 | 1266 | func (x *FileInfo) HasAttribute(AttributeVar string) bool { | |
| 1237 | 1267 | ||
| 1238 | 1268 | cret := xFileInfoHasAttribute(x.GoPointer(), AttributeVar) | |
| 1269 | + | ||
| 1239 | 1270 | return cret | |
| 1240 | 1271 | } | |
| 1241 | 1272 | ||
| @@ -1246,6 +1277,7 @@ var xFileInfoHasNamespace func(uintptr, string) bool | |||
| 1246 | 1277 | func (x *FileInfo) HasNamespace(NameSpaceVar string) bool { | |
| 1247 | 1278 | ||
| 1248 | 1279 | cret := xFileInfoHasNamespace(x.GoPointer(), NameSpaceVar) | |
| 1280 | + | ||
| 1249 | 1281 | return cret | |
| 1250 | 1282 | } | |
| 1251 | 1283 | ||
| @@ -1254,7 +1286,12 @@ var xFileInfoListAttributes func(uintptr, uintptr) []string | |||
| 1254 | 1286 | // Lists the file info structure's attributes. | |
| 1255 | 1287 | func (x *FileInfo) ListAttributes(NameSpaceVar *string) []string { | |
| 1256 | 1288 | ||
| 1257 | - | cret := xFileInfoListAttributes(x.GoPointer(), core.NullableStringToPtr(NameSpaceVar)) | |
| 1289 | + | NameSpaceVarPtr, NameSpaceVarBytes := core.NullableStringToPtr(NameSpaceVar) | |
| 1290 | + | ||
| 1291 | + | cret := xFileInfoListAttributes(x.GoPointer(), NameSpaceVarPtr) | |
| 1292 | + | ||
| 1293 | + | runtime.KeepAlive(NameSpaceVarBytes) | |
| 1294 | + | ||
| 1258 | 1295 | return cret | |
| 1259 | 1296 | } | |
| 1260 | 1297 | ||
| @@ -1373,6 +1410,7 @@ var xFileInfoSetAttributeStatus func(uintptr, string, FileAttributeStatus) bool | |||
| 1373 | 1410 | func (x *FileInfo) SetAttributeStatus(AttributeVar string, StatusVar FileAttributeStatus) bool { | |
| 1374 | 1411 | ||
| 1375 | 1412 | cret := xFileInfoSetAttributeStatus(x.GoPointer(), AttributeVar, StatusVar) | |
| 1413 | + | ||
| 1376 | 1414 | return cret | |
| 1377 | 1415 | } | |
| 1378 | 1416 | ||
M v4/gio/gfileinputstream.go +5 -0
| @@ -444,6 +444,7 @@ func (c *FileInputStream) SetGoPointer(ptr uintptr) { | |||
| 444 | 444 | func (x *FileInputStream) CanSeek() bool { | |
| 445 | 445 | ||
| 446 | 446 | cret := XGSeekableCanSeek(x.GoPointer()) | |
| 447 | + | ||
| 447 | 448 | return cret | |
| 448 | 449 | } | |
| 449 | 450 | ||
| @@ -452,6 +453,7 @@ func (x *FileInputStream) CanSeek() bool { | |||
| 452 | 453 | func (x *FileInputStream) CanTruncate() bool { | |
| 453 | 454 | ||
| 454 | 455 | cret := XGSeekableCanTruncate(x.GoPointer()) | |
| 456 | + | ||
| 455 | 457 | return cret | |
| 456 | 458 | } | |
| 457 | 459 | ||
| @@ -473,6 +475,7 @@ func (x *FileInputStream) Seek(OffsetVar int64, TypeVar glib.SeekType, Cancellab | |||
| 473 | 475 | var cerr *glib.Error | |
| 474 | 476 | ||
| 475 | 477 | cret := XGSeekableSeek(x.GoPointer(), OffsetVar, TypeVar, CancellableVar.GoPointer(), &cerr) | |
| 478 | + | ||
| 476 | 479 | if cerr == nil { | |
| 477 | 480 | return cret, nil | |
| 478 | 481 | } | |
| @@ -484,6 +487,7 @@ func (x *FileInputStream) Seek(OffsetVar int64, TypeVar glib.SeekType, Cancellab | |||
| 484 | 487 | func (x *FileInputStream) Tell() int64 { | |
| 485 | 488 | ||
| 486 | 489 | cret := XGSeekableTell(x.GoPointer()) | |
| 490 | + | ||
| 487 | 491 | return cret | |
| 488 | 492 | } | |
| 489 | 493 | ||
| @@ -500,6 +504,7 @@ func (x *FileInputStream) Truncate(OffsetVar int64, CancellableVar *Cancellable) | |||
| 500 | 504 | var cerr *glib.Error | |
| 501 | 505 | ||
| 502 | 506 | cret := XGSeekableTruncate(x.GoPointer(), OffsetVar, CancellableVar.GoPointer(), &cerr) | |
| 507 | + | ||
| 503 | 508 | if cerr == nil { | |
| 504 | 509 | return cret, nil | |
| 505 | 510 | } | |
M v4/gio/gfileiostream.go +6 -0
| @@ -442,6 +442,7 @@ var xFileIOStreamGetEtag func(uintptr) string | |||
| 442 | 442 | func (x *FileIOStream) GetEtag() string { | |
| 443 | 443 | ||
| 444 | 444 | cret := xFileIOStreamGetEtag(x.GoPointer()) | |
| 445 | + | ||
| 445 | 446 | return cret | |
| 446 | 447 | } | |
| 447 | 448 | ||
| @@ -548,6 +549,7 @@ func (c *FileIOStream) SetGoPointer(ptr uintptr) { | |||
| 548 | 549 | func (x *FileIOStream) CanSeek() bool { | |
| 549 | 550 | ||
| 550 | 551 | cret := XGSeekableCanSeek(x.GoPointer()) | |
| 552 | + | ||
| 551 | 553 | return cret | |
| 552 | 554 | } | |
| 553 | 555 | ||
| @@ -556,6 +558,7 @@ func (x *FileIOStream) CanSeek() bool { | |||
| 556 | 558 | func (x *FileIOStream) CanTruncate() bool { | |
| 557 | 559 | ||
| 558 | 560 | cret := XGSeekableCanTruncate(x.GoPointer()) | |
| 561 | + | ||
| 559 | 562 | return cret | |
| 560 | 563 | } | |
| 561 | 564 | ||
| @@ -577,6 +580,7 @@ func (x *FileIOStream) Seek(OffsetVar int64, TypeVar glib.SeekType, CancellableV | |||
| 577 | 580 | var cerr *glib.Error | |
| 578 | 581 | ||
| 579 | 582 | cret := XGSeekableSeek(x.GoPointer(), OffsetVar, TypeVar, CancellableVar.GoPointer(), &cerr) | |
| 583 | + | ||
| 580 | 584 | if cerr == nil { | |
| 581 | 585 | return cret, nil | |
| 582 | 586 | } | |
| @@ -588,6 +592,7 @@ func (x *FileIOStream) Seek(OffsetVar int64, TypeVar glib.SeekType, CancellableV | |||
| 588 | 592 | func (x *FileIOStream) Tell() int64 { | |
| 589 | 593 | ||
| 590 | 594 | cret := XGSeekableTell(x.GoPointer()) | |
| 595 | + | ||
| 591 | 596 | return cret | |
| 592 | 597 | } | |
| 593 | 598 | ||
| @@ -604,6 +609,7 @@ func (x *FileIOStream) Truncate(OffsetVar int64, CancellableVar *Cancellable) (b | |||
| 604 | 609 | var cerr *glib.Error | |
| 605 | 610 | ||
| 606 | 611 | cret := XGSeekableTruncate(x.GoPointer(), OffsetVar, CancellableVar.GoPointer(), &cerr) | |
| 612 | + | ||
| 607 | 613 | if cerr == nil { | |
| 608 | 614 | return cret, nil | |
| 609 | 615 | } | |
M v4/gio/gfilemonitor.go +2 -0
| @@ -240,6 +240,7 @@ var xFileMonitorCancel func(uintptr) bool | |||
| 240 | 240 | func (x *FileMonitor) Cancel() bool { | |
| 241 | 241 | ||
| 242 | 242 | cret := xFileMonitorCancel(x.GoPointer()) | |
| 243 | + | ||
| 243 | 244 | return cret | |
| 244 | 245 | } | |
| 245 | 246 | ||
| @@ -264,6 +265,7 @@ var xFileMonitorIsCancelled func(uintptr) bool | |||
| 264 | 265 | func (x *FileMonitor) IsCancelled() bool { | |
| 265 | 266 | ||
| 266 | 267 | cret := xFileMonitorIsCancelled(x.GoPointer()) | |
| 268 | + | ||
| 267 | 269 | return cret | |
| 268 | 270 | } | |
| 269 | 271 | ||
M v4/gio/gfilenamecompleter.go +2 -0
| @@ -166,6 +166,7 @@ var xFilenameCompleterGetCompletionSuffix func(uintptr, string) string | |||
| 166 | 166 | func (x *FilenameCompleter) GetCompletionSuffix(InitialTextVar string) string { | |
| 167 | 167 | ||
| 168 | 168 | cret := xFilenameCompleterGetCompletionSuffix(x.GoPointer(), InitialTextVar) | |
| 169 | + | ||
| 169 | 170 | return cret | |
| 170 | 171 | } | |
| 171 | 172 | ||
| @@ -175,6 +176,7 @@ var xFilenameCompleterGetCompletions func(uintptr, string) []string | |||
| 175 | 176 | func (x *FilenameCompleter) GetCompletions(InitialTextVar string) []string { | |
| 176 | 177 | ||
| 177 | 178 | cret := xFilenameCompleterGetCompletions(x.GoPointer(), InitialTextVar) | |
| 179 | + | ||
| 178 | 180 | return cret | |
| 179 | 181 | } | |
| 180 | 182 | ||
M v4/gio/gfileoutputstream.go +6 -0
| @@ -437,6 +437,7 @@ var xFileOutputStreamGetEtag func(uintptr) string | |||
| 437 | 437 | func (x *FileOutputStream) GetEtag() string { | |
| 438 | 438 | ||
| 439 | 439 | cret := xFileOutputStreamGetEtag(x.GoPointer()) | |
| 440 | + | ||
| 440 | 441 | return cret | |
| 441 | 442 | } | |
| 442 | 443 | ||
| @@ -543,6 +544,7 @@ func (c *FileOutputStream) SetGoPointer(ptr uintptr) { | |||
| 543 | 544 | func (x *FileOutputStream) CanSeek() bool { | |
| 544 | 545 | ||
| 545 | 546 | cret := XGSeekableCanSeek(x.GoPointer()) | |
| 547 | + | ||
| 546 | 548 | return cret | |
| 547 | 549 | } | |
| 548 | 550 | ||
| @@ -551,6 +553,7 @@ func (x *FileOutputStream) CanSeek() bool { | |||
| 551 | 553 | func (x *FileOutputStream) CanTruncate() bool { | |
| 552 | 554 | ||
| 553 | 555 | cret := XGSeekableCanTruncate(x.GoPointer()) | |
| 556 | + | ||
| 554 | 557 | return cret | |
| 555 | 558 | } | |
| 556 | 559 | ||
| @@ -572,6 +575,7 @@ func (x *FileOutputStream) Seek(OffsetVar int64, TypeVar glib.SeekType, Cancella | |||
| 572 | 575 | var cerr *glib.Error | |
| 573 | 576 | ||
| 574 | 577 | cret := XGSeekableSeek(x.GoPointer(), OffsetVar, TypeVar, CancellableVar.GoPointer(), &cerr) | |
| 578 | + | ||
| 575 | 579 | if cerr == nil { | |
| 576 | 580 | return cret, nil | |
| 577 | 581 | } | |
| @@ -583,6 +587,7 @@ func (x *FileOutputStream) Seek(OffsetVar int64, TypeVar glib.SeekType, Cancella | |||
| 583 | 587 | func (x *FileOutputStream) Tell() int64 { | |
| 584 | 588 | ||
| 585 | 589 | cret := XGSeekableTell(x.GoPointer()) | |
| 590 | + | ||
| 586 | 591 | return cret | |
| 587 | 592 | } | |
| 588 | 593 | ||
| @@ -599,6 +604,7 @@ func (x *FileOutputStream) Truncate(OffsetVar int64, CancellableVar *Cancellable | |||
| 599 | 604 | var cerr *glib.Error | |
| 600 | 605 | ||
| 601 | 606 | cret := XGSeekableTruncate(x.GoPointer(), OffsetVar, CancellableVar.GoPointer(), &cerr) | |
| 607 | + | ||
| 602 | 608 | if cerr == nil { | |
| 603 | 609 | return cret, nil | |
| 604 | 610 | } | |
M v4/gio/gfilterinputstream.go +1 -0
| @@ -140,6 +140,7 @@ var xFilterInputStreamGetCloseBaseStream func(uintptr) bool | |||
| 140 | 140 | func (x *FilterInputStream) GetCloseBaseStream() bool { | |
| 141 | 141 | ||
| 142 | 142 | cret := xFilterInputStreamGetCloseBaseStream(x.GoPointer()) | |
| 143 | + | ||
| 143 | 144 | return cret | |
| 144 | 145 | } | |
| 145 | 146 | ||
M v4/gio/gfilteroutputstream.go +1 -0
| @@ -140,6 +140,7 @@ var xFilterOutputStreamGetCloseBaseStream func(uintptr) bool | |||
| 140 | 140 | func (x *FilterOutputStream) GetCloseBaseStream() bool { | |
| 141 | 141 | ||
| 142 | 142 | cret := xFilterOutputStreamGetCloseBaseStream(x.GoPointer()) | |
| 143 | + | ||
| 143 | 144 | return cret | |
| 144 | 145 | } | |
| 145 | 146 | ||
M v4/gio/gicon.go +4 -0
| @@ -241,6 +241,7 @@ func (x *IconBase) SetGoPointer(ptr uintptr) { | |||
| 241 | 241 | func (x *IconBase) Equal(Icon2Var Icon) bool { | |
| 242 | 242 | ||
| 243 | 243 | cret := XGIconEqual(x.GoPointer(), Icon2Var.GoPointer()) | |
| 244 | + | ||
| 244 | 245 | return cret | |
| 245 | 246 | } | |
| 246 | 247 | ||
| @@ -248,6 +249,7 @@ func (x *IconBase) Equal(Icon2Var Icon) bool { | |||
| 248 | 249 | func (x *IconBase) Hash() uint { | |
| 249 | 250 | ||
| 250 | 251 | cret := XGIconHash(x.GoPointer()) | |
| 252 | + | ||
| 251 | 253 | return cret | |
| 252 | 254 | } | |
| 253 | 255 | ||
| @@ -259,6 +261,7 @@ func (x *IconBase) Hash() uint { | |||
| 259 | 261 | func (x *IconBase) Serialize() *glib.Variant { | |
| 260 | 262 | ||
| 261 | 263 | cret := XGIconSerialize(x.GoPointer()) | |
| 264 | + | ||
| 262 | 265 | return cret | |
| 263 | 266 | } | |
| 264 | 267 | ||
| @@ -281,6 +284,7 @@ func (x *IconBase) Serialize() *glib.Variant { | |||
| 281 | 284 | func (x *IconBase) ToString() string { | |
| 282 | 285 | ||
| 283 | 286 | cret := XGIconToString(x.GoPointer()) | |
| 287 | + | ||
| 284 | 288 | return cret | |
| 285 | 289 | } | |
| 286 | 290 | ||
M v4/gio/ginetaddress.go +17 -0
| @@ -202,6 +202,7 @@ var xInetAddressEqual func(uintptr, uintptr) bool | |||
| 202 | 202 | func (x *InetAddress) Equal(OtherAddressVar *InetAddress) bool { | |
| 203 | 203 | ||
| 204 | 204 | cret := xInetAddressEqual(x.GoPointer(), OtherAddressVar.GoPointer()) | |
| 205 | + | ||
| 205 | 206 | return cret | |
| 206 | 207 | } | |
| 207 | 208 | ||
| @@ -211,6 +212,7 @@ var xInetAddressGetFamily func(uintptr) SocketFamily | |||
| 211 | 212 | func (x *InetAddress) GetFamily() SocketFamily { | |
| 212 | 213 | ||
| 213 | 214 | cret := xInetAddressGetFamily(x.GoPointer()) | |
| 215 | + | ||
| 214 | 216 | return cret | |
| 215 | 217 | } | |
| 216 | 218 | ||
| @@ -220,6 +222,7 @@ var xInetAddressGetFlowinfo func(uintptr) uint32 | |||
| 220 | 222 | func (x *InetAddress) GetFlowinfo() uint32 { | |
| 221 | 223 | ||
| 222 | 224 | cret := xInetAddressGetFlowinfo(x.GoPointer()) | |
| 225 | + | ||
| 223 | 226 | return cret | |
| 224 | 227 | } | |
| 225 | 228 | ||
| @@ -229,6 +232,7 @@ var xInetAddressGetIsAny func(uintptr) bool | |||
| 229 | 232 | func (x *InetAddress) GetIsAny() bool { | |
| 230 | 233 | ||
| 231 | 234 | cret := xInetAddressGetIsAny(x.GoPointer()) | |
| 235 | + | ||
| 232 | 236 | return cret | |
| 233 | 237 | } | |
| 234 | 238 | ||
| @@ -240,6 +244,7 @@ var xInetAddressGetIsLinkLocal func(uintptr) bool | |||
| 240 | 244 | func (x *InetAddress) GetIsLinkLocal() bool { | |
| 241 | 245 | ||
| 242 | 246 | cret := xInetAddressGetIsLinkLocal(x.GoPointer()) | |
| 247 | + | ||
| 243 | 248 | return cret | |
| 244 | 249 | } | |
| 245 | 250 | ||
| @@ -249,6 +254,7 @@ var xInetAddressGetIsLoopback func(uintptr) bool | |||
| 249 | 254 | func (x *InetAddress) GetIsLoopback() bool { | |
| 250 | 255 | ||
| 251 | 256 | cret := xInetAddressGetIsLoopback(x.GoPointer()) | |
| 257 | + | ||
| 252 | 258 | return cret | |
| 253 | 259 | } | |
| 254 | 260 | ||
| @@ -258,6 +264,7 @@ var xInetAddressGetIsMcGlobal func(uintptr) bool | |||
| 258 | 264 | func (x *InetAddress) GetIsMcGlobal() bool { | |
| 259 | 265 | ||
| 260 | 266 | cret := xInetAddressGetIsMcGlobal(x.GoPointer()) | |
| 267 | + | ||
| 261 | 268 | return cret | |
| 262 | 269 | } | |
| 263 | 270 | ||
| @@ -267,6 +274,7 @@ var xInetAddressGetIsMcLinkLocal func(uintptr) bool | |||
| 267 | 274 | func (x *InetAddress) GetIsMcLinkLocal() bool { | |
| 268 | 275 | ||
| 269 | 276 | cret := xInetAddressGetIsMcLinkLocal(x.GoPointer()) | |
| 277 | + | ||
| 270 | 278 | return cret | |
| 271 | 279 | } | |
| 272 | 280 | ||
| @@ -276,6 +284,7 @@ var xInetAddressGetIsMcNodeLocal func(uintptr) bool | |||
| 276 | 284 | func (x *InetAddress) GetIsMcNodeLocal() bool { | |
| 277 | 285 | ||
| 278 | 286 | cret := xInetAddressGetIsMcNodeLocal(x.GoPointer()) | |
| 287 | + | ||
| 279 | 288 | return cret | |
| 280 | 289 | } | |
| 281 | 290 | ||
| @@ -285,6 +294,7 @@ var xInetAddressGetIsMcOrgLocal func(uintptr) bool | |||
| 285 | 294 | func (x *InetAddress) GetIsMcOrgLocal() bool { | |
| 286 | 295 | ||
| 287 | 296 | cret := xInetAddressGetIsMcOrgLocal(x.GoPointer()) | |
| 297 | + | ||
| 288 | 298 | return cret | |
| 289 | 299 | } | |
| 290 | 300 | ||
| @@ -294,6 +304,7 @@ var xInetAddressGetIsMcSiteLocal func(uintptr) bool | |||
| 294 | 304 | func (x *InetAddress) GetIsMcSiteLocal() bool { | |
| 295 | 305 | ||
| 296 | 306 | cret := xInetAddressGetIsMcSiteLocal(x.GoPointer()) | |
| 307 | + | ||
| 297 | 308 | return cret | |
| 298 | 309 | } | |
| 299 | 310 | ||
| @@ -303,6 +314,7 @@ var xInetAddressGetIsMulticast func(uintptr) bool | |||
| 303 | 314 | func (x *InetAddress) GetIsMulticast() bool { | |
| 304 | 315 | ||
| 305 | 316 | cret := xInetAddressGetIsMulticast(x.GoPointer()) | |
| 317 | + | ||
| 306 | 318 | return cret | |
| 307 | 319 | } | |
| 308 | 320 | ||
| @@ -315,6 +327,7 @@ var xInetAddressGetIsSiteLocal func(uintptr) bool | |||
| 315 | 327 | func (x *InetAddress) GetIsSiteLocal() bool { | |
| 316 | 328 | ||
| 317 | 329 | cret := xInetAddressGetIsSiteLocal(x.GoPointer()) | |
| 330 | + | ||
| 318 | 331 | return cret | |
| 319 | 332 | } | |
| 320 | 333 | ||
| @@ -325,6 +338,7 @@ var xInetAddressGetNativeSize func(uintptr) uint | |||
| 325 | 338 | func (x *InetAddress) GetNativeSize() uint { | |
| 326 | 339 | ||
| 327 | 340 | cret := xInetAddressGetNativeSize(x.GoPointer()) | |
| 341 | + | ||
| 328 | 342 | return cret | |
| 329 | 343 | } | |
| 330 | 344 | ||
| @@ -334,6 +348,7 @@ var xInetAddressGetScopeId func(uintptr) uint32 | |||
| 334 | 348 | func (x *InetAddress) GetScopeId() uint32 { | |
| 335 | 349 | ||
| 336 | 350 | cret := xInetAddressGetScopeId(x.GoPointer()) | |
| 351 | + | ||
| 337 | 352 | return cret | |
| 338 | 353 | } | |
| 339 | 354 | ||
| @@ -343,6 +358,7 @@ var xInetAddressToBytes func(uintptr) byte | |||
| 343 | 358 | func (x *InetAddress) ToBytes() byte { | |
| 344 | 359 | ||
| 345 | 360 | cret := xInetAddressToBytes(x.GoPointer()) | |
| 361 | + | ||
| 346 | 362 | return cret | |
| 347 | 363 | } | |
| 348 | 364 | ||
| @@ -352,6 +368,7 @@ var xInetAddressToString func(uintptr) string | |||
| 352 | 368 | func (x *InetAddress) ToString() string { | |
| 353 | 369 | ||
| 354 | 370 | cret := xInetAddressToString(x.GoPointer()) | |
| 371 | + | ||
| 355 | 372 | return cret | |
| 356 | 373 | } | |
| 357 | 374 | ||
M v4/gio/ginetaddressmask.go +6 -0
| @@ -102,6 +102,7 @@ var xInetAddressMaskEqual func(uintptr, uintptr) bool | |||
| 102 | 102 | func (x *InetAddressMask) Equal(Mask2Var *InetAddressMask) bool { | |
| 103 | 103 | ||
| 104 | 104 | cret := xInetAddressMaskEqual(x.GoPointer(), Mask2Var.GoPointer()) | |
| 105 | + | ||
| 105 | 106 | return cret | |
| 106 | 107 | } | |
| 107 | 108 | ||
| @@ -128,6 +129,7 @@ var xInetAddressMaskGetFamily func(uintptr) SocketFamily | |||
| 128 | 129 | func (x *InetAddressMask) GetFamily() SocketFamily { | |
| 129 | 130 | ||
| 130 | 131 | cret := xInetAddressMaskGetFamily(x.GoPointer()) | |
| 132 | + | ||
| 131 | 133 | return cret | |
| 132 | 134 | } | |
| 133 | 135 | ||
| @@ -137,6 +139,7 @@ var xInetAddressMaskGetLength func(uintptr) uint | |||
| 137 | 139 | func (x *InetAddressMask) GetLength() uint { | |
| 138 | 140 | ||
| 139 | 141 | cret := xInetAddressMaskGetLength(x.GoPointer()) | |
| 142 | + | ||
| 140 | 143 | return cret | |
| 141 | 144 | } | |
| 142 | 145 | ||
| @@ -146,6 +149,7 @@ var xInetAddressMaskMatches func(uintptr, uintptr) bool | |||
| 146 | 149 | func (x *InetAddressMask) Matches(AddressVar *InetAddress) bool { | |
| 147 | 150 | ||
| 148 | 151 | cret := xInetAddressMaskMatches(x.GoPointer(), AddressVar.GoPointer()) | |
| 152 | + | ||
| 149 | 153 | return cret | |
| 150 | 154 | } | |
| 151 | 155 | ||
| @@ -155,6 +159,7 @@ var xInetAddressMaskToString func(uintptr) string | |||
| 155 | 159 | func (x *InetAddressMask) ToString() string { | |
| 156 | 160 | ||
| 157 | 161 | cret := xInetAddressMaskToString(x.GoPointer()) | |
| 162 | + | ||
| 158 | 163 | return cret | |
| 159 | 164 | } | |
| 160 | 165 | ||
| @@ -228,6 +233,7 @@ func (x *InetAddressMask) Init(CancellableVar *Cancellable) (bool, error) { | |||
| 228 | 233 | var cerr *glib.Error | |
| 229 | 234 | ||
| 230 | 235 | cret := XGInitableInit(x.GoPointer(), CancellableVar.GoPointer(), &cerr) | |
| 236 | + | ||
| 231 | 237 | if cerr == nil { | |
| 232 | 238 | return cret, nil | |
| 233 | 239 | } | |
M v4/gio/ginetsocketaddress.go +4 -0
| @@ -112,6 +112,7 @@ var xInetSocketAddressGetFlowinfo func(uintptr) uint32 | |||
| 112 | 112 | func (x *InetSocketAddress) GetFlowinfo() uint32 { | |
| 113 | 113 | ||
| 114 | 114 | cret := xInetSocketAddressGetFlowinfo(x.GoPointer()) | |
| 115 | + | ||
| 115 | 116 | return cret | |
| 116 | 117 | } | |
| 117 | 118 | ||
| @@ -121,6 +122,7 @@ var xInetSocketAddressGetPort func(uintptr) uint16 | |||
| 121 | 122 | func (x *InetSocketAddress) GetPort() uint16 { | |
| 122 | 123 | ||
| 123 | 124 | cret := xInetSocketAddressGetPort(x.GoPointer()) | |
| 125 | + | ||
| 124 | 126 | return cret | |
| 125 | 127 | } | |
| 126 | 128 | ||
| @@ -133,6 +135,7 @@ var xInetSocketAddressGetScopeId func(uintptr) uint32 | |||
| 133 | 135 | func (x *InetSocketAddress) GetScopeId() uint32 { | |
| 134 | 136 | ||
| 135 | 137 | cret := xInetSocketAddressGetScopeId(x.GoPointer()) | |
| 138 | + | ||
| 136 | 139 | return cret | |
| 137 | 140 | } | |
| 138 | 141 | ||
| @@ -250,6 +253,7 @@ func (x *InetSocketAddress) ProxyEnumerate() *SocketAddressEnumerator { | |||
| 250 | 253 | func (x *InetSocketAddress) ToString() string { | |
| 251 | 254 | ||
| 252 | 255 | cret := XGSocketConnectableToString(x.GoPointer()) | |
| 256 | + | ||
| 253 | 257 | return cret | |
| 254 | 258 | } | |
| 255 | 259 | ||
M v4/gio/ginitable.go +1 -0
| @@ -144,6 +144,7 @@ func (x *InitableBase) Init(CancellableVar *Cancellable) (bool, error) { | |||
| 144 | 144 | var cerr *glib.Error | |
| 145 | 145 | ||
| 146 | 146 | cret := XGInitableInit(x.GoPointer(), CancellableVar.GoPointer(), &cerr) | |
| 147 | + | ||
| 147 | 148 | if cerr == nil { | |
| 148 | 149 | return cret, nil | |
| 149 | 150 | } | |
M v4/gio/ginputstream.go +13 -0
| @@ -447,6 +447,7 @@ func (x *InputStream) Close(CancellableVar *Cancellable) (bool, error) { | |||
| 447 | 447 | var cerr *glib.Error | |
| 448 | 448 | ||
| 449 | 449 | cret := xInputStreamClose(x.GoPointer(), CancellableVar.GoPointer(), &cerr) | |
| 450 | + | ||
| 450 | 451 | if cerr == nil { | |
| 451 | 452 | return cret, nil | |
| 452 | 453 | } | |
| @@ -494,6 +495,7 @@ func (x *InputStream) CloseFinish(ResultVar AsyncResult) (bool, error) { | |||
| 494 | 495 | var cerr *glib.Error | |
| 495 | 496 | ||
| 496 | 497 | cret := xInputStreamCloseFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr) | |
| 498 | + | ||
| 497 | 499 | if cerr == nil { | |
| 498 | 500 | return cret, nil | |
| 499 | 501 | } | |
| @@ -507,6 +509,7 @@ var xInputStreamHasPending func(uintptr) bool | |||
| 507 | 509 | func (x *InputStream) HasPending() bool { | |
| 508 | 510 | ||
| 509 | 511 | cret := xInputStreamHasPending(x.GoPointer()) | |
| 512 | + | ||
| 510 | 513 | return cret | |
| 511 | 514 | } | |
| 512 | 515 | ||
| @@ -516,6 +519,7 @@ var xInputStreamIsClosed func(uintptr) bool | |||
| 516 | 519 | func (x *InputStream) IsClosed() bool { | |
| 517 | 520 | ||
| 518 | 521 | cret := xInputStreamIsClosed(x.GoPointer()) | |
| 522 | + | ||
| 519 | 523 | return cret | |
| 520 | 524 | } | |
| 521 | 525 | ||
| @@ -546,6 +550,7 @@ func (x *InputStream) Read(BufferVar *[]byte, CountVar uint, CancellableVar *Can | |||
| 546 | 550 | var cerr *glib.Error | |
| 547 | 551 | ||
| 548 | 552 | cret := xInputStreamRead(x.GoPointer(), BufferVar, CountVar, CancellableVar.GoPointer(), &cerr) | |
| 553 | + | ||
| 549 | 554 | if cerr == nil { | |
| 550 | 555 | return cret, nil | |
| 551 | 556 | } | |
| @@ -578,6 +583,7 @@ func (x *InputStream) ReadAll(BufferVar *[]byte, CountVar uint, BytesReadVar *ui | |||
| 578 | 583 | var cerr *glib.Error | |
| 579 | 584 | ||
| 580 | 585 | cret := xInputStreamReadAll(x.GoPointer(), BufferVar, CountVar, BytesReadVar, CancellableVar.GoPointer(), &cerr) | |
| 586 | + | ||
| 581 | 587 | if cerr == nil { | |
| 582 | 588 | return cret, nil | |
| 583 | 589 | } | |
| @@ -633,6 +639,7 @@ func (x *InputStream) ReadAllFinish(ResultVar AsyncResult, BytesReadVar *uint) ( | |||
| 633 | 639 | var cerr *glib.Error | |
| 634 | 640 | ||
| 635 | 641 | cret := xInputStreamReadAllFinish(x.GoPointer(), ResultVar.GoPointer(), BytesReadVar, &cerr) | |
| 642 | + | ||
| 636 | 643 | if cerr == nil { | |
| 637 | 644 | return cret, nil | |
| 638 | 645 | } | |
| @@ -715,6 +722,7 @@ func (x *InputStream) ReadBytes(CountVar uint, CancellableVar *Cancellable) (*gl | |||
| 715 | 722 | var cerr *glib.Error | |
| 716 | 723 | ||
| 717 | 724 | cret := xInputStreamReadBytes(x.GoPointer(), CountVar, CancellableVar.GoPointer(), &cerr) | |
| 725 | + | ||
| 718 | 726 | if cerr == nil { | |
| 719 | 727 | return cret, nil | |
| 720 | 728 | } | |
| @@ -772,6 +780,7 @@ func (x *InputStream) ReadBytesFinish(ResultVar AsyncResult) (*glib.Bytes, error | |||
| 772 | 780 | var cerr *glib.Error | |
| 773 | 781 | ||
| 774 | 782 | cret := xInputStreamReadBytesFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr) | |
| 783 | + | ||
| 775 | 784 | if cerr == nil { | |
| 776 | 785 | return cret, nil | |
| 777 | 786 | } | |
| @@ -786,6 +795,7 @@ func (x *InputStream) ReadFinish(ResultVar AsyncResult) (int, error) { | |||
| 786 | 795 | var cerr *glib.Error | |
| 787 | 796 | ||
| 788 | 797 | cret := xInputStreamReadFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr) | |
| 798 | + | ||
| 789 | 799 | if cerr == nil { | |
| 790 | 800 | return cret, nil | |
| 791 | 801 | } | |
| @@ -802,6 +812,7 @@ func (x *InputStream) SetPending() (bool, error) { | |||
| 802 | 812 | var cerr *glib.Error | |
| 803 | 813 | ||
| 804 | 814 | cret := xInputStreamSetPending(x.GoPointer()) | |
| 815 | + | ||
| 805 | 816 | if cerr == nil { | |
| 806 | 817 | return cret, nil | |
| 807 | 818 | } | |
| @@ -829,6 +840,7 @@ func (x *InputStream) Skip(CountVar uint, CancellableVar *Cancellable) (int, err | |||
| 829 | 840 | var cerr *glib.Error | |
| 830 | 841 | ||
| 831 | 842 | cret := xInputStreamSkip(x.GoPointer(), CountVar, CancellableVar.GoPointer(), &cerr) | |
| 843 | + | ||
| 832 | 844 | if cerr == nil { | |
| 833 | 845 | return cret, nil | |
| 834 | 846 | } | |
| @@ -889,6 +901,7 @@ func (x *InputStream) SkipFinish(ResultVar AsyncResult) (int, error) { | |||
| 889 | 901 | var cerr *glib.Error | |
| 890 | 902 | ||
| 891 | 903 | cret := xInputStreamSkipFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr) | |
| 904 | + | ||
| 892 | 905 | if cerr == nil { | |
| 893 | 906 | return cret, nil | |
| 894 | 907 | } | |
M v4/gio/gioerror.go +3 -0
| @@ -32,6 +32,7 @@ var xIoErrorFromErrno func(int) IOErrorEnum | |||
| 32 | 32 | func IoErrorFromErrno(ErrNoVar int) IOErrorEnum { | |
| 33 | 33 | ||
| 34 | 34 | cret := xIoErrorFromErrno(ErrNoVar) | |
| 35 | + | ||
| 35 | 36 | return cret | |
| 36 | 37 | } | |
| 37 | 38 | ||
| @@ -41,6 +42,7 @@ var xIoErrorFromFileError func(glib.FileError) IOErrorEnum | |||
| 41 | 42 | func IoErrorFromFileError(FileErrorVar glib.FileError) IOErrorEnum { | |
| 42 | 43 | ||
| 43 | 44 | cret := xIoErrorFromFileError(FileErrorVar) | |
| 45 | + | ||
| 44 | 46 | return cret | |
| 45 | 47 | } | |
| 46 | 48 | ||
| @@ -50,6 +52,7 @@ var xIoErrorQuark func() glib.Quark | |||
| 50 | 52 | func IoErrorQuark() glib.Quark { | |
| 51 | 53 | ||
| 52 | 54 | cret := xIoErrorQuark() | |
| 55 | + | ||
| 53 | 56 | return cret | |
| 54 | 57 | } | |
| 55 | 58 | ||
M v4/gio/giomodule.go +6 -0
| @@ -63,6 +63,7 @@ var xIoExtensionPointImplement func(string, types.GType, string, int) *IOExtensi | |||
| 63 | 63 | func IoExtensionPointImplement(ExtensionPointNameVar string, TypeVar types.GType, ExtensionNameVar string, PriorityVar int) *IOExtension { | |
| 64 | 64 | ||
| 65 | 65 | cret := xIoExtensionPointImplement(ExtensionPointNameVar, TypeVar, ExtensionNameVar, PriorityVar) | |
| 66 | + | ||
| 66 | 67 | return cret | |
| 67 | 68 | } | |
| 68 | 69 | ||
| @@ -72,6 +73,7 @@ var xIoExtensionPointLookup func(string) *IOExtensionPoint | |||
| 72 | 73 | func IoExtensionPointLookup(NameVar string) *IOExtensionPoint { | |
| 73 | 74 | ||
| 74 | 75 | cret := xIoExtensionPointLookup(NameVar) | |
| 76 | + | ||
| 75 | 77 | return cret | |
| 76 | 78 | } | |
| 77 | 79 | ||
| @@ -81,6 +83,7 @@ var xIoExtensionPointRegister func(string) *IOExtensionPoint | |||
| 81 | 83 | func IoExtensionPointRegister(NameVar string) *IOExtensionPoint { | |
| 82 | 84 | ||
| 83 | 85 | cret := xIoExtensionPointRegister(NameVar) | |
| 86 | + | ||
| 84 | 87 | return cret | |
| 85 | 88 | } | |
| 86 | 89 | ||
| @@ -94,6 +97,7 @@ var xIoModulesLoadAllInDirectory func(string) *glib.List | |||
| 94 | 97 | func IoModulesLoadAllInDirectory(DirnameVar string) *glib.List { | |
| 95 | 98 | ||
| 96 | 99 | cret := xIoModulesLoadAllInDirectory(DirnameVar) | |
| 100 | + | ||
| 97 | 101 | return cret | |
| 98 | 102 | } | |
| 99 | 103 | ||
| @@ -107,6 +111,7 @@ var xIoModulesLoadAllInDirectoryWithScope func(string, *IOModuleScope) *glib.Lis | |||
| 107 | 111 | func IoModulesLoadAllInDirectoryWithScope(DirnameVar string, ScopeVar *IOModuleScope) *glib.List { | |
| 108 | 112 | ||
| 109 | 113 | cret := xIoModulesLoadAllInDirectoryWithScope(DirnameVar, ScopeVar) | |
| 114 | + | ||
| 110 | 115 | return cret | |
| 111 | 116 | } | |
| 112 | 117 | ||
| @@ -308,6 +313,7 @@ var xIOModuleQuery func() []string | |||
| 308 | 313 | func IOModuleQuery() []string { | |
| 309 | 314 | ||
| 310 | 315 | cret := xIOModuleQuery() | |
| 316 | + | ||
| 311 | 317 | return cret | |
| 312 | 318 | } | |
| 313 | 319 | ||
M v4/gio/giostream.go +6 -0
| @@ -537,6 +537,7 @@ func (x *IOStream) Close(CancellableVar *Cancellable) (bool, error) { | |||
| 537 | 537 | var cerr *glib.Error | |
| 538 | 538 | ||
| 539 | 539 | cret := xIOStreamClose(x.GoPointer(), CancellableVar.GoPointer(), &cerr) | |
| 540 | + | ||
| 540 | 541 | if cerr == nil { | |
| 541 | 542 | return cret, nil | |
| 542 | 543 | } | |
| @@ -584,6 +585,7 @@ func (x *IOStream) CloseFinish(ResultVar AsyncResult) (bool, error) { | |||
| 584 | 585 | var cerr *glib.Error | |
| 585 | 586 | ||
| 586 | 587 | cret := xIOStreamCloseFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr) | |
| 588 | + | ||
| 587 | 589 | if cerr == nil { | |
| 588 | 590 | return cret, nil | |
| 589 | 591 | } | |
| @@ -633,6 +635,7 @@ var xIOStreamHasPending func(uintptr) bool | |||
| 633 | 635 | func (x *IOStream) HasPending() bool { | |
| 634 | 636 | ||
| 635 | 637 | cret := xIOStreamHasPending(x.GoPointer()) | |
| 638 | + | ||
| 636 | 639 | return cret | |
| 637 | 640 | } | |
| 638 | 641 | ||
| @@ -642,6 +645,7 @@ var xIOStreamIsClosed func(uintptr) bool | |||
| 642 | 645 | func (x *IOStream) IsClosed() bool { | |
| 643 | 646 | ||
| 644 | 647 | cret := xIOStreamIsClosed(x.GoPointer()) | |
| 648 | + | ||
| 645 | 649 | return cret | |
| 646 | 650 | } | |
| 647 | 651 | ||
| @@ -654,6 +658,7 @@ func (x *IOStream) SetPending() (bool, error) { | |||
| 654 | 658 | var cerr *glib.Error | |
| 655 | 659 | ||
| 656 | 660 | cret := xIOStreamSetPending(x.GoPointer()) | |
| 661 | + | ||
| 657 | 662 | if cerr == nil { | |
| 658 | 663 | return cret, nil | |
| 659 | 664 | } | |
| @@ -717,6 +722,7 @@ func IOStreamSpliceFinish(ResultVar AsyncResult) (bool, error) { | |||
| 717 | 722 | var cerr *glib.Error | |
| 718 | 723 | ||
| 719 | 724 | cret := xIOStreamSpliceFinish(ResultVar.GoPointer(), &cerr) | |
| 725 | + | ||
| 720 | 726 | if cerr == nil { | |
| 721 | 727 | return cret, nil | |
| 722 | 728 | } | |
M v4/gio/giotypes.go +28 -0
| @@ -141,6 +141,7 @@ var xNewFileAttributeMatcher func(string) *FileAttributeMatcher | |||
| 141 | 141 | func NewFileAttributeMatcher(AttributesVar string) *FileAttributeMatcher { | |
| 142 | 142 | ||
| 143 | 143 | cret := xNewFileAttributeMatcher(AttributesVar) | |
| 144 | + | ||
| 144 | 145 | return cret | |
| 145 | 146 | } | |
| 146 | 147 | ||
| @@ -155,6 +156,7 @@ var xFileAttributeMatcherEnumerateNamespace func(uintptr, string) bool | |||
| 155 | 156 | func (x *FileAttributeMatcher) EnumerateNamespace(NsVar string) bool { | |
| 156 | 157 | ||
| 157 | 158 | cret := xFileAttributeMatcherEnumerateNamespace(x.GoPointer(), NsVar) | |
| 159 | + | ||
| 158 | 160 | return cret | |
| 159 | 161 | } | |
| 160 | 162 | ||
| @@ -164,6 +166,7 @@ var xFileAttributeMatcherEnumerateNext func(uintptr) string | |||
| 164 | 166 | func (x *FileAttributeMatcher) EnumerateNext() string { | |
| 165 | 167 | ||
| 166 | 168 | cret := xFileAttributeMatcherEnumerateNext(x.GoPointer()) | |
| 169 | + | ||
| 167 | 170 | return cret | |
| 168 | 171 | } | |
| 169 | 172 | ||
| @@ -175,6 +178,7 @@ var xFileAttributeMatcherMatches func(uintptr, string) bool | |||
| 175 | 178 | func (x *FileAttributeMatcher) Matches(AttributeVar string) bool { | |
| 176 | 179 | ||
| 177 | 180 | cret := xFileAttributeMatcherMatches(x.GoPointer(), AttributeVar) | |
| 181 | + | ||
| 178 | 182 | return cret | |
| 179 | 183 | } | |
| 180 | 184 | ||
| @@ -185,6 +189,7 @@ var xFileAttributeMatcherMatchesOnly func(uintptr, string) bool | |||
| 185 | 189 | func (x *FileAttributeMatcher) MatchesOnly(AttributeVar string) bool { | |
| 186 | 190 | ||
| 187 | 191 | cret := xFileAttributeMatcherMatchesOnly(x.GoPointer(), AttributeVar) | |
| 192 | + | ||
| 188 | 193 | return cret | |
| 189 | 194 | } | |
| 190 | 195 | ||
| @@ -194,6 +199,7 @@ var xFileAttributeMatcherRef func(uintptr) *FileAttributeMatcher | |||
| 194 | 199 | func (x *FileAttributeMatcher) Ref() *FileAttributeMatcher { | |
| 195 | 200 | ||
| 196 | 201 | cret := xFileAttributeMatcherRef(x.GoPointer()) | |
| 202 | + | ||
| 197 | 203 | return cret | |
| 198 | 204 | } | |
| 199 | 205 | ||
| @@ -210,6 +216,7 @@ var xFileAttributeMatcherSubtract func(uintptr, *FileAttributeMatcher) *FileAttr | |||
| 210 | 216 | func (x *FileAttributeMatcher) Subtract(SubtractVar *FileAttributeMatcher) *FileAttributeMatcher { | |
| 211 | 217 | ||
| 212 | 218 | cret := xFileAttributeMatcherSubtract(x.GoPointer(), SubtractVar) | |
| 219 | + | ||
| 213 | 220 | return cret | |
| 214 | 221 | } | |
| 215 | 222 | ||
| @@ -222,6 +229,7 @@ var xFileAttributeMatcherToString func(uintptr) string | |||
| 222 | 229 | func (x *FileAttributeMatcher) ToString() string { | |
| 223 | 230 | ||
| 224 | 231 | cret := xFileAttributeMatcherToString(x.GoPointer()) | |
| 232 | + | ||
| 225 | 233 | return cret | |
| 226 | 234 | } | |
| 227 | 235 | ||
| @@ -254,6 +262,7 @@ var xIOExtensionGetName func(uintptr) string | |||
| 254 | 262 | func (x *IOExtension) GetName() string { | |
| 255 | 263 | ||
| 256 | 264 | cret := xIOExtensionGetName(x.GoPointer()) | |
| 265 | + | ||
| 257 | 266 | return cret | |
| 258 | 267 | } | |
| 259 | 268 | ||
| @@ -263,6 +272,7 @@ var xIOExtensionGetPriority func(uintptr) int | |||
| 263 | 272 | func (x *IOExtension) GetPriority() int { | |
| 264 | 273 | ||
| 265 | 274 | cret := xIOExtensionGetPriority(x.GoPointer()) | |
| 275 | + | ||
| 266 | 276 | return cret | |
| 267 | 277 | } | |
| 268 | 278 | ||
| @@ -272,6 +282,7 @@ var xIOExtensionGetType func(uintptr) types.GType | |||
| 272 | 282 | func (x *IOExtension) GetType() types.GType { | |
| 273 | 283 | ||
| 274 | 284 | cret := xIOExtensionGetType(x.GoPointer()) | |
| 285 | + | ||
| 275 | 286 | return cret | |
| 276 | 287 | } | |
| 277 | 288 | ||
| @@ -282,6 +293,7 @@ var xIOExtensionRefClass func(uintptr) *gobject.TypeClass | |||
| 282 | 293 | func (x *IOExtension) RefClass() *gobject.TypeClass { | |
| 283 | 294 | ||
| 284 | 295 | cret := xIOExtensionRefClass(x.GoPointer()) | |
| 296 | + | ||
| 285 | 297 | return cret | |
| 286 | 298 | } | |
| 287 | 299 | ||
| @@ -352,6 +364,7 @@ var xIOExtensionPointGetExtensionByName func(uintptr, string) *IOExtension | |||
| 352 | 364 | func (x *IOExtensionPoint) GetExtensionByName(NameVar string) *IOExtension { | |
| 353 | 365 | ||
| 354 | 366 | cret := xIOExtensionPointGetExtensionByName(x.GoPointer(), NameVar) | |
| 367 | + | ||
| 355 | 368 | return cret | |
| 356 | 369 | } | |
| 357 | 370 | ||
| @@ -362,6 +375,7 @@ var xIOExtensionPointGetExtensions func(uintptr) *glib.List | |||
| 362 | 375 | func (x *IOExtensionPoint) GetExtensions() *glib.List { | |
| 363 | 376 | ||
| 364 | 377 | cret := xIOExtensionPointGetExtensions(x.GoPointer()) | |
| 378 | + | ||
| 365 | 379 | return cret | |
| 366 | 380 | } | |
| 367 | 381 | ||
| @@ -371,6 +385,7 @@ var xIOExtensionPointGetRequiredType func(uintptr) types.GType | |||
| 371 | 385 | func (x *IOExtensionPoint) GetRequiredType() types.GType { | |
| 372 | 386 | ||
| 373 | 387 | cret := xIOExtensionPointGetRequiredType(x.GoPointer()) | |
| 388 | + | ||
| 374 | 389 | return cret | |
| 375 | 390 | } | |
| 376 | 391 | ||
| @@ -431,6 +446,7 @@ func (x *IOSchedulerJob) SendToMainloop(FuncVar *glib.SourceFunc, UserDataVar ui | |||
| 431 | 446 | } | |
| 432 | 447 | ||
| 433 | 448 | cret := xIOSchedulerJobSendToMainloop(x.GoPointer(), FuncVarRef, UserDataVar, NotifyVarRef) | |
| 449 | + | ||
| 434 | 450 | return cret | |
| 435 | 451 | } | |
| 436 | 452 | ||
| @@ -785,6 +801,7 @@ func NewResourceFromData(DataVar *glib.Bytes) (*Resource, error) { | |||
| 785 | 801 | var cerr *glib.Error | |
| 786 | 802 | ||
| 787 | 803 | cret := xNewResourceFromData(DataVar, &cerr) | |
| 804 | + | ||
| 788 | 805 | if cerr == nil { | |
| 789 | 806 | return cret, nil | |
| 790 | 807 | } | |
| @@ -829,6 +846,7 @@ func (x *Resource) EnumerateChildren(PathVar string, LookupFlagsVar ResourceLook | |||
| 829 | 846 | var cerr *glib.Error | |
| 830 | 847 | ||
| 831 | 848 | cret := xResourceEnumerateChildren(x.GoPointer(), PathVar, LookupFlagsVar, &cerr) | |
| 849 | + | ||
| 832 | 850 | if cerr == nil { | |
| 833 | 851 | return cret, nil | |
| 834 | 852 | } | |
| @@ -849,6 +867,7 @@ func (x *Resource) GetInfo(PathVar string, LookupFlagsVar ResourceLookupFlags, S | |||
| 849 | 867 | var cerr *glib.Error | |
| 850 | 868 | ||
| 851 | 869 | cret := xResourceGetInfo(x.GoPointer(), PathVar, LookupFlagsVar, SizeVar, FlagsVar, &cerr) | |
| 870 | + | ||
| 852 | 871 | if cerr == nil { | |
| 853 | 872 | return cret, nil | |
| 854 | 873 | } | |
| @@ -863,6 +882,7 @@ var xResourceHasChildren func(uintptr, string) bool | |||
| 863 | 882 | func (x *Resource) HasChildren(PathVar string) bool { | |
| 864 | 883 | ||
| 865 | 884 | cret := xResourceHasChildren(x.GoPointer(), PathVar) | |
| 885 | + | ||
| 866 | 886 | return cret | |
| 867 | 887 | } | |
| 868 | 888 | ||
| @@ -890,6 +910,7 @@ func (x *Resource) LookupData(PathVar string, LookupFlagsVar ResourceLookupFlags | |||
| 890 | 910 | var cerr *glib.Error | |
| 891 | 911 | ||
| 892 | 912 | cret := xResourceLookupData(x.GoPointer(), PathVar, LookupFlagsVar, &cerr) | |
| 913 | + | ||
| 893 | 914 | if cerr == nil { | |
| 894 | 915 | return cret, nil | |
| 895 | 916 | } | |
| @@ -932,6 +953,7 @@ var xResourceRef func(uintptr) *Resource | |||
| 932 | 953 | func (x *Resource) Ref() *Resource { | |
| 933 | 954 | ||
| 934 | 955 | cret := xResourceRef(x.GoPointer()) | |
| 956 | + | ||
| 935 | 957 | return cret | |
| 936 | 958 | } | |
| 937 | 959 | ||
| @@ -987,6 +1009,7 @@ var xNewSrvTarget func(string, uint16, uint16, uint16) *SrvTarget | |||
| 987 | 1009 | func NewSrvTarget(HostnameVar string, PortVar uint16, PriorityVar uint16, WeightVar uint16) *SrvTarget { | |
| 988 | 1010 | ||
| 989 | 1011 | cret := xNewSrvTarget(HostnameVar, PortVar, PriorityVar, WeightVar) | |
| 1012 | + | ||
| 990 | 1013 | return cret | |
| 991 | 1014 | } | |
| 992 | 1015 | ||
| @@ -996,6 +1019,7 @@ var xSrvTargetCopy func(uintptr) *SrvTarget | |||
| 996 | 1019 | func (x *SrvTarget) Copy() *SrvTarget { | |
| 997 | 1020 | ||
| 998 | 1021 | cret := xSrvTargetCopy(x.GoPointer()) | |
| 1022 | + | ||
| 999 | 1023 | return cret | |
| 1000 | 1024 | } | |
| 1001 | 1025 | ||
| @@ -1017,6 +1041,7 @@ var xSrvTargetGetHostname func(uintptr) string | |||
| 1017 | 1041 | func (x *SrvTarget) GetHostname() string { | |
| 1018 | 1042 | ||
| 1019 | 1043 | cret := xSrvTargetGetHostname(x.GoPointer()) | |
| 1044 | + | ||
| 1020 | 1045 | return cret | |
| 1021 | 1046 | } | |
| 1022 | 1047 | ||
| @@ -1026,6 +1051,7 @@ var xSrvTargetGetPort func(uintptr) uint16 | |||
| 1026 | 1051 | func (x *SrvTarget) GetPort() uint16 { | |
| 1027 | 1052 | ||
| 1028 | 1053 | cret := xSrvTargetGetPort(x.GoPointer()) | |
| 1054 | + | ||
| 1029 | 1055 | return cret | |
| 1030 | 1056 | } | |
| 1031 | 1057 | ||
| @@ -1037,6 +1063,7 @@ var xSrvTargetGetPriority func(uintptr) uint16 | |||
| 1037 | 1063 | func (x *SrvTarget) GetPriority() uint16 { | |
| 1038 | 1064 | ||
| 1039 | 1065 | cret := xSrvTargetGetPriority(x.GoPointer()) | |
| 1066 | + | ||
| 1040 | 1067 | return cret | |
| 1041 | 1068 | } | |
| 1042 | 1069 | ||
| @@ -1048,6 +1075,7 @@ var xSrvTargetGetWeight func(uintptr) uint16 | |||
| 1048 | 1075 | func (x *SrvTarget) GetWeight() uint16 { | |
| 1049 | 1076 | ||
| 1050 | 1077 | cret := xSrvTargetGetWeight(x.GoPointer()) | |
| 1078 | + | ||
| 1051 | 1079 | return cret | |
| 1052 | 1080 | } | |
| 1053 | 1081 | ||
M v4/gio/glistmodel.go +3 -0
| @@ -224,6 +224,7 @@ func (x *ListModelBase) SetGoPointer(ptr uintptr) { | |||
| 224 | 224 | func (x *ListModelBase) GetItem(PositionVar uint) uintptr { | |
| 225 | 225 | ||
| 226 | 226 | cret := XGListModelGetItem(x.GoPointer(), PositionVar) | |
| 227 | + | ||
| 227 | 228 | return cret | |
| 228 | 229 | } | |
| 229 | 230 | ||
| @@ -238,6 +239,7 @@ func (x *ListModelBase) GetItem(PositionVar uint) uintptr { | |||
| 238 | 239 | func (x *ListModelBase) GetItemType() types.GType { | |
| 239 | 240 | ||
| 240 | 241 | cret := XGListModelGetItemType(x.GoPointer()) | |
| 242 | + | ||
| 241 | 243 | return cret | |
| 242 | 244 | } | |
| 243 | 245 | ||
| @@ -249,6 +251,7 @@ func (x *ListModelBase) GetItemType() types.GType { | |||
| 249 | 251 | func (x *ListModelBase) GetNItems() uint { | |
| 250 | 252 | ||
| 251 | 253 | cret := XGListModelGetNItems(x.GoPointer()) | |
| 254 | + | ||
| 252 | 255 | return cret | |
| 253 | 256 | } | |
| 254 | 257 | ||
M v4/gio/gliststore.go +7 -0
| @@ -85,6 +85,7 @@ var xListStoreFind func(uintptr, uintptr, *uint) bool | |||
| 85 | 85 | func (x *ListStore) Find(ItemVar *gobject.Object, PositionVar *uint) bool { | |
| 86 | 86 | ||
| 87 | 87 | cret := xListStoreFind(x.GoPointer(), ItemVar.GoPointer(), PositionVar) | |
| 88 | + | ||
| 88 | 89 | return cret | |
| 89 | 90 | } | |
| 90 | 91 | ||
| @@ -116,6 +117,7 @@ func (x *ListStore) FindWithEqualFunc(ItemVar *gobject.Object, EqualFuncVar *gli | |||
| 116 | 117 | } | |
| 117 | 118 | ||
| 118 | 119 | cret := xListStoreFindWithEqualFunc(x.GoPointer(), ItemVar.GoPointer(), EqualFuncVarRef, PositionVar) | |
| 120 | + | ||
| 119 | 121 | return cret | |
| 120 | 122 | } | |
| 121 | 123 | ||
| @@ -145,6 +147,7 @@ func (x *ListStore) FindWithEqualFuncFull(ItemVar *gobject.Object, EqualFuncVar | |||
| 145 | 147 | } | |
| 146 | 148 | ||
| 147 | 149 | cret := xListStoreFindWithEqualFuncFull(x.GoPointer(), ItemVar.GoPointer(), EqualFuncVarRef, UserDataVar, PositionVar) | |
| 150 | + | ||
| 148 | 151 | return cret | |
| 149 | 152 | } | |
| 150 | 153 | ||
| @@ -192,6 +195,7 @@ func (x *ListStore) InsertSorted(ItemVar *gobject.Object, CompareFuncVar *glib.C | |||
| 192 | 195 | } | |
| 193 | 196 | ||
| 194 | 197 | cret := xListStoreInsertSorted(x.GoPointer(), ItemVar.GoPointer(), CompareFuncVarRef, UserDataVar) | |
| 198 | + | ||
| 195 | 199 | return cret | |
| 196 | 200 | } | |
| 197 | 201 | ||
| @@ -293,6 +297,7 @@ func (x *ListStore) GetPropertyNItems() uint { | |||
| 293 | 297 | func (x *ListStore) GetItem(PositionVar uint) uintptr { | |
| 294 | 298 | ||
| 295 | 299 | cret := XGListModelGetItem(x.GoPointer(), PositionVar) | |
| 300 | + | ||
| 296 | 301 | return cret | |
| 297 | 302 | } | |
| 298 | 303 | ||
| @@ -307,6 +312,7 @@ func (x *ListStore) GetItem(PositionVar uint) uintptr { | |||
| 307 | 312 | func (x *ListStore) GetItemType() types.GType { | |
| 308 | 313 | ||
| 309 | 314 | cret := XGListModelGetItemType(x.GoPointer()) | |
| 315 | + | ||
| 310 | 316 | return cret | |
| 311 | 317 | } | |
| 312 | 318 | ||
| @@ -318,6 +324,7 @@ func (x *ListStore) GetItemType() types.GType { | |||
| 318 | 324 | func (x *ListStore) GetNItems() uint { | |
| 319 | 325 | ||
| 320 | 326 | cret := XGListModelGetNItems(x.GoPointer()) | |
| 327 | + | ||
| 321 | 328 | return cret | |
| 322 | 329 | } | |
| 323 | 330 | ||
M v4/gio/gmemoryinputstream.go +9 -0
| @@ -292,6 +292,7 @@ func (c *MemoryInputStream) SetGoPointer(ptr uintptr) { | |||
| 292 | 292 | func (x *MemoryInputStream) CanPoll() bool { | |
| 293 | 293 | ||
| 294 | 294 | cret := XGPollableInputStreamCanPoll(x.GoPointer()) | |
| 295 | + | ||
| 295 | 296 | return cret | |
| 296 | 297 | } | |
| 297 | 298 | ||
| @@ -309,6 +310,7 @@ func (x *MemoryInputStream) CanPoll() bool { | |||
| 309 | 310 | func (x *MemoryInputStream) CreateSource(CancellableVar *Cancellable) *glib.Source { | |
| 310 | 311 | ||
| 311 | 312 | cret := XGPollableInputStreamCreateSource(x.GoPointer(), CancellableVar.GoPointer()) | |
| 313 | + | ||
| 312 | 314 | return cret | |
| 313 | 315 | } | |
| 314 | 316 | ||
| @@ -326,6 +328,7 @@ func (x *MemoryInputStream) CreateSource(CancellableVar *Cancellable) *glib.Sour | |||
| 326 | 328 | func (x *MemoryInputStream) IsReadable() bool { | |
| 327 | 329 | ||
| 328 | 330 | cret := XGPollableInputStreamIsReadable(x.GoPointer()) | |
| 331 | + | ||
| 329 | 332 | return cret | |
| 330 | 333 | } | |
| 331 | 334 | ||
| @@ -347,6 +350,7 @@ func (x *MemoryInputStream) ReadNonblocking(BufferVar *[]byte, CountVar uint, Ca | |||
| 347 | 350 | var cerr *glib.Error | |
| 348 | 351 | ||
| 349 | 352 | cret := XGPollableInputStreamReadNonblocking(x.GoPointer(), BufferVar, CountVar, CancellableVar.GoPointer(), &cerr) | |
| 353 | + | ||
| 350 | 354 | if cerr == nil { | |
| 351 | 355 | return cret, nil | |
| 352 | 356 | } | |
| @@ -358,6 +362,7 @@ func (x *MemoryInputStream) ReadNonblocking(BufferVar *[]byte, CountVar uint, Ca | |||
| 358 | 362 | func (x *MemoryInputStream) CanSeek() bool { | |
| 359 | 363 | ||
| 360 | 364 | cret := XGSeekableCanSeek(x.GoPointer()) | |
| 365 | + | ||
| 361 | 366 | return cret | |
| 362 | 367 | } | |
| 363 | 368 | ||
| @@ -366,6 +371,7 @@ func (x *MemoryInputStream) CanSeek() bool { | |||
| 366 | 371 | func (x *MemoryInputStream) CanTruncate() bool { | |
| 367 | 372 | ||
| 368 | 373 | cret := XGSeekableCanTruncate(x.GoPointer()) | |
| 374 | + | ||
| 369 | 375 | return cret | |
| 370 | 376 | } | |
| 371 | 377 | ||
| @@ -387,6 +393,7 @@ func (x *MemoryInputStream) Seek(OffsetVar int64, TypeVar glib.SeekType, Cancell | |||
| 387 | 393 | var cerr *glib.Error | |
| 388 | 394 | ||
| 389 | 395 | cret := XGSeekableSeek(x.GoPointer(), OffsetVar, TypeVar, CancellableVar.GoPointer(), &cerr) | |
| 396 | + | ||
| 390 | 397 | if cerr == nil { | |
| 391 | 398 | return cret, nil | |
| 392 | 399 | } | |
| @@ -398,6 +405,7 @@ func (x *MemoryInputStream) Seek(OffsetVar int64, TypeVar glib.SeekType, Cancell | |||
| 398 | 405 | func (x *MemoryInputStream) Tell() int64 { | |
| 399 | 406 | ||
| 400 | 407 | cret := XGSeekableTell(x.GoPointer()) | |
| 408 | + | ||
| 401 | 409 | return cret | |
| 402 | 410 | } | |
| 403 | 411 | ||
| @@ -414,6 +422,7 @@ func (x *MemoryInputStream) Truncate(OffsetVar int64, CancellableVar *Cancellabl | |||
| 414 | 422 | var cerr *glib.Error | |
| 415 | 423 | ||
| 416 | 424 | cret := XGSeekableTruncate(x.GoPointer(), OffsetVar, CancellableVar.GoPointer(), &cerr) | |
| 425 | + | ||
| 417 | 426 | if cerr == nil { | |
| 418 | 427 | return cret, nil | |
| 419 | 428 | } | |
M v4/gio/gmemoryoutputstream.go +15 -0
| @@ -294,6 +294,7 @@ var xMemoryOutputStreamGetData func(uintptr) uintptr | |||
| 294 | 294 | func (x *MemoryOutputStream) GetData() uintptr { | |
| 295 | 295 | ||
| 296 | 296 | cret := xMemoryOutputStreamGetData(x.GoPointer()) | |
| 297 | + | ||
| 297 | 298 | return cret | |
| 298 | 299 | } | |
| 299 | 300 | ||
| @@ -304,6 +305,7 @@ var xMemoryOutputStreamGetDataSize func(uintptr) uint | |||
| 304 | 305 | func (x *MemoryOutputStream) GetDataSize() uint { | |
| 305 | 306 | ||
| 306 | 307 | cret := xMemoryOutputStreamGetDataSize(x.GoPointer()) | |
| 308 | + | ||
| 307 | 309 | return cret | |
| 308 | 310 | } | |
| 309 | 311 | ||
| @@ -327,6 +329,7 @@ var xMemoryOutputStreamGetSize func(uintptr) uint | |||
| 327 | 329 | func (x *MemoryOutputStream) GetSize() uint { | |
| 328 | 330 | ||
| 329 | 331 | cret := xMemoryOutputStreamGetSize(x.GoPointer()) | |
| 332 | + | ||
| 330 | 333 | return cret | |
| 331 | 334 | } | |
| 332 | 335 | ||
| @@ -337,6 +340,7 @@ var xMemoryOutputStreamStealAsBytes func(uintptr) *glib.Bytes | |||
| 337 | 340 | func (x *MemoryOutputStream) StealAsBytes() *glib.Bytes { | |
| 338 | 341 | ||
| 339 | 342 | cret := xMemoryOutputStreamStealAsBytes(x.GoPointer()) | |
| 343 | + | ||
| 340 | 344 | return cret | |
| 341 | 345 | } | |
| 342 | 346 | ||
| @@ -351,6 +355,7 @@ var xMemoryOutputStreamStealData func(uintptr) uintptr | |||
| 351 | 355 | func (x *MemoryOutputStream) StealData() uintptr { | |
| 352 | 356 | ||
| 353 | 357 | cret := xMemoryOutputStreamStealData(x.GoPointer()) | |
| 358 | + | ||
| 354 | 359 | return cret | |
| 355 | 360 | } | |
| 356 | 361 | ||
| @@ -451,6 +456,7 @@ func (x *MemoryOutputStream) GetPropertySize() uint32 { | |||
| 451 | 456 | func (x *MemoryOutputStream) CanPoll() bool { | |
| 452 | 457 | ||
| 453 | 458 | cret := XGPollableOutputStreamCanPoll(x.GoPointer()) | |
| 459 | + | ||
| 454 | 460 | return cret | |
| 455 | 461 | } | |
| 456 | 462 | ||
| @@ -468,6 +474,7 @@ func (x *MemoryOutputStream) CanPoll() bool { | |||
| 468 | 474 | func (x *MemoryOutputStream) CreateSource(CancellableVar *Cancellable) *glib.Source { | |
| 469 | 475 | ||
| 470 | 476 | cret := XGPollableOutputStreamCreateSource(x.GoPointer(), CancellableVar.GoPointer()) | |
| 477 | + | ||
| 471 | 478 | return cret | |
| 472 | 479 | } | |
| 473 | 480 | ||
| @@ -485,6 +492,7 @@ func (x *MemoryOutputStream) CreateSource(CancellableVar *Cancellable) *glib.Sou | |||
| 485 | 492 | func (x *MemoryOutputStream) IsWritable() bool { | |
| 486 | 493 | ||
| 487 | 494 | cret := XGPollableOutputStreamIsWritable(x.GoPointer()) | |
| 495 | + | ||
| 488 | 496 | return cret | |
| 489 | 497 | } | |
| 490 | 498 | ||
| @@ -510,6 +518,7 @@ func (x *MemoryOutputStream) WriteNonblocking(BufferVar []byte, CountVar uint, C | |||
| 510 | 518 | var cerr *glib.Error | |
| 511 | 519 | ||
| 512 | 520 | cret := XGPollableOutputStreamWriteNonblocking(x.GoPointer(), BufferVar, CountVar, CancellableVar.GoPointer(), &cerr) | |
| 521 | + | ||
| 513 | 522 | if cerr == nil { | |
| 514 | 523 | return cret, nil | |
| 515 | 524 | } | |
| @@ -540,6 +549,7 @@ func (x *MemoryOutputStream) WritevNonblocking(VectorsVar []OutputVector, NVecto | |||
| 540 | 549 | var cerr *glib.Error | |
| 541 | 550 | ||
| 542 | 551 | cret := XGPollableOutputStreamWritevNonblocking(x.GoPointer(), VectorsVar, NVectorsVar, BytesWrittenVar, CancellableVar.GoPointer(), &cerr) | |
| 552 | + | ||
| 543 | 553 | if cerr == nil { | |
| 544 | 554 | return cret, nil | |
| 545 | 555 | } | |
| @@ -551,6 +561,7 @@ func (x *MemoryOutputStream) WritevNonblocking(VectorsVar []OutputVector, NVecto | |||
| 551 | 561 | func (x *MemoryOutputStream) CanSeek() bool { | |
| 552 | 562 | ||
| 553 | 563 | cret := XGSeekableCanSeek(x.GoPointer()) | |
| 564 | + | ||
| 554 | 565 | return cret | |
| 555 | 566 | } | |
| 556 | 567 | ||
| @@ -559,6 +570,7 @@ func (x *MemoryOutputStream) CanSeek() bool { | |||
| 559 | 570 | func (x *MemoryOutputStream) CanTruncate() bool { | |
| 560 | 571 | ||
| 561 | 572 | cret := XGSeekableCanTruncate(x.GoPointer()) | |
| 573 | + | ||
| 562 | 574 | return cret | |
| 563 | 575 | } | |
| 564 | 576 | ||
| @@ -580,6 +592,7 @@ func (x *MemoryOutputStream) Seek(OffsetVar int64, TypeVar glib.SeekType, Cancel | |||
| 580 | 592 | var cerr *glib.Error | |
| 581 | 593 | ||
| 582 | 594 | cret := XGSeekableSeek(x.GoPointer(), OffsetVar, TypeVar, CancellableVar.GoPointer(), &cerr) | |
| 595 | + | ||
| 583 | 596 | if cerr == nil { | |
| 584 | 597 | return cret, nil | |
| 585 | 598 | } | |
| @@ -591,6 +604,7 @@ func (x *MemoryOutputStream) Seek(OffsetVar int64, TypeVar glib.SeekType, Cancel | |||
| 591 | 604 | func (x *MemoryOutputStream) Tell() int64 { | |
| 592 | 605 | ||
| 593 | 606 | cret := XGSeekableTell(x.GoPointer()) | |
| 607 | + | ||
| 594 | 608 | return cret | |
| 595 | 609 | } | |
| 596 | 610 | ||
| @@ -607,6 +621,7 @@ func (x *MemoryOutputStream) Truncate(OffsetVar int64, CancellableVar *Cancellab | |||
| 607 | 621 | var cerr *glib.Error | |
| 608 | 622 | ||
| 609 | 623 | cret := XGSeekableTruncate(x.GoPointer(), OffsetVar, CancellableVar.GoPointer(), &cerr) | |
| 624 | + | ||
| 610 | 625 | if cerr == nil { | |
| 611 | 626 | return cret, nil | |
| 612 | 627 | } | |
M v4/gio/gmenu.go +104 -16
| @@ -2,6 +2,8 @@ | |||
| 2 | 2 | package gio | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "runtime" | |
| 6 | + | ||
| 5 | 7 | "github.com/jwijenbergh/purego" | |
| 6 | 8 | "github.com/jwijenbergh/puregotk/pkg/core" | |
| 7 | 9 | "github.com/jwijenbergh/puregotk/v4/glib" | |
| @@ -58,7 +60,15 @@ var xMenuAppend func(uintptr, uintptr, uintptr) | |||
| 58 | 60 | // flexible alternative. | |
| 59 | 61 | func (x *Menu) Append(LabelVar *string, DetailedActionVar *string) { | |
| 60 | 62 | ||
| 61 | - | xMenuAppend(x.GoPointer(), core.NullableStringToPtr(LabelVar), core.NullableStringToPtr(DetailedActionVar)) | |
| 63 | + | LabelVarPtr, LabelVarBytes := core.NullableStringToPtr(LabelVar) | |
| 64 | + | ||
| 65 | + | DetailedActionVarPtr, DetailedActionVarBytes := core.NullableStringToPtr(DetailedActionVar) | |
| 66 | + | ||
| 67 | + | xMenuAppend(x.GoPointer(), LabelVarPtr, DetailedActionVarPtr) | |
| 68 | + | ||
| 69 | + | runtime.KeepAlive(LabelVarBytes) | |
| 70 | + | ||
| 71 | + | runtime.KeepAlive(DetailedActionVarBytes) | |
| 62 | 72 | ||
| 63 | 73 | } | |
| 64 | 74 | ||
| @@ -80,7 +90,11 @@ var xMenuAppendSection func(uintptr, uintptr, uintptr) | |||
| 80 | 90 | // more flexible alternative. | |
| 81 | 91 | func (x *Menu) AppendSection(LabelVar *string, SectionVar *MenuModel) { | |
| 82 | 92 | ||
| 83 | - | xMenuAppendSection(x.GoPointer(), core.NullableStringToPtr(LabelVar), SectionVar.GoPointer()) | |
| 93 | + | LabelVarPtr, LabelVarBytes := core.NullableStringToPtr(LabelVar) | |
| 94 | + | ||
| 95 | + | xMenuAppendSection(x.GoPointer(), LabelVarPtr, SectionVar.GoPointer()) | |
| 96 | + | ||
| 97 | + | runtime.KeepAlive(LabelVarBytes) | |
| 84 | 98 | ||
| 85 | 99 | } | |
| 86 | 100 | ||
| @@ -91,7 +105,11 @@ var xMenuAppendSubmenu func(uintptr, uintptr, uintptr) | |||
| 91 | 105 | // more flexible alternative. | |
| 92 | 106 | func (x *Menu) AppendSubmenu(LabelVar *string, SubmenuVar *MenuModel) { | |
| 93 | 107 | ||
| 94 | - | xMenuAppendSubmenu(x.GoPointer(), core.NullableStringToPtr(LabelVar), SubmenuVar.GoPointer()) | |
| 108 | + | LabelVarPtr, LabelVarBytes := core.NullableStringToPtr(LabelVar) | |
| 109 | + | ||
| 110 | + | xMenuAppendSubmenu(x.GoPointer(), LabelVarPtr, SubmenuVar.GoPointer()) | |
| 111 | + | ||
| 112 | + | runtime.KeepAlive(LabelVarBytes) | |
| 95 | 113 | ||
| 96 | 114 | } | |
| 97 | 115 | ||
| @@ -118,7 +136,15 @@ var xMenuInsert func(uintptr, int, uintptr, uintptr) | |||
| 118 | 136 | // alternative. | |
| 119 | 137 | func (x *Menu) Insert(PositionVar int, LabelVar *string, DetailedActionVar *string) { | |
| 120 | 138 | ||
| 121 | - | xMenuInsert(x.GoPointer(), PositionVar, core.NullableStringToPtr(LabelVar), core.NullableStringToPtr(DetailedActionVar)) | |
| 139 | + | LabelVarPtr, LabelVarBytes := core.NullableStringToPtr(LabelVar) | |
| 140 | + | ||
| 141 | + | DetailedActionVarPtr, DetailedActionVarBytes := core.NullableStringToPtr(DetailedActionVar) | |
| 142 | + | ||
| 143 | + | xMenuInsert(x.GoPointer(), PositionVar, LabelVarPtr, DetailedActionVarPtr) | |
| 144 | + | ||
| 145 | + | runtime.KeepAlive(LabelVarBytes) | |
| 146 | + | ||
| 147 | + | runtime.KeepAlive(DetailedActionVarBytes) | |
| 122 | 148 | ||
| 123 | 149 | } | |
| 124 | 150 | ||
| @@ -154,7 +180,11 @@ var xMenuInsertSection func(uintptr, int, uintptr, uintptr) | |||
| 154 | 180 | // flexible alternative. | |
| 155 | 181 | func (x *Menu) InsertSection(PositionVar int, LabelVar *string, SectionVar *MenuModel) { | |
| 156 | 182 | ||
| 157 | - | xMenuInsertSection(x.GoPointer(), PositionVar, core.NullableStringToPtr(LabelVar), SectionVar.GoPointer()) | |
| 183 | + | LabelVarPtr, LabelVarBytes := core.NullableStringToPtr(LabelVar) | |
| 184 | + | ||
| 185 | + | xMenuInsertSection(x.GoPointer(), PositionVar, LabelVarPtr, SectionVar.GoPointer()) | |
| 186 | + | ||
| 187 | + | runtime.KeepAlive(LabelVarBytes) | |
| 158 | 188 | ||
| 159 | 189 | } | |
| 160 | 190 | ||
| @@ -165,7 +195,11 @@ var xMenuInsertSubmenu func(uintptr, int, uintptr, uintptr) | |||
| 165 | 195 | // flexible alternative. | |
| 166 | 196 | func (x *Menu) InsertSubmenu(PositionVar int, LabelVar *string, SubmenuVar *MenuModel) { | |
| 167 | 197 | ||
| 168 | - | xMenuInsertSubmenu(x.GoPointer(), PositionVar, core.NullableStringToPtr(LabelVar), SubmenuVar.GoPointer()) | |
| 198 | + | LabelVarPtr, LabelVarBytes := core.NullableStringToPtr(LabelVar) | |
| 199 | + | ||
| 200 | + | xMenuInsertSubmenu(x.GoPointer(), PositionVar, LabelVarPtr, SubmenuVar.GoPointer()) | |
| 201 | + | ||
| 202 | + | runtime.KeepAlive(LabelVarBytes) | |
| 169 | 203 | ||
| 170 | 204 | } | |
| 171 | 205 | ||
| @@ -176,7 +210,15 @@ var xMenuPrepend func(uintptr, uintptr, uintptr) | |||
| 176 | 210 | // flexible alternative. | |
| 177 | 211 | func (x *Menu) Prepend(LabelVar *string, DetailedActionVar *string) { | |
| 178 | 212 | ||
| 179 | - | xMenuPrepend(x.GoPointer(), core.NullableStringToPtr(LabelVar), core.NullableStringToPtr(DetailedActionVar)) | |
| 213 | + | LabelVarPtr, LabelVarBytes := core.NullableStringToPtr(LabelVar) | |
| 214 | + | ||
| 215 | + | DetailedActionVarPtr, DetailedActionVarBytes := core.NullableStringToPtr(DetailedActionVar) | |
| 216 | + | ||
| 217 | + | xMenuPrepend(x.GoPointer(), LabelVarPtr, DetailedActionVarPtr) | |
| 218 | + | ||
| 219 | + | runtime.KeepAlive(LabelVarBytes) | |
| 220 | + | ||
| 221 | + | runtime.KeepAlive(DetailedActionVarBytes) | |
| 180 | 222 | ||
| 181 | 223 | } | |
| 182 | 224 | ||
| @@ -198,7 +240,11 @@ var xMenuPrependSection func(uintptr, uintptr, uintptr) | |||
| 198 | 240 | // a more flexible alternative. | |
| 199 | 241 | func (x *Menu) PrependSection(LabelVar *string, SectionVar *MenuModel) { | |
| 200 | 242 | ||
| 201 | - | xMenuPrependSection(x.GoPointer(), core.NullableStringToPtr(LabelVar), SectionVar.GoPointer()) | |
| 243 | + | LabelVarPtr, LabelVarBytes := core.NullableStringToPtr(LabelVar) | |
| 244 | + | ||
| 245 | + | xMenuPrependSection(x.GoPointer(), LabelVarPtr, SectionVar.GoPointer()) | |
| 246 | + | ||
| 247 | + | runtime.KeepAlive(LabelVarBytes) | |
| 202 | 248 | ||
| 203 | 249 | } | |
| 204 | 250 | ||
| @@ -209,7 +255,11 @@ var xMenuPrependSubmenu func(uintptr, uintptr, uintptr) | |||
| 209 | 255 | // a more flexible alternative. | |
| 210 | 256 | func (x *Menu) PrependSubmenu(LabelVar *string, SubmenuVar *MenuModel) { | |
| 211 | 257 | ||
| 212 | - | xMenuPrependSubmenu(x.GoPointer(), core.NullableStringToPtr(LabelVar), SubmenuVar.GoPointer()) | |
| 258 | + | LabelVarPtr, LabelVarBytes := core.NullableStringToPtr(LabelVar) | |
| 259 | + | ||
| 260 | + | xMenuPrependSubmenu(x.GoPointer(), LabelVarPtr, SubmenuVar.GoPointer()) | |
| 261 | + | ||
| 262 | + | runtime.KeepAlive(LabelVarBytes) | |
| 213 | 263 | ||
| 214 | 264 | } | |
| 215 | 265 | ||
| @@ -282,7 +332,15 @@ var xNewMenuItem func(uintptr, uintptr) uintptr | |||
| 282 | 332 | func NewMenuItem(LabelVar *string, DetailedActionVar *string) *MenuItem { | |
| 283 | 333 | var cls *MenuItem | |
| 284 | 334 | ||
| 285 | - | cret := xNewMenuItem(core.NullableStringToPtr(LabelVar), core.NullableStringToPtr(DetailedActionVar)) | |
| 335 | + | LabelVarPtr, LabelVarBytes := core.NullableStringToPtr(LabelVar) | |
| 336 | + | ||
| 337 | + | DetailedActionVarPtr, DetailedActionVarBytes := core.NullableStringToPtr(DetailedActionVar) | |
| 338 | + | ||
| 339 | + | cret := xNewMenuItem(LabelVarPtr, DetailedActionVarPtr) | |
| 340 | + | ||
| 341 | + | runtime.KeepAlive(LabelVarBytes) | |
| 342 | + | ||
| 343 | + | runtime.KeepAlive(DetailedActionVarBytes) | |
| 286 | 344 | ||
| 287 | 345 | if cret == 0 { | |
| 288 | 346 | return nil | |
| @@ -381,7 +439,11 @@ var xNewMenuItemSection func(uintptr, uintptr) uintptr | |||
| 381 | 439 | func NewMenuItemSection(LabelVar *string, SectionVar *MenuModel) *MenuItem { | |
| 382 | 440 | var cls *MenuItem | |
| 383 | 441 | ||
| 384 | - | cret := xNewMenuItemSection(core.NullableStringToPtr(LabelVar), SectionVar.GoPointer()) | |
| 442 | + | LabelVarPtr, LabelVarBytes := core.NullableStringToPtr(LabelVar) | |
| 443 | + | ||
| 444 | + | cret := xNewMenuItemSection(LabelVarPtr, SectionVar.GoPointer()) | |
| 445 | + | ||
| 446 | + | runtime.KeepAlive(LabelVarBytes) | |
| 385 | 447 | ||
| 386 | 448 | if cret == 0 { | |
| 387 | 449 | return nil | |
| @@ -400,7 +462,11 @@ var xNewMenuItemSubmenu func(uintptr, uintptr) uintptr | |||
| 400 | 462 | func NewMenuItemSubmenu(LabelVar *string, SubmenuVar *MenuModel) *MenuItem { | |
| 401 | 463 | var cls *MenuItem | |
| 402 | 464 | ||
| 403 | - | cret := xNewMenuItemSubmenu(core.NullableStringToPtr(LabelVar), SubmenuVar.GoPointer()) | |
| 465 | + | LabelVarPtr, LabelVarBytes := core.NullableStringToPtr(LabelVar) | |
| 466 | + | ||
| 467 | + | cret := xNewMenuItemSubmenu(LabelVarPtr, SubmenuVar.GoPointer()) | |
| 468 | + | ||
| 469 | + | runtime.KeepAlive(LabelVarBytes) | |
| 404 | 470 | ||
| 405 | 471 | if cret == 0 { | |
| 406 | 472 | return nil | |
| @@ -424,6 +490,7 @@ var xMenuItemGetAttribute func(uintptr, string, string, ...interface{}) bool | |||
| 424 | 490 | func (x *MenuItem) GetAttribute(AttributeVar string, FormatStringVar string, varArgs ...interface{}) bool { | |
| 425 | 491 | ||
| 426 | 492 | cret := xMenuItemGetAttribute(x.GoPointer(), AttributeVar, FormatStringVar, varArgs...) | |
| 493 | + | ||
| 427 | 494 | return cret | |
| 428 | 495 | } | |
| 429 | 496 | ||
| @@ -437,6 +504,7 @@ var xMenuItemGetAttributeValue func(uintptr, string, *glib.VariantType) *glib.Va | |||
| 437 | 504 | func (x *MenuItem) GetAttributeValue(AttributeVar string, ExpectedTypeVar *glib.VariantType) *glib.Variant { | |
| 438 | 505 | ||
| 439 | 506 | cret := xMenuItemGetAttributeValue(x.GoPointer(), AttributeVar, ExpectedTypeVar) | |
| 507 | + | ||
| 440 | 508 | return cret | |
| 441 | 509 | } | |
| 442 | 510 | ||
| @@ -479,7 +547,15 @@ var xMenuItemSetActionAndTarget func(uintptr, uintptr, uintptr, ...interface{}) | |||
| 479 | 547 | // description of the semantics of the action and target attributes. | |
| 480 | 548 | func (x *MenuItem) SetActionAndTarget(ActionVar *string, FormatStringVar *string, varArgs ...interface{}) { | |
| 481 | 549 | ||
| 482 | - | xMenuItemSetActionAndTarget(x.GoPointer(), core.NullableStringToPtr(ActionVar), core.NullableStringToPtr(FormatStringVar), varArgs...) | |
| 550 | + | ActionVarPtr, ActionVarBytes := core.NullableStringToPtr(ActionVar) | |
| 551 | + | ||
| 552 | + | FormatStringVarPtr, FormatStringVarBytes := core.NullableStringToPtr(FormatStringVar) | |
| 553 | + | ||
| 554 | + | xMenuItemSetActionAndTarget(x.GoPointer(), ActionVarPtr, FormatStringVarPtr, varArgs...) | |
| 555 | + | ||
| 556 | + | runtime.KeepAlive(ActionVarBytes) | |
| 557 | + | ||
| 558 | + | runtime.KeepAlive(FormatStringVarBytes) | |
| 483 | 559 | ||
| 484 | 560 | } | |
| 485 | 561 | ||
| @@ -523,7 +599,11 @@ var xMenuItemSetActionAndTargetValue func(uintptr, uintptr, *glib.Variant) | |||
| 523 | 599 | // probably more convenient for most uses. | |
| 524 | 600 | func (x *MenuItem) SetActionAndTargetValue(ActionVar *string, TargetValueVar *glib.Variant) { | |
| 525 | 601 | ||
| 526 | - | xMenuItemSetActionAndTargetValue(x.GoPointer(), core.NullableStringToPtr(ActionVar), TargetValueVar) | |
| 602 | + | ActionVarPtr, ActionVarBytes := core.NullableStringToPtr(ActionVar) | |
| 603 | + | ||
| 604 | + | xMenuItemSetActionAndTargetValue(x.GoPointer(), ActionVarPtr, TargetValueVar) | |
| 605 | + | ||
| 606 | + | runtime.KeepAlive(ActionVarBytes) | |
| 527 | 607 | ||
| 528 | 608 | } | |
| 529 | 609 | ||
| @@ -548,7 +628,11 @@ var xMenuItemSetAttribute func(uintptr, string, uintptr, ...interface{}) | |||
| 548 | 628 | // that directly accepts a #GVariant. | |
| 549 | 629 | func (x *MenuItem) SetAttribute(AttributeVar string, FormatStringVar *string, varArgs ...interface{}) { | |
| 550 | 630 | ||
| 551 | - | xMenuItemSetAttribute(x.GoPointer(), AttributeVar, core.NullableStringToPtr(FormatStringVar), varArgs...) | |
| 631 | + | FormatStringVarPtr, FormatStringVarBytes := core.NullableStringToPtr(FormatStringVar) | |
| 632 | + | ||
| 633 | + | xMenuItemSetAttribute(x.GoPointer(), AttributeVar, FormatStringVarPtr, varArgs...) | |
| 634 | + | ||
| 635 | + | runtime.KeepAlive(FormatStringVarBytes) | |
| 552 | 636 | ||
| 553 | 637 | } | |
| 554 | 638 | ||
| @@ -626,7 +710,11 @@ var xMenuItemSetLabel func(uintptr, uintptr) | |||
| 626 | 710 | // it is %NULL then the label attribute is unset. | |
| 627 | 711 | func (x *MenuItem) SetLabel(LabelVar *string) { | |
| 628 | 712 | ||
| 629 | - | xMenuItemSetLabel(x.GoPointer(), core.NullableStringToPtr(LabelVar)) | |
| 713 | + | LabelVarPtr, LabelVarBytes := core.NullableStringToPtr(LabelVar) | |
| 714 | + | ||
| 715 | + | xMenuItemSetLabel(x.GoPointer(), LabelVarPtr) | |
| 716 | + | ||
| 717 | + | runtime.KeepAlive(LabelVarBytes) | |
| 630 | 718 | ||
| 631 | 719 | } | |
| 632 | 720 | ||
M v4/gio/gmenumodel.go +11 -0
| @@ -411,6 +411,7 @@ var xMenuAttributeIterGetName func(uintptr) string | |||
| 411 | 411 | func (x *MenuAttributeIter) GetName() string { | |
| 412 | 412 | ||
| 413 | 413 | cret := xMenuAttributeIterGetName(x.GoPointer()) | |
| 414 | + | ||
| 414 | 415 | return cret | |
| 415 | 416 | } | |
| 416 | 417 | ||
| @@ -434,6 +435,7 @@ var xMenuAttributeIterGetNext func(uintptr, *string, **glib.Variant) bool | |||
| 434 | 435 | func (x *MenuAttributeIter) GetNext(OutNameVar *string, ValueVar **glib.Variant) bool { | |
| 435 | 436 | ||
| 436 | 437 | cret := xMenuAttributeIterGetNext(x.GoPointer(), OutNameVar, ValueVar) | |
| 438 | + | ||
| 437 | 439 | return cret | |
| 438 | 440 | } | |
| 439 | 441 | ||
| @@ -445,6 +447,7 @@ var xMenuAttributeIterGetValue func(uintptr) *glib.Variant | |||
| 445 | 447 | func (x *MenuAttributeIter) GetValue() *glib.Variant { | |
| 446 | 448 | ||
| 447 | 449 | cret := xMenuAttributeIterGetValue(x.GoPointer()) | |
| 450 | + | ||
| 448 | 451 | return cret | |
| 449 | 452 | } | |
| 450 | 453 | ||
| @@ -462,6 +465,7 @@ var xMenuAttributeIterNext func(uintptr) bool | |||
| 462 | 465 | func (x *MenuAttributeIter) Next() bool { | |
| 463 | 466 | ||
| 464 | 467 | cret := xMenuAttributeIterNext(x.GoPointer()) | |
| 468 | + | ||
| 465 | 469 | return cret | |
| 466 | 470 | } | |
| 467 | 471 | ||
| @@ -502,6 +506,7 @@ var xMenuLinkIterGetName func(uintptr) string | |||
| 502 | 506 | func (x *MenuLinkIter) GetName() string { | |
| 503 | 507 | ||
| 504 | 508 | cret := xMenuLinkIterGetName(x.GoPointer()) | |
| 509 | + | ||
| 505 | 510 | return cret | |
| 506 | 511 | } | |
| 507 | 512 | ||
| @@ -524,6 +529,7 @@ var xMenuLinkIterGetNext func(uintptr, *string, **MenuModel) bool | |||
| 524 | 529 | func (x *MenuLinkIter) GetNext(OutLinkVar *string, ValueVar **MenuModel) bool { | |
| 525 | 530 | ||
| 526 | 531 | cret := xMenuLinkIterGetNext(x.GoPointer(), OutLinkVar, ValueVar) | |
| 532 | + | ||
| 527 | 533 | return cret | |
| 528 | 534 | } | |
| 529 | 535 | ||
| @@ -558,6 +564,7 @@ var xMenuLinkIterNext func(uintptr) bool | |||
| 558 | 564 | func (x *MenuLinkIter) Next() bool { | |
| 559 | 565 | ||
| 560 | 566 | cret := xMenuLinkIterNext(x.GoPointer()) | |
| 567 | + | ||
| 561 | 568 | return cret | |
| 562 | 569 | } | |
| 563 | 570 | ||
| @@ -730,6 +737,7 @@ var xMenuModelGetItemAttribute func(uintptr, int, string, string, ...interface{} | |||
| 730 | 737 | func (x *MenuModel) GetItemAttribute(ItemIndexVar int, AttributeVar string, FormatStringVar string, varArgs ...interface{}) bool { | |
| 731 | 738 | ||
| 732 | 739 | cret := xMenuModelGetItemAttribute(x.GoPointer(), ItemIndexVar, AttributeVar, FormatStringVar, varArgs...) | |
| 740 | + | ||
| 733 | 741 | return cret | |
| 734 | 742 | } | |
| 735 | 743 | ||
| @@ -749,6 +757,7 @@ var xMenuModelGetItemAttributeValue func(uintptr, int, string, *glib.VariantType | |||
| 749 | 757 | func (x *MenuModel) GetItemAttributeValue(ItemIndexVar int, AttributeVar string, ExpectedTypeVar *glib.VariantType) *glib.Variant { | |
| 750 | 758 | ||
| 751 | 759 | cret := xMenuModelGetItemAttributeValue(x.GoPointer(), ItemIndexVar, AttributeVar, ExpectedTypeVar) | |
| 760 | + | ||
| 752 | 761 | return cret | |
| 753 | 762 | } | |
| 754 | 763 | ||
| @@ -778,6 +787,7 @@ var xMenuModelGetNItems func(uintptr) int | |||
| 778 | 787 | func (x *MenuModel) GetNItems() int { | |
| 779 | 788 | ||
| 780 | 789 | cret := xMenuModelGetNItems(x.GoPointer()) | |
| 790 | + | ||
| 781 | 791 | return cret | |
| 782 | 792 | } | |
| 783 | 793 | ||
| @@ -790,6 +800,7 @@ var xMenuModelIsMutable func(uintptr) bool | |||
| 790 | 800 | func (x *MenuModel) IsMutable() bool { | |
| 791 | 801 | ||
| 792 | 802 | cret := xMenuModelIsMutable(x.GoPointer()) | |
| 803 | + | ||
| 793 | 804 | return cret | |
| 794 | 805 | } | |
| 795 | 806 | ||
M v4/gio/gmount.go +13 -0
| @@ -899,6 +899,7 @@ func (x *MountBase) SetGoPointer(ptr uintptr) { | |||
| 899 | 899 | func (x *MountBase) CanEject() bool { | |
| 900 | 900 | ||
| 901 | 901 | cret := XGMountCanEject(x.GoPointer()) | |
| 902 | + | ||
| 902 | 903 | return cret | |
| 903 | 904 | } | |
| 904 | 905 | ||
| @@ -906,6 +907,7 @@ func (x *MountBase) CanEject() bool { | |||
| 906 | 907 | func (x *MountBase) CanUnmount() bool { | |
| 907 | 908 | ||
| 908 | 909 | cret := XGMountCanUnmount(x.GoPointer()) | |
| 910 | + | ||
| 909 | 911 | return cret | |
| 910 | 912 | } | |
| 911 | 913 | ||
| @@ -924,6 +926,7 @@ func (x *MountBase) EjectFinish(ResultVar AsyncResult) (bool, error) { | |||
| 924 | 926 | var cerr *glib.Error | |
| 925 | 927 | ||
| 926 | 928 | cret := XGMountEjectFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr) | |
| 929 | + | ||
| 927 | 930 | if cerr == nil { | |
| 928 | 931 | return cret, nil | |
| 929 | 932 | } | |
| @@ -946,6 +949,7 @@ func (x *MountBase) EjectWithOperationFinish(ResultVar AsyncResult) (bool, error | |||
| 946 | 949 | var cerr *glib.Error | |
| 947 | 950 | ||
| 948 | 951 | cret := XGMountEjectWithOperationFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr) | |
| 952 | + | ||
| 949 | 953 | if cerr == nil { | |
| 950 | 954 | return cret, nil | |
| 951 | 955 | } | |
| @@ -1004,6 +1008,7 @@ func (x *MountBase) GetIcon() *IconBase { | |||
| 1004 | 1008 | func (x *MountBase) GetName() string { | |
| 1005 | 1009 | ||
| 1006 | 1010 | cret := XGMountGetName(x.GoPointer()) | |
| 1011 | + | ||
| 1007 | 1012 | return cret | |
| 1008 | 1013 | } | |
| 1009 | 1014 | ||
| @@ -1025,6 +1030,7 @@ func (x *MountBase) GetRoot() *FileBase { | |||
| 1025 | 1030 | func (x *MountBase) GetSortKey() string { | |
| 1026 | 1031 | ||
| 1027 | 1032 | cret := XGMountGetSortKey(x.GoPointer()) | |
| 1033 | + | ||
| 1028 | 1034 | return cret | |
| 1029 | 1035 | } | |
| 1030 | 1036 | ||
| @@ -1049,6 +1055,7 @@ func (x *MountBase) GetSymbolicIcon() *IconBase { | |||
| 1049 | 1055 | func (x *MountBase) GetUuid() string { | |
| 1050 | 1056 | ||
| 1051 | 1057 | cret := XGMountGetUuid(x.GoPointer()) | |
| 1058 | + | ||
| 1052 | 1059 | return cret | |
| 1053 | 1060 | } | |
| 1054 | 1061 | ||
| @@ -1092,6 +1099,7 @@ func (x *MountBase) GuessContentTypeFinish(ResultVar AsyncResult) ([]string, err | |||
| 1092 | 1099 | var cerr *glib.Error | |
| 1093 | 1100 | ||
| 1094 | 1101 | cret := XGMountGuessContentTypeFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr) | |
| 1102 | + | ||
| 1095 | 1103 | if cerr == nil { | |
| 1096 | 1104 | return cret, nil | |
| 1097 | 1105 | } | |
| @@ -1112,6 +1120,7 @@ func (x *MountBase) GuessContentTypeSync(ForceRescanVar bool, CancellableVar *Ca | |||
| 1112 | 1120 | var cerr *glib.Error | |
| 1113 | 1121 | ||
| 1114 | 1122 | cret := XGMountGuessContentTypeSync(x.GoPointer(), ForceRescanVar, CancellableVar.GoPointer(), &cerr) | |
| 1123 | + | ||
| 1115 | 1124 | if cerr == nil { | |
| 1116 | 1125 | return cret, nil | |
| 1117 | 1126 | } | |
| @@ -1145,6 +1154,7 @@ func (x *MountBase) GuessContentTypeSync(ForceRescanVar bool, CancellableVar *Ca | |||
| 1145 | 1154 | func (x *MountBase) IsShadowed() bool { | |
| 1146 | 1155 | ||
| 1147 | 1156 | cret := XGMountIsShadowed(x.GoPointer()) | |
| 1157 | + | ||
| 1148 | 1158 | return cret | |
| 1149 | 1159 | } | |
| 1150 | 1160 | ||
| @@ -1169,6 +1179,7 @@ func (x *MountBase) RemountFinish(ResultVar AsyncResult) (bool, error) { | |||
| 1169 | 1179 | var cerr *glib.Error | |
| 1170 | 1180 | ||
| 1171 | 1181 | cret := XGMountRemountFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr) | |
| 1182 | + | ||
| 1172 | 1183 | if cerr == nil { | |
| 1173 | 1184 | return cret, nil | |
| 1174 | 1185 | } | |
| @@ -1201,6 +1212,7 @@ func (x *MountBase) UnmountFinish(ResultVar AsyncResult) (bool, error) { | |||
| 1201 | 1212 | var cerr *glib.Error | |
| 1202 | 1213 | ||
| 1203 | 1214 | cret := XGMountUnmountFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr) | |
| 1215 | + | ||
| 1204 | 1216 | if cerr == nil { | |
| 1205 | 1217 | return cret, nil | |
| 1206 | 1218 | } | |
| @@ -1223,6 +1235,7 @@ func (x *MountBase) UnmountWithOperationFinish(ResultVar AsyncResult) (bool, err | |||
| 1223 | 1235 | var cerr *glib.Error | |
| 1224 | 1236 | ||
| 1225 | 1237 | cret := XGMountUnmountWithOperationFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr) | |
| 1238 | + | ||
| 1226 | 1239 | if cerr == nil { | |
| 1227 | 1240 | return cret, nil | |
| 1228 | 1241 | } | |
M v4/gio/gmountoperation.go +25 -3
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gio | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "runtime" | |
| 5 | 6 | "structs" | |
| 6 | 7 | "unsafe" | |
| 7 | 8 | ||
| @@ -466,6 +467,7 @@ var xMountOperationGetAnonymous func(uintptr) bool | |||
| 466 | 467 | func (x *MountOperation) GetAnonymous() bool { | |
| 467 | 468 | ||
| 468 | 469 | cret := xMountOperationGetAnonymous(x.GoPointer()) | |
| 470 | + | ||
| 469 | 471 | return cret | |
| 470 | 472 | } | |
| 471 | 473 | ||
| @@ -475,6 +477,7 @@ var xMountOperationGetChoice func(uintptr) int | |||
| 475 | 477 | func (x *MountOperation) GetChoice() int { | |
| 476 | 478 | ||
| 477 | 479 | cret := xMountOperationGetChoice(x.GoPointer()) | |
| 480 | + | ||
| 478 | 481 | return cret | |
| 479 | 482 | } | |
| 480 | 483 | ||
| @@ -484,6 +487,7 @@ var xMountOperationGetDomain func(uintptr) string | |||
| 484 | 487 | func (x *MountOperation) GetDomain() string { | |
| 485 | 488 | ||
| 486 | 489 | cret := xMountOperationGetDomain(x.GoPointer()) | |
| 490 | + | ||
| 487 | 491 | return cret | |
| 488 | 492 | } | |
| 489 | 493 | ||
| @@ -494,6 +498,7 @@ var xMountOperationGetIsTcryptHiddenVolume func(uintptr) bool | |||
| 494 | 498 | func (x *MountOperation) GetIsTcryptHiddenVolume() bool { | |
| 495 | 499 | ||
| 496 | 500 | cret := xMountOperationGetIsTcryptHiddenVolume(x.GoPointer()) | |
| 501 | + | ||
| 497 | 502 | return cret | |
| 498 | 503 | } | |
| 499 | 504 | ||
| @@ -504,6 +509,7 @@ var xMountOperationGetIsTcryptSystemVolume func(uintptr) bool | |||
| 504 | 509 | func (x *MountOperation) GetIsTcryptSystemVolume() bool { | |
| 505 | 510 | ||
| 506 | 511 | cret := xMountOperationGetIsTcryptSystemVolume(x.GoPointer()) | |
| 512 | + | ||
| 507 | 513 | return cret | |
| 508 | 514 | } | |
| 509 | 515 | ||
| @@ -513,6 +519,7 @@ var xMountOperationGetPassword func(uintptr) string | |||
| 513 | 519 | func (x *MountOperation) GetPassword() string { | |
| 514 | 520 | ||
| 515 | 521 | cret := xMountOperationGetPassword(x.GoPointer()) | |
| 522 | + | ||
| 516 | 523 | return cret | |
| 517 | 524 | } | |
| 518 | 525 | ||
| @@ -522,6 +529,7 @@ var xMountOperationGetPasswordSave func(uintptr) PasswordSave | |||
| 522 | 529 | func (x *MountOperation) GetPasswordSave() PasswordSave { | |
| 523 | 530 | ||
| 524 | 531 | cret := xMountOperationGetPasswordSave(x.GoPointer()) | |
| 532 | + | ||
| 525 | 533 | return cret | |
| 526 | 534 | } | |
| 527 | 535 | ||
| @@ -531,6 +539,7 @@ var xMountOperationGetPim func(uintptr) uint | |||
| 531 | 539 | func (x *MountOperation) GetPim() uint { | |
| 532 | 540 | ||
| 533 | 541 | cret := xMountOperationGetPim(x.GoPointer()) | |
| 542 | + | ||
| 534 | 543 | return cret | |
| 535 | 544 | } | |
| 536 | 545 | ||
| @@ -540,6 +549,7 @@ var xMountOperationGetUsername func(uintptr) string | |||
| 540 | 549 | func (x *MountOperation) GetUsername() string { | |
| 541 | 550 | ||
| 542 | 551 | cret := xMountOperationGetUsername(x.GoPointer()) | |
| 552 | + | ||
| 543 | 553 | return cret | |
| 544 | 554 | } | |
| 545 | 555 | ||
| @@ -575,7 +585,11 @@ var xMountOperationSetDomain func(uintptr, uintptr) | |||
| 575 | 585 | // Sets the mount operation's domain. | |
| 576 | 586 | func (x *MountOperation) SetDomain(DomainVar *string) { | |
| 577 | 587 | ||
| 578 | - | xMountOperationSetDomain(x.GoPointer(), core.NullableStringToPtr(DomainVar)) | |
| 588 | + | DomainVarPtr, DomainVarBytes := core.NullableStringToPtr(DomainVar) | |
| 589 | + | ||
| 590 | + | xMountOperationSetDomain(x.GoPointer(), DomainVarPtr) | |
| 591 | + | ||
| 592 | + | runtime.KeepAlive(DomainVarBytes) | |
| 579 | 593 | ||
| 580 | 594 | } | |
| 581 | 595 | ||
| @@ -602,7 +616,11 @@ var xMountOperationSetPassword func(uintptr, uintptr) | |||
| 602 | 616 | // Sets the mount operation's password to @password. | |
| 603 | 617 | func (x *MountOperation) SetPassword(PasswordVar *string) { | |
| 604 | 618 | ||
| 605 | - | xMountOperationSetPassword(x.GoPointer(), core.NullableStringToPtr(PasswordVar)) | |
| 619 | + | PasswordVarPtr, PasswordVarBytes := core.NullableStringToPtr(PasswordVar) | |
| 620 | + | ||
| 621 | + | xMountOperationSetPassword(x.GoPointer(), PasswordVarPtr) | |
| 622 | + | ||
| 623 | + | runtime.KeepAlive(PasswordVarBytes) | |
| 606 | 624 | ||
| 607 | 625 | } | |
| 608 | 626 | ||
| @@ -629,7 +647,11 @@ var xMountOperationSetUsername func(uintptr, uintptr) | |||
| 629 | 647 | // Sets the user name within @op to @username. | |
| 630 | 648 | func (x *MountOperation) SetUsername(UsernameVar *string) { | |
| 631 | 649 | ||
| 632 | - | xMountOperationSetUsername(x.GoPointer(), core.NullableStringToPtr(UsernameVar)) | |
| 650 | + | UsernameVarPtr, UsernameVarBytes := core.NullableStringToPtr(UsernameVar) | |
| 651 | + | ||
| 652 | + | xMountOperationSetUsername(x.GoPointer(), UsernameVarPtr) | |
| 653 | + | ||
| 654 | + | runtime.KeepAlive(UsernameVarBytes) | |
| 633 | 655 | ||
| 634 | 656 | } | |
| 635 | 657 | ||
M v4/gio/gnativesocketaddress.go +1 -0
| @@ -119,6 +119,7 @@ func (x *NativeSocketAddress) ProxyEnumerate() *SocketAddressEnumerator { | |||
| 119 | 119 | func (x *NativeSocketAddress) ToString() string { | |
| 120 | 120 | ||
| 121 | 121 | cret := XGSocketConnectableToString(x.GoPointer()) | |
| 122 | + | ||
| 122 | 123 | return cret | |
| 123 | 124 | } | |
| 124 | 125 | ||
M v4/gio/gnetworkaddress.go +4 -0
| @@ -113,6 +113,7 @@ var xNetworkAddressGetHostname func(uintptr) string | |||
| 113 | 113 | func (x *NetworkAddress) GetHostname() string { | |
| 114 | 114 | ||
| 115 | 115 | cret := xNetworkAddressGetHostname(x.GoPointer()) | |
| 116 | + | ||
| 116 | 117 | return cret | |
| 117 | 118 | } | |
| 118 | 119 | ||
| @@ -122,6 +123,7 @@ var xNetworkAddressGetPort func(uintptr) uint16 | |||
| 122 | 123 | func (x *NetworkAddress) GetPort() uint16 { | |
| 123 | 124 | ||
| 124 | 125 | cret := xNetworkAddressGetPort(x.GoPointer()) | |
| 126 | + | ||
| 125 | 127 | return cret | |
| 126 | 128 | } | |
| 127 | 129 | ||
| @@ -131,6 +133,7 @@ var xNetworkAddressGetScheme func(uintptr) string | |||
| 131 | 133 | func (x *NetworkAddress) GetScheme() string { | |
| 132 | 134 | ||
| 133 | 135 | cret := xNetworkAddressGetScheme(x.GoPointer()) | |
| 136 | + | ||
| 134 | 137 | return cret | |
| 135 | 138 | } | |
| 136 | 139 | ||
| @@ -240,6 +243,7 @@ func (x *NetworkAddress) ProxyEnumerate() *SocketAddressEnumerator { | |||
| 240 | 243 | func (x *NetworkAddress) ToString() string { | |
| 241 | 244 | ||
| 242 | 245 | cret := XGSocketConnectableToString(x.GoPointer()) | |
| 246 | + | ||
| 243 | 247 | return cret | |
| 244 | 248 | } | |
| 245 | 249 | ||
M v4/gio/gnetworkmonitor.go +5 -0
| @@ -202,6 +202,7 @@ func (x *NetworkMonitorBase) CanReach(ConnectableVar SocketConnectable, Cancella | |||
| 202 | 202 | var cerr *glib.Error | |
| 203 | 203 | ||
| 204 | 204 | cret := XGNetworkMonitorCanReach(x.GoPointer(), ConnectableVar.GoPointer(), CancellableVar.GoPointer(), &cerr) | |
| 205 | + | ||
| 205 | 206 | if cerr == nil { | |
| 206 | 207 | return cret, nil | |
| 207 | 208 | } | |
| @@ -230,6 +231,7 @@ func (x *NetworkMonitorBase) CanReachFinish(ResultVar AsyncResult) (bool, error) | |||
| 230 | 231 | var cerr *glib.Error | |
| 231 | 232 | ||
| 232 | 233 | cret := XGNetworkMonitorCanReachFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr) | |
| 234 | + | ||
| 233 | 235 | if cerr == nil { | |
| 234 | 236 | return cret, nil | |
| 235 | 237 | } | |
| @@ -259,6 +261,7 @@ func (x *NetworkMonitorBase) CanReachFinish(ResultVar AsyncResult) (bool, error) | |||
| 259 | 261 | func (x *NetworkMonitorBase) GetConnectivity() NetworkConnectivity { | |
| 260 | 262 | ||
| 261 | 263 | cret := XGNetworkMonitorGetConnectivity(x.GoPointer()) | |
| 264 | + | ||
| 262 | 265 | return cret | |
| 263 | 266 | } | |
| 264 | 267 | ||
| @@ -269,6 +272,7 @@ func (x *NetworkMonitorBase) GetConnectivity() NetworkConnectivity { | |||
| 269 | 272 | func (x *NetworkMonitorBase) GetNetworkAvailable() bool { | |
| 270 | 273 | ||
| 271 | 274 | cret := XGNetworkMonitorGetNetworkAvailable(x.GoPointer()) | |
| 275 | + | ||
| 272 | 276 | return cret | |
| 273 | 277 | } | |
| 274 | 278 | ||
| @@ -277,6 +281,7 @@ func (x *NetworkMonitorBase) GetNetworkAvailable() bool { | |||
| 277 | 281 | func (x *NetworkMonitorBase) GetNetworkMetered() bool { | |
| 278 | 282 | ||
| 279 | 283 | cret := XGNetworkMonitorGetNetworkMetered(x.GoPointer()) | |
| 284 | + | ||
| 280 | 285 | return cret | |
| 281 | 286 | } | |
| 282 | 287 | ||
M v4/gio/gnetworkservice.go +5 -0
| @@ -79,6 +79,7 @@ var xNetworkServiceGetDomain func(uintptr) string | |||
| 79 | 79 | func (x *NetworkService) GetDomain() string { | |
| 80 | 80 | ||
| 81 | 81 | cret := xNetworkServiceGetDomain(x.GoPointer()) | |
| 82 | + | ||
| 82 | 83 | return cret | |
| 83 | 84 | } | |
| 84 | 85 | ||
| @@ -88,6 +89,7 @@ var xNetworkServiceGetProtocol func(uintptr) string | |||
| 88 | 89 | func (x *NetworkService) GetProtocol() string { | |
| 89 | 90 | ||
| 90 | 91 | cret := xNetworkServiceGetProtocol(x.GoPointer()) | |
| 92 | + | ||
| 91 | 93 | return cret | |
| 92 | 94 | } | |
| 93 | 95 | ||
| @@ -98,6 +100,7 @@ var xNetworkServiceGetScheme func(uintptr) string | |||
| 98 | 100 | func (x *NetworkService) GetScheme() string { | |
| 99 | 101 | ||
| 100 | 102 | cret := xNetworkServiceGetScheme(x.GoPointer()) | |
| 103 | + | ||
| 101 | 104 | return cret | |
| 102 | 105 | } | |
| 103 | 106 | ||
| @@ -107,6 +110,7 @@ var xNetworkServiceGetService func(uintptr) string | |||
| 107 | 110 | func (x *NetworkService) GetService() string { | |
| 108 | 111 | ||
| 109 | 112 | cret := xNetworkServiceGetService(x.GoPointer()) | |
| 113 | + | ||
| 110 | 114 | return cret | |
| 111 | 115 | } | |
| 112 | 116 | ||
| @@ -243,6 +247,7 @@ func (x *NetworkService) ProxyEnumerate() *SocketAddressEnumerator { | |||
| 243 | 247 | func (x *NetworkService) ToString() string { | |
| 244 | 248 | ||
| 245 | 249 | cret := XGSocketConnectableToString(x.GoPointer()) | |
| 250 | + | ||
| 246 | 251 | return cret | |
| 247 | 252 | } | |
| 248 | 253 | ||
M v4/gio/gnotification.go +22 -4
| @@ -2,6 +2,8 @@ | |||
| 2 | 2 | package gio | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "runtime" | |
| 6 | + | ||
| 5 | 7 | "github.com/jwijenbergh/purego" | |
| 6 | 8 | "github.com/jwijenbergh/puregotk/pkg/core" | |
| 7 | 9 | "github.com/jwijenbergh/puregotk/v4/glib" | |
| @@ -118,7 +120,11 @@ var xNotificationAddButtonWithTarget func(uintptr, string, string, uintptr, ...i | |||
| 118 | 120 | // parameter. | |
| 119 | 121 | func (x *Notification) AddButtonWithTarget(LabelVar string, ActionVar string, TargetFormatVar *string, varArgs ...interface{}) { | |
| 120 | 122 | ||
| 121 | - | xNotificationAddButtonWithTarget(x.GoPointer(), LabelVar, ActionVar, core.NullableStringToPtr(TargetFormatVar), varArgs...) | |
| 123 | + | TargetFormatVarPtr, TargetFormatVarBytes := core.NullableStringToPtr(TargetFormatVar) | |
| 124 | + | ||
| 125 | + | xNotificationAddButtonWithTarget(x.GoPointer(), LabelVar, ActionVar, TargetFormatVarPtr, varArgs...) | |
| 126 | + | ||
| 127 | + | runtime.KeepAlive(TargetFormatVarBytes) | |
| 122 | 128 | ||
| 123 | 129 | } | |
| 124 | 130 | ||
| @@ -140,7 +146,11 @@ var xNotificationSetBody func(uintptr, uintptr) | |||
| 140 | 146 | // Sets the body of @notification to @body. | |
| 141 | 147 | func (x *Notification) SetBody(BodyVar *string) { | |
| 142 | 148 | ||
| 143 | - | xNotificationSetBody(x.GoPointer(), core.NullableStringToPtr(BodyVar)) | |
| 149 | + | BodyVarPtr, BodyVarBytes := core.NullableStringToPtr(BodyVar) | |
| 150 | + | ||
| 151 | + | xNotificationSetBody(x.GoPointer(), BodyVarPtr) | |
| 152 | + | ||
| 153 | + | runtime.KeepAlive(BodyVarBytes) | |
| 144 | 154 | ||
| 145 | 155 | } | |
| 146 | 156 | ||
| @@ -154,7 +164,11 @@ var xNotificationSetCategory func(uintptr, uintptr) | |||
| 154 | 164 | // Standard categories are [listed in the specification](https://specifications.freedesktop.org/notification-spec/latest/ar01s06.html). | |
| 155 | 165 | func (x *Notification) SetCategory(CategoryVar *string) { | |
| 156 | 166 | ||
| 157 | - | xNotificationSetCategory(x.GoPointer(), core.NullableStringToPtr(CategoryVar)) | |
| 167 | + | CategoryVarPtr, CategoryVarBytes := core.NullableStringToPtr(CategoryVar) | |
| 168 | + | ||
| 169 | + | xNotificationSetCategory(x.GoPointer(), CategoryVarPtr) | |
| 170 | + | ||
| 171 | + | runtime.KeepAlive(CategoryVarBytes) | |
| 158 | 172 | ||
| 159 | 173 | } | |
| 160 | 174 | ||
| @@ -192,7 +206,11 @@ var xNotificationSetDefaultActionAndTarget func(uintptr, string, uintptr, ...int | |||
| 192 | 206 | // was sent on is activated. | |
| 193 | 207 | func (x *Notification) SetDefaultActionAndTarget(ActionVar string, TargetFormatVar *string, varArgs ...interface{}) { | |
| 194 | 208 | ||
| 195 | - | xNotificationSetDefaultActionAndTarget(x.GoPointer(), ActionVar, core.NullableStringToPtr(TargetFormatVar), varArgs...) | |
| 209 | + | TargetFormatVarPtr, TargetFormatVarBytes := core.NullableStringToPtr(TargetFormatVar) | |
| 210 | + | ||
| 211 | + | xNotificationSetDefaultActionAndTarget(x.GoPointer(), ActionVar, TargetFormatVarPtr, varArgs...) | |
| 212 | + | ||
| 213 | + | runtime.KeepAlive(TargetFormatVarBytes) | |
| 196 | 214 | ||
| 197 | 215 | } | |
| 198 | 216 | ||
M v4/gio/goutputstream.go +22 -0
| @@ -607,6 +607,7 @@ func (x *OutputStream) Close(CancellableVar *Cancellable) (bool, error) { | |||
| 607 | 607 | var cerr *glib.Error | |
| 608 | 608 | ||
| 609 | 609 | cret := xOutputStreamClose(x.GoPointer(), CancellableVar.GoPointer(), &cerr) | |
| 610 | + | ||
| 610 | 611 | if cerr == nil { | |
| 611 | 612 | return cret, nil | |
| 612 | 613 | } | |
| @@ -654,6 +655,7 @@ func (x *OutputStream) CloseFinish(ResultVar AsyncResult) (bool, error) { | |||
| 654 | 655 | var cerr *glib.Error | |
| 655 | 656 | ||
| 656 | 657 | cret := xOutputStreamCloseFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr) | |
| 658 | + | ||
| 657 | 659 | if cerr == nil { | |
| 658 | 660 | return cret, nil | |
| 659 | 661 | } | |
| @@ -676,6 +678,7 @@ func (x *OutputStream) Flush(CancellableVar *Cancellable) (bool, error) { | |||
| 676 | 678 | var cerr *glib.Error | |
| 677 | 679 | ||
| 678 | 680 | cret := xOutputStreamFlush(x.GoPointer(), CancellableVar.GoPointer(), &cerr) | |
| 681 | + | ||
| 679 | 682 | if cerr == nil { | |
| 680 | 683 | return cret, nil | |
| 681 | 684 | } | |
| @@ -720,6 +723,7 @@ func (x *OutputStream) FlushFinish(ResultVar AsyncResult) (bool, error) { | |||
| 720 | 723 | var cerr *glib.Error | |
| 721 | 724 | ||
| 722 | 725 | cret := xOutputStreamFlushFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr) | |
| 726 | + | ||
| 723 | 727 | if cerr == nil { | |
| 724 | 728 | return cret, nil | |
| 725 | 729 | } | |
| @@ -733,6 +737,7 @@ var xOutputStreamHasPending func(uintptr) bool | |||
| 733 | 737 | func (x *OutputStream) HasPending() bool { | |
| 734 | 738 | ||
| 735 | 739 | cret := xOutputStreamHasPending(x.GoPointer()) | |
| 740 | + | ||
| 736 | 741 | return cret | |
| 737 | 742 | } | |
| 738 | 743 | ||
| @@ -742,6 +747,7 @@ var xOutputStreamIsClosed func(uintptr) bool | |||
| 742 | 747 | func (x *OutputStream) IsClosed() bool { | |
| 743 | 748 | ||
| 744 | 749 | cret := xOutputStreamIsClosed(x.GoPointer()) | |
| 750 | + | ||
| 745 | 751 | return cret | |
| 746 | 752 | } | |
| 747 | 753 | ||
| @@ -754,6 +760,7 @@ var xOutputStreamIsClosing func(uintptr) bool | |||
| 754 | 760 | func (x *OutputStream) IsClosing() bool { | |
| 755 | 761 | ||
| 756 | 762 | cret := xOutputStreamIsClosing(x.GoPointer()) | |
| 763 | + | ||
| 757 | 764 | return cret | |
| 758 | 765 | } | |
| 759 | 766 | ||
| @@ -774,6 +781,7 @@ var xOutputStreamPrintf func(uintptr, *uint, uintptr, **glib.Error, string, ...i | |||
| 774 | 781 | func (x *OutputStream) Printf(BytesWrittenVar *uint, CancellableVar *Cancellable, ErrorVar **glib.Error, FormatVar string, varArgs ...interface{}) bool { | |
| 775 | 782 | ||
| 776 | 783 | cret := xOutputStreamPrintf(x.GoPointer(), BytesWrittenVar, CancellableVar.GoPointer(), ErrorVar, FormatVar, varArgs...) | |
| 784 | + | ||
| 777 | 785 | return cret | |
| 778 | 786 | } | |
| 779 | 787 | ||
| @@ -786,6 +794,7 @@ func (x *OutputStream) SetPending() (bool, error) { | |||
| 786 | 794 | var cerr *glib.Error | |
| 787 | 795 | ||
| 788 | 796 | cret := xOutputStreamSetPending(x.GoPointer()) | |
| 797 | + | ||
| 789 | 798 | if cerr == nil { | |
| 790 | 799 | return cret, nil | |
| 791 | 800 | } | |
| @@ -800,6 +809,7 @@ func (x *OutputStream) Splice(SourceVar *InputStream, FlagsVar OutputStreamSplic | |||
| 800 | 809 | var cerr *glib.Error | |
| 801 | 810 | ||
| 802 | 811 | cret := xOutputStreamSplice(x.GoPointer(), SourceVar.GoPointer(), FlagsVar, CancellableVar.GoPointer(), &cerr) | |
| 812 | + | ||
| 803 | 813 | if cerr == nil { | |
| 804 | 814 | return cret, nil | |
| 805 | 815 | } | |
| @@ -844,6 +854,7 @@ func (x *OutputStream) SpliceFinish(ResultVar AsyncResult) (int, error) { | |||
| 844 | 854 | var cerr *glib.Error | |
| 845 | 855 | ||
| 846 | 856 | cret := xOutputStreamSpliceFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr) | |
| 857 | + | ||
| 847 | 858 | if cerr == nil { | |
| 848 | 859 | return cret, nil | |
| 849 | 860 | } | |
| @@ -868,6 +879,7 @@ var xOutputStreamVprintf func(uintptr, *uint, uintptr, **glib.Error, string, []i | |||
| 868 | 879 | func (x *OutputStream) Vprintf(BytesWrittenVar *uint, CancellableVar *Cancellable, ErrorVar **glib.Error, FormatVar string, ArgsVar []interface{}) bool { | |
| 869 | 880 | ||
| 870 | 881 | cret := xOutputStreamVprintf(x.GoPointer(), BytesWrittenVar, CancellableVar.GoPointer(), ErrorVar, FormatVar, ArgsVar) | |
| 882 | + | ||
| 871 | 883 | return cret | |
| 872 | 884 | } | |
| 873 | 885 | ||
| @@ -897,6 +909,7 @@ func (x *OutputStream) Write(BufferVar []byte, CountVar uint, CancellableVar *Ca | |||
| 897 | 909 | var cerr *glib.Error | |
| 898 | 910 | ||
| 899 | 911 | cret := xOutputStreamWrite(x.GoPointer(), BufferVar, CountVar, CancellableVar.GoPointer(), &cerr) | |
| 912 | + | ||
| 900 | 913 | if cerr == nil { | |
| 901 | 914 | return cret, nil | |
| 902 | 915 | } | |
| @@ -929,6 +942,7 @@ func (x *OutputStream) WriteAll(BufferVar []byte, CountVar uint, BytesWrittenVar | |||
| 929 | 942 | var cerr *glib.Error | |
| 930 | 943 | ||
| 931 | 944 | cret := xOutputStreamWriteAll(x.GoPointer(), BufferVar, CountVar, BytesWrittenVar, CancellableVar.GoPointer(), &cerr) | |
| 945 | + | ||
| 932 | 946 | if cerr == nil { | |
| 933 | 947 | return cret, nil | |
| 934 | 948 | } | |
| @@ -990,6 +1004,7 @@ func (x *OutputStream) WriteAllFinish(ResultVar AsyncResult, BytesWrittenVar *ui | |||
| 990 | 1004 | var cerr *glib.Error | |
| 991 | 1005 | ||
| 992 | 1006 | cret := xOutputStreamWriteAllFinish(x.GoPointer(), ResultVar.GoPointer(), BytesWrittenVar, &cerr) | |
| 1007 | + | ||
| 993 | 1008 | if cerr == nil { | |
| 994 | 1009 | return cret, nil | |
| 995 | 1010 | } | |
| @@ -1072,6 +1087,7 @@ func (x *OutputStream) WriteBytes(BytesVar *glib.Bytes, CancellableVar *Cancella | |||
| 1072 | 1087 | var cerr *glib.Error | |
| 1073 | 1088 | ||
| 1074 | 1089 | cret := xOutputStreamWriteBytes(x.GoPointer(), BytesVar, CancellableVar.GoPointer(), &cerr) | |
| 1090 | + | ||
| 1075 | 1091 | if cerr == nil { | |
| 1076 | 1092 | return cret, nil | |
| 1077 | 1093 | } | |
| @@ -1122,6 +1138,7 @@ func (x *OutputStream) WriteBytesFinish(ResultVar AsyncResult) (int, error) { | |||
| 1122 | 1138 | var cerr *glib.Error | |
| 1123 | 1139 | ||
| 1124 | 1140 | cret := xOutputStreamWriteBytesFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr) | |
| 1141 | + | ||
| 1125 | 1142 | if cerr == nil { | |
| 1126 | 1143 | return cret, nil | |
| 1127 | 1144 | } | |
| @@ -1136,6 +1153,7 @@ func (x *OutputStream) WriteFinish(ResultVar AsyncResult) (int, error) { | |||
| 1136 | 1153 | var cerr *glib.Error | |
| 1137 | 1154 | ||
| 1138 | 1155 | cret := xOutputStreamWriteFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr) | |
| 1156 | + | ||
| 1139 | 1157 | if cerr == nil { | |
| 1140 | 1158 | return cret, nil | |
| 1141 | 1159 | } | |
| @@ -1172,6 +1190,7 @@ func (x *OutputStream) Writev(VectorsVar []OutputVector, NVectorsVar uint, Bytes | |||
| 1172 | 1190 | var cerr *glib.Error | |
| 1173 | 1191 | ||
| 1174 | 1192 | cret := xOutputStreamWritev(x.GoPointer(), VectorsVar, NVectorsVar, BytesWrittenVar, CancellableVar.GoPointer(), &cerr) | |
| 1193 | + | ||
| 1175 | 1194 | if cerr == nil { | |
| 1176 | 1195 | return cret, nil | |
| 1177 | 1196 | } | |
| @@ -1207,6 +1226,7 @@ func (x *OutputStream) WritevAll(VectorsVar []OutputVector, NVectorsVar uint, By | |||
| 1207 | 1226 | var cerr *glib.Error | |
| 1208 | 1227 | ||
| 1209 | 1228 | cret := xOutputStreamWritevAll(x.GoPointer(), VectorsVar, NVectorsVar, BytesWrittenVar, CancellableVar.GoPointer(), &cerr) | |
| 1229 | + | ||
| 1210 | 1230 | if cerr == nil { | |
| 1211 | 1231 | return cret, nil | |
| 1212 | 1232 | } | |
| @@ -1269,6 +1289,7 @@ func (x *OutputStream) WritevAllFinish(ResultVar AsyncResult, BytesWrittenVar *u | |||
| 1269 | 1289 | var cerr *glib.Error | |
| 1270 | 1290 | ||
| 1271 | 1291 | cret := xOutputStreamWritevAllFinish(x.GoPointer(), ResultVar.GoPointer(), BytesWrittenVar, &cerr) | |
| 1292 | + | ||
| 1272 | 1293 | if cerr == nil { | |
| 1273 | 1294 | return cret, nil | |
| 1274 | 1295 | } | |
| @@ -1336,6 +1357,7 @@ func (x *OutputStream) WritevFinish(ResultVar AsyncResult, BytesWrittenVar *uint | |||
| 1336 | 1357 | var cerr *glib.Error | |
| 1337 | 1358 | ||
| 1338 | 1359 | cret := xOutputStreamWritevFinish(x.GoPointer(), ResultVar.GoPointer(), BytesWrittenVar, &cerr) | |
| 1360 | + | ||
| 1339 | 1361 | if cerr == nil { | |
| 1340 | 1362 | return cret, nil | |
| 1341 | 1363 | } | |
M v4/gio/gpermission.go +7 -0
| @@ -234,6 +234,7 @@ func (x *Permission) Acquire(CancellableVar *Cancellable) (bool, error) { | |||
| 234 | 234 | var cerr *glib.Error | |
| 235 | 235 | ||
| 236 | 236 | cret := xPermissionAcquire(x.GoPointer(), CancellableVar.GoPointer(), &cerr) | |
| 237 | + | ||
| 237 | 238 | if cerr == nil { | |
| 238 | 239 | return cret, nil | |
| 239 | 240 | } | |
| @@ -279,6 +280,7 @@ func (x *Permission) AcquireFinish(ResultVar AsyncResult) (bool, error) { | |||
| 279 | 280 | var cerr *glib.Error | |
| 280 | 281 | ||
| 281 | 282 | cret := xPermissionAcquireFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr) | |
| 283 | + | ||
| 282 | 284 | if cerr == nil { | |
| 283 | 285 | return cret, nil | |
| 284 | 286 | } | |
| @@ -294,6 +296,7 @@ var xPermissionGetAllowed func(uintptr) bool | |||
| 294 | 296 | func (x *Permission) GetAllowed() bool { | |
| 295 | 297 | ||
| 296 | 298 | cret := xPermissionGetAllowed(x.GoPointer()) | |
| 299 | + | ||
| 297 | 300 | return cret | |
| 298 | 301 | } | |
| 299 | 302 | ||
| @@ -305,6 +308,7 @@ var xPermissionGetCanAcquire func(uintptr) bool | |||
| 305 | 308 | func (x *Permission) GetCanAcquire() bool { | |
| 306 | 309 | ||
| 307 | 310 | cret := xPermissionGetCanAcquire(x.GoPointer()) | |
| 311 | + | ||
| 308 | 312 | return cret | |
| 309 | 313 | } | |
| 310 | 314 | ||
| @@ -316,6 +320,7 @@ var xPermissionGetCanRelease func(uintptr) bool | |||
| 316 | 320 | func (x *Permission) GetCanRelease() bool { | |
| 317 | 321 | ||
| 318 | 322 | cret := xPermissionGetCanRelease(x.GoPointer()) | |
| 323 | + | ||
| 319 | 324 | return cret | |
| 320 | 325 | } | |
| 321 | 326 | ||
| @@ -353,6 +358,7 @@ func (x *Permission) Release(CancellableVar *Cancellable) (bool, error) { | |||
| 353 | 358 | var cerr *glib.Error | |
| 354 | 359 | ||
| 355 | 360 | cret := xPermissionRelease(x.GoPointer(), CancellableVar.GoPointer(), &cerr) | |
| 361 | + | ||
| 356 | 362 | if cerr == nil { | |
| 357 | 363 | return cret, nil | |
| 358 | 364 | } | |
| @@ -398,6 +404,7 @@ func (x *Permission) ReleaseFinish(ResultVar AsyncResult) (bool, error) { | |||
| 398 | 404 | var cerr *glib.Error | |
| 399 | 405 | ||
| 400 | 406 | cret := xPermissionReleaseFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr) | |
| 407 | + | ||
| 401 | 408 | if cerr == nil { | |
| 402 | 409 | return cret, nil | |
| 403 | 410 | } | |
M v4/gio/gpollableinputstream.go +4 -0
| @@ -192,6 +192,7 @@ func (x *PollableInputStreamBase) SetGoPointer(ptr uintptr) { | |||
| 192 | 192 | func (x *PollableInputStreamBase) CanPoll() bool { | |
| 193 | 193 | ||
| 194 | 194 | cret := XGPollableInputStreamCanPoll(x.GoPointer()) | |
| 195 | + | ||
| 195 | 196 | return cret | |
| 196 | 197 | } | |
| 197 | 198 | ||
| @@ -209,6 +210,7 @@ func (x *PollableInputStreamBase) CanPoll() bool { | |||
| 209 | 210 | func (x *PollableInputStreamBase) CreateSource(CancellableVar *Cancellable) *glib.Source { | |
| 210 | 211 | ||
| 211 | 212 | cret := XGPollableInputStreamCreateSource(x.GoPointer(), CancellableVar.GoPointer()) | |
| 213 | + | ||
| 212 | 214 | return cret | |
| 213 | 215 | } | |
| 214 | 216 | ||
| @@ -226,6 +228,7 @@ func (x *PollableInputStreamBase) CreateSource(CancellableVar *Cancellable) *gli | |||
| 226 | 228 | func (x *PollableInputStreamBase) IsReadable() bool { | |
| 227 | 229 | ||
| 228 | 230 | cret := XGPollableInputStreamIsReadable(x.GoPointer()) | |
| 231 | + | ||
| 229 | 232 | return cret | |
| 230 | 233 | } | |
| 231 | 234 | ||
| @@ -247,6 +250,7 @@ func (x *PollableInputStreamBase) ReadNonblocking(BufferVar *[]byte, CountVar ui | |||
| 247 | 250 | var cerr *glib.Error | |
| 248 | 251 | ||
| 249 | 252 | cret := XGPollableInputStreamReadNonblocking(x.GoPointer(), BufferVar, CountVar, CancellableVar.GoPointer(), &cerr) | |
| 253 | + | ||
| 250 | 254 | if cerr == nil { | |
| 251 | 255 | return cret, nil | |
| 252 | 256 | } | |
M v4/gio/gpollableoutputstream.go +5 -0
| @@ -230,6 +230,7 @@ func (x *PollableOutputStreamBase) SetGoPointer(ptr uintptr) { | |||
| 230 | 230 | func (x *PollableOutputStreamBase) CanPoll() bool { | |
| 231 | 231 | ||
| 232 | 232 | cret := XGPollableOutputStreamCanPoll(x.GoPointer()) | |
| 233 | + | ||
| 233 | 234 | return cret | |
| 234 | 235 | } | |
| 235 | 236 | ||
| @@ -247,6 +248,7 @@ func (x *PollableOutputStreamBase) CanPoll() bool { | |||
| 247 | 248 | func (x *PollableOutputStreamBase) CreateSource(CancellableVar *Cancellable) *glib.Source { | |
| 248 | 249 | ||
| 249 | 250 | cret := XGPollableOutputStreamCreateSource(x.GoPointer(), CancellableVar.GoPointer()) | |
| 251 | + | ||
| 250 | 252 | return cret | |
| 251 | 253 | } | |
| 252 | 254 | ||
| @@ -264,6 +266,7 @@ func (x *PollableOutputStreamBase) CreateSource(CancellableVar *Cancellable) *gl | |||
| 264 | 266 | func (x *PollableOutputStreamBase) IsWritable() bool { | |
| 265 | 267 | ||
| 266 | 268 | cret := XGPollableOutputStreamIsWritable(x.GoPointer()) | |
| 269 | + | ||
| 267 | 270 | return cret | |
| 268 | 271 | } | |
| 269 | 272 | ||
| @@ -289,6 +292,7 @@ func (x *PollableOutputStreamBase) WriteNonblocking(BufferVar []byte, CountVar u | |||
| 289 | 292 | var cerr *glib.Error | |
| 290 | 293 | ||
| 291 | 294 | cret := XGPollableOutputStreamWriteNonblocking(x.GoPointer(), BufferVar, CountVar, CancellableVar.GoPointer(), &cerr) | |
| 295 | + | ||
| 292 | 296 | if cerr == nil { | |
| 293 | 297 | return cret, nil | |
| 294 | 298 | } | |
| @@ -319,6 +323,7 @@ func (x *PollableOutputStreamBase) WritevNonblocking(VectorsVar []OutputVector, | |||
| 319 | 323 | var cerr *glib.Error | |
| 320 | 324 | ||
| 321 | 325 | cret := XGPollableOutputStreamWritevNonblocking(x.GoPointer(), VectorsVar, NVectorsVar, BytesWrittenVar, CancellableVar.GoPointer(), &cerr) | |
| 326 | + | ||
| 322 | 327 | if cerr == nil { | |
| 323 | 328 | return cret, nil | |
| 324 | 329 | } | |
M v4/gio/gpollableutils.go +5 -0
| @@ -18,6 +18,7 @@ var xPollableSourceNew func(uintptr) *glib.Source | |||
| 18 | 18 | func PollableSourceNew(PollableStreamVar *gobject.Object) *glib.Source { | |
| 19 | 19 | ||
| 20 | 20 | cret := xPollableSourceNew(PollableStreamVar.GoPointer()) | |
| 21 | + | ||
| 21 | 22 | return cret | |
| 22 | 23 | } | |
| 23 | 24 | ||
| @@ -30,6 +31,7 @@ var xPollableSourceNewFull func(uintptr, *glib.Source, uintptr) *glib.Source | |||
| 30 | 31 | func PollableSourceNewFull(PollableStreamVar *gobject.Object, ChildSourceVar *glib.Source, CancellableVar *Cancellable) *glib.Source { | |
| 31 | 32 | ||
| 32 | 33 | cret := xPollableSourceNewFull(PollableStreamVar.GoPointer(), ChildSourceVar, CancellableVar.GoPointer()) | |
| 34 | + | ||
| 33 | 35 | return cret | |
| 34 | 36 | } | |
| 35 | 37 | ||
| @@ -48,6 +50,7 @@ func PollableStreamRead(StreamVar *InputStream, BufferVar []byte, CountVar uint, | |||
| 48 | 50 | var cerr *glib.Error | |
| 49 | 51 | ||
| 50 | 52 | cret := xPollableStreamRead(StreamVar.GoPointer(), BufferVar, CountVar, BlockingVar, CancellableVar.GoPointer(), &cerr) | |
| 53 | + | ||
| 51 | 54 | if cerr == nil { | |
| 52 | 55 | return cret, nil | |
| 53 | 56 | } | |
| @@ -71,6 +74,7 @@ func PollableStreamWrite(StreamVar *OutputStream, BufferVar []byte, CountVar uin | |||
| 71 | 74 | var cerr *glib.Error | |
| 72 | 75 | ||
| 73 | 76 | cret := xPollableStreamWrite(StreamVar.GoPointer(), BufferVar, CountVar, BlockingVar, CancellableVar.GoPointer(), &cerr) | |
| 77 | + | ||
| 74 | 78 | if cerr == nil { | |
| 75 | 79 | return cret, nil | |
| 76 | 80 | } | |
| @@ -102,6 +106,7 @@ func PollableStreamWriteAll(StreamVar *OutputStream, BufferVar []byte, CountVar | |||
| 102 | 106 | var cerr *glib.Error | |
| 103 | 107 | ||
| 104 | 108 | cret := xPollableStreamWriteAll(StreamVar.GoPointer(), BufferVar, CountVar, BlockingVar, BytesWrittenVar, CancellableVar.GoPointer(), &cerr) | |
| 109 | + | ||
| 105 | 110 | if cerr == nil { | |
| 106 | 111 | return cret, nil | |
| 107 | 112 | } | |
M v4/gio/gpowerprofilemonitor.go +1 -0
| @@ -81,6 +81,7 @@ func (x *PowerProfileMonitorBase) SetGoPointer(ptr uintptr) { | |||
| 81 | 81 | func (x *PowerProfileMonitorBase) GetPowerSaverEnabled() bool { | |
| 82 | 82 | ||
| 83 | 83 | cret := XGPowerProfileMonitorGetPowerSaverEnabled(x.GoPointer()) | |
| 84 | + | ||
| 84 | 85 | return cret | |
| 85 | 86 | } | |
| 86 | 87 | ||
M v4/gio/gpropertyaction.go +6 -0
| @@ -234,6 +234,7 @@ func (x *PropertyAction) ChangeState(ValueVar *glib.Variant) { | |||
| 234 | 234 | func (x *PropertyAction) GetEnabled() bool { | |
| 235 | 235 | ||
| 236 | 236 | cret := XGActionGetEnabled(x.GoPointer()) | |
| 237 | + | ||
| 237 | 238 | return cret | |
| 238 | 239 | } | |
| 239 | 240 | ||
| @@ -241,6 +242,7 @@ func (x *PropertyAction) GetEnabled() bool { | |||
| 241 | 242 | func (x *PropertyAction) GetName() string { | |
| 242 | 243 | ||
| 243 | 244 | cret := XGActionGetName(x.GoPointer()) | |
| 245 | + | ||
| 244 | 246 | return cret | |
| 245 | 247 | } | |
| 246 | 248 | ||
| @@ -256,6 +258,7 @@ func (x *PropertyAction) GetName() string { | |||
| 256 | 258 | func (x *PropertyAction) GetParameterType() *glib.VariantType { | |
| 257 | 259 | ||
| 258 | 260 | cret := XGActionGetParameterType(x.GoPointer()) | |
| 261 | + | ||
| 259 | 262 | return cret | |
| 260 | 263 | } | |
| 261 | 264 | ||
| @@ -270,6 +273,7 @@ func (x *PropertyAction) GetParameterType() *glib.VariantType { | |||
| 270 | 273 | func (x *PropertyAction) GetState() *glib.Variant { | |
| 271 | 274 | ||
| 272 | 275 | cret := XGActionGetState(x.GoPointer()) | |
| 276 | + | ||
| 273 | 277 | return cret | |
| 274 | 278 | } | |
| 275 | 279 | ||
| @@ -294,6 +298,7 @@ func (x *PropertyAction) GetState() *glib.Variant { | |||
| 294 | 298 | func (x *PropertyAction) GetStateHint() *glib.Variant { | |
| 295 | 299 | ||
| 296 | 300 | cret := XGActionGetStateHint(x.GoPointer()) | |
| 301 | + | ||
| 297 | 302 | return cret | |
| 298 | 303 | } | |
| 299 | 304 | ||
| @@ -312,6 +317,7 @@ func (x *PropertyAction) GetStateHint() *glib.Variant { | |||
| 312 | 317 | func (x *PropertyAction) GetStateType() *glib.VariantType { | |
| 313 | 318 | ||
| 314 | 319 | cret := XGActionGetStateType(x.GoPointer()) | |
| 320 | + | ||
| 315 | 321 | return cret | |
| 316 | 322 | } | |
| 317 | 323 | ||
M v4/gio/gproxy.go +1 -0
| @@ -248,6 +248,7 @@ func (x *ProxyBase) ConnectFinish(ResultVar AsyncResult) (*IOStream, error) { | |||
| 248 | 248 | func (x *ProxyBase) SupportsHostname() bool { | |
| 249 | 249 | ||
| 250 | 250 | cret := XGProxySupportsHostname(x.GoPointer()) | |
| 251 | + | ||
| 251 | 252 | return cret | |
| 252 | 253 | } | |
| 253 | 254 | ||
M v4/gio/gproxyaddress.go +18 -1
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gio | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "runtime" | |
| 5 | 6 | "structs" | |
| 6 | 7 | "unsafe" | |
| 7 | 8 | ||
| @@ -58,7 +59,15 @@ var xNewProxyAddress func(uintptr, uint16, string, string, uint16, uintptr, uint | |||
| 58 | 59 | func NewProxyAddress(InetaddrVar *InetAddress, PortVar uint16, ProtocolVar string, DestHostnameVar string, DestPortVar uint16, UsernameVar *string, PasswordVar *string) *ProxyAddress { | |
| 59 | 60 | var cls *ProxyAddress | |
| 60 | 61 | ||
| 61 | - | cret := xNewProxyAddress(InetaddrVar.GoPointer(), PortVar, ProtocolVar, DestHostnameVar, DestPortVar, core.NullableStringToPtr(UsernameVar), core.NullableStringToPtr(PasswordVar)) | |
| 62 | + | UsernameVarPtr, UsernameVarBytes := core.NullableStringToPtr(UsernameVar) | |
| 63 | + | ||
| 64 | + | PasswordVarPtr, PasswordVarBytes := core.NullableStringToPtr(PasswordVar) | |
| 65 | + | ||
| 66 | + | cret := xNewProxyAddress(InetaddrVar.GoPointer(), PortVar, ProtocolVar, DestHostnameVar, DestPortVar, UsernameVarPtr, PasswordVarPtr) | |
| 67 | + | ||
| 68 | + | runtime.KeepAlive(UsernameVarBytes) | |
| 69 | + | ||
| 70 | + | runtime.KeepAlive(PasswordVarBytes) | |
| 62 | 71 | ||
| 63 | 72 | if cret == 0 { | |
| 64 | 73 | return nil | |
| @@ -76,6 +85,7 @@ var xProxyAddressGetDestinationHostname func(uintptr) string | |||
| 76 | 85 | func (x *ProxyAddress) GetDestinationHostname() string { | |
| 77 | 86 | ||
| 78 | 87 | cret := xProxyAddressGetDestinationHostname(x.GoPointer()) | |
| 88 | + | ||
| 79 | 89 | return cret | |
| 80 | 90 | } | |
| 81 | 91 | ||
| @@ -87,6 +97,7 @@ var xProxyAddressGetDestinationPort func(uintptr) uint16 | |||
| 87 | 97 | func (x *ProxyAddress) GetDestinationPort() uint16 { | |
| 88 | 98 | ||
| 89 | 99 | cret := xProxyAddressGetDestinationPort(x.GoPointer()) | |
| 100 | + | ||
| 90 | 101 | return cret | |
| 91 | 102 | } | |
| 92 | 103 | ||
| @@ -97,6 +108,7 @@ var xProxyAddressGetDestinationProtocol func(uintptr) string | |||
| 97 | 108 | func (x *ProxyAddress) GetDestinationProtocol() string { | |
| 98 | 109 | ||
| 99 | 110 | cret := xProxyAddressGetDestinationProtocol(x.GoPointer()) | |
| 111 | + | ||
| 100 | 112 | return cret | |
| 101 | 113 | } | |
| 102 | 114 | ||
| @@ -106,6 +118,7 @@ var xProxyAddressGetPassword func(uintptr) string | |||
| 106 | 118 | func (x *ProxyAddress) GetPassword() string { | |
| 107 | 119 | ||
| 108 | 120 | cret := xProxyAddressGetPassword(x.GoPointer()) | |
| 121 | + | ||
| 109 | 122 | return cret | |
| 110 | 123 | } | |
| 111 | 124 | ||
| @@ -115,6 +128,7 @@ var xProxyAddressGetProtocol func(uintptr) string | |||
| 115 | 128 | func (x *ProxyAddress) GetProtocol() string { | |
| 116 | 129 | ||
| 117 | 130 | cret := xProxyAddressGetProtocol(x.GoPointer()) | |
| 131 | + | ||
| 118 | 132 | return cret | |
| 119 | 133 | } | |
| 120 | 134 | ||
| @@ -124,6 +138,7 @@ var xProxyAddressGetUri func(uintptr) string | |||
| 124 | 138 | func (x *ProxyAddress) GetUri() string { | |
| 125 | 139 | ||
| 126 | 140 | cret := xProxyAddressGetUri(x.GoPointer()) | |
| 141 | + | ||
| 127 | 142 | return cret | |
| 128 | 143 | } | |
| 129 | 144 | ||
| @@ -133,6 +148,7 @@ var xProxyAddressGetUsername func(uintptr) string | |||
| 133 | 148 | func (x *ProxyAddress) GetUsername() string { | |
| 134 | 149 | ||
| 135 | 150 | cret := xProxyAddressGetUsername(x.GoPointer()) | |
| 151 | + | ||
| 136 | 152 | return cret | |
| 137 | 153 | } | |
| 138 | 154 | ||
| @@ -314,6 +330,7 @@ func (x *ProxyAddress) ProxyEnumerate() *SocketAddressEnumerator { | |||
| 314 | 330 | func (x *ProxyAddress) ToString() string { | |
| 315 | 331 | ||
| 316 | 332 | cret := XGSocketConnectableToString(x.GoPointer()) | |
| 333 | + | ||
| 317 | 334 | return cret | |
| 318 | 335 | } | |
| 319 | 336 | ||
M v4/gio/gproxyresolver.go +3 -0
| @@ -183,6 +183,7 @@ func (x *ProxyResolverBase) SetGoPointer(ptr uintptr) { | |||
| 183 | 183 | func (x *ProxyResolverBase) IsSupported() bool { | |
| 184 | 184 | ||
| 185 | 185 | cret := XGProxyResolverIsSupported(x.GoPointer()) | |
| 186 | + | ||
| 186 | 187 | return cret | |
| 187 | 188 | } | |
| 188 | 189 | ||
| @@ -205,6 +206,7 @@ func (x *ProxyResolverBase) Lookup(UriVar string, CancellableVar *Cancellable) ( | |||
| 205 | 206 | var cerr *glib.Error | |
| 206 | 207 | ||
| 207 | 208 | cret := XGProxyResolverLookup(x.GoPointer(), UriVar, CancellableVar.GoPointer(), &cerr) | |
| 209 | + | ||
| 208 | 210 | if cerr == nil { | |
| 209 | 211 | return cret, nil | |
| 210 | 212 | } | |
| @@ -227,6 +229,7 @@ func (x *ProxyResolverBase) LookupFinish(ResultVar AsyncResult) ([]string, error | |||
| 227 | 229 | var cerr *glib.Error | |
| 228 | 230 | ||
| 229 | 231 | cret := XGProxyResolverLookupFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr) | |
| 232 | + | ||
| 230 | 233 | if cerr == nil { | |
| 231 | 234 | return cret, nil | |
| 232 | 235 | } | |
M v4/gio/gresolver.go +12 -0
| @@ -455,6 +455,7 @@ var xResolverErrorQuark func() glib.Quark | |||
| 455 | 455 | func ResolverErrorQuark() glib.Quark { | |
| 456 | 456 | ||
| 457 | 457 | cret := xResolverErrorQuark() | |
| 458 | + | ||
| 458 | 459 | return cret | |
| 459 | 460 | } | |
| 460 | 461 | ||
| @@ -499,6 +500,7 @@ var xResolverGetTimeout func(uintptr) uint | |||
| 499 | 500 | func (x *Resolver) GetTimeout() uint { | |
| 500 | 501 | ||
| 501 | 502 | cret := xResolverGetTimeout(x.GoPointer()) | |
| 503 | + | ||
| 502 | 504 | return cret | |
| 503 | 505 | } | |
| 504 | 506 | ||
| @@ -517,6 +519,7 @@ func (x *Resolver) LookupByAddress(AddressVar *InetAddress, CancellableVar *Canc | |||
| 517 | 519 | var cerr *glib.Error | |
| 518 | 520 | ||
| 519 | 521 | cret := xResolverLookupByAddress(x.GoPointer(), AddressVar.GoPointer(), CancellableVar.GoPointer(), &cerr) | |
| 522 | + | ||
| 520 | 523 | if cerr == nil { | |
| 521 | 524 | return cret, nil | |
| 522 | 525 | } | |
| @@ -562,6 +565,7 @@ func (x *Resolver) LookupByAddressFinish(ResultVar AsyncResult) (string, error) | |||
| 562 | 565 | var cerr *glib.Error | |
| 563 | 566 | ||
| 564 | 567 | cret := xResolverLookupByAddressFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr) | |
| 568 | + | ||
| 565 | 569 | if cerr == nil { | |
| 566 | 570 | return cret, nil | |
| 567 | 571 | } | |
| @@ -598,6 +602,7 @@ func (x *Resolver) LookupByName(HostnameVar string, CancellableVar *Cancellable) | |||
| 598 | 602 | var cerr *glib.Error | |
| 599 | 603 | ||
| 600 | 604 | cret := xResolverLookupByName(x.GoPointer(), HostnameVar, CancellableVar.GoPointer(), &cerr) | |
| 605 | + | ||
| 601 | 606 | if cerr == nil { | |
| 602 | 607 | return cret, nil | |
| 603 | 608 | } | |
| @@ -644,6 +649,7 @@ func (x *Resolver) LookupByNameFinish(ResultVar AsyncResult) (*glib.List, error) | |||
| 644 | 649 | var cerr *glib.Error | |
| 645 | 650 | ||
| 646 | 651 | cret := xResolverLookupByNameFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr) | |
| 652 | + | ||
| 647 | 653 | if cerr == nil { | |
| 648 | 654 | return cret, nil | |
| 649 | 655 | } | |
| @@ -660,6 +666,7 @@ func (x *Resolver) LookupByNameWithFlags(HostnameVar string, FlagsVar ResolverNa | |||
| 660 | 666 | var cerr *glib.Error | |
| 661 | 667 | ||
| 662 | 668 | cret := xResolverLookupByNameWithFlags(x.GoPointer(), HostnameVar, FlagsVar, CancellableVar.GoPointer(), &cerr) | |
| 669 | + | ||
| 663 | 670 | if cerr == nil { | |
| 664 | 671 | return cret, nil | |
| 665 | 672 | } | |
| @@ -706,6 +713,7 @@ func (x *Resolver) LookupByNameWithFlagsFinish(ResultVar AsyncResult) (*glib.Lis | |||
| 706 | 713 | var cerr *glib.Error | |
| 707 | 714 | ||
| 708 | 715 | cret := xResolverLookupByNameWithFlagsFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr) | |
| 716 | + | ||
| 709 | 717 | if cerr == nil { | |
| 710 | 718 | return cret, nil | |
| 711 | 719 | } | |
| @@ -729,6 +737,7 @@ func (x *Resolver) LookupRecords(RrnameVar string, RecordTypeVar ResolverRecordT | |||
| 729 | 737 | var cerr *glib.Error | |
| 730 | 738 | ||
| 731 | 739 | cret := xResolverLookupRecords(x.GoPointer(), RrnameVar, RecordTypeVar, CancellableVar.GoPointer(), &cerr) | |
| 740 | + | ||
| 732 | 741 | if cerr == nil { | |
| 733 | 742 | return cret, nil | |
| 734 | 743 | } | |
| @@ -777,6 +786,7 @@ func (x *Resolver) LookupRecordsFinish(ResultVar AsyncResult) (*glib.List, error | |||
| 777 | 786 | var cerr *glib.Error | |
| 778 | 787 | ||
| 779 | 788 | cret := xResolverLookupRecordsFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr) | |
| 789 | + | ||
| 780 | 790 | if cerr == nil { | |
| 781 | 791 | return cret, nil | |
| 782 | 792 | } | |
| @@ -811,6 +821,7 @@ func (x *Resolver) LookupService(ServiceVar string, ProtocolVar string, DomainVa | |||
| 811 | 821 | var cerr *glib.Error | |
| 812 | 822 | ||
| 813 | 823 | cret := xResolverLookupService(x.GoPointer(), ServiceVar, ProtocolVar, DomainVar, CancellableVar.GoPointer(), &cerr) | |
| 824 | + | ||
| 814 | 825 | if cerr == nil { | |
| 815 | 826 | return cret, nil | |
| 816 | 827 | } | |
| @@ -858,6 +869,7 @@ func (x *Resolver) LookupServiceFinish(ResultVar AsyncResult) (*glib.List, error | |||
| 858 | 869 | var cerr *glib.Error | |
| 859 | 870 | ||
| 860 | 871 | cret := xResolverLookupServiceFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr) | |
| 872 | + | ||
| 861 | 873 | if cerr == nil { | |
| 862 | 874 | return cret, nil | |
| 863 | 875 | } | |
M v4/gio/gresource.go +7 -0
| @@ -55,6 +55,7 @@ var xStaticResourceGetResource func(uintptr) *Resource | |||
| 55 | 55 | func (x *StaticResource) GetResource() *Resource { | |
| 56 | 56 | ||
| 57 | 57 | cret := xStaticResourceGetResource(x.GoPointer()) | |
| 58 | + | ||
| 58 | 59 | return cret | |
| 59 | 60 | } | |
| 60 | 61 | ||
| @@ -78,6 +79,7 @@ var xResourceErrorQuark func() glib.Quark | |||
| 78 | 79 | func ResourceErrorQuark() glib.Quark { | |
| 79 | 80 | ||
| 80 | 81 | cret := xResourceErrorQuark() | |
| 82 | + | ||
| 81 | 83 | return cret | |
| 82 | 84 | } | |
| 83 | 85 | ||
| @@ -97,6 +99,7 @@ func ResourceLoad(FilenameVar string) (*Resource, error) { | |||
| 97 | 99 | var cerr *glib.Error | |
| 98 | 100 | ||
| 99 | 101 | cret := xResourceLoad(FilenameVar, &cerr) | |
| 102 | + | ||
| 100 | 103 | if cerr == nil { | |
| 101 | 104 | return cret, nil | |
| 102 | 105 | } | |
| @@ -117,6 +120,7 @@ func ResourcesEnumerateChildren(PathVar string, LookupFlagsVar ResourceLookupFla | |||
| 117 | 120 | var cerr *glib.Error | |
| 118 | 121 | ||
| 119 | 122 | cret := xResourcesEnumerateChildren(PathVar, LookupFlagsVar, &cerr) | |
| 123 | + | ||
| 120 | 124 | if cerr == nil { | |
| 121 | 125 | return cret, nil | |
| 122 | 126 | } | |
| @@ -134,6 +138,7 @@ func ResourcesGetInfo(PathVar string, LookupFlagsVar ResourceLookupFlags, SizeVa | |||
| 134 | 138 | var cerr *glib.Error | |
| 135 | 139 | ||
| 136 | 140 | cret := xResourcesGetInfo(PathVar, LookupFlagsVar, SizeVar, FlagsVar, &cerr) | |
| 141 | + | ||
| 137 | 142 | if cerr == nil { | |
| 138 | 143 | return cret, nil | |
| 139 | 144 | } | |
| @@ -148,6 +153,7 @@ var xResourcesHasChildren func(string) bool | |||
| 148 | 153 | func ResourcesHasChildren(PathVar string) bool { | |
| 149 | 154 | ||
| 150 | 155 | cret := xResourcesHasChildren(PathVar) | |
| 156 | + | ||
| 151 | 157 | return cret | |
| 152 | 158 | } | |
| 153 | 159 | ||
| @@ -171,6 +177,7 @@ func ResourcesLookupData(PathVar string, LookupFlagsVar ResourceLookupFlags) (*g | |||
| 171 | 177 | var cerr *glib.Error | |
| 172 | 178 | ||
| 173 | 179 | cret := xResourcesLookupData(PathVar, LookupFlagsVar, &cerr) | |
| 180 | + | ||
| 174 | 181 | if cerr == nil { | |
| 175 | 182 | return cret, nil | |
| 176 | 183 | } | |
M v4/gio/gseekable.go +5 -0
| @@ -206,6 +206,7 @@ func (x *SeekableBase) SetGoPointer(ptr uintptr) { | |||
| 206 | 206 | func (x *SeekableBase) CanSeek() bool { | |
| 207 | 207 | ||
| 208 | 208 | cret := XGSeekableCanSeek(x.GoPointer()) | |
| 209 | + | ||
| 209 | 210 | return cret | |
| 210 | 211 | } | |
| 211 | 212 | ||
| @@ -214,6 +215,7 @@ func (x *SeekableBase) CanSeek() bool { | |||
| 214 | 215 | func (x *SeekableBase) CanTruncate() bool { | |
| 215 | 216 | ||
| 216 | 217 | cret := XGSeekableCanTruncate(x.GoPointer()) | |
| 218 | + | ||
| 217 | 219 | return cret | |
| 218 | 220 | } | |
| 219 | 221 | ||
| @@ -235,6 +237,7 @@ func (x *SeekableBase) Seek(OffsetVar int64, TypeVar glib.SeekType, CancellableV | |||
| 235 | 237 | var cerr *glib.Error | |
| 236 | 238 | ||
| 237 | 239 | cret := XGSeekableSeek(x.GoPointer(), OffsetVar, TypeVar, CancellableVar.GoPointer(), &cerr) | |
| 240 | + | ||
| 238 | 241 | if cerr == nil { | |
| 239 | 242 | return cret, nil | |
| 240 | 243 | } | |
| @@ -246,6 +249,7 @@ func (x *SeekableBase) Seek(OffsetVar int64, TypeVar glib.SeekType, CancellableV | |||
| 246 | 249 | func (x *SeekableBase) Tell() int64 { | |
| 247 | 250 | ||
| 248 | 251 | cret := XGSeekableTell(x.GoPointer()) | |
| 252 | + | ||
| 249 | 253 | return cret | |
| 250 | 254 | } | |
| 251 | 255 | ||
| @@ -262,6 +266,7 @@ func (x *SeekableBase) Truncate(OffsetVar int64, CancellableVar *Cancellable) (b | |||
| 262 | 266 | var cerr *glib.Error | |
| 263 | 267 | ||
| 264 | 268 | cret := XGSeekableTruncate(x.GoPointer(), OffsetVar, CancellableVar.GoPointer(), &cerr) | |
| 269 | + | ||
| 265 | 270 | if cerr == nil { | |
| 266 | 271 | return cret, nil | |
| 267 | 272 | } | |
M v4/gio/gsettings.go +40 -1
| @@ -3,6 +3,7 @@ package gio | |||
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | 5 | "fmt" | |
| 6 | + | "runtime" | |
| 6 | 7 | "structs" | |
| 7 | 8 | "unsafe" | |
| 8 | 9 | ||
| @@ -658,7 +659,11 @@ var xNewSettingsFull func(*SettingsSchema, uintptr, uintptr) uintptr | |||
| 658 | 659 | func NewSettingsFull(SchemaVar *SettingsSchema, BackendVar *SettingsBackend, PathVar *string) *Settings { | |
| 659 | 660 | var cls *Settings | |
| 660 | 661 | ||
| 661 | - | cret := xNewSettingsFull(SchemaVar, BackendVar.GoPointer(), core.NullableStringToPtr(PathVar)) | |
| 662 | + | PathVarPtr, PathVarBytes := core.NullableStringToPtr(PathVar) | |
| 663 | + | ||
| 664 | + | cret := xNewSettingsFull(SchemaVar, BackendVar.GoPointer(), PathVarPtr) | |
| 665 | + | ||
| 666 | + | runtime.KeepAlive(PathVarBytes) | |
| 662 | 667 | ||
| 663 | 668 | if cret == 0 { | |
| 664 | 669 | return nil | |
| @@ -949,6 +954,7 @@ var xSettingsGetBoolean func(uintptr, string) bool | |||
| 949 | 954 | func (x *Settings) GetBoolean(KeyVar string) bool { | |
| 950 | 955 | ||
| 951 | 956 | cret := xSettingsGetBoolean(x.GoPointer(), KeyVar) | |
| 957 | + | ||
| 952 | 958 | return cret | |
| 953 | 959 | } | |
| 954 | 960 | ||
| @@ -1002,6 +1008,7 @@ var xSettingsGetDefaultValue func(uintptr, string) *glib.Variant | |||
| 1002 | 1008 | func (x *Settings) GetDefaultValue(KeyVar string) *glib.Variant { | |
| 1003 | 1009 | ||
| 1004 | 1010 | cret := xSettingsGetDefaultValue(x.GoPointer(), KeyVar) | |
| 1011 | + | ||
| 1005 | 1012 | return cret | |
| 1006 | 1013 | } | |
| 1007 | 1014 | ||
| @@ -1016,6 +1023,7 @@ var xSettingsGetDouble func(uintptr, string) float64 | |||
| 1016 | 1023 | func (x *Settings) GetDouble(KeyVar string) float64 { | |
| 1017 | 1024 | ||
| 1018 | 1025 | cret := xSettingsGetDouble(x.GoPointer(), KeyVar) | |
| 1026 | + | ||
| 1019 | 1027 | return cret | |
| 1020 | 1028 | } | |
| 1021 | 1029 | ||
| @@ -1036,6 +1044,7 @@ var xSettingsGetEnum func(uintptr, string) int | |||
| 1036 | 1044 | func (x *Settings) GetEnum(KeyVar string) int { | |
| 1037 | 1045 | ||
| 1038 | 1046 | cret := xSettingsGetEnum(x.GoPointer(), KeyVar) | |
| 1047 | + | ||
| 1039 | 1048 | return cret | |
| 1040 | 1049 | } | |
| 1041 | 1050 | ||
| @@ -1056,6 +1065,7 @@ var xSettingsGetFlags func(uintptr, string) uint | |||
| 1056 | 1065 | func (x *Settings) GetFlags(KeyVar string) uint { | |
| 1057 | 1066 | ||
| 1058 | 1067 | cret := xSettingsGetFlags(x.GoPointer(), KeyVar) | |
| 1068 | + | ||
| 1059 | 1069 | return cret | |
| 1060 | 1070 | } | |
| 1061 | 1071 | ||
| @@ -1069,6 +1079,7 @@ var xSettingsGetHasUnapplied func(uintptr) bool | |||
| 1069 | 1079 | func (x *Settings) GetHasUnapplied() bool { | |
| 1070 | 1080 | ||
| 1071 | 1081 | cret := xSettingsGetHasUnapplied(x.GoPointer()) | |
| 1082 | + | ||
| 1072 | 1083 | return cret | |
| 1073 | 1084 | } | |
| 1074 | 1085 | ||
| @@ -1083,6 +1094,7 @@ var xSettingsGetInt func(uintptr, string) int | |||
| 1083 | 1094 | func (x *Settings) GetInt(KeyVar string) int { | |
| 1084 | 1095 | ||
| 1085 | 1096 | cret := xSettingsGetInt(x.GoPointer(), KeyVar) | |
| 1097 | + | ||
| 1086 | 1098 | return cret | |
| 1087 | 1099 | } | |
| 1088 | 1100 | ||
| @@ -1097,6 +1109,7 @@ var xSettingsGetInt64 func(uintptr, string) int64 | |||
| 1097 | 1109 | func (x *Settings) GetInt64(KeyVar string) int64 { | |
| 1098 | 1110 | ||
| 1099 | 1111 | cret := xSettingsGetInt64(x.GoPointer(), KeyVar) | |
| 1112 | + | ||
| 1100 | 1113 | return cret | |
| 1101 | 1114 | } | |
| 1102 | 1115 | ||
| @@ -1147,6 +1160,7 @@ func (x *Settings) GetMapped(KeyVar string, MappingVar *SettingsGetMapping, User | |||
| 1147 | 1160 | } | |
| 1148 | 1161 | ||
| 1149 | 1162 | cret := xSettingsGetMapped(x.GoPointer(), KeyVar, MappingVarRef, UserDataVar) | |
| 1163 | + | ||
| 1150 | 1164 | return cret | |
| 1151 | 1165 | } | |
| 1152 | 1166 | ||
| @@ -1156,6 +1170,7 @@ var xSettingsGetRange func(uintptr, string) *glib.Variant | |||
| 1156 | 1170 | func (x *Settings) GetRange(KeyVar string) *glib.Variant { | |
| 1157 | 1171 | ||
| 1158 | 1172 | cret := xSettingsGetRange(x.GoPointer(), KeyVar) | |
| 1173 | + | ||
| 1159 | 1174 | return cret | |
| 1160 | 1175 | } | |
| 1161 | 1176 | ||
| @@ -1170,6 +1185,7 @@ var xSettingsGetString func(uintptr, string) string | |||
| 1170 | 1185 | func (x *Settings) GetString(KeyVar string) string { | |
| 1171 | 1186 | ||
| 1172 | 1187 | cret := xSettingsGetString(x.GoPointer(), KeyVar) | |
| 1188 | + | ||
| 1173 | 1189 | return cret | |
| 1174 | 1190 | } | |
| 1175 | 1191 | ||
| @@ -1182,6 +1198,7 @@ var xSettingsGetStrv func(uintptr, string) []string | |||
| 1182 | 1198 | func (x *Settings) GetStrv(KeyVar string) []string { | |
| 1183 | 1199 | ||
| 1184 | 1200 | cret := xSettingsGetStrv(x.GoPointer(), KeyVar) | |
| 1201 | + | ||
| 1185 | 1202 | return cret | |
| 1186 | 1203 | } | |
| 1187 | 1204 | ||
| @@ -1197,6 +1214,7 @@ var xSettingsGetUint func(uintptr, string) uint | |||
| 1197 | 1214 | func (x *Settings) GetUint(KeyVar string) uint { | |
| 1198 | 1215 | ||
| 1199 | 1216 | cret := xSettingsGetUint(x.GoPointer(), KeyVar) | |
| 1217 | + | ||
| 1200 | 1218 | return cret | |
| 1201 | 1219 | } | |
| 1202 | 1220 | ||
| @@ -1212,6 +1230,7 @@ var xSettingsGetUint64 func(uintptr, string) uint64 | |||
| 1212 | 1230 | func (x *Settings) GetUint64(KeyVar string) uint64 { | |
| 1213 | 1231 | ||
| 1214 | 1232 | cret := xSettingsGetUint64(x.GoPointer(), KeyVar) | |
| 1233 | + | ||
| 1215 | 1234 | return cret | |
| 1216 | 1235 | } | |
| 1217 | 1236 | ||
| @@ -1238,6 +1257,7 @@ var xSettingsGetUserValue func(uintptr, string) *glib.Variant | |||
| 1238 | 1257 | func (x *Settings) GetUserValue(KeyVar string) *glib.Variant { | |
| 1239 | 1258 | ||
| 1240 | 1259 | cret := xSettingsGetUserValue(x.GoPointer(), KeyVar) | |
| 1260 | + | ||
| 1241 | 1261 | return cret | |
| 1242 | 1262 | } | |
| 1243 | 1263 | ||
| @@ -1250,6 +1270,7 @@ var xSettingsGetValue func(uintptr, string) *glib.Variant | |||
| 1250 | 1270 | func (x *Settings) GetValue(KeyVar string) *glib.Variant { | |
| 1251 | 1271 | ||
| 1252 | 1272 | cret := xSettingsGetValue(x.GoPointer(), KeyVar) | |
| 1273 | + | ||
| 1253 | 1274 | return cret | |
| 1254 | 1275 | } | |
| 1255 | 1276 | ||
| @@ -1259,6 +1280,7 @@ var xSettingsIsWritable func(uintptr, string) bool | |||
| 1259 | 1280 | func (x *Settings) IsWritable(NameVar string) bool { | |
| 1260 | 1281 | ||
| 1261 | 1282 | cret := xSettingsIsWritable(x.GoPointer(), NameVar) | |
| 1283 | + | ||
| 1262 | 1284 | return cret | |
| 1263 | 1285 | } | |
| 1264 | 1286 | ||
| @@ -1278,6 +1300,7 @@ var xSettingsListChildren func(uintptr) []string | |||
| 1278 | 1300 | func (x *Settings) ListChildren() []string { | |
| 1279 | 1301 | ||
| 1280 | 1302 | cret := xSettingsListChildren(x.GoPointer()) | |
| 1303 | + | ||
| 1281 | 1304 | return cret | |
| 1282 | 1305 | } | |
| 1283 | 1306 | ||
| @@ -1294,6 +1317,7 @@ var xSettingsListKeys func(uintptr) []string | |||
| 1294 | 1317 | func (x *Settings) ListKeys() []string { | |
| 1295 | 1318 | ||
| 1296 | 1319 | cret := xSettingsListKeys(x.GoPointer()) | |
| 1320 | + | ||
| 1297 | 1321 | return cret | |
| 1298 | 1322 | } | |
| 1299 | 1323 | ||
| @@ -1304,6 +1328,7 @@ var xSettingsRangeCheck func(uintptr, string, *glib.Variant) bool | |||
| 1304 | 1328 | func (x *Settings) RangeCheck(KeyVar string, ValueVar *glib.Variant) bool { | |
| 1305 | 1329 | ||
| 1306 | 1330 | cret := xSettingsRangeCheck(x.GoPointer(), KeyVar, ValueVar) | |
| 1331 | + | ||
| 1307 | 1332 | return cret | |
| 1308 | 1333 | } | |
| 1309 | 1334 | ||
| @@ -1348,6 +1373,7 @@ var xSettingsSet func(uintptr, string, string, ...interface{}) bool | |||
| 1348 | 1373 | func (x *Settings) Set(KeyVar string, FormatVar string, varArgs ...interface{}) bool { | |
| 1349 | 1374 | ||
| 1350 | 1375 | cret := xSettingsSet(x.GoPointer(), KeyVar, FormatVar, varArgs...) | |
| 1376 | + | ||
| 1351 | 1377 | return cret | |
| 1352 | 1378 | } | |
| 1353 | 1379 | ||
| @@ -1362,6 +1388,7 @@ var xSettingsSetBoolean func(uintptr, string, bool) bool | |||
| 1362 | 1388 | func (x *Settings) SetBoolean(KeyVar string, ValueVar bool) bool { | |
| 1363 | 1389 | ||
| 1364 | 1390 | cret := xSettingsSetBoolean(x.GoPointer(), KeyVar, ValueVar) | |
| 1391 | + | ||
| 1365 | 1392 | return cret | |
| 1366 | 1393 | } | |
| 1367 | 1394 | ||
| @@ -1376,6 +1403,7 @@ var xSettingsSetDouble func(uintptr, string, float64) bool | |||
| 1376 | 1403 | func (x *Settings) SetDouble(KeyVar string, ValueVar float64) bool { | |
| 1377 | 1404 | ||
| 1378 | 1405 | cret := xSettingsSetDouble(x.GoPointer(), KeyVar, ValueVar) | |
| 1406 | + | ||
| 1379 | 1407 | return cret | |
| 1380 | 1408 | } | |
| 1381 | 1409 | ||
| @@ -1394,6 +1422,7 @@ var xSettingsSetEnum func(uintptr, string, int) bool | |||
| 1394 | 1422 | func (x *Settings) SetEnum(KeyVar string, ValueVar int) bool { | |
| 1395 | 1423 | ||
| 1396 | 1424 | cret := xSettingsSetEnum(x.GoPointer(), KeyVar, ValueVar) | |
| 1425 | + | ||
| 1397 | 1426 | return cret | |
| 1398 | 1427 | } | |
| 1399 | 1428 | ||
| @@ -1413,6 +1442,7 @@ var xSettingsSetFlags func(uintptr, string, uint) bool | |||
| 1413 | 1442 | func (x *Settings) SetFlags(KeyVar string, ValueVar uint) bool { | |
| 1414 | 1443 | ||
| 1415 | 1444 | cret := xSettingsSetFlags(x.GoPointer(), KeyVar, ValueVar) | |
| 1445 | + | ||
| 1416 | 1446 | return cret | |
| 1417 | 1447 | } | |
| 1418 | 1448 | ||
| @@ -1427,6 +1457,7 @@ var xSettingsSetInt func(uintptr, string, int) bool | |||
| 1427 | 1457 | func (x *Settings) SetInt(KeyVar string, ValueVar int) bool { | |
| 1428 | 1458 | ||
| 1429 | 1459 | cret := xSettingsSetInt(x.GoPointer(), KeyVar, ValueVar) | |
| 1460 | + | ||
| 1430 | 1461 | return cret | |
| 1431 | 1462 | } | |
| 1432 | 1463 | ||
| @@ -1441,6 +1472,7 @@ var xSettingsSetInt64 func(uintptr, string, int64) bool | |||
| 1441 | 1472 | func (x *Settings) SetInt64(KeyVar string, ValueVar int64) bool { | |
| 1442 | 1473 | ||
| 1443 | 1474 | cret := xSettingsSetInt64(x.GoPointer(), KeyVar, ValueVar) | |
| 1475 | + | ||
| 1444 | 1476 | return cret | |
| 1445 | 1477 | } | |
| 1446 | 1478 | ||
| @@ -1455,6 +1487,7 @@ var xSettingsSetString func(uintptr, string, string) bool | |||
| 1455 | 1487 | func (x *Settings) SetString(KeyVar string, ValueVar string) bool { | |
| 1456 | 1488 | ||
| 1457 | 1489 | cret := xSettingsSetString(x.GoPointer(), KeyVar, ValueVar) | |
| 1490 | + | ||
| 1458 | 1491 | return cret | |
| 1459 | 1492 | } | |
| 1460 | 1493 | ||
| @@ -1470,6 +1503,7 @@ var xSettingsSetStrv func(uintptr, string, []string) bool | |||
| 1470 | 1503 | func (x *Settings) SetStrv(KeyVar string, ValueVar []string) bool { | |
| 1471 | 1504 | ||
| 1472 | 1505 | cret := xSettingsSetStrv(x.GoPointer(), KeyVar, ValueVar) | |
| 1506 | + | ||
| 1473 | 1507 | return cret | |
| 1474 | 1508 | } | |
| 1475 | 1509 | ||
| @@ -1485,6 +1519,7 @@ var xSettingsSetUint func(uintptr, string, uint) bool | |||
| 1485 | 1519 | func (x *Settings) SetUint(KeyVar string, ValueVar uint) bool { | |
| 1486 | 1520 | ||
| 1487 | 1521 | cret := xSettingsSetUint(x.GoPointer(), KeyVar, ValueVar) | |
| 1522 | + | ||
| 1488 | 1523 | return cret | |
| 1489 | 1524 | } | |
| 1490 | 1525 | ||
| @@ -1500,6 +1535,7 @@ var xSettingsSetUint64 func(uintptr, string, uint64) bool | |||
| 1500 | 1535 | func (x *Settings) SetUint64(KeyVar string, ValueVar uint64) bool { | |
| 1501 | 1536 | ||
| 1502 | 1537 | cret := xSettingsSetUint64(x.GoPointer(), KeyVar, ValueVar) | |
| 1538 | + | ||
| 1503 | 1539 | return cret | |
| 1504 | 1540 | } | |
| 1505 | 1541 | ||
| @@ -1515,6 +1551,7 @@ var xSettingsSetValue func(uintptr, string, *glib.Variant) bool | |||
| 1515 | 1551 | func (x *Settings) SetValue(KeyVar string, ValueVar *glib.Variant) bool { | |
| 1516 | 1552 | ||
| 1517 | 1553 | cret := xSettingsSetValue(x.GoPointer(), KeyVar, ValueVar) | |
| 1554 | + | ||
| 1518 | 1555 | return cret | |
| 1519 | 1556 | } | |
| 1520 | 1557 | ||
| @@ -1828,6 +1865,7 @@ var xSettingsListRelocatableSchemas func() []string | |||
| 1828 | 1865 | func SettingsListRelocatableSchemas() []string { | |
| 1829 | 1866 | ||
| 1830 | 1867 | cret := xSettingsListRelocatableSchemas() | |
| 1868 | + | ||
| 1831 | 1869 | return cret | |
| 1832 | 1870 | } | |
| 1833 | 1871 | ||
| @@ -1837,6 +1875,7 @@ var xSettingsListSchemas func() []string | |||
| 1837 | 1875 | func SettingsListSchemas() []string { | |
| 1838 | 1876 | ||
| 1839 | 1877 | cret := xSettingsListSchemas() | |
| 1878 | + | ||
| 1840 | 1879 | return cret | |
| 1841 | 1880 | } | |
| 1842 | 1881 | ||
M v4/gio/gsettingsbackend.go +6 -1
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gio | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "runtime" | |
| 5 | 6 | "structs" | |
| 6 | 7 | "unsafe" | |
| 7 | 8 | ||
| @@ -372,7 +373,11 @@ var xKeyfileSettingsBackendNew func(string, string, uintptr) uintptr | |||
| 372 | 373 | func KeyfileSettingsBackendNew(FilenameVar string, RootPathVar string, RootGroupVar *string) *SettingsBackend { | |
| 373 | 374 | var cls *SettingsBackend | |
| 374 | 375 | ||
| 375 | - | cret := xKeyfileSettingsBackendNew(FilenameVar, RootPathVar, core.NullableStringToPtr(RootGroupVar)) | |
| 376 | + | RootGroupVarPtr, RootGroupVarBytes := core.NullableStringToPtr(RootGroupVar) | |
| 377 | + | ||
| 378 | + | cret := xKeyfileSettingsBackendNew(FilenameVar, RootPathVar, RootGroupVarPtr) | |
| 379 | + | ||
| 380 | + | runtime.KeepAlive(RootGroupVarBytes) | |
| 376 | 381 | ||
| 377 | 382 | if cret == 0 { | |
| 378 | 383 | return nil | |
M v4/gio/gsettingsschema.go +19 -0
| @@ -128,6 +128,7 @@ var xSettingsSchemaGetId func(uintptr) string | |||
| 128 | 128 | func (x *SettingsSchema) GetId() string { | |
| 129 | 129 | ||
| 130 | 130 | cret := xSettingsSchemaGetId(x.GoPointer()) | |
| 131 | + | ||
| 131 | 132 | return cret | |
| 132 | 133 | } | |
| 133 | 134 | ||
| @@ -140,6 +141,7 @@ var xSettingsSchemaGetKey func(uintptr, string) *SettingsSchemaKey | |||
| 140 | 141 | func (x *SettingsSchema) GetKey(NameVar string) *SettingsSchemaKey { | |
| 141 | 142 | ||
| 142 | 143 | cret := xSettingsSchemaGetKey(x.GoPointer(), NameVar) | |
| 144 | + | ||
| 143 | 145 | return cret | |
| 144 | 146 | } | |
| 145 | 147 | ||
| @@ -157,6 +159,7 @@ var xSettingsSchemaGetPath func(uintptr) string | |||
| 157 | 159 | func (x *SettingsSchema) GetPath() string { | |
| 158 | 160 | ||
| 159 | 161 | cret := xSettingsSchemaGetPath(x.GoPointer()) | |
| 162 | + | ||
| 160 | 163 | return cret | |
| 161 | 164 | } | |
| 162 | 165 | ||
| @@ -166,6 +169,7 @@ var xSettingsSchemaHasKey func(uintptr, string) bool | |||
| 166 | 169 | func (x *SettingsSchema) HasKey(NameVar string) bool { | |
| 167 | 170 | ||
| 168 | 171 | cret := xSettingsSchemaHasKey(x.GoPointer(), NameVar) | |
| 172 | + | ||
| 169 | 173 | return cret | |
| 170 | 174 | } | |
| 171 | 175 | ||
| @@ -178,6 +182,7 @@ var xSettingsSchemaListChildren func(uintptr) []string | |||
| 178 | 182 | func (x *SettingsSchema) ListChildren() []string { | |
| 179 | 183 | ||
| 180 | 184 | cret := xSettingsSchemaListChildren(x.GoPointer()) | |
| 185 | + | ||
| 181 | 186 | return cret | |
| 182 | 187 | } | |
| 183 | 188 | ||
| @@ -191,6 +196,7 @@ var xSettingsSchemaListKeys func(uintptr) []string | |||
| 191 | 196 | func (x *SettingsSchema) ListKeys() []string { | |
| 192 | 197 | ||
| 193 | 198 | cret := xSettingsSchemaListKeys(x.GoPointer()) | |
| 199 | + | ||
| 194 | 200 | return cret | |
| 195 | 201 | } | |
| 196 | 202 | ||
| @@ -200,6 +206,7 @@ var xSettingsSchemaRef func(uintptr) *SettingsSchema | |||
| 200 | 206 | func (x *SettingsSchema) Ref() *SettingsSchema { | |
| 201 | 207 | ||
| 202 | 208 | cret := xSettingsSchemaRef(x.GoPointer()) | |
| 209 | + | ||
| 203 | 210 | return cret | |
| 204 | 211 | } | |
| 205 | 212 | ||
| @@ -237,6 +244,7 @@ var xSettingsSchemaKeyGetDefaultValue func(uintptr) *glib.Variant | |||
| 237 | 244 | func (x *SettingsSchemaKey) GetDefaultValue() *glib.Variant { | |
| 238 | 245 | ||
| 239 | 246 | cret := xSettingsSchemaKeyGetDefaultValue(x.GoPointer()) | |
| 247 | + | ||
| 240 | 248 | return cret | |
| 241 | 249 | } | |
| 242 | 250 | ||
| @@ -259,6 +267,7 @@ var xSettingsSchemaKeyGetDescription func(uintptr) string | |||
| 259 | 267 | func (x *SettingsSchemaKey) GetDescription() string { | |
| 260 | 268 | ||
| 261 | 269 | cret := xSettingsSchemaKeyGetDescription(x.GoPointer()) | |
| 270 | + | ||
| 262 | 271 | return cret | |
| 263 | 272 | } | |
| 264 | 273 | ||
| @@ -268,6 +277,7 @@ var xSettingsSchemaKeyGetName func(uintptr) string | |||
| 268 | 277 | func (x *SettingsSchemaKey) GetName() string { | |
| 269 | 278 | ||
| 270 | 279 | cret := xSettingsSchemaKeyGetName(x.GoPointer()) | |
| 280 | + | ||
| 271 | 281 | return cret | |
| 272 | 282 | } | |
| 273 | 283 | ||
| @@ -312,6 +322,7 @@ var xSettingsSchemaKeyGetRange func(uintptr) *glib.Variant | |||
| 312 | 322 | func (x *SettingsSchemaKey) GetRange() *glib.Variant { | |
| 313 | 323 | ||
| 314 | 324 | cret := xSettingsSchemaKeyGetRange(x.GoPointer()) | |
| 325 | + | ||
| 315 | 326 | return cret | |
| 316 | 327 | } | |
| 317 | 328 | ||
| @@ -333,6 +344,7 @@ var xSettingsSchemaKeyGetSummary func(uintptr) string | |||
| 333 | 344 | func (x *SettingsSchemaKey) GetSummary() string { | |
| 334 | 345 | ||
| 335 | 346 | cret := xSettingsSchemaKeyGetSummary(x.GoPointer()) | |
| 347 | + | ||
| 336 | 348 | return cret | |
| 337 | 349 | } | |
| 338 | 350 | ||
| @@ -342,6 +354,7 @@ var xSettingsSchemaKeyGetValueType func(uintptr) *glib.VariantType | |||
| 342 | 354 | func (x *SettingsSchemaKey) GetValueType() *glib.VariantType { | |
| 343 | 355 | ||
| 344 | 356 | cret := xSettingsSchemaKeyGetValueType(x.GoPointer()) | |
| 357 | + | ||
| 345 | 358 | return cret | |
| 346 | 359 | } | |
| 347 | 360 | ||
| @@ -355,6 +368,7 @@ var xSettingsSchemaKeyRangeCheck func(uintptr, *glib.Variant) bool | |||
| 355 | 368 | func (x *SettingsSchemaKey) RangeCheck(ValueVar *glib.Variant) bool { | |
| 356 | 369 | ||
| 357 | 370 | cret := xSettingsSchemaKeyRangeCheck(x.GoPointer(), ValueVar) | |
| 371 | + | ||
| 358 | 372 | return cret | |
| 359 | 373 | } | |
| 360 | 374 | ||
| @@ -364,6 +378,7 @@ var xSettingsSchemaKeyRef func(uintptr) *SettingsSchemaKey | |||
| 364 | 378 | func (x *SettingsSchemaKey) Ref() *SettingsSchemaKey { | |
| 365 | 379 | ||
| 366 | 380 | cret := xSettingsSchemaKeyRef(x.GoPointer()) | |
| 381 | + | ||
| 367 | 382 | return cret | |
| 368 | 383 | } | |
| 369 | 384 | ||
| @@ -428,6 +443,7 @@ func NewSettingsSchemaSourceFromDirectory(DirectoryVar string, ParentVar *Settin | |||
| 428 | 443 | var cerr *glib.Error | |
| 429 | 444 | ||
| 430 | 445 | cret := xNewSettingsSchemaSourceFromDirectory(DirectoryVar, ParentVar, TrustedVar, &cerr) | |
| 446 | + | ||
| 431 | 447 | if cerr == nil { | |
| 432 | 448 | return cret, nil | |
| 433 | 449 | } | |
| @@ -470,6 +486,7 @@ var xSettingsSchemaSourceLookup func(uintptr, string, bool) *SettingsSchema | |||
| 470 | 486 | func (x *SettingsSchemaSource) Lookup(SchemaIdVar string, RecursiveVar bool) *SettingsSchema { | |
| 471 | 487 | ||
| 472 | 488 | cret := xSettingsSchemaSourceLookup(x.GoPointer(), SchemaIdVar, RecursiveVar) | |
| 489 | + | ||
| 473 | 490 | return cret | |
| 474 | 491 | } | |
| 475 | 492 | ||
| @@ -479,6 +496,7 @@ var xSettingsSchemaSourceRef func(uintptr) *SettingsSchemaSource | |||
| 479 | 496 | func (x *SettingsSchemaSource) Ref() *SettingsSchemaSource { | |
| 480 | 497 | ||
| 481 | 498 | cret := xSettingsSchemaSourceRef(x.GoPointer()) | |
| 499 | + | ||
| 482 | 500 | return cret | |
| 483 | 501 | } | |
| 484 | 502 | ||
| @@ -509,6 +527,7 @@ var xSettingsSchemaSourceGetDefault func() *SettingsSchemaSource | |||
| 509 | 527 | func SettingsSchemaSourceGetDefault() *SettingsSchemaSource { | |
| 510 | 528 | ||
| 511 | 529 | cret := xSettingsSchemaSourceGetDefault() | |
| 530 | + | ||
| 512 | 531 | return cret | |
| 513 | 532 | } | |
| 514 | 533 | ||
M v4/gio/gsimpleaction.go +6 -0
| @@ -336,6 +336,7 @@ func (x *SimpleAction) ChangeState(ValueVar *glib.Variant) { | |||
| 336 | 336 | func (x *SimpleAction) GetEnabled() bool { | |
| 337 | 337 | ||
| 338 | 338 | cret := XGActionGetEnabled(x.GoPointer()) | |
| 339 | + | ||
| 339 | 340 | return cret | |
| 340 | 341 | } | |
| 341 | 342 | ||
| @@ -343,6 +344,7 @@ func (x *SimpleAction) GetEnabled() bool { | |||
| 343 | 344 | func (x *SimpleAction) GetName() string { | |
| 344 | 345 | ||
| 345 | 346 | cret := XGActionGetName(x.GoPointer()) | |
| 347 | + | ||
| 346 | 348 | return cret | |
| 347 | 349 | } | |
| 348 | 350 | ||
| @@ -358,6 +360,7 @@ func (x *SimpleAction) GetName() string { | |||
| 358 | 360 | func (x *SimpleAction) GetParameterType() *glib.VariantType { | |
| 359 | 361 | ||
| 360 | 362 | cret := XGActionGetParameterType(x.GoPointer()) | |
| 363 | + | ||
| 361 | 364 | return cret | |
| 362 | 365 | } | |
| 363 | 366 | ||
| @@ -372,6 +375,7 @@ func (x *SimpleAction) GetParameterType() *glib.VariantType { | |||
| 372 | 375 | func (x *SimpleAction) GetState() *glib.Variant { | |
| 373 | 376 | ||
| 374 | 377 | cret := XGActionGetState(x.GoPointer()) | |
| 378 | + | ||
| 375 | 379 | return cret | |
| 376 | 380 | } | |
| 377 | 381 | ||
| @@ -396,6 +400,7 @@ func (x *SimpleAction) GetState() *glib.Variant { | |||
| 396 | 400 | func (x *SimpleAction) GetStateHint() *glib.Variant { | |
| 397 | 401 | ||
| 398 | 402 | cret := XGActionGetStateHint(x.GoPointer()) | |
| 403 | + | ||
| 399 | 404 | return cret | |
| 400 | 405 | } | |
| 401 | 406 | ||
| @@ -414,6 +419,7 @@ func (x *SimpleAction) GetStateHint() *glib.Variant { | |||
| 414 | 419 | func (x *SimpleAction) GetStateType() *glib.VariantType { | |
| 415 | 420 | ||
| 416 | 421 | cret := XGActionGetStateType(x.GoPointer()) | |
| 422 | + | ||
| 417 | 423 | return cret | |
| 418 | 424 | } | |
| 419 | 425 | ||
M v4/gio/gsimpleactiongroup.go +8 -0
| @@ -231,6 +231,7 @@ func (x *SimpleActionGroup) ChangeActionState(ActionNameVar string, ValueVar *gl | |||
| 231 | 231 | func (x *SimpleActionGroup) GetActionEnabled(ActionNameVar string) bool { | |
| 232 | 232 | ||
| 233 | 233 | cret := XGActionGroupGetActionEnabled(x.GoPointer(), ActionNameVar) | |
| 234 | + | ||
| 234 | 235 | return cret | |
| 235 | 236 | } | |
| 236 | 237 | ||
| @@ -250,6 +251,7 @@ func (x *SimpleActionGroup) GetActionEnabled(ActionNameVar string) bool { | |||
| 250 | 251 | func (x *SimpleActionGroup) GetActionParameterType(ActionNameVar string) *glib.VariantType { | |
| 251 | 252 | ||
| 252 | 253 | cret := XGActionGroupGetActionParameterType(x.GoPointer(), ActionNameVar) | |
| 254 | + | ||
| 253 | 255 | return cret | |
| 254 | 256 | } | |
| 255 | 257 | ||
| @@ -264,6 +266,7 @@ func (x *SimpleActionGroup) GetActionParameterType(ActionNameVar string) *glib.V | |||
| 264 | 266 | func (x *SimpleActionGroup) GetActionState(ActionNameVar string) *glib.Variant { | |
| 265 | 267 | ||
| 266 | 268 | cret := XGActionGroupGetActionState(x.GoPointer(), ActionNameVar) | |
| 269 | + | ||
| 267 | 270 | return cret | |
| 268 | 271 | } | |
| 269 | 272 | ||
| @@ -288,6 +291,7 @@ func (x *SimpleActionGroup) GetActionState(ActionNameVar string) *glib.Variant { | |||
| 288 | 291 | func (x *SimpleActionGroup) GetActionStateHint(ActionNameVar string) *glib.Variant { | |
| 289 | 292 | ||
| 290 | 293 | cret := XGActionGroupGetActionStateHint(x.GoPointer(), ActionNameVar) | |
| 294 | + | ||
| 291 | 295 | return cret | |
| 292 | 296 | } | |
| 293 | 297 | ||
| @@ -310,6 +314,7 @@ func (x *SimpleActionGroup) GetActionStateHint(ActionNameVar string) *glib.Varia | |||
| 310 | 314 | func (x *SimpleActionGroup) GetActionStateType(ActionNameVar string) *glib.VariantType { | |
| 311 | 315 | ||
| 312 | 316 | cret := XGActionGroupGetActionStateType(x.GoPointer(), ActionNameVar) | |
| 317 | + | ||
| 313 | 318 | return cret | |
| 314 | 319 | } | |
| 315 | 320 | ||
| @@ -317,6 +322,7 @@ func (x *SimpleActionGroup) GetActionStateType(ActionNameVar string) *glib.Varia | |||
| 317 | 322 | func (x *SimpleActionGroup) HasAction(ActionNameVar string) bool { | |
| 318 | 323 | ||
| 319 | 324 | cret := XGActionGroupHasAction(x.GoPointer(), ActionNameVar) | |
| 325 | + | ||
| 320 | 326 | return cret | |
| 321 | 327 | } | |
| 322 | 328 | ||
| @@ -327,6 +333,7 @@ func (x *SimpleActionGroup) HasAction(ActionNameVar string) bool { | |||
| 327 | 333 | func (x *SimpleActionGroup) ListActions() []string { | |
| 328 | 334 | ||
| 329 | 335 | cret := XGActionGroupListActions(x.GoPointer()) | |
| 336 | + | ||
| 330 | 337 | return cret | |
| 331 | 338 | } | |
| 332 | 339 | ||
| @@ -360,6 +367,7 @@ func (x *SimpleActionGroup) ListActions() []string { | |||
| 360 | 367 | func (x *SimpleActionGroup) QueryAction(ActionNameVar string, EnabledVar *bool, ParameterTypeVar **glib.VariantType, StateTypeVar **glib.VariantType, StateHintVar **glib.Variant, StateVar **glib.Variant) bool { | |
| 361 | 368 | ||
| 362 | 369 | cret := XGActionGroupQueryAction(x.GoPointer(), ActionNameVar, EnabledVar, ParameterTypeVar, StateTypeVar, StateHintVar, StateVar) | |
| 370 | + | ||
| 363 | 371 | return cret | |
| 364 | 372 | } | |
| 365 | 373 | ||
M v4/gio/gsimpleasyncresult.go +9 -0
| @@ -457,6 +457,7 @@ var xSimpleAsyncResultGetOpResGboolean func(uintptr) bool | |||
| 457 | 457 | func (x *SimpleAsyncResult) GetOpResGboolean() bool { | |
| 458 | 458 | ||
| 459 | 459 | cret := xSimpleAsyncResultGetOpResGboolean(x.GoPointer()) | |
| 460 | + | ||
| 460 | 461 | return cret | |
| 461 | 462 | } | |
| 462 | 463 | ||
| @@ -466,6 +467,7 @@ var xSimpleAsyncResultGetOpResGpointer func(uintptr) uintptr | |||
| 466 | 467 | func (x *SimpleAsyncResult) GetOpResGpointer() uintptr { | |
| 467 | 468 | ||
| 468 | 469 | cret := xSimpleAsyncResultGetOpResGpointer(x.GoPointer()) | |
| 470 | + | ||
| 469 | 471 | return cret | |
| 470 | 472 | } | |
| 471 | 473 | ||
| @@ -475,6 +477,7 @@ var xSimpleAsyncResultGetOpResGssize func(uintptr) int | |||
| 475 | 477 | func (x *SimpleAsyncResult) GetOpResGssize() int { | |
| 476 | 478 | ||
| 477 | 479 | cret := xSimpleAsyncResultGetOpResGssize(x.GoPointer()) | |
| 480 | + | ||
| 478 | 481 | return cret | |
| 479 | 482 | } | |
| 480 | 483 | ||
| @@ -484,6 +487,7 @@ var xSimpleAsyncResultGetSourceTag func(uintptr) uintptr | |||
| 484 | 487 | func (x *SimpleAsyncResult) GetSourceTag() uintptr { | |
| 485 | 488 | ||
| 486 | 489 | cret := xSimpleAsyncResultGetSourceTag(x.GoPointer()) | |
| 490 | + | ||
| 487 | 491 | return cret | |
| 488 | 492 | } | |
| 489 | 493 | ||
| @@ -499,6 +503,7 @@ func (x *SimpleAsyncResult) PropagateError() (bool, error) { | |||
| 499 | 503 | var cerr *glib.Error | |
| 500 | 504 | ||
| 501 | 505 | cret := xSimpleAsyncResultPropagateError(x.GoPointer()) | |
| 506 | + | ||
| 502 | 507 | if cerr == nil { | |
| 503 | 508 | return cret, nil | |
| 504 | 509 | } | |
| @@ -681,6 +686,7 @@ func (x *SimpleAsyncResult) GetSourceObject() *gobject.Object { | |||
| 681 | 686 | func (x *SimpleAsyncResult) GetUserData() uintptr { | |
| 682 | 687 | ||
| 683 | 688 | cret := XGAsyncResultGetUserData(x.GoPointer()) | |
| 689 | + | ||
| 684 | 690 | return cret | |
| 685 | 691 | } | |
| 686 | 692 | ||
| @@ -689,6 +695,7 @@ func (x *SimpleAsyncResult) GetUserData() uintptr { | |||
| 689 | 695 | func (x *SimpleAsyncResult) IsTagged(SourceTagVar uintptr) bool { | |
| 690 | 696 | ||
| 691 | 697 | cret := XGAsyncResultIsTagged(x.GoPointer(), SourceTagVar) | |
| 698 | + | ||
| 692 | 699 | return cret | |
| 693 | 700 | } | |
| 694 | 701 | ||
| @@ -706,6 +713,7 @@ func (x *SimpleAsyncResult) LegacyPropagateError() (bool, error) { | |||
| 706 | 713 | var cerr *glib.Error | |
| 707 | 714 | ||
| 708 | 715 | cret := XGAsyncResultLegacyPropagateError(x.GoPointer()) | |
| 716 | + | ||
| 709 | 717 | if cerr == nil { | |
| 710 | 718 | return cret, nil | |
| 711 | 719 | } | |
| @@ -730,6 +738,7 @@ var xSimpleAsyncResultIsValid func(uintptr, uintptr, uintptr) bool | |||
| 730 | 738 | func SimpleAsyncResultIsValid(ResultVar AsyncResult, SourceVar *gobject.Object, SourceTagVar uintptr) bool { | |
| 731 | 739 | ||
| 732 | 740 | cret := xSimpleAsyncResultIsValid(ResultVar.GoPointer(), SourceVar.GoPointer(), SourceTagVar) | |
| 741 | + | ||
| 733 | 742 | return cret | |
| 734 | 743 | } | |
| 735 | 744 | ||
M v4/gio/gsimpleproxyresolver.go +14 -2
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gio | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "runtime" | |
| 5 | 6 | "structs" | |
| 6 | 7 | "unsafe" | |
| 7 | 8 | ||
| @@ -190,7 +191,11 @@ var xSimpleProxyResolverSetDefaultProxy func(uintptr, uintptr) | |||
| 190 | 191 | // the socks5, socks4a, and socks4 proxy types. | |
| 191 | 192 | func (x *SimpleProxyResolver) SetDefaultProxy(DefaultProxyVar *string) { | |
| 192 | 193 | ||
| 193 | - | xSimpleProxyResolverSetDefaultProxy(x.GoPointer(), core.NullableStringToPtr(DefaultProxyVar)) | |
| 194 | + | DefaultProxyVarPtr, DefaultProxyVarBytes := core.NullableStringToPtr(DefaultProxyVar) | |
| 195 | + | ||
| 196 | + | xSimpleProxyResolverSetDefaultProxy(x.GoPointer(), DefaultProxyVarPtr) | |
| 197 | + | ||
| 198 | + | runtime.KeepAlive(DefaultProxyVarBytes) | |
| 194 | 199 | ||
| 195 | 200 | } | |
| 196 | 201 | ||
| @@ -351,6 +356,7 @@ func (x *SimpleProxyResolver) GetPropertyIgnoreHosts() []string { | |||
| 351 | 356 | func (x *SimpleProxyResolver) IsSupported() bool { | |
| 352 | 357 | ||
| 353 | 358 | cret := XGProxyResolverIsSupported(x.GoPointer()) | |
| 359 | + | ||
| 354 | 360 | return cret | |
| 355 | 361 | } | |
| 356 | 362 | ||
| @@ -373,6 +379,7 @@ func (x *SimpleProxyResolver) Lookup(UriVar string, CancellableVar *Cancellable) | |||
| 373 | 379 | var cerr *glib.Error | |
| 374 | 380 | ||
| 375 | 381 | cret := XGProxyResolverLookup(x.GoPointer(), UriVar, CancellableVar.GoPointer(), &cerr) | |
| 382 | + | ||
| 376 | 383 | if cerr == nil { | |
| 377 | 384 | return cret, nil | |
| 378 | 385 | } | |
| @@ -395,6 +402,7 @@ func (x *SimpleProxyResolver) LookupFinish(ResultVar AsyncResult) ([]string, err | |||
| 395 | 402 | var cerr *glib.Error | |
| 396 | 403 | ||
| 397 | 404 | cret := XGProxyResolverLookupFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr) | |
| 405 | + | ||
| 398 | 406 | if cerr == nil { | |
| 399 | 407 | return cret, nil | |
| 400 | 408 | } | |
| @@ -411,7 +419,11 @@ var xSimpleProxyResolverNew func(uintptr, []string) uintptr | |||
| 411 | 419 | func SimpleProxyResolverNew(DefaultProxyVar *string, IgnoreHostsVar []string) *ProxyResolverBase { | |
| 412 | 420 | var cls *ProxyResolverBase | |
| 413 | 421 | ||
| 414 | - | cret := xSimpleProxyResolverNew(core.NullableStringToPtr(DefaultProxyVar), IgnoreHostsVar) | |
| 422 | + | DefaultProxyVarPtr, DefaultProxyVarBytes := core.NullableStringToPtr(DefaultProxyVar) | |
| 423 | + | ||
| 424 | + | cret := xSimpleProxyResolverNew(DefaultProxyVarPtr, IgnoreHostsVar) | |
| 425 | + | ||
| 426 | + | runtime.KeepAlive(DefaultProxyVarBytes) | |
| 415 | 427 | ||
| 416 | 428 | if cret == 0 { | |
| 417 | 429 | return nil | |
M v4/gio/gsocket.go +67 -4
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gio | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "runtime" | |
| 5 | 6 | "structs" | |
| 6 | 7 | "unsafe" | |
| 7 | 8 | ||
| @@ -493,6 +494,7 @@ func (x *Socket) Bind(AddressVar *SocketAddress, AllowReuseVar bool) (bool, erro | |||
| 493 | 494 | var cerr *glib.Error | |
| 494 | 495 | ||
| 495 | 496 | cret := xSocketBind(x.GoPointer(), AddressVar.GoPointer(), AllowReuseVar, &cerr) | |
| 497 | + | ||
| 496 | 498 | if cerr == nil { | |
| 497 | 499 | return cret, nil | |
| 498 | 500 | } | |
| @@ -509,6 +511,7 @@ func (x *Socket) CheckConnectResult() (bool, error) { | |||
| 509 | 511 | var cerr *glib.Error | |
| 510 | 512 | ||
| 511 | 513 | cret := xSocketCheckConnectResult(x.GoPointer()) | |
| 514 | + | ||
| 512 | 515 | if cerr == nil { | |
| 513 | 516 | return cret, nil | |
| 514 | 517 | } | |
| @@ -551,6 +554,7 @@ func (x *Socket) Close() (bool, error) { | |||
| 551 | 554 | var cerr *glib.Error | |
| 552 | 555 | ||
| 553 | 556 | cret := xSocketClose(x.GoPointer()) | |
| 557 | + | ||
| 554 | 558 | if cerr == nil { | |
| 555 | 559 | return cret, nil | |
| 556 | 560 | } | |
| @@ -580,6 +584,7 @@ var xSocketConditionCheck func(uintptr, glib.IOCondition) glib.IOCondition | |||
| 580 | 584 | func (x *Socket) ConditionCheck(ConditionVar glib.IOCondition) glib.IOCondition { | |
| 581 | 585 | ||
| 582 | 586 | cret := xSocketConditionCheck(x.GoPointer(), ConditionVar) | |
| 587 | + | ||
| 583 | 588 | return cret | |
| 584 | 589 | } | |
| 585 | 590 | ||
| @@ -605,6 +610,7 @@ func (x *Socket) ConditionTimedWait(ConditionVar glib.IOCondition, TimeoutUsVar | |||
| 605 | 610 | var cerr *glib.Error | |
| 606 | 611 | ||
| 607 | 612 | cret := xSocketConditionTimedWait(x.GoPointer(), ConditionVar, TimeoutUsVar, CancellableVar.GoPointer(), &cerr) | |
| 613 | + | ||
| 608 | 614 | if cerr == nil { | |
| 609 | 615 | return cret, nil | |
| 610 | 616 | } | |
| @@ -628,6 +634,7 @@ func (x *Socket) ConditionWait(ConditionVar glib.IOCondition, CancellableVar *Ca | |||
| 628 | 634 | var cerr *glib.Error | |
| 629 | 635 | ||
| 630 | 636 | cret := xSocketConditionWait(x.GoPointer(), ConditionVar, CancellableVar.GoPointer(), &cerr) | |
| 637 | + | ||
| 631 | 638 | if cerr == nil { | |
| 632 | 639 | return cret, nil | |
| 633 | 640 | } | |
| @@ -657,6 +664,7 @@ func (x *Socket) Connect(AddressVar *SocketAddress, CancellableVar *Cancellable) | |||
| 657 | 664 | var cerr *glib.Error | |
| 658 | 665 | ||
| 659 | 666 | cret := xSocketConnect(x.GoPointer(), AddressVar.GoPointer(), CancellableVar.GoPointer(), &cerr) | |
| 667 | + | ||
| 660 | 668 | if cerr == nil { | |
| 661 | 669 | return cret, nil | |
| 662 | 670 | } | |
| @@ -706,6 +714,7 @@ var xSocketCreateSource func(uintptr, glib.IOCondition, uintptr) *glib.Source | |||
| 706 | 714 | func (x *Socket) CreateSource(ConditionVar glib.IOCondition, CancellableVar *Cancellable) *glib.Source { | |
| 707 | 715 | ||
| 708 | 716 | cret := xSocketCreateSource(x.GoPointer(), ConditionVar, CancellableVar.GoPointer()) | |
| 717 | + | ||
| 709 | 718 | return cret | |
| 710 | 719 | } | |
| 711 | 720 | ||
| @@ -726,6 +735,7 @@ var xSocketGetAvailableBytes func(uintptr) int | |||
| 726 | 735 | func (x *Socket) GetAvailableBytes() int { | |
| 727 | 736 | ||
| 728 | 737 | cret := xSocketGetAvailableBytes(x.GoPointer()) | |
| 738 | + | ||
| 729 | 739 | return cret | |
| 730 | 740 | } | |
| 731 | 741 | ||
| @@ -736,6 +746,7 @@ var xSocketGetBlocking func(uintptr) bool | |||
| 736 | 746 | func (x *Socket) GetBlocking() bool { | |
| 737 | 747 | ||
| 738 | 748 | cret := xSocketGetBlocking(x.GoPointer()) | |
| 749 | + | ||
| 739 | 750 | return cret | |
| 740 | 751 | } | |
| 741 | 752 | ||
| @@ -747,6 +758,7 @@ var xSocketGetBroadcast func(uintptr) bool | |||
| 747 | 758 | func (x *Socket) GetBroadcast() bool { | |
| 748 | 759 | ||
| 749 | 760 | cret := xSocketGetBroadcast(x.GoPointer()) | |
| 761 | + | ||
| 750 | 762 | return cret | |
| 751 | 763 | } | |
| 752 | 764 | ||
| @@ -796,6 +808,7 @@ var xSocketGetFamily func(uintptr) SocketFamily | |||
| 796 | 808 | func (x *Socket) GetFamily() SocketFamily { | |
| 797 | 809 | ||
| 798 | 810 | cret := xSocketGetFamily(x.GoPointer()) | |
| 811 | + | ||
| 799 | 812 | return cret | |
| 800 | 813 | } | |
| 801 | 814 | ||
| @@ -809,6 +822,7 @@ var xSocketGetFd func(uintptr) int | |||
| 809 | 822 | func (x *Socket) GetFd() int { | |
| 810 | 823 | ||
| 811 | 824 | cret := xSocketGetFd(x.GoPointer()) | |
| 825 | + | ||
| 812 | 826 | return cret | |
| 813 | 827 | } | |
| 814 | 828 | ||
| @@ -819,6 +833,7 @@ var xSocketGetKeepalive func(uintptr) bool | |||
| 819 | 833 | func (x *Socket) GetKeepalive() bool { | |
| 820 | 834 | ||
| 821 | 835 | cret := xSocketGetKeepalive(x.GoPointer()) | |
| 836 | + | ||
| 822 | 837 | return cret | |
| 823 | 838 | } | |
| 824 | 839 | ||
| @@ -829,6 +844,7 @@ var xSocketGetListenBacklog func(uintptr) int | |||
| 829 | 844 | func (x *Socket) GetListenBacklog() int { | |
| 830 | 845 | ||
| 831 | 846 | cret := xSocketGetListenBacklog(x.GoPointer()) | |
| 847 | + | ||
| 832 | 848 | return cret | |
| 833 | 849 | } | |
| 834 | 850 | ||
| @@ -863,6 +879,7 @@ var xSocketGetMulticastLoopback func(uintptr) bool | |||
| 863 | 879 | func (x *Socket) GetMulticastLoopback() bool { | |
| 864 | 880 | ||
| 865 | 881 | cret := xSocketGetMulticastLoopback(x.GoPointer()) | |
| 882 | + | ||
| 866 | 883 | return cret | |
| 867 | 884 | } | |
| 868 | 885 | ||
| @@ -873,6 +890,7 @@ var xSocketGetMulticastTtl func(uintptr) uint | |||
| 873 | 890 | func (x *Socket) GetMulticastTtl() uint { | |
| 874 | 891 | ||
| 875 | 892 | cret := xSocketGetMulticastTtl(x.GoPointer()) | |
| 893 | + | ||
| 876 | 894 | return cret | |
| 877 | 895 | } | |
| 878 | 896 | ||
| @@ -895,6 +913,7 @@ func (x *Socket) GetOption(LevelVar int, OptnameVar int, ValueVar *int) (bool, e | |||
| 895 | 913 | var cerr *glib.Error | |
| 896 | 914 | ||
| 897 | 915 | cret := xSocketGetOption(x.GoPointer(), LevelVar, OptnameVar, ValueVar, &cerr) | |
| 916 | + | ||
| 898 | 917 | if cerr == nil { | |
| 899 | 918 | return cret, nil | |
| 900 | 919 | } | |
| @@ -909,6 +928,7 @@ var xSocketGetProtocol func(uintptr) SocketProtocol | |||
| 909 | 928 | func (x *Socket) GetProtocol() SocketProtocol { | |
| 910 | 929 | ||
| 911 | 930 | cret := xSocketGetProtocol(x.GoPointer()) | |
| 931 | + | ||
| 912 | 932 | return cret | |
| 913 | 933 | } | |
| 914 | 934 | ||
| @@ -940,6 +960,7 @@ var xSocketGetSocketType func(uintptr) SocketType | |||
| 940 | 960 | func (x *Socket) GetSocketType() SocketType { | |
| 941 | 961 | ||
| 942 | 962 | cret := xSocketGetSocketType(x.GoPointer()) | |
| 963 | + | ||
| 943 | 964 | return cret | |
| 944 | 965 | } | |
| 945 | 966 | ||
| @@ -950,6 +971,7 @@ var xSocketGetTimeout func(uintptr) uint | |||
| 950 | 971 | func (x *Socket) GetTimeout() uint { | |
| 951 | 972 | ||
| 952 | 973 | cret := xSocketGetTimeout(x.GoPointer()) | |
| 974 | + | ||
| 953 | 975 | return cret | |
| 954 | 976 | } | |
| 955 | 977 | ||
| @@ -960,6 +982,7 @@ var xSocketGetTtl func(uintptr) uint | |||
| 960 | 982 | func (x *Socket) GetTtl() uint { | |
| 961 | 983 | ||
| 962 | 984 | cret := xSocketGetTtl(x.GoPointer()) | |
| 985 | + | ||
| 963 | 986 | return cret | |
| 964 | 987 | } | |
| 965 | 988 | ||
| @@ -969,6 +992,7 @@ var xSocketIsClosed func(uintptr) bool | |||
| 969 | 992 | func (x *Socket) IsClosed() bool { | |
| 970 | 993 | ||
| 971 | 994 | cret := xSocketIsClosed(x.GoPointer()) | |
| 995 | + | ||
| 972 | 996 | return cret | |
| 973 | 997 | } | |
| 974 | 998 | ||
| @@ -984,6 +1008,7 @@ var xSocketIsConnected func(uintptr) bool | |||
| 984 | 1008 | func (x *Socket) IsConnected() bool { | |
| 985 | 1009 | ||
| 986 | 1010 | cret := xSocketIsConnected(x.GoPointer()) | |
| 1011 | + | ||
| 987 | 1012 | return cret | |
| 988 | 1013 | } | |
| 989 | 1014 | ||
| @@ -1006,7 +1031,12 @@ var xSocketJoinMulticastGroup func(uintptr, uintptr, bool, uintptr, **glib.Error | |||
| 1006 | 1031 | func (x *Socket) JoinMulticastGroup(GroupVar *InetAddress, SourceSpecificVar bool, IfaceVar *string) (bool, error) { | |
| 1007 | 1032 | var cerr *glib.Error | |
| 1008 | 1033 | ||
| 1009 | - | cret := xSocketJoinMulticastGroup(x.GoPointer(), GroupVar.GoPointer(), SourceSpecificVar, core.NullableStringToPtr(IfaceVar), &cerr) | |
| 1034 | + | IfaceVarPtr, IfaceVarBytes := core.NullableStringToPtr(IfaceVar) | |
| 1035 | + | ||
| 1036 | + | cret := xSocketJoinMulticastGroup(x.GoPointer(), GroupVar.GoPointer(), SourceSpecificVar, IfaceVarPtr, &cerr) | |
| 1037 | + | ||
| 1038 | + | runtime.KeepAlive(IfaceVarBytes) | |
| 1039 | + | ||
| 1010 | 1040 | if cerr == nil { | |
| 1011 | 1041 | return cret, nil | |
| 1012 | 1042 | } | |
| @@ -1034,7 +1064,12 @@ var xSocketJoinMulticastGroupSsm func(uintptr, uintptr, uintptr, uintptr, **glib | |||
| 1034 | 1064 | func (x *Socket) JoinMulticastGroupSsm(GroupVar *InetAddress, SourceSpecificVar *InetAddress, IfaceVar *string) (bool, error) { | |
| 1035 | 1065 | var cerr *glib.Error | |
| 1036 | 1066 | ||
| 1037 | - | cret := xSocketJoinMulticastGroupSsm(x.GoPointer(), GroupVar.GoPointer(), SourceSpecificVar.GoPointer(), core.NullableStringToPtr(IfaceVar), &cerr) | |
| 1067 | + | IfaceVarPtr, IfaceVarBytes := core.NullableStringToPtr(IfaceVar) | |
| 1068 | + | ||
| 1069 | + | cret := xSocketJoinMulticastGroupSsm(x.GoPointer(), GroupVar.GoPointer(), SourceSpecificVar.GoPointer(), IfaceVarPtr, &cerr) | |
| 1070 | + | ||
| 1071 | + | runtime.KeepAlive(IfaceVarBytes) | |
| 1072 | + | ||
| 1038 | 1073 | if cerr == nil { | |
| 1039 | 1074 | return cret, nil | |
| 1040 | 1075 | } | |
| @@ -1056,7 +1091,12 @@ var xSocketLeaveMulticastGroup func(uintptr, uintptr, bool, uintptr, **glib.Erro | |||
| 1056 | 1091 | func (x *Socket) LeaveMulticastGroup(GroupVar *InetAddress, SourceSpecificVar bool, IfaceVar *string) (bool, error) { | |
| 1057 | 1092 | var cerr *glib.Error | |
| 1058 | 1093 | ||
| 1059 | - | cret := xSocketLeaveMulticastGroup(x.GoPointer(), GroupVar.GoPointer(), SourceSpecificVar, core.NullableStringToPtr(IfaceVar), &cerr) | |
| 1094 | + | IfaceVarPtr, IfaceVarBytes := core.NullableStringToPtr(IfaceVar) | |
| 1095 | + | ||
| 1096 | + | cret := xSocketLeaveMulticastGroup(x.GoPointer(), GroupVar.GoPointer(), SourceSpecificVar, IfaceVarPtr, &cerr) | |
| 1097 | + | ||
| 1098 | + | runtime.KeepAlive(IfaceVarBytes) | |
| 1099 | + | ||
| 1060 | 1100 | if cerr == nil { | |
| 1061 | 1101 | return cret, nil | |
| 1062 | 1102 | } | |
| @@ -1075,7 +1115,12 @@ var xSocketLeaveMulticastGroupSsm func(uintptr, uintptr, uintptr, uintptr, **gli | |||
| 1075 | 1115 | func (x *Socket) LeaveMulticastGroupSsm(GroupVar *InetAddress, SourceSpecificVar *InetAddress, IfaceVar *string) (bool, error) { | |
| 1076 | 1116 | var cerr *glib.Error | |
| 1077 | 1117 | ||
| 1078 | - | cret := xSocketLeaveMulticastGroupSsm(x.GoPointer(), GroupVar.GoPointer(), SourceSpecificVar.GoPointer(), core.NullableStringToPtr(IfaceVar), &cerr) | |
| 1118 | + | IfaceVarPtr, IfaceVarBytes := core.NullableStringToPtr(IfaceVar) | |
| 1119 | + | ||
| 1120 | + | cret := xSocketLeaveMulticastGroupSsm(x.GoPointer(), GroupVar.GoPointer(), SourceSpecificVar.GoPointer(), IfaceVarPtr, &cerr) | |
| 1121 | + | ||
| 1122 | + | runtime.KeepAlive(IfaceVarBytes) | |
| 1123 | + | ||
| 1079 | 1124 | if cerr == nil { | |
| 1080 | 1125 | return cret, nil | |
| 1081 | 1126 | } | |
| @@ -1097,6 +1142,7 @@ func (x *Socket) Listen() (bool, error) { | |||
| 1097 | 1142 | var cerr *glib.Error | |
| 1098 | 1143 | ||
| 1099 | 1144 | cret := xSocketListen(x.GoPointer()) | |
| 1145 | + | ||
| 1100 | 1146 | if cerr == nil { | |
| 1101 | 1147 | return cret, nil | |
| 1102 | 1148 | } | |
| @@ -1133,6 +1179,7 @@ func (x *Socket) Receive(BufferVar *[]byte, SizeVar uint, CancellableVar *Cancel | |||
| 1133 | 1179 | var cerr *glib.Error | |
| 1134 | 1180 | ||
| 1135 | 1181 | cret := xSocketReceive(x.GoPointer(), BufferVar, SizeVar, CancellableVar.GoPointer(), &cerr) | |
| 1182 | + | ||
| 1136 | 1183 | if cerr == nil { | |
| 1137 | 1184 | return cret, nil | |
| 1138 | 1185 | } | |
| @@ -1155,6 +1202,7 @@ func (x *Socket) ReceiveBytes(SizeVar uint, TimeoutUsVar int64, CancellableVar * | |||
| 1155 | 1202 | var cerr *glib.Error | |
| 1156 | 1203 | ||
| 1157 | 1204 | cret := xSocketReceiveBytes(x.GoPointer(), SizeVar, TimeoutUsVar, CancellableVar.GoPointer(), &cerr) | |
| 1205 | + | ||
| 1158 | 1206 | if cerr == nil { | |
| 1159 | 1207 | return cret, nil | |
| 1160 | 1208 | } | |
| @@ -1182,6 +1230,7 @@ func (x *Socket) ReceiveBytesFrom(AddressVar **SocketAddress, SizeVar uint, Time | |||
| 1182 | 1230 | var cerr *glib.Error | |
| 1183 | 1231 | ||
| 1184 | 1232 | cret := xSocketReceiveBytesFrom(x.GoPointer(), AddressVar, SizeVar, TimeoutUsVar, CancellableVar.GoPointer(), &cerr) | |
| 1233 | + | ||
| 1185 | 1234 | if cerr == nil { | |
| 1186 | 1235 | return cret, nil | |
| 1187 | 1236 | } | |
| @@ -1202,6 +1251,7 @@ func (x *Socket) ReceiveFrom(AddressVar **SocketAddress, BufferVar *[]byte, Size | |||
| 1202 | 1251 | var cerr *glib.Error | |
| 1203 | 1252 | ||
| 1204 | 1253 | cret := xSocketReceiveFrom(x.GoPointer(), AddressVar, BufferVar, SizeVar, CancellableVar.GoPointer(), &cerr) | |
| 1254 | + | ||
| 1205 | 1255 | if cerr == nil { | |
| 1206 | 1256 | return cret, nil | |
| 1207 | 1257 | } | |
| @@ -1274,6 +1324,7 @@ func (x *Socket) ReceiveMessage(AddressVar **SocketAddress, VectorsVar []InputVe | |||
| 1274 | 1324 | var cerr *glib.Error | |
| 1275 | 1325 | ||
| 1276 | 1326 | cret := xSocketReceiveMessage(x.GoPointer(), AddressVar, VectorsVar, NumVectorsVar, MessagesVar, NumMessagesVar, FlagsVar, CancellableVar.GoPointer(), &cerr) | |
| 1327 | + | ||
| 1277 | 1328 | if cerr == nil { | |
| 1278 | 1329 | return cret, nil | |
| 1279 | 1330 | } | |
| @@ -1335,6 +1386,7 @@ func (x *Socket) ReceiveMessages(MessagesVar []InputMessage, NumMessagesVar uint | |||
| 1335 | 1386 | var cerr *glib.Error | |
| 1336 | 1387 | ||
| 1337 | 1388 | cret := xSocketReceiveMessages(x.GoPointer(), MessagesVar, NumMessagesVar, FlagsVar, CancellableVar.GoPointer(), &cerr) | |
| 1389 | + | ||
| 1338 | 1390 | if cerr == nil { | |
| 1339 | 1391 | return cret, nil | |
| 1340 | 1392 | } | |
| @@ -1351,6 +1403,7 @@ func (x *Socket) ReceiveWithBlocking(BufferVar *[]byte, SizeVar uint, BlockingVa | |||
| 1351 | 1403 | var cerr *glib.Error | |
| 1352 | 1404 | ||
| 1353 | 1405 | cret := xSocketReceiveWithBlocking(x.GoPointer(), BufferVar, SizeVar, BlockingVar, CancellableVar.GoPointer(), &cerr) | |
| 1406 | + | ||
| 1354 | 1407 | if cerr == nil { | |
| 1355 | 1408 | return cret, nil | |
| 1356 | 1409 | } | |
| @@ -1378,6 +1431,7 @@ func (x *Socket) Send(BufferVar []byte, SizeVar uint, CancellableVar *Cancellabl | |||
| 1378 | 1431 | var cerr *glib.Error | |
| 1379 | 1432 | ||
| 1380 | 1433 | cret := xSocketSend(x.GoPointer(), BufferVar, SizeVar, CancellableVar.GoPointer(), &cerr) | |
| 1434 | + | ||
| 1381 | 1435 | if cerr == nil { | |
| 1382 | 1436 | return cret, nil | |
| 1383 | 1437 | } | |
| @@ -1433,6 +1487,7 @@ func (x *Socket) SendMessage(AddressVar *SocketAddress, VectorsVar []OutputVecto | |||
| 1433 | 1487 | var cerr *glib.Error | |
| 1434 | 1488 | ||
| 1435 | 1489 | cret := xSocketSendMessage(x.GoPointer(), AddressVar.GoPointer(), VectorsVar, NumVectorsVar, MessagesVar, NumMessagesVar, FlagsVar, CancellableVar.GoPointer(), &cerr) | |
| 1490 | + | ||
| 1436 | 1491 | if cerr == nil { | |
| 1437 | 1492 | return cret, nil | |
| 1438 | 1493 | } | |
| @@ -1453,6 +1508,7 @@ func (x *Socket) SendMessageWithTimeout(AddressVar *SocketAddress, VectorsVar [] | |||
| 1453 | 1508 | var cerr *glib.Error | |
| 1454 | 1509 | ||
| 1455 | 1510 | cret := xSocketSendMessageWithTimeout(x.GoPointer(), AddressVar.GoPointer(), VectorsVar, NumVectorsVar, MessagesVar, NumMessagesVar, FlagsVar, TimeoutUsVar, BytesWrittenVar, CancellableVar.GoPointer(), &cerr) | |
| 1511 | + | ||
| 1456 | 1512 | if cerr == nil { | |
| 1457 | 1513 | return cret, nil | |
| 1458 | 1514 | } | |
| @@ -1500,6 +1556,7 @@ func (x *Socket) SendMessages(MessagesVar []OutputMessage, NumMessagesVar uint, | |||
| 1500 | 1556 | var cerr *glib.Error | |
| 1501 | 1557 | ||
| 1502 | 1558 | cret := xSocketSendMessages(x.GoPointer(), MessagesVar, NumMessagesVar, FlagsVar, CancellableVar.GoPointer(), &cerr) | |
| 1559 | + | ||
| 1503 | 1560 | if cerr == nil { | |
| 1504 | 1561 | return cret, nil | |
| 1505 | 1562 | } | |
| @@ -1518,6 +1575,7 @@ func (x *Socket) SendTo(AddressVar *SocketAddress, BufferVar []byte, SizeVar uin | |||
| 1518 | 1575 | var cerr *glib.Error | |
| 1519 | 1576 | ||
| 1520 | 1577 | cret := xSocketSendTo(x.GoPointer(), AddressVar.GoPointer(), BufferVar, SizeVar, CancellableVar.GoPointer(), &cerr) | |
| 1578 | + | ||
| 1521 | 1579 | if cerr == nil { | |
| 1522 | 1580 | return cret, nil | |
| 1523 | 1581 | } | |
| @@ -1534,6 +1592,7 @@ func (x *Socket) SendWithBlocking(BufferVar []byte, SizeVar uint, BlockingVar bo | |||
| 1534 | 1592 | var cerr *glib.Error | |
| 1535 | 1593 | ||
| 1536 | 1594 | cret := xSocketSendWithBlocking(x.GoPointer(), BufferVar, SizeVar, BlockingVar, CancellableVar.GoPointer(), &cerr) | |
| 1595 | + | ||
| 1537 | 1596 | if cerr == nil { | |
| 1538 | 1597 | return cret, nil | |
| 1539 | 1598 | } | |
| @@ -1643,6 +1702,7 @@ func (x *Socket) SetOption(LevelVar int, OptnameVar int, ValueVar int) (bool, er | |||
| 1643 | 1702 | var cerr *glib.Error | |
| 1644 | 1703 | ||
| 1645 | 1704 | cret := xSocketSetOption(x.GoPointer(), LevelVar, OptnameVar, ValueVar, &cerr) | |
| 1705 | + | ||
| 1646 | 1706 | if cerr == nil { | |
| 1647 | 1707 | return cret, nil | |
| 1648 | 1708 | } | |
| @@ -1708,6 +1768,7 @@ func (x *Socket) Shutdown(ShutdownReadVar bool, ShutdownWriteVar bool) (bool, er | |||
| 1708 | 1768 | var cerr *glib.Error | |
| 1709 | 1769 | ||
| 1710 | 1770 | cret := xSocketShutdown(x.GoPointer(), ShutdownReadVar, ShutdownWriteVar, &cerr) | |
| 1771 | + | ||
| 1711 | 1772 | if cerr == nil { | |
| 1712 | 1773 | return cret, nil | |
| 1713 | 1774 | } | |
| @@ -1729,6 +1790,7 @@ var xSocketSpeaksIpv4 func(uintptr) bool | |||
| 1729 | 1790 | func (x *Socket) SpeaksIpv4() bool { | |
| 1730 | 1791 | ||
| 1731 | 1792 | cret := xSocketSpeaksIpv4(x.GoPointer()) | |
| 1793 | + | ||
| 1732 | 1794 | return cret | |
| 1733 | 1795 | } | |
| 1734 | 1796 | ||
| @@ -1938,6 +2000,7 @@ func (x *Socket) Init(CancellableVar *Cancellable) (bool, error) { | |||
| 1938 | 2000 | var cerr *glib.Error | |
| 1939 | 2001 | ||
| 1940 | 2002 | cret := XGInitableInit(x.GoPointer(), CancellableVar.GoPointer(), &cerr) | |
| 2003 | + | ||
| 1941 | 2004 | if cerr == nil { | |
| 1942 | 2005 | return cret, nil | |
| 1943 | 2006 | } | |
M v4/gio/gsocketaddress.go +4 -0
| @@ -140,6 +140,7 @@ var xSocketAddressGetFamily func(uintptr) SocketFamily | |||
| 140 | 140 | func (x *SocketAddress) GetFamily() SocketFamily { | |
| 141 | 141 | ||
| 142 | 142 | cret := xSocketAddressGetFamily(x.GoPointer()) | |
| 143 | + | ||
| 143 | 144 | return cret | |
| 144 | 145 | } | |
| 145 | 146 | ||
| @@ -151,6 +152,7 @@ var xSocketAddressGetNativeSize func(uintptr) int | |||
| 151 | 152 | func (x *SocketAddress) GetNativeSize() int { | |
| 152 | 153 | ||
| 153 | 154 | cret := xSocketAddressGetNativeSize(x.GoPointer()) | |
| 155 | + | ||
| 154 | 156 | return cret | |
| 155 | 157 | } | |
| 156 | 158 | ||
| @@ -166,6 +168,7 @@ func (x *SocketAddress) ToNative(DestVar uintptr, DestlenVar uint) (bool, error) | |||
| 166 | 168 | var cerr *glib.Error | |
| 167 | 169 | ||
| 168 | 170 | cret := xSocketAddressToNative(x.GoPointer(), DestVar, DestlenVar, &cerr) | |
| 171 | + | ||
| 169 | 172 | if cerr == nil { | |
| 170 | 173 | return cret, nil | |
| 171 | 174 | } | |
| @@ -228,6 +231,7 @@ func (x *SocketAddress) ProxyEnumerate() *SocketAddressEnumerator { | |||
| 228 | 231 | func (x *SocketAddress) ToString() string { | |
| 229 | 232 | ||
| 230 | 233 | cret := XGSocketConnectableToString(x.GoPointer()) | |
| 234 | + | ||
| 231 | 235 | return cret | |
| 232 | 236 | } | |
| 233 | 237 | ||
M v4/gio/gsocketclient.go +7 -0
| @@ -598,6 +598,7 @@ var xSocketClientGetEnableProxy func(uintptr) bool | |||
| 598 | 598 | func (x *SocketClient) GetEnableProxy() bool { | |
| 599 | 599 | ||
| 600 | 600 | cret := xSocketClientGetEnableProxy(x.GoPointer()) | |
| 601 | + | ||
| 601 | 602 | return cret | |
| 602 | 603 | } | |
| 603 | 604 | ||
| @@ -609,6 +610,7 @@ var xSocketClientGetFamily func(uintptr) SocketFamily | |||
| 609 | 610 | func (x *SocketClient) GetFamily() SocketFamily { | |
| 610 | 611 | ||
| 611 | 612 | cret := xSocketClientGetFamily(x.GoPointer()) | |
| 613 | + | ||
| 612 | 614 | return cret | |
| 613 | 615 | } | |
| 614 | 616 | ||
| @@ -639,6 +641,7 @@ var xSocketClientGetProtocol func(uintptr) SocketProtocol | |||
| 639 | 641 | func (x *SocketClient) GetProtocol() SocketProtocol { | |
| 640 | 642 | ||
| 641 | 643 | cret := xSocketClientGetProtocol(x.GoPointer()) | |
| 644 | + | ||
| 642 | 645 | return cret | |
| 643 | 646 | } | |
| 644 | 647 | ||
| @@ -669,6 +672,7 @@ var xSocketClientGetSocketType func(uintptr) SocketType | |||
| 669 | 672 | func (x *SocketClient) GetSocketType() SocketType { | |
| 670 | 673 | ||
| 671 | 674 | cret := xSocketClientGetSocketType(x.GoPointer()) | |
| 675 | + | ||
| 672 | 676 | return cret | |
| 673 | 677 | } | |
| 674 | 678 | ||
| @@ -680,6 +684,7 @@ var xSocketClientGetTimeout func(uintptr) uint | |||
| 680 | 684 | func (x *SocketClient) GetTimeout() uint { | |
| 681 | 685 | ||
| 682 | 686 | cret := xSocketClientGetTimeout(x.GoPointer()) | |
| 687 | + | ||
| 683 | 688 | return cret | |
| 684 | 689 | } | |
| 685 | 690 | ||
| @@ -690,6 +695,7 @@ var xSocketClientGetTls func(uintptr) bool | |||
| 690 | 695 | func (x *SocketClient) GetTls() bool { | |
| 691 | 696 | ||
| 692 | 697 | cret := xSocketClientGetTls(x.GoPointer()) | |
| 698 | + | ||
| 693 | 699 | return cret | |
| 694 | 700 | } | |
| 695 | 701 | ||
| @@ -704,6 +710,7 @@ var xSocketClientGetTlsValidationFlags func(uintptr) TlsCertificateFlags | |||
| 704 | 710 | func (x *SocketClient) GetTlsValidationFlags() TlsCertificateFlags { | |
| 705 | 711 | ||
| 706 | 712 | cret := xSocketClientGetTlsValidationFlags(x.GoPointer()) | |
| 713 | + | ||
| 707 | 714 | return cret | |
| 708 | 715 | } | |
| 709 | 716 | ||
M v4/gio/gsocketconnectable.go +1 -0
| @@ -260,6 +260,7 @@ func (x *SocketConnectableBase) ProxyEnumerate() *SocketAddressEnumerator { | |||
| 260 | 260 | func (x *SocketConnectableBase) ToString() string { | |
| 261 | 261 | ||
| 262 | 262 | cret := XGSocketConnectableToString(x.GoPointer()) | |
| 263 | + | ||
| 263 | 264 | return cret | |
| 264 | 265 | } | |
| 265 | 266 | ||
M v4/gio/gsocketconnection.go +4 -0
| @@ -219,6 +219,7 @@ func (x *SocketConnection) Connect(AddressVar *SocketAddress, CancellableVar *Ca | |||
| 219 | 219 | var cerr *glib.Error | |
| 220 | 220 | ||
| 221 | 221 | cret := xSocketConnectionConnect(x.GoPointer(), AddressVar.GoPointer(), CancellableVar.GoPointer(), &cerr) | |
| 222 | + | ||
| 222 | 223 | if cerr == nil { | |
| 223 | 224 | return cret, nil | |
| 224 | 225 | } | |
| @@ -266,6 +267,7 @@ func (x *SocketConnection) ConnectFinish(ResultVar AsyncResult) (bool, error) { | |||
| 266 | 267 | var cerr *glib.Error | |
| 267 | 268 | ||
| 268 | 269 | cret := xSocketConnectionConnectFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr) | |
| 270 | + | ||
| 269 | 271 | if cerr == nil { | |
| 270 | 272 | return cret, nil | |
| 271 | 273 | } | |
| @@ -348,6 +350,7 @@ var xSocketConnectionIsConnected func(uintptr) bool | |||
| 348 | 350 | func (x *SocketConnection) IsConnected() bool { | |
| 349 | 351 | ||
| 350 | 352 | cret := xSocketConnectionIsConnected(x.GoPointer()) | |
| 353 | + | ||
| 351 | 354 | return cret | |
| 352 | 355 | } | |
| 353 | 356 | ||
| @@ -371,6 +374,7 @@ var xSocketConnectionFactoryLookupType func(SocketFamily, SocketType, int) types | |||
| 371 | 374 | func SocketConnectionFactoryLookupType(FamilyVar SocketFamily, TypeVar SocketType, ProtocolIdVar int) types.GType { | |
| 372 | 375 | ||
| 373 | 376 | cret := xSocketConnectionFactoryLookupType(FamilyVar, TypeVar, ProtocolIdVar) | |
| 377 | + | ||
| 374 | 378 | return cret | |
| 375 | 379 | } | |
| 376 | 380 | ||
M v4/gio/gsocketcontrolmessage.go +3 -0
| @@ -343,6 +343,7 @@ var xSocketControlMessageGetLevel func(uintptr) int | |||
| 343 | 343 | func (x *SocketControlMessage) GetLevel() int { | |
| 344 | 344 | ||
| 345 | 345 | cret := xSocketControlMessageGetLevel(x.GoPointer()) | |
| 346 | + | ||
| 346 | 347 | return cret | |
| 347 | 348 | } | |
| 348 | 349 | ||
| @@ -353,6 +354,7 @@ var xSocketControlMessageGetMsgType func(uintptr) int | |||
| 353 | 354 | func (x *SocketControlMessage) GetMsgType() int { | |
| 354 | 355 | ||
| 355 | 356 | cret := xSocketControlMessageGetMsgType(x.GoPointer()) | |
| 357 | + | ||
| 356 | 358 | return cret | |
| 357 | 359 | } | |
| 358 | 360 | ||
| @@ -363,6 +365,7 @@ var xSocketControlMessageGetSize func(uintptr) uint | |||
| 363 | 365 | func (x *SocketControlMessage) GetSize() uint { | |
| 364 | 366 | ||
| 365 | 367 | cret := xSocketControlMessageGetSize(x.GoPointer()) | |
| 368 | + | ||
| 366 | 369 | return cret | |
| 367 | 370 | } | |
| 368 | 371 | ||
M v4/gio/gsocketlistener.go +4 -0
| @@ -449,6 +449,7 @@ func (x *SocketListener) AddAddress(AddressVar *SocketAddress, TypeVar SocketTyp | |||
| 449 | 449 | var cerr *glib.Error | |
| 450 | 450 | ||
| 451 | 451 | cret := xSocketListenerAddAddress(x.GoPointer(), AddressVar.GoPointer(), TypeVar, ProtocolVar, SourceObjectVar.GoPointer(), EffectiveAddressVar, &cerr) | |
| 452 | + | ||
| 452 | 453 | if cerr == nil { | |
| 453 | 454 | return cret, nil | |
| 454 | 455 | } | |
| @@ -480,6 +481,7 @@ func (x *SocketListener) AddAnyInetPort(SourceObjectVar *gobject.Object) (uint16 | |||
| 480 | 481 | var cerr *glib.Error | |
| 481 | 482 | ||
| 482 | 483 | cret := xSocketListenerAddAnyInetPort(x.GoPointer(), SourceObjectVar.GoPointer(), &cerr) | |
| 484 | + | ||
| 483 | 485 | if cerr == nil { | |
| 484 | 486 | return cret, nil | |
| 485 | 487 | } | |
| @@ -513,6 +515,7 @@ func (x *SocketListener) AddInetPort(PortVar uint16, SourceObjectVar *gobject.Ob | |||
| 513 | 515 | var cerr *glib.Error | |
| 514 | 516 | ||
| 515 | 517 | cret := xSocketListenerAddInetPort(x.GoPointer(), PortVar, SourceObjectVar.GoPointer(), &cerr) | |
| 518 | + | ||
| 516 | 519 | if cerr == nil { | |
| 517 | 520 | return cret, nil | |
| 518 | 521 | } | |
| @@ -542,6 +545,7 @@ func (x *SocketListener) AddSocket(SocketVar *Socket, SourceObjectVar *gobject.O | |||
| 542 | 545 | var cerr *glib.Error | |
| 543 | 546 | ||
| 544 | 547 | cret := xSocketListenerAddSocket(x.GoPointer(), SocketVar.GoPointer(), SourceObjectVar.GoPointer(), &cerr) | |
| 548 | + | ||
| 545 | 549 | if cerr == nil { | |
| 546 | 550 | return cret, nil | |
| 547 | 551 | } | |
M v4/gio/gsocketservice.go +1 -0
| @@ -281,6 +281,7 @@ var xSocketServiceIsActive func(uintptr) bool | |||
| 281 | 281 | func (x *SocketService) IsActive() bool { | |
| 282 | 282 | ||
| 283 | 283 | cret := xSocketServiceIsActive(x.GoPointer()) | |
| 284 | + | ||
| 284 | 285 | return cret | |
| 285 | 286 | } | |
| 286 | 287 | ||
M v4/gio/gsrvtarget.go +1 -0
| @@ -13,6 +13,7 @@ var xSrvTargetListSort func(*glib.List) *glib.List | |||
| 13 | 13 | func SrvTargetListSort(TargetsVar *glib.List) *glib.List { | |
| 14 | 14 | ||
| 15 | 15 | cret := xSrvTargetListSort(TargetsVar) | |
| 16 | + | ||
| 16 | 17 | return cret | |
| 17 | 18 | } | |
| 18 | 19 | ||
M v4/gio/gsubprocess.go +27 -2
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gio | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "runtime" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -182,6 +183,7 @@ func (x *Subprocess) Communicate(StdinBufVar *glib.Bytes, CancellableVar *Cancel | |||
| 182 | 183 | var cerr *glib.Error | |
| 183 | 184 | ||
| 184 | 185 | cret := xSubprocessCommunicate(x.GoPointer(), StdinBufVar, CancellableVar.GoPointer(), StdoutBufVar, StderrBufVar, &cerr) | |
| 186 | + | ||
| 185 | 187 | if cerr == nil { | |
| 186 | 188 | return cret, nil | |
| 187 | 189 | } | |
| @@ -221,6 +223,7 @@ func (x *Subprocess) CommunicateFinish(ResultVar AsyncResult, StdoutBufVar **gli | |||
| 221 | 223 | var cerr *glib.Error | |
| 222 | 224 | ||
| 223 | 225 | cret := xSubprocessCommunicateFinish(x.GoPointer(), ResultVar.GoPointer(), StdoutBufVar, StderrBufVar, &cerr) | |
| 226 | + | ||
| 224 | 227 | if cerr == nil { | |
| 225 | 228 | return cret, nil | |
| 226 | 229 | } | |
| @@ -238,7 +241,12 @@ var xSubprocessCommunicateUtf8 func(uintptr, uintptr, uintptr, *string, *string, | |||
| 238 | 241 | func (x *Subprocess) CommunicateUtf8(StdinBufVar *string, CancellableVar *Cancellable, StdoutBufVar *string, StderrBufVar *string) (bool, error) { | |
| 239 | 242 | var cerr *glib.Error | |
| 240 | 243 | ||
| 241 | - | cret := xSubprocessCommunicateUtf8(x.GoPointer(), core.NullableStringToPtr(StdinBufVar), CancellableVar.GoPointer(), StdoutBufVar, StderrBufVar, &cerr) | |
| 244 | + | StdinBufVarPtr, StdinBufVarBytes := core.NullableStringToPtr(StdinBufVar) | |
| 245 | + | ||
| 246 | + | cret := xSubprocessCommunicateUtf8(x.GoPointer(), StdinBufVarPtr, CancellableVar.GoPointer(), StdoutBufVar, StderrBufVar, &cerr) | |
| 247 | + | ||
| 248 | + | runtime.KeepAlive(StdinBufVarBytes) | |
| 249 | + | ||
| 242 | 250 | if cerr == nil { | |
| 243 | 251 | return cret, nil | |
| 244 | 252 | } | |
| @@ -267,7 +275,11 @@ func (x *Subprocess) CommunicateUtf8Async(StdinBufVar *string, CancellableVar *C | |||
| 267 | 275 | } | |
| 268 | 276 | } | |
| 269 | 277 | ||
| 270 | - | xSubprocessCommunicateUtf8Async(x.GoPointer(), core.NullableStringToPtr(StdinBufVar), CancellableVar.GoPointer(), CallbackVarRef, UserDataVar) | |
| 278 | + | StdinBufVarPtr, StdinBufVarBytes := core.NullableStringToPtr(StdinBufVar) | |
| 279 | + | ||
| 280 | + | xSubprocessCommunicateUtf8Async(x.GoPointer(), StdinBufVarPtr, CancellableVar.GoPointer(), CallbackVarRef, UserDataVar) | |
| 281 | + | ||
| 282 | + | runtime.KeepAlive(StdinBufVarBytes) | |
| 271 | 283 | ||
| 272 | 284 | } | |
| 273 | 285 | ||
| @@ -278,6 +290,7 @@ func (x *Subprocess) CommunicateUtf8Finish(ResultVar AsyncResult, StdoutBufVar * | |||
| 278 | 290 | var cerr *glib.Error | |
| 279 | 291 | ||
| 280 | 292 | cret := xSubprocessCommunicateUtf8Finish(x.GoPointer(), ResultVar.GoPointer(), StdoutBufVar, StderrBufVar, &cerr) | |
| 293 | + | ||
| 281 | 294 | if cerr == nil { | |
| 282 | 295 | return cret, nil | |
| 283 | 296 | } | |
| @@ -313,6 +326,7 @@ var xSubprocessGetExitStatus func(uintptr) int | |||
| 313 | 326 | func (x *Subprocess) GetExitStatus() int { | |
| 314 | 327 | ||
| 315 | 328 | cret := xSubprocessGetExitStatus(x.GoPointer()) | |
| 329 | + | ||
| 316 | 330 | return cret | |
| 317 | 331 | } | |
| 318 | 332 | ||
| @@ -324,6 +338,7 @@ var xSubprocessGetIdentifier func(uintptr) string | |||
| 324 | 338 | func (x *Subprocess) GetIdentifier() string { | |
| 325 | 339 | ||
| 326 | 340 | cret := xSubprocessGetIdentifier(x.GoPointer()) | |
| 341 | + | ||
| 327 | 342 | return cret | |
| 328 | 343 | } | |
| 329 | 344 | ||
| @@ -339,6 +354,7 @@ var xSubprocessGetIfExited func(uintptr) bool | |||
| 339 | 354 | func (x *Subprocess) GetIfExited() bool { | |
| 340 | 355 | ||
| 341 | 356 | cret := xSubprocessGetIfExited(x.GoPointer()) | |
| 357 | + | ||
| 342 | 358 | return cret | |
| 343 | 359 | } | |
| 344 | 360 | ||
| @@ -353,6 +369,7 @@ var xSubprocessGetIfSignaled func(uintptr) bool | |||
| 353 | 369 | func (x *Subprocess) GetIfSignaled() bool { | |
| 354 | 370 | ||
| 355 | 371 | cret := xSubprocessGetIfSignaled(x.GoPointer()) | |
| 372 | + | ||
| 356 | 373 | return cret | |
| 357 | 374 | } | |
| 358 | 375 | ||
| @@ -372,6 +389,7 @@ var xSubprocessGetStatus func(uintptr) int | |||
| 372 | 389 | func (x *Subprocess) GetStatus() int { | |
| 373 | 390 | ||
| 374 | 391 | cret := xSubprocessGetStatus(x.GoPointer()) | |
| 392 | + | ||
| 375 | 393 | return cret | |
| 376 | 394 | } | |
| 377 | 395 | ||
| @@ -449,6 +467,7 @@ var xSubprocessGetSuccessful func(uintptr) bool | |||
| 449 | 467 | func (x *Subprocess) GetSuccessful() bool { | |
| 450 | 468 | ||
| 451 | 469 | cret := xSubprocessGetSuccessful(x.GoPointer()) | |
| 470 | + | ||
| 452 | 471 | return cret | |
| 453 | 472 | } | |
| 454 | 473 | ||
| @@ -464,6 +483,7 @@ var xSubprocessGetTermSig func(uintptr) int | |||
| 464 | 483 | func (x *Subprocess) GetTermSig() int { | |
| 465 | 484 | ||
| 466 | 485 | cret := xSubprocessGetTermSig(x.GoPointer()) | |
| 486 | + | ||
| 467 | 487 | return cret | |
| 468 | 488 | } | |
| 469 | 489 | ||
| @@ -499,6 +519,7 @@ func (x *Subprocess) Wait(CancellableVar *Cancellable) (bool, error) { | |||
| 499 | 519 | var cerr *glib.Error | |
| 500 | 520 | ||
| 501 | 521 | cret := xSubprocessWait(x.GoPointer(), CancellableVar.GoPointer(), &cerr) | |
| 522 | + | ||
| 502 | 523 | if cerr == nil { | |
| 503 | 524 | return cret, nil | |
| 504 | 525 | } | |
| @@ -539,6 +560,7 @@ func (x *Subprocess) WaitCheck(CancellableVar *Cancellable) (bool, error) { | |||
| 539 | 560 | var cerr *glib.Error | |
| 540 | 561 | ||
| 541 | 562 | cret := xSubprocessWaitCheck(x.GoPointer(), CancellableVar.GoPointer(), &cerr) | |
| 563 | + | ||
| 542 | 564 | if cerr == nil { | |
| 543 | 565 | return cret, nil | |
| 544 | 566 | } | |
| @@ -580,6 +602,7 @@ func (x *Subprocess) WaitCheckFinish(ResultVar AsyncResult) (bool, error) { | |||
| 580 | 602 | var cerr *glib.Error | |
| 581 | 603 | ||
| 582 | 604 | cret := xSubprocessWaitCheckFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr) | |
| 605 | + | ||
| 583 | 606 | if cerr == nil { | |
| 584 | 607 | return cret, nil | |
| 585 | 608 | } | |
| @@ -595,6 +618,7 @@ func (x *Subprocess) WaitFinish(ResultVar AsyncResult) (bool, error) { | |||
| 595 | 618 | var cerr *glib.Error | |
| 596 | 619 | ||
| 597 | 620 | cret := xSubprocessWaitFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr) | |
| 621 | + | ||
| 598 | 622 | if cerr == nil { | |
| 599 | 623 | return cret, nil | |
| 600 | 624 | } | |
| @@ -664,6 +688,7 @@ func (x *Subprocess) Init(CancellableVar *Cancellable) (bool, error) { | |||
| 664 | 688 | var cerr *glib.Error | |
| 665 | 689 | ||
| 666 | 690 | cret := XGInitableInit(x.GoPointer(), CancellableVar.GoPointer(), &cerr) | |
| 691 | + | ||
| 667 | 692 | if cerr == nil { | |
| 668 | 693 | return cret, nil | |
| 669 | 694 | } | |
M v4/gio/gsubprocesslauncher.go +17 -3
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gio | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "runtime" | |
| 5 | 6 | "unsafe" | |
| 6 | 7 | ||
| 7 | 8 | "github.com/jwijenbergh/purego" | |
| @@ -83,6 +84,7 @@ var xSubprocessLauncherGetenv func(uintptr, string) string | |||
| 83 | 84 | func (x *SubprocessLauncher) Getenv(VariableVar string) string { | |
| 84 | 85 | ||
| 85 | 86 | cret := xSubprocessLauncherGetenv(x.GoPointer(), VariableVar) | |
| 87 | + | ||
| 86 | 88 | return cret | |
| 87 | 89 | } | |
| 88 | 90 | ||
| @@ -215,7 +217,11 @@ var xSubprocessLauncherSetStderrFilePath func(uintptr, uintptr) | |||
| 215 | 217 | // This feature is only available on UNIX. | |
| 216 | 218 | func (x *SubprocessLauncher) SetStderrFilePath(PathVar *string) { | |
| 217 | 219 | ||
| 218 | - | xSubprocessLauncherSetStderrFilePath(x.GoPointer(), core.NullableStringToPtr(PathVar)) | |
| 220 | + | PathVarPtr, PathVarBytes := core.NullableStringToPtr(PathVar) | |
| 221 | + | ||
| 222 | + | xSubprocessLauncherSetStderrFilePath(x.GoPointer(), PathVarPtr) | |
| 223 | + | ||
| 224 | + | runtime.KeepAlive(PathVarBytes) | |
| 219 | 225 | ||
| 220 | 226 | } | |
| 221 | 227 | ||
| @@ -233,7 +239,11 @@ var xSubprocessLauncherSetStdinFilePath func(uintptr, uintptr) | |||
| 233 | 239 | // This feature is only available on UNIX. | |
| 234 | 240 | func (x *SubprocessLauncher) SetStdinFilePath(PathVar *string) { | |
| 235 | 241 | ||
| 236 | - | xSubprocessLauncherSetStdinFilePath(x.GoPointer(), core.NullableStringToPtr(PathVar)) | |
| 242 | + | PathVarPtr, PathVarBytes := core.NullableStringToPtr(PathVar) | |
| 243 | + | ||
| 244 | + | xSubprocessLauncherSetStdinFilePath(x.GoPointer(), PathVarPtr) | |
| 245 | + | ||
| 246 | + | runtime.KeepAlive(PathVarBytes) | |
| 237 | 247 | ||
| 238 | 248 | } | |
| 239 | 249 | ||
| @@ -252,7 +262,11 @@ var xSubprocessLauncherSetStdoutFilePath func(uintptr, uintptr) | |||
| 252 | 262 | // This feature is only available on UNIX. | |
| 253 | 263 | func (x *SubprocessLauncher) SetStdoutFilePath(PathVar *string) { | |
| 254 | 264 | ||
| 255 | - | xSubprocessLauncherSetStdoutFilePath(x.GoPointer(), core.NullableStringToPtr(PathVar)) | |
| 265 | + | PathVarPtr, PathVarBytes := core.NullableStringToPtr(PathVar) | |
| 266 | + | ||
| 267 | + | xSubprocessLauncherSetStdoutFilePath(x.GoPointer(), PathVarPtr) | |
| 268 | + | ||
| 269 | + | runtime.KeepAlive(PathVarBytes) | |
| 256 | 270 | ||
| 257 | 271 | } | |
| 258 | 272 | ||
M v4/gio/gtask.go +30 -2
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gio | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "runtime" | |
| 5 | 6 | "structs" | |
| 6 | 7 | "unsafe" | |
| 7 | 8 | ||
| @@ -716,6 +717,7 @@ var xTaskGetCheckCancellable func(uintptr) bool | |||
| 716 | 717 | func (x *Task) GetCheckCancellable() bool { | |
| 717 | 718 | ||
| 718 | 719 | cret := xTaskGetCheckCancellable(x.GoPointer()) | |
| 720 | + | ||
| 719 | 721 | return cret | |
| 720 | 722 | } | |
| 721 | 723 | ||
| @@ -727,6 +729,7 @@ var xTaskGetCompleted func(uintptr) bool | |||
| 727 | 729 | func (x *Task) GetCompleted() bool { | |
| 728 | 730 | ||
| 729 | 731 | cret := xTaskGetCompleted(x.GoPointer()) | |
| 732 | + | ||
| 730 | 733 | return cret | |
| 731 | 734 | } | |
| 732 | 735 | ||
| @@ -742,6 +745,7 @@ var xTaskGetContext func(uintptr) *glib.MainContext | |||
| 742 | 745 | func (x *Task) GetContext() *glib.MainContext { | |
| 743 | 746 | ||
| 744 | 747 | cret := xTaskGetContext(x.GoPointer()) | |
| 748 | + | ||
| 745 | 749 | return cret | |
| 746 | 750 | } | |
| 747 | 751 | ||
| @@ -751,6 +755,7 @@ var xTaskGetName func(uintptr) string | |||
| 751 | 755 | func (x *Task) GetName() string { | |
| 752 | 756 | ||
| 753 | 757 | cret := xTaskGetName(x.GoPointer()) | |
| 758 | + | ||
| 754 | 759 | return cret | |
| 755 | 760 | } | |
| 756 | 761 | ||
| @@ -760,6 +765,7 @@ var xTaskGetPriority func(uintptr) int | |||
| 760 | 765 | func (x *Task) GetPriority() int { | |
| 761 | 766 | ||
| 762 | 767 | cret := xTaskGetPriority(x.GoPointer()) | |
| 768 | + | ||
| 763 | 769 | return cret | |
| 764 | 770 | } | |
| 765 | 771 | ||
| @@ -770,6 +776,7 @@ var xTaskGetReturnOnCancel func(uintptr) bool | |||
| 770 | 776 | func (x *Task) GetReturnOnCancel() bool { | |
| 771 | 777 | ||
| 772 | 778 | cret := xTaskGetReturnOnCancel(x.GoPointer()) | |
| 779 | + | ||
| 773 | 780 | return cret | |
| 774 | 781 | } | |
| 775 | 782 | ||
| @@ -797,6 +804,7 @@ var xTaskGetSourceTag func(uintptr) uintptr | |||
| 797 | 804 | func (x *Task) GetSourceTag() uintptr { | |
| 798 | 805 | ||
| 799 | 806 | cret := xTaskGetSourceTag(x.GoPointer()) | |
| 807 | + | ||
| 800 | 808 | return cret | |
| 801 | 809 | } | |
| 802 | 810 | ||
| @@ -806,6 +814,7 @@ var xTaskGetTaskData func(uintptr) uintptr | |||
| 806 | 814 | func (x *Task) GetTaskData() uintptr { | |
| 807 | 815 | ||
| 808 | 816 | cret := xTaskGetTaskData(x.GoPointer()) | |
| 817 | + | ||
| 809 | 818 | return cret | |
| 810 | 819 | } | |
| 811 | 820 | ||
| @@ -815,6 +824,7 @@ var xTaskHadError func(uintptr) bool | |||
| 815 | 824 | func (x *Task) HadError() bool { | |
| 816 | 825 | ||
| 817 | 826 | cret := xTaskHadError(x.GoPointer()) | |
| 827 | + | ||
| 818 | 828 | return cret | |
| 819 | 829 | } | |
| 820 | 830 | ||
| @@ -831,6 +841,7 @@ func (x *Task) PropagateBoolean() (bool, error) { | |||
| 831 | 841 | var cerr *glib.Error | |
| 832 | 842 | ||
| 833 | 843 | cret := xTaskPropagateBoolean(x.GoPointer()) | |
| 844 | + | ||
| 834 | 845 | if cerr == nil { | |
| 835 | 846 | return cret, nil | |
| 836 | 847 | } | |
| @@ -851,6 +862,7 @@ func (x *Task) PropagateInt() (int, error) { | |||
| 851 | 862 | var cerr *glib.Error | |
| 852 | 863 | ||
| 853 | 864 | cret := xTaskPropagateInt(x.GoPointer()) | |
| 865 | + | ||
| 854 | 866 | if cerr == nil { | |
| 855 | 867 | return cret, nil | |
| 856 | 868 | } | |
| @@ -872,6 +884,7 @@ func (x *Task) PropagatePointer() (uintptr, error) { | |||
| 872 | 884 | var cerr *glib.Error | |
| 873 | 885 | ||
| 874 | 886 | cret := xTaskPropagatePointer(x.GoPointer()) | |
| 887 | + | ||
| 875 | 888 | if cerr == nil { | |
| 876 | 889 | return cret, nil | |
| 877 | 890 | } | |
| @@ -895,6 +908,7 @@ func (x *Task) PropagateValue(ValueVar *gobject.Value) (bool, error) { | |||
| 895 | 908 | var cerr *glib.Error | |
| 896 | 909 | ||
| 897 | 910 | cret := xTaskPropagateValue(x.GoPointer(), ValueVar, &cerr) | |
| 911 | + | ||
| 898 | 912 | if cerr == nil { | |
| 899 | 913 | return cret, nil | |
| 900 | 914 | } | |
| @@ -942,6 +956,7 @@ var xTaskReturnErrorIfCancelled func(uintptr) bool | |||
| 942 | 956 | func (x *Task) ReturnErrorIfCancelled() bool { | |
| 943 | 957 | ||
| 944 | 958 | cret := xTaskReturnErrorIfCancelled(x.GoPointer()) | |
| 959 | + | ||
| 945 | 960 | return cret | |
| 946 | 961 | } | |
| 947 | 962 | ||
| @@ -1178,7 +1193,11 @@ var xTaskSetName func(uintptr, uintptr) | |||
| 1178 | 1193 | // other than the one it was constructed in. | |
| 1179 | 1194 | func (x *Task) SetName(NameVar *string) { | |
| 1180 | 1195 | ||
| 1181 | - | xTaskSetName(x.GoPointer(), core.NullableStringToPtr(NameVar)) | |
| 1196 | + | NameVarPtr, NameVarBytes := core.NullableStringToPtr(NameVar) | |
| 1197 | + | ||
| 1198 | + | xTaskSetName(x.GoPointer(), NameVarPtr) | |
| 1199 | + | ||
| 1200 | + | runtime.KeepAlive(NameVarBytes) | |
| 1182 | 1201 | ||
| 1183 | 1202 | } | |
| 1184 | 1203 | ||
| @@ -1230,6 +1249,7 @@ var xTaskSetReturnOnCancel func(uintptr, bool) bool | |||
| 1230 | 1249 | func (x *Task) SetReturnOnCancel(ReturnOnCancelVar bool) bool { | |
| 1231 | 1250 | ||
| 1232 | 1251 | cret := xTaskSetReturnOnCancel(x.GoPointer(), ReturnOnCancelVar) | |
| 1252 | + | ||
| 1233 | 1253 | return cret | |
| 1234 | 1254 | } | |
| 1235 | 1255 | ||
| @@ -1263,7 +1283,11 @@ var xTaskSetStaticName func(uintptr, uintptr) | |||
| 1263 | 1283 | // unless a name is set. | |
| 1264 | 1284 | func (x *Task) SetStaticName(NameVar *string) { | |
| 1265 | 1285 | ||
| 1266 | - | xTaskSetStaticName(x.GoPointer(), core.NullableStringToPtr(NameVar)) | |
| 1286 | + | NameVarPtr, NameVarBytes := core.NullableStringToPtr(NameVar) | |
| 1287 | + | ||
| 1288 | + | xTaskSetStaticName(x.GoPointer(), NameVarPtr) | |
| 1289 | + | ||
| 1290 | + | runtime.KeepAlive(NameVarBytes) | |
| 1267 | 1291 | ||
| 1268 | 1292 | } | |
| 1269 | 1293 | ||
| @@ -1331,6 +1355,7 @@ func (x *Task) GetPropertyCompleted() bool { | |||
| 1331 | 1355 | func (x *Task) GetUserData() uintptr { | |
| 1332 | 1356 | ||
| 1333 | 1357 | cret := XGAsyncResultGetUserData(x.GoPointer()) | |
| 1358 | + | ||
| 1334 | 1359 | return cret | |
| 1335 | 1360 | } | |
| 1336 | 1361 | ||
| @@ -1339,6 +1364,7 @@ func (x *Task) GetUserData() uintptr { | |||
| 1339 | 1364 | func (x *Task) IsTagged(SourceTagVar uintptr) bool { | |
| 1340 | 1365 | ||
| 1341 | 1366 | cret := XGAsyncResultIsTagged(x.GoPointer(), SourceTagVar) | |
| 1367 | + | ||
| 1342 | 1368 | return cret | |
| 1343 | 1369 | } | |
| 1344 | 1370 | ||
| @@ -1356,6 +1382,7 @@ func (x *Task) LegacyPropagateError() (bool, error) { | |||
| 1356 | 1382 | var cerr *glib.Error | |
| 1357 | 1383 | ||
| 1358 | 1384 | cret := XGAsyncResultLegacyPropagateError(x.GoPointer()) | |
| 1385 | + | ||
| 1359 | 1386 | if cerr == nil { | |
| 1360 | 1387 | return cret, nil | |
| 1361 | 1388 | } | |
| @@ -1371,6 +1398,7 @@ var xTaskIsValid func(uintptr, uintptr) bool | |||
| 1371 | 1398 | func TaskIsValid(ResultVar AsyncResult, SourceObjectVar *gobject.Object) bool { | |
| 1372 | 1399 | ||
| 1373 | 1400 | cret := xTaskIsValid(ResultVar.GoPointer(), SourceObjectVar.GoPointer()) | |
| 1401 | + | ||
| 1374 | 1402 | return cret | |
| 1375 | 1403 | } | |
| 1376 | 1404 | ||
M v4/gio/gtcpconnection.go +1 -0
| @@ -54,6 +54,7 @@ var xTcpConnectionGetGracefulDisconnect func(uintptr) bool | |||
| 54 | 54 | func (x *TcpConnection) GetGracefulDisconnect() bool { | |
| 55 | 55 | ||
| 56 | 56 | cret := xTcpConnectionGetGracefulDisconnect(x.GoPointer()) | |
| 57 | + | ||
| 57 | 58 | return cret | |
| 58 | 59 | } | |
| 59 | 60 | ||
M v4/gio/gtestdbus.go +2 -0
| @@ -152,6 +152,7 @@ var xTestDBusGetBusAddress func(uintptr) string | |||
| 152 | 152 | func (x *TestDBus) GetBusAddress() string { | |
| 153 | 153 | ||
| 154 | 154 | cret := xTestDBusGetBusAddress(x.GoPointer()) | |
| 155 | + | ||
| 155 | 156 | return cret | |
| 156 | 157 | } | |
| 157 | 158 | ||
| @@ -161,6 +162,7 @@ var xTestDBusGetFlags func(uintptr) TestDBusFlags | |||
| 161 | 162 | func (x *TestDBus) GetFlags() TestDBusFlags { | |
| 162 | 163 | ||
| 163 | 164 | cret := xTestDBusGetFlags(x.GoPointer()) | |
| 165 | + | ||
| 164 | 166 | return cret | |
| 165 | 167 | } | |
| 166 | 168 | ||
M v4/gio/gthemedicon.go +5 -0
| @@ -126,6 +126,7 @@ var xThemedIconGetNames func(uintptr) []string | |||
| 126 | 126 | func (x *ThemedIcon) GetNames() []string { | |
| 127 | 127 | ||
| 128 | 128 | cret := xThemedIconGetNames(x.GoPointer()) | |
| 129 | + | ||
| 129 | 130 | return cret | |
| 130 | 131 | } | |
| 131 | 132 | ||
| @@ -231,6 +232,7 @@ func (x *ThemedIcon) GetPropertyUseDefaultFallbacks() bool { | |||
| 231 | 232 | func (x *ThemedIcon) Equal(Icon2Var Icon) bool { | |
| 232 | 233 | ||
| 233 | 234 | cret := XGIconEqual(x.GoPointer(), Icon2Var.GoPointer()) | |
| 235 | + | ||
| 234 | 236 | return cret | |
| 235 | 237 | } | |
| 236 | 238 | ||
| @@ -238,6 +240,7 @@ func (x *ThemedIcon) Equal(Icon2Var Icon) bool { | |||
| 238 | 240 | func (x *ThemedIcon) Hash() uint { | |
| 239 | 241 | ||
| 240 | 242 | cret := XGIconHash(x.GoPointer()) | |
| 243 | + | ||
| 241 | 244 | return cret | |
| 242 | 245 | } | |
| 243 | 246 | ||
| @@ -249,6 +252,7 @@ func (x *ThemedIcon) Hash() uint { | |||
| 249 | 252 | func (x *ThemedIcon) Serialize() *glib.Variant { | |
| 250 | 253 | ||
| 251 | 254 | cret := XGIconSerialize(x.GoPointer()) | |
| 255 | + | ||
| 252 | 256 | return cret | |
| 253 | 257 | } | |
| 254 | 258 | ||
| @@ -271,6 +275,7 @@ func (x *ThemedIcon) Serialize() *glib.Variant { | |||
| 271 | 275 | func (x *ThemedIcon) ToString() string { | |
| 272 | 276 | ||
| 273 | 277 | cret := XGIconToString(x.GoPointer()) | |
| 278 | + | ||
| 274 | 279 | return cret | |
| 275 | 280 | } | |
| 276 | 281 | ||
M v4/gio/gtlsbackend.go +8 -0
| @@ -318,6 +318,7 @@ func (x *TlsBackendBase) SetGoPointer(ptr uintptr) { | |||
| 318 | 318 | func (x *TlsBackendBase) GetCertificateType() types.GType { | |
| 319 | 319 | ||
| 320 | 320 | cret := XGTlsBackendGetCertificateType(x.GoPointer()) | |
| 321 | + | ||
| 321 | 322 | return cret | |
| 322 | 323 | } | |
| 323 | 324 | ||
| @@ -325,6 +326,7 @@ func (x *TlsBackendBase) GetCertificateType() types.GType { | |||
| 325 | 326 | func (x *TlsBackendBase) GetClientConnectionType() types.GType { | |
| 326 | 327 | ||
| 327 | 328 | cret := XGTlsBackendGetClientConnectionType(x.GoPointer()) | |
| 329 | + | ||
| 328 | 330 | return cret | |
| 329 | 331 | } | |
| 330 | 332 | ||
| @@ -346,6 +348,7 @@ func (x *TlsBackendBase) GetDefaultDatabase() *TlsDatabase { | |||
| 346 | 348 | func (x *TlsBackendBase) GetDtlsClientConnectionType() types.GType { | |
| 347 | 349 | ||
| 348 | 350 | cret := XGTlsBackendGetDtlsClientConnectionType(x.GoPointer()) | |
| 351 | + | ||
| 349 | 352 | return cret | |
| 350 | 353 | } | |
| 351 | 354 | ||
| @@ -353,6 +356,7 @@ func (x *TlsBackendBase) GetDtlsClientConnectionType() types.GType { | |||
| 353 | 356 | func (x *TlsBackendBase) GetDtlsServerConnectionType() types.GType { | |
| 354 | 357 | ||
| 355 | 358 | cret := XGTlsBackendGetDtlsServerConnectionType(x.GoPointer()) | |
| 359 | + | ||
| 356 | 360 | return cret | |
| 357 | 361 | } | |
| 358 | 362 | ||
| @@ -360,6 +364,7 @@ func (x *TlsBackendBase) GetDtlsServerConnectionType() types.GType { | |||
| 360 | 364 | func (x *TlsBackendBase) GetFileDatabaseType() types.GType { | |
| 361 | 365 | ||
| 362 | 366 | cret := XGTlsBackendGetFileDatabaseType(x.GoPointer()) | |
| 367 | + | ||
| 363 | 368 | return cret | |
| 364 | 369 | } | |
| 365 | 370 | ||
| @@ -367,6 +372,7 @@ func (x *TlsBackendBase) GetFileDatabaseType() types.GType { | |||
| 367 | 372 | func (x *TlsBackendBase) GetServerConnectionType() types.GType { | |
| 368 | 373 | ||
| 369 | 374 | cret := XGTlsBackendGetServerConnectionType(x.GoPointer()) | |
| 375 | + | ||
| 370 | 376 | return cret | |
| 371 | 377 | } | |
| 372 | 378 | ||
| @@ -389,6 +395,7 @@ func (x *TlsBackendBase) SetDefaultDatabase(DatabaseVar *TlsDatabase) { | |||
| 389 | 395 | func (x *TlsBackendBase) SupportsDtls() bool { | |
| 390 | 396 | ||
| 391 | 397 | cret := XGTlsBackendSupportsDtls(x.GoPointer()) | |
| 398 | + | ||
| 392 | 399 | return cret | |
| 393 | 400 | } | |
| 394 | 401 | ||
| @@ -397,6 +404,7 @@ func (x *TlsBackendBase) SupportsDtls() bool { | |||
| 397 | 404 | func (x *TlsBackendBase) SupportsTls() bool { | |
| 398 | 405 | ||
| 399 | 406 | cret := XGTlsBackendSupportsTls(x.GoPointer()) | |
| 407 | + | ||
| 400 | 408 | return cret | |
| 401 | 409 | } | |
| 402 | 410 | ||
M v4/gio/gtlscertificate.go +20 -2
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package gio | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "runtime" | |
| 5 | 6 | "structs" | |
| 6 | 7 | "unsafe" | |
| 7 | 8 | ||
| @@ -236,7 +237,11 @@ func NewTlsCertificateFromPkcs11Uris(Pkcs11UriVar string, PrivateKeyPkcs11UriVar | |||
| 236 | 237 | var cls *TlsCertificate | |
| 237 | 238 | var cerr *glib.Error | |
| 238 | 239 | ||
| 239 | - | cret := xNewTlsCertificateFromPkcs11Uris(Pkcs11UriVar, core.NullableStringToPtr(PrivateKeyPkcs11UriVar), &cerr) | |
| 240 | + | PrivateKeyPkcs11UriVarPtr, PrivateKeyPkcs11UriVarBytes := core.NullableStringToPtr(PrivateKeyPkcs11UriVar) | |
| 241 | + | ||
| 242 | + | cret := xNewTlsCertificateFromPkcs11Uris(Pkcs11UriVar, PrivateKeyPkcs11UriVarPtr, &cerr) | |
| 243 | + | ||
| 244 | + | runtime.KeepAlive(PrivateKeyPkcs11UriVarBytes) | |
| 240 | 245 | ||
| 241 | 246 | if cret == 0 { | |
| 242 | 247 | return nil, cerr | |
| @@ -273,7 +278,11 @@ func NewTlsCertificateFromPkcs12(DataVar []byte, LengthVar uint, PasswordVar *st | |||
| 273 | 278 | var cls *TlsCertificate | |
| 274 | 279 | var cerr *glib.Error | |
| 275 | 280 | ||
| 276 | - | cret := xNewTlsCertificateFromPkcs12(DataVar, LengthVar, core.NullableStringToPtr(PasswordVar), &cerr) | |
| 281 | + | PasswordVarPtr, PasswordVarBytes := core.NullableStringToPtr(PasswordVar) | |
| 282 | + | ||
| 283 | + | cret := xNewTlsCertificateFromPkcs12(DataVar, LengthVar, PasswordVarPtr, &cerr) | |
| 284 | + | ||
| 285 | + | runtime.KeepAlive(PasswordVarBytes) | |
| 277 | 286 | ||
| 278 | 287 | if cret == 0 { | |
| 279 | 288 | return nil, cerr | |
| @@ -293,6 +302,7 @@ var xTlsCertificateGetDnsNames func(uintptr) uintptr | |||
| 293 | 302 | func (x *TlsCertificate) GetDnsNames() uintptr { | |
| 294 | 303 | ||
| 295 | 304 | cret := xTlsCertificateGetDnsNames(x.GoPointer()) | |
| 305 | + | ||
| 296 | 306 | return cret | |
| 297 | 307 | } | |
| 298 | 308 | ||
| @@ -302,6 +312,7 @@ var xTlsCertificateGetIpAddresses func(uintptr) uintptr | |||
| 302 | 312 | func (x *TlsCertificate) GetIpAddresses() uintptr { | |
| 303 | 313 | ||
| 304 | 314 | cret := xTlsCertificateGetIpAddresses(x.GoPointer()) | |
| 315 | + | ||
| 305 | 316 | return cret | |
| 306 | 317 | } | |
| 307 | 318 | ||
| @@ -328,6 +339,7 @@ var xTlsCertificateGetIssuerName func(uintptr) string | |||
| 328 | 339 | func (x *TlsCertificate) GetIssuerName() string { | |
| 329 | 340 | ||
| 330 | 341 | cret := xTlsCertificateGetIssuerName(x.GoPointer()) | |
| 342 | + | ||
| 331 | 343 | return cret | |
| 332 | 344 | } | |
| 333 | 345 | ||
| @@ -337,6 +349,7 @@ var xTlsCertificateGetNotValidAfter func(uintptr) *glib.DateTime | |||
| 337 | 349 | func (x *TlsCertificate) GetNotValidAfter() *glib.DateTime { | |
| 338 | 350 | ||
| 339 | 351 | cret := xTlsCertificateGetNotValidAfter(x.GoPointer()) | |
| 352 | + | ||
| 340 | 353 | return cret | |
| 341 | 354 | } | |
| 342 | 355 | ||
| @@ -346,6 +359,7 @@ var xTlsCertificateGetNotValidBefore func(uintptr) *glib.DateTime | |||
| 346 | 359 | func (x *TlsCertificate) GetNotValidBefore() *glib.DateTime { | |
| 347 | 360 | ||
| 348 | 361 | cret := xTlsCertificateGetNotValidBefore(x.GoPointer()) | |
| 362 | + | ||
| 349 | 363 | return cret | |
| 350 | 364 | } | |
| 351 | 365 | ||
| @@ -355,6 +369,7 @@ var xTlsCertificateGetSubjectName func(uintptr) string | |||
| 355 | 369 | func (x *TlsCertificate) GetSubjectName() string { | |
| 356 | 370 | ||
| 357 | 371 | cret := xTlsCertificateGetSubjectName(x.GoPointer()) | |
| 372 | + | ||
| 358 | 373 | return cret | |
| 359 | 374 | } | |
| 360 | 375 | ||
| @@ -368,6 +383,7 @@ var xTlsCertificateIsSame func(uintptr, uintptr) bool | |||
| 368 | 383 | func (x *TlsCertificate) IsSame(CertTwoVar *TlsCertificate) bool { | |
| 369 | 384 | ||
| 370 | 385 | cret := xTlsCertificateIsSame(x.GoPointer(), CertTwoVar.GoPointer()) | |
| 386 | + | ||
| 371 | 387 | return cret | |
| 372 | 388 | } | |
| 373 | 389 | ||
| @@ -409,6 +425,7 @@ var xTlsCertificateVerify func(uintptr, uintptr, uintptr) TlsCertificateFlags | |||
| 409 | 425 | func (x *TlsCertificate) Verify(IdentityVar SocketConnectable, TrustedCaVar *TlsCertificate) TlsCertificateFlags { | |
| 410 | 426 | ||
| 411 | 427 | cret := xTlsCertificateVerify(x.GoPointer(), IdentityVar.GoPointer(), TrustedCaVar.GoPointer()) | |
| 428 | + | ||
| 412 | 429 | return cret | |
| 413 | 430 | } | |
| 414 | 431 | ||
| @@ -710,6 +727,7 @@ func TlsCertificateListNewFromFile(FileVar string) (*glib.List, error) { | |||
| 710 | 727 | var cerr *glib.Error | |
| 711 | 728 | ||
| 712 | 729 | cret := xTlsCertificateListNewFromFile(FileVar, &cerr) | |
| 730 | + | ||
| 713 | 731 | if cerr == nil { | |
| 714 | 732 | return cret, nil | |
| 715 | 733 | } | |
M v4/gio/gtlsclientconnection.go +3 -0
| @@ -130,6 +130,7 @@ func (x *TlsClientConnectionBase) CopySessionState(SourceVar TlsClientConnection | |||
| 130 | 130 | func (x *TlsClientConnectionBase) GetAcceptedCas() *glib.List { | |
| 131 | 131 | ||
| 132 | 132 | cret := XGTlsClientConnectionGetAcceptedCas(x.GoPointer()) | |
| 133 | + | ||
| 133 | 134 | return cret | |
| 134 | 135 | } | |
| 135 | 136 | ||
| @@ -153,6 +154,7 @@ func (x *TlsClientConnectionBase) GetServerIdentity() *SocketConnectableBase { | |||
| 153 | 154 | func (x *TlsClientConnectionBase) GetUseSsl3() bool { | |
| 154 | 155 | ||
| 155 | 156 | cret := XGTlsClientConnectionGetUseSsl3(x.GoPointer()) | |
| 157 | + | ||
| 156 | 158 | return cret | |
| 157 | 159 | } | |
| 158 | 160 | ||
| @@ -164,6 +166,7 @@ func (x *TlsClientConnectionBase) GetUseSsl3() bool { | |||
| 164 | 166 | func (x *TlsClientConnectionBase) GetValidationFlags() TlsCertificateFlags { | |
| 165 | 167 | ||
| 166 | 168 | cret := XGTlsClientConnectionGetValidationFlags(x.GoPointer()) | |
| 169 | + | ||
| 167 | 170 | return cret | |
| 168 | 171 | } | |
| 169 | 172 | ||
M v4/gio/gtlsconnection.go +13 -0
| @@ -201,6 +201,7 @@ var xTlsChannelBindingErrorQuark func() glib.Quark | |||
| 201 | 201 | func TlsChannelBindingErrorQuark() glib.Quark { | |
| 202 | 202 | ||
| 203 | 203 | cret := xTlsChannelBindingErrorQuark() | |
| 204 | + | ||
| 204 | 205 | return cret | |
| 205 | 206 | } | |
| 206 | 207 | ||
| @@ -210,6 +211,7 @@ var xTlsErrorQuark func() glib.Quark | |||
| 210 | 211 | func TlsErrorQuark() glib.Quark { | |
| 211 | 212 | ||
| 212 | 213 | cret := xTlsErrorQuark() | |
| 214 | + | ||
| 213 | 215 | return cret | |
| 214 | 216 | } | |
| 215 | 217 | ||
| @@ -243,6 +245,7 @@ var xTlsConnectionEmitAcceptCertificate func(uintptr, uintptr, TlsCertificateFla | |||
| 243 | 245 | func (x *TlsConnection) EmitAcceptCertificate(PeerCertVar *TlsCertificate, ErrorsVar TlsCertificateFlags) bool { | |
| 244 | 246 | ||
| 245 | 247 | cret := xTlsConnectionEmitAcceptCertificate(x.GoPointer(), PeerCertVar.GoPointer(), ErrorsVar) | |
| 248 | + | ||
| 246 | 249 | return cret | |
| 247 | 250 | } | |
| 248 | 251 | ||
| @@ -283,6 +286,7 @@ func (x *TlsConnection) GetChannelBindingData(TypeVar TlsChannelBindingType, Dat | |||
| 283 | 286 | var cerr *glib.Error | |
| 284 | 287 | ||
| 285 | 288 | cret := xTlsConnectionGetChannelBindingData(x.GoPointer(), TypeVar, DataVar, &cerr) | |
| 289 | + | ||
| 286 | 290 | if cerr == nil { | |
| 287 | 291 | return cret, nil | |
| 288 | 292 | } | |
| @@ -303,6 +307,7 @@ var xTlsConnectionGetCiphersuiteName func(uintptr) string | |||
| 303 | 307 | func (x *TlsConnection) GetCiphersuiteName() string { | |
| 304 | 308 | ||
| 305 | 309 | cret := xTlsConnectionGetCiphersuiteName(x.GoPointer()) | |
| 310 | + | ||
| 306 | 311 | return cret | |
| 307 | 312 | } | |
| 308 | 313 | ||
| @@ -355,6 +360,7 @@ var xTlsConnectionGetNegotiatedProtocol func(uintptr) string | |||
| 355 | 360 | func (x *TlsConnection) GetNegotiatedProtocol() string { | |
| 356 | 361 | ||
| 357 | 362 | cret := xTlsConnectionGetNegotiatedProtocol(x.GoPointer()) | |
| 363 | + | ||
| 358 | 364 | return cret | |
| 359 | 365 | } | |
| 360 | 366 | ||
| @@ -387,6 +393,7 @@ var xTlsConnectionGetPeerCertificateErrors func(uintptr) TlsCertificateFlags | |||
| 387 | 393 | func (x *TlsConnection) GetPeerCertificateErrors() TlsCertificateFlags { | |
| 388 | 394 | ||
| 389 | 395 | cret := xTlsConnectionGetPeerCertificateErrors(x.GoPointer()) | |
| 396 | + | ||
| 390 | 397 | return cret | |
| 391 | 398 | } | |
| 392 | 399 | ||
| @@ -399,6 +406,7 @@ var xTlsConnectionGetProtocolVersion func(uintptr) TlsProtocolVersion | |||
| 399 | 406 | func (x *TlsConnection) GetProtocolVersion() TlsProtocolVersion { | |
| 400 | 407 | ||
| 401 | 408 | cret := xTlsConnectionGetProtocolVersion(x.GoPointer()) | |
| 409 | + | ||
| 402 | 410 | return cret | |
| 403 | 411 | } | |
| 404 | 412 | ||
| @@ -409,6 +417,7 @@ var xTlsConnectionGetRehandshakeMode func(uintptr) TlsRehandshakeMode | |||
| 409 | 417 | func (x *TlsConnection) GetRehandshakeMode() TlsRehandshakeMode { | |
| 410 | 418 | ||
| 411 | 419 | cret := xTlsConnectionGetRehandshakeMode(x.GoPointer()) | |
| 420 | + | ||
| 412 | 421 | return cret | |
| 413 | 422 | } | |
| 414 | 423 | ||
| @@ -420,6 +429,7 @@ var xTlsConnectionGetRequireCloseNotify func(uintptr) bool | |||
| 420 | 429 | func (x *TlsConnection) GetRequireCloseNotify() bool { | |
| 421 | 430 | ||
| 422 | 431 | cret := xTlsConnectionGetRequireCloseNotify(x.GoPointer()) | |
| 432 | + | ||
| 423 | 433 | return cret | |
| 424 | 434 | } | |
| 425 | 435 | ||
| @@ -430,6 +440,7 @@ var xTlsConnectionGetUseSystemCertdb func(uintptr) bool | |||
| 430 | 440 | func (x *TlsConnection) GetUseSystemCertdb() bool { | |
| 431 | 441 | ||
| 432 | 442 | cret := xTlsConnectionGetUseSystemCertdb(x.GoPointer()) | |
| 443 | + | ||
| 433 | 444 | return cret | |
| 434 | 445 | } | |
| 435 | 446 | ||
| @@ -470,6 +481,7 @@ func (x *TlsConnection) Handshake(CancellableVar *Cancellable) (bool, error) { | |||
| 470 | 481 | var cerr *glib.Error | |
| 471 | 482 | ||
| 472 | 483 | cret := xTlsConnectionHandshake(x.GoPointer(), CancellableVar.GoPointer(), &cerr) | |
| 484 | + | ||
| 473 | 485 | if cerr == nil { | |
| 474 | 486 | return cret, nil | |
| 475 | 487 | } | |
| @@ -510,6 +522,7 @@ func (x *TlsConnection) HandshakeFinish(ResultVar AsyncResult) (bool, error) { | |||
| 510 | 522 | var cerr *glib.Error | |
| 511 | 523 | ||
| 512 | 524 | cret := xTlsConnectionHandshakeFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr) | |
| 525 | + | ||
| 513 | 526 | if cerr == nil { | |
| 514 | 527 | return cret, nil | |
| 515 | 528 | } | |
M v4/gio/gtlsdatabase.go +5 -0
| @@ -525,6 +525,7 @@ var xTlsDatabaseCreateCertificateHandle func(uintptr, uintptr) string | |||
| 525 | 525 | func (x *TlsDatabase) CreateCertificateHandle(CertificateVar *TlsCertificate) string { | |
| 526 | 526 | ||
| 527 | 527 | cret := xTlsDatabaseCreateCertificateHandle(x.GoPointer(), CertificateVar.GoPointer()) | |
| 528 | + | ||
| 528 | 529 | return cret | |
| 529 | 530 | } | |
| 530 | 531 | ||
| @@ -707,6 +708,7 @@ func (x *TlsDatabase) LookupCertificatesIssuedBy(IssuerRawDnVar []byte, Interact | |||
| 707 | 708 | var cerr *glib.Error | |
| 708 | 709 | ||
| 709 | 710 | cret := xTlsDatabaseLookupCertificatesIssuedBy(x.GoPointer(), IssuerRawDnVar, InteractionVar.GoPointer(), FlagsVar, CancellableVar.GoPointer(), &cerr) | |
| 711 | + | ||
| 710 | 712 | if cerr == nil { | |
| 711 | 713 | return cret, nil | |
| 712 | 714 | } | |
| @@ -751,6 +753,7 @@ func (x *TlsDatabase) LookupCertificatesIssuedByFinish(ResultVar AsyncResult) (* | |||
| 751 | 753 | var cerr *glib.Error | |
| 752 | 754 | ||
| 753 | 755 | cret := xTlsDatabaseLookupCertificatesIssuedByFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr) | |
| 756 | + | ||
| 754 | 757 | if cerr == nil { | |
| 755 | 758 | return cret, nil | |
| 756 | 759 | } | |
| @@ -824,6 +827,7 @@ func (x *TlsDatabase) VerifyChain(ChainVar *TlsCertificate, PurposeVar string, I | |||
| 824 | 827 | var cerr *glib.Error | |
| 825 | 828 | ||
| 826 | 829 | cret := xTlsDatabaseVerifyChain(x.GoPointer(), ChainVar.GoPointer(), PurposeVar, IdentityVar.GoPointer(), InteractionVar.GoPointer(), FlagsVar, CancellableVar.GoPointer(), &cerr) | |
| 830 | + | ||
| 827 | 831 | if cerr == nil { | |
| 828 | 832 | return cret, nil | |
| 829 | 833 | } | |
| @@ -874,6 +878,7 @@ func (x *TlsDatabase) VerifyChainFinish(ResultVar AsyncResult) (TlsCertificateFl | |||
| 874 | 878 | var cerr *glib.Error | |
| 875 | 879 | ||
| 876 | 880 | cret := xTlsDatabaseVerifyChainFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr) | |
| 881 | + | ||
| 877 | 882 | if cerr == nil { | |
| 878 | 883 | return cret, nil | |
| 879 | 884 | } | |
M v4/gio/gtlsinteraction.go +6 -0
| @@ -295,6 +295,7 @@ func (x *TlsInteraction) AskPassword(PasswordVar *TlsPassword, CancellableVar *C | |||
| 295 | 295 | var cerr *glib.Error | |
| 296 | 296 | ||
| 297 | 297 | cret := xTlsInteractionAskPassword(x.GoPointer(), PasswordVar.GoPointer(), CancellableVar.GoPointer(), &cerr) | |
| 298 | + | ||
| 298 | 299 | if cerr == nil { | |
| 299 | 300 | return cret, nil | |
| 300 | 301 | } | |
| @@ -355,6 +356,7 @@ func (x *TlsInteraction) AskPasswordFinish(ResultVar AsyncResult) (TlsInteractio | |||
| 355 | 356 | var cerr *glib.Error | |
| 356 | 357 | ||
| 357 | 358 | cret := xTlsInteractionAskPasswordFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr) | |
| 359 | + | ||
| 358 | 360 | if cerr == nil { | |
| 359 | 361 | return cret, nil | |
| 360 | 362 | } | |
| @@ -387,6 +389,7 @@ func (x *TlsInteraction) InvokeAskPassword(PasswordVar *TlsPassword, Cancellable | |||
| 387 | 389 | var cerr *glib.Error | |
| 388 | 390 | ||
| 389 | 391 | cret := xTlsInteractionInvokeAskPassword(x.GoPointer(), PasswordVar.GoPointer(), CancellableVar.GoPointer(), &cerr) | |
| 392 | + | ||
| 390 | 393 | if cerr == nil { | |
| 391 | 394 | return cret, nil | |
| 392 | 395 | } | |
| @@ -420,6 +423,7 @@ func (x *TlsInteraction) InvokeRequestCertificate(ConnectionVar *TlsConnection, | |||
| 420 | 423 | var cerr *glib.Error | |
| 421 | 424 | ||
| 422 | 425 | cret := xTlsInteractionInvokeRequestCertificate(x.GoPointer(), ConnectionVar.GoPointer(), FlagsVar, CancellableVar.GoPointer(), &cerr) | |
| 426 | + | ||
| 423 | 427 | if cerr == nil { | |
| 424 | 428 | return cret, nil | |
| 425 | 429 | } | |
| @@ -449,6 +453,7 @@ func (x *TlsInteraction) RequestCertificate(ConnectionVar *TlsConnection, FlagsV | |||
| 449 | 453 | var cerr *glib.Error | |
| 450 | 454 | ||
| 451 | 455 | cret := xTlsInteractionRequestCertificate(x.GoPointer(), ConnectionVar.GoPointer(), FlagsVar, CancellableVar.GoPointer(), &cerr) | |
| 456 | + | ||
| 452 | 457 | if cerr == nil { | |
| 453 | 458 | return cret, nil | |
| 454 | 459 | } | |
| @@ -503,6 +508,7 @@ func (x *TlsInteraction) RequestCertificateFinish(ResultVar AsyncResult) (TlsInt | |||
| 503 | 508 | var cerr *glib.Error | |
| 504 | 509 | ||
| 505 | 510 | cret := xTlsInteractionRequestCertificateFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr) | |
| 511 | + | ||
| 506 | 512 | if cerr == nil { | |
| 507 | 513 | return cret, nil | |
| 508 | 514 | } | |
M v4/gio/gtlspassword.go +4 -0
| @@ -158,6 +158,7 @@ var xTlsPasswordGetDescription func(uintptr) string | |||
| 158 | 158 | func (x *TlsPassword) GetDescription() string { | |
| 159 | 159 | ||
| 160 | 160 | cret := xTlsPasswordGetDescription(x.GoPointer()) | |
| 161 | + | ||
| 161 | 162 | return cret | |
| 162 | 163 | } | |
| 163 | 164 | ||
| @@ -167,6 +168,7 @@ var xTlsPasswordGetFlags func(uintptr) TlsPasswordFlags | |||
| 167 | 168 | func (x *TlsPassword) GetFlags() TlsPasswordFlags { | |
| 168 | 169 | ||
| 169 | 170 | cret := xTlsPasswordGetFlags(x.GoPointer()) | |
| 171 | + | ||
| 170 | 172 | return cret | |
| 171 | 173 | } | |
| 172 | 174 | ||
| @@ -180,6 +182,7 @@ var xTlsPasswordGetValue func(uintptr, *uint) uintptr | |||
| 180 | 182 | func (x *TlsPassword) GetValue(LengthVar *uint) uintptr { | |
| 181 | 183 | ||
| 182 | 184 | cret := xTlsPasswordGetValue(x.GoPointer(), LengthVar) | |
| 185 | + | ||
| 183 | 186 | return cret | |
| 184 | 187 | } | |
| 185 | 188 | ||
| @@ -191,6 +194,7 @@ var xTlsPasswordGetWarning func(uintptr) string | |||
| 191 | 194 | func (x *TlsPassword) GetWarning() string { | |
| 192 | 195 | ||
| 193 | 196 | cret := xTlsPasswordGetWarning(x.GoPointer()) | |
| 197 | + | ||
| 194 | 198 | return cret | |
| 195 | 199 | } | |
| 196 | 200 | ||
M v4/gio/gunixconnection.go +4 -0
| @@ -160,6 +160,7 @@ func (x *UnixConnection) ReceiveFd(CancellableVar *Cancellable) (int, error) { | |||
| 160 | 160 | var cerr *glib.Error | |
| 161 | 161 | ||
| 162 | 162 | cret := xUnixConnectionReceiveFd(x.GoPointer(), CancellableVar.GoPointer(), &cerr) | |
| 163 | + | ||
| 163 | 164 | if cerr == nil { | |
| 164 | 165 | return cret, nil | |
| 165 | 166 | } | |
| @@ -192,6 +193,7 @@ func (x *UnixConnection) SendCredentials(CancellableVar *Cancellable) (bool, err | |||
| 192 | 193 | var cerr *glib.Error | |
| 193 | 194 | ||
| 194 | 195 | cret := xUnixConnectionSendCredentials(x.GoPointer(), CancellableVar.GoPointer(), &cerr) | |
| 196 | + | ||
| 195 | 197 | if cerr == nil { | |
| 196 | 198 | return cret, nil | |
| 197 | 199 | } | |
| @@ -237,6 +239,7 @@ func (x *UnixConnection) SendCredentialsFinish(ResultVar AsyncResult) (bool, err | |||
| 237 | 239 | var cerr *glib.Error | |
| 238 | 240 | ||
| 239 | 241 | cret := xUnixConnectionSendCredentialsFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr) | |
| 242 | + | ||
| 240 | 243 | if cerr == nil { | |
| 241 | 244 | return cret, nil | |
| 242 | 245 | } | |
| @@ -257,6 +260,7 @@ func (x *UnixConnection) SendFd(FdVar int, CancellableVar *Cancellable) (bool, e | |||
| 257 | 260 | var cerr *glib.Error | |
| 258 | 261 | ||
| 259 | 262 | cret := xUnixConnectionSendFd(x.GoPointer(), FdVar, CancellableVar.GoPointer(), &cerr) | |
| 263 | + | ||
| 260 | 264 | if cerr == nil { | |
| 261 | 265 | return cret, nil | |
| 262 | 266 | } | |
M v4/gio/gunixcredentialsmessage.go +1 -0
| @@ -181,6 +181,7 @@ var xUnixCredentialsMessageIsSupported func() bool | |||
| 181 | 181 | func UnixCredentialsMessageIsSupported() bool { | |
| 182 | 182 | ||
| 183 | 183 | cret := xUnixCredentialsMessageIsSupported() | |
| 184 | + | ||
| 184 | 185 | return cret | |
| 185 | 186 | } | |
| 186 | 187 | ||
M v4/gio/gunixfdlist.go +5 -0
| @@ -242,6 +242,7 @@ func (x *UnixFDList) Append(FdVar int) (int, error) { | |||
| 242 | 242 | var cerr *glib.Error | |
| 243 | 243 | ||
| 244 | 244 | cret := xUnixFDListAppend(x.GoPointer(), FdVar, &cerr) | |
| 245 | + | ||
| 245 | 246 | if cerr == nil { | |
| 246 | 247 | return cret, nil | |
| 247 | 248 | } | |
| @@ -267,6 +268,7 @@ func (x *UnixFDList) Get(IndexVar int) (int, error) { | |||
| 267 | 268 | var cerr *glib.Error | |
| 268 | 269 | ||
| 269 | 270 | cret := xUnixFDListGet(x.GoPointer(), IndexVar, &cerr) | |
| 271 | + | ||
| 270 | 272 | if cerr == nil { | |
| 271 | 273 | return cret, nil | |
| 272 | 274 | } | |
| @@ -281,6 +283,7 @@ var xUnixFDListGetLength func(uintptr) int | |||
| 281 | 283 | func (x *UnixFDList) GetLength() int { | |
| 282 | 284 | ||
| 283 | 285 | cret := xUnixFDListGetLength(x.GoPointer()) | |
| 286 | + | ||
| 284 | 287 | return cret | |
| 285 | 288 | } | |
| 286 | 289 | ||
| @@ -302,6 +305,7 @@ var xUnixFDListPeekFds func(uintptr, *int) uintptr | |||
| 302 | 305 | func (x *UnixFDList) PeekFds(LengthVar *int) uintptr { | |
| 303 | 306 | ||
| 304 | 307 | cret := xUnixFDListPeekFds(x.GoPointer(), LengthVar) | |
| 308 | + | ||
| 305 | 309 | return cret | |
| 306 | 310 | } | |
| 307 | 311 | ||
| @@ -328,6 +332,7 @@ var xUnixFDListStealFds func(uintptr, *int) uintptr | |||
| 328 | 332 | func (x *UnixFDList) StealFds(LengthVar *int) uintptr { | |
| 329 | 333 | ||
| 330 | 334 | cret := xUnixFDListStealFds(x.GoPointer(), LengthVar) | |
| 335 | + | ||
| 331 | 336 | return cret | |
| 332 | 337 | } | |
| 333 | 338 | ||
M v4/gio/gunixsocketaddress.go +6 -0
| @@ -153,6 +153,7 @@ var xUnixSocketAddressGetAddressType func(uintptr) UnixSocketAddressType | |||
| 153 | 153 | func (x *UnixSocketAddress) GetAddressType() UnixSocketAddressType { | |
| 154 | 154 | ||
| 155 | 155 | cret := xUnixSocketAddressGetAddressType(x.GoPointer()) | |
| 156 | + | ||
| 156 | 157 | return cret | |
| 157 | 158 | } | |
| 158 | 159 | ||
| @@ -162,6 +163,7 @@ var xUnixSocketAddressGetIsAbstract func(uintptr) bool | |||
| 162 | 163 | func (x *UnixSocketAddress) GetIsAbstract() bool { | |
| 163 | 164 | ||
| 164 | 165 | cret := xUnixSocketAddressGetIsAbstract(x.GoPointer()) | |
| 166 | + | ||
| 165 | 167 | return cret | |
| 166 | 168 | } | |
| 167 | 169 | ||
| @@ -176,6 +178,7 @@ var xUnixSocketAddressGetPath func(uintptr) string | |||
| 176 | 178 | func (x *UnixSocketAddress) GetPath() string { | |
| 177 | 179 | ||
| 178 | 180 | cret := xUnixSocketAddressGetPath(x.GoPointer()) | |
| 181 | + | ||
| 179 | 182 | return cret | |
| 180 | 183 | } | |
| 181 | 184 | ||
| @@ -187,6 +190,7 @@ var xUnixSocketAddressGetPathLen func(uintptr) uint | |||
| 187 | 190 | func (x *UnixSocketAddress) GetPathLen() uint { | |
| 188 | 191 | ||
| 189 | 192 | cret := xUnixSocketAddressGetPathLen(x.GoPointer()) | |
| 193 | + | ||
| 190 | 194 | return cret | |
| 191 | 195 | } | |
| 192 | 196 | ||
| @@ -300,6 +304,7 @@ func (x *UnixSocketAddress) ProxyEnumerate() *SocketAddressEnumerator { | |||
| 300 | 304 | func (x *UnixSocketAddress) ToString() string { | |
| 301 | 305 | ||
| 302 | 306 | cret := XGSocketConnectableToString(x.GoPointer()) | |
| 307 | + | ||
| 303 | 308 | return cret | |
| 304 | 309 | } | |
| 305 | 310 | ||
| @@ -309,6 +314,7 @@ var xUnixSocketAddressAbstractNamesSupported func() bool | |||
| 309 | 314 | func UnixSocketAddressAbstractNamesSupported() bool { | |
| 310 | 315 | ||
| 311 | 316 | cret := xUnixSocketAddressAbstractNamesSupported() | |
| 317 | + | ||
| 312 | 318 | return cret | |
| 313 | 319 | } | |
| 314 | 320 | ||
M v4/gio/gvfs.go +4 -0
| @@ -560,6 +560,7 @@ var xVfsGetSupportedUriSchemes func(uintptr) []string | |||
| 560 | 560 | func (x *Vfs) GetSupportedUriSchemes() []string { | |
| 561 | 561 | ||
| 562 | 562 | cret := xVfsGetSupportedUriSchemes(x.GoPointer()) | |
| 563 | + | ||
| 563 | 564 | return cret | |
| 564 | 565 | } | |
| 565 | 566 | ||
| @@ -569,6 +570,7 @@ var xVfsIsActive func(uintptr) bool | |||
| 569 | 570 | func (x *Vfs) IsActive() bool { | |
| 570 | 571 | ||
| 571 | 572 | cret := xVfsIsActive(x.GoPointer()) | |
| 573 | + | ||
| 572 | 574 | return cret | |
| 573 | 575 | } | |
| 574 | 576 | ||
| @@ -675,6 +677,7 @@ func (x *Vfs) RegisterUriScheme(SchemeVar string, UriFuncVar *VfsFileLookupFunc, | |||
| 675 | 677 | } | |
| 676 | 678 | ||
| 677 | 679 | cret := xVfsRegisterUriScheme(x.GoPointer(), SchemeVar, UriFuncVarRef, UriDataVar, UriDestroyVarRef, ParseNameFuncVarRef, ParseNameDataVar, ParseNameDestroyVarRef) | |
| 680 | + | ||
| 678 | 681 | return cret | |
| 679 | 682 | } | |
| 680 | 683 | ||
| @@ -685,6 +688,7 @@ var xVfsUnregisterUriScheme func(uintptr, string) bool | |||
| 685 | 688 | func (x *Vfs) UnregisterUriScheme(SchemeVar string) bool { | |
| 686 | 689 | ||
| 687 | 690 | cret := xVfsUnregisterUriScheme(x.GoPointer(), SchemeVar) | |
| 691 | + | ||
| 688 | 692 | return cret | |
| 689 | 693 | } | |
| 690 | 694 | ||
M v4/gio/gvolume.go +11 -0
| @@ -755,6 +755,7 @@ func (x *VolumeBase) SetGoPointer(ptr uintptr) { | |||
| 755 | 755 | func (x *VolumeBase) CanEject() bool { | |
| 756 | 756 | ||
| 757 | 757 | cret := XGVolumeCanEject(x.GoPointer()) | |
| 758 | + | ||
| 758 | 759 | return cret | |
| 759 | 760 | } | |
| 760 | 761 | ||
| @@ -762,6 +763,7 @@ func (x *VolumeBase) CanEject() bool { | |||
| 762 | 763 | func (x *VolumeBase) CanMount() bool { | |
| 763 | 764 | ||
| 764 | 765 | cret := XGVolumeCanMount(x.GoPointer()) | |
| 766 | + | ||
| 765 | 767 | return cret | |
| 766 | 768 | } | |
| 767 | 769 | ||
| @@ -780,6 +782,7 @@ func (x *VolumeBase) EjectFinish(ResultVar AsyncResult) (bool, error) { | |||
| 780 | 782 | var cerr *glib.Error | |
| 781 | 783 | ||
| 782 | 784 | cret := XGVolumeEjectFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr) | |
| 785 | + | ||
| 783 | 786 | if cerr == nil { | |
| 784 | 787 | return cret, nil | |
| 785 | 788 | } | |
| @@ -802,6 +805,7 @@ func (x *VolumeBase) EjectWithOperationFinish(ResultVar AsyncResult) (bool, erro | |||
| 802 | 805 | var cerr *glib.Error | |
| 803 | 806 | ||
| 804 | 807 | cret := XGVolumeEjectWithOperationFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr) | |
| 808 | + | ||
| 805 | 809 | if cerr == nil { | |
| 806 | 810 | return cret, nil | |
| 807 | 811 | } | |
| @@ -814,6 +818,7 @@ func (x *VolumeBase) EjectWithOperationFinish(ResultVar AsyncResult) (bool, erro | |||
| 814 | 818 | func (x *VolumeBase) EnumerateIdentifiers() []string { | |
| 815 | 819 | ||
| 816 | 820 | cret := XGVolumeEnumerateIdentifiers(x.GoPointer()) | |
| 821 | + | ||
| 817 | 822 | return cret | |
| 818 | 823 | } | |
| 819 | 824 | ||
| @@ -894,6 +899,7 @@ func (x *VolumeBase) GetIcon() *IconBase { | |||
| 894 | 899 | func (x *VolumeBase) GetIdentifier(KindVar string) string { | |
| 895 | 900 | ||
| 896 | 901 | cret := XGVolumeGetIdentifier(x.GoPointer(), KindVar) | |
| 902 | + | ||
| 897 | 903 | return cret | |
| 898 | 904 | } | |
| 899 | 905 | ||
| @@ -915,6 +921,7 @@ func (x *VolumeBase) GetMount() *MountBase { | |||
| 915 | 921 | func (x *VolumeBase) GetName() string { | |
| 916 | 922 | ||
| 917 | 923 | cret := XGVolumeGetName(x.GoPointer()) | |
| 924 | + | ||
| 918 | 925 | return cret | |
| 919 | 926 | } | |
| 920 | 927 | ||
| @@ -922,6 +929,7 @@ func (x *VolumeBase) GetName() string { | |||
| 922 | 929 | func (x *VolumeBase) GetSortKey() string { | |
| 923 | 930 | ||
| 924 | 931 | cret := XGVolumeGetSortKey(x.GoPointer()) | |
| 932 | + | ||
| 925 | 933 | return cret | |
| 926 | 934 | } | |
| 927 | 935 | ||
| @@ -946,6 +954,7 @@ func (x *VolumeBase) GetSymbolicIcon() *IconBase { | |||
| 946 | 954 | func (x *VolumeBase) GetUuid() string { | |
| 947 | 955 | ||
| 948 | 956 | cret := XGVolumeGetUuid(x.GoPointer()) | |
| 957 | + | ||
| 949 | 958 | return cret | |
| 950 | 959 | } | |
| 951 | 960 | ||
| @@ -969,6 +978,7 @@ func (x *VolumeBase) MountFinish(ResultVar AsyncResult) (bool, error) { | |||
| 969 | 978 | var cerr *glib.Error | |
| 970 | 979 | ||
| 971 | 980 | cret := XGVolumeMountFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr) | |
| 981 | + | ||
| 972 | 982 | if cerr == nil { | |
| 973 | 983 | return cret, nil | |
| 974 | 984 | } | |
| @@ -980,6 +990,7 @@ func (x *VolumeBase) MountFinish(ResultVar AsyncResult) (bool, error) { | |||
| 980 | 990 | func (x *VolumeBase) ShouldAutomount() bool { | |
| 981 | 991 | ||
| 982 | 992 | cret := XGVolumeShouldAutomount(x.GoPointer()) | |
| 993 | + | ||
| 983 | 994 | return cret | |
| 984 | 995 | } | |
| 985 | 996 | ||
M v4/gio/gvolumemonitor.go +3 -0
| @@ -719,6 +719,7 @@ var xVolumeMonitorGetConnectedDrives func(uintptr) *glib.List | |||
| 719 | 719 | func (x *VolumeMonitor) GetConnectedDrives() *glib.List { | |
| 720 | 720 | ||
| 721 | 721 | cret := xVolumeMonitorGetConnectedDrives(x.GoPointer()) | |
| 722 | + | ||
| 722 | 723 | return cret | |
| 723 | 724 | } | |
| 724 | 725 | ||
| @@ -747,6 +748,7 @@ var xVolumeMonitorGetMounts func(uintptr) *glib.List | |||
| 747 | 748 | func (x *VolumeMonitor) GetMounts() *glib.List { | |
| 748 | 749 | ||
| 749 | 750 | cret := xVolumeMonitorGetMounts(x.GoPointer()) | |
| 751 | + | ||
| 750 | 752 | return cret | |
| 751 | 753 | } | |
| 752 | 754 | ||
| @@ -775,6 +777,7 @@ var xVolumeMonitorGetVolumes func(uintptr) *glib.List | |||
| 775 | 777 | func (x *VolumeMonitor) GetVolumes() *glib.List { | |
| 776 | 778 | ||
| 777 | 779 | cret := xVolumeMonitorGetVolumes(x.GoPointer()) | |
| 780 | + | ||
| 778 | 781 | return cret | |
| 779 | 782 | } | |
| 780 | 783 | ||
M v4/gio/gzlibcompressor.go +3 -0
| @@ -79,6 +79,7 @@ var xZlibCompressorGetOs func(uintptr) int | |||
| 79 | 79 | func (x *ZlibCompressor) GetOs() int { | |
| 80 | 80 | ||
| 81 | 81 | cret := xZlibCompressorGetOs(x.GoPointer()) | |
| 82 | + | ||
| 82 | 83 | return cret | |
| 83 | 84 | } | |
| 84 | 85 | ||
| @@ -263,6 +264,7 @@ func (x *ZlibCompressor) Convert(InbufVar []byte, InbufSizeVar uint, OutbufVar [ | |||
| 263 | 264 | var cerr *glib.Error | |
| 264 | 265 | ||
| 265 | 266 | cret := XGConverterConvert(x.GoPointer(), InbufVar, InbufSizeVar, OutbufVar, OutbufSizeVar, FlagsVar, BytesReadVar, BytesWrittenVar, &cerr) | |
| 267 | + | ||
| 266 | 268 | if cerr == nil { | |
| 267 | 269 | return cret, nil | |
| 268 | 270 | } | |
| @@ -275,6 +277,7 @@ func (x *ZlibCompressor) ConvertBytes(BytesVar *glib.Bytes) (*glib.Bytes, error) | |||
| 275 | 277 | var cerr *glib.Error | |
| 276 | 278 | ||
| 277 | 279 | cret := XGConverterConvertBytes(x.GoPointer(), BytesVar, &cerr) | |
| 280 | + | ||
| 278 | 281 | if cerr == nil { | |
| 279 | 282 | return cret, nil | |
| 280 | 283 | } | |
M v4/gio/gzlibdecompressor.go +2 -0
| @@ -170,6 +170,7 @@ func (x *ZlibDecompressor) Convert(InbufVar []byte, InbufSizeVar uint, OutbufVar | |||
| 170 | 170 | var cerr *glib.Error | |
| 171 | 171 | ||
| 172 | 172 | cret := XGConverterConvert(x.GoPointer(), InbufVar, InbufSizeVar, OutbufVar, OutbufSizeVar, FlagsVar, BytesReadVar, BytesWrittenVar, &cerr) | |
| 173 | + | ||
| 173 | 174 | if cerr == nil { | |
| 174 | 175 | return cret, nil | |
| 175 | 176 | } | |
| @@ -182,6 +183,7 @@ func (x *ZlibDecompressor) ConvertBytes(BytesVar *glib.Bytes) (*glib.Bytes, erro | |||
| 182 | 183 | var cerr *glib.Error | |
| 183 | 184 | ||
| 184 | 185 | cret := XGConverterConvertBytes(x.GoPointer(), BytesVar, &cerr) | |
| 186 | + | ||
| 185 | 187 | if cerr == nil { | |
| 186 | 188 | return cret, nil | |
| 187 | 189 | } | |
M v4/gio/main.go +1 -0
| @@ -12,6 +12,7 @@ var xDbusErrorQuark func() glib.Quark | |||
| 12 | 12 | func DbusErrorQuark() glib.Quark { | |
| 13 | 13 | ||
| 14 | 14 | cret := xDbusErrorQuark() | |
| 15 | + | ||
| 15 | 16 | return cret | |
| 16 | 17 | } | |
| 17 | 18 | ||
M v4/glib/gallocator.go +2 -0
| @@ -38,6 +38,7 @@ var xMemChunkAlloc func(uintptr) uintptr | |||
| 38 | 38 | func (x *MemChunk) Alloc() uintptr { | |
| 39 | 39 | ||
| 40 | 40 | cret := xMemChunkAlloc(x.GoPointer()) | |
| 41 | + | ||
| 41 | 42 | return cret | |
| 42 | 43 | } | |
| 43 | 44 | ||
| @@ -46,6 +47,7 @@ var xMemChunkAlloc0 func(uintptr) uintptr | |||
| 46 | 47 | func (x *MemChunk) Alloc0() uintptr { | |
| 47 | 48 | ||
| 48 | 49 | cret := xMemChunkAlloc0(x.GoPointer()) | |
| 50 | + | ||
| 49 | 51 | return cret | |
| 50 | 52 | } | |
| 51 | 53 | ||
M v4/glib/garray.go +35 -0
| @@ -101,6 +101,7 @@ var xNewBytes func([]byte, uint) *Bytes | |||
| 101 | 101 | func NewBytes(DataVar []byte, SizeVar uint) *Bytes { | |
| 102 | 102 | ||
| 103 | 103 | cret := xNewBytes(DataVar, SizeVar) | |
| 104 | + | ||
| 104 | 105 | return cret | |
| 105 | 106 | } | |
| 106 | 107 | ||
| @@ -113,6 +114,7 @@ var xNewBytesStatic func([]byte, uint) *Bytes | |||
| 113 | 114 | func NewBytesStatic(DataVar []byte, SizeVar uint) *Bytes { | |
| 114 | 115 | ||
| 115 | 116 | cret := xNewBytesStatic(DataVar, SizeVar) | |
| 117 | + | ||
| 116 | 118 | return cret | |
| 117 | 119 | } | |
| 118 | 120 | ||
| @@ -131,6 +133,7 @@ var xNewBytesTake func(uintptr, uint) *Bytes | |||
| 131 | 133 | func NewBytesTake(DataVar uintptr, SizeVar uint) *Bytes { | |
| 132 | 134 | ||
| 133 | 135 | cret := xNewBytesTake(DataVar, SizeVar) | |
| 136 | + | ||
| 134 | 137 | return cret | |
| 135 | 138 | } | |
| 136 | 139 | ||
| @@ -163,6 +166,7 @@ func NewBytesWithFreeFunc(DataVar []byte, SizeVar uint, FreeFuncVar *DestroyNoti | |||
| 163 | 166 | } | |
| 164 | 167 | ||
| 165 | 168 | cret := xNewBytesWithFreeFunc(DataVar, SizeVar, FreeFuncVarRef, UserDataVar) | |
| 169 | + | ||
| 166 | 170 | return cret | |
| 167 | 171 | } | |
| 168 | 172 | ||
| @@ -181,6 +185,7 @@ var xBytesCompare func(uintptr, uintptr) int | |||
| 181 | 185 | func (x *Bytes) Compare(Bytes2Var uintptr) int { | |
| 182 | 186 | ||
| 183 | 187 | cret := xBytesCompare(x.GoPointer(), Bytes2Var) | |
| 188 | + | ||
| 184 | 189 | return cret | |
| 185 | 190 | } | |
| 186 | 191 | ||
| @@ -195,6 +200,7 @@ var xBytesEqual func(uintptr, uintptr) bool | |||
| 195 | 200 | func (x *Bytes) Equal(Bytes2Var uintptr) bool { | |
| 196 | 201 | ||
| 197 | 202 | cret := xBytesEqual(x.GoPointer(), Bytes2Var) | |
| 203 | + | ||
| 198 | 204 | return cret | |
| 199 | 205 | } | |
| 200 | 206 | ||
| @@ -212,6 +218,7 @@ var xBytesGetData func(uintptr, *uint) uintptr | |||
| 212 | 218 | func (x *Bytes) GetData(SizeVar *uint) uintptr { | |
| 213 | 219 | ||
| 214 | 220 | cret := xBytesGetData(x.GoPointer(), SizeVar) | |
| 221 | + | ||
| 215 | 222 | return cret | |
| 216 | 223 | } | |
| 217 | 224 | ||
| @@ -240,6 +247,7 @@ var xBytesGetRegion func(uintptr, uint, uint, uint) uintptr | |||
| 240 | 247 | func (x *Bytes) GetRegion(ElementSizeVar uint, OffsetVar uint, NElementsVar uint) uintptr { | |
| 241 | 248 | ||
| 242 | 249 | cret := xBytesGetRegion(x.GoPointer(), ElementSizeVar, OffsetVar, NElementsVar) | |
| 250 | + | ||
| 243 | 251 | return cret | |
| 244 | 252 | } | |
| 245 | 253 | ||
| @@ -251,6 +259,7 @@ var xBytesGetSize func(uintptr) uint | |||
| 251 | 259 | func (x *Bytes) GetSize() uint { | |
| 252 | 260 | ||
| 253 | 261 | cret := xBytesGetSize(x.GoPointer()) | |
| 262 | + | ||
| 254 | 263 | return cret | |
| 255 | 264 | } | |
| 256 | 265 | ||
| @@ -264,6 +273,7 @@ var xBytesHash func(uintptr) uint | |||
| 264 | 273 | func (x *Bytes) Hash() uint { | |
| 265 | 274 | ||
| 266 | 275 | cret := xBytesHash(x.GoPointer()) | |
| 276 | + | ||
| 267 | 277 | return cret | |
| 268 | 278 | } | |
| 269 | 279 | ||
| @@ -284,6 +294,7 @@ var xBytesNewFromBytes func(uintptr, uint, uint) *Bytes | |||
| 284 | 294 | func (x *Bytes) NewFromBytes(OffsetVar uint, LengthVar uint) *Bytes { | |
| 285 | 295 | ||
| 286 | 296 | cret := xBytesNewFromBytes(x.GoPointer(), OffsetVar, LengthVar) | |
| 297 | + | ||
| 287 | 298 | return cret | |
| 288 | 299 | } | |
| 289 | 300 | ||
| @@ -293,6 +304,7 @@ var xBytesRef func(uintptr) *Bytes | |||
| 293 | 304 | func (x *Bytes) Ref() *Bytes { | |
| 294 | 305 | ||
| 295 | 306 | cret := xBytesRef(x.GoPointer()) | |
| 307 | + | ||
| 296 | 308 | return cret | |
| 297 | 309 | } | |
| 298 | 310 | ||
| @@ -326,6 +338,7 @@ var xBytesUnrefToArray func(uintptr) uintptr | |||
| 326 | 338 | func (x *Bytes) UnrefToArray() uintptr { | |
| 327 | 339 | ||
| 328 | 340 | cret := xBytesUnrefToArray(x.GoPointer()) | |
| 341 | + | ||
| 329 | 342 | return cret | |
| 330 | 343 | } | |
| 331 | 344 | ||
| @@ -343,6 +356,7 @@ var xBytesUnrefToData func(uintptr, *uint) uintptr | |||
| 343 | 356 | func (x *Bytes) UnrefToData(SizeVar *uint) uintptr { | |
| 344 | 357 | ||
| 345 | 358 | cret := xBytesUnrefToData(x.GoPointer(), SizeVar) | |
| 359 | + | ||
| 346 | 360 | return cret | |
| 347 | 361 | } | |
| 348 | 362 | ||
| @@ -387,6 +401,7 @@ var xArrayNewTake func(uintptr, uint, bool, uint) uintptr | |||
| 387 | 401 | func ArrayNewTake(DataVar uintptr, LenVar uint, ClearVar bool, ElementSizeVar uint) uintptr { | |
| 388 | 402 | ||
| 389 | 403 | cret := xArrayNewTake(DataVar, LenVar, ClearVar, ElementSizeVar) | |
| 404 | + | ||
| 390 | 405 | return cret | |
| 391 | 406 | } | |
| 392 | 407 | ||
| @@ -414,6 +429,7 @@ var xArrayNewTakeZeroTerminated func(uintptr, bool, uint) uintptr | |||
| 414 | 429 | func ArrayNewTakeZeroTerminated(DataVar uintptr, ClearVar bool, ElementSizeVar uint) uintptr { | |
| 415 | 430 | ||
| 416 | 431 | cret := xArrayNewTakeZeroTerminated(DataVar, ClearVar, ElementSizeVar) | |
| 432 | + | ||
| 417 | 433 | return cret | |
| 418 | 434 | } | |
| 419 | 435 | ||
| @@ -424,6 +440,7 @@ var xByteArrayAppend func([]byte, []byte, uint) uintptr | |||
| 424 | 440 | func ByteArrayAppend(ArrayVar []byte, DataVar []byte, LenVar uint) uintptr { | |
| 425 | 441 | ||
| 426 | 442 | cret := xByteArrayAppend(ArrayVar, DataVar, LenVar) | |
| 443 | + | ||
| 427 | 444 | return cret | |
| 428 | 445 | } | |
| 429 | 446 | ||
| @@ -436,6 +453,7 @@ var xByteArrayFree func([]byte, bool) uintptr | |||
| 436 | 453 | func ByteArrayFree(ArrayVar []byte, FreeSegmentVar bool) uintptr { | |
| 437 | 454 | ||
| 438 | 455 | cret := xByteArrayFree(ArrayVar, FreeSegmentVar) | |
| 456 | + | ||
| 439 | 457 | return cret | |
| 440 | 458 | } | |
| 441 | 459 | ||
| @@ -453,6 +471,7 @@ var xByteArrayFreeToBytes func([]byte) *Bytes | |||
| 453 | 471 | func ByteArrayFreeToBytes(ArrayVar []byte) *Bytes { | |
| 454 | 472 | ||
| 455 | 473 | cret := xByteArrayFreeToBytes(ArrayVar) | |
| 474 | + | ||
| 456 | 475 | return cret | |
| 457 | 476 | } | |
| 458 | 477 | ||
| @@ -462,6 +481,7 @@ var xByteArrayNew func() uintptr | |||
| 462 | 481 | func ByteArrayNew() uintptr { | |
| 463 | 482 | ||
| 464 | 483 | cret := xByteArrayNew() | |
| 484 | + | ||
| 465 | 485 | return cret | |
| 466 | 486 | } | |
| 467 | 487 | ||
| @@ -478,6 +498,7 @@ var xByteArrayNewTake func([]byte, uint) uintptr | |||
| 478 | 498 | func ByteArrayNewTake(DataVar []byte, LenVar uint) uintptr { | |
| 479 | 499 | ||
| 480 | 500 | cret := xByteArrayNewTake(DataVar, LenVar) | |
| 501 | + | ||
| 481 | 502 | return cret | |
| 482 | 503 | } | |
| 483 | 504 | ||
| @@ -488,6 +509,7 @@ var xByteArrayPrepend func([]byte, []byte, uint) uintptr | |||
| 488 | 509 | func ByteArrayPrepend(ArrayVar []byte, DataVar []byte, LenVar uint) uintptr { | |
| 489 | 510 | ||
| 490 | 511 | cret := xByteArrayPrepend(ArrayVar, DataVar, LenVar) | |
| 512 | + | ||
| 491 | 513 | return cret | |
| 492 | 514 | } | |
| 493 | 515 | ||
| @@ -498,6 +520,7 @@ var xByteArrayRef func([]byte) uintptr | |||
| 498 | 520 | func ByteArrayRef(ArrayVar []byte) uintptr { | |
| 499 | 521 | ||
| 500 | 522 | cret := xByteArrayRef(ArrayVar) | |
| 523 | + | ||
| 501 | 524 | return cret | |
| 502 | 525 | } | |
| 503 | 526 | ||
| @@ -508,6 +531,7 @@ var xByteArrayRemoveIndex func([]byte, uint) uintptr | |||
| 508 | 531 | func ByteArrayRemoveIndex(ArrayVar []byte, IndexVar uint) uintptr { | |
| 509 | 532 | ||
| 510 | 533 | cret := xByteArrayRemoveIndex(ArrayVar, IndexVar) | |
| 534 | + | ||
| 511 | 535 | return cret | |
| 512 | 536 | } | |
| 513 | 537 | ||
| @@ -520,6 +544,7 @@ var xByteArrayRemoveIndexFast func([]byte, uint) uintptr | |||
| 520 | 544 | func ByteArrayRemoveIndexFast(ArrayVar []byte, IndexVar uint) uintptr { | |
| 521 | 545 | ||
| 522 | 546 | cret := xByteArrayRemoveIndexFast(ArrayVar, IndexVar) | |
| 547 | + | ||
| 523 | 548 | return cret | |
| 524 | 549 | } | |
| 525 | 550 | ||
| @@ -530,6 +555,7 @@ var xByteArrayRemoveRange func([]byte, uint, uint) uintptr | |||
| 530 | 555 | func ByteArrayRemoveRange(ArrayVar []byte, IndexVar uint, LengthVar uint) uintptr { | |
| 531 | 556 | ||
| 532 | 557 | cret := xByteArrayRemoveRange(ArrayVar, IndexVar, LengthVar) | |
| 558 | + | ||
| 533 | 559 | return cret | |
| 534 | 560 | } | |
| 535 | 561 | ||
| @@ -539,6 +565,7 @@ var xByteArraySetSize func([]byte, uint) uintptr | |||
| 539 | 565 | func ByteArraySetSize(ArrayVar []byte, LengthVar uint) uintptr { | |
| 540 | 566 | ||
| 541 | 567 | cret := xByteArraySetSize(ArrayVar, LengthVar) | |
| 568 | + | ||
| 542 | 569 | return cret | |
| 543 | 570 | } | |
| 544 | 571 | ||
| @@ -551,6 +578,7 @@ var xByteArraySizedNew func(uint) uintptr | |||
| 551 | 578 | func ByteArraySizedNew(ReservedSizeVar uint) uintptr { | |
| 552 | 579 | ||
| 553 | 580 | cret := xByteArraySizedNew(ReservedSizeVar) | |
| 581 | + | ||
| 554 | 582 | return cret | |
| 555 | 583 | } | |
| 556 | 584 | ||
| @@ -620,6 +648,7 @@ var xByteArraySteal func([]byte, *uint) uintptr | |||
| 620 | 648 | func ByteArraySteal(ArrayVar []byte, LenVar *uint) uintptr { | |
| 621 | 649 | ||
| 622 | 650 | cret := xByteArraySteal(ArrayVar, LenVar) | |
| 651 | + | ||
| 623 | 652 | return cret | |
| 624 | 653 | } | |
| 625 | 654 | ||
| @@ -648,6 +677,7 @@ var xPtrArrayFind func([]uintptr, uintptr, *uint) bool | |||
| 648 | 677 | func PtrArrayFind(HaystackVar []uintptr, NeedleVar uintptr, IndexVar *uint) bool { | |
| 649 | 678 | ||
| 650 | 679 | cret := xPtrArrayFind(HaystackVar, NeedleVar, IndexVar) | |
| 680 | + | ||
| 651 | 681 | return cret | |
| 652 | 682 | } | |
| 653 | 683 | ||
| @@ -680,6 +710,7 @@ func PtrArrayFindWithEqualFunc(HaystackVar []uintptr, NeedleVar uintptr, EqualFu | |||
| 680 | 710 | } | |
| 681 | 711 | ||
| 682 | 712 | cret := xPtrArrayFindWithEqualFunc(HaystackVar, NeedleVar, EqualFuncVarRef, IndexVar) | |
| 713 | + | ||
| 683 | 714 | return cret | |
| 684 | 715 | } | |
| 685 | 716 | ||
| @@ -735,6 +766,7 @@ func PtrArrayNewFromArray(DataVar []uintptr, LenVar uint, CopyFuncVar *CopyFunc, | |||
| 735 | 766 | } | |
| 736 | 767 | ||
| 737 | 768 | cret := xPtrArrayNewFromArray(DataVar, LenVar, CopyFuncVarRef, CopyFuncUserDataVar, ElementFreeFuncVarRef) | |
| 769 | + | ||
| 738 | 770 | return cret | |
| 739 | 771 | } | |
| 740 | 772 | ||
| @@ -786,6 +818,7 @@ func PtrArrayNewFromNullTerminatedArray(DataVar []uintptr, CopyFuncVar *CopyFunc | |||
| 786 | 818 | } | |
| 787 | 819 | ||
| 788 | 820 | cret := xPtrArrayNewFromNullTerminatedArray(DataVar, CopyFuncVarRef, CopyFuncUserDataVar, ElementFreeFuncVarRef) | |
| 821 | + | ||
| 789 | 822 | return cret | |
| 790 | 823 | } | |
| 791 | 824 | ||
| @@ -825,6 +858,7 @@ func PtrArrayNewTake(DataVar []uintptr, LenVar uint, ElementFreeFuncVar *Destroy | |||
| 825 | 858 | } | |
| 826 | 859 | ||
| 827 | 860 | cret := xPtrArrayNewTake(DataVar, LenVar, ElementFreeFuncVarRef) | |
| 861 | + | ||
| 828 | 862 | return cret | |
| 829 | 863 | } | |
| 830 | 864 | ||
| @@ -867,6 +901,7 @@ func PtrArrayNewTakeNullTerminated(DataVar []uintptr, ElementFreeFuncVar *Destro | |||
| 867 | 901 | } | |
| 868 | 902 | ||
| 869 | 903 | cret := xPtrArrayNewTakeNullTerminated(DataVar, ElementFreeFuncVarRef) | |
| 904 | + | ||
| 870 | 905 | return cret | |
| 871 | 906 | } | |
| 872 | 907 | ||
M v4/glib/gasyncqueue.go +15 -0
| @@ -33,6 +33,7 @@ var xAsyncQueueLength func(uintptr) int | |||
| 33 | 33 | func (x *AsyncQueue) Length() int { | |
| 34 | 34 | ||
| 35 | 35 | cret := xAsyncQueueLength(x.GoPointer()) | |
| 36 | + | ||
| 36 | 37 | return cret | |
| 37 | 38 | } | |
| 38 | 39 | ||
| @@ -51,6 +52,7 @@ var xAsyncQueueLengthUnlocked func(uintptr) int | |||
| 51 | 52 | func (x *AsyncQueue) LengthUnlocked() int { | |
| 52 | 53 | ||
| 53 | 54 | cret := xAsyncQueueLengthUnlocked(x.GoPointer()) | |
| 55 | + | ||
| 54 | 56 | return cret | |
| 55 | 57 | } | |
| 56 | 58 | ||
| @@ -78,6 +80,7 @@ var xAsyncQueuePop func(uintptr) uintptr | |||
| 78 | 80 | func (x *AsyncQueue) Pop() uintptr { | |
| 79 | 81 | ||
| 80 | 82 | cret := xAsyncQueuePop(x.GoPointer()) | |
| 83 | + | ||
| 81 | 84 | return cret | |
| 82 | 85 | } | |
| 83 | 86 | ||
| @@ -90,6 +93,7 @@ var xAsyncQueuePopUnlocked func(uintptr) uintptr | |||
| 90 | 93 | func (x *AsyncQueue) PopUnlocked() uintptr { | |
| 91 | 94 | ||
| 92 | 95 | cret := xAsyncQueuePopUnlocked(x.GoPointer()) | |
| 96 | + | ||
| 93 | 97 | return cret | |
| 94 | 98 | } | |
| 95 | 99 | ||
| @@ -221,6 +225,7 @@ var xAsyncQueueRef func(uintptr) *AsyncQueue | |||
| 221 | 225 | func (x *AsyncQueue) Ref() *AsyncQueue { | |
| 222 | 226 | ||
| 223 | 227 | cret := xAsyncQueueRef(x.GoPointer()) | |
| 228 | + | ||
| 224 | 229 | return cret | |
| 225 | 230 | } | |
| 226 | 231 | ||
| @@ -239,6 +244,7 @@ var xAsyncQueueRemove func(uintptr, uintptr) bool | |||
| 239 | 244 | func (x *AsyncQueue) Remove(ItemVar uintptr) bool { | |
| 240 | 245 | ||
| 241 | 246 | cret := xAsyncQueueRemove(x.GoPointer(), ItemVar) | |
| 247 | + | ||
| 242 | 248 | return cret | |
| 243 | 249 | } | |
| 244 | 250 | ||
| @@ -250,6 +256,7 @@ var xAsyncQueueRemoveUnlocked func(uintptr, uintptr) bool | |||
| 250 | 256 | func (x *AsyncQueue) RemoveUnlocked(ItemVar uintptr) bool { | |
| 251 | 257 | ||
| 252 | 258 | cret := xAsyncQueueRemoveUnlocked(x.GoPointer(), ItemVar) | |
| 259 | + | ||
| 253 | 260 | return cret | |
| 254 | 261 | } | |
| 255 | 262 | ||
| @@ -344,6 +351,7 @@ var xAsyncQueueTimedPop func(uintptr, *TimeVal) uintptr | |||
| 344 | 351 | func (x *AsyncQueue) TimedPop(EndTimeVar *TimeVal) uintptr { | |
| 345 | 352 | ||
| 346 | 353 | cret := xAsyncQueueTimedPop(x.GoPointer(), EndTimeVar) | |
| 354 | + | ||
| 347 | 355 | return cret | |
| 348 | 356 | } | |
| 349 | 357 | ||
| @@ -361,6 +369,7 @@ var xAsyncQueueTimedPopUnlocked func(uintptr, *TimeVal) uintptr | |||
| 361 | 369 | func (x *AsyncQueue) TimedPopUnlocked(EndTimeVar *TimeVal) uintptr { | |
| 362 | 370 | ||
| 363 | 371 | cret := xAsyncQueueTimedPopUnlocked(x.GoPointer(), EndTimeVar) | |
| 372 | + | ||
| 364 | 373 | return cret | |
| 365 | 374 | } | |
| 366 | 375 | ||
| @@ -373,6 +382,7 @@ var xAsyncQueueTimeoutPop func(uintptr, uint64) uintptr | |||
| 373 | 382 | func (x *AsyncQueue) TimeoutPop(TimeoutVar uint64) uintptr { | |
| 374 | 383 | ||
| 375 | 384 | cret := xAsyncQueueTimeoutPop(x.GoPointer(), TimeoutVar) | |
| 385 | + | ||
| 376 | 386 | return cret | |
| 377 | 387 | } | |
| 378 | 388 | ||
| @@ -387,6 +397,7 @@ var xAsyncQueueTimeoutPopUnlocked func(uintptr, uint64) uintptr | |||
| 387 | 397 | func (x *AsyncQueue) TimeoutPopUnlocked(TimeoutVar uint64) uintptr { | |
| 388 | 398 | ||
| 389 | 399 | cret := xAsyncQueueTimeoutPopUnlocked(x.GoPointer(), TimeoutVar) | |
| 400 | + | ||
| 390 | 401 | return cret | |
| 391 | 402 | } | |
| 392 | 403 | ||
| @@ -397,6 +408,7 @@ var xAsyncQueueTryPop func(uintptr) uintptr | |||
| 397 | 408 | func (x *AsyncQueue) TryPop() uintptr { | |
| 398 | 409 | ||
| 399 | 410 | cret := xAsyncQueueTryPop(x.GoPointer()) | |
| 411 | + | ||
| 400 | 412 | return cret | |
| 401 | 413 | } | |
| 402 | 414 | ||
| @@ -409,6 +421,7 @@ var xAsyncQueueTryPopUnlocked func(uintptr) uintptr | |||
| 409 | 421 | func (x *AsyncQueue) TryPopUnlocked() uintptr { | |
| 410 | 422 | ||
| 411 | 423 | cret := xAsyncQueueTryPopUnlocked(x.GoPointer()) | |
| 424 | + | ||
| 412 | 425 | return cret | |
| 413 | 426 | } | |
| 414 | 427 | ||
| @@ -457,6 +470,7 @@ var xAsyncQueueNew func() *AsyncQueue | |||
| 457 | 470 | func AsyncQueueNew() *AsyncQueue { | |
| 458 | 471 | ||
| 459 | 472 | cret := xAsyncQueueNew() | |
| 473 | + | ||
| 460 | 474 | return cret | |
| 461 | 475 | } | |
| 462 | 476 | ||
| @@ -483,6 +497,7 @@ func AsyncQueueNewFull(ItemFreeFuncVar *DestroyNotify) *AsyncQueue { | |||
| 483 | 497 | } | |
| 484 | 498 | ||
| 485 | 499 | cret := xAsyncQueueNewFull(ItemFreeFuncVarRef) | |
| 500 | + | ||
| 486 | 501 | return cret | |
| 487 | 502 | } | |
| 488 | 503 | ||
M v4/glib/gatomic.go +18 -0
| @@ -23,6 +23,7 @@ var xAtomicIntAdd func(uintptr, int) int | |||
| 23 | 23 | func AtomicIntAdd(AtomicVar uintptr, ValVar int) int { | |
| 24 | 24 | ||
| 25 | 25 | cret := xAtomicIntAdd(AtomicVar, ValVar) | |
| 26 | + | ||
| 26 | 27 | return cret | |
| 27 | 28 | } | |
| 28 | 29 | ||
| @@ -41,6 +42,7 @@ var xAtomicIntAnd func(uintptr, uint) uint | |||
| 41 | 42 | func AtomicIntAnd(AtomicVar uintptr, ValVar uint) uint { | |
| 42 | 43 | ||
| 43 | 44 | cret := xAtomicIntAnd(AtomicVar, ValVar) | |
| 45 | + | ||
| 44 | 46 | return cret | |
| 45 | 47 | } | |
| 46 | 48 | ||
| @@ -61,6 +63,7 @@ var xAtomicIntCompareAndExchange func(uintptr, int, int) bool | |||
| 61 | 63 | func AtomicIntCompareAndExchange(AtomicVar uintptr, OldvalVar int, NewvalVar int) bool { | |
| 62 | 64 | ||
| 63 | 65 | cret := xAtomicIntCompareAndExchange(AtomicVar, OldvalVar, NewvalVar) | |
| 66 | + | ||
| 64 | 67 | return cret | |
| 65 | 68 | } | |
| 66 | 69 | ||
| @@ -81,6 +84,7 @@ var xAtomicIntCompareAndExchangeFull func(uintptr, int, int, *int) bool | |||
| 81 | 84 | func AtomicIntCompareAndExchangeFull(AtomicVar uintptr, OldvalVar int, NewvalVar int, PrevalVar *int) bool { | |
| 82 | 85 | ||
| 83 | 86 | cret := xAtomicIntCompareAndExchangeFull(AtomicVar, OldvalVar, NewvalVar, PrevalVar) | |
| 87 | + | ||
| 84 | 88 | return cret | |
| 85 | 89 | } | |
| 86 | 90 | ||
| @@ -98,6 +102,7 @@ var xAtomicIntDecAndTest func(uintptr) bool | |||
| 98 | 102 | func AtomicIntDecAndTest(AtomicVar uintptr) bool { | |
| 99 | 103 | ||
| 100 | 104 | cret := xAtomicIntDecAndTest(AtomicVar) | |
| 105 | + | ||
| 101 | 106 | return cret | |
| 102 | 107 | } | |
| 103 | 108 | ||
| @@ -114,6 +119,7 @@ var xAtomicIntExchange func(uintptr, int) int | |||
| 114 | 119 | func AtomicIntExchange(AtomicVar uintptr, NewvalVar int) int { | |
| 115 | 120 | ||
| 116 | 121 | cret := xAtomicIntExchange(AtomicVar, NewvalVar) | |
| 122 | + | ||
| 117 | 123 | return cret | |
| 118 | 124 | } | |
| 119 | 125 | ||
| @@ -125,6 +131,7 @@ var xAtomicIntExchangeAndAdd func(uintptr, int) int | |||
| 125 | 131 | func AtomicIntExchangeAndAdd(AtomicVar uintptr, ValVar int) int { | |
| 126 | 132 | ||
| 127 | 133 | cret := xAtomicIntExchangeAndAdd(AtomicVar, ValVar) | |
| 134 | + | ||
| 128 | 135 | return cret | |
| 129 | 136 | } | |
| 130 | 137 | ||
| @@ -140,6 +147,7 @@ var xAtomicIntGet func(uintptr) int | |||
| 140 | 147 | func AtomicIntGet(AtomicVar uintptr) int { | |
| 141 | 148 | ||
| 142 | 149 | cret := xAtomicIntGet(AtomicVar) | |
| 150 | + | ||
| 143 | 151 | return cret | |
| 144 | 152 | } | |
| 145 | 153 | ||
| @@ -174,6 +182,7 @@ var xAtomicIntOr func(uintptr, uint) uint | |||
| 174 | 182 | func AtomicIntOr(AtomicVar uintptr, ValVar uint) uint { | |
| 175 | 183 | ||
| 176 | 184 | cret := xAtomicIntOr(AtomicVar, ValVar) | |
| 185 | + | ||
| 177 | 186 | return cret | |
| 178 | 187 | } | |
| 179 | 188 | ||
| @@ -207,6 +216,7 @@ var xAtomicIntXor func(uintptr, uint) uint | |||
| 207 | 216 | func AtomicIntXor(AtomicVar uintptr, ValVar uint) uint { | |
| 208 | 217 | ||
| 209 | 218 | cret := xAtomicIntXor(AtomicVar, ValVar) | |
| 219 | + | ||
| 210 | 220 | return cret | |
| 211 | 221 | } | |
| 212 | 222 | ||
| @@ -228,6 +238,7 @@ var xAtomicPointerAdd func(uintptr, int) int | |||
| 228 | 238 | func AtomicPointerAdd(AtomicVar uintptr, ValVar int) int { | |
| 229 | 239 | ||
| 230 | 240 | cret := xAtomicPointerAdd(AtomicVar, ValVar) | |
| 241 | + | ||
| 231 | 242 | return cret | |
| 232 | 243 | } | |
| 233 | 244 | ||
| @@ -250,6 +261,7 @@ var xAtomicPointerAnd func(uintptr, uint) uintptr | |||
| 250 | 261 | func AtomicPointerAnd(AtomicVar uintptr, ValVar uint) uintptr { | |
| 251 | 262 | ||
| 252 | 263 | cret := xAtomicPointerAnd(AtomicVar, ValVar) | |
| 264 | + | ||
| 253 | 265 | return cret | |
| 254 | 266 | } | |
| 255 | 267 | ||
| @@ -270,6 +282,7 @@ var xAtomicPointerCompareAndExchange func(uintptr, uintptr, uintptr) bool | |||
| 270 | 282 | func AtomicPointerCompareAndExchange(AtomicVar uintptr, OldvalVar uintptr, NewvalVar uintptr) bool { | |
| 271 | 283 | ||
| 272 | 284 | cret := xAtomicPointerCompareAndExchange(AtomicVar, OldvalVar, NewvalVar) | |
| 285 | + | ||
| 273 | 286 | return cret | |
| 274 | 287 | } | |
| 275 | 288 | ||
| @@ -290,6 +303,7 @@ var xAtomicPointerCompareAndExchangeFull func(uintptr, uintptr, uintptr, *uintpt | |||
| 290 | 303 | func AtomicPointerCompareAndExchangeFull(AtomicVar uintptr, OldvalVar uintptr, NewvalVar uintptr, PrevalVar *uintptr) bool { | |
| 291 | 304 | ||
| 292 | 305 | cret := xAtomicPointerCompareAndExchangeFull(AtomicVar, OldvalVar, NewvalVar, PrevalVar) | |
| 306 | + | ||
| 293 | 307 | return cret | |
| 294 | 308 | } | |
| 295 | 309 | ||
| @@ -306,6 +320,7 @@ var xAtomicPointerExchange func(uintptr, uintptr) uintptr | |||
| 306 | 320 | func AtomicPointerExchange(AtomicVar uintptr, NewvalVar uintptr) uintptr { | |
| 307 | 321 | ||
| 308 | 322 | cret := xAtomicPointerExchange(AtomicVar, NewvalVar) | |
| 323 | + | ||
| 309 | 324 | return cret | |
| 310 | 325 | } | |
| 311 | 326 | ||
| @@ -321,6 +336,7 @@ var xAtomicPointerGet func(uintptr) uintptr | |||
| 321 | 336 | func AtomicPointerGet(AtomicVar uintptr) uintptr { | |
| 322 | 337 | ||
| 323 | 338 | cret := xAtomicPointerGet(AtomicVar) | |
| 339 | + | ||
| 324 | 340 | return cret | |
| 325 | 341 | } | |
| 326 | 342 | ||
| @@ -343,6 +359,7 @@ var xAtomicPointerOr func(uintptr, uint) uintptr | |||
| 343 | 359 | func AtomicPointerOr(AtomicVar uintptr, ValVar uint) uintptr { | |
| 344 | 360 | ||
| 345 | 361 | cret := xAtomicPointerOr(AtomicVar, ValVar) | |
| 362 | + | ||
| 346 | 363 | return cret | |
| 347 | 364 | } | |
| 348 | 365 | ||
| @@ -380,6 +397,7 @@ var xAtomicPointerXor func(uintptr, uint) uintptr | |||
| 380 | 397 | func AtomicPointerXor(AtomicVar uintptr, ValVar uint) uintptr { | |
| 381 | 398 | ||
| 382 | 399 | cret := xAtomicPointerXor(AtomicVar, ValVar) | |
| 400 | + | ||
| 383 | 401 | return cret | |
| 384 | 402 | } | |
| 385 | 403 | ||
M v4/glib/gbacktrace.go +7 -1
| @@ -2,6 +2,8 @@ | |||
| 2 | 2 | package glib | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "runtime" | |
| 6 | + | ||
| 5 | 7 | "github.com/jwijenbergh/purego" | |
| 6 | 8 | "github.com/jwijenbergh/puregotk/pkg/core" | |
| 7 | 9 | ) | |
| @@ -81,7 +83,11 @@ var xOnErrorStackTrace func(uintptr) | |||
| 81 | 83 | // handle that exception (see [Running GLib Applications](running.html)). | |
| 82 | 84 | func OnErrorStackTrace(PrgNameVar *string) { | |
| 83 | 85 | ||
| 84 | - | xOnErrorStackTrace(core.NullableStringToPtr(PrgNameVar)) | |
| 86 | + | PrgNameVarPtr, PrgNameVarBytes := core.NullableStringToPtr(PrgNameVar) | |
| 87 | + | ||
| 88 | + | xOnErrorStackTrace(PrgNameVarPtr) | |
| 89 | + | ||
| 90 | + | runtime.KeepAlive(PrgNameVarBytes) | |
| 85 | 91 | ||
| 86 | 92 | } | |
| 87 | 93 | ||
M v4/glib/gbase64.go +6 -0
| @@ -14,6 +14,7 @@ var xBase64Decode func(string, *uint) uintptr | |||
| 14 | 14 | func Base64Decode(TextVar string, OutLenVar *uint) uintptr { | |
| 15 | 15 | ||
| 16 | 16 | cret := xBase64Decode(TextVar, OutLenVar) | |
| 17 | + | ||
| 17 | 18 | return cret | |
| 18 | 19 | } | |
| 19 | 20 | ||
| @@ -24,6 +25,7 @@ var xBase64DecodeInplace func([]byte, uint) byte | |||
| 24 | 25 | func Base64DecodeInplace(TextVar []byte, OutLenVar uint) byte { | |
| 25 | 26 | ||
| 26 | 27 | cret := xBase64DecodeInplace(TextVar, OutLenVar) | |
| 28 | + | ||
| 27 | 29 | return cret | |
| 28 | 30 | } | |
| 29 | 31 | ||
| @@ -40,6 +42,7 @@ var xBase64DecodeStep func([]byte, uint, *[]byte, int, uint) uint | |||
| 40 | 42 | func Base64DecodeStep(InVar []byte, LenVar uint, OutVar *[]byte, StateVar int, SaveVar uint) uint { | |
| 41 | 43 | ||
| 42 | 44 | cret := xBase64DecodeStep(InVar, LenVar, OutVar, StateVar, SaveVar) | |
| 45 | + | ||
| 43 | 46 | return cret | |
| 44 | 47 | } | |
| 45 | 48 | ||
| @@ -50,6 +53,7 @@ var xBase64Encode func([]byte, uint) string | |||
| 50 | 53 | func Base64Encode(DataVar []byte, LenVar uint) string { | |
| 51 | 54 | ||
| 52 | 55 | cret := xBase64Encode(DataVar, LenVar) | |
| 56 | + | ||
| 53 | 57 | return cret | |
| 54 | 58 | } | |
| 55 | 59 | ||
| @@ -65,6 +69,7 @@ var xBase64EncodeClose func(bool, *[]byte, int, int) uint | |||
| 65 | 69 | func Base64EncodeClose(BreakLinesVar bool, OutVar *[]byte, StateVar int, SaveVar int) uint { | |
| 66 | 70 | ||
| 67 | 71 | cret := xBase64EncodeClose(BreakLinesVar, OutVar, StateVar, SaveVar) | |
| 72 | + | ||
| 68 | 73 | return cret | |
| 69 | 74 | } | |
| 70 | 75 | ||
| @@ -92,6 +97,7 @@ var xBase64EncodeStep func([]byte, uint, bool, *[]byte, int, int) uint | |||
| 92 | 97 | func Base64EncodeStep(InVar []byte, LenVar uint, BreakLinesVar bool, OutVar *[]byte, StateVar int, SaveVar int) uint { | |
| 93 | 98 | ||
| 94 | 99 | cret := xBase64EncodeStep(InVar, LenVar, BreakLinesVar, OutVar, StateVar, SaveVar) | |
| 100 | + | ||
| 95 | 101 | return cret | |
| 96 | 102 | } | |
| 97 | 103 | ||
M v4/glib/gbitlock.go +3 -0
| @@ -59,6 +59,7 @@ var xBitTrylock func(uintptr, int) bool | |||
| 59 | 59 | func BitTrylock(AddressVar uintptr, LockBitVar int) bool { | |
| 60 | 60 | ||
| 61 | 61 | cret := xBitTrylock(AddressVar, LockBitVar) | |
| 62 | + | ||
| 62 | 63 | return cret | |
| 63 | 64 | } | |
| 64 | 65 | ||
| @@ -130,6 +131,7 @@ var xPointerBitLockMaskPtr func(uintptr, uint, bool, uintptr, uintptr) uintptr | |||
| 130 | 131 | func PointerBitLockMaskPtr(PtrVar uintptr, LockBitVar uint, SetVar bool, PreserveMaskVar uintptr, PreservePtrVar uintptr) uintptr { | |
| 131 | 132 | ||
| 132 | 133 | cret := xPointerBitLockMaskPtr(PtrVar, LockBitVar, SetVar, PreserveMaskVar, PreservePtrVar) | |
| 134 | + | ||
| 133 | 135 | return cret | |
| 134 | 136 | } | |
| 135 | 137 | ||
| @@ -146,6 +148,7 @@ var xPointerBitTrylock func(uintptr, int) bool | |||
| 146 | 148 | func PointerBitTrylock(AddressVar uintptr, LockBitVar int) bool { | |
| 147 | 149 | ||
| 148 | 150 | cret := xPointerBitTrylock(AddressVar, LockBitVar) | |
| 151 | + | ||
| 149 | 152 | return cret | |
| 150 | 153 | } | |
| 151 | 154 | ||
M v4/glib/gbookmarkfile.go +68 -6
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package glib | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "runtime" | |
| 5 | 6 | "structs" | |
| 6 | 7 | "unsafe" | |
| 7 | 8 | ||
| @@ -71,6 +72,7 @@ var xNewBookmarkFile func() *BookmarkFile | |||
| 71 | 72 | func NewBookmarkFile() *BookmarkFile { | |
| 72 | 73 | ||
| 73 | 74 | cret := xNewBookmarkFile() | |
| 75 | + | ||
| 74 | 76 | return cret | |
| 75 | 77 | } | |
| 76 | 78 | ||
| @@ -100,7 +102,15 @@ var xBookmarkFileAddApplication func(uintptr, string, uintptr, uintptr) | |||
| 100 | 102 | // If no bookmark for @uri is found, one is created. | |
| 101 | 103 | func (x *BookmarkFile) AddApplication(UriVar string, NameVar *string, ExecVar *string) { | |
| 102 | 104 | ||
| 103 | - | xBookmarkFileAddApplication(x.GoPointer(), UriVar, core.NullableStringToPtr(NameVar), core.NullableStringToPtr(ExecVar)) | |
| 105 | + | NameVarPtr, NameVarBytes := core.NullableStringToPtr(NameVar) | |
| 106 | + | ||
| 107 | + | ExecVarPtr, ExecVarBytes := core.NullableStringToPtr(ExecVar) | |
| 108 | + | ||
| 109 | + | xBookmarkFileAddApplication(x.GoPointer(), UriVar, NameVarPtr, ExecVarPtr) | |
| 110 | + | ||
| 111 | + | runtime.KeepAlive(NameVarBytes) | |
| 112 | + | ||
| 113 | + | runtime.KeepAlive(ExecVarBytes) | |
| 104 | 114 | ||
| 105 | 115 | } | |
| 106 | 116 | ||
| @@ -122,6 +132,7 @@ var xBookmarkFileCopy func(uintptr) *BookmarkFile | |||
| 122 | 132 | func (x *BookmarkFile) Copy() *BookmarkFile { | |
| 123 | 133 | ||
| 124 | 134 | cret := xBookmarkFileCopy(x.GoPointer()) | |
| 135 | + | ||
| 125 | 136 | return cret | |
| 126 | 137 | } | |
| 127 | 138 | ||
| @@ -144,6 +155,7 @@ func (x *BookmarkFile) GetAdded(UriVar string) (int, error) { | |||
| 144 | 155 | var cerr *Error | |
| 145 | 156 | ||
| 146 | 157 | cret := xBookmarkFileGetAdded(x.GoPointer(), UriVar, &cerr) | |
| 158 | + | ||
| 147 | 159 | if cerr == nil { | |
| 148 | 160 | return cret, nil | |
| 149 | 161 | } | |
| @@ -161,6 +173,7 @@ func (x *BookmarkFile) GetAddedDateTime(UriVar string) (*DateTime, error) { | |||
| 161 | 173 | var cerr *Error | |
| 162 | 174 | ||
| 163 | 175 | cret := xBookmarkFileGetAddedDateTime(x.GoPointer(), UriVar, &cerr) | |
| 176 | + | ||
| 164 | 177 | if cerr == nil { | |
| 165 | 178 | return cret, nil | |
| 166 | 179 | } | |
| @@ -187,6 +200,7 @@ func (x *BookmarkFile) GetAppInfo(UriVar string, NameVar string, ExecVar *string | |||
| 187 | 200 | var cerr *Error | |
| 188 | 201 | ||
| 189 | 202 | cret := xBookmarkFileGetAppInfo(x.GoPointer(), UriVar, NameVar, ExecVar, CountVar, StampVar, &cerr) | |
| 203 | + | ||
| 190 | 204 | if cerr == nil { | |
| 191 | 205 | return cret, nil | |
| 192 | 206 | } | |
| @@ -213,6 +227,7 @@ func (x *BookmarkFile) GetApplicationInfo(UriVar string, NameVar string, ExecVar | |||
| 213 | 227 | var cerr *Error | |
| 214 | 228 | ||
| 215 | 229 | cret := xBookmarkFileGetApplicationInfo(x.GoPointer(), UriVar, NameVar, ExecVar, CountVar, StampVar, &cerr) | |
| 230 | + | ||
| 216 | 231 | if cerr == nil { | |
| 217 | 232 | return cret, nil | |
| 218 | 233 | } | |
| @@ -231,6 +246,7 @@ func (x *BookmarkFile) GetApplications(UriVar string, LengthVar *uint) ([]string | |||
| 231 | 246 | var cerr *Error | |
| 232 | 247 | ||
| 233 | 248 | cret := xBookmarkFileGetApplications(x.GoPointer(), UriVar, LengthVar, &cerr) | |
| 249 | + | ||
| 234 | 250 | if cerr == nil { | |
| 235 | 251 | return cret, nil | |
| 236 | 252 | } | |
| @@ -248,6 +264,7 @@ func (x *BookmarkFile) GetDescription(UriVar string) (string, error) { | |||
| 248 | 264 | var cerr *Error | |
| 249 | 265 | ||
| 250 | 266 | cret := xBookmarkFileGetDescription(x.GoPointer(), UriVar, &cerr) | |
| 267 | + | ||
| 251 | 268 | if cerr == nil { | |
| 252 | 269 | return cret, nil | |
| 253 | 270 | } | |
| @@ -268,6 +285,7 @@ func (x *BookmarkFile) GetGroups(UriVar string, LengthVar *uint) ([]string, erro | |||
| 268 | 285 | var cerr *Error | |
| 269 | 286 | ||
| 270 | 287 | cret := xBookmarkFileGetGroups(x.GoPointer(), UriVar, LengthVar, &cerr) | |
| 288 | + | ||
| 271 | 289 | if cerr == nil { | |
| 272 | 290 | return cret, nil | |
| 273 | 291 | } | |
| @@ -285,6 +303,7 @@ func (x *BookmarkFile) GetIcon(UriVar string, HrefVar *string, MimeTypeVar *stri | |||
| 285 | 303 | var cerr *Error | |
| 286 | 304 | ||
| 287 | 305 | cret := xBookmarkFileGetIcon(x.GoPointer(), UriVar, HrefVar, MimeTypeVar, &cerr) | |
| 306 | + | ||
| 288 | 307 | if cerr == nil { | |
| 289 | 308 | return cret, nil | |
| 290 | 309 | } | |
| @@ -304,6 +323,7 @@ func (x *BookmarkFile) GetIsPrivate(UriVar string) (bool, error) { | |||
| 304 | 323 | var cerr *Error | |
| 305 | 324 | ||
| 306 | 325 | cret := xBookmarkFileGetIsPrivate(x.GoPointer(), UriVar, &cerr) | |
| 326 | + | ||
| 307 | 327 | if cerr == nil { | |
| 308 | 328 | return cret, nil | |
| 309 | 329 | } | |
| @@ -323,6 +343,7 @@ func (x *BookmarkFile) GetMimeType(UriVar string) (string, error) { | |||
| 323 | 343 | var cerr *Error | |
| 324 | 344 | ||
| 325 | 345 | cret := xBookmarkFileGetMimeType(x.GoPointer(), UriVar, &cerr) | |
| 346 | + | ||
| 326 | 347 | if cerr == nil { | |
| 327 | 348 | return cret, nil | |
| 328 | 349 | } | |
| @@ -340,6 +361,7 @@ func (x *BookmarkFile) GetModified(UriVar string) (int, error) { | |||
| 340 | 361 | var cerr *Error | |
| 341 | 362 | ||
| 342 | 363 | cret := xBookmarkFileGetModified(x.GoPointer(), UriVar, &cerr) | |
| 364 | + | ||
| 343 | 365 | if cerr == nil { | |
| 344 | 366 | return cret, nil | |
| 345 | 367 | } | |
| @@ -357,6 +379,7 @@ func (x *BookmarkFile) GetModifiedDateTime(UriVar string) (*DateTime, error) { | |||
| 357 | 379 | var cerr *Error | |
| 358 | 380 | ||
| 359 | 381 | cret := xBookmarkFileGetModifiedDateTime(x.GoPointer(), UriVar, &cerr) | |
| 382 | + | ||
| 360 | 383 | if cerr == nil { | |
| 361 | 384 | return cret, nil | |
| 362 | 385 | } | |
| @@ -370,6 +393,7 @@ var xBookmarkFileGetSize func(uintptr) int | |||
| 370 | 393 | func (x *BookmarkFile) GetSize() int { | |
| 371 | 394 | ||
| 372 | 395 | cret := xBookmarkFileGetSize(x.GoPointer()) | |
| 396 | + | ||
| 373 | 397 | return cret | |
| 374 | 398 | } | |
| 375 | 399 | ||
| @@ -384,7 +408,12 @@ var xBookmarkFileGetTitle func(uintptr, uintptr, **Error) string | |||
| 384 | 408 | func (x *BookmarkFile) GetTitle(UriVar *string) (string, error) { | |
| 385 | 409 | var cerr *Error | |
| 386 | 410 | ||
| 387 | - | cret := xBookmarkFileGetTitle(x.GoPointer(), core.NullableStringToPtr(UriVar), &cerr) | |
| 411 | + | UriVarPtr, UriVarBytes := core.NullableStringToPtr(UriVar) | |
| 412 | + | ||
| 413 | + | cret := xBookmarkFileGetTitle(x.GoPointer(), UriVarPtr, &cerr) | |
| 414 | + | ||
| 415 | + | runtime.KeepAlive(UriVarBytes) | |
| 416 | + | ||
| 388 | 417 | if cerr == nil { | |
| 389 | 418 | return cret, nil | |
| 390 | 419 | } | |
| @@ -400,6 +429,7 @@ var xBookmarkFileGetUris func(uintptr, *uint) []string | |||
| 400 | 429 | func (x *BookmarkFile) GetUris(LengthVar *uint) []string { | |
| 401 | 430 | ||
| 402 | 431 | cret := xBookmarkFileGetUris(x.GoPointer(), LengthVar) | |
| 432 | + | ||
| 403 | 433 | return cret | |
| 404 | 434 | } | |
| 405 | 435 | ||
| @@ -413,6 +443,7 @@ func (x *BookmarkFile) GetVisited(UriVar string) (int, error) { | |||
| 413 | 443 | var cerr *Error | |
| 414 | 444 | ||
| 415 | 445 | cret := xBookmarkFileGetVisited(x.GoPointer(), UriVar, &cerr) | |
| 446 | + | ||
| 416 | 447 | if cerr == nil { | |
| 417 | 448 | return cret, nil | |
| 418 | 449 | } | |
| @@ -430,6 +461,7 @@ func (x *BookmarkFile) GetVisitedDateTime(UriVar string) (*DateTime, error) { | |||
| 430 | 461 | var cerr *Error | |
| 431 | 462 | ||
| 432 | 463 | cret := xBookmarkFileGetVisitedDateTime(x.GoPointer(), UriVar, &cerr) | |
| 464 | + | ||
| 433 | 465 | if cerr == nil { | |
| 434 | 466 | return cret, nil | |
| 435 | 467 | } | |
| @@ -448,6 +480,7 @@ func (x *BookmarkFile) HasApplication(UriVar string, NameVar string) (bool, erro | |||
| 448 | 480 | var cerr *Error | |
| 449 | 481 | ||
| 450 | 482 | cret := xBookmarkFileHasApplication(x.GoPointer(), UriVar, NameVar, &cerr) | |
| 483 | + | ||
| 451 | 484 | if cerr == nil { | |
| 452 | 485 | return cret, nil | |
| 453 | 486 | } | |
| @@ -466,6 +499,7 @@ func (x *BookmarkFile) HasGroup(UriVar string, GroupVar string) (bool, error) { | |||
| 466 | 499 | var cerr *Error | |
| 467 | 500 | ||
| 468 | 501 | cret := xBookmarkFileHasGroup(x.GoPointer(), UriVar, GroupVar, &cerr) | |
| 502 | + | ||
| 469 | 503 | if cerr == nil { | |
| 470 | 504 | return cret, nil | |
| 471 | 505 | } | |
| @@ -479,6 +513,7 @@ var xBookmarkFileHasItem func(uintptr, string) bool | |||
| 479 | 513 | func (x *BookmarkFile) HasItem(UriVar string) bool { | |
| 480 | 514 | ||
| 481 | 515 | cret := xBookmarkFileHasItem(x.GoPointer(), UriVar) | |
| 516 | + | ||
| 482 | 517 | return cret | |
| 483 | 518 | } | |
| 484 | 519 | ||
| @@ -491,6 +526,7 @@ func (x *BookmarkFile) LoadFromData(DataVar []byte, LengthVar uint) (bool, error | |||
| 491 | 526 | var cerr *Error | |
| 492 | 527 | ||
| 493 | 528 | cret := xBookmarkFileLoadFromData(x.GoPointer(), DataVar, LengthVar, &cerr) | |
| 529 | + | ||
| 494 | 530 | if cerr == nil { | |
| 495 | 531 | return cret, nil | |
| 496 | 532 | } | |
| @@ -509,6 +545,7 @@ func (x *BookmarkFile) LoadFromDataDirs(FileVar string, FullPathVar *string) (bo | |||
| 509 | 545 | var cerr *Error | |
| 510 | 546 | ||
| 511 | 547 | cret := xBookmarkFileLoadFromDataDirs(x.GoPointer(), FileVar, FullPathVar, &cerr) | |
| 548 | + | ||
| 512 | 549 | if cerr == nil { | |
| 513 | 550 | return cret, nil | |
| 514 | 551 | } | |
| @@ -525,6 +562,7 @@ func (x *BookmarkFile) LoadFromFile(FilenameVar string) (bool, error) { | |||
| 525 | 562 | var cerr *Error | |
| 526 | 563 | ||
| 527 | 564 | cret := xBookmarkFileLoadFromFile(x.GoPointer(), FilenameVar, &cerr) | |
| 565 | + | ||
| 528 | 566 | if cerr == nil { | |
| 529 | 567 | return cret, nil | |
| 530 | 568 | } | |
| @@ -543,7 +581,12 @@ var xBookmarkFileMoveItem func(uintptr, string, uintptr, **Error) bool | |||
| 543 | 581 | func (x *BookmarkFile) MoveItem(OldUriVar string, NewUriVar *string) (bool, error) { | |
| 544 | 582 | var cerr *Error | |
| 545 | 583 | ||
| 546 | - | cret := xBookmarkFileMoveItem(x.GoPointer(), OldUriVar, core.NullableStringToPtr(NewUriVar), &cerr) | |
| 584 | + | NewUriVarPtr, NewUriVarBytes := core.NullableStringToPtr(NewUriVar) | |
| 585 | + | ||
| 586 | + | cret := xBookmarkFileMoveItem(x.GoPointer(), OldUriVar, NewUriVarPtr, &cerr) | |
| 587 | + | ||
| 588 | + | runtime.KeepAlive(NewUriVarBytes) | |
| 589 | + | ||
| 547 | 590 | if cerr == nil { | |
| 548 | 591 | return cret, nil | |
| 549 | 592 | } | |
| @@ -565,6 +608,7 @@ func (x *BookmarkFile) RemoveApplication(UriVar string, NameVar string) (bool, e | |||
| 565 | 608 | var cerr *Error | |
| 566 | 609 | ||
| 567 | 610 | cret := xBookmarkFileRemoveApplication(x.GoPointer(), UriVar, NameVar, &cerr) | |
| 611 | + | ||
| 568 | 612 | if cerr == nil { | |
| 569 | 613 | return cret, nil | |
| 570 | 614 | } | |
| @@ -585,6 +629,7 @@ func (x *BookmarkFile) RemoveGroup(UriVar string, GroupVar string) (bool, error) | |||
| 585 | 629 | var cerr *Error | |
| 586 | 630 | ||
| 587 | 631 | cret := xBookmarkFileRemoveGroup(x.GoPointer(), UriVar, GroupVar, &cerr) | |
| 632 | + | ||
| 588 | 633 | if cerr == nil { | |
| 589 | 634 | return cret, nil | |
| 590 | 635 | } | |
| @@ -599,6 +644,7 @@ func (x *BookmarkFile) RemoveItem(UriVar string) (bool, error) { | |||
| 599 | 644 | var cerr *Error | |
| 600 | 645 | ||
| 601 | 646 | cret := xBookmarkFileRemoveItem(x.GoPointer(), UriVar, &cerr) | |
| 647 | + | ||
| 602 | 648 | if cerr == nil { | |
| 603 | 649 | return cret, nil | |
| 604 | 650 | } | |
| @@ -662,6 +708,7 @@ func (x *BookmarkFile) SetAppInfo(UriVar string, NameVar string, ExecVar string, | |||
| 662 | 708 | var cerr *Error | |
| 663 | 709 | ||
| 664 | 710 | cret := xBookmarkFileSetAppInfo(x.GoPointer(), UriVar, NameVar, ExecVar, CountVar, StampVar, &cerr) | |
| 711 | + | ||
| 665 | 712 | if cerr == nil { | |
| 666 | 713 | return cret, nil | |
| 667 | 714 | } | |
| @@ -702,6 +749,7 @@ func (x *BookmarkFile) SetApplicationInfo(UriVar string, NameVar string, ExecVar | |||
| 702 | 749 | var cerr *Error | |
| 703 | 750 | ||
| 704 | 751 | cret := xBookmarkFileSetApplicationInfo(x.GoPointer(), UriVar, NameVar, ExecVar, CountVar, StampVar, &cerr) | |
| 752 | + | ||
| 705 | 753 | if cerr == nil { | |
| 706 | 754 | return cret, nil | |
| 707 | 755 | } | |
| @@ -718,7 +766,11 @@ var xBookmarkFileSetDescription func(uintptr, uintptr, string) | |||
| 718 | 766 | // If a bookmark for @uri cannot be found then it is created. | |
| 719 | 767 | func (x *BookmarkFile) SetDescription(UriVar *string, DescriptionVar string) { | |
| 720 | 768 | ||
| 721 | - | xBookmarkFileSetDescription(x.GoPointer(), core.NullableStringToPtr(UriVar), DescriptionVar) | |
| 769 | + | UriVarPtr, UriVarBytes := core.NullableStringToPtr(UriVar) | |
| 770 | + | ||
| 771 | + | xBookmarkFileSetDescription(x.GoPointer(), UriVarPtr, DescriptionVar) | |
| 772 | + | ||
| 773 | + | runtime.KeepAlive(UriVarBytes) | |
| 722 | 774 | ||
| 723 | 775 | } | |
| 724 | 776 | ||
| @@ -743,7 +795,11 @@ var xBookmarkFileSetIcon func(uintptr, string, uintptr, string) | |||
| 743 | 795 | // If no bookmark for @uri is found one is created. | |
| 744 | 796 | func (x *BookmarkFile) SetIcon(UriVar string, HrefVar *string, MimeTypeVar string) { | |
| 745 | 797 | ||
| 746 | - | xBookmarkFileSetIcon(x.GoPointer(), UriVar, core.NullableStringToPtr(HrefVar), MimeTypeVar) | |
| 798 | + | HrefVarPtr, HrefVarBytes := core.NullableStringToPtr(HrefVar) | |
| 799 | + | ||
| 800 | + | xBookmarkFileSetIcon(x.GoPointer(), UriVar, HrefVarPtr, MimeTypeVar) | |
| 801 | + | ||
| 802 | + | runtime.KeepAlive(HrefVarBytes) | |
| 747 | 803 | ||
| 748 | 804 | } | |
| 749 | 805 | ||
| @@ -811,7 +867,11 @@ var xBookmarkFileSetTitle func(uintptr, uintptr, string) | |||
| 811 | 867 | // If a bookmark for @uri cannot be found then it is created. | |
| 812 | 868 | func (x *BookmarkFile) SetTitle(UriVar *string, TitleVar string) { | |
| 813 | 869 | ||
| 814 | - | xBookmarkFileSetTitle(x.GoPointer(), core.NullableStringToPtr(UriVar), TitleVar) | |
| 870 | + | UriVarPtr, UriVarBytes := core.NullableStringToPtr(UriVar) | |
| 871 | + | ||
| 872 | + | xBookmarkFileSetTitle(x.GoPointer(), UriVarPtr, TitleVar) | |
| 873 | + | ||
| 874 | + | runtime.KeepAlive(UriVarBytes) | |
| 815 | 875 | ||
| 816 | 876 | } | |
| 817 | 877 | ||
| @@ -856,6 +916,7 @@ func (x *BookmarkFile) ToData(LengthVar *uint) (uintptr, error) { | |||
| 856 | 916 | var cerr *Error | |
| 857 | 917 | ||
| 858 | 918 | cret := xBookmarkFileToData(x.GoPointer(), LengthVar, &cerr) | |
| 919 | + | ||
| 859 | 920 | if cerr == nil { | |
| 860 | 921 | return cret, nil | |
| 861 | 922 | } | |
| @@ -871,6 +932,7 @@ func (x *BookmarkFile) ToFile(FilenameVar string) (bool, error) { | |||
| 871 | 932 | var cerr *Error | |
| 872 | 933 | ||
| 873 | 934 | cret := xBookmarkFileToFile(x.GoPointer(), FilenameVar, &cerr) | |
| 935 | + | ||
| 874 | 936 | if cerr == nil { | |
| 875 | 937 | return cret, nil | |
| 876 | 938 | } | |
M v4/glib/gcache.go +1 -0
| @@ -67,6 +67,7 @@ var xCacheInsert func(uintptr, uintptr) uintptr | |||
| 67 | 67 | func (x *Cache) Insert(KeyVar uintptr) uintptr { | |
| 68 | 68 | ||
| 69 | 69 | cret := xCacheInsert(x.GoPointer(), KeyVar) | |
| 70 | + | ||
| 70 | 71 | return cret | |
| 71 | 72 | } | |
| 72 | 73 | ||
M v4/glib/gcharset.go +6 -0
| @@ -32,6 +32,7 @@ var xGetCharset func(*string) bool | |||
| 32 | 32 | func GetCharset(CharsetVar *string) bool { | |
| 33 | 33 | ||
| 34 | 34 | cret := xGetCharset(CharsetVar) | |
| 35 | + | ||
| 35 | 36 | return cret | |
| 36 | 37 | } | |
| 37 | 38 | ||
| @@ -41,6 +42,7 @@ var xGetCodeset func() string | |||
| 41 | 42 | func GetCodeset() string { | |
| 42 | 43 | ||
| 43 | 44 | cret := xGetCodeset() | |
| 45 | + | ||
| 44 | 46 | return cret | |
| 45 | 47 | } | |
| 46 | 48 | ||
| @@ -66,6 +68,7 @@ var xGetConsoleCharset func(*string) bool | |||
| 66 | 68 | func GetConsoleCharset(CharsetVar *string) bool { | |
| 67 | 69 | ||
| 68 | 70 | cret := xGetConsoleCharset(CharsetVar) | |
| 71 | + | ||
| 69 | 72 | return cret | |
| 70 | 73 | } | |
| 71 | 74 | ||
| @@ -85,6 +88,7 @@ var xGetLanguageNames func() []string | |||
| 85 | 88 | func GetLanguageNames() []string { | |
| 86 | 89 | ||
| 87 | 90 | cret := xGetLanguageNames() | |
| 91 | + | ||
| 88 | 92 | return cret | |
| 89 | 93 | } | |
| 90 | 94 | ||
| @@ -103,6 +107,7 @@ var xGetLanguageNamesWithCategory func(string) []string | |||
| 103 | 107 | func GetLanguageNamesWithCategory(CategoryNameVar string) []string { | |
| 104 | 108 | ||
| 105 | 109 | cret := xGetLanguageNamesWithCategory(CategoryNameVar) | |
| 110 | + | ||
| 106 | 111 | return cret | |
| 107 | 112 | } | |
| 108 | 113 | ||
| @@ -126,6 +131,7 @@ var xGetLocaleVariants func(string) []string | |||
| 126 | 131 | func GetLocaleVariants(LocaleVar string) []string { | |
| 127 | 132 | ||
| 128 | 133 | cret := xGetLocaleVariants(LocaleVar) | |
| 134 | + | ||
| 129 | 135 | return cret | |
| 130 | 136 | } | |
| 131 | 137 | ||
M v4/glib/gchecksum.go +7 -0
| @@ -58,6 +58,7 @@ var xNewChecksum func(ChecksumType) *Checksum | |||
| 58 | 58 | func NewChecksum(ChecksumTypeVar ChecksumType) *Checksum { | |
| 59 | 59 | ||
| 60 | 60 | cret := xNewChecksum(ChecksumTypeVar) | |
| 61 | + | ||
| 61 | 62 | return cret | |
| 62 | 63 | } | |
| 63 | 64 | ||
| @@ -69,6 +70,7 @@ var xChecksumCopy func(uintptr) *Checksum | |||
| 69 | 70 | func (x *Checksum) Copy() *Checksum { | |
| 70 | 71 | ||
| 71 | 72 | cret := xChecksumCopy(x.GoPointer()) | |
| 73 | + | ||
| 72 | 74 | return cret | |
| 73 | 75 | } | |
| 74 | 76 | ||
| @@ -105,6 +107,7 @@ var xChecksumGetString func(uintptr) string | |||
| 105 | 107 | func (x *Checksum) GetString() string { | |
| 106 | 108 | ||
| 107 | 109 | cret := xChecksumGetString(x.GoPointer()) | |
| 110 | + | ||
| 108 | 111 | return cret | |
| 109 | 112 | } | |
| 110 | 113 | ||
| @@ -155,6 +158,7 @@ var xChecksumTypeGetLength func(ChecksumType) int | |||
| 155 | 158 | func ChecksumTypeGetLength(ChecksumTypeVar ChecksumType) int { | |
| 156 | 159 | ||
| 157 | 160 | cret := xChecksumTypeGetLength(ChecksumTypeVar) | |
| 161 | + | ||
| 158 | 162 | return cret | |
| 159 | 163 | } | |
| 160 | 164 | ||
| @@ -168,6 +172,7 @@ var xComputeChecksumForBytes func(ChecksumType, *Bytes) string | |||
| 168 | 172 | func ComputeChecksumForBytes(ChecksumTypeVar ChecksumType, DataVar *Bytes) string { | |
| 169 | 173 | ||
| 170 | 174 | cret := xComputeChecksumForBytes(ChecksumTypeVar, DataVar) | |
| 175 | + | ||
| 171 | 176 | return cret | |
| 172 | 177 | } | |
| 173 | 178 | ||
| @@ -181,6 +186,7 @@ var xComputeChecksumForData func(ChecksumType, []byte, uint) string | |||
| 181 | 186 | func ComputeChecksumForData(ChecksumTypeVar ChecksumType, DataVar []byte, LengthVar uint) string { | |
| 182 | 187 | ||
| 183 | 188 | cret := xComputeChecksumForData(ChecksumTypeVar, DataVar, LengthVar) | |
| 189 | + | ||
| 184 | 190 | return cret | |
| 185 | 191 | } | |
| 186 | 192 | ||
| @@ -192,6 +198,7 @@ var xComputeChecksumForString func(ChecksumType, string, int) string | |||
| 192 | 198 | func ComputeChecksumForString(ChecksumTypeVar ChecksumType, StrVar string, LengthVar int) string { | |
| 193 | 199 | ||
| 194 | 200 | cret := xComputeChecksumForString(ChecksumTypeVar, StrVar, LengthVar) | |
| 201 | + | ||
| 195 | 202 | return cret | |
| 196 | 203 | } | |
| 197 | 204 | ||
M v4/glib/gcompletion.go +2 -0
| @@ -85,6 +85,7 @@ var xCompletionComplete func(uintptr, string, string) *List | |||
| 85 | 85 | func (x *Completion) Complete(PrefixVar string, NewPrefixVar string) *List { | |
| 86 | 86 | ||
| 87 | 87 | cret := xCompletionComplete(x.GoPointer(), PrefixVar, NewPrefixVar) | |
| 88 | + | ||
| 88 | 89 | return cret | |
| 89 | 90 | } | |
| 90 | 91 | ||
| @@ -100,6 +101,7 @@ var xCompletionCompleteUtf8 func(uintptr, string, string) *List | |||
| 100 | 101 | func (x *Completion) CompleteUtf8(PrefixVar string, NewPrefixVar string) *List { | |
| 101 | 102 | ||
| 102 | 103 | cret := xCompletionCompleteUtf8(x.GoPointer(), PrefixVar, NewPrefixVar) | |
| 104 | + | ||
| 103 | 105 | return cret | |
| 104 | 106 | } | |
| 105 | 107 | ||
M v4/glib/gconvert.go +23 -1
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package glib | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "runtime" | |
| 5 | 6 | "structs" | |
| 6 | 7 | "unsafe" | |
| 7 | 8 | ||
| @@ -40,6 +41,7 @@ var xIConvGIconv func(uintptr, string, uint, string, uint) uint | |||
| 40 | 41 | func (x *IConv) GIconv(InbufVar string, InbytesLeftVar uint, OutbufVar string, OutbytesLeftVar uint) uint { | |
| 41 | 42 | ||
| 42 | 43 | cret := xIConvGIconv(x.GoPointer(), InbufVar, InbytesLeftVar, OutbufVar, OutbytesLeftVar) | |
| 44 | + | ||
| 43 | 45 | return cret | |
| 44 | 46 | } | |
| 45 | 47 | ||
| @@ -56,6 +58,7 @@ var xIConvClose func(uintptr) int | |||
| 56 | 58 | func (x *IConv) Close() int { | |
| 57 | 59 | ||
| 58 | 60 | cret := xIConvClose(x.GoPointer()) | |
| 61 | + | ||
| 59 | 62 | return cret | |
| 60 | 63 | } | |
| 61 | 64 | ||
| @@ -107,6 +110,7 @@ func Convert(StrVar []byte, LenVar int, ToCodesetVar string, FromCodesetVar stri | |||
| 107 | 110 | var cerr *Error | |
| 108 | 111 | ||
| 109 | 112 | cret := xConvert(StrVar, LenVar, ToCodesetVar, FromCodesetVar, BytesReadVar, BytesWrittenVar, &cerr) | |
| 113 | + | ||
| 110 | 114 | if cerr == nil { | |
| 111 | 115 | return cret, nil | |
| 112 | 116 | } | |
| @@ -137,6 +141,7 @@ func ConvertWithFallback(StrVar []byte, LenVar int, ToCodesetVar string, FromCod | |||
| 137 | 141 | var cerr *Error | |
| 138 | 142 | ||
| 139 | 143 | cret := xConvertWithFallback(StrVar, LenVar, ToCodesetVar, FromCodesetVar, FallbackVar, BytesReadVar, BytesWrittenVar, &cerr) | |
| 144 | + | ||
| 140 | 145 | if cerr == nil { | |
| 141 | 146 | return cret, nil | |
| 142 | 147 | } | |
| @@ -169,6 +174,7 @@ func ConvertWithIconv(StrVar []byte, LenVar int, ConverterVar uintptr, BytesRead | |||
| 169 | 174 | var cerr *Error | |
| 170 | 175 | ||
| 171 | 176 | cret := xConvertWithIconv(StrVar, LenVar, ConverterVar, BytesReadVar, BytesWrittenVar, &cerr) | |
| 177 | + | ||
| 172 | 178 | if cerr == nil { | |
| 173 | 179 | return cret, nil | |
| 174 | 180 | } | |
| @@ -197,6 +203,7 @@ var xFilenameDisplayBasename func(string) string | |||
| 197 | 203 | func FilenameDisplayBasename(FilenameVar string) string { | |
| 198 | 204 | ||
| 199 | 205 | cret := xFilenameDisplayBasename(FilenameVar) | |
| 206 | + | ||
| 200 | 207 | return cret | |
| 201 | 208 | } | |
| 202 | 209 | ||
| @@ -220,6 +227,7 @@ var xFilenameDisplayName func(string) string | |||
| 220 | 227 | func FilenameDisplayName(FilenameVar string) string { | |
| 221 | 228 | ||
| 222 | 229 | cret := xFilenameDisplayName(FilenameVar) | |
| 230 | + | ||
| 223 | 231 | return cret | |
| 224 | 232 | } | |
| 225 | 233 | ||
| @@ -236,6 +244,7 @@ func FilenameFromUri(UriVar string, HostnameVar *string) (string, error) { | |||
| 236 | 244 | var cerr *Error | |
| 237 | 245 | ||
| 238 | 246 | cret := xFilenameFromUri(UriVar, HostnameVar, &cerr) | |
| 247 | + | ||
| 239 | 248 | if cerr == nil { | |
| 240 | 249 | return cret, nil | |
| 241 | 250 | } | |
| @@ -259,6 +268,7 @@ func FilenameFromUtf8(Utf8stringVar string, LenVar int, BytesReadVar *uint, Byte | |||
| 259 | 268 | var cerr *Error | |
| 260 | 269 | ||
| 261 | 270 | cret := xFilenameFromUtf8(Utf8stringVar, LenVar, BytesReadVar, BytesWrittenVar, &cerr) | |
| 271 | + | ||
| 262 | 272 | if cerr == nil { | |
| 263 | 273 | return cret, nil | |
| 264 | 274 | } | |
| @@ -273,7 +283,12 @@ var xFilenameToUri func(string, uintptr, **Error) string | |||
| 273 | 283 | func FilenameToUri(FilenameVar string, HostnameVar *string) (string, error) { | |
| 274 | 284 | var cerr *Error | |
| 275 | 285 | ||
| 276 | - | cret := xFilenameToUri(FilenameVar, core.NullableStringToPtr(HostnameVar), &cerr) | |
| 286 | + | HostnameVarPtr, HostnameVarBytes := core.NullableStringToPtr(HostnameVar) | |
| 287 | + | ||
| 288 | + | cret := xFilenameToUri(FilenameVar, HostnameVarPtr, &cerr) | |
| 289 | + | ||
| 290 | + | runtime.KeepAlive(HostnameVarBytes) | |
| 291 | + | ||
| 277 | 292 | if cerr == nil { | |
| 278 | 293 | return cret, nil | |
| 279 | 294 | } | |
| @@ -299,6 +314,7 @@ func FilenameToUtf8(OpsysstringVar string, LenVar int, BytesReadVar *uint, Bytes | |||
| 299 | 314 | var cerr *Error | |
| 300 | 315 | ||
| 301 | 316 | cret := xFilenameToUtf8(OpsysstringVar, LenVar, BytesReadVar, BytesWrittenVar, &cerr) | |
| 317 | + | ||
| 302 | 318 | if cerr == nil { | |
| 303 | 319 | return cret, nil | |
| 304 | 320 | } | |
| @@ -335,6 +351,7 @@ var xGetFilenameCharsets func(*[]string) bool | |||
| 335 | 351 | func GetFilenameCharsets(FilenameCharsetsVar *[]string) bool { | |
| 336 | 352 | ||
| 337 | 353 | cret := xGetFilenameCharsets(FilenameCharsetsVar) | |
| 354 | + | ||
| 338 | 355 | return cret | |
| 339 | 356 | } | |
| 340 | 357 | ||
| @@ -359,6 +376,7 @@ var xIconv func(uintptr, string, uint, string, uint) uint | |||
| 359 | 376 | func Iconv(ConverterVar uintptr, InbufVar string, InbytesLeftVar uint, OutbufVar string, OutbytesLeftVar uint) uint { | |
| 360 | 377 | ||
| 361 | 378 | cret := xIconv(ConverterVar, InbufVar, InbytesLeftVar, OutbufVar, OutbytesLeftVar) | |
| 379 | + | ||
| 362 | 380 | return cret | |
| 363 | 381 | } | |
| 364 | 382 | ||
| @@ -373,6 +391,7 @@ var xIconvOpen func(string, string) uintptr | |||
| 373 | 391 | func IconvOpen(ToCodesetVar string, FromCodesetVar string) uintptr { | |
| 374 | 392 | ||
| 375 | 393 | cret := xIconvOpen(ToCodesetVar, FromCodesetVar) | |
| 394 | + | ||
| 376 | 395 | return cret | |
| 377 | 396 | } | |
| 378 | 397 | ||
| @@ -391,6 +410,7 @@ func LocaleFromUtf8(Utf8stringVar string, LenVar int, BytesReadVar *uint, BytesW | |||
| 391 | 410 | var cerr *Error | |
| 392 | 411 | ||
| 393 | 412 | cret := xLocaleFromUtf8(Utf8stringVar, LenVar, BytesReadVar, BytesWrittenVar, &cerr) | |
| 413 | + | ||
| 394 | 414 | if cerr == nil { | |
| 395 | 415 | return cret, nil | |
| 396 | 416 | } | |
| @@ -415,6 +435,7 @@ func LocaleToUtf8(OpsysstringVar []byte, LenVar int, BytesReadVar *uint, BytesWr | |||
| 415 | 435 | var cerr *Error | |
| 416 | 436 | ||
| 417 | 437 | cret := xLocaleToUtf8(OpsysstringVar, LenVar, BytesReadVar, BytesWrittenVar, &cerr) | |
| 438 | + | ||
| 418 | 439 | if cerr == nil { | |
| 419 | 440 | return cret, nil | |
| 420 | 441 | } | |
| @@ -430,6 +451,7 @@ var xUriListExtractUris func(string) []string | |||
| 430 | 451 | func UriListExtractUris(UriListVar string) []string { | |
| 431 | 452 | ||
| 432 | 453 | cret := xUriListExtractUris(UriListVar) | |
| 454 | + | ||
| 433 | 455 | return cret | |
| 434 | 456 | } | |
| 435 | 457 | ||
M v4/glib/gdataset.go +8 -0
| @@ -89,6 +89,7 @@ var xDatalistGetData func(**Data, string) uintptr | |||
| 89 | 89 | func DatalistGetData(DatalistVar **Data, KeyVar string) uintptr { | |
| 90 | 90 | ||
| 91 | 91 | cret := xDatalistGetData(DatalistVar, KeyVar) | |
| 92 | + | ||
| 92 | 93 | return cret | |
| 93 | 94 | } | |
| 94 | 95 | ||
| @@ -99,6 +100,7 @@ var xDatalistGetFlags func(**Data) uint | |||
| 99 | 100 | func DatalistGetFlags(DatalistVar **Data) uint { | |
| 100 | 101 | ||
| 101 | 102 | cret := xDatalistGetFlags(DatalistVar) | |
| 103 | + | ||
| 102 | 104 | return cret | |
| 103 | 105 | } | |
| 104 | 106 | ||
| @@ -135,6 +137,7 @@ func DatalistIdDupData(DatalistVar **Data, KeyIdVar Quark, DupFuncVar *Duplicate | |||
| 135 | 137 | } | |
| 136 | 138 | ||
| 137 | 139 | cret := xDatalistIdDupData(DatalistVar, KeyIdVar, DupFuncVarRef, UserDataVar) | |
| 140 | + | ||
| 138 | 141 | return cret | |
| 139 | 142 | } | |
| 140 | 143 | ||
| @@ -144,6 +147,7 @@ var xDatalistIdGetData func(**Data, Quark) uintptr | |||
| 144 | 147 | func DatalistIdGetData(DatalistVar **Data, KeyIdVar Quark) uintptr { | |
| 145 | 148 | ||
| 146 | 149 | cret := xDatalistIdGetData(DatalistVar, KeyIdVar) | |
| 150 | + | ||
| 147 | 151 | return cret | |
| 148 | 152 | } | |
| 149 | 153 | ||
| @@ -169,6 +173,7 @@ var xDatalistIdRemoveNoNotify func(**Data, Quark) uintptr | |||
| 169 | 173 | func DatalistIdRemoveNoNotify(DatalistVar **Data, KeyIdVar Quark) uintptr { | |
| 170 | 174 | ||
| 171 | 175 | cret := xDatalistIdRemoveNoNotify(DatalistVar, KeyIdVar) | |
| 176 | + | ||
| 172 | 177 | return cret | |
| 173 | 178 | } | |
| 174 | 179 | ||
| @@ -205,6 +210,7 @@ func DatalistIdReplaceData(DatalistVar **Data, KeyIdVar Quark, OldvalVar uintptr | |||
| 205 | 210 | } | |
| 206 | 211 | ||
| 207 | 212 | cret := xDatalistIdReplaceData(DatalistVar, KeyIdVar, OldvalVar, NewvalVar, DestroyVarRef, OldDestroyVar) | |
| 213 | + | ||
| 208 | 214 | return cret | |
| 209 | 215 | } | |
| 210 | 216 | ||
| @@ -315,6 +321,7 @@ var xDatasetIdGetData func(uintptr, Quark) uintptr | |||
| 315 | 321 | func DatasetIdGetData(DatasetLocationVar uintptr, KeyIdVar Quark) uintptr { | |
| 316 | 322 | ||
| 317 | 323 | cret := xDatasetIdGetData(DatasetLocationVar, KeyIdVar) | |
| 324 | + | ||
| 318 | 325 | return cret | |
| 319 | 326 | } | |
| 320 | 327 | ||
| @@ -325,6 +332,7 @@ var xDatasetIdRemoveNoNotify func(uintptr, Quark) uintptr | |||
| 325 | 332 | func DatasetIdRemoveNoNotify(DatasetLocationVar uintptr, KeyIdVar Quark) uintptr { | |
| 326 | 333 | ||
| 327 | 334 | cret := xDatasetIdRemoveNoNotify(DatasetLocationVar, KeyIdVar) | |
| 335 | + | ||
| 328 | 336 | return cret | |
| 329 | 337 | } | |
| 330 | 338 | ||
M v4/glib/gdate.go +31 -0
| @@ -84,6 +84,7 @@ var xNewDate func() *Date | |||
| 84 | 84 | func NewDate() *Date { | |
| 85 | 85 | ||
| 86 | 86 | cret := xNewDate() | |
| 87 | + | ||
| 87 | 88 | return cret | |
| 88 | 89 | } | |
| 89 | 90 | ||
| @@ -97,6 +98,7 @@ var xNewDateDmy func(DateDay, DateMonth, DateYear) *Date | |||
| 97 | 98 | func NewDateDmy(DayVar DateDay, MonthVar DateMonth, YearVar DateYear) *Date { | |
| 98 | 99 | ||
| 99 | 100 | cret := xNewDateDmy(DayVar, MonthVar, YearVar) | |
| 101 | + | ||
| 100 | 102 | return cret | |
| 101 | 103 | } | |
| 102 | 104 | ||
| @@ -110,6 +112,7 @@ var xNewDateJulian func(uint32) *Date | |||
| 110 | 112 | func NewDateJulian(JulianDayVar uint32) *Date { | |
| 111 | 113 | ||
| 112 | 114 | cret := xNewDateJulian(JulianDayVar) | |
| 115 | + | ||
| 113 | 116 | return cret | |
| 114 | 117 | } | |
| 115 | 118 | ||
| @@ -181,6 +184,7 @@ var xDateCompare func(uintptr, *Date) int | |||
| 181 | 184 | func (x *Date) Compare(RhsVar *Date) int { | |
| 182 | 185 | ||
| 183 | 186 | cret := xDateCompare(x.GoPointer(), RhsVar) | |
| 187 | + | ||
| 184 | 188 | return cret | |
| 185 | 189 | } | |
| 186 | 190 | ||
| @@ -192,6 +196,7 @@ var xDateCopy func(uintptr) *Date | |||
| 192 | 196 | func (x *Date) Copy() *Date { | |
| 193 | 197 | ||
| 194 | 198 | cret := xDateCopy(x.GoPointer()) | |
| 199 | + | ||
| 195 | 200 | return cret | |
| 196 | 201 | } | |
| 197 | 202 | ||
| @@ -203,6 +208,7 @@ var xDateDaysBetween func(uintptr, *Date) int | |||
| 203 | 208 | func (x *Date) DaysBetween(Date2Var *Date) int { | |
| 204 | 209 | ||
| 205 | 210 | cret := xDateDaysBetween(x.GoPointer(), Date2Var) | |
| 211 | + | ||
| 206 | 212 | return cret | |
| 207 | 213 | } | |
| 208 | 214 | ||
| @@ -221,6 +227,7 @@ var xDateGetDay func(uintptr) DateDay | |||
| 221 | 227 | func (x *Date) GetDay() DateDay { | |
| 222 | 228 | ||
| 223 | 229 | cret := xDateGetDay(x.GoPointer()) | |
| 230 | + | ||
| 224 | 231 | return cret | |
| 225 | 232 | } | |
| 226 | 233 | ||
| @@ -231,6 +238,7 @@ var xDateGetDayOfYear func(uintptr) uint | |||
| 231 | 238 | func (x *Date) GetDayOfYear() uint { | |
| 232 | 239 | ||
| 233 | 240 | cret := xDateGetDayOfYear(x.GoPointer()) | |
| 241 | + | ||
| 234 | 242 | return cret | |
| 235 | 243 | } | |
| 236 | 244 | ||
| @@ -241,6 +249,7 @@ var xDateGetIso8601WeekOfYear func(uintptr) uint | |||
| 241 | 249 | func (x *Date) GetIso8601WeekOfYear() uint { | |
| 242 | 250 | ||
| 243 | 251 | cret := xDateGetIso8601WeekOfYear(x.GoPointer()) | |
| 252 | + | ||
| 244 | 253 | return cret | |
| 245 | 254 | } | |
| 246 | 255 | ||
| @@ -253,6 +262,7 @@ var xDateGetJulian func(uintptr) uint32 | |||
| 253 | 262 | func (x *Date) GetJulian() uint32 { | |
| 254 | 263 | ||
| 255 | 264 | cret := xDateGetJulian(x.GoPointer()) | |
| 265 | + | ||
| 256 | 266 | return cret | |
| 257 | 267 | } | |
| 258 | 268 | ||
| @@ -264,6 +274,7 @@ var xDateGetMondayWeekOfYear func(uintptr) uint | |||
| 264 | 274 | func (x *Date) GetMondayWeekOfYear() uint { | |
| 265 | 275 | ||
| 266 | 276 | cret := xDateGetMondayWeekOfYear(x.GoPointer()) | |
| 277 | + | ||
| 267 | 278 | return cret | |
| 268 | 279 | } | |
| 269 | 280 | ||
| @@ -273,6 +284,7 @@ var xDateGetMonth func(uintptr) DateMonth | |||
| 273 | 284 | func (x *Date) GetMonth() DateMonth { | |
| 274 | 285 | ||
| 275 | 286 | cret := xDateGetMonth(x.GoPointer()) | |
| 287 | + | ||
| 276 | 288 | return cret | |
| 277 | 289 | } | |
| 278 | 290 | ||
| @@ -284,6 +296,7 @@ var xDateGetSundayWeekOfYear func(uintptr) uint | |||
| 284 | 296 | func (x *Date) GetSundayWeekOfYear() uint { | |
| 285 | 297 | ||
| 286 | 298 | cret := xDateGetSundayWeekOfYear(x.GoPointer()) | |
| 299 | + | ||
| 287 | 300 | return cret | |
| 288 | 301 | } | |
| 289 | 302 | ||
| @@ -300,6 +313,7 @@ var xDateGetWeekOfYear func(uintptr, DateWeekday) uint | |||
| 300 | 313 | func (x *Date) GetWeekOfYear(FirstDayOfWeekVar DateWeekday) uint { | |
| 301 | 314 | ||
| 302 | 315 | cret := xDateGetWeekOfYear(x.GoPointer(), FirstDayOfWeekVar) | |
| 316 | + | ||
| 303 | 317 | return cret | |
| 304 | 318 | } | |
| 305 | 319 | ||
| @@ -309,6 +323,7 @@ var xDateGetWeekday func(uintptr) DateWeekday | |||
| 309 | 323 | func (x *Date) GetWeekday() DateWeekday { | |
| 310 | 324 | ||
| 311 | 325 | cret := xDateGetWeekday(x.GoPointer()) | |
| 326 | + | ||
| 312 | 327 | return cret | |
| 313 | 328 | } | |
| 314 | 329 | ||
| @@ -318,6 +333,7 @@ var xDateGetYear func(uintptr) DateYear | |||
| 318 | 333 | func (x *Date) GetYear() DateYear { | |
| 319 | 334 | ||
| 320 | 335 | cret := xDateGetYear(x.GoPointer()) | |
| 336 | + | ||
| 321 | 337 | return cret | |
| 322 | 338 | } | |
| 323 | 339 | ||
| @@ -328,6 +344,7 @@ var xDateIsFirstOfMonth func(uintptr) bool | |||
| 328 | 344 | func (x *Date) IsFirstOfMonth() bool { | |
| 329 | 345 | ||
| 330 | 346 | cret := xDateIsFirstOfMonth(x.GoPointer()) | |
| 347 | + | ||
| 331 | 348 | return cret | |
| 332 | 349 | } | |
| 333 | 350 | ||
| @@ -338,6 +355,7 @@ var xDateIsLastOfMonth func(uintptr) bool | |||
| 338 | 355 | func (x *Date) IsLastOfMonth() bool { | |
| 339 | 356 | ||
| 340 | 357 | cret := xDateIsLastOfMonth(x.GoPointer()) | |
| 358 | + | ||
| 341 | 359 | return cret | |
| 342 | 360 | } | |
| 343 | 361 | ||
| @@ -519,6 +537,7 @@ var xDateValid func(uintptr) bool | |||
| 519 | 537 | func (x *Date) Valid() bool { | |
| 520 | 538 | ||
| 521 | 539 | cret := xDateValid(x.GoPointer()) | |
| 540 | + | ||
| 522 | 541 | return cret | |
| 523 | 542 | } | |
| 524 | 543 | ||
| @@ -647,6 +666,7 @@ var xDateGetDaysInMonth func(DateMonth, DateYear) byte | |||
| 647 | 666 | func DateGetDaysInMonth(MonthVar DateMonth, YearVar DateYear) byte { | |
| 648 | 667 | ||
| 649 | 668 | cret := xDateGetDaysInMonth(MonthVar, YearVar) | |
| 669 | + | ||
| 650 | 670 | return cret | |
| 651 | 671 | } | |
| 652 | 672 | ||
| @@ -662,6 +682,7 @@ var xDateGetMondayWeeksInYear func(DateYear) byte | |||
| 662 | 682 | func DateGetMondayWeeksInYear(YearVar DateYear) byte { | |
| 663 | 683 | ||
| 664 | 684 | cret := xDateGetMondayWeeksInYear(YearVar) | |
| 685 | + | ||
| 665 | 686 | return cret | |
| 666 | 687 | } | |
| 667 | 688 | ||
| @@ -677,6 +698,7 @@ var xDateGetSundayWeeksInYear func(DateYear) byte | |||
| 677 | 698 | func DateGetSundayWeeksInYear(YearVar DateYear) byte { | |
| 678 | 699 | ||
| 679 | 700 | cret := xDateGetSundayWeeksInYear(YearVar) | |
| 701 | + | ||
| 680 | 702 | return cret | |
| 681 | 703 | } | |
| 682 | 704 | ||
| @@ -694,6 +716,7 @@ var xDateGetWeeksInYear func(DateYear, DateWeekday) byte | |||
| 694 | 716 | func DateGetWeeksInYear(YearVar DateYear, FirstDayOfWeekVar DateWeekday) byte { | |
| 695 | 717 | ||
| 696 | 718 | cret := xDateGetWeeksInYear(YearVar, FirstDayOfWeekVar) | |
| 719 | + | ||
| 697 | 720 | return cret | |
| 698 | 721 | } | |
| 699 | 722 | ||
| @@ -708,6 +731,7 @@ var xDateIsLeapYear func(DateYear) bool | |||
| 708 | 731 | func DateIsLeapYear(YearVar DateYear) bool { | |
| 709 | 732 | ||
| 710 | 733 | cret := xDateIsLeapYear(YearVar) | |
| 734 | + | ||
| 711 | 735 | return cret | |
| 712 | 736 | } | |
| 713 | 737 | ||
| @@ -729,6 +753,7 @@ var xDateStrftime func(string, uint, string, *Date) uint | |||
| 729 | 753 | func DateStrftime(SVar string, SlenVar uint, FormatVar string, DateVar *Date) uint { | |
| 730 | 754 | ||
| 731 | 755 | cret := xDateStrftime(SVar, SlenVar, FormatVar, DateVar) | |
| 756 | + | ||
| 732 | 757 | return cret | |
| 733 | 758 | } | |
| 734 | 759 | ||
| @@ -739,6 +764,7 @@ var xDateValidDay func(DateDay) bool | |||
| 739 | 764 | func DateValidDay(DayVar DateDay) bool { | |
| 740 | 765 | ||
| 741 | 766 | cret := xDateValidDay(DayVar) | |
| 767 | + | ||
| 742 | 768 | return cret | |
| 743 | 769 | } | |
| 744 | 770 | ||
| @@ -750,6 +776,7 @@ var xDateValidDmy func(DateDay, DateMonth, DateYear) bool | |||
| 750 | 776 | func DateValidDmy(DayVar DateDay, MonthVar DateMonth, YearVar DateYear) bool { | |
| 751 | 777 | ||
| 752 | 778 | cret := xDateValidDmy(DayVar, MonthVar, YearVar) | |
| 779 | + | ||
| 753 | 780 | return cret | |
| 754 | 781 | } | |
| 755 | 782 | ||
| @@ -760,6 +787,7 @@ var xDateValidJulian func(uint32) bool | |||
| 760 | 787 | func DateValidJulian(JulianDateVar uint32) bool { | |
| 761 | 788 | ||
| 762 | 789 | cret := xDateValidJulian(JulianDateVar) | |
| 790 | + | ||
| 763 | 791 | return cret | |
| 764 | 792 | } | |
| 765 | 793 | ||
| @@ -770,6 +798,7 @@ var xDateValidMonth func(DateMonth) bool | |||
| 770 | 798 | func DateValidMonth(MonthVar DateMonth) bool { | |
| 771 | 799 | ||
| 772 | 800 | cret := xDateValidMonth(MonthVar) | |
| 801 | + | ||
| 773 | 802 | return cret | |
| 774 | 803 | } | |
| 775 | 804 | ||
| @@ -780,6 +809,7 @@ var xDateValidWeekday func(DateWeekday) bool | |||
| 780 | 809 | func DateValidWeekday(WeekdayVar DateWeekday) bool { | |
| 781 | 810 | ||
| 782 | 811 | cret := xDateValidWeekday(WeekdayVar) | |
| 812 | + | ||
| 783 | 813 | return cret | |
| 784 | 814 | } | |
| 785 | 815 | ||
| @@ -790,6 +820,7 @@ var xDateValidYear func(DateYear) bool | |||
| 790 | 820 | func DateValidYear(YearVar DateYear) bool { | |
| 791 | 821 | ||
| 792 | 822 | cret := xDateValidYear(YearVar) | |
| 823 | + | ||
| 793 | 824 | return cret | |
| 794 | 825 | } | |
| 795 | 826 | ||
M v4/glib/gdatetime.go +51 -0
| @@ -82,6 +82,7 @@ var xNewDateTime func(*TimeZone, int, int, int, int, int, float64) *DateTime | |||
| 82 | 82 | func NewDateTime(TzVar *TimeZone, YearVar int, MonthVar int, DayVar int, HourVar int, MinuteVar int, SecondsVar float64) *DateTime { | |
| 83 | 83 | ||
| 84 | 84 | cret := xNewDateTime(TzVar, YearVar, MonthVar, DayVar, HourVar, MinuteVar, SecondsVar) | |
| 85 | + | ||
| 85 | 86 | return cret | |
| 86 | 87 | } | |
| 87 | 88 | ||
| @@ -133,6 +134,7 @@ var xNewDateTimeFromIso8601 func(string, *TimeZone) *DateTime | |||
| 133 | 134 | func NewDateTimeFromIso8601(TextVar string, DefaultTzVar *TimeZone) *DateTime { | |
| 134 | 135 | ||
| 135 | 136 | cret := xNewDateTimeFromIso8601(TextVar, DefaultTzVar) | |
| 137 | + | ||
| 136 | 138 | return cret | |
| 137 | 139 | } | |
| 138 | 140 | ||
| @@ -153,6 +155,7 @@ var xNewDateTimeFromTimevalLocal func(*TimeVal) *DateTime | |||
| 153 | 155 | func NewDateTimeFromTimevalLocal(TvVar *TimeVal) *DateTime { | |
| 154 | 156 | ||
| 155 | 157 | cret := xNewDateTimeFromTimevalLocal(TvVar) | |
| 158 | + | ||
| 156 | 159 | return cret | |
| 157 | 160 | } | |
| 158 | 161 | ||
| @@ -171,6 +174,7 @@ var xNewDateTimeFromTimevalUtc func(*TimeVal) *DateTime | |||
| 171 | 174 | func NewDateTimeFromTimevalUtc(TvVar *TimeVal) *DateTime { | |
| 172 | 175 | ||
| 173 | 176 | cret := xNewDateTimeFromTimevalUtc(TvVar) | |
| 177 | + | ||
| 174 | 178 | return cret | |
| 175 | 179 | } | |
| 176 | 180 | ||
| @@ -190,6 +194,7 @@ var xNewDateTimeFromUnixLocal func(int64) *DateTime | |||
| 190 | 194 | func NewDateTimeFromUnixLocal(TVar int64) *DateTime { | |
| 191 | 195 | ||
| 192 | 196 | cret := xNewDateTimeFromUnixLocal(TVar) | |
| 197 | + | ||
| 193 | 198 | return cret | |
| 194 | 199 | } | |
| 195 | 200 | ||
| @@ -209,6 +214,7 @@ var xNewDateTimeFromUnixLocalUsec func(int64) *DateTime | |||
| 209 | 214 | func NewDateTimeFromUnixLocalUsec(UsecsVar int64) *DateTime { | |
| 210 | 215 | ||
| 211 | 216 | cret := xNewDateTimeFromUnixLocalUsec(UsecsVar) | |
| 217 | + | ||
| 212 | 218 | return cret | |
| 213 | 219 | } | |
| 214 | 220 | ||
| @@ -227,6 +233,7 @@ var xNewDateTimeFromUnixUtc func(int64) *DateTime | |||
| 227 | 233 | func NewDateTimeFromUnixUtc(TVar int64) *DateTime { | |
| 228 | 234 | ||
| 229 | 235 | cret := xNewDateTimeFromUnixUtc(TVar) | |
| 236 | + | ||
| 230 | 237 | return cret | |
| 231 | 238 | } | |
| 232 | 239 | ||
| @@ -245,6 +252,7 @@ var xNewDateTimeFromUnixUtcUsec func(int64) *DateTime | |||
| 245 | 252 | func NewDateTimeFromUnixUtcUsec(UsecsVar int64) *DateTime { | |
| 246 | 253 | ||
| 247 | 254 | cret := xNewDateTimeFromUnixUtcUsec(UsecsVar) | |
| 255 | + | ||
| 248 | 256 | return cret | |
| 249 | 257 | } | |
| 250 | 258 | ||
| @@ -258,6 +266,7 @@ var xNewDateTimeLocal func(int, int, int, int, int, float64) *DateTime | |||
| 258 | 266 | func NewDateTimeLocal(YearVar int, MonthVar int, DayVar int, HourVar int, MinuteVar int, SecondsVar float64) *DateTime { | |
| 259 | 267 | ||
| 260 | 268 | cret := xNewDateTimeLocal(YearVar, MonthVar, DayVar, HourVar, MinuteVar, SecondsVar) | |
| 269 | + | ||
| 261 | 270 | return cret | |
| 262 | 271 | } | |
| 263 | 272 | ||
| @@ -275,6 +284,7 @@ var xNewDateTimeNow func(*TimeZone) *DateTime | |||
| 275 | 284 | func NewDateTimeNow(TzVar *TimeZone) *DateTime { | |
| 276 | 285 | ||
| 277 | 286 | cret := xNewDateTimeNow(TzVar) | |
| 287 | + | ||
| 278 | 288 | return cret | |
| 279 | 289 | } | |
| 280 | 290 | ||
| @@ -288,6 +298,7 @@ var xNewDateTimeNowLocal func() *DateTime | |||
| 288 | 298 | func NewDateTimeNowLocal() *DateTime { | |
| 289 | 299 | ||
| 290 | 300 | cret := xNewDateTimeNowLocal() | |
| 301 | + | ||
| 291 | 302 | return cret | |
| 292 | 303 | } | |
| 293 | 304 | ||
| @@ -300,6 +311,7 @@ var xNewDateTimeNowUtc func() *DateTime | |||
| 300 | 311 | func NewDateTimeNowUtc() *DateTime { | |
| 301 | 312 | ||
| 302 | 313 | cret := xNewDateTimeNowUtc() | |
| 314 | + | ||
| 303 | 315 | return cret | |
| 304 | 316 | } | |
| 305 | 317 | ||
| @@ -313,6 +325,7 @@ var xNewDateTimeUtc func(int, int, int, int, int, float64) *DateTime | |||
| 313 | 325 | func NewDateTimeUtc(YearVar int, MonthVar int, DayVar int, HourVar int, MinuteVar int, SecondsVar float64) *DateTime { | |
| 314 | 326 | ||
| 315 | 327 | cret := xNewDateTimeUtc(YearVar, MonthVar, DayVar, HourVar, MinuteVar, SecondsVar) | |
| 328 | + | ||
| 316 | 329 | return cret | |
| 317 | 330 | } | |
| 318 | 331 | ||
| @@ -322,6 +335,7 @@ var xDateTimeAdd func(uintptr, TimeSpan) *DateTime | |||
| 322 | 335 | func (x *DateTime) Add(TimespanVar TimeSpan) *DateTime { | |
| 323 | 336 | ||
| 324 | 337 | cret := xDateTimeAdd(x.GoPointer(), TimespanVar) | |
| 338 | + | ||
| 325 | 339 | return cret | |
| 326 | 340 | } | |
| 327 | 341 | ||
| @@ -332,6 +346,7 @@ var xDateTimeAddDays func(uintptr, int) *DateTime | |||
| 332 | 346 | func (x *DateTime) AddDays(DaysVar int) *DateTime { | |
| 333 | 347 | ||
| 334 | 348 | cret := xDateTimeAddDays(x.GoPointer(), DaysVar) | |
| 349 | + | ||
| 335 | 350 | return cret | |
| 336 | 351 | } | |
| 337 | 352 | ||
| @@ -342,6 +357,7 @@ var xDateTimeAddFull func(uintptr, int, int, int, int, int, float64) *DateTime | |||
| 342 | 357 | func (x *DateTime) AddFull(YearsVar int, MonthsVar int, DaysVar int, HoursVar int, MinutesVar int, SecondsVar float64) *DateTime { | |
| 343 | 358 | ||
| 344 | 359 | cret := xDateTimeAddFull(x.GoPointer(), YearsVar, MonthsVar, DaysVar, HoursVar, MinutesVar, SecondsVar) | |
| 360 | + | ||
| 345 | 361 | return cret | |
| 346 | 362 | } | |
| 347 | 363 | ||
| @@ -352,6 +368,7 @@ var xDateTimeAddHours func(uintptr, int) *DateTime | |||
| 352 | 368 | func (x *DateTime) AddHours(HoursVar int) *DateTime { | |
| 353 | 369 | ||
| 354 | 370 | cret := xDateTimeAddHours(x.GoPointer(), HoursVar) | |
| 371 | + | ||
| 355 | 372 | return cret | |
| 356 | 373 | } | |
| 357 | 374 | ||
| @@ -362,6 +379,7 @@ var xDateTimeAddMinutes func(uintptr, int) *DateTime | |||
| 362 | 379 | func (x *DateTime) AddMinutes(MinutesVar int) *DateTime { | |
| 363 | 380 | ||
| 364 | 381 | cret := xDateTimeAddMinutes(x.GoPointer(), MinutesVar) | |
| 382 | + | ||
| 365 | 383 | return cret | |
| 366 | 384 | } | |
| 367 | 385 | ||
| @@ -377,6 +395,7 @@ var xDateTimeAddMonths func(uintptr, int) *DateTime | |||
| 377 | 395 | func (x *DateTime) AddMonths(MonthsVar int) *DateTime { | |
| 378 | 396 | ||
| 379 | 397 | cret := xDateTimeAddMonths(x.GoPointer(), MonthsVar) | |
| 398 | + | ||
| 380 | 399 | return cret | |
| 381 | 400 | } | |
| 382 | 401 | ||
| @@ -387,6 +406,7 @@ var xDateTimeAddSeconds func(uintptr, float64) *DateTime | |||
| 387 | 406 | func (x *DateTime) AddSeconds(SecondsVar float64) *DateTime { | |
| 388 | 407 | ||
| 389 | 408 | cret := xDateTimeAddSeconds(x.GoPointer(), SecondsVar) | |
| 409 | + | ||
| 390 | 410 | return cret | |
| 391 | 411 | } | |
| 392 | 412 | ||
| @@ -397,6 +417,7 @@ var xDateTimeAddWeeks func(uintptr, int) *DateTime | |||
| 397 | 417 | func (x *DateTime) AddWeeks(WeeksVar int) *DateTime { | |
| 398 | 418 | ||
| 399 | 419 | cret := xDateTimeAddWeeks(x.GoPointer(), WeeksVar) | |
| 420 | + | ||
| 400 | 421 | return cret | |
| 401 | 422 | } | |
| 402 | 423 | ||
| @@ -410,6 +431,7 @@ var xDateTimeAddYears func(uintptr, int) *DateTime | |||
| 410 | 431 | func (x *DateTime) AddYears(YearsVar int) *DateTime { | |
| 411 | 432 | ||
| 412 | 433 | cret := xDateTimeAddYears(x.GoPointer(), YearsVar) | |
| 434 | + | ||
| 413 | 435 | return cret | |
| 414 | 436 | } | |
| 415 | 437 | ||
| @@ -420,6 +442,7 @@ var xDateTimeCompare func(uintptr, uintptr) int | |||
| 420 | 442 | func (x *DateTime) Compare(Dt2Var uintptr) int { | |
| 421 | 443 | ||
| 422 | 444 | cret := xDateTimeCompare(x.GoPointer(), Dt2Var) | |
| 445 | + | ||
| 423 | 446 | return cret | |
| 424 | 447 | } | |
| 425 | 448 | ||
| @@ -431,6 +454,7 @@ var xDateTimeDifference func(uintptr, *DateTime) TimeSpan | |||
| 431 | 454 | func (x *DateTime) Difference(BeginVar *DateTime) TimeSpan { | |
| 432 | 455 | ||
| 433 | 456 | cret := xDateTimeDifference(x.GoPointer(), BeginVar) | |
| 457 | + | ||
| 434 | 458 | return cret | |
| 435 | 459 | } | |
| 436 | 460 | ||
| @@ -443,6 +467,7 @@ var xDateTimeEqual func(uintptr, uintptr) bool | |||
| 443 | 467 | func (x *DateTime) Equal(Dt2Var uintptr) bool { | |
| 444 | 468 | ||
| 445 | 469 | cret := xDateTimeEqual(x.GoPointer(), Dt2Var) | |
| 470 | + | ||
| 446 | 471 | return cret | |
| 447 | 472 | } | |
| 448 | 473 | ||
| @@ -575,6 +600,7 @@ var xDateTimeFormat func(uintptr, string) string | |||
| 575 | 600 | func (x *DateTime) Format(FormatVar string) string { | |
| 576 | 601 | ||
| 577 | 602 | cret := xDateTimeFormat(x.GoPointer(), FormatVar) | |
| 603 | + | ||
| 578 | 604 | return cret | |
| 579 | 605 | } | |
| 580 | 606 | ||
| @@ -588,6 +614,7 @@ var xDateTimeFormatIso8601 func(uintptr) string | |||
| 588 | 614 | func (x *DateTime) FormatIso8601() string { | |
| 589 | 615 | ||
| 590 | 616 | cret := xDateTimeFormatIso8601(x.GoPointer()) | |
| 617 | + | ||
| 591 | 618 | return cret | |
| 592 | 619 | } | |
| 593 | 620 | ||
| @@ -598,6 +625,7 @@ var xDateTimeGetDayOfMonth func(uintptr) int | |||
| 598 | 625 | func (x *DateTime) GetDayOfMonth() int { | |
| 599 | 626 | ||
| 600 | 627 | cret := xDateTimeGetDayOfMonth(x.GoPointer()) | |
| 628 | + | ||
| 601 | 629 | return cret | |
| 602 | 630 | } | |
| 603 | 631 | ||
| @@ -608,6 +636,7 @@ var xDateTimeGetDayOfWeek func(uintptr) int | |||
| 608 | 636 | func (x *DateTime) GetDayOfWeek() int { | |
| 609 | 637 | ||
| 610 | 638 | cret := xDateTimeGetDayOfWeek(x.GoPointer()) | |
| 639 | + | ||
| 611 | 640 | return cret | |
| 612 | 641 | } | |
| 613 | 642 | ||
| @@ -618,6 +647,7 @@ var xDateTimeGetDayOfYear func(uintptr) int | |||
| 618 | 647 | func (x *DateTime) GetDayOfYear() int { | |
| 619 | 648 | ||
| 620 | 649 | cret := xDateTimeGetDayOfYear(x.GoPointer()) | |
| 650 | + | ||
| 621 | 651 | return cret | |
| 622 | 652 | } | |
| 623 | 653 | ||
| @@ -627,6 +657,7 @@ var xDateTimeGetHour func(uintptr) int | |||
| 627 | 657 | func (x *DateTime) GetHour() int { | |
| 628 | 658 | ||
| 629 | 659 | cret := xDateTimeGetHour(x.GoPointer()) | |
| 660 | + | ||
| 630 | 661 | return cret | |
| 631 | 662 | } | |
| 632 | 663 | ||
| @@ -636,6 +667,7 @@ var xDateTimeGetMicrosecond func(uintptr) int | |||
| 636 | 667 | func (x *DateTime) GetMicrosecond() int { | |
| 637 | 668 | ||
| 638 | 669 | cret := xDateTimeGetMicrosecond(x.GoPointer()) | |
| 670 | + | ||
| 639 | 671 | return cret | |
| 640 | 672 | } | |
| 641 | 673 | ||
| @@ -645,6 +677,7 @@ var xDateTimeGetMinute func(uintptr) int | |||
| 645 | 677 | func (x *DateTime) GetMinute() int { | |
| 646 | 678 | ||
| 647 | 679 | cret := xDateTimeGetMinute(x.GoPointer()) | |
| 680 | + | ||
| 648 | 681 | return cret | |
| 649 | 682 | } | |
| 650 | 683 | ||
| @@ -655,6 +688,7 @@ var xDateTimeGetMonth func(uintptr) int | |||
| 655 | 688 | func (x *DateTime) GetMonth() int { | |
| 656 | 689 | ||
| 657 | 690 | cret := xDateTimeGetMonth(x.GoPointer()) | |
| 691 | + | ||
| 658 | 692 | return cret | |
| 659 | 693 | } | |
| 660 | 694 | ||
| @@ -664,6 +698,7 @@ var xDateTimeGetSecond func(uintptr) int | |||
| 664 | 698 | func (x *DateTime) GetSecond() int { | |
| 665 | 699 | ||
| 666 | 700 | cret := xDateTimeGetSecond(x.GoPointer()) | |
| 701 | + | ||
| 667 | 702 | return cret | |
| 668 | 703 | } | |
| 669 | 704 | ||
| @@ -674,6 +709,7 @@ var xDateTimeGetSeconds func(uintptr) float64 | |||
| 674 | 709 | func (x *DateTime) GetSeconds() float64 { | |
| 675 | 710 | ||
| 676 | 711 | cret := xDateTimeGetSeconds(x.GoPointer()) | |
| 712 | + | ||
| 677 | 713 | return cret | |
| 678 | 714 | } | |
| 679 | 715 | ||
| @@ -683,6 +719,7 @@ var xDateTimeGetTimezone func(uintptr) *TimeZone | |||
| 683 | 719 | func (x *DateTime) GetTimezone() *TimeZone { | |
| 684 | 720 | ||
| 685 | 721 | cret := xDateTimeGetTimezone(x.GoPointer()) | |
| 722 | + | ||
| 686 | 723 | return cret | |
| 687 | 724 | } | |
| 688 | 725 | ||
| @@ -697,6 +734,7 @@ var xDateTimeGetTimezoneAbbreviation func(uintptr) string | |||
| 697 | 734 | func (x *DateTime) GetTimezoneAbbreviation() string { | |
| 698 | 735 | ||
| 699 | 736 | cret := xDateTimeGetTimezoneAbbreviation(x.GoPointer()) | |
| 737 | + | ||
| 700 | 738 | return cret | |
| 701 | 739 | } | |
| 702 | 740 | ||
| @@ -713,6 +751,7 @@ var xDateTimeGetUtcOffset func(uintptr) TimeSpan | |||
| 713 | 751 | func (x *DateTime) GetUtcOffset() TimeSpan { | |
| 714 | 752 | ||
| 715 | 753 | cret := xDateTimeGetUtcOffset(x.GoPointer()) | |
| 754 | + | ||
| 716 | 755 | return cret | |
| 717 | 756 | } | |
| 718 | 757 | ||
| @@ -752,6 +791,7 @@ var xDateTimeGetWeekNumberingYear func(uintptr) int | |||
| 752 | 791 | func (x *DateTime) GetWeekNumberingYear() int { | |
| 753 | 792 | ||
| 754 | 793 | cret := xDateTimeGetWeekNumberingYear(x.GoPointer()) | |
| 794 | + | ||
| 755 | 795 | return cret | |
| 756 | 796 | } | |
| 757 | 797 | ||
| @@ -775,6 +815,7 @@ var xDateTimeGetWeekOfYear func(uintptr) int | |||
| 775 | 815 | func (x *DateTime) GetWeekOfYear() int { | |
| 776 | 816 | ||
| 777 | 817 | cret := xDateTimeGetWeekOfYear(x.GoPointer()) | |
| 818 | + | ||
| 778 | 819 | return cret | |
| 779 | 820 | } | |
| 780 | 821 | ||
| @@ -784,6 +825,7 @@ var xDateTimeGetYear func(uintptr) int | |||
| 784 | 825 | func (x *DateTime) GetYear() int { | |
| 785 | 826 | ||
| 786 | 827 | cret := xDateTimeGetYear(x.GoPointer()) | |
| 828 | + | ||
| 787 | 829 | return cret | |
| 788 | 830 | } | |
| 789 | 831 | ||
| @@ -802,6 +844,7 @@ var xDateTimeHash func(uintptr) uint | |||
| 802 | 844 | func (x *DateTime) Hash() uint { | |
| 803 | 845 | ||
| 804 | 846 | cret := xDateTimeHash(x.GoPointer()) | |
| 847 | + | ||
| 805 | 848 | return cret | |
| 806 | 849 | } | |
| 807 | 850 | ||
| @@ -812,6 +855,7 @@ var xDateTimeIsDaylightSavings func(uintptr) bool | |||
| 812 | 855 | func (x *DateTime) IsDaylightSavings() bool { | |
| 813 | 856 | ||
| 814 | 857 | cret := xDateTimeIsDaylightSavings(x.GoPointer()) | |
| 858 | + | ||
| 815 | 859 | return cret | |
| 816 | 860 | } | |
| 817 | 861 | ||
| @@ -821,6 +865,7 @@ var xDateTimeRef func(uintptr) *DateTime | |||
| 821 | 865 | func (x *DateTime) Ref() *DateTime { | |
| 822 | 866 | ||
| 823 | 867 | cret := xDateTimeRef(x.GoPointer()) | |
| 868 | + | ||
| 824 | 869 | return cret | |
| 825 | 870 | } | |
| 826 | 871 | ||
| @@ -834,6 +879,7 @@ var xDateTimeToLocal func(uintptr) *DateTime | |||
| 834 | 879 | func (x *DateTime) ToLocal() *DateTime { | |
| 835 | 880 | ||
| 836 | 881 | cret := xDateTimeToLocal(x.GoPointer()) | |
| 882 | + | ||
| 837 | 883 | return cret | |
| 838 | 884 | } | |
| 839 | 885 | ||
| @@ -855,6 +901,7 @@ var xDateTimeToTimeval func(uintptr, *TimeVal) bool | |||
| 855 | 901 | func (x *DateTime) ToTimeval(TvVar *TimeVal) bool { | |
| 856 | 902 | ||
| 857 | 903 | cret := xDateTimeToTimeval(x.GoPointer(), TvVar) | |
| 904 | + | ||
| 858 | 905 | return cret | |
| 859 | 906 | } | |
| 860 | 907 | ||
| @@ -869,6 +916,7 @@ var xDateTimeToTimezone func(uintptr, *TimeZone) *DateTime | |||
| 869 | 916 | func (x *DateTime) ToTimezone(TzVar *TimeZone) *DateTime { | |
| 870 | 917 | ||
| 871 | 918 | cret := xDateTimeToTimezone(x.GoPointer(), TzVar) | |
| 919 | + | ||
| 872 | 920 | return cret | |
| 873 | 921 | } | |
| 874 | 922 | ||
| @@ -882,6 +930,7 @@ var xDateTimeToUnix func(uintptr) int64 | |||
| 882 | 930 | func (x *DateTime) ToUnix() int64 { | |
| 883 | 931 | ||
| 884 | 932 | cret := xDateTimeToUnix(x.GoPointer()) | |
| 933 | + | ||
| 885 | 934 | return cret | |
| 886 | 935 | } | |
| 887 | 936 | ||
| @@ -894,6 +943,7 @@ var xDateTimeToUnixUsec func(uintptr) int64 | |||
| 894 | 943 | func (x *DateTime) ToUnixUsec() int64 { | |
| 895 | 944 | ||
| 896 | 945 | cret := xDateTimeToUnixUsec(x.GoPointer()) | |
| 946 | + | ||
| 897 | 947 | return cret | |
| 898 | 948 | } | |
| 899 | 949 | ||
| @@ -907,6 +957,7 @@ var xDateTimeToUtc func(uintptr) *DateTime | |||
| 907 | 957 | func (x *DateTime) ToUtc() *DateTime { | |
| 908 | 958 | ||
| 909 | 959 | cret := xDateTimeToUtc(x.GoPointer()) | |
| 960 | + | ||
| 910 | 961 | return cret | |
| 911 | 962 | } | |
| 912 | 963 | ||
M v4/glib/gdir.go +3 -0
| @@ -34,6 +34,7 @@ func DirOpen(PathVar string, FlagsVar uint) (*Dir, error) { | |||
| 34 | 34 | var cerr *Error | |
| 35 | 35 | ||
| 36 | 36 | cret := xDirOpen(PathVar, FlagsVar, &cerr) | |
| 37 | + | ||
| 37 | 38 | if cerr == nil { | |
| 38 | 39 | return cret, nil | |
| 39 | 40 | } | |
| @@ -75,6 +76,7 @@ var xDirReadName func(uintptr) string | |||
| 75 | 76 | func (x *Dir) ReadName() string { | |
| 76 | 77 | ||
| 77 | 78 | cret := xDirReadName(x.GoPointer()) | |
| 79 | + | ||
| 78 | 80 | return cret | |
| 79 | 81 | } | |
| 80 | 82 | ||
| @@ -84,6 +86,7 @@ var xDirRef func(uintptr) *Dir | |||
| 84 | 86 | func (x *Dir) Ref() *Dir { | |
| 85 | 87 | ||
| 86 | 88 | cret := xDirRef(x.GoPointer()) | |
| 89 | + | ||
| 87 | 90 | return cret | |
| 88 | 91 | } | |
| 89 | 92 | ||
M v4/glib/genviron.go +7 -0
| @@ -13,6 +13,7 @@ var xEnvironGetenv func([]string, string) string | |||
| 13 | 13 | func EnvironGetenv(EnvpVar []string, VariableVar string) string { | |
| 14 | 14 | ||
| 15 | 15 | cret := xEnvironGetenv(EnvpVar, VariableVar) | |
| 16 | + | ||
| 16 | 17 | return cret | |
| 17 | 18 | } | |
| 18 | 19 | ||
| @@ -23,6 +24,7 @@ var xEnvironSetenv func([]string, string, string, bool) []string | |||
| 23 | 24 | func EnvironSetenv(EnvpVar []string, VariableVar string, ValueVar string, OverwriteVar bool) []string { | |
| 24 | 25 | ||
| 25 | 26 | cret := xEnvironSetenv(EnvpVar, VariableVar, ValueVar, OverwriteVar) | |
| 27 | + | ||
| 26 | 28 | return cret | |
| 27 | 29 | } | |
| 28 | 30 | ||
| @@ -33,6 +35,7 @@ var xEnvironUnsetenv func([]string, string) []string | |||
| 33 | 35 | func EnvironUnsetenv(EnvpVar []string, VariableVar string) []string { | |
| 34 | 36 | ||
| 35 | 37 | cret := xEnvironUnsetenv(EnvpVar, VariableVar) | |
| 38 | + | ||
| 36 | 39 | return cret | |
| 37 | 40 | } | |
| 38 | 41 | ||
| @@ -51,6 +54,7 @@ var xGetEnviron func() []string | |||
| 51 | 54 | func GetEnviron() []string { | |
| 52 | 55 | ||
| 53 | 56 | cret := xGetEnviron() | |
| 57 | + | ||
| 54 | 58 | return cret | |
| 55 | 59 | } | |
| 56 | 60 | ||
| @@ -66,6 +70,7 @@ var xGetenv func(string) string | |||
| 66 | 70 | func Getenv(VariableVar string) string { | |
| 67 | 71 | ||
| 68 | 72 | cret := xGetenv(VariableVar) | |
| 73 | + | ||
| 69 | 74 | return cret | |
| 70 | 75 | } | |
| 71 | 76 | ||
| @@ -82,6 +87,7 @@ var xListenv func() []string | |||
| 82 | 87 | func Listenv() []string { | |
| 83 | 88 | ||
| 84 | 89 | cret := xListenv() | |
| 90 | + | ||
| 85 | 91 | return cret | |
| 86 | 92 | } | |
| 87 | 93 | ||
| @@ -109,6 +115,7 @@ var xSetenv func(string, string, bool) bool | |||
| 109 | 115 | func Setenv(VariableVar string, ValueVar string, OverwriteVar bool) bool { | |
| 110 | 116 | ||
| 111 | 117 | cret := xSetenv(VariableVar, ValueVar, OverwriteVar) | |
| 118 | + | ||
| 112 | 119 | return cret | |
| 113 | 120 | } | |
| 114 | 121 | ||
M v4/glib/gerror.go +8 -0
| @@ -66,6 +66,7 @@ var xNewError func(Quark, int, string, ...interface{}) *Error | |||
| 66 | 66 | func NewError(DomainVar Quark, CodeVar int, FormatVar string, varArgs ...interface{}) *Error { | |
| 67 | 67 | ||
| 68 | 68 | cret := xNewError(DomainVar, CodeVar, FormatVar, varArgs...) | |
| 69 | + | ||
| 69 | 70 | return cret | |
| 70 | 71 | } | |
| 71 | 72 | ||
| @@ -78,6 +79,7 @@ var xNewErrorLiteral func(Quark, int, string) *Error | |||
| 78 | 79 | func NewErrorLiteral(DomainVar Quark, CodeVar int, MessageVar string) *Error { | |
| 79 | 80 | ||
| 80 | 81 | cret := xNewErrorLiteral(DomainVar, CodeVar, MessageVar) | |
| 82 | + | ||
| 81 | 83 | return cret | |
| 82 | 84 | } | |
| 83 | 85 | ||
| @@ -88,6 +90,7 @@ var xNewErrorValist func(Quark, int, string, []interface{}) *Error | |||
| 88 | 90 | func NewErrorValist(DomainVar Quark, CodeVar int, FormatVar string, ArgsVar []interface{}) *Error { | |
| 89 | 91 | ||
| 90 | 92 | cret := xNewErrorValist(DomainVar, CodeVar, FormatVar, ArgsVar) | |
| 93 | + | ||
| 91 | 94 | return cret | |
| 92 | 95 | } | |
| 93 | 96 | ||
| @@ -97,6 +100,7 @@ var xErrorCopy func(uintptr) *Error | |||
| 97 | 100 | func (x *Error) Copy() *Error { | |
| 98 | 101 | ||
| 99 | 102 | cret := xErrorCopy(x.GoPointer()) | |
| 103 | + | ||
| 100 | 104 | return cret | |
| 101 | 105 | } | |
| 102 | 106 | ||
| @@ -124,6 +128,7 @@ var xErrorMatches func(uintptr, Quark, int) bool | |||
| 124 | 128 | func (x *Error) Matches(DomainVar Quark, CodeVar int) bool { | |
| 125 | 129 | ||
| 126 | 130 | cret := xErrorMatches(x.GoPointer(), DomainVar, CodeVar) | |
| 131 | + | ||
| 127 | 132 | return cret | |
| 128 | 133 | } | |
| 129 | 134 | ||
| @@ -135,6 +140,7 @@ func ClearError() error { | |||
| 135 | 140 | var cerr *Error | |
| 136 | 141 | ||
| 137 | 142 | xClearError() | |
| 143 | + | ||
| 138 | 144 | if cerr == nil { | |
| 139 | 145 | return nil | |
| 140 | 146 | } | |
| @@ -195,6 +201,7 @@ func ErrorDomainRegister(ErrorTypeNameVar string, ErrorTypePrivateSizeVar uint, | |||
| 195 | 201 | } | |
| 196 | 202 | ||
| 197 | 203 | cret := xErrorDomainRegister(ErrorTypeNameVar, ErrorTypePrivateSizeVar, ErrorTypeInitVarRef, ErrorTypeCopyVarRef, ErrorTypeClearVarRef) | |
| 204 | + | ||
| 198 | 205 | return cret | |
| 199 | 206 | } | |
| 200 | 207 | ||
| @@ -265,6 +272,7 @@ func ErrorDomainRegisterStatic(ErrorTypeNameVar string, ErrorTypePrivateSizeVar | |||
| 265 | 272 | } | |
| 266 | 273 | ||
| 267 | 274 | cret := xErrorDomainRegisterStatic(ErrorTypeNameVar, ErrorTypePrivateSizeVar, ErrorTypeInitVarRef, ErrorTypeCopyVarRef, ErrorTypeClearVarRef) | |
| 275 | + | ||
| 268 | 276 | return cret | |
| 269 | 277 | } | |
| 270 | 278 | ||
M v4/glib/gfileutils.go +42 -3
| @@ -2,6 +2,8 @@ | |||
| 2 | 2 | package glib | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "runtime" | |
| 6 | + | ||
| 5 | 7 | "github.com/jwijenbergh/purego" | |
| 6 | 8 | "github.com/jwijenbergh/puregotk/pkg/core" | |
| 7 | 9 | ) | |
| @@ -172,6 +174,7 @@ var xBasename func(string) string | |||
| 172 | 174 | func Basename(FileNameVar string) string { | |
| 173 | 175 | ||
| 174 | 176 | cret := xBasename(FileNameVar) | |
| 177 | + | ||
| 175 | 178 | return cret | |
| 176 | 179 | } | |
| 177 | 180 | ||
| @@ -198,6 +201,7 @@ var xBuildFilename func(string, ...interface{}) string | |||
| 198 | 201 | func BuildFilename(FirstElementVar string, varArgs ...interface{}) string { | |
| 199 | 202 | ||
| 200 | 203 | cret := xBuildFilename(FirstElementVar, varArgs...) | |
| 204 | + | ||
| 201 | 205 | return cret | |
| 202 | 206 | } | |
| 203 | 207 | ||
| @@ -214,6 +218,7 @@ var xBuildFilenameValist func(string, []interface{}) string | |||
| 214 | 218 | func BuildFilenameValist(FirstElementVar string, ArgsVar []interface{}) string { | |
| 215 | 219 | ||
| 216 | 220 | cret := xBuildFilenameValist(FirstElementVar, ArgsVar) | |
| 221 | + | ||
| 217 | 222 | return cret | |
| 218 | 223 | } | |
| 219 | 224 | ||
| @@ -231,6 +236,7 @@ var xBuildFilenamev func([]string) string | |||
| 231 | 236 | func BuildFilenamev(ArgsVar []string) string { | |
| 232 | 237 | ||
| 233 | 238 | cret := xBuildFilenamev(ArgsVar) | |
| 239 | + | ||
| 234 | 240 | return cret | |
| 235 | 241 | } | |
| 236 | 242 | ||
| @@ -267,6 +273,7 @@ var xBuildPath func(string, string, ...interface{}) string | |||
| 267 | 273 | func BuildPath(SeparatorVar string, FirstElementVar string, varArgs ...interface{}) string { | |
| 268 | 274 | ||
| 269 | 275 | cret := xBuildPath(SeparatorVar, FirstElementVar, varArgs...) | |
| 276 | + | ||
| 270 | 277 | return cret | |
| 271 | 278 | } | |
| 272 | 279 | ||
| @@ -279,6 +286,7 @@ var xBuildPathv func(string, []string) string | |||
| 279 | 286 | func BuildPathv(SeparatorVar string, ArgsVar []string) string { | |
| 280 | 287 | ||
| 281 | 288 | cret := xBuildPathv(SeparatorVar, ArgsVar) | |
| 289 | + | ||
| 282 | 290 | return cret | |
| 283 | 291 | } | |
| 284 | 292 | ||
| @@ -300,7 +308,12 @@ var xCanonicalizeFilename func(string, uintptr) string | |||
| 300 | 308 | // No file system I/O is done. | |
| 301 | 309 | func CanonicalizeFilename(FilenameVar string, RelativeToVar *string) string { | |
| 302 | 310 | ||
| 303 | - | cret := xCanonicalizeFilename(FilenameVar, core.NullableStringToPtr(RelativeToVar)) | |
| 311 | + | RelativeToVarPtr, RelativeToVarBytes := core.NullableStringToPtr(RelativeToVar) | |
| 312 | + | ||
| 313 | + | cret := xCanonicalizeFilename(FilenameVar, RelativeToVarPtr) | |
| 314 | + | ||
| 315 | + | runtime.KeepAlive(RelativeToVarBytes) | |
| 316 | + | ||
| 304 | 317 | return cret | |
| 305 | 318 | } | |
| 306 | 319 | ||
| @@ -320,7 +333,12 @@ var xDirMakeTmp func(uintptr, **Error) string | |||
| 320 | 333 | func DirMakeTmp(TmplVar *string) (string, error) { | |
| 321 | 334 | var cerr *Error | |
| 322 | 335 | ||
| 323 | - | cret := xDirMakeTmp(core.NullableStringToPtr(TmplVar), &cerr) | |
| 336 | + | TmplVarPtr, TmplVarBytes := core.NullableStringToPtr(TmplVar) | |
| 337 | + | ||
| 338 | + | cret := xDirMakeTmp(TmplVarPtr, &cerr) | |
| 339 | + | ||
| 340 | + | runtime.KeepAlive(TmplVarBytes) | |
| 341 | + | ||
| 324 | 342 | if cerr == nil { | |
| 325 | 343 | return cret, nil | |
| 326 | 344 | } | |
| @@ -342,6 +360,7 @@ var xFileErrorFromErrno func(int) FileError | |||
| 342 | 360 | func FileErrorFromErrno(ErrNoVar int) FileError { | |
| 343 | 361 | ||
| 344 | 362 | cret := xFileErrorFromErrno(ErrNoVar) | |
| 363 | + | ||
| 345 | 364 | return cret | |
| 346 | 365 | } | |
| 347 | 366 | ||
| @@ -361,6 +380,7 @@ func FileGetContents(FilenameVar string, ContentsVar *[]byte, LengthVar *uint) ( | |||
| 361 | 380 | var cerr *Error | |
| 362 | 381 | ||
| 363 | 382 | cret := xFileGetContents(FilenameVar, ContentsVar, LengthVar, &cerr) | |
| 383 | + | ||
| 364 | 384 | if cerr == nil { | |
| 365 | 385 | return cret, nil | |
| 366 | 386 | } | |
| @@ -389,7 +409,12 @@ var xFileOpenTmp func(uintptr, *string, **Error) int | |||
| 389 | 409 | func FileOpenTmp(TmplVar *string, NameUsedVar *string) (int, error) { | |
| 390 | 410 | var cerr *Error | |
| 391 | 411 | ||
| 392 | - | cret := xFileOpenTmp(core.NullableStringToPtr(TmplVar), NameUsedVar, &cerr) | |
| 412 | + | TmplVarPtr, TmplVarBytes := core.NullableStringToPtr(TmplVar) | |
| 413 | + | ||
| 414 | + | cret := xFileOpenTmp(TmplVarPtr, NameUsedVar, &cerr) | |
| 415 | + | ||
| 416 | + | runtime.KeepAlive(TmplVarBytes) | |
| 417 | + | ||
| 393 | 418 | if cerr == nil { | |
| 394 | 419 | return cret, nil | |
| 395 | 420 | } | |
| @@ -429,6 +454,7 @@ func FileReadLink(FilenameVar string) (string, error) { | |||
| 429 | 454 | var cerr *Error | |
| 430 | 455 | ||
| 431 | 456 | cret := xFileReadLink(FilenameVar, &cerr) | |
| 457 | + | ||
| 432 | 458 | if cerr == nil { | |
| 433 | 459 | return cret, nil | |
| 434 | 460 | } | |
| @@ -446,6 +472,7 @@ func FileSetContents(FilenameVar string, ContentsVar []byte, LengthVar int) (boo | |||
| 446 | 472 | var cerr *Error | |
| 447 | 473 | ||
| 448 | 474 | cret := xFileSetContents(FilenameVar, ContentsVar, LengthVar, &cerr) | |
| 475 | + | ||
| 449 | 476 | if cerr == nil { | |
| 450 | 477 | return cret, nil | |
| 451 | 478 | } | |
| @@ -513,6 +540,7 @@ func FileSetContentsFull(FilenameVar string, ContentsVar []byte, LengthVar int, | |||
| 513 | 540 | var cerr *Error | |
| 514 | 541 | ||
| 515 | 542 | cret := xFileSetContentsFull(FilenameVar, ContentsVar, LengthVar, FlagsVar, ModeVar, &cerr) | |
| 543 | + | ||
| 516 | 544 | if cerr == nil { | |
| 517 | 545 | return cret, nil | |
| 518 | 546 | } | |
| @@ -586,6 +614,7 @@ var xNewFileTest func(string, FileTest) bool | |||
| 586 | 614 | func NewFileTest(FilenameVar string, TestVar FileTest) bool { | |
| 587 | 615 | ||
| 588 | 616 | cret := xNewFileTest(FilenameVar, TestVar) | |
| 617 | + | ||
| 589 | 618 | return cret | |
| 590 | 619 | } | |
| 591 | 620 | ||
| @@ -604,6 +633,7 @@ var xGetCurrentDir func() string | |||
| 604 | 633 | func GetCurrentDir() string { | |
| 605 | 634 | ||
| 606 | 635 | cret := xGetCurrentDir() | |
| 636 | + | ||
| 607 | 637 | return cret | |
| 608 | 638 | } | |
| 609 | 639 | ||
| @@ -614,6 +644,7 @@ var xMkdirWithParents func(string, int) int | |||
| 614 | 644 | func MkdirWithParents(PathnameVar string, ModeVar int) int { | |
| 615 | 645 | ||
| 616 | 646 | cret := xMkdirWithParents(PathnameVar, ModeVar) | |
| 647 | + | ||
| 617 | 648 | return cret | |
| 618 | 649 | } | |
| 619 | 650 | ||
| @@ -638,6 +669,7 @@ var xMkdtemp func(string) string | |||
| 638 | 669 | func Mkdtemp(TmplVar string) string { | |
| 639 | 670 | ||
| 640 | 671 | cret := xMkdtemp(TmplVar) | |
| 672 | + | ||
| 641 | 673 | return cret | |
| 642 | 674 | } | |
| 643 | 675 | ||
| @@ -662,6 +694,7 @@ var xMkdtempFull func(string, int) string | |||
| 662 | 694 | func MkdtempFull(TmplVar string, ModeVar int) string { | |
| 663 | 695 | ||
| 664 | 696 | cret := xMkdtempFull(TmplVar, ModeVar) | |
| 697 | + | ||
| 665 | 698 | return cret | |
| 666 | 699 | } | |
| 667 | 700 | ||
| @@ -681,6 +714,7 @@ var xMkstemp func(string) int | |||
| 681 | 714 | func Mkstemp(TmplVar string) int { | |
| 682 | 715 | ||
| 683 | 716 | cret := xMkstemp(TmplVar) | |
| 717 | + | ||
| 684 | 718 | return cret | |
| 685 | 719 | } | |
| 686 | 720 | ||
| @@ -701,6 +735,7 @@ var xMkstempFull func(string, int, int) int | |||
| 701 | 735 | func MkstempFull(TmplVar string, FlagsVar int, ModeVar int) int { | |
| 702 | 736 | ||
| 703 | 737 | cret := xMkstempFull(TmplVar, FlagsVar, ModeVar) | |
| 738 | + | ||
| 704 | 739 | return cret | |
| 705 | 740 | } | |
| 706 | 741 | ||
| @@ -715,6 +750,7 @@ var xPathGetBasename func(string) string | |||
| 715 | 750 | func PathGetBasename(FileNameVar string) string { | |
| 716 | 751 | ||
| 717 | 752 | cret := xPathGetBasename(FileNameVar) | |
| 753 | + | ||
| 718 | 754 | return cret | |
| 719 | 755 | } | |
| 720 | 756 | ||
| @@ -729,6 +765,7 @@ var xPathGetDirname func(string) string | |||
| 729 | 765 | func PathGetDirname(FileNameVar string) string { | |
| 730 | 766 | ||
| 731 | 767 | cret := xPathGetDirname(FileNameVar) | |
| 768 | + | ||
| 732 | 769 | return cret | |
| 733 | 770 | } | |
| 734 | 771 | ||
| @@ -761,6 +798,7 @@ var xPathIsAbsolute func(string) bool | |||
| 761 | 798 | func PathIsAbsolute(FileNameVar string) bool { | |
| 762 | 799 | ||
| 763 | 800 | cret := xPathIsAbsolute(FileNameVar) | |
| 801 | + | ||
| 764 | 802 | return cret | |
| 765 | 803 | } | |
| 766 | 804 | ||
| @@ -772,6 +810,7 @@ var xPathSkipRoot func(string) string | |||
| 772 | 810 | func PathSkipRoot(FileNameVar string) string { | |
| 773 | 811 | ||
| 774 | 812 | cret := xPathSkipRoot(FileNameVar) | |
| 813 | + | ||
| 775 | 814 | return cret | |
| 776 | 815 | } | |
| 777 | 816 | ||
M v4/glib/ggettext.go +33 -5
| @@ -2,6 +2,8 @@ | |||
| 2 | 2 | package glib | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "runtime" | |
| 6 | + | ||
| 5 | 7 | "github.com/jwijenbergh/purego" | |
| 6 | 8 | "github.com/jwijenbergh/puregotk/pkg/core" | |
| 7 | 9 | ) | |
| @@ -14,7 +16,12 @@ var xDcgettext func(uintptr, string, int) string | |||
| 14 | 16 | // dcgettext() directly. | |
| 15 | 17 | func Dcgettext(DomainVar *string, MsgidVar string, CategoryVar int) string { | |
| 16 | 18 | ||
| 17 | - | cret := xDcgettext(core.NullableStringToPtr(DomainVar), MsgidVar, CategoryVar) | |
| 19 | + | DomainVarPtr, DomainVarBytes := core.NullableStringToPtr(DomainVar) | |
| 20 | + | ||
| 21 | + | cret := xDcgettext(DomainVarPtr, MsgidVar, CategoryVar) | |
| 22 | + | ||
| 23 | + | runtime.KeepAlive(DomainVarBytes) | |
| 24 | + | ||
| 18 | 25 | return cret | |
| 19 | 26 | } | |
| 20 | 27 | ||
| @@ -54,7 +61,12 @@ var xDgettext func(uintptr, string) string | |||
| 54 | 61 | // but use the _() macro for translations. | |
| 55 | 62 | func Dgettext(DomainVar *string, MsgidVar string) string { | |
| 56 | 63 | ||
| 57 | - | cret := xDgettext(core.NullableStringToPtr(DomainVar), MsgidVar) | |
| 64 | + | DomainVarPtr, DomainVarBytes := core.NullableStringToPtr(DomainVar) | |
| 65 | + | ||
| 66 | + | cret := xDgettext(DomainVarPtr, MsgidVar) | |
| 67 | + | ||
| 68 | + | runtime.KeepAlive(DomainVarBytes) | |
| 69 | + | ||
| 58 | 70 | return cret | |
| 59 | 71 | } | |
| 60 | 72 | ||
| @@ -68,7 +80,12 @@ var xDngettext func(uintptr, string, string, uint32) string | |||
| 68 | 80 | // proper. | |
| 69 | 81 | func Dngettext(DomainVar *string, MsgidVar string, MsgidPluralVar string, NVar uint32) string { | |
| 70 | 82 | ||
| 71 | - | cret := xDngettext(core.NullableStringToPtr(DomainVar), MsgidVar, MsgidPluralVar, NVar) | |
| 83 | + | DomainVarPtr, DomainVarBytes := core.NullableStringToPtr(DomainVar) | |
| 84 | + | ||
| 85 | + | cret := xDngettext(DomainVarPtr, MsgidVar, MsgidPluralVar, NVar) | |
| 86 | + | ||
| 87 | + | runtime.KeepAlive(DomainVarBytes) | |
| 88 | + | ||
| 72 | 89 | return cret | |
| 73 | 90 | } | |
| 74 | 91 | ||
| @@ -89,7 +106,12 @@ var xDpgettext func(uintptr, string, uint) string | |||
| 89 | 106 | // but use the C_() macro for translations with context. | |
| 90 | 107 | func Dpgettext(DomainVar *string, MsgctxtidVar string, MsgidoffsetVar uint) string { | |
| 91 | 108 | ||
| 92 | - | cret := xDpgettext(core.NullableStringToPtr(DomainVar), MsgctxtidVar, MsgidoffsetVar) | |
| 109 | + | DomainVarPtr, DomainVarBytes := core.NullableStringToPtr(DomainVar) | |
| 110 | + | ||
| 111 | + | cret := xDpgettext(DomainVarPtr, MsgctxtidVar, MsgidoffsetVar) | |
| 112 | + | ||
| 113 | + | runtime.KeepAlive(DomainVarBytes) | |
| 114 | + | ||
| 93 | 115 | return cret | |
| 94 | 116 | } | |
| 95 | 117 | ||
| @@ -107,7 +129,12 @@ var xDpgettext2 func(uintptr, string, string) string | |||
| 107 | 129 | // thus you may use non-string-literals as context and msgid arguments. | |
| 108 | 130 | func Dpgettext2(DomainVar *string, ContextVar string, MsgidVar string) string { | |
| 109 | 131 | ||
| 110 | - | cret := xDpgettext2(core.NullableStringToPtr(DomainVar), ContextVar, MsgidVar) | |
| 132 | + | DomainVarPtr, DomainVarBytes := core.NullableStringToPtr(DomainVar) | |
| 133 | + | ||
| 134 | + | cret := xDpgettext2(DomainVarPtr, ContextVar, MsgidVar) | |
| 135 | + | ||
| 136 | + | runtime.KeepAlive(DomainVarBytes) | |
| 137 | + | ||
| 111 | 138 | return cret | |
| 112 | 139 | } | |
| 113 | 140 | ||
| @@ -117,6 +144,7 @@ var xStripContext func(string, string) string | |||
| 117 | 144 | func StripContext(MsgidVar string, MsgvalVar string) string { | |
| 118 | 145 | ||
| 119 | 146 | cret := xStripContext(MsgidVar, MsgvalVar) | |
| 147 | + | ||
| 120 | 148 | return cret | |
| 121 | 149 | } | |
| 122 | 150 | ||
M v4/glib/ghash.go +31 -0
| @@ -72,6 +72,7 @@ var xHashTableIterGetHashTable func(uintptr) *HashTable | |||
| 72 | 72 | func (x *HashTableIter) GetHashTable() *HashTable { | |
| 73 | 73 | ||
| 74 | 74 | cret := xHashTableIterGetHashTable(x.GoPointer()) | |
| 75 | + | ||
| 75 | 76 | return cret | |
| 76 | 77 | } | |
| 77 | 78 | ||
| @@ -110,6 +111,7 @@ var xHashTableIterNext func(uintptr, *uintptr, *uintptr) bool | |||
| 110 | 111 | func (x *HashTableIter) Next(KeyVar *uintptr, ValueVar *uintptr) bool { | |
| 111 | 112 | ||
| 112 | 113 | cret := xHashTableIterNext(x.GoPointer(), KeyVar, ValueVar) | |
| 114 | + | ||
| 113 | 115 | return cret | |
| 114 | 116 | } | |
| 115 | 117 | ||
| @@ -180,6 +182,7 @@ var xDirectEqual func(uintptr, uintptr) bool | |||
| 180 | 182 | func DirectEqual(V1Var uintptr, V2Var uintptr) bool { | |
| 181 | 183 | ||
| 182 | 184 | cret := xDirectEqual(V1Var, V2Var) | |
| 185 | + | ||
| 183 | 186 | return cret | |
| 184 | 187 | } | |
| 185 | 188 | ||
| @@ -195,6 +198,7 @@ var xDirectHash func(uintptr) uint | |||
| 195 | 198 | func DirectHash(VVar uintptr) uint { | |
| 196 | 199 | ||
| 197 | 200 | cret := xDirectHash(VVar) | |
| 201 | + | ||
| 198 | 202 | return cret | |
| 199 | 203 | } | |
| 200 | 204 | ||
| @@ -208,6 +212,7 @@ var xDoubleEqual func(uintptr, uintptr) bool | |||
| 208 | 212 | func DoubleEqual(V1Var uintptr, V2Var uintptr) bool { | |
| 209 | 213 | ||
| 210 | 214 | cret := xDoubleEqual(V1Var, V2Var) | |
| 215 | + | ||
| 211 | 216 | return cret | |
| 212 | 217 | } | |
| 213 | 218 | ||
| @@ -220,6 +225,7 @@ var xDoubleHash func(uintptr) uint | |||
| 220 | 225 | func DoubleHash(VVar uintptr) uint { | |
| 221 | 226 | ||
| 222 | 227 | cret := xDoubleHash(VVar) | |
| 228 | + | ||
| 223 | 229 | return cret | |
| 224 | 230 | } | |
| 225 | 231 | ||
| @@ -243,6 +249,7 @@ var xHashTableAdd func(*HashTable, uintptr) bool | |||
| 243 | 249 | func HashTableAdd(HashTableVar *HashTable, KeyVar uintptr) bool { | |
| 244 | 250 | ||
| 245 | 251 | cret := xHashTableAdd(HashTableVar, KeyVar) | |
| 252 | + | ||
| 246 | 253 | return cret | |
| 247 | 254 | } | |
| 248 | 255 | ||
| @@ -252,6 +259,7 @@ var xHashTableContains func(*HashTable, uintptr) bool | |||
| 252 | 259 | func HashTableContains(HashTableVar *HashTable, KeyVar uintptr) bool { | |
| 253 | 260 | ||
| 254 | 261 | cret := xHashTableContains(HashTableVar, KeyVar) | |
| 262 | + | ||
| 255 | 263 | return cret | |
| 256 | 264 | } | |
| 257 | 265 | ||
| @@ -302,6 +310,7 @@ func HashTableFind(HashTableVar *HashTable, PredicateVar *HRFunc, UserDataVar ui | |||
| 302 | 310 | } | |
| 303 | 311 | ||
| 304 | 312 | cret := xHashTableFind(HashTableVar, PredicateVarRef, UserDataVar) | |
| 313 | + | ||
| 305 | 314 | return cret | |
| 306 | 315 | } | |
| 307 | 316 | ||
| @@ -368,6 +377,7 @@ func HashTableForeachRemove(HashTableVar *HashTable, FuncVar *HRFunc, UserDataVa | |||
| 368 | 377 | } | |
| 369 | 378 | ||
| 370 | 379 | cret := xHashTableForeachRemove(HashTableVar, FuncVarRef, UserDataVar) | |
| 380 | + | ||
| 371 | 381 | return cret | |
| 372 | 382 | } | |
| 373 | 383 | ||
| @@ -398,6 +408,7 @@ func HashTableForeachSteal(HashTableVar *HashTable, FuncVar *HRFunc, UserDataVar | |||
| 398 | 408 | } | |
| 399 | 409 | ||
| 400 | 410 | cret := xHashTableForeachSteal(HashTableVar, FuncVarRef, UserDataVar) | |
| 411 | + | ||
| 401 | 412 | return cret | |
| 402 | 413 | } | |
| 403 | 414 | ||
| @@ -414,6 +425,7 @@ var xHashTableGetKeysAsPtrArray func(*HashTable) uintptr | |||
| 414 | 425 | func HashTableGetKeysAsPtrArray(HashTableVar *HashTable) uintptr { | |
| 415 | 426 | ||
| 416 | 427 | cret := xHashTableGetKeysAsPtrArray(HashTableVar) | |
| 428 | + | ||
| 417 | 429 | return cret | |
| 418 | 430 | } | |
| 419 | 431 | ||
| @@ -430,6 +442,7 @@ var xHashTableGetValuesAsPtrArray func(*HashTable) uintptr | |||
| 430 | 442 | func HashTableGetValuesAsPtrArray(HashTableVar *HashTable) uintptr { | |
| 431 | 443 | ||
| 432 | 444 | cret := xHashTableGetValuesAsPtrArray(HashTableVar) | |
| 445 | + | ||
| 433 | 446 | return cret | |
| 434 | 447 | } | |
| 435 | 448 | ||
| @@ -450,6 +463,7 @@ var xHashTableInsert func(*HashTable, uintptr, uintptr) bool | |||
| 450 | 463 | func HashTableInsert(HashTableVar *HashTable, KeyVar uintptr, ValueVar uintptr) bool { | |
| 451 | 464 | ||
| 452 | 465 | cret := xHashTableInsert(HashTableVar, KeyVar, ValueVar) | |
| 466 | + | ||
| 453 | 467 | return cret | |
| 454 | 468 | } | |
| 455 | 469 | ||
| @@ -462,6 +476,7 @@ var xHashTableLookup func(*HashTable, uintptr) uintptr | |||
| 462 | 476 | func HashTableLookup(HashTableVar *HashTable, KeyVar uintptr) uintptr { | |
| 463 | 477 | ||
| 464 | 478 | cret := xHashTableLookup(HashTableVar, KeyVar) | |
| 479 | + | ||
| 465 | 480 | return cret | |
| 466 | 481 | } | |
| 467 | 482 | ||
| @@ -478,6 +493,7 @@ var xHashTableLookupExtended func(*HashTable, uintptr, *uintptr, *uintptr) bool | |||
| 478 | 493 | func HashTableLookupExtended(HashTableVar *HashTable, LookupKeyVar uintptr, OrigKeyVar *uintptr, ValueVar *uintptr) bool { | |
| 479 | 494 | ||
| 480 | 495 | cret := xHashTableLookupExtended(HashTableVar, LookupKeyVar, OrigKeyVar, ValueVar) | |
| 496 | + | ||
| 481 | 497 | return cret | |
| 482 | 498 | } | |
| 483 | 499 | ||
| @@ -494,6 +510,7 @@ var xHashTableNewSimilar func(*HashTable) *HashTable | |||
| 494 | 510 | func HashTableNewSimilar(OtherHashTableVar *HashTable) *HashTable { | |
| 495 | 511 | ||
| 496 | 512 | cret := xHashTableNewSimilar(OtherHashTableVar) | |
| 513 | + | ||
| 497 | 514 | return cret | |
| 498 | 515 | } | |
| 499 | 516 | ||
| @@ -504,6 +521,7 @@ var xHashTableRef func(*HashTable) *HashTable | |||
| 504 | 521 | func HashTableRef(HashTableVar *HashTable) *HashTable { | |
| 505 | 522 | ||
| 506 | 523 | cret := xHashTableRef(HashTableVar) | |
| 524 | + | ||
| 507 | 525 | return cret | |
| 508 | 526 | } | |
| 509 | 527 | ||
| @@ -518,6 +536,7 @@ var xHashTableRemove func(*HashTable, uintptr) bool | |||
| 518 | 536 | func HashTableRemove(HashTableVar *HashTable, KeyVar uintptr) bool { | |
| 519 | 537 | ||
| 520 | 538 | cret := xHashTableRemove(HashTableVar, KeyVar) | |
| 539 | + | ||
| 521 | 540 | return cret | |
| 522 | 541 | } | |
| 523 | 542 | ||
| @@ -551,6 +570,7 @@ var xHashTableReplace func(*HashTable, uintptr, uintptr) bool | |||
| 551 | 570 | func HashTableReplace(HashTableVar *HashTable, KeyVar uintptr, ValueVar uintptr) bool { | |
| 552 | 571 | ||
| 553 | 572 | cret := xHashTableReplace(HashTableVar, KeyVar, ValueVar) | |
| 573 | + | ||
| 554 | 574 | return cret | |
| 555 | 575 | } | |
| 556 | 576 | ||
| @@ -560,6 +580,7 @@ var xHashTableSize func(*HashTable) uint | |||
| 560 | 580 | func HashTableSize(HashTableVar *HashTable) uint { | |
| 561 | 581 | ||
| 562 | 582 | cret := xHashTableSize(HashTableVar) | |
| 583 | + | ||
| 563 | 584 | return cret | |
| 564 | 585 | } | |
| 565 | 586 | ||
| @@ -570,6 +591,7 @@ var xHashTableSteal func(*HashTable, uintptr) bool | |||
| 570 | 591 | func HashTableSteal(HashTableVar *HashTable, KeyVar uintptr) bool { | |
| 571 | 592 | ||
| 572 | 593 | cret := xHashTableSteal(HashTableVar, KeyVar) | |
| 594 | + | ||
| 573 | 595 | return cret | |
| 574 | 596 | } | |
| 575 | 597 | ||
| @@ -592,6 +614,7 @@ var xHashTableStealAllKeys func(*HashTable) uintptr | |||
| 592 | 614 | func HashTableStealAllKeys(HashTableVar *HashTable) uintptr { | |
| 593 | 615 | ||
| 594 | 616 | cret := xHashTableStealAllKeys(HashTableVar) | |
| 617 | + | ||
| 595 | 618 | return cret | |
| 596 | 619 | } | |
| 597 | 620 | ||
| @@ -604,6 +627,7 @@ var xHashTableStealAllValues func(*HashTable) uintptr | |||
| 604 | 627 | func HashTableStealAllValues(HashTableVar *HashTable) uintptr { | |
| 605 | 628 | ||
| 606 | 629 | cret := xHashTableStealAllValues(HashTableVar) | |
| 630 | + | ||
| 607 | 631 | return cret | |
| 608 | 632 | } | |
| 609 | 633 | ||
| @@ -629,6 +653,7 @@ var xHashTableStealExtended func(*HashTable, uintptr, *uintptr, *uintptr) bool | |||
| 629 | 653 | func HashTableStealExtended(HashTableVar *HashTable, LookupKeyVar uintptr, StolenKeyVar *uintptr, StolenValueVar *uintptr) bool { | |
| 630 | 654 | ||
| 631 | 655 | cret := xHashTableStealExtended(HashTableVar, LookupKeyVar, StolenKeyVar, StolenValueVar) | |
| 656 | + | ||
| 632 | 657 | return cret | |
| 633 | 658 | } | |
| 634 | 659 | ||
| @@ -654,6 +679,7 @@ var xInt64Equal func(uintptr, uintptr) bool | |||
| 654 | 679 | func Int64Equal(V1Var uintptr, V2Var uintptr) bool { | |
| 655 | 680 | ||
| 656 | 681 | cret := xInt64Equal(V1Var, V2Var) | |
| 682 | + | ||
| 657 | 683 | return cret | |
| 658 | 684 | } | |
| 659 | 685 | ||
| @@ -667,6 +693,7 @@ var xInt64Hash func(uintptr) uint | |||
| 667 | 693 | func Int64Hash(VVar uintptr) uint { | |
| 668 | 694 | ||
| 669 | 695 | cret := xInt64Hash(VVar) | |
| 696 | + | ||
| 670 | 697 | return cret | |
| 671 | 698 | } | |
| 672 | 699 | ||
| @@ -684,6 +711,7 @@ var xIntEqual func(uintptr, uintptr) bool | |||
| 684 | 711 | func IntEqual(V1Var uintptr, V2Var uintptr) bool { | |
| 685 | 712 | ||
| 686 | 713 | cret := xIntEqual(V1Var, V2Var) | |
| 714 | + | ||
| 687 | 715 | return cret | |
| 688 | 716 | } | |
| 689 | 717 | ||
| @@ -699,6 +727,7 @@ var xIntHash func(uintptr) uint | |||
| 699 | 727 | func IntHash(VVar uintptr) uint { | |
| 700 | 728 | ||
| 701 | 729 | cret := xIntHash(VVar) | |
| 730 | + | ||
| 702 | 731 | return cret | |
| 703 | 732 | } | |
| 704 | 733 | ||
| @@ -715,6 +744,7 @@ var xStrEqual func(uintptr, uintptr) bool | |||
| 715 | 744 | func StrEqual(V1Var uintptr, V2Var uintptr) bool { | |
| 716 | 745 | ||
| 717 | 746 | cret := xStrEqual(V1Var, V2Var) | |
| 747 | + | ||
| 718 | 748 | return cret | |
| 719 | 749 | } | |
| 720 | 750 | ||
| @@ -737,6 +767,7 @@ var xStrHash func(uintptr) uint | |||
| 737 | 767 | func StrHash(VVar uintptr) uint { | |
| 738 | 768 | ||
| 739 | 769 | cret := xStrHash(VVar) | |
| 770 | + | ||
| 740 | 771 | return cret | |
| 741 | 772 | } | |
| 742 | 773 | ||
M v4/glib/ghmac.go +7 -0
| @@ -60,6 +60,7 @@ var xNewHmac func(ChecksumType, []byte, uint) *Hmac | |||
| 60 | 60 | func NewHmac(DigestTypeVar ChecksumType, KeyVar []byte, KeyLenVar uint) *Hmac { | |
| 61 | 61 | ||
| 62 | 62 | cret := xNewHmac(DigestTypeVar, KeyVar, KeyLenVar) | |
| 63 | + | ||
| 63 | 64 | return cret | |
| 64 | 65 | } | |
| 65 | 66 | ||
| @@ -71,6 +72,7 @@ var xHmacCopy func(uintptr) *Hmac | |||
| 71 | 72 | func (x *Hmac) Copy() *Hmac { | |
| 72 | 73 | ||
| 73 | 74 | cret := xHmacCopy(x.GoPointer()) | |
| 75 | + | ||
| 74 | 76 | return cret | |
| 75 | 77 | } | |
| 76 | 78 | ||
| @@ -98,6 +100,7 @@ var xHmacGetString func(uintptr) string | |||
| 98 | 100 | func (x *Hmac) GetString() string { | |
| 99 | 101 | ||
| 100 | 102 | cret := xHmacGetString(x.GoPointer()) | |
| 103 | + | ||
| 101 | 104 | return cret | |
| 102 | 105 | } | |
| 103 | 106 | ||
| @@ -109,6 +112,7 @@ var xHmacRef func(uintptr) *Hmac | |||
| 109 | 112 | func (x *Hmac) Ref() *Hmac { | |
| 110 | 113 | ||
| 111 | 114 | cret := xHmacRef(x.GoPointer()) | |
| 115 | + | ||
| 112 | 116 | return cret | |
| 113 | 117 | } | |
| 114 | 118 | ||
| @@ -148,6 +152,7 @@ var xComputeHmacForBytes func(ChecksumType, *Bytes, *Bytes) string | |||
| 148 | 152 | func ComputeHmacForBytes(DigestTypeVar ChecksumType, KeyVar *Bytes, DataVar *Bytes) string { | |
| 149 | 153 | ||
| 150 | 154 | cret := xComputeHmacForBytes(DigestTypeVar, KeyVar, DataVar) | |
| 155 | + | ||
| 151 | 156 | return cret | |
| 152 | 157 | } | |
| 153 | 158 | ||
| @@ -161,6 +166,7 @@ var xComputeHmacForData func(ChecksumType, []byte, uint, []byte, uint) string | |||
| 161 | 166 | func ComputeHmacForData(DigestTypeVar ChecksumType, KeyVar []byte, KeyLenVar uint, DataVar []byte, LengthVar uint) string { | |
| 162 | 167 | ||
| 163 | 168 | cret := xComputeHmacForData(DigestTypeVar, KeyVar, KeyLenVar, DataVar, LengthVar) | |
| 169 | + | ||
| 164 | 170 | return cret | |
| 165 | 171 | } | |
| 166 | 172 | ||
| @@ -172,6 +178,7 @@ var xComputeHmacForString func(ChecksumType, []byte, uint, string, int) string | |||
| 172 | 178 | func ComputeHmacForString(DigestTypeVar ChecksumType, KeyVar []byte, KeyLenVar uint, StrVar string, LengthVar int) string { | |
| 173 | 179 | ||
| 174 | 180 | cret := xComputeHmacForString(DigestTypeVar, KeyVar, KeyLenVar, StrVar, LengthVar) | |
| 181 | + | ||
| 175 | 182 | return cret | |
| 176 | 183 | } | |
| 177 | 184 | ||
M v4/glib/ghook.go +2 -0
| @@ -66,6 +66,7 @@ var xHookCompareIds func(uintptr, *Hook) int | |||
| 66 | 66 | func (x *Hook) CompareIds(SiblingVar *Hook) int { | |
| 67 | 67 | ||
| 68 | 68 | cret := xHookCompareIds(x.GoPointer(), SiblingVar) | |
| 69 | + | ||
| 69 | 70 | return cret | |
| 70 | 71 | } | |
| 71 | 72 | ||
| @@ -207,6 +208,7 @@ var xHookDestroy func(*HookList, uint32) bool | |||
| 207 | 208 | func HookDestroy(HookListVar *HookList, HookIdVar uint32) bool { | |
| 208 | 209 | ||
| 209 | 210 | cret := xHookDestroy(HookListVar, HookIdVar) | |
| 211 | + | ||
| 210 | 212 | return cret | |
| 211 | 213 | } | |
| 212 | 214 | ||
M v4/glib/ghostutils.go +5 -0
| @@ -19,6 +19,7 @@ var xHostnameIsAsciiEncoded func(string) bool | |||
| 19 | 19 | func HostnameIsAsciiEncoded(HostnameVar string) bool { | |
| 20 | 20 | ||
| 21 | 21 | cret := xHostnameIsAsciiEncoded(HostnameVar) | |
| 22 | + | ||
| 22 | 23 | return cret | |
| 23 | 24 | } | |
| 24 | 25 | ||
| @@ -31,6 +32,7 @@ var xHostnameIsIpAddress func(string) bool | |||
| 31 | 32 | func HostnameIsIpAddress(HostnameVar string) bool { | |
| 32 | 33 | ||
| 33 | 34 | cret := xHostnameIsIpAddress(HostnameVar) | |
| 35 | + | ||
| 34 | 36 | return cret | |
| 35 | 37 | } | |
| 36 | 38 | ||
| @@ -46,6 +48,7 @@ var xHostnameIsNonAscii func(string) bool | |||
| 46 | 48 | func HostnameIsNonAscii(HostnameVar string) bool { | |
| 47 | 49 | ||
| 48 | 50 | cret := xHostnameIsNonAscii(HostnameVar) | |
| 51 | + | ||
| 49 | 52 | return cret | |
| 50 | 53 | } | |
| 51 | 54 | ||
| @@ -57,6 +60,7 @@ var xHostnameToAscii func(string) string | |||
| 57 | 60 | func HostnameToAscii(HostnameVar string) string { | |
| 58 | 61 | ||
| 59 | 62 | cret := xHostnameToAscii(HostnameVar) | |
| 63 | + | ||
| 60 | 64 | return cret | |
| 61 | 65 | } | |
| 62 | 66 | ||
| @@ -72,6 +76,7 @@ var xHostnameToUnicode func(string) string | |||
| 72 | 76 | func HostnameToUnicode(HostnameVar string) string { | |
| 73 | 77 | ||
| 74 | 78 | cret := xHostnameToUnicode(HostnameVar) | |
| 79 | + | ||
| 75 | 80 | return cret | |
| 76 | 81 | } | |
| 77 | 82 | ||
M v4/glib/giochannel.go +41 -2
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package glib | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "runtime" | |
| 5 | 6 | "structs" | |
| 6 | 7 | "unsafe" | |
| 7 | 8 | ||
| @@ -116,6 +117,7 @@ func NewIOChannelFile(FilenameVar string, ModeVar string) (*IOChannel, error) { | |||
| 116 | 117 | var cerr *Error | |
| 117 | 118 | ||
| 118 | 119 | cret := xNewIOChannelFile(FilenameVar, ModeVar, &cerr) | |
| 120 | + | ||
| 119 | 121 | if cerr == nil { | |
| 120 | 122 | return cret, nil | |
| 121 | 123 | } | |
| @@ -150,6 +152,7 @@ var xIOChannelUnixNew func(int) *IOChannel | |||
| 150 | 152 | func IOChannelUnixNew(FdVar int) *IOChannel { | |
| 151 | 153 | ||
| 152 | 154 | cret := xIOChannelUnixNew(FdVar) | |
| 155 | + | ||
| 153 | 156 | return cret | |
| 154 | 157 | } | |
| 155 | 158 | ||
| @@ -171,6 +174,7 @@ func (x *IOChannel) Flush() (IOStatus, error) { | |||
| 171 | 174 | var cerr *Error | |
| 172 | 175 | ||
| 173 | 176 | cret := xIOChannelFlush(x.GoPointer()) | |
| 177 | + | ||
| 174 | 178 | if cerr == nil { | |
| 175 | 179 | return cret, nil | |
| 176 | 180 | } | |
| @@ -186,6 +190,7 @@ var xIOChannelGetBufferCondition func(uintptr) IOCondition | |||
| 186 | 190 | func (x *IOChannel) GetBufferCondition() IOCondition { | |
| 187 | 191 | ||
| 188 | 192 | cret := xIOChannelGetBufferCondition(x.GoPointer()) | |
| 193 | + | ||
| 189 | 194 | return cret | |
| 190 | 195 | } | |
| 191 | 196 | ||
| @@ -195,6 +200,7 @@ var xIOChannelGetBufferSize func(uintptr) uint | |||
| 195 | 200 | func (x *IOChannel) GetBufferSize() uint { | |
| 196 | 201 | ||
| 197 | 202 | cret := xIOChannelGetBufferSize(x.GoPointer()) | |
| 203 | + | ||
| 198 | 204 | return cret | |
| 199 | 205 | } | |
| 200 | 206 | ||
| @@ -204,6 +210,7 @@ var xIOChannelGetBuffered func(uintptr) bool | |||
| 204 | 210 | func (x *IOChannel) GetBuffered() bool { | |
| 205 | 211 | ||
| 206 | 212 | cret := xIOChannelGetBuffered(x.GoPointer()) | |
| 213 | + | ||
| 207 | 214 | return cret | |
| 208 | 215 | } | |
| 209 | 216 | ||
| @@ -216,6 +223,7 @@ var xIOChannelGetCloseOnUnref func(uintptr) bool | |||
| 216 | 223 | func (x *IOChannel) GetCloseOnUnref() bool { | |
| 217 | 224 | ||
| 218 | 225 | cret := xIOChannelGetCloseOnUnref(x.GoPointer()) | |
| 226 | + | ||
| 219 | 227 | return cret | |
| 220 | 228 | } | |
| 221 | 229 | ||
| @@ -227,6 +235,7 @@ var xIOChannelGetEncoding func(uintptr) string | |||
| 227 | 235 | func (x *IOChannel) GetEncoding() string { | |
| 228 | 236 | ||
| 229 | 237 | cret := xIOChannelGetEncoding(x.GoPointer()) | |
| 238 | + | ||
| 230 | 239 | return cret | |
| 231 | 240 | } | |
| 232 | 241 | ||
| @@ -244,6 +253,7 @@ var xIOChannelGetFlags func(uintptr) IOFlags | |||
| 244 | 253 | func (x *IOChannel) GetFlags() IOFlags { | |
| 245 | 254 | ||
| 246 | 255 | cret := xIOChannelGetFlags(x.GoPointer()) | |
| 256 | + | ||
| 247 | 257 | return cret | |
| 248 | 258 | } | |
| 249 | 259 | ||
| @@ -256,6 +266,7 @@ var xIOChannelGetLineTerm func(uintptr, *int) string | |||
| 256 | 266 | func (x *IOChannel) GetLineTerm(LengthVar *int) string { | |
| 257 | 267 | ||
| 258 | 268 | cret := xIOChannelGetLineTerm(x.GoPointer(), LengthVar) | |
| 269 | + | ||
| 259 | 270 | return cret | |
| 260 | 271 | } | |
| 261 | 272 | ||
| @@ -278,6 +289,7 @@ var xIOChannelRead func(uintptr, string, uint, uint) IOError | |||
| 278 | 289 | func (x *IOChannel) Read(BufVar string, CountVar uint, BytesReadVar uint) IOError { | |
| 279 | 290 | ||
| 280 | 291 | cret := xIOChannelRead(x.GoPointer(), BufVar, CountVar, BytesReadVar) | |
| 292 | + | ||
| 281 | 293 | return cret | |
| 282 | 294 | } | |
| 283 | 295 | ||
| @@ -288,6 +300,7 @@ func (x *IOChannel) ReadChars(BufVar *[]byte, CountVar uint, BytesReadVar *uint) | |||
| 288 | 300 | var cerr *Error | |
| 289 | 301 | ||
| 290 | 302 | cret := xIOChannelReadChars(x.GoPointer(), BufVar, CountVar, BytesReadVar, &cerr) | |
| 303 | + | ||
| 291 | 304 | if cerr == nil { | |
| 292 | 305 | return cret, nil | |
| 293 | 306 | } | |
| @@ -305,6 +318,7 @@ func (x *IOChannel) ReadLine(StrReturnVar *string, LengthVar *uint, TerminatorPo | |||
| 305 | 318 | var cerr *Error | |
| 306 | 319 | ||
| 307 | 320 | cret := xIOChannelReadLine(x.GoPointer(), StrReturnVar, LengthVar, TerminatorPosVar, &cerr) | |
| 321 | + | ||
| 308 | 322 | if cerr == nil { | |
| 309 | 323 | return cret, nil | |
| 310 | 324 | } | |
| @@ -319,6 +333,7 @@ func (x *IOChannel) ReadLineString(BufferVar *String, TerminatorPosVar uint) (IO | |||
| 319 | 333 | var cerr *Error | |
| 320 | 334 | ||
| 321 | 335 | cret := xIOChannelReadLineString(x.GoPointer(), BufferVar, TerminatorPosVar, &cerr) | |
| 336 | + | ||
| 322 | 337 | if cerr == nil { | |
| 323 | 338 | return cret, nil | |
| 324 | 339 | } | |
| @@ -333,6 +348,7 @@ func (x *IOChannel) ReadToEnd(StrReturnVar *[]byte, LengthVar *uint) (IOStatus, | |||
| 333 | 348 | var cerr *Error | |
| 334 | 349 | ||
| 335 | 350 | cret := xIOChannelReadToEnd(x.GoPointer(), StrReturnVar, LengthVar, &cerr) | |
| 351 | + | ||
| 336 | 352 | if cerr == nil { | |
| 337 | 353 | return cret, nil | |
| 338 | 354 | } | |
| @@ -348,6 +364,7 @@ func (x *IOChannel) ReadUnichar(ThecharVar *uint32) (IOStatus, error) { | |||
| 348 | 364 | var cerr *Error | |
| 349 | 365 | ||
| 350 | 366 | cret := xIOChannelReadUnichar(x.GoPointer(), ThecharVar, &cerr) | |
| 367 | + | ||
| 351 | 368 | if cerr == nil { | |
| 352 | 369 | return cret, nil | |
| 353 | 370 | } | |
| @@ -361,6 +378,7 @@ var xIOChannelRef func(uintptr) *IOChannel | |||
| 361 | 378 | func (x *IOChannel) Ref() *IOChannel { | |
| 362 | 379 | ||
| 363 | 380 | cret := xIOChannelRef(x.GoPointer()) | |
| 381 | + | ||
| 364 | 382 | return cret | |
| 365 | 383 | } | |
| 366 | 384 | ||
| @@ -371,6 +389,7 @@ var xIOChannelSeek func(uintptr, int64, SeekType) IOError | |||
| 371 | 389 | func (x *IOChannel) Seek(OffsetVar int64, TypeVar SeekType) IOError { | |
| 372 | 390 | ||
| 373 | 391 | cret := xIOChannelSeek(x.GoPointer(), OffsetVar, TypeVar) | |
| 392 | + | ||
| 374 | 393 | return cret | |
| 375 | 394 | } | |
| 376 | 395 | ||
| @@ -381,6 +400,7 @@ func (x *IOChannel) SeekPosition(OffsetVar int64, TypeVar SeekType) (IOStatus, e | |||
| 381 | 400 | var cerr *Error | |
| 382 | 401 | ||
| 383 | 402 | cret := xIOChannelSeekPosition(x.GoPointer(), OffsetVar, TypeVar, &cerr) | |
| 403 | + | ||
| 384 | 404 | if cerr == nil { | |
| 385 | 405 | return cret, nil | |
| 386 | 406 | } | |
| @@ -477,7 +497,12 @@ var xIOChannelSetEncoding func(uintptr, uintptr, **Error) IOStatus | |||
| 477 | 497 | func (x *IOChannel) SetEncoding(EncodingVar *string) (IOStatus, error) { | |
| 478 | 498 | var cerr *Error | |
| 479 | 499 | ||
| 480 | - | cret := xIOChannelSetEncoding(x.GoPointer(), core.NullableStringToPtr(EncodingVar), &cerr) | |
| 500 | + | EncodingVarPtr, EncodingVarBytes := core.NullableStringToPtr(EncodingVar) | |
| 501 | + | ||
| 502 | + | cret := xIOChannelSetEncoding(x.GoPointer(), EncodingVarPtr, &cerr) | |
| 503 | + | ||
| 504 | + | runtime.KeepAlive(EncodingVarBytes) | |
| 505 | + | ||
| 481 | 506 | if cerr == nil { | |
| 482 | 507 | return cret, nil | |
| 483 | 508 | } | |
| @@ -492,6 +517,7 @@ func (x *IOChannel) SetFlags(FlagsVar IOFlags) (IOStatus, error) { | |||
| 492 | 517 | var cerr *Error | |
| 493 | 518 | ||
| 494 | 519 | cret := xIOChannelSetFlags(x.GoPointer(), FlagsVar, &cerr) | |
| 520 | + | ||
| 495 | 521 | if cerr == nil { | |
| 496 | 522 | return cret, nil | |
| 497 | 523 | } | |
| @@ -505,7 +531,11 @@ var xIOChannelSetLineTerm func(uintptr, uintptr, int) | |||
| 505 | 531 | // where in the file a line break occurs. | |
| 506 | 532 | func (x *IOChannel) SetLineTerm(LineTermVar *string, LengthVar int) { | |
| 507 | 533 | ||
| 508 | - | xIOChannelSetLineTerm(x.GoPointer(), core.NullableStringToPtr(LineTermVar), LengthVar) | |
| 534 | + | LineTermVarPtr, LineTermVarBytes := core.NullableStringToPtr(LineTermVar) | |
| 535 | + | ||
| 536 | + | xIOChannelSetLineTerm(x.GoPointer(), LineTermVarPtr, LengthVar) | |
| 537 | + | ||
| 538 | + | runtime.KeepAlive(LineTermVarBytes) | |
| 509 | 539 | ||
| 510 | 540 | } | |
| 511 | 541 | ||
| @@ -518,6 +548,7 @@ func (x *IOChannel) Shutdown(FlushVar bool) (IOStatus, error) { | |||
| 518 | 548 | var cerr *Error | |
| 519 | 549 | ||
| 520 | 550 | cret := xIOChannelShutdown(x.GoPointer(), FlushVar, &cerr) | |
| 551 | + | ||
| 521 | 552 | if cerr == nil { | |
| 522 | 553 | return cret, nil | |
| 523 | 554 | } | |
| @@ -534,6 +565,7 @@ var xIOChannelUnixGetFd func(uintptr) int | |||
| 534 | 565 | func (x *IOChannel) UnixGetFd() int { | |
| 535 | 566 | ||
| 536 | 567 | cret := xIOChannelUnixGetFd(x.GoPointer()) | |
| 568 | + | ||
| 537 | 569 | return cret | |
| 538 | 570 | } | |
| 539 | 571 | ||
| @@ -552,6 +584,7 @@ var xIOChannelWrite func(uintptr, string, uint, uint) IOError | |||
| 552 | 584 | func (x *IOChannel) Write(BufVar string, CountVar uint, BytesWrittenVar uint) IOError { | |
| 553 | 585 | ||
| 554 | 586 | cret := xIOChannelWrite(x.GoPointer(), BufVar, CountVar, BytesWrittenVar) | |
| 587 | + | ||
| 555 | 588 | return cret | |
| 556 | 589 | } | |
| 557 | 590 | ||
| @@ -567,6 +600,7 @@ func (x *IOChannel) WriteChars(BufVar []byte, CountVar int, BytesWrittenVar *uin | |||
| 567 | 600 | var cerr *Error | |
| 568 | 601 | ||
| 569 | 602 | cret := xIOChannelWriteChars(x.GoPointer(), BufVar, CountVar, BytesWrittenVar, &cerr) | |
| 603 | + | ||
| 570 | 604 | if cerr == nil { | |
| 571 | 605 | return cret, nil | |
| 572 | 606 | } | |
| @@ -582,6 +616,7 @@ func (x *IOChannel) WriteUnichar(ThecharVar uint32) (IOStatus, error) { | |||
| 582 | 616 | var cerr *Error | |
| 583 | 617 | ||
| 584 | 618 | cret := xIOChannelWriteUnichar(x.GoPointer(), ThecharVar, &cerr) | |
| 619 | + | ||
| 585 | 620 | if cerr == nil { | |
| 586 | 621 | return cret, nil | |
| 587 | 622 | } | |
| @@ -1034,6 +1069,7 @@ func IoAddWatch(ChannelVar *IOChannel, ConditionVar IOCondition, FuncVar *IOFunc | |||
| 1034 | 1069 | } | |
| 1035 | 1070 | ||
| 1036 | 1071 | cret := xIoAddWatch(ChannelVar, ConditionVar, FuncVarRef, UserDataVar) | |
| 1072 | + | ||
| 1037 | 1073 | return cret | |
| 1038 | 1074 | } | |
| 1039 | 1075 | ||
| @@ -1078,6 +1114,7 @@ func IoAddWatchFull(ChannelVar *IOChannel, PriorityVar int, ConditionVar IOCondi | |||
| 1078 | 1114 | } | |
| 1079 | 1115 | ||
| 1080 | 1116 | cret := xIoAddWatchFull(ChannelVar, PriorityVar, ConditionVar, FuncVarRef, UserDataVar, NotifyVarRef) | |
| 1117 | + | ||
| 1081 | 1118 | return cret | |
| 1082 | 1119 | } | |
| 1083 | 1120 | ||
| @@ -1087,6 +1124,7 @@ var xIoChannelErrorFromErrno func(int) IOChannelError | |||
| 1087 | 1124 | func IoChannelErrorFromErrno(EnVar int) IOChannelError { | |
| 1088 | 1125 | ||
| 1089 | 1126 | cret := xIoChannelErrorFromErrno(EnVar) | |
| 1127 | + | ||
| 1090 | 1128 | return cret | |
| 1091 | 1129 | } | |
| 1092 | 1130 | ||
| @@ -1109,6 +1147,7 @@ var xIoCreateWatch func(*IOChannel, IOCondition) *Source | |||
| 1109 | 1147 | func IoCreateWatch(ChannelVar *IOChannel, ConditionVar IOCondition) *Source { | |
| 1110 | 1148 | ||
| 1111 | 1149 | cret := xIoCreateWatch(ChannelVar, ConditionVar) | |
| 1150 | + | ||
| 1112 | 1151 | return cret | |
| 1113 | 1152 | } | |
| 1114 | 1153 | ||
M v4/glib/gkeyfile.go +76 -6
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | package glib | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | + | "runtime" | |
| 5 | 6 | "structs" | |
| 6 | 7 | "unsafe" | |
| 7 | 8 | ||
| @@ -176,6 +177,7 @@ var xNewKeyFile func() *KeyFile | |||
| 176 | 177 | func NewKeyFile() *KeyFile { | |
| 177 | 178 | ||
| 178 | 179 | cret := xNewKeyFile() | |
| 180 | + | ||
| 179 | 181 | return cret | |
| 180 | 182 | } | |
| 181 | 183 | ||
| @@ -204,6 +206,7 @@ func (x *KeyFile) GetBoolean(GroupNameVar string, KeyVar string) (bool, error) { | |||
| 204 | 206 | var cerr *Error | |
| 205 | 207 | ||
| 206 | 208 | cret := xKeyFileGetBoolean(x.GoPointer(), GroupNameVar, KeyVar, &cerr) | |
| 209 | + | ||
| 207 | 210 | if cerr == nil { | |
| 208 | 211 | return cret, nil | |
| 209 | 212 | } | |
| @@ -223,6 +226,7 @@ func (x *KeyFile) GetBooleanList(GroupNameVar string, KeyVar string, LengthVar * | |||
| 223 | 226 | var cerr *Error | |
| 224 | 227 | ||
| 225 | 228 | cret := xKeyFileGetBooleanList(x.GoPointer(), GroupNameVar, KeyVar, LengthVar, &cerr) | |
| 229 | + | ||
| 226 | 230 | if cerr == nil { | |
| 227 | 231 | return cret, nil | |
| 228 | 232 | } | |
| @@ -244,7 +248,16 @@ var xKeyFileGetComment func(uintptr, uintptr, uintptr, **Error) string | |||
| 244 | 248 | func (x *KeyFile) GetComment(GroupNameVar *string, KeyVar *string) (string, error) { | |
| 245 | 249 | var cerr *Error | |
| 246 | 250 | ||
| 247 | - | cret := xKeyFileGetComment(x.GoPointer(), core.NullableStringToPtr(GroupNameVar), core.NullableStringToPtr(KeyVar), &cerr) | |
| 251 | + | GroupNameVarPtr, GroupNameVarBytes := core.NullableStringToPtr(GroupNameVar) | |
| 252 | + | ||
| 253 | + | KeyVarPtr, KeyVarBytes := core.NullableStringToPtr(KeyVar) | |
| 254 | + | ||
| 255 | + | cret := xKeyFileGetComment(x.GoPointer(), GroupNameVarPtr, KeyVarPtr, &cerr) | |
| 256 | + | ||
| 257 | + | runtime.KeepAlive(GroupNameVarBytes) | |
| 258 | + | ||
| 259 | + | runtime.KeepAlive(KeyVarBytes) | |
| 260 | + | ||
| 248 | 261 | if cerr == nil { | |
| 249 | 262 | return cret, nil | |
| 250 | 263 | } | |
| @@ -263,6 +276,7 @@ func (x *KeyFile) GetDouble(GroupNameVar string, KeyVar string) (float64, error) | |||
| 263 | 276 | var cerr *Error | |
| 264 | 277 | ||
| 265 | 278 | cret := xKeyFileGetDouble(x.GoPointer(), GroupNameVar, KeyVar, &cerr) | |
| 279 | + | ||
| 266 | 280 | if cerr == nil { | |
| 267 | 281 | return cret, nil | |
| 268 | 282 | } | |
| @@ -282,6 +296,7 @@ func (x *KeyFile) GetDoubleList(GroupNameVar string, KeyVar string, LengthVar *u | |||
| 282 | 296 | var cerr *Error | |
| 283 | 297 | ||
| 284 | 298 | cret := xKeyFileGetDoubleList(x.GoPointer(), GroupNameVar, KeyVar, LengthVar, &cerr) | |
| 299 | + | ||
| 285 | 300 | if cerr == nil { | |
| 286 | 301 | return cret, nil | |
| 287 | 302 | } | |
| @@ -298,6 +313,7 @@ var xKeyFileGetGroups func(uintptr, *uint) []string | |||
| 298 | 313 | func (x *KeyFile) GetGroups(LengthVar *uint) []string { | |
| 299 | 314 | ||
| 300 | 315 | cret := xKeyFileGetGroups(x.GoPointer(), LengthVar) | |
| 316 | + | ||
| 301 | 317 | return cret | |
| 302 | 318 | } | |
| 303 | 319 | ||
| @@ -312,6 +328,7 @@ func (x *KeyFile) GetInt64(GroupNameVar string, KeyVar string) (int64, error) { | |||
| 312 | 328 | var cerr *Error | |
| 313 | 329 | ||
| 314 | 330 | cret := xKeyFileGetInt64(x.GoPointer(), GroupNameVar, KeyVar, &cerr) | |
| 331 | + | ||
| 315 | 332 | if cerr == nil { | |
| 316 | 333 | return cret, nil | |
| 317 | 334 | } | |
| @@ -332,6 +349,7 @@ func (x *KeyFile) GetInteger(GroupNameVar string, KeyVar string) (int, error) { | |||
| 332 | 349 | var cerr *Error | |
| 333 | 350 | ||
| 334 | 351 | cret := xKeyFileGetInteger(x.GoPointer(), GroupNameVar, KeyVar, &cerr) | |
| 352 | + | ||
| 335 | 353 | if cerr == nil { | |
| 336 | 354 | return cret, nil | |
| 337 | 355 | } | |
| @@ -352,6 +370,7 @@ func (x *KeyFile) GetIntegerList(GroupNameVar string, KeyVar string, LengthVar * | |||
| 352 | 370 | var cerr *Error | |
| 353 | 371 | ||
| 354 | 372 | cret := xKeyFileGetIntegerList(x.GoPointer(), GroupNameVar, KeyVar, LengthVar, &cerr) | |
| 373 | + | ||
| 355 | 374 | if cerr == nil { | |
| 356 | 375 | return cret, nil | |
| 357 | 376 | } | |
| @@ -370,6 +389,7 @@ func (x *KeyFile) GetKeys(GroupNameVar string, LengthVar *uint) ([]string, error | |||
| 370 | 389 | var cerr *Error | |
| 371 | 390 | ||
| 372 | 391 | cret := xKeyFileGetKeys(x.GoPointer(), GroupNameVar, LengthVar, &cerr) | |
| 392 | + | ||
| 373 | 393 | if cerr == nil { | |
| 374 | 394 | return cret, nil | |
| 375 | 395 | } | |
| @@ -390,7 +410,12 @@ var xKeyFileGetLocaleForKey func(uintptr, string, string, uintptr) string | |||
| 390 | 410 | // this function. | |
| 391 | 411 | func (x *KeyFile) GetLocaleForKey(GroupNameVar string, KeyVar string, LocaleVar *string) string { | |
| 392 | 412 | ||
| 393 | - | cret := xKeyFileGetLocaleForKey(x.GoPointer(), GroupNameVar, KeyVar, core.NullableStringToPtr(LocaleVar)) | |
| 413 | + | LocaleVarPtr, LocaleVarBytes := core.NullableStringToPtr(LocaleVar) | |
| 414 | + | ||
| 415 | + | cret := xKeyFileGetLocaleForKey(x.GoPointer(), GroupNameVar, KeyVar, LocaleVarPtr) | |
| 416 | + | ||
| 417 | + | runtime.KeepAlive(LocaleVarBytes) | |
| 418 | + | ||
| 394 | 419 | return cret | |
| 395 | 420 | } | |
| 396 | 421 | ||
| @@ -415,7 +440,12 @@ var xKeyFileGetLocaleString func(uintptr, string, string, uintptr, **Error) stri | |||
| 415 | 440 | func (x *KeyFile) GetLocaleString(GroupNameVar string, KeyVar string, LocaleVar *string) (string, error) { | |
| 416 | 441 | var cerr *Error | |
| 417 | 442 | ||
| 418 | - | cret := xKeyFileGetLocaleString(x.GoPointer(), GroupNameVar, KeyVar, core.NullableStringToPtr(LocaleVar), &cerr) | |
| 443 | + | LocaleVarPtr, LocaleVarBytes := core.NullableStringToPtr(LocaleVar) | |
| 444 | + | ||
| 445 | + | cret := xKeyFileGetLocaleString(x.GoPointer(), GroupNameVar, KeyVar, LocaleVarPtr, &cerr) | |
| 446 | + | ||
| 447 | + | runtime.KeepAlive(LocaleVarBytes) | |
| 448 | + | ||
| 419 | 449 | if cerr == nil { | |
| 420 | 450 | return cret, nil | |
| 421 | 451 | } | |
| @@ -446,7 +476,12 @@ var xKeyFileGetLocaleStringList func(uintptr, string, string, uintptr, *uint, ** | |||
| 446 | 476 | func (x *KeyFile) GetLocaleStringList(GroupNameVar string, KeyVar string, LocaleVar *string, LengthVar *uint) ([]string, error) { | |
| 447 | 477 | var cerr *Error | |
| 448 | 478 | ||
| 449 | - | cret := xKeyFileGetLocaleStringList(x.GoPointer(), GroupNameVar, KeyVar, core.NullableStringToPtr(LocaleVar), LengthVar, &cerr) | |
| 479 | + | LocaleVarPtr, LocaleVarBytes := core.NullableStringToPtr(LocaleVar) | |
| 480 | + | ||
| 481 | + | cret := xKeyFileGetLocaleStringList(x.GoPointer(), GroupNameVar, KeyVar, LocaleVarPtr, LengthVar, &cerr) | |
| 482 | + | ||
| 483 | + | runtime.KeepAlive(LocaleVarBytes) | |
| 484 | + | ||
| 450 | 485 | if cerr == nil { | |
| 451 | 486 | return cret, nil | |
| 452 | 487 | } | |
| @@ -460,6 +495,7 @@ var xKeyFileGetStartGroup func(uintptr) string | |||
| 460 | 495 | func (x *KeyFile) GetStartGroup() string { | |
| 461 | 496 | ||
| 462 | 497 | cret := xKeyFileGetStartGroup(x.GoPointer()) | |
| 498 | + | ||
| 463 | 499 | return cret | |
| 464 | 500 | } | |
| 465 | 501 | ||
| @@ -477,6 +513,7 @@ func (x *KeyFile) GetString(GroupNameVar string, KeyVar string) (string, error) | |||
| 477 | 513 | var cerr *Error | |
| 478 | 514 | ||
| 479 | 515 | cret := xKeyFileGetString(x.GoPointer(), GroupNameVar, KeyVar, &cerr) | |
| 516 | + | ||
| 480 | 517 | if cerr == nil { | |
| 481 | 518 | return cret, nil | |
| 482 | 519 | } | |
| @@ -495,6 +532,7 @@ func (x *KeyFile) GetStringList(GroupNameVar string, KeyVar string, LengthVar *u | |||
| 495 | 532 | var cerr *Error | |
| 496 | 533 | ||
| 497 | 534 | cret := xKeyFileGetStringList(x.GoPointer(), GroupNameVar, KeyVar, LengthVar, &cerr) | |
| 535 | + | ||
| 498 | 536 | if cerr == nil { | |
| 499 | 537 | return cret, nil | |
| 500 | 538 | } | |
| @@ -513,6 +551,7 @@ func (x *KeyFile) GetUint64(GroupNameVar string, KeyVar string) (uint64, error) | |||
| 513 | 551 | var cerr *Error | |
| 514 | 552 | ||
| 515 | 553 | cret := xKeyFileGetUint64(x.GoPointer(), GroupNameVar, KeyVar, &cerr) | |
| 554 | + | ||
| 516 | 555 | if cerr == nil { | |
| 517 | 556 | return cret, nil | |
| 518 | 557 | } | |
| @@ -533,6 +572,7 @@ func (x *KeyFile) GetValue(GroupNameVar string, KeyVar string) (string, error) { | |||
| 533 | 572 | var cerr *Error | |
| 534 | 573 | ||
| 535 | 574 | cret := xKeyFileGetValue(x.GoPointer(), GroupNameVar, KeyVar, &cerr) | |
| 575 | + | ||
| 536 | 576 | if cerr == nil { | |
| 537 | 577 | return cret, nil | |
| 538 | 578 | } | |
| @@ -546,6 +586,7 @@ var xKeyFileHasGroup func(uintptr, string) bool | |||
| 546 | 586 | func (x *KeyFile) HasGroup(GroupNameVar string) bool { | |
| 547 | 587 | ||
| 548 | 588 | cret := xKeyFileHasGroup(x.GoPointer(), GroupNameVar) | |
| 589 | + | ||
| 549 | 590 | return cret | |
| 550 | 591 | } | |
| 551 | 592 | ||
| @@ -566,6 +607,7 @@ func (x *KeyFile) HasKey(GroupNameVar string, KeyVar string) (bool, error) { | |||
| 566 | 607 | var cerr *Error | |
| 567 | 608 | ||
| 568 | 609 | cret := xKeyFileHasKey(x.GoPointer(), GroupNameVar, KeyVar, &cerr) | |
| 610 | + | ||
| 569 | 611 | if cerr == nil { | |
| 570 | 612 | return cret, nil | |
| 571 | 613 | } | |
| @@ -583,6 +625,7 @@ func (x *KeyFile) LoadFromBytes(BytesVar *Bytes, FlagsVar KeyFileFlags) (bool, e | |||
| 583 | 625 | var cerr *Error | |
| 584 | 626 | ||
| 585 | 627 | cret := xKeyFileLoadFromBytes(x.GoPointer(), BytesVar, FlagsVar, &cerr) | |
| 628 | + | ||
| 586 | 629 | if cerr == nil { | |
| 587 | 630 | return cret, nil | |
| 588 | 631 | } | |
| @@ -599,6 +642,7 @@ func (x *KeyFile) LoadFromData(DataVar string, LengthVar uint, FlagsVar KeyFileF | |||
| 599 | 642 | var cerr *Error | |
| 600 | 643 | ||
| 601 | 644 | cret := xKeyFileLoadFromData(x.GoPointer(), DataVar, LengthVar, FlagsVar, &cerr) | |
| 645 | + | ||
| 602 | 646 | if cerr == nil { | |
| 603 | 647 | return cret, nil | |
| 604 | 648 | } | |
| @@ -621,6 +665,7 @@ func (x *KeyFile) LoadFromDataDirs(FileVar string, FullPathVar *string, FlagsVar | |||
| 621 | 665 | var cerr *Error | |
| 622 | 666 | ||
| 623 | 667 | cret := xKeyFileLoadFromDataDirs(x.GoPointer(), FileVar, FullPathVar, FlagsVar, &cerr) | |
| 668 | + | ||
| 624 | 669 | if cerr == nil { | |
| 625 | 670 | return cret, nil | |
| 626 | 671 | } | |
| @@ -649,6 +694,7 @@ func (x *KeyFile) LoadFromDirs(FileVar string, SearchDirsVar []string, FullPathV | |||
| 649 | 694 | var cerr *Error | |
| 650 | 695 | ||
| 651 | 696 | cret := xKeyFileLoadFromDirs(x.GoPointer(), FileVar, SearchDirsVar, FullPathVar, FlagsVar, &cerr) | |
| 697 | + | ||
| 652 | 698 | if cerr == nil { | |
| 653 | 699 | return cret, nil | |
| 654 | 700 | } | |
| @@ -670,6 +716,7 @@ func (x *KeyFile) LoadFromFile(FileVar string, FlagsVar KeyFileFlags) (bool, err | |||
| 670 | 716 | var cerr *Error | |
| 671 | 717 | ||
| 672 | 718 | cret := xKeyFileLoadFromFile(x.GoPointer(), FileVar, FlagsVar, &cerr) | |
| 719 | + | ||
| 673 | 720 | if cerr == nil { | |
| 674 | 721 | return cret, nil | |
| 675 | 722 | } | |
| @@ -683,6 +730,7 @@ var xKeyFileRef func(uintptr) *KeyFile | |||
| 683 | 730 | func (x *KeyFile) Ref() *KeyFile { | |
| 684 | 731 | ||
| 685 | 732 | cret := xKeyFileRef(x.GoPointer()) | |
| 733 | + | ||
| 686 | 734 | return cret | |
| 687 | 735 | } | |
| 688 | 736 | ||
| @@ -696,7 +744,16 @@ var xKeyFileRemoveComment func(uintptr, uintptr, uintptr, **Error) bool | |||
| 696 | 744 | func (x *KeyFile) RemoveComment(GroupNameVar *string, KeyVar *string) (bool, error) { | |
| 697 | 745 | var cerr *Error | |
| 698 | 746 | ||
| 699 | - | cret := xKeyFileRemoveComment(x.GoPointer(), core.NullableStringToPtr(GroupNameVar), core.NullableStringToPtr(KeyVar), &cerr) | |
| 747 | + | GroupNameVarPtr, GroupNameVarBytes := core.NullableStringToPtr(GroupNameVar) | |
| 748 | + | ||
| 749 | + | KeyVarPtr, KeyVarBytes := core.NullableStringToPtr(KeyVar) | |
| 750 | + | ||
| 751 | + | cret := xKeyFileRemoveComment(x.GoPointer(), GroupNameVarPtr, KeyVarPtr, &cerr) | |
| 752 | + | ||
| 753 | + | runtime.KeepAlive(GroupNameVarBytes) | |
| 754 | + | ||
| 755 | + | runtime.KeepAlive(KeyVarBytes) | |
| 756 | + | ||
| 700 | 757 | if cerr == nil { | |
| 701 | 758 | return cret, nil | |
| 702 | 759 | } | |
| @@ -712,6 +769,7 @@ func (x *KeyFile) RemoveGroup(GroupNameVar string) (bool, error) { | |||
| 712 | 769 | var cerr *Error | |
| 713 | 770 | ||
| 714 | 771 | cret := xKeyFileRemoveGroup(x.GoPointer(), GroupNameVar, &cerr) | |
| 772 | + | ||
| 715 | 773 | if cerr == nil { | |
| 716 | 774 | return cret, nil | |
| 717 | 775 | } | |
| @@ -726,6 +784,7 @@ func (x *KeyFile) RemoveKey(GroupNameVar string, KeyVar string) (bool, error) { | |||
| 726 | 784 | var cerr *Error | |
| 727 | 785 | ||
| 728 | 786 | cret := xKeyFileRemoveKey(x.GoPointer(), GroupNameVar, KeyVar, &cerr) | |
| 787 | + | ||
| 729 | 788 | if cerr == nil { | |
| 730 | 789 | return cret, nil | |
| 731 | 790 | } | |
| @@ -749,6 +808,7 @@ func (x *KeyFile) SaveToFile(FilenameVar string) (bool, error) { | |||
| 749 | 808 | var cerr *Error | |
| 750 | 809 | ||
| 751 | 810 | cret := xKeyFileSaveToFile(x.GoPointer(), FilenameVar, &cerr) | |
| 811 | + | ||
| 752 | 812 | if cerr == nil { | |
| 753 | 813 | return cret, nil | |
| 754 | 814 | } | |
| @@ -796,7 +856,16 @@ var xKeyFileSetComment func(uintptr, uintptr, uintptr, string, **Error) bool | |||
| 796 | 856 | func (x *KeyFile) SetComment(GroupNameVar *string, KeyVar *string, CommentVar string) (bool, error) { | |
| 797 | 857 | var cerr *Error | |
| 798 | 858 | ||
| 799 | - | cret := xKeyFileSetComment(x.GoPointer(), core.NullableStringToPtr(GroupNameVar), core.NullableStringToPtr(KeyVar), CommentVar, &cerr) | |
| 859 | + | GroupNameVarPtr, GroupNameVarBytes := core.NullableStringToPtr(GroupNameVar) | |
| 860 | + | ||
| 861 | + | KeyVarPtr, KeyVarBytes := core.NullableStringToPtr(KeyVar) | |
| 862 | + | ||
| 863 | + | cret := xKeyFileSetComment(x.GoPointer(), GroupNameVarPtr, KeyVarPtr, CommentVar, &cerr) | |
| 864 | + | ||
| 865 | + | runtime.KeepAlive(GroupNameVarBytes) | |
| 866 | + | ||
| 867 | + | runtime.KeepAlive(KeyVarBytes) | |
| 868 | + | ||
| 800 | 869 | if cerr == nil { | |
| 801 | 870 | return cret, nil | |
| 802 | 871 | } | |
| @@ -958,6 +1027,7 @@ func (x *KeyFile) ToData(LengthVar *uint) (string, error) { | |||
| 958 | 1027 | var cerr *Error | |
| 959 | 1028 | ||
| 960 | 1029 | cret := xKeyFileToData(x.GoPointer(), LengthVar, &cerr) | |
| 1030 | + | ||
| 961 | 1031 | if cerr == nil { | |
| 962 | 1032 | return cret, nil | |
| 963 | 1033 | } | |
M v4/glib/glib-types.go +2 -0
| @@ -12,6 +12,7 @@ var xStrvGetType func() types.GType | |||
| 12 | 12 | func StrvGetType() types.GType { | |
| 13 | 13 | ||
| 14 | 14 | cret := xStrvGetType() | |
| 15 | + | ||
| 15 | 16 | return cret | |
| 16 | 17 | } | |
| 17 | 18 | ||
| @@ -20,6 +21,7 @@ var xVariantGetGtype func() types.GType | |||
| 20 | 21 | func VariantGetGtype() types.GType { | |
| 21 | 22 | ||
| 22 | 23 | cret := xVariantGetGtype() | |
| 24 | + | ||
| 23 | 25 | return cret | |
| 24 | 26 | } | |
| 25 | 27 | ||
M v4/glib/glib-unix.go +11 -0
| @@ -57,6 +57,7 @@ var xClosefrom func(int) int | |||
| 57 | 57 | func Closefrom(LowfdVar int) int { | |
| 58 | 58 | ||
| 59 | 59 | cret := xClosefrom(LowfdVar) | |
| 60 | + | ||
| 60 | 61 | return cret | |
| 61 | 62 | } | |
| 62 | 63 | ||
| @@ -79,6 +80,7 @@ var xFdwalkSetCloexec func(int) int | |||
| 79 | 80 | func FdwalkSetCloexec(LowfdVar int) int { | |
| 80 | 81 | ||
| 81 | 82 | cret := xFdwalkSetCloexec(LowfdVar) | |
| 83 | + | ||
| 82 | 84 | return cret | |
| 83 | 85 | } | |
| 84 | 86 | ||
| @@ -115,6 +117,7 @@ func UnixFdAdd(FdVar int, ConditionVar IOCondition, FunctionVar *UnixFDSourceFun | |||
| 115 | 117 | } | |
| 116 | 118 | ||
| 117 | 119 | cret := xUnixFdAdd(FdVar, ConditionVar, FunctionVarRef, UserDataVar) | |
| 120 | + | ||
| 118 | 121 | return cret | |
| 119 | 122 | } | |
| 120 | 123 | ||
| @@ -159,6 +162,7 @@ func UnixFdAddFull(PriorityVar int, FdVar int, ConditionVar IOCondition, Functio | |||
| 159 | 162 | } | |
| 160 | 163 | ||
| 161 | 164 | cret := xUnixFdAddFull(PriorityVar, FdVar, ConditionVar, FunctionVarRef, UserDataVar, NotifyVarRef) | |
| 165 | + | ||
| 162 | 166 | return cret | |
| 163 | 167 | } | |
| 164 | 168 | ||
| @@ -174,6 +178,7 @@ var xUnixFdSourceNew func(int, IOCondition) *Source | |||
| 174 | 178 | func UnixFdSourceNew(FdVar int, ConditionVar IOCondition) *Source { | |
| 175 | 179 | ||
| 176 | 180 | cret := xUnixFdSourceNew(FdVar, ConditionVar) | |
| 181 | + | ||
| 177 | 182 | return cret | |
| 178 | 183 | } | |
| 179 | 184 | ||
| @@ -194,6 +199,7 @@ func UnixGetPasswdEntry(UserNameVar string) (uintptr, error) { | |||
| 194 | 199 | var cerr *Error | |
| 195 | 200 | ||
| 196 | 201 | cret := xUnixGetPasswdEntry(UserNameVar, &cerr) | |
| 202 | + | ||
| 197 | 203 | if cerr == nil { | |
| 198 | 204 | return cret, nil | |
| 199 | 205 | } | |
| @@ -226,6 +232,7 @@ func UnixOpenPipe(FdsVar [2]int, FlagsVar int) (bool, error) { | |||
| 226 | 232 | var cerr *Error | |
| 227 | 233 | ||
| 228 | 234 | cret := xUnixOpenPipe(FdsVar, FlagsVar, &cerr) | |
| 235 | + | ||
| 229 | 236 | if cerr == nil { | |
| 230 | 237 | return cret, nil | |
| 231 | 238 | } | |
| @@ -242,6 +249,7 @@ func UnixSetFdNonblocking(FdVar int, NonblockVar bool) (bool, error) { | |||
| 242 | 249 | var cerr *Error | |
| 243 | 250 | ||
| 244 | 251 | cret := xUnixSetFdNonblocking(FdVar, NonblockVar, &cerr) | |
| 252 | + | ||
| 245 | 253 | if cerr == nil { | |
| 246 | 254 | return cret, nil | |
| 247 | 255 | } | |
| @@ -272,6 +280,7 @@ func UnixSignalAdd(SignumVar int, HandlerVar *SourceFunc, UserDataVar uintptr) u | |||
| 272 | 280 | } | |
| 273 | 281 | ||
| 274 | 282 | cret := xUnixSignalAdd(SignumVar, HandlerVarRef, UserDataVar) | |
| 283 | + | ||
| 275 | 284 | return cret | |
| 276 | 285 | } | |
| 277 | 286 | ||
| @@ -313,6 +322,7 @@ func UnixSignalAddFull(PriorityVar int, SignumVar int, HandlerVar *SourceFunc, U | |||
| 313 | 322 | } | |
| 314 | 323 | ||
| 315 | 324 | cret := xUnixSignalAddFull(PriorityVar, SignumVar, HandlerVarRef, UserDataVar, NotifyVarRef) | |
| 325 | + | ||
| 316 | 326 | return cret | |
| 317 | 327 | } | |
| 318 | 328 | ||
| @@ -344,6 +354,7 @@ var xUnixSignalSourceNew func(int) *Source | |||
| 344 | 354 | func UnixSignalSourceNew(SignumVar int) *Source { | |
| 345 | 355 | ||
| 346 | 356 | cret := xUnixSignalSourceNew(SignumVar) | |
| 357 | + | ||
| 347 | 358 | return cret | |
| 348 | 359 | } | |
| 349 | 360 | ||
M v4/glib/gmain.go +60 -0
| @@ -118,6 +118,7 @@ var xNewMainContext func() *MainContext | |||
| 118 | 118 | func NewMainContext() *MainContext { | |
| 119 | 119 | ||
| 120 | 120 | cret := xNewMainContext() | |
| 121 | + | ||
| 121 | 122 | return cret | |
| 122 | 123 | } | |
| 123 | 124 | ||
| @@ -127,6 +128,7 @@ var xNewMainContextWithFlags func(MainContextFlags) *MainContext | |||
| 127 | 128 | func NewMainContextWithFlags(FlagsVar MainContextFlags) *MainContext { | |
| 128 | 129 | ||
| 129 | 130 | cret := xNewMainContextWithFlags(FlagsVar) | |
| 131 | + | ||
| 130 | 132 | return cret | |
| 131 | 133 | } | |
| 132 | 134 | ||
| @@ -150,6 +152,7 @@ var xMainContextAcquire func(uintptr) bool | |||
| 150 | 152 | func (x *MainContext) Acquire() bool { | |
| 151 | 153 | ||
| 152 | 154 | cret := xMainContextAcquire(x.GoPointer()) | |
| 155 | + | ||
| 153 | 156 | return cret | |
| 154 | 157 | } | |
| 155 | 158 | ||
| @@ -183,6 +186,7 @@ var xMainContextCheck func(uintptr, int, []PollFD, int) bool | |||
| 183 | 186 | func (x *MainContext) Check(MaxPriorityVar int, FdsVar []PollFD, NFdsVar int) bool { | |
| 184 | 187 | ||
| 185 | 188 | cret := xMainContextCheck(x.GoPointer(), MaxPriorityVar, FdsVar, NFdsVar) | |
| 189 | + | ||
| 186 | 190 | return cret | |
| 187 | 191 | } | |
| 188 | 192 | ||
| @@ -210,6 +214,7 @@ var xMainContextFindSourceByFuncsUserData func(uintptr, *SourceFuncs, uintptr) * | |||
| 210 | 214 | func (x *MainContext) FindSourceByFuncsUserData(FuncsVar *SourceFuncs, UserDataVar uintptr) *Source { | |
| 211 | 215 | ||
| 212 | 216 | cret := xMainContextFindSourceByFuncsUserData(x.GoPointer(), FuncsVar, UserDataVar) | |
| 217 | + | ||
| 213 | 218 | return cret | |
| 214 | 219 | } | |
| 215 | 220 | ||
| @@ -230,6 +235,7 @@ var xMainContextFindSourceById func(uintptr, uint) *Source | |||
| 230 | 235 | func (x *MainContext) FindSourceById(SourceIdVar uint) *Source { | |
| 231 | 236 | ||
| 232 | 237 | cret := xMainContextFindSourceById(x.GoPointer(), SourceIdVar) | |
| 238 | + | ||
| 233 | 239 | return cret | |
| 234 | 240 | } | |
| 235 | 241 | ||
| @@ -242,6 +248,7 @@ var xMainContextFindSourceByUserData func(uintptr, uintptr) *Source | |||
| 242 | 248 | func (x *MainContext) FindSourceByUserData(UserDataVar uintptr) *Source { | |
| 243 | 249 | ||
| 244 | 250 | cret := xMainContextFindSourceByUserData(x.GoPointer(), UserDataVar) | |
| 251 | + | ||
| 245 | 252 | return cret | |
| 246 | 253 | } | |
| 247 | 254 | ||
| @@ -251,6 +258,7 @@ var xMainContextGetPollFunc func(uintptr) uintptr | |||
| 251 | 258 | func (x *MainContext) GetPollFunc() uintptr { | |
| 252 | 259 | ||
| 253 | 260 | cret := xMainContextGetPollFunc(x.GoPointer()) | |
| 261 | + | ||
| 254 | 262 | return cret | |
| 255 | 263 | } | |
| 256 | 264 | ||
| @@ -357,6 +365,7 @@ var xMainContextIsOwner func(uintptr) bool | |||
| 357 | 365 | func (x *MainContext) IsOwner() bool { | |
| 358 | 366 | ||
| 359 | 367 | cret := xMainContextIsOwner(x.GoPointer()) | |
| 368 | + | ||
| 360 | 369 | return cret | |
| 361 | 370 | } | |
| 362 | 371 | ||
| @@ -378,6 +387,7 @@ var xMainContextIteration func(uintptr, bool) bool | |||
| 378 | 387 | func (x *MainContext) Iteration(MayBlockVar bool) bool { | |
| 379 | 388 | ||
| 380 | 389 | cret := xMainContextIteration(x.GoPointer(), MayBlockVar) | |
| 390 | + | ||
| 381 | 391 | return cret | |
| 382 | 392 | } | |
| 383 | 393 | ||
| @@ -387,6 +397,7 @@ var xMainContextPending func(uintptr) bool | |||
| 387 | 397 | func (x *MainContext) Pending() bool { | |
| 388 | 398 | ||
| 389 | 399 | cret := xMainContextPending(x.GoPointer()) | |
| 400 | + | ||
| 390 | 401 | return cret | |
| 391 | 402 | } | |
| 392 | 403 | ||
| @@ -412,6 +423,7 @@ var xMainContextPrepare func(uintptr, *int) bool | |||
| 412 | 423 | func (x *MainContext) Prepare(PriorityVar *int) bool { | |
| 413 | 424 | ||
| 414 | 425 | cret := xMainContextPrepare(x.GoPointer(), PriorityVar) | |
| 426 | + | ||
| 415 | 427 | return cret | |
| 416 | 428 | } | |
| 417 | 429 | ||
| @@ -507,6 +519,7 @@ var xMainContextPusherNew func(uintptr) *MainContextPusher | |||
| 507 | 519 | func (x *MainContext) PusherNew() *MainContextPusher { | |
| 508 | 520 | ||
| 509 | 521 | cret := xMainContextPusherNew(x.GoPointer()) | |
| 522 | + | ||
| 510 | 523 | return cret | |
| 511 | 524 | } | |
| 512 | 525 | ||
| @@ -524,6 +537,7 @@ var xMainContextQuery func(uintptr, int, *int, *[]PollFD, int) int | |||
| 524 | 537 | func (x *MainContext) Query(MaxPriorityVar int, TimeoutVar *int, FdsVar *[]PollFD, NFdsVar int) int { | |
| 525 | 538 | ||
| 526 | 539 | cret := xMainContextQuery(x.GoPointer(), MaxPriorityVar, TimeoutVar, FdsVar, NFdsVar) | |
| 540 | + | ||
| 527 | 541 | return cret | |
| 528 | 542 | } | |
| 529 | 543 | ||
| @@ -533,6 +547,7 @@ var xMainContextRef func(uintptr) *MainContext | |||
| 533 | 547 | func (x *MainContext) Ref() *MainContext { | |
| 534 | 548 | ||
| 535 | 549 | cret := xMainContextRef(x.GoPointer()) | |
| 550 | + | ||
| 536 | 551 | return cret | |
| 537 | 552 | } | |
| 538 | 553 | ||
| @@ -617,6 +632,7 @@ var xMainContextWait func(uintptr, *Cond, *Mutex) bool | |||
| 617 | 632 | func (x *MainContext) Wait(CondVar *Cond, MutexVar *Mutex) bool { | |
| 618 | 633 | ||
| 619 | 634 | cret := xMainContextWait(x.GoPointer(), CondVar, MutexVar) | |
| 635 | + | ||
| 620 | 636 | return cret | |
| 621 | 637 | } | |
| 622 | 638 | ||
| @@ -685,6 +701,7 @@ var xNewMainLoop func(*MainContext, bool) *MainLoop | |||
| 685 | 701 | func NewMainLoop(ContextVar *MainContext, IsRunningVar bool) *MainLoop { | |
| 686 | 702 | ||
| 687 | 703 | cret := xNewMainLoop(ContextVar, IsRunningVar) | |
| 704 | + | ||
| 688 | 705 | return cret | |
| 689 | 706 | } | |
| 690 | 707 | ||
| @@ -694,6 +711,7 @@ var xMainLoopGetContext func(uintptr) *MainContext | |||
| 694 | 711 | func (x *MainLoop) GetContext() *MainContext { | |
| 695 | 712 | ||
| 696 | 713 | cret := xMainLoopGetContext(x.GoPointer()) | |
| 714 | + | ||
| 697 | 715 | return cret | |
| 698 | 716 | } | |
| 699 | 717 | ||
| @@ -704,6 +722,7 @@ var xMainLoopIsRunning func(uintptr) bool | |||
| 704 | 722 | func (x *MainLoop) IsRunning() bool { | |
| 705 | 723 | ||
| 706 | 724 | cret := xMainLoopIsRunning(x.GoPointer()) | |
| 725 | + | ||
| 707 | 726 | return cret | |
| 708 | 727 | } | |
| 709 | 728 | ||
| @@ -726,6 +745,7 @@ var xMainLoopRef func(uintptr) *MainLoop | |||
| 726 | 745 | func (x *MainLoop) Ref() *MainLoop { | |
| 727 | 746 | ||
| 728 | 747 | cret := xMainLoopRef(x.GoPointer()) | |
| 748 | + | ||
| 729 | 749 | return cret | |
| 730 | 750 | } | |
| 731 | 751 | ||
| @@ -810,6 +830,7 @@ var xNewSource func(*SourceFuncs, uint) *Source | |||
| 810 | 830 | func NewSource(SourceFuncsVar *SourceFuncs, StructSizeVar uint) *Source { | |
| 811 | 831 | ||
| 812 | 832 | cret := xNewSource(SourceFuncsVar, StructSizeVar) | |
| 833 | + | ||
| 813 | 834 | return cret | |
| 814 | 835 | } | |
| 815 | 836 | ||
| @@ -880,6 +901,7 @@ var xSourceAddUnixFd func(uintptr, int, IOCondition) uintptr | |||
| 880 | 901 | func (x *Source) AddUnixFd(FdVar int, EventsVar IOCondition) uintptr { | |
| 881 | 902 | ||
| 882 | 903 | cret := xSourceAddUnixFd(x.GoPointer(), FdVar, EventsVar) | |
| 904 | + | ||
| 883 | 905 | return cret | |
| 884 | 906 | } | |
| 885 | 907 | ||
| @@ -895,6 +917,7 @@ var xSourceAttach func(uintptr, *MainContext) uint | |||
| 895 | 917 | func (x *Source) Attach(ContextVar *MainContext) uint { | |
| 896 | 918 | ||
| 897 | 919 | cret := xSourceAttach(x.GoPointer(), ContextVar) | |
| 920 | + | ||
| 898 | 921 | return cret | |
| 899 | 922 | } | |
| 900 | 923 | ||
| @@ -934,6 +957,7 @@ var xSourceDupContext func(uintptr) *MainContext | |||
| 934 | 957 | func (x *Source) DupContext() *MainContext { | |
| 935 | 958 | ||
| 936 | 959 | cret := xSourceDupContext(x.GoPointer()) | |
| 960 | + | ||
| 937 | 961 | return cret | |
| 938 | 962 | } | |
| 939 | 963 | ||
| @@ -945,6 +969,7 @@ var xSourceGetCanRecurse func(uintptr) bool | |||
| 945 | 969 | func (x *Source) GetCanRecurse() bool { | |
| 946 | 970 | ||
| 947 | 971 | cret := xSourceGetCanRecurse(x.GoPointer()) | |
| 972 | + | ||
| 948 | 973 | return cret | |
| 949 | 974 | } | |
| 950 | 975 | ||
| @@ -965,6 +990,7 @@ var xSourceGetContext func(uintptr) *MainContext | |||
| 965 | 990 | func (x *Source) GetContext() *MainContext { | |
| 966 | 991 | ||
| 967 | 992 | cret := xSourceGetContext(x.GoPointer()) | |
| 993 | + | ||
| 968 | 994 | return cret | |
| 969 | 995 | } | |
| 970 | 996 | ||
| @@ -995,6 +1021,7 @@ var xSourceGetId func(uintptr) uint | |||
| 995 | 1021 | func (x *Source) GetId() uint { | |
| 996 | 1022 | ||
| 997 | 1023 | cret := xSourceGetId(x.GoPointer()) | |
| 1024 | + | ||
| 998 | 1025 | return cret | |
| 999 | 1026 | } | |
| 1000 | 1027 | ||
| @@ -1007,6 +1034,7 @@ var xSourceGetName func(uintptr) string | |||
| 1007 | 1034 | func (x *Source) GetName() string { | |
| 1008 | 1035 | ||
| 1009 | 1036 | cret := xSourceGetName(x.GoPointer()) | |
| 1037 | + | ||
| 1010 | 1038 | return cret | |
| 1011 | 1039 | } | |
| 1012 | 1040 | ||
| @@ -1016,6 +1044,7 @@ var xSourceGetPriority func(uintptr) int | |||
| 1016 | 1044 | func (x *Source) GetPriority() int { | |
| 1017 | 1045 | ||
| 1018 | 1046 | cret := xSourceGetPriority(x.GoPointer()) | |
| 1047 | + | ||
| 1019 | 1048 | return cret | |
| 1020 | 1049 | } | |
| 1021 | 1050 | ||
| @@ -1029,6 +1058,7 @@ var xSourceGetReadyTime func(uintptr) int64 | |||
| 1029 | 1058 | func (x *Source) GetReadyTime() int64 { | |
| 1030 | 1059 | ||
| 1031 | 1060 | cret := xSourceGetReadyTime(x.GoPointer()) | |
| 1061 | + | ||
| 1032 | 1062 | return cret | |
| 1033 | 1063 | } | |
| 1034 | 1064 | ||
| @@ -1046,6 +1076,7 @@ var xSourceGetTime func(uintptr) int64 | |||
| 1046 | 1076 | func (x *Source) GetTime() int64 { | |
| 1047 | 1077 | ||
| 1048 | 1078 | cret := xSourceGetTime(x.GoPointer()) | |
| 1079 | + | ||
| 1049 | 1080 | return cret | |
| 1050 | 1081 | } | |
| 1051 | 1082 | ||
| @@ -1139,6 +1170,7 @@ var xSourceIsDestroyed func(uintptr) bool | |||
| 1139 | 1170 | func (x *Source) IsDestroyed() bool { | |
| 1140 | 1171 | ||
| 1141 | 1172 | cret := xSourceIsDestroyed(x.GoPointer()) | |
| 1173 | + | ||
| 1142 | 1174 | return cret | |
| 1143 | 1175 | } | |
| 1144 | 1176 | ||
| @@ -1176,6 +1208,7 @@ var xSourceQueryUnixFd func(uintptr, uintptr) IOCondition | |||
| 1176 | 1208 | func (x *Source) QueryUnixFd(TagVar uintptr) IOCondition { | |
| 1177 | 1209 | ||
| 1178 | 1210 | cret := xSourceQueryUnixFd(x.GoPointer(), TagVar) | |
| 1211 | + | ||
| 1179 | 1212 | return cret | |
| 1180 | 1213 | } | |
| 1181 | 1214 | ||
| @@ -1185,6 +1218,7 @@ var xSourceRef func(uintptr) *Source | |||
| 1185 | 1218 | func (x *Source) Ref() *Source { | |
| 1186 | 1219 | ||
| 1187 | 1220 | cret := xSourceRef(x.GoPointer()) | |
| 1221 | + | ||
| 1188 | 1222 | return cret | |
| 1189 | 1223 | } | |
| 1190 | 1224 | ||
| @@ -1716,6 +1750,7 @@ func ChildWatchAdd(PidVar Pid, FunctionVar *ChildWatchFunc, DataVar uintptr) uin | |||
| 1716 | 1750 | } | |
| 1717 | 1751 | ||
| 1718 | 1752 | cret := xChildWatchAdd(PidVar, FunctionVarRef, DataVar) | |
| 1753 | + | ||
| 1719 | 1754 | return cret | |
| 1720 | 1755 | } | |
| 1721 | 1756 | ||
| @@ -1779,6 +1814,7 @@ func ChildWatchAddFull(PriorityVar int, PidVar Pid, FunctionVar *ChildWatchFunc, | |||
| 1779 | 1814 | } | |
| 1780 | 1815 | ||
| 1781 | 1816 | cret := xChildWatchAddFull(PriorityVar, PidVar, FunctionVarRef, DataVar, NotifyVarRef) | |
| 1817 | + | ||
| 1782 | 1818 | return cret | |
| 1783 | 1819 | } | |
| 1784 | 1820 | ||
| @@ -1827,6 +1863,7 @@ var xChildWatchSourceNew func(Pid) *Source | |||
| 1827 | 1863 | func ChildWatchSourceNew(PidVar Pid) *Source { | |
| 1828 | 1864 | ||
| 1829 | 1865 | cret := xChildWatchSourceNew(PidVar) | |
| 1866 | + | ||
| 1830 | 1867 | return cret | |
| 1831 | 1868 | } | |
| 1832 | 1869 | ||
| @@ -1893,6 +1930,7 @@ var xGetMonotonicTime func() int64 | |||
| 1893 | 1930 | func GetMonotonicTime() int64 { | |
| 1894 | 1931 | ||
| 1895 | 1932 | cret := xGetMonotonicTime() | |
| 1933 | + | ||
| 1896 | 1934 | return cret | |
| 1897 | 1935 | } | |
| 1898 | 1936 | ||
| @@ -1909,6 +1947,7 @@ var xGetRealTime func() int64 | |||
| 1909 | 1947 | func GetRealTime() int64 { | |
| 1910 | 1948 | ||
| 1911 | 1949 | cret := xGetRealTime() | |
| 1950 | + | ||
| 1912 | 1951 | return cret | |
| 1913 | 1952 | } | |
| 1914 | 1953 | ||
| @@ -1948,6 +1987,7 @@ func IdleAdd(FunctionVar *SourceFunc, DataVar uintptr) uint { | |||
| 1948 | 1987 | } | |
| 1949 | 1988 | ||
| 1950 | 1989 | cret := xIdleAdd(FunctionVarRef, DataVar) | |
| 1990 | + | ||
| 1951 | 1991 | return cret | |
| 1952 | 1992 | } | |
| 1953 | 1993 | ||
| @@ -2000,6 +2040,7 @@ func IdleAddFull(PriorityVar int, FunctionVar *SourceFunc, DataVar uintptr, Noti | |||
| 2000 | 2040 | } | |
| 2001 | 2041 | ||
| 2002 | 2042 | cret := xIdleAddFull(PriorityVar, FunctionVarRef, DataVar, NotifyVarRef) | |
| 2043 | + | ||
| 2003 | 2044 | return cret | |
| 2004 | 2045 | } | |
| 2005 | 2046 | ||
| @@ -2033,6 +2074,7 @@ func IdleAddOnce(FunctionVar *SourceOnceFunc, DataVar uintptr) uint { | |||
| 2033 | 2074 | } | |
| 2034 | 2075 | ||
| 2035 | 2076 | cret := xIdleAddOnce(FunctionVarRef, DataVar) | |
| 2077 | + | ||
| 2036 | 2078 | return cret | |
| 2037 | 2079 | } | |
| 2038 | 2080 | ||
| @@ -2042,6 +2084,7 @@ var xIdleRemoveByData func(uintptr) bool | |||
| 2042 | 2084 | func IdleRemoveByData(DataVar uintptr) bool { | |
| 2043 | 2085 | ||
| 2044 | 2086 | cret := xIdleRemoveByData(DataVar) | |
| 2087 | + | ||
| 2045 | 2088 | return cret | |
| 2046 | 2089 | } | |
| 2047 | 2090 | ||
| @@ -2058,6 +2101,7 @@ var xIdleSourceNew func() *Source | |||
| 2058 | 2101 | func IdleSourceNew() *Source { | |
| 2059 | 2102 | ||
| 2060 | 2103 | cret := xIdleSourceNew() | |
| 2104 | + | ||
| 2061 | 2105 | return cret | |
| 2062 | 2106 | } | |
| 2063 | 2107 | ||
| @@ -2072,6 +2116,7 @@ var xMainContextDefault func() *MainContext | |||
| 2072 | 2116 | func MainContextDefault() *MainContext { | |
| 2073 | 2117 | ||
| 2074 | 2118 | cret := xMainContextDefault() | |
| 2119 | + | ||
| 2075 | 2120 | return cret | |
| 2076 | 2121 | } | |
| 2077 | 2122 | ||
| @@ -2092,6 +2137,7 @@ var xMainContextGetThreadDefault func() *MainContext | |||
| 2092 | 2137 | func MainContextGetThreadDefault() *MainContext { | |
| 2093 | 2138 | ||
| 2094 | 2139 | cret := xMainContextGetThreadDefault() | |
| 2140 | + | ||
| 2095 | 2141 | return cret | |
| 2096 | 2142 | } | |
| 2097 | 2143 | ||
| @@ -2110,6 +2156,7 @@ var xMainContextRefThreadDefault func() *MainContext | |||
| 2110 | 2156 | func MainContextRefThreadDefault() *MainContext { | |
| 2111 | 2157 | ||
| 2112 | 2158 | cret := xMainContextRefThreadDefault() | |
| 2159 | + | ||
| 2113 | 2160 | return cret | |
| 2114 | 2161 | } | |
| 2115 | 2162 | ||
| @@ -2119,6 +2166,7 @@ var xMainCurrentSource func() *Source | |||
| 2119 | 2166 | func MainCurrentSource() *Source { | |
| 2120 | 2167 | ||
| 2121 | 2168 | cret := xMainCurrentSource() | |
| 2169 | + | ||
| 2122 | 2170 | return cret | |
| 2123 | 2171 | } | |
| 2124 | 2172 | ||
| @@ -2236,6 +2284,7 @@ var xMainDepth func() int | |||
| 2236 | 2284 | func MainDepth() int { | |
| 2237 | 2285 | ||
| 2238 | 2286 | cret := xMainDepth() | |
| 2287 | + | ||
| 2239 | 2288 | return cret | |
| 2240 | 2289 | } | |
| 2241 | 2290 | ||
| @@ -2266,6 +2315,7 @@ var xSourceRemove func(uint) bool | |||
| 2266 | 2315 | func SourceRemove(TagVar uint) bool { | |
| 2267 | 2316 | ||
| 2268 | 2317 | cret := xSourceRemove(TagVar) | |
| 2318 | + | ||
| 2269 | 2319 | return cret | |
| 2270 | 2320 | } | |
| 2271 | 2321 | ||
| @@ -2279,6 +2329,7 @@ var xSourceRemoveByFuncsUserData func(*SourceFuncs, uintptr) bool | |||
| 2279 | 2329 | func SourceRemoveByFuncsUserData(FuncsVar *SourceFuncs, UserDataVar uintptr) bool { | |
| 2280 | 2330 | ||
| 2281 | 2331 | cret := xSourceRemoveByFuncsUserData(FuncsVar, UserDataVar) | |
| 2332 | + | ||
| 2282 | 2333 | return cret | |
| 2283 | 2334 | } | |
| 2284 | 2335 | ||
| @@ -2291,6 +2342,7 @@ var xSourceRemoveByUserData func(uintptr) bool | |||
| 2291 | 2342 | func SourceRemoveByUserData(UserDataVar uintptr) bool { | |
| 2292 | 2343 | ||
| 2293 | 2344 | cret := xSourceRemoveByUserData(UserDataVar) | |
| 2345 | + | ||
| 2294 | 2346 | return cret | |
| 2295 | 2347 | } | |
| 2296 | 2348 | ||
| @@ -2371,6 +2423,7 @@ func TimeoutAdd(IntervalVar uint, FunctionVar *SourceFunc, DataVar uintptr) uint | |||
| 2371 | 2423 | } | |
| 2372 | 2424 | ||
| 2373 | 2425 | cret := xTimeoutAdd(IntervalVar, FunctionVarRef, DataVar) | |
| 2426 | + | ||
| 2374 | 2427 | return cret | |
| 2375 | 2428 | } | |
| 2376 | 2429 | ||
| @@ -2437,6 +2490,7 @@ func TimeoutAddFull(PriorityVar int, IntervalVar uint, FunctionVar *SourceFunc, | |||
| 2437 | 2490 | } | |
| 2438 | 2491 | ||
| 2439 | 2492 | cret := xTimeoutAddFull(PriorityVar, IntervalVar, FunctionVarRef, DataVar, NotifyVarRef) | |
| 2493 | + | ||
| 2440 | 2494 | return cret | |
| 2441 | 2495 | } | |
| 2442 | 2496 | ||
| @@ -2467,6 +2521,7 @@ func TimeoutAddOnce(IntervalVar uint, FunctionVar *SourceOnceFunc, DataVar uintp | |||
| 2467 | 2521 | } | |
| 2468 | 2522 | ||
| 2469 | 2523 | cret := xTimeoutAddOnce(IntervalVar, FunctionVarRef, DataVar) | |
| 2524 | + | ||
| 2470 | 2525 | return cret | |
| 2471 | 2526 | } | |
| 2472 | 2527 | ||
| @@ -2513,6 +2568,7 @@ func TimeoutAddSeconds(IntervalVar uint, FunctionVar *SourceFunc, DataVar uintpt | |||
| 2513 | 2568 | } | |
| 2514 | 2569 | ||
| 2515 | 2570 | cret := xTimeoutAddSeconds(IntervalVar, FunctionVarRef, DataVar) | |
| 2571 | + | ||
| 2516 | 2572 | return cret | |
| 2517 | 2573 | } | |
| 2518 | 2574 | ||
| @@ -2591,6 +2647,7 @@ func TimeoutAddSecondsFull(PriorityVar int, IntervalVar uint, FunctionVar *Sourc | |||
| 2591 | 2647 | } | |
| 2592 | 2648 | ||
| 2593 | 2649 | cret := xTimeoutAddSecondsFull(PriorityVar, IntervalVar, FunctionVarRef, DataVar, NotifyVarRef) | |
| 2650 | + | ||
| 2594 | 2651 | return cret | |
| 2595 | 2652 | } | |
| 2596 | 2653 | ||
| @@ -2616,6 +2673,7 @@ func TimeoutAddSecondsOnce(IntervalVar uint, FunctionVar *SourceOnceFunc, DataVa | |||
| 2616 | 2673 | } | |
| 2617 | 2674 | ||
| 2618 | 2675 | cret := xTimeoutAddSecondsOnce(IntervalVar, FunctionVarRef, DataVar) | |
| 2676 | + | ||
| 2619 | 2677 | return cret | |
| 2620 | 2678 | } | |
| 2621 | 2679 | ||
| @@ -2632,6 +2690,7 @@ var xTimeoutSourceNew func(uint) *Source | |||
| 2632 | 2690 | func TimeoutSourceNew(IntervalVar uint) *Source { | |
| 2633 | 2691 | ||
| 2634 | 2692 | cret := xTimeoutSourceNew(IntervalVar) | |
| 2693 | + | ||
| 2635 | 2694 | return cret | |
| 2636 | 2695 | } | |
| 2637 | 2696 | ||
| @@ -2651,6 +2710,7 @@ var xTimeoutSourceNewSeconds func(uint) *Source | |||
| 2651 | 2710 | func TimeoutSourceNewSeconds(IntervalVar uint) *Source { | |
| 2652 | 2711 | ||
| 2653 | 2712 | cret := xTimeoutSourceNewSeconds(IntervalVar) | |
| 2713 | + | ||
| 2654 | 2714 | return cret | |
| 2655 | 2715 | } | |
| 2656 | 2716 | ||
M v4/glib/gmappedfile.go +6 -0 collapsed to keep the page light
M v4/glib/gmarkup.go +12 -0 collapsed to keep the page light
M v4/glib/gmem.go +15 -0 collapsed to keep the page light
M v4/glib/gmessages.go +81 -10 collapsed to keep the page light
M v4/glib/gnode.go +20 -0 collapsed to keep the page light
M v4/glib/goption.go +27 -3 collapsed to keep the page light
M v4/glib/gpathbuf.go +22 -2 collapsed to keep the page light
M v4/glib/gpattern.go +19 -2 collapsed to keep the page light
M v4/glib/gpoll.go +1 -0 collapsed to keep the page light
M v4/glib/gprimes.go +1 -0 collapsed to keep the page light
M v4/glib/gprintf.go +7 -0 collapsed to keep the page light
M v4/glib/gquark.go +33 -5 collapsed to keep the page light
M v4/glib/gqueue.go +21 -0 collapsed to keep the page light
M v4/glib/grand.go +12 -0 collapsed to keep the page light
M v4/glib/grcbox.go +10 -0 collapsed to keep the page light
M v4/glib/grefcount.go +4 -0 collapsed to keep the page light
M v4/glib/grefstring.go +6 -0 collapsed to keep the page light
M v4/glib/gregex.go +37 -0 collapsed to keep the page light
M v4/glib/grel.go +5 -0 collapsed to keep the page light
M v4/glib/gscanner.go +10 -0 collapsed to keep the page light
M v4/glib/gsequence.go +24 -0 collapsed to keep the page light
M v4/glib/gshell.go +3 -0 collapsed to keep the page light
M v4/glib/gslice.go +5 -0 collapsed to keep the page light
M v4/glib/gspawn.go +35 -5 collapsed to keep the page light
M v4/glib/gstdio.go +17 -0 collapsed to keep the page light
M v4/glib/gstrfuncs.go +99 -8 collapsed to keep the page light
M v4/glib/gstring.go +45 -2 collapsed to keep the page light
M v4/glib/gstringchunk.go +3 -0 collapsed to keep the page light
M v4/glib/gstrvbuilder.go +4 -0 collapsed to keep the page light
M v4/glib/gtestutils.go +67 -7 collapsed to keep the page light
M v4/glib/gthread.go +40 -2 collapsed to keep the page light
M v4/glib/gthreadpool.go +9 -0 collapsed to keep the page light
M v4/glib/gtimer.go +3 -0 collapsed to keep the page light
M v4/glib/gtimezone.go +23 -2 collapsed to keep the page light
M v4/glib/gtrashstack.go +3 -0 collapsed to keep the page light
M v4/glib/gtree.go +23 -0 collapsed to keep the page light
M v4/glib/gtypes.go +1 -0 collapsed to keep the page light
M v4/glib/gunicode.go +73 -1 collapsed to keep the page light
M v4/glib/guri.go +165 -10 collapsed to keep the page light
M v4/glib/gutils.go +32 -1 collapsed to keep the page light
M v4/glib/guuid.go +2 -0 collapsed to keep the page light
M v4/glib/gvariant-parser.go +1 -0 collapsed to keep the page light
M v4/glib/gvariant.go +120 -3 collapsed to keep the page light
M v4/glib/gvarianttype.go +36 -1 collapsed to keep the page light
M v4/glib/gversion.go +1 -0 collapsed to keep the page light
M v4/glib/main.go +16 -0 collapsed to keep the page light
M v4/gmodule/gmodule.go +12 -1 collapsed to keep the page light
M v4/gmodule/main.go +1 -0 collapsed to keep the page light
M v4/gobject/gbinding.go +3 -0 collapsed to keep the page light
M v4/gobject/gboxed.go +2 -0 collapsed to keep the page light
M v4/gobject/gclosure.go +6 -0 collapsed to keep the page light
M v4/gobject/genums.go +10 -0 collapsed to keep the page light
M v4/gobject/glib-types.go +1 -0 collapsed to keep the page light
M v4/gobject/gobject.go +15 -0 collapsed to keep the page light
M v4/gobject/gparam.go +26 -1 collapsed to keep the page light
M v4/gobject/gparamspecs.go +204 -22 collapsed to keep the page light
M v4/gobject/gsignal.go +22 -0 collapsed to keep the page light
M v4/gobject/gtype.go +47 -0 collapsed to keep the page light
M v4/gobject/gtypemodule.go +4 -0 collapsed to keep the page light
M v4/gobject/gvalue.go +56 -5 collapsed to keep the page light
M v4/gobject/gvaluearray.go +9 -0 collapsed to keep the page light
M v4/gobject/gvaluetypes.go +3 -0 collapsed to keep the page light
M v4/graphene/graphene-box.go +19 -0 collapsed to keep the page light
M v4/graphene/graphene-euler.go +16 -0 collapsed to keep the page light
M v4/graphene/graphene-frustum.go +8 -0 collapsed to keep the page light
M v4/graphene/graphene-matrix.go +33 -0 collapsed to keep the page light
M v4/graphene/graphene-plane.go +9 -0 collapsed to keep the page light
M v4/graphene/graphene-point.go +8 -0 collapsed to keep the page light
M v4/graphene/graphene-point3d.go +10 -0 collapsed to keep the page light
M v4/graphene/graphene-quad.go +6 -0 collapsed to keep the page light
M v4/graphene/graphene-quaternion.go +12 -0 collapsed to keep the page light
M v4/graphene/graphene-ray.go +13 -0 collapsed to keep the page light
M v4/graphene/graphene-rect.go +17 -0 collapsed to keep the page light
M v4/graphene/graphene-size.go +5 -0 collapsed to keep the page light
M v4/graphene/graphene-sphere.go +9 -0 collapsed to keep the page light
M v4/graphene/graphene-triangle.go +9 -0 collapsed to keep the page light
M v4/graphene/graphene-vec2.go +14 -0 collapsed to keep the page light
M v4/graphene/graphene-vec3.go +16 -0 collapsed to keep the page light
M v4/graphene/graphene-vec4.go +20 -0 collapsed to keep the page light
M v4/gsk/gskcomponenttransfer.go +1 -0 collapsed to keep the page light
M v4/gsk/gskglshader.go +20 -0 collapsed to keep the page light
M v4/gsk/gskpath.go +1 -0 collapsed to keep the page light
M v4/gsk/gskpathpoint.go +6 -0 collapsed to keep the page light
M v4/gsk/gskrenderer.go +3 -0 collapsed to keep the page light
M v4/gsk/gskrendernode.go +5 -0 collapsed to keep the page light
M v4/gsk/gskrendernodeimpl.go +62 -0 collapsed to keep the page light
M v4/gsk/gskroundedrect.go +10 -0 collapsed to keep the page light
M v4/gsk/gskstroke.go +1 -0 collapsed to keep the page light
M v4/gsk/gsktransform.go +1 -0 collapsed to keep the page light
M v4/gsk/gsktypes.go +56 -0 collapsed to keep the page light
M v4/gsk/main.go +1 -0 collapsed to keep the page light
M v4/gtk/gtkaboutdialog.go +65 -9 collapsed to keep the page light
M v4/gtk/gtkaccelgroup.go +8 -0 collapsed to keep the page light
M v4/gtk/gtkaccessible.go +6 -0 collapsed to keep the page light
M v4/gtk/gtkactionable.go +8 -1 collapsed to keep the page light
M v4/gtk/gtkactionbar.go +5 -0 collapsed to keep the page light
M v4/gtk/gtkadjustment.go +7 -0 collapsed to keep the page light
M v4/gtk/gtkalertdialog.go +7 -0 collapsed to keep the page light
M v4/gtk/gtkappchooser.go +1 -0 collapsed to keep the page light
M v4/gtk/gtkappchooserbutton.go +9 -0 collapsed to keep the page light
M v4/gtk/gtkappchooserdialog.go +6 -0 collapsed to keep the page light
M v4/gtk/gtkappchooserwidget.go +11 -0 collapsed to keep the page light
M v4/gtk/gtkapplication.go +24 -2 collapsed to keep the page light
M v4/gtk/gtkapplicationwindow.go +14 -0 collapsed to keep the page light
M v4/gtk/gtkaspectframe.go +8 -0 collapsed to keep the page light
M v4/gtk/gtkassistant.go +12 -0 collapsed to keep the page light
M v4/gtk/gtkatcontext.go +1 -0 collapsed to keep the page light
M v4/gtk/gtkbitset.go +7 -0 collapsed to keep the page light
M v4/gtk/gtkbookmarklist.go +22 -2 collapsed to keep the page light
M v4/gtk/gtkboolfilter.go +1 -0 collapsed to keep the page light
M v4/gtk/gtkborder.go +2 -0 collapsed to keep the page light
M v4/gtk/gtkbox.go +9 -0 collapsed to keep the page light
M v4/gtk/gtkboxlayout.go +5 -0 collapsed to keep the page light
M v4/gtk/gtkbuildable.go +4 -0 collapsed to keep the page light
M v4/gtk/gtkbuilder.go +20 -1 collapsed to keep the page light
M v4/gtk/gtkbuilderlistitemfactory.go +2 -0 collapsed to keep the page light
M v4/gtk/gtkbuilderscope.go +1 -0 collapsed to keep the page light
M v4/gtk/gtkbutton.go +17 -1 collapsed to keep the page light
M v4/gtk/gtkcalendar.go +12 -0 collapsed to keep the page light
M v4/gtk/gtkcellarea.go +14 -0 collapsed to keep the page light
M v4/gtk/gtkcellareabox.go +4 -0 collapsed to keep the page light
M v4/gtk/gtkcelllayout.go +1 -0 collapsed to keep the page light
M v4/gtk/gtkcellrenderer.go +8 -0 collapsed to keep the page light
M v4/gtk/gtkcellrendererprogress.go +1 -0 collapsed to keep the page light
M v4/gtk/gtkcellrenderertoggle.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkcellview.go +9 -0 collapsed to keep the page light
M v4/gtk/gtkcenterbox.go +7 -0 collapsed to keep the page light
M v4/gtk/gtkcenterlayout.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkcheckbutton.go +31 -4 collapsed to keep the page light
M v4/gtk/gtkcolorbutton.go +7 -0 collapsed to keep the page light
M v4/gtk/gtkcolorchooser.go +1 -0 collapsed to keep the page light
M v4/gtk/gtkcolorchooserdialog.go +12 -1 collapsed to keep the page light
M v4/gtk/gtkcolorchooserwidget.go +5 -0 collapsed to keep the page light
M v4/gtk/gtkcolordialog.go +4 -0 collapsed to keep the page light
M v4/gtk/gtkcolordialogbutton.go +5 -0 collapsed to keep the page light
M v4/gtk/gtkcolumnview.go +13 -0 collapsed to keep the page light
M v4/gtk/gtkcolumnviewcell.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkcolumnviewcolumn.go +22 -3 collapsed to keep the page light
M v4/gtk/gtkcolumnviewrow.go +7 -0 collapsed to keep the page light
M v4/gtk/gtkcolumnviewsorter.go +2 -0 collapsed to keep the page light
M v4/gtk/gtkcombobox.go +21 -1 collapsed to keep the page light
M v4/gtk/gtkcomboboxtext.go +23 -3 collapsed to keep the page light
M v4/gtk/gtkconstraint.go +9 -0 collapsed to keep the page light
M v4/gtk/gtkconstraintguide.go +8 -1 collapsed to keep the page light
M v4/gtk/gtkconstraintlayout.go +4 -0 collapsed to keep the page light
M v4/gtk/gtkcsserror.go +2 -0 collapsed to keep the page light
M v4/gtk/gtkcssprovider.go +7 -1 collapsed to keep the page light
M v4/gtk/gtkcsssection.go +8 -0 collapsed to keep the page light
M v4/gtk/gtkdebug.go +1 -0 collapsed to keep the page light
M v4/gtk/gtkdialog.go +15 -1 collapsed to keep the page light
M v4/gtk/gtkdialogerror.go +1 -0 collapsed to keep the page light
M v4/gtk/gtkdirectorylist.go +19 -2 collapsed to keep the page light
M v4/gtk/gtkdragicon.go +4 -0 collapsed to keep the page light
M v4/gtk/gtkdragsource.go +1 -0 collapsed to keep the page light
M v4/gtk/gtkdrawingarea.go +6 -0 collapsed to keep the page light
M v4/gtk/gtkdropcontrollermotion.go +2 -0 collapsed to keep the page light
M v4/gtk/gtkdropdown.go +8 -0 collapsed to keep the page light
M v4/gtk/gtkdroptarget.go +5 -0 collapsed to keep the page light
M v4/gtk/gtkdroptargetasync.go +2 -0 collapsed to keep the page light
M v4/gtk/gtkeditable.go +13 -0 collapsed to keep the page light
M v4/gtk/gtkeditablelabel.go +15 -0 collapsed to keep the page light
M v4/gtk/gtkemojichooser.go +4 -0 collapsed to keep the page light
M v4/gtk/gtkentry.go +59 -4 collapsed to keep the page light
M v4/gtk/gtkentrybuffer.go +12 -1 collapsed to keep the page light
M v4/gtk/gtkentrycompletion.go +11 -0 collapsed to keep the page light
M v4/gtk/gtkenums.go +1 -0 collapsed to keep the page light
M v4/gtk/gtkeventcontroller.go +16 -2 collapsed to keep the page light
M v4/gtk/gtkeventcontrollerfocus.go +2 -0 collapsed to keep the page light
M v4/gtk/gtkeventcontrollerkey.go +2 -0 collapsed to keep the page light
M v4/gtk/gtkeventcontrollermotion.go +2 -0 collapsed to keep the page light
M v4/gtk/gtkeventcontrollerscroll.go +2 -0 collapsed to keep the page light
M v4/gtk/gtkexpander.go +25 -3 collapsed to keep the page light
M v4/gtk/gtkexpression.go +8 -0 collapsed to keep the page light
M v4/gtk/gtkfilechooser.go +10 -0 collapsed to keep the page light
M v4/gtk/gtkfilechooserdialog.go +24 -1 collapsed to keep the page light
M v4/gtk/gtkfilechoosernative.go +35 -3 collapsed to keep the page light
M v4/gtk/gtkfilechooserwidget.go +13 -0 collapsed to keep the page light
M v4/gtk/gtkfiledialog.go +15 -2 collapsed to keep the page light
M v4/gtk/gtkfilefilter.go +10 -1 collapsed to keep the page light
M v4/gtk/gtkfilelauncher.go +4 -0 collapsed to keep the page light
M v4/gtk/gtkfilter.go +2 -0 collapsed to keep the page light
M v4/gtk/gtkfilterlistmodel.go +6 -0 collapsed to keep the page light
M v4/gtk/gtkfixed.go +5 -0 collapsed to keep the page light
M v4/gtk/gtkfixedlayout.go +1 -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 +19 -0 collapsed to keep the page light
M v4/gtk/gtkfontbutton.go +16 -0 collapsed to keep the page light
M v4/gtk/gtkfontchooser.go +8 -0 collapsed to keep the page light
M v4/gtk/gtkfontchooserdialog.go +19 -1 collapsed to keep the page light
M v4/gtk/gtkfontchooserwidget.go +12 -0 collapsed to keep the page light
M v4/gtk/gtkfontdialog.go +5 -0 collapsed to keep the page light
M v4/gtk/gtkfontdialogbutton.go +16 -1 collapsed to keep the page light
M v4/gtk/gtkframe.go +17 -2 collapsed to keep the page light
M v4/gtk/gtkgesture.go +13 -0 collapsed to keep the page light
M v4/gtk/gtkgesturedrag.go +2 -0 collapsed to keep the page light
M v4/gtk/gtkgesturelongpress.go +1 -0 collapsed to keep the page light
M v4/gtk/gtkgesturepan.go +1 -0 collapsed to keep the page light
M v4/gtk/gtkgesturerotate.go +1 -0 collapsed to keep the page light
M v4/gtk/gtkgesturesingle.go +5 -0 collapsed to keep the page light
M v4/gtk/gtkgesturestylus.go +4 -0 collapsed to keep the page light
M v4/gtk/gtkgestureswipe.go +1 -0 collapsed to keep the page light
M v4/gtk/gtkgesturezoom.go +1 -0 collapsed to keep the page light
M v4/gtk/gtkglarea.go +11 -0 collapsed to keep the page light
M v4/gtk/gtkgraphicsoffload.go +6 -0 collapsed to keep the page light
M v4/gtk/gtkgrid.go +11 -0 collapsed to keep the page light
M v4/gtk/gtkgridlayout.go +10 -0 collapsed to keep the page light
M v4/gtk/gtkgridview.go +13 -0 collapsed to keep the page light
M v4/gtk/gtkheaderbar.go +14 -1 collapsed to keep the page light
M v4/gtk/gtkiconpaintable.go +6 -0 collapsed to keep the page light
M v4/gtk/gtkicontheme.go +14 -1 collapsed to keep the page light
M v4/gtk/gtkiconview.go +34 -0 collapsed to keep the page light
M v4/gtk/gtkimage.go +30 -4 collapsed to keep the page light
M v4/gtk/gtkimcontext.go +6 -0 collapsed to keep the page light
M v4/gtk/gtkimmulticontext.go +7 -1 collapsed to keep the page light
M v4/gtk/gtkinfobar.go +13 -1 collapsed to keep the page light
M v4/gtk/gtkinscription.go +30 -3 collapsed to keep the page light
M v4/gtk/gtklabel.go +36 -2 collapsed to keep the page light
M v4/gtk/gtklayoutmanager.go +1 -0 collapsed to keep the page light
M v4/gtk/gtklevelbar.go +22 -2 collapsed to keep the page light
M v4/gtk/gtklinkbutton.go +19 -2 collapsed to keep the page light
M v4/gtk/gtklistbase.go +8 -0 collapsed to keep the page light
M v4/gtk/gtklistbox.go +25 -1 collapsed to keep the page light
M v4/gtk/gtklistheader.go +3 -0 collapsed to keep the page light
M v4/gtk/gtklistitem.go +7 -0 collapsed to keep the page light
M v4/gtk/gtkliststore.go +24 -0 collapsed to keep the page light
M v4/gtk/gtklistview.go +12 -0 collapsed to keep the page light
M v4/gtk/gtklockbutton.go +13 -1 collapsed to keep the page light
M v4/gtk/gtkmain.go +4 -0 collapsed to keep the page light
M v4/gtk/gtkmaplistmodel.go +4 -0 collapsed to keep the page light
M v4/gtk/gtkmediacontrols.go +4 -0 collapsed to keep the page light
M v4/gtk/gtkmediafile.go +15 -2 collapsed to keep the page light
M v4/gtk/gtkmediastream.go +17 -0 collapsed to keep the page light
M v4/gtk/gtkmenubutton.go +13 -0 collapsed to keep the page light
M v4/gtk/gtkmessagedialog.go +20 -3 collapsed to keep the page light
M v4/gtk/gtkmountoperation.go +1 -0 collapsed to keep the page light
M v4/gtk/gtkmultifilter.go +12 -0 collapsed to keep the page light
M v4/gtk/gtkmultiselection.go +13 -0 collapsed to keep the page light
M v4/gtk/gtkmultisorter.go +4 -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 +13 -0 collapsed to keep the page light
M v4/gtk/gtknotebook.go +28 -1 collapsed to keep the page light
M v4/gtk/gtknumericsorter.go +1 -0 collapsed to keep the page light
M v4/gtk/gtkorientable.go +1 -0 collapsed to keep the page light
M v4/gtk/gtkoverlay.go +6 -0 collapsed to keep the page light
M v4/gtk/gtkoverlaylayout.go +2 -0 collapsed to keep the page light
M v4/gtk/gtkpagesetup.go +31 -3 collapsed to keep the page light
M v4/gtk/gtkpagesetupunixdialog.go +11 -1 collapsed to keep the page light
M v4/gtk/gtkpaned.go +11 -0 collapsed to keep the page light
M v4/gtk/gtkpapersize.go +33 -2 collapsed to keep the page light
M v4/gtk/gtkpasswordentry.go +15 -0 collapsed to keep the page light
M v4/gtk/gtkpicture.go +34 -5 collapsed to keep the page light
M v4/gtk/gtkpopover.go +10 -0 collapsed to keep the page light
M v4/gtk/gtkpopovermenu.go +7 -0 collapsed to keep the page light
M v4/gtk/gtkpopovermenubar.go +6 -0 collapsed to keep the page light
M v4/gtk/gtkprintcontext.go +6 -0 collapsed to keep the page light
M v4/gtk/gtkprintdialog.go +6 -0 collapsed to keep the page light
M v4/gtk/gtkprinter.go +20 -0 collapsed to keep the page light
M v4/gtk/gtkprintjob.go +16 -0 collapsed to keep the page light
M v4/gtk/gtkprintoperation.go +17 -1 collapsed to keep the page light
M v4/gtk/gtkprintoperationpreview.go +1 -0 collapsed to keep the page light
M v4/gtk/gtkprintsettings.go +59 -4 collapsed to keep the page light
M v4/gtk/gtkprintunixdialog.go +17 -1 collapsed to keep the page light
M v4/gtk/gtkprogressbar.go +18 -1 collapsed to keep the page light
M v4/gtk/gtkrange.go +13 -0 collapsed to keep the page light
M v4/gtk/gtkrecentmanager.go +41 -2 collapsed to keep the page light
M v4/gtk/gtkrevealer.go +8 -0 collapsed to keep the page light
M v4/gtk/gtkscale.go +15 -1 collapsed to keep the page light
M v4/gtk/gtkscalebutton.go +8 -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 +5 -0 collapsed to keep the page light
M v4/gtk/gtkscrolledwindow.go +14 -0 collapsed to keep the page light
M v4/gtk/gtksearchbar.go +6 -0 collapsed to keep the page light
M v4/gtk/gtksearchentry.go +24 -1 collapsed to keep the page light
M v4/gtk/gtkselectionfiltermodel.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkselectionmodel.go +10 -0 collapsed to keep the page light
M v4/gtk/gtkseparator.go +5 -0 collapsed to keep the page light
M v4/gtk/gtkshortcut.go +7 -1 collapsed to keep the page light
M v4/gtk/gtkshortcutaction.go +4 -0 collapsed to keep the page light
M v4/gtk/gtkshortcutcontroller.go +6 -0 collapsed to keep the page light
M v4/gtk/gtkshortcutlabel.go +6 -0 collapsed to keep the page light
M v4/gtk/gtkshortcutsgroup.go +5 -0 collapsed to keep the page light
M v4/gtk/gtkshortcutssection.go +5 -0 collapsed to keep the page light
M v4/gtk/gtkshortcutsshortcut.go +4 -0 collapsed to keep the page light
M v4/gtk/gtkshortcutswindow.go +4 -0 collapsed to keep the page light
M v4/gtk/gtkshortcuttrigger.go +10 -0
| @@ -188,6 +188,7 @@ var xKeyvalTriggerGetKeyval func(uintptr) uint | |||
| 188 | 188 | func (x *KeyvalTrigger) GetKeyval() uint { | |
| 189 | 189 | ||
| 190 | 190 | cret := xKeyvalTriggerGetKeyval(x.GoPointer()) | |
| 191 | + | ||
| 191 | 192 | return cret | |
| 192 | 193 | } | |
| 193 | 194 | ||
| @@ -198,6 +199,7 @@ var xKeyvalTriggerGetModifiers func(uintptr) gdk.ModifierType | |||
| 198 | 199 | func (x *KeyvalTrigger) GetModifiers() gdk.ModifierType { | |
| 199 | 200 | ||
| 200 | 201 | cret := xKeyvalTriggerGetModifiers(x.GoPointer()) | |
| 202 | + | ||
| 201 | 203 | return cret | |
| 202 | 204 | } | |
| 203 | 205 | ||
| @@ -275,6 +277,7 @@ var xMnemonicTriggerGetKeyval func(uintptr) uint | |||
| 275 | 277 | func (x *MnemonicTrigger) GetKeyval() uint { | |
| 276 | 278 | ||
| 277 | 279 | cret := xMnemonicTriggerGetKeyval(x.GoPointer()) | |
| 280 | + | ||
| 278 | 281 | return cret | |
| 279 | 282 | } | |
| 280 | 283 | ||
| @@ -422,6 +425,7 @@ var xShortcutTriggerCompare func(uintptr, uintptr) int | |||
| 422 | 425 | func (x *ShortcutTrigger) Compare(Trigger2Var uintptr) int { | |
| 423 | 426 | ||
| 424 | 427 | cret := xShortcutTriggerCompare(x.GoPointer(), Trigger2Var) | |
| 428 | + | ||
| 425 | 429 | return cret | |
| 426 | 430 | } | |
| 427 | 431 | ||
| @@ -434,6 +438,7 @@ var xShortcutTriggerEqual func(uintptr, uintptr) bool | |||
| 434 | 438 | func (x *ShortcutTrigger) Equal(Trigger2Var uintptr) bool { | |
| 435 | 439 | ||
| 436 | 440 | cret := xShortcutTriggerEqual(x.GoPointer(), Trigger2Var) | |
| 441 | + | ||
| 437 | 442 | return cret | |
| 438 | 443 | } | |
| 439 | 444 | ||
| @@ -451,6 +456,7 @@ var xShortcutTriggerHash func(uintptr) uint | |||
| 451 | 456 | func (x *ShortcutTrigger) Hash() uint { | |
| 452 | 457 | ||
| 453 | 458 | cret := xShortcutTriggerHash(x.GoPointer()) | |
| 459 | + | ||
| 454 | 460 | return cret | |
| 455 | 461 | } | |
| 456 | 462 | ||
| @@ -483,6 +489,7 @@ var xShortcutTriggerPrintLabel func(uintptr, uintptr, *glib.String) bool | |||
| 483 | 489 | func (x *ShortcutTrigger) PrintLabel(DisplayVar *gdk.Display, StringVar *glib.String) bool { | |
| 484 | 490 | ||
| 485 | 491 | cret := xShortcutTriggerPrintLabel(x.GoPointer(), DisplayVar.GoPointer(), StringVar) | |
| 492 | + | ||
| 486 | 493 | return cret | |
| 487 | 494 | } | |
| 488 | 495 | ||
| @@ -503,6 +510,7 @@ var xShortcutTriggerToLabel func(uintptr, uintptr) string | |||
| 503 | 510 | func (x *ShortcutTrigger) ToLabel(DisplayVar *gdk.Display) string { | |
| 504 | 511 | ||
| 505 | 512 | cret := xShortcutTriggerToLabel(x.GoPointer(), DisplayVar.GoPointer()) | |
| 513 | + | ||
| 506 | 514 | return cret | |
| 507 | 515 | } | |
| 508 | 516 | ||
| @@ -515,6 +523,7 @@ var xShortcutTriggerToString func(uintptr) string | |||
| 515 | 523 | func (x *ShortcutTrigger) ToString() string { | |
| 516 | 524 | ||
| 517 | 525 | cret := xShortcutTriggerToString(x.GoPointer()) | |
| 526 | + | ||
| 518 | 527 | return cret | |
| 519 | 528 | } | |
| 520 | 529 | ||
| @@ -524,6 +533,7 @@ var xShortcutTriggerTrigger func(uintptr, uintptr, bool) gdk.KeyMatch | |||
| 524 | 533 | func (x *ShortcutTrigger) Trigger(EventVar *gdk.Event, EnableMnemonicsVar bool) gdk.KeyMatch { | |
| 525 | 534 | ||
| 526 | 535 | cret := xShortcutTriggerTrigger(x.GoPointer(), EventVar.GoPointer(), EnableMnemonicsVar) | |
| 536 | + | ||
| 527 | 537 | return cret | |
| 528 | 538 | } | |
| 529 | 539 | ||