From 55451baa03a7c4aee07d2885382f30728bdc0afc Mon Sep 17 00:00:00 2001 From: Alexander Medvednikov Date: Wed, 8 Sep 2021 14:48:49 +0300 Subject: [PATCH] builtin: i32 alias --- vlib/builtin/int.v | 1 + 1 file changed, 1 insertion(+) diff --git a/vlib/builtin/int.v b/vlib/builtin/int.v index ac087a50d9..29bfd95050 100644 --- a/vlib/builtin/int.v +++ b/vlib/builtin/int.v @@ -8,6 +8,7 @@ module builtin // type u8 = byte +type i32 = int // ptr_str returns the address of `ptr` as a `string`. pub fn ptr_str(ptr voidptr) string {