view contrib/fuzz/pyutil.h @ 45823:793976f9029c

relnotes: drop 5.6 release entries from next Differential Revision: https://phab.mercurial-scm.org/D9282
author Joerg Sonnenberger <joerg@bec.de>
date Sun, 08 Nov 2020 20:12:32 +0100
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 */