C macros that turn any basic C type array to a max-heap or min-heap.