contrib/fuzz/pyutil.h
author Martin von Zweigbergk <martinvonz@google.com>
Thu, 20 Jan 2022 23:07:35 -0800
changeset 48600 c852950f0e72
parent 43870 8766728dbce6
permissions -rw-r--r--
tests: also test spaces in conflict marker labels Our fake merge tool printed the arguments using `$1` etc. without quotes, which means that the shell collapsed repeated spaces within the argument. That resulted in tests that did not pick up changes to the number of spaces. Differential Revision: https://phab.mercurial-scm.org/D12010

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