1
0
Fork 0
firefox/docs/nspr/reference/pl_comparevalues.rst
Daniel Baumann 5e9a113729
Adding upstream version 140.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:37:52 +02:00

27 lines
495 B
ReStructuredText

PL_CompareValues
================
Compares two ``void *`` values numerically.
Syntax
------
.. code::
#include <plhash.h>
PRIntn PL_CompareValues(const
void *v1,
const void *v2);
Description
-----------
:ref:`PL_CompareValues` compares the two ``void *`` values ``v1`` and
``v2`` numerically, i.e., it returns the value of the expression ``v1``
== ``v2``.
:ref:`PL_CompareValues` can be used as the comparator function for integer
or pointer-valued key or entry value.