Re: Return a variable number of values from function
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: Return a variable number of values from function
- From: "Matthias Gall" <matthias@...>
- Date: 2001年11月19日 01:11:38 +0100
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