contrib/fuzz/pyutil.h
author Matt Harbison <matt_harbison@yahoo.com>
Sun, 20 Aug 2023 15:16:18 -0400
changeset 50869 e0cae2b44191
parent 43859 8766728dbce6
permissions -rw-r--r--
absorb: migrate `opts` to native kwargs

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