summaryrefslogtreecommitdiffstats
path: root/docs/nspr/reference/prunichar.rst
blob: 35ebf415627014e5146c46446f8cafc2b4fb4bef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
PRUnichar
=========

An unsigned 16-bit type, like ``char`` in Java or the "characters" of a
JavaScript string defined in
`/mozilla/xpcom/base/nscore.h <http://hg.mozilla.org/mozilla-central/file/d35b4d003e9e/xpcom/base/nscore.h>`__.


Syntax
------

.. code::

   #if defined(NS_WIN32)
     typedef wchar_t PRUnichar;
   #else
     typedef PRUInt16 PRUnichar;
   #endif