mc/slang/sllower.c
2009-01-10 20:53:19 +01:00

18 lines
322 B
C

#include "slinclud.h"
#include <ctype.h>
#include "slang.h"
#include "_slang.h"
#define DEFINE_PSLWC_TOLOWER_TABLE
#include "sllower.h"
#define MODE_VARIABLE _pSLinterp_UTF8_Mode
SLwchar_Type SLwchar_tolower (SLwchar_Type ch)
{
if (MODE_VARIABLE)
return ch + SL_TOLOWER_LOOKUP(ch);
return tolower(ch);
}