github.com/primecitizens/pcz/std@v0.2.1/plat/js/webext/downloads/bindings/import_wasm.go (about) 1 // SPDX-License-Identifier: Apache-2.0 2 // Copyright 2023 The Prime Citizens 3 4 //go:build wasm 5 6 package bindings 7 8 import ( 9 "unsafe" 10 11 "github.com/primecitizens/pcz/std/ffi/js" 12 ) 13 14 type ( 15 _ unsafe.Pointer 16 _ js.Ref 17 ) 18 19 //go:wasmimport plat/js/webext/downloads store_BooleanDelta 20 //go:noescape 21 func BooleanDeltaJSStore( 22 ptr unsafe.Pointer, ref js.Ref) 23 24 //go:wasmimport plat/js/webext/downloads load_BooleanDelta 25 //go:noescape 26 func BooleanDeltaJSLoad( 27 ptr unsafe.Pointer, create, ref js.Ref) js.Ref 28 29 //go:wasmimport plat/js/webext/downloads constof_DangerType 30 //go:noescape 31 func ConstOfDangerType(str js.Ref) uint32 32 33 //go:wasmimport plat/js/webext/downloads store_DoubleDelta 34 //go:noescape 35 func DoubleDeltaJSStore( 36 ptr unsafe.Pointer, ref js.Ref) 37 38 //go:wasmimport plat/js/webext/downloads load_DoubleDelta 39 //go:noescape 40 func DoubleDeltaJSLoad( 41 ptr unsafe.Pointer, create, ref js.Ref) js.Ref 42 43 //go:wasmimport plat/js/webext/downloads store_StringDelta 44 //go:noescape 45 func StringDeltaJSStore( 46 ptr unsafe.Pointer, ref js.Ref) 47 48 //go:wasmimport plat/js/webext/downloads load_StringDelta 49 //go:noescape 50 func StringDeltaJSLoad( 51 ptr unsafe.Pointer, create, ref js.Ref) js.Ref 52 53 //go:wasmimport plat/js/webext/downloads store_DownloadDelta 54 //go:noescape 55 func DownloadDeltaJSStore( 56 ptr unsafe.Pointer, ref js.Ref) 57 58 //go:wasmimport plat/js/webext/downloads load_DownloadDelta 59 //go:noescape 60 func DownloadDeltaJSLoad( 61 ptr unsafe.Pointer, create, ref js.Ref) js.Ref 62 63 //go:wasmimport plat/js/webext/downloads constof_State 64 //go:noescape 65 func ConstOfState(str js.Ref) uint32 66 67 //go:wasmimport plat/js/webext/downloads constof_InterruptReason 68 //go:noescape 69 func ConstOfInterruptReason(str js.Ref) uint32 70 71 //go:wasmimport plat/js/webext/downloads store_DownloadItem 72 //go:noescape 73 func DownloadItemJSStore( 74 ptr unsafe.Pointer, ref js.Ref) 75 76 //go:wasmimport plat/js/webext/downloads load_DownloadItem 77 //go:noescape 78 func DownloadItemJSLoad( 79 ptr unsafe.Pointer, create, ref js.Ref) js.Ref 80 81 //go:wasmimport plat/js/webext/downloads constof_FilenameConflictAction 82 //go:noescape 83 func ConstOfFilenameConflictAction(str js.Ref) uint32 84 85 //go:wasmimport plat/js/webext/downloads constof_HttpMethod 86 //go:noescape 87 func ConstOfHttpMethod(str js.Ref) uint32 88 89 //go:wasmimport plat/js/webext/downloads store_HeaderNameValuePair 90 //go:noescape 91 func HeaderNameValuePairJSStore( 92 ptr unsafe.Pointer, ref js.Ref) 93 94 //go:wasmimport plat/js/webext/downloads load_HeaderNameValuePair 95 //go:noescape 96 func HeaderNameValuePairJSLoad( 97 ptr unsafe.Pointer, create, ref js.Ref) js.Ref 98 99 //go:wasmimport plat/js/webext/downloads store_DownloadOptions 100 //go:noescape 101 func DownloadOptionsJSStore( 102 ptr unsafe.Pointer, ref js.Ref) 103 104 //go:wasmimport plat/js/webext/downloads load_DownloadOptions 105 //go:noescape 106 func DownloadOptionsJSLoad( 107 ptr unsafe.Pointer, create, ref js.Ref) js.Ref 108 109 //go:wasmimport plat/js/webext/downloads store_DownloadQuery 110 //go:noescape 111 func DownloadQueryJSStore( 112 ptr unsafe.Pointer, ref js.Ref) 113 114 //go:wasmimport plat/js/webext/downloads load_DownloadQuery 115 //go:noescape 116 func DownloadQueryJSLoad( 117 ptr unsafe.Pointer, create, ref js.Ref) js.Ref 118 119 //go:wasmimport plat/js/webext/downloads store_FilenameSuggestion 120 //go:noescape 121 func FilenameSuggestionJSStore( 122 ptr unsafe.Pointer, ref js.Ref) 123 124 //go:wasmimport plat/js/webext/downloads load_FilenameSuggestion 125 //go:noescape 126 func FilenameSuggestionJSLoad( 127 ptr unsafe.Pointer, create, ref js.Ref) js.Ref 128 129 //go:wasmimport plat/js/webext/downloads store_GetFileIconOptions 130 //go:noescape 131 func GetFileIconOptionsJSStore( 132 ptr unsafe.Pointer, ref js.Ref) 133 134 //go:wasmimport plat/js/webext/downloads load_GetFileIconOptions 135 //go:noescape 136 func GetFileIconOptionsJSLoad( 137 ptr unsafe.Pointer, create, ref js.Ref) js.Ref 138 139 //go:wasmimport plat/js/webext/downloads store_UiOptions 140 //go:noescape 141 func UiOptionsJSStore( 142 ptr unsafe.Pointer, ref js.Ref) 143 144 //go:wasmimport plat/js/webext/downloads load_UiOptions 145 //go:noescape 146 func UiOptionsJSLoad( 147 ptr unsafe.Pointer, create, ref js.Ref) js.Ref 148 149 //go:wasmimport plat/js/webext/downloads has_AcceptDanger 150 //go:noescape 151 func HasFuncAcceptDanger() js.Ref 152 153 //go:wasmimport plat/js/webext/downloads func_AcceptDanger 154 //go:noescape 155 func FuncAcceptDanger(fn unsafe.Pointer) 156 157 //go:wasmimport plat/js/webext/downloads call_AcceptDanger 158 //go:noescape 159 func CallAcceptDanger( 160 retPtr unsafe.Pointer, 161 downloadId int32) 162 163 //go:wasmimport plat/js/webext/downloads try_AcceptDanger 164 //go:noescape 165 func TryAcceptDanger( 166 retPtr unsafe.Pointer, errPtr unsafe.Pointer, 167 downloadId int32) (ok js.Ref) 168 169 //go:wasmimport plat/js/webext/downloads has_Cancel 170 //go:noescape 171 func HasFuncCancel() js.Ref 172 173 //go:wasmimport plat/js/webext/downloads func_Cancel 174 //go:noescape 175 func FuncCancel(fn unsafe.Pointer) 176 177 //go:wasmimport plat/js/webext/downloads call_Cancel 178 //go:noescape 179 func CallCancel( 180 retPtr unsafe.Pointer, 181 downloadId int32) 182 183 //go:wasmimport plat/js/webext/downloads try_Cancel 184 //go:noescape 185 func TryCancel( 186 retPtr unsafe.Pointer, errPtr unsafe.Pointer, 187 downloadId int32) (ok js.Ref) 188 189 //go:wasmimport plat/js/webext/downloads has_Download 190 //go:noescape 191 func HasFuncDownload() js.Ref 192 193 //go:wasmimport plat/js/webext/downloads func_Download 194 //go:noescape 195 func FuncDownload(fn unsafe.Pointer) 196 197 //go:wasmimport plat/js/webext/downloads call_Download 198 //go:noescape 199 func CallDownload( 200 retPtr unsafe.Pointer, 201 options unsafe.Pointer) 202 203 //go:wasmimport plat/js/webext/downloads try_Download 204 //go:noescape 205 func TryDownload( 206 retPtr unsafe.Pointer, errPtr unsafe.Pointer, 207 options unsafe.Pointer) (ok js.Ref) 208 209 //go:wasmimport plat/js/webext/downloads has_Erase 210 //go:noescape 211 func HasFuncErase() js.Ref 212 213 //go:wasmimport plat/js/webext/downloads func_Erase 214 //go:noescape 215 func FuncErase(fn unsafe.Pointer) 216 217 //go:wasmimport plat/js/webext/downloads call_Erase 218 //go:noescape 219 func CallErase( 220 retPtr unsafe.Pointer, 221 query unsafe.Pointer) 222 223 //go:wasmimport plat/js/webext/downloads try_Erase 224 //go:noescape 225 func TryErase( 226 retPtr unsafe.Pointer, errPtr unsafe.Pointer, 227 query unsafe.Pointer) (ok js.Ref) 228 229 //go:wasmimport plat/js/webext/downloads has_GetFileIcon 230 //go:noescape 231 func HasFuncGetFileIcon() js.Ref 232 233 //go:wasmimport plat/js/webext/downloads func_GetFileIcon 234 //go:noescape 235 func FuncGetFileIcon(fn unsafe.Pointer) 236 237 //go:wasmimport plat/js/webext/downloads call_GetFileIcon 238 //go:noescape 239 func CallGetFileIcon( 240 retPtr unsafe.Pointer, 241 downloadId int32, 242 options unsafe.Pointer) 243 244 //go:wasmimport plat/js/webext/downloads try_GetFileIcon 245 //go:noescape 246 func TryGetFileIcon( 247 retPtr unsafe.Pointer, errPtr unsafe.Pointer, 248 downloadId int32, 249 options unsafe.Pointer) (ok js.Ref) 250 251 //go:wasmimport plat/js/webext/downloads has_OnChanged 252 //go:noescape 253 func HasFuncOnChanged() js.Ref 254 255 //go:wasmimport plat/js/webext/downloads func_OnChanged 256 //go:noescape 257 func FuncOnChanged(fn unsafe.Pointer) 258 259 //go:wasmimport plat/js/webext/downloads call_OnChanged 260 //go:noescape 261 func CallOnChanged( 262 retPtr unsafe.Pointer, 263 callback js.Ref) 264 265 //go:wasmimport plat/js/webext/downloads try_OnChanged 266 //go:noescape 267 func TryOnChanged( 268 retPtr unsafe.Pointer, errPtr unsafe.Pointer, 269 callback js.Ref) (ok js.Ref) 270 271 //go:wasmimport plat/js/webext/downloads has_OffChanged 272 //go:noescape 273 func HasFuncOffChanged() js.Ref 274 275 //go:wasmimport plat/js/webext/downloads func_OffChanged 276 //go:noescape 277 func FuncOffChanged(fn unsafe.Pointer) 278 279 //go:wasmimport plat/js/webext/downloads call_OffChanged 280 //go:noescape 281 func CallOffChanged( 282 retPtr unsafe.Pointer, 283 callback js.Ref) 284 285 //go:wasmimport plat/js/webext/downloads try_OffChanged 286 //go:noescape 287 func TryOffChanged( 288 retPtr unsafe.Pointer, errPtr unsafe.Pointer, 289 callback js.Ref) (ok js.Ref) 290 291 //go:wasmimport plat/js/webext/downloads has_HasOnChanged 292 //go:noescape 293 func HasFuncHasOnChanged() js.Ref 294 295 //go:wasmimport plat/js/webext/downloads func_HasOnChanged 296 //go:noescape 297 func FuncHasOnChanged(fn unsafe.Pointer) 298 299 //go:wasmimport plat/js/webext/downloads call_HasOnChanged 300 //go:noescape 301 func CallHasOnChanged( 302 retPtr unsafe.Pointer, 303 callback js.Ref) 304 305 //go:wasmimport plat/js/webext/downloads try_HasOnChanged 306 //go:noescape 307 func TryHasOnChanged( 308 retPtr unsafe.Pointer, errPtr unsafe.Pointer, 309 callback js.Ref) (ok js.Ref) 310 311 //go:wasmimport plat/js/webext/downloads has_OnCreated 312 //go:noescape 313 func HasFuncOnCreated() js.Ref 314 315 //go:wasmimport plat/js/webext/downloads func_OnCreated 316 //go:noescape 317 func FuncOnCreated(fn unsafe.Pointer) 318 319 //go:wasmimport plat/js/webext/downloads call_OnCreated 320 //go:noescape 321 func CallOnCreated( 322 retPtr unsafe.Pointer, 323 callback js.Ref) 324 325 //go:wasmimport plat/js/webext/downloads try_OnCreated 326 //go:noescape 327 func TryOnCreated( 328 retPtr unsafe.Pointer, errPtr unsafe.Pointer, 329 callback js.Ref) (ok js.Ref) 330 331 //go:wasmimport plat/js/webext/downloads has_OffCreated 332 //go:noescape 333 func HasFuncOffCreated() js.Ref 334 335 //go:wasmimport plat/js/webext/downloads func_OffCreated 336 //go:noescape 337 func FuncOffCreated(fn unsafe.Pointer) 338 339 //go:wasmimport plat/js/webext/downloads call_OffCreated 340 //go:noescape 341 func CallOffCreated( 342 retPtr unsafe.Pointer, 343 callback js.Ref) 344 345 //go:wasmimport plat/js/webext/downloads try_OffCreated 346 //go:noescape 347 func TryOffCreated( 348 retPtr unsafe.Pointer, errPtr unsafe.Pointer, 349 callback js.Ref) (ok js.Ref) 350 351 //go:wasmimport plat/js/webext/downloads has_HasOnCreated 352 //go:noescape 353 func HasFuncHasOnCreated() js.Ref 354 355 //go:wasmimport plat/js/webext/downloads func_HasOnCreated 356 //go:noescape 357 func FuncHasOnCreated(fn unsafe.Pointer) 358 359 //go:wasmimport plat/js/webext/downloads call_HasOnCreated 360 //go:noescape 361 func CallHasOnCreated( 362 retPtr unsafe.Pointer, 363 callback js.Ref) 364 365 //go:wasmimport plat/js/webext/downloads try_HasOnCreated 366 //go:noescape 367 func TryHasOnCreated( 368 retPtr unsafe.Pointer, errPtr unsafe.Pointer, 369 callback js.Ref) (ok js.Ref) 370 371 //go:wasmimport plat/js/webext/downloads has_OnDeterminingFilename 372 //go:noescape 373 func HasFuncOnDeterminingFilename() js.Ref 374 375 //go:wasmimport plat/js/webext/downloads func_OnDeterminingFilename 376 //go:noescape 377 func FuncOnDeterminingFilename(fn unsafe.Pointer) 378 379 //go:wasmimport plat/js/webext/downloads call_OnDeterminingFilename 380 //go:noescape 381 func CallOnDeterminingFilename( 382 retPtr unsafe.Pointer, 383 callback js.Ref) 384 385 //go:wasmimport plat/js/webext/downloads try_OnDeterminingFilename 386 //go:noescape 387 func TryOnDeterminingFilename( 388 retPtr unsafe.Pointer, errPtr unsafe.Pointer, 389 callback js.Ref) (ok js.Ref) 390 391 //go:wasmimport plat/js/webext/downloads has_OffDeterminingFilename 392 //go:noescape 393 func HasFuncOffDeterminingFilename() js.Ref 394 395 //go:wasmimport plat/js/webext/downloads func_OffDeterminingFilename 396 //go:noescape 397 func FuncOffDeterminingFilename(fn unsafe.Pointer) 398 399 //go:wasmimport plat/js/webext/downloads call_OffDeterminingFilename 400 //go:noescape 401 func CallOffDeterminingFilename( 402 retPtr unsafe.Pointer, 403 callback js.Ref) 404 405 //go:wasmimport plat/js/webext/downloads try_OffDeterminingFilename 406 //go:noescape 407 func TryOffDeterminingFilename( 408 retPtr unsafe.Pointer, errPtr unsafe.Pointer, 409 callback js.Ref) (ok js.Ref) 410 411 //go:wasmimport plat/js/webext/downloads has_HasOnDeterminingFilename 412 //go:noescape 413 func HasFuncHasOnDeterminingFilename() js.Ref 414 415 //go:wasmimport plat/js/webext/downloads func_HasOnDeterminingFilename 416 //go:noescape 417 func FuncHasOnDeterminingFilename(fn unsafe.Pointer) 418 419 //go:wasmimport plat/js/webext/downloads call_HasOnDeterminingFilename 420 //go:noescape 421 func CallHasOnDeterminingFilename( 422 retPtr unsafe.Pointer, 423 callback js.Ref) 424 425 //go:wasmimport plat/js/webext/downloads try_HasOnDeterminingFilename 426 //go:noescape 427 func TryHasOnDeterminingFilename( 428 retPtr unsafe.Pointer, errPtr unsafe.Pointer, 429 callback js.Ref) (ok js.Ref) 430 431 //go:wasmimport plat/js/webext/downloads has_OnErased 432 //go:noescape 433 func HasFuncOnErased() js.Ref 434 435 //go:wasmimport plat/js/webext/downloads func_OnErased 436 //go:noescape 437 func FuncOnErased(fn unsafe.Pointer) 438 439 //go:wasmimport plat/js/webext/downloads call_OnErased 440 //go:noescape 441 func CallOnErased( 442 retPtr unsafe.Pointer, 443 callback js.Ref) 444 445 //go:wasmimport plat/js/webext/downloads try_OnErased 446 //go:noescape 447 func TryOnErased( 448 retPtr unsafe.Pointer, errPtr unsafe.Pointer, 449 callback js.Ref) (ok js.Ref) 450 451 //go:wasmimport plat/js/webext/downloads has_OffErased 452 //go:noescape 453 func HasFuncOffErased() js.Ref 454 455 //go:wasmimport plat/js/webext/downloads func_OffErased 456 //go:noescape 457 func FuncOffErased(fn unsafe.Pointer) 458 459 //go:wasmimport plat/js/webext/downloads call_OffErased 460 //go:noescape 461 func CallOffErased( 462 retPtr unsafe.Pointer, 463 callback js.Ref) 464 465 //go:wasmimport plat/js/webext/downloads try_OffErased 466 //go:noescape 467 func TryOffErased( 468 retPtr unsafe.Pointer, errPtr unsafe.Pointer, 469 callback js.Ref) (ok js.Ref) 470 471 //go:wasmimport plat/js/webext/downloads has_HasOnErased 472 //go:noescape 473 func HasFuncHasOnErased() js.Ref 474 475 //go:wasmimport plat/js/webext/downloads func_HasOnErased 476 //go:noescape 477 func FuncHasOnErased(fn unsafe.Pointer) 478 479 //go:wasmimport plat/js/webext/downloads call_HasOnErased 480 //go:noescape 481 func CallHasOnErased( 482 retPtr unsafe.Pointer, 483 callback js.Ref) 484 485 //go:wasmimport plat/js/webext/downloads try_HasOnErased 486 //go:noescape 487 func TryHasOnErased( 488 retPtr unsafe.Pointer, errPtr unsafe.Pointer, 489 callback js.Ref) (ok js.Ref) 490 491 //go:wasmimport plat/js/webext/downloads has_Open 492 //go:noescape 493 func HasFuncOpen() js.Ref 494 495 //go:wasmimport plat/js/webext/downloads func_Open 496 //go:noescape 497 func FuncOpen(fn unsafe.Pointer) 498 499 //go:wasmimport plat/js/webext/downloads call_Open 500 //go:noescape 501 func CallOpen( 502 retPtr unsafe.Pointer, 503 downloadId int32) 504 505 //go:wasmimport plat/js/webext/downloads try_Open 506 //go:noescape 507 func TryOpen( 508 retPtr unsafe.Pointer, errPtr unsafe.Pointer, 509 downloadId int32) (ok js.Ref) 510 511 //go:wasmimport plat/js/webext/downloads has_Pause 512 //go:noescape 513 func HasFuncPause() js.Ref 514 515 //go:wasmimport plat/js/webext/downloads func_Pause 516 //go:noescape 517 func FuncPause(fn unsafe.Pointer) 518 519 //go:wasmimport plat/js/webext/downloads call_Pause 520 //go:noescape 521 func CallPause( 522 retPtr unsafe.Pointer, 523 downloadId int32) 524 525 //go:wasmimport plat/js/webext/downloads try_Pause 526 //go:noescape 527 func TryPause( 528 retPtr unsafe.Pointer, errPtr unsafe.Pointer, 529 downloadId int32) (ok js.Ref) 530 531 //go:wasmimport plat/js/webext/downloads has_RemoveFile 532 //go:noescape 533 func HasFuncRemoveFile() js.Ref 534 535 //go:wasmimport plat/js/webext/downloads func_RemoveFile 536 //go:noescape 537 func FuncRemoveFile(fn unsafe.Pointer) 538 539 //go:wasmimport plat/js/webext/downloads call_RemoveFile 540 //go:noescape 541 func CallRemoveFile( 542 retPtr unsafe.Pointer, 543 downloadId int32) 544 545 //go:wasmimport plat/js/webext/downloads try_RemoveFile 546 //go:noescape 547 func TryRemoveFile( 548 retPtr unsafe.Pointer, errPtr unsafe.Pointer, 549 downloadId int32) (ok js.Ref) 550 551 //go:wasmimport plat/js/webext/downloads has_Resume 552 //go:noescape 553 func HasFuncResume() js.Ref 554 555 //go:wasmimport plat/js/webext/downloads func_Resume 556 //go:noescape 557 func FuncResume(fn unsafe.Pointer) 558 559 //go:wasmimport plat/js/webext/downloads call_Resume 560 //go:noescape 561 func CallResume( 562 retPtr unsafe.Pointer, 563 downloadId int32) 564 565 //go:wasmimport plat/js/webext/downloads try_Resume 566 //go:noescape 567 func TryResume( 568 retPtr unsafe.Pointer, errPtr unsafe.Pointer, 569 downloadId int32) (ok js.Ref) 570 571 //go:wasmimport plat/js/webext/downloads has_Search 572 //go:noescape 573 func HasFuncSearch() js.Ref 574 575 //go:wasmimport plat/js/webext/downloads func_Search 576 //go:noescape 577 func FuncSearch(fn unsafe.Pointer) 578 579 //go:wasmimport plat/js/webext/downloads call_Search 580 //go:noescape 581 func CallSearch( 582 retPtr unsafe.Pointer, 583 query unsafe.Pointer) 584 585 //go:wasmimport plat/js/webext/downloads try_Search 586 //go:noescape 587 func TrySearch( 588 retPtr unsafe.Pointer, errPtr unsafe.Pointer, 589 query unsafe.Pointer) (ok js.Ref) 590 591 //go:wasmimport plat/js/webext/downloads has_SetShelfEnabled 592 //go:noescape 593 func HasFuncSetShelfEnabled() js.Ref 594 595 //go:wasmimport plat/js/webext/downloads func_SetShelfEnabled 596 //go:noescape 597 func FuncSetShelfEnabled(fn unsafe.Pointer) 598 599 //go:wasmimport plat/js/webext/downloads call_SetShelfEnabled 600 //go:noescape 601 func CallSetShelfEnabled( 602 retPtr unsafe.Pointer, 603 enabled js.Ref) 604 605 //go:wasmimport plat/js/webext/downloads try_SetShelfEnabled 606 //go:noescape 607 func TrySetShelfEnabled( 608 retPtr unsafe.Pointer, errPtr unsafe.Pointer, 609 enabled js.Ref) (ok js.Ref) 610 611 //go:wasmimport plat/js/webext/downloads has_SetUiOptions 612 //go:noescape 613 func HasFuncSetUiOptions() js.Ref 614 615 //go:wasmimport plat/js/webext/downloads func_SetUiOptions 616 //go:noescape 617 func FuncSetUiOptions(fn unsafe.Pointer) 618 619 //go:wasmimport plat/js/webext/downloads call_SetUiOptions 620 //go:noescape 621 func CallSetUiOptions( 622 retPtr unsafe.Pointer, 623 options unsafe.Pointer) 624 625 //go:wasmimport plat/js/webext/downloads try_SetUiOptions 626 //go:noescape 627 func TrySetUiOptions( 628 retPtr unsafe.Pointer, errPtr unsafe.Pointer, 629 options unsafe.Pointer) (ok js.Ref) 630 631 //go:wasmimport plat/js/webext/downloads has_Show 632 //go:noescape 633 func HasFuncShow() js.Ref 634 635 //go:wasmimport plat/js/webext/downloads func_Show 636 //go:noescape 637 func FuncShow(fn unsafe.Pointer) 638 639 //go:wasmimport plat/js/webext/downloads call_Show 640 //go:noescape 641 func CallShow( 642 retPtr unsafe.Pointer, 643 downloadId int32) 644 645 //go:wasmimport plat/js/webext/downloads try_Show 646 //go:noescape 647 func TryShow( 648 retPtr unsafe.Pointer, errPtr unsafe.Pointer, 649 downloadId int32) (ok js.Ref) 650 651 //go:wasmimport plat/js/webext/downloads has_ShowDefaultFolder 652 //go:noescape 653 func HasFuncShowDefaultFolder() js.Ref 654 655 //go:wasmimport plat/js/webext/downloads func_ShowDefaultFolder 656 //go:noescape 657 func FuncShowDefaultFolder(fn unsafe.Pointer) 658 659 //go:wasmimport plat/js/webext/downloads call_ShowDefaultFolder 660 //go:noescape 661 func CallShowDefaultFolder( 662 retPtr unsafe.Pointer) 663 664 //go:wasmimport plat/js/webext/downloads try_ShowDefaultFolder 665 //go:noescape 666 func TryShowDefaultFolder( 667 retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref)