ui/winui/util.h@35e098a663a7
ui/winui/util.h
Thu, 28 May 2026 18:07:00 +0200
- author
- Olaf Wintermann <olaf.wintermann@gmail.com>
- date
- Thu, 28 May 2026 18:07:00 +0200
- changeset 1146
- 35e098a663a7
- parent 250
-
d2068517fbdd
- permissions
- -rw-r--r--
add warning when ui_init/ui_main are not called from the main thread (Cocoa)
#pragma once
#include <stdlib.h>
wchar_t* str2wstr(const char* str, int* newlen);
wchar_t* str2wstr_len(const char* str, size_t len, int* newlen);
char* wchar2utf8(const wchar_t* wstr, size_t wlen);