prunichar.rst (371B)
1 PRUnichar 2 ========= 3 4 An unsigned 16-bit type, like ``char`` in Java or the "characters" of a 5 JavaScript string defined in 6 `/mozilla/xpcom/base/nscore.h <http://hg.mozilla.org/mozilla-central/file/d35b4d003e9e/xpcom/base/nscore.h>`__. 7 8 9 Syntax 10 ------ 11 12 .. code:: 13 14 #if defined(NS_WIN32) 15 typedef wchar_t PRUnichar; 16 #else 17 typedef PRUInt16 PRUnichar; 18 #endif