cmp.c
Implements comparator functions.
- Author: Edward Jones
- Date: 2021-09-17
CMP
Create a generic comparator function.
- Param
name
: Name of the type - Param
type
: Type to compare
Returns: A function which compares two type
s
# define CMP(name, type) Cmp cmp_##name##s(void* v1, void* v2) COMPARISON_BODY(type)