Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Library

type Library interface {
	LoadSections(r reader.R) (err error)
	NumImportFuncs() int
	ImportFunc(i int) (module, field string, sig wa.FuncType)
	SetImportFunc(i int, vectorIndex int)
	XXX_Internal() interface{}
}

func Load

func Load(testdatadir string, reso VectorResolver, loadInitialLibrary func(r reader.R) Library) Library

type VariadicResolver

type VariadicResolver interface {
	ResolveVariadicFunc(module, field string, sig wa.FuncType) (variadic bool, index int, err error)
}

type VectorResolver

type VectorResolver interface {
	ResolveFunc(module, field string, sig wa.FuncType) (vectorIndex int, err error)
}

Source Files