##// END OF EJS Templates
rhg: refactor to pass argv down, instead of caling args_os()...
rhg: refactor to pass argv down, instead of caling args_os() This refactoring makes it easy to patch some command-line preprocessing into rhg. We use this to support using rhg as a shebang interpreter, for example. Differential Revision: https://phab.mercurial-scm.org/D12543

File last commit:

r44311:8766728d default
r49961:137a9312 default
Show More
pyutil.h
15 lines | 228 B | text/x-c | CLexer
Augie Fackler
fuzz: extract Python initialization to utility package...
r41049 #include <Python.h>
Augie Fackler
fuzz: add support for fuzzing under either Python 2 or 3...
r44311 #if PY_MAJOR_VERSION >= 3
#define PYCODETYPE PyObject
#else
#define PYCODETYPE PyCodeObject
#endif
Augie Fackler
fuzz: extract Python initialization to utility package...
r41049 namespace contrib
{
void initpy(const char *cselfpath);
PyObject *pyglobals();
} /* namespace contrib */