GNU Octave  4.4.1
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
konsole_wcwidth.h
Go to the documentation of this file.
1 /* $XFree86: xc/programs/xterm/wcwidth.h,v 1.2 2001/06/18 19:09:27 dickey Exp $ */
2 
3 /* Markus Kuhn -- 2001-01-12 -- public domain */
4 /* Adaptions for KDE by Waldo Bastian <bastian@kde.org> */
5 /*
6  Rewritten for QT4 by e_k <e_k at users.sourceforge.net>
7 */
8 
9 
10 #ifndef _KONSOLE_WCWIDTH_H_
11 #define _KONSOLE_WCWIDTH_H_
12 
13 // Qt
14 #include <QtCore/QString>
15 
16 int konsole_wcwidth(quint16 ucs);
17 #if 0
18 int konsole_wcwidth_cjk(Q_UINT16 ucs);
19 #endif
20 
21 int string_width( const QString &txt );
22 
23 #endif
int string_width(const QString &txt)
int konsole_wcwidth(quint16 ucs)