ui/winui/util.h

Tue, 26 Nov 2024 10:40:45 +0100

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Tue, 26 Nov 2024 10:40:45 +0100
changeset 88
e27526429d85
parent 27
c254ed644edf
permissions
-rw-r--r--

add context menu, implement 'Select All'

#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