contrib/fuzz/pyutil.h
author Raphaël Gomès <rgomes@octobus.net>
Mon, 28 Mar 2022 13:01:42 +0200
changeset 49043 362312d61020
parent 43859 8766728dbce6
permissions -rw-r--r--
rust-dirstate-entry: fix typo in panic message Differential Revision: https://phab.mercurial-scm.org/D12446

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