summaryrefslogtreecommitdiffstats
path: root/Mac/Modules/evt/evtsupport.py
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2001-12-17 11:46:50 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2001-12-17 11:46:50 (GMT)
commitec982e2739f6d7992d530c0940965f6eeb73a467 (patch)
treef7890909acc362ff9b2a450133fa796d8f68021f /Mac/Modules/evt/evtsupport.py
parent564980bd86017c8ab3b94f6c2be7259c87d9de05 (diff)
downloadcpython-ec982e2739f6d7992d530c0940965f6eeb73a467.zip
cpython-ec982e2739f6d7992d530c0940965f6eeb73a467.tar.gz
cpython-ec982e2739f6d7992d530c0940965f6eeb73a467.tar.bz2
TickCount moved to a different header file. We manually added it back in here, for conveninece.
Diffstat (limited to 'Mac/Modules/evt/evtsupport.py')
-rw-r--r--Mac/Modules/evt/evtsupport.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/Mac/Modules/evt/evtsupport.py b/Mac/Modules/evt/evtsupport.py
index ede353d..d09403a 100644
--- a/Mac/Modules/evt/evtsupport.py
+++ b/Mac/Modules/evt/evtsupport.py
@@ -72,6 +72,11 @@ functions = []
##methods = []
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)
for f in functions: module.add(f)
@@ -102,6 +107,7 @@ f = ManualGenerator("WaitNextEvent", WaitNextEvent_body);
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)
SetOutputFileName(OUTPUTFILE)
module.generate()