Artifact e066e0d794d83d21a0745e0dcc8f4b8b13f893bf64fe89bf00f523c938572763:
- File src/Command.h — part of check-in [6f5dd50626] at 2025-03-08 02:38:40 on branch trunk — Improve clang-format (user: js, size: 500) [annotate] [blame] [check-ins using]
#import "Identifier.h" OF_ASSUME_NONNULL_BEGIN @interface Command: Identifier @property (readonly, nonatomic) void (*function)(); @property (readonly, nonatomic) int argumentsTypes; - (instancetype)initWithName:(OFString *)name OF_UNAVAILABLE; - (instancetype)initWithName:(OFString *)name function:(void (*)())function argumentsTypes:(int)argumentsTypes; - (int)callWithArguments:(OFArray<OFString *> *)arguments isDown:(bool)isDown; @end OF_ASSUME_NONNULL_END