mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-24 16:31:14 +01:00
[utf] inline some
This commit is contained in:
1 parent
c6e3f5a82c
commit
772279df44
1 file changed
+10
-10
+10
-10
@@ -37,7 +37,7 @@ struct hb_utf8_t
|
||||
typedef uint8_t codepoint_t;
|
||||
static constexpr unsigned max_len = 4;
|
||||
|
||||
static const codepoint_t *
|
||||
static inline const codepoint_t *
|
||||
next (const codepoint_t *text,
|
||||
const codepoint_t *end,
|
||||
hb_codepoint_t *unicode,
|
||||
@@ -106,7 +106,7 @@ struct hb_utf8_t
|
||||
return text;
|
||||
}
|
||||
|
||||
static const codepoint_t *
|
||||
static inline const codepoint_t *
|
||||
prev (const codepoint_t *text,
|
||||
const codepoint_t *start,
|
||||
hb_codepoint_t *unicode,
|
||||
@@ -185,7 +185,7 @@ struct hb_utf16_xe_t
|
||||
typedef TCodepoint codepoint_t;
|
||||
static constexpr unsigned max_len = 2;
|
||||
|
||||
static const codepoint_t *
|
||||
static inline const codepoint_t *
|
||||
next (const codepoint_t *text,
|
||||
const codepoint_t *end,
|
||||
hb_codepoint_t *unicode,
|
||||
@@ -217,7 +217,7 @@ struct hb_utf16_xe_t
|
||||
return text;
|
||||
}
|
||||
|
||||
static const codepoint_t *
|
||||
static inline const codepoint_t *
|
||||
prev (const codepoint_t *text,
|
||||
const codepoint_t *start,
|
||||
hb_codepoint_t *unicode,
|
||||
@@ -294,7 +294,7 @@ struct hb_utf32_xe_t
|
||||
typedef TCodepoint codepoint_t;
|
||||
static constexpr unsigned max_len = 1;
|
||||
|
||||
static const TCodepoint *
|
||||
static inline const TCodepoint *
|
||||
next (const TCodepoint *text,
|
||||
const TCodepoint *end HB_UNUSED,
|
||||
hb_codepoint_t *unicode,
|
||||
@@ -306,7 +306,7 @@ struct hb_utf32_xe_t
|
||||
return text;
|
||||
}
|
||||
|
||||
static const TCodepoint *
|
||||
static inline const TCodepoint *
|
||||
prev (const TCodepoint *text,
|
||||
const TCodepoint *start HB_UNUSED,
|
||||
hb_codepoint_t *unicode,
|
||||
@@ -353,7 +353,7 @@ struct hb_latin1_t
|
||||
typedef uint8_t codepoint_t;
|
||||
static constexpr unsigned max_len = 1;
|
||||
|
||||
static const codepoint_t *
|
||||
static inline const codepoint_t *
|
||||
next (const codepoint_t *text,
|
||||
const codepoint_t *end HB_UNUSED,
|
||||
hb_codepoint_t *unicode,
|
||||
@@ -363,7 +363,7 @@ struct hb_latin1_t
|
||||
return text;
|
||||
}
|
||||
|
||||
static const codepoint_t *
|
||||
static inline const codepoint_t *
|
||||
prev (const codepoint_t *text,
|
||||
const codepoint_t *start HB_UNUSED,
|
||||
hb_codepoint_t *unicode,
|
||||
@@ -405,7 +405,7 @@ struct hb_ascii_t
|
||||
typedef uint8_t codepoint_t;
|
||||
static constexpr unsigned max_len = 1;
|
||||
|
||||
static const codepoint_t *
|
||||
static inline const codepoint_t *
|
||||
next (const codepoint_t *text,
|
||||
const codepoint_t *end HB_UNUSED,
|
||||
hb_codepoint_t *unicode,
|
||||
@@ -417,7 +417,7 @@ struct hb_ascii_t
|
||||
return text;
|
||||
}
|
||||
|
||||
static const codepoint_t *
|
||||
static inline const codepoint_t *
|
||||
prev (const codepoint_t *text,
|
||||
const codepoint_t *start HB_UNUSED,
|
||||
hb_codepoint_t *unicode,
|
||||
|
||||
Reference in new issue
Block a user