aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/runtime.h
diff options
context:
space:
mode:
authorRob Pike <r@golang.org>2009-04-12 17:01:17 -0700
committerRob Pike <r@golang.org>2009-04-12 17:01:17 -0700
commit54ec719391f1516a8bcbe8e5a8ac6ba2764a646d (patch)
treed32d2a8598ce38c4d0b60ae2b367a3a520d063ac /src/runtime/runtime.h
parent9ddeb2105f6c6b87a15bc020684aa2b8f97678d4 (diff)
downloadgo-54ec719391f1516a8bcbe8e5a8ac6ba2764a646d.tar.xz
fix string range to have full unicode range (up to 10FFFF).
add test for string range. test has minor failure: after loop the index == len(s); should be len(s)-1 in this case. according to spec, vars are left at position at last iteration. R=ken,rsc DELTA=259 (161 added, 96 deleted, 2 changed) OCL=27343 CL=27343
Diffstat (limited to 'src/runtime/runtime.h')
-rw-r--r--src/runtime/runtime.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/runtime/runtime.h b/src/runtime/runtime.h
index bdadbfc17e..6b398c2bfa 100644
--- a/src/runtime/runtime.h
+++ b/src/runtime/runtime.h
@@ -272,6 +272,7 @@ int32 strcmp(byte*, byte*);
int32 findnull(byte*);
void dump(byte*, int32);
int32 runetochar(byte*, int32);
+int32 charntorune(int32*, uint8*, int32);
/*
* very low level c-called