Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ExecContext ¶
type ExecContext = libsstd.ExecContext
func GetContext ¶
func GetContext(m *gno.Machine) ExecContext
type NativeFunc ¶
type NativeFunc struct {
// contains filtered or unexported fields
}
NativeFunc represents a function in the standard library which has a native (go-based) implementation, commonly referred to as a "native binding".
func FindNative ¶
func FindNative(pkgPath string, name gno.Name) *NativeFunc
FindNative returns the NativeFunc associated with the given pkgPath+name combination. If there is none, FindNative returns nil.
func (*NativeFunc) HasMachineParam ¶
func (n *NativeFunc) HasMachineParam() bool
HasMachineParam returns whether the given native binding has a machine parameter. This means that the Go version of this function expects a *gno.Machine as its first parameter.
Click to show internal directories.
Click to hide internal directories.