Clean up variables

FossilOrigin-Name: 5e43ae9916e0f61b00913c7f5c72f9349e1afecab908fd09b193edfd3f10006d
This commit is contained in:
Jonathan Schleifer 2025-03-07 21:16:47 +00:00
parent c690c2b9ed
commit 63a6c72954
5 changed files with 67 additions and 107 deletions

View file

@ -5,7 +5,7 @@ OF_ASSUME_NONNULL_BEGIN
@interface Variable : Identifier
@property (readonly, nonatomic) int min, max;
@property (readonly, nonatomic) int *storage;
@property (readonly, nonatomic) void (*function)();
@property (readonly, nonatomic) void (*__cdecl function)();
@property (readonly, nonatomic) bool persisted;
- (instancetype)initWithName:(OFString *)name OF_UNAVAILABLE;
@ -13,8 +13,10 @@ OF_ASSUME_NONNULL_BEGIN
min:(int)min
max:(int)max
storage:(int *)storage
function:(void (*)())function
function:(void (*__cdecl)())function
persisted:(bool)persisted;
- (void)printValue;
- (void)setValue:(int)value;
@end
OF_ASSUME_NONNULL_END