Join MDN and developers like you at Mozilla's View Source conference, 12-14 September in Berlin, Germany. Learn more at https://viewsourceconf.org

PL_CompareValues

Compares two void * values numerically.

Syntax

#include <plhash.h>

PRIntn PL_CompareValues(const
  void *v1,
  const void *v2);

Description

PL_CompareValues compares the two void * values v1 and v2 numerically, i.e., it returns the value of the expression v1 == v2.

PL_CompareValues can be used as the comparator function for integer or pointer-valued key or entry value.

Document Tags and Contributors

 Contributors to this page: teoli, Rappo
 Last updated by: teoli,