aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/c.h
diff options
context:
space:
mode:
authorlemon <lsof@mailbox.org>2026-03-22 22:00:35 +0100
committerlemon <lsof@mailbox.org>2026-03-22 22:00:35 +0100
commit7c5dd45eca377a3b675b6f0d4a9331bc3f971ac9 (patch)
tree08d7a252029da556d09b6014018678f80a75c032 /src/c.h
parent33d31f72d546b4b224c226e82fb111e24f8b2e37 (diff)
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.
Diffstat (limited to 'src/c.h')
-rw-r--r--src/c.h4
1 files changed, 2 insertions, 2 deletions
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;