-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update Clang.jl generator scripts #35
Conversation
Passes tests, but at least `png_imagep` is incorrect. See JuliaInterop/Clang.jl#326
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@melonedo I just noticed that CI wasn't enabled for PRs, thus I updated our CI configurations in #37, can you run
git remote add upstream https://github.com/JuliaIO/PNGFiles.jl.git
git pull upstream master --rebase
git push origin master -f
to update the CI configuration so that we can test this PR?
Edit: Okay no need to do so, since the close&reopen trick works.
Let me see if close&reopen triggers our CI |
Seems the tests failure are due to #22, that patch has been applied. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
const PNG_BYTES_TO_CHECK = 8 | ||
const tm = Libc.TmStruct | ||
const time_t = UInt | ||
const jmp_buf = Nothing |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If jmp_buf
is only used as an opaque pointer in the library, this is OK. Otherwise, it should be carefully defined for different platforms.
Upgrade generator scripts because the old one will become end-of-support soon.
Tests are passed and most changes seem harmless. The changes are extracted at https://gist.github.com/melonedo/eefdbd1f4573c3a17ff2cddbeb1dce7f/revisions.
cc @Gnimuc