ui/winui/util.h

Sun, 15 Dec 2024 11:59:30 +0100

author
Olaf Winermann <olaf.wintermann@gmail.com>
date
Sun, 15 Dec 2024 11:59:30 +0100
branch
newapi
changeset 416
89ad8467c39f
parent 250
d2068517fbdd
permissions
-rw-r--r--

implement motif menu/menu item

#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