##// END OF EJS Templates
cext: backout e9ca736f5b52 "remove Python 2 file handling code"...
cext: backout e9ca736f5b52 "remove Python 2 file handling code" It's if"n"def.

File last commit:

r44311:8766728d default
r49695:499733de 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 */