##// END OF EJS Templates
url_util: introduce a `try_path` function...
url_util: introduce a `try_path` function That function… try a build a path, returning None on failure. This helps us to simplify various part of the existing code. Differential Revision: https://phab.mercurial-scm.org/D10437

File last commit:

r44311:8766728d default
r47801:c029b355 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 */