summaryrefslogtreecommitdiffstats
path: root/lib.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib.h')
-rw-r--r--lib.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib.h b/lib.h
index eb42e96c..235ab169 100644
--- a/lib.h
+++ b/lib.h
@@ -192,8 +192,12 @@ typedef struct wli wchli_t;
#if LIT_ALIGN < 4
#define wli(lit) ((const wchli_t *) L"\0" L ## lit L"\0")
+#define wini(ini) L"\0" L ## ini L"\0"
+#define wref(arr) ((arr) + 1)
#else
#define wli(lit) ((const wchli_t *) L ## lit)
+#define wini(ini) L ## ini
+#define wref(arr) (arr)
#endif
INLINE val auto_str(const wchli_t *str)