1
0
mirror of https://github.com/janet-lang/janet synced 2024-11-18 22:54:49 +00:00

Expose signal, type, and status name arrays.

Makes it easier to print status stuff.
This commit is contained in:
Calvin Rose 2019-06-02 20:05:17 -04:00
parent 22eb8372dd
commit 13667292c6

View File

@ -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);