/cvmfs/atlas.cern.ch/repo/sw/ASG/AnalysisBase/2.4.30/CxxUtils/CxxUtils/libcalg/compare-int.h File Reference

Go to the source code of this file.

Functions

int int_equal (void *location1, void *location2)
int int_compare (void *location1, void *location2)

Detailed Description

Comparison functions for pointers to integers.

To find the difference between two values pointed at, use int_compare.

To find if two values pointed at are equal, use int_equal.


Function Documentation

int int_compare ( void *  location1,
void *  location2 
)

Compare the integer values pointed at by two pointers.

Parameters:
location1 Pointer to the first value to compare.
location2 Pointer to the second value to compare.
Returns:
A negative value if the first value is less than the second value, a positive value if the first value is greater than the second value, zero if they are equal.
int int_equal ( void *  location1,
void *  location2 
)

Compare the integer values pointed at by two pointers to determine if they are equal.

Parameters:
location1 Pointer to the first value to compare.
location2 Pointer to the second value to compare.
Returns:
Non-zero if the two values are equal, zero if the two values are not equal.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 15 Apr 2017 for RootCore Packages by  doxygen 1.6.1