Files
tinygo/src/internal/wasi/cli/v0.2.0/stdin/stdin.wit.go
T
2025-03-18 15:40:46 +01:00

26 lines
638 B
Go

// Code generated by wit-bindgen-go. DO NOT EDIT.
// Package stdin represents the imported interface "wasi:cli/stdin@0.2.0".
package stdin
import (
"internal/cm"
"internal/wasi/io/v0.2.0/streams"
)
// InputStream represents the imported type alias "wasi:cli/stdin@0.2.0#input-stream".
//
// See [streams.InputStream] for more information.
type InputStream = streams.InputStream
// GetStdin represents the imported function "get-stdin".
//
// get-stdin: func() -> input-stream
//
//go:nosplit
func GetStdin() (result InputStream) {
result0 := wasmimport_GetStdin()
result = cm.Reinterpret[InputStream]((uint32)(result0))
return
}