Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The key value returned by lua_next, on the Lua stack, cannot be modified. Certain tests such as lua_isstring will convert the value. The solution is, instead of testing if they key can be converted to a string, test if it actually is a string by using lua_type.
- Loading branch information
1 parent
21395a7
commit ddc9e6e
Showing
3 changed files
with
10 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters