[vorbis] Visual Studio .NET

Craig Dickson crdic at pacbell.net
Wed Apr 17 15:55:24 PDT 2002


Monty wrote:

> Does windows really not have a global, OS-wide struct packing convention?

Nope. The Win32 API headers religiously use #pragma pack() to make sure
that their structs come out right no matter what packing you tell your
compiler to use. This is really the right thing to do for
computationally-intensive libraries, since it allows the library
developer to determine the most efficient packing size for each platform
and encode that requirement into the headers.

Craig

-------------- next part --------------
A non-text attachment was scrubbed...
Name: part
Type: application/pgp-signature
Size: 233 bytes
Desc: not available
Url : http://lists.xiph.org/pipermail/vorbis/attachments/20020417/cdb8d463/part-0001.pgp


More information about the Vorbis mailing list