mirror of
https://github.com/go-sylixos/elvish.git
synced 2024-12-12 17:27:50 +08:00
18 lines
344 B
Go
18 lines
344 B
Go
|
//+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
|
||
|
}
|