Artifact 40b405f271d450a1a06a9b698d9443aed777bb063bcf7f54df4308262f1818ba:
- File src/Command.h — part of check-in [d35fd65699] at 2025-03-07 21:02:39 on branch trunk — Clean up identifiers (user: js, size: 568) [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:(char *_Nonnull *_Nonnull)arguments numArguments:(size_t)numArguments isDown:(bool)isDown; @end OF_ASSUME_NONNULL_END