ui/winui/util.h@b84cbe57e0bd
ui/winui/util.h
Mon, 29 Sep 2025 21:14:46 +0200
- author
- Olaf Wintermann <olaf.wintermann@gmail.com>
- date
- Mon, 29 Sep 2025 21:14:46 +0200
- changeset 779
- b84cbe57e0bd
- parent 250
-
d2068517fbdd
- permissions
- -rw-r--r--
change UiCellValue from struct to union and pass it as pointer to the onsave function, for better compatibility with other languages
#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);