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