diff options
Diffstat (limited to 'src/pkg/runtime/runtime.h')
-rw-r--r-- | src/pkg/runtime/runtime.h | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/src/pkg/runtime/runtime.h b/src/pkg/runtime/runtime.h index adb83116b..b4011b758 100644 --- a/src/pkg/runtime/runtime.h +++ b/src/pkg/runtime/runtime.h @@ -361,7 +361,6 @@ int32 charntorune(int32*, uint8*, int32); /* * very low level c-called */ -void callString(void(*fn)(void), void *arg, String *out); void gogo(Gobuf*, uintptr); void gogocall(Gobuf*, void(*)(void)); uintptr gosave(Gobuf*); @@ -372,7 +371,6 @@ void* getu(void); void throw(int8*); uint32 rnd(uint32, uint32); void prints(int8*); -void printany(Eface); void printf(int8*, ...); byte* mchr(byte*, byte, byte*); void mcpy(byte*, byte*, uint32); @@ -432,6 +430,7 @@ bool sigsend(int32 sig); void gettime(int64*, int32*); int32 callers(int32, uintptr*, int32); int64 nanotime(void); +void panic(int32); #pragma varargck argpos printf 1 @@ -530,8 +529,15 @@ void runtime_printuint(uint64); void runtime_printhex(uint64); void runtime_printslice(Slice); void runtime_printcomplex(Complex128); -void panic(int32); void reflect·call(byte*, byte*, uint32); +void ·panic(Eface); + +/* + * runtime c-called (but written in Go) + */ +void ·newError(String, Eface*); +void ·printany(Eface); +void ·newTypeAssertionError(Type*, Type*, Type*, String*, String*, String*, String*, Eface*); /* * wrapped for go users |