Archived
1
This repository has been archived on 2022-08-08. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
mathpad/MathKit/MPEvaluationContext.h
Kim Wittenburg 8f1f730358 Reorganized File Structure
Added Documentation
2014-12-12 00:39:30 +01:00

28 lines
502 B
Objective-C

//
// MPEvaluationContext.h
// MathPad
//
// Created by Kim Wittenburg on 12.09.14.
// Copyright (c) 2014 Kim Wittenburg. All rights reserved.
//
@class MPEvaluationContext;
@interface MPEvaluationContext : NSObject
+ (MPEvaluationContext *)sharedContext;
- (void)push;
- (void)pop;
- (BOOL)defineVariable:(NSString *)variable
value:(NSDecimalNumber *)value;
- (void)undefineVariable:(NSString *)variable;
- (NSDecimalNumber *)valueForVariable:(NSString *)variable;
@end