summaryrefslogtreecommitdiffstats
path: root/docs/nspr/reference/pr_implement.rst
blob: 583716a15b034e4e184525a0f69207747d0787fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
PR_IMPLEMENT
============

Used to define implementations of symbols that are to be exported from a
shared library.


Syntax
------

.. code::

   #include <prtypes.h>

   PR_IMPLEMENT(type)implementation


Description
-----------

:ref:`PR_IMPLEMENT` is used to define implementations of externally visible
routines and globals. For syntax details for each platform, see
`prtypes.h <https://dxr.mozilla.org/mozilla-central/source/nsprpub/pr/include/prtypes.h>`__.

.. warning::

   **Warning**: Some platforms do not allow the use of the underscore
   character (_) as the first character of an exported symbol.