contrib/fuzz/pyutil.h
author Raphaël Gomès <rgomes@octobus.net>
Thu, 03 Aug 2023 15:01:34 +0200
changeset 51233 9b06e7f32bc5
parent 43870 8766728dbce6
permissions -rw-r--r--
rust-index: add support for `find_snapshots`

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