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 generated file: collapsed
M vendor/github.com/bnema/purego-cef/internal/capi/views_cef_textfield_gen.go +33 -107 generated file: collapsed
A vendor/github.com/bnema/purego-cef/internal/cefapi/contract.go +11 -0 generated file: collapsed
M vendor/github.com/bnema/purego-cef/internal/loader/loader.go +23 -18 generated file: collapsed
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_component_updater_gen.go +24 -0 generated file: collapsed
M vendor/github.com/bnema/purego-cef/internal/ports/in/cef_media_router_gen.go +2 -2 generated file: collapsed
M vendor/github.com/bnema/purego-cef/internal/ports/in/cef_shared_memory_region_gen.go +1 -5 generated file: collapsed
M vendor/github.com/bnema/purego-cef/internal/ports/in/cef_shared_process_message_builder_gen.go +1 -5 generated file: collapsed
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_types_component_gen.go +9 -0 generated file: collapsed
M vendor/github.com/bnema/purego-cef/internal/ports/in/cef_v8_gen.go +8 -1 generated file: collapsed
M vendor/github.com/bnema/purego-cef/internal/ports/in/cef_values_gen.go +1 -1 generated file: collapsed
M vendor/github.com/bnema/purego-cef/internal/ports/in/test_cef_api_version_test__gen.go +8 -63
| @@ -2,6 +2,10 @@ | |||
| 2 | 2 | ||
| 3 | 3 | package in | |
| 4 | 4 | ||
| 5 | + | import ( | |
| 6 | + | "unsafe" | |
| 7 | + | ) | |
| 8 | + | ||
| 5 | 9 | // ApiVersionTest defines the inbound port interface. | |
| 6 | 10 | type ApiVersionTest interface { | |
| 7 | 11 | GetRefPtrLibrary(val int32) ApiVersionTestRefPtrLibrary | |
| @@ -9,14 +13,12 @@ type ApiVersionTest interface { | |||
| 9 | 13 | SetRefPtrLibraryAndReturn(val ApiVersionTestRefPtrLibrary) ApiVersionTestRefPtrLibrary | |
| 10 | 14 | SetChildRefPtrLibrary(val ApiVersionTestRefPtrLibraryChild) int32 | |
| 11 | 15 | SetChildRefPtrLibraryAndReturnParent(val ApiVersionTestRefPtrLibraryChild) ApiVersionTestRefPtrLibrary | |
| 12 | - | SetRefPtrLibraryList(val []ApiVersionTestRefPtrLibrary, val1 int32, val2 int32) int32 | |
| 16 | + | SetRefPtrLibraryList(valcount int, val unsafe.Pointer, val1 int32, val2 int32) int32 | |
| 13 | 17 | GetRefPtrLibraryListByRef(valcount *int, val []ApiVersionTestRefPtrLibrary, val1 int32, val2 int32) int32 | |
| 14 | 18 | GetRefPtrLibraryListSize() int | |
| 15 | 19 | SetRefPtrClient(val ApiVersionTestRefPtrClient) int32 | |
| 16 | 20 | SetRefPtrClientAndReturn(val ApiVersionTestRefPtrClient) ApiVersionTestRefPtrClient | |
| 17 | - | SetChildRefPtrClient(val ApiVersionTestRefPtrClientChild) int32 | |
| 18 | - | SetChildRefPtrClientAndReturnParent(val ApiVersionTestRefPtrClientChild) ApiVersionTestRefPtrClient | |
| 19 | - | SetRefPtrClientList(val []ApiVersionTestRefPtrClient, val1 int32, val2 int32) int32 | |
| 21 | + | SetRefPtrClientList(valcount int, val unsafe.Pointer, val1 int32, val2 int32) int32 | |
| 20 | 22 | GetRefPtrClientListByRef(valcount *int, val []ApiVersionTestRefPtrClient, val1 ApiVersionTestRefPtrClient, val2 ApiVersionTestRefPtrClient) int32 | |
| 21 | 23 | GetRefPtrClientListSize() int | |
| 22 | 24 | GetOwnPtrLibrary(val int32) ApiVersionTestScopedLibrary | |
| @@ -26,14 +28,11 @@ type ApiVersionTest interface { | |||
| 26 | 28 | SetChildOwnPtrLibraryAndReturnParent(val ApiVersionTestScopedLibraryChild) ApiVersionTestScopedLibrary | |
| 27 | 29 | SetOwnPtrClient(val ApiVersionTestScopedClient) int32 | |
| 28 | 30 | SetOwnPtrClientAndReturn(val ApiVersionTestScopedClient) ApiVersionTestScopedClient | |
| 29 | - | SetChildOwnPtrClient(val ApiVersionTestScopedClientChild) int32 | |
| 30 | - | SetChildOwnPtrClientAndReturnParent(val ApiVersionTestScopedClientChild) ApiVersionTestScopedClient | |
| 31 | 31 | SetRawPtrLibrary(val ApiVersionTestScopedLibrary) int32 | |
| 32 | 32 | SetChildRawPtrLibrary(val ApiVersionTestScopedLibraryChild) int32 | |
| 33 | - | SetRawPtrLibraryList(val []ApiVersionTestScopedLibrary, val1 int32, val2 int32) int32 | |
| 33 | + | SetRawPtrLibraryList(valcount int, val unsafe.Pointer, val1 int32, val2 int32) int32 | |
| 34 | 34 | SetRawPtrClient(val ApiVersionTestScopedClient) int32 | |
| 35 | - | SetChildRawPtrClient(val ApiVersionTestScopedClientChild) int32 | |
| 36 | - | SetRawPtrClientList(val []ApiVersionTestScopedClient, val1 int32, val2 int32) int32 | |
| 35 | + | SetRawPtrClientList(valcount int, val unsafe.Pointer, val1 int32, val2 int32) int32 | |
| 37 | 36 | SetChildRefPtrClientV2(val ApiVersionTestRefPtrClientChildV2) int32 | |
| 38 | 37 | SetChildRefPtrClientAndReturnParentV2(val ApiVersionTestRefPtrClientChildV2) ApiVersionTestRefPtrClient | |
| 39 | 38 | SetChildOwnPtrClientV2(val ApiVersionTestScopedClientChildV2) int32 | |
| @@ -45,14 +44,8 @@ type ApiVersionTest interface { | |||
| 45 | 44 | type ApiVersionTestRefPtrLibrary interface { | |
| 46 | 45 | GetValueLegacy() int32 | |
| 47 | 46 | SetValueLegacy(value int32) | |
| 48 | - | GetValue() int32 | |
| 49 | - | SetValue(value int32) | |
| 50 | - | GetValueV1() int32 | |
| 51 | - | SetValueV1(value int32) | |
| 52 | 47 | GetValueV2() int32 | |
| 53 | 48 | SetValueV2(value int32) | |
| 54 | - | GetValueExp() int32 | |
| 55 | - | SetValueExp(value int32) | |
| 56 | 49 | } | |
| 57 | 50 | ||
| 58 | 51 | // ApiVersionTestRefPtrLibraryChild defines the inbound port interface. | |
| @@ -61,18 +54,6 @@ type ApiVersionTestRefPtrLibraryChild interface { | |||
| 61 | 54 | SetOtherValue(value int32) | |
| 62 | 55 | } | |
| 63 | 56 | ||
| 64 | - | // ApiVersionTestRefPtrLibraryChildChild defines the inbound port interface. | |
| 65 | - | type ApiVersionTestRefPtrLibraryChildChild interface { | |
| 66 | - | GetOtherOtherValue() int32 | |
| 67 | - | SetOtherOtherValue(value int32) | |
| 68 | - | } | |
| 69 | - | ||
| 70 | - | // ApiVersionTestRefPtrLibraryChildChildV1 defines the inbound port interface. | |
| 71 | - | type ApiVersionTestRefPtrLibraryChildChildV1 interface { | |
| 72 | - | GetOtherOtherValue() int32 | |
| 73 | - | SetOtherOtherValue(value int32) | |
| 74 | - | } | |
| 75 | - | ||
| 76 | 57 | // ApiVersionTestRefPtrLibraryChildChildV2 defines the inbound port interface. | |
| 77 | 58 | type ApiVersionTestRefPtrLibraryChildChildV2 interface { | |
| 78 | 59 | GetOtherOtherValue() int32 | |
| @@ -82,16 +63,7 @@ type ApiVersionTestRefPtrLibraryChildChildV2 interface { | |||
| 82 | 63 | // ApiVersionTestRefPtrClient defines the inbound port interface. | |
| 83 | 64 | type ApiVersionTestRefPtrClient interface { | |
| 84 | 65 | GetValueLegacy() int32 | |
| 85 | - | GetValue() int32 | |
| 86 | - | GetValueV1() int32 | |
| 87 | 66 | GetValueV2() int32 | |
| 88 | - | GetValueExp() int32 | |
| 89 | - | } | |
| 90 | - | ||
| 91 | - | // ApiVersionTestRefPtrClientChild defines the inbound port interface. | |
| 92 | - | type ApiVersionTestRefPtrClientChild interface { | |
| 93 | - | GetOtherValue() int32 | |
| 94 | - | GetOtherValueV1() int32 | |
| 95 | 67 | } | |
| 96 | 68 | ||
| 97 | 69 | // ApiVersionTestRefPtrClientChildV2 defines the inbound port interface. | |
| @@ -104,14 +76,8 @@ type ApiVersionTestRefPtrClientChildV2 interface { | |||
| 104 | 76 | type ApiVersionTestScopedLibrary interface { | |
| 105 | 77 | GetValueLegacy() int32 | |
| 106 | 78 | SetValueLegacy(value int32) | |
| 107 | - | GetValue() int32 | |
| 108 | - | SetValue(value int32) | |
| 109 | - | GetValueV1() int32 | |
| 110 | - | SetValueV1(value int32) | |
| 111 | 79 | GetValueV2() int32 | |
| 112 | 80 | SetValueV2(value int32) | |
| 113 | - | GetValueExp() int32 | |
| 114 | - | SetValueExp(value int32) | |
| 115 | 81 | } | |
| 116 | 82 | ||
| 117 | 83 | // ApiVersionTestScopedLibraryChild defines the inbound port interface. | |
| @@ -120,18 +86,6 @@ type ApiVersionTestScopedLibraryChild interface { | |||
| 120 | 86 | SetOtherValue(value int32) | |
| 121 | 87 | } | |
| 122 | 88 | ||
| 123 | - | // ApiVersionTestScopedLibraryChildChild defines the inbound port interface. | |
| 124 | - | type ApiVersionTestScopedLibraryChildChild interface { | |
| 125 | - | GetOtherOtherValue() int32 | |
| 126 | - | SetOtherOtherValue(value int32) | |
| 127 | - | } | |
| 128 | - | ||
| 129 | - | // ApiVersionTestScopedLibraryChildChildV1 defines the inbound port interface. | |
| 130 | - | type ApiVersionTestScopedLibraryChildChildV1 interface { | |
| 131 | - | GetOtherOtherValue() int32 | |
| 132 | - | SetOtherOtherValue(value int32) | |
| 133 | - | } | |
| 134 | - | ||
| 135 | 89 | // ApiVersionTestScopedLibraryChildChildV2 defines the inbound port interface. | |
| 136 | 90 | type ApiVersionTestScopedLibraryChildChildV2 interface { | |
| 137 | 91 | GetOtherOtherValue() int32 | |
| @@ -141,16 +95,7 @@ type ApiVersionTestScopedLibraryChildChildV2 interface { | |||
| 141 | 95 | // ApiVersionTestScopedClient defines the inbound port interface. | |
| 142 | 96 | type ApiVersionTestScopedClient interface { | |
| 143 | 97 | GetValueLegacy() int32 | |
| 144 | - | GetValue() int32 | |
| 145 | - | GetValueV1() int32 | |
| 146 | 98 | GetValueV2() int32 | |
| 147 | - | GetValueExp() int32 | |
| 148 | - | } | |
| 149 | - | ||
| 150 | - | // ApiVersionTestScopedClientChild defines the inbound port interface. | |
| 151 | - | type ApiVersionTestScopedClientChild interface { | |
| 152 | - | GetOtherValue() int32 | |
| 153 | - | GetOtherValueV1() int32 | |
| 154 | 99 | } | |
| 155 | 100 | ||
| 156 | 101 | // ApiVersionTestScopedClientChildV2 defines the inbound port interface. | |
| @@ -2,6 +2,10 @@ | |||||
| 2 | 2 | ||||
| 3 | package in | 3 | package in | ||
| 4 | 4 | ||||
| 5 | + | import ( | |||
| 6 | + | "unsafe" | |||
| 7 | + | ) | |||
| 8 | + | ||||
| 5 | // ApiVersionTest defines the inbound port interface. | 9 | // ApiVersionTest defines the inbound port interface. | ||
| 6 | type ApiVersionTest interface { | 10 | type ApiVersionTest interface { | ||
| 7 | GetRefPtrLibrary(val int32) ApiVersionTestRefPtrLibrary | 11 | GetRefPtrLibrary(val int32) ApiVersionTestRefPtrLibrary | ||
| @@ -9,14 +13,12 @@ type ApiVersionTest interface { | |||||
| 9 | SetRefPtrLibraryAndReturn(val ApiVersionTestRefPtrLibrary) ApiVersionTestRefPtrLibrary | 13 | SetRefPtrLibraryAndReturn(val ApiVersionTestRefPtrLibrary) ApiVersionTestRefPtrLibrary | ||
| 10 | SetChildRefPtrLibrary(val ApiVersionTestRefPtrLibraryChild) int32 | 14 | SetChildRefPtrLibrary(val ApiVersionTestRefPtrLibraryChild) int32 | ||
| 11 | SetChildRefPtrLibraryAndReturnParent(val ApiVersionTestRefPtrLibraryChild) ApiVersionTestRefPtrLibrary | 15 | SetChildRefPtrLibraryAndReturnParent(val ApiVersionTestRefPtrLibraryChild) ApiVersionTestRefPtrLibrary | ||
| 12 | - | SetRefPtrLibraryList(val []ApiVersionTestRefPtrLibrary, val1 int32, val2 int32) int32 | 16 | + | SetRefPtrLibraryList(valcount int, val unsafe.Pointer, val1 int32, val2 int32) int32 |
| 13 | GetRefPtrLibraryListByRef(valcount *int, val []ApiVersionTestRefPtrLibrary, val1 int32, val2 int32) int32 | 17 | GetRefPtrLibraryListByRef(valcount *int, val []ApiVersionTestRefPtrLibrary, val1 int32, val2 int32) int32 | ||
| 14 | GetRefPtrLibraryListSize() int | 18 | GetRefPtrLibraryListSize() int | ||
| 15 | SetRefPtrClient(val ApiVersionTestRefPtrClient) int32 | 19 | SetRefPtrClient(val ApiVersionTestRefPtrClient) int32 | ||
| 16 | SetRefPtrClientAndReturn(val ApiVersionTestRefPtrClient) ApiVersionTestRefPtrClient | 20 | SetRefPtrClientAndReturn(val ApiVersionTestRefPtrClient) ApiVersionTestRefPtrClient | ||
| 17 | - | SetChildRefPtrClient(val ApiVersionTestRefPtrClientChild) int32 | 21 | + | SetRefPtrClientList(valcount int, val unsafe.Pointer, val1 int32, val2 int32) int32 |
| 18 | - | SetChildRefPtrClientAndReturnParent(val ApiVersionTestRefPtrClientChild) ApiVersionTestRefPtrClient | |||
| 19 | - | SetRefPtrClientList(val []ApiVersionTestRefPtrClient, val1 int32, val2 int32) int32 | |||
| 20 | GetRefPtrClientListByRef(valcount *int, val []ApiVersionTestRefPtrClient, val1 ApiVersionTestRefPtrClient, val2 ApiVersionTestRefPtrClient) int32 | 22 | GetRefPtrClientListByRef(valcount *int, val []ApiVersionTestRefPtrClient, val1 ApiVersionTestRefPtrClient, val2 ApiVersionTestRefPtrClient) int32 | ||
| 21 | GetRefPtrClientListSize() int | 23 | GetRefPtrClientListSize() int | ||
| 22 | GetOwnPtrLibrary(val int32) ApiVersionTestScopedLibrary | 24 | GetOwnPtrLibrary(val int32) ApiVersionTestScopedLibrary | ||
| @@ -26,14 +28,11 @@ type ApiVersionTest interface { | |||||
| 26 | SetChildOwnPtrLibraryAndReturnParent(val ApiVersionTestScopedLibraryChild) ApiVersionTestScopedLibrary | 28 | SetChildOwnPtrLibraryAndReturnParent(val ApiVersionTestScopedLibraryChild) ApiVersionTestScopedLibrary | ||
| 27 | SetOwnPtrClient(val ApiVersionTestScopedClient) int32 | 29 | SetOwnPtrClient(val ApiVersionTestScopedClient) int32 | ||
| 28 | SetOwnPtrClientAndReturn(val ApiVersionTestScopedClient) ApiVersionTestScopedClient | 30 | SetOwnPtrClientAndReturn(val ApiVersionTestScopedClient) ApiVersionTestScopedClient | ||
| 29 | - | SetChildOwnPtrClient(val ApiVersionTestScopedClientChild) int32 | |||
| 30 | - | SetChildOwnPtrClientAndReturnParent(val ApiVersionTestScopedClientChild) ApiVersionTestScopedClient | |||
| 31 | SetRawPtrLibrary(val ApiVersionTestScopedLibrary) int32 | 31 | SetRawPtrLibrary(val ApiVersionTestScopedLibrary) int32 | ||
| 32 | SetChildRawPtrLibrary(val ApiVersionTestScopedLibraryChild) int32 | 32 | SetChildRawPtrLibrary(val ApiVersionTestScopedLibraryChild) int32 | ||
| 33 | - | SetRawPtrLibraryList(val []ApiVersionTestScopedLibrary, val1 int32, val2 int32) int32 | 33 | + | SetRawPtrLibraryList(valcount int, val unsafe.Pointer, val1 int32, val2 int32) int32 |
| 34 | SetRawPtrClient(val ApiVersionTestScopedClient) int32 | 34 | SetRawPtrClient(val ApiVersionTestScopedClient) int32 | ||
| 35 | - | SetChildRawPtrClient(val ApiVersionTestScopedClientChild) int32 | 35 | + | SetRawPtrClientList(valcount int, val unsafe.Pointer, val1 int32, val2 int32) int32 |
| 36 | - | SetRawPtrClientList(val []ApiVersionTestScopedClient, val1 int32, val2 int32) int32 | |||
| 37 | SetChildRefPtrClientV2(val ApiVersionTestRefPtrClientChildV2) int32 | 36 | SetChildRefPtrClientV2(val ApiVersionTestRefPtrClientChildV2) int32 | ||
| 38 | SetChildRefPtrClientAndReturnParentV2(val ApiVersionTestRefPtrClientChildV2) ApiVersionTestRefPtrClient | 37 | SetChildRefPtrClientAndReturnParentV2(val ApiVersionTestRefPtrClientChildV2) ApiVersionTestRefPtrClient | ||
| 39 | SetChildOwnPtrClientV2(val ApiVersionTestScopedClientChildV2) int32 | 38 | SetChildOwnPtrClientV2(val ApiVersionTestScopedClientChildV2) int32 | ||
| @@ -45,14 +44,8 @@ type ApiVersionTest interface { | |||||
| 45 | type ApiVersionTestRefPtrLibrary interface { | 44 | type ApiVersionTestRefPtrLibrary interface { | ||
| 46 | GetValueLegacy() int32 | 45 | GetValueLegacy() int32 | ||
| 47 | SetValueLegacy(value int32) | 46 | SetValueLegacy(value int32) | ||
| 48 | - | GetValue() int32 | |||
| 49 | - | SetValue(value int32) | |||
| 50 | - | GetValueV1() int32 | |||
| 51 | - | SetValueV1(value int32) | |||
| 52 | GetValueV2() int32 | 47 | GetValueV2() int32 | ||
| 53 | SetValueV2(value int32) | 48 | SetValueV2(value int32) | ||
| 54 | - | GetValueExp() int32 | |||
| 55 | - | SetValueExp(value int32) | |||
| 56 | } | 49 | } | ||
| 57 | 50 | ||||
| 58 | // ApiVersionTestRefPtrLibraryChild defines the inbound port interface. | 51 | // ApiVersionTestRefPtrLibraryChild defines the inbound port interface. | ||
| @@ -61,18 +54,6 @@ type ApiVersionTestRefPtrLibraryChild interface { | |||||
| 61 | SetOtherValue(value int32) | 54 | SetOtherValue(value int32) | ||
| 62 | } | 55 | } | ||
| 63 | 56 | ||||
| 64 | - | // ApiVersionTestRefPtrLibraryChildChild defines the inbound port interface. | |||
| 65 | - | type ApiVersionTestRefPtrLibraryChildChild interface { | |||
| 66 | - | GetOtherOtherValue() int32 | |||
| 67 | - | SetOtherOtherValue(value int32) | |||
| 68 | - | } | |||
| 69 | - | ||||
| 70 | - | // ApiVersionTestRefPtrLibraryChildChildV1 defines the inbound port interface. | |||
| 71 | - | type ApiVersionTestRefPtrLibraryChildChildV1 interface { | |||
| 72 | - | GetOtherOtherValue() int32 | |||
| 73 | - | SetOtherOtherValue(value int32) | |||
| 74 | - | } | |||
| 75 | - | ||||
| 76 | // ApiVersionTestRefPtrLibraryChildChildV2 defines the inbound port interface. | 57 | // ApiVersionTestRefPtrLibraryChildChildV2 defines the inbound port interface. | ||
| 77 | type ApiVersionTestRefPtrLibraryChildChildV2 interface { | 58 | type ApiVersionTestRefPtrLibraryChildChildV2 interface { | ||
| 78 | GetOtherOtherValue() int32 | 59 | GetOtherOtherValue() int32 | ||
| @@ -82,16 +63,7 @@ type ApiVersionTestRefPtrLibraryChildChildV2 interface { | |||||
| 82 | // ApiVersionTestRefPtrClient defines the inbound port interface. | 63 | // ApiVersionTestRefPtrClient defines the inbound port interface. | ||
| 83 | type ApiVersionTestRefPtrClient interface { | 64 | type ApiVersionTestRefPtrClient interface { | ||
| 84 | GetValueLegacy() int32 | 65 | GetValueLegacy() int32 | ||
| 85 | - | GetValue() int32 | |||
| 86 | - | GetValueV1() int32 | |||
| 87 | GetValueV2() int32 | 66 | GetValueV2() int32 | ||
| 88 | - | GetValueExp() int32 | |||
| 89 | - | } | |||
| 90 | - | ||||
| 91 | - | // ApiVersionTestRefPtrClientChild defines the inbound port interface. | |||
| 92 | - | type ApiVersionTestRefPtrClientChild interface { | |||
| 93 | - | GetOtherValue() int32 | |||
| 94 | - | GetOtherValueV1() int32 | |||
| 95 | } | 67 | } | ||
| 96 | 68 | ||||
| 97 | // ApiVersionTestRefPtrClientChildV2 defines the inbound port interface. | 69 | // ApiVersionTestRefPtrClientChildV2 defines the inbound port interface. | ||
| @@ -104,14 +76,8 @@ type ApiVersionTestRefPtrClientChildV2 interface { | |||||
| 104 | type ApiVersionTestScopedLibrary interface { | 76 | type ApiVersionTestScopedLibrary interface { | ||
| 105 | GetValueLegacy() int32 | 77 | GetValueLegacy() int32 | ||
| 106 | SetValueLegacy(value int32) | 78 | SetValueLegacy(value int32) | ||
| 107 | - | GetValue() int32 | |||
| 108 | - | SetValue(value int32) | |||
| 109 | - | GetValueV1() int32 | |||
| 110 | - | SetValueV1(value int32) | |||
| 111 | GetValueV2() int32 | 79 | GetValueV2() int32 | ||
| 112 | SetValueV2(value int32) | 80 | SetValueV2(value int32) | ||
| 113 | - | GetValueExp() int32 | |||
| 114 | - | SetValueExp(value int32) | |||
| 115 | } | 81 | } | ||
| 116 | 82 | ||||
| 117 | // ApiVersionTestScopedLibraryChild defines the inbound port interface. | 83 | // ApiVersionTestScopedLibraryChild defines the inbound port interface. | ||
| @@ -120,18 +86,6 @@ type ApiVersionTestScopedLibraryChild interface { | |||||
| 120 | SetOtherValue(value int32) | 86 | SetOtherValue(value int32) | ||
| 121 | } | 87 | } | ||
| 122 | 88 | ||||
| 123 | - | // ApiVersionTestScopedLibraryChildChild defines the inbound port interface. | |||
| 124 | - | type ApiVersionTestScopedLibraryChildChild interface { | |||
| 125 | - | GetOtherOtherValue() int32 | |||
| 126 | - | SetOtherOtherValue(value int32) | |||
| 127 | - | } | |||
| 128 | - | ||||
| 129 | - | // ApiVersionTestScopedLibraryChildChildV1 defines the inbound port interface. | |||
| 130 | - | type ApiVersionTestScopedLibraryChildChildV1 interface { | |||
| 131 | - | GetOtherOtherValue() int32 | |||
| 132 | - | SetOtherOtherValue(value int32) | |||
| 133 | - | } | |||
| 134 | - | ||||
| 135 | // ApiVersionTestScopedLibraryChildChildV2 defines the inbound port interface. | 89 | // ApiVersionTestScopedLibraryChildChildV2 defines the inbound port interface. | ||
| 136 | type ApiVersionTestScopedLibraryChildChildV2 interface { | 90 | type ApiVersionTestScopedLibraryChildChildV2 interface { | ||
| 137 | GetOtherOtherValue() int32 | 91 | GetOtherOtherValue() int32 | ||
| @@ -141,16 +95,7 @@ type ApiVersionTestScopedLibraryChildChildV2 interface { | |||||
| 141 | // ApiVersionTestScopedClient defines the inbound port interface. | 95 | // ApiVersionTestScopedClient defines the inbound port interface. | ||
| 142 | type ApiVersionTestScopedClient interface { | 96 | type ApiVersionTestScopedClient interface { | ||
| 143 | GetValueLegacy() int32 | 97 | GetValueLegacy() int32 | ||
| 144 | - | GetValue() int32 | |||
| 145 | - | GetValueV1() int32 | |||
| 146 | GetValueV2() int32 | 98 | GetValueV2() int32 | ||
| 147 | - | GetValueExp() int32 | |||
| 148 | - | } | |||
| 149 | - | ||||
| 150 | - | // ApiVersionTestScopedClientChild defines the inbound port interface. | |||
| 151 | - | type ApiVersionTestScopedClientChild interface { | |||
| 152 | - | GetOtherValue() int32 | |||
| 153 | - | GetOtherValueV1() int32 | |||
| 154 | } | 99 | } | ||
| 155 | 100 | ||||
| 156 | // ApiVersionTestScopedClientChildV2 defines the inbound port interface. | 101 | // ApiVersionTestScopedClientChildV2 defines the inbound port interface. | ||