ui/winui/util.h

Tue, 30 Jan 2024 13:10:16 +0100

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Tue, 30 Jan 2024 13:10:16 +0100
branch
newapi
changeset 241
c51dd0e9ecb7
parent 224
88bc21b19213
child 250
d2068517fbdd
permissions
-rw-r--r--

add support for table string values, that need to be freed

#pragma once

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);

mercurial