libplist  2.7.0
API Documentation - Return to Homepage

◆ plist_int_val_compare()

PLIST_API int plist_int_val_compare ( plist_t  uintnode,
int64_t  cmpval 
)

Helper function to compare the value of a PLIST_INT node against a given signed integer value.

Parameters
uintnodenode of type PLIST_INT
cmpvalvalue to compare against
Returns
0 if the node's value and cmpval are equal, 1 if the node's value is greater than cmpval, or -1 if the node's value is less than cmpval.