this makes defer println(1,"hello") work by turning it into (approximately) defer printf("%d %s\n", 1, "hello") ...
15 years, 3 months ago
(2010-01-27 01:51:50 UTC)
#2
this makes defer println(1,"hello") work by turning it into
(approximately) defer printf("%d %s\n", 1, "hello")
where printf is a runtime function otherwise inaccessible
from go.
the drawback is that printf needed a couple more verbs,
but again you can't get at it from go.
russ
http://codereview.appspot.com/194097/diff/8/12 File src/pkg/runtime/print.c (right): http://codereview.appspot.com/194097/diff/8/12#newcode35 src/pkg/runtime/print.c:35: // Do not add to this without checking with ...
15 years, 3 months ago
(2010-01-27 01:56:17 UTC)
#3
Issue 194097: code review 194097: gc: implement defer print/println/panic/panicln
(Closed)
Created 15 years, 3 months ago by rsc
Modified 15 years, 3 months ago
Reviewers: ken3
Base URL:
Comments: 3