summaryrefslogtreecommitdiffstats
path: root/Mac/Modules/file/filescan.py
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2002-12-18 23:17:26 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2002-12-18 23:17:26 (GMT)
commit543c9253cd19ae99c218c5b5e9d5b8dd49e2468e (patch)
treea5e2684ac70c3d361c5d26023519c38ed8db4ee5 /Mac/Modules/file/filescan.py
parentba873472d2a3f6cda91b13367360e1e05b7cdcbc (diff)
downloadcpython-543c9253cd19ae99c218c5b5e9d5b8dd49e2468e.zip
cpython-543c9253cd19ae99c218c5b5e9d5b8dd49e2468e.tar.gz
cpython-543c9253cd19ae99c218c5b5e9d5b8dd49e2468e.tar.bz2
- Added rawdata initializers
- Added support for optional FSSpecs and FSRefs to the Alias routines. NewAlias and friends are still functions, though, not methods.
Diffstat (limited to 'Mac/Modules/file/filescan.py')
-rw-r--r--Mac/Modules/file/filescan.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/Mac/Modules/file/filescan.py b/Mac/Modules/file/filescan.py
index 9b8b44b..4b6b70e 100644
--- a/Mac/Modules/file/filescan.py
+++ b/Mac/Modules/file/filescan.py
@@ -173,6 +173,14 @@ class MyScanner(Scanner_OSX):
# Various ResolveAliasFileXXXX functions
([('FSSpec', 'theSpec', 'OutMode')],
[('FSSpec_ptr', 'theSpec', 'InOutMode')]),
+
+ # The optional FSSpec to all ResolveAlias and NewAlias methods
+ ([('FSSpec_ptr', 'fromFile', 'InMode')],
+ [('OptFSSpecPtr', 'fromFile', 'InMode')]),
+
+ ([('FSRef_ptr', 'fromFile', 'InMode')],
+ [('OptFSRefPtr', 'fromFile', 'InMode')]),
+
]