Logo Search packages:      
Sourcecode: xulrunner-1.9 version File versions

PRUnichar nsTextFragment::CharAt ( PRInt32  aIndex  )  const [inline]

Return the character in the text-fragment at the given index. This always returns a PRUnichar.

Definition at line 182 of file nsTextFragment.h.

    NS_ASSERTION(PRUint32(aIndex) < mState.mLength, "bad index");
    return mState.mIs2b ? m2b[aIndex] : static_cast<unsigned char>(m1b[aIndex]);

Generated by  Doxygen 1.6.0   Back to index