contrib/fuzz/pyutil.h
author Raphaël Gomès <rgomes@octobus.net>
Fri, 19 Feb 2021 11:15:42 +0100
changeset 46728 45f0d5297698
parent 43870 8766728dbce6
permissions -rw-r--r--
changegroupv4: add sidedata helpers These helpers carry the information and computers needed to rewrite sidedata when generating/applying patches. We will be making use of them soon. Differential Revision: https://phab.mercurial-scm.org/D10029

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