summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authormrb0nk500 <b0nk@b0nk.xyz>2023-02-08 13:54:16 -0400
committermrb0nk500 <b0nk@b0nk.xyz>2023-02-08 13:54:16 -0400
commit22da46864392cfe6a43ec67c319cd9b1fcc079bd (patch)
tree826e5eebd09fe8aef930615a579532e69f6e3967 /include
parent87fe4412c45be2f06883d7bb04c4e8966cf7beb2 (diff)
TMainTask: Add, and use `DISALLOW_OR_ALLOW_CHILD` macro
Diffstat (limited to 'include')
-rw-r--r--include/pso/TMainTask.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/pso/TMainTask.h b/include/pso/TMainTask.h
index c2cfbfa..71341a2 100644
--- a/include/pso/TMainTask.h
+++ b/include/pso/TMainTask.h
@@ -23,6 +23,9 @@
#define SET_OR_CLEAR_CHILD_FLAGS(flags, old_flags, flag_bit) \
X_OR_Y_CHILD(flags, old_flags, set_flag, clear_flag, flag_bit)
+#define DISALLOW_OR_ALLOW_CHILD(flags, old_flags, flag_name) \
+ X_OR_Y_CHILD(flags, old_flags, disallow, allow, flag_name)
+
#define o(var, name) extern const char *var##_name;
TL_OBJECTS
#undef o