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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user