FossilOrigin-Name: 89fbd7a1520ecb65809b4c1bd10006ce9bb3a662cb7e7804abaf85d1ee1da63a
28 lines
983 B
Objective-C
28 lines
983 B
Objective-C
#import "Identifier.h"
|
|
|
|
OF_ASSUME_NONNULL_BEGIN
|
|
|
|
@interface Variable: Identifier
|
|
@property (readonly, nonatomic) int min, max;
|
|
@property (readonly, nonatomic) int *storage;
|
|
@property (readonly, nonatomic) void (*__cdecl function)();
|
|
@property (readonly, nonatomic) bool persisted;
|
|
|
|
+ (instancetype)variableWithName:(OFString *)name
|
|
min:(int)min
|
|
max:(int)max
|
|
storage:(int *)storage
|
|
function:(void (*__cdecl)())function
|
|
persisted:(bool)persisted;
|
|
- (instancetype)initWithName:(OFString *)name OF_UNAVAILABLE;
|
|
- (instancetype)initWithName:(OFString *)name
|
|
min:(int)min
|
|
max:(int)max
|
|
storage:(int *)storage
|
|
function:(void (*__cdecl)())function
|
|
persisted:(bool)persisted;
|
|
- (void)printValue;
|
|
- (void)setValue:(int)value;
|
|
@end
|
|
|
|
OF_ASSUME_NONNULL_END
|