summaryrefslogtreecommitdiff
path: root/src/bin/termptydbl.h
diff options
context:
space:
mode:
authorBoris Faure <boris@fau.re>2017-07-06 20:55:02 +0200
committerBoris Faure <boris@fau.re>2017-07-06 21:37:56 +0200
commit6f1a2dd45201c3b8432a1e84ca9fd144bdff8483 (patch)
tree526fd6f16dfd1522dd22ec2a57d6646ee7c8d4df /src/bin/termptydbl.h
parent3cafc4272d6b1600f323eb785e76a662bc7818f2 (diff)
constify
Diffstat (limited to 'src/bin/termptydbl.h')
-rw-r--r--src/bin/termptydbl.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/termptydbl.h b/src/bin/termptydbl.h
index 635b8cc..142e16c 100644
--- a/src/bin/termptydbl.h
+++ b/src/bin/termptydbl.h
@@ -1,10 +1,10 @@
1#ifndef _TERMPTY_DBL_H__ 1#ifndef _TERMPTY_DBL_H__
2#define _TERMPTY_DBL_H__ 1 2#define _TERMPTY_DBL_H__ 1
3 3
4Eina_Bool _termpty_is_dblwidth_slow_get(Termpty *ty, int g); 4Eina_Bool _termpty_is_dblwidth_slow_get(const Termpty *ty, int g);
5 5
6static inline Eina_Bool 6static inline Eina_Bool
7_termpty_is_dblwidth_get(Termpty *ty, int g) 7_termpty_is_dblwidth_get(const Termpty *ty, int g)
8{ 8{
9 // check for east asian full-width (F), half-width (H), wide (W), 9 // check for east asian full-width (F), half-width (H), wide (W),
10 // narrow (Na) or ambiguous (A) codepoints 10 // narrow (Na) or ambiguous (A) codepoints