github.com/primecitizens/pcz/std@v0.2.1/plat/js/web/bindings/import23_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/web get_IdleDeadline_DidTimeout 20 //go:noescape 21 func GetIdleDeadlineDidTimeout( 22 this js.Ref, retPtr unsafe.Pointer) (ok js.Ref) 23 24 //go:wasmimport plat/js/web has_IdleDeadline_TimeRemaining 25 //go:noescape 26 func HasFuncIdleDeadlineTimeRemaining(this js.Ref) js.Ref 27 28 //go:wasmimport plat/js/web func_IdleDeadline_TimeRemaining 29 //go:noescape 30 func FuncIdleDeadlineTimeRemaining(this js.Ref, fn unsafe.Pointer) 31 32 //go:wasmimport plat/js/web call_IdleDeadline_TimeRemaining 33 //go:noescape 34 func CallIdleDeadlineTimeRemaining( 35 this js.Ref, retPtr unsafe.Pointer) 36 37 //go:wasmimport plat/js/web try_IdleDeadline_TimeRemaining 38 //go:noescape 39 func TryIdleDeadlineTimeRemaining( 40 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref) 41 42 //go:wasmimport plat/js/web store_IdleRequestOptions 43 //go:noescape 44 func IdleRequestOptionsJSStore( 45 ptr unsafe.Pointer, ref js.Ref) 46 47 //go:wasmimport plat/js/web load_IdleRequestOptions 48 //go:noescape 49 func IdleRequestOptionsJSLoad( 50 ptr unsafe.Pointer, create, ref js.Ref) js.Ref 51 52 //go:wasmimport plat/js/web constof_WriteCommandType 53 //go:noescape 54 func ConstOfWriteCommandType(str js.Ref) uint32 55 56 //go:wasmimport plat/js/web store_WriteParams 57 //go:noescape 58 func WriteParamsJSStore( 59 ptr unsafe.Pointer, ref js.Ref) 60 61 //go:wasmimport plat/js/web load_WriteParams 62 //go:noescape 63 func WriteParamsJSLoad( 64 ptr unsafe.Pointer, create, ref js.Ref) js.Ref 65 66 //go:wasmimport plat/js/web new_FileSystemWritableFileStream_FileSystemWritableFileStream 67 //go:noescape 68 func NewFileSystemWritableFileStreamByFileSystemWritableFileStream( 69 underlyingSink js.Ref, 70 strategy unsafe.Pointer) js.Ref 71 72 //go:wasmimport plat/js/web new_FileSystemWritableFileStream_FileSystemWritableFileStream1 73 //go:noescape 74 func NewFileSystemWritableFileStreamByFileSystemWritableFileStream1( 75 underlyingSink js.Ref) js.Ref 76 77 //go:wasmimport plat/js/web new_FileSystemWritableFileStream_FileSystemWritableFileStream2 78 //go:noescape 79 func NewFileSystemWritableFileStreamByFileSystemWritableFileStream2() js.Ref 80 81 //go:wasmimport plat/js/web has_FileSystemWritableFileStream_Write 82 //go:noescape 83 func HasFuncFileSystemWritableFileStreamWrite(this js.Ref) js.Ref 84 85 //go:wasmimport plat/js/web func_FileSystemWritableFileStream_Write 86 //go:noescape 87 func FuncFileSystemWritableFileStreamWrite(this js.Ref, fn unsafe.Pointer) 88 89 //go:wasmimport plat/js/web call_FileSystemWritableFileStream_Write 90 //go:noescape 91 func CallFileSystemWritableFileStreamWrite( 92 this js.Ref, retPtr unsafe.Pointer, 93 data js.Ref) 94 95 //go:wasmimport plat/js/web try_FileSystemWritableFileStream_Write 96 //go:noescape 97 func TryFileSystemWritableFileStreamWrite( 98 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 99 data js.Ref) (ok js.Ref) 100 101 //go:wasmimport plat/js/web has_FileSystemWritableFileStream_Seek 102 //go:noescape 103 func HasFuncFileSystemWritableFileStreamSeek(this js.Ref) js.Ref 104 105 //go:wasmimport plat/js/web func_FileSystemWritableFileStream_Seek 106 //go:noescape 107 func FuncFileSystemWritableFileStreamSeek(this js.Ref, fn unsafe.Pointer) 108 109 //go:wasmimport plat/js/web call_FileSystemWritableFileStream_Seek 110 //go:noescape 111 func CallFileSystemWritableFileStreamSeek( 112 this js.Ref, retPtr unsafe.Pointer, 113 position float64) 114 115 //go:wasmimport plat/js/web try_FileSystemWritableFileStream_Seek 116 //go:noescape 117 func TryFileSystemWritableFileStreamSeek( 118 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 119 position float64) (ok js.Ref) 120 121 //go:wasmimport plat/js/web has_FileSystemWritableFileStream_Truncate 122 //go:noescape 123 func HasFuncFileSystemWritableFileStreamTruncate(this js.Ref) js.Ref 124 125 //go:wasmimport plat/js/web func_FileSystemWritableFileStream_Truncate 126 //go:noescape 127 func FuncFileSystemWritableFileStreamTruncate(this js.Ref, fn unsafe.Pointer) 128 129 //go:wasmimport plat/js/web call_FileSystemWritableFileStream_Truncate 130 //go:noescape 131 func CallFileSystemWritableFileStreamTruncate( 132 this js.Ref, retPtr unsafe.Pointer, 133 size float64) 134 135 //go:wasmimport plat/js/web try_FileSystemWritableFileStream_Truncate 136 //go:noescape 137 func TryFileSystemWritableFileStreamTruncate( 138 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 139 size float64) (ok js.Ref) 140 141 //go:wasmimport plat/js/web store_FileSystemCreateWritableOptions 142 //go:noescape 143 func FileSystemCreateWritableOptionsJSStore( 144 ptr unsafe.Pointer, ref js.Ref) 145 146 //go:wasmimport plat/js/web load_FileSystemCreateWritableOptions 147 //go:noescape 148 func FileSystemCreateWritableOptionsJSLoad( 149 ptr unsafe.Pointer, create, ref js.Ref) js.Ref 150 151 //go:wasmimport plat/js/web store_FileSystemReadWriteOptions 152 //go:noescape 153 func FileSystemReadWriteOptionsJSStore( 154 ptr unsafe.Pointer, ref js.Ref) 155 156 //go:wasmimport plat/js/web load_FileSystemReadWriteOptions 157 //go:noescape 158 func FileSystemReadWriteOptionsJSLoad( 159 ptr unsafe.Pointer, create, ref js.Ref) js.Ref 160 161 //go:wasmimport plat/js/web has_FileSystemSyncAccessHandle_Read 162 //go:noescape 163 func HasFuncFileSystemSyncAccessHandleRead(this js.Ref) js.Ref 164 165 //go:wasmimport plat/js/web func_FileSystemSyncAccessHandle_Read 166 //go:noescape 167 func FuncFileSystemSyncAccessHandleRead(this js.Ref, fn unsafe.Pointer) 168 169 //go:wasmimport plat/js/web call_FileSystemSyncAccessHandle_Read 170 //go:noescape 171 func CallFileSystemSyncAccessHandleRead( 172 this js.Ref, retPtr unsafe.Pointer, 173 buffer js.Ref, 174 options unsafe.Pointer) 175 176 //go:wasmimport plat/js/web try_FileSystemSyncAccessHandle_Read 177 //go:noescape 178 func TryFileSystemSyncAccessHandleRead( 179 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 180 buffer js.Ref, 181 options unsafe.Pointer) (ok js.Ref) 182 183 //go:wasmimport plat/js/web has_FileSystemSyncAccessHandle_Read1 184 //go:noescape 185 func HasFuncFileSystemSyncAccessHandleRead1(this js.Ref) js.Ref 186 187 //go:wasmimport plat/js/web func_FileSystemSyncAccessHandle_Read1 188 //go:noescape 189 func FuncFileSystemSyncAccessHandleRead1(this js.Ref, fn unsafe.Pointer) 190 191 //go:wasmimport plat/js/web call_FileSystemSyncAccessHandle_Read1 192 //go:noescape 193 func CallFileSystemSyncAccessHandleRead1( 194 this js.Ref, retPtr unsafe.Pointer, 195 buffer js.Ref) 196 197 //go:wasmimport plat/js/web try_FileSystemSyncAccessHandle_Read1 198 //go:noescape 199 func TryFileSystemSyncAccessHandleRead1( 200 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 201 buffer js.Ref) (ok js.Ref) 202 203 //go:wasmimport plat/js/web has_FileSystemSyncAccessHandle_Write 204 //go:noescape 205 func HasFuncFileSystemSyncAccessHandleWrite(this js.Ref) js.Ref 206 207 //go:wasmimport plat/js/web func_FileSystemSyncAccessHandle_Write 208 //go:noescape 209 func FuncFileSystemSyncAccessHandleWrite(this js.Ref, fn unsafe.Pointer) 210 211 //go:wasmimport plat/js/web call_FileSystemSyncAccessHandle_Write 212 //go:noescape 213 func CallFileSystemSyncAccessHandleWrite( 214 this js.Ref, retPtr unsafe.Pointer, 215 buffer js.Ref, 216 options unsafe.Pointer) 217 218 //go:wasmimport plat/js/web try_FileSystemSyncAccessHandle_Write 219 //go:noescape 220 func TryFileSystemSyncAccessHandleWrite( 221 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 222 buffer js.Ref, 223 options unsafe.Pointer) (ok js.Ref) 224 225 //go:wasmimport plat/js/web has_FileSystemSyncAccessHandle_Write1 226 //go:noescape 227 func HasFuncFileSystemSyncAccessHandleWrite1(this js.Ref) js.Ref 228 229 //go:wasmimport plat/js/web func_FileSystemSyncAccessHandle_Write1 230 //go:noescape 231 func FuncFileSystemSyncAccessHandleWrite1(this js.Ref, fn unsafe.Pointer) 232 233 //go:wasmimport plat/js/web call_FileSystemSyncAccessHandle_Write1 234 //go:noescape 235 func CallFileSystemSyncAccessHandleWrite1( 236 this js.Ref, retPtr unsafe.Pointer, 237 buffer js.Ref) 238 239 //go:wasmimport plat/js/web try_FileSystemSyncAccessHandle_Write1 240 //go:noescape 241 func TryFileSystemSyncAccessHandleWrite1( 242 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 243 buffer js.Ref) (ok js.Ref) 244 245 //go:wasmimport plat/js/web has_FileSystemSyncAccessHandle_Truncate 246 //go:noescape 247 func HasFuncFileSystemSyncAccessHandleTruncate(this js.Ref) js.Ref 248 249 //go:wasmimport plat/js/web func_FileSystemSyncAccessHandle_Truncate 250 //go:noescape 251 func FuncFileSystemSyncAccessHandleTruncate(this js.Ref, fn unsafe.Pointer) 252 253 //go:wasmimport plat/js/web call_FileSystemSyncAccessHandle_Truncate 254 //go:noescape 255 func CallFileSystemSyncAccessHandleTruncate( 256 this js.Ref, retPtr unsafe.Pointer, 257 newSize float64) 258 259 //go:wasmimport plat/js/web try_FileSystemSyncAccessHandle_Truncate 260 //go:noescape 261 func TryFileSystemSyncAccessHandleTruncate( 262 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 263 newSize float64) (ok js.Ref) 264 265 //go:wasmimport plat/js/web has_FileSystemSyncAccessHandle_GetSize 266 //go:noescape 267 func HasFuncFileSystemSyncAccessHandleGetSize(this js.Ref) js.Ref 268 269 //go:wasmimport plat/js/web func_FileSystemSyncAccessHandle_GetSize 270 //go:noescape 271 func FuncFileSystemSyncAccessHandleGetSize(this js.Ref, fn unsafe.Pointer) 272 273 //go:wasmimport plat/js/web call_FileSystemSyncAccessHandle_GetSize 274 //go:noescape 275 func CallFileSystemSyncAccessHandleGetSize( 276 this js.Ref, retPtr unsafe.Pointer) 277 278 //go:wasmimport plat/js/web try_FileSystemSyncAccessHandle_GetSize 279 //go:noescape 280 func TryFileSystemSyncAccessHandleGetSize( 281 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref) 282 283 //go:wasmimport plat/js/web has_FileSystemSyncAccessHandle_Flush 284 //go:noescape 285 func HasFuncFileSystemSyncAccessHandleFlush(this js.Ref) js.Ref 286 287 //go:wasmimport plat/js/web func_FileSystemSyncAccessHandle_Flush 288 //go:noescape 289 func FuncFileSystemSyncAccessHandleFlush(this js.Ref, fn unsafe.Pointer) 290 291 //go:wasmimport plat/js/web call_FileSystemSyncAccessHandle_Flush 292 //go:noescape 293 func CallFileSystemSyncAccessHandleFlush( 294 this js.Ref, retPtr unsafe.Pointer) 295 296 //go:wasmimport plat/js/web try_FileSystemSyncAccessHandle_Flush 297 //go:noescape 298 func TryFileSystemSyncAccessHandleFlush( 299 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref) 300 301 //go:wasmimport plat/js/web has_FileSystemSyncAccessHandle_Close 302 //go:noescape 303 func HasFuncFileSystemSyncAccessHandleClose(this js.Ref) js.Ref 304 305 //go:wasmimport plat/js/web func_FileSystemSyncAccessHandle_Close 306 //go:noescape 307 func FuncFileSystemSyncAccessHandleClose(this js.Ref, fn unsafe.Pointer) 308 309 //go:wasmimport plat/js/web call_FileSystemSyncAccessHandle_Close 310 //go:noescape 311 func CallFileSystemSyncAccessHandleClose( 312 this js.Ref, retPtr unsafe.Pointer) 313 314 //go:wasmimport plat/js/web try_FileSystemSyncAccessHandle_Close 315 //go:noescape 316 func TryFileSystemSyncAccessHandleClose( 317 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref) 318 319 //go:wasmimport plat/js/web has_FileSystemFileHandle_GetFile 320 //go:noescape 321 func HasFuncFileSystemFileHandleGetFile(this js.Ref) js.Ref 322 323 //go:wasmimport plat/js/web func_FileSystemFileHandle_GetFile 324 //go:noescape 325 func FuncFileSystemFileHandleGetFile(this js.Ref, fn unsafe.Pointer) 326 327 //go:wasmimport plat/js/web call_FileSystemFileHandle_GetFile 328 //go:noescape 329 func CallFileSystemFileHandleGetFile( 330 this js.Ref, retPtr unsafe.Pointer) 331 332 //go:wasmimport plat/js/web try_FileSystemFileHandle_GetFile 333 //go:noescape 334 func TryFileSystemFileHandleGetFile( 335 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref) 336 337 //go:wasmimport plat/js/web has_FileSystemFileHandle_CreateWritable 338 //go:noescape 339 func HasFuncFileSystemFileHandleCreateWritable(this js.Ref) js.Ref 340 341 //go:wasmimport plat/js/web func_FileSystemFileHandle_CreateWritable 342 //go:noescape 343 func FuncFileSystemFileHandleCreateWritable(this js.Ref, fn unsafe.Pointer) 344 345 //go:wasmimport plat/js/web call_FileSystemFileHandle_CreateWritable 346 //go:noescape 347 func CallFileSystemFileHandleCreateWritable( 348 this js.Ref, retPtr unsafe.Pointer, 349 options unsafe.Pointer) 350 351 //go:wasmimport plat/js/web try_FileSystemFileHandle_CreateWritable 352 //go:noescape 353 func TryFileSystemFileHandleCreateWritable( 354 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 355 options unsafe.Pointer) (ok js.Ref) 356 357 //go:wasmimport plat/js/web has_FileSystemFileHandle_CreateWritable1 358 //go:noescape 359 func HasFuncFileSystemFileHandleCreateWritable1(this js.Ref) js.Ref 360 361 //go:wasmimport plat/js/web func_FileSystemFileHandle_CreateWritable1 362 //go:noescape 363 func FuncFileSystemFileHandleCreateWritable1(this js.Ref, fn unsafe.Pointer) 364 365 //go:wasmimport plat/js/web call_FileSystemFileHandle_CreateWritable1 366 //go:noescape 367 func CallFileSystemFileHandleCreateWritable1( 368 this js.Ref, retPtr unsafe.Pointer) 369 370 //go:wasmimport plat/js/web try_FileSystemFileHandle_CreateWritable1 371 //go:noescape 372 func TryFileSystemFileHandleCreateWritable1( 373 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref) 374 375 //go:wasmimport plat/js/web has_FileSystemFileHandle_CreateSyncAccessHandle 376 //go:noescape 377 func HasFuncFileSystemFileHandleCreateSyncAccessHandle(this js.Ref) js.Ref 378 379 //go:wasmimport plat/js/web func_FileSystemFileHandle_CreateSyncAccessHandle 380 //go:noescape 381 func FuncFileSystemFileHandleCreateSyncAccessHandle(this js.Ref, fn unsafe.Pointer) 382 383 //go:wasmimport plat/js/web call_FileSystemFileHandle_CreateSyncAccessHandle 384 //go:noescape 385 func CallFileSystemFileHandleCreateSyncAccessHandle( 386 this js.Ref, retPtr unsafe.Pointer) 387 388 //go:wasmimport plat/js/web try_FileSystemFileHandle_CreateSyncAccessHandle 389 //go:noescape 390 func TryFileSystemFileHandleCreateSyncAccessHandle( 391 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref) 392 393 //go:wasmimport plat/js/web store_FilePickerAcceptType 394 //go:noescape 395 func FilePickerAcceptTypeJSStore( 396 ptr unsafe.Pointer, ref js.Ref) 397 398 //go:wasmimport plat/js/web load_FilePickerAcceptType 399 //go:noescape 400 func FilePickerAcceptTypeJSLoad( 401 ptr unsafe.Pointer, create, ref js.Ref) js.Ref 402 403 //go:wasmimport plat/js/web constof_WellKnownDirectory 404 //go:noescape 405 func ConstOfWellKnownDirectory(str js.Ref) uint32 406 407 //go:wasmimport plat/js/web store_OpenFilePickerOptions 408 //go:noescape 409 func OpenFilePickerOptionsJSStore( 410 ptr unsafe.Pointer, ref js.Ref) 411 412 //go:wasmimport plat/js/web load_OpenFilePickerOptions 413 //go:noescape 414 func OpenFilePickerOptionsJSLoad( 415 ptr unsafe.Pointer, create, ref js.Ref) js.Ref 416 417 //go:wasmimport plat/js/web store_SaveFilePickerOptions 418 //go:noescape 419 func SaveFilePickerOptionsJSStore( 420 ptr unsafe.Pointer, ref js.Ref) 421 422 //go:wasmimport plat/js/web load_SaveFilePickerOptions 423 //go:noescape 424 func SaveFilePickerOptionsJSLoad( 425 ptr unsafe.Pointer, create, ref js.Ref) js.Ref 426 427 //go:wasmimport plat/js/web store_FileSystemGetFileOptions 428 //go:noescape 429 func FileSystemGetFileOptionsJSStore( 430 ptr unsafe.Pointer, ref js.Ref) 431 432 //go:wasmimport plat/js/web load_FileSystemGetFileOptions 433 //go:noescape 434 func FileSystemGetFileOptionsJSLoad( 435 ptr unsafe.Pointer, create, ref js.Ref) js.Ref 436 437 //go:wasmimport plat/js/web store_FileSystemGetDirectoryOptions 438 //go:noescape 439 func FileSystemGetDirectoryOptionsJSStore( 440 ptr unsafe.Pointer, ref js.Ref) 441 442 //go:wasmimport plat/js/web load_FileSystemGetDirectoryOptions 443 //go:noescape 444 func FileSystemGetDirectoryOptionsJSLoad( 445 ptr unsafe.Pointer, create, ref js.Ref) js.Ref 446 447 //go:wasmimport plat/js/web store_FileSystemRemoveOptions 448 //go:noescape 449 func FileSystemRemoveOptionsJSStore( 450 ptr unsafe.Pointer, ref js.Ref) 451 452 //go:wasmimport plat/js/web load_FileSystemRemoveOptions 453 //go:noescape 454 func FileSystemRemoveOptionsJSLoad( 455 ptr unsafe.Pointer, create, ref js.Ref) js.Ref 456 457 //go:wasmimport plat/js/web has_FileSystemDirectoryHandle_GetFileHandle 458 //go:noescape 459 func HasFuncFileSystemDirectoryHandleGetFileHandle(this js.Ref) js.Ref 460 461 //go:wasmimport plat/js/web func_FileSystemDirectoryHandle_GetFileHandle 462 //go:noescape 463 func FuncFileSystemDirectoryHandleGetFileHandle(this js.Ref, fn unsafe.Pointer) 464 465 //go:wasmimport plat/js/web call_FileSystemDirectoryHandle_GetFileHandle 466 //go:noescape 467 func CallFileSystemDirectoryHandleGetFileHandle( 468 this js.Ref, retPtr unsafe.Pointer, 469 name js.Ref, 470 options unsafe.Pointer) 471 472 //go:wasmimport plat/js/web try_FileSystemDirectoryHandle_GetFileHandle 473 //go:noescape 474 func TryFileSystemDirectoryHandleGetFileHandle( 475 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 476 name js.Ref, 477 options unsafe.Pointer) (ok js.Ref) 478 479 //go:wasmimport plat/js/web has_FileSystemDirectoryHandle_GetFileHandle1 480 //go:noescape 481 func HasFuncFileSystemDirectoryHandleGetFileHandle1(this js.Ref) js.Ref 482 483 //go:wasmimport plat/js/web func_FileSystemDirectoryHandle_GetFileHandle1 484 //go:noescape 485 func FuncFileSystemDirectoryHandleGetFileHandle1(this js.Ref, fn unsafe.Pointer) 486 487 //go:wasmimport plat/js/web call_FileSystemDirectoryHandle_GetFileHandle1 488 //go:noescape 489 func CallFileSystemDirectoryHandleGetFileHandle1( 490 this js.Ref, retPtr unsafe.Pointer, 491 name js.Ref) 492 493 //go:wasmimport plat/js/web try_FileSystemDirectoryHandle_GetFileHandle1 494 //go:noescape 495 func TryFileSystemDirectoryHandleGetFileHandle1( 496 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 497 name js.Ref) (ok js.Ref) 498 499 //go:wasmimport plat/js/web has_FileSystemDirectoryHandle_GetDirectoryHandle 500 //go:noescape 501 func HasFuncFileSystemDirectoryHandleGetDirectoryHandle(this js.Ref) js.Ref 502 503 //go:wasmimport plat/js/web func_FileSystemDirectoryHandle_GetDirectoryHandle 504 //go:noescape 505 func FuncFileSystemDirectoryHandleGetDirectoryHandle(this js.Ref, fn unsafe.Pointer) 506 507 //go:wasmimport plat/js/web call_FileSystemDirectoryHandle_GetDirectoryHandle 508 //go:noescape 509 func CallFileSystemDirectoryHandleGetDirectoryHandle( 510 this js.Ref, retPtr unsafe.Pointer, 511 name js.Ref, 512 options unsafe.Pointer) 513 514 //go:wasmimport plat/js/web try_FileSystemDirectoryHandle_GetDirectoryHandle 515 //go:noescape 516 func TryFileSystemDirectoryHandleGetDirectoryHandle( 517 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 518 name js.Ref, 519 options unsafe.Pointer) (ok js.Ref) 520 521 //go:wasmimport plat/js/web has_FileSystemDirectoryHandle_GetDirectoryHandle1 522 //go:noescape 523 func HasFuncFileSystemDirectoryHandleGetDirectoryHandle1(this js.Ref) js.Ref 524 525 //go:wasmimport plat/js/web func_FileSystemDirectoryHandle_GetDirectoryHandle1 526 //go:noescape 527 func FuncFileSystemDirectoryHandleGetDirectoryHandle1(this js.Ref, fn unsafe.Pointer) 528 529 //go:wasmimport plat/js/web call_FileSystemDirectoryHandle_GetDirectoryHandle1 530 //go:noescape 531 func CallFileSystemDirectoryHandleGetDirectoryHandle1( 532 this js.Ref, retPtr unsafe.Pointer, 533 name js.Ref) 534 535 //go:wasmimport plat/js/web try_FileSystemDirectoryHandle_GetDirectoryHandle1 536 //go:noescape 537 func TryFileSystemDirectoryHandleGetDirectoryHandle1( 538 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 539 name js.Ref) (ok js.Ref) 540 541 //go:wasmimport plat/js/web has_FileSystemDirectoryHandle_RemoveEntry 542 //go:noescape 543 func HasFuncFileSystemDirectoryHandleRemoveEntry(this js.Ref) js.Ref 544 545 //go:wasmimport plat/js/web func_FileSystemDirectoryHandle_RemoveEntry 546 //go:noescape 547 func FuncFileSystemDirectoryHandleRemoveEntry(this js.Ref, fn unsafe.Pointer) 548 549 //go:wasmimport plat/js/web call_FileSystemDirectoryHandle_RemoveEntry 550 //go:noescape 551 func CallFileSystemDirectoryHandleRemoveEntry( 552 this js.Ref, retPtr unsafe.Pointer, 553 name js.Ref, 554 options unsafe.Pointer) 555 556 //go:wasmimport plat/js/web try_FileSystemDirectoryHandle_RemoveEntry 557 //go:noescape 558 func TryFileSystemDirectoryHandleRemoveEntry( 559 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 560 name js.Ref, 561 options unsafe.Pointer) (ok js.Ref) 562 563 //go:wasmimport plat/js/web has_FileSystemDirectoryHandle_RemoveEntry1 564 //go:noescape 565 func HasFuncFileSystemDirectoryHandleRemoveEntry1(this js.Ref) js.Ref 566 567 //go:wasmimport plat/js/web func_FileSystemDirectoryHandle_RemoveEntry1 568 //go:noescape 569 func FuncFileSystemDirectoryHandleRemoveEntry1(this js.Ref, fn unsafe.Pointer) 570 571 //go:wasmimport plat/js/web call_FileSystemDirectoryHandle_RemoveEntry1 572 //go:noescape 573 func CallFileSystemDirectoryHandleRemoveEntry1( 574 this js.Ref, retPtr unsafe.Pointer, 575 name js.Ref) 576 577 //go:wasmimport plat/js/web try_FileSystemDirectoryHandle_RemoveEntry1 578 //go:noescape 579 func TryFileSystemDirectoryHandleRemoveEntry1( 580 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 581 name js.Ref) (ok js.Ref) 582 583 //go:wasmimport plat/js/web has_FileSystemDirectoryHandle_Resolve 584 //go:noescape 585 func HasFuncFileSystemDirectoryHandleResolve(this js.Ref) js.Ref 586 587 //go:wasmimport plat/js/web func_FileSystemDirectoryHandle_Resolve 588 //go:noescape 589 func FuncFileSystemDirectoryHandleResolve(this js.Ref, fn unsafe.Pointer) 590 591 //go:wasmimport plat/js/web call_FileSystemDirectoryHandle_Resolve 592 //go:noescape 593 func CallFileSystemDirectoryHandleResolve( 594 this js.Ref, retPtr unsafe.Pointer, 595 possibleDescendant js.Ref) 596 597 //go:wasmimport plat/js/web try_FileSystemDirectoryHandle_Resolve 598 //go:noescape 599 func TryFileSystemDirectoryHandleResolve( 600 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 601 possibleDescendant js.Ref) (ok js.Ref) 602 603 //go:wasmimport plat/js/web store_DirectoryPickerOptions 604 //go:noescape 605 func DirectoryPickerOptionsJSStore( 606 ptr unsafe.Pointer, ref js.Ref) 607 608 //go:wasmimport plat/js/web load_DirectoryPickerOptions 609 //go:noescape 610 func DirectoryPickerOptionsJSLoad( 611 ptr unsafe.Pointer, create, ref js.Ref) js.Ref 612 613 //go:wasmimport plat/js/web get_FontData_PostscriptName 614 //go:noescape 615 func GetFontDataPostscriptName( 616 this js.Ref, retPtr unsafe.Pointer) (ok js.Ref) 617 618 //go:wasmimport plat/js/web get_FontData_FullName 619 //go:noescape 620 func GetFontDataFullName( 621 this js.Ref, retPtr unsafe.Pointer) (ok js.Ref) 622 623 //go:wasmimport plat/js/web get_FontData_Family 624 //go:noescape 625 func GetFontDataFamily( 626 this js.Ref, retPtr unsafe.Pointer) (ok js.Ref) 627 628 //go:wasmimport plat/js/web get_FontData_Style 629 //go:noescape 630 func GetFontDataStyle( 631 this js.Ref, retPtr unsafe.Pointer) (ok js.Ref) 632 633 //go:wasmimport plat/js/web has_FontData_Blob 634 //go:noescape 635 func HasFuncFontDataBlob(this js.Ref) js.Ref 636 637 //go:wasmimport plat/js/web func_FontData_Blob 638 //go:noescape 639 func FuncFontDataBlob(this js.Ref, fn unsafe.Pointer) 640 641 //go:wasmimport plat/js/web call_FontData_Blob 642 //go:noescape 643 func CallFontDataBlob( 644 this js.Ref, retPtr unsafe.Pointer) 645 646 //go:wasmimport plat/js/web try_FontData_Blob 647 //go:noescape 648 func TryFontDataBlob( 649 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref) 650 651 //go:wasmimport plat/js/web store_QueryOptions 652 //go:noescape 653 func QueryOptionsJSStore( 654 ptr unsafe.Pointer, ref js.Ref) 655 656 //go:wasmimport plat/js/web load_QueryOptions 657 //go:noescape 658 func QueryOptionsJSLoad( 659 ptr unsafe.Pointer, create, ref js.Ref) js.Ref 660 661 //go:wasmimport plat/js/web get_ScreenDetails_Screens 662 //go:noescape 663 func GetScreenDetailsScreens( 664 this js.Ref, retPtr unsafe.Pointer) (ok js.Ref) 665 666 //go:wasmimport plat/js/web get_ScreenDetails_CurrentScreen 667 //go:noescape 668 func GetScreenDetailsCurrentScreen( 669 this js.Ref, retPtr unsafe.Pointer) (ok js.Ref) 670 671 //go:wasmimport plat/js/web constof_ItemType 672 //go:noescape 673 func ConstOfItemType(str js.Ref) uint32 674 675 //go:wasmimport plat/js/web store_ItemDetails 676 //go:noescape 677 func ItemDetailsJSStore( 678 ptr unsafe.Pointer, ref js.Ref) 679 680 //go:wasmimport plat/js/web load_ItemDetails 681 //go:noescape 682 func ItemDetailsJSLoad( 683 ptr unsafe.Pointer, create, ref js.Ref) js.Ref 684 685 //go:wasmimport plat/js/web store_PurchaseDetails 686 //go:noescape 687 func PurchaseDetailsJSStore( 688 ptr unsafe.Pointer, ref js.Ref) 689 690 //go:wasmimport plat/js/web load_PurchaseDetails 691 //go:noescape 692 func PurchaseDetailsJSLoad( 693 ptr unsafe.Pointer, create, ref js.Ref) js.Ref 694 695 //go:wasmimport plat/js/web has_DigitalGoodsService_GetDetails 696 //go:noescape 697 func HasFuncDigitalGoodsServiceGetDetails(this js.Ref) js.Ref 698 699 //go:wasmimport plat/js/web func_DigitalGoodsService_GetDetails 700 //go:noescape 701 func FuncDigitalGoodsServiceGetDetails(this js.Ref, fn unsafe.Pointer) 702 703 //go:wasmimport plat/js/web call_DigitalGoodsService_GetDetails 704 //go:noescape 705 func CallDigitalGoodsServiceGetDetails( 706 this js.Ref, retPtr unsafe.Pointer, 707 itemIds js.Ref) 708 709 //go:wasmimport plat/js/web try_DigitalGoodsService_GetDetails 710 //go:noescape 711 func TryDigitalGoodsServiceGetDetails( 712 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 713 itemIds js.Ref) (ok js.Ref) 714 715 //go:wasmimport plat/js/web has_DigitalGoodsService_ListPurchases 716 //go:noescape 717 func HasFuncDigitalGoodsServiceListPurchases(this js.Ref) js.Ref 718 719 //go:wasmimport plat/js/web func_DigitalGoodsService_ListPurchases 720 //go:noescape 721 func FuncDigitalGoodsServiceListPurchases(this js.Ref, fn unsafe.Pointer) 722 723 //go:wasmimport plat/js/web call_DigitalGoodsService_ListPurchases 724 //go:noescape 725 func CallDigitalGoodsServiceListPurchases( 726 this js.Ref, retPtr unsafe.Pointer) 727 728 //go:wasmimport plat/js/web try_DigitalGoodsService_ListPurchases 729 //go:noescape 730 func TryDigitalGoodsServiceListPurchases( 731 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref) 732 733 //go:wasmimport plat/js/web has_DigitalGoodsService_ListPurchaseHistory 734 //go:noescape 735 func HasFuncDigitalGoodsServiceListPurchaseHistory(this js.Ref) js.Ref 736 737 //go:wasmimport plat/js/web func_DigitalGoodsService_ListPurchaseHistory 738 //go:noescape 739 func FuncDigitalGoodsServiceListPurchaseHistory(this js.Ref, fn unsafe.Pointer) 740 741 //go:wasmimport plat/js/web call_DigitalGoodsService_ListPurchaseHistory 742 //go:noescape 743 func CallDigitalGoodsServiceListPurchaseHistory( 744 this js.Ref, retPtr unsafe.Pointer) 745 746 //go:wasmimport plat/js/web try_DigitalGoodsService_ListPurchaseHistory 747 //go:noescape 748 func TryDigitalGoodsServiceListPurchaseHistory( 749 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref) 750 751 //go:wasmimport plat/js/web has_DigitalGoodsService_Consume 752 //go:noescape 753 func HasFuncDigitalGoodsServiceConsume(this js.Ref) js.Ref 754 755 //go:wasmimport plat/js/web func_DigitalGoodsService_Consume 756 //go:noescape 757 func FuncDigitalGoodsServiceConsume(this js.Ref, fn unsafe.Pointer) 758 759 //go:wasmimport plat/js/web call_DigitalGoodsService_Consume 760 //go:noescape 761 func CallDigitalGoodsServiceConsume( 762 this js.Ref, retPtr unsafe.Pointer, 763 purchaseToken js.Ref) 764 765 //go:wasmimport plat/js/web try_DigitalGoodsService_Consume 766 //go:noescape 767 func TryDigitalGoodsServiceConsume( 768 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 769 purchaseToken js.Ref) (ok js.Ref) 770 771 //go:wasmimport plat/js/web constof_ImageOrientation 772 //go:noescape 773 func ConstOfImageOrientation(str js.Ref) uint32 774 775 //go:wasmimport plat/js/web constof_PremultiplyAlpha 776 //go:noescape 777 func ConstOfPremultiplyAlpha(str js.Ref) uint32 778 779 //go:wasmimport plat/js/web constof_ResizeQuality 780 //go:noescape 781 func ConstOfResizeQuality(str js.Ref) uint32 782 783 //go:wasmimport plat/js/web store_ImageBitmapOptions 784 //go:noescape 785 func ImageBitmapOptionsJSStore( 786 ptr unsafe.Pointer, ref js.Ref) 787 788 //go:wasmimport plat/js/web load_ImageBitmapOptions 789 //go:noescape 790 func ImageBitmapOptionsJSLoad( 791 ptr unsafe.Pointer, create, ref js.Ref) js.Ref 792 793 //go:wasmimport plat/js/web constof_ScrollRestoration 794 //go:noescape 795 func ConstOfScrollRestoration(str js.Ref) uint32 796 797 //go:wasmimport plat/js/web get_History_Length 798 //go:noescape 799 func GetHistoryLength( 800 this js.Ref, retPtr unsafe.Pointer) (ok js.Ref) 801 802 //go:wasmimport plat/js/web get_History_ScrollRestoration 803 //go:noescape 804 func GetHistoryScrollRestoration( 805 this js.Ref, retPtr unsafe.Pointer) (ok js.Ref) 806 807 //go:wasmimport plat/js/web set_History_ScrollRestoration 808 //go:noescape 809 func SetHistoryScrollRestoration( 810 this js.Ref, 811 val uint32, 812 ) js.Ref 813 814 //go:wasmimport plat/js/web get_History_State 815 //go:noescape 816 func GetHistoryState( 817 this js.Ref, retPtr unsafe.Pointer) (ok js.Ref) 818 819 //go:wasmimport plat/js/web has_History_Go 820 //go:noescape 821 func HasFuncHistoryGo(this js.Ref) js.Ref 822 823 //go:wasmimport plat/js/web func_History_Go 824 //go:noescape 825 func FuncHistoryGo(this js.Ref, fn unsafe.Pointer) 826 827 //go:wasmimport plat/js/web call_History_Go 828 //go:noescape 829 func CallHistoryGo( 830 this js.Ref, retPtr unsafe.Pointer, 831 delta int32) 832 833 //go:wasmimport plat/js/web try_History_Go 834 //go:noescape 835 func TryHistoryGo( 836 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 837 delta int32) (ok js.Ref) 838 839 //go:wasmimport plat/js/web has_History_Go1 840 //go:noescape 841 func HasFuncHistoryGo1(this js.Ref) js.Ref 842 843 //go:wasmimport plat/js/web func_History_Go1 844 //go:noescape 845 func FuncHistoryGo1(this js.Ref, fn unsafe.Pointer) 846 847 //go:wasmimport plat/js/web call_History_Go1 848 //go:noescape 849 func CallHistoryGo1( 850 this js.Ref, retPtr unsafe.Pointer) 851 852 //go:wasmimport plat/js/web try_History_Go1 853 //go:noescape 854 func TryHistoryGo1( 855 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref) 856 857 //go:wasmimport plat/js/web has_History_Back 858 //go:noescape 859 func HasFuncHistoryBack(this js.Ref) js.Ref 860 861 //go:wasmimport plat/js/web func_History_Back 862 //go:noescape 863 func FuncHistoryBack(this js.Ref, fn unsafe.Pointer) 864 865 //go:wasmimport plat/js/web call_History_Back 866 //go:noescape 867 func CallHistoryBack( 868 this js.Ref, retPtr unsafe.Pointer) 869 870 //go:wasmimport plat/js/web try_History_Back 871 //go:noescape 872 func TryHistoryBack( 873 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref) 874 875 //go:wasmimport plat/js/web has_History_Forward 876 //go:noescape 877 func HasFuncHistoryForward(this js.Ref) js.Ref 878 879 //go:wasmimport plat/js/web func_History_Forward 880 //go:noescape 881 func FuncHistoryForward(this js.Ref, fn unsafe.Pointer) 882 883 //go:wasmimport plat/js/web call_History_Forward 884 //go:noescape 885 func CallHistoryForward( 886 this js.Ref, retPtr unsafe.Pointer) 887 888 //go:wasmimport plat/js/web try_History_Forward 889 //go:noescape 890 func TryHistoryForward( 891 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref) 892 893 //go:wasmimport plat/js/web has_History_PushState 894 //go:noescape 895 func HasFuncHistoryPushState(this js.Ref) js.Ref 896 897 //go:wasmimport plat/js/web func_History_PushState 898 //go:noescape 899 func FuncHistoryPushState(this js.Ref, fn unsafe.Pointer) 900 901 //go:wasmimport plat/js/web call_History_PushState 902 //go:noescape 903 func CallHistoryPushState( 904 this js.Ref, retPtr unsafe.Pointer, 905 data js.Ref, 906 unused js.Ref, 907 url js.Ref) 908 909 //go:wasmimport plat/js/web try_History_PushState 910 //go:noescape 911 func TryHistoryPushState( 912 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 913 data js.Ref, 914 unused js.Ref, 915 url js.Ref) (ok js.Ref) 916 917 //go:wasmimport plat/js/web has_History_PushState1 918 //go:noescape 919 func HasFuncHistoryPushState1(this js.Ref) js.Ref 920 921 //go:wasmimport plat/js/web func_History_PushState1 922 //go:noescape 923 func FuncHistoryPushState1(this js.Ref, fn unsafe.Pointer) 924 925 //go:wasmimport plat/js/web call_History_PushState1 926 //go:noescape 927 func CallHistoryPushState1( 928 this js.Ref, retPtr unsafe.Pointer, 929 data js.Ref, 930 unused js.Ref) 931 932 //go:wasmimport plat/js/web try_History_PushState1 933 //go:noescape 934 func TryHistoryPushState1( 935 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 936 data js.Ref, 937 unused js.Ref) (ok js.Ref) 938 939 //go:wasmimport plat/js/web has_History_ReplaceState 940 //go:noescape 941 func HasFuncHistoryReplaceState(this js.Ref) js.Ref 942 943 //go:wasmimport plat/js/web func_History_ReplaceState 944 //go:noescape 945 func FuncHistoryReplaceState(this js.Ref, fn unsafe.Pointer) 946 947 //go:wasmimport plat/js/web call_History_ReplaceState 948 //go:noescape 949 func CallHistoryReplaceState( 950 this js.Ref, retPtr unsafe.Pointer, 951 data js.Ref, 952 unused js.Ref, 953 url js.Ref) 954 955 //go:wasmimport plat/js/web try_History_ReplaceState 956 //go:noescape 957 func TryHistoryReplaceState( 958 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 959 data js.Ref, 960 unused js.Ref, 961 url js.Ref) (ok js.Ref) 962 963 //go:wasmimport plat/js/web has_History_ReplaceState1 964 //go:noescape 965 func HasFuncHistoryReplaceState1(this js.Ref) js.Ref 966 967 //go:wasmimport plat/js/web func_History_ReplaceState1 968 //go:noescape 969 func FuncHistoryReplaceState1(this js.Ref, fn unsafe.Pointer) 970 971 //go:wasmimport plat/js/web call_History_ReplaceState1 972 //go:noescape 973 func CallHistoryReplaceState1( 974 this js.Ref, retPtr unsafe.Pointer, 975 data js.Ref, 976 unused js.Ref) 977 978 //go:wasmimport plat/js/web try_History_ReplaceState1 979 //go:noescape 980 func TryHistoryReplaceState1( 981 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 982 data js.Ref, 983 unused js.Ref) (ok js.Ref) 984 985 //go:wasmimport plat/js/web get_NavigationHistoryEntry_Url 986 //go:noescape 987 func GetNavigationHistoryEntryUrl( 988 this js.Ref, retPtr unsafe.Pointer) (ok js.Ref) 989 990 //go:wasmimport plat/js/web get_NavigationHistoryEntry_Key 991 //go:noescape 992 func GetNavigationHistoryEntryKey( 993 this js.Ref, retPtr unsafe.Pointer) (ok js.Ref) 994 995 //go:wasmimport plat/js/web get_NavigationHistoryEntry_Id 996 //go:noescape 997 func GetNavigationHistoryEntryId( 998 this js.Ref, retPtr unsafe.Pointer) (ok js.Ref) 999 1000 //go:wasmimport plat/js/web get_NavigationHistoryEntry_Index 1001 //go:noescape 1002 func GetNavigationHistoryEntryIndex( 1003 this js.Ref, retPtr unsafe.Pointer) (ok js.Ref) 1004 1005 //go:wasmimport plat/js/web get_NavigationHistoryEntry_SameDocument 1006 //go:noescape 1007 func GetNavigationHistoryEntrySameDocument( 1008 this js.Ref, retPtr unsafe.Pointer) (ok js.Ref) 1009 1010 //go:wasmimport plat/js/web has_NavigationHistoryEntry_GetState 1011 //go:noescape 1012 func HasFuncNavigationHistoryEntryGetState(this js.Ref) js.Ref 1013 1014 //go:wasmimport plat/js/web func_NavigationHistoryEntry_GetState 1015 //go:noescape 1016 func FuncNavigationHistoryEntryGetState(this js.Ref, fn unsafe.Pointer) 1017 1018 //go:wasmimport plat/js/web call_NavigationHistoryEntry_GetState 1019 //go:noescape 1020 func CallNavigationHistoryEntryGetState( 1021 this js.Ref, retPtr unsafe.Pointer) 1022 1023 //go:wasmimport plat/js/web try_NavigationHistoryEntry_GetState 1024 //go:noescape 1025 func TryNavigationHistoryEntryGetState( 1026 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref) 1027 1028 //go:wasmimport plat/js/web store_NavigationUpdateCurrentEntryOptions 1029 //go:noescape 1030 func NavigationUpdateCurrentEntryOptionsJSStore( 1031 ptr unsafe.Pointer, ref js.Ref) 1032 1033 //go:wasmimport plat/js/web load_NavigationUpdateCurrentEntryOptions 1034 //go:noescape 1035 func NavigationUpdateCurrentEntryOptionsJSLoad( 1036 ptr unsafe.Pointer, create, ref js.Ref) js.Ref 1037 1038 //go:wasmimport plat/js/web store_NavigationResult 1039 //go:noescape 1040 func NavigationResultJSStore( 1041 ptr unsafe.Pointer, ref js.Ref) 1042 1043 //go:wasmimport plat/js/web load_NavigationResult 1044 //go:noescape 1045 func NavigationResultJSLoad( 1046 ptr unsafe.Pointer, create, ref js.Ref) js.Ref