diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 1995-11-15 15:18:01 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 1995-11-15 15:18:01 (GMT) |
commit | 330381cbbb394e7e7a6841879b22218884750ca2 (patch) | |
tree | fa8f57b2d389854c6c59812ecf57b88e22cb343c /Mac/Modules/qd/qdscan.py | |
parent | 7830ab8f499d7e42d5acdeaf5ff048c7e49a889e (diff) | |
download | cpython-330381cbbb394e7e7a6841879b22218884750ca2.zip cpython-330381cbbb394e7e7a6841879b22218884750ca2.tar.gz cpython-330381cbbb394e7e7a6841879b22218884750ca2.tar.bz2 |
Added (minimal) support for a GrafPort type
Diffstat (limited to 'Mac/Modules/qd/qdscan.py')
-rw-r--r-- | Mac/Modules/qd/qdscan.py | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/Mac/Modules/qd/qdscan.py b/Mac/Modules/qd/qdscan.py index 408c9c2..229db4f 100644 --- a/Mac/Modules/qd/qdscan.py +++ b/Mac/Modules/qd/qdscan.py @@ -49,9 +49,12 @@ class MyScanner(Scanner): listname = "functions" if arglist: t, n, m = arglist[0] - if t in ("WindowPtr", "WindowPeek", "WindowRef") and m == "InMode": - classname = "Method" - listname = "methods" +## elif t == "PolyHandle" and m == "InMode": +## classname = "Method" +## listname = "p_methods" +## elif t == "RgnHandle" and m == "InMode": +## classname = "Method" +## listname = "r_methods" return classname, listname def makeblacklistnames(self): @@ -61,14 +64,18 @@ class MyScanner(Scanner): 'StdLine', 'StdComment', 'StdGetPic', - 'StdLine', + 'OpenPort', + 'InitPort', + 'ClosePort', + 'OpenCPort', + 'InitCPort', + 'CloseCPort', ] def makeblacklisttypes(self): return [ 'BitMap_ptr', 'CCrsrHandle', - 'CGrafPtr', 'CIconHandle', 'CQDProcs', 'CSpecArray', |