contrib/fuzz/pyutil.h
author Anton Shestakov <av6@dwimlabs.net>
Thu, 12 May 2022 13:52:10 +0400
branchstable
changeset 48890 ec3f88480dbf
parent 43870 8766728dbce6
permissions -rw-r--r--
tests: show that hg log --debug output differs from {file*} template keywords hg log --debug -T xml doesn't differ, but let's test it because we can.

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