cutego/qt_wasm_112.go
2019-12-10 17:08:50 +01:00

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() }