diff options
| author | 2025-10-23 17:48:22 +0200 | |
|---|---|---|
| committer | 2025-10-23 17:49:47 +0200 | |
| commit | d5f154ed760d0929530fdce5409d5772a708ea05 (patch) | |
| tree | bc5b9742cda8016173ab539813f48e522ef264b1 /common.h | |
| parent | 1182280d291467f21052050ae9131810f8889635 (diff) | |
c: make builtin va_list an opaque struct
Diffstat (limited to 'common.h')
| -rw-r--r-- | common.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -160,7 +160,6 @@ enum typetag { /* ordering is important here! */ TYBOOL, TYCHAR, TYSCHAR, TYUCHAR, TYSHORT, TYUSHORT, TYINT, TYUINT, TYLONG, TYULONG, TYVLONG, TYUVLONG, TYFLOAT, TYDOUBLE, TYLDOUBLE, TYVOID, - TYVALIST, TYPTR, TYARRAY, TYFUNC, TYSTRUCT, TYUNION, NTYPETAG, @@ -193,7 +192,7 @@ union type { uint bits; }; -#define isprimt(t) in_range((t), TYBOOL, TYVALIST) +#define isprimt(t) in_range((t), TYBOOL, TYVOID) #define isintt(t) in_range((t), TYENUM, TYUVLONG) #define issignedt(t) ((TYSIGNEDSET_ | targ_charsigned << TYCHAR) >> (t) & 1) #define isunsignedt(t) ((TYUNSIGNEDSET_ | !targ_charsigned << TYCHAR) >> (t) & 1) @@ -335,6 +334,7 @@ typearrlen(union type t) /* TARGET */ /**********/ +extern uint targ_valistsize; extern uchar targ_primsizes[]; extern uchar targ_primalign[]; extern enum typetag targ_sizetype, targ_ptrdifftype, targ_wchartype; |