[Python-checkins] CVS: python/dist/src/Include ceval.h,2.37,2.38

Tim Peters python-dev@python.org
Thu, 31 Aug 2000 17:02:01 -0700


Update of /cvsroot/python/python/dist/src/Include
In directory slayer.i.sourceforge.net:/tmp/cvs-serv20859/python/dist/src/Include

Modified Files:
	ceval.h 
Log Message:
Supply missing prototypes for new Py_{Get,Set}RecursionLimit; fixes compiler wngs;
un-analize Get's definition ("void" is needed only in declarations, not defns, &
is generally considered bad style in the latter).


Index: ceval.h
===================================================================
RCS file: /cvsroot/python/python/dist/src/Include/ceval.h,v
retrieving revision 2.37
retrieving revision 2.38
diff -C2 -r2.37 -r2.38
*** ceval.h	2000/08/27 20:00:35	2.37
--- ceval.h	2000/09/01 00:01:58	2.38
***************
*** 44,47 ****
--- 44,49 ----
  DL_IMPORT(int) Py_MakePendingCalls(void);
  
+ DL_IMPORT(void) Py_SetRecursionLimit(int);
+ DL_IMPORT(int) Py_GetRecursionLimit(void);
  
  /* Interface for threads.