A set of classes for parsing, evaluating, and formatting die roll strings.
Du kannst nicht mehr als 25 Themen auswählen Themen müssen mit entweder einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

SA_DiceErrorHandling.h 572B

123456789101112131415161718
  1. //
  2. // SA_DiceErrorHandling.h
  3. //
  4. // Copyright (c) 2016 Said Achmiz.
  5. //
  6. // This software is licensed under the MIT license.
  7. // See the file "LICENSE" for more information.
  8. #ifndef SA_DiceErrorHandling_h
  9. #define SA_DiceErrorHandling_h
  10. #import <Foundation/Foundation.h>
  11. void addErrorToExpression (NSString *error, NSMutableDictionary *expression);
  12. void addErrorsFromExpressionToExpression (NSDictionary *sourceExpression, NSMutableDictionary *targetExpression);
  13. NSArray <NSString *> *getErrorsForExpression (NSDictionary *expression);
  14. #endif /* SA_DiceErrorHandling_h */