lua-users home
lua-l archive

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


>> > #define double long
>
>The issue I have with this method is that I can't verify it (short of wading
>through preprocessor output).  If some header is in the wrong order or
>omitted then you end up with the wrong types.

You're absolutely right. Like I said, I was being lazy.

>long's should only be used when there is good reason

Right: we use long in Lua when we need *at least* 32 bits, which is what
ANSI C promises about long.

--lhf