github.com/primecitizens/pcz/std@v0.2.1/plat/js/webext/accessibilityserviceprivate/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/accessibilityserviceprivate has_SpeakSelectedText
    20  //go:noescape
    21  func HasFuncSpeakSelectedText() js.Ref
    22  
    23  //go:wasmimport plat/js/webext/accessibilityserviceprivate func_SpeakSelectedText
    24  //go:noescape
    25  func FuncSpeakSelectedText(fn unsafe.Pointer)
    26  
    27  //go:wasmimport plat/js/webext/accessibilityserviceprivate call_SpeakSelectedText
    28  //go:noescape
    29  func CallSpeakSelectedText(
    30  	retPtr unsafe.Pointer)
    31  
    32  //go:wasmimport plat/js/webext/accessibilityserviceprivate try_SpeakSelectedText
    33  //go:noescape
    34  func TrySpeakSelectedText(
    35  	retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref)