-
Notifications
You must be signed in to change notification settings - Fork 10.5k
[ASTGen] Use standard headers in bridging interface #68710
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
Conversation
@swift-ci Please smoke test |
long long JSON_array_getSize(void *arrayPtr); | ||
void *JSON_array_getValue(void *arrayPtr, long long index); | ||
size_t JSON_array_getSize(void *arrayPtr); | ||
void *JSON_array_getValue(void *arrayPtr, size_t index); |
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.
Should this be int64_t
or was long long
wrong?
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.
This is an index of the array element, since the argument of the operator[]
is size_t
, I thought we should use it.
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.
I really meant both here - ie. both the getSize
and the getValue
. If it's the right thing, sure. I mostly just went through and checked for any inconsistencies.
ead7317
to
51c0829
Compare
@swift-ci Please smoke test |
51c0829
to
bfcf756
Compare
@swift-ci Please smoke test |
bfcf756
to
42256b1
Compare
@swift-ci Please smoke test |
42256b1
to
292e76d
Compare
@swift-ci Please smoke test |
292e76d
to
5f730f9
Compare
@swift-ci Please smoke test |
For whatever reason, using standard headers in modules imported from Swift code (depending on Darwin overlay) is no longer an issue.
For whatever reason, using standard headers in modules imported from Swift code (i.e. depending on Darwin overlay) is no longer an issue. rdar://115438609
5f730f9
to
7ac5d65
Compare
@swift-ci Please smoke test |
For whatever reason, using standard headers in clang modules imported from Swift code (i.e. depending on Darwin overlay) is no longer an issue.
rdar://115438609