lua-users home
lua-l archive

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


2013/7/12 lua 4web <lua4web@gmail.com>:

> This is strange considering my_gettop is a copy of lua_gettop.
> I have noticed a pattern in seemingly random numbers produced by
> my_gettop(i.e. 1431655765 = 0x55555555), but I have no idea why it
> produces them instead of correct results.
>
> I'm sure I've made a simple mistake somewhere, can anybody help me find it?

Your code works on the current version 5.2.2 on my system.