From 1e7eb713fb29825c82fc98b4b01cd08f4d09c002 Mon Sep 17 00:00:00 2001 From: Alexander Medvednikov Date: Fri, 15 Apr 2022 14:04:53 +0300 Subject: [PATCH] cgen: remove byte references from cheaders.v --- vlib/v/gen/c/cheaders.v | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/vlib/v/gen/c/cheaders.v b/vlib/v/gen/c/cheaders.v index 759e479dfe..8d3984cdd9 100644 --- a/vlib/v/gen/c/cheaders.v +++ b/vlib/v/gen/c/cheaders.v @@ -629,7 +629,7 @@ typedef uint64_t u64; typedef uint32_t u32; typedef uint8_t u8; typedef uint16_t u16; -typedef uint8_t byte; +//typedef uint8_t byte; typedef uint32_t rune; typedef size_t usize; typedef ptrdiff_t isize; @@ -649,7 +649,7 @@ typedef int64_t float_literal; typedef unsigned char* byteptr; typedef void* voidptr; typedef char* charptr; -typedef byte array_fixed_byte_300 [300]; +typedef u8 array_fixed_byte_300 [300]; typedef struct sync__Channel* chan; @@ -658,7 +658,7 @@ typedef struct sync__Channel* chan; #ifdef CUSTOM_DEFINE_4bytebool typedef int bool; #else - typedef byte bool; + typedef u8 bool; #endif #define true 1 #define false 0