view contrib/fuzz/pyutil.h @ 46684:98c816e89fac stable

nodemap: convert error message to bytes Differential Revision: https://phab.mercurial-scm.org/D10169
author Matt Harbison <matt_harbison@yahoo.com>
date Thu, 11 Mar 2021 17:05:37 -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 */