summary refs log tree commit diff
path: root/chat.h
diff options
context:
space:
mode:
authorCurtis McEnroe2018-09-02 01:03:12 -0400
committerCurtis McEnroe2018-09-02 01:03:12 -0400
commite5663d45df15395cc4650937ed2bde8e29257d27 (patch)
tree840d676b9ba3bae5f0674cc4fd290e9cdf4b9808 /chat.h
parent140f6e896daee54abec9d65360964a34ae92bb6b (diff)
Add aswprintf
The format string won't get checked but I'm not sure I can reasonably
use the same hack.
Diffstat (limited to 'chat.h')
-rw-r--r--chat.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/chat.h b/chat.h
index ace82fc..9c0a228 100644
--- a/chat.h
+++ b/chat.h
@@ -169,6 +169,7 @@ wchar_t *ambstowcs(const char *src);
 char *awcstombs(const wchar_t *src);
 char *awcsntombs(const wchar_t *src, size_t nwc);
 int vaswprintf(wchar_t **ret, const wchar_t *format, va_list ap);
+int aswprintf(wchar_t **ret, const wchar_t *format, ...);
 
 // HACK: clang won't check wchar_t *format strings.
 #ifdef NDEBUG