Clean up variables
FossilOrigin-Name: 5e43ae9916e0f61b00913c7f5c72f9349e1afecab908fd09b193edfd3f10006d
This commit is contained in:
parent
c690c2b9ed
commit
63a6c72954
5 changed files with 67 additions and 107 deletions
|
@ -1,21 +0,0 @@
|
|||
#import "Variable.h"
|
||||
|
||||
@implementation Variable
|
||||
- (instancetype)initWithName:(OFString *)name
|
||||
min:(int)min
|
||||
max:(int)max
|
||||
storage:(int *)storage
|
||||
function:(void (*)())function
|
||||
persisted:(bool)persisted
|
||||
{
|
||||
self = [super initWithName:name];
|
||||
|
||||
_min = min;
|
||||
_max = max;
|
||||
_storage = storage;
|
||||
_function = function;
|
||||
_persisted = persisted;
|
||||
|
||||
return self;
|
||||
}
|
||||
@end
|
Loading…
Add table
Add a link
Reference in a new issue