Commits

Amaury Forgeot d'Arc committed 418883f

cpyext: add PyThreadState_GET as an alias to PyThreadState_Get.

  • Participants
  • Parent commits 81a26de

Comments (0)

Files changed (1)

File pypy/module/cpyext/include/pystate.h

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