Logo Search packages:      
Sourcecode: icu version File versions  Download package

U_STABLE void U_EXPORT2 ubidi_setReorderingOptions ( UBiDi pBiDi,
uint32_t  reorderingOptions 
)

Specify which of the reordering options should be applied during Bidi transformations.

Parameters:
pBiDi is a UBiDi object.
reorderingOptions is a combination of zero or more of the following options: UBIDI_OPTION_DEFAULT, UBIDI_OPTION_INSERT_MARKS, UBIDI_OPTION_REMOVE_CONTROLS, UBIDI_OPTION_STREAMING.
See also:
ubidi_getReorderingOptions ICU 3.6

Definition at line 314 of file ubidi.c.

References NULL, UBIDI_OPTION_INSERT_MARKS, and UBIDI_OPTION_REMOVE_CONTROLS.

                                                                     {
    if (reorderingOptions & UBIDI_OPTION_REMOVE_CONTROLS) {
        reorderingOptions&=~UBIDI_OPTION_INSERT_MARKS;
    }
    if (pBiDi!=NULL) {
        pBiDi->reorderingOptions=reorderingOptions;
    }
}


Generated by  Doxygen 1.6.0   Back to index