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

U_STABLE int32_t U_EXPORT2 ubidi_countParagraphs ( UBiDi pBiDi  ) 

Get the number of paragraphs.

Parameters:
pBiDi is the paragraph or line UBiDi object.
Returns:
The number of paragraphs. ICU 3.4

Definition at line 2111 of file ubidi.c.

                                    {
    if(!IS_VALID_PARA_OR_LINE(pBiDi)) {
        return 0;
    } else {
        return pBiDi->paraCount;
    }
}


Generated by  Doxygen 1.6.0   Back to index