aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorCalvin Rose <calsrose@gmail.com>2019-06-02 20:05:17 -0400
committerCalvin Rose <calsrose@gmail.com>2019-06-02 20:05:17 -0400
commit13667292c675a60db49c72e85802c06cdb19e665 (patch)
treeaf1a3cfcce5bac2f2e7ffc521f3f3edf9f703397
parentMake meson build file do cross compilation. (diff)
Expose signal, type, and status name arrays.
Makes it easier to print status stuff.
-rw-r--r--src/include/janet.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/include/janet.h b/src/include/janet.h
index 6f49918b..c3b5f1f5 100644
--- a/src/include/janet.h
+++ b/src/include/janet.h
@@ -1261,6 +1261,9 @@ JANET_API int janet_verify(JanetFuncDef *def);
/* Pretty printing */
#define JANET_PRETTY_COLOR 1
JANET_API JanetBuffer *janet_pretty(JanetBuffer *buffer, int depth, int flags, Janet x);
+JANET_API const char *const janet_type_names[16];
+JANET_API const char *const janet_signal_names[14];
+JANET_API const char *const janet_status_names[16];
/* Misc */
JANET_API int janet_equals(Janet x, Janet y);