mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-11 14:33:41 +00:00
25 lines
579 B
Go
25 lines
579 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"
|
|
)
|
|
|
|
// GetStdin represents the imported function "get-stdin".
|
|
//
|
|
// get-stdin: func() -> input-stream
|
|
//
|
|
//go:nosplit
|
|
func GetStdin() (result streams.InputStream) {
|
|
result0 := wasmimport_GetStdin()
|
|
result = cm.Reinterpret[streams.InputStream]((uint32)(result0))
|
|
return
|
|
}
|
|
|
|
//go:wasmimport wasi:cli/stdin@0.2.0 get-stdin
|
|
//go:noescape
|
|
func wasmimport_GetStdin() (result0 uint32)
|