Missing FMT_API.

This commit is contained in:
Barry Revzin 2022-01-30 00:50:55 -06:00
parent 3af0ce4219
commit da925e0211
2 changed files with 5 additions and 5 deletions

View File

@ -2577,10 +2577,10 @@ struct singleton {
unsigned char lower_count;
};
FMT_FUNC auto is_printable(uint16_t x, const singleton* singletons,
size_t singletons_size,
const unsigned char* singleton_lowers,
const unsigned char* normal, size_t normal_size)
inline auto is_printable(uint16_t x, const singleton* singletons,
size_t singletons_size,
const unsigned char* singleton_lowers,
const unsigned char* normal, size_t normal_size)
-> bool {
auto upper = x >> 8;
auto lower_start = 0;

View File

@ -1368,7 +1368,7 @@ auto write_ptr(OutputIt out, UIntPtr value,
}
// Returns true iff the code point cp is printable.
auto is_printable(uint32_t cp) -> bool;
FMT_API auto is_printable(uint32_t cp) -> bool;
inline auto needs_escape(uint32_t cp) -> bool {
return cp < 0x20 || cp == 0x7f || cp == '"' || cp == '\\' ||