ui/winui/util.h@8be7fd628fbc
ui/winui/util.h
Fri, 15 Nov 2024 21:23:16 +0100
- author
- Olaf Wintermann <olaf.wintermann@gmail.com>
- date
- Fri, 15 Nov 2024 21:23:16 +0100
- branch
- newapi
- changeset 384
- 8be7fd628fbc
- parent 250
-
d2068517fbdd
- permissions
- -rw-r--r--
start UiObject ref with 0 and increases ref with ui_show
#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);