mirror of
https://github.com/golang/go
synced 2024-11-19 01:44:40 -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.
|
// Just enough to keep the api checker happy.
|
||||||
src := "package runtime; type (" +
|
src := "package runtime; type (" +
|
||||||
" maptype struct{}; _type struct{}; alg struct{};" +
|
" 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{};" +
|
" iface struct{}; eface struct{}; interfacetype struct{}; itab struct{};" +
|
||||||
" mcache struct{}; bucket struct{}; sudog struct{}; g struct{};" +
|
" mcache struct{}; bucket struct{}; sudog struct{}; g struct{};" +
|
||||||
" hchan struct{}; chantype struct{}; waitq struct{};" +
|
" hchan struct{}; chantype struct{}; waitq struct{};" +
|
||||||
|
@ -9,7 +9,7 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
type callbacks struct {
|
type callbacks struct {
|
||||||
lock
|
lock mutex
|
||||||
ctxt [cb_max]*wincallbackcontext
|
ctxt [cb_max]*wincallbackcontext
|
||||||
n int
|
n int
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user