Differences From Artifact [254356cb16]:
- File
src/Command.m
— part of check-in
[75e920ae30]
at
2025-03-29 14:25:43
on branch trunk
— Switch from clang-format to manual formatting
clang-format does too many weird things. (user: js, size: 3969) [annotate] [blame] [check-ins using]
To Artifact [5f400a60e2]:
- File src/Command.m — part of check-in [c634a689e7] at 2025-03-29 17:13:40 on branch trunk — More style fixes (user: js, size: 3878) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
21 22 23 24 25 26 27 | @implementation Command { id _block; } + (instancetype)commandWithName: (OFString *)name | | | | | | | | 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 | @implementation Command { id _block; } + (instancetype)commandWithName: (OFString *)name argumentsTypes: (int)argumentsTypes block: (id)block { return [[self alloc] initWithName: name argumentsTypes: argumentsTypes block: block]; } - (instancetype)initWithName: (OFString *)name argumentsTypes: (int)argumentsTypes block: (id)block { self = [super initWithName: name]; _argumentsTypes = argumentsTypes; _block = block; return self; |
︙ | ︙ |