ui/winui/util.h

Fri, 15 Nov 2024 21:50:20 +0100

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Fri, 15 Nov 2024 21:50:20 +0100
changeset 86
8e7c57c23133
parent 27
c254ed644edf
permissions
-rw-r--r--

add reference counting to download window

#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