ui/winui/util.h

Thu, 12 Dec 2024 11:23:33 +0100

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Thu, 12 Dec 2024 11:23:33 +0100
branch
newapi
changeset 412
138b1089ba05
parent 250
d2068517fbdd
permissions
-rw-r--r--

fix glib version check that resulted in build failures with older gtk/glib versions

#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