github.com/primecitizens/pcz/std@v0.2.1/plat/js/webext/filehandlers/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/filehandlers store_Icon 20 //go:noescape 21 func IconJSStore( 22 ptr unsafe.Pointer, ref js.Ref) 23 24 //go:wasmimport plat/js/webext/filehandlers load_Icon 25 //go:noescape 26 func IconJSLoad( 27 ptr unsafe.Pointer, create, ref js.Ref) js.Ref 28 29 //go:wasmimport plat/js/webext/filehandlers store_FileHandler 30 //go:noescape 31 func FileHandlerJSStore( 32 ptr unsafe.Pointer, ref js.Ref) 33 34 //go:wasmimport plat/js/webext/filehandlers load_FileHandler 35 //go:noescape 36 func FileHandlerJSLoad( 37 ptr unsafe.Pointer, create, ref js.Ref) js.Ref 38 39 //go:wasmimport plat/js/webext/filehandlers store_ManifestKeys 40 //go:noescape 41 func ManifestKeysJSStore( 42 ptr unsafe.Pointer, ref js.Ref) 43 44 //go:wasmimport plat/js/webext/filehandlers load_ManifestKeys 45 //go:noescape 46 func ManifestKeysJSLoad( 47 ptr unsafe.Pointer, create, ref js.Ref) js.Ref