tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

pr_implement.rst (611B)


      1 PR_IMPLEMENT
      2 ============
      3 
      4 Used to define implementations of symbols that are to be exported from a
      5 shared library.
      6 
      7 
      8 Syntax
      9 ------
     10 
     11 .. code::
     12 
     13   #include <prtypes.h>
     14 
     15   PR_IMPLEMENT(type)implementation
     16 
     17 
     18 Description
     19 -----------
     20 
     21 :ref:`PR_IMPLEMENT` is used to define implementations of externally visible
     22 routines and globals. For syntax details for each platform, see
     23 `prtypes.h <https://searchfox.org/mozilla-central/source/nsprpub/pr/include/prtypes.h>`__.
     24 
     25 .. warning::
     26 
     27   **Warning**: Some platforms do not allow the use of the underscore
     28   character (_) as the first character of an exported symbol.