[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: lua_getinfo always push a table (use L option) on stack even if it returns 0 (on error)
- From: 云风 Cloud Wu <cloudwu@...>
- Date: Wed, 4 Jul 2018 23:30:51 -0400
I found when I call lua_getinfo with L option, it always push a table on stack, even if it returns 0 (on error).
Maybe writing this behavior into the document  would be better.