Revert "internals: Support characters beyond the first unicode plane (WIP)"

This reverts commit d05c59f35b.
This commit is contained in:
Solomon Peachy 2025-08-20 16:09:49 -04:00
parent d05c59f35b
commit 84504c7471
44 changed files with 335 additions and 480 deletions

View file

@ -141,7 +141,6 @@ RB_WRAP(touchscreen_mode)
#endif
// XXX this may be broken with 32-bit ucschar_t
RB_WRAP(kbd_input)
{
/*kbd_input(text, layout)*
@ -169,7 +168,7 @@ RB_WRAP(kbd_input)
layout = NULL;
}
if(!rb->kbd_input(buffer, LUAL_BUFFERSIZE, (ucschar_t *)layout))
if(!rb->kbd_input(buffer, LUAL_BUFFERSIZE, (unsigned short *)layout))
{
luaL_addstring(&b, buffer);
luaL_pushresult(&b);