lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

Edwin Eyan Moragas wrote:
hi list,

i was looking at the source and i found this in luaconf.h:

#define LUAI_USER_ALIGNMENT_T union { double u; void *s; long l; }

i really don't understand the term 'alignment' as of yet.
tried looking for some kind of explanation of this in the net
to no avail.

anybody willing to explain this? links for resources would
also be greatly appreciated.

thank you.

As far as I've understood, it has to do with memory alignment.

There is some information at:

Jan Behrens

FlexiGuided GmbH
Johannistr. 12
10117 Berlin
Fon: [030] 9789.4550
Fax: [030] 9789.4551

Juergen Axel Kistner
Andreas Nitsche

Amtsgericht Berlin-Charlottenburg

HRB 97488 B