mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 07:47:37 +00:00
AK: Tweak CALLABLE_WHEN macro in Retained.
This commit is contained in:
parent
2334ffcbf8
commit
90b2723e7a
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@
|
|||
|
||||
#ifdef __clang__
|
||||
#define CONSUMABLE(initial_state) __attribute__((consumable(initial_state)))
|
||||
#define CALLABLE_WHEN(state) __attribute__((callable_when(state)))
|
||||
#define CALLABLE_WHEN(...) __attribute__((callable_when(__VA_ARGS__)))
|
||||
#define SET_TYPESTATE(state) __attribute__((set_typestate(state)))
|
||||
#define RETURN_TYPESTATE(state) __attribute__((return_typestate(state)))
|
||||
#else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue