At 01:28 -0500 2003.03.26, Ed Wall wrote:
>Chris could well be right about this as far as Perl goes, but I am
>fairly sure a FSSpec is not a string in the usual C Mac Toolbox - it
>is a structure.

The MacPerl Toolbox extensions automatically convert strings to FSSpecs.
They accept Mac OS paths, or these strings that GUSI creates that represent
an FSSpec in a string (see MacPerl::MakeFSSpec and MacPerl::MakePath to
convert between the two).

In Mac::Carbon (the port of some of these modules to Mac OS X, but not
including the GUI modules at this time), it works the same way, except that
it accepts Mac OS X/POSIX paths instead of Mac OS/HFS paths.

-- 
Chris Nandor                      [EMAIL PROTECTED]    http://pudge.net/
Open Source Development Network    [EMAIL PROTECTED]     http://osdn.com/

Reply via email to