mirror of
https://github.com/golang/go
synced 2024-11-18 23:14:43 -07:00
cmd/api: fix for Lock⇒Mutex change
TBR=iant CC=golang-codereviews https://golang.org/cl/133150043
This commit is contained in:
parent
8ecb9a765e
commit
fee7c69c6c
@ -380,7 +380,7 @@ func (w *Walker) parseFile(dir, file string) (*ast.File, error) {
|
||||
// Just enough to keep the api checker happy.
|
||||
src := "package runtime; type (" +
|
||||
" maptype struct{}; _type struct{}; alg struct{};" +
|
||||
" mspan struct{}; m struct{}; lock struct{}; slicetype struct{};" +
|
||||
" mspan struct{}; m struct{}; mutex struct{}; slicetype struct{};" +
|
||||
" iface struct{}; eface struct{}; interfacetype struct{}; itab struct{};" +
|
||||
" mcache struct{}; bucket struct{}; sudog struct{}; g struct{};" +
|
||||
" hchan struct{}; chantype struct{}; waitq struct{};" +
|
||||
|
@ -9,7 +9,7 @@ import (
|
||||
)
|
||||
|
||||
type callbacks struct {
|
||||
lock
|
||||
lock mutex
|
||||
ctxt [cb_max]*wincallbackcontext
|
||||
n int
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user