1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

cgen: make bools take up a single byte, not 4 (#9352)

This commit is contained in:
spaceface
2021-03-18 15:23:29 +01:00
committed by GitHub
parent 4ae2c22c18
commit 624c1f3bcf
4 changed files with 13 additions and 11 deletions

View File

@@ -483,7 +483,7 @@ typedef struct sync__Channel* chan;
#ifndef __cplusplus
#ifndef bool
typedef int bool;
typedef byte bool;
#define true 1
#define false 0
#endif