aboutsummaryrefslogtreecommitdiffhomepage
path: root/common.h
diff options
context:
space:
mode:
authorlemon <lsof@mailbox.org>2025-10-23 17:48:22 +0200
committerlemon <lsof@mailbox.org>2025-10-23 17:49:47 +0200
commitd5f154ed760d0929530fdce5409d5772a708ea05 (patch)
treebc5b9742cda8016173ab539813f48e522ef264b1 /common.h
parent1182280d291467f21052050ae9131810f8889635 (diff)
c: make builtin va_list an opaque struct
Diffstat (limited to 'common.h')
-rw-r--r--common.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/common.h b/common.h
index 9c9fd70..a4b82cc 100644
--- a/common.h
+++ b/common.h
@@ -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;