elvish/pkg/eval/plugin_gccgo.go

18 lines
344 B
Go
Raw Normal View History

2021-06-16 06:57:38 +08:00
//+build gccgo
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
}