Author: Amaury Forgeot d'Arc <[email protected]>
Branch: 
Changeset: r52483:418883fe233e
Date: 2012-02-14 21:40 +0100
http://bitbucket.org/pypy/pypy/changeset/418883fe233e/

Log:    cpyext: add PyThreadState_GET as an alias to PyThreadState_Get.

diff --git a/pypy/module/cpyext/include/pystate.h 
b/pypy/module/cpyext/include/pystate.h
--- a/pypy/module/cpyext/include/pystate.h
+++ b/pypy/module/cpyext/include/pystate.h
@@ -24,4 +24,6 @@
     enum {PyGILState_LOCKED, PyGILState_UNLOCKED}
         PyGILState_STATE;
 
+#define PyThreadState_GET() PyThreadState_Get()
+
 #endif /* !Py_PYSTATE_H */
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to