TInteger vs TOrdinal
This commit is contained in:
parent
7f64e95747
commit
1c01c78be5
1 changed files with 5 additions and 1 deletions
|
|
@ -49,9 +49,13 @@ type
|
||||||
## a type description (for templates)
|
## a type description (for templates)
|
||||||
void* {.magic: "VoidType".} ## meta type to denote the absense of any type
|
void* {.magic: "VoidType".} ## meta type to denote the absense of any type
|
||||||
|
|
||||||
TInteger* = int|char|int8|int16|int32|int64|bool|enum
|
TInteger* = int|int8|int16|int32|int64
|
||||||
## type class matching all integer types
|
## type class matching all integer types
|
||||||
|
|
||||||
|
TOrdinal* = TInteger|bool|enum
|
||||||
|
## type class matching all ordinal types; however this includes enums with
|
||||||
|
## holes.
|
||||||
|
|
||||||
TNumber* = TInteger|float|float32|float64
|
TNumber* = TInteger|float|float32|float64
|
||||||
## type class matching all number types
|
## type class matching all number types
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue