Re: Lua_tostring weirdness

  • From: rob <rob.mail@xxxxxxxxxxx>
  • To: luajit@xxxxxxxxxxxxx
  • Date: Wed, 08 Aug 2012 10:48:00 +0200


Is this meant to work with a -1 stack index (i.e. from top to bottom)? Because whenever I use lua_isstring or lua_isnoneornil with -1 it seems to be broken. If I attempt to check the stack using 1, it works fine.


On 07/08/2012 13:32, QuentinC wrote:
You may try lua_isnoneornil or more generally lua_isXXX

Other related posts: