mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-23 04:46:55 +03:00
16 lines
234 B
C
16 lines
234 B
C
|
#include "slinclud.h"
|
||
|
#include <ctype.h>
|
||
|
|
||
|
#include "slang.h"
|
||
|
#include "_slang.h"
|
||
|
|
||
|
#define DEFINE_PSLWC_WIDTH_TABLE
|
||
|
#include "slwcwidth.h"
|
||
|
int SLwchar_wcwidth (SLwchar_Type ch)
|
||
|
{
|
||
|
int w;
|
||
|
|
||
|
SL_WIDTH_ALOOKUP(w,ch);
|
||
|
return w;
|
||
|
}
|