-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Runtime: Add a last_error function to the miniz bindings
This is a bit questionable, but without it there's no way to actually test the error messages (since Lua doesn't have access to the archive userdata, and it likely shouldn't). The map is just to guard against multithreaded access even if I don't really consider this supported... The previous approach of hardcoding errors doesn't work reliably.
- Loading branch information
1 parent
38b514a
commit 404956f
Showing
2 changed files
with
36 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