Missing FMT_API.
This commit is contained in:
parent
3af0ce4219
commit
da925e0211
@ -2577,10 +2577,10 @@ struct singleton {
|
|||||||
unsigned char lower_count;
|
unsigned char lower_count;
|
||||||
};
|
};
|
||||||
|
|
||||||
FMT_FUNC auto is_printable(uint16_t x, const singleton* singletons,
|
inline auto is_printable(uint16_t x, const singleton* singletons,
|
||||||
size_t singletons_size,
|
size_t singletons_size,
|
||||||
const unsigned char* singleton_lowers,
|
const unsigned char* singleton_lowers,
|
||||||
const unsigned char* normal, size_t normal_size)
|
const unsigned char* normal, size_t normal_size)
|
||||||
-> bool {
|
-> bool {
|
||||||
auto upper = x >> 8;
|
auto upper = x >> 8;
|
||||||
auto lower_start = 0;
|
auto lower_start = 0;
|
||||||
|
|||||||
@ -1368,7 +1368,7 @@ auto write_ptr(OutputIt out, UIntPtr value,
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Returns true iff the code point cp is printable.
|
// 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 {
|
inline auto needs_escape(uint32_t cp) -> bool {
|
||||||
return cp < 0x20 || cp == 0x7f || cp == '"' || cp == '\\' ||
|
return cp < 0x20 || cp == 0x7f || cp == '"' || cp == '\\' ||
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user