ui/winui/util.h

Mon, 16 Sep 2024 22:09:32 +0200

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Mon, 16 Sep 2024 22:09:32 +0200
branch
newapi
changeset 298
c5e207d01ff2
parent 250
d2068517fbdd
permissions
-rw-r--r--

port button, text to gtk4

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

mercurial