mirror of
https://github.com/neovim/neovim.git
synced 2026-02-06 12:31:38 +10:00
Done by manual inspection of the output of this script: grep -r -l -w "bool\|true\|false" * | grep 'c$\|h$' > has_bool grep -r -l "stdbool.h" * | grep 'c$\|h$' > has_include grep -F -x -v -f has_include has_bool
17 lines
378 B
C
17 lines
378 B
C
#ifndef NVIM_ARABIC_H
|
|
#define NVIM_ARABIC_H
|
|
|
|
#include <stdbool.h>
|
|
|
|
/// Whether c belongs to the range of Arabic characters that might be shaped.
|
|
static inline bool arabic_char(int c)
|
|
{
|
|
// return c >= a_HAMZA && c <= a_MINI_ALEF;
|
|
return c >= 0x0621 && c <= 0x0670;
|
|
}
|
|
|
|
#ifdef INCLUDE_GENERATED_DECLARATIONS
|
|
# include "arabic.h.generated.h"
|
|
#endif
|
|
#endif // NVIM_ARABIC_H
|