AK: Tweak CALLABLE_WHEN macro in Retained.

This commit is contained in:
Andreas Kling 2019-03-31 22:11:13 +02:00
commit 90b2723e7a
Notes: sideshowbarker 2024-07-19 14:53:07 +09:00

View file

@ -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