ui/winui/util.h

Fri, 16 Feb 2024 19:37:51 +0100

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Fri, 16 Feb 2024 19:37:51 +0100
branch
newapi
changeset 267
79dd183dd4cb
parent 250
d2068517fbdd
permissions
-rw-r--r--

port textfield to new API (GTK)

#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