2017-03-02 Richard Biener <rguenther@suse.de>
[official-gcc.git] / libgo / go / plugin / plugin_stubs.go
blobf0bcb4a3bdf3a0243e98864d566bdb392056f25f
1 // Copyright 2016 The Go Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style
3 // license that can be found in the LICENSE file.
5 // +build !linux,!darwin !cgo
7 package plugin
9 import "errors"
11 func lookup(p *Plugin, symName string) (interface{}, error) {
12 return nil, errors.New("plugin: not implemented")
15 func open(name string) (*Plugin, error) {
16 return nil, errors.New("plugin: not implemented")