2024-12-14 00:30:44 +00:00
|
|
|
// Code generated by wit-bindgen-go. DO NOT EDIT.
|
|
|
|
|
|
|
|
// Package terminalstderr represents the imported interface "wasi:cli/terminal-stderr@0.2.0".
|
|
|
|
package terminalstderr
|
|
|
|
|
|
|
|
import (
|
2024-12-14 00:56:22 +00:00
|
|
|
terminaloutput "gitea.rebus.ninja/lore/wasm-nats-stream-client/gen/wasi/cli/terminal-output"
|
2024-12-14 00:30:44 +00:00
|
|
|
"github.com/bytecodealliance/wasm-tools-go/cm"
|
|
|
|
)
|
|
|
|
|
|
|
|
// TerminalOutput represents the imported type alias "wasi:cli/terminal-stderr@0.2.0#terminal-output".
|
|
|
|
//
|
|
|
|
// See [terminaloutput.TerminalOutput] for more information.
|
|
|
|
type TerminalOutput = terminaloutput.TerminalOutput
|
|
|
|
|
|
|
|
// GetTerminalStderr represents the imported function "get-terminal-stderr".
|
|
|
|
//
|
|
|
|
// get-terminal-stderr: func() -> option<terminal-output>
|
|
|
|
//
|
|
|
|
//go:nosplit
|
|
|
|
func GetTerminalStderr() (result cm.Option[TerminalOutput]) {
|
|
|
|
wasmimport_GetTerminalStderr(&result)
|
|
|
|
return
|
|
|
|
}
|