aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/include/janet.h
diff options
context:
space:
mode:
authorMichael Camilleri <mike@inqk.net>2021-10-22 09:48:37 +0900
committerMichael Camilleri <mike@inqk.net>2021-10-22 09:52:57 +0900
commit7ed0aa663031a6f4d7aaf3c5e4504f14552aaeb1 (patch)
tree38a873c7cd5faf6507ba4d4a9ac61b8b2021db15 /src/include/janet.h
parentMerge pull request #848 from pyrmont/bugfix.uname-switches (diff)
Use named union in JanetGCObject
Diffstat (limited to 'src/include/janet.h')
-rw-r--r--src/include/janet.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/janet.h b/src/include/janet.h
index e0c2f392..915ca431 100644
--- a/src/include/janet.h
+++ b/src/include/janet.h
@@ -866,7 +866,7 @@ struct JanetGCObject {
union {
JanetGCObject *next;
int32_t refcount; /* For threaded abstract types */
- };
+ } data;
};
/* A lightweight green thread in janet. Does not correspond to