sllower.c 322 B

1234567891011121314151617
  1. #include "slinclud.h"
  2. #include <ctype.h>
  3. #include "slang.h"
  4. #include "_slang.h"
  5. #define DEFINE_PSLWC_TOLOWER_TABLE
  6. #include "sllower.h"
  7. #define MODE_VARIABLE _pSLinterp_UTF8_Mode
  8. SLwchar_Type SLwchar_tolower (SLwchar_Type ch)
  9. {
  10. if (MODE_VARIABLE)
  11. return ch + SL_TOLOWER_LOOKUP(ch);
  12. return tolower(ch);
  13. }