chore(deps): bump purego-cef to v0.14.1
v0.14.0 pinned the CEF API 15000 contract and fixed the struct ABI corruption that made BrowserSettings.BackgroundColor land on chrome_status_bubble (transparent windowless canvas). v0.14.1 restores the global function bindings dropped by that regeneration (DictionaryValueCreate, V8ContextGetCurrentContext, all *Create factories) and fixes global factory ownership so created objects are adopted without a leaked reference. This makes the white-canvas fix in this branch effective: the opaque white BrowserSettings.BackgroundColor now actually reaches libcef.
- commit
- 902c404508da47722a324d2f14b2a4cfc04a2812
- author
- brice · · 2026-07-21 19:07 UTC
- parent
- 1dc7dd4
- signature
- GPG Verified
CD88F9E564E0102646FB6077A1A07C7C7C3E349D· arch-gpg Verified for the committer email
75 files · +1836 -1983
M go.mod +1 -1
| @@ -6,7 +6,7 @@ require ( | |||
| 6 | 6 | github.com/a-h/templ v0.3.1020 | |
| 7 | 7 | github.com/andybalholm/brotli v1.2.2 | |
| 8 | 8 | github.com/bnema/purego v0.11.0-bnema.4 | |
| 9 | - | github.com/bnema/purego-cef v0.13.4 | |
| 9 | + | github.com/bnema/purego-cef v0.14.1 | |
| 10 | 10 | github.com/bnema/purego-cef2gtk v0.8.5 | |
| 11 | 11 | github.com/bnema/purego-pipewire v0.1.5 | |
| 12 | 12 | github.com/bnema/purego-sqlite v0.1.4 | |
| @@ -6,7 +6,7 @@ require ( | |||||
| 6 | github.com/a-h/templ v0.3.1020 | 6 | github.com/a-h/templ v0.3.1020 | ||
| 7 | github.com/andybalholm/brotli v1.2.2 | 7 | github.com/andybalholm/brotli v1.2.2 | ||
| 8 | github.com/bnema/purego v0.11.0-bnema.4 | 8 | github.com/bnema/purego v0.11.0-bnema.4 | ||
| 9 | - | github.com/bnema/purego-cef v0.13.4 | 9 | + | github.com/bnema/purego-cef v0.14.1 |
| 10 | github.com/bnema/purego-cef2gtk v0.8.5 | 10 | github.com/bnema/purego-cef2gtk v0.8.5 | ||
| 11 | github.com/bnema/purego-pipewire v0.1.5 | 11 | github.com/bnema/purego-pipewire v0.1.5 | ||
| 12 | github.com/bnema/purego-sqlite v0.1.4 | 12 | github.com/bnema/purego-sqlite v0.1.4 | ||
M go.sum +2 -2 generated file: collapsed
M vendor/github.com/bnema/purego-cef/cef/cef_browser_gen.go +15 -2 generated file: collapsed
M vendor/github.com/bnema/purego-cef/cef/cef_command_line_gen.go +15 -2 generated file: collapsed
A vendor/github.com/bnema/purego-cef/cef/cef_component_updater_gen.go +323 -0 generated file: collapsed
M vendor/github.com/bnema/purego-cef/cef/cef_cookie_gen.go +14 -1 generated file: collapsed
M vendor/github.com/bnema/purego-cef/cef/cef_drag_data_gen.go +14 -1 generated file: collapsed
M vendor/github.com/bnema/purego-cef/cef/cef_image_gen.go +14 -1 generated file: collapsed
M vendor/github.com/bnema/purego-cef/cef/cef_media_router_gen.go +24 -41 generated file: collapsed
M vendor/github.com/bnema/purego-cef/cef/cef_menu_model_gen.go +14 -1 generated file: collapsed
M vendor/github.com/bnema/purego-cef/cef/cef_parser_gen.go +10 -4 generated file: collapsed
M vendor/github.com/bnema/purego-cef/cef/cef_preference_gen.go +14 -1 generated file: collapsed
M vendor/github.com/bnema/purego-cef/cef/cef_print_settings_gen.go +14 -1 generated file: collapsed
M vendor/github.com/bnema/purego-cef/cef/cef_process_message_gen.go +14 -1 generated file: collapsed
M vendor/github.com/bnema/purego-cef/cef/cef_request_context_gen.go +16 -3 generated file: collapsed
M vendor/github.com/bnema/purego-cef/cef/cef_request_gen.go +42 -3 generated file: collapsed
M vendor/github.com/bnema/purego-cef/cef/cef_resource_bundle_gen.go +14 -1 generated file: collapsed
M vendor/github.com/bnema/purego-cef/cef/cef_response_gen.go +14 -1 generated file: collapsed
M vendor/github.com/bnema/purego-cef/cef/cef_shared_memory_region_gen.go +3 -3 generated file: collapsed
M vendor/github.com/bnema/purego-cef/cef/cef_shared_process_message_builder_gen.go +20 -4 generated file: collapsed
M vendor/github.com/bnema/purego-cef/cef/cef_stream_gen.go +34 -5 generated file: collapsed
M vendor/github.com/bnema/purego-cef/cef/cef_task_gen.go +15 -2 generated file: collapsed
M vendor/github.com/bnema/purego-cef/cef/cef_task_manager_gen.go +14 -1 generated file: collapsed
M vendor/github.com/bnema/purego-cef/cef/cef_thread_gen.go +14 -1 generated file: collapsed
A vendor/github.com/bnema/purego-cef/cef/cef_types_component_gen.go +45 -0 generated file: collapsed
M vendor/github.com/bnema/purego-cef/cef/cef_types_content_settings_gen.go +72 -79 generated file: collapsed
M vendor/github.com/bnema/purego-cef/cef/cef_types_gen.go +59 -52 generated file: collapsed
M vendor/github.com/bnema/purego-cef/cef/cef_urlrequest_gen.go +14 -1 generated file: collapsed
M vendor/github.com/bnema/purego-cef/cef/cef_v8_gen.go +166 -19 generated file: collapsed
M vendor/github.com/bnema/purego-cef/cef/cef_values_gen.go +62 -7 generated file: collapsed
M vendor/github.com/bnema/purego-cef/cef/cef_waitable_event_gen.go +14 -1 generated file: collapsed
M vendor/github.com/bnema/purego-cef/cef/cef_xml_reader_gen.go +14 -1 generated file: collapsed
M vendor/github.com/bnema/purego-cef/cef/cef_zip_reader_gen.go +14 -1 generated file: collapsed
M vendor/github.com/bnema/purego-cef/cef/test_cef_api_version_test__gen.go +86 -871 generated file: collapsed
M vendor/github.com/bnema/purego-cef/cef/test_cef_test_server_gen.go +14 -1 generated file: collapsed
M vendor/github.com/bnema/purego-cef/cef/test_cef_translator_test__gen.go +92 -50 generated file: collapsed
A vendor/github.com/bnema/purego-cef/cef/v8_helpers.go +19 -0 generated file: collapsed
M vendor/github.com/bnema/purego-cef/cef/views_cef_browser_view_gen.go +15 -2 generated file: collapsed
M vendor/github.com/bnema/purego-cef/cef/views_cef_display_gen.go +17 -4 generated file: collapsed
M vendor/github.com/bnema/purego-cef/cef/views_cef_label_button_gen.go +14 -1 generated file: collapsed
M vendor/github.com/bnema/purego-cef/cef/views_cef_menu_button_gen.go +14 -1 generated file: collapsed
M vendor/github.com/bnema/purego-cef/cef/views_cef_panel_gen.go +14 -1 generated file: collapsed
M vendor/github.com/bnema/purego-cef/cef/views_cef_scroll_view_gen.go +14 -1 generated file: collapsed
M vendor/github.com/bnema/purego-cef/cef/views_cef_textfield_gen.go +14 -60 generated file: collapsed
M vendor/github.com/bnema/purego-cef/cef/views_cef_window_gen.go +14 -1 generated file: collapsed
A vendor/github.com/bnema/purego-cef/internal/capi/cef_component_updater_gen.go +130 -0 generated file: collapsed
A vendor/github.com/bnema/purego-cef/internal/capi/cef_types_component_gen.go +11 -0 generated file: collapsed
M vendor/github.com/bnema/purego-cef/internal/capi/cef_types_gen.go +1 -1 generated file: collapsed
M vendor/github.com/bnema/purego-cef/internal/capi/cef_v8_gen.go +44 -0 generated file: collapsed
M vendor/github.com/bnema/purego-cef/internal/capi/register_gen.go +2 -0 generated file: collapsed
M vendor/github.com/bnema/purego-cef/internal/capi/test_cef_api_version_test__gen.go +0 -459
| @@ -22,9 +22,7 @@ type CEFApiVersionTestT struct { | |||
| 22 | 22 | GetRefPtrLibraryListSize uintptr | |
| 23 | 23 | SetRefPtrClient uintptr | |
| 24 | 24 | SetRefPtrClientAndReturn uintptr | |
| 25 | - | SetChildRefPtrClient uintptr | |
| 26 | 25 | SetChildRefPtrClientRemoved uintptr | |
| 27 | - | SetChildRefPtrClientAndReturnParent uintptr | |
| 28 | 26 | SetChildRefPtrClientAndReturnParentRemoved uintptr | |
| 29 | 27 | SetRefPtrClientList uintptr | |
| 30 | 28 | GetRefPtrClientListByRef uintptr | |
| @@ -36,15 +34,12 @@ type CEFApiVersionTestT struct { | |||
| 36 | 34 | SetChildOwnPtrLibraryAndReturnParent uintptr | |
| 37 | 35 | SetOwnPtrClient uintptr | |
| 38 | 36 | SetOwnPtrClientAndReturn uintptr | |
| 39 | - | SetChildOwnPtrClient uintptr | |
| 40 | 37 | SetChildOwnPtrClientRemoved uintptr | |
| 41 | - | SetChildOwnPtrClientAndReturnParent uintptr | |
| 42 | 38 | SetChildOwnPtrClientAndReturnParentRemoved uintptr | |
| 43 | 39 | SetRawPtrLibrary uintptr | |
| 44 | 40 | SetChildRawPtrLibrary uintptr | |
| 45 | 41 | SetRawPtrLibraryList uintptr | |
| 46 | 42 | SetRawPtrClient uintptr | |
| 47 | - | SetChildRawPtrClient uintptr | |
| 48 | 43 | SetChildRawPtrClientRemoved uintptr | |
| 49 | 44 | SetRawPtrClientList uintptr | |
| 50 | 45 | SetChildRefPtrClientV2 uintptr | |
| @@ -164,28 +159,6 @@ func (v *CEFApiVersionTestT) CallSetRefPtrClientAndReturn(args ...uintptr) uintp | |||
| 164 | 159 | return r1 | |
| 165 | 160 | } | |
| 166 | 161 | ||
| 167 | - | func (v *CEFApiVersionTestT) OverrideSetChildRefPtrClient(fn uintptr) { v.SetChildRefPtrClient = fn } | |
| 168 | - | ||
| 169 | - | func (v *CEFApiVersionTestT) CallSetChildRefPtrClient(args ...uintptr) uintptr { | |
| 170 | - | if v.SetChildRefPtrClient == 0 { | |
| 171 | - | return 0 | |
| 172 | - | } | |
| 173 | - | r1, _, _ := purego.SyscallN(v.SetChildRefPtrClient, append([]uintptr{uintptr(unsafe.Pointer(v))}, args...)...) | |
| 174 | - | return r1 | |
| 175 | - | } | |
| 176 | - | ||
| 177 | - | func (v *CEFApiVersionTestT) OverrideSetChildRefPtrClientAndReturnParent(fn uintptr) { | |
| 178 | - | v.SetChildRefPtrClientAndReturnParent = fn | |
| 179 | - | } | |
| 180 | - | ||
| 181 | - | func (v *CEFApiVersionTestT) CallSetChildRefPtrClientAndReturnParent(args ...uintptr) uintptr { | |
| 182 | - | if v.SetChildRefPtrClientAndReturnParent == 0 { | |
| 183 | - | return 0 | |
| 184 | - | } | |
| 185 | - | r1, _, _ := purego.SyscallN(v.SetChildRefPtrClientAndReturnParent, append([]uintptr{uintptr(unsafe.Pointer(v))}, args...)...) | |
| 186 | - | return r1 | |
| 187 | - | } | |
| 188 | - | ||
| 189 | 162 | func (v *CEFApiVersionTestT) OverrideSetRefPtrClientList(fn uintptr) { v.SetRefPtrClientList = fn } | |
| 190 | 163 | ||
| 191 | 164 | func (v *CEFApiVersionTestT) CallSetRefPtrClientList(args ...uintptr) uintptr { | |
| @@ -296,28 +269,6 @@ func (v *CEFApiVersionTestT) CallSetOwnPtrClientAndReturn(args ...uintptr) uintp | |||
| 296 | 269 | return r1 | |
| 297 | 270 | } | |
| 298 | 271 | ||
| 299 | - | func (v *CEFApiVersionTestT) OverrideSetChildOwnPtrClient(fn uintptr) { v.SetChildOwnPtrClient = fn } | |
| 300 | - | ||
| 301 | - | func (v *CEFApiVersionTestT) CallSetChildOwnPtrClient(args ...uintptr) uintptr { | |
| 302 | - | if v.SetChildOwnPtrClient == 0 { | |
| 303 | - | return 0 | |
| 304 | - | } | |
| 305 | - | r1, _, _ := purego.SyscallN(v.SetChildOwnPtrClient, append([]uintptr{uintptr(unsafe.Pointer(v))}, args...)...) | |
| 306 | - | return r1 | |
| 307 | - | } | |
| 308 | - | ||
| 309 | - | func (v *CEFApiVersionTestT) OverrideSetChildOwnPtrClientAndReturnParent(fn uintptr) { | |
| 310 | - | v.SetChildOwnPtrClientAndReturnParent = fn | |
| 311 | - | } | |
| 312 | - | ||
| 313 | - | func (v *CEFApiVersionTestT) CallSetChildOwnPtrClientAndReturnParent(args ...uintptr) uintptr { | |
| 314 | - | if v.SetChildOwnPtrClientAndReturnParent == 0 { | |
| 315 | - | return 0 | |
| 316 | - | } | |
| 317 | - | r1, _, _ := purego.SyscallN(v.SetChildOwnPtrClientAndReturnParent, append([]uintptr{uintptr(unsafe.Pointer(v))}, args...)...) | |
| 318 | - | return r1 | |
| 319 | - | } | |
| 320 | - | ||
| 321 | 272 | func (v *CEFApiVersionTestT) OverrideSetRawPtrLibrary(fn uintptr) { v.SetRawPtrLibrary = fn } | |
| 322 | 273 | ||
| 323 | 274 | func (v *CEFApiVersionTestT) CallSetRawPtrLibrary(args ...uintptr) uintptr { | |
| @@ -358,16 +309,6 @@ func (v *CEFApiVersionTestT) CallSetRawPtrClient(args ...uintptr) uintptr { | |||
| 358 | 309 | return r1 | |
| 359 | 310 | } | |
| 360 | 311 | ||
| 361 | - | func (v *CEFApiVersionTestT) OverrideSetChildRawPtrClient(fn uintptr) { v.SetChildRawPtrClient = fn } | |
| 362 | - | ||
| 363 | - | func (v *CEFApiVersionTestT) CallSetChildRawPtrClient(args ...uintptr) uintptr { | |
| 364 | - | if v.SetChildRawPtrClient == 0 { | |
| 365 | - | return 0 | |
| 366 | - | } | |
| 367 | - | r1, _, _ := purego.SyscallN(v.SetChildRawPtrClient, append([]uintptr{uintptr(unsafe.Pointer(v))}, args...)...) | |
| 368 | - | return r1 | |
| 369 | - | } | |
| 370 | - | ||
| 371 | 312 | func (v *CEFApiVersionTestT) OverrideSetRawPtrClientList(fn uintptr) { v.SetRawPtrClientList = fn } | |
| 372 | 313 | ||
| 373 | 314 | func (v *CEFApiVersionTestT) CallSetRawPtrClientList(args ...uintptr) uintptr { | |
| @@ -443,18 +384,12 @@ type CEFApiVersionTestRefPtrLibraryT struct { | |||
| 443 | 384 | Base CEFBaseRefCountedT | |
| 444 | 385 | GetValueLegacy uintptr | |
| 445 | 386 | SetValueLegacy uintptr | |
| 446 | - | GetValue uintptr | |
| 447 | 387 | GetValueRemoved uintptr | |
| 448 | - | SetValue uintptr | |
| 449 | 388 | SetValueRemoved uintptr | |
| 450 | - | GetValueV1 uintptr | |
| 451 | 389 | GetValueV1Removed uintptr | |
| 452 | - | SetValueV1 uintptr | |
| 453 | 390 | SetValueV1Removed uintptr | |
| 454 | 391 | GetValueV2 uintptr | |
| 455 | 392 | SetValueV2 uintptr | |
| 456 | - | GetValueExp uintptr | |
| 457 | - | SetValueExp uintptr | |
| 458 | 393 | } | |
| 459 | 394 | ||
| 460 | 395 | func (v *CEFApiVersionTestRefPtrLibraryT) OverrideGetValueLegacy(fn uintptr) { v.GetValueLegacy = fn } | |
| @@ -477,46 +412,6 @@ func (v *CEFApiVersionTestRefPtrLibraryT) CallSetValueLegacy(args ...uintptr) ui | |||
| 477 | 412 | return r1 | |
| 478 | 413 | } | |
| 479 | 414 | ||
| 480 | - | func (v *CEFApiVersionTestRefPtrLibraryT) OverrideGetValue(fn uintptr) { v.GetValue = fn } | |
| 481 | - | ||
| 482 | - | func (v *CEFApiVersionTestRefPtrLibraryT) CallGetValue(args ...uintptr) uintptr { | |
| 483 | - | if v.GetValue == 0 { | |
| 484 | - | return 0 | |
| 485 | - | } | |
| 486 | - | r1, _, _ := purego.SyscallN(v.GetValue, append([]uintptr{uintptr(unsafe.Pointer(v))}, args...)...) | |
| 487 | - | return r1 | |
| 488 | - | } | |
| 489 | - | ||
| 490 | - | func (v *CEFApiVersionTestRefPtrLibraryT) OverrideSetValue(fn uintptr) { v.SetValue = fn } | |
| 491 | - | ||
| 492 | - | func (v *CEFApiVersionTestRefPtrLibraryT) CallSetValue(args ...uintptr) uintptr { | |
| 493 | - | if v.SetValue == 0 { | |
| 494 | - | return 0 | |
| 495 | - | } | |
| 496 | - | r1, _, _ := purego.SyscallN(v.SetValue, append([]uintptr{uintptr(unsafe.Pointer(v))}, args...)...) | |
| 497 | - | return r1 | |
| 498 | - | } | |
| 499 | - | ||
| 500 | - | func (v *CEFApiVersionTestRefPtrLibraryT) OverrideGetValueV1(fn uintptr) { v.GetValueV1 = fn } | |
| 501 | - | ||
| 502 | - | func (v *CEFApiVersionTestRefPtrLibraryT) CallGetValueV1(args ...uintptr) uintptr { | |
| 503 | - | if v.GetValueV1 == 0 { | |
| 504 | - | return 0 | |
| 505 | - | } | |
| 506 | - | r1, _, _ := purego.SyscallN(v.GetValueV1, append([]uintptr{uintptr(unsafe.Pointer(v))}, args...)...) | |
| 507 | - | return r1 | |
| 508 | - | } | |
| 509 | - | ||
| 510 | - | func (v *CEFApiVersionTestRefPtrLibraryT) OverrideSetValueV1(fn uintptr) { v.SetValueV1 = fn } | |
| 511 | - | ||
| 512 | - | func (v *CEFApiVersionTestRefPtrLibraryT) CallSetValueV1(args ...uintptr) uintptr { | |
| 513 | - | if v.SetValueV1 == 0 { | |
| 514 | - | return 0 | |
| 515 | - | } | |
| 516 | - | r1, _, _ := purego.SyscallN(v.SetValueV1, append([]uintptr{uintptr(unsafe.Pointer(v))}, args...)...) | |
| 517 | - | return r1 | |
| 518 | - | } | |
| 519 | - | ||
| 520 | 415 | func (v *CEFApiVersionTestRefPtrLibraryT) OverrideGetValueV2(fn uintptr) { v.GetValueV2 = fn } | |
| 521 | 416 | ||
| 522 | 417 | func (v *CEFApiVersionTestRefPtrLibraryT) CallGetValueV2(args ...uintptr) uintptr { | |
| @@ -537,26 +432,6 @@ func (v *CEFApiVersionTestRefPtrLibraryT) CallSetValueV2(args ...uintptr) uintpt | |||
| 537 | 432 | return r1 | |
| 538 | 433 | } | |
| 539 | 434 | ||
| 540 | - | func (v *CEFApiVersionTestRefPtrLibraryT) OverrideGetValueExp(fn uintptr) { v.GetValueExp = fn } | |
| 541 | - | ||
| 542 | - | func (v *CEFApiVersionTestRefPtrLibraryT) CallGetValueExp(args ...uintptr) uintptr { | |
| 543 | - | if v.GetValueExp == 0 { | |
| 544 | - | return 0 | |
| 545 | - | } | |
| 546 | - | r1, _, _ := purego.SyscallN(v.GetValueExp, append([]uintptr{uintptr(unsafe.Pointer(v))}, args...)...) | |
| 547 | - | return r1 | |
| 548 | - | } | |
| 549 | - | ||
| 550 | - | func (v *CEFApiVersionTestRefPtrLibraryT) OverrideSetValueExp(fn uintptr) { v.SetValueExp = fn } | |
| 551 | - | ||
| 552 | - | func (v *CEFApiVersionTestRefPtrLibraryT) CallSetValueExp(args ...uintptr) uintptr { | |
| 553 | - | if v.SetValueExp == 0 { | |
| 554 | - | return 0 | |
| 555 | - | } | |
| 556 | - | r1, _, _ := purego.SyscallN(v.SetValueExp, append([]uintptr{uintptr(unsafe.Pointer(v))}, args...)...) | |
| 557 | - | return r1 | |
| 558 | - | } | |
| 559 | - | ||
| 560 | 435 | type CEFApiVersionTestRefPtrLibraryChildT struct { | |
| 561 | 436 | _ structs.HostLayout | |
| 562 | 437 | Base CEFApiVersionTestRefPtrLibraryT | |
| @@ -588,68 +463,6 @@ func (v *CEFApiVersionTestRefPtrLibraryChildT) CallSetOtherValue(args ...uintptr | |||
| 588 | 463 | return r1 | |
| 589 | 464 | } | |
| 590 | 465 | ||
| 591 | - | type CEFApiVersionTestRefPtrLibraryChildChildT struct { | |
| 592 | - | _ structs.HostLayout | |
| 593 | - | Base CEFApiVersionTestRefPtrLibraryChildT | |
| 594 | - | GetOtherOtherValue uintptr | |
| 595 | - | SetOtherOtherValue uintptr | |
| 596 | - | } | |
| 597 | - | ||
| 598 | - | func (v *CEFApiVersionTestRefPtrLibraryChildChildT) OverrideGetOtherOtherValue(fn uintptr) { | |
| 599 | - | v.GetOtherOtherValue = fn | |
| 600 | - | } | |
| 601 | - | ||
| 602 | - | func (v *CEFApiVersionTestRefPtrLibraryChildChildT) CallGetOtherOtherValue(args ...uintptr) uintptr { | |
| 603 | - | if v.GetOtherOtherValue == 0 { | |
| 604 | - | return 0 | |
| 605 | - | } | |
| 606 | - | r1, _, _ := purego.SyscallN(v.GetOtherOtherValue, append([]uintptr{uintptr(unsafe.Pointer(v))}, args...)...) | |
| 607 | - | return r1 | |
| 608 | - | } | |
| 609 | - | ||
| 610 | - | func (v *CEFApiVersionTestRefPtrLibraryChildChildT) OverrideSetOtherOtherValue(fn uintptr) { | |
| 611 | - | v.SetOtherOtherValue = fn | |
| 612 | - | } | |
| 613 | - | ||
| 614 | - | func (v *CEFApiVersionTestRefPtrLibraryChildChildT) CallSetOtherOtherValue(args ...uintptr) uintptr { | |
| 615 | - | if v.SetOtherOtherValue == 0 { | |
| 616 | - | return 0 | |
| 617 | - | } | |
| 618 | - | r1, _, _ := purego.SyscallN(v.SetOtherOtherValue, append([]uintptr{uintptr(unsafe.Pointer(v))}, args...)...) | |
| 619 | - | return r1 | |
| 620 | - | } | |
| 621 | - | ||
| 622 | - | type CEFApiVersionTestRefPtrLibraryChildChildV1T struct { | |
| 623 | - | _ structs.HostLayout | |
| 624 | - | Base CEFApiVersionTestRefPtrLibraryChildT | |
| 625 | - | GetOtherOtherValue uintptr | |
| 626 | - | SetOtherOtherValue uintptr | |
| 627 | - | } | |
| 628 | - | ||
| 629 | - | func (v *CEFApiVersionTestRefPtrLibraryChildChildV1T) OverrideGetOtherOtherValue(fn uintptr) { | |
| 630 | - | v.GetOtherOtherValue = fn | |
| 631 | - | } | |
| 632 | - | ||
| 633 | - | func (v *CEFApiVersionTestRefPtrLibraryChildChildV1T) CallGetOtherOtherValue(args ...uintptr) uintptr { | |
| 634 | - | if v.GetOtherOtherValue == 0 { | |
| 635 | - | return 0 | |
| 636 | - | } | |
| 637 | - | r1, _, _ := purego.SyscallN(v.GetOtherOtherValue, append([]uintptr{uintptr(unsafe.Pointer(v))}, args...)...) | |
| 638 | - | return r1 | |
| 639 | - | } | |
| 640 | - | ||
| 641 | - | func (v *CEFApiVersionTestRefPtrLibraryChildChildV1T) OverrideSetOtherOtherValue(fn uintptr) { | |
| 642 | - | v.SetOtherOtherValue = fn | |
| 643 | - | } | |
| 644 | - | ||
| 645 | - | func (v *CEFApiVersionTestRefPtrLibraryChildChildV1T) CallSetOtherOtherValue(args ...uintptr) uintptr { | |
| 646 | - | if v.SetOtherOtherValue == 0 { | |
| 647 | - | return 0 | |
| 648 | - | } | |
| 649 | - | r1, _, _ := purego.SyscallN(v.SetOtherOtherValue, append([]uintptr{uintptr(unsafe.Pointer(v))}, args...)...) | |
| 650 | - | return r1 | |
| 651 | - | } | |
| 652 | - | ||
| 653 | 466 | type CEFApiVersionTestRefPtrLibraryChildChildV2T struct { | |
| 654 | 467 | _ structs.HostLayout | |
| 655 | 468 | Base CEFApiVersionTestRefPtrLibraryChildT | |
| @@ -685,12 +498,9 @@ type CEFApiVersionTestRefPtrClientT struct { | |||
| 685 | 498 | _ structs.HostLayout | |
| 686 | 499 | Base CEFBaseRefCountedT | |
| 687 | 500 | GetValueLegacy uintptr | |
| 688 | - | GetValue uintptr | |
| 689 | 501 | GetValueRemoved uintptr | |
| 690 | - | GetValueV1 uintptr | |
| 691 | 502 | GetValueV1Removed uintptr | |
| 692 | 503 | GetValueV2 uintptr | |
| 693 | - | GetValueExp uintptr | |
| 694 | 504 | } | |
| 695 | 505 | ||
| 696 | 506 | func (v *CEFApiVersionTestRefPtrClientT) OverrideGetValueLegacy(fn uintptr) { v.GetValueLegacy = fn } | |
| @@ -703,26 +513,6 @@ func (v *CEFApiVersionTestRefPtrClientT) CallGetValueLegacy(args ...uintptr) uin | |||
| 703 | 513 | return r1 | |
| 704 | 514 | } | |
| 705 | 515 | ||
| 706 | - | func (v *CEFApiVersionTestRefPtrClientT) OverrideGetValue(fn uintptr) { v.GetValue = fn } | |
| 707 | - | ||
| 708 | - | func (v *CEFApiVersionTestRefPtrClientT) CallGetValue(args ...uintptr) uintptr { | |
| 709 | - | if v.GetValue == 0 { | |
| 710 | - | return 0 | |
| 711 | - | } | |
| 712 | - | r1, _, _ := purego.SyscallN(v.GetValue, append([]uintptr{uintptr(unsafe.Pointer(v))}, args...)...) | |
| 713 | - | return r1 | |
| 714 | - | } | |
| 715 | - | ||
| 716 | - | func (v *CEFApiVersionTestRefPtrClientT) OverrideGetValueV1(fn uintptr) { v.GetValueV1 = fn } | |
| 717 | - | ||
| 718 | - | func (v *CEFApiVersionTestRefPtrClientT) CallGetValueV1(args ...uintptr) uintptr { | |
| 719 | - | if v.GetValueV1 == 0 { | |
| 720 | - | return 0 | |
| 721 | - | } | |
| 722 | - | r1, _, _ := purego.SyscallN(v.GetValueV1, append([]uintptr{uintptr(unsafe.Pointer(v))}, args...)...) | |
| 723 | - | return r1 | |
| 724 | - | } | |
| 725 | - | ||
| 726 | 516 | func (v *CEFApiVersionTestRefPtrClientT) OverrideGetValueV2(fn uintptr) { v.GetValueV2 = fn } | |
| 727 | 517 | ||
| 728 | 518 | func (v *CEFApiVersionTestRefPtrClientT) CallGetValueV2(args ...uintptr) uintptr { | |
| @@ -733,46 +523,6 @@ func (v *CEFApiVersionTestRefPtrClientT) CallGetValueV2(args ...uintptr) uintptr | |||
| 733 | 523 | return r1 | |
| 734 | 524 | } | |
| 735 | 525 | ||
| 736 | - | func (v *CEFApiVersionTestRefPtrClientT) OverrideGetValueExp(fn uintptr) { v.GetValueExp = fn } | |
| 737 | - | ||
| 738 | - | func (v *CEFApiVersionTestRefPtrClientT) CallGetValueExp(args ...uintptr) uintptr { | |
| 739 | - | if v.GetValueExp == 0 { | |
| 740 | - | return 0 | |
| 741 | - | } | |
| 742 | - | r1, _, _ := purego.SyscallN(v.GetValueExp, append([]uintptr{uintptr(unsafe.Pointer(v))}, args...)...) | |
| 743 | - | return r1 | |
| 744 | - | } | |
| 745 | - | ||
| 746 | - | type CEFApiVersionTestRefPtrClientChildT struct { | |
| 747 | - | _ structs.HostLayout | |
| 748 | - | Base CEFApiVersionTestRefPtrClientT | |
| 749 | - | GetOtherValue uintptr | |
| 750 | - | GetOtherValueRemoved uintptr | |
| 751 | - | GetOtherValueV1 uintptr | |
| 752 | - | } | |
| 753 | - | ||
| 754 | - | func (v *CEFApiVersionTestRefPtrClientChildT) OverrideGetOtherValue(fn uintptr) { v.GetOtherValue = fn } | |
| 755 | - | ||
| 756 | - | func (v *CEFApiVersionTestRefPtrClientChildT) CallGetOtherValue(args ...uintptr) uintptr { | |
| 757 | - | if v.GetOtherValue == 0 { | |
| 758 | - | return 0 | |
| 759 | - | } | |
| 760 | - | r1, _, _ := purego.SyscallN(v.GetOtherValue, append([]uintptr{uintptr(unsafe.Pointer(v))}, args...)...) | |
| 761 | - | return r1 | |
| 762 | - | } | |
| 763 | - | ||
| 764 | - | func (v *CEFApiVersionTestRefPtrClientChildT) OverrideGetOtherValueV1(fn uintptr) { | |
| 765 | - | v.GetOtherValueV1 = fn | |
| 766 | - | } | |
| 767 | - | ||
| 768 | - | func (v *CEFApiVersionTestRefPtrClientChildT) CallGetOtherValueV1(args ...uintptr) uintptr { | |
| 769 | - | if v.GetOtherValueV1 == 0 { | |
| 770 | - | return 0 | |
| 771 | - | } | |
| 772 | - | r1, _, _ := purego.SyscallN(v.GetOtherValueV1, append([]uintptr{uintptr(unsafe.Pointer(v))}, args...)...) | |
| 773 | - | return r1 | |
| 774 | - | } | |
| 775 | - | ||
| 776 | 526 | type CEFApiVersionTestRefPtrClientChildV2T struct { | |
| 777 | 527 | _ structs.HostLayout | |
| 778 | 528 | Base CEFApiVersionTestRefPtrClientT | |
| @@ -809,18 +559,12 @@ type CEFApiVersionTestScopedLibraryT struct { | |||
| 809 | 559 | Base CEFBaseScopedT | |
| 810 | 560 | GetValueLegacy uintptr | |
| 811 | 561 | SetValueLegacy uintptr | |
| 812 | - | GetValue uintptr | |
| 813 | 562 | GetValueRemoved uintptr | |
| 814 | - | SetValue uintptr | |
| 815 | 563 | SetValueRemoved uintptr | |
| 816 | - | GetValueV1 uintptr | |
| 817 | 564 | GetValueV1Removed uintptr | |
| 818 | - | SetValueV1 uintptr | |
| 819 | 565 | SetValueV1Removed uintptr | |
| 820 | 566 | GetValueV2 uintptr | |
| 821 | 567 | SetValueV2 uintptr | |
| 822 | - | GetValueExp uintptr | |
| 823 | - | SetValueExp uintptr | |
| 824 | 568 | } | |
| 825 | 569 | ||
| 826 | 570 | func (v *CEFApiVersionTestScopedLibraryT) OverrideGetValueLegacy(fn uintptr) { v.GetValueLegacy = fn } | |
| @@ -843,46 +587,6 @@ func (v *CEFApiVersionTestScopedLibraryT) CallSetValueLegacy(args ...uintptr) ui | |||
| 843 | 587 | return r1 | |
| 844 | 588 | } | |
| 845 | 589 | ||
| 846 | - | func (v *CEFApiVersionTestScopedLibraryT) OverrideGetValue(fn uintptr) { v.GetValue = fn } | |
| 847 | - | ||
| 848 | - | func (v *CEFApiVersionTestScopedLibraryT) CallGetValue(args ...uintptr) uintptr { | |
| 849 | - | if v.GetValue == 0 { | |
| 850 | - | return 0 | |
| 851 | - | } | |
| 852 | - | r1, _, _ := purego.SyscallN(v.GetValue, append([]uintptr{uintptr(unsafe.Pointer(v))}, args...)...) | |
| 853 | - | return r1 | |
| 854 | - | } | |
| 855 | - | ||
| 856 | - | func (v *CEFApiVersionTestScopedLibraryT) OverrideSetValue(fn uintptr) { v.SetValue = fn } | |
| 857 | - | ||
| 858 | - | func (v *CEFApiVersionTestScopedLibraryT) CallSetValue(args ...uintptr) uintptr { | |
| 859 | - | if v.SetValue == 0 { | |
| 860 | - | return 0 | |
| 861 | - | } | |
| 862 | - | r1, _, _ := purego.SyscallN(v.SetValue, append([]uintptr{uintptr(unsafe.Pointer(v))}, args...)...) | |
| 863 | - | return r1 | |
| 864 | - | } | |
| 865 | - | ||
| 866 | - | func (v *CEFApiVersionTestScopedLibraryT) OverrideGetValueV1(fn uintptr) { v.GetValueV1 = fn } | |
| 867 | - | ||
| 868 | - | func (v *CEFApiVersionTestScopedLibraryT) CallGetValueV1(args ...uintptr) uintptr { | |
| 869 | - | if v.GetValueV1 == 0 { | |
| 870 | - | return 0 | |
| 871 | - | } | |
| 872 | - | r1, _, _ := purego.SyscallN(v.GetValueV1, append([]uintptr{uintptr(unsafe.Pointer(v))}, args...)...) | |
| 873 | - | return r1 | |
| 874 | - | } | |
| 875 | - | ||
| 876 | - | func (v *CEFApiVersionTestScopedLibraryT) OverrideSetValueV1(fn uintptr) { v.SetValueV1 = fn } | |
| 877 | - | ||
| 878 | - | func (v *CEFApiVersionTestScopedLibraryT) CallSetValueV1(args ...uintptr) uintptr { | |
| 879 | - | if v.SetValueV1 == 0 { | |
| 880 | - | return 0 | |
| 881 | - | } | |
| 882 | - | r1, _, _ := purego.SyscallN(v.SetValueV1, append([]uintptr{uintptr(unsafe.Pointer(v))}, args...)...) | |
| 883 | - | return r1 | |
| 884 | - | } | |
| 885 | - | ||
| 886 | 590 | func (v *CEFApiVersionTestScopedLibraryT) OverrideGetValueV2(fn uintptr) { v.GetValueV2 = fn } | |
| 887 | 591 | ||
| 888 | 592 | func (v *CEFApiVersionTestScopedLibraryT) CallGetValueV2(args ...uintptr) uintptr { | |
| @@ -903,26 +607,6 @@ func (v *CEFApiVersionTestScopedLibraryT) CallSetValueV2(args ...uintptr) uintpt | |||
| 903 | 607 | return r1 | |
| 904 | 608 | } | |
| 905 | 609 | ||
| 906 | - | func (v *CEFApiVersionTestScopedLibraryT) OverrideGetValueExp(fn uintptr) { v.GetValueExp = fn } | |
| 907 | - | ||
| 908 | - | func (v *CEFApiVersionTestScopedLibraryT) CallGetValueExp(args ...uintptr) uintptr { | |
| 909 | - | if v.GetValueExp == 0 { | |
| 910 | - | return 0 | |
| 911 | - | } | |
| 912 | - | r1, _, _ := purego.SyscallN(v.GetValueExp, append([]uintptr{uintptr(unsafe.Pointer(v))}, args...)...) | |
| 913 | - | return r1 | |
| 914 | - | } | |
| 915 | - | ||
| 916 | - | func (v *CEFApiVersionTestScopedLibraryT) OverrideSetValueExp(fn uintptr) { v.SetValueExp = fn } | |
| 917 | - | ||
| 918 | - | func (v *CEFApiVersionTestScopedLibraryT) CallSetValueExp(args ...uintptr) uintptr { | |
| 919 | - | if v.SetValueExp == 0 { | |
| 920 | - | return 0 | |
| 921 | - | } | |
| 922 | - | r1, _, _ := purego.SyscallN(v.SetValueExp, append([]uintptr{uintptr(unsafe.Pointer(v))}, args...)...) | |
| 923 | - | return r1 | |
| 924 | - | } | |
| 925 | - | ||
| 926 | 610 | type CEFApiVersionTestScopedLibraryChildT struct { | |
| 927 | 611 | _ structs.HostLayout | |
| 928 | 612 | Base CEFApiVersionTestScopedLibraryT | |
| @@ -954,68 +638,6 @@ func (v *CEFApiVersionTestScopedLibraryChildT) CallSetOtherValue(args ...uintptr | |||
| 954 | 638 | return r1 | |
| 955 | 639 | } | |
| 956 | 640 | ||
| 957 | - | type CEFApiVersionTestScopedLibraryChildChildT struct { | |
| 958 | - | _ structs.HostLayout | |
| 959 | - | Base CEFApiVersionTestScopedLibraryChildT | |
| 960 | - | GetOtherOtherValue uintptr | |
| 961 | - | SetOtherOtherValue uintptr | |
| 962 | - | } | |
| 963 | - | ||
| 964 | - | func (v *CEFApiVersionTestScopedLibraryChildChildT) OverrideGetOtherOtherValue(fn uintptr) { | |
| 965 | - | v.GetOtherOtherValue = fn | |
| 966 | - | } | |
| 967 | - | ||
| 968 | - | func (v *CEFApiVersionTestScopedLibraryChildChildT) CallGetOtherOtherValue(args ...uintptr) uintptr { | |
| 969 | - | if v.GetOtherOtherValue == 0 { | |
| 970 | - | return 0 | |
| 971 | - | } | |
| 972 | - | r1, _, _ := purego.SyscallN(v.GetOtherOtherValue, append([]uintptr{uintptr(unsafe.Pointer(v))}, args...)...) | |
| 973 | - | return r1 | |
| 974 | - | } | |
| 975 | - | ||
| 976 | - | func (v *CEFApiVersionTestScopedLibraryChildChildT) OverrideSetOtherOtherValue(fn uintptr) { | |
| 977 | - | v.SetOtherOtherValue = fn | |
| 978 | - | } | |
| 979 | - | ||
| 980 | - | func (v *CEFApiVersionTestScopedLibraryChildChildT) CallSetOtherOtherValue(args ...uintptr) uintptr { | |
| 981 | - | if v.SetOtherOtherValue == 0 { | |
| 982 | - | return 0 | |
| 983 | - | } | |
| 984 | - | r1, _, _ := purego.SyscallN(v.SetOtherOtherValue, append([]uintptr{uintptr(unsafe.Pointer(v))}, args...)...) | |
| 985 | - | return r1 | |
| 986 | - | } | |
| 987 | - | ||
| 988 | - | type CEFApiVersionTestScopedLibraryChildChildV1T struct { | |
| 989 | - | _ structs.HostLayout | |
| 990 | - | Base CEFApiVersionTestScopedLibraryChildT | |
| 991 | - | GetOtherOtherValue uintptr | |
| 992 | - | SetOtherOtherValue uintptr | |
| 993 | - | } | |
| 994 | - | ||
| 995 | - | func (v *CEFApiVersionTestScopedLibraryChildChildV1T) OverrideGetOtherOtherValue(fn uintptr) { | |
| 996 | - | v.GetOtherOtherValue = fn | |
| 997 | - | } | |
| 998 | - | ||
| 999 | - | func (v *CEFApiVersionTestScopedLibraryChildChildV1T) CallGetOtherOtherValue(args ...uintptr) uintptr { | |
| 1000 | - | if v.GetOtherOtherValue == 0 { | |
| 1001 | - | return 0 | |
| 1002 | - | } | |
| 1003 | - | r1, _, _ := purego.SyscallN(v.GetOtherOtherValue, append([]uintptr{uintptr(unsafe.Pointer(v))}, args...)...) | |
| 1004 | - | return r1 | |
| 1005 | - | } | |
| 1006 | - | ||
| 1007 | - | func (v *CEFApiVersionTestScopedLibraryChildChildV1T) OverrideSetOtherOtherValue(fn uintptr) { | |
| 1008 | - | v.SetOtherOtherValue = fn | |
| 1009 | - | } | |
| 1010 | - | ||
| 1011 | - | func (v *CEFApiVersionTestScopedLibraryChildChildV1T) CallSetOtherOtherValue(args ...uintptr) uintptr { | |
| 1012 | - | if v.SetOtherOtherValue == 0 { | |
| 1013 | - | return 0 | |
| 1014 | - | } | |
| 1015 | - | r1, _, _ := purego.SyscallN(v.SetOtherOtherValue, append([]uintptr{uintptr(unsafe.Pointer(v))}, args...)...) | |
| 1016 | - | return r1 | |
| 1017 | - | } | |
| 1018 | - | ||
| 1019 | 641 | type CEFApiVersionTestScopedLibraryChildChildV2T struct { | |
| 1020 | 642 | _ structs.HostLayout | |
| 1021 | 643 | Base CEFApiVersionTestScopedLibraryChildT | |
| @@ -1051,12 +673,9 @@ type CEFApiVersionTestScopedClientT struct { | |||
| 1051 | 673 | _ structs.HostLayout | |
| 1052 | 674 | Base CEFBaseScopedT | |
| 1053 | 675 | GetValueLegacy uintptr | |
| 1054 | - | GetValue uintptr | |
| 1055 | 676 | GetValueRemoved uintptr | |
| 1056 | - | GetValueV1 uintptr | |
| 1057 | 677 | GetValueV1Removed uintptr | |
| 1058 | 678 | GetValueV2 uintptr | |
| 1059 | - | GetValueExp uintptr | |
| 1060 | 679 | } | |
| 1061 | 680 | ||
| 1062 | 681 | func (v *CEFApiVersionTestScopedClientT) OverrideGetValueLegacy(fn uintptr) { v.GetValueLegacy = fn } | |
| @@ -1069,26 +688,6 @@ func (v *CEFApiVersionTestScopedClientT) CallGetValueLegacy(args ...uintptr) uin | |||
| 1069 | 688 | return r1 | |
| 1070 | 689 | } | |
| 1071 | 690 | ||
| 1072 | - | func (v *CEFApiVersionTestScopedClientT) OverrideGetValue(fn uintptr) { v.GetValue = fn } | |
| 1073 | - | ||
| 1074 | - | func (v *CEFApiVersionTestScopedClientT) CallGetValue(args ...uintptr) uintptr { | |
| 1075 | - | if v.GetValue == 0 { | |
| 1076 | - | return 0 | |
| 1077 | - | } | |
| 1078 | - | r1, _, _ := purego.SyscallN(v.GetValue, append([]uintptr{uintptr(unsafe.Pointer(v))}, args...)...) | |
| 1079 | - | return r1 | |
| 1080 | - | } | |
| 1081 | - | ||
| 1082 | - | func (v *CEFApiVersionTestScopedClientT) OverrideGetValueV1(fn uintptr) { v.GetValueV1 = fn } | |
| 1083 | - | ||
| 1084 | - | func (v *CEFApiVersionTestScopedClientT) CallGetValueV1(args ...uintptr) uintptr { | |
| 1085 | - | if v.GetValueV1 == 0 { | |
| 1086 | - | return 0 | |
| 1087 | - | } | |
| 1088 | - | r1, _, _ := purego.SyscallN(v.GetValueV1, append([]uintptr{uintptr(unsafe.Pointer(v))}, args...)...) | |
| 1089 | - | return r1 | |
| 1090 | - | } | |
| 1091 | - | ||
| 1092 | 691 | func (v *CEFApiVersionTestScopedClientT) OverrideGetValueV2(fn uintptr) { v.GetValueV2 = fn } | |
| 1093 | 692 | ||
| 1094 | 693 | func (v *CEFApiVersionTestScopedClientT) CallGetValueV2(args ...uintptr) uintptr { | |
| @@ -1099,46 +698,6 @@ func (v *CEFApiVersionTestScopedClientT) CallGetValueV2(args ...uintptr) uintptr | |||
| 1099 | 698 | return r1 | |
| 1100 | 699 | } | |
| 1101 | 700 | ||
| 1102 | - | func (v *CEFApiVersionTestScopedClientT) OverrideGetValueExp(fn uintptr) { v.GetValueExp = fn } | |
| 1103 | - | ||
| 1104 | - | func (v *CEFApiVersionTestScopedClientT) CallGetValueExp(args ...uintptr) uintptr { | |
| 1105 | - | if v.GetValueExp == 0 { | |
| 1106 | - | return 0 | |
| 1107 | - | } | |
| 1108 | - | r1, _, _ := purego.SyscallN(v.GetValueExp, append([]uintptr{uintptr(unsafe.Pointer(v))}, args...)...) | |
| 1109 | - | return r1 | |
| 1110 | - | } | |
| 1111 | - | ||
| 1112 | - | type CEFApiVersionTestScopedClientChildT struct { | |
| 1113 | - | _ structs.HostLayout | |
| 1114 | - | Base CEFApiVersionTestScopedClientT | |
| 1115 | - | GetOtherValue uintptr | |
| 1116 | - | GetOtherValueRemoved uintptr | |
| 1117 | - | GetOtherValueV1 uintptr | |
| 1118 | - | } | |
| 1119 | - | ||
| 1120 | - | func (v *CEFApiVersionTestScopedClientChildT) OverrideGetOtherValue(fn uintptr) { v.GetOtherValue = fn } | |
| 1121 | - | ||
| 1122 | - | func (v *CEFApiVersionTestScopedClientChildT) CallGetOtherValue(args ...uintptr) uintptr { | |
| 1123 | - | if v.GetOtherValue == 0 { | |
| 1124 | - | return 0 | |
| 1125 | - | } | |
| 1126 | - | r1, _, _ := purego.SyscallN(v.GetOtherValue, append([]uintptr{uintptr(unsafe.Pointer(v))}, args...)...) | |
| 1127 | - | return r1 | |
| 1128 | - | } | |
| 1129 | - | ||
| 1130 | - | func (v *CEFApiVersionTestScopedClientChildT) OverrideGetOtherValueV1(fn uintptr) { | |
| 1131 | - | v.GetOtherValueV1 = fn | |
| 1132 | - | } | |
| 1133 | - | ||
| 1134 | - | func (v *CEFApiVersionTestScopedClientChildT) CallGetOtherValueV1(args ...uintptr) uintptr { | |
| 1135 | - | if v.GetOtherValueV1 == 0 { | |
| 1136 | - | return 0 | |
| 1137 | - | } | |
| 1138 | - | r1, _, _ := purego.SyscallN(v.GetOtherValueV1, append([]uintptr{uintptr(unsafe.Pointer(v))}, args...)...) | |
| 1139 | - | return r1 | |
| 1140 | - | } | |
| 1141 | - | ||
| 1142 | 701 | type CEFApiVersionTestScopedClientChildV2T struct { | |
| 1143 | 702 | _ structs.HostLayout | |
| 1144 | 703 | Base CEFApiVersionTestScopedClientT | |
| @@ -1180,12 +739,6 @@ var CEFApiVersionTestRefPtrLibraryChildCreate func() unsafe.Pointer | |||
| 1180 | 739 | ||
| 1181 | 740 | var CEFApiVersionTestRefPtrLibraryChildCreateWithDefault func(Value int32, OtherValue int32) unsafe.Pointer | |
| 1182 | 741 | ||
| 1183 | - | var CEFApiVersionTestRefPtrLibraryChildChildCreate func() unsafe.Pointer | |
| 1184 | - | ||
| 1185 | - | var CEFApiVersionTestRefPtrLibraryChildChildV1Create func() unsafe.Pointer | |
| 1186 | - | ||
| 1187 | - | var CEFApiVersionTestRefPtrLibraryChildChildV1CreateWithDefault func(Value int32, OtherValue int32, OtherOtherValue int32) unsafe.Pointer | |
| 1188 | - | ||
| 1189 | 742 | var CEFApiVersionTestRefPtrLibraryChildChildV2Create func() unsafe.Pointer | |
| 1190 | 743 | ||
| 1191 | 744 | var CEFApiVersionTestRefPtrLibraryChildChildV2CreateWithDefault func(Value int32, OtherValue int32, OtherOtherValue int32) unsafe.Pointer | |
| @@ -1198,12 +751,6 @@ var CEFApiVersionTestScopedLibraryChildCreate func() unsafe.Pointer | |||
| 1198 | 751 | ||
| 1199 | 752 | var CEFApiVersionTestScopedLibraryChildCreateWithDefault func(Value int32, OtherValue int32) unsafe.Pointer | |
| 1200 | 753 | ||
| 1201 | - | var CEFApiVersionTestScopedLibraryChildChildCreate func() unsafe.Pointer | |
| 1202 | - | ||
| 1203 | - | var CEFApiVersionTestScopedLibraryChildChildV1Create func() unsafe.Pointer | |
| 1204 | - | ||
| 1205 | - | var CEFApiVersionTestScopedLibraryChildChildV1CreateWithDefault func(Value int32, OtherValue int32, OtherOtherValue int32) unsafe.Pointer | |
| 1206 | - | ||
| 1207 | 754 | var CEFApiVersionTestScopedLibraryChildChildV2Create func() unsafe.Pointer | |
| 1208 | 755 | ||
| 1209 | 756 | var CEFApiVersionTestScopedLibraryChildChildV2CreateWithDefault func(Value int32, OtherValue int32, OtherOtherValue int32) unsafe.Pointer | |
| @@ -1214,18 +761,12 @@ func RegisterApiVersionTest(handle uintptr) { | |||
| 1214 | 761 | tryRegisterLibFunc(&CEFApiVersionTestRefPtrLibraryCreateWithDefault, handle, "cef_api_version_test_ref_ptr_library_create_with_default") | |
| 1215 | 762 | tryRegisterLibFunc(&CEFApiVersionTestRefPtrLibraryChildCreate, handle, "cef_api_version_test_ref_ptr_library_child_create") | |
| 1216 | 763 | tryRegisterLibFunc(&CEFApiVersionTestRefPtrLibraryChildCreateWithDefault, handle, "cef_api_version_test_ref_ptr_library_child_create_with_default") | |
| 1217 | - | tryRegisterLibFunc(&CEFApiVersionTestRefPtrLibraryChildChildCreate, handle, "cef_api_version_test_ref_ptr_library_child_child_create") | |
| 1218 | - | tryRegisterLibFunc(&CEFApiVersionTestRefPtrLibraryChildChildV1Create, handle, "cef_api_version_test_ref_ptr_library_child_child_v1_create") | |
| 1219 | - | tryRegisterLibFunc(&CEFApiVersionTestRefPtrLibraryChildChildV1CreateWithDefault, handle, "cef_api_version_test_ref_ptr_library_child_child_v1_create_with_default") | |
| 1220 | 764 | tryRegisterLibFunc(&CEFApiVersionTestRefPtrLibraryChildChildV2Create, handle, "cef_api_version_test_ref_ptr_library_child_child_v2_create") | |
| 1221 | 765 | tryRegisterLibFunc(&CEFApiVersionTestRefPtrLibraryChildChildV2CreateWithDefault, handle, "cef_api_version_test_ref_ptr_library_child_child_v2_create_with_default") | |
| 1222 | 766 | tryRegisterLibFunc(&CEFApiVersionTestScopedLibraryCreate, handle, "cef_api_version_test_scoped_library_create") | |
| 1223 | 767 | tryRegisterLibFunc(&CEFApiVersionTestScopedLibraryCreateWithDefault, handle, "cef_api_version_test_scoped_library_create_with_default") | |
| 1224 | 768 | tryRegisterLibFunc(&CEFApiVersionTestScopedLibraryChildCreate, handle, "cef_api_version_test_scoped_library_child_create") | |
| 1225 | 769 | tryRegisterLibFunc(&CEFApiVersionTestScopedLibraryChildCreateWithDefault, handle, "cef_api_version_test_scoped_library_child_create_with_default") | |
| 1226 | - | tryRegisterLibFunc(&CEFApiVersionTestScopedLibraryChildChildCreate, handle, "cef_api_version_test_scoped_library_child_child_create") | |
| 1227 | - | tryRegisterLibFunc(&CEFApiVersionTestScopedLibraryChildChildV1Create, handle, "cef_api_version_test_scoped_library_child_child_v1_create") | |
| 1228 | - | tryRegisterLibFunc(&CEFApiVersionTestScopedLibraryChildChildV1CreateWithDefault, handle, "cef_api_version_test_scoped_library_child_child_v1_create_with_default") | |
| 1229 | 770 | tryRegisterLibFunc(&CEFApiVersionTestScopedLibraryChildChildV2Create, handle, "cef_api_version_test_scoped_library_child_child_v2_create") | |
| 1230 | 771 | tryRegisterLibFunc(&CEFApiVersionTestScopedLibraryChildChildV2CreateWithDefault, handle, "cef_api_version_test_scoped_library_child_child_v2_create_with_default") | |
| 1231 | 772 | } | |
| @@ -22,9 +22,7 @@ type CEFApiVersionTestT struct { | |||||
| 22 | GetRefPtrLibraryListSize uintptr | 22 | GetRefPtrLibraryListSize uintptr | ||
| 23 | SetRefPtrClient uintptr | 23 | SetRefPtrClient uintptr | ||
| 24 | SetRefPtrClientAndReturn uintptr | 24 | SetRefPtrClientAndReturn uintptr | ||
| 25 | - | SetChildRefPtrClient uintptr | |||
| 26 | SetChildRefPtrClientRemoved uintptr | 25 | SetChildRefPtrClientRemoved uintptr | ||
| 27 | - | SetChildRefPtrClientAndReturnParent uintptr | |||
| 28 | SetChildRefPtrClientAndReturnParentRemoved uintptr | 26 | SetChildRefPtrClientAndReturnParentRemoved uintptr | ||
| 29 | SetRefPtrClientList uintptr | 27 | SetRefPtrClientList uintptr | ||
| 30 | GetRefPtrClientListByRef uintptr | 28 | GetRefPtrClientListByRef uintptr | ||
| @@ -36,15 +34,12 @@ type CEFApiVersionTestT struct { | |||||
| 36 | SetChildOwnPtrLibraryAndReturnParent uintptr | 34 | SetChildOwnPtrLibraryAndReturnParent uintptr | ||
| 37 | SetOwnPtrClient uintptr | 35 | SetOwnPtrClient uintptr | ||
| 38 | SetOwnPtrClientAndReturn uintptr | 36 | SetOwnPtrClientAndReturn uintptr | ||
| 39 | - | SetChildOwnPtrClient uintptr | |||
| 40 | SetChildOwnPtrClientRemoved uintptr | 37 | SetChildOwnPtrClientRemoved uintptr | ||
| 41 | - | SetChildOwnPtrClientAndReturnParent uintptr | |||
| 42 | SetChildOwnPtrClientAndReturnParentRemoved uintptr | 38 | SetChildOwnPtrClientAndReturnParentRemoved uintptr | ||
| 43 | SetRawPtrLibrary uintptr | 39 | SetRawPtrLibrary uintptr | ||
| 44 | SetChildRawPtrLibrary uintptr | 40 | SetChildRawPtrLibrary uintptr | ||
| 45 | SetRawPtrLibraryList uintptr | 41 | SetRawPtrLibraryList uintptr | ||
| 46 | SetRawPtrClient uintptr | 42 | SetRawPtrClient uintptr | ||
| 47 | - | SetChildRawPtrClient uintptr | |||
| 48 | SetChildRawPtrClientRemoved uintptr | 43 | SetChildRawPtrClientRemoved uintptr | ||
| 49 | SetRawPtrClientList uintptr | 44 | SetRawPtrClientList uintptr | ||
| 50 | SetChildRefPtrClientV2 uintptr | 45 | SetChildRefPtrClientV2 uintptr | ||
| @@ -164,28 +159,6 @@ func (v *CEFApiVersionTestT) CallSetRefPtrClientAndReturn(args ...uintptr) uintp | |||||
| 164 | return r1 | 159 | return r1 | ||
| 165 | } | 160 | } | ||
| 166 | 161 | ||||
| 167 | - | func (v *CEFApiVersionTestT) OverrideSetChildRefPtrClient(fn uintptr) { v.SetChildRefPtrClient = fn } | |||
| 168 | - | ||||
| 169 | - | func (v *CEFApiVersionTestT) CallSetChildRefPtrClient(args ...uintptr) uintptr { | |||
| 170 | - | if v.SetChildRefPtrClient == 0 { | |||
| 171 | - | return 0 | |||
| 172 | - | } | |||
| 173 | - | r1, _, _ := purego.SyscallN(v.SetChildRefPtrClient, append([]uintptr{uintptr(unsafe.Pointer(v))}, args...)...) | |||
| 174 | - | return r1 | |||
| 175 | - | } | |||
| 176 | - | ||||
| 177 | - | func (v *CEFApiVersionTestT) OverrideSetChildRefPtrClientAndReturnParent(fn uintptr) { | |||
| 178 | - | v.SetChildRefPtrClientAndReturnParent = fn | |||
| 179 | - | } | |||
| 180 | - | ||||
| 181 | - | func (v *CEFApiVersionTestT) CallSetChildRefPtrClientAndReturnParent(args ...uintptr) uintptr { | |||
| 182 | - | if v.SetChildRefPtrClientAndReturnParent == 0 { | |||
| 183 | - | return 0 | |||
| 184 | - | } | |||
| 185 | - | r1, _, _ := purego.SyscallN(v.SetChildRefPtrClientAndReturnParent, append([]uintptr{uintptr(unsafe.Pointer(v))}, args...)...) | |||
| 186 | - | return r1 | |||
| 187 | - | } | |||
| 188 | - | ||||
| 189 | func (v *CEFApiVersionTestT) OverrideSetRefPtrClientList(fn uintptr) { v.SetRefPtrClientList = fn } | 162 | func (v *CEFApiVersionTestT) OverrideSetRefPtrClientList(fn uintptr) { v.SetRefPtrClientList = fn } | ||
| 190 | 163 | ||||
| 191 | func (v *CEFApiVersionTestT) CallSetRefPtrClientList(args ...uintptr) uintptr { | 164 | func (v *CEFApiVersionTestT) CallSetRefPtrClientList(args ...uintptr) uintptr { | ||
| @@ -296,28 +269,6 @@ func (v *CEFApiVersionTestT) CallSetOwnPtrClientAndReturn(args ...uintptr) uintp | |||||
| 296 | return r1 | 269 | return r1 | ||
| 297 | } | 270 | } | ||
| 298 | 271 | ||||
| 299 | - | func (v *CEFApiVersionTestT) OverrideSetChildOwnPtrClient(fn uintptr) { v.SetChildOwnPtrClient = fn } | |||
| 300 | - | ||||
| 301 | - | func (v *CEFApiVersionTestT) CallSetChildOwnPtrClient(args ...uintptr) uintptr { | |||
| 302 | - | if v.SetChildOwnPtrClient == 0 { | |||
| 303 | - | return 0 | |||
| 304 | - | } | |||
| 305 | - | r1, _, _ := purego.SyscallN(v.SetChildOwnPtrClient, append([]uintptr{uintptr(unsafe.Pointer(v))}, args...)...) | |||
| 306 | - | return r1 | |||
| 307 | - | } | |||
| 308 | - | ||||
| 309 | - | func (v *CEFApiVersionTestT) OverrideSetChildOwnPtrClientAndReturnParent(fn uintptr) { | |||
| 310 | - | v.SetChildOwnPtrClientAndReturnParent = fn | |||
| 311 | - | } | |||
| 312 | - | ||||
| 313 | - | func (v *CEFApiVersionTestT) CallSetChildOwnPtrClientAndReturnParent(args ...uintptr) uintptr { | |||
| 314 | - | if v.SetChildOwnPtrClientAndReturnParent == 0 { | |||
| 315 | - | return 0 | |||
| 316 | - | } | |||
| 317 | - | r1, _, _ := purego.SyscallN(v.SetChildOwnPtrClientAndReturnParent, append([]uintptr{uintptr(unsafe.Pointer(v))}, args...)...) | |||
| 318 | - | return r1 | |||
| 319 | - | } | |||
| 320 | - | ||||
| 321 | func (v *CEFApiVersionTestT) OverrideSetRawPtrLibrary(fn uintptr) { v.SetRawPtrLibrary = fn } | 272 | func (v *CEFApiVersionTestT) OverrideSetRawPtrLibrary(fn uintptr) { v.SetRawPtrLibrary = fn } | ||
| 322 | 273 | ||||
| 323 | func (v *CEFApiVersionTestT) CallSetRawPtrLibrary(args ...uintptr) uintptr { | 274 | func (v *CEFApiVersionTestT) CallSetRawPtrLibrary(args ...uintptr) uintptr { | ||
| @@ -358,16 +309,6 @@ func (v *CEFApiVersionTestT) CallSetRawPtrClient(args ...uintptr) uintptr { | |||||
| 358 | return r1 | 309 | return r1 | ||
| 359 | } | 310 | } | ||
| 360 | 311 | ||||
| 361 | - | func (v *CEFApiVersionTestT) OverrideSetChildRawPtrClient(fn uintptr) { v.SetChildRawPtrClient = fn } | |||
| 362 | - | ||||
| 363 | - | func (v *CEFApiVersionTestT) CallSetChildRawPtrClient(args ...uintptr) uintptr { | |||
| 364 | - | if v.SetChildRawPtrClient == 0 { | |||
| 365 | - | return 0 | |||
| 366 | - | } | |||
| 367 | - | r1, _, _ := purego.SyscallN(v.SetChildRawPtrClient, append([]uintptr{uintptr(unsafe.Pointer(v))}, args...)...) | |||
| 368 | - | return r1 | |||
| 369 | - | } | |||
| 370 | - | ||||
| 371 | func (v *CEFApiVersionTestT) OverrideSetRawPtrClientList(fn uintptr) { v.SetRawPtrClientList = fn } | 312 | func (v *CEFApiVersionTestT) OverrideSetRawPtrClientList(fn uintptr) { v.SetRawPtrClientList = fn } | ||
| 372 | 313 | ||||
| 373 | func (v *CEFApiVersionTestT) CallSetRawPtrClientList(args ...uintptr) uintptr { | 314 | func (v *CEFApiVersionTestT) CallSetRawPtrClientList(args ...uintptr) uintptr { | ||
| @@ -443,18 +384,12 @@ type CEFApiVersionTestRefPtrLibraryT struct { | |||||
| 443 | Base CEFBaseRefCountedT | 384 | Base CEFBaseRefCountedT | ||
| 444 | GetValueLegacy uintptr | 385 | GetValueLegacy uintptr | ||
| 445 | SetValueLegacy uintptr | 386 | SetValueLegacy uintptr | ||
| 446 | - | GetValue uintptr | |||
| 447 | GetValueRemoved uintptr | 387 | GetValueRemoved uintptr | ||
| 448 | - | SetValue uintptr | |||
| 449 | SetValueRemoved uintptr | 388 | SetValueRemoved uintptr | ||
| 450 | - | GetValueV1 uintptr | |||
| 451 | GetValueV1Removed uintptr | 389 | GetValueV1Removed uintptr | ||
| 452 | - | SetValueV1 uintptr | |||
| 453 | SetValueV1Removed uintptr | 390 | SetValueV1Removed uintptr | ||
| 454 | GetValueV2 uintptr | 391 | GetValueV2 uintptr | ||
| 455 | SetValueV2 uintptr | 392 | SetValueV2 uintptr | ||
| 456 | - | GetValueExp uintptr | |||
| 457 | - | SetValueExp uintptr | |||
| 458 | } | 393 | } | ||
| 459 | 394 | ||||
| 460 | func (v *CEFApiVersionTestRefPtrLibraryT) OverrideGetValueLegacy(fn uintptr) { v.GetValueLegacy = fn } | 395 | func (v *CEFApiVersionTestRefPtrLibraryT) OverrideGetValueLegacy(fn uintptr) { v.GetValueLegacy = fn } | ||
| @@ -477,46 +412,6 @@ func (v *CEFApiVersionTestRefPtrLibraryT) CallSetValueLegacy(args ...uintptr) ui | |||||
| 477 | return r1 | 412 | return r1 | ||
| 478 | } | 413 | } | ||
| 479 | 414 | ||||
| 480 | - | func (v *CEFApiVersionTestRefPtrLibraryT) OverrideGetValue(fn uintptr) { v.GetValue = fn } | |||
| 481 | - | ||||
| 482 | - | func (v *CEFApiVersionTestRefPtrLibraryT) CallGetValue(args ...uintptr) uintptr { | |||
| 483 | - | if v.GetValue == 0 { | |||
| 484 | - | return 0 | |||
| 485 | - | } | |||
| 486 | - | r1, _, _ := purego.SyscallN(v.GetValue, append([]uintptr{uintptr(unsafe.Pointer(v))}, args...)...) | |||
| 487 | - | return r1 | |||
| 488 | - | } | |||
| 489 | - | ||||
| 490 | - | func (v *CEFApiVersionTestRefPtrLibraryT) OverrideSetValue(fn uintptr) { v.SetValue = fn } | |||
| 491 | - | ||||
| 492 | - | func (v *CEFApiVersionTestRefPtrLibraryT) CallSetValue(args ...uintptr) uintptr { | |||
| 493 | - | if v.SetValue == 0 { | |||
| 494 | - | return 0 | |||
| 495 | - | } | |||
| 496 | - | r1, _, _ := purego.SyscallN(v.SetValue, append([]uintptr{uintptr(unsafe.Pointer(v))}, args...)...) | |||
| 497 | - | return r1 | |||
| 498 | - | } | |||
| 499 | - | ||||
| 500 | - | func (v *CEFApiVersionTestRefPtrLibraryT) OverrideGetValueV1(fn uintptr) { v.GetValueV1 = fn } | |||
| 501 | - | ||||
| 502 | - | func (v *CEFApiVersionTestRefPtrLibraryT) CallGetValueV1(args ...uintptr) uintptr { | |||
| 503 | - | if v.GetValueV1 == 0 { | |||
| 504 | - | return 0 | |||
| 505 | - | } | |||
| 506 | - | r1, _, _ := purego.SyscallN(v.GetValueV1, append([]uintptr{uintptr(unsafe.Pointer(v))}, args...)...) | |||
| 507 | - | return r1 | |||
| 508 | - | } | |||
| 509 | - | ||||
| 510 | - | func (v *CEFApiVersionTestRefPtrLibraryT) OverrideSetValueV1(fn uintptr) { v.SetValueV1 = fn } | |||
| 511 | - | ||||
| 512 | - | func (v *CEFApiVersionTestRefPtrLibraryT) CallSetValueV1(args ...uintptr) uintptr { | |||
| 513 | - | if v.SetValueV1 == 0 { | |||
| 514 | - | return 0 | |||
| 515 | - | } | |||
| 516 | - | r1, _, _ := purego.SyscallN(v.SetValueV1, append([]uintptr{uintptr(unsafe.Pointer(v))}, args...)...) | |||
| 517 | - | return r1 | |||
| 518 | - | } | |||
| 519 | - | ||||
| 520 | func (v *CEFApiVersionTestRefPtrLibraryT) OverrideGetValueV2(fn uintptr) { v.GetValueV2 = fn } | 415 | func (v *CEFApiVersionTestRefPtrLibraryT) OverrideGetValueV2(fn uintptr) { v.GetValueV2 = fn } | ||
| 521 | 416 | ||||
| 522 | func (v *CEFApiVersionTestRefPtrLibraryT) CallGetValueV2(args ...uintptr) uintptr { | 417 | func (v *CEFApiVersionTestRefPtrLibraryT) CallGetValueV2(args ...uintptr) uintptr { | ||
| @@ -537,26 +432,6 @@ func (v *CEFApiVersionTestRefPtrLibraryT) CallSetValueV2(args ...uintptr) uintpt | |||||
| 537 | return r1 | 432 | return r1 | ||
| 538 | } | 433 | } | ||
| 539 | 434 | ||||
| 540 | - | func (v *CEFApiVersionTestRefPtrLibraryT) OverrideGetValueExp(fn uintptr) { v.GetValueExp = fn } | |||
| 541 | - | ||||
| 542 | - | func (v *CEFApiVersionTestRefPtrLibraryT) CallGetValueExp(args ...uintptr) uintptr { | |||
| 543 | - | if v.GetValueExp == 0 { | |||
| 544 | - | return 0 | |||
| 545 | - | } | |||
| 546 | - | r1, _, _ := purego.SyscallN(v.GetValueExp, append([]uintptr{uintptr(unsafe.Pointer(v))}, args...)...) | |||
| 547 | - | return r1 | |||
| 548 | - | } | |||
| 549 | - | ||||
| 550 | - | func (v *CEFApiVersionTestRefPtrLibraryT) OverrideSetValueExp(fn uintptr) { v.SetValueExp = fn } | |||
| 551 | - | ||||
| 552 | - | func (v *CEFApiVersionTestRefPtrLibraryT) CallSetValueExp(args ...uintptr) uintptr { | |||
| 553 | - | if v.SetValueExp == 0 { | |||
| 554 | - | return 0 | |||
| 555 | - | } | |||
| 556 | - | r1, _, _ := purego.SyscallN(v.SetValueExp, append([]uintptr{uintptr(unsafe.Pointer(v))}, args...)...) | |||
| 557 | - | return r1 | |||
| 558 | - | } | |||
| 559 | - | ||||
| 560 | type CEFApiVersionTestRefPtrLibraryChildT struct { | 435 | type CEFApiVersionTestRefPtrLibraryChildT struct { | ||
| 561 | _ structs.HostLayout | 436 | _ structs.HostLayout | ||
| 562 | Base CEFApiVersionTestRefPtrLibraryT | 437 | Base CEFApiVersionTestRefPtrLibraryT | ||
| @@ -588,68 +463,6 @@ func (v *CEFApiVersionTestRefPtrLibraryChildT) CallSetOtherValue(args ...uintptr | |||||
| 588 | return r1 | 463 | return r1 | ||
| 589 | } | 464 | } | ||
| 590 | 465 | ||||
| 591 | - | type CEFApiVersionTestRefPtrLibraryChildChildT struct { | |||
| 592 | - | _ structs.HostLayout | |||
| 593 | - | Base CEFApiVersionTestRefPtrLibraryChildT | |||
| 594 | - | GetOtherOtherValue uintptr | |||
| 595 | - | SetOtherOtherValue uintptr | |||
| 596 | - | } | |||
| 597 | - | ||||
| 598 | - | func (v *CEFApiVersionTestRefPtrLibraryChildChildT) OverrideGetOtherOtherValue(fn uintptr) { | |||
| 599 | - | v.GetOtherOtherValue = fn | |||
| 600 | - | } | |||
| 601 | - | ||||
| 602 | - | func (v *CEFApiVersionTestRefPtrLibraryChildChildT) CallGetOtherOtherValue(args ...uintptr) uintptr { | |||
| 603 | - | if v.GetOtherOtherValue == 0 { | |||
| 604 | - | return 0 | |||
| 605 | - | } | |||
| 606 | - | r1, _, _ := purego.SyscallN(v.GetOtherOtherValue, append([]uintptr{uintptr(unsafe.Pointer(v))}, args...)...) | |||
| 607 | - | return r1 | |||
| 608 | - | } | |||
| 609 | - | ||||
| 610 | - | func (v *CEFApiVersionTestRefPtrLibraryChildChildT) OverrideSetOtherOtherValue(fn uintptr) { | |||
| 611 | - | v.SetOtherOtherValue = fn | |||
| 612 | - | } | |||
| 613 | - | ||||
| 614 | - | func (v *CEFApiVersionTestRefPtrLibraryChildChildT) CallSetOtherOtherValue(args ...uintptr) uintptr { | |||
| 615 | - | if v.SetOtherOtherValue == 0 { | |||
| 616 | - | return 0 | |||
| 617 | - | } | |||
| 618 | - | r1, _, _ := purego.SyscallN(v.SetOtherOtherValue, append([]uintptr{uintptr(unsafe.Pointer(v))}, args...)...) | |||
| 619 | - | return r1 | |||
| 620 | - | } | |||
| 621 | - | ||||
| 622 | - | type CEFApiVersionTestRefPtrLibraryChildChildV1T struct { | |||
| 623 | - | _ structs.HostLayout | |||
| 624 | - | Base CEFApiVersionTestRefPtrLibraryChildT | |||
| 625 | - | GetOtherOtherValue uintptr | |||
| 626 | - | SetOtherOtherValue uintptr | |||
| 627 | - | } | |||
| 628 | - | ||||
| 629 | - | func (v *CEFApiVersionTestRefPtrLibraryChildChildV1T) OverrideGetOtherOtherValue(fn uintptr) { | |||
| 630 | - | v.GetOtherOtherValue = fn | |||
| 631 | - | } | |||
| 632 | - | ||||
| 633 | - | func (v *CEFApiVersionTestRefPtrLibraryChildChildV1T) CallGetOtherOtherValue(args ...uintptr) uintptr { | |||
| 634 | - | if v.GetOtherOtherValue == 0 { | |||
| 635 | - | return 0 | |||
| 636 | - | } | |||
| 637 | - | r1, _, _ := purego.SyscallN(v.GetOtherOtherValue, append([]uintptr{uintptr(unsafe.Pointer(v))}, args...)...) | |||
| 638 | - | return r1 | |||
| 639 | - | } | |||
| 640 | - | ||||
| 641 | - | func (v *CEFApiVersionTestRefPtrLibraryChildChildV1T) OverrideSetOtherOtherValue(fn uintptr) { | |||
| 642 | - | v.SetOtherOtherValue = fn | |||
| 643 | - | } | |||
| 644 | - | ||||
| 645 | - | func (v *CEFApiVersionTestRefPtrLibraryChildChildV1T) CallSetOtherOtherValue(args ...uintptr) uintptr { | |||
| 646 | - | if v.SetOtherOtherValue == 0 { | |||
| 647 | - | return 0 | |||
| 648 | - | } | |||
| 649 | - | r1, _, _ := purego.SyscallN(v.SetOtherOtherValue, append([]uintptr{uintptr(unsafe.Pointer(v))}, args...)...) | |||
| 650 | - | return r1 | |||
| 651 | - | } | |||
| 652 | - | ||||
| 653 | type CEFApiVersionTestRefPtrLibraryChildChildV2T struct { | 466 | type CEFApiVersionTestRefPtrLibraryChildChildV2T struct { | ||
| 654 | _ structs.HostLayout | 467 | _ structs.HostLayout | ||
| 655 | Base CEFApiVersionTestRefPtrLibraryChildT | 468 | Base CEFApiVersionTestRefPtrLibraryChildT | ||
| @@ -685,12 +498,9 @@ type CEFApiVersionTestRefPtrClientT struct { | |||||
| 685 | _ structs.HostLayout | 498 | _ structs.HostLayout | ||
| 686 | Base CEFBaseRefCountedT | 499 | Base CEFBaseRefCountedT | ||
| 687 | GetValueLegacy uintptr | 500 | GetValueLegacy uintptr | ||
| 688 | - | GetValue uintptr | |||
| 689 | GetValueRemoved uintptr | 501 | GetValueRemoved uintptr | ||
| 690 | - | GetValueV1 uintptr | |||
| 691 | GetValueV1Removed uintptr | 502 | GetValueV1Removed uintptr | ||
| 692 | GetValueV2 uintptr | 503 | GetValueV2 uintptr | ||
| 693 | - | GetValueExp uintptr | |||
| 694 | } | 504 | } | ||
| 695 | 505 | ||||
| 696 | func (v *CEFApiVersionTestRefPtrClientT) OverrideGetValueLegacy(fn uintptr) { v.GetValueLegacy = fn } | 506 | func (v *CEFApiVersionTestRefPtrClientT) OverrideGetValueLegacy(fn uintptr) { v.GetValueLegacy = fn } | ||
| @@ -703,26 +513,6 @@ func (v *CEFApiVersionTestRefPtrClientT) CallGetValueLegacy(args ...uintptr) uin | |||||
| 703 | return r1 | 513 | return r1 | ||
| 704 | } | 514 | } | ||
| 705 | 515 | ||||
| 706 | - | func (v *CEFApiVersionTestRefPtrClientT) OverrideGetValue(fn uintptr) { v.GetValue = fn } | |||
| 707 | - | ||||
| 708 | - | func (v *CEFApiVersionTestRefPtrClientT) CallGetValue(args ...uintptr) uintptr { | |||
| 709 | - | if v.GetValue == 0 { | |||
| 710 | - | return 0 | |||
| 711 | - | } | |||
| 712 | - | r1, _, _ := purego.SyscallN(v.GetValue, append([]uintptr{uintptr(unsafe.Pointer(v))}, args...)...) | |||
| 713 | - | return r1 | |||
| 714 | - | } | |||
| 715 | - | ||||
| 716 | - | func (v *CEFApiVersionTestRefPtrClientT) OverrideGetValueV1(fn uintptr) { v.GetValueV1 = fn } | |||
| 717 | - | ||||
| 718 | - | func (v *CEFApiVersionTestRefPtrClientT) CallGetValueV1(args ...uintptr) uintptr { | |||
| 719 | - | if v.GetValueV1 == 0 { | |||
| 720 | - | return 0 | |||
| 721 | - | } | |||
| 722 | - | r1, _, _ := purego.SyscallN(v.GetValueV1, append([]uintptr{uintptr(unsafe.Pointer(v))}, args...)...) | |||
| 723 | - | return r1 | |||
| 724 | - | } | |||
| 725 | - | ||||
| 726 | func (v *CEFApiVersionTestRefPtrClientT) OverrideGetValueV2(fn uintptr) { v.GetValueV2 = fn } | 516 | func (v *CEFApiVersionTestRefPtrClientT) OverrideGetValueV2(fn uintptr) { v.GetValueV2 = fn } | ||
| 727 | 517 | ||||
| 728 | func (v *CEFApiVersionTestRefPtrClientT) CallGetValueV2(args ...uintptr) uintptr { | 518 | func (v *CEFApiVersionTestRefPtrClientT) CallGetValueV2(args ...uintptr) uintptr { | ||
| @@ -733,46 +523,6 @@ func (v *CEFApiVersionTestRefPtrClientT) CallGetValueV2(args ...uintptr) uintptr | |||||
| 733 | return r1 | 523 | return r1 | ||
| 734 | } | 524 | } | ||
| 735 | 525 | ||||
| 736 | - | func (v *CEFApiVersionTestRefPtrClientT) OverrideGetValueExp(fn uintptr) { v.GetValueExp = fn } | |||
| 737 | - | ||||
| 738 | - | func (v *CEFApiVersionTestRefPtrClientT) CallGetValueExp(args ...uintptr) uintptr { | |||
| 739 | - | if v.GetValueExp == 0 { | |||
| 740 | - | return 0 | |||
| 741 | - | } | |||
| 742 | - | r1, _, _ := purego.SyscallN(v.GetValueExp, append([]uintptr{uintptr(unsafe.Pointer(v))}, args...)...) | |||
| 743 | - | return r1 | |||
| 744 | - | } | |||
| 745 | - | ||||
| 746 | - | type CEFApiVersionTestRefPtrClientChildT struct { | |||
| 747 | - | _ structs.HostLayout | |||
| 748 | - | Base CEFApiVersionTestRefPtrClientT | |||
| 749 | - | GetOtherValue uintptr | |||
| 750 | - | GetOtherValueRemoved uintptr | |||
| 751 | - | GetOtherValueV1 uintptr | |||
| 752 | - | } | |||
| 753 | - | ||||
| 754 | - | func (v *CEFApiVersionTestRefPtrClientChildT) OverrideGetOtherValue(fn uintptr) { v.GetOtherValue = fn } | |||
| 755 | - | ||||
| 756 | - | func (v *CEFApiVersionTestRefPtrClientChildT) CallGetOtherValue(args ...uintptr) uintptr { | |||
| 757 | - | if v.GetOtherValue == 0 { | |||
| 758 | - | return 0 | |||
| 759 | - | } | |||
| 760 | - | r1, _, _ := purego.SyscallN(v.GetOtherValue, append([]uintptr{uintptr(unsafe.Pointer(v))}, args...)...) | |||
| 761 | - | return r1 | |||
| 762 | - | } | |||
| 763 | - | ||||
| 764 | - | func (v *CEFApiVersionTestRefPtrClientChildT) OverrideGetOtherValueV1(fn uintptr) { | |||
| 765 | - | v.GetOtherValueV1 = fn | |||
| 766 | - | } | |||
| 767 | - | ||||
| 768 | - | func (v *CEFApiVersionTestRefPtrClientChildT) CallGetOtherValueV1(args ...uintptr) uintptr { | |||
| 769 | - | if v.GetOtherValueV1 == 0 { | |||
| 770 | - | return 0 | |||
| 771 | - | } | |||
| 772 | - | r1, _, _ := purego.SyscallN(v.GetOtherValueV1, append([]uintptr{uintptr(unsafe.Pointer(v))}, args...)...) | |||
| 773 | - | return r1 | |||
| 774 | - | } | |||
| 775 | - | ||||
| 776 | type CEFApiVersionTestRefPtrClientChildV2T struct { | 526 | type CEFApiVersionTestRefPtrClientChildV2T struct { | ||
| 777 | _ structs.HostLayout | 527 | _ structs.HostLayout | ||
| 778 | Base CEFApiVersionTestRefPtrClientT | 528 | Base CEFApiVersionTestRefPtrClientT | ||
| @@ -809,18 +559,12 @@ type CEFApiVersionTestScopedLibraryT struct { | |||||
| 809 | Base CEFBaseScopedT | 559 | Base CEFBaseScopedT | ||
| 810 | GetValueLegacy uintptr | 560 | GetValueLegacy uintptr | ||
| 811 | SetValueLegacy uintptr | 561 | SetValueLegacy uintptr | ||
| 812 | - | GetValue uintptr | |||
| 813 | GetValueRemoved uintptr | 562 | GetValueRemoved uintptr | ||
| 814 | - | SetValue uintptr | |||
| 815 | SetValueRemoved uintptr | 563 | SetValueRemoved uintptr | ||
| 816 | - | GetValueV1 uintptr | |||
| 817 | GetValueV1Removed uintptr | 564 | GetValueV1Removed uintptr | ||
| 818 | - | SetValueV1 uintptr | |||
| 819 | SetValueV1Removed uintptr | 565 | SetValueV1Removed uintptr | ||
| 820 | GetValueV2 uintptr | 566 | GetValueV2 uintptr | ||
| 821 | SetValueV2 uintptr | 567 | SetValueV2 uintptr | ||
| 822 | - | GetValueExp uintptr | |||
| 823 | - | SetValueExp uintptr | |||
| 824 | } | 568 | } | ||
| 825 | 569 | ||||
| 826 | func (v *CEFApiVersionTestScopedLibraryT) OverrideGetValueLegacy(fn uintptr) { v.GetValueLegacy = fn } | 570 | func (v *CEFApiVersionTestScopedLibraryT) OverrideGetValueLegacy(fn uintptr) { v.GetValueLegacy = fn } | ||
| @@ -843,46 +587,6 @@ func (v *CEFApiVersionTestScopedLibraryT) CallSetValueLegacy(args ...uintptr) ui | |||||
| 843 | return r1 | 587 | return r1 | ||
| 844 | } | 588 | } | ||
| 845 | 589 | ||||
| 846 | - | func (v *CEFApiVersionTestScopedLibraryT) OverrideGetValue(fn uintptr) { v.GetValue = fn } | |||
| 847 | - | ||||
| 848 | - | func (v *CEFApiVersionTestScopedLibraryT) CallGetValue(args ...uintptr) uintptr { | |||
| 849 | - | if v.GetValue == 0 { | |||
| 850 | - | return 0 | |||
| 851 | - | } | |||
| 852 | - | r1, _, _ := purego.SyscallN(v.GetValue, append([]uintptr{uintptr(unsafe.Pointer(v))}, args...)...) | |||
| 853 | - | return r1 | |||
| 854 | - | } | |||
| 855 | - | ||||
| 856 | - | func (v *CEFApiVersionTestScopedLibraryT) OverrideSetValue(fn uintptr) { v.SetValue = fn } | |||
| 857 | - | ||||
| 858 | - | func (v *CEFApiVersionTestScopedLibraryT) CallSetValue(args ...uintptr) uintptr { | |||
| 859 | - | if v.SetValue == 0 { | |||
| 860 | - | return 0 | |||
| 861 | - | } | |||
| 862 | - | r1, _, _ := purego.SyscallN(v.SetValue, append([]uintptr{uintptr(unsafe.Pointer(v))}, args...)...) | |||
| 863 | - | return r1 | |||
| 864 | - | } | |||
| 865 | - | ||||
| 866 | - | func (v *CEFApiVersionTestScopedLibraryT) OverrideGetValueV1(fn uintptr) { v.GetValueV1 = fn } | |||
| 867 | - | ||||
| 868 | - | func (v *CEFApiVersionTestScopedLibraryT) CallGetValueV1(args ...uintptr) uintptr { | |||
| 869 | - | if v.GetValueV1 == 0 { | |||
| 870 | - | return 0 | |||
| 871 | - | } | |||
| 872 | - | r1, _, _ := purego.SyscallN(v.GetValueV1, append([]uintptr{uintptr(unsafe.Pointer(v))}, args...)...) | |||
| 873 | - | return r1 | |||
| 874 | - | } | |||
| 875 | - | ||||
| 876 | - | func (v *CEFApiVersionTestScopedLibraryT) OverrideSetValueV1(fn uintptr) { v.SetValueV1 = fn } | |||
| 877 | - | ||||
| 878 | - | func (v *CEFApiVersionTestScopedLibraryT) CallSetValueV1(args ...uintptr) uintptr { | |||
| 879 | - | if v.SetValueV1 == 0 { | |||
| 880 | - | return 0 | |||
| 881 | - | } | |||
| 882 | - | r1, _, _ := purego.SyscallN(v.SetValueV1, append([]uintptr{uintptr(unsafe.Pointer(v))}, args...)...) | |||
| 883 | - | return r1 | |||
| 884 | - | } | |||
| 885 | - | ||||
| 886 | func (v *CEFApiVersionTestScopedLibraryT) OverrideGetValueV2(fn uintptr) { v.GetValueV2 = fn } | 590 | func (v *CEFApiVersionTestScopedLibraryT) OverrideGetValueV2(fn uintptr) { v.GetValueV2 = fn } | ||
| 887 | 591 | ||||
| 888 | func (v *CEFApiVersionTestScopedLibraryT) CallGetValueV2(args ...uintptr) uintptr { | 592 | func (v *CEFApiVersionTestScopedLibraryT) CallGetValueV2(args ...uintptr) uintptr { | ||
| @@ -903,26 +607,6 @@ func (v *CEFApiVersionTestScopedLibraryT) CallSetValueV2(args ...uintptr) uintpt | |||||
| 903 | return r1 | 607 | return r1 | ||
| 904 | } | 608 | } | ||
| 905 | 609 | ||||
| 906 | - | func (v *CEFApiVersionTestScopedLibraryT) OverrideGetValueExp(fn uintptr) { v.GetValueExp = fn } | |||
| 907 | - | ||||
| 908 | - | func (v *CEFApiVersionTestScopedLibraryT) CallGetValueExp(args ...uintptr) uintptr { | |||
| 909 | - | if v.GetValueExp == 0 { | |||
| 910 | - | return 0 | |||
| 911 | - | } | |||
| 912 | - | r1, _, _ := purego.SyscallN(v.GetValueExp, append([]uintptr{uintptr(unsafe.Pointer(v))}, args...)...) | |||
| 913 | - | return r1 | |||
| 914 | - | } | |||
| 915 | - | ||||
| 916 | - | func (v *CEFApiVersionTestScopedLibraryT) OverrideSetValueExp(fn uintptr) { v.SetValueExp = fn } | |||
| 917 | - | ||||
| 918 | - | func (v *CEFApiVersionTestScopedLibraryT) CallSetValueExp(args ...uintptr) uintptr { | |||
| 919 | - | if v.SetValueExp == 0 { | |||
| 920 | - | return 0 | |||
| 921 | - | } | |||
| 922 | - | r1, _, _ := purego.SyscallN(v.SetValueExp, append([]uintptr{uintptr(unsafe.Pointer(v))}, args...)...) | |||
| 923 | - | return r1 | |||
| 924 | - | } | |||
| 925 | - | ||||
| 926 | type CEFApiVersionTestScopedLibraryChildT struct { | 610 | type CEFApiVersionTestScopedLibraryChildT struct { | ||
| 927 | _ structs.HostLayout | 611 | _ structs.HostLayout | ||
| 928 | Base CEFApiVersionTestScopedLibraryT | 612 | Base CEFApiVersionTestScopedLibraryT | ||
| @@ -954,68 +638,6 @@ func (v *CEFApiVersionTestScopedLibraryChildT) CallSetOtherValue(args ...uintptr | |||||
| 954 | return r1 | 638 | return r1 | ||
| 955 | } | 639 | } | ||
| 956 | 640 | ||||
| 957 | - | type CEFApiVersionTestScopedLibraryChildChildT struct { | |||
| 958 | - | _ structs.HostLayout | |||
| 959 | - | Base CEFApiVersionTestScopedLibraryChildT | |||
| 960 | - | GetOtherOtherValue uintptr | |||
| 961 | - | SetOtherOtherValue uintptr | |||
| 962 | - | } | |||
| 963 | - | ||||
| 964 | - | func (v *CEFApiVersionTestScopedLibraryChildChildT) OverrideGetOtherOtherValue(fn uintptr) { | |||
| 965 | - | v.GetOtherOtherValue = fn | |||
| 966 | - | } | |||
| 967 | - | ||||
| 968 | - | func (v *CEFApiVersionTestScopedLibraryChildChildT) CallGetOtherOtherValue(args ...uintptr) uintptr { | |||
| 969 | - | if v.GetOtherOtherValue == 0 { | |||
| 970 | - | return 0 | |||
| 971 | - | } | |||
| 972 | - | r1, _, _ := purego.SyscallN(v.GetOtherOtherValue, append([]uintptr{uintptr(unsafe.Pointer(v))}, args...)...) | |||
| 973 | - | return r1 | |||
| 974 | - | } | |||
| 975 | - | ||||
| 976 | - | func (v *CEFApiVersionTestScopedLibraryChildChildT) OverrideSetOtherOtherValue(fn uintptr) { | |||
| 977 | - | v.SetOtherOtherValue = fn | |||
| 978 | - | } | |||
| 979 | - | ||||
| 980 | - | func (v *CEFApiVersionTestScopedLibraryChildChildT) CallSetOtherOtherValue(args ...uintptr) uintptr { | |||
| 981 | - | if v.SetOtherOtherValue == 0 { | |||
| 982 | - | return 0 | |||
| 983 | - | } | |||
| 984 | - | r1, _, _ := purego.SyscallN(v.SetOtherOtherValue, append([]uintptr{uintptr(unsafe.Pointer(v))}, args...)...) | |||
| 985 | - | return r1 | |||
| 986 | - | } | |||
| 987 | - | ||||
| 988 | - | type CEFApiVersionTestScopedLibraryChildChildV1T struct { | |||
| 989 | - | _ structs.HostLayout | |||
| 990 | - | Base CEFApiVersionTestScopedLibraryChildT | |||
| 991 | - | GetOtherOtherValue uintptr | |||
| 992 | - | SetOtherOtherValue uintptr | |||
| 993 | - | } | |||
| 994 | - | ||||
| 995 | - | func (v *CEFApiVersionTestScopedLibraryChildChildV1T) OverrideGetOtherOtherValue(fn uintptr) { | |||
| 996 | - | v.GetOtherOtherValue = fn | |||
| 997 | - | } | |||
| 998 | - | ||||
| 999 | - | func (v *CEFApiVersionTestScopedLibraryChildChildV1T) CallGetOtherOtherValue(args ...uintptr) uintptr { | |||
| 1000 | - | if v.GetOtherOtherValue == 0 { | |||
| 1001 | - | return 0 | |||
| 1002 | - | } | |||
| 1003 | - | r1, _, _ := purego.SyscallN(v.GetOtherOtherValue, append([]uintptr{uintptr(unsafe.Pointer(v))}, args...)...) | |||
| 1004 | - | return r1 | |||
| 1005 | - | } | |||
| 1006 | - | ||||
| 1007 | - | func (v *CEFApiVersionTestScopedLibraryChildChildV1T) OverrideSetOtherOtherValue(fn uintptr) { | |||
| 1008 | - | v.SetOtherOtherValue = fn | |||
| 1009 | - | } | |||
| 1010 | - | ||||
| 1011 | - | func (v *CEFApiVersionTestScopedLibraryChildChildV1T) CallSetOtherOtherValue(args ...uintptr) uintptr { | |||
| 1012 | - | if v.SetOtherOtherValue == 0 { | |||
| 1013 | - | return 0 | |||
| 1014 | - | } | |||
| 1015 | - | r1, _, _ := purego.SyscallN(v.SetOtherOtherValue, append([]uintptr{uintptr(unsafe.Pointer(v))}, args...)...) | |||
| 1016 | - | return r1 | |||
| 1017 | - | } | |||
| 1018 | - | ||||
| 1019 | type CEFApiVersionTestScopedLibraryChildChildV2T struct { | 641 | type CEFApiVersionTestScopedLibraryChildChildV2T struct { | ||
| 1020 | _ structs.HostLayout | 642 | _ structs.HostLayout | ||
| 1021 | Base CEFApiVersionTestScopedLibraryChildT | 643 | Base CEFApiVersionTestScopedLibraryChildT | ||
| @@ -1051,12 +673,9 @@ type CEFApiVersionTestScopedClientT struct { | |||||
| 1051 | _ structs.HostLayout | 673 | _ structs.HostLayout | ||
| 1052 | Base CEFBaseScopedT | 674 | Base CEFBaseScopedT | ||
| 1053 | GetValueLegacy uintptr | 675 | GetValueLegacy uintptr | ||
| 1054 | - | GetValue uintptr | |||
| 1055 | GetValueRemoved uintptr | 676 | GetValueRemoved uintptr | ||
| 1056 | - | GetValueV1 uintptr | |||
| 1057 | GetValueV1Removed uintptr | 677 | GetValueV1Removed uintptr | ||
| 1058 | GetValueV2 uintptr | 678 | GetValueV2 uintptr | ||
| 1059 | - | GetValueExp uintptr | |||
| 1060 | } | 679 | } | ||
| 1061 | 680 | ||||
| 1062 | func (v *CEFApiVersionTestScopedClientT) OverrideGetValueLegacy(fn uintptr) { v.GetValueLegacy = fn } | 681 | func (v *CEFApiVersionTestScopedClientT) OverrideGetValueLegacy(fn uintptr) { v.GetValueLegacy = fn } | ||
| @@ -1069,26 +688,6 @@ func (v *CEFApiVersionTestScopedClientT) CallGetValueLegacy(args ...uintptr) uin | |||||
| 1069 | return r1 | 688 | return r1 | ||
| 1070 | } | 689 | } | ||
| 1071 | 690 | ||||
| 1072 | - | func (v *CEFApiVersionTestScopedClientT) OverrideGetValue(fn uintptr) { v.GetValue = fn } | |||
| 1073 | - | ||||
| 1074 | - | func (v *CEFApiVersionTestScopedClientT) CallGetValue(args ...uintptr) uintptr { | |||
| 1075 | - | if v.GetValue == 0 { | |||
| 1076 | - | return 0 | |||
| 1077 | - | } | |||
| 1078 | - | r1, _, _ := purego.SyscallN(v.GetValue, append([]uintptr{uintptr(unsafe.Pointer(v))}, args...)...) | |||
| 1079 | - | return r1 | |||
| 1080 | - | } | |||
| 1081 | - | ||||
| 1082 | - | func (v *CEFApiVersionTestScopedClientT) OverrideGetValueV1(fn uintptr) { v.GetValueV1 = fn } | |||
| 1083 | - | ||||
| 1084 | - | func (v *CEFApiVersionTestScopedClientT) CallGetValueV1(args ...uintptr) uintptr { | |||
| 1085 | - | if v.GetValueV1 == 0 { | |||
| 1086 | - | return 0 | |||
| 1087 | - | } | |||
| 1088 | - | r1, _, _ := purego.SyscallN(v.GetValueV1, append([]uintptr{uintptr(unsafe.Pointer(v))}, args...)...) | |||
| 1089 | - | return r1 | |||
| 1090 | - | } | |||
| 1091 | - | ||||
| 1092 | func (v *CEFApiVersionTestScopedClientT) OverrideGetValueV2(fn uintptr) { v.GetValueV2 = fn } | 691 | func (v *CEFApiVersionTestScopedClientT) OverrideGetValueV2(fn uintptr) { v.GetValueV2 = fn } | ||
| 1093 | 692 | ||||
| 1094 | func (v *CEFApiVersionTestScopedClientT) CallGetValueV2(args ...uintptr) uintptr { | 693 | func (v *CEFApiVersionTestScopedClientT) CallGetValueV2(args ...uintptr) uintptr { | ||
| @@ -1099,46 +698,6 @@ func (v *CEFApiVersionTestScopedClientT) CallGetValueV2(args ...uintptr) uintptr | |||||
| 1099 | return r1 | 698 | return r1 | ||
| 1100 | } | 699 | } | ||
| 1101 | 700 | ||||
| 1102 | - | func (v *CEFApiVersionTestScopedClientT) OverrideGetValueExp(fn uintptr) { v.GetValueExp = fn } | |||
| 1103 | - | ||||
| 1104 | - | func (v *CEFApiVersionTestScopedClientT) CallGetValueExp(args ...uintptr) uintptr { | |||
| 1105 | - | if v.GetValueExp == 0 { | |||
| 1106 | - | return 0 | |||
| 1107 | - | } | |||
| 1108 | - | r1, _, _ := purego.SyscallN(v.GetValueExp, append([]uintptr{uintptr(unsafe.Pointer(v))}, args...)...) | |||
| 1109 | - | return r1 | |||
| 1110 | - | } | |||
| 1111 | - | ||||
| 1112 | - | type CEFApiVersionTestScopedClientChildT struct { | |||
| 1113 | - | _ structs.HostLayout | |||
| 1114 | - | Base CEFApiVersionTestScopedClientT | |||
| 1115 | - | GetOtherValue uintptr | |||
| 1116 | - | GetOtherValueRemoved uintptr | |||
| 1117 | - | GetOtherValueV1 uintptr | |||
| 1118 | - | } | |||
| 1119 | - | ||||
| 1120 | - | func (v *CEFApiVersionTestScopedClientChildT) OverrideGetOtherValue(fn uintptr) { v.GetOtherValue = fn } | |||
| 1121 | - | ||||
| 1122 | - | func (v *CEFApiVersionTestScopedClientChildT) CallGetOtherValue(args ...uintptr) uintptr { | |||
| 1123 | - | if v.GetOtherValue == 0 { | |||
| 1124 | - | return 0 | |||
| 1125 | - | } | |||
| 1126 | - | r1, _, _ := purego.SyscallN(v.GetOtherValue, append([]uintptr{uintptr(unsafe.Pointer(v))}, args...)...) | |||
| 1127 | - | return r1 | |||
| 1128 | - | } | |||
| 1129 | - | ||||
| 1130 | - | func (v *CEFApiVersionTestScopedClientChildT) OverrideGetOtherValueV1(fn uintptr) { | |||
| 1131 | - | v.GetOtherValueV1 = fn | |||
| 1132 | - | } | |||
| 1133 | - | ||||
| 1134 | - | func (v *CEFApiVersionTestScopedClientChildT) CallGetOtherValueV1(args ...uintptr) uintptr { | |||
| 1135 | - | if v.GetOtherValueV1 == 0 { | |||
| 1136 | - | return 0 | |||
| 1137 | - | } | |||
| 1138 | - | r1, _, _ := purego.SyscallN(v.GetOtherValueV1, append([]uintptr{uintptr(unsafe.Pointer(v))}, args...)...) | |||
| 1139 | - | return r1 | |||
| 1140 | - | } | |||
| 1141 | - | ||||
| 1142 | type CEFApiVersionTestScopedClientChildV2T struct { | 701 | type CEFApiVersionTestScopedClientChildV2T struct { | ||
| 1143 | _ structs.HostLayout | 702 | _ structs.HostLayout | ||
| 1144 | Base CEFApiVersionTestScopedClientT | 703 | Base CEFApiVersionTestScopedClientT | ||
| @@ -1180,12 +739,6 @@ var CEFApiVersionTestRefPtrLibraryChildCreate func() unsafe.Pointer | |||||
| 1180 | 739 | ||||
| 1181 | var CEFApiVersionTestRefPtrLibraryChildCreateWithDefault func(Value int32, OtherValue int32) unsafe.Pointer | 740 | var CEFApiVersionTestRefPtrLibraryChildCreateWithDefault func(Value int32, OtherValue int32) unsafe.Pointer | ||
| 1182 | 741 | ||||
| 1183 | - | var CEFApiVersionTestRefPtrLibraryChildChildCreate func() unsafe.Pointer | |||
| 1184 | - | ||||
| 1185 | - | var CEFApiVersionTestRefPtrLibraryChildChildV1Create func() unsafe.Pointer | |||
| 1186 | - | ||||
| 1187 | - | var CEFApiVersionTestRefPtrLibraryChildChildV1CreateWithDefault func(Value int32, OtherValue int32, OtherOtherValue int32) unsafe.Pointer | |||
| 1188 | - | ||||
| 1189 | var CEFApiVersionTestRefPtrLibraryChildChildV2Create func() unsafe.Pointer | 742 | var CEFApiVersionTestRefPtrLibraryChildChildV2Create func() unsafe.Pointer | ||
| 1190 | 743 | ||||
| 1191 | var CEFApiVersionTestRefPtrLibraryChildChildV2CreateWithDefault func(Value int32, OtherValue int32, OtherOtherValue int32) unsafe.Pointer | 744 | var CEFApiVersionTestRefPtrLibraryChildChildV2CreateWithDefault func(Value int32, OtherValue int32, OtherOtherValue int32) unsafe.Pointer | ||
| @@ -1198,12 +751,6 @@ var CEFApiVersionTestScopedLibraryChildCreate func() unsafe.Pointer | |||||
| 1198 | 751 | ||||
| 1199 | var CEFApiVersionTestScopedLibraryChildCreateWithDefault func(Value int32, OtherValue int32) unsafe.Pointer | 752 | var CEFApiVersionTestScopedLibraryChildCreateWithDefault func(Value int32, OtherValue int32) unsafe.Pointer | ||
| 1200 | 753 | ||||
| 1201 | - | var CEFApiVersionTestScopedLibraryChildChildCreate func() unsafe.Pointer | |||
| 1202 | - | ||||
| 1203 | - | var CEFApiVersionTestScopedLibraryChildChildV1Create func() unsafe.Pointer | |||
| 1204 | - | ||||
| 1205 | - | var CEFApiVersionTestScopedLibraryChildChildV1CreateWithDefault func(Value int32, OtherValue int32, OtherOtherValue int32) unsafe.Pointer | |||
| 1206 | - | ||||
| 1207 | var CEFApiVersionTestScopedLibraryChildChildV2Create func() unsafe.Pointer | 754 | var CEFApiVersionTestScopedLibraryChildChildV2Create func() unsafe.Pointer | ||
| 1208 | 755 | ||||
| 1209 | var CEFApiVersionTestScopedLibraryChildChildV2CreateWithDefault func(Value int32, OtherValue int32, OtherOtherValue int32) unsafe.Pointer | 756 | var CEFApiVersionTestScopedLibraryChildChildV2CreateWithDefault func(Value int32, OtherValue int32, OtherOtherValue int32) unsafe.Pointer | ||
| @@ -1214,18 +761,12 @@ func RegisterApiVersionTest(handle uintptr) { | |||||
| 1214 | tryRegisterLibFunc(&CEFApiVersionTestRefPtrLibraryCreateWithDefault, handle, "cef_api_version_test_ref_ptr_library_create_with_default") | 761 | tryRegisterLibFunc(&CEFApiVersionTestRefPtrLibraryCreateWithDefault, handle, "cef_api_version_test_ref_ptr_library_create_with_default") | ||
| 1215 | tryRegisterLibFunc(&CEFApiVersionTestRefPtrLibraryChildCreate, handle, "cef_api_version_test_ref_ptr_library_child_create") | 762 | tryRegisterLibFunc(&CEFApiVersionTestRefPtrLibraryChildCreate, handle, "cef_api_version_test_ref_ptr_library_child_create") | ||
| 1216 | tryRegisterLibFunc(&CEFApiVersionTestRefPtrLibraryChildCreateWithDefault, handle, "cef_api_version_test_ref_ptr_library_child_create_with_default") | 763 | tryRegisterLibFunc(&CEFApiVersionTestRefPtrLibraryChildCreateWithDefault, handle, "cef_api_version_test_ref_ptr_library_child_create_with_default") | ||
| 1217 | - | tryRegisterLibFunc(&CEFApiVersionTestRefPtrLibraryChildChildCreate, handle, "cef_api_version_test_ref_ptr_library_child_child_create") | |||
| 1218 | - | tryRegisterLibFunc(&CEFApiVersionTestRefPtrLibraryChildChildV1Create, handle, "cef_api_version_test_ref_ptr_library_child_child_v1_create") | |||
| 1219 | - | tryRegisterLibFunc(&CEFApiVersionTestRefPtrLibraryChildChildV1CreateWithDefault, handle, "cef_api_version_test_ref_ptr_library_child_child_v1_create_with_default") | |||
| 1220 | tryRegisterLibFunc(&CEFApiVersionTestRefPtrLibraryChildChildV2Create, handle, "cef_api_version_test_ref_ptr_library_child_child_v2_create") | 764 | tryRegisterLibFunc(&CEFApiVersionTestRefPtrLibraryChildChildV2Create, handle, "cef_api_version_test_ref_ptr_library_child_child_v2_create") | ||
| 1221 | tryRegisterLibFunc(&CEFApiVersionTestRefPtrLibraryChildChildV2CreateWithDefault, handle, "cef_api_version_test_ref_ptr_library_child_child_v2_create_with_default") | 765 | tryRegisterLibFunc(&CEFApiVersionTestRefPtrLibraryChildChildV2CreateWithDefault, handle, "cef_api_version_test_ref_ptr_library_child_child_v2_create_with_default") | ||
| 1222 | tryRegisterLibFunc(&CEFApiVersionTestScopedLibraryCreate, handle, "cef_api_version_test_scoped_library_create") | 766 | tryRegisterLibFunc(&CEFApiVersionTestScopedLibraryCreate, handle, "cef_api_version_test_scoped_library_create") | ||
| 1223 | tryRegisterLibFunc(&CEFApiVersionTestScopedLibraryCreateWithDefault, handle, "cef_api_version_test_scoped_library_create_with_default") | 767 | tryRegisterLibFunc(&CEFApiVersionTestScopedLibraryCreateWithDefault, handle, "cef_api_version_test_scoped_library_create_with_default") | ||
| 1224 | tryRegisterLibFunc(&CEFApiVersionTestScopedLibraryChildCreate, handle, "cef_api_version_test_scoped_library_child_create") | 768 | tryRegisterLibFunc(&CEFApiVersionTestScopedLibraryChildCreate, handle, "cef_api_version_test_scoped_library_child_create") | ||
| 1225 | tryRegisterLibFunc(&CEFApiVersionTestScopedLibraryChildCreateWithDefault, handle, "cef_api_version_test_scoped_library_child_create_with_default") | 769 | tryRegisterLibFunc(&CEFApiVersionTestScopedLibraryChildCreateWithDefault, handle, "cef_api_version_test_scoped_library_child_create_with_default") | ||
| 1226 | - | tryRegisterLibFunc(&CEFApiVersionTestScopedLibraryChildChildCreate, handle, "cef_api_version_test_scoped_library_child_child_create") | |||
| 1227 | - | tryRegisterLibFunc(&CEFApiVersionTestScopedLibraryChildChildV1Create, handle, "cef_api_version_test_scoped_library_child_child_v1_create") | |||
| 1228 | - | tryRegisterLibFunc(&CEFApiVersionTestScopedLibraryChildChildV1CreateWithDefault, handle, "cef_api_version_test_scoped_library_child_child_v1_create_with_default") | |||
| 1229 | tryRegisterLibFunc(&CEFApiVersionTestScopedLibraryChildChildV2Create, handle, "cef_api_version_test_scoped_library_child_child_v2_create") | 770 | tryRegisterLibFunc(&CEFApiVersionTestScopedLibraryChildChildV2Create, handle, "cef_api_version_test_scoped_library_child_child_v2_create") | ||
| 1230 | tryRegisterLibFunc(&CEFApiVersionTestScopedLibraryChildChildV2CreateWithDefault, handle, "cef_api_version_test_scoped_library_child_child_v2_create_with_default") | 771 | tryRegisterLibFunc(&CEFApiVersionTestScopedLibraryChildChildV2CreateWithDefault, handle, "cef_api_version_test_scoped_library_child_child_v2_create_with_default") | ||
| 1231 | } | 772 | } | ||