view contrib/fuzz/pyutil.h @ 44296:5830efce522b

help: when possible, indicate flags implied by tweakdefaults Differential Revision: https://phab.mercurial-scm.org/D8101
author Valentin Gatien-Baron <valentin.gatienbaron@gmail.com>
date Sun, 09 Feb 2020 16:18:26 -0500
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 */