/* Copyright (c) Facebook, Inc. and its affiliates. (http://www.facebook.com) */ #pragma once #include "globals.h" #include "runtime.h" namespace py { // Returns the same value as Slice::length for SmallInt, but allows LargeInt. RawObject rangeLen(Thread* thread, const Object& start_obj, const Object& stop_obj, const Object& step_obj); RawObject rangeIteratorNext(const RangeIterator& iter); void initializeRangeTypes(Thread* thread); } // namespace py