clarify that char may not be unsigned (#20308)

This commit is contained in:
ringabout 2022-09-07 05:06:32 +08:00 • committed by GitHub
commit f433d9cccf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -30,7 +30,7 @@ type
# 'float64' is now an alias to 'float'; this solves many problems # 'float64' is now an alias to 'float'; this solves many problems
type type
char* {.magic: Char.} ## Built-in 8 bit character type (unsigned). char* {.magic: Char.} ## Built-in 8 bit character type.
string* {.magic: String.} ## Built-in string type. string* {.magic: String.} ## Built-in string type.
cstring* {.magic: Cstring.} ## Built-in cstring (*compatible string*) type. cstring* {.magic: Cstring.} ## Built-in cstring (*compatible string*) type.
pointer* {.magic: Pointer.} ## Built-in pointer type, use the `addr` pointer* {.magic: Pointer.} ## Built-in pointer type, use the `addr`