github.com/primecitizens/pcz/std@v0.2.1/plat/js/webext/readinglist/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/readinglist store_AddEntryOptions 20 //go:noescape 21 func AddEntryOptionsJSStore( 22 ptr unsafe.Pointer, ref js.Ref) 23 24 //go:wasmimport plat/js/webext/readinglist load_AddEntryOptions 25 //go:noescape 26 func AddEntryOptionsJSLoad( 27 ptr unsafe.Pointer, create, ref js.Ref) js.Ref 28 29 //go:wasmimport plat/js/webext/readinglist store_ReadingListEntry 30 //go:noescape 31 func ReadingListEntryJSStore( 32 ptr unsafe.Pointer, ref js.Ref) 33 34 //go:wasmimport plat/js/webext/readinglist load_ReadingListEntry 35 //go:noescape 36 func ReadingListEntryJSLoad( 37 ptr unsafe.Pointer, create, ref js.Ref) js.Ref 38 39 //go:wasmimport plat/js/webext/readinglist store_QueryInfo 40 //go:noescape 41 func QueryInfoJSStore( 42 ptr unsafe.Pointer, ref js.Ref) 43 44 //go:wasmimport plat/js/webext/readinglist load_QueryInfo 45 //go:noescape 46 func QueryInfoJSLoad( 47 ptr unsafe.Pointer, create, ref js.Ref) js.Ref 48 49 //go:wasmimport plat/js/webext/readinglist store_RemoveOptions 50 //go:noescape 51 func RemoveOptionsJSStore( 52 ptr unsafe.Pointer, ref js.Ref) 53 54 //go:wasmimport plat/js/webext/readinglist load_RemoveOptions 55 //go:noescape 56 func RemoveOptionsJSLoad( 57 ptr unsafe.Pointer, create, ref js.Ref) js.Ref 58 59 //go:wasmimport plat/js/webext/readinglist store_UpdateEntryOptions 60 //go:noescape 61 func UpdateEntryOptionsJSStore( 62 ptr unsafe.Pointer, ref js.Ref) 63 64 //go:wasmimport plat/js/webext/readinglist load_UpdateEntryOptions 65 //go:noescape 66 func UpdateEntryOptionsJSLoad( 67 ptr unsafe.Pointer, create, ref js.Ref) js.Ref 68 69 //go:wasmimport plat/js/webext/readinglist has_AddEntry 70 //go:noescape 71 func HasFuncAddEntry() js.Ref 72 73 //go:wasmimport plat/js/webext/readinglist func_AddEntry 74 //go:noescape 75 func FuncAddEntry(fn unsafe.Pointer) 76 77 //go:wasmimport plat/js/webext/readinglist call_AddEntry 78 //go:noescape 79 func CallAddEntry( 80 retPtr unsafe.Pointer, 81 entry unsafe.Pointer) 82 83 //go:wasmimport plat/js/webext/readinglist try_AddEntry 84 //go:noescape 85 func TryAddEntry( 86 retPtr unsafe.Pointer, errPtr unsafe.Pointer, 87 entry unsafe.Pointer) (ok js.Ref) 88 89 //go:wasmimport plat/js/webext/readinglist has_OnEntryAdded 90 //go:noescape 91 func HasFuncOnEntryAdded() js.Ref 92 93 //go:wasmimport plat/js/webext/readinglist func_OnEntryAdded 94 //go:noescape 95 func FuncOnEntryAdded(fn unsafe.Pointer) 96 97 //go:wasmimport plat/js/webext/readinglist call_OnEntryAdded 98 //go:noescape 99 func CallOnEntryAdded( 100 retPtr unsafe.Pointer, 101 callback js.Ref) 102 103 //go:wasmimport plat/js/webext/readinglist try_OnEntryAdded 104 //go:noescape 105 func TryOnEntryAdded( 106 retPtr unsafe.Pointer, errPtr unsafe.Pointer, 107 callback js.Ref) (ok js.Ref) 108 109 //go:wasmimport plat/js/webext/readinglist has_OffEntryAdded 110 //go:noescape 111 func HasFuncOffEntryAdded() js.Ref 112 113 //go:wasmimport plat/js/webext/readinglist func_OffEntryAdded 114 //go:noescape 115 func FuncOffEntryAdded(fn unsafe.Pointer) 116 117 //go:wasmimport plat/js/webext/readinglist call_OffEntryAdded 118 //go:noescape 119 func CallOffEntryAdded( 120 retPtr unsafe.Pointer, 121 callback js.Ref) 122 123 //go:wasmimport plat/js/webext/readinglist try_OffEntryAdded 124 //go:noescape 125 func TryOffEntryAdded( 126 retPtr unsafe.Pointer, errPtr unsafe.Pointer, 127 callback js.Ref) (ok js.Ref) 128 129 //go:wasmimport plat/js/webext/readinglist has_HasOnEntryAdded 130 //go:noescape 131 func HasFuncHasOnEntryAdded() js.Ref 132 133 //go:wasmimport plat/js/webext/readinglist func_HasOnEntryAdded 134 //go:noescape 135 func FuncHasOnEntryAdded(fn unsafe.Pointer) 136 137 //go:wasmimport plat/js/webext/readinglist call_HasOnEntryAdded 138 //go:noescape 139 func CallHasOnEntryAdded( 140 retPtr unsafe.Pointer, 141 callback js.Ref) 142 143 //go:wasmimport plat/js/webext/readinglist try_HasOnEntryAdded 144 //go:noescape 145 func TryHasOnEntryAdded( 146 retPtr unsafe.Pointer, errPtr unsafe.Pointer, 147 callback js.Ref) (ok js.Ref) 148 149 //go:wasmimport plat/js/webext/readinglist has_OnEntryRemoved 150 //go:noescape 151 func HasFuncOnEntryRemoved() js.Ref 152 153 //go:wasmimport plat/js/webext/readinglist func_OnEntryRemoved 154 //go:noescape 155 func FuncOnEntryRemoved(fn unsafe.Pointer) 156 157 //go:wasmimport plat/js/webext/readinglist call_OnEntryRemoved 158 //go:noescape 159 func CallOnEntryRemoved( 160 retPtr unsafe.Pointer, 161 callback js.Ref) 162 163 //go:wasmimport plat/js/webext/readinglist try_OnEntryRemoved 164 //go:noescape 165 func TryOnEntryRemoved( 166 retPtr unsafe.Pointer, errPtr unsafe.Pointer, 167 callback js.Ref) (ok js.Ref) 168 169 //go:wasmimport plat/js/webext/readinglist has_OffEntryRemoved 170 //go:noescape 171 func HasFuncOffEntryRemoved() js.Ref 172 173 //go:wasmimport plat/js/webext/readinglist func_OffEntryRemoved 174 //go:noescape 175 func FuncOffEntryRemoved(fn unsafe.Pointer) 176 177 //go:wasmimport plat/js/webext/readinglist call_OffEntryRemoved 178 //go:noescape 179 func CallOffEntryRemoved( 180 retPtr unsafe.Pointer, 181 callback js.Ref) 182 183 //go:wasmimport plat/js/webext/readinglist try_OffEntryRemoved 184 //go:noescape 185 func TryOffEntryRemoved( 186 retPtr unsafe.Pointer, errPtr unsafe.Pointer, 187 callback js.Ref) (ok js.Ref) 188 189 //go:wasmimport plat/js/webext/readinglist has_HasOnEntryRemoved 190 //go:noescape 191 func HasFuncHasOnEntryRemoved() js.Ref 192 193 //go:wasmimport plat/js/webext/readinglist func_HasOnEntryRemoved 194 //go:noescape 195 func FuncHasOnEntryRemoved(fn unsafe.Pointer) 196 197 //go:wasmimport plat/js/webext/readinglist call_HasOnEntryRemoved 198 //go:noescape 199 func CallHasOnEntryRemoved( 200 retPtr unsafe.Pointer, 201 callback js.Ref) 202 203 //go:wasmimport plat/js/webext/readinglist try_HasOnEntryRemoved 204 //go:noescape 205 func TryHasOnEntryRemoved( 206 retPtr unsafe.Pointer, errPtr unsafe.Pointer, 207 callback js.Ref) (ok js.Ref) 208 209 //go:wasmimport plat/js/webext/readinglist has_OnEntryUpdated 210 //go:noescape 211 func HasFuncOnEntryUpdated() js.Ref 212 213 //go:wasmimport plat/js/webext/readinglist func_OnEntryUpdated 214 //go:noescape 215 func FuncOnEntryUpdated(fn unsafe.Pointer) 216 217 //go:wasmimport plat/js/webext/readinglist call_OnEntryUpdated 218 //go:noescape 219 func CallOnEntryUpdated( 220 retPtr unsafe.Pointer, 221 callback js.Ref) 222 223 //go:wasmimport plat/js/webext/readinglist try_OnEntryUpdated 224 //go:noescape 225 func TryOnEntryUpdated( 226 retPtr unsafe.Pointer, errPtr unsafe.Pointer, 227 callback js.Ref) (ok js.Ref) 228 229 //go:wasmimport plat/js/webext/readinglist has_OffEntryUpdated 230 //go:noescape 231 func HasFuncOffEntryUpdated() js.Ref 232 233 //go:wasmimport plat/js/webext/readinglist func_OffEntryUpdated 234 //go:noescape 235 func FuncOffEntryUpdated(fn unsafe.Pointer) 236 237 //go:wasmimport plat/js/webext/readinglist call_OffEntryUpdated 238 //go:noescape 239 func CallOffEntryUpdated( 240 retPtr unsafe.Pointer, 241 callback js.Ref) 242 243 //go:wasmimport plat/js/webext/readinglist try_OffEntryUpdated 244 //go:noescape 245 func TryOffEntryUpdated( 246 retPtr unsafe.Pointer, errPtr unsafe.Pointer, 247 callback js.Ref) (ok js.Ref) 248 249 //go:wasmimport plat/js/webext/readinglist has_HasOnEntryUpdated 250 //go:noescape 251 func HasFuncHasOnEntryUpdated() js.Ref 252 253 //go:wasmimport plat/js/webext/readinglist func_HasOnEntryUpdated 254 //go:noescape 255 func FuncHasOnEntryUpdated(fn unsafe.Pointer) 256 257 //go:wasmimport plat/js/webext/readinglist call_HasOnEntryUpdated 258 //go:noescape 259 func CallHasOnEntryUpdated( 260 retPtr unsafe.Pointer, 261 callback js.Ref) 262 263 //go:wasmimport plat/js/webext/readinglist try_HasOnEntryUpdated 264 //go:noescape 265 func TryHasOnEntryUpdated( 266 retPtr unsafe.Pointer, errPtr unsafe.Pointer, 267 callback js.Ref) (ok js.Ref) 268 269 //go:wasmimport plat/js/webext/readinglist has_Query 270 //go:noescape 271 func HasFuncQuery() js.Ref 272 273 //go:wasmimport plat/js/webext/readinglist func_Query 274 //go:noescape 275 func FuncQuery(fn unsafe.Pointer) 276 277 //go:wasmimport plat/js/webext/readinglist call_Query 278 //go:noescape 279 func CallQuery( 280 retPtr unsafe.Pointer, 281 info unsafe.Pointer) 282 283 //go:wasmimport plat/js/webext/readinglist try_Query 284 //go:noescape 285 func TryQuery( 286 retPtr unsafe.Pointer, errPtr unsafe.Pointer, 287 info unsafe.Pointer) (ok js.Ref) 288 289 //go:wasmimport plat/js/webext/readinglist has_RemoveEntry 290 //go:noescape 291 func HasFuncRemoveEntry() js.Ref 292 293 //go:wasmimport plat/js/webext/readinglist func_RemoveEntry 294 //go:noescape 295 func FuncRemoveEntry(fn unsafe.Pointer) 296 297 //go:wasmimport plat/js/webext/readinglist call_RemoveEntry 298 //go:noescape 299 func CallRemoveEntry( 300 retPtr unsafe.Pointer, 301 info unsafe.Pointer) 302 303 //go:wasmimport plat/js/webext/readinglist try_RemoveEntry 304 //go:noescape 305 func TryRemoveEntry( 306 retPtr unsafe.Pointer, errPtr unsafe.Pointer, 307 info unsafe.Pointer) (ok js.Ref) 308 309 //go:wasmimport plat/js/webext/readinglist has_UpdateEntry 310 //go:noescape 311 func HasFuncUpdateEntry() js.Ref 312 313 //go:wasmimport plat/js/webext/readinglist func_UpdateEntry 314 //go:noescape 315 func FuncUpdateEntry(fn unsafe.Pointer) 316 317 //go:wasmimport plat/js/webext/readinglist call_UpdateEntry 318 //go:noescape 319 func CallUpdateEntry( 320 retPtr unsafe.Pointer, 321 info unsafe.Pointer) 322 323 //go:wasmimport plat/js/webext/readinglist try_UpdateEntry 324 //go:noescape 325 func TryUpdateEntry( 326 retPtr unsafe.Pointer, errPtr unsafe.Pointer, 327 info unsafe.Pointer) (ok js.Ref)