diff options
Diffstat (limited to 'include/common.h')
-rw-r--r-- | include/common.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/common.h b/include/common.h index 0a8ba20..34260c9 100644 --- a/include/common.h +++ b/include/common.h @@ -234,6 +234,9 @@ const char *readFile(const char *path); int strCreateFunc(const char *equ); +template<typename N, size_t s> +size_t arrAmt(N (&)[s]){return s;} + extern void *NULLPTR; #endif // COMMON_H |