mirror of
https://github.com/nim-lang/Nim.git
synced 2026-01-03 11:42:33 +00:00
add support for uint32 and uint64 in repr
This commit is contained in:
@@ -259,8 +259,10 @@ when not defined(useNimRtl):
|
||||
of tyInt16: add result, $int(cast[ptr int16](p)[])
|
||||
of tyInt32: add result, $int(cast[ptr int32](p)[])
|
||||
of tyInt64: add result, $(cast[ptr int64](p)[])
|
||||
of tyUInt8: add result, $ze(cast[ptr int8](p)[])
|
||||
of tyUInt16: add result, $ze(cast[ptr int16](p)[])
|
||||
of tyUInt8: add result, $(cast[ptr uint8](p)[])
|
||||
of tyUInt16: add result, $(cast[ptr uint16](p)[])
|
||||
of tyUInt32: add result, $(cast[ptr uint32](p)[])
|
||||
of tyUInt64: add result, $(cast[ptr uint64](p)[])
|
||||
|
||||
of tyFloat: add result, $(cast[ptr float](p)[])
|
||||
of tyFloat32: add result, $(cast[ptr float32](p)[])
|
||||
|
||||
Reference in New Issue
Block a user