25 lines
665 B
Go
25 lines
665 B
Go
|
// Code generated by wit-bindgen-go. DO NOT EDIT.
|
||
|
|
||
|
// Package terminalinput represents the imported interface "wasi:cli/terminal-input@0.2.0".
|
||
|
package terminalinput
|
||
|
|
||
|
import (
|
||
|
"github.com/bytecodealliance/wasm-tools-go/cm"
|
||
|
)
|
||
|
|
||
|
// TerminalInput represents the imported resource "wasi:cli/terminal-input@0.2.0#terminal-input".
|
||
|
//
|
||
|
// resource terminal-input
|
||
|
type TerminalInput cm.Resource
|
||
|
|
||
|
// ResourceDrop represents the imported resource-drop for resource "terminal-input".
|
||
|
//
|
||
|
// Drops a resource handle.
|
||
|
//
|
||
|
//go:nosplit
|
||
|
func (self TerminalInput) ResourceDrop() {
|
||
|
self0 := cm.Reinterpret[uint32](self)
|
||
|
wasmimport_TerminalInputResourceDrop((uint32)(self0))
|
||
|
return
|
||
|
}
|