summaryrefslogtreecommitdiff
path: root/src/shared.h
diff options
context:
space:
mode:
author@syxhe <https://t.me/syxhe>2025-01-10 01:56:29 -0600
committer@syxhe <https://t.me/syxhe>2025-01-10 01:56:29 -0600
commit2db78bbbfa11f334c09b15c3918f3cda172b637c (patch)
treefcd0f64de1d2d44f113b6eef256265cf974235c7 /src/shared.h
parentfa458059e57801dceb63a4ce0ddaef8ad5a49eb2 (diff)
Create a dictionary of password words
Diffstat (limited to 'src/shared.h')
-rw-r--r--src/shared.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/shared.h b/src/shared.h
index 684fb9f..05ab58c 100644
--- a/src/shared.h
+++ b/src/shared.h
@@ -4,6 +4,8 @@
4#include <stddef.h> 4#include <stddef.h>
5#include <stdarg.h> 5#include <stdarg.h>
6 6
7#define STATICARRAY_SIZE(arr) (sizeof((arr))/sizeof((arr)[0]))
8
7// Defines how `x___alloc()` functions should exit. `___VXGG___XCALLOC_EXIT_ON_ERROR___ > 0` calls `error()`, and thus functions 9// Defines how `x___alloc()` functions should exit. `___VXGG___XCALLOC_EXIT_ON_ERROR___ > 0` calls `error()`, and thus functions
8// registered with `atexit()` and `on_exit()`. `___VXGG___XCALLOC_EXIT_ON_ERROR___ <= 0` calls `abort()` on error. `xcalloc()` 10// registered with `atexit()` and `on_exit()`. `___VXGG___XCALLOC_EXIT_ON_ERROR___ <= 0` calls `abort()` on error. `xcalloc()`
9// will ALWAYS 'abort', doing otherwise defeats the purpose of the function 11// will ALWAYS 'abort', doing otherwise defeats the purpose of the function