From b025cf269d2e07e179be4a0e34d936862dc640c2 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Thu, 2 Jan 2025 20:29:55 -0500 Subject: Use `holding` blocks for mutexed data instead of lambdas --- types.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'types.h') 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; -- cgit v1.2.3