Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(2884)

Unified Diff: src/cmd/api/goapi.go

Issue 132820043: code review 132820043: runtime: convert NewCallback and NewCallbackCDecl to Go (Closed)
Patch Set: diff -r 582d66a876b7d80ba1b55b67427d0bbb6db08bae https://go.googlecode.com/hg/ Created 10 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/cmd/dist/buildruntime.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/cmd/api/goapi.go
===================================================================
--- a/src/cmd/api/goapi.go
+++ b/src/cmd/api/goapi.go
@@ -384,8 +384,9 @@
" iface struct{}; eface struct{}; interfacetype struct{}; itab struct{};" +
" mcache struct{}; bucket struct{}; sudog struct{}; g struct{};" +
" hchan struct{}; chantype struct{}; waitq struct{};" +
- " note struct{};" +
- ")"
+ " note struct{}; wincallbackcontext struct{};" +
+ "); " +
+ "const ( cb_max = 2000 )"
f, err = parser.ParseFile(fset, filename, src, 0)
if err != nil {
log.Fatalf("incorrect generated file: %s", err)
« no previous file with comments | « no previous file | src/cmd/dist/buildruntime.c » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b