[Python-checkins] CVS: python/dist/src/Include pystate.h,2.17,2.18

Guido van Rossum gvanrossum@users.sourceforge.net
2001年7月19日 05:19:13 -0700


Update of /cvsroot/python/python/dist/src/Include
In directory usw-pr-cvs1:/tmp/cvs-serv4848
Modified Files:
	pystate.h 
Log Message:
Add a low-level API to access interpreters, for David Beazley.
SF patch #436376.
Index: pystate.h
===================================================================
RCS file: /cvsroot/python/python/dist/src/Include/pystate.h,v
retrieving revision 2.17
retrieving revision 2.18
diff -C2 -r2.17 -r2.18
*** pystate.h	2001年07月18日 16:17:16	2.17
--- pystate.h	2001年07月19日 12:19:11	2.18
***************
*** 101,104 ****
--- 101,111 ----
 #endif
 
+ /* Routines for advanced debuggers, requested by David Beazley.
+ Don't use unless you know what you are doing! */
+ DL_IMPORT(PyInterpreterState *) PyInterpreterState_Head(void);
+ DL_IMPORT(PyInterpreterState *) PyInterpreterState_Next(PyInterpreterState *);
+ DL_IMPORT(PyThreadState *) PyInterpreterState_ThreadHead(PyInterpreterState *);
+ DL_IMPORT(PyThreadState *) PyThreadState_Next(PyThreadState *);
+ 
 #ifdef __cplusplus
 }

AltStyle によって変換されたページ (->オリジナル) /