view contrib/fuzz/pyutil.h @ 50681:47b44d80d836

debug-revlog-stats: make it use the new store entry API This give use free tree manifest support in the process.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Fri, 02 Jun 2023 15:12:05 +0200
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 */