contrib/fuzz/pyutil.h
author Pierre-Yves DAVID <pierre-yves.david@octobus.net>
Wed, 01 Jun 2022 01:34:33 +0200
changeset 49280 30d2beab8163
parent 43870 8766728dbce6
permissions -rw-r--r--
debugindex: add a `sd-chunk-size` column

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