1
Fork 0
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:
Andreas Kling 2019-03-31 22:11:13 +02:00
parent 2334ffcbf8
commit 90b2723e7a

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