From ab9fc72814710229b0118e302bbceae3e9260926 Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Mon, 25 Jan 2010 18:52:55 -0800 Subject: in C and asm, replace pkg·name with ·name (eliminate assumption of package global name space, make code easier to move between packages). MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit R=r CC=golang-dev http://codereview.appspot.com/194072 --- src/pkg/runtime/string.cgo | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/pkg/runtime/string.cgo') diff --git a/src/pkg/runtime/string.cgo b/src/pkg/runtime/string.cgo index c615768f3..4c85766c2 100644 --- a/src/pkg/runtime/string.cgo +++ b/src/pkg/runtime/string.cgo @@ -98,11 +98,11 @@ prbounds(int8* s, int32 a, int32 b, int32 c) { prints(s); prints(" "); - runtime·printint(a); + ·printint(a); prints("<"); - runtime·printint(b); + ·printint(b); prints(">"); - runtime·printint(c); + ·printint(c); prints("\n"); throw("string bounds"); } @@ -158,7 +158,7 @@ func slicestring(si String, lindex int32, hindex int32) (so String) { if(lindex < 0 || lindex > si.len || hindex < lindex || hindex > si.len) { - runtime·printpc(&si); + ·printpc(&si); prints(" "); prbounds("slice", lindex, si.len, hindex); } @@ -176,7 +176,7 @@ func slicestring1(si String, lindex int32) (so String) { int32 l; if(lindex < 0 || lindex > si.len) { - runtime·printpc(&si); + ·printpc(&si); prints(" "); prbounds("slice", lindex, si.len, si.len); } @@ -192,7 +192,7 @@ func slicestring1(si String, lindex int32) (so String) { func indexstring(s String, i int32) (b byte) { if(i < 0 || i >= s.len) { - runtime·printpc(&s); + ·printpc(&s); prints(" "); prbounds("index", 0, i, s.len); } -- cgit v1.2.3