summaryrefslogtreecommitdiff
path: root/Build/source/texk/ps2pk/strexpr.h
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/ps2pk/strexpr.h')
-rw-r--r--Build/source/texk/ps2pk/strexpr.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/Build/source/texk/ps2pk/strexpr.h b/Build/source/texk/ps2pk/strexpr.h
new file mode 100644
index 00000000000..6012a8be56f
--- /dev/null
+++ b/Build/source/texk/ps2pk/strexpr.h
@@ -0,0 +1,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);