mirror of
https://github.com/bluszcz/cutego.git
synced 2024-09-28 13:15:17 +03:00
14 lines
260 B
Go
14 lines
260 B
Go
// +build js,wasm
|
|
// +build go1.12,!go1.13,!go1.14,!go1.15
|
|
|
|
package qt
|
|
|
|
import (
|
|
"syscall/js"
|
|
"unsafe"
|
|
)
|
|
|
|
func TypedArrayOf(src []byte) js.TypedArray { return js.TypedArrayOf(src) }
|
|
|
|
func ReleaseTypedArray(p unsafe.Pointer) { (*js.TypedArray)(p).Release() }
|