aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/interface.h
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2024-09-09 17:44:50 +0200
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2024-09-09 18:22:21 +0200
commit745a76a7b317491d60ebaaba927cbbe2959a1635 (patch)
tree30270f195e586ac4a912cae8ead6fa8ae611e85a /src/interface.h
parent4f231871a0208ec9bcc2679fce25d3b9795d1597 (diff)
downloadsciteco-745a76a7b317491d60ebaaba927cbbe2959a1635.tar.gz
teco_glyphs2bytes() and teco_bytes2glyphs() renamed to teco_interface_glyphs2bytes() and teco_interface_bytes2glyphs() (refs #5)
* for consistency with all the other teco_view wrappers in interface.h
Diffstat (limited to 'src/interface.h')
-rw-r--r--src/interface.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/interface.h b/src/interface.h
index bbefe88..32db6b5 100644
--- a/src/interface.h
+++ b/src/interface.h
@@ -161,19 +161,19 @@ teco_interface_get_codepage(void)
}
static inline gssize
-teco_glyphs2bytes(teco_int_t pos)
+teco_interface_glyphs2bytes(teco_int_t pos)
{
return teco_view_glyphs2bytes(teco_interface_current_view, pos);
}
static inline teco_int_t
-teco_bytes2glyphs(gsize pos)
+teco_interface_bytes2glyphs(gsize pos)
{
return teco_view_bytes2glyphs(teco_interface_current_view, pos);
}
static inline gssize
-teco_glyphs2bytes_relative(gsize pos, teco_int_t n)
+teco_interface_glyphs2bytes_relative(gsize pos, teco_int_t n)
{
return teco_view_glyphs2bytes_relative(teco_interface_current_view, pos, n);
}