[Stackless-checkins] CVS: slpdev/src/2.3/dev/Stackless/core backwardcompat.h, 1.2, 1.3

Christian Tismer tismer at centera.de
Sat May 1 22:24:12 CEST 2004


Update of /home/cvs/slpdev/src/2.3/dev/Stackless/core
In directory centera.de:/tmp/cvs-serv27365/core

Modified Files:
	backwardcompat.h 
Log Message:
added more compatibility patches

Index: backwardcompat.h
===================================================================
RCS file: /home/cvs/slpdev/src/2.3/dev/Stackless/core/backwardcompat.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** backwardcompat.h	29 Apr 2004 23:33:24 -0000	1.2
--- backwardcompat.h	1 May 2004 20:24:10 -0000	1.3
***************
*** 1,6 ****
! #ifndef PyAPI_DATA
  
! #define PyAPI_PRE_23
  
  /* 
   * this is a partial extract from 2.3's pyport.h.
--- 1,7 ----
! #ifdef PyAPI_DATA
  
! #define PyAPI_23
  
+ #else
  /* 
   * this is a partial extract from 2.3's pyport.h.
***************
*** 55,61 ****
--- 56,66 ----
  /* a couple of compatibility definitions */
  
+ /* bool is not yet defined, use int */
  #define PyBool_FromLong PyInt_FromLong
  
  #define PyDoc_STR(s) s
  
+ /* the ticker is still by thread */
+ #define _Py_Ticker (ts->ticker)
+ 
  #endif


_______________________________________________
Stackless-checkins mailing list
Stackless-checkins at stackless.com
http://www.stackless.com/mailman/listinfo/stackless-checkins



More information about the Stackless-checkins mailing list