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