Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR fixes some warnings in
main.c
, some wrappers signatures, mostly inlibc
(which was completely re-parsed), but also inlibm
(typo fix),libz
, and inncurses
(all versions).It factorizes the creation/destruction of native libraries.
It adds the
GOWM
macro, which is the weak version ofGOM
.It also greatly changed the python script to re-generate the wrappers, and adds the ability to give flat structures (and not structure pointers) as parameters. It also adds all
GOM
/GOWM
functions into thegenerated/*types.h
(including those without an emulator parameter added).Finally, the nonsensical type
e
(emulator pointer pointer) has been removed.As an aside, it adds my signature generator script (that uses LLVM). No documentation on its use is provided, and it is unlikely it will ever be.
Note: This PR adds a lot of files in
src/wrapped/generated/
. The file immediately after the last one, for me, issrc/wrapped/wrappedbz2.c