wasm-nats-stream-client/gen/wasi/cli/stdout/stdout.wit.go

26 lines
723 B
Go
Raw Normal View History

2024-12-14 00:30:44 +00:00
// Code generated by wit-bindgen-go. DO NOT EDIT.
// Package stdout represents the imported interface "wasi:cli/stdout@0.2.0".
package stdout
import (
2024-12-14 00:56:22 +00:00
"gitea.rebus.ninja/lore/wasm-nats-stream-client/gen/wasi/io/streams"
2024-12-14 00:30:44 +00:00
"github.com/bytecodealliance/wasm-tools-go/cm"
)
// OutputStream represents the imported type alias "wasi:cli/stdout@0.2.0#output-stream".
//
// See [streams.OutputStream] for more information.
type OutputStream = streams.OutputStream
// GetStdout represents the imported function "get-stdout".
//
// get-stdout: func() -> output-stream
//
//go:nosplit
func GetStdout() (result OutputStream) {
result0 := wasmimport_GetStdout()
result = cm.Reinterpret[OutputStream]((uint32)(result0))
return
}