github.com/primecitizens/pcz/std@v0.2.1/plat/js/webext/tabgroups/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/tabgroups constof_Color 20 //go:noescape 21 func ConstOfColor(str js.Ref) uint32 22 23 //go:wasmimport plat/js/webext/tabgroups store_MoveArgMoveProperties 24 //go:noescape 25 func MoveArgMovePropertiesJSStore( 26 ptr unsafe.Pointer, ref js.Ref) 27 28 //go:wasmimport plat/js/webext/tabgroups load_MoveArgMoveProperties 29 //go:noescape 30 func MoveArgMovePropertiesJSLoad( 31 ptr unsafe.Pointer, create, ref js.Ref) js.Ref 32 33 //go:wasmimport plat/js/webext/tabgroups store_QueryArgQueryInfo 34 //go:noescape 35 func QueryArgQueryInfoJSStore( 36 ptr unsafe.Pointer, ref js.Ref) 37 38 //go:wasmimport plat/js/webext/tabgroups load_QueryArgQueryInfo 39 //go:noescape 40 func QueryArgQueryInfoJSLoad( 41 ptr unsafe.Pointer, create, ref js.Ref) js.Ref 42 43 //go:wasmimport plat/js/webext/tabgroups get_TAB_GROUP_ID_NONE 44 //go:noescape 45 func GetTAB_GROUP_ID_NONE(retPtr unsafe.Pointer) js.Ref 46 47 //go:wasmimport plat/js/webext/tabgroups set_TAB_GROUP_ID_NONE 48 //go:noescape 49 func SetTAB_GROUP_ID_NONE( 50 val js.Ref) js.Ref 51 52 //go:wasmimport plat/js/webext/tabgroups store_TabGroup 53 //go:noescape 54 func TabGroupJSStore( 55 ptr unsafe.Pointer, ref js.Ref) 56 57 //go:wasmimport plat/js/webext/tabgroups load_TabGroup 58 //go:noescape 59 func TabGroupJSLoad( 60 ptr unsafe.Pointer, create, ref js.Ref) js.Ref 61 62 //go:wasmimport plat/js/webext/tabgroups store_UpdateArgUpdateProperties 63 //go:noescape 64 func UpdateArgUpdatePropertiesJSStore( 65 ptr unsafe.Pointer, ref js.Ref) 66 67 //go:wasmimport plat/js/webext/tabgroups load_UpdateArgUpdateProperties 68 //go:noescape 69 func UpdateArgUpdatePropertiesJSLoad( 70 ptr unsafe.Pointer, create, ref js.Ref) js.Ref 71 72 //go:wasmimport plat/js/webext/tabgroups has_Get 73 //go:noescape 74 func HasFuncGet() js.Ref 75 76 //go:wasmimport plat/js/webext/tabgroups func_Get 77 //go:noescape 78 func FuncGet(fn unsafe.Pointer) 79 80 //go:wasmimport plat/js/webext/tabgroups call_Get 81 //go:noescape 82 func CallGet( 83 retPtr unsafe.Pointer, 84 groupId float64) 85 86 //go:wasmimport plat/js/webext/tabgroups try_Get 87 //go:noescape 88 func TryGet( 89 retPtr unsafe.Pointer, errPtr unsafe.Pointer, 90 groupId float64) (ok js.Ref) 91 92 //go:wasmimport plat/js/webext/tabgroups has_Move 93 //go:noescape 94 func HasFuncMove() js.Ref 95 96 //go:wasmimport plat/js/webext/tabgroups func_Move 97 //go:noescape 98 func FuncMove(fn unsafe.Pointer) 99 100 //go:wasmimport plat/js/webext/tabgroups call_Move 101 //go:noescape 102 func CallMove( 103 retPtr unsafe.Pointer, 104 groupId float64, 105 moveProperties unsafe.Pointer) 106 107 //go:wasmimport plat/js/webext/tabgroups try_Move 108 //go:noescape 109 func TryMove( 110 retPtr unsafe.Pointer, errPtr unsafe.Pointer, 111 groupId float64, 112 moveProperties unsafe.Pointer) (ok js.Ref) 113 114 //go:wasmimport plat/js/webext/tabgroups has_OnCreated 115 //go:noescape 116 func HasFuncOnCreated() js.Ref 117 118 //go:wasmimport plat/js/webext/tabgroups func_OnCreated 119 //go:noescape 120 func FuncOnCreated(fn unsafe.Pointer) 121 122 //go:wasmimport plat/js/webext/tabgroups call_OnCreated 123 //go:noescape 124 func CallOnCreated( 125 retPtr unsafe.Pointer, 126 callback js.Ref) 127 128 //go:wasmimport plat/js/webext/tabgroups try_OnCreated 129 //go:noescape 130 func TryOnCreated( 131 retPtr unsafe.Pointer, errPtr unsafe.Pointer, 132 callback js.Ref) (ok js.Ref) 133 134 //go:wasmimport plat/js/webext/tabgroups has_OffCreated 135 //go:noescape 136 func HasFuncOffCreated() js.Ref 137 138 //go:wasmimport plat/js/webext/tabgroups func_OffCreated 139 //go:noescape 140 func FuncOffCreated(fn unsafe.Pointer) 141 142 //go:wasmimport plat/js/webext/tabgroups call_OffCreated 143 //go:noescape 144 func CallOffCreated( 145 retPtr unsafe.Pointer, 146 callback js.Ref) 147 148 //go:wasmimport plat/js/webext/tabgroups try_OffCreated 149 //go:noescape 150 func TryOffCreated( 151 retPtr unsafe.Pointer, errPtr unsafe.Pointer, 152 callback js.Ref) (ok js.Ref) 153 154 //go:wasmimport plat/js/webext/tabgroups has_HasOnCreated 155 //go:noescape 156 func HasFuncHasOnCreated() js.Ref 157 158 //go:wasmimport plat/js/webext/tabgroups func_HasOnCreated 159 //go:noescape 160 func FuncHasOnCreated(fn unsafe.Pointer) 161 162 //go:wasmimport plat/js/webext/tabgroups call_HasOnCreated 163 //go:noescape 164 func CallHasOnCreated( 165 retPtr unsafe.Pointer, 166 callback js.Ref) 167 168 //go:wasmimport plat/js/webext/tabgroups try_HasOnCreated 169 //go:noescape 170 func TryHasOnCreated( 171 retPtr unsafe.Pointer, errPtr unsafe.Pointer, 172 callback js.Ref) (ok js.Ref) 173 174 //go:wasmimport plat/js/webext/tabgroups has_OnMoved 175 //go:noescape 176 func HasFuncOnMoved() js.Ref 177 178 //go:wasmimport plat/js/webext/tabgroups func_OnMoved 179 //go:noescape 180 func FuncOnMoved(fn unsafe.Pointer) 181 182 //go:wasmimport plat/js/webext/tabgroups call_OnMoved 183 //go:noescape 184 func CallOnMoved( 185 retPtr unsafe.Pointer, 186 callback js.Ref) 187 188 //go:wasmimport plat/js/webext/tabgroups try_OnMoved 189 //go:noescape 190 func TryOnMoved( 191 retPtr unsafe.Pointer, errPtr unsafe.Pointer, 192 callback js.Ref) (ok js.Ref) 193 194 //go:wasmimport plat/js/webext/tabgroups has_OffMoved 195 //go:noescape 196 func HasFuncOffMoved() js.Ref 197 198 //go:wasmimport plat/js/webext/tabgroups func_OffMoved 199 //go:noescape 200 func FuncOffMoved(fn unsafe.Pointer) 201 202 //go:wasmimport plat/js/webext/tabgroups call_OffMoved 203 //go:noescape 204 func CallOffMoved( 205 retPtr unsafe.Pointer, 206 callback js.Ref) 207 208 //go:wasmimport plat/js/webext/tabgroups try_OffMoved 209 //go:noescape 210 func TryOffMoved( 211 retPtr unsafe.Pointer, errPtr unsafe.Pointer, 212 callback js.Ref) (ok js.Ref) 213 214 //go:wasmimport plat/js/webext/tabgroups has_HasOnMoved 215 //go:noescape 216 func HasFuncHasOnMoved() js.Ref 217 218 //go:wasmimport plat/js/webext/tabgroups func_HasOnMoved 219 //go:noescape 220 func FuncHasOnMoved(fn unsafe.Pointer) 221 222 //go:wasmimport plat/js/webext/tabgroups call_HasOnMoved 223 //go:noescape 224 func CallHasOnMoved( 225 retPtr unsafe.Pointer, 226 callback js.Ref) 227 228 //go:wasmimport plat/js/webext/tabgroups try_HasOnMoved 229 //go:noescape 230 func TryHasOnMoved( 231 retPtr unsafe.Pointer, errPtr unsafe.Pointer, 232 callback js.Ref) (ok js.Ref) 233 234 //go:wasmimport plat/js/webext/tabgroups has_OnRemoved 235 //go:noescape 236 func HasFuncOnRemoved() js.Ref 237 238 //go:wasmimport plat/js/webext/tabgroups func_OnRemoved 239 //go:noescape 240 func FuncOnRemoved(fn unsafe.Pointer) 241 242 //go:wasmimport plat/js/webext/tabgroups call_OnRemoved 243 //go:noescape 244 func CallOnRemoved( 245 retPtr unsafe.Pointer, 246 callback js.Ref) 247 248 //go:wasmimport plat/js/webext/tabgroups try_OnRemoved 249 //go:noescape 250 func TryOnRemoved( 251 retPtr unsafe.Pointer, errPtr unsafe.Pointer, 252 callback js.Ref) (ok js.Ref) 253 254 //go:wasmimport plat/js/webext/tabgroups has_OffRemoved 255 //go:noescape 256 func HasFuncOffRemoved() js.Ref 257 258 //go:wasmimport plat/js/webext/tabgroups func_OffRemoved 259 //go:noescape 260 func FuncOffRemoved(fn unsafe.Pointer) 261 262 //go:wasmimport plat/js/webext/tabgroups call_OffRemoved 263 //go:noescape 264 func CallOffRemoved( 265 retPtr unsafe.Pointer, 266 callback js.Ref) 267 268 //go:wasmimport plat/js/webext/tabgroups try_OffRemoved 269 //go:noescape 270 func TryOffRemoved( 271 retPtr unsafe.Pointer, errPtr unsafe.Pointer, 272 callback js.Ref) (ok js.Ref) 273 274 //go:wasmimport plat/js/webext/tabgroups has_HasOnRemoved 275 //go:noescape 276 func HasFuncHasOnRemoved() js.Ref 277 278 //go:wasmimport plat/js/webext/tabgroups func_HasOnRemoved 279 //go:noescape 280 func FuncHasOnRemoved(fn unsafe.Pointer) 281 282 //go:wasmimport plat/js/webext/tabgroups call_HasOnRemoved 283 //go:noescape 284 func CallHasOnRemoved( 285 retPtr unsafe.Pointer, 286 callback js.Ref) 287 288 //go:wasmimport plat/js/webext/tabgroups try_HasOnRemoved 289 //go:noescape 290 func TryHasOnRemoved( 291 retPtr unsafe.Pointer, errPtr unsafe.Pointer, 292 callback js.Ref) (ok js.Ref) 293 294 //go:wasmimport plat/js/webext/tabgroups has_OnUpdated 295 //go:noescape 296 func HasFuncOnUpdated() js.Ref 297 298 //go:wasmimport plat/js/webext/tabgroups func_OnUpdated 299 //go:noescape 300 func FuncOnUpdated(fn unsafe.Pointer) 301 302 //go:wasmimport plat/js/webext/tabgroups call_OnUpdated 303 //go:noescape 304 func CallOnUpdated( 305 retPtr unsafe.Pointer, 306 callback js.Ref) 307 308 //go:wasmimport plat/js/webext/tabgroups try_OnUpdated 309 //go:noescape 310 func TryOnUpdated( 311 retPtr unsafe.Pointer, errPtr unsafe.Pointer, 312 callback js.Ref) (ok js.Ref) 313 314 //go:wasmimport plat/js/webext/tabgroups has_OffUpdated 315 //go:noescape 316 func HasFuncOffUpdated() js.Ref 317 318 //go:wasmimport plat/js/webext/tabgroups func_OffUpdated 319 //go:noescape 320 func FuncOffUpdated(fn unsafe.Pointer) 321 322 //go:wasmimport plat/js/webext/tabgroups call_OffUpdated 323 //go:noescape 324 func CallOffUpdated( 325 retPtr unsafe.Pointer, 326 callback js.Ref) 327 328 //go:wasmimport plat/js/webext/tabgroups try_OffUpdated 329 //go:noescape 330 func TryOffUpdated( 331 retPtr unsafe.Pointer, errPtr unsafe.Pointer, 332 callback js.Ref) (ok js.Ref) 333 334 //go:wasmimport plat/js/webext/tabgroups has_HasOnUpdated 335 //go:noescape 336 func HasFuncHasOnUpdated() js.Ref 337 338 //go:wasmimport plat/js/webext/tabgroups func_HasOnUpdated 339 //go:noescape 340 func FuncHasOnUpdated(fn unsafe.Pointer) 341 342 //go:wasmimport plat/js/webext/tabgroups call_HasOnUpdated 343 //go:noescape 344 func CallHasOnUpdated( 345 retPtr unsafe.Pointer, 346 callback js.Ref) 347 348 //go:wasmimport plat/js/webext/tabgroups try_HasOnUpdated 349 //go:noescape 350 func TryHasOnUpdated( 351 retPtr unsafe.Pointer, errPtr unsafe.Pointer, 352 callback js.Ref) (ok js.Ref) 353 354 //go:wasmimport plat/js/webext/tabgroups has_Query 355 //go:noescape 356 func HasFuncQuery() js.Ref 357 358 //go:wasmimport plat/js/webext/tabgroups func_Query 359 //go:noescape 360 func FuncQuery(fn unsafe.Pointer) 361 362 //go:wasmimport plat/js/webext/tabgroups call_Query 363 //go:noescape 364 func CallQuery( 365 retPtr unsafe.Pointer, 366 queryInfo unsafe.Pointer) 367 368 //go:wasmimport plat/js/webext/tabgroups try_Query 369 //go:noescape 370 func TryQuery( 371 retPtr unsafe.Pointer, errPtr unsafe.Pointer, 372 queryInfo unsafe.Pointer) (ok js.Ref) 373 374 //go:wasmimport plat/js/webext/tabgroups has_Update 375 //go:noescape 376 func HasFuncUpdate() js.Ref 377 378 //go:wasmimport plat/js/webext/tabgroups func_Update 379 //go:noescape 380 func FuncUpdate(fn unsafe.Pointer) 381 382 //go:wasmimport plat/js/webext/tabgroups call_Update 383 //go:noescape 384 func CallUpdate( 385 retPtr unsafe.Pointer, 386 groupId float64, 387 updateProperties unsafe.Pointer) 388 389 //go:wasmimport plat/js/webext/tabgroups try_Update 390 //go:noescape 391 func TryUpdate( 392 retPtr unsafe.Pointer, errPtr unsafe.Pointer, 393 groupId float64, 394 updateProperties unsafe.Pointer) (ok js.Ref)