[Python-checkins] CVS: python/dist/src/Mac/Modules/evt evtsupport.py,1.13,1.14
Jack Jansen
jackjansen@users.sourceforge.net
Mon, 17 Dec 2001 03:46:52 -0800
Update of /cvsroot/python/python/dist/src/Mac/Modules/evt
In directory usw-pr-cvs1:/tmp/cvs-serv10484/python/Mac/Modules/evt
Modified Files:
evtsupport.py
Log Message:
TickCount moved to a different header file. We manually added it back in here, for conveninece.
Index: evtsupport.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/Modules/evt/evtsupport.py,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -d -r1.13 -r1.14
*** evtsupport.py 2001/08/23 13:48:34 1.13
--- evtsupport.py 2001/12/17 11:46:50 1.14
***************
*** 73,76 ****
--- 73,81 ----
execfile(INPUTFILE)
+ # Move TickCount here, for convenience
+ f = Function(UInt32, 'TickCount',
+ )
+ functions.append(f)
+
# add the populated lists to the generator groups
# (in a different wordl the scan program would generate this)
***************
*** 102,105 ****
--- 107,111 ----
f.docstring = lambda: "(EventMask eventMask, UInt32 sleep [,RegionHandle]) -> (Boolean _rv, EventRecord theEvent)"
module.add(f)
+
# generate output (open the output file as late as possible)