aboutsummaryrefslogtreecommitdiff
path: root/types.h
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2024-03-22 01:52:00 -0400
committerBruce Hill <bruce@bruce-hill.com>2024-03-22 01:52:00 -0400
commitf21fc700bb5e37a653142b0ecd142f1ae3132c5c (patch)
tree2609e8c0f42fb8ac2f5b53f0fac4480c65ef62ee /types.h
parent73c0c6b5404137f6db269153a8236748f1dc5de5 (diff)
Handle type namespaces in other modules
Diffstat (limited to 'types.h')
-rw-r--r--types.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/types.h b/types.h
index 83d8ca6a..df913de5 100644
--- a/types.h
+++ b/types.h
@@ -67,6 +67,7 @@ struct type_s {
} NumType;
struct {
const char *lang;
+ struct env_s *env;
} TextType;
struct {
type_t *item_type;
@@ -89,11 +90,13 @@ struct type_s {
const char *name;
arg_t *fields;
bool opaque;
+ struct env_s *env;
} StructType;
struct {
const char *name;
tag_t *tags;
bool opaque;
+ struct env_s *env;
} EnumType;
struct {
const char *name;