view contrib/fuzz/pyutil.h @ 48329:8b927b33310a

branching: merge stable into default
author Raphaël Gomès <rgomes@octobus.net>
date Fri, 19 Nov 2021 11:20:10 +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 */