aboutsummaryrefslogtreecommitdiff
path: root/types.h
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2025-01-02 20:29:55 -0500
committerBruce Hill <bruce@bruce-hill.com>2025-01-02 20:29:55 -0500
commitb025cf269d2e07e179be4a0e34d936862dc640c2 (patch)
tree6bcce81829436a08dbe4f0101044c0cd07811525 /types.h
parent500e4e1bd74b45476c4df0f4f9da72fbada9bb18 (diff)
Use `holding` blocks for mutexed data instead of lambdas
Diffstat (limited to 'types.h')
-rw-r--r--types.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/types.h b/types.h
index 1ddcc627..882e7e2c 100644
--- a/types.h
+++ b/types.h
@@ -60,6 +60,7 @@ struct type_s {
EnumType,
OptionalType,
TypeInfoType,
+ MutexedType,
ModuleType,
} tag;
@@ -117,7 +118,7 @@ struct type_s {
} EnumType;
struct {
type_t *type;
- } OptionalType;
+ } OptionalType, MutexedType;
struct {
const char *name;
type_t *type;