elvish/pkg/eval/plugin_gccgo.go

18 lines
346 B
Go
Raw Normal View History

//go:build gccgo
2021-06-16 06:57:38 +08:00
package eval
import "errors"
var errPluginNotImplemented = errors.New("plugin not implemented")
type pluginStub struct{}
func pluginOpen(name string) (pluginStub, error) {
return pluginStub{}, errPluginNotImplemented
}
func (pluginStub) Lookup(symName string) (interface{}, error) {
return nil, errPluginNotImplemented
}