mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-23 04:46:55 +03:00
19 lines
321 B
C
19 lines
321 B
C
#include "slinclud.h"
|
|
#include <ctype.h>
|
|
|
|
#include "slang.h"
|
|
#include "_slang.h"
|
|
|
|
#define DEFINE_PSLWC_TOUPPER_TABLE
|
|
#include "slupper.h"
|
|
|
|
|
|
#define MODE_VARIABLE _pSLinterp_UTF8_Mode
|
|
SLwchar_Type SLwchar_toupper (SLwchar_Type ch)
|
|
{
|
|
if (MODE_VARIABLE)
|
|
return ch + SL_TOUPPER_LOOKUP(ch);
|
|
|
|
return toupper (ch);
|
|
}
|