diff options
author | behdad <behdad> | 2002-08-01 13:39:27 +0000 |
---|---|---|
committer | behdad <behdad> | 2002-08-01 13:39:27 +0000 |
commit | d3ed07883cc5c4acd77606ef44108bc6931b191a (patch) | |
tree | f093afbd3448e4018a2ef63c0bd29e1216fb54dc /fribidi_types.c | |
parent | 94b53ca00735f562bd9000acd4ac36b0bfb030af (diff) |
Added FRIBIDI_API and FRIBIDI_EXPORT symbols.
Diffstat (limited to 'fribidi_types.c')
-rw-r--r-- | fribidi_types.c | 27 |
1 files changed, 4 insertions, 23 deletions
diff --git a/fribidi_types.c b/fribidi_types.c index 8cfdbec..f1e2c7c 100644 --- a/fribidi_types.c +++ b/fribidi_types.c @@ -118,30 +118,11 @@ fribidi_type_name (FriBidiCharType c) #undef _FRIBIDI_CASE } -/* Map fribidi_prop_types to fribidi_types, the order of types here should - be the same as enum FriBidiPropEnum in fribidi_types.h */ +/* Map fribidi_prop_types to fribidi_types. */ static FriBidiCharType fribidi_prop_to_type_array[] = { - FRIBIDI_TYPE_LTR, /* Strong left to right */ - FRIBIDI_TYPE_RTL, /* Right to left characters */ - FRIBIDI_TYPE_AL, /* Arabic characters */ - FRIBIDI_TYPE_LRE, /* Left-To-Right embedding */ - FRIBIDI_TYPE_RLE, /* Right-To-Left embedding */ - FRIBIDI_TYPE_LRO, /* Left-To-Right override */ - FRIBIDI_TYPE_RLO, /* Right-To-Left override */ - FRIBIDI_TYPE_PDF, /* Pop directional override */ - FRIBIDI_TYPE_EN, /* European digit */ - FRIBIDI_TYPE_AN, /* Arabic digit */ - FRIBIDI_TYPE_ES, /* European number separator */ - FRIBIDI_TYPE_ET, /* European number terminator */ - FRIBIDI_TYPE_CS, /* Common Separator */ - FRIBIDI_TYPE_NSM, /* Non spacing mark */ - FRIBIDI_TYPE_BN, /* Boundary neutral */ - FRIBIDI_TYPE_BS, /* Block separator */ - FRIBIDI_TYPE_SS, /* Segment separator */ - FRIBIDI_TYPE_WS, /* Whitespace */ - FRIBIDI_TYPE_ON, /* Other Neutral */ - FRIBIDI_TYPE_WL, /* Weak left to right */ - FRIBIDI_TYPE_WR, /* Weak right to left */ +#define _FRIBIDI_ADD_TYPE(TYPE) FRIBIDI_TYPE_##TYPE, +#include "fribidi_types.i" +#undef _FRIBIDI_ADD_TYPE }; FriBidiCharType *fribidi_prop_to_type = fribidi_prop_to_type_array; |