contrib/fuzz/pyutil.h
author Pierre-Yves David <pierre-yves.david@octobus.net>
Sun, 05 Feb 2023 12:09:52 +0100
changeset 50050 22cd517bc6b0
parent 43859 8766728dbce6
permissions -rw-r--r--
largefiles: rely on main scoping for writing dirstate in `markcommitted` Yeah, cleaner code.

#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 */