this repo has no description
1/* Copyright (c) Facebook, Inc. and its affiliates. (http://www.facebook.com) */
2#pragma once
3
4#include "runtime.h"
5
6namespace py {
7
8void initializeFunctionTypes(Thread* thread);
9
10// Fetches the type associated with the given C-API slot wrapper function. This
11// is used in type checking arguments in slot functions.
12RawObject slotWrapperFunctionType(const Function& function);
13
14// Sets the type associated with the given C-API slot wrapper function. The
15// type will be used in tyope checking arguments in slot functions.
16void slotWrapperFunctionSetType(const Function& function, const Type& type);
17
18} // namespace py