Adding C versions of Range<T>