tor-browser

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

pl_comparevalues.rst (495B)


      1 PL_CompareValues
      2 ================
      3 
      4 Compares two ``void *`` values numerically.
      5 
      6 
      7 Syntax
      8 ------
      9 
     10 .. code::
     11 
     12   #include <plhash.h>
     13 
     14   PRIntn PL_CompareValues(const
     15     void *v1,
     16     const void *v2);
     17 
     18 
     19 Description
     20 -----------
     21 
     22 :ref:`PL_CompareValues` compares the two ``void *`` values ``v1`` and
     23 ``v2`` numerically, i.e., it returns the value of the expression ``v1``
     24 == ``v2``.
     25 
     26 :ref:`PL_CompareValues` can be used as the comparator function for integer
     27 or pointer-valued key or entry value.