lua-users home
lua-l archive

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


On Thu, Oct 14, 2010 at 3:26 PM, Cosmin Apreutesei
<cosmin.apreutesei@gmail.com> wrote:
> Hi,
>
> Is there a project that uses alien on Linux x86_64 ? I'd like to get
> inspired from on some platform issues.
>
> Btw, I see in struct.c that sizes are hardcoded to 2,2,4,4 for types
> H,h,L,l respectively but the doc says:
>
> "h" a signed short (native size).
> "H" an unsigned short (native size).
> "l" a signed long (native size).
> "L" an unsigned long (native size).
>
> Is struct.c at github (here
> http://github.com/mascarenhas/alien/tree/master/src/alien/) outdated
> or is this a bug?

It is very outdated, sorry... I implemented the improved support for C
structures and completely forgot about continue to track Roberto's
struct implementation for those that want something simpler.

> Thanks.
>
>

--
Fabio Mascarenhas