new implementation of UNICODE BIDIRECTIONAL ALGORITHM

This commit is contained in:
Vincent Wei
2019-03-08 20:37:44 +08:00
parent 0093ac3edc
commit cc01ce0bbc
5 changed files with 156 additions and 43 deletions

View File

@@ -46,8 +46,7 @@
extern "C" {
#endif /* __cplusplus */
//#define ARABIC_DEBUG
#ifdef ARABIC_DEBUG
#ifdef BIDI_DEBUG
#define DBGLOG(s) do { if (1) { fprintf(stderr, s); } } while (0)
#define DBGLOG2(s, t1) do { if (1) { fprintf(stderr, s, t1); } } while (0)
#define DBGLOG3(s, t1,t2) do { if (1) { fprintf(stderr, s, t1,t2); } } while (0)