[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lua-l
Subject:    lua_callk returning nresults (Lua 5.2)
From:       Kevin Martin <kev82 () khn ! org ! uk>
Date:       2014-02-23 17:39:21
Message-ID: 0C54F31A-64BF-476E-92D6-9735FA8B9651 () khn ! org ! uk
[Download RAW message or body]

Hi,

I find myself recently wanting to write

return lua_call(l, x, y);

Is there a good reason as to why lua_callk can't return nresults if it's >=0 or the \
correct calculated value if it's LUA_MULTRET.

Thanks,
Kevin  


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic