mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 12:07:45 +00:00
LibJS: Replace boolean without_side_effects parameters with an enum
This commit is contained in:
parent
864beb0bd5
commit
dcb55db99b
16 changed files with 56 additions and 51 deletions
|
@ -165,6 +165,11 @@ class TypedArrayPrototype;
|
|||
// Tag type used to differentiate between u8 as used by Uint8Array and u8 as used by Uint8ClampedArray.
|
||||
struct ClampedU8;
|
||||
|
||||
enum class AllowSideEffects {
|
||||
Yes,
|
||||
No
|
||||
};
|
||||
|
||||
#define __JS_ENUMERATE(ClassName, snake_name, ConstructorName, PrototypeName, ArrayType) \
|
||||
class ClassName; \
|
||||
class ConstructorName; \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue