summaryrefslogtreecommitdiff
path: root/Build/source/texk/ps2pk/strexpr.h
blob: 6012a8be56fa49efd2c29dbe47662eb44fc94b3c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/*
 * File:    strexpr.h
 * Purpose: calculate value from algebraic string expression
 * Version: 1.0 (Nov 1995)
 * Author:  Piet Tutelaers
 */

/*
 * Evaluate the algebraic expression contained in <expression>. The
 * value will be assigned to <result>. When errors are encountered
 * non-zero (if program is not aborted) is returned otherwise zero. 
 */
int strexpr(int *result, char *expression);