diff options
author | Luminarys <kizunanohikari@gmail.com> | 2015-08-24 15:44:58 -0500 |
---|---|---|
committer | Luminarys <kizunanohikari@gmail.com> | 2015-08-24 15:44:58 -0500 |
commit | 7c5b6f8c5285c1ddb8604875a48c7798367cf8ad (patch) | |
tree | 0c193e7e81b497510e7e4927df5e105749ae8b24 /include | |
parent | dbad30a409b83d2e327e5eb2a53b46f12e462258 (diff) | |
download | sway-7c5b6f8c5285c1ddb8604875a48c7798367cf8ad.tar.xz |
Added in backtrace printing
Diffstat (limited to 'include')
-rw-r--r-- | include/log.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/log.h b/include/log.h index 3d77769c..945ad239 100644 --- a/include/log.h +++ b/include/log.h @@ -16,6 +16,7 @@ void sway_log(log_importance_t verbosity, const char* format, ...) __attribute__ void sway_log_errno(log_importance_t verbosity, char* format, ...) __attribute__((format(printf,2,3))); void sway_abort(const char* format, ...) __attribute__((format(printf,1,2))); bool sway_assert(bool condition, const char* format, ...) __attribute__((format(printf,2,3))); +void error_handler(int sig); void layout_log(const swayc_t *c, int depth); #endif |