Improved support for vectors that allows correct usage in C ABI.

To free keywords, half -> float16, i128 -> int128, u128 -> uint128, quad -> float128.
This commit is contained in:
Christoffer Lerno
2021-08-10 22:44:00 +02:00
committed by Christoffer Lerno
parent 991f24d06a
commit afeb555e2f
6 changed files with 61 additions and 27 deletions

View File

@@ -53,8 +53,8 @@ $else:
$endif;
$if (C_LONG_LONG_SIZE == 128):
define CLongLong = i128;
define CULongLong = u128;
define CLongLong = int128;
define CULongLong = uint128;
$elif (C_LONG_LONG_SIZE == 64):
define CLongLong = long;
define CULongLong = ulong;