v/vlib/builtin/bare/builtin_bare.v

14 lines
281 B
V
Raw Normal View History

module builtin
2019-11-15 01:17:47 +01:00
//pub fn syscall5(number, arg1, arg2, arg3, arg4, arg5 voidptr) voidptr
//pub fn syscall6(number, arg1, arg2, arg3, arg4, arg5, arg6 voidptr) voidptr
pub fn panic(s string) {
2019-11-15 01:17:47 +01:00
//write(1, s.str, s.len)
}
2019-11-16 09:33:04 +01:00
pub fn panic_debug(s string) {
//write(1, s.str, s.len)
}