diff options
author | mrb0nk500 <b0nk@b0nk.xyz> | 2023-02-08 13:54:16 -0400 |
---|---|---|
committer | mrb0nk500 <b0nk@b0nk.xyz> | 2023-02-08 13:54:16 -0400 |
commit | 22da46864392cfe6a43ec67c319cd9b1fcc079bd (patch) | |
tree | 826e5eebd09fe8aef930615a579532e69f6e3967 /include | |
parent | 87fe4412c45be2f06883d7bb04c4e8966cf7beb2 (diff) |
TMainTask: Add, and use `DISALLOW_OR_ALLOW_CHILD` macro
Diffstat (limited to 'include')
-rw-r--r-- | include/pso/TMainTask.h | 3 |
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 |