Commits

Amaury Forgeot d'Arc committed 418883f

cpyext: add PyThreadState_GET as an alias to PyThreadState_Get.

Comments (0)

Files changed (1)

pypy/module/cpyext/include/pystate.h

     enum {PyGILState_LOCKED, PyGILState_UNLOCKED}
         PyGILState_STATE;
 
+#define PyThreadState_GET() PyThreadState_Get()
+
 #endif /* !Py_PYSTATE_H */