> > On May 16, 2005, at 2:08 PM, Bill Janssen wrote: > > > Pascal data structures?! > > Have you ever looked at the Carbon/QuickTime APIs? I guess not.
Nope. > Mac OS past was originally written with Pascal calling conventions and > pascal strings (unsigned char length prefixed strings), so you see > them all over the place. It's ugly, but so are the APIs that use > them :) > > -bob Isn't that what the "p" code in struct is for? Reading/writing those? Or is the length prefix a short or int? Bill _______________________________________________ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig