wag: github.com/tsavola/wag/internal/test/library Index | Files

package library

import "github.com/tsavola/wag/internal/test/library"

Index

Package Files

testlibrary.go

type Library Uses

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 Uses

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

type VariadicResolver Uses

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

type VectorResolver Uses

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

Package library imports 7 packages (graph). Updated 2019-10-02. Refresh now. Tools for package owners.