diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2024-10-29 23:14:31 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2024-10-29 23:14:31 -0400 |
| commit | 9ebb039a81f5ea06e97d84ef7ee447da9dfca204 (patch) | |
| tree | dc229247feb19ddec117e3c680dd1c13a40dbdd1 /stdlib/text.h | |
| parent | 3e019df9f429caef4b05947cc70652634ebb2467 (diff) | |
Fix up some GCC compiler flag options for LTO and inlining
Diffstat (limited to 'stdlib/text.h')
| -rw-r--r-- | stdlib/text.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stdlib/text.h b/stdlib/text.h index e915eefd..4483c59e 100644 --- a/stdlib/text.h +++ b/stdlib/text.h @@ -56,7 +56,7 @@ Text_t Text$repeat(Text_t text, Int_t count); int32_t Text$get_grapheme_fast(TextIter_t *state, int64_t index); uint32_t Text$get_main_grapheme_fast(TextIter_t *state, int64_t index); -static inline int32_t Text$get_grapheme(Text_t text, int64_t index) +static INLINE int32_t Text$get_grapheme(Text_t text, int64_t index) { TextIter_t state = {text, 0, 0}; return Text$get_grapheme_fast(&state, index); |
