www.digitalmars.com         C & C++   DMDScript  

D - Struct alignment how to?

reply "chris" <news flak.clara.co.uk> writes:
How do i set aligment of a struct? I want all fields to be packed, is that the
default behaviour?

cheers

chris
Apr 21 2004
parent reply "C. Sauls" <ibisbasenji yahoo.com> writes:
http://www.digitalmars.com/d/attribute.html#align

-C. Sauls
-Invironz

chris wrote:
 How do i set aligment of a struct? I want all fields to be packed, is that the
 default behaviour?
 
 cheers
 
 chris
Apr 21 2004
parent "chris" <news flak.clara.co.uk> writes:
cheers,

chris


"C. Sauls" <ibisbasenji yahoo.com> wrote in message
news:c66osi$2bov$1 digitaldaemon.com...
 http://www.digitalmars.com/d/attribute.html#align

 -C. Sauls
 -Invironz

 chris wrote:
 How do i set aligment of a struct? I want all fields to be packed, is that
the
 default behaviour?

 cheers

 chris
Apr 21 2004