contrib/fuzz/pyutil.h
author Yuya Nishihara <yuya@tcha.org>
Sun, 07 Oct 2018 16:46:30 +0900
changeset 44682 00ac60658654
parent 43870 8766728dbce6
permissions -rw-r--r--
rust-chg: collect server flags from command arguments This is the reimplementation of testsensitiveflag() and setcmdserverargs() of chg.c. Differential Revision: https://phab.mercurial-scm.org/D8380

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