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

parser: deprecate size_t (#11443)

This commit is contained in:
Enzo
2021-09-08 12:09:32 +02:00
committed by GitHub
parent 892971024e
commit e3b65092d6
31 changed files with 160 additions and 152 deletions

View File

@ -421,7 +421,7 @@ f32 f64
isize, usize // platform-dependent, the size is how many bytes it takes to reference any location in memory
voidptr, size_t // these are mostly used for C interoperability
voidptr // this one is mostly used for C interoperability
any // similar to C's void* and Go's interface{}
```
@ -4706,7 +4706,7 @@ struct C.SomeCStruct {
// union {
// struct {
data voidptr
size size_t
size usize
// }
view C.DataView
// }