From 9019a72350f687bd646d723875fa8833493df45c Mon Sep 17 00:00:00 2001 From: Lewis Van Winkle Date: Thu, 21 Jan 2016 14:49:57 -0600 Subject: [PATCH] More code highlighting. --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 20ddec0..1941787 100644 --- a/README.md +++ b/README.md @@ -114,11 +114,13 @@ This produces the output: TINYEXPR defines only five functions: +```C double te_interp(const char *expression, int *error); te_expr *te_compile(const char *expression, const te_variable *lookup, int lookup_len, int *error); double te_eval(te_expr *n); void te_print(const te_expr *n); void te_free(te_expr *n); +``` **te_interp** takes an expression and immediately returns the result of it. If an error pointer is passed in, *te_interp* will set it to 0 for success or