deprecate cuchar, don't redefine it (#18505)
This commit is contained in:
parent
089e741ce4
commit
96a7f9b31c
11 changed files with 55 additions and 54 deletions
|
|
@ -1427,8 +1427,8 @@ type # these work for most platforms:
|
|||
## This is the same as the type `long double` in *C*.
|
||||
## This C type is not supported by Nim's code generator.
|
||||
|
||||
cuchar* {.importc: "unsigned char", nodecl.} = uint8
|
||||
## This is the same as the type `unsigned char` in *C*.
|
||||
cuchar* {.importc: "unsigned char", nodecl, deprecated: "use `char` or `uint8` instead".} = char
|
||||
## Deprecated: Use `uint8` instead.
|
||||
cushort* {.importc: "unsigned short", nodecl.} = uint16
|
||||
## This is the same as the type `unsigned short` in *C*.
|
||||
cuint* {.importc: "unsigned int", nodecl.} = uint32
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue