diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 2002-12-18 23:17:26 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 2002-12-18 23:17:26 (GMT) |
commit | 543c9253cd19ae99c218c5b5e9d5b8dd49e2468e (patch) | |
tree | a5e2684ac70c3d361c5d26023519c38ed8db4ee5 /Mac/Modules/file/filescan.py | |
parent | ba873472d2a3f6cda91b13367360e1e05b7cdcbc (diff) | |
download | cpython-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.py | 8 |
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')]), + ] |