Compatibility code for supporting python 2 and 3.
More...
Go to the source code of this file.
|
#define | TfPy_TPFLAGS_HAVE_NEWBUFFER Py_TPFLAGS_HAVE_NEWBUFFER |
|
#define | TfPy_TPFLAGS_HAVE_GETCHARBUFFER Py_TPFLAGS_HAVE_GETCHARBUFFER |
|
#define | TfPyBytes_Check PyString_Check |
|
#define | TfPyString_Check PyString_Check |
|
#define | TfPyString_AsString PyString_AsString |
|
#define | TfPyInt_Check PyInt_Check |
|
#define | TfPyInt_AS_LONG PyInt_AS_LONG |
|
#define | TfPyIteratorNextMethodName "next" |
|
#define | TfPyClassMethodFuncName "im_func" |
|
#define | TfPyBoolBuiltinFuncName "__nonzero__" |
|
#define | TfPyBuiltinModuleName "__builtin__" |
|
Compatibility code for supporting python 2 and 3.
Definition in file py3Compat.h.