wasm-nats-producer-client/gen/wasi/cli/stdin/stdin.wit.go
2024-12-14 02:15:08 +01:00

26 lines
708 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 (
"gitea.rebus.ninja/lore/wasm-nats-producer-client/gen/wasi/io/streams"
"github.com/bytecodealliance/wasm-tools-go/cm"
)
// 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
}