github.com/primecitizens/pcz/std@v0.2.1/plat/js/web/bindings/import11_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_AuthenticatorAttestationResponse_AttestationObject 20 //go:noescape 21 func GetAuthenticatorAttestationResponseAttestationObject( 22 this js.Ref, retPtr unsafe.Pointer) (ok js.Ref) 23 24 //go:wasmimport plat/js/web has_AuthenticatorAttestationResponse_GetTransports 25 //go:noescape 26 func HasFuncAuthenticatorAttestationResponseGetTransports(this js.Ref) js.Ref 27 28 //go:wasmimport plat/js/web func_AuthenticatorAttestationResponse_GetTransports 29 //go:noescape 30 func FuncAuthenticatorAttestationResponseGetTransports(this js.Ref, fn unsafe.Pointer) 31 32 //go:wasmimport plat/js/web call_AuthenticatorAttestationResponse_GetTransports 33 //go:noescape 34 func CallAuthenticatorAttestationResponseGetTransports( 35 this js.Ref, retPtr unsafe.Pointer) 36 37 //go:wasmimport plat/js/web try_AuthenticatorAttestationResponse_GetTransports 38 //go:noescape 39 func TryAuthenticatorAttestationResponseGetTransports( 40 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref) 41 42 //go:wasmimport plat/js/web has_AuthenticatorAttestationResponse_GetAuthenticatorData 43 //go:noescape 44 func HasFuncAuthenticatorAttestationResponseGetAuthenticatorData(this js.Ref) js.Ref 45 46 //go:wasmimport plat/js/web func_AuthenticatorAttestationResponse_GetAuthenticatorData 47 //go:noescape 48 func FuncAuthenticatorAttestationResponseGetAuthenticatorData(this js.Ref, fn unsafe.Pointer) 49 50 //go:wasmimport plat/js/web call_AuthenticatorAttestationResponse_GetAuthenticatorData 51 //go:noescape 52 func CallAuthenticatorAttestationResponseGetAuthenticatorData( 53 this js.Ref, retPtr unsafe.Pointer) 54 55 //go:wasmimport plat/js/web try_AuthenticatorAttestationResponse_GetAuthenticatorData 56 //go:noescape 57 func TryAuthenticatorAttestationResponseGetAuthenticatorData( 58 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref) 59 60 //go:wasmimport plat/js/web has_AuthenticatorAttestationResponse_GetPublicKey 61 //go:noescape 62 func HasFuncAuthenticatorAttestationResponseGetPublicKey(this js.Ref) js.Ref 63 64 //go:wasmimport plat/js/web func_AuthenticatorAttestationResponse_GetPublicKey 65 //go:noescape 66 func FuncAuthenticatorAttestationResponseGetPublicKey(this js.Ref, fn unsafe.Pointer) 67 68 //go:wasmimport plat/js/web call_AuthenticatorAttestationResponse_GetPublicKey 69 //go:noescape 70 func CallAuthenticatorAttestationResponseGetPublicKey( 71 this js.Ref, retPtr unsafe.Pointer) 72 73 //go:wasmimport plat/js/web try_AuthenticatorAttestationResponse_GetPublicKey 74 //go:noescape 75 func TryAuthenticatorAttestationResponseGetPublicKey( 76 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref) 77 78 //go:wasmimport plat/js/web has_AuthenticatorAttestationResponse_GetPublicKeyAlgorithm 79 //go:noescape 80 func HasFuncAuthenticatorAttestationResponseGetPublicKeyAlgorithm(this js.Ref) js.Ref 81 82 //go:wasmimport plat/js/web func_AuthenticatorAttestationResponse_GetPublicKeyAlgorithm 83 //go:noescape 84 func FuncAuthenticatorAttestationResponseGetPublicKeyAlgorithm(this js.Ref, fn unsafe.Pointer) 85 86 //go:wasmimport plat/js/web call_AuthenticatorAttestationResponse_GetPublicKeyAlgorithm 87 //go:noescape 88 func CallAuthenticatorAttestationResponseGetPublicKeyAlgorithm( 89 this js.Ref, retPtr unsafe.Pointer) 90 91 //go:wasmimport plat/js/web try_AuthenticatorAttestationResponse_GetPublicKeyAlgorithm 92 //go:noescape 93 func TryAuthenticatorAttestationResponseGetPublicKeyAlgorithm( 94 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref) 95 96 //go:wasmimport plat/js/web store_AuthenticatorAttestationResponseJSON 97 //go:noescape 98 func AuthenticatorAttestationResponseJSONJSStore( 99 ptr unsafe.Pointer, ref js.Ref) 100 101 //go:wasmimport plat/js/web load_AuthenticatorAttestationResponseJSON 102 //go:noescape 103 func AuthenticatorAttestationResponseJSONJSLoad( 104 ptr unsafe.Pointer, create, ref js.Ref) js.Ref 105 106 //go:wasmimport plat/js/web get_AuthenticatorResponse_ClientDataJSON 107 //go:noescape 108 func GetAuthenticatorResponseClientDataJSON( 109 this js.Ref, retPtr unsafe.Pointer) (ok js.Ref) 110 111 //go:wasmimport plat/js/web store_AuthenticatorSelectionCriteria 112 //go:noescape 113 func AuthenticatorSelectionCriteriaJSStore( 114 ptr unsafe.Pointer, ref js.Ref) 115 116 //go:wasmimport plat/js/web load_AuthenticatorSelectionCriteria 117 //go:noescape 118 func AuthenticatorSelectionCriteriaJSLoad( 119 ptr unsafe.Pointer, create, ref js.Ref) js.Ref 120 121 //go:wasmimport plat/js/web constof_AuthenticatorTransport 122 //go:noescape 123 func ConstOfAuthenticatorTransport(str js.Ref) uint32 124 125 //go:wasmimport plat/js/web constof_AutoKeyword 126 //go:noescape 127 func ConstOfAutoKeyword(str js.Ref) uint32 128 129 //go:wasmimport plat/js/web constof_AutoplayPolicy 130 //go:noescape 131 func ConstOfAutoplayPolicy(str js.Ref) uint32 132 133 //go:wasmimport plat/js/web constof_AutoplayPolicyMediaType 134 //go:noescape 135 func ConstOfAutoplayPolicyMediaType(str js.Ref) uint32 136 137 //go:wasmimport plat/js/web constof_AvcBitstreamFormat 138 //go:noescape 139 func ConstOfAvcBitstreamFormat(str js.Ref) uint32 140 141 //go:wasmimport plat/js/web store_AvcEncoderConfig 142 //go:noescape 143 func AvcEncoderConfigJSStore( 144 ptr unsafe.Pointer, ref js.Ref) 145 146 //go:wasmimport plat/js/web load_AvcEncoderConfig 147 //go:noescape 148 func AvcEncoderConfigJSLoad( 149 ptr unsafe.Pointer, create, ref js.Ref) js.Ref 150 151 //go:wasmimport plat/js/web new_URLSearchParams_URLSearchParams 152 //go:noescape 153 func NewURLSearchParamsByURLSearchParams( 154 init js.Ref) js.Ref 155 156 //go:wasmimport plat/js/web new_URLSearchParams_URLSearchParams1 157 //go:noescape 158 func NewURLSearchParamsByURLSearchParams1() js.Ref 159 160 //go:wasmimport plat/js/web get_URLSearchParams_Size 161 //go:noescape 162 func GetURLSearchParamsSize( 163 this js.Ref, retPtr unsafe.Pointer) (ok js.Ref) 164 165 //go:wasmimport plat/js/web has_URLSearchParams_Append 166 //go:noescape 167 func HasFuncURLSearchParamsAppend(this js.Ref) js.Ref 168 169 //go:wasmimport plat/js/web func_URLSearchParams_Append 170 //go:noescape 171 func FuncURLSearchParamsAppend(this js.Ref, fn unsafe.Pointer) 172 173 //go:wasmimport plat/js/web call_URLSearchParams_Append 174 //go:noescape 175 func CallURLSearchParamsAppend( 176 this js.Ref, retPtr unsafe.Pointer, 177 name js.Ref, 178 value js.Ref) 179 180 //go:wasmimport plat/js/web try_URLSearchParams_Append 181 //go:noescape 182 func TryURLSearchParamsAppend( 183 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 184 name js.Ref, 185 value js.Ref) (ok js.Ref) 186 187 //go:wasmimport plat/js/web has_URLSearchParams_Delete 188 //go:noescape 189 func HasFuncURLSearchParamsDelete(this js.Ref) js.Ref 190 191 //go:wasmimport plat/js/web func_URLSearchParams_Delete 192 //go:noescape 193 func FuncURLSearchParamsDelete(this js.Ref, fn unsafe.Pointer) 194 195 //go:wasmimport plat/js/web call_URLSearchParams_Delete 196 //go:noescape 197 func CallURLSearchParamsDelete( 198 this js.Ref, retPtr unsafe.Pointer, 199 name js.Ref, 200 value js.Ref) 201 202 //go:wasmimport plat/js/web try_URLSearchParams_Delete 203 //go:noescape 204 func TryURLSearchParamsDelete( 205 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 206 name js.Ref, 207 value js.Ref) (ok js.Ref) 208 209 //go:wasmimport plat/js/web has_URLSearchParams_Delete1 210 //go:noescape 211 func HasFuncURLSearchParamsDelete1(this js.Ref) js.Ref 212 213 //go:wasmimport plat/js/web func_URLSearchParams_Delete1 214 //go:noescape 215 func FuncURLSearchParamsDelete1(this js.Ref, fn unsafe.Pointer) 216 217 //go:wasmimport plat/js/web call_URLSearchParams_Delete1 218 //go:noescape 219 func CallURLSearchParamsDelete1( 220 this js.Ref, retPtr unsafe.Pointer, 221 name js.Ref) 222 223 //go:wasmimport plat/js/web try_URLSearchParams_Delete1 224 //go:noescape 225 func TryURLSearchParamsDelete1( 226 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 227 name js.Ref) (ok js.Ref) 228 229 //go:wasmimport plat/js/web has_URLSearchParams_Get 230 //go:noescape 231 func HasFuncURLSearchParamsGet(this js.Ref) js.Ref 232 233 //go:wasmimport plat/js/web func_URLSearchParams_Get 234 //go:noescape 235 func FuncURLSearchParamsGet(this js.Ref, fn unsafe.Pointer) 236 237 //go:wasmimport plat/js/web call_URLSearchParams_Get 238 //go:noescape 239 func CallURLSearchParamsGet( 240 this js.Ref, retPtr unsafe.Pointer, 241 name js.Ref) 242 243 //go:wasmimport plat/js/web try_URLSearchParams_Get 244 //go:noescape 245 func TryURLSearchParamsGet( 246 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 247 name js.Ref) (ok js.Ref) 248 249 //go:wasmimport plat/js/web has_URLSearchParams_GetAll 250 //go:noescape 251 func HasFuncURLSearchParamsGetAll(this js.Ref) js.Ref 252 253 //go:wasmimport plat/js/web func_URLSearchParams_GetAll 254 //go:noescape 255 func FuncURLSearchParamsGetAll(this js.Ref, fn unsafe.Pointer) 256 257 //go:wasmimport plat/js/web call_URLSearchParams_GetAll 258 //go:noescape 259 func CallURLSearchParamsGetAll( 260 this js.Ref, retPtr unsafe.Pointer, 261 name js.Ref) 262 263 //go:wasmimport plat/js/web try_URLSearchParams_GetAll 264 //go:noescape 265 func TryURLSearchParamsGetAll( 266 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 267 name js.Ref) (ok js.Ref) 268 269 //go:wasmimport plat/js/web has_URLSearchParams_Has 270 //go:noescape 271 func HasFuncURLSearchParamsHas(this js.Ref) js.Ref 272 273 //go:wasmimport plat/js/web func_URLSearchParams_Has 274 //go:noescape 275 func FuncURLSearchParamsHas(this js.Ref, fn unsafe.Pointer) 276 277 //go:wasmimport plat/js/web call_URLSearchParams_Has 278 //go:noescape 279 func CallURLSearchParamsHas( 280 this js.Ref, retPtr unsafe.Pointer, 281 name js.Ref, 282 value js.Ref) 283 284 //go:wasmimport plat/js/web try_URLSearchParams_Has 285 //go:noescape 286 func TryURLSearchParamsHas( 287 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 288 name js.Ref, 289 value js.Ref) (ok js.Ref) 290 291 //go:wasmimport plat/js/web has_URLSearchParams_Has1 292 //go:noescape 293 func HasFuncURLSearchParamsHas1(this js.Ref) js.Ref 294 295 //go:wasmimport plat/js/web func_URLSearchParams_Has1 296 //go:noescape 297 func FuncURLSearchParamsHas1(this js.Ref, fn unsafe.Pointer) 298 299 //go:wasmimport plat/js/web call_URLSearchParams_Has1 300 //go:noescape 301 func CallURLSearchParamsHas1( 302 this js.Ref, retPtr unsafe.Pointer, 303 name js.Ref) 304 305 //go:wasmimport plat/js/web try_URLSearchParams_Has1 306 //go:noescape 307 func TryURLSearchParamsHas1( 308 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 309 name js.Ref) (ok js.Ref) 310 311 //go:wasmimport plat/js/web has_URLSearchParams_Set 312 //go:noescape 313 func HasFuncURLSearchParamsSet(this js.Ref) js.Ref 314 315 //go:wasmimport plat/js/web func_URLSearchParams_Set 316 //go:noescape 317 func FuncURLSearchParamsSet(this js.Ref, fn unsafe.Pointer) 318 319 //go:wasmimport plat/js/web call_URLSearchParams_Set 320 //go:noescape 321 func CallURLSearchParamsSet( 322 this js.Ref, retPtr unsafe.Pointer, 323 name js.Ref, 324 value js.Ref) 325 326 //go:wasmimport plat/js/web try_URLSearchParams_Set 327 //go:noescape 328 func TryURLSearchParamsSet( 329 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 330 name js.Ref, 331 value js.Ref) (ok js.Ref) 332 333 //go:wasmimport plat/js/web has_URLSearchParams_Sort 334 //go:noescape 335 func HasFuncURLSearchParamsSort(this js.Ref) js.Ref 336 337 //go:wasmimport plat/js/web func_URLSearchParams_Sort 338 //go:noescape 339 func FuncURLSearchParamsSort(this js.Ref, fn unsafe.Pointer) 340 341 //go:wasmimport plat/js/web call_URLSearchParams_Sort 342 //go:noescape 343 func CallURLSearchParamsSort( 344 this js.Ref, retPtr unsafe.Pointer) 345 346 //go:wasmimport plat/js/web try_URLSearchParams_Sort 347 //go:noescape 348 func TryURLSearchParamsSort( 349 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref) 350 351 //go:wasmimport plat/js/web has_URLSearchParams_ToString 352 //go:noescape 353 func HasFuncURLSearchParamsToString(this js.Ref) js.Ref 354 355 //go:wasmimport plat/js/web func_URLSearchParams_ToString 356 //go:noescape 357 func FuncURLSearchParamsToString(this js.Ref, fn unsafe.Pointer) 358 359 //go:wasmimport plat/js/web call_URLSearchParams_ToString 360 //go:noescape 361 func CallURLSearchParamsToString( 362 this js.Ref, retPtr unsafe.Pointer) 363 364 //go:wasmimport plat/js/web try_URLSearchParams_ToString 365 //go:noescape 366 func TryURLSearchParamsToString( 367 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref) 368 369 //go:wasmimport plat/js/web constof_ReferrerPolicy 370 //go:noescape 371 func ConstOfReferrerPolicy(str js.Ref) uint32 372 373 //go:wasmimport plat/js/web constof_RequestMode 374 //go:noescape 375 func ConstOfRequestMode(str js.Ref) uint32 376 377 //go:wasmimport plat/js/web constof_RequestCredentials 378 //go:noescape 379 func ConstOfRequestCredentials(str js.Ref) uint32 380 381 //go:wasmimport plat/js/web constof_RequestCache 382 //go:noescape 383 func ConstOfRequestCache(str js.Ref) uint32 384 385 //go:wasmimport plat/js/web constof_RequestRedirect 386 //go:noescape 387 func ConstOfRequestRedirect(str js.Ref) uint32 388 389 //go:wasmimport plat/js/web constof_RequestDuplex 390 //go:noescape 391 func ConstOfRequestDuplex(str js.Ref) uint32 392 393 //go:wasmimport plat/js/web constof_RequestPriority 394 //go:noescape 395 func ConstOfRequestPriority(str js.Ref) uint32 396 397 //go:wasmimport plat/js/web constof_TokenVersion 398 //go:noescape 399 func ConstOfTokenVersion(str js.Ref) uint32 400 401 //go:wasmimport plat/js/web constof_OperationType 402 //go:noescape 403 func ConstOfOperationType(str js.Ref) uint32 404 405 //go:wasmimport plat/js/web constof_RefreshPolicy 406 //go:noescape 407 func ConstOfRefreshPolicy(str js.Ref) uint32 408 409 //go:wasmimport plat/js/web store_PrivateToken 410 //go:noescape 411 func PrivateTokenJSStore( 412 ptr unsafe.Pointer, ref js.Ref) 413 414 //go:wasmimport plat/js/web load_PrivateToken 415 //go:noescape 416 func PrivateTokenJSLoad( 417 ptr unsafe.Pointer, create, ref js.Ref) js.Ref 418 419 //go:wasmimport plat/js/web constof_RequestTargetAddressSpace 420 //go:noescape 421 func ConstOfRequestTargetAddressSpace(str js.Ref) uint32 422 423 //go:wasmimport plat/js/web store_RequestInit 424 //go:noescape 425 func RequestInitJSStore( 426 ptr unsafe.Pointer, ref js.Ref) 427 428 //go:wasmimport plat/js/web load_RequestInit 429 //go:noescape 430 func RequestInitJSLoad( 431 ptr unsafe.Pointer, create, ref js.Ref) js.Ref 432 433 //go:wasmimport plat/js/web new_Headers_Headers 434 //go:noescape 435 func NewHeadersByHeaders( 436 init js.Ref) js.Ref 437 438 //go:wasmimport plat/js/web new_Headers_Headers1 439 //go:noescape 440 func NewHeadersByHeaders1() js.Ref 441 442 //go:wasmimport plat/js/web has_Headers_Append 443 //go:noescape 444 func HasFuncHeadersAppend(this js.Ref) js.Ref 445 446 //go:wasmimport plat/js/web func_Headers_Append 447 //go:noescape 448 func FuncHeadersAppend(this js.Ref, fn unsafe.Pointer) 449 450 //go:wasmimport plat/js/web call_Headers_Append 451 //go:noescape 452 func CallHeadersAppend( 453 this js.Ref, retPtr unsafe.Pointer, 454 name js.Ref, 455 value js.Ref) 456 457 //go:wasmimport plat/js/web try_Headers_Append 458 //go:noescape 459 func TryHeadersAppend( 460 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 461 name js.Ref, 462 value js.Ref) (ok js.Ref) 463 464 //go:wasmimport plat/js/web has_Headers_Delete 465 //go:noescape 466 func HasFuncHeadersDelete(this js.Ref) js.Ref 467 468 //go:wasmimport plat/js/web func_Headers_Delete 469 //go:noescape 470 func FuncHeadersDelete(this js.Ref, fn unsafe.Pointer) 471 472 //go:wasmimport plat/js/web call_Headers_Delete 473 //go:noescape 474 func CallHeadersDelete( 475 this js.Ref, retPtr unsafe.Pointer, 476 name js.Ref) 477 478 //go:wasmimport plat/js/web try_Headers_Delete 479 //go:noescape 480 func TryHeadersDelete( 481 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 482 name js.Ref) (ok js.Ref) 483 484 //go:wasmimport plat/js/web has_Headers_Get 485 //go:noescape 486 func HasFuncHeadersGet(this js.Ref) js.Ref 487 488 //go:wasmimport plat/js/web func_Headers_Get 489 //go:noescape 490 func FuncHeadersGet(this js.Ref, fn unsafe.Pointer) 491 492 //go:wasmimport plat/js/web call_Headers_Get 493 //go:noescape 494 func CallHeadersGet( 495 this js.Ref, retPtr unsafe.Pointer, 496 name js.Ref) 497 498 //go:wasmimport plat/js/web try_Headers_Get 499 //go:noescape 500 func TryHeadersGet( 501 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 502 name js.Ref) (ok js.Ref) 503 504 //go:wasmimport plat/js/web has_Headers_GetSetCookie 505 //go:noescape 506 func HasFuncHeadersGetSetCookie(this js.Ref) js.Ref 507 508 //go:wasmimport plat/js/web func_Headers_GetSetCookie 509 //go:noescape 510 func FuncHeadersGetSetCookie(this js.Ref, fn unsafe.Pointer) 511 512 //go:wasmimport plat/js/web call_Headers_GetSetCookie 513 //go:noescape 514 func CallHeadersGetSetCookie( 515 this js.Ref, retPtr unsafe.Pointer) 516 517 //go:wasmimport plat/js/web try_Headers_GetSetCookie 518 //go:noescape 519 func TryHeadersGetSetCookie( 520 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref) 521 522 //go:wasmimport plat/js/web has_Headers_Has 523 //go:noescape 524 func HasFuncHeadersHas(this js.Ref) js.Ref 525 526 //go:wasmimport plat/js/web func_Headers_Has 527 //go:noescape 528 func FuncHeadersHas(this js.Ref, fn unsafe.Pointer) 529 530 //go:wasmimport plat/js/web call_Headers_Has 531 //go:noescape 532 func CallHeadersHas( 533 this js.Ref, retPtr unsafe.Pointer, 534 name js.Ref) 535 536 //go:wasmimport plat/js/web try_Headers_Has 537 //go:noescape 538 func TryHeadersHas( 539 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 540 name js.Ref) (ok js.Ref) 541 542 //go:wasmimport plat/js/web has_Headers_Set 543 //go:noescape 544 func HasFuncHeadersSet(this js.Ref) js.Ref 545 546 //go:wasmimport plat/js/web func_Headers_Set 547 //go:noescape 548 func FuncHeadersSet(this js.Ref, fn unsafe.Pointer) 549 550 //go:wasmimport plat/js/web call_Headers_Set 551 //go:noescape 552 func CallHeadersSet( 553 this js.Ref, retPtr unsafe.Pointer, 554 name js.Ref, 555 value js.Ref) 556 557 //go:wasmimport plat/js/web try_Headers_Set 558 //go:noescape 559 func TryHeadersSet( 560 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 561 name js.Ref, 562 value js.Ref) (ok js.Ref)