contrib/fuzz/pyutil.h
author Matt Harbison <matt_harbison@yahoo.com>
Fri, 16 Dec 2022 22:07:02 -0500
changeset 49912 2b1476714849
parent 43870 8766728dbce6
permissions -rw-r--r--
typing: add trivial type hints to rest of the windows platform module Skipping the file wrappers for now because there's interplay with C code, and making them subclass `typing.BinaryIO_Proxy` confuses PyCharm a bit.

#include <Python.h>

#if PY_MAJOR_VERSION >= 3
#define PYCODETYPE PyObject
#else
#define PYCODETYPE PyCodeObject
#endif

namespace contrib
{

void initpy(const char *cselfpath);
PyObject *pyglobals();

} /* namespace contrib */