diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2024-09-06 14:41:34 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2024-09-06 14:41:34 -0400 |
| commit | 176205a22de8bc356109edc2aceaaa07ae1d24a4 (patch) | |
| tree | 25d1f9052c940be4fcd8d38a38d23e377d6d7c56 /builtins/functions.h | |
| parent | 817235cfbc3162e136d53ec5bffe234d4d87c79b (diff) | |
Print stack trace if $TOMO_STACKTRACE is set
Diffstat (limited to 'builtins/functions.h')
| -rw-r--r-- | builtins/functions.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/builtins/functions.h b/builtins/functions.h index 372c42c4..e41326c2 100644 --- a/builtins/functions.h +++ b/builtins/functions.h @@ -28,5 +28,6 @@ Text_t generic_as_text(const void *obj, bool colorize, const TypeInfo *type); int generic_print(const void *obj, bool colorize, const TypeInfo *type); closure_t spawn(closure_t fn); bool pop_flag(char **argv, int *i, const char *flag, Text_t *result); +void print_stack_trace(FILE *out, int start, int stop); // vim: ts=4 sw=0 et cino=L2,l1,(0,W4,m1,\:0 |
