mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
cgen: remove byte references from cheaders.v
This commit is contained in:
parent
ba7b329c73
commit
1e7eb713fb
@ -629,7 +629,7 @@ typedef uint64_t u64;
|
|||||||
typedef uint32_t u32;
|
typedef uint32_t u32;
|
||||||
typedef uint8_t u8;
|
typedef uint8_t u8;
|
||||||
typedef uint16_t u16;
|
typedef uint16_t u16;
|
||||||
typedef uint8_t byte;
|
//typedef uint8_t byte;
|
||||||
typedef uint32_t rune;
|
typedef uint32_t rune;
|
||||||
typedef size_t usize;
|
typedef size_t usize;
|
||||||
typedef ptrdiff_t isize;
|
typedef ptrdiff_t isize;
|
||||||
@ -649,7 +649,7 @@ typedef int64_t float_literal;
|
|||||||
typedef unsigned char* byteptr;
|
typedef unsigned char* byteptr;
|
||||||
typedef void* voidptr;
|
typedef void* voidptr;
|
||||||
typedef char* charptr;
|
typedef char* charptr;
|
||||||
typedef byte array_fixed_byte_300 [300];
|
typedef u8 array_fixed_byte_300 [300];
|
||||||
|
|
||||||
typedef struct sync__Channel* chan;
|
typedef struct sync__Channel* chan;
|
||||||
|
|
||||||
@ -658,7 +658,7 @@ typedef struct sync__Channel* chan;
|
|||||||
#ifdef CUSTOM_DEFINE_4bytebool
|
#ifdef CUSTOM_DEFINE_4bytebool
|
||||||
typedef int bool;
|
typedef int bool;
|
||||||
#else
|
#else
|
||||||
typedef byte bool;
|
typedef u8 bool;
|
||||||
#endif
|
#endif
|
||||||
#define true 1
|
#define true 1
|
||||||
#define false 0
|
#define false 0
|
||||||
|
Loading…
Reference in New Issue
Block a user