From 745a76a7b317491d60ebaaba927cbbe2959a1635 Mon Sep 17 00:00:00 2001 From: Robin Haberkorn Date: Mon, 9 Sep 2024 17:44:50 +0200 Subject: 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 --- src/interface.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/interface.h') 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); } -- cgit v1.2.3