view contrib/fuzz/pyutil.h @ 49089:399439c12223

rust-revlog: make unaware of `Repo` Differential Revision: https://phab.mercurial-scm.org/D12547
author Martin von Zweigbergk <martinvonz@google.com>
date Tue, 12 Apr 2022 21:25:56 -0700
parents 8766728dbce6
children
line wrap: on
line source

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