#define RL_BRACKET_TYPE(list) ((list)->bracket_type)
#define RL_ISOLATE_LEVEL(list) ((list)->isolate_level)
+/* Pairing nodes are used for holding a pair of open/close brackets as
+ described in BD16. */
+struct _FriBidiPairingNodeStruct {
+ FriBidiRun *open;
+ FriBidiRun *close;
+ struct _FriBidiPairingNodeStruct *next;
+};
+typedef struct _FriBidiPairingNodeStruct FriBidiPairingNode;
+
static FriBidiRun *
merge_with_prev (
FriBidiRun *second
return FRIBIDI_PAR_ON;
}
-/* Pairing nodes are used for holding a pair of open/close brackets as
- described in BD16. */
-struct _FriBidiPairingNodeStruct {
- FriBidiRun *open;
- FriBidiRun *close;
- struct _FriBidiPairingNodeStruct *next;
-};
-typedef struct _FriBidiPairingNodeStruct FriBidiPairingNode;
-
/* Push a new entry to the pairing linked list */
static FriBidiPairingNode * pairing_nodes_push(FriBidiPairingNode *nodes,
FriBidiRun *open,