lua-users home
lua-l archive

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


So, I tried this with a C function, which is registered properly. It pushes
some random values and returns the number of values (lua_pushnumber(MyState,
iRandomNumber); ... return iNumOfNumbers;). Using getn on the result of this
function leads to a LUA_ERRRUN. Any suggestions?

Greetings,
Matt