#include "pyconfig.h"
#if !defined(Py_GIL_DISABLED) && !defined(Py_LIMITED_API)
#define Py_LIMITED_API …
#endif
#include "parts.h"
#include <stddef.h>
#include <string.h>
static PyType_Slot empty_slots[] = …;
static PyObject *
make_sized_heaptypes(PyObject *module, PyObject *args)
{ … }
static PyObject *
var_heaptype_set_data_to_3s(
PyObject *self, PyTypeObject *defining_class,
PyObject **args, Py_ssize_t nargs, PyObject *kwnames)
{ … }
static PyObject *
var_heaptype_get_data(PyObject *self, PyTypeObject *defining_class,
PyObject **args, Py_ssize_t nargs, PyObject *kwnames)
{ … }
static PyMethodDef var_heaptype_methods[] = …;
static PyObject *
subclass_var_heaptype(PyObject *module, PyObject *args)
{ … }
static PyObject *
subclass_heaptype(PyObject *module, PyObject *args)
{ … }
static PyMemberDef *
heaptype_with_member_extract_and_check_memb(PyObject *self)
{ … }
static PyObject *
heaptype_with_member_get_memb(PyObject *self, PyObject *Py_UNUSED(ignored))
{ … }
static PyObject *
heaptype_with_member_set_memb(PyObject *self, PyObject *value)
{ … }
static PyObject *
get_memb_offset(PyObject *self, PyObject *Py_UNUSED(ignored))
{ … }
static PyObject *
heaptype_with_member_get_memb_relative(PyObject *self, PyObject *Py_UNUSED(ignored))
{ … }
static PyObject *
heaptype_with_member_set_memb_relative(PyObject *self, PyObject *value)
{ … }
static PyMethodDef heaptype_with_member_methods[] = …;
static PyObject *
make_heaptype_with_member(PyObject *module, PyObject *args)
{ … }
static PyObject *
test_alignof_max_align_t(PyObject *module, PyObject *Py_UNUSED(ignored))
{ … }
static PyMethodDef TestMethods[] = …;
int
_PyTestLimitedCAPI_Init_HeaptypeRelative(PyObject *m)
{ … }