summaryrefslogtreecommitdiff
path: root/source/luametatex/source/tex/texlinebreak.c
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2022-12-01 13:43:10 +0100
committerContext Git Mirror Bot <phg@phi-gamma.net>2022-12-01 13:43:10 +0100
commit08fa92c1c94d9faddee48590a1a20506e89c191c (patch)
tree12bbf6fa56b69c47340d4c15f8f601be2d9487b5 /source/luametatex/source/tex/texlinebreak.c
parent2593c827482f6c5a315d504cd5316879d6172656 (diff)
downloadcontext-08fa92c1c94d9faddee48590a1a20506e89c191c.tar.gz
2022-12-01 12:41:00
Diffstat (limited to 'source/luametatex/source/tex/texlinebreak.c')
-rw-r--r--source/luametatex/source/tex/texlinebreak.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/luametatex/source/tex/texlinebreak.c b/source/luametatex/source/tex/texlinebreak.c
index 2e0c945a7..7c9e6b768 100644
--- a/source/luametatex/source/tex/texlinebreak.c
+++ b/source/luametatex/source/tex/texlinebreak.c
@@ -1372,7 +1372,7 @@ halfword tex_badness(scaled t, scaled s)
}
}
-static inline void tex_split_line_break_criterium(halfword criterium, halfword *semi_tight, halfword *decent, halfword *semi_loose, halfword *loose) {
+inline static void tex_split_line_break_criterium(halfword criterium, halfword *semi_tight, halfword *decent, halfword *semi_loose, halfword *loose) {
*semi_tight = (criterium >> 24) & 0x7F;
*decent = (criterium >> 16) & 0x7F;
*semi_loose = (criterium >> 8) & 0x7F;
@@ -1391,7 +1391,7 @@ static inline void tex_split_line_break_criterium(halfword criterium, halfword *
}
}
-static inline halfword tex_normalized_loose_badness(halfword b, halfword loose, halfword semi_loose, halfword decent)
+inline static halfword tex_normalized_loose_badness(halfword b, halfword loose, halfword semi_loose, halfword decent)
{
// if (b > loose_criterium) {
// return very_loose_fit;
@@ -1411,7 +1411,7 @@ static inline halfword tex_normalized_loose_badness(halfword b, halfword loose,
}
}
-static inline halfword tex_normalized_tight_badness(halfword b, halfword decent, halfword semi_tight)
+inline static halfword tex_normalized_tight_badness(halfword b, halfword decent, halfword semi_tight)
{
// if (b > decent_criterium) {
// return tight_fit;