summaryrefslogtreecommitdiffstats
path: root/Tools/bgen
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1996-08-26 14:38:40 (GMT)
committerGuido van Rossum <guido@python.org>1996-08-26 14:38:40 (GMT)
commitdd6798c6917c82a04f13083e583cd49ec1442fa8 (patch)
treeba7590189c697f66785a869e7aa3cb32c38b12f7 /Tools/bgen
parentc30461dd38ee599d781ac9973d643a940717648b (diff)
downloadcpython-dd6798c6917c82a04f13083e583cd49ec1442fa8.zip
cpython-dd6798c6917c82a04f13083e583cd49ec1442fa8.tar.gz
cpython-dd6798c6917c82a04f13083e583cd49ec1442fa8.tar.bz2
Added NumVersion definition.
Diffstat (limited to 'Tools/bgen')
-rw-r--r--Tools/bgen/bgen/macsupport.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/Tools/bgen/bgen/macsupport.py b/Tools/bgen/bgen/macsupport.py
index 0f21b3f..f8570e4 100644
--- a/Tools/bgen/bgen/macsupport.py
+++ b/Tools/bgen/bgen/macsupport.py
@@ -36,6 +36,9 @@ def OSTypeType(typename):
OSType = OSTypeType("OSType")
ResType = OSTypeType("ResType")
+# Version numbers
+NumVersion = OpaqueByValueType("NumVersion", "PyMac_BuildNumVersion", "BUG")
+
# Handles (always resources in our case)
Handle = OpaqueByValueType("Handle", "ResObj")
MenuHandle = OpaqueByValueType("MenuHandle", "MenuObj")