view contrib/fuzz/pyutil.h @ 48916:bac59722c5a3

largefiles: remove pycompat.iteritems() Differential Revision: https://phab.mercurial-scm.org/D12321
author Gregory Szorc <gregory.szorc@gmail.com>
date Tue, 01 Mar 2022 20:46:06 -0800
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 */