Clean up identifiers
FossilOrigin-Name: d35fd65699e79d96fc0588fff075f73b0dd7eb6ebfa0f6cffd0b0a3940e5fecd
This commit is contained in:
parent
570b9e3bb3
commit
c690c2b9ed
12 changed files with 364 additions and 276 deletions
20
src/Variable.h
Normal file
20
src/Variable.h
Normal file
|
@ -0,0 +1,20 @@
|
|||
#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 (*function)();
|
||||
@property (readonly, nonatomic) bool persisted;
|
||||
|
||||
- (instancetype)initWithName:(OFString *)name OF_UNAVAILABLE;
|
||||
- (instancetype)initWithName:(OFString *)name
|
||||
min:(int)min
|
||||
max:(int)max
|
||||
storage:(int *)storage
|
||||
function:(void (*)())function
|
||||
persisted:(bool)persisted;
|
||||
@end
|
||||
|
||||
OF_ASSUME_NONNULL_END
|
Loading…
Add table
Add a link
Reference in a new issue