this repo has no description
1/* Copyright (c) Facebook, Inc. and its affiliates. (http://www.facebook.com) */
2#pragma once
3
4#include "globals.h"
5#include "runtime.h"
6
7namespace py {
8
9RawObject memoryviewGetitem(Thread* thread, const MemoryView& view, word index);
10RawObject memoryviewGetslice(Thread* thread, const MemoryView& view, word start,
11 word stop, word step);
12word memoryviewItemsize(Thread* thread, const MemoryView& view);
13RawObject memoryviewSetitem(Thread* thread, const MemoryView& view, word index,
14 const Object& value);
15RawObject memoryviewSetslice(Thread* thread, const MemoryView& view, word start,
16 word stop, word step, word slice_len,
17 const Object& value);
18
19void initializeMemoryViewType(Thread* thread);
20
21} // namespace py