diff options
author | Jo-Philipp Wich <jo@mein.io> | 2020-08-24 12:37:54 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2020-08-25 20:38:10 +0200 |
commit | d86c9ab4c1c7b25cd942c4656626e2feca318857 (patch) | |
tree | 280f238450de50e58fe40675b88754f9b2f71eab /lib.h | |
parent | 765b2f9298d8030b459f53f21d03d00b87ef7310 (diff) |
main.c, lib.c: move error formatting logic to lib.c
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'lib.h')
-rw-r--r-- | lib.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -23,4 +23,6 @@ typedef struct json_object *(ut_c_fn)(struct ut_state *, struct ut_opcode *, str void ut_lib_init(struct ut_state *state, struct json_object *scope); +char *ut_format_error(struct ut_state *state, const char *expr); + #endif /* __LIB_H_ */ |