Regenerated from Universal Headers 3.0.1. Some new calls are

blacklisted, because they are not available in classic 68k programs,
and bgen doesn't have a way to put #ifdef/#endif in the generated
code. For now we only implement calls that work on all three models.
This commit is contained in:
Jack Jansen 1998-02-20 16:02:09 +00:00
parent cbe6a53d1f
commit 21f96872f2
28 changed files with 3151 additions and 1434 deletions

File diff suppressed because it is too large Load diff

View file

@ -6,7 +6,7 @@ from bgenlocations import TOOLBOXDIR
from scantools import Scanner
def main():
input = "Windows.h"
input = "MacWindows.h"
output = "wingen.py"
defsoutput = TOOLBOXDIR + "Windows.py"
scanner = MyScanner(input, output, defsoutput)
@ -28,6 +28,9 @@ class MyScanner(Scanner):
listname = "methods"
return classname, listname
def writeinitialdefs(self):
self.defsfile.write("def FOUR_CHAR_CODE(x): return x\n")
def makeblacklistnames(self):
return [
'DisposeWindow', # Implied when the object is deleted

View file

@ -38,6 +38,8 @@ WCTabHandle = OpaqueByValueType("WCTabHandle", "ResObj")
AuxWinHandle = OpaqueByValueType("AuxWinHandle", "ResObj")
PixPatHandle = OpaqueByValueType("PixPatHandle", "ResObj")
WindowRegionCode = Type("WindowRegionCode", "h")
includestuff = includestuff + """
#include <%s>""" % MACHEADERFILE + """