diff options
author | lonkaars <loek@pipeframe.xyz> | 2022-06-06 20:48:20 +0200 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2022-06-06 20:48:20 +0200 |
commit | fedc13d6564dcf110ba3b7faca3c34a28c7905cb (patch) | |
tree | 422a499d46e5e63618201054218300e04ed134fe /client/errcatch.h | |
parent | ae8beb20a2a837824cfda4d748fbe07b26a161f0 (diff) |
error logging working
Diffstat (limited to 'client/errcatch.h')
-rw-r--r-- | client/errcatch.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/client/errcatch.h b/client/errcatch.h new file mode 100644 index 0000000..71eb56d --- /dev/null +++ b/client/errcatch.h @@ -0,0 +1,8 @@ +#pragma once + +#include "../shared/errcatch.h" + +#define W2_ERRCATCH_LOG_SIZE 256 + +extern w2_s_error *g_w2_error_log[W2_ERRCATCH_LOG_SIZE]; +extern unsigned int g_w2_error_log_index; |