Skip to content

Conversation

TimWolla
Copy link
Member

This header could not previously be used due to the uriparser/Uri.h include, which is required for the struct definition. Since this struct is considered an implementation detail, we can just make it opaque, preserving type safety, but without allowing external users to touch its contents.

Fixes #19868.


RMs: This technically is an API change, but since the header was not previously usable externally and since it doesn't affect ABI (the struct is the same), it should hopefully be good.

This header could not previously be used due to the `uriparser/Uri.h` include,
which is required for the struct definition. Since this struct is considered an
implementation detail, we can just make it opaque, preserving type safety, but
without allowing external users to touch its contents.

Fixes php#19868.
Copy link
Member

@edorian edorian left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

RM approval

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants