mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
Added Int128BE, UInt128BE, Int128LE and UInt128LE.
This commit is contained in:
committed by
Christoffer Lerno
parent
b60862ec7a
commit
fd9d300b06
@@ -30,6 +30,16 @@ bitstruct ULongBE : ulong @bigendian
|
||||
ulong val : 0..63;
|
||||
}
|
||||
|
||||
bitstruct Int128BE : int128 @bigendian
|
||||
{
|
||||
int128 val : 0..127;
|
||||
}
|
||||
|
||||
bitstruct UInt128BE : uint128 @bigendian
|
||||
{
|
||||
uint128 val : 0..127;
|
||||
}
|
||||
|
||||
bitstruct ShortLE : short @littleendian
|
||||
{
|
||||
short val : 0..15;
|
||||
@@ -59,3 +69,14 @@ bitstruct ULongLE : ulong @littleendian
|
||||
{
|
||||
ulong val : 0..63;
|
||||
}
|
||||
|
||||
bitstruct Int128LE : int128 @littleendian
|
||||
{
|
||||
int128 val : 0..127;
|
||||
}
|
||||
|
||||
bitstruct UInt128LE : uint128 @littleendian
|
||||
{
|
||||
uint128 val : 0..127;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user