Mailing List Archive

python/dist/src/Include pystate.h,2.18.16.1,2.18.16.2
Update of /cvsroot/python/python/dist/src/Include
In directory usw-pr-cvs1:/tmp/cvs-serv14160/Include

Modified Files:
Tag: release22-maint
pystate.h
Log Message:
This is Armin Rigo's patch:

[ 617309 ] getframe hook (Psyco #1)

Forward port candidate.


Index: pystate.h
===================================================================
RCS file: /cvsroot/python/python/dist/src/Include/pystate.h,v
retrieving revision 2.18.16.1
retrieving revision 2.18.16.2
diff -C2 -d -r2.18.16.1 -r2.18.16.2
*** pystate.h 7 Oct 2002 09:40:20 -0000 2.18.16.1
--- pystate.h 7 Oct 2002 09:47:20 -0000 2.18.16.2
***************
*** 110,113 ****
--- 110,116 ----
DL_IMPORT(PyThreadState *) PyThreadState_Next(PyThreadState *);

+ /* hook for PyEval_GetFrame(), requested for Psyco */
+ extern DL_IMPORT(unaryfunc) _PyThreadState_GetFrame;
+
#ifdef __cplusplus
}