Changeset View
Changeset View
Standalone View
Standalone View
extern/wcwidth/wcwidth.h
| Show All 14 Lines | |||||
| * | * | ||||
| * The Original Code is Copyright (C) 2013 Blender Foundation. | * The Original Code is Copyright (C) 2013 Blender Foundation. | ||||
| * All rights reserved. | * All rights reserved. | ||||
| */ | */ | ||||
| #ifndef __WCWIDTH_H__ | #ifndef __WCWIDTH_H__ | ||||
| #define __WCWIDTH_H__ | #define __WCWIDTH_H__ | ||||
| #include <wchar.h> | #include <uchar.h> | ||||
| int mk_wcwidth(wchar_t ucs); | int mk_wcwidth(char32_t ucs); | ||||
| int mk_wcswidth(const wchar_t *pwcs, size_t n); | int mk_wcswidth(const char32_t *pwcs, size_t n); | ||||
| int mk_wcwidth_cjk(wchar_t ucs); | int mk_wcwidth_cjk(char32_t ucs); | ||||
| int mk_wcswidth_cjk(const wchar_t *pwcs, size_t n); | int mk_wcswidth_cjk(const char32_t *pwcs, size_t n); | ||||
| #endif | #endif | ||||