this repo has no description
1/* Copyright (c) Facebook, Inc. and its affiliates. (http://www.facebook.com) */
2#pragma once
3
4#include "frame.h"
5#include "globals.h"
6#include "objects.h"
7#include "runtime.h"
8#include "thread.h"
9
10namespace py {
11
12RawObject tupleContains(Thread* thread, const Tuple& tuple,
13 const Object& value);
14
15// Return the next item from the iterator, or Error if there are no items left.
16RawObject tupleIteratorNext(Thread* thread, const TupleIterator& iter);
17
18// Return a slice of the given tuple.
19RawObject tupleSlice(Thread* thread, const Tuple& tuple, word start, word stop,
20 word step);
21
22RawObject tupleHash(Thread* thread, const Tuple& tuple);
23
24void initializeTupleTypes(Thread* thread);
25
26} // namespace py