From 6db99de6069162a3e2b41de3e202e58ce329988d Mon Sep 17 00:00:00 2001 From: Rob Pike Date: Tue, 8 Jul 2008 10:36:43 -0700 Subject: add bytestorune and stringtorune to sys. SVN=126321 --- src/runtime/runtime.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/runtime/runtime.h') diff --git a/src/runtime/runtime.h b/src/runtime/runtime.h index dc8f88bb7a..14e8f177be 100644 --- a/src/runtime/runtime.h +++ b/src/runtime/runtime.h @@ -142,4 +142,10 @@ void sys·intstring(int64, string); void sys·ifaces2i(Sigi*, Sigs*, Map*, void*); void sys·ifacei2i(Sigi*, Map*, void*); void sys·ifacei2s(Sigs*, Map*, void*); + +/* + * User go-called + */ void sys·readfile(string, string, bool); +void sys·bytestorune(byte*, int32, int32, int32, int32); +void sys·stringtorune(string, int32, int32, int32, int32); -- cgit v1.3-5-g9baa