From 7c5dd45eca377a3b675b6f0d4a9331bc3f971ac9 Mon Sep 17 00:00:00 2001 From: lemon Date: Sun, 22 Mar 2026 22:00:35 +0100 Subject: style: change uvlong -> u64int, vlong -> s64int Is much nicer. I don't know whether I want to do it for the other int types too. char and uchar are fine as bytes. u/short -> u/s16int, maybe. --- src/c.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/c.h') diff --git a/src/c.h b/src/c.h index ddb6832..a0142e7 100644 --- a/src/c.h +++ b/src/c.h @@ -38,7 +38,7 @@ struct Expr { uchar bitsiz, bitoff; } fld; /* EGETF */ }; - uvlong u; vlong i; double f; /* ENUMLIT */ + u64int u; s64int i; double f; /* ENUMLIT */ struct { union { uchar *p; @@ -107,7 +107,7 @@ typedef struct Decl { union { internstr sym; /* static/extern scls */ struct { ushort align; int id; }; /* local var */ - vlong value; /* enum constant */ + s64int value; /* enum constant */ const Builtin *builtin; /* .isbuiltin */ }; } Decl; -- cgit v1.2.3